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

« back to all changes in this revision

Viewing changes to autom4te.cache/output.0

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2012-06-18 22:22:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120618222221-m6xg5y53k5poezvq
Tags: 0.3.9-1
* Imported Upstream version 0.3.9
* Refreshed Debian patches
* Removed patch 04-gcc46.patch, not required anymore

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.9.
 
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.9'
 
574
PACKAGE_STRING='trousers 0.3.9'
 
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
AMDEPBACKSLASH
 
753
AMDEP_FALSE
 
754
AMDEP_TRUE
 
755
am__quote
 
756
am__include
 
757
DEPDIR
 
758
OBJEXT
 
759
EXEEXT
 
760
ac_ct_CC
 
761
CPPFLAGS
 
762
LDFLAGS
 
763
CFLAGS
 
764
CC
 
765
OPENSSL_LIB_DIR
 
766
am__untar
 
767
am__tar
 
768
AMTAR
 
769
am__leading_dot
 
770
SET_MAKE
 
771
AWK
 
772
mkdir_p
 
773
MKDIR_P
 
774
INSTALL_STRIP_PROGRAM
 
775
STRIP
 
776
install_sh
 
777
MAKEINFO
 
778
AUTOHEADER
 
779
AUTOMAKE
 
780
AUTOCONF
 
781
ACLOCAL
 
782
VERSION
 
783
PACKAGE
 
784
CYGPATH_W
 
785
am__isrc
 
786
INSTALL_DATA
 
787
INSTALL_SCRIPT
 
788
INSTALL_PROGRAM
 
789
target_os
 
790
target_vendor
 
791
target_cpu
 
792
target
 
793
host_os
 
794
host_vendor
 
795
host_cpu
 
796
host
 
797
build_os
 
798
build_vendor
 
799
build_cpu
 
800
build
 
801
target_alias
 
802
host_alias
 
803
build_alias
 
804
LIBS
 
805
ECHO_T
 
806
ECHO_N
 
807
ECHO_C
 
808
DEFS
 
809
mandir
 
810
localedir
 
811
libdir
 
812
psdir
 
813
pdfdir
 
814
dvidir
 
815
htmldir
 
816
infodir
 
817
docdir
 
818
oldincludedir
 
819
includedir
 
820
localstatedir
 
821
sharedstatedir
 
822
sysconfdir
 
823
datadir
 
824
datarootdir
 
825
libexecdir
 
826
sbindir
 
827
bindir
 
828
program_transform_name
 
829
prefix
 
830
exec_prefix
 
831
PACKAGE_URL
 
832
PACKAGE_BUGREPORT
 
833
PACKAGE_STRING
 
834
PACKAGE_VERSION
 
835
PACKAGE_TARNAME
 
836
PACKAGE_NAME
 
837
PATH_SEPARATOR
 
838
SHELL'
 
839
ac_subst_files=''
 
840
ac_user_opts='
 
841
enable_option_checking
 
842
enable_debug
 
843
with_openssl
 
844
enable_dependency_tracking
 
845
enable_gcov
 
846
enable_gprof
 
847
enable_strict_spec_compliance
 
848
with_gmp
 
849
with_gui
 
850
with_api
 
851
enable_static
 
852
enable_shared
 
853
with_pic
 
854
enable_fast_install
 
855
with_gnu_ld
 
856
with_sysroot
 
857
enable_libtool_lock
 
858
'
 
859
      ac_precious_vars='build_alias
 
860
host_alias
 
861
target_alias
 
862
CC
 
863
CFLAGS
 
864
LDFLAGS
 
865
LIBS
 
866
CPPFLAGS
 
867
CPP
 
868
PKG_CONFIG
 
869
PKG_CONFIG_PATH
 
870
PKG_CONFIG_LIBDIR
 
871
GTK_CFLAGS
 
872
GTK_LIBS'
 
873
 
 
874
 
 
875
# Initialize some variables set by options.
 
876
ac_init_help=
 
877
ac_init_version=false
 
878
ac_unrecognized_opts=
 
879
ac_unrecognized_sep=
 
880
# The variables have the same names as the options, with
 
881
# dashes changed to underlines.
 
882
cache_file=/dev/null
 
883
exec_prefix=NONE
 
884
no_create=
 
885
no_recursion=
 
886
prefix=NONE
 
887
program_prefix=NONE
 
888
program_suffix=NONE
 
889
program_transform_name=s,x,x,
 
890
silent=
 
891
site=
 
892
srcdir=
 
893
verbose=
 
894
x_includes=NONE
 
895
x_libraries=NONE
 
896
 
 
897
# Installation directory options.
 
898
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
899
# and all the variables that are supposed to be based on exec_prefix
 
900
# by default will actually change.
 
901
# Use braces instead of parens because sh, perl, etc. also accept them.
 
902
# (The list follows the same order as the GNU Coding Standards.)
 
903
bindir='${exec_prefix}/bin'
 
904
sbindir='${exec_prefix}/sbin'
 
905
libexecdir='${exec_prefix}/libexec'
 
906
datarootdir='${prefix}/share'
 
907
datadir='${datarootdir}'
 
908
sysconfdir='${prefix}/etc'
 
909
sharedstatedir='${prefix}/com'
 
910
localstatedir='${prefix}/var'
 
911
includedir='${prefix}/include'
 
912
oldincludedir='/usr/include'
 
913
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
914
infodir='${datarootdir}/info'
 
915
htmldir='${docdir}'
 
916
dvidir='${docdir}'
 
917
pdfdir='${docdir}'
 
918
psdir='${docdir}'
 
919
libdir='${exec_prefix}/lib'
 
920
localedir='${datarootdir}/locale'
 
921
mandir='${datarootdir}/man'
 
922
 
 
923
ac_prev=
 
924
ac_dashdash=
 
925
for ac_option
 
926
do
 
927
  # If the previous option needs an argument, assign it.
 
928
  if test -n "$ac_prev"; then
 
929
    eval $ac_prev=\$ac_option
 
930
    ac_prev=
 
931
    continue
 
932
  fi
 
933
 
 
934
  case $ac_option in
 
935
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
936
  *=)   ac_optarg= ;;
 
937
  *)    ac_optarg=yes ;;
 
938
  esac
 
939
 
 
940
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
941
 
 
942
  case $ac_dashdash$ac_option in
 
943
  --)
 
944
    ac_dashdash=yes ;;
 
945
 
 
946
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
947
    ac_prev=bindir ;;
 
948
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
949
    bindir=$ac_optarg ;;
 
950
 
 
951
  -build | --build | --buil | --bui | --bu)
 
952
    ac_prev=build_alias ;;
 
953
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
954
    build_alias=$ac_optarg ;;
 
955
 
 
956
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
957
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
958
    ac_prev=cache_file ;;
 
959
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
960
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
961
    cache_file=$ac_optarg ;;
 
962
 
 
963
  --config-cache | -C)
 
964
    cache_file=config.cache ;;
 
965
 
 
966
  -datadir | --datadir | --datadi | --datad)
 
967
    ac_prev=datadir ;;
 
968
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
969
    datadir=$ac_optarg ;;
 
970
 
 
971
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
972
  | --dataroo | --dataro | --datar)
 
973
    ac_prev=datarootdir ;;
 
974
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
975
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
976
    datarootdir=$ac_optarg ;;
 
977
 
 
978
  -disable-* | --disable-*)
 
979
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
980
    # Reject names that are not valid shell variable names.
 
981
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
982
      as_fn_error $? "invalid feature name: $ac_useropt"
 
983
    ac_useropt_orig=$ac_useropt
 
984
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
985
    case $ac_user_opts in
 
986
      *"
 
987
"enable_$ac_useropt"
 
988
"*) ;;
 
989
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
990
         ac_unrecognized_sep=', ';;
 
991
    esac
 
992
    eval enable_$ac_useropt=no ;;
 
993
 
 
994
  -docdir | --docdir | --docdi | --doc | --do)
 
995
    ac_prev=docdir ;;
 
996
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
997
    docdir=$ac_optarg ;;
 
998
 
 
999
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1000
    ac_prev=dvidir ;;
 
1001
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1002
    dvidir=$ac_optarg ;;
 
1003
 
 
1004
  -enable-* | --enable-*)
 
1005
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1006
    # Reject names that are not valid shell variable names.
 
1007
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1008
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1009
    ac_useropt_orig=$ac_useropt
 
1010
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1011
    case $ac_user_opts in
 
1012
      *"
 
1013
"enable_$ac_useropt"
 
1014
"*) ;;
 
1015
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1016
         ac_unrecognized_sep=', ';;
 
1017
    esac
 
1018
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1019
 
 
1020
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1021
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1022
  | --exec | --exe | --ex)
 
1023
    ac_prev=exec_prefix ;;
 
1024
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1025
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1026
  | --exec=* | --exe=* | --ex=*)
 
1027
    exec_prefix=$ac_optarg ;;
 
1028
 
 
1029
  -gas | --gas | --ga | --g)
 
1030
    # Obsolete; use --with-gas.
 
1031
    with_gas=yes ;;
 
1032
 
 
1033
  -help | --help | --hel | --he | -h)
 
1034
    ac_init_help=long ;;
 
1035
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1036
    ac_init_help=recursive ;;
 
1037
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1038
    ac_init_help=short ;;
 
1039
 
 
1040
  -host | --host | --hos | --ho)
 
1041
    ac_prev=host_alias ;;
 
1042
  -host=* | --host=* | --hos=* | --ho=*)
 
1043
    host_alias=$ac_optarg ;;
 
1044
 
 
1045
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1046
    ac_prev=htmldir ;;
 
1047
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1048
  | --ht=*)
 
1049
    htmldir=$ac_optarg ;;
 
1050
 
 
1051
  -includedir | --includedir | --includedi | --included | --include \
 
1052
  | --includ | --inclu | --incl | --inc)
 
1053
    ac_prev=includedir ;;
 
1054
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1055
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1056
    includedir=$ac_optarg ;;
 
1057
 
 
1058
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1059
    ac_prev=infodir ;;
 
1060
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1061
    infodir=$ac_optarg ;;
 
1062
 
 
1063
  -libdir | --libdir | --libdi | --libd)
 
1064
    ac_prev=libdir ;;
 
1065
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1066
    libdir=$ac_optarg ;;
 
1067
 
 
1068
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1069
  | --libexe | --libex | --libe)
 
1070
    ac_prev=libexecdir ;;
 
1071
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1072
  | --libexe=* | --libex=* | --libe=*)
 
1073
    libexecdir=$ac_optarg ;;
 
1074
 
 
1075
  -localedir | --localedir | --localedi | --localed | --locale)
 
1076
    ac_prev=localedir ;;
 
1077
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1078
    localedir=$ac_optarg ;;
 
1079
 
 
1080
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1081
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1082
    ac_prev=localstatedir ;;
 
1083
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1084
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1085
    localstatedir=$ac_optarg ;;
 
1086
 
 
1087
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1088
    ac_prev=mandir ;;
 
1089
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1090
    mandir=$ac_optarg ;;
 
1091
 
 
1092
  -nfp | --nfp | --nf)
 
1093
    # Obsolete; use --without-fp.
 
1094
    with_fp=no ;;
 
1095
 
 
1096
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1097
  | --no-cr | --no-c | -n)
 
1098
    no_create=yes ;;
 
1099
 
 
1100
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1101
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1102
    no_recursion=yes ;;
 
1103
 
 
1104
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1105
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1106
  | --oldin | --oldi | --old | --ol | --o)
 
1107
    ac_prev=oldincludedir ;;
 
1108
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1109
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1110
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1111
    oldincludedir=$ac_optarg ;;
 
1112
 
 
1113
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1114
    ac_prev=prefix ;;
 
1115
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1116
    prefix=$ac_optarg ;;
 
1117
 
 
1118
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1119
  | --program-pre | --program-pr | --program-p)
 
1120
    ac_prev=program_prefix ;;
 
1121
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1122
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1123
    program_prefix=$ac_optarg ;;
 
1124
 
 
1125
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1126
  | --program-suf | --program-su | --program-s)
 
1127
    ac_prev=program_suffix ;;
 
1128
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1129
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1130
    program_suffix=$ac_optarg ;;
 
1131
 
 
1132
  -program-transform-name | --program-transform-name \
 
1133
  | --program-transform-nam | --program-transform-na \
 
1134
  | --program-transform-n | --program-transform- \
 
1135
  | --program-transform | --program-transfor \
 
1136
  | --program-transfo | --program-transf \
 
1137
  | --program-trans | --program-tran \
 
1138
  | --progr-tra | --program-tr | --program-t)
 
1139
    ac_prev=program_transform_name ;;
 
1140
  -program-transform-name=* | --program-transform-name=* \
 
1141
  | --program-transform-nam=* | --program-transform-na=* \
 
1142
  | --program-transform-n=* | --program-transform-=* \
 
1143
  | --program-transform=* | --program-transfor=* \
 
1144
  | --program-transfo=* | --program-transf=* \
 
1145
  | --program-trans=* | --program-tran=* \
 
1146
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1147
    program_transform_name=$ac_optarg ;;
 
1148
 
 
1149
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1150
    ac_prev=pdfdir ;;
 
1151
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1152
    pdfdir=$ac_optarg ;;
 
1153
 
 
1154
  -psdir | --psdir | --psdi | --psd | --ps)
 
1155
    ac_prev=psdir ;;
 
1156
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1157
    psdir=$ac_optarg ;;
 
1158
 
 
1159
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1160
  | -silent | --silent | --silen | --sile | --sil)
 
1161
    silent=yes ;;
 
1162
 
 
1163
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1164
    ac_prev=sbindir ;;
 
1165
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1166
  | --sbi=* | --sb=*)
 
1167
    sbindir=$ac_optarg ;;
 
1168
 
 
1169
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1170
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1171
  | --sharedst | --shareds | --shared | --share | --shar \
 
1172
  | --sha | --sh)
 
1173
    ac_prev=sharedstatedir ;;
 
1174
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1175
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1176
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1177
  | --sha=* | --sh=*)
 
1178
    sharedstatedir=$ac_optarg ;;
 
1179
 
 
1180
  -site | --site | --sit)
 
1181
    ac_prev=site ;;
 
1182
  -site=* | --site=* | --sit=*)
 
1183
    site=$ac_optarg ;;
 
1184
 
 
1185
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1186
    ac_prev=srcdir ;;
 
1187
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1188
    srcdir=$ac_optarg ;;
 
1189
 
 
1190
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1191
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1192
    ac_prev=sysconfdir ;;
 
1193
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1194
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1195
    sysconfdir=$ac_optarg ;;
 
1196
 
 
1197
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1198
    ac_prev=target_alias ;;
 
1199
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1200
    target_alias=$ac_optarg ;;
 
1201
 
 
1202
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1203
    verbose=yes ;;
 
1204
 
 
1205
  -version | --version | --versio | --versi | --vers | -V)
 
1206
    ac_init_version=: ;;
 
1207
 
 
1208
  -with-* | --with-*)
 
1209
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1210
    # Reject names that are not valid shell variable names.
 
1211
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1212
      as_fn_error $? "invalid package name: $ac_useropt"
 
1213
    ac_useropt_orig=$ac_useropt
 
1214
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1215
    case $ac_user_opts in
 
1216
      *"
 
1217
"with_$ac_useropt"
 
1218
"*) ;;
 
1219
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1220
         ac_unrecognized_sep=', ';;
 
1221
    esac
 
1222
    eval with_$ac_useropt=\$ac_optarg ;;
 
1223
 
 
1224
  -without-* | --without-*)
 
1225
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1226
    # Reject names that are not valid shell variable names.
 
1227
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1228
      as_fn_error $? "invalid package name: $ac_useropt"
 
1229
    ac_useropt_orig=$ac_useropt
 
1230
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1231
    case $ac_user_opts in
 
1232
      *"
 
1233
"with_$ac_useropt"
 
1234
"*) ;;
 
1235
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1236
         ac_unrecognized_sep=', ';;
 
1237
    esac
 
1238
    eval with_$ac_useropt=no ;;
 
1239
 
 
1240
  --x)
 
1241
    # Obsolete; use --with-x.
 
1242
    with_x=yes ;;
 
1243
 
 
1244
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1245
  | --x-incl | --x-inc | --x-in | --x-i)
 
1246
    ac_prev=x_includes ;;
 
1247
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1248
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1249
    x_includes=$ac_optarg ;;
 
1250
 
 
1251
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1252
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1253
    ac_prev=x_libraries ;;
 
1254
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1255
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1256
    x_libraries=$ac_optarg ;;
 
1257
 
 
1258
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1259
Try \`$0 --help' for more information"
 
1260
    ;;
 
1261
 
 
1262
  *=*)
 
1263
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1264
    # Reject names that are not valid shell variable names.
 
1265
    case $ac_envvar in #(
 
1266
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1267
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1268
    esac
 
1269
    eval $ac_envvar=\$ac_optarg
 
1270
    export $ac_envvar ;;
 
1271
 
 
1272
  *)
 
1273
    # FIXME: should be removed in autoconf 3.0.
 
1274
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1275
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1276
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1277
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1278
    ;;
 
1279
 
 
1280
  esac
 
1281
done
 
1282
 
 
1283
if test -n "$ac_prev"; then
 
1284
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1285
  as_fn_error $? "missing argument to $ac_option"
 
1286
fi
 
1287
 
 
1288
if test -n "$ac_unrecognized_opts"; then
 
1289
  case $enable_option_checking in
 
1290
    no) ;;
 
1291
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1292
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1293
  esac
 
1294
fi
 
1295
 
 
1296
# Check all directory arguments for consistency.
 
1297
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1298
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1299
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1300
                libdir localedir mandir
 
1301
do
 
1302
  eval ac_val=\$$ac_var
 
1303
  # Remove trailing slashes.
 
1304
  case $ac_val in
 
1305
    */ )
 
1306
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1307
      eval $ac_var=\$ac_val;;
 
1308
  esac
 
1309
  # Be sure to have absolute directory names.
 
1310
  case $ac_val in
 
1311
    [\\/$]* | ?:[\\/]* )  continue;;
 
1312
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1313
  esac
 
1314
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1315
done
 
1316
 
 
1317
# There might be people who depend on the old broken behavior: `$host'
 
1318
# used to hold the argument of --host etc.
 
1319
# FIXME: To remove some day.
 
1320
build=$build_alias
 
1321
host=$host_alias
 
1322
target=$target_alias
 
1323
 
 
1324
# FIXME: To remove some day.
 
1325
if test "x$host_alias" != x; then
 
1326
  if test "x$build_alias" = x; then
 
1327
    cross_compiling=maybe
 
1328
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1329
    If a cross compiler is detected then cross compile mode will be used" >&2
 
1330
  elif test "x$build_alias" != "x$host_alias"; then
 
1331
    cross_compiling=yes
 
1332
  fi
 
1333
fi
 
1334
 
 
1335
ac_tool_prefix=
 
1336
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1337
 
 
1338
test "$silent" = yes && exec 6>/dev/null
 
1339
 
 
1340
 
 
1341
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1342
ac_ls_di=`ls -di .` &&
 
1343
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1344
  as_fn_error $? "working directory cannot be determined"
 
1345
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1346
  as_fn_error $? "pwd does not report name of working directory"
 
1347
 
 
1348
 
 
1349
# Find the source files, if location was not specified.
 
1350
if test -z "$srcdir"; then
 
1351
  ac_srcdir_defaulted=yes
 
1352
  # Try the directory containing this script, then the parent directory.
 
1353
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1354
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1355
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1356
         X"$as_myself" : 'X\(//\)$' \| \
 
1357
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1358
$as_echo X"$as_myself" |
 
1359
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1360
            s//\1/
 
1361
            q
 
1362
          }
 
1363
          /^X\(\/\/\)[^/].*/{
 
1364
            s//\1/
 
1365
            q
 
1366
          }
 
1367
          /^X\(\/\/\)$/{
 
1368
            s//\1/
 
1369
            q
 
1370
          }
 
1371
          /^X\(\/\).*/{
 
1372
            s//\1/
 
1373
            q
 
1374
          }
 
1375
          s/.*/./; q'`
 
1376
  srcdir=$ac_confdir
 
1377
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1378
    srcdir=..
 
1379
  fi
 
1380
else
 
1381
  ac_srcdir_defaulted=no
 
1382
fi
 
1383
if test ! -r "$srcdir/$ac_unique_file"; then
 
1384
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1385
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1386
fi
 
1387
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1388
ac_abs_confdir=`(
 
1389
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1390
        pwd)`
 
1391
# When building in place, set srcdir=.
 
1392
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1393
  srcdir=.
 
1394
fi
 
1395
# Remove unnecessary trailing slashes from srcdir.
 
1396
# Double slashes in file names in object file debugging info
 
1397
# mess up M-x gdb in Emacs.
 
1398
case $srcdir in
 
1399
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1400
esac
 
1401
for ac_var in $ac_precious_vars; do
 
1402
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1403
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1404
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1405
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1406
done
 
1407
 
 
1408
#
 
1409
# Report the --help message.
 
1410
#
 
1411
if test "$ac_init_help" = "long"; then
 
1412
  # Omit some internal or obsolete options to make the list less imposing.
 
1413
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1414
  cat <<_ACEOF
 
1415
\`configure' configures trousers 0.3.9 to adapt to many kinds of systems.
 
1416
 
 
1417
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1418
 
 
1419
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1420
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1421
 
 
1422
Defaults for the options are specified in brackets.
 
1423
 
 
1424
Configuration:
 
1425
  -h, --help              display this help and exit
 
1426
      --help=short        display options specific to this package
 
1427
      --help=recursive    display the short help of all the included packages
 
1428
  -V, --version           display version information and exit
 
1429
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1430
      --cache-file=FILE   cache test results in FILE [disabled]
 
1431
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1432
  -n, --no-create         do not create output files
 
1433
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1434
 
 
1435
Installation directories:
 
1436
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1437
                          @<:@@S|@ac_default_prefix@:>@
 
1438
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1439
                          @<:@PREFIX@:>@
 
1440
 
 
1441
By default, \`make install' will install all the files in
 
1442
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1443
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1444
for instance \`--prefix=\$HOME'.
 
1445
 
 
1446
For better control, use the options below.
 
1447
 
 
1448
Fine tuning of the installation directories:
 
1449
  --bindir=DIR            user executables [EPREFIX/bin]
 
1450
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1451
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1452
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1453
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1454
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1455
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1456
  --includedir=DIR        C header files [PREFIX/include]
 
1457
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1458
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1459
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1460
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1461
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1462
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1463
  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/trousers@:>@
 
1464
  --htmldir=DIR           html documentation [DOCDIR]
 
1465
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1466
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1467
  --psdir=DIR             ps documentation [DOCDIR]
 
1468
_ACEOF
 
1469
 
 
1470
  cat <<\_ACEOF
 
1471
 
 
1472
Program names:
 
1473
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1474
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1475
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1476
 
 
1477
System types:
 
1478
  --build=BUILD     configure for building on BUILD [guessed]
 
1479
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1480
  --target=TARGET   configure for building compilers for TARGET [HOST]
 
1481
_ACEOF
 
1482
fi
 
1483
 
 
1484
if test -n "$ac_init_help"; then
 
1485
  case $ac_init_help in
 
1486
     short | recursive ) echo "Configuration of trousers 0.3.9:";;
 
1487
   esac
 
1488
  cat <<\_ACEOF
 
1489
 
 
1490
Optional Features:
 
1491
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1492
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1493
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1494
  --enable-debug          turn on all trousers debugging flags @<:@default=off@:>@
 
1495
  --disable-dependency-tracking  speeds up one-time build
 
1496
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1497
  --enable-gcov           turn on gcov code coverage flags @<:@default=off@:>@
 
1498
  --enable-gprof          enable profiling with gprof @<:@default=off@:>@
 
1499
  --enable-strict-spec-compliance 
 
1500
                          build TrouSerS as strictly spec compliant
 
1501
                          @<:@default=off@:>@
 
1502
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=no@:>@
 
1503
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
 
1504
  --enable-fast-install@<:@=PKGS@:>@ 
 
1505
                          optimize for fast installation @<:@default=yes@:>@
 
1506
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1507
 
 
1508
Optional Packages:
 
1509
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1510
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1511
  --with-openssl=PATH     Location of openssl libs/includes
 
1512
  --with-gmp              build TrouSerS with the GMP math lib (used in DAA)
 
1513
  --with-gui              type of gui popup (gtk/none) @<:@default=gtk@:>@
 
1514
  --with-api              Version of the TSS API to build @<:@default=1.2@:>@
 
1515
  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
 
1516
                          both@:>@
 
1517
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
 
1518
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1519
                        (or the compiler's sysroot if not specified).
 
1520
 
 
1521
Some influential environment variables:
 
1522
  CC          C compiler command
 
1523
  CFLAGS      C compiler flags
 
1524
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1525
              nonstandard directory <lib dir>
 
1526
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1527
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1528
              you have headers in a nonstandard directory <include dir>
 
1529
  CPP         C preprocessor
 
1530
  PKG_CONFIG  path to pkg-config utility
 
1531
  PKG_CONFIG_PATH 
 
1532
              directories to add to pkg-config's search path
 
1533
  PKG_CONFIG_LIBDIR 
 
1534
              path overriding pkg-config's built-in search path
 
1535
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
 
1536
  GTK_LIBS    linker flags for GTK, overriding pkg-config
 
1537
 
 
1538
Use these variables to override the choices made by `configure' or to help
 
1539
it to find libraries and programs with nonstandard names/locations.
 
1540
 
 
1541
Report bugs to <trousers-tech@lists.sf.net>.
 
1542
_ACEOF
 
1543
ac_status=$?
 
1544
fi
 
1545
 
 
1546
if test "$ac_init_help" = "recursive"; then
 
1547
  # If there are subdirs, report their specific --help.
 
1548
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1549
    test -d "$ac_dir" ||
 
1550
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1551
      continue
 
1552
    ac_builddir=.
 
1553
 
 
1554
case "$ac_dir" in
 
1555
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1556
*)
 
1557
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1558
  # A ".." for each directory in $ac_dir_suffix.
 
1559
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1560
  case $ac_top_builddir_sub in
 
1561
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1562
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1563
  esac ;;
 
1564
esac
 
1565
ac_abs_top_builddir=$ac_pwd
 
1566
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1567
# for backward compatibility:
 
1568
ac_top_builddir=$ac_top_build_prefix
 
1569
 
 
1570
case $srcdir in
 
1571
  .)  # We are building in place.
 
1572
    ac_srcdir=.
 
1573
    ac_top_srcdir=$ac_top_builddir_sub
 
1574
    ac_abs_top_srcdir=$ac_pwd ;;
 
1575
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1576
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1577
    ac_top_srcdir=$srcdir
 
1578
    ac_abs_top_srcdir=$srcdir ;;
 
1579
  *) # Relative name.
 
1580
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1581
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1582
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1583
esac
 
1584
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1585
 
 
1586
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1587
    # Check for guested configure.
 
1588
    if test -f "$ac_srcdir/configure.gnu"; then
 
1589
      echo &&
 
1590
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1591
    elif test -f "$ac_srcdir/configure"; then
 
1592
      echo &&
 
1593
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1594
    else
 
1595
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1596
    fi || ac_status=$?
 
1597
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1598
  done
 
1599
fi
 
1600
 
 
1601
test -n "$ac_init_help" && exit $ac_status
 
1602
if $ac_init_version; then
 
1603
  cat <<\_ACEOF
 
1604
trousers configure 0.3.9
 
1605
generated by GNU Autoconf 2.68
 
1606
 
 
1607
Copyright (C) 2010 Free Software Foundation, Inc.
 
1608
This configure script is free software; the Free Software Foundation
 
1609
gives unlimited permission to copy, distribute and modify it.
 
1610
_ACEOF
 
1611
  exit
 
1612
fi
 
1613
 
 
1614
## ------------------------ ##
 
1615
## Autoconf initialization. ##
 
1616
## ------------------------ ##
 
1617
 
 
1618
@%:@ ac_fn_c_try_compile LINENO
 
1619
@%:@ --------------------------
 
1620
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 
1621
ac_fn_c_try_compile ()
 
1622
{
 
1623
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1624
  rm -f conftest.$ac_objext
 
1625
  if { { ac_try="$ac_compile"
 
1626
case "(($ac_try" in
 
1627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1628
  *) ac_try_echo=$ac_try;;
 
1629
esac
 
1630
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1631
$as_echo "$ac_try_echo"; } >&5
 
1632
  (eval "$ac_compile") 2>conftest.err
 
1633
  ac_status=$?
 
1634
  if test -s conftest.err; then
 
1635
    grep -v '^ *+' conftest.err >conftest.er1
 
1636
    cat conftest.er1 >&5
 
1637
    mv -f conftest.er1 conftest.err
 
1638
  fi
 
1639
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1640
  test $ac_status = 0; } && {
 
1641
         test -z "$ac_c_werror_flag" ||
 
1642
         test ! -s conftest.err
 
1643
       } && test -s conftest.$ac_objext; then :
 
1644
  ac_retval=0
 
1645
else
 
1646
  $as_echo "$as_me: failed program was:" >&5
 
1647
sed 's/^/| /' conftest.$ac_ext >&5
 
1648
 
 
1649
        ac_retval=1
 
1650
fi
 
1651
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1652
  as_fn_set_status $ac_retval
 
1653
 
 
1654
} @%:@ ac_fn_c_try_compile
 
1655
 
 
1656
@%:@ ac_fn_c_try_link LINENO
 
1657
@%:@ -----------------------
 
1658
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 
1659
ac_fn_c_try_link ()
 
1660
{
 
1661
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1662
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1663
  if { { ac_try="$ac_link"
 
1664
case "(($ac_try" in
 
1665
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1666
  *) ac_try_echo=$ac_try;;
 
1667
esac
 
1668
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1669
$as_echo "$ac_try_echo"; } >&5
 
1670
  (eval "$ac_link") 2>conftest.err
 
1671
  ac_status=$?
 
1672
  if test -s conftest.err; then
 
1673
    grep -v '^ *+' conftest.err >conftest.er1
 
1674
    cat conftest.er1 >&5
 
1675
    mv -f conftest.er1 conftest.err
 
1676
  fi
 
1677
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1678
  test $ac_status = 0; } && {
 
1679
         test -z "$ac_c_werror_flag" ||
 
1680
         test ! -s conftest.err
 
1681
       } && test -s conftest$ac_exeext && {
 
1682
         test "$cross_compiling" = yes ||
 
1683
         $as_test_x conftest$ac_exeext
 
1684
       }; then :
 
1685
  ac_retval=0
 
1686
else
 
1687
  $as_echo "$as_me: failed program was:" >&5
 
1688
sed 's/^/| /' conftest.$ac_ext >&5
 
1689
 
 
1690
        ac_retval=1
 
1691
fi
 
1692
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1693
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1694
  # interfere with the next link command; also delete a directory that is
 
1695
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1696
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1697
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1698
  as_fn_set_status $ac_retval
 
1699
 
 
1700
} @%:@ ac_fn_c_try_link
 
1701
 
 
1702
@%:@ ac_fn_c_try_cpp LINENO
 
1703
@%:@ ----------------------
 
1704
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 
1705
ac_fn_c_try_cpp ()
 
1706
{
 
1707
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1708
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1709
case "(($ac_try" in
 
1710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1711
  *) ac_try_echo=$ac_try;;
 
1712
esac
 
1713
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1714
$as_echo "$ac_try_echo"; } >&5
 
1715
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1716
  ac_status=$?
 
1717
  if test -s conftest.err; then
 
1718
    grep -v '^ *+' conftest.err >conftest.er1
 
1719
    cat conftest.er1 >&5
 
1720
    mv -f conftest.er1 conftest.err
 
1721
  fi
 
1722
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1723
  test $ac_status = 0; } > conftest.i && {
 
1724
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1725
         test ! -s conftest.err
 
1726
       }; then :
 
1727
  ac_retval=0
 
1728
else
 
1729
  $as_echo "$as_me: failed program was:" >&5
 
1730
sed 's/^/| /' conftest.$ac_ext >&5
 
1731
 
 
1732
    ac_retval=1
 
1733
fi
 
1734
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1735
  as_fn_set_status $ac_retval
 
1736
 
 
1737
} @%:@ ac_fn_c_try_cpp
 
1738
 
 
1739
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1740
@%:@ -------------------------------------------------------
 
1741
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1742
@%:@ the include files in INCLUDES and setting the cache variable VAR
 
1743
@%:@ accordingly.
 
1744
ac_fn_c_check_header_mongrel ()
 
1745
{
 
1746
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1747
  if eval \${$3+:} false; then :
 
1748
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1749
$as_echo_n "checking for $2... " >&6; }
 
1750
if eval \${$3+:} false; then :
 
1751
  $as_echo_n "(cached) " >&6
 
1752
fi
 
1753
eval ac_res=\$$3
 
1754
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1755
$as_echo "$ac_res" >&6; }
 
1756
else
 
1757
  # Is the header compilable?
 
1758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1759
$as_echo_n "checking $2 usability... " >&6; }
 
1760
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1761
/* end confdefs.h.  */
 
1762
$4
 
1763
@%:@include <$2>
 
1764
_ACEOF
 
1765
if ac_fn_c_try_compile "$LINENO"; then :
 
1766
  ac_header_compiler=yes
 
1767
else
 
1768
  ac_header_compiler=no
 
1769
fi
 
1770
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1772
$as_echo "$ac_header_compiler" >&6; }
 
1773
 
 
1774
# Is the header present?
 
1775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1776
$as_echo_n "checking $2 presence... " >&6; }
 
1777
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1778
/* end confdefs.h.  */
 
1779
@%:@include <$2>
 
1780
_ACEOF
 
1781
if ac_fn_c_try_cpp "$LINENO"; then :
 
1782
  ac_header_preproc=yes
 
1783
else
 
1784
  ac_header_preproc=no
 
1785
fi
 
1786
rm -f conftest.err conftest.i conftest.$ac_ext
 
1787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1788
$as_echo "$ac_header_preproc" >&6; }
 
1789
 
 
1790
# So?  What about this header?
 
1791
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1792
  yes:no: )
 
1793
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1794
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1795
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1796
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1797
    ;;
 
1798
  no:yes:* )
 
1799
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1800
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1801
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1802
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1803
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1804
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1805
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1806
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1807
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1808
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1809
( $as_echo "## ----------------------------------------- ##
 
1810
## Report this to trousers-tech@lists.sf.net ##
 
1811
## ----------------------------------------- ##"
 
1812
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1813
    ;;
 
1814
esac
 
1815
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1816
$as_echo_n "checking for $2... " >&6; }
 
1817
if eval \${$3+:} false; then :
 
1818
  $as_echo_n "(cached) " >&6
 
1819
else
 
1820
  eval "$3=\$ac_header_compiler"
 
1821
fi
 
1822
eval ac_res=\$$3
 
1823
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1824
$as_echo "$ac_res" >&6; }
 
1825
fi
 
1826
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1827
 
 
1828
} @%:@ ac_fn_c_check_header_mongrel
 
1829
 
 
1830
@%:@ ac_fn_c_try_run LINENO
 
1831
@%:@ ----------------------
 
1832
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
 
1833
@%:@ that executables *can* be run.
 
1834
ac_fn_c_try_run ()
 
1835
{
 
1836
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1837
  if { { ac_try="$ac_link"
 
1838
case "(($ac_try" in
 
1839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1840
  *) ac_try_echo=$ac_try;;
 
1841
esac
 
1842
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1843
$as_echo "$ac_try_echo"; } >&5
 
1844
  (eval "$ac_link") 2>&5
 
1845
  ac_status=$?
 
1846
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1847
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1848
  { { case "(($ac_try" in
 
1849
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1850
  *) ac_try_echo=$ac_try;;
 
1851
esac
 
1852
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1853
$as_echo "$ac_try_echo"; } >&5
 
1854
  (eval "$ac_try") 2>&5
 
1855
  ac_status=$?
 
1856
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1857
  test $ac_status = 0; }; }; then :
 
1858
  ac_retval=0
 
1859
else
 
1860
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1861
       $as_echo "$as_me: failed program was:" >&5
 
1862
sed 's/^/| /' conftest.$ac_ext >&5
 
1863
 
 
1864
       ac_retval=$ac_status
 
1865
fi
 
1866
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1867
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1868
  as_fn_set_status $ac_retval
 
1869
 
 
1870
} @%:@ ac_fn_c_try_run
 
1871
 
 
1872
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1873
@%:@ -------------------------------------------------------
 
1874
@%:@ Tests whether HEADER exists and can be compiled using the include files in
 
1875
@%:@ INCLUDES, setting the cache variable VAR accordingly.
 
1876
ac_fn_c_check_header_compile ()
 
1877
{
 
1878
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1879
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1880
$as_echo_n "checking for $2... " >&6; }
 
1881
if eval \${$3+:} false; then :
 
1882
  $as_echo_n "(cached) " >&6
 
1883
else
 
1884
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1885
/* end confdefs.h.  */
 
1886
$4
 
1887
@%:@include <$2>
 
1888
_ACEOF
 
1889
if ac_fn_c_try_compile "$LINENO"; then :
 
1890
  eval "$3=yes"
 
1891
else
 
1892
  eval "$3=no"
 
1893
fi
 
1894
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1895
fi
 
1896
eval ac_res=\$$3
 
1897
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1898
$as_echo "$ac_res" >&6; }
 
1899
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1900
 
 
1901
} @%:@ ac_fn_c_check_header_compile
 
1902
 
 
1903
@%:@ ac_fn_c_check_func LINENO FUNC VAR
 
1904
@%:@ ----------------------------------
 
1905
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1906
ac_fn_c_check_func ()
 
1907
{
 
1908
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1909
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1910
$as_echo_n "checking for $2... " >&6; }
 
1911
if eval \${$3+:} false; then :
 
1912
  $as_echo_n "(cached) " >&6
 
1913
else
 
1914
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1915
/* end confdefs.h.  */
 
1916
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1917
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1918
#define $2 innocuous_$2
 
1919
 
 
1920
/* System header to define __stub macros and hopefully few prototypes,
 
1921
    which can conflict with char $2 (); below.
 
1922
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1923
    <limits.h> exists even on freestanding compilers.  */
 
1924
 
 
1925
#ifdef __STDC__
 
1926
# include <limits.h>
 
1927
#else
 
1928
# include <assert.h>
 
1929
#endif
 
1930
 
 
1931
#undef $2
 
1932
 
 
1933
/* Override any GCC internal prototype to avoid an error.
 
1934
   Use char because int might match the return type of a GCC
 
1935
   builtin and then its argument prototype would still apply.  */
 
1936
#ifdef __cplusplus
 
1937
extern "C"
 
1938
#endif
 
1939
char $2 ();
 
1940
/* The GNU C library defines this for functions which it implements
 
1941
    to always fail with ENOSYS.  Some functions are actually named
 
1942
    something starting with __ and the normal name is an alias.  */
 
1943
#if defined __stub_$2 || defined __stub___$2
 
1944
choke me
 
1945
#endif
 
1946
 
 
1947
int
 
1948
main ()
 
1949
{
 
1950
return $2 ();
 
1951
  ;
 
1952
  return 0;
 
1953
}
 
1954
_ACEOF
 
1955
if ac_fn_c_try_link "$LINENO"; then :
 
1956
  eval "$3=yes"
 
1957
else
 
1958
  eval "$3=no"
 
1959
fi
 
1960
rm -f core conftest.err conftest.$ac_objext \
 
1961
    conftest$ac_exeext conftest.$ac_ext
 
1962
fi
 
1963
eval ac_res=\$$3
 
1964
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1965
$as_echo "$ac_res" >&6; }
 
1966
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1967
 
 
1968
} @%:@ ac_fn_c_check_func
 
1969
 
 
1970
@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
1971
@%:@ ---------------------------------------------
 
1972
@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
1973
@%:@ accordingly.
 
1974
ac_fn_c_check_decl ()
 
1975
{
 
1976
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1977
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
1978
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
1979
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
1980
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
1981
if eval \${$3+:} false; then :
 
1982
  $as_echo_n "(cached) " >&6
 
1983
else
 
1984
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1985
/* end confdefs.h.  */
 
1986
$4
 
1987
int
 
1988
main ()
 
1989
{
 
1990
@%:@ifndef $as_decl_name
 
1991
@%:@ifdef __cplusplus
 
1992
  (void) $as_decl_use;
 
1993
@%:@else
 
1994
  (void) $as_decl_name;
 
1995
@%:@endif
 
1996
@%:@endif
 
1997
 
 
1998
  ;
 
1999
  return 0;
 
2000
}
 
2001
_ACEOF
 
2002
if ac_fn_c_try_compile "$LINENO"; then :
 
2003
  eval "$3=yes"
 
2004
else
 
2005
  eval "$3=no"
 
2006
fi
 
2007
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2008
fi
 
2009
eval ac_res=\$$3
 
2010
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2011
$as_echo "$ac_res" >&6; }
 
2012
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2013
 
 
2014
} @%:@ ac_fn_c_check_decl
 
2015
cat >config.log <<_ACEOF
 
2016
This file contains any messages produced by compilers while
 
2017
running configure, to aid debugging if configure makes a mistake.
 
2018
 
 
2019
It was created by trousers $as_me 0.3.9, which was
 
2020
generated by GNU Autoconf 2.68.  Invocation command line was
 
2021
 
 
2022
  $ $0 $@
 
2023
 
 
2024
_ACEOF
 
2025
exec 5>>config.log
 
2026
{
 
2027
cat <<_ASUNAME
 
2028
## --------- ##
 
2029
## Platform. ##
 
2030
## --------- ##
 
2031
 
 
2032
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2033
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2034
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2035
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2036
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2037
 
 
2038
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2039
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2040
 
 
2041
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2042
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2043
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2044
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2045
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2046
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2047
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2048
 
 
2049
_ASUNAME
 
2050
 
 
2051
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2052
for as_dir in $PATH
 
2053
do
 
2054
  IFS=$as_save_IFS
 
2055
  test -z "$as_dir" && as_dir=.
 
2056
    $as_echo "PATH: $as_dir"
 
2057
  done
 
2058
IFS=$as_save_IFS
 
2059
 
 
2060
} >&5
 
2061
 
 
2062
cat >&5 <<_ACEOF
 
2063
 
 
2064
 
 
2065
## ----------- ##
 
2066
## Core tests. ##
 
2067
## ----------- ##
 
2068
 
 
2069
_ACEOF
 
2070
 
 
2071
 
 
2072
# Keep a trace of the command line.
 
2073
# Strip out --no-create and --no-recursion so they do not pile up.
 
2074
# Strip out --silent because we don't want to record it for future runs.
 
2075
# Also quote any args containing shell meta-characters.
 
2076
# Make two passes to allow for proper duplicate-argument suppression.
 
2077
ac_configure_args=
 
2078
ac_configure_args0=
 
2079
ac_configure_args1=
 
2080
ac_must_keep_next=false
 
2081
for ac_pass in 1 2
 
2082
do
 
2083
  for ac_arg
 
2084
  do
 
2085
    case $ac_arg in
 
2086
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2087
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2088
    | -silent | --silent | --silen | --sile | --sil)
 
2089
      continue ;;
 
2090
    *\'*)
 
2091
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2092
    esac
 
2093
    case $ac_pass in
 
2094
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2095
    2)
 
2096
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2097
      if test $ac_must_keep_next = true; then
 
2098
        ac_must_keep_next=false # Got value, back to normal.
 
2099
      else
 
2100
        case $ac_arg in
 
2101
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2102
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2103
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2104
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2105
            case "$ac_configure_args0 " in
 
2106
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2107
            esac
 
2108
            ;;
 
2109
          -* ) ac_must_keep_next=true ;;
 
2110
        esac
 
2111
      fi
 
2112
      as_fn_append ac_configure_args " '$ac_arg'"
 
2113
      ;;
 
2114
    esac
 
2115
  done
 
2116
done
 
2117
{ ac_configure_args0=; unset ac_configure_args0;}
 
2118
{ ac_configure_args1=; unset ac_configure_args1;}
 
2119
 
 
2120
# When interrupted or exit'd, cleanup temporary files, and complete
 
2121
# config.log.  We remove comments because anyway the quotes in there
 
2122
# would cause problems or look ugly.
 
2123
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2124
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2125
trap 'exit_status=$?
 
2126
  # Save into config.log some information that might help in debugging.
 
2127
  {
 
2128
    echo
 
2129
 
 
2130
    $as_echo "## ---------------- ##
 
2131
## Cache variables. ##
 
2132
## ---------------- ##"
 
2133
    echo
 
2134
    # The following way of writing the cache mishandles newlines in values,
 
2135
(
 
2136
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2137
    eval ac_val=\$$ac_var
 
2138
    case $ac_val in #(
 
2139
    *${as_nl}*)
 
2140
      case $ac_var in #(
 
2141
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2142
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2143
      esac
 
2144
      case $ac_var in #(
 
2145
      _ | IFS | as_nl) ;; #(
 
2146
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2147
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2148
      esac ;;
 
2149
    esac
 
2150
  done
 
2151
  (set) 2>&1 |
 
2152
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2153
    *${as_nl}ac_space=\ *)
 
2154
      sed -n \
 
2155
        "s/'\''/'\''\\\\'\'''\''/g;
 
2156
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2157
      ;; #(
 
2158
    *)
 
2159
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2160
      ;;
 
2161
    esac |
 
2162
    sort
 
2163
)
 
2164
    echo
 
2165
 
 
2166
    $as_echo "## ----------------- ##
 
2167
## Output variables. ##
 
2168
## ----------------- ##"
 
2169
    echo
 
2170
    for ac_var in $ac_subst_vars
 
2171
    do
 
2172
      eval ac_val=\$$ac_var
 
2173
      case $ac_val in
 
2174
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2175
      esac
 
2176
      $as_echo "$ac_var='\''$ac_val'\''"
 
2177
    done | sort
 
2178
    echo
 
2179
 
 
2180
    if test -n "$ac_subst_files"; then
 
2181
      $as_echo "## ------------------- ##
 
2182
## File substitutions. ##
 
2183
## ------------------- ##"
 
2184
      echo
 
2185
      for ac_var in $ac_subst_files
 
2186
      do
 
2187
        eval ac_val=\$$ac_var
 
2188
        case $ac_val in
 
2189
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2190
        esac
 
2191
        $as_echo "$ac_var='\''$ac_val'\''"
 
2192
      done | sort
 
2193
      echo
 
2194
    fi
 
2195
 
 
2196
    if test -s confdefs.h; then
 
2197
      $as_echo "## ----------- ##
 
2198
## confdefs.h. ##
 
2199
## ----------- ##"
 
2200
      echo
 
2201
      cat confdefs.h
 
2202
      echo
 
2203
    fi
 
2204
    test "$ac_signal" != 0 &&
 
2205
      $as_echo "$as_me: caught signal $ac_signal"
 
2206
    $as_echo "$as_me: exit $exit_status"
 
2207
  } >&5
 
2208
  rm -f core *.core core.conftest.* &&
 
2209
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2210
    exit $exit_status
 
2211
' 0
 
2212
for ac_signal in 1 2 13 15; do
 
2213
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2214
done
 
2215
ac_signal=0
 
2216
 
 
2217
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2218
rm -f -r conftest* confdefs.h
 
2219
 
 
2220
$as_echo "/* confdefs.h */" > confdefs.h
 
2221
 
 
2222
# Predefined preprocessor variables.
 
2223
 
 
2224
cat >>confdefs.h <<_ACEOF
 
2225
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
 
2226
_ACEOF
 
2227
 
 
2228
cat >>confdefs.h <<_ACEOF
 
2229
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2230
_ACEOF
 
2231
 
 
2232
cat >>confdefs.h <<_ACEOF
 
2233
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2234
_ACEOF
 
2235
 
 
2236
cat >>confdefs.h <<_ACEOF
 
2237
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
 
2238
_ACEOF
 
2239
 
 
2240
cat >>confdefs.h <<_ACEOF
 
2241
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2242
_ACEOF
 
2243
 
 
2244
cat >>confdefs.h <<_ACEOF
 
2245
@%:@define PACKAGE_URL "$PACKAGE_URL"
 
2246
_ACEOF
 
2247
 
 
2248
 
 
2249
# Let the site file select an alternate cache file if it wants to.
 
2250
# Prefer an explicitly selected file to automatically selected ones.
 
2251
ac_site_file1=NONE
 
2252
ac_site_file2=NONE
 
2253
if test -n "$CONFIG_SITE"; then
 
2254
  # We do not want a PATH search for config.site.
 
2255
  case $CONFIG_SITE in @%:@((
 
2256
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2257
    */*) ac_site_file1=$CONFIG_SITE;;
 
2258
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2259
  esac
 
2260
elif test "x$prefix" != xNONE; then
 
2261
  ac_site_file1=$prefix/share/config.site
 
2262
  ac_site_file2=$prefix/etc/config.site
 
2263
else
 
2264
  ac_site_file1=$ac_default_prefix/share/config.site
 
2265
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2266
fi
 
2267
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2268
do
 
2269
  test "x$ac_site_file" = xNONE && continue
 
2270
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2271
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2272
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2273
    sed 's/^/| /' "$ac_site_file" >&5
 
2274
    . "$ac_site_file" \
 
2275
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2276
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2277
as_fn_error $? "failed to load site script $ac_site_file
 
2278
See \`config.log' for more details" "$LINENO" 5; }
 
2279
  fi
 
2280
done
 
2281
 
 
2282
if test -r "$cache_file"; then
 
2283
  # Some versions of bash will fail to source /dev/null (special files
 
2284
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2285
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2286
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2287
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2288
    case $cache_file in
 
2289
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2290
      *)                      . "./$cache_file";;
 
2291
    esac
 
2292
  fi
 
2293
else
 
2294
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2295
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2296
  >$cache_file
 
2297
fi
 
2298
 
 
2299
# Check that the precious variables saved in the cache have kept the same
 
2300
# value.
 
2301
ac_cache_corrupted=false
 
2302
for ac_var in $ac_precious_vars; do
 
2303
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2304
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2305
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2306
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2307
  case $ac_old_set,$ac_new_set in
 
2308
    set,)
 
2309
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2310
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2311
      ac_cache_corrupted=: ;;
 
2312
    ,set)
 
2313
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2314
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2315
      ac_cache_corrupted=: ;;
 
2316
    ,);;
 
2317
    *)
 
2318
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2319
        # differences in whitespace do not lead to failure.
 
2320
        ac_old_val_w=`echo x $ac_old_val`
 
2321
        ac_new_val_w=`echo x $ac_new_val`
 
2322
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2323
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2324
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2325
          ac_cache_corrupted=:
 
2326
        else
 
2327
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2328
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2329
          eval $ac_var=\$ac_old_val
 
2330
        fi
 
2331
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2332
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2333
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2334
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2335
      fi;;
 
2336
  esac
 
2337
  # Pass precious variables to config.status.
 
2338
  if test "$ac_new_set" = set; then
 
2339
    case $ac_new_val in
 
2340
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2341
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2342
    esac
 
2343
    case " $ac_configure_args " in
 
2344
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2345
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2346
    esac
 
2347
  fi
 
2348
done
 
2349
if $ac_cache_corrupted; then
 
2350
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2351
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2352
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2353
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2354
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2355
fi
 
2356
## -------------------- ##
 
2357
## Main body of script. ##
 
2358
## -------------------- ##
 
2359
 
 
2360
ac_ext=c
 
2361
ac_cpp='$CPP $CPPFLAGS'
 
2362
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2363
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2364
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2365
 
 
2366
 
 
2367
 
 
2368
TSS_SPEC_MAJOR=1
 
2369
TSS_SPEC_MINOR=2
 
2370
TSS_VER_MAJOR=0
 
2371
TSS_VER_MINOR=3
 
2372
 
 
2373
# compute $target
 
2374
ac_aux_dir=
 
2375
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2376
  if test -f "$ac_dir/install-sh"; then
 
2377
    ac_aux_dir=$ac_dir
 
2378
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2379
    break
 
2380
  elif test -f "$ac_dir/install.sh"; then
 
2381
    ac_aux_dir=$ac_dir
 
2382
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2383
    break
 
2384
  elif test -f "$ac_dir/shtool"; then
 
2385
    ac_aux_dir=$ac_dir
 
2386
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2387
    break
 
2388
  fi
 
2389
done
 
2390
if test -z "$ac_aux_dir"; then
 
2391
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2392
fi
 
2393
 
 
2394
# These three variables are undocumented and unsupported,
 
2395
# and are intended to be withdrawn in a future Autoconf release.
 
2396
# They can cause serious problems if a builder's source tree is in a directory
 
2397
# whose full name contains unusual characters.
 
2398
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2399
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2400
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2401
 
 
2402
 
 
2403
# Make sure we can run config.sub.
 
2404
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2405
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2406
 
 
2407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2408
$as_echo_n "checking build system type... " >&6; }
 
2409
if ${ac_cv_build+:} false; then :
 
2410
  $as_echo_n "(cached) " >&6
 
2411
else
 
2412
  ac_build_alias=$build_alias
 
2413
test "x$ac_build_alias" = x &&
 
2414
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2415
test "x$ac_build_alias" = x &&
 
2416
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
2417
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2418
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2419
 
 
2420
fi
 
2421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2422
$as_echo "$ac_cv_build" >&6; }
 
2423
case $ac_cv_build in
 
2424
*-*-*) ;;
 
2425
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
2426
esac
 
2427
build=$ac_cv_build
 
2428
ac_save_IFS=$IFS; IFS='-'
 
2429
set x $ac_cv_build
 
2430
shift
 
2431
build_cpu=$1
 
2432
build_vendor=$2
 
2433
shift; shift
 
2434
# Remember, the first character of IFS is used to create $*,
 
2435
# except with old shells:
 
2436
build_os=$*
 
2437
IFS=$ac_save_IFS
 
2438
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2439
 
 
2440
 
 
2441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2442
$as_echo_n "checking host system type... " >&6; }
 
2443
if ${ac_cv_host+:} false; then :
 
2444
  $as_echo_n "(cached) " >&6
 
2445
else
 
2446
  if test "x$host_alias" = x; then
 
2447
  ac_cv_host=$ac_cv_build
 
2448
else
 
2449
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2450
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2451
fi
 
2452
 
 
2453
fi
 
2454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2455
$as_echo "$ac_cv_host" >&6; }
 
2456
case $ac_cv_host in
 
2457
*-*-*) ;;
 
2458
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
2459
esac
 
2460
host=$ac_cv_host
 
2461
ac_save_IFS=$IFS; IFS='-'
 
2462
set x $ac_cv_host
 
2463
shift
 
2464
host_cpu=$1
 
2465
host_vendor=$2
 
2466
shift; shift
 
2467
# Remember, the first character of IFS is used to create $*,
 
2468
# except with old shells:
 
2469
host_os=$*
 
2470
IFS=$ac_save_IFS
 
2471
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2472
 
 
2473
 
 
2474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 
2475
$as_echo_n "checking target system type... " >&6; }
 
2476
if ${ac_cv_target+:} false; then :
 
2477
  $as_echo_n "(cached) " >&6
 
2478
else
 
2479
  if test "x$target_alias" = x; then
 
2480
  ac_cv_target=$ac_cv_host
 
2481
else
 
2482
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2483
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 
2484
fi
 
2485
 
 
2486
fi
 
2487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 
2488
$as_echo "$ac_cv_target" >&6; }
 
2489
case $ac_cv_target in
 
2490
*-*-*) ;;
 
2491
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
 
2492
esac
 
2493
target=$ac_cv_target
 
2494
ac_save_IFS=$IFS; IFS='-'
 
2495
set x $ac_cv_target
 
2496
shift
 
2497
target_cpu=$1
 
2498
target_vendor=$2
 
2499
shift; shift
 
2500
# Remember, the first character of IFS is used to create $*,
 
2501
# except with old shells:
 
2502
target_os=$*
 
2503
IFS=$ac_save_IFS
 
2504
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
 
2505
 
 
2506
 
 
2507
# The aliases save the names the user supplied, while $host etc.
 
2508
# will get canonicalized.
 
2509
test -n "$target_alias" &&
 
2510
  test "$program_prefix$program_suffix$program_transform_name" = \
 
2511
    NONENONEs,x,x, &&
 
2512
  program_prefix=${target_alias}-
 
2513
am__api_version='1.11'
 
2514
 
 
2515
# Find a good install program.  We prefer a C program (faster),
 
2516
# so one script is as good as another.  But avoid the broken or
 
2517
# incompatible versions:
 
2518
# SysV /etc/install, /usr/sbin/install
 
2519
# SunOS /usr/etc/install
 
2520
# IRIX /sbin/install
 
2521
# AIX /bin/install
 
2522
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2523
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2524
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2525
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2526
# OS/2's system install, which has a completely different semantic
 
2527
# ./install, which can be erroneously created by make from ./install.sh.
 
2528
# Reject install programs that cannot install multiple files.
 
2529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2530
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2531
if test -z "$INSTALL"; then
 
2532
if ${ac_cv_path_install+:} false; then :
 
2533
  $as_echo_n "(cached) " >&6
 
2534
else
 
2535
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2536
for as_dir in $PATH
 
2537
do
 
2538
  IFS=$as_save_IFS
 
2539
  test -z "$as_dir" && as_dir=.
 
2540
    # Account for people who put trailing slashes in PATH elements.
 
2541
case $as_dir/ in @%:@((
 
2542
  ./ | .// | /[cC]/* | \
 
2543
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2544
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2545
  /usr/ucb/* ) ;;
 
2546
  *)
 
2547
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2548
    # Don't use installbsd from OSF since it installs stuff as root
 
2549
    # by default.
 
2550
    for ac_prog in ginstall scoinst install; do
 
2551
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2552
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2553
          if test $ac_prog = install &&
 
2554
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2555
            # AIX install.  It has an incompatible calling convention.
 
2556
            :
 
2557
          elif test $ac_prog = install &&
 
2558
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2559
            # program-specific install script used by HP pwplus--don't use.
 
2560
            :
 
2561
          else
 
2562
            rm -rf conftest.one conftest.two conftest.dir
 
2563
            echo one > conftest.one
 
2564
            echo two > conftest.two
 
2565
            mkdir conftest.dir
 
2566
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2567
              test -s conftest.one && test -s conftest.two &&
 
2568
              test -s conftest.dir/conftest.one &&
 
2569
              test -s conftest.dir/conftest.two
 
2570
            then
 
2571
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2572
              break 3
 
2573
            fi
 
2574
          fi
 
2575
        fi
 
2576
      done
 
2577
    done
 
2578
    ;;
 
2579
esac
 
2580
 
 
2581
  done
 
2582
IFS=$as_save_IFS
 
2583
 
 
2584
rm -rf conftest.one conftest.two conftest.dir
 
2585
 
 
2586
fi
 
2587
  if test "${ac_cv_path_install+set}" = set; then
 
2588
    INSTALL=$ac_cv_path_install
 
2589
  else
 
2590
    # As a last resort, use the slow shell script.  Don't cache a
 
2591
    # value for INSTALL within a source directory, because that will
 
2592
    # break other packages using the cache if that directory is
 
2593
    # removed, or if the value is a relative name.
 
2594
    INSTALL=$ac_install_sh
 
2595
  fi
 
2596
fi
 
2597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2598
$as_echo "$INSTALL" >&6; }
 
2599
 
 
2600
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2601
# It thinks the first close brace ends the variable substitution.
 
2602
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2603
 
 
2604
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2605
 
 
2606
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2607
 
 
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2609
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2610
# Just in case
 
2611
sleep 1
 
2612
echo timestamp > conftest.file
 
2613
# Reject unsafe characters in $srcdir or the absolute working directory
 
2614
# name.  Accept space and tab only in the latter.
 
2615
am_lf='
 
2616
'
 
2617
case `pwd` in
 
2618
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2619
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2620
esac
 
2621
case $srcdir in
 
2622
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2623
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2624
esac
 
2625
 
 
2626
# Do `set' in a subshell so we don't clobber the current shell's
 
2627
# arguments.  Must try -L first in case configure is actually a
 
2628
# symlink; some systems play weird games with the mod time of symlinks
 
2629
# (eg FreeBSD returns the mod time of the symlink's containing
 
2630
# directory).
 
2631
if (
 
2632
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2633
   if test "$*" = "X"; then
 
2634
      # -L didn't work.
 
2635
      set X `ls -t "$srcdir/configure" conftest.file`
 
2636
   fi
 
2637
   rm -f conftest.file
 
2638
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2639
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2640
 
 
2641
      # If neither matched, then we have a broken ls.  This can happen
 
2642
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2643
      # broken ls alias from the environment.  This has actually
 
2644
      # happened.  Such a system could not be considered "sane".
 
2645
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2646
alias in your environment" "$LINENO" 5
 
2647
   fi
 
2648
 
 
2649
   test "$2" = conftest.file
 
2650
   )
 
2651
then
 
2652
   # Ok.
 
2653
   :
 
2654
else
 
2655
   as_fn_error $? "newly created file is older than distributed files!
 
2656
Check your system clock" "$LINENO" 5
 
2657
fi
 
2658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2659
$as_echo "yes" >&6; }
 
2660
test "$program_prefix" != NONE &&
 
2661
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2662
# Use a double $ so make ignores it.
 
2663
test "$program_suffix" != NONE &&
 
2664
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2665
# Double any \ or $.
 
2666
# By default was `s,x,x', remove it if useless.
 
2667
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2668
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2669
 
 
2670
# expand $ac_aux_dir to an absolute path
 
2671
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2672
 
 
2673
if test x"${MISSING+set}" != xset; then
 
2674
  case $am_aux_dir in
 
2675
  *\ * | *\     *)
 
2676
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2677
  *)
 
2678
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2679
  esac
 
2680
fi
 
2681
# Use eval to expand $SHELL
 
2682
if eval "$MISSING --run true"; then
 
2683
  am_missing_run="$MISSING --run "
 
2684
else
 
2685
  am_missing_run=
 
2686
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2687
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2688
fi
 
2689
 
 
2690
if test x"${install_sh}" != xset; then
 
2691
  case $am_aux_dir in
 
2692
  *\ * | *\     *)
 
2693
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2694
  *)
 
2695
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2696
  esac
 
2697
fi
 
2698
 
 
2699
# Installed binaries are usually stripped using `strip' when the user
 
2700
# run `make install-strip'.  However `strip' might not be the right
 
2701
# tool to use in cross-compilation environments, therefore Automake
 
2702
# will honor the `STRIP' environment variable to overrule this program.
 
2703
if test "$cross_compiling" != no; then
 
2704
  if test -n "$ac_tool_prefix"; then
 
2705
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2706
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2708
$as_echo_n "checking for $ac_word... " >&6; }
 
2709
if ${ac_cv_prog_STRIP+:} false; then :
 
2710
  $as_echo_n "(cached) " >&6
 
2711
else
 
2712
  if test -n "$STRIP"; then
 
2713
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2714
else
 
2715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2716
for as_dir in $PATH
 
2717
do
 
2718
  IFS=$as_save_IFS
 
2719
  test -z "$as_dir" && as_dir=.
 
2720
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2721
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2722
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2723
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2724
    break 2
 
2725
  fi
 
2726
done
 
2727
  done
 
2728
IFS=$as_save_IFS
 
2729
 
 
2730
fi
 
2731
fi
 
2732
STRIP=$ac_cv_prog_STRIP
 
2733
if test -n "$STRIP"; then
 
2734
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2735
$as_echo "$STRIP" >&6; }
 
2736
else
 
2737
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2738
$as_echo "no" >&6; }
 
2739
fi
 
2740
 
 
2741
 
 
2742
fi
 
2743
if test -z "$ac_cv_prog_STRIP"; then
 
2744
  ac_ct_STRIP=$STRIP
 
2745
  # Extract the first word of "strip", so it can be a program name with args.
 
2746
set dummy strip; ac_word=$2
 
2747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2748
$as_echo_n "checking for $ac_word... " >&6; }
 
2749
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2750
  $as_echo_n "(cached) " >&6
 
2751
else
 
2752
  if test -n "$ac_ct_STRIP"; then
 
2753
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2754
else
 
2755
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2756
for as_dir in $PATH
 
2757
do
 
2758
  IFS=$as_save_IFS
 
2759
  test -z "$as_dir" && as_dir=.
 
2760
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2761
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2762
    ac_cv_prog_ac_ct_STRIP="strip"
 
2763
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2764
    break 2
 
2765
  fi
 
2766
done
 
2767
  done
 
2768
IFS=$as_save_IFS
 
2769
 
 
2770
fi
 
2771
fi
 
2772
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2773
if test -n "$ac_ct_STRIP"; then
 
2774
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2775
$as_echo "$ac_ct_STRIP" >&6; }
 
2776
else
 
2777
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2778
$as_echo "no" >&6; }
 
2779
fi
 
2780
 
 
2781
  if test "x$ac_ct_STRIP" = x; then
 
2782
    STRIP=":"
 
2783
  else
 
2784
    case $cross_compiling:$ac_tool_warned in
 
2785
yes:)
 
2786
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2787
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2788
ac_tool_warned=yes ;;
 
2789
esac
 
2790
    STRIP=$ac_ct_STRIP
 
2791
  fi
 
2792
else
 
2793
  STRIP="$ac_cv_prog_STRIP"
 
2794
fi
 
2795
 
 
2796
fi
 
2797
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2798
 
 
2799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2800
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2801
if test -z "$MKDIR_P"; then
 
2802
  if ${ac_cv_path_mkdir+:} false; then :
 
2803
  $as_echo_n "(cached) " >&6
 
2804
else
 
2805
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2806
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2807
do
 
2808
  IFS=$as_save_IFS
 
2809
  test -z "$as_dir" && as_dir=.
 
2810
    for ac_prog in mkdir gmkdir; do
 
2811
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2812
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2813
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2814
             'mkdir (GNU coreutils) '* | \
 
2815
             'mkdir (coreutils) '* | \
 
2816
             'mkdir (fileutils) '4.1*)
 
2817
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2818
               break 3;;
 
2819
           esac
 
2820
         done
 
2821
       done
 
2822
  done
 
2823
IFS=$as_save_IFS
 
2824
 
 
2825
fi
 
2826
 
 
2827
  test -d ./--version && rmdir ./--version
 
2828
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2829
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2830
  else
 
2831
    # As a last resort, use the slow shell script.  Don't cache a
 
2832
    # value for MKDIR_P within a source directory, because that will
 
2833
    # break other packages using the cache if that directory is
 
2834
    # removed, or if the value is a relative name.
 
2835
    MKDIR_P="$ac_install_sh -d"
 
2836
  fi
 
2837
fi
 
2838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2839
$as_echo "$MKDIR_P" >&6; }
 
2840
 
 
2841
mkdir_p="$MKDIR_P"
 
2842
case $mkdir_p in
 
2843
  [\\/$]* | ?:[\\/]*) ;;
 
2844
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2845
esac
 
2846
 
 
2847
for ac_prog in gawk mawk nawk awk
 
2848
do
 
2849
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2850
set dummy $ac_prog; ac_word=$2
 
2851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2852
$as_echo_n "checking for $ac_word... " >&6; }
 
2853
if ${ac_cv_prog_AWK+:} false; then :
 
2854
  $as_echo_n "(cached) " >&6
 
2855
else
 
2856
  if test -n "$AWK"; then
 
2857
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2858
else
 
2859
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2860
for as_dir in $PATH
 
2861
do
 
2862
  IFS=$as_save_IFS
 
2863
  test -z "$as_dir" && as_dir=.
 
2864
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2865
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2866
    ac_cv_prog_AWK="$ac_prog"
 
2867
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2868
    break 2
 
2869
  fi
 
2870
done
 
2871
  done
 
2872
IFS=$as_save_IFS
 
2873
 
 
2874
fi
 
2875
fi
 
2876
AWK=$ac_cv_prog_AWK
 
2877
if test -n "$AWK"; then
 
2878
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2879
$as_echo "$AWK" >&6; }
 
2880
else
 
2881
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2882
$as_echo "no" >&6; }
 
2883
fi
 
2884
 
 
2885
 
 
2886
  test -n "$AWK" && break
 
2887
done
 
2888
 
 
2889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2890
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2891
set x ${MAKE-make}
 
2892
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2893
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2894
  $as_echo_n "(cached) " >&6
 
2895
else
 
2896
  cat >conftest.make <<\_ACEOF
 
2897
SHELL = /bin/sh
 
2898
all:
 
2899
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2900
_ACEOF
 
2901
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2902
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2903
  *@@@%%%=?*=@@@%%%*)
 
2904
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2905
  *)
 
2906
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2907
esac
 
2908
rm -f conftest.make
 
2909
fi
 
2910
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2911
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2912
$as_echo "yes" >&6; }
 
2913
  SET_MAKE=
 
2914
else
 
2915
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2916
$as_echo "no" >&6; }
 
2917
  SET_MAKE="MAKE=${MAKE-make}"
 
2918
fi
 
2919
 
 
2920
rm -rf .tst 2>/dev/null
 
2921
mkdir .tst 2>/dev/null
 
2922
if test -d .tst; then
 
2923
  am__leading_dot=.
 
2924
else
 
2925
  am__leading_dot=_
 
2926
fi
 
2927
rmdir .tst 2>/dev/null
 
2928
 
 
2929
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2930
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2931
  # is not polluted with repeated "-I."
 
2932
  am__isrc=' -I$(srcdir)'
 
2933
  # test to see if srcdir already configured
 
2934
  if test -f $srcdir/config.status; then
 
2935
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2936
  fi
 
2937
fi
 
2938
 
 
2939
# test whether we have cygpath
 
2940
if test -z "$CYGPATH_W"; then
 
2941
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2942
    CYGPATH_W='cygpath -w'
 
2943
  else
 
2944
    CYGPATH_W=echo
 
2945
  fi
 
2946
fi
 
2947
 
 
2948
 
 
2949
# Define the identity of the package.
 
2950
 PACKAGE='trousers'
 
2951
 VERSION='0.3.9'
 
2952
 
 
2953
 
 
2954
cat >>confdefs.h <<_ACEOF
 
2955
@%:@define PACKAGE "$PACKAGE"
 
2956
_ACEOF
 
2957
 
 
2958
 
 
2959
cat >>confdefs.h <<_ACEOF
 
2960
@%:@define VERSION "$VERSION"
 
2961
_ACEOF
 
2962
 
 
2963
# Some tools Automake needs.
 
2964
 
 
2965
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2966
 
 
2967
 
 
2968
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2969
 
 
2970
 
 
2971
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2972
 
 
2973
 
 
2974
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2975
 
 
2976
 
 
2977
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2978
 
 
2979
# We need awk for the "check" target.  The system "awk" is bad on
 
2980
# some platforms.
 
2981
# Always define AMTAR for backward compatibility.
 
2982
 
 
2983
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2984
 
 
2985
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2986
 
 
2987
 
 
2988
 
 
2989
 
 
2990
 
 
2991
 
 
2992
# Debugging support
 
2993
@%:@ Check whether --enable-debug was given.
 
2994
if test "${enable_debug+set}" = set; then :
 
2995
  enableval=$enable_debug; { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Enabling debugging at user request ***" >&5
 
2996
$as_echo "*** Enabling debugging at user request ***" >&6; }
 
2997
fi
 
2998
 
 
2999
 
 
3000
# If the user has not set CFLAGS, do something appropriate
 
3001
test_CFLAGS=${CFLAGS+set}
 
3002
if test "$test_CFLAGS" != set; then
 
3003
        if test "x$enable_debug" = "xyes"; then
 
3004
                CFLAGS="-O0 -g -DTSS_DEBUG -Wreturn-type"
 
3005
#               CFLAGS="-O0 -g -DTSS_DEBUG -Wreturn-type -DTCSD_SINGLE_THREAD_DEBUG"
 
3006
        else
 
3007
                CFLAGS="-O2"
 
3008
        fi
 
3009
else
 
3010
        if test "x$enable_debug" = "xyes"; then
 
3011
                CFLAGS="${CFLAGS} -O0 -g -DTSS_DEBUG -Wreturn-type"
 
3012
        fi
 
3013
fi
 
3014
 
 
3015
# Arch specific stuff
 
3016
case $target in
 
3017
        *ppc64* | *powerpc64* | *x86_64*)
 
3018
                CFLAGS="$CFLAGS -m64"
 
3019
                ;;
 
3020
        *solaris*)
 
3021
                CFLAGS="$CFLAGS -DSOLARIS"
 
3022
                ;;
 
3023
        *)
 
3024
                ;;
 
3025
esac
 
3026
 
 
3027
# Non-standard OpenSSL location
 
3028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Non-standard OpenSSL location" >&5
 
3029
$as_echo_n "checking Non-standard OpenSSL location... " >&6; }
 
3030
 
 
3031
@%:@ Check whether --with-openssl was given.
 
3032
if test "${with_openssl+set}" = set; then :
 
3033
  withval=$with_openssl; OPENSSL_INCLUDE_DIR="$withval/include"
 
3034
         OPENSSL_LIB_DIR="$withval/lib"
 
3035
         if [ ! -d $OPENSSL_INCLUDE_DIR -o ! -d $OPENSSL_LIB_DIR ]; then
 
3036
                as_fn_error $? "$OPENSSL_INCLUDE_DIR or $OPENSSL_LIB_DIR doen't exist!" "$LINENO" 5
 
3037
         else
 
3038
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3039
$as_echo "yes" >&6; }
 
3040
                CFLAGS="$CFLAGS -L$OPENSSL_LIB_DIR -I$OPENSSL_INCLUDE_DIR"
 
3041
                
 
3042
         fi
 
3043
else
 
3044
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3045
$as_echo "no" >&6; }
 
3046
           
 
3047
fi
 
3048
 
 
3049
 
 
3050
# The tspi Makefile will look for trspi/crypto/@CRYPTO_PACKAGE@/crypto.c
 
3051
# Future crypto packages can go in their own subdir of trspi/crypto
 
3052
# and a check for them should be made here
 
3053
DEPDIR="${am__leading_dot}deps"
 
3054
 
 
3055
ac_config_commands="$ac_config_commands depfiles"
 
3056
 
 
3057
 
 
3058
am_make=${MAKE-make}
 
3059
cat > confinc << 'END'
 
3060
am__doit:
 
3061
        @echo this is the am__doit target
 
3062
.PHONY: am__doit
 
3063
END
 
3064
# If we don't find an include directive, just comment out the code.
 
3065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3066
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3067
am__include="#"
 
3068
am__quote=
 
3069
_am_result=none
 
3070
# First try GNU make style include.
 
3071
echo "include confinc" > confmf
 
3072
# Ignore all kinds of additional output from `make'.
 
3073
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3074
*the\ am__doit\ target*)
 
3075
  am__include=include
 
3076
  am__quote=
 
3077
  _am_result=GNU
 
3078
  ;;
 
3079
esac
 
3080
# Now try BSD make style include.
 
3081
if test "$am__include" = "#"; then
 
3082
   echo '.include "confinc"' > confmf
 
3083
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3084
   *the\ am__doit\ target*)
 
3085
     am__include=.include
 
3086
     am__quote="\""
 
3087
     _am_result=BSD
 
3088
     ;;
 
3089
   esac
 
3090
fi
 
3091
 
 
3092
 
 
3093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3094
$as_echo "$_am_result" >&6; }
 
3095
rm -f confinc confmf
 
3096
 
 
3097
@%:@ Check whether --enable-dependency-tracking was given.
 
3098
if test "${enable_dependency_tracking+set}" = set; then :
 
3099
  enableval=$enable_dependency_tracking; 
 
3100
fi
 
3101
 
 
3102
if test "x$enable_dependency_tracking" != xno; then
 
3103
  am_depcomp="$ac_aux_dir/depcomp"
 
3104
  AMDEPBACKSLASH='\'
 
3105
fi
 
3106
 if test "x$enable_dependency_tracking" != xno; then
 
3107
  AMDEP_TRUE=
 
3108
  AMDEP_FALSE='#'
 
3109
else
 
3110
  AMDEP_TRUE='#'
 
3111
  AMDEP_FALSE=
 
3112
fi
 
3113
 
 
3114
 
 
3115
ac_ext=c
 
3116
ac_cpp='$CPP $CPPFLAGS'
 
3117
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3118
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3119
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3120
if test -n "$ac_tool_prefix"; then
 
3121
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3122
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3124
$as_echo_n "checking for $ac_word... " >&6; }
 
3125
if ${ac_cv_prog_CC+:} false; then :
 
3126
  $as_echo_n "(cached) " >&6
 
3127
else
 
3128
  if test -n "$CC"; then
 
3129
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3130
else
 
3131
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3132
for as_dir in $PATH
 
3133
do
 
3134
  IFS=$as_save_IFS
 
3135
  test -z "$as_dir" && as_dir=.
 
3136
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3137
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3138
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3139
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3140
    break 2
 
3141
  fi
 
3142
done
 
3143
  done
 
3144
IFS=$as_save_IFS
 
3145
 
 
3146
fi
 
3147
fi
 
3148
CC=$ac_cv_prog_CC
 
3149
if test -n "$CC"; then
 
3150
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3151
$as_echo "$CC" >&6; }
 
3152
else
 
3153
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3154
$as_echo "no" >&6; }
 
3155
fi
 
3156
 
 
3157
 
 
3158
fi
 
3159
if test -z "$ac_cv_prog_CC"; then
 
3160
  ac_ct_CC=$CC
 
3161
  # Extract the first word of "gcc", so it can be a program name with args.
 
3162
set dummy gcc; ac_word=$2
 
3163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3164
$as_echo_n "checking for $ac_word... " >&6; }
 
3165
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3166
  $as_echo_n "(cached) " >&6
 
3167
else
 
3168
  if test -n "$ac_ct_CC"; then
 
3169
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3170
else
 
3171
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3172
for as_dir in $PATH
 
3173
do
 
3174
  IFS=$as_save_IFS
 
3175
  test -z "$as_dir" && as_dir=.
 
3176
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3177
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3178
    ac_cv_prog_ac_ct_CC="gcc"
 
3179
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3180
    break 2
 
3181
  fi
 
3182
done
 
3183
  done
 
3184
IFS=$as_save_IFS
 
3185
 
 
3186
fi
 
3187
fi
 
3188
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3189
if test -n "$ac_ct_CC"; then
 
3190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3191
$as_echo "$ac_ct_CC" >&6; }
 
3192
else
 
3193
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3194
$as_echo "no" >&6; }
 
3195
fi
 
3196
 
 
3197
  if test "x$ac_ct_CC" = x; then
 
3198
    CC=""
 
3199
  else
 
3200
    case $cross_compiling:$ac_tool_warned in
 
3201
yes:)
 
3202
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3203
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3204
ac_tool_warned=yes ;;
 
3205
esac
 
3206
    CC=$ac_ct_CC
 
3207
  fi
 
3208
else
 
3209
  CC="$ac_cv_prog_CC"
 
3210
fi
 
3211
 
 
3212
if test -z "$CC"; then
 
3213
          if test -n "$ac_tool_prefix"; then
 
3214
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3215
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3216
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3217
$as_echo_n "checking for $ac_word... " >&6; }
 
3218
if ${ac_cv_prog_CC+:} false; then :
 
3219
  $as_echo_n "(cached) " >&6
 
3220
else
 
3221
  if test -n "$CC"; then
 
3222
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3223
else
 
3224
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3225
for as_dir in $PATH
 
3226
do
 
3227
  IFS=$as_save_IFS
 
3228
  test -z "$as_dir" && as_dir=.
 
3229
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3230
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3231
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3232
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3233
    break 2
 
3234
  fi
 
3235
done
 
3236
  done
 
3237
IFS=$as_save_IFS
 
3238
 
 
3239
fi
 
3240
fi
 
3241
CC=$ac_cv_prog_CC
 
3242
if test -n "$CC"; then
 
3243
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3244
$as_echo "$CC" >&6; }
 
3245
else
 
3246
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3247
$as_echo "no" >&6; }
 
3248
fi
 
3249
 
 
3250
 
 
3251
  fi
 
3252
fi
 
3253
if test -z "$CC"; then
 
3254
  # Extract the first word of "cc", so it can be a program name with args.
 
3255
set dummy cc; ac_word=$2
 
3256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3257
$as_echo_n "checking for $ac_word... " >&6; }
 
3258
if ${ac_cv_prog_CC+:} false; then :
 
3259
  $as_echo_n "(cached) " >&6
 
3260
else
 
3261
  if test -n "$CC"; then
 
3262
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3263
else
 
3264
  ac_prog_rejected=no
 
3265
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3266
for as_dir in $PATH
 
3267
do
 
3268
  IFS=$as_save_IFS
 
3269
  test -z "$as_dir" && as_dir=.
 
3270
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3271
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3272
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3273
       ac_prog_rejected=yes
 
3274
       continue
 
3275
     fi
 
3276
    ac_cv_prog_CC="cc"
 
3277
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3278
    break 2
 
3279
  fi
 
3280
done
 
3281
  done
 
3282
IFS=$as_save_IFS
 
3283
 
 
3284
if test $ac_prog_rejected = yes; then
 
3285
  # We found a bogon in the path, so make sure we never use it.
 
3286
  set dummy $ac_cv_prog_CC
 
3287
  shift
 
3288
  if test $@%:@ != 0; then
 
3289
    # We chose a different compiler from the bogus one.
 
3290
    # However, it has the same basename, so the bogon will be chosen
 
3291
    # first if we set CC to just the basename; use the full file name.
 
3292
    shift
 
3293
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3294
  fi
 
3295
fi
 
3296
fi
 
3297
fi
 
3298
CC=$ac_cv_prog_CC
 
3299
if test -n "$CC"; then
 
3300
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3301
$as_echo "$CC" >&6; }
 
3302
else
 
3303
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3304
$as_echo "no" >&6; }
 
3305
fi
 
3306
 
 
3307
 
 
3308
fi
 
3309
if test -z "$CC"; then
 
3310
  if test -n "$ac_tool_prefix"; then
 
3311
  for ac_prog in cl.exe
 
3312
  do
 
3313
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3314
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3316
$as_echo_n "checking for $ac_word... " >&6; }
 
3317
if ${ac_cv_prog_CC+:} false; then :
 
3318
  $as_echo_n "(cached) " >&6
 
3319
else
 
3320
  if test -n "$CC"; then
 
3321
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3322
else
 
3323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3324
for as_dir in $PATH
 
3325
do
 
3326
  IFS=$as_save_IFS
 
3327
  test -z "$as_dir" && as_dir=.
 
3328
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3329
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3330
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3331
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3332
    break 2
 
3333
  fi
 
3334
done
 
3335
  done
 
3336
IFS=$as_save_IFS
 
3337
 
 
3338
fi
 
3339
fi
 
3340
CC=$ac_cv_prog_CC
 
3341
if test -n "$CC"; then
 
3342
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3343
$as_echo "$CC" >&6; }
 
3344
else
 
3345
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3346
$as_echo "no" >&6; }
 
3347
fi
 
3348
 
 
3349
 
 
3350
    test -n "$CC" && break
 
3351
  done
 
3352
fi
 
3353
if test -z "$CC"; then
 
3354
  ac_ct_CC=$CC
 
3355
  for ac_prog in cl.exe
 
3356
do
 
3357
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3358
set dummy $ac_prog; ac_word=$2
 
3359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3360
$as_echo_n "checking for $ac_word... " >&6; }
 
3361
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3362
  $as_echo_n "(cached) " >&6
 
3363
else
 
3364
  if test -n "$ac_ct_CC"; then
 
3365
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3366
else
 
3367
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3368
for as_dir in $PATH
 
3369
do
 
3370
  IFS=$as_save_IFS
 
3371
  test -z "$as_dir" && as_dir=.
 
3372
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3373
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3374
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3375
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3376
    break 2
 
3377
  fi
 
3378
done
 
3379
  done
 
3380
IFS=$as_save_IFS
 
3381
 
 
3382
fi
 
3383
fi
 
3384
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3385
if test -n "$ac_ct_CC"; then
 
3386
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3387
$as_echo "$ac_ct_CC" >&6; }
 
3388
else
 
3389
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3390
$as_echo "no" >&6; }
 
3391
fi
 
3392
 
 
3393
 
 
3394
  test -n "$ac_ct_CC" && break
 
3395
done
 
3396
 
 
3397
  if test "x$ac_ct_CC" = x; then
 
3398
    CC=""
 
3399
  else
 
3400
    case $cross_compiling:$ac_tool_warned in
 
3401
yes:)
 
3402
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3403
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3404
ac_tool_warned=yes ;;
 
3405
esac
 
3406
    CC=$ac_ct_CC
 
3407
  fi
 
3408
fi
 
3409
 
 
3410
fi
 
3411
 
 
3412
 
 
3413
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3414
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3415
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3416
See \`config.log' for more details" "$LINENO" 5; }
 
3417
 
 
3418
# Provide some information about the compiler.
 
3419
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3420
set X $ac_compile
 
3421
ac_compiler=$2
 
3422
for ac_option in --version -v -V -qversion; do
 
3423
  { { ac_try="$ac_compiler $ac_option >&5"
 
3424
case "(($ac_try" in
 
3425
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3426
  *) ac_try_echo=$ac_try;;
 
3427
esac
 
3428
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3429
$as_echo "$ac_try_echo"; } >&5
 
3430
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3431
  ac_status=$?
 
3432
  if test -s conftest.err; then
 
3433
    sed '10a\
 
3434
... rest of stderr output deleted ...
 
3435
         10q' conftest.err >conftest.er1
 
3436
    cat conftest.er1 >&5
 
3437
  fi
 
3438
  rm -f conftest.er1 conftest.err
 
3439
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3440
  test $ac_status = 0; }
 
3441
done
 
3442
 
 
3443
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3444
/* end confdefs.h.  */
 
3445
 
 
3446
int
 
3447
main ()
 
3448
{
 
3449
 
 
3450
  ;
 
3451
  return 0;
 
3452
}
 
3453
_ACEOF
 
3454
ac_clean_files_save=$ac_clean_files
 
3455
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3456
# Try to create an executable without -o first, disregard a.out.
 
3457
# It will help us diagnose broken compilers, and finding out an intuition
 
3458
# of exeext.
 
3459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3460
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3461
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3462
 
 
3463
# The possible output files:
 
3464
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3465
 
 
3466
ac_rmfiles=
 
3467
for ac_file in $ac_files
 
3468
do
 
3469
  case $ac_file in
 
3470
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3471
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3472
  esac
 
3473
done
 
3474
rm -f $ac_rmfiles
 
3475
 
 
3476
if { { ac_try="$ac_link_default"
 
3477
case "(($ac_try" in
 
3478
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3479
  *) ac_try_echo=$ac_try;;
 
3480
esac
 
3481
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3482
$as_echo "$ac_try_echo"; } >&5
 
3483
  (eval "$ac_link_default") 2>&5
 
3484
  ac_status=$?
 
3485
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3486
  test $ac_status = 0; }; then :
 
3487
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3488
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3489
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3490
# so that the user can short-circuit this test for compilers unknown to
 
3491
# Autoconf.
 
3492
for ac_file in $ac_files ''
 
3493
do
 
3494
  test -f "$ac_file" || continue
 
3495
  case $ac_file in
 
3496
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3497
        ;;
 
3498
    [ab].out )
 
3499
        # We found the default executable, but exeext='' is most
 
3500
        # certainly right.
 
3501
        break;;
 
3502
    *.* )
 
3503
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3504
        then :; else
 
3505
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3506
        fi
 
3507
        # We set ac_cv_exeext here because the later test for it is not
 
3508
        # safe: cross compilers may not add the suffix if given an `-o'
 
3509
        # argument, so we may need to know it at that point already.
 
3510
        # Even if this section looks crufty: it has the advantage of
 
3511
        # actually working.
 
3512
        break;;
 
3513
    * )
 
3514
        break;;
 
3515
  esac
 
3516
done
 
3517
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3518
 
 
3519
else
 
3520
  ac_file=''
 
3521
fi
 
3522
if test -z "$ac_file"; then :
 
3523
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3524
$as_echo "no" >&6; }
 
3525
$as_echo "$as_me: failed program was:" >&5
 
3526
sed 's/^/| /' conftest.$ac_ext >&5
 
3527
 
 
3528
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3529
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3530
as_fn_error 77 "C compiler cannot create executables
 
3531
See \`config.log' for more details" "$LINENO" 5; }
 
3532
else
 
3533
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3534
$as_echo "yes" >&6; }
 
3535
fi
 
3536
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3537
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3539
$as_echo "$ac_file" >&6; }
 
3540
ac_exeext=$ac_cv_exeext
 
3541
 
 
3542
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3543
ac_clean_files=$ac_clean_files_save
 
3544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3545
$as_echo_n "checking for suffix of executables... " >&6; }
 
3546
if { { ac_try="$ac_link"
 
3547
case "(($ac_try" in
 
3548
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3549
  *) ac_try_echo=$ac_try;;
 
3550
esac
 
3551
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3552
$as_echo "$ac_try_echo"; } >&5
 
3553
  (eval "$ac_link") 2>&5
 
3554
  ac_status=$?
 
3555
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3556
  test $ac_status = 0; }; then :
 
3557
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3558
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3559
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3560
# `rm'.
 
3561
for ac_file in conftest.exe conftest conftest.*; do
 
3562
  test -f "$ac_file" || continue
 
3563
  case $ac_file in
 
3564
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3565
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3566
          break;;
 
3567
    * ) break;;
 
3568
  esac
 
3569
done
 
3570
else
 
3571
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3572
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3573
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3574
See \`config.log' for more details" "$LINENO" 5; }
 
3575
fi
 
3576
rm -f conftest conftest$ac_cv_exeext
 
3577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3578
$as_echo "$ac_cv_exeext" >&6; }
 
3579
 
 
3580
rm -f conftest.$ac_ext
 
3581
EXEEXT=$ac_cv_exeext
 
3582
ac_exeext=$EXEEXT
 
3583
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3584
/* end confdefs.h.  */
 
3585
@%:@include <stdio.h>
 
3586
int
 
3587
main ()
 
3588
{
 
3589
FILE *f = fopen ("conftest.out", "w");
 
3590
 return ferror (f) || fclose (f) != 0;
 
3591
 
 
3592
  ;
 
3593
  return 0;
 
3594
}
 
3595
_ACEOF
 
3596
ac_clean_files="$ac_clean_files conftest.out"
 
3597
# Check that the compiler produces executables we can run.  If not, either
 
3598
# the compiler is broken, or we cross compile.
 
3599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3600
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3601
if test "$cross_compiling" != yes; then
 
3602
  { { ac_try="$ac_link"
 
3603
case "(($ac_try" in
 
3604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3605
  *) ac_try_echo=$ac_try;;
 
3606
esac
 
3607
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3608
$as_echo "$ac_try_echo"; } >&5
 
3609
  (eval "$ac_link") 2>&5
 
3610
  ac_status=$?
 
3611
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3612
  test $ac_status = 0; }
 
3613
  if { ac_try='./conftest$ac_cv_exeext'
 
3614
  { { case "(($ac_try" in
 
3615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3616
  *) ac_try_echo=$ac_try;;
 
3617
esac
 
3618
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3619
$as_echo "$ac_try_echo"; } >&5
 
3620
  (eval "$ac_try") 2>&5
 
3621
  ac_status=$?
 
3622
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3623
  test $ac_status = 0; }; }; then
 
3624
    cross_compiling=no
 
3625
  else
 
3626
    if test "$cross_compiling" = maybe; then
 
3627
        cross_compiling=yes
 
3628
    else
 
3629
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3630
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3631
as_fn_error $? "cannot run C compiled programs.
 
3632
If you meant to cross compile, use \`--host'.
 
3633
See \`config.log' for more details" "$LINENO" 5; }
 
3634
    fi
 
3635
  fi
 
3636
fi
 
3637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3638
$as_echo "$cross_compiling" >&6; }
 
3639
 
 
3640
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3641
ac_clean_files=$ac_clean_files_save
 
3642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3643
$as_echo_n "checking for suffix of object files... " >&6; }
 
3644
if ${ac_cv_objext+:} false; then :
 
3645
  $as_echo_n "(cached) " >&6
 
3646
else
 
3647
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3648
/* end confdefs.h.  */
 
3649
 
 
3650
int
 
3651
main ()
 
3652
{
 
3653
 
 
3654
  ;
 
3655
  return 0;
 
3656
}
 
3657
_ACEOF
 
3658
rm -f conftest.o conftest.obj
 
3659
if { { ac_try="$ac_compile"
 
3660
case "(($ac_try" in
 
3661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3662
  *) ac_try_echo=$ac_try;;
 
3663
esac
 
3664
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3665
$as_echo "$ac_try_echo"; } >&5
 
3666
  (eval "$ac_compile") 2>&5
 
3667
  ac_status=$?
 
3668
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3669
  test $ac_status = 0; }; then :
 
3670
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3671
  test -f "$ac_file" || continue;
 
3672
  case $ac_file in
 
3673
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3674
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3675
       break;;
 
3676
  esac
 
3677
done
 
3678
else
 
3679
  $as_echo "$as_me: failed program was:" >&5
 
3680
sed 's/^/| /' conftest.$ac_ext >&5
 
3681
 
 
3682
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3683
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3684
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3685
See \`config.log' for more details" "$LINENO" 5; }
 
3686
fi
 
3687
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3688
fi
 
3689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3690
$as_echo "$ac_cv_objext" >&6; }
 
3691
OBJEXT=$ac_cv_objext
 
3692
ac_objext=$OBJEXT
 
3693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3694
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3695
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3696
  $as_echo_n "(cached) " >&6
 
3697
else
 
3698
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3699
/* end confdefs.h.  */
 
3700
 
 
3701
int
 
3702
main ()
 
3703
{
 
3704
#ifndef __GNUC__
 
3705
       choke me
 
3706
#endif
 
3707
 
 
3708
  ;
 
3709
  return 0;
 
3710
}
 
3711
_ACEOF
 
3712
if ac_fn_c_try_compile "$LINENO"; then :
 
3713
  ac_compiler_gnu=yes
 
3714
else
 
3715
  ac_compiler_gnu=no
 
3716
fi
 
3717
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3718
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3719
 
 
3720
fi
 
3721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3722
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3723
if test $ac_compiler_gnu = yes; then
 
3724
  GCC=yes
 
3725
else
 
3726
  GCC=
 
3727
fi
 
3728
ac_test_CFLAGS=${CFLAGS+set}
 
3729
ac_save_CFLAGS=$CFLAGS
 
3730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3731
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3732
if ${ac_cv_prog_cc_g+:} false; then :
 
3733
  $as_echo_n "(cached) " >&6
 
3734
else
 
3735
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3736
   ac_c_werror_flag=yes
 
3737
   ac_cv_prog_cc_g=no
 
3738
   CFLAGS="-g"
 
3739
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3740
/* end confdefs.h.  */
 
3741
 
 
3742
int
 
3743
main ()
 
3744
{
 
3745
 
 
3746
  ;
 
3747
  return 0;
 
3748
}
 
3749
_ACEOF
 
3750
if ac_fn_c_try_compile "$LINENO"; then :
 
3751
  ac_cv_prog_cc_g=yes
 
3752
else
 
3753
  CFLAGS=""
 
3754
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3755
/* end confdefs.h.  */
 
3756
 
 
3757
int
 
3758
main ()
 
3759
{
 
3760
 
 
3761
  ;
 
3762
  return 0;
 
3763
}
 
3764
_ACEOF
 
3765
if ac_fn_c_try_compile "$LINENO"; then :
 
3766
  
 
3767
else
 
3768
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3769
         CFLAGS="-g"
 
3770
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3771
/* end confdefs.h.  */
 
3772
 
 
3773
int
 
3774
main ()
 
3775
{
 
3776
 
 
3777
  ;
 
3778
  return 0;
 
3779
}
 
3780
_ACEOF
 
3781
if ac_fn_c_try_compile "$LINENO"; then :
 
3782
  ac_cv_prog_cc_g=yes
 
3783
fi
 
3784
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3785
fi
 
3786
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3787
fi
 
3788
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3789
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3790
fi
 
3791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3792
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3793
if test "$ac_test_CFLAGS" = set; then
 
3794
  CFLAGS=$ac_save_CFLAGS
 
3795
elif test $ac_cv_prog_cc_g = yes; then
 
3796
  if test "$GCC" = yes; then
 
3797
    CFLAGS="-g -O2"
 
3798
  else
 
3799
    CFLAGS="-g"
 
3800
  fi
 
3801
else
 
3802
  if test "$GCC" = yes; then
 
3803
    CFLAGS="-O2"
 
3804
  else
 
3805
    CFLAGS=
 
3806
  fi
 
3807
fi
 
3808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3809
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3810
if ${ac_cv_prog_cc_c89+:} false; then :
 
3811
  $as_echo_n "(cached) " >&6
 
3812
else
 
3813
  ac_cv_prog_cc_c89=no
 
3814
ac_save_CC=$CC
 
3815
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3816
/* end confdefs.h.  */
 
3817
#include <stdarg.h>
 
3818
#include <stdio.h>
 
3819
#include <sys/types.h>
 
3820
#include <sys/stat.h>
 
3821
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3822
struct buf { int x; };
 
3823
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3824
static char *e (p, i)
 
3825
     char **p;
 
3826
     int i;
 
3827
{
 
3828
  return p[i];
 
3829
}
 
3830
static char *f (char * (*g) (char **, int), char **p, ...)
 
3831
{
 
3832
  char *s;
 
3833
  va_list v;
 
3834
  va_start (v,p);
 
3835
  s = g (p, va_arg (v,int));
 
3836
  va_end (v);
 
3837
  return s;
 
3838
}
 
3839
 
 
3840
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3841
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3842
   These don't provoke an error unfortunately, instead are silently treated
 
3843
   as 'x'.  The following induces an error, until -std is added to get
 
3844
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3845
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3846
   that's true only with -std.  */
 
3847
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3848
 
 
3849
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3850
   inside strings and character constants.  */
 
3851
#define FOO(x) 'x'
 
3852
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3853
 
 
3854
int test (int i, double x);
 
3855
struct s1 {int (*f) (int a);};
 
3856
struct s2 {int (*f) (double a);};
 
3857
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3858
int argc;
 
3859
char **argv;
 
3860
int
 
3861
main ()
 
3862
{
 
3863
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3864
  ;
 
3865
  return 0;
 
3866
}
 
3867
_ACEOF
 
3868
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3869
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3870
do
 
3871
  CC="$ac_save_CC $ac_arg"
 
3872
  if ac_fn_c_try_compile "$LINENO"; then :
 
3873
  ac_cv_prog_cc_c89=$ac_arg
 
3874
fi
 
3875
rm -f core conftest.err conftest.$ac_objext
 
3876
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3877
done
 
3878
rm -f conftest.$ac_ext
 
3879
CC=$ac_save_CC
 
3880
 
 
3881
fi
 
3882
# AC_CACHE_VAL
 
3883
case "x$ac_cv_prog_cc_c89" in
 
3884
  x)
 
3885
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3886
$as_echo "none needed" >&6; } ;;
 
3887
  xno)
 
3888
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3889
$as_echo "unsupported" >&6; } ;;
 
3890
  *)
 
3891
    CC="$CC $ac_cv_prog_cc_c89"
 
3892
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3893
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3894
esac
 
3895
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3896
  
 
3897
fi
 
3898
 
 
3899
ac_ext=c
 
3900
ac_cpp='$CPP $CPPFLAGS'
 
3901
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3902
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3903
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3904
 
 
3905
depcc="$CC"   am_compiler_list=
 
3906
 
 
3907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3908
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3909
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3910
  $as_echo_n "(cached) " >&6
 
3911
else
 
3912
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3913
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3914
  # making bogus files that we don't know about and never remove.  For
 
3915
  # instance it was reported that on HP-UX the gcc test will end up
 
3916
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3917
  # in D'.
 
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
    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
 
 
4610
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
4611
        if test -n "$ac_tool_prefix"; then
 
4612
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
4613
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
4614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4615
$as_echo_n "checking for $ac_word... " >&6; }
 
4616
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
4617
  $as_echo_n "(cached) " >&6
 
4618
else
 
4619
  case $PKG_CONFIG in
 
4620
  [\\/]* | ?:[\\/]*)
 
4621
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
4622
  ;;
 
4623
  *)
 
4624
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4625
for as_dir in $PATH
 
4626
do
 
4627
  IFS=$as_save_IFS
 
4628
  test -z "$as_dir" && as_dir=.
 
4629
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4631
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
4632
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4633
    break 2
 
4634
  fi
 
4635
done
 
4636
  done
 
4637
IFS=$as_save_IFS
 
4638
 
 
4639
  ;;
 
4640
esac
 
4641
fi
 
4642
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
4643
if test -n "$PKG_CONFIG"; then
 
4644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
4645
$as_echo "$PKG_CONFIG" >&6; }
 
4646
else
 
4647
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4648
$as_echo "no" >&6; }
 
4649
fi
 
4650
 
 
4651
 
 
4652
fi
 
4653
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
4654
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
4655
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
4656
set dummy pkg-config; ac_word=$2
 
4657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4658
$as_echo_n "checking for $ac_word... " >&6; }
 
4659
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
4660
  $as_echo_n "(cached) " >&6
 
4661
else
 
4662
  case $ac_pt_PKG_CONFIG in
 
4663
  [\\/]* | ?:[\\/]*)
 
4664
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
4665
  ;;
 
4666
  *)
 
4667
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4668
for as_dir in $PATH
 
4669
do
 
4670
  IFS=$as_save_IFS
 
4671
  test -z "$as_dir" && as_dir=.
 
4672
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4673
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4674
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
4675
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4676
    break 2
 
4677
  fi
 
4678
done
 
4679
  done
 
4680
IFS=$as_save_IFS
 
4681
 
 
4682
  ;;
 
4683
esac
 
4684
fi
 
4685
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
4686
if test -n "$ac_pt_PKG_CONFIG"; then
 
4687
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
4688
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
4689
else
 
4690
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4691
$as_echo "no" >&6; }
 
4692
fi
 
4693
 
 
4694
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
4695
    PKG_CONFIG=""
 
4696
  else
 
4697
    case $cross_compiling:$ac_tool_warned in
 
4698
yes:)
 
4699
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4700
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4701
ac_tool_warned=yes ;;
 
4702
esac
 
4703
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
4704
  fi
 
4705
else
 
4706
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
4707
fi
 
4708
 
 
4709
fi
 
4710
if test -n "$PKG_CONFIG"; then
 
4711
        _pkg_min_version=0.9.0
 
4712
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
4713
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
4714
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
4715
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4716
$as_echo "yes" >&6; }
 
4717
        else
 
4718
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4719
$as_echo "no" >&6; }
 
4720
                PKG_CONFIG=""
 
4721
        fi
 
4722
fi
 
4723
 
 
4724
pkg_failed=no
 
4725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
 
4726
$as_echo_n "checking for GTK... " >&6; }
 
4727
 
 
4728
if test -n "$GTK_CFLAGS"; then
 
4729
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 
4730
 elif test -n "$PKG_CONFIG"; then
 
4731
    if test -n "$PKG_CONFIG" && \
 
4732
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
 
4733
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
 
4734
  ac_status=$?
 
4735
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4736
  test $ac_status = 0; }; then
 
4737
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
 
4738
                      test "x$?" != "x0" && pkg_failed=yes 
 
4739
else
 
4740
  pkg_failed=yes
 
4741
fi
 
4742
 else
 
4743
    pkg_failed=untried
 
4744
fi
 
4745
if test -n "$GTK_LIBS"; then
 
4746
    pkg_cv_GTK_LIBS="$GTK_LIBS"
 
4747
 elif test -n "$PKG_CONFIG"; then
 
4748
    if test -n "$PKG_CONFIG" && \
 
4749
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
 
4750
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
 
4751
  ac_status=$?
 
4752
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4753
  test $ac_status = 0; }; then
 
4754
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
 
4755
                      test "x$?" != "x0" && pkg_failed=yes 
 
4756
else
 
4757
  pkg_failed=yes
 
4758
fi
 
4759
 else
 
4760
    pkg_failed=untried
 
4761
fi
 
4762
 
 
4763
 
 
4764
 
 
4765
if test $pkg_failed = yes; then
 
4766
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4767
$as_echo "no" >&6; }
 
4768
        
 
4769
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
4770
        _pkg_short_errors_supported=yes
 
4771
else
 
4772
        _pkg_short_errors_supported=no
 
4773
fi
 
4774
        if test $_pkg_short_errors_supported = yes; then
 
4775
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_modules" 2>&1`
 
4776
        else 
 
4777
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_modules" 2>&1`
 
4778
        fi
 
4779
        # Put the nasty error message in config.log where it belongs
 
4780
        echo "$GTK_PKG_ERRORS" >&5
 
4781
 
 
4782
         if false; then
 
4783
  HAVE_GTK_TRUE=
 
4784
  HAVE_GTK_FALSE='#'
 
4785
else
 
4786
  HAVE_GTK_TRUE='#'
 
4787
  HAVE_GTK_FALSE=
 
4788
fi
 
4789
 
 
4790
                as_fn_error $? "Please install the gtk2-devel package for your distro or select another gui option." "$LINENO" 5 
 
4791
elif test $pkg_failed = untried; then
 
4792
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4793
$as_echo "no" >&6; }
 
4794
         if false; then
 
4795
  HAVE_GTK_TRUE=
 
4796
  HAVE_GTK_FALSE='#'
 
4797
else
 
4798
  HAVE_GTK_TRUE='#'
 
4799
  HAVE_GTK_FALSE=
 
4800
fi
 
4801
 
 
4802
                as_fn_error $? "Please install the gtk2-devel package for your distro or select another gui option." "$LINENO" 5 
 
4803
else
 
4804
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
 
4805
        GTK_LIBS=$pkg_cv_GTK_LIBS
 
4806
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4807
$as_echo "yes" >&6; }
 
4808
         if true; then
 
4809
  HAVE_GTK_TRUE=
 
4810
  HAVE_GTK_FALSE='#'
 
4811
else
 
4812
  HAVE_GTK_TRUE='#'
 
4813
  HAVE_GTK_FALSE=
 
4814
fi
 
4815
 
 
4816
fi
 
4817
         if false; then
 
4818
  OPENSSL_UI_TRUE=
 
4819
  OPENSSL_UI_FALSE='#'
 
4820
else
 
4821
  OPENSSL_UI_TRUE='#'
 
4822
  OPENSSL_UI_FALSE=
 
4823
fi
 
4824
 
 
4825
        
 
4826
        
 
4827
elif test "x$GUI" = "xopenssl"; then
 
4828
        # We know we have OpenSSL
 
4829
         if true; then
 
4830
  OPENSSL_UI_TRUE=
 
4831
  OPENSSL_UI_FALSE='#'
 
4832
else
 
4833
  OPENSSL_UI_TRUE='#'
 
4834
  OPENSSL_UI_FALSE=
 
4835
fi
 
4836
 
 
4837
         if false; then
 
4838
  HAVE_GTK_TRUE=
 
4839
  HAVE_GTK_FALSE='#'
 
4840
else
 
4841
  HAVE_GTK_TRUE='#'
 
4842
  HAVE_GTK_FALSE=
 
4843
fi
 
4844
 
 
4845
elif test "x$GUI" = "xnone"; then
 
4846
        if test $SPEC_COMP -eq 1; then
 
4847
                as_fn_error $? "Popups must be enabled in strict spec compliance mode" "$LINENO" 5
 
4848
        fi
 
4849
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Disabling GUI popups at user request ***" >&5
 
4850
$as_echo "*** Disabling GUI popups at user request ***" >&6; }
 
4851
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** WARNING: This may break apps! ***" >&5
 
4852
$as_echo "*** WARNING: This may break apps! ***" >&6; }
 
4853
        CFLAGS="$CFLAGS -DTSS_NO_GUI"
 
4854
         if false; then
 
4855
  HAVE_GTK_TRUE=
 
4856
  HAVE_GTK_FALSE='#'
 
4857
else
 
4858
  HAVE_GTK_TRUE='#'
 
4859
  HAVE_GTK_FALSE=
 
4860
fi
 
4861
 
 
4862
         if false; then
 
4863
  OPENSSL_UI_TRUE=
 
4864
  OPENSSL_UI_FALSE='#'
 
4865
else
 
4866
  OPENSSL_UI_TRUE='#'
 
4867
  OPENSSL_UI_FALSE=
 
4868
fi
 
4869
 
 
4870
else
 
4871
        as_fn_error $? "\"gtk\", \"openssl\" and \"none\" are the only supported gui options for trousers" "$LINENO" 5
 
4872
fi
 
4873
 
 
4874
#
 
4875
# The default port that the TCS daemon listens on
 
4876
#
 
4877
TCSD_DEFAULT_PORT=30003
 
4878
 
 
4879
#
 
4880
# The RPC mechanism to build into both libtspi and the tcsd
 
4881
#
 
4882
# AC_SUBST(RPC, "soap")
 
4883
RPC="tcstp"
 
4884
 
 
4885
 
 
4886
#
 
4887
# API= The TSS API level to build by default.
 
4888
#
 
4889
# To build a 1.1 TSS, set API=1.1 (./configure --with-api=1.1)
 
4890
# To build a 1.2 TSS, set API=1.2 (./configure --with-api=1.2)
 
4891
#
 
4892
# In order to build a custom TSS API, set API to the lowest API level that
 
4893
# contains the APIs you need. For instance, if you need only APIs that are
 
4894
# a subset of the TSS 1.1 API, set this to 1.1. If you need any of the 1.2
 
4895
# APIs, you'll need to set this to 1.2. Send mail to trousers-tech@lists.sf.net
 
4896
# if you have questions.
 
4897
#
 
4898
API=1.2
 
4899
 
 
4900
@%:@ Check whether --with-api was given.
 
4901
if test "${with_api+set}" = set; then :
 
4902
  withval=$with_api; API=$withval
 
4903
fi
 
4904
 
 
4905
 
 
4906
if test "x$API" != "x1.1" && test "x$API" != "x1.2"; then
 
4907
        as_fn_error $? "\"1.1\" and \"1.2\" are the only supported API versions for trousers.
 
4908
                      Custom API build options are available by editing 'configure.in'." "$LINENO" 5
 
4909
fi
 
4910
 
 
4911
if test "x$API" = "x1.1" || test "x$API" = "x1.2"; then
 
4912
        # Tspi_Hash_GetHashValue,SetHashValue,UpdateHashValue
 
4913
         if true; then
 
4914
  TSS_BUILD_HASH_TRUE=
 
4915
  TSS_BUILD_HASH_FALSE='#'
 
4916
else
 
4917
  TSS_BUILD_HASH_TRUE='#'
 
4918
  TSS_BUILD_HASH_FALSE=
 
4919
fi
 
4920
 
 
4921
        # Tspi_{Get|Set}Attribdata,{Get|Set}AttribUint32
 
4922
         if true; then
 
4923
  TSS_BUILD_GETSET_TRUE=
 
4924
  TSS_BUILD_GETSET_FALSE='#'
 
4925
else
 
4926
  TSS_BUILD_GETSET_TRUE='#'
 
4927
  TSS_BUILD_GETSET_FALSE=
 
4928
fi
 
4929
 
 
4930
        # Tspi_TPM_GetRandom,StirRandom
 
4931
         if true; then
 
4932
  TSS_BUILD_RANDOM_TRUE=
 
4933
  TSS_BUILD_RANDOM_FALSE='#'
 
4934
else
 
4935
  TSS_BUILD_RANDOM_TRUE='#'
 
4936
  TSS_BUILD_RANDOM_FALSE=
 
4937
fi
 
4938
 
 
4939
        # Tspi_GetCapability (for TSP and TCS capabilities)
 
4940
         if true; then
 
4941
  TSS_BUILD_CAPS_TRUE=
 
4942
  TSS_BUILD_CAPS_FALSE='#'
 
4943
else
 
4944
  TSS_BUILD_CAPS_TRUE='#'
 
4945
  TSS_BUILD_CAPS_FALSE=
 
4946
fi
 
4947
 
 
4948
        # Tspi_TPM_GetCapability (for TPM chip capabilities)
 
4949
         if true; then
 
4950
  TSS_BUILD_CAPS_TPM_TRUE=
 
4951
  TSS_BUILD_CAPS_TPM_FALSE='#'
 
4952
else
 
4953
  TSS_BUILD_CAPS_TPM_TRUE='#'
 
4954
  TSS_BUILD_CAPS_TPM_FALSE=
 
4955
fi
 
4956
 
 
4957
        # Tspi_GetPolicyObject, Tspi_Policy_SetSecret,FlushSecret,AssignToObject
 
4958
         if true; then
 
4959
  TSS_BUILD_POLICY_TRUE=
 
4960
  TSS_BUILD_POLICY_FALSE='#'
 
4961
else
 
4962
  TSS_BUILD_POLICY_TRUE='#'
 
4963
  TSS_BUILD_POLICY_FALSE=
 
4964
fi
 
4965
 
 
4966
        # Tspi_TPM_DirWrite,DirRead
 
4967
         if true; then
 
4968
  TSS_BUILD_DIR_TRUE=
 
4969
  TSS_BUILD_DIR_FALSE='#'
 
4970
else
 
4971
  TSS_BUILD_DIR_TRUE='#'
 
4972
  TSS_BUILD_DIR_FALSE=
 
4973
fi
 
4974
 
 
4975
        # Tspi_TPM_GetEvent,GetEvents,GetEventLog
 
4976
         if true; then
 
4977
  TSS_BUILD_PCR_EVENTS_TRUE=
 
4978
  TSS_BUILD_PCR_EVENTS_FALSE='#'
 
4979
else
 
4980
  TSS_BUILD_PCR_EVENTS_TRUE='#'
 
4981
  TSS_BUILD_PCR_EVENTS_FALSE=
 
4982
fi
 
4983
 
 
4984
        # Tspi_Hash_Sign,VerifySignature
 
4985
         if true; then
 
4986
  TSS_BUILD_SIGN_TRUE=
 
4987
  TSS_BUILD_SIGN_FALSE='#'
 
4988
else
 
4989
  TSS_BUILD_SIGN_TRUE='#'
 
4990
  TSS_BUILD_SIGN_FALSE=
 
4991
fi
 
4992
 
 
4993
        # Tspi_TPM_Quote
 
4994
         if true; then
 
4995
  TSS_BUILD_QUOTE_TRUE=
 
4996
  TSS_BUILD_QUOTE_FALSE='#'
 
4997
else
 
4998
  TSS_BUILD_QUOTE_TRUE='#'
 
4999
  TSS_BUILD_QUOTE_FALSE=
 
5000
fi
 
5001
 
 
5002
        # Tspi_PcrComposite_{Set|Get}PcrValue,SelectPcrIndex
 
5003
         if true; then
 
5004
  TSS_BUILD_PCR_COMP_TRUE=
 
5005
  TSS_BUILD_PCR_COMP_FALSE='#'
 
5006
else
 
5007
  TSS_BUILD_PCR_COMP_TRUE='#'
 
5008
  TSS_BUILD_PCR_COMP_FALSE=
 
5009
fi
 
5010
 
 
5011
        # Tspi_Data_Seal,Unseal
 
5012
         if true; then
 
5013
  TSS_BUILD_SEAL_TRUE=
 
5014
  TSS_BUILD_SEAL_FALSE='#'
 
5015
else
 
5016
  TSS_BUILD_SEAL_TRUE='#'
 
5017
  TSS_BUILD_SEAL_FALSE=
 
5018
fi
 
5019
 
 
5020
        # Tspi_ChangeAuth,ChangeAuthAsym
 
5021
         if true; then
 
5022
  TSS_BUILD_CHANGEAUTH_TRUE=
 
5023
  TSS_BUILD_CHANGEAUTH_FALSE='#'
 
5024
else
 
5025
  TSS_BUILD_CHANGEAUTH_TRUE='#'
 
5026
  TSS_BUILD_CHANGEAUTH_FALSE=
 
5027
fi
 
5028
 
 
5029
        # Tspi_Data_Bind,Unbind
 
5030
         if true; then
 
5031
  TSS_BUILD_BIND_TRUE=
 
5032
  TSS_BUILD_BIND_FALSE='#'
 
5033
else
 
5034
  TSS_BUILD_BIND_TRUE='#'
 
5035
  TSS_BUILD_BIND_FALSE=
 
5036
fi
 
5037
 
 
5038
        # Tspi_TPM_TakeOwnership,ClearOwner (REQ: EK)
 
5039
         if true; then
 
5040
  TSS_BUILD_OWN_TRUE=
 
5041
  TSS_BUILD_OWN_FALSE='#'
 
5042
else
 
5043
  TSS_BUILD_OWN_TRUE='#'
 
5044
  TSS_BUILD_OWN_FALSE=
 
5045
fi
 
5046
 
 
5047
        # Tspi_TPM_CreateEndorsementKey,GetPubEndorsementKey
 
5048
         if true; then
 
5049
  TSS_BUILD_EK_TRUE=
 
5050
  TSS_BUILD_EK_FALSE='#'
 
5051
else
 
5052
  TSS_BUILD_EK_TRUE='#'
 
5053
  TSS_BUILD_EK_FALSE=
 
5054
fi
 
5055
 
 
5056
        # Tspi_Context_RegisterKey,UnregisterKey,LoadKeyByUUID,GetKeyByUUID,GetKeyByPublicInfo,
 
5057
        # GetRegisteredKeysByUUID
 
5058
         if true; then
 
5059
  TSS_BUILD_PS_TRUE=
 
5060
  TSS_BUILD_PS_FALSE='#'
 
5061
else
 
5062
  TSS_BUILD_PS_TRUE='#'
 
5063
  TSS_BUILD_PS_FALSE=
 
5064
fi
 
5065
 
 
5066
        # Tspi_TPM_{Set|Get}Status
 
5067
         if true; then
 
5068
  TSS_BUILD_ADMIN_TRUE=
 
5069
  TSS_BUILD_ADMIN_FALSE='#'
 
5070
else
 
5071
  TSS_BUILD_ADMIN_TRUE='#'
 
5072
  TSS_BUILD_ADMIN_FALSE=
 
5073
fi
 
5074
 
 
5075
        # Tspi_TPM_CollateIdentityRequest,ActivateIdentity
 
5076
         if true; then
 
5077
  TSS_BUILD_AIK_TRUE=
 
5078
  TSS_BUILD_AIK_FALSE='#'
 
5079
else
 
5080
  TSS_BUILD_AIK_TRUE='#'
 
5081
  TSS_BUILD_AIK_FALSE=
 
5082
fi
 
5083
 
 
5084
        # Tspi_Key_CertifyKey
 
5085
         if true; then
 
5086
  TSS_BUILD_CERTIFY_TRUE=
 
5087
  TSS_BUILD_CERTIFY_FALSE='#'
 
5088
else
 
5089
  TSS_BUILD_CERTIFY_TRUE='#'
 
5090
  TSS_BUILD_CERTIFY_FALSE=
 
5091
fi
 
5092
 
 
5093
        # Tspi_TPM_CreateMaintenanceArchive,KillMaintenanceFeature,LoadMaintenancePubKey,
 
5094
        # CheckMaintenancePubKey
 
5095
         if true; then
 
5096
  TSS_BUILD_MAINT_TRUE=
 
5097
  TSS_BUILD_MAINT_FALSE='#'
 
5098
else
 
5099
  TSS_BUILD_MAINT_TRUE='#'
 
5100
  TSS_BUILD_MAINT_FALSE=
 
5101
fi
 
5102
 
 
5103
        # Tspi_TPM_AuthorizeMigrationTicket,Key_CreateMigrationBlob,ConvertMigrationBlob
 
5104
         if true; then
 
5105
  TSS_BUILD_MIGRATION_TRUE=
 
5106
  TSS_BUILD_MIGRATION_FALSE='#'
 
5107
else
 
5108
  TSS_BUILD_MIGRATION_TRUE='#'
 
5109
  TSS_BUILD_MIGRATION_FALSE=
 
5110
fi
 
5111
 
 
5112
        # Tspi_Context_LoadKeyByBlob,Key_LoadKey,UnloadKey,CreateKey,WrapKey,GetPubKey
 
5113
         if true; then
 
5114
  TSS_BUILD_KEY_TRUE=
 
5115
  TSS_BUILD_KEY_FALSE='#'
 
5116
else
 
5117
  TSS_BUILD_KEY_TRUE='#'
 
5118
  TSS_BUILD_KEY_FALSE=
 
5119
fi
 
5120
 
 
5121
        # Tspi_TPM_PcrExtend,PcrRead,PcrReset
 
5122
         if true; then
 
5123
  TSS_BUILD_PCR_EXTEND_TRUE=
 
5124
  TSS_BUILD_PCR_EXTEND_FALSE='#'
 
5125
else
 
5126
  TSS_BUILD_PCR_EXTEND_TRUE='#'
 
5127
  TSS_BUILD_PCR_EXTEND_FALSE=
 
5128
fi
 
5129
 
 
5130
        # Tspi_TPM_SelfTestFull,CertifySelfTest,GetTestResult
 
5131
         if true; then
 
5132
  TSS_BUILD_SELFTEST_TRUE=
 
5133
  TSS_BUILD_SELFTEST_FALSE='#'
 
5134
else
 
5135
  TSS_BUILD_SELFTEST_TRUE='#'
 
5136
  TSS_BUILD_SELFTEST_FALSE=
 
5137
fi
 
5138
 
 
5139
fi
 
5140
 
 
5141
if test "x$API" = "x1.2"; then
 
5142
         if true; then
 
5143
  TSS_BUILD_TSS12_TRUE=
 
5144
  TSS_BUILD_TSS12_FALSE='#'
 
5145
else
 
5146
  TSS_BUILD_TSS12_TRUE='#'
 
5147
  TSS_BUILD_TSS12_FALSE=
 
5148
fi
 
5149
 
 
5150
        # Don't build DAA until the API is fixed - KEY
 
5151
         if false; then
 
5152
  TSS_BUILD_DAA_TRUE=
 
5153
  TSS_BUILD_DAA_FALSE='#'
 
5154
else
 
5155
  TSS_BUILD_DAA_TRUE='#'
 
5156
  TSS_BUILD_DAA_FALSE=
 
5157
fi
 
5158
 
 
5159
         if true; then
 
5160
  TSS_BUILD_PCR_COMP12_TRUE=
 
5161
  TSS_BUILD_PCR_COMP12_FALSE='#'
 
5162
else
 
5163
  TSS_BUILD_PCR_COMP12_TRUE='#'
 
5164
  TSS_BUILD_PCR_COMP12_FALSE=
 
5165
fi
 
5166
 
 
5167
         if true; then
 
5168
  TSS_BUILD_COUNTER_TRUE=
 
5169
  TSS_BUILD_COUNTER_FALSE='#'
 
5170
else
 
5171
  TSS_BUILD_COUNTER_TRUE='#'
 
5172
  TSS_BUILD_COUNTER_FALSE=
 
5173
fi
 
5174
 
 
5175
         if true; then
 
5176
  TSS_BUILD_TICK_TRUE=
 
5177
  TSS_BUILD_TICK_FALSE='#'
 
5178
else
 
5179
  TSS_BUILD_TICK_TRUE='#'
 
5180
  TSS_BUILD_TICK_FALSE=
 
5181
fi
 
5182
 
 
5183
         if true; then
 
5184
  TSS_BUILD_TRANSPORT_TRUE=
 
5185
  TSS_BUILD_TRANSPORT_FALSE='#'
 
5186
else
 
5187
  TSS_BUILD_TRANSPORT_TRUE='#'
 
5188
  TSS_BUILD_TRANSPORT_FALSE=
 
5189
fi
 
5190
 
 
5191
         if true; then
 
5192
  TSS_BUILD_ASN1_TRUE=
 
5193
  TSS_BUILD_ASN1_FALSE='#'
 
5194
else
 
5195
  TSS_BUILD_ASN1_TRUE='#'
 
5196
  TSS_BUILD_ASN1_FALSE=
 
5197
fi
 
5198
 
 
5199
         if true; then
 
5200
  TSS_BUILD_NV_TRUE=
 
5201
  TSS_BUILD_NV_FALSE='#'
 
5202
else
 
5203
  TSS_BUILD_NV_TRUE='#'
 
5204
  TSS_BUILD_NV_FALSE=
 
5205
fi
 
5206
 
 
5207
         if true; then
 
5208
  TSS_BUILD_AUDIT_TRUE=
 
5209
  TSS_BUILD_AUDIT_FALSE='#'
 
5210
else
 
5211
  TSS_BUILD_AUDIT_TRUE='#'
 
5212
  TSS_BUILD_AUDIT_FALSE=
 
5213
fi
 
5214
 
 
5215
         if true; then
 
5216
  TSS_BUILD_SEALX_TRUE=
 
5217
  TSS_BUILD_SEALX_FALSE='#'
 
5218
else
 
5219
  TSS_BUILD_SEALX_TRUE='#'
 
5220
  TSS_BUILD_SEALX_FALSE=
 
5221
fi
 
5222
 
 
5223
         if true; then
 
5224
  TSS_BUILD_DELEGATION_TRUE=
 
5225
  TSS_BUILD_DELEGATION_FALSE='#'
 
5226
else
 
5227
  TSS_BUILD_DELEGATION_TRUE='#'
 
5228
  TSS_BUILD_DELEGATION_FALSE=
 
5229
fi
 
5230
 
 
5231
         if true; then
 
5232
  TSS_BUILD_QUOTE2_TRUE=
 
5233
  TSS_BUILD_QUOTE2_FALSE='#'
 
5234
else
 
5235
  TSS_BUILD_QUOTE2_TRUE='#'
 
5236
  TSS_BUILD_QUOTE2_FALSE=
 
5237
fi
 
5238
 
 
5239
        # CMK depends on MIGRATION
 
5240
         if true; then
 
5241
  TSS_BUILD_CMK_TRUE=
 
5242
  TSS_BUILD_CMK_FALSE='#'
 
5243
else
 
5244
  TSS_BUILD_CMK_TRUE='#'
 
5245
  TSS_BUILD_CMK_FALSE=
 
5246
fi
 
5247
 
 
5248
else
 
5249
         if false; then
 
5250
  TSS_BUILD_TSS12_TRUE=
 
5251
  TSS_BUILD_TSS12_FALSE='#'
 
5252
else
 
5253
  TSS_BUILD_TSS12_TRUE='#'
 
5254
  TSS_BUILD_TSS12_FALSE=
 
5255
fi
 
5256
 
 
5257
         if false; then
 
5258
  TSS_BUILD_DAA_TRUE=
 
5259
  TSS_BUILD_DAA_FALSE='#'
 
5260
else
 
5261
  TSS_BUILD_DAA_TRUE='#'
 
5262
  TSS_BUILD_DAA_FALSE=
 
5263
fi
 
5264
 
 
5265
         if false; then
 
5266
  TSS_BUILD_PCR_COMP12_TRUE=
 
5267
  TSS_BUILD_PCR_COMP12_FALSE='#'
 
5268
else
 
5269
  TSS_BUILD_PCR_COMP12_TRUE='#'
 
5270
  TSS_BUILD_PCR_COMP12_FALSE=
 
5271
fi
 
5272
 
 
5273
         if false; then
 
5274
  TSS_BUILD_COUNTER_TRUE=
 
5275
  TSS_BUILD_COUNTER_FALSE='#'
 
5276
else
 
5277
  TSS_BUILD_COUNTER_TRUE='#'
 
5278
  TSS_BUILD_COUNTER_FALSE=
 
5279
fi
 
5280
 
 
5281
         if false; then
 
5282
  TSS_BUILD_TICK_TRUE=
 
5283
  TSS_BUILD_TICK_FALSE='#'
 
5284
else
 
5285
  TSS_BUILD_TICK_TRUE='#'
 
5286
  TSS_BUILD_TICK_FALSE=
 
5287
fi
 
5288
 
 
5289
         if false; then
 
5290
  TSS_BUILD_TRANSPORT_TRUE=
 
5291
  TSS_BUILD_TRANSPORT_FALSE='#'
 
5292
else
 
5293
  TSS_BUILD_TRANSPORT_TRUE='#'
 
5294
  TSS_BUILD_TRANSPORT_FALSE=
 
5295
fi
 
5296
 
 
5297
         if false; then
 
5298
  TSS_BUILD_ASN1_TRUE=
 
5299
  TSS_BUILD_ASN1_FALSE='#'
 
5300
else
 
5301
  TSS_BUILD_ASN1_TRUE='#'
 
5302
  TSS_BUILD_ASN1_FALSE=
 
5303
fi
 
5304
 
 
5305
         if false; then
 
5306
  TSS_BUILD_NV_TRUE=
 
5307
  TSS_BUILD_NV_FALSE='#'
 
5308
else
 
5309
  TSS_BUILD_NV_TRUE='#'
 
5310
  TSS_BUILD_NV_FALSE=
 
5311
fi
 
5312
 
 
5313
         if false; then
 
5314
  TSS_BUILD_AUDIT_TRUE=
 
5315
  TSS_BUILD_AUDIT_FALSE='#'
 
5316
else
 
5317
  TSS_BUILD_AUDIT_TRUE='#'
 
5318
  TSS_BUILD_AUDIT_FALSE=
 
5319
fi
 
5320
 
 
5321
         if false; then
 
5322
  TSS_BUILD_SEALX_TRUE=
 
5323
  TSS_BUILD_SEALX_FALSE='#'
 
5324
else
 
5325
  TSS_BUILD_SEALX_TRUE='#'
 
5326
  TSS_BUILD_SEALX_FALSE=
 
5327
fi
 
5328
 
 
5329
         if false; then
 
5330
  TSS_BUILD_DELEGATION_TRUE=
 
5331
  TSS_BUILD_DELEGATION_FALSE='#'
 
5332
else
 
5333
  TSS_BUILD_DELEGATION_TRUE='#'
 
5334
  TSS_BUILD_DELEGATION_FALSE=
 
5335
fi
 
5336
 
 
5337
         if false; then
 
5338
  TSS_BUILD_QUOTE2_TRUE=
 
5339
  TSS_BUILD_QUOTE2_FALSE='#'
 
5340
else
 
5341
  TSS_BUILD_QUOTE2_TRUE='#'
 
5342
  TSS_BUILD_QUOTE2_FALSE=
 
5343
fi
 
5344
 
 
5345
         if false; then
 
5346
  TSS_BUILD_CMK_TRUE=
 
5347
  TSS_BUILD_CMK_FALSE='#'
 
5348
else
 
5349
  TSS_BUILD_CMK_TRUE='#'
 
5350
  TSS_BUILD_CMK_FALSE=
 
5351
fi
 
5352
 
 
5353
fi
 
5354
 
 
5355
#
 
5356
# There's no need to edit anything below, these conditionals control the building
 
5357
# of files that support the files above, which all contain TSS APIs
 
5358
#
 
5359
 if test -z $TSS_BUILD_NV_TRUE; then
 
5360
  TSS_BUILD_NV_LIST_TRUE=
 
5361
  TSS_BUILD_NV_LIST_FALSE='#'
 
5362
else
 
5363
  TSS_BUILD_NV_LIST_TRUE='#'
 
5364
  TSS_BUILD_NV_LIST_FALSE=
 
5365
fi
 
5366
 
 
5367
 if test -z $TSS_BUILD_NV_TRUE; then
 
5368
  TSS_BUILD_NV_SUPPORT_TRUE=
 
5369
  TSS_BUILD_NV_SUPPORT_FALSE='#'
 
5370
else
 
5371
  TSS_BUILD_NV_SUPPORT_TRUE='#'
 
5372
  TSS_BUILD_NV_SUPPORT_FALSE=
 
5373
fi
 
5374
 
 
5375
 if test -z $TSS_BUILD_ADMIN_TRUE || \
 
5376
                                    test -z $TSS_BUILD_CAPS_TPM_TRUE; then
 
5377
  TSS_BUILD_GET_FLAGS_TRUE=
 
5378
  TSS_BUILD_GET_FLAGS_FALSE='#'
 
5379
else
 
5380
  TSS_BUILD_GET_FLAGS_TRUE='#'
 
5381
  TSS_BUILD_GET_FLAGS_FALSE=
 
5382
fi
 
5383
 
 
5384
 if test -z $TSS_BUILD_SEAL_TRUE || \
 
5385
                                    test -z $TSS_BUILD_QUOTE_TRUE || \
 
5386
                                    test -z $TSS_BUILD_PCRS_TRUE || \
 
5387
                                    test -z $TSS_BUILD_PCR_COMP_TRUE || \
 
5388
                                    test -z $TSS_BUILD_SEALX_TRUE; then
 
5389
  TSS_BUILD_PCRS_LIST_TRUE=
 
5390
  TSS_BUILD_PCRS_LIST_FALSE='#'
 
5391
else
 
5392
  TSS_BUILD_PCRS_LIST_TRUE='#'
 
5393
  TSS_BUILD_PCRS_LIST_FALSE=
 
5394
fi
 
5395
 
 
5396
 if test -z $TSS_BUILD_SIGN_TRUE || test -z $TSS_BUILD_HASH_TRUE; then
 
5397
  TSS_BUILD_HASH_LIST_TRUE=
 
5398
  TSS_BUILD_HASH_LIST_FALSE='#'
 
5399
else
 
5400
  TSS_BUILD_HASH_LIST_TRUE='#'
 
5401
  TSS_BUILD_HASH_LIST_FALSE=
 
5402
fi
 
5403
 
 
5404
 if test -z $TSS_BUILD_SEAL_TRUE || \
 
5405
                                       test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
 
5406
                                       test -z $TSS_BUILD_BIND_TRUE || \
 
5407
                                       test -z $TSS_BUILD_SEALX_TRUE; then
 
5408
  TSS_BUILD_ENCDATA_LIST_TRUE=
 
5409
  TSS_BUILD_ENCDATA_LIST_FALSE='#'
 
5410
else
 
5411
  TSS_BUILD_ENCDATA_LIST_TRUE='#'
 
5412
  TSS_BUILD_ENCDATA_LIST_FALSE=
 
5413
fi
 
5414
 
 
5415
 if test -z $TSS_BUILD_ADMIN_TRUE || \
 
5416
                                      test -z $TSS_BUILD_EK_TRUE || \
 
5417
                                      test -z $TSS_BUILD_MIGRATION_TRUE || \
 
5418
                                      test -z $TSS_BUILD_MAINT_TRUE || \
 
5419
                                      test -z $TSS_BUILD_CERTIFY_TRUE || \
 
5420
                                      test -z $TSS_BUILD_AIK_TRUE || \
 
5421
                                      test -z $TSS_BUILD_QUOTE_TRUE || \
 
5422
                                      test -z $TSS_BUILD_BIND_TRUE || \
 
5423
                                      test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
 
5424
                                      test -z $TSS_BUILD_OWN_TRUE || \
 
5425
                                      test -z $TSS_BUILD_SIGN_TRUE || \
 
5426
                                      test -z $TSS_BUILD_PS_TRUE || \
 
5427
                                      test -z $TSS_BUILD_SEAL_TRUE || \
 
5428
                                      test -z $TSS_BUILD_DAA_TRUE || \
 
5429
                                      test -z $TSS_BUILD_KEY_TRUE || \
 
5430
                                      test -z $TSS_BUILD_SEALX_TRUE; then
 
5431
  TSS_BUILD_RSAKEY_LIST_TRUE=
 
5432
  TSS_BUILD_RSAKEY_LIST_FALSE='#'
 
5433
else
 
5434
  TSS_BUILD_RSAKEY_LIST_TRUE='#'
 
5435
  TSS_BUILD_RSAKEY_LIST_FALSE=
 
5436
fi
 
5437
 
 
5438
 if test -z $TSS_BUILD_HASH_TRUE || \
 
5439
                               test -z $TSS_BUILD_CAPS_TRUE || \
 
5440
                               test -z $TSS_BUILD_CAPS_TPM_TRUE || \
 
5441
                               test -z $TSS_BUILD_POLICY_TRUE || \
 
5442
                               test -z $TSS_BUILD_DIR_TRUE || \
 
5443
                               test -z $TSS_BUILD_PCR_EVENTS_TRUE || \
 
5444
                               test -z $TSS_BUILD_SIGN_TRUE || \
 
5445
                               test -z $TSS_BUILD_QUOTE_TRUE || \
 
5446
                               test -z $TSS_BUILD_PCR_COMP_TRUE || \
 
5447
                               test -z $TSS_BUILD_SEAL_TRUE || \
 
5448
                               test -z $TSS_BUILD_SEALX_TRUE || \
 
5449
                               test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
 
5450
                               test -z $TSS_BUILD_BIND_TRUE || \
 
5451
                               test -z $TSS_BUILD_OWN_TRUE || \
 
5452
                               test -z $TSS_BUILD_PS_TRUE || \
 
5453
                               test -z $TSS_BUILD_ADMIN_TRUE || \
 
5454
                               test -z $TSS_BUILD_AIK_TRUE || \
 
5455
                               test -z $TSS_BUILD_EK_TRUE || \
 
5456
                               test -z $TSS_BUILD_CERTIFY_TRUE || \
 
5457
                               test -z $TSS_BUILD_MAINT_TRUE || \
 
5458
                               test -z $TSS_BUILD_MIGRATION_TRUE || \
 
5459
                               test -z $TSS_BUILD_KEY_TRUE || \
 
5460
                               test -z $TSS_BUILD_PCR_EXTEND_TRUE || \
 
5461
                               test -z $TSS_BUILD_SELFTEST_TRUE || \
 
5462
                               test -z $TSS_BUILD_DAA_TRUE; then
 
5463
  TSS_BUILD_AUTH_TRUE=
 
5464
  TSS_BUILD_AUTH_FALSE='#'
 
5465
else
 
5466
  TSS_BUILD_AUTH_TRUE='#'
 
5467
  TSS_BUILD_AUTH_FALSE=
 
5468
fi
 
5469
 
 
5470
 if test -z $TSS_BUILD_AIK_TRUE || \
 
5471
                                      test -z $TSS_BUILD_CERTIFY_TRUE || \
 
5472
                                      test -z $TSS_BUILD_QUOTE_TRUE || \
 
5473
                                      test -z $TSS_BUILD_EK_TRUE || \
 
5474
                                      test -z $TSS_BUILD_CHANGEAUTH_TRUE || \
 
5475
                                      test -z $TSS_BUILD_BIND_TRUE || \
 
5476
                                      test -z $TSS_BUILD_OWN_TRUE || \
 
5477
                                      test -z $TSS_BUILD_SELFTEST_TRUE || \
 
5478
                                      test -z $TSS_BUILD_SIGN_TRUE || \
 
5479
                                      test -z $TSS_BUILD_KEY_TRUE || \
 
5480
                                      test -z $TSS_BUILD_DAA_TRUE; then
 
5481
  TSS_BUILD_ASYM_CRYPTO_TRUE=
 
5482
  TSS_BUILD_ASYM_CRYPTO_FALSE='#'
 
5483
else
 
5484
  TSS_BUILD_ASYM_CRYPTO_TRUE='#'
 
5485
  TSS_BUILD_ASYM_CRYPTO_FALSE=
 
5486
fi
 
5487
 
 
5488
 if test -z $TSS_BUILD_AIK_TRUE || \
 
5489
                                     test -z $TSS_BUILD_TRANSPORT_TRUE; then
 
5490
  TSS_BUILD_SYM_CRYPTO_TRUE=
 
5491
  TSS_BUILD_SYM_CRYPTO_FALSE='#'
 
5492
else
 
5493
  TSS_BUILD_SYM_CRYPTO_TRUE='#'
 
5494
  TSS_BUILD_SYM_CRYPTO_FALSE=
 
5495
fi
 
5496
 
 
5497
 
 
5498
#GETTEXT_PACKAGE=trousers
 
5499
#AC_SUBST(GETTEXT_PACKAGE)
 
5500
#AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
 
5501
 
 
5502
#ALL_LINGUAS=""
 
5503
#AM_GLIB_GNU_GETTEXT
 
5504
 
 
5505
# end Glade section
 
5506
 
 
5507
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
 
5508
if test "x$ac_cv_header_pthread_h" = xyes; then :
 
5509
  
 
5510
$as_echo "@%:@define HAVE_PTHREAD_H 1" >>confdefs.h
 
5511
 
 
5512
fi
 
5513
 
 
5514
 
 
5515
 
 
5516
@%:@ Check whether --enable-static was given.
 
5517
if test "${enable_static+set}" = set; then :
 
5518
  enableval=$enable_static; p=${PACKAGE-default}
 
5519
    case $enableval in
 
5520
    yes) enable_static=yes ;;
 
5521
    no) enable_static=no ;;
 
5522
    *)
 
5523
     enable_static=no
 
5524
      # Look at the argument we got.  We use all the common list separators.
 
5525
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
5526
      for pkg in $enableval; do
 
5527
        IFS="$lt_save_ifs"
 
5528
        if test "X$pkg" = "X$p"; then
 
5529
          enable_static=yes
 
5530
        fi
 
5531
      done
 
5532
      IFS="$lt_save_ifs"
 
5533
      ;;
 
5534
    esac
 
5535
else
 
5536
  enable_static=no
 
5537
fi
 
5538
 
 
5539
 
 
5540
    
 
5541
    
 
5542
    
 
5543
    
 
5544
 
 
5545
 
 
5546
 
 
5547
ac_ext=c
 
5548
ac_cpp='$CPP $CPPFLAGS'
 
5549
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5550
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5551
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5552
if test -n "$ac_tool_prefix"; then
 
5553
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
5554
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
5555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5556
$as_echo_n "checking for $ac_word... " >&6; }
 
5557
if ${ac_cv_prog_CC+:} false; then :
 
5558
  $as_echo_n "(cached) " >&6
 
5559
else
 
5560
  if test -n "$CC"; then
 
5561
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5562
else
 
5563
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5564
for as_dir in $PATH
 
5565
do
 
5566
  IFS=$as_save_IFS
 
5567
  test -z "$as_dir" && as_dir=.
 
5568
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5569
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5570
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
5571
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5572
    break 2
 
5573
  fi
 
5574
done
 
5575
  done
 
5576
IFS=$as_save_IFS
 
5577
 
 
5578
fi
 
5579
fi
 
5580
CC=$ac_cv_prog_CC
 
5581
if test -n "$CC"; then
 
5582
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
5583
$as_echo "$CC" >&6; }
 
5584
else
 
5585
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5586
$as_echo "no" >&6; }
 
5587
fi
 
5588
 
 
5589
 
 
5590
fi
 
5591
if test -z "$ac_cv_prog_CC"; then
 
5592
  ac_ct_CC=$CC
 
5593
  # Extract the first word of "gcc", so it can be a program name with args.
 
5594
set dummy gcc; ac_word=$2
 
5595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5596
$as_echo_n "checking for $ac_word... " >&6; }
 
5597
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
5598
  $as_echo_n "(cached) " >&6
 
5599
else
 
5600
  if test -n "$ac_ct_CC"; then
 
5601
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
5602
else
 
5603
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5604
for as_dir in $PATH
 
5605
do
 
5606
  IFS=$as_save_IFS
 
5607
  test -z "$as_dir" && as_dir=.
 
5608
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5609
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5610
    ac_cv_prog_ac_ct_CC="gcc"
 
5611
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5612
    break 2
 
5613
  fi
 
5614
done
 
5615
  done
 
5616
IFS=$as_save_IFS
 
5617
 
 
5618
fi
 
5619
fi
 
5620
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
5621
if test -n "$ac_ct_CC"; then
 
5622
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
5623
$as_echo "$ac_ct_CC" >&6; }
 
5624
else
 
5625
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5626
$as_echo "no" >&6; }
 
5627
fi
 
5628
 
 
5629
  if test "x$ac_ct_CC" = x; then
 
5630
    CC=""
 
5631
  else
 
5632
    case $cross_compiling:$ac_tool_warned in
 
5633
yes:)
 
5634
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5635
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5636
ac_tool_warned=yes ;;
 
5637
esac
 
5638
    CC=$ac_ct_CC
 
5639
  fi
 
5640
else
 
5641
  CC="$ac_cv_prog_CC"
 
5642
fi
 
5643
 
 
5644
if test -z "$CC"; then
 
5645
          if test -n "$ac_tool_prefix"; then
 
5646
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
5647
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
5648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5649
$as_echo_n "checking for $ac_word... " >&6; }
 
5650
if ${ac_cv_prog_CC+:} false; then :
 
5651
  $as_echo_n "(cached) " >&6
 
5652
else
 
5653
  if test -n "$CC"; then
 
5654
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5655
else
 
5656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5657
for as_dir in $PATH
 
5658
do
 
5659
  IFS=$as_save_IFS
 
5660
  test -z "$as_dir" && as_dir=.
 
5661
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5662
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5663
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
5664
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5665
    break 2
 
5666
  fi
 
5667
done
 
5668
  done
 
5669
IFS=$as_save_IFS
 
5670
 
 
5671
fi
 
5672
fi
 
5673
CC=$ac_cv_prog_CC
 
5674
if test -n "$CC"; then
 
5675
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
5676
$as_echo "$CC" >&6; }
 
5677
else
 
5678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5679
$as_echo "no" >&6; }
 
5680
fi
 
5681
 
 
5682
 
 
5683
  fi
 
5684
fi
 
5685
if test -z "$CC"; then
 
5686
  # Extract the first word of "cc", so it can be a program name with args.
 
5687
set dummy cc; ac_word=$2
 
5688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5689
$as_echo_n "checking for $ac_word... " >&6; }
 
5690
if ${ac_cv_prog_CC+:} false; then :
 
5691
  $as_echo_n "(cached) " >&6
 
5692
else
 
5693
  if test -n "$CC"; then
 
5694
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5695
else
 
5696
  ac_prog_rejected=no
 
5697
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5698
for as_dir in $PATH
 
5699
do
 
5700
  IFS=$as_save_IFS
 
5701
  test -z "$as_dir" && as_dir=.
 
5702
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5703
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5704
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
5705
       ac_prog_rejected=yes
 
5706
       continue
 
5707
     fi
 
5708
    ac_cv_prog_CC="cc"
 
5709
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5710
    break 2
 
5711
  fi
 
5712
done
 
5713
  done
 
5714
IFS=$as_save_IFS
 
5715
 
 
5716
if test $ac_prog_rejected = yes; then
 
5717
  # We found a bogon in the path, so make sure we never use it.
 
5718
  set dummy $ac_cv_prog_CC
 
5719
  shift
 
5720
  if test $@%:@ != 0; then
 
5721
    # We chose a different compiler from the bogus one.
 
5722
    # However, it has the same basename, so the bogon will be chosen
 
5723
    # first if we set CC to just the basename; use the full file name.
 
5724
    shift
 
5725
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
5726
  fi
 
5727
fi
 
5728
fi
 
5729
fi
 
5730
CC=$ac_cv_prog_CC
 
5731
if test -n "$CC"; then
 
5732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
5733
$as_echo "$CC" >&6; }
 
5734
else
 
5735
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5736
$as_echo "no" >&6; }
 
5737
fi
 
5738
 
 
5739
 
 
5740
fi
 
5741
if test -z "$CC"; then
 
5742
  if test -n "$ac_tool_prefix"; then
 
5743
  for ac_prog in cl.exe
 
5744
  do
 
5745
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5746
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5748
$as_echo_n "checking for $ac_word... " >&6; }
 
5749
if ${ac_cv_prog_CC+:} false; then :
 
5750
  $as_echo_n "(cached) " >&6
 
5751
else
 
5752
  if test -n "$CC"; then
 
5753
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5754
else
 
5755
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5756
for as_dir in $PATH
 
5757
do
 
5758
  IFS=$as_save_IFS
 
5759
  test -z "$as_dir" && as_dir=.
 
5760
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5761
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5762
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
5763
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5764
    break 2
 
5765
  fi
 
5766
done
 
5767
  done
 
5768
IFS=$as_save_IFS
 
5769
 
 
5770
fi
 
5771
fi
 
5772
CC=$ac_cv_prog_CC
 
5773
if test -n "$CC"; then
 
5774
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
5775
$as_echo "$CC" >&6; }
 
5776
else
 
5777
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5778
$as_echo "no" >&6; }
 
5779
fi
 
5780
 
 
5781
 
 
5782
    test -n "$CC" && break
 
5783
  done
 
5784
fi
 
5785
if test -z "$CC"; then
 
5786
  ac_ct_CC=$CC
 
5787
  for ac_prog in cl.exe
 
5788
do
 
5789
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5790
set dummy $ac_prog; ac_word=$2
 
5791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5792
$as_echo_n "checking for $ac_word... " >&6; }
 
5793
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
5794
  $as_echo_n "(cached) " >&6
 
5795
else
 
5796
  if test -n "$ac_ct_CC"; then
 
5797
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
5798
else
 
5799
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5800
for as_dir in $PATH
 
5801
do
 
5802
  IFS=$as_save_IFS
 
5803
  test -z "$as_dir" && as_dir=.
 
5804
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5805
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5806
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
5807
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5808
    break 2
 
5809
  fi
 
5810
done
 
5811
  done
 
5812
IFS=$as_save_IFS
 
5813
 
 
5814
fi
 
5815
fi
 
5816
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
5817
if test -n "$ac_ct_CC"; then
 
5818
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
5819
$as_echo "$ac_ct_CC" >&6; }
 
5820
else
 
5821
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5822
$as_echo "no" >&6; }
 
5823
fi
 
5824
 
 
5825
 
 
5826
  test -n "$ac_ct_CC" && break
 
5827
done
 
5828
 
 
5829
  if test "x$ac_ct_CC" = x; then
 
5830
    CC=""
 
5831
  else
 
5832
    case $cross_compiling:$ac_tool_warned in
 
5833
yes:)
 
5834
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5835
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5836
ac_tool_warned=yes ;;
 
5837
esac
 
5838
    CC=$ac_ct_CC
 
5839
  fi
 
5840
fi
 
5841
 
 
5842
fi
 
5843
 
 
5844
 
 
5845
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
5846
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5847
as_fn_error $? "no acceptable C compiler found in \$PATH
 
5848
See \`config.log' for more details" "$LINENO" 5; }
 
5849
 
 
5850
# Provide some information about the compiler.
 
5851
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
5852
set X $ac_compile
 
5853
ac_compiler=$2
 
5854
for ac_option in --version -v -V -qversion; do
 
5855
  { { ac_try="$ac_compiler $ac_option >&5"
 
5856
case "(($ac_try" in
 
5857
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5858
  *) ac_try_echo=$ac_try;;
 
5859
esac
 
5860
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5861
$as_echo "$ac_try_echo"; } >&5
 
5862
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
5863
  ac_status=$?
 
5864
  if test -s conftest.err; then
 
5865
    sed '10a\
 
5866
... rest of stderr output deleted ...
 
5867
         10q' conftest.err >conftest.er1
 
5868
    cat conftest.er1 >&5
 
5869
  fi
 
5870
  rm -f conftest.er1 conftest.err
 
5871
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5872
  test $ac_status = 0; }
 
5873
done
 
5874
 
 
5875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
5876
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
5877
if ${ac_cv_c_compiler_gnu+:} false; then :
 
5878
  $as_echo_n "(cached) " >&6
 
5879
else
 
5880
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5881
/* end confdefs.h.  */
 
5882
 
 
5883
int
 
5884
main ()
 
5885
{
 
5886
#ifndef __GNUC__
 
5887
       choke me
 
5888
#endif
 
5889
 
 
5890
  ;
 
5891
  return 0;
 
5892
}
 
5893
_ACEOF
 
5894
if ac_fn_c_try_compile "$LINENO"; then :
 
5895
  ac_compiler_gnu=yes
 
5896
else
 
5897
  ac_compiler_gnu=no
 
5898
fi
 
5899
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5900
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
5901
 
 
5902
fi
 
5903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
5904
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
5905
if test $ac_compiler_gnu = yes; then
 
5906
  GCC=yes
 
5907
else
 
5908
  GCC=
 
5909
fi
 
5910
ac_test_CFLAGS=${CFLAGS+set}
 
5911
ac_save_CFLAGS=$CFLAGS
 
5912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
5913
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
5914
if ${ac_cv_prog_cc_g+:} false; then :
 
5915
  $as_echo_n "(cached) " >&6
 
5916
else
 
5917
  ac_save_c_werror_flag=$ac_c_werror_flag
 
5918
   ac_c_werror_flag=yes
 
5919
   ac_cv_prog_cc_g=no
 
5920
   CFLAGS="-g"
 
5921
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5922
/* end confdefs.h.  */
 
5923
 
 
5924
int
 
5925
main ()
 
5926
{
 
5927
 
 
5928
  ;
 
5929
  return 0;
 
5930
}
 
5931
_ACEOF
 
5932
if ac_fn_c_try_compile "$LINENO"; then :
 
5933
  ac_cv_prog_cc_g=yes
 
5934
else
 
5935
  CFLAGS=""
 
5936
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5937
/* end confdefs.h.  */
 
5938
 
 
5939
int
 
5940
main ()
 
5941
{
 
5942
 
 
5943
  ;
 
5944
  return 0;
 
5945
}
 
5946
_ACEOF
 
5947
if ac_fn_c_try_compile "$LINENO"; then :
 
5948
  
 
5949
else
 
5950
  ac_c_werror_flag=$ac_save_c_werror_flag
 
5951
         CFLAGS="-g"
 
5952
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5953
/* end confdefs.h.  */
 
5954
 
 
5955
int
 
5956
main ()
 
5957
{
 
5958
 
 
5959
  ;
 
5960
  return 0;
 
5961
}
 
5962
_ACEOF
 
5963
if ac_fn_c_try_compile "$LINENO"; then :
 
5964
  ac_cv_prog_cc_g=yes
 
5965
fi
 
5966
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5967
fi
 
5968
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5969
fi
 
5970
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5971
   ac_c_werror_flag=$ac_save_c_werror_flag
 
5972
fi
 
5973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
5974
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
5975
if test "$ac_test_CFLAGS" = set; then
 
5976
  CFLAGS=$ac_save_CFLAGS
 
5977
elif test $ac_cv_prog_cc_g = yes; then
 
5978
  if test "$GCC" = yes; then
 
5979
    CFLAGS="-g -O2"
 
5980
  else
 
5981
    CFLAGS="-g"
 
5982
  fi
 
5983
else
 
5984
  if test "$GCC" = yes; then
 
5985
    CFLAGS="-O2"
 
5986
  else
 
5987
    CFLAGS=
 
5988
  fi
 
5989
fi
 
5990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
5991
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
5992
if ${ac_cv_prog_cc_c89+:} false; then :
 
5993
  $as_echo_n "(cached) " >&6
 
5994
else
 
5995
  ac_cv_prog_cc_c89=no
 
5996
ac_save_CC=$CC
 
5997
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5998
/* end confdefs.h.  */
 
5999
#include <stdarg.h>
 
6000
#include <stdio.h>
 
6001
#include <sys/types.h>
 
6002
#include <sys/stat.h>
 
6003
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
6004
struct buf { int x; };
 
6005
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
6006
static char *e (p, i)
 
6007
     char **p;
 
6008
     int i;
 
6009
{
 
6010
  return p[i];
 
6011
}
 
6012
static char *f (char * (*g) (char **, int), char **p, ...)
 
6013
{
 
6014
  char *s;
 
6015
  va_list v;
 
6016
  va_start (v,p);
 
6017
  s = g (p, va_arg (v,int));
 
6018
  va_end (v);
 
6019
  return s;
 
6020
}
 
6021
 
 
6022
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
6023
   function prototypes and stuff, but not '\xHH' hex character constants.
 
6024
   These don't provoke an error unfortunately, instead are silently treated
 
6025
   as 'x'.  The following induces an error, until -std is added to get
 
6026
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
6027
   array size at least.  It's necessary to write '\x00'==0 to get something
 
6028
   that's true only with -std.  */
 
6029
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
6030
 
 
6031
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
6032
   inside strings and character constants.  */
 
6033
#define FOO(x) 'x'
 
6034
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
6035
 
 
6036
int test (int i, double x);
 
6037
struct s1 {int (*f) (int a);};
 
6038
struct s2 {int (*f) (double a);};
 
6039
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
6040
int argc;
 
6041
char **argv;
 
6042
int
 
6043
main ()
 
6044
{
 
6045
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
6046
  ;
 
6047
  return 0;
 
6048
}
 
6049
_ACEOF
 
6050
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
6051
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
6052
do
 
6053
  CC="$ac_save_CC $ac_arg"
 
6054
  if ac_fn_c_try_compile "$LINENO"; then :
 
6055
  ac_cv_prog_cc_c89=$ac_arg
 
6056
fi
 
6057
rm -f core conftest.err conftest.$ac_objext
 
6058
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
6059
done
 
6060
rm -f conftest.$ac_ext
 
6061
CC=$ac_save_CC
 
6062
 
 
6063
fi
 
6064
# AC_CACHE_VAL
 
6065
case "x$ac_cv_prog_cc_c89" in
 
6066
  x)
 
6067
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
6068
$as_echo "none needed" >&6; } ;;
 
6069
  xno)
 
6070
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
6071
$as_echo "unsupported" >&6; } ;;
 
6072
  *)
 
6073
    CC="$CC $ac_cv_prog_cc_c89"
 
6074
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
6075
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
6076
esac
 
6077
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
6078
  
 
6079
fi
 
6080
 
 
6081
ac_ext=c
 
6082
ac_cpp='$CPP $CPPFLAGS'
 
6083
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6084
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6085
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6086
 
 
6087
depcc="$CC"   am_compiler_list=
 
6088
 
 
6089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
6090
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
6091
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
6092
  $as_echo_n "(cached) " >&6
 
6093
else
 
6094
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
6095
  # We make a subdir and do the tests there.  Otherwise we can end up
 
6096
  # making bogus files that we don't know about and never remove.  For
 
6097
  # instance it was reported that on HP-UX the gcc test will end up
 
6098
  # making a dummy file named `D' -- because `-MD' means `put the output
 
6099
  # in D'.
 
6100
  mkdir conftest.dir
 
6101
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
6102
  # using a relative directory.
 
6103
  cp "$am_depcomp" conftest.dir
 
6104
  cd conftest.dir
 
6105
  # We will build objects and dependencies in a subdirectory because
 
6106
  # it helps to detect inapplicable dependency modes.  For instance
 
6107
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
6108
  # side effect of compilation, but ICC will put the dependencies in
 
6109
  # the current directory while Tru64 will put them in the object
 
6110
  # directory.
 
6111
  mkdir sub
 
6112
 
 
6113
  am_cv_CC_dependencies_compiler_type=none
 
6114
  if test "$am_compiler_list" = ""; then
 
6115
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
6116
  fi
 
6117
  am__universal=false
 
6118
  case " $depcc " in #(
 
6119
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
6120
     esac
 
6121
 
 
6122
  for depmode in $am_compiler_list; do
 
6123
    # Setup a source with many dependencies, because some compilers
 
6124
    # like to wrap large dependency lists on column 80 (with \), and
 
6125
    # we should not choose a depcomp mode which is confused by this.
 
6126
    #
 
6127
    # We need to recreate these files for each test, as the compiler may
 
6128
    # overwrite some of them when testing with obscure command lines.
 
6129
    # This happens at least with the AIX C compiler.
 
6130
    : > sub/conftest.c
 
6131
    for i in 1 2 3 4 5 6; do
 
6132
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
6133
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6134
      # Solaris 8's {/usr,}/bin/sh.
 
6135
      touch sub/conftst$i.h
 
6136
    done
 
6137
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
6138
 
 
6139
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
6140
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
6141
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
6142
    # versions had trouble with output in subdirs
 
6143
    am__obj=sub/conftest.${OBJEXT-o}
 
6144
    am__minus_obj="-o $am__obj"
 
6145
    case $depmode in
 
6146
    gcc)
 
6147
      # This depmode causes a compiler race in universal mode.
 
6148
      test "$am__universal" = false || continue
 
6149
      ;;
 
6150
    nosideeffect)
 
6151
      # after this tag, mechanisms are not by side-effect, so they'll
 
6152
      # only be used when explicitly requested
 
6153
      if test "x$enable_dependency_tracking" = xyes; then
 
6154
        continue
 
6155
      else
 
6156
        break
 
6157
      fi
 
6158
      ;;
 
6159
    msvisualcpp | msvcmsys)
 
6160
      # This compiler won't grok `-c -o', but also, the minuso test has
 
6161
      # not run yet.  These depmodes are late enough in the game, and
 
6162
      # so weak that their functioning should not be impacted.
 
6163
      am__obj=conftest.${OBJEXT-o}
 
6164
      am__minus_obj=
 
6165
      ;;
 
6166
    none) break ;;
 
6167
    esac
 
6168
    if depmode=$depmode \
 
6169
       source=sub/conftest.c object=$am__obj \
 
6170
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
6171
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
6172
         >/dev/null 2>conftest.err &&
 
6173
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
6174
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
6175
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
6176
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
6177
      # icc doesn't choke on unknown options, it will just issue warnings
 
6178
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6179
      # that says an option was ignored or not supported.
 
6180
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6181
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6182
      # The diagnosis changed in icc 8.0:
 
6183
      #   icc: Command line remark: option '-MP' not supported
 
6184
      if (grep 'ignoring option' conftest.err ||
 
6185
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
6186
        am_cv_CC_dependencies_compiler_type=$depmode
 
6187
        break
 
6188
      fi
 
6189
    fi
 
6190
  done
 
6191
 
 
6192
  cd ..
 
6193
  rm -rf conftest.dir
 
6194
else
 
6195
  am_cv_CC_dependencies_compiler_type=none
 
6196
fi
 
6197
 
 
6198
fi
 
6199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
6200
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
6201
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
6202
 
 
6203
 if 
 
6204
  test "x$enable_dependency_tracking" != xno \
 
6205
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
6206
  am__fastdepCC_TRUE=
 
6207
  am__fastdepCC_FALSE='#'
 
6208
else
 
6209
  am__fastdepCC_TRUE='#'
 
6210
  am__fastdepCC_FALSE=
 
6211
fi
 
6212
 
 
6213
 
 
6214
case `pwd` in
 
6215
  *\ * | *\     *)
 
6216
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
6217
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
6218
esac
 
6219
 
 
6220
 
 
6221
 
 
6222
macro_version='2.4'
 
6223
macro_revision='1.3293'
 
6224
 
 
6225
    
 
6226
    
 
6227
    
 
6228
 
 
6229
 
 
6230
    
 
6231
    
 
6232
    
 
6233
 
 
6234
 
 
6235
 
 
6236
 
 
6237
ltmain="$ac_aux_dir/ltmain.sh"
 
6238
 
 
6239
# Backslashify metacharacters that are still active within
 
6240
# double-quoted strings.
 
6241
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
6242
 
 
6243
# Same as above, but do not quote variable references.
 
6244
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
6245
 
 
6246
# Sed substitution to delay expansion of an escaped shell variable in a
 
6247
# double_quote_subst'ed string.
 
6248
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
6249
 
 
6250
# Sed substitution to delay expansion of an escaped single quote.
 
6251
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
6252
 
 
6253
# Sed substitution to avoid accidental globbing in evaled expressions
 
6254
no_glob_subst='s/\*/\\\*/g'
 
6255
 
 
6256
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
6257
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
6258
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
6259
 
 
6260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
6261
$as_echo_n "checking how to print strings... " >&6; }
 
6262
# Test print first, because it will be a builtin if present.
 
6263
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
6264
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6265
  ECHO='print -r --'
 
6266
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6267
  ECHO='printf %s\n'
 
6268
else
 
6269
  # Use this function as a fallback that always works.
 
6270
  func_fallback_echo ()
 
6271
  {
 
6272
    eval 'cat <<_LTECHO_EOF
 
6273
$1
 
6274
_LTECHO_EOF'
 
6275
  }
 
6276
  ECHO='func_fallback_echo'
 
6277
fi
 
6278
 
 
6279
# func_echo_all arg...
 
6280
# Invoke $ECHO with all args, space-separated.
 
6281
func_echo_all ()
 
6282
{
 
6283
    $ECHO "" 
 
6284
}
 
6285
 
 
6286
case "$ECHO" in
 
6287
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
6288
$as_echo "printf" >&6; } ;;
 
6289
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
6290
$as_echo "print -r" >&6; } ;;
 
6291
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
6292
$as_echo "cat" >&6; } ;;
 
6293
esac
 
6294
 
 
6295
 
 
6296
 
 
6297
 
 
6298
    
 
6299
    
 
6300
    
 
6301
 
 
6302
 
 
6303
    
 
6304
    
 
6305
    
 
6306
 
 
6307
 
 
6308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
6309
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
6310
if ${ac_cv_path_SED+:} false; then :
 
6311
  $as_echo_n "(cached) " >&6
 
6312
else
 
6313
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
6314
     for ac_i in 1 2 3 4 5 6 7; do
 
6315
       ac_script="$ac_script$as_nl$ac_script"
 
6316
     done
 
6317
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
6318
     { ac_script=; unset ac_script;}
 
6319
     if test -z "$SED"; then
 
6320
  ac_path_SED_found=false
 
6321
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6322
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6323
for as_dir in $PATH
 
6324
do
 
6325
  IFS=$as_save_IFS
 
6326
  test -z "$as_dir" && as_dir=.
 
6327
    for ac_prog in sed gsed; do
 
6328
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6329
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
6330
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
6331
# Check for GNU ac_path_SED and select it if it is found.
 
6332
  # Check for GNU $ac_path_SED
 
6333
case `"$ac_path_SED" --version 2>&1` in
 
6334
*GNU*)
 
6335
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
6336
*)
 
6337
  ac_count=0
 
6338
  $as_echo_n 0123456789 >"conftest.in"
 
6339
  while :
 
6340
  do
 
6341
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6342
    mv "conftest.tmp" "conftest.in"
 
6343
    cp "conftest.in" "conftest.nl"
 
6344
    $as_echo '' >> "conftest.nl"
 
6345
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6346
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6347
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6348
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
6349
      # Best one so far, save it but keep looking for a better one
 
6350
      ac_cv_path_SED="$ac_path_SED"
 
6351
      ac_path_SED_max=$ac_count
 
6352
    fi
 
6353
    # 10*(2^10) chars as input seems more than enough
 
6354
    test $ac_count -gt 10 && break
 
6355
  done
 
6356
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6357
esac
 
6358
 
 
6359
      $ac_path_SED_found && break 3
 
6360
    done
 
6361
  done
 
6362
  done
 
6363
IFS=$as_save_IFS
 
6364
  if test -z "$ac_cv_path_SED"; then
 
6365
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
6366
  fi
 
6367
else
 
6368
  ac_cv_path_SED=$SED
 
6369
fi
 
6370
 
 
6371
fi
 
6372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
6373
$as_echo "$ac_cv_path_SED" >&6; }
 
6374
 SED="$ac_cv_path_SED"
 
6375
  rm -f conftest.sed
 
6376
 
 
6377
test -z "$SED" && SED=sed
 
6378
Xsed="$SED -e 1s/^X//"
 
6379
 
 
6380
    
 
6381
    
 
6382
    
 
6383
 
 
6384
 
 
6385
    
 
6386
    
 
6387
    
 
6388
 
 
6389
 
 
6390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
6391
$as_echo_n "checking for fgrep... " >&6; }
 
6392
if ${ac_cv_path_FGREP+:} false; then :
 
6393
  $as_echo_n "(cached) " >&6
 
6394
else
 
6395
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
6396
   then ac_cv_path_FGREP="$GREP -F"
 
6397
   else
 
6398
     if test -z "$FGREP"; then
 
6399
  ac_path_FGREP_found=false
 
6400
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6401
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6402
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6403
do
 
6404
  IFS=$as_save_IFS
 
6405
  test -z "$as_dir" && as_dir=.
 
6406
    for ac_prog in fgrep; do
 
6407
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6408
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6409
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
6410
# Check for GNU ac_path_FGREP and select it if it is found.
 
6411
  # Check for GNU $ac_path_FGREP
 
6412
case `"$ac_path_FGREP" --version 2>&1` in
 
6413
*GNU*)
 
6414
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
6415
*)
 
6416
  ac_count=0
 
6417
  $as_echo_n 0123456789 >"conftest.in"
 
6418
  while :
 
6419
  do
 
6420
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6421
    mv "conftest.tmp" "conftest.in"
 
6422
    cp "conftest.in" "conftest.nl"
 
6423
    $as_echo 'FGREP' >> "conftest.nl"
 
6424
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6425
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6426
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6427
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
6428
      # Best one so far, save it but keep looking for a better one
 
6429
      ac_cv_path_FGREP="$ac_path_FGREP"
 
6430
      ac_path_FGREP_max=$ac_count
 
6431
    fi
 
6432
    # 10*(2^10) chars as input seems more than enough
 
6433
    test $ac_count -gt 10 && break
 
6434
  done
 
6435
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6436
esac
 
6437
 
 
6438
      $ac_path_FGREP_found && break 3
 
6439
    done
 
6440
  done
 
6441
  done
 
6442
IFS=$as_save_IFS
 
6443
  if test -z "$ac_cv_path_FGREP"; then
 
6444
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6445
  fi
 
6446
else
 
6447
  ac_cv_path_FGREP=$FGREP
 
6448
fi
 
6449
 
 
6450
   fi
 
6451
fi
 
6452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
6453
$as_echo "$ac_cv_path_FGREP" >&6; }
 
6454
 FGREP="$ac_cv_path_FGREP"
 
6455
 
 
6456
 
 
6457
test -z "$GREP" && GREP=grep
 
6458
 
 
6459
    
 
6460
    
 
6461
    
 
6462
 
 
6463
 
 
6464
    
 
6465
    
 
6466
    
 
6467
 
 
6468
 
 
6469
    
 
6470
    
 
6471
    
 
6472
 
 
6473
 
 
6474
 
 
6475
 
 
6476
 
 
6477
@%:@ Check whether --with-gnu-ld was given.
 
6478
if test "${with_gnu_ld+set}" = set; then :
 
6479
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
6480
else
 
6481
  with_gnu_ld=no
 
6482
fi
 
6483
 
 
6484
ac_prog=ld
 
6485
if test "$GCC" = yes; then
 
6486
  # Check if gcc -print-prog-name=ld gives a path.
 
6487
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
6488
$as_echo_n "checking for ld used by $CC... " >&6; }
 
6489
  case $host in
 
6490
  *-*-mingw*)
 
6491
    # gcc leaves a trailing carriage return which upsets mingw
 
6492
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
6493
  *)
 
6494
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
6495
  esac
 
6496
  case $ac_prog in
 
6497
    # Accept absolute paths.
 
6498
    [\\/]* | ?:[\\/]*)
 
6499
      re_direlt='/[^/][^/]*/\.\./'
 
6500
      # Canonicalize the pathname of ld
 
6501
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
6502
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
6503
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
6504
      done
 
6505
      test -z "$LD" && LD="$ac_prog"
 
6506
      ;;
 
6507
  "")
 
6508
    # If it fails, then pretend we aren't using GCC.
 
6509
    ac_prog=ld
 
6510
    ;;
 
6511
  *)
 
6512
    # If it is relative, then search for the first ld in PATH.
 
6513
    with_gnu_ld=unknown
 
6514
    ;;
 
6515
  esac
 
6516
elif test "$with_gnu_ld" = yes; then
 
6517
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
6518
$as_echo_n "checking for GNU ld... " >&6; }
 
6519
else
 
6520
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
6521
$as_echo_n "checking for non-GNU ld... " >&6; }
 
6522
fi
 
6523
if ${lt_cv_path_LD+:} false; then :
 
6524
  $as_echo_n "(cached) " >&6
 
6525
else
 
6526
  if test -z "$LD"; then
 
6527
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6528
  for ac_dir in $PATH; do
 
6529
    IFS="$lt_save_ifs"
 
6530
    test -z "$ac_dir" && ac_dir=.
 
6531
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
6532
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
6533
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
6534
      # but apparently some variants of GNU ld only accept -v.
 
6535
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
6536
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
6537
      *GNU* | *'with BFD'*)
 
6538
        test "$with_gnu_ld" != no && break
 
6539
        ;;
 
6540
      *)
 
6541
        test "$with_gnu_ld" != yes && break
 
6542
        ;;
 
6543
      esac
 
6544
    fi
 
6545
  done
 
6546
  IFS="$lt_save_ifs"
 
6547
else
 
6548
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
6549
fi
 
6550
fi
 
6551
 
 
6552
LD="$lt_cv_path_LD"
 
6553
if test -n "$LD"; then
 
6554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
6555
$as_echo "$LD" >&6; }
 
6556
else
 
6557
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6558
$as_echo "no" >&6; }
 
6559
fi
 
6560
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
6561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
6562
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
6563
if ${lt_cv_prog_gnu_ld+:} false; then :
 
6564
  $as_echo_n "(cached) " >&6
 
6565
else
 
6566
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
6567
case `$LD -v 2>&1 </dev/null` in
 
6568
*GNU* | *'with BFD'*)
 
6569
  lt_cv_prog_gnu_ld=yes
 
6570
  ;;
 
6571
*)
 
6572
  lt_cv_prog_gnu_ld=no
 
6573
  ;;
 
6574
esac
 
6575
fi
 
6576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
6577
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
6578
with_gnu_ld=$lt_cv_prog_gnu_ld
 
6579
 
 
6580
 
 
6581
 
 
6582
 
 
6583
    
 
6584
    
 
6585
    
 
6586
 
 
6587
 
 
6588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6589
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
6590
if ${lt_cv_path_NM+:} false; then :
 
6591
  $as_echo_n "(cached) " >&6
 
6592
else
 
6593
  if test -n "$NM"; then
 
6594
  # Let the user override the test.
 
6595
  lt_cv_path_NM="$NM"
 
6596
else
 
6597
  lt_nm_to_check="${ac_tool_prefix}nm"
 
6598
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
6599
    lt_nm_to_check="$lt_nm_to_check nm"
 
6600
  fi
 
6601
  for lt_tmp_nm in $lt_nm_to_check; do
 
6602
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6603
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
6604
      IFS="$lt_save_ifs"
 
6605
      test -z "$ac_dir" && ac_dir=.
 
6606
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
6607
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
6608
        # Check to see if the nm accepts a BSD-compat flag.
 
6609
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
6610
        #   nm: unknown option "B" ignored
 
6611
        # Tru64's nm complains that /dev/null is an invalid object file
 
6612
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
6613
        */dev/null* | *'Invalid file or object type'*)
 
6614
          lt_cv_path_NM="$tmp_nm -B"
 
6615
          break
 
6616
          ;;
 
6617
        *)
 
6618
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
6619
          */dev/null*)
 
6620
            lt_cv_path_NM="$tmp_nm -p"
 
6621
            break
 
6622
            ;;
 
6623
          *)
 
6624
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
6625
            continue # so that we can try to find one that supports BSD flags
 
6626
            ;;
 
6627
          esac
 
6628
          ;;
 
6629
        esac
 
6630
      fi
 
6631
    done
 
6632
    IFS="$lt_save_ifs"
 
6633
  done
 
6634
  : ${lt_cv_path_NM=no}
 
6635
fi
 
6636
fi
 
6637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
6638
$as_echo "$lt_cv_path_NM" >&6; }
 
6639
if test "$lt_cv_path_NM" != "no"; then
 
6640
  NM="$lt_cv_path_NM"
 
6641
else
 
6642
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
6643
  if test -n "$DUMPBIN"; then :
 
6644
    # Let the user override the test.
 
6645
  else
 
6646
    if test -n "$ac_tool_prefix"; then
 
6647
  for ac_prog in dumpbin "link -dump"
 
6648
  do
 
6649
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6650
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6652
$as_echo_n "checking for $ac_word... " >&6; }
 
6653
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
6654
  $as_echo_n "(cached) " >&6
 
6655
else
 
6656
  if test -n "$DUMPBIN"; then
 
6657
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
6658
else
 
6659
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6660
for as_dir in $PATH
 
6661
do
 
6662
  IFS=$as_save_IFS
 
6663
  test -z "$as_dir" && as_dir=.
 
6664
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6665
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6666
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
6667
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6668
    break 2
 
6669
  fi
 
6670
done
 
6671
  done
 
6672
IFS=$as_save_IFS
 
6673
 
 
6674
fi
 
6675
fi
 
6676
DUMPBIN=$ac_cv_prog_DUMPBIN
 
6677
if test -n "$DUMPBIN"; then
 
6678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
6679
$as_echo "$DUMPBIN" >&6; }
 
6680
else
 
6681
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6682
$as_echo "no" >&6; }
 
6683
fi
 
6684
 
 
6685
 
 
6686
    test -n "$DUMPBIN" && break
 
6687
  done
 
6688
fi
 
6689
if test -z "$DUMPBIN"; then
 
6690
  ac_ct_DUMPBIN=$DUMPBIN
 
6691
  for ac_prog in dumpbin "link -dump"
 
6692
do
 
6693
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6694
set dummy $ac_prog; ac_word=$2
 
6695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6696
$as_echo_n "checking for $ac_word... " >&6; }
 
6697
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
6698
  $as_echo_n "(cached) " >&6
 
6699
else
 
6700
  if test -n "$ac_ct_DUMPBIN"; then
 
6701
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
6702
else
 
6703
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6704
for as_dir in $PATH
 
6705
do
 
6706
  IFS=$as_save_IFS
 
6707
  test -z "$as_dir" && as_dir=.
 
6708
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6709
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6710
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
6711
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6712
    break 2
 
6713
  fi
 
6714
done
 
6715
  done
 
6716
IFS=$as_save_IFS
 
6717
 
 
6718
fi
 
6719
fi
 
6720
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
6721
if test -n "$ac_ct_DUMPBIN"; then
 
6722
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
6723
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
6724
else
 
6725
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6726
$as_echo "no" >&6; }
 
6727
fi
 
6728
 
 
6729
 
 
6730
  test -n "$ac_ct_DUMPBIN" && break
 
6731
done
 
6732
 
 
6733
  if test "x$ac_ct_DUMPBIN" = x; then
 
6734
    DUMPBIN=":"
 
6735
  else
 
6736
    case $cross_compiling:$ac_tool_warned in
 
6737
yes:)
 
6738
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6739
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6740
ac_tool_warned=yes ;;
 
6741
esac
 
6742
    DUMPBIN=$ac_ct_DUMPBIN
 
6743
  fi
 
6744
fi
 
6745
 
 
6746
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
6747
    *COFF*)
 
6748
      DUMPBIN="$DUMPBIN -symbols"
 
6749
      ;;
 
6750
    *)
 
6751
      DUMPBIN=:
 
6752
      ;;
 
6753
    esac
 
6754
  fi
 
6755
  
 
6756
  if test "$DUMPBIN" != ":"; then
 
6757
    NM="$DUMPBIN"
 
6758
  fi
 
6759
fi
 
6760
test -z "$NM" && NM=nm
 
6761
 
 
6762
 
 
6763
    
 
6764
    
 
6765
    
 
6766
 
 
6767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
6768
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
6769
if ${lt_cv_nm_interface+:} false; then :
 
6770
  $as_echo_n "(cached) " >&6
 
6771
else
 
6772
  lt_cv_nm_interface="BSD nm"
 
6773
  echo "int some_variable = 0;" > conftest.$ac_ext
 
6774
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
6775
  (eval "$ac_compile" 2>conftest.err)
 
6776
  cat conftest.err >&5
 
6777
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6778
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
6779
  cat conftest.err >&5
 
6780
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
6781
  cat conftest.out >&5
 
6782
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
6783
    lt_cv_nm_interface="MS dumpbin"
 
6784
  fi
 
6785
  rm -f conftest*
 
6786
fi
 
6787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
6788
$as_echo "$lt_cv_nm_interface" >&6; }
 
6789
 
 
6790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
6791
$as_echo_n "checking whether ln -s works... " >&6; }
 
6792
LN_S=$as_ln_s
 
6793
if test "$LN_S" = "ln -s"; then
 
6794
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6795
$as_echo "yes" >&6; }
 
6796
else
 
6797
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
6798
$as_echo "no, using $LN_S" >&6; }
 
6799
fi
 
6800
 
 
6801
# find the maximum length of command line arguments
 
6802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
6803
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
6804
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
6805
  $as_echo_n "(cached) " >&6
 
6806
else
 
6807
    i=0
 
6808
  teststring="ABCD"
 
6809
 
 
6810
  case $build_os in
 
6811
  msdosdjgpp*)
 
6812
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
6813
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
6814
    # during glob expansion).  Even if it were fixed, the result of this
 
6815
    # check would be larger than it should be.
 
6816
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
6817
    ;;
 
6818
 
 
6819
  gnu*)
 
6820
    # Under GNU Hurd, this test is not required because there is
 
6821
    # no limit to the length of command line arguments.
 
6822
    # Libtool will interpret -1 as no limit whatsoever
 
6823
    lt_cv_sys_max_cmd_len=-1;
 
6824
    ;;
 
6825
 
 
6826
  cygwin* | mingw* | cegcc*)
 
6827
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
6828
    # about 5 minutes as the teststring grows exponentially.
 
6829
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
6830
    # you end up with a "frozen" computer, even though with patience
 
6831
    # the test eventually succeeds (with a max line length of 256k).
 
6832
    # Instead, let's just punt: use the minimum linelength reported by
 
6833
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
6834
    lt_cv_sys_max_cmd_len=8192;
 
6835
    ;;
 
6836
 
 
6837
  mint*)
 
6838
    # On MiNT this can take a long time and run out of memory.
 
6839
    lt_cv_sys_max_cmd_len=8192;
 
6840
    ;;
 
6841
 
 
6842
  amigaos*)
 
6843
    # On AmigaOS with pdksh, this test takes hours, literally.
 
6844
    # So we just punt and use a minimum line length of 8192.
 
6845
    lt_cv_sys_max_cmd_len=8192;
 
6846
    ;;
 
6847
 
 
6848
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6849
    # This has been around since 386BSD, at least.  Likely further.
 
6850
    if test -x /sbin/sysctl; then
 
6851
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
6852
    elif test -x /usr/sbin/sysctl; then
 
6853
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
6854
    else
 
6855
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
6856
    fi
 
6857
    # And add a safety zone
 
6858
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6859
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6860
    ;;
 
6861
 
 
6862
  interix*)
 
6863
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
6864
    lt_cv_sys_max_cmd_len=196608
 
6865
    ;;
 
6866
 
 
6867
  osf*)
 
6868
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
6869
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
6870
    # nice to cause kernel panics so lets avoid the loop below.
 
6871
    # First set a reasonable default.
 
6872
    lt_cv_sys_max_cmd_len=16384
 
6873
    #
 
6874
    if test -x /sbin/sysconfig; then
 
6875
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
6876
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
6877
      esac
 
6878
    fi
 
6879
    ;;
 
6880
  sco3.2v5*)
 
6881
    lt_cv_sys_max_cmd_len=102400
 
6882
    ;;
 
6883
  sysv5* | sco5v6* | sysv4.2uw2*)
 
6884
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
6885
    if test -n "$kargmax"; then
 
6886
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
6887
    else
 
6888
      lt_cv_sys_max_cmd_len=32768
 
6889
    fi
 
6890
    ;;
 
6891
  *)
 
6892
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6893
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6894
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6895
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6896
    else
 
6897
      # Make teststring a little bigger before we do anything with it.
 
6898
      # a 1K string should be a reasonable start.
 
6899
      for i in 1 2 3 4 5 6 7 8 ; do
 
6900
        teststring=$teststring$teststring
 
6901
      done
 
6902
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6903
      # If test is not a shell built-in, we'll probably end up computing a
 
6904
      # maximum length that is only half of the actual maximum length, but
 
6905
      # we can't tell.
 
6906
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
6907
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
6908
              test $i != 17 # 1/2 MB should be enough
 
6909
      do
 
6910
        i=`expr $i + 1`
 
6911
        teststring=$teststring$teststring
 
6912
      done
 
6913
      # Only check the string length outside the loop.
 
6914
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
6915
      teststring=
 
6916
      # Add a significant safety factor because C++ compilers can tack on
 
6917
      # massive amounts of additional arguments before passing them to the
 
6918
      # linker.  It appears as though 1/2 is a usable value.
 
6919
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6920
    fi
 
6921
    ;;
 
6922
  esac
 
6923
 
 
6924
fi
 
6925
 
 
6926
if test -n $lt_cv_sys_max_cmd_len ; then
 
6927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
6928
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
6929
else
 
6930
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
6931
$as_echo "none" >&6; }
 
6932
fi
 
6933
max_cmd_len=$lt_cv_sys_max_cmd_len
 
6934
 
 
6935
    
 
6936
    
 
6937
    
 
6938
 
 
6939
 
 
6940
: ${CP="cp -f"}
 
6941
: ${MV="mv -f"}
 
6942
: ${RM="rm -f"}
 
6943
 
 
6944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
6945
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
6946
# Try some XSI features
 
6947
xsi_shell=no
 
6948
( _lt_dummy="a/b/c"
 
6949
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6950
      = c,a/b,b/c, \
 
6951
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6952
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6953
  && xsi_shell=yes
 
6954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
6955
$as_echo "$xsi_shell" >&6; }
 
6956
 
 
6957
 
 
6958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
6959
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
6960
lt_shell_append=no
 
6961
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6962
    >/dev/null 2>&1 \
 
6963
  && lt_shell_append=yes
 
6964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
6965
$as_echo "$lt_shell_append" >&6; }
 
6966
 
 
6967
 
 
6968
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6969
  lt_unset=unset
 
6970
else
 
6971
  lt_unset=false
 
6972
fi
 
6973
 
 
6974
    
 
6975
    
 
6976
    
 
6977
 
 
6978
# test EBCDIC or ASCII
 
6979
case `echo X|tr X '\101'` in
 
6980
 A) # ASCII based system
 
6981
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6982
  lt_SP2NL='tr \040 \012'
 
6983
  lt_NL2SP='tr \015\012 \040\040'
 
6984
  ;;
 
6985
 *) # EBCDIC based system
 
6986
  lt_SP2NL='tr \100 \n'
 
6987
  lt_NL2SP='tr \r\n \100\100'
 
6988
  ;;
 
6989
esac
 
6990
 
 
6991
    
 
6992
    
 
6993
    
 
6994
 
 
6995
    
 
6996
    
 
6997
    
 
6998
 
 
6999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
7000
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
7001
if ${lt_cv_to_host_file_cmd+:} false; then :
 
7002
  $as_echo_n "(cached) " >&6
 
7003
else
 
7004
  case $host in
 
7005
  *-*-mingw* )
 
7006
    case $build in
 
7007
      *-*-mingw* ) # actually msys
 
7008
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
7009
        ;;
 
7010
      *-*-cygwin* )
 
7011
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
7012
        ;;
 
7013
      * ) # otherwise, assume *nix
 
7014
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
7015
        ;;
 
7016
    esac
 
7017
    ;;
 
7018
  *-*-cygwin* )
 
7019
    case $build in
 
7020
      *-*-mingw* ) # actually msys
 
7021
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
7022
        ;;
 
7023
      *-*-cygwin* )
 
7024
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
7025
        ;;
 
7026
      * ) # otherwise, assume *nix
 
7027
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
7028
        ;;
 
7029
    esac
 
7030
    ;;
 
7031
  * ) # unhandled hosts (and "normal" native builds)
 
7032
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
7033
    ;;
 
7034
esac
 
7035
 
 
7036
fi
 
7037
 
 
7038
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
7039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
7040
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
7041
 
 
7042
    
 
7043
    
 
7044
    
 
7045
 
 
7046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
7047
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
7048
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
7049
  $as_echo_n "(cached) " >&6
 
7050
else
 
7051
  #assume ordinary cross tools, or native build.
 
7052
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
7053
case $host in
 
7054
  *-*-mingw* )
 
7055
    case $build in
 
7056
      *-*-mingw* ) # actually msys
 
7057
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
7058
        ;;
 
7059
    esac
 
7060
    ;;
 
7061
esac
 
7062
 
 
7063
fi
 
7064
 
 
7065
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
7066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
7067
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
7068
 
 
7069
    
 
7070
    
 
7071
    
 
7072
 
 
7073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
7074
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
7075
if ${lt_cv_ld_reload_flag+:} false; then :
 
7076
  $as_echo_n "(cached) " >&6
 
7077
else
 
7078
  lt_cv_ld_reload_flag='-r'
 
7079
fi
 
7080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
7081
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
7082
reload_flag=$lt_cv_ld_reload_flag
 
7083
case $reload_flag in
 
7084
"" | " "*) ;;
 
7085
*) reload_flag=" $reload_flag" ;;
 
7086
esac
 
7087
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7088
case $host_os in
 
7089
  cygwin* | mingw* | pw32* | cegcc*)
 
7090
    if test "$GCC" != yes; then
 
7091
      reload_cmds=false
 
7092
    fi
 
7093
    ;;
 
7094
  darwin*)
 
7095
    if test "$GCC" = yes; then
 
7096
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
7097
    else
 
7098
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7099
    fi
 
7100
    ;;
 
7101
esac
 
7102
 
 
7103
    
 
7104
    
 
7105
    
 
7106
 
 
7107
    
 
7108
    
 
7109
    
 
7110
 
 
7111
if test -n "$ac_tool_prefix"; then
 
7112
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
7113
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
7114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7115
$as_echo_n "checking for $ac_word... " >&6; }
 
7116
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
7117
  $as_echo_n "(cached) " >&6
 
7118
else
 
7119
  if test -n "$OBJDUMP"; then
 
7120
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
7121
else
 
7122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7123
for as_dir in $PATH
 
7124
do
 
7125
  IFS=$as_save_IFS
 
7126
  test -z "$as_dir" && as_dir=.
 
7127
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7128
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7129
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
7130
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7131
    break 2
 
7132
  fi
 
7133
done
 
7134
  done
 
7135
IFS=$as_save_IFS
 
7136
 
 
7137
fi
 
7138
fi
 
7139
OBJDUMP=$ac_cv_prog_OBJDUMP
 
7140
if test -n "$OBJDUMP"; then
 
7141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
7142
$as_echo "$OBJDUMP" >&6; }
 
7143
else
 
7144
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7145
$as_echo "no" >&6; }
 
7146
fi
 
7147
 
 
7148
 
 
7149
fi
 
7150
if test -z "$ac_cv_prog_OBJDUMP"; then
 
7151
  ac_ct_OBJDUMP=$OBJDUMP
 
7152
  # Extract the first word of "objdump", so it can be a program name with args.
 
7153
set dummy objdump; ac_word=$2
 
7154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7155
$as_echo_n "checking for $ac_word... " >&6; }
 
7156
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
7157
  $as_echo_n "(cached) " >&6
 
7158
else
 
7159
  if test -n "$ac_ct_OBJDUMP"; then
 
7160
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
7161
else
 
7162
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7163
for as_dir in $PATH
 
7164
do
 
7165
  IFS=$as_save_IFS
 
7166
  test -z "$as_dir" && as_dir=.
 
7167
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7168
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7169
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
7170
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7171
    break 2
 
7172
  fi
 
7173
done
 
7174
  done
 
7175
IFS=$as_save_IFS
 
7176
 
 
7177
fi
 
7178
fi
 
7179
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
7180
if test -n "$ac_ct_OBJDUMP"; then
 
7181
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
7182
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
7183
else
 
7184
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7185
$as_echo "no" >&6; }
 
7186
fi
 
7187
 
 
7188
  if test "x$ac_ct_OBJDUMP" = x; then
 
7189
    OBJDUMP="false"
 
7190
  else
 
7191
    case $cross_compiling:$ac_tool_warned in
 
7192
yes:)
 
7193
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7194
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7195
ac_tool_warned=yes ;;
 
7196
esac
 
7197
    OBJDUMP=$ac_ct_OBJDUMP
 
7198
  fi
 
7199
else
 
7200
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
7201
fi
 
7202
 
 
7203
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7204
 
 
7205
    
 
7206
    
 
7207
    
 
7208
 
 
7209
 
 
7210
 
 
7211
 
 
7212
 
 
7213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
7214
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
7215
if ${lt_cv_deplibs_check_method+:} false; then :
 
7216
  $as_echo_n "(cached) " >&6
 
7217
else
 
7218
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
7219
lt_cv_file_magic_test_file=
 
7220
lt_cv_deplibs_check_method='unknown'
 
7221
# Need to set the preceding variable on all platforms that support
 
7222
# interlibrary dependencies.
 
7223
# 'none' -- dependencies not supported.
 
7224
# `unknown' -- same as none, but documents that we really don't know.
 
7225
# 'pass_all' -- all dependencies passed with no checks.
 
7226
# 'test_compile' -- check by making test program.
 
7227
# 'file_magic [[regex]]' -- check by looking for files in library path
 
7228
# which responds to the $file_magic_cmd with a given extended regex.
 
7229
# If you have `file' or equivalent on your system and you're not sure
 
7230
# whether `pass_all' will *always* work, you probably want this one.
 
7231
 
 
7232
case $host_os in
 
7233
aix[4-9]*)
 
7234
  lt_cv_deplibs_check_method=pass_all
 
7235
  ;;
 
7236
 
 
7237
beos*)
 
7238
  lt_cv_deplibs_check_method=pass_all
 
7239
  ;;
 
7240
 
 
7241
bsdi[45]*)
 
7242
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
7243
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
7244
  lt_cv_file_magic_test_file=/shlib/libc.so
 
7245
  ;;
 
7246
 
 
7247
cygwin*)
 
7248
  # func_win32_libid is a shell function defined in ltmain.sh
 
7249
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7250
  lt_cv_file_magic_cmd='func_win32_libid'
 
7251
  ;;
 
7252
 
 
7253
mingw* | pw32*)
 
7254
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
7255
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
7256
  # unless we find 'file', for example because we are cross-compiling.
 
7257
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
7258
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
7259
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7260
    lt_cv_file_magic_cmd='func_win32_libid'
 
7261
  else
 
7262
    # Keep this pattern in sync with the one in func_win32_libid.
 
7263
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
7264
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7265
  fi
 
7266
  ;;
 
7267
 
 
7268
cegcc*)
 
7269
  # use the weaker test based on 'objdump'. See mingw*.
 
7270
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
7271
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7272
  ;;
 
7273
 
 
7274
darwin* | rhapsody*)
 
7275
  lt_cv_deplibs_check_method=pass_all
 
7276
  ;;
 
7277
 
 
7278
freebsd* | dragonfly*)
 
7279
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7280
    case $host_cpu in
 
7281
    i*86 )
 
7282
      # Not sure whether the presence of OpenBSD here was a mistake.
 
7283
      # Let's accept both of them until this is cleared up.
 
7284
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
7285
      lt_cv_file_magic_cmd=/usr/bin/file
 
7286
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
7287
      ;;
 
7288
    esac
 
7289
  else
 
7290
    lt_cv_deplibs_check_method=pass_all
 
7291
  fi
 
7292
  ;;
 
7293
 
 
7294
gnu*)
 
7295
  lt_cv_deplibs_check_method=pass_all
 
7296
  ;;
 
7297
 
 
7298
haiku*)
 
7299
  lt_cv_deplibs_check_method=pass_all
 
7300
  ;;
 
7301
 
 
7302
hpux10.20* | hpux11*)
 
7303
  lt_cv_file_magic_cmd=/usr/bin/file
 
7304
  case $host_cpu in
 
7305
  ia64*)
 
7306
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
7307
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
7308
    ;;
 
7309
  hppa*64*)
 
7310
    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]'
 
7311
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
7312
    ;;
 
7313
  *)
 
7314
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
7315
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
7316
    ;;
 
7317
  esac
 
7318
  ;;
 
7319
 
 
7320
interix[3-9]*)
 
7321
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
7322
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
7323
  ;;
 
7324
 
 
7325
irix5* | irix6* | nonstopux*)
 
7326
  case $LD in
 
7327
  *-32|*"-32 ") libmagic=32-bit;;
 
7328
  *-n32|*"-n32 ") libmagic=N32;;
 
7329
  *-64|*"-64 ") libmagic=64-bit;;
 
7330
  *) libmagic=never-match;;
 
7331
  esac
 
7332
  lt_cv_deplibs_check_method=pass_all
 
7333
  ;;
 
7334
 
 
7335
# This must be Linux ELF.
 
7336
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
7337
  lt_cv_deplibs_check_method=pass_all
 
7338
  ;;
 
7339
 
 
7340
netbsd* | netbsdelf*-gnu)
 
7341
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7342
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7343
  else
 
7344
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
7345
  fi
 
7346
  ;;
 
7347
 
 
7348
newos6*)
 
7349
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
7350
  lt_cv_file_magic_cmd=/usr/bin/file
 
7351
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
7352
  ;;
 
7353
 
 
7354
*nto* | *qnx*)
 
7355
  lt_cv_deplibs_check_method=pass_all
 
7356
  ;;
 
7357
 
 
7358
openbsd*)
 
7359
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
7360
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
7361
  else
 
7362
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7363
  fi
 
7364
  ;;
 
7365
 
 
7366
osf3* | osf4* | osf5*)
 
7367
  lt_cv_deplibs_check_method=pass_all
 
7368
  ;;
 
7369
 
 
7370
rdos*)
 
7371
  lt_cv_deplibs_check_method=pass_all
 
7372
  ;;
 
7373
 
 
7374
solaris*)
 
7375
  lt_cv_deplibs_check_method=pass_all
 
7376
  ;;
 
7377
 
 
7378
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
7379
  lt_cv_deplibs_check_method=pass_all
 
7380
  ;;
 
7381
 
 
7382
sysv4 | sysv4.3*)
 
7383
  case $host_vendor in
 
7384
  motorola)
 
7385
    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]'
 
7386
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
7387
    ;;
 
7388
  ncr)
 
7389
    lt_cv_deplibs_check_method=pass_all
 
7390
    ;;
 
7391
  sequent)
 
7392
    lt_cv_file_magic_cmd='/bin/file'
 
7393
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
7394
    ;;
 
7395
  sni)
 
7396
    lt_cv_file_magic_cmd='/bin/file'
 
7397
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
7398
    lt_cv_file_magic_test_file=/lib/libc.so
 
7399
    ;;
 
7400
  siemens)
 
7401
    lt_cv_deplibs_check_method=pass_all
 
7402
    ;;
 
7403
  pc)
 
7404
    lt_cv_deplibs_check_method=pass_all
 
7405
    ;;
 
7406
  esac
 
7407
  ;;
 
7408
 
 
7409
tpf*)
 
7410
  lt_cv_deplibs_check_method=pass_all
 
7411
  ;;
 
7412
esac
 
7413
 
 
7414
fi
 
7415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
7416
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
7417
 
 
7418
file_magic_glob=
 
7419
want_nocaseglob=no
 
7420
if test "$build" = "$host"; then
 
7421
  case $host_os in
 
7422
  mingw* | pw32*)
 
7423
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
7424
      want_nocaseglob=yes
 
7425
    else
 
7426
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
7427
    fi
 
7428
    ;;
 
7429
  esac
 
7430
fi
 
7431
 
 
7432
file_magic_cmd=$lt_cv_file_magic_cmd
 
7433
deplibs_check_method=$lt_cv_deplibs_check_method
 
7434
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
7435
 
 
7436
 
 
7437
    
 
7438
    
 
7439
    
 
7440
 
 
7441
 
 
7442
    
 
7443
    
 
7444
    
 
7445
 
 
7446
 
 
7447
    
 
7448
    
 
7449
    
 
7450
 
 
7451
 
 
7452
    
 
7453
    
 
7454
    
 
7455
 
 
7456
 
 
7457
if test -n "$ac_tool_prefix"; then
 
7458
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
7459
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
7460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7461
$as_echo_n "checking for $ac_word... " >&6; }
 
7462
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
7463
  $as_echo_n "(cached) " >&6
 
7464
else
 
7465
  if test -n "$DLLTOOL"; then
 
7466
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
7467
else
 
7468
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7469
for as_dir in $PATH
 
7470
do
 
7471
  IFS=$as_save_IFS
 
7472
  test -z "$as_dir" && as_dir=.
 
7473
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7474
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7475
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
7476
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7477
    break 2
 
7478
  fi
 
7479
done
 
7480
  done
 
7481
IFS=$as_save_IFS
 
7482
 
 
7483
fi
 
7484
fi
 
7485
DLLTOOL=$ac_cv_prog_DLLTOOL
 
7486
if test -n "$DLLTOOL"; then
 
7487
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7488
$as_echo "$DLLTOOL" >&6; }
 
7489
else
 
7490
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7491
$as_echo "no" >&6; }
 
7492
fi
 
7493
 
 
7494
 
 
7495
fi
 
7496
if test -z "$ac_cv_prog_DLLTOOL"; then
 
7497
  ac_ct_DLLTOOL=$DLLTOOL
 
7498
  # Extract the first word of "dlltool", so it can be a program name with args.
 
7499
set dummy dlltool; ac_word=$2
 
7500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7501
$as_echo_n "checking for $ac_word... " >&6; }
 
7502
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
7503
  $as_echo_n "(cached) " >&6
 
7504
else
 
7505
  if test -n "$ac_ct_DLLTOOL"; then
 
7506
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
7507
else
 
7508
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7509
for as_dir in $PATH
 
7510
do
 
7511
  IFS=$as_save_IFS
 
7512
  test -z "$as_dir" && as_dir=.
 
7513
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7514
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7515
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
7516
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7517
    break 2
 
7518
  fi
 
7519
done
 
7520
  done
 
7521
IFS=$as_save_IFS
 
7522
 
 
7523
fi
 
7524
fi
 
7525
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
7526
if test -n "$ac_ct_DLLTOOL"; then
 
7527
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
7528
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
7529
else
 
7530
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7531
$as_echo "no" >&6; }
 
7532
fi
 
7533
 
 
7534
  if test "x$ac_ct_DLLTOOL" = x; then
 
7535
    DLLTOOL="false"
 
7536
  else
 
7537
    case $cross_compiling:$ac_tool_warned in
 
7538
yes:)
 
7539
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7540
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7541
ac_tool_warned=yes ;;
 
7542
esac
 
7543
    DLLTOOL=$ac_ct_DLLTOOL
 
7544
  fi
 
7545
else
 
7546
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
7547
fi
 
7548
 
 
7549
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
7550
 
 
7551
    
 
7552
    
 
7553
    
 
7554
 
 
7555
 
 
7556
 
 
7557
 
 
7558
 
 
7559
 
 
7560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
7561
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
7562
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
7563
  $as_echo_n "(cached) " >&6
 
7564
else
 
7565
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
7566
 
 
7567
case $host_os in
 
7568
cygwin* | mingw* | pw32* | cegcc*)
 
7569
  # two different shell functions defined in ltmain.sh
 
7570
  # decide which to use based on capabilities of $DLLTOOL
 
7571
  case `$DLLTOOL --help 2>&1` in
 
7572
  *--identify-strict*)
 
7573
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
7574
    ;;
 
7575
  *)
 
7576
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
7577
    ;;
 
7578
  esac
 
7579
  ;;
 
7580
*)
 
7581
  # fallback: assume linklib IS sharedlib
 
7582
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
7583
  ;;
 
7584
esac
 
7585
 
 
7586
fi
 
7587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
7588
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
7589
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
7590
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
7591
 
 
7592
 
 
7593
    
 
7594
    
 
7595
    
 
7596
 
 
7597
 
 
7598
if test -n "$ac_tool_prefix"; then
 
7599
  for ac_prog in ar
 
7600
  do
 
7601
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7602
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7604
$as_echo_n "checking for $ac_word... " >&6; }
 
7605
if ${ac_cv_prog_AR+:} false; then :
 
7606
  $as_echo_n "(cached) " >&6
 
7607
else
 
7608
  if test -n "$AR"; then
 
7609
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
7610
else
 
7611
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7612
for as_dir in $PATH
 
7613
do
 
7614
  IFS=$as_save_IFS
 
7615
  test -z "$as_dir" && as_dir=.
 
7616
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7617
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7618
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
7619
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7620
    break 2
 
7621
  fi
 
7622
done
 
7623
  done
 
7624
IFS=$as_save_IFS
 
7625
 
 
7626
fi
 
7627
fi
 
7628
AR=$ac_cv_prog_AR
 
7629
if test -n "$AR"; then
 
7630
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
7631
$as_echo "$AR" >&6; }
 
7632
else
 
7633
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7634
$as_echo "no" >&6; }
 
7635
fi
 
7636
 
 
7637
 
 
7638
    test -n "$AR" && break
 
7639
  done
 
7640
fi
 
7641
if test -z "$AR"; then
 
7642
  ac_ct_AR=$AR
 
7643
  for ac_prog in ar
 
7644
do
 
7645
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7646
set dummy $ac_prog; ac_word=$2
 
7647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7648
$as_echo_n "checking for $ac_word... " >&6; }
 
7649
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
7650
  $as_echo_n "(cached) " >&6
 
7651
else
 
7652
  if test -n "$ac_ct_AR"; then
 
7653
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
7654
else
 
7655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7656
for as_dir in $PATH
 
7657
do
 
7658
  IFS=$as_save_IFS
 
7659
  test -z "$as_dir" && as_dir=.
 
7660
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7661
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7662
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
7663
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7664
    break 2
 
7665
  fi
 
7666
done
 
7667
  done
 
7668
IFS=$as_save_IFS
 
7669
 
 
7670
fi
 
7671
fi
 
7672
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
7673
if test -n "$ac_ct_AR"; then
 
7674
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
7675
$as_echo "$ac_ct_AR" >&6; }
 
7676
else
 
7677
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7678
$as_echo "no" >&6; }
 
7679
fi
 
7680
 
 
7681
 
 
7682
  test -n "$ac_ct_AR" && break
 
7683
done
 
7684
 
 
7685
  if test "x$ac_ct_AR" = x; then
 
7686
    AR="false"
 
7687
  else
 
7688
    case $cross_compiling:$ac_tool_warned in
 
7689
yes:)
 
7690
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7691
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7692
ac_tool_warned=yes ;;
 
7693
esac
 
7694
    AR=$ac_ct_AR
 
7695
  fi
 
7696
fi
 
7697
 
 
7698
: ${AR=ar}
 
7699
: ${AR_FLAGS=cru}
 
7700
 
 
7701
    
 
7702
    
 
7703
    
 
7704
 
 
7705
 
 
7706
    
 
7707
    
 
7708
    
 
7709
 
 
7710
 
 
7711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
7712
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
7713
if ${lt_cv_ar_at_file+:} false; then :
 
7714
  $as_echo_n "(cached) " >&6
 
7715
else
 
7716
  lt_cv_ar_at_file=no
 
7717
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7718
/* end confdefs.h.  */
 
7719
 
 
7720
int
 
7721
main ()
 
7722
{
 
7723
 
 
7724
  ;
 
7725
  return 0;
 
7726
}
 
7727
_ACEOF
 
7728
if ac_fn_c_try_compile "$LINENO"; then :
 
7729
  echo conftest.$ac_objext > conftest.lst
 
7730
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
7731
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7732
  (eval $lt_ar_try) 2>&5
 
7733
  ac_status=$?
 
7734
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7735
  test $ac_status = 0; }
 
7736
      if test "$ac_status" -eq 0; then
 
7737
        # Ensure the archiver fails upon bogus file names.
 
7738
        rm -f conftest.$ac_objext libconftest.a
 
7739
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7740
  (eval $lt_ar_try) 2>&5
 
7741
  ac_status=$?
 
7742
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7743
  test $ac_status = 0; }
 
7744
        if test "$ac_status" -ne 0; then
 
7745
          lt_cv_ar_at_file=@
 
7746
        fi
 
7747
      fi
 
7748
      rm -f conftest.* libconftest.a
 
7749
     
 
7750
fi
 
7751
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7752
  
 
7753
fi
 
7754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
7755
$as_echo "$lt_cv_ar_at_file" >&6; }
 
7756
 
 
7757
if test "x$lt_cv_ar_at_file" = xno; then
 
7758
  archiver_list_spec=
 
7759
else
 
7760
  archiver_list_spec=$lt_cv_ar_at_file
 
7761
fi
 
7762
 
 
7763
    
 
7764
    
 
7765
    
 
7766
 
 
7767
 
 
7768
 
 
7769
if test -n "$ac_tool_prefix"; then
 
7770
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
7771
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
7772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7773
$as_echo_n "checking for $ac_word... " >&6; }
 
7774
if ${ac_cv_prog_STRIP+:} false; then :
 
7775
  $as_echo_n "(cached) " >&6
 
7776
else
 
7777
  if test -n "$STRIP"; then
 
7778
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
7779
else
 
7780
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7781
for as_dir in $PATH
 
7782
do
 
7783
  IFS=$as_save_IFS
 
7784
  test -z "$as_dir" && as_dir=.
 
7785
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7786
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7787
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
7788
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7789
    break 2
 
7790
  fi
 
7791
done
 
7792
  done
 
7793
IFS=$as_save_IFS
 
7794
 
 
7795
fi
 
7796
fi
 
7797
STRIP=$ac_cv_prog_STRIP
 
7798
if test -n "$STRIP"; then
 
7799
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
7800
$as_echo "$STRIP" >&6; }
 
7801
else
 
7802
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7803
$as_echo "no" >&6; }
 
7804
fi
 
7805
 
 
7806
 
 
7807
fi
 
7808
if test -z "$ac_cv_prog_STRIP"; then
 
7809
  ac_ct_STRIP=$STRIP
 
7810
  # Extract the first word of "strip", so it can be a program name with args.
 
7811
set dummy strip; ac_word=$2
 
7812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7813
$as_echo_n "checking for $ac_word... " >&6; }
 
7814
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
7815
  $as_echo_n "(cached) " >&6
 
7816
else
 
7817
  if test -n "$ac_ct_STRIP"; then
 
7818
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
7819
else
 
7820
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7821
for as_dir in $PATH
 
7822
do
 
7823
  IFS=$as_save_IFS
 
7824
  test -z "$as_dir" && as_dir=.
 
7825
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7826
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7827
    ac_cv_prog_ac_ct_STRIP="strip"
 
7828
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7829
    break 2
 
7830
  fi
 
7831
done
 
7832
  done
 
7833
IFS=$as_save_IFS
 
7834
 
 
7835
fi
 
7836
fi
 
7837
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
7838
if test -n "$ac_ct_STRIP"; then
 
7839
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
7840
$as_echo "$ac_ct_STRIP" >&6; }
 
7841
else
 
7842
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7843
$as_echo "no" >&6; }
 
7844
fi
 
7845
 
 
7846
  if test "x$ac_ct_STRIP" = x; then
 
7847
    STRIP=":"
 
7848
  else
 
7849
    case $cross_compiling:$ac_tool_warned in
 
7850
yes:)
 
7851
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7852
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7853
ac_tool_warned=yes ;;
 
7854
esac
 
7855
    STRIP=$ac_ct_STRIP
 
7856
  fi
 
7857
else
 
7858
  STRIP="$ac_cv_prog_STRIP"
 
7859
fi
 
7860
 
 
7861
test -z "$STRIP" && STRIP=:
 
7862
 
 
7863
    
 
7864
    
 
7865
    
 
7866
 
 
7867
 
 
7868
if test -n "$ac_tool_prefix"; then
 
7869
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
7870
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
7871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7872
$as_echo_n "checking for $ac_word... " >&6; }
 
7873
if ${ac_cv_prog_RANLIB+:} false; then :
 
7874
  $as_echo_n "(cached) " >&6
 
7875
else
 
7876
  if test -n "$RANLIB"; then
 
7877
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
7878
else
 
7879
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7880
for as_dir in $PATH
 
7881
do
 
7882
  IFS=$as_save_IFS
 
7883
  test -z "$as_dir" && as_dir=.
 
7884
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7885
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7886
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
7887
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7888
    break 2
 
7889
  fi
 
7890
done
 
7891
  done
 
7892
IFS=$as_save_IFS
 
7893
 
 
7894
fi
 
7895
fi
 
7896
RANLIB=$ac_cv_prog_RANLIB
 
7897
if test -n "$RANLIB"; then
 
7898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
7899
$as_echo "$RANLIB" >&6; }
 
7900
else
 
7901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7902
$as_echo "no" >&6; }
 
7903
fi
 
7904
 
 
7905
 
 
7906
fi
 
7907
if test -z "$ac_cv_prog_RANLIB"; then
 
7908
  ac_ct_RANLIB=$RANLIB
 
7909
  # Extract the first word of "ranlib", so it can be a program name with args.
 
7910
set dummy ranlib; ac_word=$2
 
7911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7912
$as_echo_n "checking for $ac_word... " >&6; }
 
7913
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
7914
  $as_echo_n "(cached) " >&6
 
7915
else
 
7916
  if test -n "$ac_ct_RANLIB"; then
 
7917
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
7918
else
 
7919
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7920
for as_dir in $PATH
 
7921
do
 
7922
  IFS=$as_save_IFS
 
7923
  test -z "$as_dir" && as_dir=.
 
7924
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7925
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7926
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
7927
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7928
    break 2
 
7929
  fi
 
7930
done
 
7931
  done
 
7932
IFS=$as_save_IFS
 
7933
 
 
7934
fi
 
7935
fi
 
7936
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
7937
if test -n "$ac_ct_RANLIB"; then
 
7938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
7939
$as_echo "$ac_ct_RANLIB" >&6; }
 
7940
else
 
7941
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7942
$as_echo "no" >&6; }
 
7943
fi
 
7944
 
 
7945
  if test "x$ac_ct_RANLIB" = x; then
 
7946
    RANLIB=":"
 
7947
  else
 
7948
    case $cross_compiling:$ac_tool_warned in
 
7949
yes:)
 
7950
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7951
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7952
ac_tool_warned=yes ;;
 
7953
esac
 
7954
    RANLIB=$ac_ct_RANLIB
 
7955
  fi
 
7956
else
 
7957
  RANLIB="$ac_cv_prog_RANLIB"
 
7958
fi
 
7959
 
 
7960
test -z "$RANLIB" && RANLIB=:
 
7961
 
 
7962
    
 
7963
    
 
7964
    
 
7965
 
 
7966
 
 
7967
# Determine commands to create old-style static archives.
 
7968
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
7969
old_postinstall_cmds='chmod 644 $oldlib'
 
7970
old_postuninstall_cmds=
 
7971
 
 
7972
if test -n "$RANLIB"; then
 
7973
  case $host_os in
 
7974
  openbsd*)
 
7975
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
7976
    ;;
 
7977
  *)
 
7978
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
7979
    ;;
 
7980
  esac
 
7981
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
7982
fi
 
7983
 
 
7984
case $host_os in
 
7985
  darwin*)
 
7986
    lock_old_archive_extraction=yes ;;
 
7987
  *)
 
7988
    lock_old_archive_extraction=no ;;
 
7989
esac
 
7990
 
 
7991
    
 
7992
    
 
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
# If no C compiler was specified, use CC.
 
8030
LTCC=${LTCC-"$CC"}
 
8031
 
 
8032
# If no C compiler flags were specified, use CFLAGS.
 
8033
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8034
 
 
8035
# Allow CC to be a program name with arguments.
 
8036
compiler=$CC
 
8037
 
 
8038
 
 
8039
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
8040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
8041
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
8042
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
8043
  $as_echo_n "(cached) " >&6
 
8044
else
 
8045
  
 
8046
# These are sane defaults that work on at least a few old systems.
 
8047
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
8048
 
 
8049
# Character class describing NM global symbol codes.
 
8050
symcode='[BCDEGRST]'
 
8051
 
 
8052
# Regexp to match symbols that can be accessed directly from C.
 
8053
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
8054
 
 
8055
# Define system-specific variables.
 
8056
case $host_os in
 
8057
aix*)
 
8058
  symcode='[BCDT]'
 
8059
  ;;
 
8060
cygwin* | mingw* | pw32* | cegcc*)
 
8061
  symcode='[ABCDGISTW]'
 
8062
  ;;
 
8063
hpux*)
 
8064
  if test "$host_cpu" = ia64; then
 
8065
    symcode='[ABCDEGRST]'
 
8066
  fi
 
8067
  ;;
 
8068
irix* | nonstopux*)
 
8069
  symcode='[BCDEGRST]'
 
8070
  ;;
 
8071
osf*)
 
8072
  symcode='[BCDEGQRST]'
 
8073
  ;;
 
8074
solaris*)
 
8075
  symcode='[BDRT]'
 
8076
  ;;
 
8077
sco3.2v5*)
 
8078
  symcode='[DT]'
 
8079
  ;;
 
8080
sysv4.2uw2*)
 
8081
  symcode='[DT]'
 
8082
  ;;
 
8083
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
8084
  symcode='[ABDT]'
 
8085
  ;;
 
8086
sysv4)
 
8087
  symcode='[DFNSTU]'
 
8088
  ;;
 
8089
esac
 
8090
 
 
8091
# If we're using GNU nm, then use its standard symbol codes.
 
8092
case `$NM -V 2>&1` in
 
8093
*GNU* | *'with BFD'*)
 
8094
  symcode='[ABCDGIRSTW]' ;;
 
8095
esac
 
8096
 
 
8097
# Transform an extracted symbol line into a proper C declaration.
 
8098
# Some systems (esp. on ia64) link data and code symbols differently,
 
8099
# so use this general approach.
 
8100
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
8101
 
 
8102
# Transform an extracted symbol line into symbol name and symbol address
 
8103
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
8104
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'"
 
8105
 
 
8106
# Handle CRLF in mingw tool chain
 
8107
opt_cr=
 
8108
case $build_os in
 
8109
mingw*)
 
8110
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
8111
  ;;
 
8112
esac
 
8113
 
 
8114
# Try without a prefix underscore, then with it.
 
8115
for ac_symprfx in "" "_"; do
 
8116
 
 
8117
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
8118
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
8119
 
 
8120
  # Write the raw and C identifiers.
 
8121
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8122
    # Fake it for dumpbin and say T for any non-static function
 
8123
    # and D for any global variable.
 
8124
    # Also find C++ and __fastcall symbols from MSVC++,
 
8125
    # which start with @ or ?.
 
8126
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
8127
"     {last_section=section; section=\$ 3};"\
 
8128
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
8129
"     \$ 0!~/External *\|/{next};"\
 
8130
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
8131
"     {if(hide[section]) next};"\
 
8132
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
8133
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
8134
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
8135
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
8136
"     ' prfx=^$ac_symprfx"
 
8137
  else
 
8138
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
8139
  fi
 
8140
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
8141
 
 
8142
  # Check to see that the pipe works correctly.
 
8143
  pipe_works=no
 
8144
 
 
8145
  rm -f conftest*
 
8146
  cat > conftest.$ac_ext <<_LT_EOF
 
8147
#ifdef __cplusplus
 
8148
extern "C" {
 
8149
#endif
 
8150
char nm_test_var;
 
8151
void nm_test_func(void);
 
8152
void nm_test_func(void){}
 
8153
#ifdef __cplusplus
 
8154
}
 
8155
#endif
 
8156
int main(){nm_test_var='a';nm_test_func();return(0);}
 
8157
_LT_EOF
 
8158
 
 
8159
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8160
  (eval $ac_compile) 2>&5
 
8161
  ac_status=$?
 
8162
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8163
  test $ac_status = 0; }; then
 
8164
    # Now try to grab the symbols.
 
8165
    nlist=conftest.nm
 
8166
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
8167
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
8168
  ac_status=$?
 
8169
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8170
  test $ac_status = 0; } && test -s "$nlist"; then
 
8171
      # Try sorting and uniquifying the output.
 
8172
      if sort "$nlist" | uniq > "$nlist"T; then
 
8173
        mv -f "$nlist"T "$nlist"
 
8174
      else
 
8175
        rm -f "$nlist"T
 
8176
      fi
 
8177
 
 
8178
      # Make sure that we snagged all the symbols we need.
 
8179
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
8180
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
8181
          cat <<_LT_EOF > conftest.$ac_ext
 
8182
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
8183
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
8184
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
8185
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
8186
# define LT@&t@_DLSYM_CONST
 
8187
#elif defined(__osf__)
 
8188
/* This system does not cope well with relocations in const data.  */
 
8189
# define LT@&t@_DLSYM_CONST
 
8190
#else
 
8191
# define LT@&t@_DLSYM_CONST const
 
8192
#endif
 
8193
 
 
8194
#ifdef __cplusplus
 
8195
extern "C" {
 
8196
#endif
 
8197
 
 
8198
_LT_EOF
 
8199
          # Now generate the symbol file.
 
8200
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
8201
 
 
8202
          cat <<_LT_EOF >> conftest.$ac_ext
 
8203
 
 
8204
/* The mapping between symbol names and symbols.  */
 
8205
LT@&t@_DLSYM_CONST struct {
 
8206
  const char *name;
 
8207
  void       *address;
 
8208
}
 
8209
lt__PROGRAM__LTX_preloaded_symbols[] =
 
8210
{
 
8211
  { "@PROGRAM@", (void *) 0 },
 
8212
_LT_EOF
 
8213
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
8214
          cat <<\_LT_EOF >> conftest.$ac_ext
 
8215
  {0, (void *) 0}
 
8216
};
 
8217
 
 
8218
/* This works around a problem in FreeBSD linker */
 
8219
#ifdef FREEBSD_WORKAROUND
 
8220
static const void *lt_preloaded_setup() {
 
8221
  return lt__PROGRAM__LTX_preloaded_symbols;
 
8222
}
 
8223
#endif
 
8224
 
 
8225
#ifdef __cplusplus
 
8226
}
 
8227
#endif
 
8228
_LT_EOF
 
8229
          # Now try linking the two files.
 
8230
          mv conftest.$ac_objext conftstm.$ac_objext
 
8231
          lt_globsym_save_LIBS=$LIBS
 
8232
          lt_globsym_save_CFLAGS=$CFLAGS
 
8233
          LIBS="conftstm.$ac_objext"
 
8234
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
8235
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
8236
  (eval $ac_link) 2>&5
 
8237
  ac_status=$?
 
8238
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8239
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
8240
            pipe_works=yes
 
8241
          fi
 
8242
          LIBS=$lt_globsym_save_LIBS
 
8243
          CFLAGS=$lt_globsym_save_CFLAGS
 
8244
        else
 
8245
          echo "cannot find nm_test_func in $nlist" >&5
 
8246
        fi
 
8247
      else
 
8248
        echo "cannot find nm_test_var in $nlist" >&5
 
8249
      fi
 
8250
    else
 
8251
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
8252
    fi
 
8253
  else
 
8254
    echo "$progname: failed program was:" >&5
 
8255
    cat conftest.$ac_ext >&5
 
8256
  fi
 
8257
  rm -rf conftest* conftst*
 
8258
 
 
8259
  # Do not use the global_symbol_pipe unless it works.
 
8260
  if test "$pipe_works" = yes; then
 
8261
    break
 
8262
  else
 
8263
    lt_cv_sys_global_symbol_pipe=
 
8264
  fi
 
8265
done
 
8266
 
 
8267
fi
 
8268
 
 
8269
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
8270
  lt_cv_sys_global_symbol_to_cdecl=
 
8271
fi
 
8272
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
8273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
8274
$as_echo "failed" >&6; }
 
8275
else
 
8276
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
8277
$as_echo "ok" >&6; }
 
8278
fi
 
8279
 
 
8280
# Response file support.
 
8281
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8282
  nm_file_list_spec='@'
 
8283
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
8284
  nm_file_list_spec='@'
 
8285
fi
 
8286
 
 
8287
 
 
8288
    
 
8289
    
 
8290
    
 
8291
 
 
8292
 
 
8293
    
 
8294
    
 
8295
    
 
8296
 
 
8297
 
 
8298
    
 
8299
    
 
8300
    
 
8301
 
 
8302
 
 
8303
    
 
8304
    
 
8305
    
 
8306
 
 
8307
 
 
8308
    
 
8309
    
 
8310
    
 
8311
 
 
8312
 
 
8313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
8314
$as_echo_n "checking for sysroot... " >&6; }
 
8315
 
 
8316
@%:@ Check whether --with-sysroot was given.
 
8317
if test "${with_sysroot+set}" = set; then :
 
8318
  withval=$with_sysroot; 
 
8319
else
 
8320
  with_sysroot=no
 
8321
fi
 
8322
 
 
8323
 
 
8324
lt_sysroot=
 
8325
case ${with_sysroot} in #(
 
8326
 yes)
 
8327
   if test "$GCC" = yes; then
 
8328
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
8329
   fi
 
8330
   ;; #(
 
8331
 /*)
 
8332
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
8333
   ;; #(
 
8334
 no|'')
 
8335
   ;; #(
 
8336
 *)
 
8337
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
8338
$as_echo "${with_sysroot}" >&6; }
 
8339
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
8340
   ;;
 
8341
esac
 
8342
 
 
8343
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
8344
$as_echo "${lt_sysroot:-no}" >&6; }
 
8345
 
 
8346
    
 
8347
    
 
8348
    
 
8349
 
 
8350
@%:@ Check whether --enable-libtool-lock was given.
 
8351
if test "${enable_libtool_lock+set}" = set; then :
 
8352
  enableval=$enable_libtool_lock; 
 
8353
fi
 
8354
 
 
8355
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8356
 
 
8357
# Some flags need to be propagated to the compiler or linker for good
 
8358
# libtool support.
 
8359
case $host in
 
8360
ia64-*-hpux*)
 
8361
  # Find out which ABI we are using.
 
8362
  echo 'int i;' > conftest.$ac_ext
 
8363
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8364
  (eval $ac_compile) 2>&5
 
8365
  ac_status=$?
 
8366
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8367
  test $ac_status = 0; }; then
 
8368
    case `/usr/bin/file conftest.$ac_objext` in
 
8369
      *ELF-32*)
 
8370
        HPUX_IA64_MODE="32"
 
8371
        ;;
 
8372
      *ELF-64*)
 
8373
        HPUX_IA64_MODE="64"
 
8374
        ;;
 
8375
    esac
 
8376
  fi
 
8377
  rm -rf conftest*
 
8378
  ;;
 
8379
*-*-irix6*)
 
8380
  # Find out which ABI we are using.
 
8381
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
8382
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8383
  (eval $ac_compile) 2>&5
 
8384
  ac_status=$?
 
8385
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8386
  test $ac_status = 0; }; then
 
8387
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
8388
      case `/usr/bin/file conftest.$ac_objext` in
 
8389
        *32-bit*)
 
8390
          LD="${LD-ld} -melf32bsmip"
 
8391
          ;;
 
8392
        *N32*)
 
8393
          LD="${LD-ld} -melf32bmipn32"
 
8394
          ;;
 
8395
        *64-bit*)
 
8396
          LD="${LD-ld} -melf64bmip"
 
8397
        ;;
 
8398
      esac
 
8399
    else
 
8400
      case `/usr/bin/file conftest.$ac_objext` in
 
8401
        *32-bit*)
 
8402
          LD="${LD-ld} -32"
 
8403
          ;;
 
8404
        *N32*)
 
8405
          LD="${LD-ld} -n32"
 
8406
          ;;
 
8407
        *64-bit*)
 
8408
          LD="${LD-ld} -64"
 
8409
          ;;
 
8410
      esac
 
8411
    fi
 
8412
  fi
 
8413
  rm -rf conftest*
 
8414
  ;;
 
8415
 
 
8416
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
8417
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
8418
  # Find out which ABI we are using.
 
8419
  echo 'int i;' > conftest.$ac_ext
 
8420
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8421
  (eval $ac_compile) 2>&5
 
8422
  ac_status=$?
 
8423
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8424
  test $ac_status = 0; }; then
 
8425
    case `/usr/bin/file conftest.o` in
 
8426
      *32-bit*)
 
8427
        case $host in
 
8428
          x86_64-*kfreebsd*-gnu)
 
8429
            LD="${LD-ld} -m elf_i386_fbsd"
 
8430
            ;;
 
8431
          x86_64-*linux*)
 
8432
            LD="${LD-ld} -m elf_i386"
 
8433
            ;;
 
8434
          ppc64-*linux*|powerpc64-*linux*)
 
8435
            LD="${LD-ld} -m elf32ppclinux"
 
8436
            ;;
 
8437
          s390x-*linux*)
 
8438
            LD="${LD-ld} -m elf_s390"
 
8439
            ;;
 
8440
          sparc64-*linux*)
 
8441
            LD="${LD-ld} -m elf32_sparc"
 
8442
            ;;
 
8443
        esac
 
8444
        ;;
 
8445
      *64-bit*)
 
8446
        case $host in
 
8447
          x86_64-*kfreebsd*-gnu)
 
8448
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
8449
            ;;
 
8450
          x86_64-*linux*)
 
8451
            LD="${LD-ld} -m elf_x86_64"
 
8452
            ;;
 
8453
          ppc*-*linux*|powerpc*-*linux*)
 
8454
            LD="${LD-ld} -m elf64ppc"
 
8455
            ;;
 
8456
          s390*-*linux*|s390*-*tpf*)
 
8457
            LD="${LD-ld} -m elf64_s390"
 
8458
            ;;
 
8459
          sparc*-*linux*)
 
8460
            LD="${LD-ld} -m elf64_sparc"
 
8461
            ;;
 
8462
        esac
 
8463
        ;;
 
8464
    esac
 
8465
  fi
 
8466
  rm -rf conftest*
 
8467
  ;;
 
8468
 
 
8469
*-*-sco3.2v5*)
 
8470
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
8471
  SAVE_CFLAGS="$CFLAGS"
 
8472
  CFLAGS="$CFLAGS -belf"
 
8473
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
8474
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
8475
if ${lt_cv_cc_needs_belf+:} false; then :
 
8476
  $as_echo_n "(cached) " >&6
 
8477
else
 
8478
  ac_ext=c
 
8479
ac_cpp='$CPP $CPPFLAGS'
 
8480
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8481
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8482
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8483
 
 
8484
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8485
/* end confdefs.h.  */
 
8486
 
 
8487
int
 
8488
main ()
 
8489
{
 
8490
 
 
8491
  ;
 
8492
  return 0;
 
8493
}
 
8494
_ACEOF
 
8495
if ac_fn_c_try_link "$LINENO"; then :
 
8496
  lt_cv_cc_needs_belf=yes
 
8497
else
 
8498
  lt_cv_cc_needs_belf=no
 
8499
fi
 
8500
rm -f core conftest.err conftest.$ac_objext \
 
8501
    conftest$ac_exeext conftest.$ac_ext
 
8502
     ac_ext=c
 
8503
ac_cpp='$CPP $CPPFLAGS'
 
8504
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8505
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8506
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8507
 
 
8508
fi
 
8509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
8510
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
8511
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
8512
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
8513
    CFLAGS="$SAVE_CFLAGS"
 
8514
  fi
 
8515
  ;;
 
8516
sparc*-*solaris*)
 
8517
  # Find out which ABI we are using.
 
8518
  echo 'int i;' > conftest.$ac_ext
 
8519
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8520
  (eval $ac_compile) 2>&5
 
8521
  ac_status=$?
 
8522
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8523
  test $ac_status = 0; }; then
 
8524
    case `/usr/bin/file conftest.o` in
 
8525
    *64-bit*)
 
8526
      case $lt_cv_prog_gnu_ld in
 
8527
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
8528
      *)
 
8529
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
8530
          LD="${LD-ld} -64"
 
8531
        fi
 
8532
        ;;
 
8533
      esac
 
8534
      ;;
 
8535
    esac
 
8536
  fi
 
8537
  rm -rf conftest*
 
8538
  ;;
 
8539
esac
 
8540
 
 
8541
need_locks="$enable_libtool_lock"
 
8542
 
 
8543
if test -n "$ac_tool_prefix"; then
 
8544
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
8545
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
8546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8547
$as_echo_n "checking for $ac_word... " >&6; }
 
8548
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
8549
  $as_echo_n "(cached) " >&6
 
8550
else
 
8551
  if test -n "$MANIFEST_TOOL"; then
 
8552
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
8553
else
 
8554
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8555
for as_dir in $PATH
 
8556
do
 
8557
  IFS=$as_save_IFS
 
8558
  test -z "$as_dir" && as_dir=.
 
8559
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8560
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8561
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
8562
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8563
    break 2
 
8564
  fi
 
8565
done
 
8566
  done
 
8567
IFS=$as_save_IFS
 
8568
 
 
8569
fi
 
8570
fi
 
8571
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
8572
if test -n "$MANIFEST_TOOL"; then
 
8573
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
8574
$as_echo "$MANIFEST_TOOL" >&6; }
 
8575
else
 
8576
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8577
$as_echo "no" >&6; }
 
8578
fi
 
8579
 
 
8580
 
 
8581
fi
 
8582
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
8583
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
8584
  # Extract the first word of "mt", so it can be a program name with args.
 
8585
set dummy mt; ac_word=$2
 
8586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8587
$as_echo_n "checking for $ac_word... " >&6; }
 
8588
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
8589
  $as_echo_n "(cached) " >&6
 
8590
else
 
8591
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8592
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
8593
else
 
8594
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8595
for as_dir in $PATH
 
8596
do
 
8597
  IFS=$as_save_IFS
 
8598
  test -z "$as_dir" && as_dir=.
 
8599
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8600
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8601
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
8602
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8603
    break 2
 
8604
  fi
 
8605
done
 
8606
  done
 
8607
IFS=$as_save_IFS
 
8608
 
 
8609
fi
 
8610
fi
 
8611
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
8612
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8613
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
8614
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
8615
else
 
8616
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8617
$as_echo "no" >&6; }
 
8618
fi
 
8619
 
 
8620
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
8621
    MANIFEST_TOOL=":"
 
8622
  else
 
8623
    case $cross_compiling:$ac_tool_warned in
 
8624
yes:)
 
8625
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8626
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8627
ac_tool_warned=yes ;;
 
8628
esac
 
8629
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
8630
  fi
 
8631
else
 
8632
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
8633
fi
 
8634
 
 
8635
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
8636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
8637
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
8638
if ${lt_cv_path_mainfest_tool+:} false; then :
 
8639
  $as_echo_n "(cached) " >&6
 
8640
else
 
8641
  lt_cv_path_mainfest_tool=no
 
8642
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
8643
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
8644
  cat conftest.err >&5
 
8645
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
8646
    lt_cv_path_mainfest_tool=yes
 
8647
  fi
 
8648
  rm -f conftest*
 
8649
fi
 
8650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
8651
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
8652
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
8653
  MANIFEST_TOOL=:
 
8654
fi
 
8655
 
 
8656
    
 
8657
    
 
8658
    
 
8659
 
 
8660
 
 
8661
  case $host_os in
 
8662
    rhapsody* | darwin*)
 
8663
    if test -n "$ac_tool_prefix"; then
 
8664
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
8665
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
8666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8667
$as_echo_n "checking for $ac_word... " >&6; }
 
8668
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
8669
  $as_echo_n "(cached) " >&6
 
8670
else
 
8671
  if test -n "$DSYMUTIL"; then
 
8672
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
8673
else
 
8674
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8675
for as_dir in $PATH
 
8676
do
 
8677
  IFS=$as_save_IFS
 
8678
  test -z "$as_dir" && as_dir=.
 
8679
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8680
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8681
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
8682
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8683
    break 2
 
8684
  fi
 
8685
done
 
8686
  done
 
8687
IFS=$as_save_IFS
 
8688
 
 
8689
fi
 
8690
fi
 
8691
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
8692
if test -n "$DSYMUTIL"; then
 
8693
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
8694
$as_echo "$DSYMUTIL" >&6; }
 
8695
else
 
8696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8697
$as_echo "no" >&6; }
 
8698
fi
 
8699
 
 
8700
 
 
8701
fi
 
8702
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
8703
  ac_ct_DSYMUTIL=$DSYMUTIL
 
8704
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
8705
set dummy dsymutil; ac_word=$2
 
8706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8707
$as_echo_n "checking for $ac_word... " >&6; }
 
8708
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
8709
  $as_echo_n "(cached) " >&6
 
8710
else
 
8711
  if test -n "$ac_ct_DSYMUTIL"; then
 
8712
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
8713
else
 
8714
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8715
for as_dir in $PATH
 
8716
do
 
8717
  IFS=$as_save_IFS
 
8718
  test -z "$as_dir" && as_dir=.
 
8719
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8720
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8721
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
8722
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8723
    break 2
 
8724
  fi
 
8725
done
 
8726
  done
 
8727
IFS=$as_save_IFS
 
8728
 
 
8729
fi
 
8730
fi
 
8731
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
8732
if test -n "$ac_ct_DSYMUTIL"; then
 
8733
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
8734
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
8735
else
 
8736
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8737
$as_echo "no" >&6; }
 
8738
fi
 
8739
 
 
8740
  if test "x$ac_ct_DSYMUTIL" = x; then
 
8741
    DSYMUTIL=":"
 
8742
  else
 
8743
    case $cross_compiling:$ac_tool_warned in
 
8744
yes:)
 
8745
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8746
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8747
ac_tool_warned=yes ;;
 
8748
esac
 
8749
    DSYMUTIL=$ac_ct_DSYMUTIL
 
8750
  fi
 
8751
else
 
8752
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
8753
fi
 
8754
 
 
8755
    if test -n "$ac_tool_prefix"; then
 
8756
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
8757
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
8758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8759
$as_echo_n "checking for $ac_word... " >&6; }
 
8760
if ${ac_cv_prog_NMEDIT+:} false; then :
 
8761
  $as_echo_n "(cached) " >&6
 
8762
else
 
8763
  if test -n "$NMEDIT"; then
 
8764
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
8765
else
 
8766
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8767
for as_dir in $PATH
 
8768
do
 
8769
  IFS=$as_save_IFS
 
8770
  test -z "$as_dir" && as_dir=.
 
8771
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8772
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8773
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
8774
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8775
    break 2
 
8776
  fi
 
8777
done
 
8778
  done
 
8779
IFS=$as_save_IFS
 
8780
 
 
8781
fi
 
8782
fi
 
8783
NMEDIT=$ac_cv_prog_NMEDIT
 
8784
if test -n "$NMEDIT"; then
 
8785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
8786
$as_echo "$NMEDIT" >&6; }
 
8787
else
 
8788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8789
$as_echo "no" >&6; }
 
8790
fi
 
8791
 
 
8792
 
 
8793
fi
 
8794
if test -z "$ac_cv_prog_NMEDIT"; then
 
8795
  ac_ct_NMEDIT=$NMEDIT
 
8796
  # Extract the first word of "nmedit", so it can be a program name with args.
 
8797
set dummy nmedit; ac_word=$2
 
8798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8799
$as_echo_n "checking for $ac_word... " >&6; }
 
8800
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
8801
  $as_echo_n "(cached) " >&6
 
8802
else
 
8803
  if test -n "$ac_ct_NMEDIT"; then
 
8804
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
8805
else
 
8806
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8807
for as_dir in $PATH
 
8808
do
 
8809
  IFS=$as_save_IFS
 
8810
  test -z "$as_dir" && as_dir=.
 
8811
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8812
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8813
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
8814
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8815
    break 2
 
8816
  fi
 
8817
done
 
8818
  done
 
8819
IFS=$as_save_IFS
 
8820
 
 
8821
fi
 
8822
fi
 
8823
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
8824
if test -n "$ac_ct_NMEDIT"; then
 
8825
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
8826
$as_echo "$ac_ct_NMEDIT" >&6; }
 
8827
else
 
8828
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8829
$as_echo "no" >&6; }
 
8830
fi
 
8831
 
 
8832
  if test "x$ac_ct_NMEDIT" = x; then
 
8833
    NMEDIT=":"
 
8834
  else
 
8835
    case $cross_compiling:$ac_tool_warned in
 
8836
yes:)
 
8837
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8838
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8839
ac_tool_warned=yes ;;
 
8840
esac
 
8841
    NMEDIT=$ac_ct_NMEDIT
 
8842
  fi
 
8843
else
 
8844
  NMEDIT="$ac_cv_prog_NMEDIT"
 
8845
fi
 
8846
 
 
8847
    if test -n "$ac_tool_prefix"; then
 
8848
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
8849
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
8850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8851
$as_echo_n "checking for $ac_word... " >&6; }
 
8852
if ${ac_cv_prog_LIPO+:} false; then :
 
8853
  $as_echo_n "(cached) " >&6
 
8854
else
 
8855
  if test -n "$LIPO"; then
 
8856
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
8857
else
 
8858
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8859
for as_dir in $PATH
 
8860
do
 
8861
  IFS=$as_save_IFS
 
8862
  test -z "$as_dir" && as_dir=.
 
8863
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8864
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8865
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
8866
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8867
    break 2
 
8868
  fi
 
8869
done
 
8870
  done
 
8871
IFS=$as_save_IFS
 
8872
 
 
8873
fi
 
8874
fi
 
8875
LIPO=$ac_cv_prog_LIPO
 
8876
if test -n "$LIPO"; then
 
8877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
8878
$as_echo "$LIPO" >&6; }
 
8879
else
 
8880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8881
$as_echo "no" >&6; }
 
8882
fi
 
8883
 
 
8884
 
 
8885
fi
 
8886
if test -z "$ac_cv_prog_LIPO"; then
 
8887
  ac_ct_LIPO=$LIPO
 
8888
  # Extract the first word of "lipo", so it can be a program name with args.
 
8889
set dummy lipo; ac_word=$2
 
8890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8891
$as_echo_n "checking for $ac_word... " >&6; }
 
8892
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
8893
  $as_echo_n "(cached) " >&6
 
8894
else
 
8895
  if test -n "$ac_ct_LIPO"; then
 
8896
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
8897
else
 
8898
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8899
for as_dir in $PATH
 
8900
do
 
8901
  IFS=$as_save_IFS
 
8902
  test -z "$as_dir" && as_dir=.
 
8903
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8904
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8905
    ac_cv_prog_ac_ct_LIPO="lipo"
 
8906
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8907
    break 2
 
8908
  fi
 
8909
done
 
8910
  done
 
8911
IFS=$as_save_IFS
 
8912
 
 
8913
fi
 
8914
fi
 
8915
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
8916
if test -n "$ac_ct_LIPO"; then
 
8917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
8918
$as_echo "$ac_ct_LIPO" >&6; }
 
8919
else
 
8920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8921
$as_echo "no" >&6; }
 
8922
fi
 
8923
 
 
8924
  if test "x$ac_ct_LIPO" = x; then
 
8925
    LIPO=":"
 
8926
  else
 
8927
    case $cross_compiling:$ac_tool_warned in
 
8928
yes:)
 
8929
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8930
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8931
ac_tool_warned=yes ;;
 
8932
esac
 
8933
    LIPO=$ac_ct_LIPO
 
8934
  fi
 
8935
else
 
8936
  LIPO="$ac_cv_prog_LIPO"
 
8937
fi
 
8938
 
 
8939
    if test -n "$ac_tool_prefix"; then
 
8940
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
8941
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
8942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8943
$as_echo_n "checking for $ac_word... " >&6; }
 
8944
if ${ac_cv_prog_OTOOL+:} false; then :
 
8945
  $as_echo_n "(cached) " >&6
 
8946
else
 
8947
  if test -n "$OTOOL"; then
 
8948
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
8949
else
 
8950
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8951
for as_dir in $PATH
 
8952
do
 
8953
  IFS=$as_save_IFS
 
8954
  test -z "$as_dir" && as_dir=.
 
8955
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8956
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8957
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
8958
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8959
    break 2
 
8960
  fi
 
8961
done
 
8962
  done
 
8963
IFS=$as_save_IFS
 
8964
 
 
8965
fi
 
8966
fi
 
8967
OTOOL=$ac_cv_prog_OTOOL
 
8968
if test -n "$OTOOL"; then
 
8969
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
8970
$as_echo "$OTOOL" >&6; }
 
8971
else
 
8972
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8973
$as_echo "no" >&6; }
 
8974
fi
 
8975
 
 
8976
 
 
8977
fi
 
8978
if test -z "$ac_cv_prog_OTOOL"; then
 
8979
  ac_ct_OTOOL=$OTOOL
 
8980
  # Extract the first word of "otool", so it can be a program name with args.
 
8981
set dummy otool; ac_word=$2
 
8982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8983
$as_echo_n "checking for $ac_word... " >&6; }
 
8984
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
8985
  $as_echo_n "(cached) " >&6
 
8986
else
 
8987
  if test -n "$ac_ct_OTOOL"; then
 
8988
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
8989
else
 
8990
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8991
for as_dir in $PATH
 
8992
do
 
8993
  IFS=$as_save_IFS
 
8994
  test -z "$as_dir" && as_dir=.
 
8995
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8996
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8997
    ac_cv_prog_ac_ct_OTOOL="otool"
 
8998
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8999
    break 2
 
9000
  fi
 
9001
done
 
9002
  done
 
9003
IFS=$as_save_IFS
 
9004
 
 
9005
fi
 
9006
fi
 
9007
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
9008
if test -n "$ac_ct_OTOOL"; then
 
9009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
9010
$as_echo "$ac_ct_OTOOL" >&6; }
 
9011
else
 
9012
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9013
$as_echo "no" >&6; }
 
9014
fi
 
9015
 
 
9016
  if test "x$ac_ct_OTOOL" = x; then
 
9017
    OTOOL=":"
 
9018
  else
 
9019
    case $cross_compiling:$ac_tool_warned in
 
9020
yes:)
 
9021
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9022
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9023
ac_tool_warned=yes ;;
 
9024
esac
 
9025
    OTOOL=$ac_ct_OTOOL
 
9026
  fi
 
9027
else
 
9028
  OTOOL="$ac_cv_prog_OTOOL"
 
9029
fi
 
9030
 
 
9031
    if test -n "$ac_tool_prefix"; then
 
9032
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
9033
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
9034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9035
$as_echo_n "checking for $ac_word... " >&6; }
 
9036
if ${ac_cv_prog_OTOOL64+:} false; then :
 
9037
  $as_echo_n "(cached) " >&6
 
9038
else
 
9039
  if test -n "$OTOOL64"; then
 
9040
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
9041
else
 
9042
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9043
for as_dir in $PATH
 
9044
do
 
9045
  IFS=$as_save_IFS
 
9046
  test -z "$as_dir" && as_dir=.
 
9047
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9048
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9049
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
9050
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9051
    break 2
 
9052
  fi
 
9053
done
 
9054
  done
 
9055
IFS=$as_save_IFS
 
9056
 
 
9057
fi
 
9058
fi
 
9059
OTOOL64=$ac_cv_prog_OTOOL64
 
9060
if test -n "$OTOOL64"; then
 
9061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
9062
$as_echo "$OTOOL64" >&6; }
 
9063
else
 
9064
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9065
$as_echo "no" >&6; }
 
9066
fi
 
9067
 
 
9068
 
 
9069
fi
 
9070
if test -z "$ac_cv_prog_OTOOL64"; then
 
9071
  ac_ct_OTOOL64=$OTOOL64
 
9072
  # Extract the first word of "otool64", so it can be a program name with args.
 
9073
set dummy otool64; ac_word=$2
 
9074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9075
$as_echo_n "checking for $ac_word... " >&6; }
 
9076
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
9077
  $as_echo_n "(cached) " >&6
 
9078
else
 
9079
  if test -n "$ac_ct_OTOOL64"; then
 
9080
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
9081
else
 
9082
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9083
for as_dir in $PATH
 
9084
do
 
9085
  IFS=$as_save_IFS
 
9086
  test -z "$as_dir" && as_dir=.
 
9087
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9088
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9089
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
9090
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9091
    break 2
 
9092
  fi
 
9093
done
 
9094
  done
 
9095
IFS=$as_save_IFS
 
9096
 
 
9097
fi
 
9098
fi
 
9099
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
9100
if test -n "$ac_ct_OTOOL64"; then
 
9101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
9102
$as_echo "$ac_ct_OTOOL64" >&6; }
 
9103
else
 
9104
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9105
$as_echo "no" >&6; }
 
9106
fi
 
9107
 
 
9108
  if test "x$ac_ct_OTOOL64" = x; then
 
9109
    OTOOL64=":"
 
9110
  else
 
9111
    case $cross_compiling:$ac_tool_warned in
 
9112
yes:)
 
9113
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9114
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9115
ac_tool_warned=yes ;;
 
9116
esac
 
9117
    OTOOL64=$ac_ct_OTOOL64
 
9118
  fi
 
9119
else
 
9120
  OTOOL64="$ac_cv_prog_OTOOL64"
 
9121
fi
 
9122
 
 
9123
    
 
9124
    
 
9125
    
 
9126
    
 
9127
 
 
9128
    
 
9129
    
 
9130
    
 
9131
    
 
9132
 
 
9133
    
 
9134
    
 
9135
    
 
9136
    
 
9137
 
 
9138
    
 
9139
    
 
9140
    
 
9141
    
 
9142
 
 
9143
    
 
9144
    
 
9145
    
 
9146
    
 
9147
 
 
9148
 
 
9149
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
9150
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
9151
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
9152
  $as_echo_n "(cached) " >&6
 
9153
else
 
9154
  lt_cv_apple_cc_single_mod=no
 
9155
      if test -z "${LT_MULTI_MODULE}"; then
 
9156
        # By default we will add the -single_module flag. You can override
 
9157
        # by either setting the environment variable LT_MULTI_MODULE
 
9158
        # non-empty at configure time, or by adding -multi_module to the
 
9159
        # link flags.
 
9160
        rm -rf libconftest.dylib*
 
9161
        echo "int foo(void){return 1;}" > conftest.c
 
9162
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9163
-dynamiclib -Wl,-single_module conftest.c" >&5
 
9164
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9165
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
9166
        _lt_result=$?
 
9167
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
9168
          lt_cv_apple_cc_single_mod=yes
 
9169
        else
 
9170
          cat conftest.err >&5
 
9171
        fi
 
9172
        rm -rf libconftest.dylib*
 
9173
        rm -f conftest.*
 
9174
      fi
 
9175
fi
 
9176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
9177
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
9178
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
9179
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
9180
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
9181
  $as_echo_n "(cached) " >&6
 
9182
else
 
9183
  lt_cv_ld_exported_symbols_list=no
 
9184
      save_LDFLAGS=$LDFLAGS
 
9185
      echo "_main" > conftest.sym
 
9186
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
9187
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9188
/* end confdefs.h.  */
 
9189
 
 
9190
int
 
9191
main ()
 
9192
{
 
9193
 
 
9194
  ;
 
9195
  return 0;
 
9196
}
 
9197
_ACEOF
 
9198
if ac_fn_c_try_link "$LINENO"; then :
 
9199
  lt_cv_ld_exported_symbols_list=yes
 
9200
else
 
9201
  lt_cv_ld_exported_symbols_list=no
 
9202
fi
 
9203
rm -f core conftest.err conftest.$ac_objext \
 
9204
    conftest$ac_exeext conftest.$ac_ext
 
9205
        LDFLAGS="$save_LDFLAGS"
 
9206
    
 
9207
fi
 
9208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
9209
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
9210
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
9211
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
9212
if ${lt_cv_ld_force_load+:} false; then :
 
9213
  $as_echo_n "(cached) " >&6
 
9214
else
 
9215
  lt_cv_ld_force_load=no
 
9216
      cat > conftest.c << _LT_EOF
 
9217
int forced_loaded() { return 2;}
 
9218
_LT_EOF
 
9219
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
9220
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
9221
      echo "$AR cru libconftest.a conftest.o" >&5
 
9222
      $AR cru libconftest.a conftest.o 2>&5
 
9223
      echo "$RANLIB libconftest.a" >&5
 
9224
      $RANLIB libconftest.a 2>&5
 
9225
      cat > conftest.c << _LT_EOF
 
9226
int main() { return 0;}
 
9227
_LT_EOF
 
9228
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
9229
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
9230
      _lt_result=$?
 
9231
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
9232
        lt_cv_ld_force_load=yes
 
9233
      else
 
9234
        cat conftest.err >&5
 
9235
      fi
 
9236
        rm -f conftest.err libconftest.a conftest conftest.c
 
9237
        rm -rf conftest.dSYM
 
9238
    
 
9239
fi
 
9240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
9241
$as_echo "$lt_cv_ld_force_load" >&6; }
 
9242
    case $host_os in
 
9243
    rhapsody* | darwin1.[012])
 
9244
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9245
    darwin1.*)
 
9246
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9247
    darwin*) # darwin 5.x on
 
9248
      # if running on 10.5 or later, the deployment target defaults
 
9249
      # to the OS version, if on x86, and 10.4, the deployment
 
9250
      # target defaults to 10.4. Don't you love it?
 
9251
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
9252
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9253
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9254
        10.[012]*)
 
9255
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9256
        10.*)
 
9257
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9258
      esac
 
9259
    ;;
 
9260
  esac
 
9261
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9262
      _lt_dar_single_mod='$single_module'
 
9263
    fi
 
9264
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
9265
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9266
    else
 
9267
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9268
    fi
 
9269
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
9270
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
9271
    else
 
9272
      _lt_dsymutil=
 
9273
    fi
 
9274
    ;;
 
9275
  esac
 
9276
 
 
9277
for ac_header in dlfcn.h
 
9278
do :
 
9279
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
9280
"
 
9281
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
9282
  cat >>confdefs.h <<_ACEOF
 
9283
@%:@define HAVE_DLFCN_H 1
 
9284
_ACEOF
 
9285
 
 
9286
fi
 
9287
 
 
9288
done
 
9289
 
 
9290
 
 
9291
 
 
9292
 
 
9293
 
 
9294
# Set options
 
9295
 
 
9296
 
 
9297
 
 
9298
        enable_dlopen=no
 
9299
  
 
9300
 
 
9301
  enable_win32_dll=no
 
9302
  
 
9303
 
 
9304
            @%:@ Check whether --enable-shared was given.
 
9305
if test "${enable_shared+set}" = set; then :
 
9306
  enableval=$enable_shared; p=${PACKAGE-default}
 
9307
    case $enableval in
 
9308
    yes) enable_shared=yes ;;
 
9309
    no) enable_shared=no ;;
 
9310
    *)
 
9311
      enable_shared=no
 
9312
      # Look at the argument we got.  We use all the common list separators.
 
9313
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9314
      for pkg in $enableval; do
 
9315
        IFS="$lt_save_ifs"
 
9316
        if test "X$pkg" = "X$p"; then
 
9317
          enable_shared=yes
 
9318
        fi
 
9319
      done
 
9320
      IFS="$lt_save_ifs"
 
9321
      ;;
 
9322
    esac
 
9323
else
 
9324
  enable_shared=yes
 
9325
fi
 
9326
 
 
9327
 
 
9328
    
 
9329
    
 
9330
    
 
9331
    
 
9332
 
 
9333
 
 
9334
 
 
9335
  
 
9336
  
 
9337
@%:@ Check whether --with-pic was given.
 
9338
if test "${with_pic+set}" = set; then :
 
9339
  withval=$with_pic; pic_mode="$withval"
 
9340
else
 
9341
  pic_mode=default
 
9342
fi
 
9343
 
 
9344
 
 
9345
test -z "$pic_mode" && pic_mode=default
 
9346
 
 
9347
 
 
9348
    
 
9349
    
 
9350
    
 
9351
 
 
9352
 
 
9353
  @%:@ Check whether --enable-fast-install was given.
 
9354
if test "${enable_fast_install+set}" = set; then :
 
9355
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
9356
    case $enableval in
 
9357
    yes) enable_fast_install=yes ;;
 
9358
    no) enable_fast_install=no ;;
 
9359
    *)
 
9360
      enable_fast_install=no
 
9361
      # Look at the argument we got.  We use all the common list separators.
 
9362
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9363
      for pkg in $enableval; do
 
9364
        IFS="$lt_save_ifs"
 
9365
        if test "X$pkg" = "X$p"; then
 
9366
          enable_fast_install=yes
 
9367
        fi
 
9368
      done
 
9369
      IFS="$lt_save_ifs"
 
9370
      ;;
 
9371
    esac
 
9372
else
 
9373
  enable_fast_install=yes
 
9374
fi
 
9375
 
 
9376
 
 
9377
 
 
9378
    
 
9379
    
 
9380
    
 
9381
 
 
9382
 
 
9383
  
 
9384
 
 
9385
 
 
9386
# This can be used to rebuild libtool when needed
 
9387
LIBTOOL_DEPS="$ltmain"
 
9388
 
 
9389
# Always use our own libtool.
 
9390
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
9391
 
 
9392
 
 
9393
 
 
9394
    
 
9395
    
 
9396
    
 
9397
 
 
9398
    
 
9399
    
 
9400
    
 
9401
 
 
9402
    
 
9403
    
 
9404
    
 
9405
 
 
9406
    
 
9407
    
 
9408
    
 
9409
 
 
9410
    
 
9411
    
 
9412
    
 
9413
 
 
9414
    
 
9415
    
 
9416
    
 
9417
test -z "$LN_S" && LN_S="ln -s"
 
9418
 
 
9419
    
 
9420
    
 
9421
    
 
9422
 
 
9423
    
 
9424
    
 
9425
    
 
9426
 
 
9427
    
 
9428
    
 
9429
    
 
9430
 
 
9431
 
 
9432
if test -n "${ZSH_VERSION+set}" ; then
 
9433
   setopt NO_GLOB_SUBST
 
9434
fi
 
9435
 
 
9436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
9437
$as_echo_n "checking for objdir... " >&6; }
 
9438
if ${lt_cv_objdir+:} false; then :
 
9439
  $as_echo_n "(cached) " >&6
 
9440
else
 
9441
  rm -f .libs 2>/dev/null
 
9442
mkdir .libs 2>/dev/null
 
9443
if test -d .libs; then
 
9444
  lt_cv_objdir=.libs
 
9445
else
 
9446
  # MS-DOS does not allow filenames that begin with a dot.
 
9447
  lt_cv_objdir=_libs
 
9448
fi
 
9449
rmdir .libs 2>/dev/null
 
9450
fi
 
9451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
9452
$as_echo "$lt_cv_objdir" >&6; }
 
9453
objdir=$lt_cv_objdir
 
9454
 
 
9455
    
 
9456
    
 
9457
    
 
9458
 
 
9459
cat >>confdefs.h <<_ACEOF
 
9460
@%:@define LT_OBJDIR "$lt_cv_objdir/"
 
9461
_ACEOF
 
9462
 
 
9463
 
 
9464
 
 
9465
 
 
9466
case $host_os in
 
9467
aix3*)
 
9468
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
9469
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
9470
  # vanish in a puff of smoke.
 
9471
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
9472
    COLLECT_NAMES=
 
9473
    export COLLECT_NAMES
 
9474
  fi
 
9475
  ;;
 
9476
esac
 
9477
 
 
9478
# Global variables:
 
9479
ofile=libtool
 
9480
can_build_shared=yes
 
9481
 
 
9482
# All known linkers require a `.a' archive for static linking (except MSVC,
 
9483
# which needs '.lib').
 
9484
libext=a
 
9485
 
 
9486
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
9487
 
 
9488
old_CC="$CC"
 
9489
old_CFLAGS="$CFLAGS"
 
9490
 
 
9491
# Set sane defaults for various variables
 
9492
test -z "$CC" && CC=cc
 
9493
test -z "$LTCC" && LTCC=$CC
 
9494
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
9495
test -z "$LD" && LD=ld
 
9496
test -z "$ac_objext" && ac_objext=o
 
9497
 
 
9498
for cc_temp in $compiler""; do
 
9499
  case $cc_temp in
 
9500
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
9501
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
9502
    \-*) ;;
 
9503
    *) break;;
 
9504
  esac
 
9505
done
 
9506
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
9507
 
 
9508
 
 
9509
# Only perform the check for file, if the check method requires it
 
9510
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
9511
case $deplibs_check_method in
 
9512
file_magic*)
 
9513
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
9514
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
9515
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
9516
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
9517
  $as_echo_n "(cached) " >&6
 
9518
else
 
9519
  case $MAGIC_CMD in
 
9520
[\\/*] |  ?:[\\/]*)
 
9521
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9522
  ;;
 
9523
*)
 
9524
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9525
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9526
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9527
  for ac_dir in $ac_dummy; do
 
9528
    IFS="$lt_save_ifs"
 
9529
    test -z "$ac_dir" && ac_dir=.
 
9530
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
9531
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
9532
      if test -n "$file_magic_test_file"; then
 
9533
        case $deplibs_check_method in
 
9534
        "file_magic "*)
 
9535
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9536
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9537
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9538
            $EGREP "$file_magic_regex" > /dev/null; then
 
9539
            :
 
9540
          else
 
9541
            cat <<_LT_EOF 1>&2
 
9542
 
 
9543
*** Warning: the command libtool uses to detect shared libraries,
 
9544
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9545
*** The result is that libtool may fail to recognize shared libraries
 
9546
*** as such.  This will affect the creation of libtool libraries that
 
9547
*** depend on shared libraries, but programs linked with such libtool
 
9548
*** libraries will work regardless of this problem.  Nevertheless, you
 
9549
*** may want to report the problem to your system manager and/or to
 
9550
*** bug-libtool@gnu.org
 
9551
 
 
9552
_LT_EOF
 
9553
          fi ;;
 
9554
        esac
 
9555
      fi
 
9556
      break
 
9557
    fi
 
9558
  done
 
9559
  IFS="$lt_save_ifs"
 
9560
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9561
  ;;
 
9562
esac
 
9563
fi
 
9564
 
 
9565
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9566
if test -n "$MAGIC_CMD"; then
 
9567
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9568
$as_echo "$MAGIC_CMD" >&6; }
 
9569
else
 
9570
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9571
$as_echo "no" >&6; }
 
9572
fi
 
9573
 
 
9574
    
 
9575
    
 
9576
    
 
9577
 
 
9578
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
9579
  if test -n "$ac_tool_prefix"; then
 
9580
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
9581
$as_echo_n "checking for file... " >&6; }
 
9582
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
9583
  $as_echo_n "(cached) " >&6
 
9584
else
 
9585
  case $MAGIC_CMD in
 
9586
[\\/*] |  ?:[\\/]*)
 
9587
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9588
  ;;
 
9589
*)
 
9590
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9591
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9592
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9593
  for ac_dir in $ac_dummy; do
 
9594
    IFS="$lt_save_ifs"
 
9595
    test -z "$ac_dir" && ac_dir=.
 
9596
    if test -f $ac_dir/file; then
 
9597
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
9598
      if test -n "$file_magic_test_file"; then
 
9599
        case $deplibs_check_method in
 
9600
        "file_magic "*)
 
9601
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9602
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9603
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9604
            $EGREP "$file_magic_regex" > /dev/null; then
 
9605
            :
 
9606
          else
 
9607
            cat <<_LT_EOF 1>&2
 
9608
 
 
9609
*** Warning: the command libtool uses to detect shared libraries,
 
9610
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9611
*** The result is that libtool may fail to recognize shared libraries
 
9612
*** as such.  This will affect the creation of libtool libraries that
 
9613
*** depend on shared libraries, but programs linked with such libtool
 
9614
*** libraries will work regardless of this problem.  Nevertheless, you
 
9615
*** may want to report the problem to your system manager and/or to
 
9616
*** bug-libtool@gnu.org
 
9617
 
 
9618
_LT_EOF
 
9619
          fi ;;
 
9620
        esac
 
9621
      fi
 
9622
      break
 
9623
    fi
 
9624
  done
 
9625
  IFS="$lt_save_ifs"
 
9626
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9627
  ;;
 
9628
esac
 
9629
fi
 
9630
 
 
9631
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9632
if test -n "$MAGIC_CMD"; then
 
9633
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
9634
$as_echo "$MAGIC_CMD" >&6; }
 
9635
else
 
9636
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9637
$as_echo "no" >&6; }
 
9638
fi
 
9639
 
 
9640
 
 
9641
  else
 
9642
    MAGIC_CMD=:
 
9643
  fi
 
9644
fi
 
9645
 
 
9646
  fi
 
9647
  ;;
 
9648
esac
 
9649
 
 
9650
# Use C for the default configuration in the libtool script
 
9651
 
 
9652
lt_save_CC="$CC"
 
9653
ac_ext=c
 
9654
ac_cpp='$CPP $CPPFLAGS'
 
9655
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9656
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9657
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
9658
 
 
9659
 
 
9660
# Source file extension for C test sources.
 
9661
ac_ext=c
 
9662
 
 
9663
# Object file extension for compiled C test sources.
 
9664
objext=o
 
9665
objext=$objext
 
9666
 
 
9667
# Code to be used in simple compile tests
 
9668
lt_simple_compile_test_code="int some_variable = 0;"
 
9669
 
 
9670
# Code to be used in simple link tests
 
9671
lt_simple_link_test_code='int main(){return(0);}'
 
9672
 
 
9673
 
 
9674
 
 
9675
 
 
9676
 
 
9677
 
 
9678
 
 
9679
# If no C compiler was specified, use CC.
 
9680
LTCC=${LTCC-"$CC"}
 
9681
 
 
9682
# If no C compiler flags were specified, use CFLAGS.
 
9683
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
9684
 
 
9685
# Allow CC to be a program name with arguments.
 
9686
compiler=$CC
 
9687
 
 
9688
# Save the default compiler, since it gets overwritten when the other
 
9689
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
9690
compiler_DEFAULT=$CC
 
9691
 
 
9692
# save warnings/boilerplate of simple test code
 
9693
ac_outfile=conftest.$ac_objext
 
9694
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
9695
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
9696
_lt_compiler_boilerplate=`cat conftest.err`
 
9697
$RM conftest*
 
9698
 
 
9699
ac_outfile=conftest.$ac_objext
 
9700
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
9701
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
9702
_lt_linker_boilerplate=`cat conftest.err`
 
9703
$RM -r conftest*
 
9704
 
 
9705
 
 
9706
## CAVEAT EMPTOR:
 
9707
## There is no encapsulation within the following macros, do not change
 
9708
## the running order or otherwise move them around unless you know exactly
 
9709
## what you are doing...
 
9710
if test -n "$compiler"; then
 
9711
  
 
9712
lt_prog_compiler_no_builtin_flag=
 
9713
 
 
9714
if test "$GCC" = yes; then
 
9715
  case $cc_basename in
 
9716
  nvcc*)
 
9717
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
9718
  *)
 
9719
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
9720
  esac
 
9721
 
 
9722
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9723
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
9724
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
9725
  $as_echo_n "(cached) " >&6
 
9726
else
 
9727
  lt_cv_prog_compiler_rtti_exceptions=no
 
9728
   ac_outfile=conftest.$ac_objext
 
9729
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9730
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
9731
   # Insert the option either (1) after the last *FLAGS variable, or
 
9732
   # (2) before a word containing "conftest.", or (3) at the end.
 
9733
   # Note that $ac_compile itself does not contain backslashes and begins
 
9734
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9735
   # The option is referenced via a variable to avoid confusing sed.
 
9736
   lt_compile=`echo "$ac_compile" | $SED \
 
9737
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9738
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9739
   -e 's:$: $lt_compiler_flag:'`
 
9740
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
9741
   (eval "$lt_compile" 2>conftest.err)
 
9742
   ac_status=$?
 
9743
   cat conftest.err >&5
 
9744
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9745
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
9746
     # The compiler can only warn and ignore the option if not recognized
 
9747
     # So say no if there are warnings other than the usual output.
 
9748
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
9749
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9750
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
9751
       lt_cv_prog_compiler_rtti_exceptions=yes
 
9752
     fi
 
9753
   fi
 
9754
   $RM conftest*
 
9755
 
 
9756
fi
 
9757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9758
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
9759
 
 
9760
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
9761
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
9762
else
 
9763
    :
 
9764
fi
 
9765
 
 
9766
fi
 
9767
 
 
9768
    
 
9769
    
 
9770
    
 
9771
 
 
9772
 
 
9773
  lt_prog_compiler_wl=
 
9774
lt_prog_compiler_pic=
 
9775
lt_prog_compiler_static=
 
9776
 
 
9777
 
 
9778
  if test "$GCC" = yes; then
 
9779
    lt_prog_compiler_wl='-Wl,'
 
9780
    lt_prog_compiler_static='-static'
 
9781
 
 
9782
    case $host_os in
 
9783
      aix*)
 
9784
      # All AIX code is PIC.
 
9785
      if test "$host_cpu" = ia64; then
 
9786
        # AIX 5 now supports IA64 processor
 
9787
        lt_prog_compiler_static='-Bstatic'
 
9788
      fi
 
9789
      ;;
 
9790
 
 
9791
    amigaos*)
 
9792
      case $host_cpu in
 
9793
      powerpc)
 
9794
            # see comment about AmigaOS4 .so support
 
9795
            lt_prog_compiler_pic='-fPIC'
 
9796
        ;;
 
9797
      m68k)
 
9798
            # FIXME: we need at least 68020 code to build shared libraries, but
 
9799
            # adding the `-m68020' flag to GCC prevents building anything better,
 
9800
            # like `-m68040'.
 
9801
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
9802
        ;;
 
9803
      esac
 
9804
      ;;
 
9805
 
 
9806
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
9807
      # PIC is the default for these OSes.
 
9808
      ;;
 
9809
 
 
9810
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
9811
      # This hack is so that the source file can tell whether it is being
 
9812
      # built for inclusion in a dll (and should export symbols for example).
 
9813
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
9814
      # (--disable-auto-import) libraries
 
9815
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
9816
      ;;
 
9817
 
 
9818
    darwin* | rhapsody*)
 
9819
      # PIC is the default on this platform
 
9820
      # Common symbols not allowed in MH_DYLIB files
 
9821
      lt_prog_compiler_pic='-fno-common'
 
9822
      ;;
 
9823
 
 
9824
    haiku*)
 
9825
      # PIC is the default for Haiku.
 
9826
      # The "-static" flag exists, but is broken.
 
9827
      lt_prog_compiler_static=
 
9828
      ;;
 
9829
 
 
9830
    hpux*)
 
9831
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
9832
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
9833
      # sets the default TLS model and affects inlining.
 
9834
      case $host_cpu in
 
9835
      hppa*64*)
 
9836
        # +Z the default
 
9837
        ;;
 
9838
      *)
 
9839
        lt_prog_compiler_pic='-fPIC'
 
9840
        ;;
 
9841
      esac
 
9842
      ;;
 
9843
 
 
9844
    interix[3-9]*)
 
9845
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
9846
      # Instead, we relocate shared libraries at runtime.
 
9847
      ;;
 
9848
 
 
9849
    msdosdjgpp*)
 
9850
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
9851
      # on systems that don't support them.
 
9852
      lt_prog_compiler_can_build_shared=no
 
9853
      enable_shared=no
 
9854
      ;;
 
9855
 
 
9856
    *nto* | *qnx*)
 
9857
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9858
      # it will coredump.
 
9859
      lt_prog_compiler_pic='-fPIC -shared'
 
9860
      ;;
 
9861
 
 
9862
    sysv4*MP*)
 
9863
      if test -d /usr/nec; then
 
9864
        lt_prog_compiler_pic=-Kconform_pic
 
9865
      fi
 
9866
      ;;
 
9867
 
 
9868
    *)
 
9869
      lt_prog_compiler_pic='-fPIC'
 
9870
      ;;
 
9871
    esac
 
9872
 
 
9873
    case $cc_basename in
 
9874
    nvcc*) # Cuda Compiler Driver 2.2
 
9875
      lt_prog_compiler_wl='-Xlinker '
 
9876
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
9877
      ;;
 
9878
    esac
 
9879
  else
 
9880
    # PORTME Check for flag to pass linker flags through the system compiler.
 
9881
    case $host_os in
 
9882
    aix*)
 
9883
      lt_prog_compiler_wl='-Wl,'
 
9884
      if test "$host_cpu" = ia64; then
 
9885
        # AIX 5 now supports IA64 processor
 
9886
        lt_prog_compiler_static='-Bstatic'
 
9887
      else
 
9888
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
9889
      fi
 
9890
      ;;
 
9891
 
 
9892
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
9893
      # This hack is so that the source file can tell whether it is being
 
9894
      # built for inclusion in a dll (and should export symbols for example).
 
9895
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
9896
      ;;
 
9897
 
 
9898
    hpux9* | hpux10* | hpux11*)
 
9899
      lt_prog_compiler_wl='-Wl,'
 
9900
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
9901
      # not for PA HP-UX.
 
9902
      case $host_cpu in
 
9903
      hppa*64*|ia64*)
 
9904
        # +Z the default
 
9905
        ;;
 
9906
      *)
 
9907
        lt_prog_compiler_pic='+Z'
 
9908
        ;;
 
9909
      esac
 
9910
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
9911
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
9912
      ;;
 
9913
 
 
9914
    irix5* | irix6* | nonstopux*)
 
9915
      lt_prog_compiler_wl='-Wl,'
 
9916
      # PIC (with -KPIC) is the default.
 
9917
      lt_prog_compiler_static='-non_shared'
 
9918
      ;;
 
9919
 
 
9920
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
9921
      case $cc_basename in
 
9922
      # old Intel for x86_64 which still supported -KPIC.
 
9923
      ecc*)
 
9924
        lt_prog_compiler_wl='-Wl,'
 
9925
        lt_prog_compiler_pic='-KPIC'
 
9926
        lt_prog_compiler_static='-static'
 
9927
        ;;
 
9928
      # icc used to be incompatible with GCC.
 
9929
      # ICC 10 doesn't accept -KPIC any more.
 
9930
      icc* | ifort*)
 
9931
        lt_prog_compiler_wl='-Wl,'
 
9932
        lt_prog_compiler_pic='-fPIC'
 
9933
        lt_prog_compiler_static='-static'
 
9934
        ;;
 
9935
      # Lahey Fortran 8.1.
 
9936
      lf95*)
 
9937
        lt_prog_compiler_wl='-Wl,'
 
9938
        lt_prog_compiler_pic='--shared'
 
9939
        lt_prog_compiler_static='--static'
 
9940
        ;;
 
9941
      nagfor*)
 
9942
        # NAG Fortran compiler
 
9943
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9944
        lt_prog_compiler_pic='-PIC'
 
9945
        lt_prog_compiler_static='-Bstatic'
 
9946
        ;;
 
9947
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
9948
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
9949
        # which looks to be a dead project)
 
9950
        lt_prog_compiler_wl='-Wl,'
 
9951
        lt_prog_compiler_pic='-fpic'
 
9952
        lt_prog_compiler_static='-Bstatic'
 
9953
        ;;
 
9954
      ccc*)
 
9955
        lt_prog_compiler_wl='-Wl,'
 
9956
        # All Alpha code is PIC.
 
9957
        lt_prog_compiler_static='-non_shared'
 
9958
        ;;
 
9959
      xl* | bgxl* | bgf* | mpixl*)
 
9960
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
9961
        lt_prog_compiler_wl='-Wl,'
 
9962
        lt_prog_compiler_pic='-qpic'
 
9963
        lt_prog_compiler_static='-qstaticlink'
 
9964
        ;;
 
9965
      *)
 
9966
        case `$CC -V 2>&1 | sed 5q` in
 
9967
        *Sun\ F* | *Sun*Fortran*)
 
9968
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9969
          lt_prog_compiler_pic='-KPIC'
 
9970
          lt_prog_compiler_static='-Bstatic'
 
9971
          lt_prog_compiler_wl=''
 
9972
          ;;
 
9973
        *Sun\ C*)
 
9974
          # Sun C 5.9
 
9975
          lt_prog_compiler_pic='-KPIC'
 
9976
          lt_prog_compiler_static='-Bstatic'
 
9977
          lt_prog_compiler_wl='-Wl,'
 
9978
          ;;
 
9979
        esac
 
9980
        ;;
 
9981
      esac
 
9982
      ;;
 
9983
 
 
9984
    newsos6)
 
9985
      lt_prog_compiler_pic='-KPIC'
 
9986
      lt_prog_compiler_static='-Bstatic'
 
9987
      ;;
 
9988
 
 
9989
    *nto* | *qnx*)
 
9990
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9991
      # it will coredump.
 
9992
      lt_prog_compiler_pic='-fPIC -shared'
 
9993
      ;;
 
9994
 
 
9995
    osf3* | osf4* | osf5*)
 
9996
      lt_prog_compiler_wl='-Wl,'
 
9997
      # All OSF/1 code is PIC.
 
9998
      lt_prog_compiler_static='-non_shared'
 
9999
      ;;
 
10000
 
 
10001
    rdos*)
 
10002
      lt_prog_compiler_static='-non_shared'
 
10003
      ;;
 
10004
 
 
10005
    solaris*)
 
10006
      lt_prog_compiler_pic='-KPIC'
 
10007
      lt_prog_compiler_static='-Bstatic'
 
10008
      case $cc_basename in
 
10009
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
10010
        lt_prog_compiler_wl='-Qoption ld ';;
 
10011
      *)
 
10012
        lt_prog_compiler_wl='-Wl,';;
 
10013
      esac
 
10014
      ;;
 
10015
 
 
10016
    sunos4*)
 
10017
      lt_prog_compiler_wl='-Qoption ld '
 
10018
      lt_prog_compiler_pic='-PIC'
 
10019
      lt_prog_compiler_static='-Bstatic'
 
10020
      ;;
 
10021
 
 
10022
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
10023
      lt_prog_compiler_wl='-Wl,'
 
10024
      lt_prog_compiler_pic='-KPIC'
 
10025
      lt_prog_compiler_static='-Bstatic'
 
10026
      ;;
 
10027
 
 
10028
    sysv4*MP*)
 
10029
      if test -d /usr/nec ;then
 
10030
        lt_prog_compiler_pic='-Kconform_pic'
 
10031
        lt_prog_compiler_static='-Bstatic'
 
10032
      fi
 
10033
      ;;
 
10034
 
 
10035
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
10036
      lt_prog_compiler_wl='-Wl,'
 
10037
      lt_prog_compiler_pic='-KPIC'
 
10038
      lt_prog_compiler_static='-Bstatic'
 
10039
      ;;
 
10040
 
 
10041
    unicos*)
 
10042
      lt_prog_compiler_wl='-Wl,'
 
10043
      lt_prog_compiler_can_build_shared=no
 
10044
      ;;
 
10045
 
 
10046
    uts4*)
 
10047
      lt_prog_compiler_pic='-pic'
 
10048
      lt_prog_compiler_static='-Bstatic'
 
10049
      ;;
 
10050
 
 
10051
    *)
 
10052
      lt_prog_compiler_can_build_shared=no
 
10053
      ;;
 
10054
    esac
 
10055
  fi
 
10056
 
 
10057
case $host_os in
 
10058
  # For platforms which do not support PIC, -DPIC is meaningless:
 
10059
  *djgpp*)
 
10060
    lt_prog_compiler_pic=
 
10061
    ;;
 
10062
  *)
 
10063
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
 
10064
    ;;
 
10065
esac
 
10066
 
 
10067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
10068
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
10069
if ${lt_cv_prog_compiler_pic+:} false; then :
 
10070
  $as_echo_n "(cached) " >&6
 
10071
else
 
10072
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
10073
fi
 
10074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
10075
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
10076
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
10077
 
 
10078
#
 
10079
# Check to make sure the PIC flag actually works.
 
10080
#
 
10081
if test -n "$lt_prog_compiler_pic"; then
 
10082
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
10083
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
10084
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
10085
  $as_echo_n "(cached) " >&6
 
10086
else
 
10087
  lt_cv_prog_compiler_pic_works=no
 
10088
   ac_outfile=conftest.$ac_objext
 
10089
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10090
   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
 
10091
   # Insert the option either (1) after the last *FLAGS variable, or
 
10092
   # (2) before a word containing "conftest.", or (3) at the end.
 
10093
   # Note that $ac_compile itself does not contain backslashes and begins
 
10094
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10095
   # The option is referenced via a variable to avoid confusing sed.
 
10096
   lt_compile=`echo "$ac_compile" | $SED \
 
10097
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10098
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10099
   -e 's:$: $lt_compiler_flag:'`
 
10100
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10101
   (eval "$lt_compile" 2>conftest.err)
 
10102
   ac_status=$?
 
10103
   cat conftest.err >&5
 
10104
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10105
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
10106
     # The compiler can only warn and ignore the option if not recognized
 
10107
     # So say no if there are warnings other than the usual output.
 
10108
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
10109
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10110
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
10111
       lt_cv_prog_compiler_pic_works=yes
 
10112
     fi
 
10113
   fi
 
10114
   $RM conftest*
 
10115
 
 
10116
fi
 
10117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
10118
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
10119
 
 
10120
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
10121
    case $lt_prog_compiler_pic in
 
10122
     "" | " "*) ;;
 
10123
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
10124
     esac
 
10125
else
 
10126
    lt_prog_compiler_pic=
 
10127
     lt_prog_compiler_can_build_shared=no
 
10128
fi
 
10129
 
 
10130
fi
 
10131
 
 
10132
    
 
10133
    
 
10134
    
 
10135
 
 
10136
 
 
10137
 
 
10138
    
 
10139
    
 
10140
    
 
10141
 
 
10142
#
 
10143
# Check to make sure the static flag actually works.
 
10144
#
 
10145
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
10146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
10147
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
10148
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
10149
  $as_echo_n "(cached) " >&6
 
10150
else
 
10151
  lt_cv_prog_compiler_static_works=no
 
10152
   save_LDFLAGS="$LDFLAGS"
 
10153
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
10154
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10155
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10156
     # The linker can only warn and ignore the option if not recognized
 
10157
     # So say no if there are warnings
 
10158
     if test -s conftest.err; then
 
10159
       # Append any errors to the config.log.
 
10160
       cat conftest.err 1>&5
 
10161
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10162
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10163
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10164
         lt_cv_prog_compiler_static_works=yes
 
10165
       fi
 
10166
     else
 
10167
       lt_cv_prog_compiler_static_works=yes
 
10168
     fi
 
10169
   fi
 
10170
   $RM -r conftest*
 
10171
   LDFLAGS="$save_LDFLAGS"
 
10172
 
 
10173
fi
 
10174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
10175
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
10176
 
 
10177
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
10178
    :
 
10179
else
 
10180
    lt_prog_compiler_static=
 
10181
fi
 
10182
 
 
10183
 
 
10184
    
 
10185
    
 
10186
    
 
10187
 
 
10188
 
 
10189
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10190
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10191
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
10192
  $as_echo_n "(cached) " >&6
 
10193
else
 
10194
  lt_cv_prog_compiler_c_o=no
 
10195
   $RM -r conftest 2>/dev/null
 
10196
   mkdir conftest
 
10197
   cd conftest
 
10198
   mkdir out
 
10199
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10200
 
 
10201
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10202
   # Insert the option either (1) after the last *FLAGS variable, or
 
10203
   # (2) before a word containing "conftest.", or (3) at the end.
 
10204
   # Note that $ac_compile itself does not contain backslashes and begins
 
10205
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10206
   lt_compile=`echo "$ac_compile" | $SED \
 
10207
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10208
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10209
   -e 's:$: $lt_compiler_flag:'`
 
10210
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10211
   (eval "$lt_compile" 2>out/conftest.err)
 
10212
   ac_status=$?
 
10213
   cat out/conftest.err >&5
 
10214
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10215
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10216
   then
 
10217
     # The compiler can only warn and ignore the option if not recognized
 
10218
     # So say no if there are warnings
 
10219
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
10220
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10221
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10222
       lt_cv_prog_compiler_c_o=yes
 
10223
     fi
 
10224
   fi
 
10225
   chmod u+w . 2>&5
 
10226
   $RM conftest*
 
10227
   # SGI C++ compiler will create directory out/ii_files/ for
 
10228
   # template instantiation
 
10229
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10230
   $RM out/* && rmdir out
 
10231
   cd ..
 
10232
   $RM -r conftest
 
10233
   $RM conftest*
 
10234
 
 
10235
fi
 
10236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10237
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10238
 
 
10239
    
 
10240
    
 
10241
    
 
10242
 
 
10243
 
 
10244
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10245
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10246
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
10247
  $as_echo_n "(cached) " >&6
 
10248
else
 
10249
  lt_cv_prog_compiler_c_o=no
 
10250
   $RM -r conftest 2>/dev/null
 
10251
   mkdir conftest
 
10252
   cd conftest
 
10253
   mkdir out
 
10254
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10255
 
 
10256
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10257
   # Insert the option either (1) after the last *FLAGS variable, or
 
10258
   # (2) before a word containing "conftest.", or (3) at the end.
 
10259
   # Note that $ac_compile itself does not contain backslashes and begins
 
10260
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10261
   lt_compile=`echo "$ac_compile" | $SED \
 
10262
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10263
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10264
   -e 's:$: $lt_compiler_flag:'`
 
10265
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10266
   (eval "$lt_compile" 2>out/conftest.err)
 
10267
   ac_status=$?
 
10268
   cat out/conftest.err >&5
 
10269
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10270
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10271
   then
 
10272
     # The compiler can only warn and ignore the option if not recognized
 
10273
     # So say no if there are warnings
 
10274
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
10275
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10276
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10277
       lt_cv_prog_compiler_c_o=yes
 
10278
     fi
 
10279
   fi
 
10280
   chmod u+w . 2>&5
 
10281
   $RM conftest*
 
10282
   # SGI C++ compiler will create directory out/ii_files/ for
 
10283
   # template instantiation
 
10284
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10285
   $RM out/* && rmdir out
 
10286
   cd ..
 
10287
   $RM -r conftest
 
10288
   $RM conftest*
 
10289
 
 
10290
fi
 
10291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10292
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10293
 
 
10294
 
 
10295
 
 
10296
 
 
10297
hard_links="nottested"
 
10298
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
10299
  # do not overwrite the value of need_locks provided by the user
 
10300
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
10301
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
10302
  hard_links=yes
 
10303
  $RM conftest*
 
10304
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10305
  touch conftest.a
 
10306
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
10307
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10308
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
10309
$as_echo "$hard_links" >&6; }
 
10310
  if test "$hard_links" = no; then
 
10311
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
10312
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
10313
    need_locks=warn
 
10314
  fi
 
10315
else
 
10316
  need_locks=no
 
10317
fi
 
10318
 
 
10319
    
 
10320
    
 
10321
    
 
10322
 
 
10323
 
 
10324
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10325
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
10326
 
 
10327
  runpath_var=
 
10328
  allow_undefined_flag=
 
10329
  always_export_symbols=no
 
10330
  archive_cmds=
 
10331
  archive_expsym_cmds=
 
10332
  compiler_needs_object=no
 
10333
  enable_shared_with_static_runtimes=no
 
10334
  export_dynamic_flag_spec=
 
10335
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
10336
  hardcode_automatic=no
 
10337
  hardcode_direct=no
 
10338
  hardcode_direct_absolute=no
 
10339
  hardcode_libdir_flag_spec=
 
10340
  hardcode_libdir_flag_spec_ld=
 
10341
  hardcode_libdir_separator=
 
10342
  hardcode_minus_L=no
 
10343
  hardcode_shlibpath_var=unsupported
 
10344
  inherit_rpath=no
 
10345
  link_all_deplibs=unknown
 
10346
  module_cmds=
 
10347
  module_expsym_cmds=
 
10348
  old_archive_from_new_cmds=
 
10349
  old_archive_from_expsyms_cmds=
 
10350
  thread_safe_flag_spec=
 
10351
  whole_archive_flag_spec=
 
10352
  # include_expsyms should be a list of space-separated symbols to be *always*
 
10353
  # included in the symbol list
 
10354
  include_expsyms=
 
10355
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
10356
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
10357
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
10358
  # as well as any symbol that contains `d'.
 
10359
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
10360
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
10361
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
10362
  # the symbol is explicitly referenced.  Since portable code cannot
 
10363
  # rely on this symbol name, it's probably fine to never include it in
 
10364
  # preloaded symbol tables.
 
10365
  # Exclude shared library initialization/finalization symbols.
 
10366
  extract_expsyms_cmds=
 
10367
 
 
10368
  case $host_os in
 
10369
  cygwin* | mingw* | pw32* | cegcc*)
 
10370
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
10371
    # When not using gcc, we currently assume that we are using
 
10372
    # Microsoft Visual C++.
 
10373
    if test "$GCC" != yes; then
 
10374
      with_gnu_ld=no
 
10375
    fi
 
10376
    ;;
 
10377
  interix*)
 
10378
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
10379
    with_gnu_ld=yes
 
10380
    ;;
 
10381
  openbsd*)
 
10382
    with_gnu_ld=no
 
10383
    ;;
 
10384
  linux* | k*bsd*-gnu | gnu*)
 
10385
    link_all_deplibs=no
 
10386
    ;;
 
10387
  esac
 
10388
 
 
10389
  ld_shlibs=yes
 
10390
 
 
10391
  # On some targets, GNU ld is compatible enough with the native linker
 
10392
  # that we're better off using the native interface for both.
 
10393
  lt_use_gnu_ld_interface=no
 
10394
  if test "$with_gnu_ld" = yes; then
 
10395
    case $host_os in
 
10396
      aix*)
 
10397
        # The AIX port of GNU ld has always aspired to compatibility
 
10398
        # with the native linker.  However, as the warning in the GNU ld
 
10399
        # block says, versions before 2.19.5* couldn't really create working
 
10400
        # shared libraries, regardless of the interface used.
 
10401
        case `$LD -v 2>&1` in
 
10402
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
10403
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
10404
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
10405
          *)
 
10406
            lt_use_gnu_ld_interface=yes
 
10407
            ;;
 
10408
        esac
 
10409
        ;;
 
10410
      *)
 
10411
        lt_use_gnu_ld_interface=yes
 
10412
        ;;
 
10413
    esac
 
10414
  fi
 
10415
 
 
10416
  if test "$lt_use_gnu_ld_interface" = yes; then
 
10417
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
10418
    wlarc='${wl}'
 
10419
 
 
10420
    # Set some defaults for GNU ld with shared library support. These
 
10421
    # are reset later if shared libraries are not supported. Putting them
 
10422
    # here allows them to be overridden if necessary.
 
10423
    runpath_var=LD_RUN_PATH
 
10424
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10425
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
10426
    # ancient GNU ld didn't support --whole-archive et. al.
 
10427
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
10428
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
10429
    else
 
10430
      whole_archive_flag_spec=
 
10431
    fi
 
10432
    supports_anon_versioning=no
 
10433
    case `$LD -v 2>&1` in
 
10434
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
10435
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
10436
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
10437
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
10438
      *\ 2.11.*) ;; # other 2.11 versions
 
10439
      *) supports_anon_versioning=yes ;;
 
10440
    esac
 
10441
 
 
10442
    # See if GNU ld supports shared libraries.
 
10443
    case $host_os in
 
10444
    aix[3-9]*)
 
10445
      # On AIX/PPC, the GNU linker is very broken
 
10446
      if test "$host_cpu" != ia64; then
 
10447
        ld_shlibs=no
 
10448
        cat <<_LT_EOF 1>&2
 
10449
 
 
10450
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
10451
*** to be unable to reliably create shared libraries on AIX.
 
10452
*** Therefore, libtool is disabling shared libraries support.  If you
 
10453
*** really care for shared libraries, you may want to install binutils
 
10454
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
10455
*** You will then need to restart the configuration process.
 
10456
 
 
10457
_LT_EOF
 
10458
      fi
 
10459
      ;;
 
10460
 
 
10461
    amigaos*)
 
10462
      case $host_cpu in
 
10463
      powerpc)
 
10464
            # see comment about AmigaOS4 .so support
 
10465
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10466
            archive_expsym_cmds=''
 
10467
        ;;
 
10468
      m68k)
 
10469
            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)'
 
10470
            hardcode_libdir_flag_spec='-L$libdir'
 
10471
            hardcode_minus_L=yes
 
10472
        ;;
 
10473
      esac
 
10474
      ;;
 
10475
 
 
10476
    beos*)
 
10477
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10478
        allow_undefined_flag=unsupported
 
10479
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
10480
        # support --undefined.  This deserves some investigation.  FIXME
 
10481
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10482
      else
 
10483
        ld_shlibs=no
 
10484
      fi
 
10485
      ;;
 
10486
 
 
10487
    cygwin* | mingw* | pw32* | cegcc*)
 
10488
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
10489
      # as there is no search path for DLLs.
 
10490
      hardcode_libdir_flag_spec='-L$libdir'
 
10491
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
10492
      allow_undefined_flag=unsupported
 
10493
      always_export_symbols=no
 
10494
      enable_shared_with_static_runtimes=yes
 
10495
      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'
 
10496
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
10497
 
 
10498
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
10499
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10500
        # If the export-symbols file already is a .def file (1st line
 
10501
        # is EXPORTS), use it as is; otherwise, prepend...
 
10502
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10503
          cp $export_symbols $output_objdir/$soname.def;
 
10504
        else
 
10505
          echo EXPORTS > $output_objdir/$soname.def;
 
10506
          cat $export_symbols >> $output_objdir/$soname.def;
 
10507
        fi~
 
10508
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10509
      else
 
10510
        ld_shlibs=no
 
10511
      fi
 
10512
      ;;
 
10513
 
 
10514
    haiku*)
 
10515
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10516
      link_all_deplibs=yes
 
10517
      ;;
 
10518
 
 
10519
    interix[3-9]*)
 
10520
      hardcode_direct=no
 
10521
      hardcode_shlibpath_var=no
 
10522
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10523
      export_dynamic_flag_spec='${wl}-E'
 
10524
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
10525
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
10526
      # default) and relocated if they conflict, which is a slow very memory
 
10527
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
10528
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
10529
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
10530
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
10531
      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'
 
10532
      ;;
 
10533
 
 
10534
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
10535
      tmp_diet=no
 
10536
      if test "$host_os" = linux-dietlibc; then
 
10537
        case $cc_basename in
 
10538
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
10539
        esac
 
10540
      fi
 
10541
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
10542
         && test "$tmp_diet" = no
 
10543
      then
 
10544
        tmp_addflag=' $pic_flag'
 
10545
        tmp_sharedflag='-shared'
 
10546
        case $cc_basename,$host_cpu in
 
10547
        pgcc*)                          # Portland Group C compiler
 
10548
          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'
 
10549
          tmp_addflag=' $pic_flag'
 
10550
          ;;
 
10551
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
10552
                                        # Portland Group f77 and f90 compilers
 
10553
          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'
 
10554
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
10555
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
10556
          tmp_addflag=' -i_dynamic' ;;
 
10557
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
10558
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
10559
        ifc* | ifort*)                  # Intel Fortran compiler
 
10560
          tmp_addflag=' -nofor_main' ;;
 
10561
        lf95*)                          # Lahey Fortran 8.1
 
10562
          whole_archive_flag_spec=
 
10563
          tmp_sharedflag='--shared' ;;
 
10564
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
10565
          tmp_sharedflag='-qmkshrobj'
 
10566
          tmp_addflag= ;;
 
10567
        nvcc*)  # Cuda Compiler Driver 2.2
 
10568
          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'
 
10569
          compiler_needs_object=yes
 
10570
          ;;
 
10571
        esac
 
10572
        case `$CC -V 2>&1 | sed 5q` in
 
10573
        *Sun\ C*)                       # Sun C 5.9
 
10574
          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'
 
10575
          compiler_needs_object=yes
 
10576
          tmp_sharedflag='-G' ;;
 
10577
        *Sun\ F*)                       # Sun Fortran 8.3
 
10578
          tmp_sharedflag='-G' ;;
 
10579
        esac
 
10580
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10581
 
 
10582
        if test "x$supports_anon_versioning" = xyes; then
 
10583
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10584
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10585
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
10586
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
10587
        fi
 
10588
 
 
10589
        case $cc_basename in
 
10590
        xlf* | bgf* | bgxlf* | mpixlf*)
 
10591
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
10592
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
10593
          hardcode_libdir_flag_spec=
 
10594
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
10595
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
10596
          if test "x$supports_anon_versioning" = xyes; then
 
10597
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
10598
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
10599
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
10600
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
10601
          fi
 
10602
          ;;
 
10603
        esac
 
10604
      else
 
10605
        ld_shlibs=no
 
10606
      fi
 
10607
      ;;
 
10608
 
 
10609
    netbsd* | netbsdelf*-gnu)
 
10610
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10611
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
10612
        wlarc=
 
10613
      else
 
10614
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10615
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10616
      fi
 
10617
      ;;
 
10618
 
 
10619
    solaris*)
 
10620
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
10621
        ld_shlibs=no
 
10622
        cat <<_LT_EOF 1>&2
 
10623
 
 
10624
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
10625
*** create shared libraries on Solaris systems.  Therefore, libtool
 
10626
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
10627
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
10628
*** your PATH or compiler configuration so that the native linker is
 
10629
*** used, and then restart.
 
10630
 
 
10631
_LT_EOF
 
10632
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10633
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10634
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10635
      else
 
10636
        ld_shlibs=no
 
10637
      fi
 
10638
      ;;
 
10639
 
 
10640
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
10641
      case `$LD -v 2>&1` in
 
10642
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
10643
        ld_shlibs=no
 
10644
        cat <<_LT_EOF 1>&2
 
10645
 
 
10646
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
10647
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
10648
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
10649
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
10650
*** your PATH or compiler configuration so that the native linker is
 
10651
*** used, and then restart.
 
10652
 
 
10653
_LT_EOF
 
10654
        ;;
 
10655
        *)
 
10656
          # For security reasons, it is highly recommended that you always
 
10657
          # use absolute paths for naming shared libraries, and exclude the
 
10658
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
10659
          # requires that you compile everything twice, which is a pain.
 
10660
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10661
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10662
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10663
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10664
          else
 
10665
            ld_shlibs=no
 
10666
          fi
 
10667
        ;;
 
10668
      esac
 
10669
      ;;
 
10670
 
 
10671
    sunos4*)
 
10672
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10673
      wlarc=
 
10674
      hardcode_direct=yes
 
10675
      hardcode_shlibpath_var=no
 
10676
      ;;
 
10677
 
 
10678
    *)
 
10679
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10680
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10681
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10682
      else
 
10683
        ld_shlibs=no
 
10684
      fi
 
10685
      ;;
 
10686
    esac
 
10687
 
 
10688
    if test "$ld_shlibs" = no; then
 
10689
      runpath_var=
 
10690
      hardcode_libdir_flag_spec=
 
10691
      export_dynamic_flag_spec=
 
10692
      whole_archive_flag_spec=
 
10693
    fi
 
10694
  else
 
10695
    # PORTME fill in a description of your system's linker (not GNU ld)
 
10696
    case $host_os in
 
10697
    aix3*)
 
10698
      allow_undefined_flag=unsupported
 
10699
      always_export_symbols=yes
 
10700
      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'
 
10701
      # Note: this linker hardcodes the directories in LIBPATH if there
 
10702
      # are no directories specified by -L.
 
10703
      hardcode_minus_L=yes
 
10704
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
10705
        # Neither direct hardcoding nor static linking is supported with a
 
10706
        # broken collect2.
 
10707
        hardcode_direct=unsupported
 
10708
      fi
 
10709
      ;;
 
10710
 
 
10711
    aix[4-9]*)
 
10712
      if test "$host_cpu" = ia64; then
 
10713
        # On IA64, the linker does run time linking by default, so we don't
 
10714
        # have to do anything special.
 
10715
        aix_use_runtimelinking=no
 
10716
        exp_sym_flag='-Bexport'
 
10717
        no_entry_flag=""
 
10718
      else
 
10719
        # If we're using GNU nm, then we don't want the "-C" option.
 
10720
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
10721
        # Also, AIX nm treats weak defined symbols like other global
 
10722
        # defined symbols, whereas GNU nm marks them as "W".
 
10723
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
10724
          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'
 
10725
        else
 
10726
          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'
 
10727
        fi
 
10728
        aix_use_runtimelinking=no
 
10729
 
 
10730
        # Test if we are trying to use run time linking or normal
 
10731
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
10732
        # need to do runtime linking.
 
10733
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
10734
          for ld_flag in $LDFLAGS; do
 
10735
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
10736
            aix_use_runtimelinking=yes
 
10737
            break
 
10738
          fi
 
10739
          done
 
10740
          ;;
 
10741
        esac
 
10742
 
 
10743
        exp_sym_flag='-bexport'
 
10744
        no_entry_flag='-bnoentry'
 
10745
      fi
 
10746
 
 
10747
      # When large executables or shared objects are built, AIX ld can
 
10748
      # have problems creating the table of contents.  If linking a library
 
10749
      # or program results in "error TOC overflow" add -mminimal-toc to
 
10750
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
10751
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
10752
 
 
10753
      archive_cmds=''
 
10754
      hardcode_direct=yes
 
10755
      hardcode_direct_absolute=yes
 
10756
      hardcode_libdir_separator=':'
 
10757
      link_all_deplibs=yes
 
10758
      file_list_spec='${wl}-f,'
 
10759
 
 
10760
      if test "$GCC" = yes; then
 
10761
        case $host_os in aix4.[012]|aix4.[012].*)
 
10762
        # We only want to do this on AIX 4.2 and lower, the check
 
10763
        # below for broken collect2 doesn't work under 4.3+
 
10764
          collect2name=`${CC} -print-prog-name=collect2`
 
10765
          if test -f "$collect2name" &&
 
10766
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
10767
          then
 
10768
          # We have reworked collect2
 
10769
          :
 
10770
          else
 
10771
          # We have old collect2
 
10772
          hardcode_direct=unsupported
 
10773
          # It fails to find uninstalled libraries when the uninstalled
 
10774
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
10775
          # to unsupported forces relinking
 
10776
          hardcode_minus_L=yes
 
10777
          hardcode_libdir_flag_spec='-L$libdir'
 
10778
          hardcode_libdir_separator=
 
10779
          fi
 
10780
          ;;
 
10781
        esac
 
10782
        shared_flag='-shared'
 
10783
        if test "$aix_use_runtimelinking" = yes; then
 
10784
          shared_flag="$shared_flag "'${wl}-G'
 
10785
        fi
 
10786
        link_all_deplibs=no
 
10787
      else
 
10788
        # not using gcc
 
10789
        if test "$host_cpu" = ia64; then
 
10790
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
10791
        # chokes on -Wl,-G. The following line is correct:
 
10792
          shared_flag='-G'
 
10793
        else
 
10794
          if test "$aix_use_runtimelinking" = yes; then
 
10795
            shared_flag='${wl}-G'
 
10796
          else
 
10797
            shared_flag='${wl}-bM:SRE'
 
10798
          fi
 
10799
        fi
 
10800
      fi
 
10801
 
 
10802
      export_dynamic_flag_spec='${wl}-bexpall'
 
10803
      # It seems that -bexpall does not export symbols beginning with
 
10804
      # underscore (_), so it is better to generate a list of symbols to export.
 
10805
      always_export_symbols=yes
 
10806
      if test "$aix_use_runtimelinking" = yes; then
 
10807
        # Warning - without using the other runtime loading flags (-brtl),
 
10808
        # -berok will link without error, but may produce a broken library.
 
10809
        allow_undefined_flag='-berok'
 
10810
        # Determine the default libpath from the value encoded in an
 
10811
        # empty executable.
 
10812
        if test "${lt_cv_aix_libpath+set}" = set; then
 
10813
  aix_libpath=$lt_cv_aix_libpath
 
10814
else
 
10815
  if ${lt_cv_aix_libpath_+:} false; then :
 
10816
  $as_echo_n "(cached) " >&6
 
10817
else
 
10818
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10819
/* end confdefs.h.  */
 
10820
 
 
10821
int
 
10822
main ()
 
10823
{
 
10824
 
 
10825
  ;
 
10826
  return 0;
 
10827
}
 
10828
_ACEOF
 
10829
if ac_fn_c_try_link "$LINENO"; then :
 
10830
  
 
10831
  lt_aix_libpath_sed='
 
10832
      /Import File Strings/,/^$/ {
 
10833
          /^0/ {
 
10834
              s/^0  *\([^ ]*\) *$/\1/
 
10835
              p
 
10836
          }
 
10837
      }'
 
10838
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10839
  # Check for a 64-bit object if we didn't find anything.
 
10840
  if test -z "$lt_cv_aix_libpath_"; then
 
10841
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10842
  fi
 
10843
fi
 
10844
rm -f core conftest.err conftest.$ac_objext \
 
10845
    conftest$ac_exeext conftest.$ac_ext
 
10846
  if test -z "$lt_cv_aix_libpath_"; then
 
10847
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10848
  fi
 
10849
  
 
10850
fi
 
10851
 
 
10852
  aix_libpath=$lt_cv_aix_libpath_
 
10853
fi
 
10854
 
 
10855
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
10856
        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"
 
10857
      else
 
10858
        if test "$host_cpu" = ia64; then
 
10859
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
10860
          allow_undefined_flag="-z nodefs"
 
10861
          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"
 
10862
        else
 
10863
         # Determine the default libpath from the value encoded in an
 
10864
         # empty executable.
 
10865
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10866
  aix_libpath=$lt_cv_aix_libpath
 
10867
else
 
10868
  if ${lt_cv_aix_libpath_+:} false; then :
 
10869
  $as_echo_n "(cached) " >&6
 
10870
else
 
10871
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10872
/* end confdefs.h.  */
 
10873
 
 
10874
int
 
10875
main ()
 
10876
{
 
10877
 
 
10878
  ;
 
10879
  return 0;
 
10880
}
 
10881
_ACEOF
 
10882
if ac_fn_c_try_link "$LINENO"; then :
 
10883
  
 
10884
  lt_aix_libpath_sed='
 
10885
      /Import File Strings/,/^$/ {
 
10886
          /^0/ {
 
10887
              s/^0  *\([^ ]*\) *$/\1/
 
10888
              p
 
10889
          }
 
10890
      }'
 
10891
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10892
  # Check for a 64-bit object if we didn't find anything.
 
10893
  if test -z "$lt_cv_aix_libpath_"; then
 
10894
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10895
  fi
 
10896
fi
 
10897
rm -f core conftest.err conftest.$ac_objext \
 
10898
    conftest$ac_exeext conftest.$ac_ext
 
10899
  if test -z "$lt_cv_aix_libpath_"; then
 
10900
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10901
  fi
 
10902
  
 
10903
fi
 
10904
 
 
10905
  aix_libpath=$lt_cv_aix_libpath_
 
10906
fi
 
10907
 
 
10908
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
10909
          # Warning - without using the other run time loading flags,
 
10910
          # -berok will link without error, but may produce a broken library.
 
10911
          no_undefined_flag=' ${wl}-bernotok'
 
10912
          allow_undefined_flag=' ${wl}-berok'
 
10913
          if test "$with_gnu_ld" = yes; then
 
10914
            # We only use this code for GNU lds that support --whole-archive.
 
10915
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
10916
          else
 
10917
            # Exported symbols can be pulled into shared objects from archives
 
10918
            whole_archive_flag_spec='$convenience'
 
10919
          fi
 
10920
          archive_cmds_need_lc=yes
 
10921
          # This is similar to how AIX traditionally builds its shared libraries.
 
10922
          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'
 
10923
        fi
 
10924
      fi
 
10925
      ;;
 
10926
 
 
10927
    amigaos*)
 
10928
      case $host_cpu in
 
10929
      powerpc)
 
10930
            # see comment about AmigaOS4 .so support
 
10931
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10932
            archive_expsym_cmds=''
 
10933
        ;;
 
10934
      m68k)
 
10935
            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)'
 
10936
            hardcode_libdir_flag_spec='-L$libdir'
 
10937
            hardcode_minus_L=yes
 
10938
        ;;
 
10939
      esac
 
10940
      ;;
 
10941
 
 
10942
    bsdi[45]*)
 
10943
      export_dynamic_flag_spec=-rdynamic
 
10944
      ;;
 
10945
 
 
10946
    cygwin* | mingw* | pw32* | cegcc*)
 
10947
      # When not using gcc, we currently assume that we are using
 
10948
      # Microsoft Visual C++.
 
10949
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
10950
      # no search path for DLLs.
 
10951
      case $cc_basename in
 
10952
      cl*)
 
10953
        # Native MSVC
 
10954
        hardcode_libdir_flag_spec=' '
 
10955
        allow_undefined_flag=unsupported
 
10956
        always_export_symbols=yes
 
10957
        file_list_spec='@'
 
10958
        # Tell ltmain to make .lib files, not .a files.
 
10959
        libext=lib
 
10960
        # Tell ltmain to make .dll files, not .so files.
 
10961
        shrext_cmds=".dll"
 
10962
        # FIXME: Setting linknames here is a bad hack.
 
10963
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10964
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10965
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10966
          else
 
10967
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10968
          fi~
 
10969
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10970
          linknames='
 
10971
        # The linker will not automatically build a static lib if we build a DLL.
 
10972
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10973
        enable_shared_with_static_runtimes=yes
 
10974
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10975
        # Don't use ranlib
 
10976
        old_postinstall_cmds='chmod 644 $oldlib'
 
10977
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10978
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10979
          case $lt_outputfile in
 
10980
            *.exe|*.EXE) ;;
 
10981
            *)
 
10982
              lt_outputfile="$lt_outputfile.exe"
 
10983
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10984
              ;;
 
10985
          esac~
 
10986
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10987
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10988
            $RM "$lt_outputfile.manifest";
 
10989
          fi'
 
10990
        ;;
 
10991
      *)
 
10992
        # Assume MSVC wrapper
 
10993
        hardcode_libdir_flag_spec=' '
 
10994
        allow_undefined_flag=unsupported
 
10995
        # Tell ltmain to make .lib files, not .a files.
 
10996
        libext=lib
 
10997
        # Tell ltmain to make .dll files, not .so files.
 
10998
        shrext_cmds=".dll"
 
10999
        # FIXME: Setting linknames here is a bad hack.
 
11000
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
11001
        # The linker will automatically build a .lib file if we build a DLL.
 
11002
        old_archive_from_new_cmds='true'
 
11003
        # FIXME: Should let the user specify the lib program.
 
11004
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
11005
        enable_shared_with_static_runtimes=yes
 
11006
        ;;
 
11007
      esac
 
11008
      ;;
 
11009
 
 
11010
    darwin* | rhapsody*)
 
11011
      
 
11012
  
 
11013
  archive_cmds_need_lc=no
 
11014
  hardcode_direct=no
 
11015
  hardcode_automatic=yes
 
11016
  hardcode_shlibpath_var=unsupported
 
11017
  if test "$lt_cv_ld_force_load" = "yes"; then
 
11018
    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\"`'
 
11019
  else
 
11020
    whole_archive_flag_spec=''
 
11021
  fi
 
11022
  link_all_deplibs=yes
 
11023
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
11024
  case $cc_basename in
 
11025
     ifort*) _lt_dar_can_shared=yes ;;
 
11026
     *) _lt_dar_can_shared=$GCC ;;
 
11027
  esac
 
11028
  if test "$_lt_dar_can_shared" = "yes"; then
 
11029
    output_verbose_link_cmd=func_echo_all
 
11030
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
11031
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11032
    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}"
 
11033
    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}"
 
11034
    
 
11035
  else
 
11036
  ld_shlibs=no
 
11037
  fi
 
11038
 
 
11039
      ;;
 
11040
 
 
11041
    dgux*)
 
11042
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11043
      hardcode_libdir_flag_spec='-L$libdir'
 
11044
      hardcode_shlibpath_var=no
 
11045
      ;;
 
11046
 
 
11047
    freebsd1*)
 
11048
      ld_shlibs=no
 
11049
      ;;
 
11050
 
 
11051
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
11052
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
11053
    # does not break anything, and helps significantly (at the cost of a little
 
11054
    # extra space).
 
11055
    freebsd2.2*)
 
11056
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
11057
      hardcode_libdir_flag_spec='-R$libdir'
 
11058
      hardcode_direct=yes
 
11059
      hardcode_shlibpath_var=no
 
11060
      ;;
 
11061
 
 
11062
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
11063
    freebsd2*)
 
11064
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11065
      hardcode_direct=yes
 
11066
      hardcode_minus_L=yes
 
11067
      hardcode_shlibpath_var=no
 
11068
      ;;
 
11069
 
 
11070
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
11071
    freebsd* | dragonfly*)
 
11072
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11073
      hardcode_libdir_flag_spec='-R$libdir'
 
11074
      hardcode_direct=yes
 
11075
      hardcode_shlibpath_var=no
 
11076
      ;;
 
11077
 
 
11078
    hpux9*)
 
11079
      if test "$GCC" = yes; then
 
11080
        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'
 
11081
      else
 
11082
        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'
 
11083
      fi
 
11084
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11085
      hardcode_libdir_separator=:
 
11086
      hardcode_direct=yes
 
11087
 
 
11088
      # hardcode_minus_L: Not really in the search PATH,
 
11089
      # but as the default location of the library.
 
11090
      hardcode_minus_L=yes
 
11091
      export_dynamic_flag_spec='${wl}-E'
 
11092
      ;;
 
11093
 
 
11094
    hpux10*)
 
11095
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11096
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11097
      else
 
11098
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11099
      fi
 
11100
      if test "$with_gnu_ld" = no; then
 
11101
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11102
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
11103
        hardcode_libdir_separator=:
 
11104
        hardcode_direct=yes
 
11105
        hardcode_direct_absolute=yes
 
11106
        export_dynamic_flag_spec='${wl}-E'
 
11107
        # hardcode_minus_L: Not really in the search PATH,
 
11108
        # but as the default location of the library.
 
11109
        hardcode_minus_L=yes
 
11110
      fi
 
11111
      ;;
 
11112
 
 
11113
    hpux11*)
 
11114
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11115
        case $host_cpu in
 
11116
        hppa*64*)
 
11117
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11118
          ;;
 
11119
        ia64*)
 
11120
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11121
          ;;
 
11122
        *)
 
11123
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11124
          ;;
 
11125
        esac
 
11126
      else
 
11127
        case $host_cpu in
 
11128
        hppa*64*)
 
11129
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11130
          ;;
 
11131
        ia64*)
 
11132
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11133
          ;;
 
11134
        *)
 
11135
        
 
11136
          # Older versions of the 11.00 compiler do not understand -b yet
 
11137
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
11138
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
11139
$as_echo_n "checking if $CC understands -b... " >&6; }
 
11140
if ${lt_cv_prog_compiler__b+:} false; then :
 
11141
  $as_echo_n "(cached) " >&6
 
11142
else
 
11143
  lt_cv_prog_compiler__b=no
 
11144
   save_LDFLAGS="$LDFLAGS"
 
11145
   LDFLAGS="$LDFLAGS -b"
 
11146
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
11147
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
11148
     # The linker can only warn and ignore the option if not recognized
 
11149
     # So say no if there are warnings
 
11150
     if test -s conftest.err; then
 
11151
       # Append any errors to the config.log.
 
11152
       cat conftest.err 1>&5
 
11153
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
11154
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11155
       if diff conftest.exp conftest.er2 >/dev/null; then
 
11156
         lt_cv_prog_compiler__b=yes
 
11157
       fi
 
11158
     else
 
11159
       lt_cv_prog_compiler__b=yes
 
11160
     fi
 
11161
   fi
 
11162
   $RM -r conftest*
 
11163
   LDFLAGS="$save_LDFLAGS"
 
11164
 
 
11165
fi
 
11166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
11167
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
11168
 
 
11169
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
11170
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11171
else
 
11172
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11173
fi
 
11174
 
 
11175
          ;;
 
11176
        esac
 
11177
      fi
 
11178
      if test "$with_gnu_ld" = no; then
 
11179
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11180
        hardcode_libdir_separator=:
 
11181
 
 
11182
        case $host_cpu in
 
11183
        hppa*64*|ia64*)
 
11184
          hardcode_direct=no
 
11185
          hardcode_shlibpath_var=no
 
11186
          ;;
 
11187
        *)
 
11188
          hardcode_direct=yes
 
11189
          hardcode_direct_absolute=yes
 
11190
          export_dynamic_flag_spec='${wl}-E'
 
11191
 
 
11192
          # hardcode_minus_L: Not really in the search PATH,
 
11193
          # but as the default location of the library.
 
11194
          hardcode_minus_L=yes
 
11195
          ;;
 
11196
        esac
 
11197
      fi
 
11198
      ;;
 
11199
 
 
11200
    irix5* | irix6* | nonstopux*)
 
11201
      if test "$GCC" = yes; then
 
11202
        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'
 
11203
        # Try to use the -exported_symbol ld option, if it does not
 
11204
        # work, assume that -exports_file does not work either and
 
11205
        # implicitly export all symbols.
 
11206
        # This should be the same for all languages, so no per-tag cache variable.
 
11207
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
11208
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
11209
if ${lt_cv_irix_exported_symbol+:} false; then :
 
11210
  $as_echo_n "(cached) " >&6
 
11211
else
 
11212
  save_LDFLAGS="$LDFLAGS"
 
11213
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11214
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11215
/* end confdefs.h.  */
 
11216
int foo (void) { return 0; }
 
11217
_ACEOF
 
11218
if ac_fn_c_try_link "$LINENO"; then :
 
11219
  lt_cv_irix_exported_symbol=yes
 
11220
else
 
11221
  lt_cv_irix_exported_symbol=no
 
11222
fi
 
11223
rm -f core conftest.err conftest.$ac_objext \
 
11224
    conftest$ac_exeext conftest.$ac_ext
 
11225
           LDFLAGS="$save_LDFLAGS"
 
11226
fi
 
11227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
11228
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
11229
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
11230
          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'
 
11231
        fi
 
11232
      else
 
11233
        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'
 
11234
        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'
 
11235
      fi
 
11236
      archive_cmds_need_lc='no'
 
11237
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11238
      hardcode_libdir_separator=:
 
11239
      inherit_rpath=yes
 
11240
      link_all_deplibs=yes
 
11241
      ;;
 
11242
 
 
11243
    netbsd* | netbsdelf*-gnu)
 
11244
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11245
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
11246
      else
 
11247
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
11248
      fi
 
11249
      hardcode_libdir_flag_spec='-R$libdir'
 
11250
      hardcode_direct=yes
 
11251
      hardcode_shlibpath_var=no
 
11252
      ;;
 
11253
 
 
11254
    newsos6)
 
11255
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11256
      hardcode_direct=yes
 
11257
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11258
      hardcode_libdir_separator=:
 
11259
      hardcode_shlibpath_var=no
 
11260
      ;;
 
11261
 
 
11262
    *nto* | *qnx*)
 
11263
      ;;
 
11264
 
 
11265
    openbsd*)
 
11266
      if test -f /usr/libexec/ld.so; then
 
11267
        hardcode_direct=yes
 
11268
        hardcode_shlibpath_var=no
 
11269
        hardcode_direct_absolute=yes
 
11270
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11271
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11272
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
11273
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11274
          export_dynamic_flag_spec='${wl}-E'
 
11275
        else
 
11276
          case $host_os in
 
11277
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
11278
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11279
             hardcode_libdir_flag_spec='-R$libdir'
 
11280
             ;;
 
11281
           *)
 
11282
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11283
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11284
             ;;
 
11285
          esac
 
11286
        fi
 
11287
      else
 
11288
        ld_shlibs=no
 
11289
      fi
 
11290
      ;;
 
11291
 
 
11292
    os2*)
 
11293
      hardcode_libdir_flag_spec='-L$libdir'
 
11294
      hardcode_minus_L=yes
 
11295
      allow_undefined_flag=unsupported
 
11296
      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'
 
11297
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
11298
      ;;
 
11299
 
 
11300
    osf3*)
 
11301
      if test "$GCC" = yes; then
 
11302
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11303
        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'
 
11304
      else
 
11305
        allow_undefined_flag=' -expect_unresolved \*'
 
11306
        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'
 
11307
      fi
 
11308
      archive_cmds_need_lc='no'
 
11309
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11310
      hardcode_libdir_separator=:
 
11311
      ;;
 
11312
 
 
11313
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
11314
      if test "$GCC" = yes; then
 
11315
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11316
        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'
 
11317
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11318
      else
 
11319
        allow_undefined_flag=' -expect_unresolved \*'
 
11320
        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'
 
11321
        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~
 
11322
        $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'
 
11323
 
 
11324
        # Both c and cxx compiler support -rpath directly
 
11325
        hardcode_libdir_flag_spec='-rpath $libdir'
 
11326
      fi
 
11327
      archive_cmds_need_lc='no'
 
11328
      hardcode_libdir_separator=:
 
11329
      ;;
 
11330
 
 
11331
    solaris*)
 
11332
      no_undefined_flag=' -z defs'
 
11333
      if test "$GCC" = yes; then
 
11334
        wlarc='${wl}'
 
11335
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11336
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11337
          $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'
 
11338
      else
 
11339
        case `$CC -V 2>&1` in
 
11340
        *"Compilers 5.0"*)
 
11341
          wlarc=''
 
11342
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11343
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11344
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
11345
          ;;
 
11346
        *)
 
11347
          wlarc='${wl}'
 
11348
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11349
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11350
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11351
          ;;
 
11352
        esac
 
11353
      fi
 
11354
      hardcode_libdir_flag_spec='-R$libdir'
 
11355
      hardcode_shlibpath_var=no
 
11356
      case $host_os in
 
11357
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
11358
      *)
 
11359
        # The compiler driver will combine and reorder linker options,
 
11360
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
11361
        # but is careful enough not to reorder.
 
11362
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
11363
        if test "$GCC" = yes; then
 
11364
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11365
        else
 
11366
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
11367
        fi
 
11368
        ;;
 
11369
      esac
 
11370
      link_all_deplibs=yes
 
11371
      ;;
 
11372
 
 
11373
    sunos4*)
 
11374
      if test "x$host_vendor" = xsequent; then
 
11375
        # Use $CC to link under sequent, because it throws in some extra .o
 
11376
        # files that make .init and .fini sections work.
 
11377
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11378
      else
 
11379
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
11380
      fi
 
11381
      hardcode_libdir_flag_spec='-L$libdir'
 
11382
      hardcode_direct=yes
 
11383
      hardcode_minus_L=yes
 
11384
      hardcode_shlibpath_var=no
 
11385
      ;;
 
11386
 
 
11387
    sysv4)
 
11388
      case $host_vendor in
 
11389
        sni)
 
11390
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11391
          hardcode_direct=yes # is this really true???
 
11392
        ;;
 
11393
        siemens)
 
11394
          ## LD is ld it makes a PLAMLIB
 
11395
          ## CC just makes a GrossModule.
 
11396
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
11397
          reload_cmds='$CC -r -o $output$reload_objs'
 
11398
          hardcode_direct=no
 
11399
        ;;
 
11400
        motorola)
 
11401
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11402
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
11403
        ;;
 
11404
      esac
 
11405
      runpath_var='LD_RUN_PATH'
 
11406
      hardcode_shlibpath_var=no
 
11407
      ;;
 
11408
 
 
11409
    sysv4.3*)
 
11410
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11411
      hardcode_shlibpath_var=no
 
11412
      export_dynamic_flag_spec='-Bexport'
 
11413
      ;;
 
11414
 
 
11415
    sysv4*MP*)
 
11416
      if test -d /usr/nec; then
 
11417
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11418
        hardcode_shlibpath_var=no
 
11419
        runpath_var=LD_RUN_PATH
 
11420
        hardcode_runpath_var=yes
 
11421
        ld_shlibs=yes
 
11422
      fi
 
11423
      ;;
 
11424
 
 
11425
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
11426
      no_undefined_flag='${wl}-z,text'
 
11427
      archive_cmds_need_lc=no
 
11428
      hardcode_shlibpath_var=no
 
11429
      runpath_var='LD_RUN_PATH'
 
11430
 
 
11431
      if test "$GCC" = yes; then
 
11432
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11433
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11434
      else
 
11435
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11436
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11437
      fi
 
11438
      ;;
 
11439
 
 
11440
    sysv5* | sco3.2v5* | sco5v6*)
 
11441
      # Note: We can NOT use -z defs as we might desire, because we do not
 
11442
      # link with -lc, and that would cause any symbols used from libc to
 
11443
      # always be unresolved, which means just about no library would
 
11444
      # ever link correctly.  If we're not using GNU ld we use -z text
 
11445
      # though, which does catch some bad symbols but isn't as heavy-handed
 
11446
      # as -z defs.
 
11447
      no_undefined_flag='${wl}-z,text'
 
11448
      allow_undefined_flag='${wl}-z,nodefs'
 
11449
      archive_cmds_need_lc=no
 
11450
      hardcode_shlibpath_var=no
 
11451
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
11452
      hardcode_libdir_separator=':'
 
11453
      link_all_deplibs=yes
 
11454
      export_dynamic_flag_spec='${wl}-Bexport'
 
11455
      runpath_var='LD_RUN_PATH'
 
11456
 
 
11457
      if test "$GCC" = yes; then
 
11458
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11459
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11460
      else
 
11461
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11462
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11463
      fi
 
11464
      ;;
 
11465
 
 
11466
    uts4*)
 
11467
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11468
      hardcode_libdir_flag_spec='-L$libdir'
 
11469
      hardcode_shlibpath_var=no
 
11470
      ;;
 
11471
 
 
11472
    *)
 
11473
      ld_shlibs=no
 
11474
      ;;
 
11475
    esac
 
11476
 
 
11477
    if test x$host_vendor = xsni; then
 
11478
      case $host in
 
11479
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
11480
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
11481
        ;;
 
11482
      esac
 
11483
    fi
 
11484
  fi
 
11485
 
 
11486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
11487
$as_echo "$ld_shlibs" >&6; }
 
11488
test "$ld_shlibs" = no && can_build_shared=no
 
11489
 
 
11490
with_gnu_ld=$with_gnu_ld
 
11491
 
 
11492
 
 
11493
    
 
11494
    
 
11495
    
 
11496
 
 
11497
    
 
11498
    
 
11499
    
 
11500
 
 
11501
    
 
11502
    
 
11503
    
 
11504
 
 
11505
 
 
11506
#
 
11507
# Do we need to explicitly link libc?
 
11508
#
 
11509
case "x$archive_cmds_need_lc" in
 
11510
x|xyes)
 
11511
  # Assume -lc should be added
 
11512
  archive_cmds_need_lc=yes
 
11513
 
 
11514
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
11515
    case $archive_cmds in
 
11516
    *'~'*)
 
11517
      # FIXME: we may have to deal with multi-command sequences.
 
11518
      ;;
 
11519
    '$CC '*)
 
11520
      # Test whether the compiler implicitly links with -lc since on some
 
11521
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
11522
      # to ld, don't add -lc before -lgcc.
 
11523
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
11524
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
11525
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
11526
  $as_echo_n "(cached) " >&6
 
11527
else
 
11528
  $RM conftest*
 
11529
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11530
 
 
11531
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
11532
  (eval $ac_compile) 2>&5
 
11533
  ac_status=$?
 
11534
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11535
  test $ac_status = 0; } 2>conftest.err; then
 
11536
          soname=conftest
 
11537
          lib=conftest
 
11538
          libobjs=conftest.$ac_objext
 
11539
          deplibs=
 
11540
          wl=$lt_prog_compiler_wl
 
11541
          pic_flag=$lt_prog_compiler_pic
 
11542
          compiler_flags=-v
 
11543
          linker_flags=-v
 
11544
          verstring=
 
11545
          output_objdir=.
 
11546
          libname=conftest
 
11547
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
11548
          allow_undefined_flag=
 
11549
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
11550
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
11551
  ac_status=$?
 
11552
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11553
  test $ac_status = 0; }
 
11554
          then
 
11555
            lt_cv_archive_cmds_need_lc=no
 
11556
          else
 
11557
            lt_cv_archive_cmds_need_lc=yes
 
11558
          fi
 
11559
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
11560
        else
 
11561
          cat conftest.err 1>&5
 
11562
        fi
 
11563
        $RM conftest*
 
11564
        
 
11565
fi
 
11566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
11567
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
11568
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
11569
      ;;
 
11570
    esac
 
11571
  fi
 
11572
  ;;
 
11573
esac
 
11574
 
 
11575
 
 
11576
    
 
11577
    
 
11578
    
 
11579
 
 
11580
 
 
11581
    
 
11582
    
 
11583
    
 
11584
 
 
11585
 
 
11586
    
 
11587
    
 
11588
    
 
11589
 
 
11590
 
 
11591
    
 
11592
    
 
11593
    
 
11594
 
 
11595
 
 
11596
    
 
11597
    
 
11598
    
 
11599
 
 
11600
 
 
11601
    
 
11602
    
 
11603
    
 
11604
 
 
11605
 
 
11606
    
 
11607
    
 
11608
    
 
11609
 
 
11610
 
 
11611
    
 
11612
    
 
11613
    
 
11614
 
 
11615
 
 
11616
    
 
11617
    
 
11618
    
 
11619
 
 
11620
 
 
11621
    
 
11622
    
 
11623
    
 
11624
 
 
11625
 
 
11626
    
 
11627
    
 
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
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
11732
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
11733
 
 
11734
if test "$GCC" = yes; then
 
11735
  case $host_os in
 
11736
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
11737
    *) lt_awk_arg="/^libraries:/" ;;
 
11738
  esac
 
11739
  case $host_os in
 
11740
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
11741
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
11742
  esac
 
11743
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
11744
  case $lt_search_path_spec in
 
11745
  *\;*)
 
11746
    # if the path contains ";" then we assume it to be the separator
 
11747
    # otherwise default to the standard path separator (i.e. ":") - it is
 
11748
    # assumed that no part of a normal pathname contains ";" but that should
 
11749
    # okay in the real world where ";" in dirpaths is itself problematic.
 
11750
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
11751
    ;;
 
11752
  *)
 
11753
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
11754
    ;;
 
11755
  esac
 
11756
  # Ok, now we have the path, separated by spaces, we can step through it
 
11757
  # and add multilib dir if necessary.
 
11758
  lt_tmp_lt_search_path_spec=
 
11759
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
11760
  for lt_sys_path in $lt_search_path_spec; do
 
11761
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
11762
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
11763
    else
 
11764
      test -d "$lt_sys_path" && \
 
11765
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
11766
    fi
 
11767
  done
 
11768
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
11769
BEGIN {RS=" "; FS="/|\n";} {
 
11770
  lt_foo="";
 
11771
  lt_count=0;
 
11772
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
11773
    if ($lt_i != "" && $lt_i != ".") {
 
11774
      if ($lt_i == "..") {
 
11775
        lt_count++;
 
11776
      } else {
 
11777
        if (lt_count == 0) {
 
11778
          lt_foo="/" $lt_i lt_foo;
 
11779
        } else {
 
11780
          lt_count--;
 
11781
        }
 
11782
      }
 
11783
    }
 
11784
  }
 
11785
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
11786
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
11787
}'`
 
11788
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
11789
  # for these hosts.
 
11790
  case $host_os in
 
11791
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
11792
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
11793
  esac
 
11794
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
11795
else
 
11796
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
11797
fi
 
11798
library_names_spec=
 
11799
libname_spec='lib$name'
 
11800
soname_spec=
 
11801
shrext_cmds=".so"
 
11802
postinstall_cmds=
 
11803
postuninstall_cmds=
 
11804
finish_cmds=
 
11805
finish_eval=
 
11806
shlibpath_var=
 
11807
shlibpath_overrides_runpath=unknown
 
11808
version_type=none
 
11809
dynamic_linker="$host_os ld.so"
 
11810
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
11811
need_lib_prefix=unknown
 
11812
hardcode_into_libs=no
 
11813
 
 
11814
# when you set need_version to no, make sure it does not cause -set_version
 
11815
# flags to be left without arguments
 
11816
need_version=unknown
 
11817
 
 
11818
case $host_os in
 
11819
aix3*)
 
11820
  version_type=linux
 
11821
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
11822
  shlibpath_var=LIBPATH
 
11823
 
 
11824
  # AIX 3 has no versioning support, so we append a major version to the name.
 
11825
  soname_spec='${libname}${release}${shared_ext}$major'
 
11826
  ;;
 
11827
 
 
11828
aix[4-9]*)
 
11829
  version_type=linux
 
11830
  need_lib_prefix=no
 
11831
  need_version=no
 
11832
  hardcode_into_libs=yes
 
11833
  if test "$host_cpu" = ia64; then
 
11834
    # AIX 5 supports IA64
 
11835
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
11836
    shlibpath_var=LD_LIBRARY_PATH
 
11837
  else
 
11838
    # With GCC up to 2.95.x, collect2 would create an import file
 
11839
    # for dependence libraries.  The import file would start with
 
11840
    # the line `#! .'.  This would cause the generated library to
 
11841
    # depend on `.', always an invalid library.  This was fixed in
 
11842
    # development snapshots of GCC prior to 3.0.
 
11843
    case $host_os in
 
11844
      aix4 | aix4.[01] | aix4.[01].*)
 
11845
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
11846
           echo ' yes '
 
11847
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
11848
        :
 
11849
      else
 
11850
        can_build_shared=no
 
11851
      fi
 
11852
      ;;
 
11853
    esac
 
11854
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
11855
    # soname into executable. Probably we can add versioning support to
 
11856
    # collect2, so additional links can be useful in future.
 
11857
    if test "$aix_use_runtimelinking" = yes; then
 
11858
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
11859
      # instead of lib<name>.a to let people know that these are not
 
11860
      # typical AIX shared libraries.
 
11861
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11862
    else
 
11863
      # We preserve .a as extension for shared libraries through AIX4.2
 
11864
      # and later when we are not doing run time linking.
 
11865
      library_names_spec='${libname}${release}.a $libname.a'
 
11866
      soname_spec='${libname}${release}${shared_ext}$major'
 
11867
    fi
 
11868
    shlibpath_var=LIBPATH
 
11869
  fi
 
11870
  ;;
 
11871
 
 
11872
amigaos*)
 
11873
  case $host_cpu in
 
11874
  powerpc)
 
11875
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
11876
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
11877
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11878
    ;;
 
11879
  m68k)
 
11880
    library_names_spec='$libname.ixlibrary $libname.a'
 
11881
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
11882
    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'
 
11883
    ;;
 
11884
  esac
 
11885
  ;;
 
11886
 
 
11887
beos*)
 
11888
  library_names_spec='${libname}${shared_ext}'
 
11889
  dynamic_linker="$host_os ld.so"
 
11890
  shlibpath_var=LIBRARY_PATH
 
11891
  ;;
 
11892
 
 
11893
bsdi[45]*)
 
11894
  version_type=linux
 
11895
  need_version=no
 
11896
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11897
  soname_spec='${libname}${release}${shared_ext}$major'
 
11898
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
11899
  shlibpath_var=LD_LIBRARY_PATH
 
11900
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
11901
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
11902
  # the default ld.so.conf also contains /usr/contrib/lib and
 
11903
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
11904
  # libtool to hard-code these into programs
 
11905
  ;;
 
11906
 
 
11907
cygwin* | mingw* | pw32* | cegcc*)
 
11908
  version_type=windows
 
11909
  shrext_cmds=".dll"
 
11910
  need_version=no
 
11911
  need_lib_prefix=no
 
11912
 
 
11913
  case $GCC,$cc_basename in
 
11914
  yes,*)
 
11915
    # gcc
 
11916
    library_names_spec='$libname.dll.a'
 
11917
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11918
    postinstall_cmds='base_file=`basename \${file}`~
 
11919
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11920
      dldir=$destdir/`dirname \$dlpath`~
 
11921
      test -d \$dldir || mkdir -p \$dldir~
 
11922
      $install_prog $dir/$dlname \$dldir/$dlname~
 
11923
      chmod a+x \$dldir/$dlname~
 
11924
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
11925
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
11926
      fi'
 
11927
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11928
      dlpath=$dir/\$dldll~
 
11929
       $RM \$dlpath'
 
11930
    shlibpath_overrides_runpath=yes
 
11931
 
 
11932
    case $host_os in
 
11933
    cygwin*)
 
11934
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
11935
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11936
 
 
11937
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
11938
      ;;
 
11939
    mingw* | cegcc*)
 
11940
      # MinGW DLLs use traditional 'lib' prefix
 
11941
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11942
      ;;
 
11943
    pw32*)
 
11944
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
11945
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11946
      ;;
 
11947
    esac
 
11948
    dynamic_linker='Win32 ld.exe'
 
11949
    ;;
 
11950
 
 
11951
  *,cl*)
 
11952
    # Native MSVC
 
11953
    libname_spec='$name'
 
11954
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11955
    library_names_spec='${libname}.dll.lib'
 
11956
 
 
11957
    case $build_os in
 
11958
    mingw*)
 
11959
      sys_lib_search_path_spec=
 
11960
      lt_save_ifs=$IFS
 
11961
      IFS=';'
 
11962
      for lt_path in $LIB
 
11963
      do
 
11964
        IFS=$lt_save_ifs
 
11965
        # Let DOS variable expansion print the short 8.3 style file name.
 
11966
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11967
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11968
      done
 
11969
      IFS=$lt_save_ifs
 
11970
      # Convert to MSYS style.
 
11971
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11972
      ;;
 
11973
    cygwin*)
 
11974
      # Convert to unix form, then to dos form, then back to unix form
 
11975
      # but this time dos style (no spaces!) so that the unix form looks
 
11976
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11977
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11978
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11979
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11980
      ;;
 
11981
    *)
 
11982
      sys_lib_search_path_spec="$LIB"
 
11983
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11984
        # It is most probably a Windows format PATH.
 
11985
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11986
      else
 
11987
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11988
      fi
 
11989
      # FIXME: find the short name or the path components, as spaces are
 
11990
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11991
      ;;
 
11992
    esac
 
11993
 
 
11994
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11995
    postinstall_cmds='base_file=`basename \${file}`~
 
11996
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11997
      dldir=$destdir/`dirname \$dlpath`~
 
11998
      test -d \$dldir || mkdir -p \$dldir~
 
11999
      $install_prog $dir/$dlname \$dldir/$dlname'
 
12000
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
12001
      dlpath=$dir/\$dldll~
 
12002
       $RM \$dlpath'
 
12003
    shlibpath_overrides_runpath=yes
 
12004
    dynamic_linker='Win32 link.exe'
 
12005
    ;;
 
12006
 
 
12007
  *)
 
12008
    # Assume MSVC wrapper
 
12009
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
12010
    dynamic_linker='Win32 ld.exe'
 
12011
    ;;
 
12012
  esac
 
12013
  # FIXME: first we should search . and the directory the executable is in
 
12014
  shlibpath_var=PATH
 
12015
  ;;
 
12016
 
 
12017
darwin* | rhapsody*)
 
12018
  dynamic_linker="$host_os dyld"
 
12019
  version_type=darwin
 
12020
  need_lib_prefix=no
 
12021
  need_version=no
 
12022
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
12023
  soname_spec='${libname}${release}${major}$shared_ext'
 
12024
  shlibpath_overrides_runpath=yes
 
12025
  shlibpath_var=DYLD_LIBRARY_PATH
 
12026
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
12027
 
 
12028
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
12029
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
12030
  ;;
 
12031
 
 
12032
dgux*)
 
12033
  version_type=linux
 
12034
  need_lib_prefix=no
 
12035
  need_version=no
 
12036
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
12037
  soname_spec='${libname}${release}${shared_ext}$major'
 
12038
  shlibpath_var=LD_LIBRARY_PATH
 
12039
  ;;
 
12040
 
 
12041
freebsd1*)
 
12042
  dynamic_linker=no
 
12043
  ;;
 
12044
 
 
12045
freebsd* | dragonfly*)
 
12046
  # DragonFly does not have aout.  When/if they implement a new
 
12047
  # versioning mechanism, adjust this.
 
12048
  if test -x /usr/bin/objformat; then
 
12049
    objformat=`/usr/bin/objformat`
 
12050
  else
 
12051
    case $host_os in
 
12052
    freebsd[123]*) objformat=aout ;;
 
12053
    *) objformat=elf ;;
 
12054
    esac
 
12055
  fi
 
12056
  version_type=freebsd-$objformat
 
12057
  case $version_type in
 
12058
    freebsd-elf*)
 
12059
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12060
      need_version=no
 
12061
      need_lib_prefix=no
 
12062
      ;;
 
12063
    freebsd-*)
 
12064
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
12065
      need_version=yes
 
12066
      ;;
 
12067
  esac
 
12068
  shlibpath_var=LD_LIBRARY_PATH
 
12069
  case $host_os in
 
12070
  freebsd2*)
 
12071
    shlibpath_overrides_runpath=yes
 
12072
    ;;
 
12073
  freebsd3.[01]* | freebsdelf3.[01]*)
 
12074
    shlibpath_overrides_runpath=yes
 
12075
    hardcode_into_libs=yes
 
12076
    ;;
 
12077
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
12078
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
12079
    shlibpath_overrides_runpath=no
 
12080
    hardcode_into_libs=yes
 
12081
    ;;
 
12082
  *) # from 4.6 on, and DragonFly
 
12083
    shlibpath_overrides_runpath=yes
 
12084
    hardcode_into_libs=yes
 
12085
    ;;
 
12086
  esac
 
12087
  ;;
 
12088
 
 
12089
gnu*)
 
12090
  version_type=linux
 
12091
  need_lib_prefix=no
 
12092
  need_version=no
 
12093
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12094
  soname_spec='${libname}${release}${shared_ext}$major'
 
12095
  shlibpath_var=LD_LIBRARY_PATH
 
12096
  shlibpath_overrides_runpath=no
 
12097
  hardcode_into_libs=yes
 
12098
  ;;
 
12099
 
 
12100
haiku*)
 
12101
  version_type=linux
 
12102
  need_lib_prefix=no
 
12103
  need_version=no
 
12104
  dynamic_linker="$host_os runtime_loader"
 
12105
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12106
  soname_spec='${libname}${release}${shared_ext}$major'
 
12107
  shlibpath_var=LIBRARY_PATH
 
12108
  shlibpath_overrides_runpath=yes
 
12109
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
12110
  hardcode_into_libs=yes
 
12111
  ;;
 
12112
 
 
12113
hpux9* | hpux10* | hpux11*)
 
12114
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
12115
  # link against other versions.
 
12116
  version_type=sunos
 
12117
  need_lib_prefix=no
 
12118
  need_version=no
 
12119
  case $host_cpu in
 
12120
  ia64*)
 
12121
    shrext_cmds='.so'
 
12122
    hardcode_into_libs=yes
 
12123
    dynamic_linker="$host_os dld.so"
 
12124
    shlibpath_var=LD_LIBRARY_PATH
 
12125
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12126
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12127
    soname_spec='${libname}${release}${shared_ext}$major'
 
12128
    if test "X$HPUX_IA64_MODE" = X32; then
 
12129
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
12130
    else
 
12131
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
12132
    fi
 
12133
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12134
    ;;
 
12135
  hppa*64*)
 
12136
    shrext_cmds='.sl'
 
12137
    hardcode_into_libs=yes
 
12138
    dynamic_linker="$host_os dld.sl"
 
12139
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
12140
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12141
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12142
    soname_spec='${libname}${release}${shared_ext}$major'
 
12143
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
12144
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12145
    ;;
 
12146
  *)
 
12147
    shrext_cmds='.sl'
 
12148
    dynamic_linker="$host_os dld.sl"
 
12149
    shlibpath_var=SHLIB_PATH
 
12150
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
12151
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12152
    soname_spec='${libname}${release}${shared_ext}$major'
 
12153
    ;;
 
12154
  esac
 
12155
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
12156
  postinstall_cmds='chmod 555 $lib'
 
12157
  # or fails outright, so override atomically:
 
12158
  install_override_mode=555
 
12159
  ;;
 
12160
 
 
12161
interix[3-9]*)
 
12162
  version_type=linux
 
12163
  need_lib_prefix=no
 
12164
  need_version=no
 
12165
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12166
  soname_spec='${libname}${release}${shared_ext}$major'
 
12167
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
12168
  shlibpath_var=LD_LIBRARY_PATH
 
12169
  shlibpath_overrides_runpath=no
 
12170
  hardcode_into_libs=yes
 
12171
  ;;
 
12172
 
 
12173
irix5* | irix6* | nonstopux*)
 
12174
  case $host_os in
 
12175
    nonstopux*) version_type=nonstopux ;;
 
12176
    *)
 
12177
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
12178
                version_type=linux
 
12179
        else
 
12180
                version_type=irix
 
12181
        fi ;;
 
12182
  esac
 
12183
  need_lib_prefix=no
 
12184
  need_version=no
 
12185
  soname_spec='${libname}${release}${shared_ext}$major'
 
12186
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12187
  case $host_os in
 
12188
  irix5* | nonstopux*)
 
12189
    libsuff= shlibsuff=
 
12190
    ;;
 
12191
  *)
 
12192
    case $LD in # libtool.m4 will add one of these switches to LD
 
12193
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
12194
      libsuff= shlibsuff= libmagic=32-bit;;
 
12195
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
12196
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
12197
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
12198
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
12199
    *) libsuff= shlibsuff= libmagic=never-match;;
 
12200
    esac
 
12201
    ;;
 
12202
  esac
 
12203
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
12204
  shlibpath_overrides_runpath=no
 
12205
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
12206
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
12207
  hardcode_into_libs=yes
 
12208
  ;;
 
12209
 
 
12210
# No shared lib support for Linux oldld, aout, or coff.
 
12211
linux*oldld* | linux*aout* | linux*coff*)
 
12212
  dynamic_linker=no
 
12213
  ;;
 
12214
 
 
12215
# This must be Linux ELF.
 
12216
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
12217
  version_type=linux
 
12218
  need_lib_prefix=no
 
12219
  need_version=no
 
12220
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12221
  soname_spec='${libname}${release}${shared_ext}$major'
 
12222
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
12223
  shlibpath_var=LD_LIBRARY_PATH
 
12224
  shlibpath_overrides_runpath=no
 
12225
 
 
12226
  # Some binutils ld are patched to set DT_RUNPATH
 
12227
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
12228
  $as_echo_n "(cached) " >&6
 
12229
else
 
12230
  lt_cv_shlibpath_overrides_runpath=no
 
12231
    save_LDFLAGS=$LDFLAGS
 
12232
    save_libdir=$libdir
 
12233
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
12234
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
12235
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12236
/* end confdefs.h.  */
 
12237
 
 
12238
int
 
12239
main ()
 
12240
{
 
12241
 
 
12242
  ;
 
12243
  return 0;
 
12244
}
 
12245
_ACEOF
 
12246
if ac_fn_c_try_link "$LINENO"; then :
 
12247
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
12248
  lt_cv_shlibpath_overrides_runpath=yes
 
12249
fi
 
12250
fi
 
12251
rm -f core conftest.err conftest.$ac_objext \
 
12252
    conftest$ac_exeext conftest.$ac_ext
 
12253
    LDFLAGS=$save_LDFLAGS
 
12254
    libdir=$save_libdir
 
12255
    
 
12256
fi
 
12257
 
 
12258
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
12259
 
 
12260
  # This implies no fast_install, which is unacceptable.
 
12261
  # Some rework will be needed to allow for fast_install
 
12262
  # before this can be enabled.
 
12263
  hardcode_into_libs=yes
 
12264
 
 
12265
  # Append ld.so.conf contents to the search path
 
12266
  if test -f /etc/ld.so.conf; then
 
12267
    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' ' '`
 
12268
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
12269
  fi
 
12270
 
 
12271
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
12272
  # powerpc, because MkLinux only supported shared libraries with the
 
12273
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
12274
  # most powerpc-linux boxes support dynamic linking these days and
 
12275
  # people can always --disable-shared, the test was removed, and we
 
12276
  # assume the GNU/Linux dynamic linker is in use.
 
12277
  dynamic_linker='GNU/Linux ld.so'
 
12278
  ;;
 
12279
 
 
12280
netbsdelf*-gnu)
 
12281
  version_type=linux
 
12282
  need_lib_prefix=no
 
12283
  need_version=no
 
12284
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12285
  soname_spec='${libname}${release}${shared_ext}$major'
 
12286
  shlibpath_var=LD_LIBRARY_PATH
 
12287
  shlibpath_overrides_runpath=no
 
12288
  hardcode_into_libs=yes
 
12289
  dynamic_linker='NetBSD ld.elf_so'
 
12290
  ;;
 
12291
 
 
12292
netbsd*)
 
12293
  version_type=sunos
 
12294
  need_lib_prefix=no
 
12295
  need_version=no
 
12296
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
12297
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12298
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12299
    dynamic_linker='NetBSD (a.out) ld.so'
 
12300
  else
 
12301
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12302
    soname_spec='${libname}${release}${shared_ext}$major'
 
12303
    dynamic_linker='NetBSD ld.elf_so'
 
12304
  fi
 
12305
  shlibpath_var=LD_LIBRARY_PATH
 
12306
  shlibpath_overrides_runpath=yes
 
12307
  hardcode_into_libs=yes
 
12308
  ;;
 
12309
 
 
12310
newsos6)
 
12311
  version_type=linux
 
12312
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12313
  shlibpath_var=LD_LIBRARY_PATH
 
12314
  shlibpath_overrides_runpath=yes
 
12315
  ;;
 
12316
 
 
12317
*nto* | *qnx*)
 
12318
  version_type=qnx
 
12319
  need_lib_prefix=no
 
12320
  need_version=no
 
12321
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12322
  soname_spec='${libname}${release}${shared_ext}$major'
 
12323
  shlibpath_var=LD_LIBRARY_PATH
 
12324
  shlibpath_overrides_runpath=no
 
12325
  hardcode_into_libs=yes
 
12326
  dynamic_linker='ldqnx.so'
 
12327
  ;;
 
12328
 
 
12329
openbsd*)
 
12330
  version_type=sunos
 
12331
  sys_lib_dlsearch_path_spec="/usr/lib"
 
12332
  need_lib_prefix=no
 
12333
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
12334
  case $host_os in
 
12335
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
12336
    *)                          need_version=no  ;;
 
12337
  esac
 
12338
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12339
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12340
  shlibpath_var=LD_LIBRARY_PATH
 
12341
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12342
    case $host_os in
 
12343
      openbsd2.[89] | openbsd2.[89].*)
 
12344
        shlibpath_overrides_runpath=no
 
12345
        ;;
 
12346
      *)
 
12347
        shlibpath_overrides_runpath=yes
 
12348
        ;;
 
12349
      esac
 
12350
  else
 
12351
    shlibpath_overrides_runpath=yes
 
12352
  fi
 
12353
  ;;
 
12354
 
 
12355
os2*)
 
12356
  libname_spec='$name'
 
12357
  shrext_cmds=".dll"
 
12358
  need_lib_prefix=no
 
12359
  library_names_spec='$libname${shared_ext} $libname.a'
 
12360
  dynamic_linker='OS/2 ld.exe'
 
12361
  shlibpath_var=LIBPATH
 
12362
  ;;
 
12363
 
 
12364
osf3* | osf4* | osf5*)
 
12365
  version_type=osf
 
12366
  need_lib_prefix=no
 
12367
  need_version=no
 
12368
  soname_spec='${libname}${release}${shared_ext}$major'
 
12369
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12370
  shlibpath_var=LD_LIBRARY_PATH
 
12371
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
12372
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
12373
  ;;
 
12374
 
 
12375
rdos*)
 
12376
  dynamic_linker=no
 
12377
  ;;
 
12378
 
 
12379
solaris*)
 
12380
  version_type=linux
 
12381
  need_lib_prefix=no
 
12382
  need_version=no
 
12383
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12384
  soname_spec='${libname}${release}${shared_ext}$major'
 
12385
  shlibpath_var=LD_LIBRARY_PATH
 
12386
  shlibpath_overrides_runpath=yes
 
12387
  hardcode_into_libs=yes
 
12388
  # ldd complains unless libraries are executable
 
12389
  postinstall_cmds='chmod +x $lib'
 
12390
  ;;
 
12391
 
 
12392
sunos4*)
 
12393
  version_type=sunos
 
12394
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12395
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
12396
  shlibpath_var=LD_LIBRARY_PATH
 
12397
  shlibpath_overrides_runpath=yes
 
12398
  if test "$with_gnu_ld" = yes; then
 
12399
    need_lib_prefix=no
 
12400
  fi
 
12401
  need_version=yes
 
12402
  ;;
 
12403
 
 
12404
sysv4 | sysv4.3*)
 
12405
  version_type=linux
 
12406
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12407
  soname_spec='${libname}${release}${shared_ext}$major'
 
12408
  shlibpath_var=LD_LIBRARY_PATH
 
12409
  case $host_vendor in
 
12410
    sni)
 
12411
      shlibpath_overrides_runpath=no
 
12412
      need_lib_prefix=no
 
12413
      runpath_var=LD_RUN_PATH
 
12414
      ;;
 
12415
    siemens)
 
12416
      need_lib_prefix=no
 
12417
      ;;
 
12418
    motorola)
 
12419
      need_lib_prefix=no
 
12420
      need_version=no
 
12421
      shlibpath_overrides_runpath=no
 
12422
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
12423
      ;;
 
12424
  esac
 
12425
  ;;
 
12426
 
 
12427
sysv4*MP*)
 
12428
  if test -d /usr/nec ;then
 
12429
    version_type=linux
 
12430
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
12431
    soname_spec='$libname${shared_ext}.$major'
 
12432
    shlibpath_var=LD_LIBRARY_PATH
 
12433
  fi
 
12434
  ;;
 
12435
 
 
12436
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
12437
  version_type=freebsd-elf
 
12438
  need_lib_prefix=no
 
12439
  need_version=no
 
12440
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12441
  soname_spec='${libname}${release}${shared_ext}$major'
 
12442
  shlibpath_var=LD_LIBRARY_PATH
 
12443
  shlibpath_overrides_runpath=yes
 
12444
  hardcode_into_libs=yes
 
12445
  if test "$with_gnu_ld" = yes; then
 
12446
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
12447
  else
 
12448
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
12449
    case $host_os in
 
12450
      sco3.2v5*)
 
12451
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
12452
        ;;
 
12453
    esac
 
12454
  fi
 
12455
  sys_lib_dlsearch_path_spec='/usr/lib'
 
12456
  ;;
 
12457
 
 
12458
tpf*)
 
12459
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
12460
  version_type=linux
 
12461
  need_lib_prefix=no
 
12462
  need_version=no
 
12463
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12464
  shlibpath_var=LD_LIBRARY_PATH
 
12465
  shlibpath_overrides_runpath=no
 
12466
  hardcode_into_libs=yes
 
12467
  ;;
 
12468
 
 
12469
uts4*)
 
12470
  version_type=linux
 
12471
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12472
  soname_spec='${libname}${release}${shared_ext}$major'
 
12473
  shlibpath_var=LD_LIBRARY_PATH
 
12474
  ;;
 
12475
 
 
12476
*)
 
12477
  dynamic_linker=no
 
12478
  ;;
 
12479
esac
 
12480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
12481
$as_echo "$dynamic_linker" >&6; }
 
12482
test "$dynamic_linker" = no && can_build_shared=no
 
12483
 
 
12484
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
12485
if test "$GCC" = yes; then
 
12486
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
12487
fi
 
12488
 
 
12489
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
12490
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
12491
fi
 
12492
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
12493
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
12494
fi
 
12495
 
 
12496
 
 
12497
    
 
12498
    
 
12499
    
 
12500
 
 
12501
 
 
12502
    
 
12503
    
 
12504
    
 
12505
 
 
12506
 
 
12507
    
 
12508
    
 
12509
    
 
12510
 
 
12511
 
 
12512
    
 
12513
    
 
12514
    
 
12515
 
 
12516
 
 
12517
    
 
12518
    
 
12519
    
 
12520
 
 
12521
 
 
12522
    
 
12523
    
 
12524
    
 
12525
 
 
12526
 
 
12527
    
 
12528
    
 
12529
    
 
12530
 
 
12531
 
 
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
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
12588
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
12589
hardcode_action=
 
12590
if test -n "$hardcode_libdir_flag_spec" ||
 
12591
   test -n "$runpath_var" ||
 
12592
   test "X$hardcode_automatic" = "Xyes" ; then
 
12593
 
 
12594
  # We can hardcode non-existent directories.
 
12595
  if test "$hardcode_direct" != no &&
 
12596
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
12597
     # have to relink, otherwise we might link with an installed library
 
12598
     # when we should be linking with a yet-to-be-installed one
 
12599
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
12600
     test "$hardcode_minus_L" != no; then
 
12601
    # Linking always hardcodes the temporary library directory.
 
12602
    hardcode_action=relink
 
12603
  else
 
12604
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
12605
    hardcode_action=immediate
 
12606
  fi
 
12607
else
 
12608
  # We cannot hardcode anything, or else we can only hardcode existing
 
12609
  # directories.
 
12610
  hardcode_action=unsupported
 
12611
fi
 
12612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
12613
$as_echo "$hardcode_action" >&6; }
 
12614
 
 
12615
if test "$hardcode_action" = relink ||
 
12616
   test "$inherit_rpath" = yes; then
 
12617
  # Fast installation is not supported
 
12618
  enable_fast_install=no
 
12619
elif test "$shlibpath_overrides_runpath" = yes ||
 
12620
     test "$enable_shared" = no; then
 
12621
  # Fast installation is not necessary
 
12622
  enable_fast_install=needless
 
12623
fi
 
12624
 
 
12625
    
 
12626
    
 
12627
    
 
12628
 
 
12629
 
 
12630
  if test "x$enable_dlopen" != xyes; then
 
12631
  enable_dlopen=unknown
 
12632
  enable_dlopen_self=unknown
 
12633
  enable_dlopen_self_static=unknown
 
12634
else
 
12635
  lt_cv_dlopen=no
 
12636
  lt_cv_dlopen_libs=
 
12637
 
 
12638
  case $host_os in
 
12639
  beos*)
 
12640
    lt_cv_dlopen="load_add_on"
 
12641
    lt_cv_dlopen_libs=
 
12642
    lt_cv_dlopen_self=yes
 
12643
    ;;
 
12644
 
 
12645
  mingw* | pw32* | cegcc*)
 
12646
    lt_cv_dlopen="LoadLibrary"
 
12647
    lt_cv_dlopen_libs=
 
12648
    ;;
 
12649
 
 
12650
  cygwin*)
 
12651
    lt_cv_dlopen="dlopen"
 
12652
    lt_cv_dlopen_libs=
 
12653
    ;;
 
12654
 
 
12655
  darwin*)
 
12656
  # if libdl is installed we need to link against it
 
12657
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12658
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12659
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
12660
  $as_echo_n "(cached) " >&6
 
12661
else
 
12662
  ac_check_lib_save_LIBS=$LIBS
 
12663
LIBS="-ldl  $LIBS"
 
12664
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12665
/* end confdefs.h.  */
 
12666
 
 
12667
/* Override any GCC internal prototype to avoid an error.
 
12668
   Use char because int might match the return type of a GCC
 
12669
   builtin and then its argument prototype would still apply.  */
 
12670
#ifdef __cplusplus
 
12671
extern "C"
 
12672
#endif
 
12673
char dlopen ();
 
12674
int
 
12675
main ()
 
12676
{
 
12677
return dlopen ();
 
12678
  ;
 
12679
  return 0;
 
12680
}
 
12681
_ACEOF
 
12682
if ac_fn_c_try_link "$LINENO"; then :
 
12683
  ac_cv_lib_dl_dlopen=yes
 
12684
else
 
12685
  ac_cv_lib_dl_dlopen=no
 
12686
fi
 
12687
rm -f core conftest.err conftest.$ac_objext \
 
12688
    conftest$ac_exeext conftest.$ac_ext
 
12689
LIBS=$ac_check_lib_save_LIBS
 
12690
fi
 
12691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
12692
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12693
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
12694
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
12695
else
 
12696
  
 
12697
    lt_cv_dlopen="dyld"
 
12698
    lt_cv_dlopen_libs=
 
12699
    lt_cv_dlopen_self=yes
 
12700
    
 
12701
fi
 
12702
 
 
12703
    ;;
 
12704
 
 
12705
  *)
 
12706
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
12707
if test "x$ac_cv_func_shl_load" = xyes; then :
 
12708
  lt_cv_dlopen="shl_load"
 
12709
else
 
12710
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
12711
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
12712
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
12713
  $as_echo_n "(cached) " >&6
 
12714
else
 
12715
  ac_check_lib_save_LIBS=$LIBS
 
12716
LIBS="-ldld  $LIBS"
 
12717
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12718
/* end confdefs.h.  */
 
12719
 
 
12720
/* Override any GCC internal prototype to avoid an error.
 
12721
   Use char because int might match the return type of a GCC
 
12722
   builtin and then its argument prototype would still apply.  */
 
12723
#ifdef __cplusplus
 
12724
extern "C"
 
12725
#endif
 
12726
char shl_load ();
 
12727
int
 
12728
main ()
 
12729
{
 
12730
return shl_load ();
 
12731
  ;
 
12732
  return 0;
 
12733
}
 
12734
_ACEOF
 
12735
if ac_fn_c_try_link "$LINENO"; then :
 
12736
  ac_cv_lib_dld_shl_load=yes
 
12737
else
 
12738
  ac_cv_lib_dld_shl_load=no
 
12739
fi
 
12740
rm -f core conftest.err conftest.$ac_objext \
 
12741
    conftest$ac_exeext conftest.$ac_ext
 
12742
LIBS=$ac_check_lib_save_LIBS
 
12743
fi
 
12744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
12745
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
12746
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
12747
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
12748
else
 
12749
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
12750
if test "x$ac_cv_func_dlopen" = xyes; then :
 
12751
  lt_cv_dlopen="dlopen"
 
12752
else
 
12753
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
12754
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
12755
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
12756
  $as_echo_n "(cached) " >&6
 
12757
else
 
12758
  ac_check_lib_save_LIBS=$LIBS
 
12759
LIBS="-ldl  $LIBS"
 
12760
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12761
/* end confdefs.h.  */
 
12762
 
 
12763
/* Override any GCC internal prototype to avoid an error.
 
12764
   Use char because int might match the return type of a GCC
 
12765
   builtin and then its argument prototype would still apply.  */
 
12766
#ifdef __cplusplus
 
12767
extern "C"
 
12768
#endif
 
12769
char dlopen ();
 
12770
int
 
12771
main ()
 
12772
{
 
12773
return dlopen ();
 
12774
  ;
 
12775
  return 0;
 
12776
}
 
12777
_ACEOF
 
12778
if ac_fn_c_try_link "$LINENO"; then :
 
12779
  ac_cv_lib_dl_dlopen=yes
 
12780
else
 
12781
  ac_cv_lib_dl_dlopen=no
 
12782
fi
 
12783
rm -f core conftest.err conftest.$ac_objext \
 
12784
    conftest$ac_exeext conftest.$ac_ext
 
12785
LIBS=$ac_check_lib_save_LIBS
 
12786
fi
 
12787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
12788
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
12789
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
12790
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
12791
else
 
12792
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
12793
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
12794
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
12795
  $as_echo_n "(cached) " >&6
 
12796
else
 
12797
  ac_check_lib_save_LIBS=$LIBS
 
12798
LIBS="-lsvld  $LIBS"
 
12799
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12800
/* end confdefs.h.  */
 
12801
 
 
12802
/* Override any GCC internal prototype to avoid an error.
 
12803
   Use char because int might match the return type of a GCC
 
12804
   builtin and then its argument prototype would still apply.  */
 
12805
#ifdef __cplusplus
 
12806
extern "C"
 
12807
#endif
 
12808
char dlopen ();
 
12809
int
 
12810
main ()
 
12811
{
 
12812
return dlopen ();
 
12813
  ;
 
12814
  return 0;
 
12815
}
 
12816
_ACEOF
 
12817
if ac_fn_c_try_link "$LINENO"; then :
 
12818
  ac_cv_lib_svld_dlopen=yes
 
12819
else
 
12820
  ac_cv_lib_svld_dlopen=no
 
12821
fi
 
12822
rm -f core conftest.err conftest.$ac_objext \
 
12823
    conftest$ac_exeext conftest.$ac_ext
 
12824
LIBS=$ac_check_lib_save_LIBS
 
12825
fi
 
12826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
12827
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
12828
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
12829
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
12830
else
 
12831
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
12832
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
12833
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
12834
  $as_echo_n "(cached) " >&6
 
12835
else
 
12836
  ac_check_lib_save_LIBS=$LIBS
 
12837
LIBS="-ldld  $LIBS"
 
12838
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12839
/* end confdefs.h.  */
 
12840
 
 
12841
/* Override any GCC internal prototype to avoid an error.
 
12842
   Use char because int might match the return type of a GCC
 
12843
   builtin and then its argument prototype would still apply.  */
 
12844
#ifdef __cplusplus
 
12845
extern "C"
 
12846
#endif
 
12847
char dld_link ();
 
12848
int
 
12849
main ()
 
12850
{
 
12851
return dld_link ();
 
12852
  ;
 
12853
  return 0;
 
12854
}
 
12855
_ACEOF
 
12856
if ac_fn_c_try_link "$LINENO"; then :
 
12857
  ac_cv_lib_dld_dld_link=yes
 
12858
else
 
12859
  ac_cv_lib_dld_dld_link=no
 
12860
fi
 
12861
rm -f core conftest.err conftest.$ac_objext \
 
12862
    conftest$ac_exeext conftest.$ac_ext
 
12863
LIBS=$ac_check_lib_save_LIBS
 
12864
fi
 
12865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
12866
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
12867
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
12868
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
12869
fi
 
12870
 
 
12871
              
 
12872
fi
 
12873
 
 
12874
            
 
12875
fi
 
12876
 
 
12877
          
 
12878
fi
 
12879
 
 
12880
        
 
12881
fi
 
12882
 
 
12883
      
 
12884
fi
 
12885
 
 
12886
    ;;
 
12887
  esac
 
12888
 
 
12889
  if test "x$lt_cv_dlopen" != xno; then
 
12890
    enable_dlopen=yes
 
12891
  else
 
12892
    enable_dlopen=no
 
12893
  fi
 
12894
 
 
12895
  case $lt_cv_dlopen in
 
12896
  dlopen)
 
12897
    save_CPPFLAGS="$CPPFLAGS"
 
12898
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
12899
 
 
12900
    save_LDFLAGS="$LDFLAGS"
 
12901
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
12902
 
 
12903
    save_LIBS="$LIBS"
 
12904
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
12905
 
 
12906
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
12907
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
12908
if ${lt_cv_dlopen_self+:} false; then :
 
12909
  $as_echo_n "(cached) " >&6
 
12910
else
 
12911
          if test "$cross_compiling" = yes; then :
 
12912
  lt_cv_dlopen_self=cross
 
12913
else
 
12914
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
12915
  lt_status=$lt_dlunknown
 
12916
  cat > conftest.$ac_ext <<_LT_EOF
 
12917
#line $LINENO "configure"
 
12918
#include "confdefs.h"
 
12919
 
 
12920
#if HAVE_DLFCN_H
 
12921
#include <dlfcn.h>
 
12922
#endif
 
12923
 
 
12924
#include <stdio.h>
 
12925
 
 
12926
#ifdef RTLD_GLOBAL
 
12927
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
12928
#else
 
12929
#  ifdef DL_GLOBAL
 
12930
#    define LT_DLGLOBAL         DL_GLOBAL
 
12931
#  else
 
12932
#    define LT_DLGLOBAL         0
 
12933
#  endif
 
12934
#endif
 
12935
 
 
12936
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
12937
   find out it does not work in some platform. */
 
12938
#ifndef LT_DLLAZY_OR_NOW
 
12939
#  ifdef RTLD_LAZY
 
12940
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
12941
#  else
 
12942
#    ifdef DL_LAZY
 
12943
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
12944
#    else
 
12945
#      ifdef RTLD_NOW
 
12946
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
12947
#      else
 
12948
#        ifdef DL_NOW
 
12949
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
12950
#        else
 
12951
#          define LT_DLLAZY_OR_NOW      0
 
12952
#        endif
 
12953
#      endif
 
12954
#    endif
 
12955
#  endif
 
12956
#endif
 
12957
 
 
12958
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12959
   correspondingly for the symbols needed.  */
 
12960
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12961
int fnord () __attribute__((visibility("default")));
 
12962
#endif
 
12963
 
 
12964
int fnord () { return 42; }
 
12965
int main ()
 
12966
{
 
12967
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
12968
  int status = $lt_dlunknown;
 
12969
 
 
12970
  if (self)
 
12971
    {
 
12972
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
12973
      else
 
12974
        {
 
12975
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12976
          else puts (dlerror ());
 
12977
        }
 
12978
      /* dlclose (self); */
 
12979
    }
 
12980
  else
 
12981
    puts (dlerror ());
 
12982
 
 
12983
  return status;
 
12984
}
 
12985
_LT_EOF
 
12986
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
12987
  (eval $ac_link) 2>&5
 
12988
  ac_status=$?
 
12989
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12990
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12991
    (./conftest; exit; ) >&5 2>/dev/null
 
12992
    lt_status=$?
 
12993
    case x$lt_status in
 
12994
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
12995
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
12996
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
12997
    esac
 
12998
  else :
 
12999
    # compilation failed
 
13000
    lt_cv_dlopen_self=no
 
13001
  fi
 
13002
fi
 
13003
rm -fr conftest*
 
13004
 
 
13005
    
 
13006
fi
 
13007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
13008
$as_echo "$lt_cv_dlopen_self" >&6; }
 
13009
 
 
13010
    if test "x$lt_cv_dlopen_self" = xyes; then
 
13011
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
13012
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
13013
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
13014
if ${lt_cv_dlopen_self_static+:} false; then :
 
13015
  $as_echo_n "(cached) " >&6
 
13016
else
 
13017
          if test "$cross_compiling" = yes; then :
 
13018
  lt_cv_dlopen_self_static=cross
 
13019
else
 
13020
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
13021
  lt_status=$lt_dlunknown
 
13022
  cat > conftest.$ac_ext <<_LT_EOF
 
13023
#line $LINENO "configure"
 
13024
#include "confdefs.h"
 
13025
 
 
13026
#if HAVE_DLFCN_H
 
13027
#include <dlfcn.h>
 
13028
#endif
 
13029
 
 
13030
#include <stdio.h>
 
13031
 
 
13032
#ifdef RTLD_GLOBAL
 
13033
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
13034
#else
 
13035
#  ifdef DL_GLOBAL
 
13036
#    define LT_DLGLOBAL         DL_GLOBAL
 
13037
#  else
 
13038
#    define LT_DLGLOBAL         0
 
13039
#  endif
 
13040
#endif
 
13041
 
 
13042
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
13043
   find out it does not work in some platform. */
 
13044
#ifndef LT_DLLAZY_OR_NOW
 
13045
#  ifdef RTLD_LAZY
 
13046
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
13047
#  else
 
13048
#    ifdef DL_LAZY
 
13049
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
13050
#    else
 
13051
#      ifdef RTLD_NOW
 
13052
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
13053
#      else
 
13054
#        ifdef DL_NOW
 
13055
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
13056
#        else
 
13057
#          define LT_DLLAZY_OR_NOW      0
 
13058
#        endif
 
13059
#      endif
 
13060
#    endif
 
13061
#  endif
 
13062
#endif
 
13063
 
 
13064
/* When -fvisbility=hidden is used, assume the code has been annotated
 
13065
   correspondingly for the symbols needed.  */
 
13066
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
13067
int fnord () __attribute__((visibility("default")));
 
13068
#endif
 
13069
 
 
13070
int fnord () { return 42; }
 
13071
int main ()
 
13072
{
 
13073
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
13074
  int status = $lt_dlunknown;
 
13075
 
 
13076
  if (self)
 
13077
    {
 
13078
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
13079
      else
 
13080
        {
 
13081
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
13082
          else puts (dlerror ());
 
13083
        }
 
13084
      /* dlclose (self); */
 
13085
    }
 
13086
  else
 
13087
    puts (dlerror ());
 
13088
 
 
13089
  return status;
 
13090
}
 
13091
_LT_EOF
 
13092
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
13093
  (eval $ac_link) 2>&5
 
13094
  ac_status=$?
 
13095
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13096
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13097
    (./conftest; exit; ) >&5 2>/dev/null
 
13098
    lt_status=$?
 
13099
    case x$lt_status in
 
13100
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
13101
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
13102
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
13103
    esac
 
13104
  else :
 
13105
    # compilation failed
 
13106
    lt_cv_dlopen_self_static=no
 
13107
  fi
 
13108
fi
 
13109
rm -fr conftest*
 
13110
 
 
13111
      
 
13112
fi
 
13113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
13114
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
13115
    fi
 
13116
 
 
13117
    CPPFLAGS="$save_CPPFLAGS"
 
13118
    LDFLAGS="$save_LDFLAGS"
 
13119
    LIBS="$save_LIBS"
 
13120
    ;;
 
13121
  esac
 
13122
 
 
13123
  case $lt_cv_dlopen_self in
 
13124
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
13125
  *) enable_dlopen_self=unknown ;;
 
13126
  esac
 
13127
 
 
13128
  case $lt_cv_dlopen_self_static in
 
13129
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
13130
  *) enable_dlopen_self_static=unknown ;;
 
13131
  esac
 
13132
fi
 
13133
 
 
13134
    
 
13135
    
 
13136
    
 
13137
 
 
13138
 
 
13139
    
 
13140
    
 
13141
    
 
13142
 
 
13143
 
 
13144
    
 
13145
    
 
13146
    
 
13147
 
 
13148
 
 
13149
  
 
13150
striplib=
 
13151
old_striplib=
 
13152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
13153
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
13154
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
13155
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
13156
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
13157
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13158
$as_echo "yes" >&6; }
 
13159
else
 
13160
# FIXME - insert some real tests, host_os isn't really good enough
 
13161
  case $host_os in
 
13162
  darwin*)
 
13163
    if test -n "$STRIP" ; then
 
13164
      striplib="$STRIP -x"
 
13165
      old_striplib="$STRIP -S"
 
13166
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13167
$as_echo "yes" >&6; }
 
13168
    else
 
13169
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13170
$as_echo "no" >&6; }
 
13171
    fi
 
13172
    ;;
 
13173
  *)
 
13174
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13175
$as_echo "no" >&6; }
 
13176
    ;;
 
13177
  esac
 
13178
fi
 
13179
 
 
13180
    
 
13181
    
 
13182
    
 
13183
 
 
13184
 
 
13185
    
 
13186
    
 
13187
    
 
13188
 
 
13189
 
 
13190
 
 
13191
  # Report which library types will actually be built
 
13192
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
13193
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
13194
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
13195
$as_echo "$can_build_shared" >&6; }
 
13196
 
 
13197
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
13198
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
13199
  test "$can_build_shared" = "no" && enable_shared=no
 
13200
 
 
13201
  # On AIX, shared libraries and static libraries use the same namespace, and
 
13202
  # are all built from PIC.
 
13203
  case $host_os in
 
13204
  aix3*)
 
13205
    test "$enable_shared" = yes && enable_static=no
 
13206
    if test -n "$RANLIB"; then
 
13207
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
13208
      postinstall_cmds='$RANLIB $lib'
 
13209
    fi
 
13210
    ;;
 
13211
 
 
13212
  aix[4-9]*)
 
13213
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
13214
      test "$enable_shared" = yes && enable_static=no
 
13215
    fi
 
13216
    ;;
 
13217
  esac
 
13218
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
13219
$as_echo "$enable_shared" >&6; }
 
13220
 
 
13221
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
13222
$as_echo_n "checking whether to build static libraries... " >&6; }
 
13223
  # Make sure either enable_shared or enable_static is yes.
 
13224
  test "$enable_shared" = yes || enable_static=yes
 
13225
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
13226
$as_echo "$enable_static" >&6; }
 
13227
 
 
13228
  
 
13229
 
 
13230
 
 
13231
fi
 
13232
ac_ext=c
 
13233
ac_cpp='$CPP $CPPFLAGS'
 
13234
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13235
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13236
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13237
 
 
13238
CC="$lt_save_CC"
 
13239
 
 
13240
 
 
13241
 
 
13242
 
 
13243
 
 
13244
 
 
13245
 
 
13246
 
 
13247
       
 
13248
       
 
13249
 
 
13250
 
 
13251
 
 
13252
        ac_config_commands="$ac_config_commands libtool"
 
13253
 
 
13254
 
 
13255
 
 
13256
 
 
13257
# Only expand once:
 
13258
 
 
13259
 
 
13260
 
 
13261
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
 
13262
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
 
13263
if ${ac_cv_c_bigendian+:} false; then :
 
13264
  $as_echo_n "(cached) " >&6
 
13265
else
 
13266
  ac_cv_c_bigendian=unknown
 
13267
    # See if we're dealing with a universal compiler.
 
13268
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13269
/* end confdefs.h.  */
 
13270
#ifndef __APPLE_CC__
 
13271
               not a universal capable compiler
 
13272
             #endif
 
13273
             typedef int dummy;
 
13274
            
 
13275
_ACEOF
 
13276
if ac_fn_c_try_compile "$LINENO"; then :
 
13277
  
 
13278
        # Check for potential -arch flags.  It is not universal unless
 
13279
        # there are at least two -arch flags with different values.
 
13280
        ac_arch=
 
13281
        ac_prev=
 
13282
        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
 
13283
         if test -n "$ac_prev"; then
 
13284
           case $ac_word in
 
13285
             i?86 | x86_64 | ppc | ppc64)
 
13286
               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
 
13287
                 ac_arch=$ac_word
 
13288
               else
 
13289
                 ac_cv_c_bigendian=universal
 
13290
                 break
 
13291
               fi
 
13292
               ;;
 
13293
           esac
 
13294
           ac_prev=
 
13295
         elif test "x$ac_word" = "x-arch"; then
 
13296
           ac_prev=arch
 
13297
         fi
 
13298
       done
 
13299
fi
 
13300
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13301
    if test $ac_cv_c_bigendian = unknown; then
 
13302
      # See if sys/param.h defines the BYTE_ORDER macro.
 
13303
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13304
/* end confdefs.h.  */
 
13305
#include <sys/types.h>
 
13306
             #include <sys/param.h>
 
13307
           
 
13308
int
 
13309
main ()
 
13310
{
 
13311
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 
13312
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 
13313
                     && LITTLE_ENDIAN)
 
13314
              bogus endian macros
 
13315
             #endif
 
13316
           
 
13317
  ;
 
13318
  return 0;
 
13319
}
 
13320
_ACEOF
 
13321
if ac_fn_c_try_compile "$LINENO"; then :
 
13322
  # It does; now see whether it defined to BIG_ENDIAN or not.
 
13323
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13324
/* end confdefs.h.  */
 
13325
#include <sys/types.h>
 
13326
                #include <sys/param.h>
 
13327
              
 
13328
int
 
13329
main ()
 
13330
{
 
13331
#if BYTE_ORDER != BIG_ENDIAN
 
13332
                 not big endian
 
13333
                #endif
 
13334
              
 
13335
  ;
 
13336
  return 0;
 
13337
}
 
13338
_ACEOF
 
13339
if ac_fn_c_try_compile "$LINENO"; then :
 
13340
  ac_cv_c_bigendian=yes
 
13341
else
 
13342
  ac_cv_c_bigendian=no
 
13343
fi
 
13344
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13345
fi
 
13346
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13347
    fi
 
13348
    if test $ac_cv_c_bigendian = unknown; then
 
13349
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 
13350
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13351
/* end confdefs.h.  */
 
13352
#include <limits.h>
 
13353
           
 
13354
int
 
13355
main ()
 
13356
{
 
13357
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 
13358
              bogus endian macros
 
13359
             #endif
 
13360
           
 
13361
  ;
 
13362
  return 0;
 
13363
}
 
13364
_ACEOF
 
13365
if ac_fn_c_try_compile "$LINENO"; then :
 
13366
  # It does; now see whether it defined to _BIG_ENDIAN or not.
 
13367
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13368
/* end confdefs.h.  */
 
13369
#include <limits.h>
 
13370
              
 
13371
int
 
13372
main ()
 
13373
{
 
13374
#ifndef _BIG_ENDIAN
 
13375
                 not big endian
 
13376
                #endif
 
13377
              
 
13378
  ;
 
13379
  return 0;
 
13380
}
 
13381
_ACEOF
 
13382
if ac_fn_c_try_compile "$LINENO"; then :
 
13383
  ac_cv_c_bigendian=yes
 
13384
else
 
13385
  ac_cv_c_bigendian=no
 
13386
fi
 
13387
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13388
fi
 
13389
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13390
    fi
 
13391
    if test $ac_cv_c_bigendian = unknown; then
 
13392
      # Compile a test program.
 
13393
      if test "$cross_compiling" = yes; then :
 
13394
  # Try to guess by grepping values from an object file.
 
13395
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13396
/* end confdefs.h.  */
 
13397
short int ascii_mm[] =
 
13398
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
13399
                short int ascii_ii[] =
 
13400
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
13401
                int use_ascii (int i) {
 
13402
                  return ascii_mm[i] + ascii_ii[i];
 
13403
                }
 
13404
                short int ebcdic_ii[] =
 
13405
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
13406
                short int ebcdic_mm[] =
 
13407
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
13408
                int use_ebcdic (int i) {
 
13409
                  return ebcdic_mm[i] + ebcdic_ii[i];
 
13410
                }
 
13411
                extern int foo;
 
13412
              
 
13413
int
 
13414
main ()
 
13415
{
 
13416
return use_ascii (foo) == use_ebcdic (foo);
 
13417
  ;
 
13418
  return 0;
 
13419
}
 
13420
_ACEOF
 
13421
if ac_fn_c_try_compile "$LINENO"; then :
 
13422
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 
13423
              ac_cv_c_bigendian=yes
 
13424
            fi
 
13425
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
13426
              if test "$ac_cv_c_bigendian" = unknown; then
 
13427
                ac_cv_c_bigendian=no
 
13428
              else
 
13429
                # finding both strings is unlikely to happen, but who knows?
 
13430
                ac_cv_c_bigendian=unknown
 
13431
              fi
 
13432
            fi
 
13433
fi
 
13434
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13435
else
 
13436
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13437
/* end confdefs.h.  */
 
13438
$ac_includes_default
 
13439
int
 
13440
main ()
 
13441
{
 
13442
 
 
13443
             /* Are we little or big endian?  From Harbison&Steele.  */
 
13444
             union
 
13445
             {
 
13446
               long int l;
 
13447
               char c[sizeof (long int)];
 
13448
             } u;
 
13449
             u.l = 1;
 
13450
             return u.c[sizeof (long int) - 1] == 1;
 
13451
           
 
13452
  ;
 
13453
  return 0;
 
13454
}
 
13455
_ACEOF
 
13456
if ac_fn_c_try_run "$LINENO"; then :
 
13457
  ac_cv_c_bigendian=no
 
13458
else
 
13459
  ac_cv_c_bigendian=yes
 
13460
fi
 
13461
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
13462
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
13463
fi
 
13464
 
 
13465
    fi
 
13466
fi
 
13467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
 
13468
$as_echo "$ac_cv_c_bigendian" >&6; }
 
13469
 case $ac_cv_c_bigendian in #(
 
13470
   yes)
 
13471
     
 
13472
$as_echo "@%:@define _BIG_ENDIAN 1" >>confdefs.h
 
13473
;; #(
 
13474
   no)
 
13475
      ;; #(
 
13476
   universal)
 
13477
        
 
13478
$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
 
13479
 
 
13480
     ;; #(
 
13481
   *)
 
13482
     as_fn_error $? "unknown endianness
 
13483
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
 
13484
 esac
 
13485
 
 
13486
ac_fn_c_check_decl "$LINENO" "htole32" "ac_cv_have_decl_htole32" "$ac_includes_default"
 
13487
if test "x$ac_cv_have_decl_htole32" = xyes; then :
 
13488
  
 
13489
$as_echo "@%:@define HTOLE_DEFINED 1" >>confdefs.h
 
13490
 
 
13491
fi
 
13492
 
 
13493
ac_fn_c_check_header_mongrel "$LINENO" "sys/byteorder.h" "ac_cv_header_sys_byteorder_h" "$ac_includes_default"
 
13494
if test "x$ac_cv_header_sys_byteorder_h" = xyes; then :
 
13495
  
 
13496
$as_echo "@%:@define HAVE_BYTEORDER_H 1" >>confdefs.h
 
13497
 
 
13498
fi
 
13499
 
 
13500
 
 
13501
ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
 
13502
if test "x$ac_cv_func_daemon" = xyes; then :
 
13503
   
 
13504
$as_echo "@%:@define HAVE_DAEMON 1" >>confdefs.h
 
13505
 
 
13506
fi
 
13507
 
 
13508
 
 
13509
if test "x${GCC}" = "xyes"; then
 
13510
        CFLAGS="$CFLAGS -W -Wall -Werror -Wno-unused-parameter -Wsign-compare"
 
13511
fi
 
13512
 
 
13513
CFLAGS="$CFLAGS -I../include \
 
13514
        -DTCSD_DEFAULT_PORT=${TCSD_DEFAULT_PORT} -DTSS_VER_MAJOR=${TSS_VER_MAJOR} \
 
13515
        -DTSS_VER_MINOR=${TSS_VER_MINOR} -DTSS_SPEC_MAJOR=${TSS_SPEC_MAJOR} \
 
13516
        -DTSS_SPEC_MINOR=${TSS_SPEC_MINOR}"
 
13517
#CFLAGS="$CFLAGS -I../include -std=c99 -pedantic -W -Wall"
 
13518
KERNEL_VERSION=`uname -r`
 
13519
 
 
13520
 
 
13521
# When we build the rpms, prefix will be /usr. This'll do some things that make sense,
 
13522
# like put our sbin stuff in /usr/sbin and our library in /usr/lib. It'll do some other
 
13523
# things that don't make sense like put our config file in /usr/etc. So, I'll just hack
 
13524
# it here. If the --prefix option isn't specified during configure, let it all go to
 
13525
# /usr/local, even /usr/local/etc. :-P
 
13526
if test x"${prefix}" = x"/usr"; then
 
13527
        sysconfdir="/etc"
 
13528
        localstatedir="/var"
 
13529
        mandir="/usr/share/man"
 
13530
elif test x"${prefix}" = x"NONE"; then
 
13531
        localstatedir="/usr/local/var"
 
13532
fi
 
13533
 
 
13534
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"
 
13535
 
 
13536
cat >confcache <<\_ACEOF
 
13537
# This file is a shell script that caches the results of configure
 
13538
# tests run on this system so they can be shared between configure
 
13539
# scripts and configure runs, see configure's option --config-cache.
 
13540
# It is not useful on other systems.  If it contains results you don't
 
13541
# want to keep, you may remove or edit it.
 
13542
#
 
13543
# config.status only pays attention to the cache file if you give it
 
13544
# the --recheck option to rerun configure.
 
13545
#
 
13546
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
13547
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
13548
# following values.
 
13549
 
 
13550
_ACEOF
 
13551
 
 
13552
# The following way of writing the cache mishandles newlines in values,
 
13553
# but we know of no workaround that is simple, portable, and efficient.
 
13554
# So, we kill variables containing newlines.
 
13555
# Ultrix sh set writes to stderr and can't be redirected directly,
 
13556
# and sets the high bit in the cache file unless we assign to the vars.
 
13557
(
 
13558
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
13559
    eval ac_val=\$$ac_var
 
13560
    case $ac_val in #(
 
13561
    *${as_nl}*)
 
13562
      case $ac_var in #(
 
13563
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
13564
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
13565
      esac
 
13566
      case $ac_var in #(
 
13567
      _ | IFS | as_nl) ;; #(
 
13568
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
13569
      *) { eval $ac_var=; unset $ac_var;} ;;
 
13570
      esac ;;
 
13571
    esac
 
13572
  done
 
13573
 
 
13574
  (set) 2>&1 |
 
13575
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
13576
    *${as_nl}ac_space=\ *)
 
13577
      # `set' does not quote correctly, so add quotes: double-quote
 
13578
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
13579
      sed -n \
 
13580
        "s/'/'\\\\''/g;
 
13581
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
13582
      ;; #(
 
13583
    *)
 
13584
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
13585
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
13586
      ;;
 
13587
    esac |
 
13588
    sort
 
13589
) |
 
13590
  sed '
 
13591
     /^ac_cv_env_/b end
 
13592
     t clear
 
13593
     :clear
 
13594
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
13595
     t end
 
13596
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
13597
     :end' >>confcache
 
13598
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
13599
  if test -w "$cache_file"; then
 
13600
    if test "x$cache_file" != "x/dev/null"; then
 
13601
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
13602
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
13603
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
13604
        cat confcache >"$cache_file"
 
13605
      else
 
13606
        case $cache_file in #(
 
13607
        */* | ?:*)
 
13608
          mv -f confcache "$cache_file"$$ &&
 
13609
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
13610
        *)
 
13611
          mv -f confcache "$cache_file" ;;
 
13612
        esac
 
13613
      fi
 
13614
    fi
 
13615
  else
 
13616
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
13617
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
13618
  fi
 
13619
fi
 
13620
rm -f confcache
 
13621
 
 
13622
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
13623
# Let make expand exec_prefix.
 
13624
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
13625
 
 
13626
# Transform confdefs.h into DEFS.
 
13627
# Protect against shell expansion while executing Makefile rules.
 
13628
# Protect against Makefile macro expansion.
 
13629
#
 
13630
# If the first sed substitution is executed (which looks for macros that
 
13631
# take arguments), then branch to the quote section.  Otherwise,
 
13632
# look for a macro that doesn't take arguments.
 
13633
ac_script='
 
13634
:mline
 
13635
/\\$/{
 
13636
 N
 
13637
 s,\\\n,,
 
13638
 b mline
 
13639
}
 
13640
t clear
 
13641
:clear
 
13642
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
13643
t quote
 
13644
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
13645
t quote
 
13646
b any
 
13647
:quote
 
13648
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
13649
s/\[/\\&/g
 
13650
s/\]/\\&/g
 
13651
s/\$/$$/g
 
13652
H
 
13653
:any
 
13654
${
 
13655
        g
 
13656
        s/^\n//
 
13657
        s/\n/ /g
 
13658
        p
 
13659
}
 
13660
'
 
13661
DEFS=`sed -n "$ac_script" confdefs.h`
 
13662
 
 
13663
 
 
13664
ac_libobjs=
 
13665
ac_ltlibobjs=
 
13666
U=
 
13667
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
 
13668
  # 1. Remove the extension, and $U if already installed.
 
13669
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
13670
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
13671
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
13672
  #    will be set to the directory where LIBOBJS objects are built.
 
13673
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
13674
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
13675
done
 
13676
LIB@&t@OBJS=$ac_libobjs
 
13677
 
 
13678
LTLIBOBJS=$ac_ltlibobjs
 
13679
 
 
13680
 
 
13681
 if test -n "$EXEEXT"; then
 
13682
  am__EXEEXT_TRUE=
 
13683
  am__EXEEXT_FALSE='#'
 
13684
else
 
13685
  am__EXEEXT_TRUE='#'
 
13686
  am__EXEEXT_FALSE=
 
13687
fi
 
13688
 
 
13689
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
13690
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
13691
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13692
fi
 
13693
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13694
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
13695
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13696
fi
 
13697
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
 
13698
  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
 
13699
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13700
fi
 
13701
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
 
13702
  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
 
13703
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13704
fi
 
13705
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
 
13706
  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
 
13707
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13708
fi
 
13709
if test -z "${OPENSSL_UI_TRUE}" && test -z "${OPENSSL_UI_FALSE}"; then
 
13710
  as_fn_error $? "conditional \"OPENSSL_UI\" was never defined.
 
13711
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13712
fi
 
13713
if test -z "${OPENSSL_UI_TRUE}" && test -z "${OPENSSL_UI_FALSE}"; then
 
13714
  as_fn_error $? "conditional \"OPENSSL_UI\" was never defined.
 
13715
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13716
fi
 
13717
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
 
13718
  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
 
13719
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13720
fi
 
13721
if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
 
13722
  as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
 
13723
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13724
fi
 
13725
if test -z "${OPENSSL_UI_TRUE}" && test -z "${OPENSSL_UI_FALSE}"; then
 
13726
  as_fn_error $? "conditional \"OPENSSL_UI\" was never defined.
 
13727
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13728
fi
 
13729
if test -z "${TSS_BUILD_HASH_TRUE}" && test -z "${TSS_BUILD_HASH_FALSE}"; then
 
13730
  as_fn_error $? "conditional \"TSS_BUILD_HASH\" was never defined.
 
13731
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13732
fi
 
13733
if test -z "${TSS_BUILD_GETSET_TRUE}" && test -z "${TSS_BUILD_GETSET_FALSE}"; then
 
13734
  as_fn_error $? "conditional \"TSS_BUILD_GETSET\" was never defined.
 
13735
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13736
fi
 
13737
if test -z "${TSS_BUILD_RANDOM_TRUE}" && test -z "${TSS_BUILD_RANDOM_FALSE}"; then
 
13738
  as_fn_error $? "conditional \"TSS_BUILD_RANDOM\" was never defined.
 
13739
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13740
fi
 
13741
if test -z "${TSS_BUILD_CAPS_TRUE}" && test -z "${TSS_BUILD_CAPS_FALSE}"; then
 
13742
  as_fn_error $? "conditional \"TSS_BUILD_CAPS\" was never defined.
 
13743
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13744
fi
 
13745
if test -z "${TSS_BUILD_CAPS_TPM_TRUE}" && test -z "${TSS_BUILD_CAPS_TPM_FALSE}"; then
 
13746
  as_fn_error $? "conditional \"TSS_BUILD_CAPS_TPM\" was never defined.
 
13747
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13748
fi
 
13749
if test -z "${TSS_BUILD_POLICY_TRUE}" && test -z "${TSS_BUILD_POLICY_FALSE}"; then
 
13750
  as_fn_error $? "conditional \"TSS_BUILD_POLICY\" was never defined.
 
13751
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13752
fi
 
13753
if test -z "${TSS_BUILD_DIR_TRUE}" && test -z "${TSS_BUILD_DIR_FALSE}"; then
 
13754
  as_fn_error $? "conditional \"TSS_BUILD_DIR\" was never defined.
 
13755
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13756
fi
 
13757
if test -z "${TSS_BUILD_PCR_EVENTS_TRUE}" && test -z "${TSS_BUILD_PCR_EVENTS_FALSE}"; then
 
13758
  as_fn_error $? "conditional \"TSS_BUILD_PCR_EVENTS\" was never defined.
 
13759
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13760
fi
 
13761
if test -z "${TSS_BUILD_SIGN_TRUE}" && test -z "${TSS_BUILD_SIGN_FALSE}"; then
 
13762
  as_fn_error $? "conditional \"TSS_BUILD_SIGN\" was never defined.
 
13763
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13764
fi
 
13765
if test -z "${TSS_BUILD_QUOTE_TRUE}" && test -z "${TSS_BUILD_QUOTE_FALSE}"; then
 
13766
  as_fn_error $? "conditional \"TSS_BUILD_QUOTE\" was never defined.
 
13767
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13768
fi
 
13769
if test -z "${TSS_BUILD_PCR_COMP_TRUE}" && test -z "${TSS_BUILD_PCR_COMP_FALSE}"; then
 
13770
  as_fn_error $? "conditional \"TSS_BUILD_PCR_COMP\" was never defined.
 
13771
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13772
fi
 
13773
if test -z "${TSS_BUILD_SEAL_TRUE}" && test -z "${TSS_BUILD_SEAL_FALSE}"; then
 
13774
  as_fn_error $? "conditional \"TSS_BUILD_SEAL\" was never defined.
 
13775
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13776
fi
 
13777
if test -z "${TSS_BUILD_CHANGEAUTH_TRUE}" && test -z "${TSS_BUILD_CHANGEAUTH_FALSE}"; then
 
13778
  as_fn_error $? "conditional \"TSS_BUILD_CHANGEAUTH\" was never defined.
 
13779
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13780
fi
 
13781
if test -z "${TSS_BUILD_BIND_TRUE}" && test -z "${TSS_BUILD_BIND_FALSE}"; then
 
13782
  as_fn_error $? "conditional \"TSS_BUILD_BIND\" was never defined.
 
13783
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13784
fi
 
13785
if test -z "${TSS_BUILD_OWN_TRUE}" && test -z "${TSS_BUILD_OWN_FALSE}"; then
 
13786
  as_fn_error $? "conditional \"TSS_BUILD_OWN\" was never defined.
 
13787
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13788
fi
 
13789
if test -z "${TSS_BUILD_EK_TRUE}" && test -z "${TSS_BUILD_EK_FALSE}"; then
 
13790
  as_fn_error $? "conditional \"TSS_BUILD_EK\" was never defined.
 
13791
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13792
fi
 
13793
if test -z "${TSS_BUILD_PS_TRUE}" && test -z "${TSS_BUILD_PS_FALSE}"; then
 
13794
  as_fn_error $? "conditional \"TSS_BUILD_PS\" was never defined.
 
13795
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13796
fi
 
13797
if test -z "${TSS_BUILD_ADMIN_TRUE}" && test -z "${TSS_BUILD_ADMIN_FALSE}"; then
 
13798
  as_fn_error $? "conditional \"TSS_BUILD_ADMIN\" was never defined.
 
13799
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13800
fi
 
13801
if test -z "${TSS_BUILD_AIK_TRUE}" && test -z "${TSS_BUILD_AIK_FALSE}"; then
 
13802
  as_fn_error $? "conditional \"TSS_BUILD_AIK\" was never defined.
 
13803
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13804
fi
 
13805
if test -z "${TSS_BUILD_CERTIFY_TRUE}" && test -z "${TSS_BUILD_CERTIFY_FALSE}"; then
 
13806
  as_fn_error $? "conditional \"TSS_BUILD_CERTIFY\" was never defined.
 
13807
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13808
fi
 
13809
if test -z "${TSS_BUILD_MAINT_TRUE}" && test -z "${TSS_BUILD_MAINT_FALSE}"; then
 
13810
  as_fn_error $? "conditional \"TSS_BUILD_MAINT\" was never defined.
 
13811
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13812
fi
 
13813
if test -z "${TSS_BUILD_MIGRATION_TRUE}" && test -z "${TSS_BUILD_MIGRATION_FALSE}"; then
 
13814
  as_fn_error $? "conditional \"TSS_BUILD_MIGRATION\" was never defined.
 
13815
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13816
fi
 
13817
if test -z "${TSS_BUILD_KEY_TRUE}" && test -z "${TSS_BUILD_KEY_FALSE}"; then
 
13818
  as_fn_error $? "conditional \"TSS_BUILD_KEY\" was never defined.
 
13819
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13820
fi
 
13821
if test -z "${TSS_BUILD_PCR_EXTEND_TRUE}" && test -z "${TSS_BUILD_PCR_EXTEND_FALSE}"; then
 
13822
  as_fn_error $? "conditional \"TSS_BUILD_PCR_EXTEND\" was never defined.
 
13823
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13824
fi
 
13825
if test -z "${TSS_BUILD_SELFTEST_TRUE}" && test -z "${TSS_BUILD_SELFTEST_FALSE}"; then
 
13826
  as_fn_error $? "conditional \"TSS_BUILD_SELFTEST\" was never defined.
 
13827
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13828
fi
 
13829
if test -z "${TSS_BUILD_TSS12_TRUE}" && test -z "${TSS_BUILD_TSS12_FALSE}"; then
 
13830
  as_fn_error $? "conditional \"TSS_BUILD_TSS12\" was never defined.
 
13831
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13832
fi
 
13833
if test -z "${TSS_BUILD_DAA_TRUE}" && test -z "${TSS_BUILD_DAA_FALSE}"; then
 
13834
  as_fn_error $? "conditional \"TSS_BUILD_DAA\" was never defined.
 
13835
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13836
fi
 
13837
if test -z "${TSS_BUILD_PCR_COMP12_TRUE}" && test -z "${TSS_BUILD_PCR_COMP12_FALSE}"; then
 
13838
  as_fn_error $? "conditional \"TSS_BUILD_PCR_COMP12\" was never defined.
 
13839
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13840
fi
 
13841
if test -z "${TSS_BUILD_COUNTER_TRUE}" && test -z "${TSS_BUILD_COUNTER_FALSE}"; then
 
13842
  as_fn_error $? "conditional \"TSS_BUILD_COUNTER\" was never defined.
 
13843
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13844
fi
 
13845
if test -z "${TSS_BUILD_TICK_TRUE}" && test -z "${TSS_BUILD_TICK_FALSE}"; then
 
13846
  as_fn_error $? "conditional \"TSS_BUILD_TICK\" was never defined.
 
13847
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13848
fi
 
13849
if test -z "${TSS_BUILD_TRANSPORT_TRUE}" && test -z "${TSS_BUILD_TRANSPORT_FALSE}"; then
 
13850
  as_fn_error $? "conditional \"TSS_BUILD_TRANSPORT\" was never defined.
 
13851
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13852
fi
 
13853
if test -z "${TSS_BUILD_ASN1_TRUE}" && test -z "${TSS_BUILD_ASN1_FALSE}"; then
 
13854
  as_fn_error $? "conditional \"TSS_BUILD_ASN1\" was never defined.
 
13855
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13856
fi
 
13857
if test -z "${TSS_BUILD_NV_TRUE}" && test -z "${TSS_BUILD_NV_FALSE}"; then
 
13858
  as_fn_error $? "conditional \"TSS_BUILD_NV\" was never defined.
 
13859
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13860
fi
 
13861
if test -z "${TSS_BUILD_AUDIT_TRUE}" && test -z "${TSS_BUILD_AUDIT_FALSE}"; then
 
13862
  as_fn_error $? "conditional \"TSS_BUILD_AUDIT\" was never defined.
 
13863
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13864
fi
 
13865
if test -z "${TSS_BUILD_SEALX_TRUE}" && test -z "${TSS_BUILD_SEALX_FALSE}"; then
 
13866
  as_fn_error $? "conditional \"TSS_BUILD_SEALX\" was never defined.
 
13867
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13868
fi
 
13869
if test -z "${TSS_BUILD_DELEGATION_TRUE}" && test -z "${TSS_BUILD_DELEGATION_FALSE}"; then
 
13870
  as_fn_error $? "conditional \"TSS_BUILD_DELEGATION\" was never defined.
 
13871
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13872
fi
 
13873
if test -z "${TSS_BUILD_QUOTE2_TRUE}" && test -z "${TSS_BUILD_QUOTE2_FALSE}"; then
 
13874
  as_fn_error $? "conditional \"TSS_BUILD_QUOTE2\" was never defined.
 
13875
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13876
fi
 
13877
if test -z "${TSS_BUILD_CMK_TRUE}" && test -z "${TSS_BUILD_CMK_FALSE}"; then
 
13878
  as_fn_error $? "conditional \"TSS_BUILD_CMK\" was never defined.
 
13879
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13880
fi
 
13881
if test -z "${TSS_BUILD_TSS12_TRUE}" && test -z "${TSS_BUILD_TSS12_FALSE}"; then
 
13882
  as_fn_error $? "conditional \"TSS_BUILD_TSS12\" was never defined.
 
13883
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13884
fi
 
13885
if test -z "${TSS_BUILD_DAA_TRUE}" && test -z "${TSS_BUILD_DAA_FALSE}"; then
 
13886
  as_fn_error $? "conditional \"TSS_BUILD_DAA\" was never defined.
 
13887
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13888
fi
 
13889
if test -z "${TSS_BUILD_PCR_COMP12_TRUE}" && test -z "${TSS_BUILD_PCR_COMP12_FALSE}"; then
 
13890
  as_fn_error $? "conditional \"TSS_BUILD_PCR_COMP12\" was never defined.
 
13891
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13892
fi
 
13893
if test -z "${TSS_BUILD_COUNTER_TRUE}" && test -z "${TSS_BUILD_COUNTER_FALSE}"; then
 
13894
  as_fn_error $? "conditional \"TSS_BUILD_COUNTER\" was never defined.
 
13895
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13896
fi
 
13897
if test -z "${TSS_BUILD_TICK_TRUE}" && test -z "${TSS_BUILD_TICK_FALSE}"; then
 
13898
  as_fn_error $? "conditional \"TSS_BUILD_TICK\" was never defined.
 
13899
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13900
fi
 
13901
if test -z "${TSS_BUILD_TRANSPORT_TRUE}" && test -z "${TSS_BUILD_TRANSPORT_FALSE}"; then
 
13902
  as_fn_error $? "conditional \"TSS_BUILD_TRANSPORT\" was never defined.
 
13903
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13904
fi
 
13905
if test -z "${TSS_BUILD_ASN1_TRUE}" && test -z "${TSS_BUILD_ASN1_FALSE}"; then
 
13906
  as_fn_error $? "conditional \"TSS_BUILD_ASN1\" was never defined.
 
13907
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13908
fi
 
13909
if test -z "${TSS_BUILD_NV_TRUE}" && test -z "${TSS_BUILD_NV_FALSE}"; then
 
13910
  as_fn_error $? "conditional \"TSS_BUILD_NV\" was never defined.
 
13911
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13912
fi
 
13913
if test -z "${TSS_BUILD_AUDIT_TRUE}" && test -z "${TSS_BUILD_AUDIT_FALSE}"; then
 
13914
  as_fn_error $? "conditional \"TSS_BUILD_AUDIT\" was never defined.
 
13915
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13916
fi
 
13917
if test -z "${TSS_BUILD_SEALX_TRUE}" && test -z "${TSS_BUILD_SEALX_FALSE}"; then
 
13918
  as_fn_error $? "conditional \"TSS_BUILD_SEALX\" was never defined.
 
13919
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13920
fi
 
13921
if test -z "${TSS_BUILD_DELEGATION_TRUE}" && test -z "${TSS_BUILD_DELEGATION_FALSE}"; then
 
13922
  as_fn_error $? "conditional \"TSS_BUILD_DELEGATION\" was never defined.
 
13923
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13924
fi
 
13925
if test -z "${TSS_BUILD_QUOTE2_TRUE}" && test -z "${TSS_BUILD_QUOTE2_FALSE}"; then
 
13926
  as_fn_error $? "conditional \"TSS_BUILD_QUOTE2\" was never defined.
 
13927
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13928
fi
 
13929
if test -z "${TSS_BUILD_CMK_TRUE}" && test -z "${TSS_BUILD_CMK_FALSE}"; then
 
13930
  as_fn_error $? "conditional \"TSS_BUILD_CMK\" was never defined.
 
13931
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13932
fi
 
13933
if test -z "${TSS_BUILD_NV_LIST_TRUE}" && test -z "${TSS_BUILD_NV_LIST_FALSE}"; then
 
13934
  as_fn_error $? "conditional \"TSS_BUILD_NV_LIST\" was never defined.
 
13935
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13936
fi
 
13937
if test -z "${TSS_BUILD_NV_SUPPORT_TRUE}" && test -z "${TSS_BUILD_NV_SUPPORT_FALSE}"; then
 
13938
  as_fn_error $? "conditional \"TSS_BUILD_NV_SUPPORT\" was never defined.
 
13939
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13940
fi
 
13941
if test -z "${TSS_BUILD_GET_FLAGS_TRUE}" && test -z "${TSS_BUILD_GET_FLAGS_FALSE}"; then
 
13942
  as_fn_error $? "conditional \"TSS_BUILD_GET_FLAGS\" was never defined.
 
13943
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13944
fi
 
13945
if test -z "${TSS_BUILD_PCRS_LIST_TRUE}" && test -z "${TSS_BUILD_PCRS_LIST_FALSE}"; then
 
13946
  as_fn_error $? "conditional \"TSS_BUILD_PCRS_LIST\" was never defined.
 
13947
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13948
fi
 
13949
if test -z "${TSS_BUILD_HASH_LIST_TRUE}" && test -z "${TSS_BUILD_HASH_LIST_FALSE}"; then
 
13950
  as_fn_error $? "conditional \"TSS_BUILD_HASH_LIST\" was never defined.
 
13951
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13952
fi
 
13953
if test -z "${TSS_BUILD_ENCDATA_LIST_TRUE}" && test -z "${TSS_BUILD_ENCDATA_LIST_FALSE}"; then
 
13954
  as_fn_error $? "conditional \"TSS_BUILD_ENCDATA_LIST\" was never defined.
 
13955
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13956
fi
 
13957
if test -z "${TSS_BUILD_RSAKEY_LIST_TRUE}" && test -z "${TSS_BUILD_RSAKEY_LIST_FALSE}"; then
 
13958
  as_fn_error $? "conditional \"TSS_BUILD_RSAKEY_LIST\" was never defined.
 
13959
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13960
fi
 
13961
if test -z "${TSS_BUILD_AUTH_TRUE}" && test -z "${TSS_BUILD_AUTH_FALSE}"; then
 
13962
  as_fn_error $? "conditional \"TSS_BUILD_AUTH\" was never defined.
 
13963
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13964
fi
 
13965
if test -z "${TSS_BUILD_ASYM_CRYPTO_TRUE}" && test -z "${TSS_BUILD_ASYM_CRYPTO_FALSE}"; then
 
13966
  as_fn_error $? "conditional \"TSS_BUILD_ASYM_CRYPTO\" was never defined.
 
13967
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13968
fi
 
13969
if test -z "${TSS_BUILD_SYM_CRYPTO_TRUE}" && test -z "${TSS_BUILD_SYM_CRYPTO_FALSE}"; then
 
13970
  as_fn_error $? "conditional \"TSS_BUILD_SYM_CRYPTO\" was never defined.
 
13971
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13972
fi
 
13973
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13974
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
13975
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13976
fi
 
13977
 
 
13978
 
 
13979
: "${CONFIG_STATUS=./config.status}"
 
13980
ac_write_fail=0
 
13981
ac_clean_files_save=$ac_clean_files
 
13982
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
13983
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
13984
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
13985
as_write_fail=0
 
13986
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
13987
#! $SHELL
 
13988
# Generated by $as_me.
 
13989
# Run this file to recreate the current configuration.
 
13990
# Compiler output produced by configure, useful for debugging
 
13991
# configure, is in config.log if it exists.
 
13992
 
 
13993
debug=false
 
13994
ac_cs_recheck=false
 
13995
ac_cs_silent=false
 
13996
 
 
13997
SHELL=\${CONFIG_SHELL-$SHELL}
 
13998
export SHELL
 
13999
_ASEOF
 
14000
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
14001
## -------------------- ##
 
14002
## M4sh Initialization. ##
 
14003
## -------------------- ##
 
14004
 
 
14005
# Be more Bourne compatible
 
14006
DUALCASE=1; export DUALCASE # for MKS sh
 
14007
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
14008
  emulate sh
 
14009
  NULLCMD=:
 
14010
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
14011
  # is contrary to our usage.  Disable this feature.
 
14012
  alias -g '${1+"$@"}'='"$@"'
 
14013
  setopt NO_GLOB_SUBST
 
14014
else
 
14015
  case `(set -o) 2>/dev/null` in @%:@(
 
14016
  *posix*) :
 
14017
    set -o posix ;; @%:@(
 
14018
  *) :
 
14019
     ;;
 
14020
esac
 
14021
fi
 
14022
 
 
14023
 
 
14024
as_nl='
 
14025
'
 
14026
export as_nl
 
14027
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
14028
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
14029
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
14030
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
14031
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
14032
# but without wasting forks for bash or zsh.
 
14033
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
14034
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
14035
  as_echo='print -r --'
 
14036
  as_echo_n='print -rn --'
 
14037
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
14038
  as_echo='printf %s\n'
 
14039
  as_echo_n='printf %s'
 
14040
else
 
14041
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
14042
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
14043
    as_echo_n='/usr/ucb/echo -n'
 
14044
  else
 
14045
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
14046
    as_echo_n_body='eval
 
14047
      arg=$1;
 
14048
      case $arg in @%:@(
 
14049
      *"$as_nl"*)
 
14050
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
14051
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
14052
      esac;
 
14053
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
14054
    '
 
14055
    export as_echo_n_body
 
14056
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
14057
  fi
 
14058
  export as_echo_body
 
14059
  as_echo='sh -c $as_echo_body as_echo'
 
14060
fi
 
14061
 
 
14062
# The user is always right.
 
14063
if test "${PATH_SEPARATOR+set}" != set; then
 
14064
  PATH_SEPARATOR=:
 
14065
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
14066
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
14067
      PATH_SEPARATOR=';'
 
14068
  }
 
14069
fi
 
14070
 
 
14071
 
 
14072
# IFS
 
14073
# We need space, tab and new line, in precisely that order.  Quoting is
 
14074
# there to prevent editors from complaining about space-tab.
 
14075
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
14076
# splitting by setting IFS to empty value.)
 
14077
IFS=" ""        $as_nl"
 
14078
 
 
14079
# Find who we are.  Look in the path if we contain no directory separator.
 
14080
as_myself=
 
14081
case $0 in @%:@((
 
14082
  *[\\/]* ) as_myself=$0 ;;
 
14083
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14084
for as_dir in $PATH
 
14085
do
 
14086
  IFS=$as_save_IFS
 
14087
  test -z "$as_dir" && as_dir=.
 
14088
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
14089
  done
 
14090
IFS=$as_save_IFS
 
14091
 
 
14092
     ;;
 
14093
esac
 
14094
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
14095
# in which case we are not to be found in the path.
 
14096
if test "x$as_myself" = x; then
 
14097
  as_myself=$0
 
14098
fi
 
14099
if test ! -f "$as_myself"; then
 
14100
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
14101
  exit 1
 
14102
fi
 
14103
 
 
14104
# Unset variables that we do not need and which cause bugs (e.g. in
 
14105
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
14106
# suppresses any "Segmentation fault" message there.  '((' could
 
14107
# trigger a bug in pdksh 5.2.14.
 
14108
for as_var in BASH_ENV ENV MAIL MAILPATH
 
14109
do eval test x\${$as_var+set} = xset \
 
14110
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
14111
done
 
14112
PS1='$ '
 
14113
PS2='> '
 
14114
PS4='+ '
 
14115
 
 
14116
# NLS nuisances.
 
14117
LC_ALL=C
 
14118
export LC_ALL
 
14119
LANGUAGE=C
 
14120
export LANGUAGE
 
14121
 
 
14122
# CDPATH.
 
14123
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
14124
 
 
14125
 
 
14126
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
 
14127
@%:@ ----------------------------------------
 
14128
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
14129
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
14130
@%:@ script with STATUS, using 1 if that was 0.
 
14131
as_fn_error ()
 
14132
{
 
14133
  as_status=$1; test $as_status -eq 0 && as_status=1
 
14134
  if test "$4"; then
 
14135
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
14136
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
14137
  fi
 
14138
  $as_echo "$as_me: error: $2" >&2
 
14139
  as_fn_exit $as_status
 
14140
} @%:@ as_fn_error
 
14141
 
 
14142
 
 
14143
@%:@ as_fn_set_status STATUS
 
14144
@%:@ -----------------------
 
14145
@%:@ Set @S|@? to STATUS, without forking.
 
14146
as_fn_set_status ()
 
14147
{
 
14148
  return $1
 
14149
} @%:@ as_fn_set_status
 
14150
 
 
14151
@%:@ as_fn_exit STATUS
 
14152
@%:@ -----------------
 
14153
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
14154
as_fn_exit ()
 
14155
{
 
14156
  set +e
 
14157
  as_fn_set_status $1
 
14158
  exit $1
 
14159
} @%:@ as_fn_exit
 
14160
 
 
14161
@%:@ as_fn_unset VAR
 
14162
@%:@ ---------------
 
14163
@%:@ Portably unset VAR.
 
14164
as_fn_unset ()
 
14165
{
 
14166
  { eval $1=; unset $1;}
 
14167
}
 
14168
as_unset=as_fn_unset
 
14169
@%:@ as_fn_append VAR VALUE
 
14170
@%:@ ----------------------
 
14171
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
14172
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
14173
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
14174
@%:@ implementations.
 
14175
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
14176
  eval 'as_fn_append ()
 
14177
  {
 
14178
    eval $1+=\$2
 
14179
  }'
 
14180
else
 
14181
  as_fn_append ()
 
14182
  {
 
14183
    eval $1=\$$1\$2
 
14184
  }
 
14185
fi # as_fn_append
 
14186
 
 
14187
@%:@ as_fn_arith ARG...
 
14188
@%:@ ------------------
 
14189
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
14190
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 
14191
@%:@ must be portable across @S|@(()) and expr.
 
14192
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
14193
  eval 'as_fn_arith ()
 
14194
  {
 
14195
    as_val=$(( $* ))
 
14196
  }'
 
14197
else
 
14198
  as_fn_arith ()
 
14199
  {
 
14200
    as_val=`expr "$@" || test $? -eq 1`
 
14201
  }
 
14202
fi # as_fn_arith
 
14203
 
 
14204
 
 
14205
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
14206
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
14207
  as_expr=expr
 
14208
else
 
14209
  as_expr=false
 
14210
fi
 
14211
 
 
14212
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
14213
  as_basename=basename
 
14214
else
 
14215
  as_basename=false
 
14216
fi
 
14217
 
 
14218
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
14219
  as_dirname=dirname
 
14220
else
 
14221
  as_dirname=false
 
14222
fi
 
14223
 
 
14224
as_me=`$as_basename -- "$0" ||
 
14225
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
14226
         X"$0" : 'X\(//\)$' \| \
 
14227
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
14228
$as_echo X/"$0" |
 
14229
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
14230
            s//\1/
 
14231
            q
 
14232
          }
 
14233
          /^X\/\(\/\/\)$/{
 
14234
            s//\1/
 
14235
            q
 
14236
          }
 
14237
          /^X\/\(\/\).*/{
 
14238
            s//\1/
 
14239
            q
 
14240
          }
 
14241
          s/.*/./; q'`
 
14242
 
 
14243
# Avoid depending upon Character Ranges.
 
14244
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
14245
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
14246
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
14247
as_cr_digits='0123456789'
 
14248
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
14249
 
 
14250
ECHO_C= ECHO_N= ECHO_T=
 
14251
case `echo -n x` in @%:@(((((
 
14252
-n*)
 
14253
  case `echo 'xy\c'` in
 
14254
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
14255
  xy)  ECHO_C='\c';;
 
14256
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
14257
       ECHO_T=' ';;
 
14258
  esac;;
 
14259
*)
 
14260
  ECHO_N='-n';;
 
14261
esac
 
14262
 
 
14263
rm -f conf$$ conf$$.exe conf$$.file
 
14264
if test -d conf$$.dir; then
 
14265
  rm -f conf$$.dir/conf$$.file
 
14266
else
 
14267
  rm -f conf$$.dir
 
14268
  mkdir conf$$.dir 2>/dev/null
 
14269
fi
 
14270
if (echo >conf$$.file) 2>/dev/null; then
 
14271
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
14272
    as_ln_s='ln -s'
 
14273
    # ... but there are two gotchas:
 
14274
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
14275
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
14276
    # In both cases, we have to default to `cp -p'.
 
14277
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
14278
      as_ln_s='cp -p'
 
14279
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
14280
    as_ln_s=ln
 
14281
  else
 
14282
    as_ln_s='cp -p'
 
14283
  fi
 
14284
else
 
14285
  as_ln_s='cp -p'
 
14286
fi
 
14287
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
14288
rmdir conf$$.dir 2>/dev/null
 
14289
 
 
14290
 
 
14291
@%:@ as_fn_mkdir_p
 
14292
@%:@ -------------
 
14293
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
 
14294
as_fn_mkdir_p ()
 
14295
{
 
14296
 
 
14297
  case $as_dir in #(
 
14298
  -*) as_dir=./$as_dir;;
 
14299
  esac
 
14300
  test -d "$as_dir" || eval $as_mkdir_p || {
 
14301
    as_dirs=
 
14302
    while :; do
 
14303
      case $as_dir in #(
 
14304
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
14305
      *) as_qdir=$as_dir;;
 
14306
      esac
 
14307
      as_dirs="'$as_qdir' $as_dirs"
 
14308
      as_dir=`$as_dirname -- "$as_dir" ||
 
14309
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14310
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
14311
         X"$as_dir" : 'X\(//\)$' \| \
 
14312
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
14313
$as_echo X"$as_dir" |
 
14314
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14315
            s//\1/
 
14316
            q
 
14317
          }
 
14318
          /^X\(\/\/\)[^/].*/{
 
14319
            s//\1/
 
14320
            q
 
14321
          }
 
14322
          /^X\(\/\/\)$/{
 
14323
            s//\1/
 
14324
            q
 
14325
          }
 
14326
          /^X\(\/\).*/{
 
14327
            s//\1/
 
14328
            q
 
14329
          }
 
14330
          s/.*/./; q'`
 
14331
      test -d "$as_dir" && break
 
14332
    done
 
14333
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
14334
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
14335
 
 
14336
 
 
14337
} @%:@ as_fn_mkdir_p
 
14338
if mkdir -p . 2>/dev/null; then
 
14339
  as_mkdir_p='mkdir -p "$as_dir"'
 
14340
else
 
14341
  test -d ./-p && rmdir ./-p
 
14342
  as_mkdir_p=false
 
14343
fi
 
14344
 
 
14345
if test -x / >/dev/null 2>&1; then
 
14346
  as_test_x='test -x'
 
14347
else
 
14348
  if ls -dL / >/dev/null 2>&1; then
 
14349
    as_ls_L_option=L
 
14350
  else
 
14351
    as_ls_L_option=
 
14352
  fi
 
14353
  as_test_x='
 
14354
    eval sh -c '\''
 
14355
      if test -d "$1"; then
 
14356
        test -d "$1/.";
 
14357
      else
 
14358
        case $1 in @%:@(
 
14359
        -*)set "./$1";;
 
14360
        esac;
 
14361
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
 
14362
        ???[sx]*):;;*)false;;esac;fi
 
14363
    '\'' sh
 
14364
  '
 
14365
fi
 
14366
as_executable_p=$as_test_x
 
14367
 
 
14368
# Sed expression to map a string onto a valid CPP name.
 
14369
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
14370
 
 
14371
# Sed expression to map a string onto a valid variable name.
 
14372
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
14373
 
 
14374
 
 
14375
exec 6>&1
 
14376
## ----------------------------------- ##
 
14377
## Main body of $CONFIG_STATUS script. ##
 
14378
## ----------------------------------- ##
 
14379
_ASEOF
 
14380
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
14381
 
 
14382
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14383
# Save the log message, to keep $0 and so on meaningful, and to
 
14384
# report actual input values of CONFIG_FILES etc. instead of their
 
14385
# values after options handling.
 
14386
ac_log="
 
14387
This file was extended by trousers $as_me 0.3.9, which was
 
14388
generated by GNU Autoconf 2.68.  Invocation command line was
 
14389
 
 
14390
  CONFIG_FILES    = $CONFIG_FILES
 
14391
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
14392
  CONFIG_LINKS    = $CONFIG_LINKS
 
14393
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
14394
  $ $0 $@
 
14395
 
 
14396
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
14397
"
 
14398
 
 
14399
_ACEOF
 
14400
 
 
14401
case $ac_config_files in *"
 
14402
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
14403
esac
 
14404
 
 
14405
 
 
14406
 
 
14407
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14408
# Files that config.status was made for.
 
14409
config_files="$ac_config_files"
 
14410
config_commands="$ac_config_commands"
 
14411
 
 
14412
_ACEOF
 
14413
 
 
14414
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14415
ac_cs_usage="\
 
14416
\`$as_me' instantiates files and other configuration actions
 
14417
from templates according to the current configuration.  Unless the files
 
14418
and actions are specified as TAGs, all are instantiated by default.
 
14419
 
 
14420
Usage: $0 [OPTION]... [TAG]...
 
14421
 
 
14422
  -h, --help       print this help, then exit
 
14423
  -V, --version    print version number and configuration settings, then exit
 
14424
      --config     print configuration, then exit
 
14425
  -q, --quiet, --silent
 
14426
                   do not print progress messages
 
14427
  -d, --debug      don't remove temporary files
 
14428
      --recheck    update $as_me by reconfiguring in the same conditions
 
14429
      --file=FILE[:TEMPLATE] 
 
14430
                   instantiate the configuration file FILE
 
14431
 
 
14432
Configuration files:
 
14433
$config_files
 
14434
 
 
14435
Configuration commands:
 
14436
$config_commands
 
14437
 
 
14438
Report bugs to <trousers-tech@lists.sf.net>."
 
14439
 
 
14440
_ACEOF
 
14441
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14442
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
14443
ac_cs_version="\\
 
14444
trousers config.status 0.3.9
 
14445
configured by $0, generated by GNU Autoconf 2.68,
 
14446
  with options \\"\$ac_cs_config\\"
 
14447
 
 
14448
Copyright (C) 2010 Free Software Foundation, Inc.
 
14449
This config.status script is free software; the Free Software Foundation
 
14450
gives unlimited permission to copy, distribute and modify it."
 
14451
 
 
14452
ac_pwd='$ac_pwd'
 
14453
srcdir='$srcdir'
 
14454
INSTALL='$INSTALL'
 
14455
MKDIR_P='$MKDIR_P'
 
14456
AWK='$AWK'
 
14457
test -n "\$AWK" || AWK=awk
 
14458
_ACEOF
 
14459
 
 
14460
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14461
# The default lists apply if the user does not specify any file.
 
14462
ac_need_defaults=:
 
14463
while test $# != 0
 
14464
do
 
14465
  case $1 in
 
14466
  --*=?*)
 
14467
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
14468
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
14469
    ac_shift=:
 
14470
    ;;
 
14471
  --*=)
 
14472
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
14473
    ac_optarg=
 
14474
    ac_shift=:
 
14475
    ;;
 
14476
  *)
 
14477
    ac_option=$1
 
14478
    ac_optarg=$2
 
14479
    ac_shift=shift
 
14480
    ;;
 
14481
  esac
 
14482
 
 
14483
  case $ac_option in
 
14484
  # Handling of the options.
 
14485
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
14486
    ac_cs_recheck=: ;;
 
14487
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
14488
    $as_echo "$ac_cs_version"; exit ;;
 
14489
  --config | --confi | --conf | --con | --co | --c )
 
14490
    $as_echo "$ac_cs_config"; exit ;;
 
14491
  --debug | --debu | --deb | --de | --d | -d )
 
14492
    debug=: ;;
 
14493
  --file | --fil | --fi | --f )
 
14494
    $ac_shift
 
14495
    case $ac_optarg in
 
14496
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
14497
    '') as_fn_error $? "missing file argument" ;;
 
14498
    esac
 
14499
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
14500
    ac_need_defaults=false;;
 
14501
  --he | --h |  --help | --hel | -h )
 
14502
    $as_echo "$ac_cs_usage"; exit ;;
 
14503
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
14504
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
14505
    ac_cs_silent=: ;;
 
14506
 
 
14507
  # This is an error.
 
14508
  -*) as_fn_error $? "unrecognized option: \`$1'
 
14509
Try \`$0 --help' for more information." ;;
 
14510
 
 
14511
  *) as_fn_append ac_config_targets " $1"
 
14512
     ac_need_defaults=false ;;
 
14513
 
 
14514
  esac
 
14515
  shift
 
14516
done
 
14517
 
 
14518
ac_configure_extra_args=
 
14519
 
 
14520
if $ac_cs_silent; then
 
14521
  exec 6>/dev/null
 
14522
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
14523
fi
 
14524
 
 
14525
_ACEOF
 
14526
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14527
if \$ac_cs_recheck; then
 
14528
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
14529
  shift
 
14530
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
14531
  CONFIG_SHELL='$SHELL'
 
14532
  export CONFIG_SHELL
 
14533
  exec "\$@"
 
14534
fi
 
14535
 
 
14536
_ACEOF
 
14537
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14538
exec 5>>config.log
 
14539
{
 
14540
  echo
 
14541
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 
14542
@%:@@%:@ Running $as_me. @%:@@%:@
 
14543
_ASBOX
 
14544
  $as_echo "$ac_log"
 
14545
} >&5
 
14546
 
 
14547
_ACEOF
 
14548
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14549
#
 
14550
# INIT-COMMANDS
 
14551
#
 
14552
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
14553
 
 
14554
 
 
14555
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
14556
# if CDPATH is set.
 
14557
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
14558
 
 
14559
sed_quote_subst='$sed_quote_subst'
 
14560
double_quote_subst='$double_quote_subst'
 
14561
delay_variable_subst='$delay_variable_subst'
 
14562
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
14563
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
14564
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
14565
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
14566
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
14567
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
14568
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
14569
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
14570
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
14571
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
14572
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
14573
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
14574
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
14575
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
14576
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
14577
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
14578
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
14579
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
14580
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
14581
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
14582
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
14583
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
14584
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
14585
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
14586
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
14587
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
14588
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
14589
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
14590
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14591
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14592
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
14593
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
14594
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
14595
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
14596
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
14597
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
14598
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
14599
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
14600
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
14601
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
14602
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
14603
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
14604
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
14605
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
14606
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14607
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14608
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14609
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
14610
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
14611
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
14612
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
14613
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
14614
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
14615
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
14616
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
14617
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"`'
 
14618
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14619
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
14620
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
14621
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
14622
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
14623
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
14624
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
14625
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
14626
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
14627
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
14628
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
14629
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
14630
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
14631
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
14632
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
14633
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
14634
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
14635
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
14636
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14637
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
14638
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
14639
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14640
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14641
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
14642
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
14643
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14644
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14645
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14646
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
14647
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14648
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
14649
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14650
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14651
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14652
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
14653
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
14654
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
14655
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
14656
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
14657
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14658
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
14659
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
14660
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
14661
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
14662
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
14663
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
14664
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
14665
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
14666
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
14667
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14668
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
14669
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
14670
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
14671
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
14672
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
14673
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14674
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
14675
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
14676
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
14677
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
14678
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
14679
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14680
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14681
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
14682
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
14683
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
14684
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
14685
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
14686
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
14687
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
14688
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
14689
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
14690
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
14691
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
14692
 
 
14693
LTCC='$LTCC'
 
14694
LTCFLAGS='$LTCFLAGS'
 
14695
compiler='$compiler_DEFAULT'
 
14696
 
 
14697
# A function that is used when there is no print builtin or printf.
 
14698
func_fallback_echo ()
 
14699
{
 
14700
  eval 'cat <<_LTECHO_EOF
 
14701
\$1
 
14702
_LTECHO_EOF'
 
14703
}
 
14704
 
 
14705
# Quote evaled strings.
 
14706
for var in SHELL \
 
14707
ECHO \
 
14708
SED \
 
14709
GREP \
 
14710
EGREP \
 
14711
FGREP \
 
14712
LD \
 
14713
NM \
 
14714
LN_S \
 
14715
lt_SP2NL \
 
14716
lt_NL2SP \
 
14717
reload_flag \
 
14718
OBJDUMP \
 
14719
deplibs_check_method \
 
14720
file_magic_cmd \
 
14721
file_magic_glob \
 
14722
want_nocaseglob \
 
14723
DLLTOOL \
 
14724
sharedlib_from_linklib_cmd \
 
14725
AR \
 
14726
AR_FLAGS \
 
14727
archiver_list_spec \
 
14728
STRIP \
 
14729
RANLIB \
 
14730
CC \
 
14731
CFLAGS \
 
14732
compiler \
 
14733
lt_cv_sys_global_symbol_pipe \
 
14734
lt_cv_sys_global_symbol_to_cdecl \
 
14735
lt_cv_sys_global_symbol_to_c_name_address \
 
14736
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
14737
nm_file_list_spec \
 
14738
lt_prog_compiler_no_builtin_flag \
 
14739
lt_prog_compiler_pic \
 
14740
lt_prog_compiler_wl \
 
14741
lt_prog_compiler_static \
 
14742
lt_cv_prog_compiler_c_o \
 
14743
need_locks \
 
14744
MANIFEST_TOOL \
 
14745
DSYMUTIL \
 
14746
NMEDIT \
 
14747
LIPO \
 
14748
OTOOL \
 
14749
OTOOL64 \
 
14750
shrext_cmds \
 
14751
export_dynamic_flag_spec \
 
14752
whole_archive_flag_spec \
 
14753
compiler_needs_object \
 
14754
with_gnu_ld \
 
14755
allow_undefined_flag \
 
14756
no_undefined_flag \
 
14757
hardcode_libdir_flag_spec \
 
14758
hardcode_libdir_flag_spec_ld \
 
14759
hardcode_libdir_separator \
 
14760
exclude_expsyms \
 
14761
include_expsyms \
 
14762
file_list_spec \
 
14763
variables_saved_for_relink \
 
14764
libname_spec \
 
14765
library_names_spec \
 
14766
soname_spec \
 
14767
install_override_mode \
 
14768
finish_eval \
 
14769
old_striplib \
 
14770
striplib; do
 
14771
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
14772
    *[\\\\\\\`\\"\\\$]*)
 
14773
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
14774
      ;;
 
14775
    *)
 
14776
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
14777
      ;;
 
14778
    esac
 
14779
done
 
14780
 
 
14781
# Double-quote double-evaled strings.
 
14782
for var in reload_cmds \
 
14783
old_postinstall_cmds \
 
14784
old_postuninstall_cmds \
 
14785
old_archive_cmds \
 
14786
extract_expsyms_cmds \
 
14787
old_archive_from_new_cmds \
 
14788
old_archive_from_expsyms_cmds \
 
14789
archive_cmds \
 
14790
archive_expsym_cmds \
 
14791
module_cmds \
 
14792
module_expsym_cmds \
 
14793
export_symbols_cmds \
 
14794
prelink_cmds \
 
14795
postlink_cmds \
 
14796
postinstall_cmds \
 
14797
postuninstall_cmds \
 
14798
finish_cmds \
 
14799
sys_lib_search_path_spec \
 
14800
sys_lib_dlsearch_path_spec; do
 
14801
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
14802
    *[\\\\\\\`\\"\\\$]*)
 
14803
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
14804
      ;;
 
14805
    *)
 
14806
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
14807
      ;;
 
14808
    esac
 
14809
done
 
14810
 
 
14811
ac_aux_dir='$ac_aux_dir'
 
14812
xsi_shell='$xsi_shell'
 
14813
lt_shell_append='$lt_shell_append'
 
14814
 
 
14815
# See if we are running on zsh, and set the options which allow our
 
14816
# commands through without removal of \ escapes INIT.
 
14817
if test -n "\${ZSH_VERSION+set}" ; then
 
14818
   setopt NO_GLOB_SUBST
 
14819
fi
 
14820
 
 
14821
 
 
14822
    PACKAGE='$PACKAGE'
 
14823
    VERSION='$VERSION'
 
14824
    TIMESTAMP='$TIMESTAMP'
 
14825
    RM='$RM'
 
14826
    ofile='$ofile'
 
14827
 
 
14828
 
 
14829
 
 
14830
 
 
14831
_ACEOF
 
14832
 
 
14833
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14834
 
 
14835
# Handling of arguments.
 
14836
for ac_config_target in $ac_config_targets
 
14837
do
 
14838
  case $ac_config_target in
 
14839
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
14840
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
14841
    "dist/tcsd.conf") CONFIG_FILES="$CONFIG_FILES dist/tcsd.conf" ;;
 
14842
    "dist/fedora/trousers.spec") CONFIG_FILES="$CONFIG_FILES dist/fedora/trousers.spec" ;;
 
14843
    "dist/trousers.spec") CONFIG_FILES="$CONFIG_FILES dist/trousers.spec" ;;
 
14844
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
14845
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
14846
    "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
 
14847
    "src/tcs/Makefile") CONFIG_FILES="$CONFIG_FILES src/tcs/Makefile" ;;
 
14848
    "src/tddl/Makefile") CONFIG_FILES="$CONFIG_FILES src/tddl/Makefile" ;;
 
14849
    "src/tspi/Makefile") CONFIG_FILES="$CONFIG_FILES src/tspi/Makefile" ;;
 
14850
    "src/trspi/Makefile") CONFIG_FILES="$CONFIG_FILES src/trspi/Makefile" ;;
 
14851
    "src/tcsd/Makefile") CONFIG_FILES="$CONFIG_FILES src/tcsd/Makefile" ;;
 
14852
    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
 
14853
    "man/man8/tcsd.8") CONFIG_FILES="$CONFIG_FILES man/man8/tcsd.8" ;;
 
14854
    "man/man5/tcsd.conf.5") CONFIG_FILES="$CONFIG_FILES man/man5/tcsd.conf.5" ;;
 
14855
    "dist/Makefile") CONFIG_FILES="$CONFIG_FILES dist/Makefile" ;;
 
14856
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
 
14857
    "man/man3/Makefile") CONFIG_FILES="$CONFIG_FILES man/man3/Makefile" ;;
 
14858
    "man/man5/Makefile") CONFIG_FILES="$CONFIG_FILES man/man5/Makefile" ;;
 
14859
    "man/man8/Makefile") CONFIG_FILES="$CONFIG_FILES man/man8/Makefile" ;;
 
14860
 
 
14861
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
14862
  esac
 
14863
done
 
14864
 
 
14865
 
 
14866
# If the user did not use the arguments to specify the items to instantiate,
 
14867
# then the envvar interface is used.  Set only those that are not.
 
14868
# We use the long form for the default assignment because of an extremely
 
14869
# bizarre bug on SunOS 4.1.3.
 
14870
if $ac_need_defaults; then
 
14871
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
14872
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
14873
fi
 
14874
 
 
14875
# Have a temporary directory for convenience.  Make it in the build tree
 
14876
# simply because there is no reason against having it here, and in addition,
 
14877
# creating and moving files from /tmp can sometimes cause problems.
 
14878
# Hook for its removal unless debugging.
 
14879
# Note that there is a small window in which the directory will not be cleaned:
 
14880
# after its creation but before its name has been assigned to `$tmp'.
 
14881
$debug ||
 
14882
{
 
14883
  tmp= ac_tmp=
 
14884
  trap 'exit_status=$?
 
14885
  : "${ac_tmp:=$tmp}"
 
14886
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
14887
' 0
 
14888
  trap 'as_fn_exit 1' 1 2 13 15
 
14889
}
 
14890
# Create a (secure) tmp directory for tmp files.
 
14891
 
 
14892
{
 
14893
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
14894
  test -d "$tmp"
 
14895
}  ||
 
14896
{
 
14897
  tmp=./conf$$-$RANDOM
 
14898
  (umask 077 && mkdir "$tmp")
 
14899
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
14900
ac_tmp=$tmp
 
14901
 
 
14902
# Set up the scripts for CONFIG_FILES section.
 
14903
# No need to generate them if there are no CONFIG_FILES.
 
14904
# This happens for instance with `./config.status config.h'.
 
14905
if test -n "$CONFIG_FILES"; then
 
14906
 
 
14907
 
 
14908
ac_cr=`echo X | tr X '\015'`
 
14909
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
14910
# But we know of no other shell where ac_cr would be empty at this
 
14911
# point, so we can use a bashism as a fallback.
 
14912
if test "x$ac_cr" = x; then
 
14913
  eval ac_cr=\$\'\\r\'
 
14914
fi
 
14915
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
14916
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
14917
  ac_cs_awk_cr='\\r'
 
14918
else
 
14919
  ac_cs_awk_cr=$ac_cr
 
14920
fi
 
14921
 
 
14922
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
14923
_ACEOF
 
14924
 
 
14925
 
 
14926
{
 
14927
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
14928
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
14929
  echo "_ACEOF"
 
14930
} >conf$$subs.sh ||
 
14931
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
14932
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
14933
ac_delim='%!_!# '
 
14934
for ac_last_try in false false false false false :; do
 
14935
  . ./conf$$subs.sh ||
 
14936
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
14937
 
 
14938
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
14939
  if test $ac_delim_n = $ac_delim_num; then
 
14940
    break
 
14941
  elif $ac_last_try; then
 
14942
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
14943
  else
 
14944
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
14945
  fi
 
14946
done
 
14947
rm -f conf$$subs.sh
 
14948
 
 
14949
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14950
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
14951
_ACEOF
 
14952
sed -n '
 
14953
h
 
14954
s/^/S["/; s/!.*/"]=/
 
14955
p
 
14956
g
 
14957
s/^[^!]*!//
 
14958
:repl
 
14959
t repl
 
14960
s/'"$ac_delim"'$//
 
14961
t delim
 
14962
:nl
 
14963
h
 
14964
s/\(.\{148\}\)..*/\1/
 
14965
t more1
 
14966
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
14967
p
 
14968
n
 
14969
b repl
 
14970
:more1
 
14971
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
14972
p
 
14973
g
 
14974
s/.\{148\}//
 
14975
t nl
 
14976
:delim
 
14977
h
 
14978
s/\(.\{148\}\)..*/\1/
 
14979
t more2
 
14980
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
14981
p
 
14982
b
 
14983
:more2
 
14984
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
14985
p
 
14986
g
 
14987
s/.\{148\}//
 
14988
t delim
 
14989
' <conf$$subs.awk | sed '
 
14990
/^[^""]/{
 
14991
  N
 
14992
  s/\n//
 
14993
}
 
14994
' >>$CONFIG_STATUS || ac_write_fail=1
 
14995
rm -f conf$$subs.awk
 
14996
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14997
_ACAWK
 
14998
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
14999
  for (key in S) S_is_set[key] = 1
 
15000
  FS = ""
 
15001
 
 
15002
}
 
15003
{
 
15004
  line = $ 0
 
15005
  nfields = split(line, field, "@")
 
15006
  substed = 0
 
15007
  len = length(field[1])
 
15008
  for (i = 2; i < nfields; i++) {
 
15009
    key = field[i]
 
15010
    keylen = length(key)
 
15011
    if (S_is_set[key]) {
 
15012
      value = S[key]
 
15013
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
15014
      len += length(value) + length(field[++i])
 
15015
      substed = 1
 
15016
    } else
 
15017
      len += 1 + keylen
 
15018
  }
 
15019
 
 
15020
  print line
 
15021
}
 
15022
 
 
15023
_ACAWK
 
15024
_ACEOF
 
15025
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15026
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
15027
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
15028
else
 
15029
  cat
 
15030
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
15031
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
15032
_ACEOF
 
15033
 
 
15034
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
15035
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
15036
# trailing colons and then remove the whole line if VPATH becomes empty
 
15037
# (actually we leave an empty line to preserve line numbers).
 
15038
if test "x$srcdir" = x.; then
 
15039
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
15040
h
 
15041
s///
 
15042
s/^/:/
 
15043
s/[      ]*$/:/
 
15044
s/:\$(srcdir):/:/g
 
15045
s/:\${srcdir}:/:/g
 
15046
s/:@srcdir@:/:/g
 
15047
s/^:*//
 
15048
s/:*$//
 
15049
x
 
15050
s/\(=[   ]*\).*/\1/
 
15051
G
 
15052
s/\n//
 
15053
s/^[^=]*=[       ]*$//
 
15054
}'
 
15055
fi
 
15056
 
 
15057
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15058
fi # test -n "$CONFIG_FILES"
 
15059
 
 
15060
 
 
15061
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
 
15062
shift
 
15063
for ac_tag
 
15064
do
 
15065
  case $ac_tag in
 
15066
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
15067
  esac
 
15068
  case $ac_mode$ac_tag in
 
15069
  :[FHL]*:*);;
 
15070
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
15071
  :[FH]-) ac_tag=-:-;;
 
15072
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
15073
  esac
 
15074
  ac_save_IFS=$IFS
 
15075
  IFS=:
 
15076
  set x $ac_tag
 
15077
  IFS=$ac_save_IFS
 
15078
  shift
 
15079
  ac_file=$1
 
15080
  shift
 
15081
 
 
15082
  case $ac_mode in
 
15083
  :L) ac_source=$1;;
 
15084
  :[FH])
 
15085
    ac_file_inputs=
 
15086
    for ac_f
 
15087
    do
 
15088
      case $ac_f in
 
15089
      -) ac_f="$ac_tmp/stdin";;
 
15090
      *) # Look for the file first in the build tree, then in the source tree
 
15091
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
15092
         # because $ac_f cannot contain `:'.
 
15093
         test -f "$ac_f" ||
 
15094
           case $ac_f in
 
15095
           [\\/$]*) false;;
 
15096
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
15097
           esac ||
 
15098
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
15099
      esac
 
15100
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
15101
      as_fn_append ac_file_inputs " '$ac_f'"
 
15102
    done
 
15103
 
 
15104
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
15105
    # use $as_me), people would be surprised to read:
 
15106
    #    /* config.h.  Generated by config.status.  */
 
15107
    configure_input='Generated from '`
 
15108
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
15109
        `' by configure.'
 
15110
    if test x"$ac_file" != x-; then
 
15111
      configure_input="$ac_file.  $configure_input"
 
15112
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
15113
$as_echo "$as_me: creating $ac_file" >&6;}
 
15114
    fi
 
15115
    # Neutralize special characters interpreted by sed in replacement strings.
 
15116
    case $configure_input in #(
 
15117
    *\&* | *\|* | *\\* )
 
15118
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
15119
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
15120
    *) ac_sed_conf_input=$configure_input;;
 
15121
    esac
 
15122
 
 
15123
    case $ac_tag in
 
15124
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
15125
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
15126
    esac
 
15127
    ;;
 
15128
  esac
 
15129
 
 
15130
  ac_dir=`$as_dirname -- "$ac_file" ||
 
15131
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15132
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
15133
         X"$ac_file" : 'X\(//\)$' \| \
 
15134
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
15135
$as_echo X"$ac_file" |
 
15136
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15137
            s//\1/
 
15138
            q
 
15139
          }
 
15140
          /^X\(\/\/\)[^/].*/{
 
15141
            s//\1/
 
15142
            q
 
15143
          }
 
15144
          /^X\(\/\/\)$/{
 
15145
            s//\1/
 
15146
            q
 
15147
          }
 
15148
          /^X\(\/\).*/{
 
15149
            s//\1/
 
15150
            q
 
15151
          }
 
15152
          s/.*/./; q'`
 
15153
  as_dir="$ac_dir"; as_fn_mkdir_p
 
15154
  ac_builddir=.
 
15155
 
 
15156
case "$ac_dir" in
 
15157
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
15158
*)
 
15159
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
15160
  # A ".." for each directory in $ac_dir_suffix.
 
15161
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
15162
  case $ac_top_builddir_sub in
 
15163
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
15164
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
15165
  esac ;;
 
15166
esac
 
15167
ac_abs_top_builddir=$ac_pwd
 
15168
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
15169
# for backward compatibility:
 
15170
ac_top_builddir=$ac_top_build_prefix
 
15171
 
 
15172
case $srcdir in
 
15173
  .)  # We are building in place.
 
15174
    ac_srcdir=.
 
15175
    ac_top_srcdir=$ac_top_builddir_sub
 
15176
    ac_abs_top_srcdir=$ac_pwd ;;
 
15177
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
15178
    ac_srcdir=$srcdir$ac_dir_suffix;
 
15179
    ac_top_srcdir=$srcdir
 
15180
    ac_abs_top_srcdir=$srcdir ;;
 
15181
  *) # Relative name.
 
15182
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
15183
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
15184
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
15185
esac
 
15186
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
15187
 
 
15188
 
 
15189
  case $ac_mode in
 
15190
  :F)
 
15191
  #
 
15192
  # CONFIG_FILE
 
15193
  #
 
15194
 
 
15195
  case $INSTALL in
 
15196
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
15197
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
15198
  esac
 
15199
  ac_MKDIR_P=$MKDIR_P
 
15200
  case $MKDIR_P in
 
15201
  [\\/$]* | ?:[\\/]* ) ;;
 
15202
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
15203
  esac
 
15204
_ACEOF
 
15205
 
 
15206
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15207
# If the template does not know about datarootdir, expand it.
 
15208
# FIXME: This hack should be removed a few years after 2.60.
 
15209
ac_datarootdir_hack=; ac_datarootdir_seen=
 
15210
ac_sed_dataroot='
 
15211
/datarootdir/ {
 
15212
  p
 
15213
  q
 
15214
}
 
15215
/@datadir@/p
 
15216
/@docdir@/p
 
15217
/@infodir@/p
 
15218
/@localedir@/p
 
15219
/@mandir@/p'
 
15220
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
15221
*datarootdir*) ac_datarootdir_seen=yes;;
 
15222
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
15223
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
15224
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
15225
_ACEOF
 
15226
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15227
  ac_datarootdir_hack='
 
15228
  s&@datadir@&$datadir&g
 
15229
  s&@docdir@&$docdir&g
 
15230
  s&@infodir@&$infodir&g
 
15231
  s&@localedir@&$localedir&g
 
15232
  s&@mandir@&$mandir&g
 
15233
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
15234
esac
 
15235
_ACEOF
 
15236
 
 
15237
# Neutralize VPATH when `$srcdir' = `.'.
 
15238
# Shell code in configure.ac might set extrasub.
 
15239
# FIXME: do we really want to maintain this feature?
 
15240
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15241
ac_sed_extra="$ac_vpsub
 
15242
$extrasub
 
15243
_ACEOF
 
15244
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15245
:t
 
15246
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
15247
s|@configure_input@|$ac_sed_conf_input|;t t
 
15248
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
15249
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
15250
s&@srcdir@&$ac_srcdir&;t t
 
15251
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
15252
s&@top_srcdir@&$ac_top_srcdir&;t t
 
15253
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
15254
s&@builddir@&$ac_builddir&;t t
 
15255
s&@abs_builddir@&$ac_abs_builddir&;t t
 
15256
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
15257
s&@INSTALL@&$ac_INSTALL&;t t
 
15258
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
15259
$ac_datarootdir_hack
 
15260
"
 
15261
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
15262
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
15263
 
 
15264
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
15265
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
15266
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
15267
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
15268
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
15269
which seems to be undefined.  Please make sure it is defined" >&5
 
15270
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
15271
which seems to be undefined.  Please make sure it is defined" >&2;}
 
15272
 
 
15273
  rm -f "$ac_tmp/stdin"
 
15274
  case $ac_file in
 
15275
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
15276
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
15277
  esac \
 
15278
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
15279
 ;;
 
15280
  
 
15281
  
 
15282
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
15283
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
15284
 ;;
 
15285
  esac
 
15286
 
 
15287
 
 
15288
  case $ac_file$ac_mode in
 
15289
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
15290
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
15291
  # are listed without --file.  Let's play safe and only enable the eval
 
15292
  # if we detect the quoting.
 
15293
  case $CONFIG_FILES in
 
15294
  *\'*) eval set x "$CONFIG_FILES" ;;
 
15295
  *)   set x $CONFIG_FILES ;;
 
15296
  esac
 
15297
  shift
 
15298
  for mf
 
15299
  do
 
15300
    # Strip MF so we end up with the name of the file.
 
15301
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
15302
    # Check whether this is an Automake generated Makefile or not.
 
15303
    # We used to match only the files named `Makefile.in', but
 
15304
    # some people rename them; so instead we look at the file content.
 
15305
    # Grep'ing the first line is not enough: some people post-process
 
15306
    # each Makefile.in and add a new line on top of each file to say so.
 
15307
    # Grep'ing the whole file is not good either: AIX grep has a line
 
15308
    # limit of 2048, but all sed's we know have understand at least 4000.
 
15309
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
15310
      dirpart=`$as_dirname -- "$mf" ||
 
15311
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15312
         X"$mf" : 'X\(//\)[^/]' \| \
 
15313
         X"$mf" : 'X\(//\)$' \| \
 
15314
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
15315
$as_echo X"$mf" |
 
15316
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15317
            s//\1/
 
15318
            q
 
15319
          }
 
15320
          /^X\(\/\/\)[^/].*/{
 
15321
            s//\1/
 
15322
            q
 
15323
          }
 
15324
          /^X\(\/\/\)$/{
 
15325
            s//\1/
 
15326
            q
 
15327
          }
 
15328
          /^X\(\/\).*/{
 
15329
            s//\1/
 
15330
            q
 
15331
          }
 
15332
          s/.*/./; q'`
 
15333
    else
 
15334
      continue
 
15335
    fi
 
15336
    # Extract the definition of DEPDIR, am__include, and am__quote
 
15337
    # from the Makefile without running `make'.
 
15338
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
15339
    test -z "$DEPDIR" && continue
 
15340
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
15341
    test -z "am__include" && continue
 
15342
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
15343
    # When using ansi2knr, U may be empty or an underscore; expand it
 
15344
    U=`sed -n 's/^U = //p' < "$mf"`
 
15345
    # Find all dependency output files, they are included files with
 
15346
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
15347
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
15348
    # expansion.
 
15349
    for file in `sed -n "
 
15350
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
15351
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
15352
      # Make sure the directory exists.
 
15353
      test -f "$dirpart/$file" && continue
 
15354
      fdir=`$as_dirname -- "$file" ||
 
15355
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15356
         X"$file" : 'X\(//\)[^/]' \| \
 
15357
         X"$file" : 'X\(//\)$' \| \
 
15358
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
15359
$as_echo X"$file" |
 
15360
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15361
            s//\1/
 
15362
            q
 
15363
          }
 
15364
          /^X\(\/\/\)[^/].*/{
 
15365
            s//\1/
 
15366
            q
 
15367
          }
 
15368
          /^X\(\/\/\)$/{
 
15369
            s//\1/
 
15370
            q
 
15371
          }
 
15372
          /^X\(\/\).*/{
 
15373
            s//\1/
 
15374
            q
 
15375
          }
 
15376
          s/.*/./; q'`
 
15377
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
15378
      # echo "creating $dirpart/$file"
 
15379
      echo '# dummy' > "$dirpart/$file"
 
15380
    done
 
15381
  done
 
15382
}
 
15383
 ;;
 
15384
    "libtool":C) 
 
15385
    
 
15386
    # See if we are running on zsh, and set the options which allow our
 
15387
    # commands through without removal of \ escapes.
 
15388
    if test -n "${ZSH_VERSION+set}" ; then
 
15389
      setopt NO_GLOB_SUBST
 
15390
    fi
 
15391
 
 
15392
    cfgfile="${ofile}T"
 
15393
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
15394
    $RM "$cfgfile"
 
15395
 
 
15396
    cat <<_LT_EOF >> "$cfgfile"
 
15397
#! $SHELL
 
15398
 
 
15399
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
15400
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
15401
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
15402
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
15403
#
 
15404
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
15405
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
15406
#                 Inc.
 
15407
#   Written by Gordon Matzigkeit, 1996
 
15408
#
 
15409
#   This file is part of GNU Libtool.
 
15410
#
 
15411
# GNU Libtool is free software; you can redistribute it and/or
 
15412
# modify it under the terms of the GNU General Public License as
 
15413
# published by the Free Software Foundation; either version 2 of
 
15414
# the License, or (at your option) any later version.
 
15415
#
 
15416
# As a special exception to the GNU General Public License,
 
15417
# if you distribute this file as part of a program or library that
 
15418
# is built using GNU Libtool, you may include this file under the
 
15419
# same distribution terms that you use for the rest of that program.
 
15420
#
 
15421
# GNU Libtool is distributed in the hope that it will be useful,
 
15422
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15423
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15424
# GNU General Public License for more details.
 
15425
#
 
15426
# You should have received a copy of the GNU General Public License
 
15427
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
15428
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
15429
# obtained by writing to the Free Software Foundation, Inc.,
 
15430
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
15431
 
 
15432
 
 
15433
# The names of the tagged configurations supported by this script.
 
15434
available_tags=""
 
15435
 
 
15436
# ### BEGIN LIBTOOL CONFIG
 
15437
 
 
15438
# Whether or not to build static libraries.
 
15439
build_old_libs=$enable_static
 
15440
 
 
15441
# Which release of libtool.m4 was used?
 
15442
macro_version=$macro_version
 
15443
macro_revision=$macro_revision
 
15444
 
 
15445
# Whether or not to build shared libraries.
 
15446
build_libtool_libs=$enable_shared
 
15447
 
 
15448
# What type of objects to build.
 
15449
pic_mode=$pic_mode
 
15450
 
 
15451
# Whether or not to optimize for fast installation.
 
15452
fast_install=$enable_fast_install
 
15453
 
 
15454
# Shell to use when invoking shell scripts.
 
15455
SHELL=$lt_SHELL
 
15456
 
 
15457
# An echo program that protects backslashes.
 
15458
ECHO=$lt_ECHO
 
15459
 
 
15460
# The host system.
 
15461
host_alias=$host_alias
 
15462
host=$host
 
15463
host_os=$host_os
 
15464
 
 
15465
# The build system.
 
15466
build_alias=$build_alias
 
15467
build=$build
 
15468
build_os=$build_os
 
15469
 
 
15470
# A sed program that does not truncate output.
 
15471
SED=$lt_SED
 
15472
 
 
15473
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
15474
Xsed="\$SED -e 1s/^X//"
 
15475
 
 
15476
# A grep program that handles long lines.
 
15477
GREP=$lt_GREP
 
15478
 
 
15479
# An ERE matcher.
 
15480
EGREP=$lt_EGREP
 
15481
 
 
15482
# A literal string matcher.
 
15483
FGREP=$lt_FGREP
 
15484
 
 
15485
# A BSD- or MS-compatible name lister.
 
15486
NM=$lt_NM
 
15487
 
 
15488
# Whether we need soft or hard links.
 
15489
LN_S=$lt_LN_S
 
15490
 
 
15491
# What is the maximum length of a command?
 
15492
max_cmd_len=$max_cmd_len
 
15493
 
 
15494
# Object file suffix (normally "o").
 
15495
objext=$ac_objext
 
15496
 
 
15497
# Executable file suffix (normally "").
 
15498
exeext=$exeext
 
15499
 
 
15500
# whether the shell understands "unset".
 
15501
lt_unset=$lt_unset
 
15502
 
 
15503
# turn spaces into newlines.
 
15504
SP2NL=$lt_lt_SP2NL
 
15505
 
 
15506
# turn newlines into spaces.
 
15507
NL2SP=$lt_lt_NL2SP
 
15508
 
 
15509
# convert \$build file names to \$host format.
 
15510
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
15511
 
 
15512
# convert \$build files to toolchain format.
 
15513
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
15514
 
 
15515
# An object symbol dumper.
 
15516
OBJDUMP=$lt_OBJDUMP
 
15517
 
 
15518
# Method to check whether dependent libraries are shared objects.
 
15519
deplibs_check_method=$lt_deplibs_check_method
 
15520
 
 
15521
# Command to use when deplibs_check_method = "file_magic".
 
15522
file_magic_cmd=$lt_file_magic_cmd
 
15523
 
 
15524
# How to find potential files when deplibs_check_method = "file_magic".
 
15525
file_magic_glob=$lt_file_magic_glob
 
15526
 
 
15527
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
15528
want_nocaseglob=$lt_want_nocaseglob
 
15529
 
 
15530
# DLL creation program.
 
15531
DLLTOOL=$lt_DLLTOOL
 
15532
 
 
15533
# Command to associate shared and link libraries.
 
15534
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
15535
 
 
15536
# The archiver.
 
15537
AR=$lt_AR
 
15538
 
 
15539
# Flags to create an archive.
 
15540
AR_FLAGS=$lt_AR_FLAGS
 
15541
 
 
15542
# How to feed a file listing to the archiver.
 
15543
archiver_list_spec=$lt_archiver_list_spec
 
15544
 
 
15545
# A symbol stripping program.
 
15546
STRIP=$lt_STRIP
 
15547
 
 
15548
# Commands used to install an old-style archive.
 
15549
RANLIB=$lt_RANLIB
 
15550
old_postinstall_cmds=$lt_old_postinstall_cmds
 
15551
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
15552
 
 
15553
# Whether to use a lock for old archive extraction.
 
15554
lock_old_archive_extraction=$lock_old_archive_extraction
 
15555
 
 
15556
# A C compiler.
 
15557
LTCC=$lt_CC
 
15558
 
 
15559
# LTCC compiler flags.
 
15560
LTCFLAGS=$lt_CFLAGS
 
15561
 
 
15562
# Take the output of nm and produce a listing of raw symbols and C names.
 
15563
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
15564
 
 
15565
# Transform the output of nm in a proper C declaration.
 
15566
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
15567
 
 
15568
# Transform the output of nm in a C name address pair.
 
15569
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
15570
 
 
15571
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
15572
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
15573
 
 
15574
# Specify filename containing input files for \$NM.
 
15575
nm_file_list_spec=$lt_nm_file_list_spec
 
15576
 
 
15577
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
15578
lt_sysroot=$lt_sysroot
 
15579
 
 
15580
# The name of the directory that contains temporary libtool files.
 
15581
objdir=$objdir
 
15582
 
 
15583
# Used to examine libraries when file_magic_cmd begins with "file".
 
15584
MAGIC_CMD=$MAGIC_CMD
 
15585
 
 
15586
# Must we lock files when doing compilation?
 
15587
need_locks=$lt_need_locks
 
15588
 
 
15589
# Manifest tool.
 
15590
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
15591
 
 
15592
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
15593
DSYMUTIL=$lt_DSYMUTIL
 
15594
 
 
15595
# Tool to change global to local symbols on Mac OS X.
 
15596
NMEDIT=$lt_NMEDIT
 
15597
 
 
15598
# Tool to manipulate fat objects and archives on Mac OS X.
 
15599
LIPO=$lt_LIPO
 
15600
 
 
15601
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
15602
OTOOL=$lt_OTOOL
 
15603
 
 
15604
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
15605
OTOOL64=$lt_OTOOL64
 
15606
 
 
15607
# Old archive suffix (normally "a").
 
15608
libext=$libext
 
15609
 
 
15610
# Shared library suffix (normally ".so").
 
15611
shrext_cmds=$lt_shrext_cmds
 
15612
 
 
15613
# The commands to extract the exported symbol list from a shared archive.
 
15614
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
15615
 
 
15616
# Variables whose values should be saved in libtool wrapper scripts and
 
15617
# restored at link time.
 
15618
variables_saved_for_relink=$lt_variables_saved_for_relink
 
15619
 
 
15620
# Do we need the "lib" prefix for modules?
 
15621
need_lib_prefix=$need_lib_prefix
 
15622
 
 
15623
# Do we need a version for libraries?
 
15624
need_version=$need_version
 
15625
 
 
15626
# Library versioning type.
 
15627
version_type=$version_type
 
15628
 
 
15629
# Shared library runtime path variable.
 
15630
runpath_var=$runpath_var
 
15631
 
 
15632
# Shared library path variable.
 
15633
shlibpath_var=$shlibpath_var
 
15634
 
 
15635
# Is shlibpath searched before the hard-coded library search path?
 
15636
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
15637
 
 
15638
# Format of library name prefix.
 
15639
libname_spec=$lt_libname_spec
 
15640
 
 
15641
# List of archive names.  First name is the real one, the rest are links.
 
15642
# The last name is the one that the linker finds with -lNAME
 
15643
library_names_spec=$lt_library_names_spec
 
15644
 
 
15645
# The coded name of the library, if different from the real name.
 
15646
soname_spec=$lt_soname_spec
 
15647
 
 
15648
# Permission mode override for installation of shared libraries.
 
15649
install_override_mode=$lt_install_override_mode
 
15650
 
 
15651
# Command to use after installation of a shared archive.
 
15652
postinstall_cmds=$lt_postinstall_cmds
 
15653
 
 
15654
# Command to use after uninstallation of a shared archive.
 
15655
postuninstall_cmds=$lt_postuninstall_cmds
 
15656
 
 
15657
# Commands used to finish a libtool library installation in a directory.
 
15658
finish_cmds=$lt_finish_cmds
 
15659
 
 
15660
# As "finish_cmds", except a single script fragment to be evaled but
 
15661
# not shown.
 
15662
finish_eval=$lt_finish_eval
 
15663
 
 
15664
# Whether we should hardcode library paths into libraries.
 
15665
hardcode_into_libs=$hardcode_into_libs
 
15666
 
 
15667
# Compile-time system search path for libraries.
 
15668
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
15669
 
 
15670
# Run-time system search path for libraries.
 
15671
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
15672
 
 
15673
# Whether dlopen is supported.
 
15674
dlopen_support=$enable_dlopen
 
15675
 
 
15676
# Whether dlopen of programs is supported.
 
15677
dlopen_self=$enable_dlopen_self
 
15678
 
 
15679
# Whether dlopen of statically linked programs is supported.
 
15680
dlopen_self_static=$enable_dlopen_self_static
 
15681
 
 
15682
# Commands to strip libraries.
 
15683
old_striplib=$lt_old_striplib
 
15684
striplib=$lt_striplib
 
15685
 
 
15686
 
 
15687
# The linker used to build libraries.
 
15688
LD=$lt_LD
 
15689
 
 
15690
# How to create reloadable object files.
 
15691
reload_flag=$lt_reload_flag
 
15692
reload_cmds=$lt_reload_cmds
 
15693
 
 
15694
# Commands used to build an old-style archive.
 
15695
old_archive_cmds=$lt_old_archive_cmds
 
15696
 
 
15697
# A language specific compiler.
 
15698
CC=$lt_compiler
 
15699
 
 
15700
# Is the compiler the GNU compiler?
 
15701
with_gcc=$GCC
 
15702
 
 
15703
# Compiler flag to turn off builtin functions.
 
15704
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
15705
 
 
15706
# Additional compiler flags for building library objects.
 
15707
pic_flag=$lt_lt_prog_compiler_pic
 
15708
 
 
15709
# How to pass a linker flag through the compiler.
 
15710
wl=$lt_lt_prog_compiler_wl
 
15711
 
 
15712
# Compiler flag to prevent dynamic linking.
 
15713
link_static_flag=$lt_lt_prog_compiler_static
 
15714
 
 
15715
# Does compiler simultaneously support -c and -o options?
 
15716
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
15717
 
 
15718
# Whether or not to add -lc for building shared libraries.
 
15719
build_libtool_need_lc=$archive_cmds_need_lc
 
15720
 
 
15721
# Whether or not to disallow shared libs when runtime libs are static.
 
15722
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
15723
 
 
15724
# Compiler flag to allow reflexive dlopens.
 
15725
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
15726
 
 
15727
# Compiler flag to generate shared objects directly from archives.
 
15728
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
15729
 
 
15730
# Whether the compiler copes with passing no objects directly.
 
15731
compiler_needs_object=$lt_compiler_needs_object
 
15732
 
 
15733
# Create an old-style archive from a shared archive.
 
15734
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
15735
 
 
15736
# Create a temporary old-style archive to link instead of a shared archive.
 
15737
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
15738
 
 
15739
# Commands used to build a shared archive.
 
15740
archive_cmds=$lt_archive_cmds
 
15741
archive_expsym_cmds=$lt_archive_expsym_cmds
 
15742
 
 
15743
# Commands used to build a loadable module if different from building
 
15744
# a shared archive.
 
15745
module_cmds=$lt_module_cmds
 
15746
module_expsym_cmds=$lt_module_expsym_cmds
 
15747
 
 
15748
# Whether we are building with GNU ld or not.
 
15749
with_gnu_ld=$lt_with_gnu_ld
 
15750
 
 
15751
# Flag that allows shared libraries with undefined symbols to be built.
 
15752
allow_undefined_flag=$lt_allow_undefined_flag
 
15753
 
 
15754
# Flag that enforces no undefined symbols.
 
15755
no_undefined_flag=$lt_no_undefined_flag
 
15756
 
 
15757
# Flag to hardcode \$libdir into a binary during linking.
 
15758
# This must work even if \$libdir does not exist
 
15759
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
15760
 
 
15761
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
15762
# during linking.  This must work even if \$libdir does not exist.
 
15763
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
15764
 
 
15765
# Whether we need a single "-rpath" flag with a separated argument.
 
15766
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
15767
 
 
15768
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15769
# DIR into the resulting binary.
 
15770
hardcode_direct=$hardcode_direct
 
15771
 
 
15772
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15773
# DIR into the resulting binary and the resulting library dependency is
 
15774
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
15775
# library is relocated.
 
15776
hardcode_direct_absolute=$hardcode_direct_absolute
 
15777
 
 
15778
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
15779
# into the resulting binary.
 
15780
hardcode_minus_L=$hardcode_minus_L
 
15781
 
 
15782
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
15783
# into the resulting binary.
 
15784
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
15785
 
 
15786
# Set to "yes" if building a shared library automatically hardcodes DIR
 
15787
# into the library and all subsequent libraries and executables linked
 
15788
# against it.
 
15789
hardcode_automatic=$hardcode_automatic
 
15790
 
 
15791
# Set to yes if linker adds runtime paths of dependent libraries
 
15792
# to runtime path list.
 
15793
inherit_rpath=$inherit_rpath
 
15794
 
 
15795
# Whether libtool must link a program against all its dependency libraries.
 
15796
link_all_deplibs=$link_all_deplibs
 
15797
 
 
15798
# Set to "yes" if exported symbols are required.
 
15799
always_export_symbols=$always_export_symbols
 
15800
 
 
15801
# The commands to list exported symbols.
 
15802
export_symbols_cmds=$lt_export_symbols_cmds
 
15803
 
 
15804
# Symbols that should not be listed in the preloaded symbols.
 
15805
exclude_expsyms=$lt_exclude_expsyms
 
15806
 
 
15807
# Symbols that must always be exported.
 
15808
include_expsyms=$lt_include_expsyms
 
15809
 
 
15810
# Commands necessary for linking programs (against libraries) with templates.
 
15811
prelink_cmds=$lt_prelink_cmds
 
15812
 
 
15813
# Commands necessary for finishing linking programs.
 
15814
postlink_cmds=$lt_postlink_cmds
 
15815
 
 
15816
# Specify filename containing input files.
 
15817
file_list_spec=$lt_file_list_spec
 
15818
 
 
15819
# How to hardcode a shared library path into an executable.
 
15820
hardcode_action=$hardcode_action
 
15821
 
 
15822
# ### END LIBTOOL CONFIG
 
15823
 
 
15824
_LT_EOF
 
15825
 
 
15826
  case $host_os in
 
15827
  aix3*)
 
15828
    cat <<\_LT_EOF >> "$cfgfile"
 
15829
# AIX sometimes has problems with the GCC collect2 program.  For some
 
15830
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
15831
# vanish in a puff of smoke.
 
15832
if test "X${COLLECT_NAMES+set}" != Xset; then
 
15833
  COLLECT_NAMES=
 
15834
  export COLLECT_NAMES
 
15835
fi
 
15836
_LT_EOF
 
15837
    ;;
 
15838
  esac
 
15839
 
 
15840
  
 
15841
ltmain="$ac_aux_dir/ltmain.sh"
 
15842
 
 
15843
 
 
15844
  # We use sed instead of cat because bash on DJGPP gets confused if
 
15845
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
15846
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
15847
  # is reportedly fixed, but why not run on old versions too?
 
15848
  sed '$q' "$ltmain" >> "$cfgfile" \
 
15849
     || (rm -f "$cfgfile"; exit 1)
 
15850
 
 
15851
  if test x"$xsi_shell" = xyes; then
 
15852
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
15853
func_dirname ()\
 
15854
{\
 
15855
\    case ${1} in\
 
15856
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15857
\      *  ) func_dirname_result="${3}" ;;\
 
15858
\    esac\
 
15859
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
15860
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15861
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15862
test 0 -eq $? || _lt_function_replace_fail=:
 
15863
 
 
15864
 
 
15865
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
15866
func_basename ()\
 
15867
{\
 
15868
\    func_basename_result="${1##*/}"\
 
15869
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15870
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15871
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15872
test 0 -eq $? || _lt_function_replace_fail=:
 
15873
 
 
15874
 
 
15875
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
15876
func_dirname_and_basename ()\
 
15877
{\
 
15878
\    case ${1} in\
 
15879
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15880
\      *  ) func_dirname_result="${3}" ;;\
 
15881
\    esac\
 
15882
\    func_basename_result="${1##*/}"\
 
15883
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15884
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15885
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15886
test 0 -eq $? || _lt_function_replace_fail=:
 
15887
 
 
15888
 
 
15889
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
15890
func_stripname ()\
 
15891
{\
 
15892
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
15893
\    # positional parameters, so assign one to ordinary parameter first.\
 
15894
\    func_stripname_result=${3}\
 
15895
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
15896
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
15897
} # Extended-shell func_stripname 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_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
15904
func_split_long_opt ()\
 
15905
{\
 
15906
\    func_split_long_opt_name=${1%%=*}\
 
15907
\    func_split_long_opt_arg=${1#*=}\
 
15908
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15909
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15910
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15911
test 0 -eq $? || _lt_function_replace_fail=:
 
15912
 
 
15913
 
 
15914
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
15915
func_split_short_opt ()\
 
15916
{\
 
15917
\    func_split_short_opt_arg=${1#??}\
 
15918
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
15919
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15920
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15921
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15922
test 0 -eq $? || _lt_function_replace_fail=:
 
15923
 
 
15924
 
 
15925
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
15926
func_lo2o ()\
 
15927
{\
 
15928
\    case ${1} in\
 
15929
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
15930
\      *)    func_lo2o_result=${1} ;;\
 
15931
\    esac\
 
15932
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
15933
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15934
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15935
test 0 -eq $? || _lt_function_replace_fail=:
 
15936
 
 
15937
 
 
15938
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
15939
func_xform ()\
 
15940
{\
 
15941
    func_xform_result=${1%.*}.lo\
 
15942
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
15943
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15944
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15945
test 0 -eq $? || _lt_function_replace_fail=:
 
15946
 
 
15947
 
 
15948
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
15949
func_arith ()\
 
15950
{\
 
15951
    func_arith_result=$(( $* ))\
 
15952
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
15953
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15954
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15955
test 0 -eq $? || _lt_function_replace_fail=:
 
15956
 
 
15957
 
 
15958
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
15959
func_len ()\
 
15960
{\
 
15961
    func_len_result=${#1}\
 
15962
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
15963
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15964
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15965
test 0 -eq $? || _lt_function_replace_fail=:
 
15966
 
 
15967
fi
 
15968
 
 
15969
if test x"$lt_shell_append" = xyes; then
 
15970
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
15971
func_append ()\
 
15972
{\
 
15973
    eval "${1}+=\\${2}"\
 
15974
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
15975
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15976
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15977
test 0 -eq $? || _lt_function_replace_fail=:
 
15978
 
 
15979
 
 
15980
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
15981
func_append_quoted ()\
 
15982
{\
 
15983
\    func_quote_for_eval "${2}"\
 
15984
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
15985
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
15986
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15987
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15988
test 0 -eq $? || _lt_function_replace_fail=:
 
15989
 
 
15990
 
 
15991
  # Save a `func_append' function call where possible by direct use of '+='
 
15992
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
15993
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15994
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15995
  test 0 -eq $? || _lt_function_replace_fail=:
 
15996
else
 
15997
  # Save a `func_append' function call even when '+=' is not available
 
15998
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
15999
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16000
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16001
  test 0 -eq $? || _lt_function_replace_fail=:
 
16002
fi
 
16003
 
 
16004
if test x"$_lt_function_replace_fail" = x":"; then
 
16005
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
16006
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
16007
fi
 
16008
 
 
16009
 
 
16010
   mv -f "$cfgfile" "$ofile" ||
 
16011
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
16012
  chmod +x "$ofile"
 
16013
 
 
16014
 ;;
 
16015
 
 
16016
  esac
 
16017
done # for ac_tag
 
16018
 
 
16019
 
 
16020
as_fn_exit 0
 
16021
_ACEOF
 
16022
ac_clean_files=$ac_clean_files_save
 
16023
 
 
16024
test $ac_write_fail = 0 ||
 
16025
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
16026
 
 
16027
 
 
16028
# configure is writing to config.log, and then calls config.status.
 
16029
# config.status does its own redirection, appending to config.log.
 
16030
# Unfortunately, on DOS this fails, as config.log is still kept open
 
16031
# by configure, so config.status won't be able to write to it; its
 
16032
# output is simply discarded.  So we exec the FD to /dev/null,
 
16033
# effectively closing config.log, so it can be properly (re)opened and
 
16034
# appended to by config.status.  When coming back to configure, we
 
16035
# need to make the FD available again.
 
16036
if test "$no_create" != yes; then
 
16037
  ac_cs_success=:
 
16038
  ac_config_status_args=
 
16039
  test "$silent" = yes &&
 
16040
    ac_config_status_args="$ac_config_status_args --quiet"
 
16041
  exec 5>/dev/null
 
16042
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
16043
  exec 5>>config.log
 
16044
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
16045
  # would make configure fail if this is the last instruction.
 
16046
  $ac_cs_success || as_fn_exit 1
 
16047
fi
 
16048
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
16049
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
16050
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
16051
fi
 
16052
 
 
16053
 
 
16054
echo "CFLAGS=$CFLAGS"
 
16055