~ben-sput/+junk/libwaveplot

« back to all changes in this revision

Viewing changes to autom4te.cache/output.1

  • Committer: Ben Ockmore
  • Date: 2014-08-13 17:05:35 UTC
  • Revision ID: ben.sput@gmail.com-20140813170535-wn2vm73f8h08t6tn
Tags: upstream-0.0
ImportĀ upstreamĀ versionĀ 0.0

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.69 for libwaveplot 1.0.
 
4
@%:@
 
5
@%:@ Report bugs to <ben.sput@gmail.com>.
 
6
@%:@ 
 
7
@%:@ 
 
8
@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 
9
@%:@ 
 
10
@%:@ 
 
11
@%:@ This configure script is free software; the Free Software Foundation
 
12
@%:@ gives unlimited permission to copy, distribute and modify it.
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
 
16
 
 
17
# Be more Bourne compatible
 
18
DUALCASE=1; export DUALCASE # for MKS sh
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
20
  emulate sh
 
21
  NULLCMD=:
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
23
  # is contrary to our usage.  Disable this feature.
 
24
  alias -g '${1+"$@"}'='"$@"'
 
25
  setopt NO_GLOB_SUBST
 
26
else
 
27
  case `(set -o) 2>/dev/null` in @%:@(
 
28
  *posix*) :
 
29
    set -o posix ;; @%:@(
 
30
  *) :
 
31
     ;;
 
32
esac
 
33
fi
 
34
 
 
35
 
 
36
as_nl='
 
37
'
 
38
export as_nl
 
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in @%:@(
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
 
82
 
 
83
 
 
84
# IFS
 
85
# We need space, tab and new line, in precisely that order.  Quoting is
 
86
# there to prevent editors from complaining about space-tab.
 
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
88
# splitting by setting IFS to empty value.)
 
89
IFS=" ""        $as_nl"
 
90
 
 
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
 
93
case $0 in @%:@((
 
94
  *[\\/]* ) as_myself=$0 ;;
 
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
96
for as_dir in $PATH
 
97
do
 
98
  IFS=$as_save_IFS
 
99
  test -z "$as_dir" && as_dir=.
 
100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
101
  done
 
102
IFS=$as_save_IFS
 
103
 
 
104
     ;;
 
105
esac
 
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
107
# in which case we are not to be found in the path.
 
108
if test "x$as_myself" = x; then
 
109
  as_myself=$0
 
110
fi
 
111
if test ! -f "$as_myself"; then
 
112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
113
  exit 1
 
114
fi
 
115
 
 
116
# Unset variables that we do not need and which cause bugs (e.g. in
 
117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
118
# suppresses any "Segmentation fault" message there.  '((' could
 
119
# trigger a bug in pdksh 5.2.14.
 
120
for as_var in BASH_ENV ENV MAIL MAILPATH
 
121
do eval test x\${$as_var+set} = xset \
 
122
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
123
done
 
124
PS1='$ '
 
125
PS2='> '
 
126
PS4='+ '
 
127
 
 
128
# NLS nuisances.
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
 
133
 
 
134
# CDPATH.
 
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
136
 
 
137
# Use a proper internal environment variable to ensure we don't fall
 
138
  # into an infinite loop, continuously re-executing ourselves.
 
139
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
140
    _as_can_reexec=no; export _as_can_reexec;
 
141
    # We cannot yet assume a decent shell, so we have to provide a
 
142
# neutralization value for shells without unset; and this also
 
143
# works around shells that cannot unset nonexistent variables.
 
144
# Preserve -v and -x to the replacement shell.
 
145
BASH_ENV=/dev/null
 
146
ENV=/dev/null
 
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
148
case $- in @%:@ ((((
 
149
  *v*x* | *x*v* ) as_opts=-vx ;;
 
150
  *v* ) as_opts=-v ;;
 
151
  *x* ) as_opts=-x ;;
 
152
  * ) as_opts= ;;
 
153
esac
 
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
155
# Admittedly, this is quite paranoid, since all the known shells bail
 
156
# out after a failed `exec'.
 
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
158
as_fn_exit 255
 
159
  fi
 
160
  # We don't want this to propagate to other subprocesses.
 
161
          { _as_can_reexec=; unset _as_can_reexec;}
 
162
if test "x$CONFIG_SHELL" = x; then
 
163
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
164
  emulate sh
 
165
  NULLCMD=:
 
166
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
167
  # is contrary to our usage.  Disable this feature.
 
168
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
169
  setopt NO_GLOB_SUBST
 
170
else
 
171
  case \`(set -o) 2>/dev/null\` in @%:@(
 
172
  *posix*) :
 
173
    set -o posix ;; @%:@(
 
174
  *) :
 
175
     ;;
 
176
esac
 
177
fi
 
178
"
 
179
  as_required="as_fn_return () { (exit \$1); }
 
180
as_fn_success () { as_fn_return 0; }
 
181
as_fn_failure () { as_fn_return 1; }
 
182
as_fn_ret_success () { return 0; }
 
183
as_fn_ret_failure () { return 1; }
 
184
 
 
185
exitcode=0
 
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
191
  
 
192
else
 
193
  exitcode=1; echo positional parameters were not saved.
 
194
fi
 
195
test x\$exitcode = x0 || exit 1
 
196
test -x / || exit 1"
 
197
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
198
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
199
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
200
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
201
 
 
202
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
203
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
204
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
205
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
206
    PATH=/empty FPATH=/empty; export PATH FPATH
 
207
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
208
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 
209
test \$(( 1 + 1 )) = 2 || exit 1"
 
210
  if (eval "$as_required") 2>/dev/null; then :
 
211
  as_have_required=yes
 
212
else
 
213
  as_have_required=no
 
214
fi
 
215
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
216
  
 
217
else
 
218
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
219
as_found=false
 
220
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
221
do
 
222
  IFS=$as_save_IFS
 
223
  test -z "$as_dir" && as_dir=.
 
224
  as_found=:
 
225
  case $as_dir in @%:@(
 
226
         /*)
 
227
           for as_base in sh bash ksh sh5; do
 
228
             # Try only shells that exist, to save several forks.
 
229
             as_shell=$as_dir/$as_base
 
230
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
231
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
232
  CONFIG_SHELL=$as_shell as_have_required=yes
 
233
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
234
  break 2
 
235
fi
 
236
fi
 
237
           done;;
 
238
       esac
 
239
  as_found=false
 
240
done
 
241
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
242
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
243
  CONFIG_SHELL=$SHELL as_have_required=yes
 
244
fi; }
 
245
IFS=$as_save_IFS
 
246
 
 
247
 
 
248
      if test "x$CONFIG_SHELL" != x; then :
 
249
  export CONFIG_SHELL
 
250
             # We cannot yet assume a decent shell, so we have to provide a
 
251
# neutralization value for shells without unset; and this also
 
252
# works around shells that cannot unset nonexistent variables.
 
253
# Preserve -v and -x to the replacement shell.
 
254
BASH_ENV=/dev/null
 
255
ENV=/dev/null
 
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
257
case $- in @%:@ ((((
 
258
  *v*x* | *x*v* ) as_opts=-vx ;;
 
259
  *v* ) as_opts=-v ;;
 
260
  *x* ) as_opts=-x ;;
 
261
  * ) as_opts= ;;
 
262
esac
 
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
264
# Admittedly, this is quite paranoid, since all the known shells bail
 
265
# out after a failed `exec'.
 
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
267
exit 255
 
268
fi
 
269
 
 
270
    if test x$as_have_required = xno; then :
 
271
  $as_echo "$0: This script requires a shell more modern than all"
 
272
  $as_echo "$0: the shells that I found on your system."
 
273
  if test x${ZSH_VERSION+set} = xset ; then
 
274
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
275
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
276
  else
 
277
    $as_echo "$0: Please tell bug-autoconf@gnu.org and ben.sput@gmail.com
 
278
$0: about your system, including any error possibly output
 
279
$0: before this message. Then install a modern shell, or
 
280
$0: manually run the script under such a shell if you do
 
281
$0: have one."
 
282
  fi
 
283
  exit 1
 
284
fi
 
285
fi
 
286
fi
 
287
SHELL=${CONFIG_SHELL-/bin/sh}
 
288
export SHELL
 
289
# Unset more variables known to interfere with behavior of common tools.
 
290
CLICOLOR_FORCE= GREP_OPTIONS=
 
291
unset CLICOLOR_FORCE GREP_OPTIONS
 
292
 
 
293
## --------------------- ##
 
294
## M4sh Shell Functions. ##
 
295
## --------------------- ##
 
296
@%:@ as_fn_unset VAR
 
297
@%:@ ---------------
 
298
@%:@ Portably unset VAR.
 
299
as_fn_unset ()
 
300
{
 
301
  { eval $1=; unset $1;}
 
302
}
 
303
as_unset=as_fn_unset
 
304
 
 
305
@%:@ as_fn_set_status STATUS
 
306
@%:@ -----------------------
 
307
@%:@ Set @S|@? to STATUS, without forking.
 
308
as_fn_set_status ()
 
309
{
 
310
  return $1
 
311
} @%:@ as_fn_set_status
 
312
 
 
313
@%:@ as_fn_exit STATUS
 
314
@%:@ -----------------
 
315
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
316
as_fn_exit ()
 
317
{
 
318
  set +e
 
319
  as_fn_set_status $1
 
320
  exit $1
 
321
} @%:@ as_fn_exit
 
322
 
 
323
@%:@ as_fn_mkdir_p
 
324
@%:@ -------------
 
325
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
 
326
as_fn_mkdir_p ()
 
327
{
 
328
 
 
329
  case $as_dir in #(
 
330
  -*) as_dir=./$as_dir;;
 
331
  esac
 
332
  test -d "$as_dir" || eval $as_mkdir_p || {
 
333
    as_dirs=
 
334
    while :; do
 
335
      case $as_dir in #(
 
336
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
337
      *) as_qdir=$as_dir;;
 
338
      esac
 
339
      as_dirs="'$as_qdir' $as_dirs"
 
340
      as_dir=`$as_dirname -- "$as_dir" ||
 
341
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
342
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
343
         X"$as_dir" : 'X\(//\)$' \| \
 
344
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
345
$as_echo X"$as_dir" |
 
346
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
347
            s//\1/
 
348
            q
 
349
          }
 
350
          /^X\(\/\/\)[^/].*/{
 
351
            s//\1/
 
352
            q
 
353
          }
 
354
          /^X\(\/\/\)$/{
 
355
            s//\1/
 
356
            q
 
357
          }
 
358
          /^X\(\/\).*/{
 
359
            s//\1/
 
360
            q
 
361
          }
 
362
          s/.*/./; q'`
 
363
      test -d "$as_dir" && break
 
364
    done
 
365
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
366
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
367
 
 
368
 
 
369
} @%:@ as_fn_mkdir_p
 
370
 
 
371
@%:@ as_fn_executable_p FILE
 
372
@%:@ -----------------------
 
373
@%:@ Test if FILE is an executable regular file.
 
374
as_fn_executable_p ()
 
375
{
 
376
  test -f "$1" && test -x "$1"
 
377
} @%:@ as_fn_executable_p
 
378
@%:@ as_fn_append VAR VALUE
 
379
@%:@ ----------------------
 
380
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
381
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
382
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
383
@%:@ implementations.
 
384
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
385
  eval 'as_fn_append ()
 
386
  {
 
387
    eval $1+=\$2
 
388
  }'
 
389
else
 
390
  as_fn_append ()
 
391
  {
 
392
    eval $1=\$$1\$2
 
393
  }
 
394
fi # as_fn_append
 
395
 
 
396
@%:@ as_fn_arith ARG...
 
397
@%:@ ------------------
 
398
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
399
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 
400
@%:@ must be portable across @S|@(()) and expr.
 
401
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
402
  eval 'as_fn_arith ()
 
403
  {
 
404
    as_val=$(( $* ))
 
405
  }'
 
406
else
 
407
  as_fn_arith ()
 
408
  {
 
409
    as_val=`expr "$@" || test $? -eq 1`
 
410
  }
 
411
fi # as_fn_arith
 
412
 
 
413
 
 
414
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
 
415
@%:@ ----------------------------------------
 
416
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
417
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
418
@%:@ script with STATUS, using 1 if that was 0.
 
419
as_fn_error ()
 
420
{
 
421
  as_status=$1; test $as_status -eq 0 && as_status=1
 
422
  if test "$4"; then
 
423
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
424
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
425
  fi
 
426
  $as_echo "$as_me: error: $2" >&2
 
427
  as_fn_exit $as_status
 
428
} @%:@ as_fn_error
 
429
 
 
430
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
431
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
432
  as_expr=expr
 
433
else
 
434
  as_expr=false
 
435
fi
 
436
 
 
437
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
438
  as_basename=basename
 
439
else
 
440
  as_basename=false
 
441
fi
 
442
 
 
443
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
444
  as_dirname=dirname
 
445
else
 
446
  as_dirname=false
 
447
fi
 
448
 
 
449
as_me=`$as_basename -- "$0" ||
 
450
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
451
         X"$0" : 'X\(//\)$' \| \
 
452
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
453
$as_echo X/"$0" |
 
454
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
455
            s//\1/
 
456
            q
 
457
          }
 
458
          /^X\/\(\/\/\)$/{
 
459
            s//\1/
 
460
            q
 
461
          }
 
462
          /^X\/\(\/\).*/{
 
463
            s//\1/
 
464
            q
 
465
          }
 
466
          s/.*/./; q'`
 
467
 
 
468
# Avoid depending upon Character Ranges.
 
469
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
470
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
471
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
472
as_cr_digits='0123456789'
 
473
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
474
 
 
475
 
 
476
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
477
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
478
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
479
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
480
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
481
  sed -n '
 
482
    p
 
483
    /[$]LINENO/=
 
484
  ' <$as_myself |
 
485
    sed '
 
486
      s/[$]LINENO.*/&-/
 
487
      t lineno
 
488
      b
 
489
      :lineno
 
490
      N
 
491
      :loop
 
492
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
493
      t loop
 
494
      s/-\n.*//
 
495
    ' >$as_me.lineno &&
 
496
  chmod +x "$as_me.lineno" ||
 
497
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
498
 
 
499
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
500
  # already done that, so ensure we don't try to do so again and fall
 
501
  # in an infinite loop.  This has already happened in practice.
 
502
  _as_can_reexec=no; export _as_can_reexec
 
503
  # Don't try to exec as it changes $[0], causing all sort of problems
 
504
  # (the dirname of $[0] is not the place where we might find the
 
505
  # original and so on.  Autoconf is especially sensitive to this).
 
506
  . "./$as_me.lineno"
 
507
  # Exit status is that of the last command.
 
508
  exit
 
509
}
 
510
 
 
511
ECHO_C= ECHO_N= ECHO_T=
 
512
case `echo -n x` in @%:@(((((
 
513
-n*)
 
514
  case `echo 'xy\c'` in
 
515
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
516
  xy)  ECHO_C='\c';;
 
517
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
518
       ECHO_T=' ';;
 
519
  esac;;
 
520
*)
 
521
  ECHO_N='-n';;
 
522
esac
 
523
 
 
524
rm -f conf$$ conf$$.exe conf$$.file
 
525
if test -d conf$$.dir; then
 
526
  rm -f conf$$.dir/conf$$.file
 
527
else
 
528
  rm -f conf$$.dir
 
529
  mkdir conf$$.dir 2>/dev/null
 
530
fi
 
531
if (echo >conf$$.file) 2>/dev/null; then
 
532
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
533
    as_ln_s='ln -s'
 
534
    # ... but there are two gotchas:
 
535
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
536
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
537
    # In both cases, we have to default to `cp -pR'.
 
538
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
539
      as_ln_s='cp -pR'
 
540
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
541
    as_ln_s=ln
 
542
  else
 
543
    as_ln_s='cp -pR'
 
544
  fi
 
545
else
 
546
  as_ln_s='cp -pR'
 
547
fi
 
548
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
549
rmdir conf$$.dir 2>/dev/null
 
550
 
 
551
if mkdir -p . 2>/dev/null; then
 
552
  as_mkdir_p='mkdir -p "$as_dir"'
 
553
else
 
554
  test -d ./-p && rmdir ./-p
 
555
  as_mkdir_p=false
 
556
fi
 
557
 
 
558
as_test_x='test -x'
 
559
as_executable_p=as_fn_executable_p
 
560
 
 
561
# Sed expression to map a string onto a valid CPP name.
 
562
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
563
 
 
564
# Sed expression to map a string onto a valid variable name.
 
565
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
566
 
 
567
SHELL=${CONFIG_SHELL-/bin/sh}
 
568
 
 
569
 
 
570
test -n "$DJDIR" || exec 7<&0 </dev/null
 
571
exec 6>&1
 
572
 
 
573
# Name of the host.
 
574
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
575
# so uname gets run too.
 
576
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
577
 
 
578
#
 
579
# Initializations.
 
580
#
 
581
ac_default_prefix=/usr/local
 
582
ac_clean_files=
 
583
ac_config_libobj_dir=.
 
584
LIB@&t@OBJS=
 
585
cross_compiling=no
 
586
subdirs=
 
587
MFLAGS=
 
588
MAKEFLAGS=
 
589
 
 
590
# Identity of this package.
 
591
PACKAGE_NAME='libwaveplot'
 
592
PACKAGE_TARNAME='libwaveplot'
 
593
PACKAGE_VERSION='1.0'
 
594
PACKAGE_STRING='libwaveplot 1.0'
 
595
PACKAGE_BUGREPORT='ben.sput@gmail.com'
 
596
PACKAGE_URL=''
 
597
 
 
598
ac_unique_file="src/waveplot.h"
 
599
# Factoring default headers for most tests.
 
600
ac_includes_default="\
 
601
#include <stdio.h>
 
602
#ifdef HAVE_SYS_TYPES_H
 
603
# include <sys/types.h>
 
604
#endif
 
605
#ifdef HAVE_SYS_STAT_H
 
606
# include <sys/stat.h>
 
607
#endif
 
608
#ifdef STDC_HEADERS
 
609
# include <stdlib.h>
 
610
# include <stddef.h>
 
611
#else
 
612
# ifdef HAVE_STDLIB_H
 
613
#  include <stdlib.h>
 
614
# endif
 
615
#endif
 
616
#ifdef HAVE_STRING_H
 
617
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
618
#  include <memory.h>
 
619
# endif
 
620
# include <string.h>
 
621
#endif
 
622
#ifdef HAVE_STRINGS_H
 
623
# include <strings.h>
 
624
#endif
 
625
#ifdef HAVE_INTTYPES_H
 
626
# include <inttypes.h>
 
627
#endif
 
628
#ifdef HAVE_STDINT_H
 
629
# include <stdint.h>
 
630
#endif
 
631
#ifdef HAVE_UNISTD_H
 
632
# include <unistd.h>
 
633
#endif"
 
634
 
 
635
ac_subst_vars='am__EXEEXT_FALSE
 
636
am__EXEEXT_TRUE
 
637
LTLIBOBJS
 
638
LIB@&t@OBJS
 
639
CPP
 
640
OTOOL64
 
641
OTOOL
 
642
LIPO
 
643
NMEDIT
 
644
DSYMUTIL
 
645
MANIFEST_TOOL
 
646
RANLIB
 
647
ac_ct_AR
 
648
AR
 
649
DLLTOOL
 
650
OBJDUMP
 
651
LN_S
 
652
NM
 
653
ac_ct_DUMPBIN
 
654
DUMPBIN
 
655
LD
 
656
FGREP
 
657
EGREP
 
658
GREP
 
659
SED
 
660
am__fastdepCC_FALSE
 
661
am__fastdepCC_TRUE
 
662
CCDEPMODE
 
663
am__nodep
 
664
AMDEPBACKSLASH
 
665
AMDEP_FALSE
 
666
AMDEP_TRUE
 
667
am__quote
 
668
am__include
 
669
DEPDIR
 
670
OBJEXT
 
671
EXEEXT
 
672
ac_ct_CC
 
673
CPPFLAGS
 
674
LDFLAGS
 
675
CFLAGS
 
676
CC
 
677
host_os
 
678
host_vendor
 
679
host_cpu
 
680
host
 
681
build_os
 
682
build_vendor
 
683
build_cpu
 
684
build
 
685
LIBTOOL
 
686
AM_BACKSLASH
 
687
AM_DEFAULT_VERBOSITY
 
688
AM_DEFAULT_V
 
689
AM_V
 
690
am__untar
 
691
am__tar
 
692
AMTAR
 
693
am__leading_dot
 
694
SET_MAKE
 
695
AWK
 
696
mkdir_p
 
697
MKDIR_P
 
698
INSTALL_STRIP_PROGRAM
 
699
STRIP
 
700
install_sh
 
701
MAKEINFO
 
702
AUTOHEADER
 
703
AUTOMAKE
 
704
AUTOCONF
 
705
ACLOCAL
 
706
VERSION
 
707
PACKAGE
 
708
CYGPATH_W
 
709
am__isrc
 
710
INSTALL_DATA
 
711
INSTALL_SCRIPT
 
712
INSTALL_PROGRAM
 
713
target_alias
 
714
host_alias
 
715
build_alias
 
716
LIBS
 
717
ECHO_T
 
718
ECHO_N
 
719
ECHO_C
 
720
DEFS
 
721
mandir
 
722
localedir
 
723
libdir
 
724
psdir
 
725
pdfdir
 
726
dvidir
 
727
htmldir
 
728
infodir
 
729
docdir
 
730
oldincludedir
 
731
includedir
 
732
localstatedir
 
733
sharedstatedir
 
734
sysconfdir
 
735
datadir
 
736
datarootdir
 
737
libexecdir
 
738
sbindir
 
739
bindir
 
740
program_transform_name
 
741
prefix
 
742
exec_prefix
 
743
PACKAGE_URL
 
744
PACKAGE_BUGREPORT
 
745
PACKAGE_STRING
 
746
PACKAGE_VERSION
 
747
PACKAGE_TARNAME
 
748
PACKAGE_NAME
 
749
PATH_SEPARATOR
 
750
SHELL'
 
751
ac_subst_files=''
 
752
ac_user_opts='
 
753
enable_option_checking
 
754
enable_silent_rules
 
755
enable_shared
 
756
enable_static
 
757
with_pic
 
758
enable_fast_install
 
759
enable_dependency_tracking
 
760
with_gnu_ld
 
761
with_sysroot
 
762
enable_libtool_lock
 
763
'
 
764
      ac_precious_vars='build_alias
 
765
host_alias
 
766
target_alias
 
767
CC
 
768
CFLAGS
 
769
LDFLAGS
 
770
LIBS
 
771
CPPFLAGS
 
772
CPP'
 
773
 
 
774
 
 
775
# Initialize some variables set by options.
 
776
ac_init_help=
 
777
ac_init_version=false
 
778
ac_unrecognized_opts=
 
779
ac_unrecognized_sep=
 
780
# The variables have the same names as the options, with
 
781
# dashes changed to underlines.
 
782
cache_file=/dev/null
 
783
exec_prefix=NONE
 
784
no_create=
 
785
no_recursion=
 
786
prefix=NONE
 
787
program_prefix=NONE
 
788
program_suffix=NONE
 
789
program_transform_name=s,x,x,
 
790
silent=
 
791
site=
 
792
srcdir=
 
793
verbose=
 
794
x_includes=NONE
 
795
x_libraries=NONE
 
796
 
 
797
# Installation directory options.
 
798
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
799
# and all the variables that are supposed to be based on exec_prefix
 
800
# by default will actually change.
 
801
# Use braces instead of parens because sh, perl, etc. also accept them.
 
802
# (The list follows the same order as the GNU Coding Standards.)
 
803
bindir='${exec_prefix}/bin'
 
804
sbindir='${exec_prefix}/sbin'
 
805
libexecdir='${exec_prefix}/libexec'
 
806
datarootdir='${prefix}/share'
 
807
datadir='${datarootdir}'
 
808
sysconfdir='${prefix}/etc'
 
809
sharedstatedir='${prefix}/com'
 
810
localstatedir='${prefix}/var'
 
811
includedir='${prefix}/include'
 
812
oldincludedir='/usr/include'
 
813
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
814
infodir='${datarootdir}/info'
 
815
htmldir='${docdir}'
 
816
dvidir='${docdir}'
 
817
pdfdir='${docdir}'
 
818
psdir='${docdir}'
 
819
libdir='${exec_prefix}/lib'
 
820
localedir='${datarootdir}/locale'
 
821
mandir='${datarootdir}/man'
 
822
 
 
823
ac_prev=
 
824
ac_dashdash=
 
825
for ac_option
 
826
do
 
827
  # If the previous option needs an argument, assign it.
 
828
  if test -n "$ac_prev"; then
 
829
    eval $ac_prev=\$ac_option
 
830
    ac_prev=
 
831
    continue
 
832
  fi
 
833
 
 
834
  case $ac_option in
 
835
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
836
  *=)   ac_optarg= ;;
 
837
  *)    ac_optarg=yes ;;
 
838
  esac
 
839
 
 
840
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
841
 
 
842
  case $ac_dashdash$ac_option in
 
843
  --)
 
844
    ac_dashdash=yes ;;
 
845
 
 
846
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
847
    ac_prev=bindir ;;
 
848
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
849
    bindir=$ac_optarg ;;
 
850
 
 
851
  -build | --build | --buil | --bui | --bu)
 
852
    ac_prev=build_alias ;;
 
853
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
854
    build_alias=$ac_optarg ;;
 
855
 
 
856
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
857
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
858
    ac_prev=cache_file ;;
 
859
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
860
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
861
    cache_file=$ac_optarg ;;
 
862
 
 
863
  --config-cache | -C)
 
864
    cache_file=config.cache ;;
 
865
 
 
866
  -datadir | --datadir | --datadi | --datad)
 
867
    ac_prev=datadir ;;
 
868
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
869
    datadir=$ac_optarg ;;
 
870
 
 
871
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
872
  | --dataroo | --dataro | --datar)
 
873
    ac_prev=datarootdir ;;
 
874
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
875
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
876
    datarootdir=$ac_optarg ;;
 
877
 
 
878
  -disable-* | --disable-*)
 
879
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
880
    # Reject names that are not valid shell variable names.
 
881
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
882
      as_fn_error $? "invalid feature name: $ac_useropt"
 
883
    ac_useropt_orig=$ac_useropt
 
884
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
885
    case $ac_user_opts in
 
886
      *"
 
887
"enable_$ac_useropt"
 
888
"*) ;;
 
889
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
890
         ac_unrecognized_sep=', ';;
 
891
    esac
 
892
    eval enable_$ac_useropt=no ;;
 
893
 
 
894
  -docdir | --docdir | --docdi | --doc | --do)
 
895
    ac_prev=docdir ;;
 
896
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
897
    docdir=$ac_optarg ;;
 
898
 
 
899
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
900
    ac_prev=dvidir ;;
 
901
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
902
    dvidir=$ac_optarg ;;
 
903
 
 
904
  -enable-* | --enable-*)
 
905
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
906
    # Reject names that are not valid shell variable names.
 
907
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
908
      as_fn_error $? "invalid feature name: $ac_useropt"
 
909
    ac_useropt_orig=$ac_useropt
 
910
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
911
    case $ac_user_opts in
 
912
      *"
 
913
"enable_$ac_useropt"
 
914
"*) ;;
 
915
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
916
         ac_unrecognized_sep=', ';;
 
917
    esac
 
918
    eval enable_$ac_useropt=\$ac_optarg ;;
 
919
 
 
920
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
921
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
922
  | --exec | --exe | --ex)
 
923
    ac_prev=exec_prefix ;;
 
924
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
925
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
926
  | --exec=* | --exe=* | --ex=*)
 
927
    exec_prefix=$ac_optarg ;;
 
928
 
 
929
  -gas | --gas | --ga | --g)
 
930
    # Obsolete; use --with-gas.
 
931
    with_gas=yes ;;
 
932
 
 
933
  -help | --help | --hel | --he | -h)
 
934
    ac_init_help=long ;;
 
935
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
936
    ac_init_help=recursive ;;
 
937
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
938
    ac_init_help=short ;;
 
939
 
 
940
  -host | --host | --hos | --ho)
 
941
    ac_prev=host_alias ;;
 
942
  -host=* | --host=* | --hos=* | --ho=*)
 
943
    host_alias=$ac_optarg ;;
 
944
 
 
945
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
946
    ac_prev=htmldir ;;
 
947
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
948
  | --ht=*)
 
949
    htmldir=$ac_optarg ;;
 
950
 
 
951
  -includedir | --includedir | --includedi | --included | --include \
 
952
  | --includ | --inclu | --incl | --inc)
 
953
    ac_prev=includedir ;;
 
954
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
955
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
956
    includedir=$ac_optarg ;;
 
957
 
 
958
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
959
    ac_prev=infodir ;;
 
960
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
961
    infodir=$ac_optarg ;;
 
962
 
 
963
  -libdir | --libdir | --libdi | --libd)
 
964
    ac_prev=libdir ;;
 
965
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
966
    libdir=$ac_optarg ;;
 
967
 
 
968
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
969
  | --libexe | --libex | --libe)
 
970
    ac_prev=libexecdir ;;
 
971
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
972
  | --libexe=* | --libex=* | --libe=*)
 
973
    libexecdir=$ac_optarg ;;
 
974
 
 
975
  -localedir | --localedir | --localedi | --localed | --locale)
 
976
    ac_prev=localedir ;;
 
977
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
978
    localedir=$ac_optarg ;;
 
979
 
 
980
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
981
  | --localstate | --localstat | --localsta | --localst | --locals)
 
982
    ac_prev=localstatedir ;;
 
983
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
984
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
985
    localstatedir=$ac_optarg ;;
 
986
 
 
987
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
988
    ac_prev=mandir ;;
 
989
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
990
    mandir=$ac_optarg ;;
 
991
 
 
992
  -nfp | --nfp | --nf)
 
993
    # Obsolete; use --without-fp.
 
994
    with_fp=no ;;
 
995
 
 
996
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
997
  | --no-cr | --no-c | -n)
 
998
    no_create=yes ;;
 
999
 
 
1000
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1001
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1002
    no_recursion=yes ;;
 
1003
 
 
1004
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1005
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1006
  | --oldin | --oldi | --old | --ol | --o)
 
1007
    ac_prev=oldincludedir ;;
 
1008
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1009
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1010
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1011
    oldincludedir=$ac_optarg ;;
 
1012
 
 
1013
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1014
    ac_prev=prefix ;;
 
1015
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1016
    prefix=$ac_optarg ;;
 
1017
 
 
1018
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1019
  | --program-pre | --program-pr | --program-p)
 
1020
    ac_prev=program_prefix ;;
 
1021
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1022
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1023
    program_prefix=$ac_optarg ;;
 
1024
 
 
1025
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1026
  | --program-suf | --program-su | --program-s)
 
1027
    ac_prev=program_suffix ;;
 
1028
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1029
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1030
    program_suffix=$ac_optarg ;;
 
1031
 
 
1032
  -program-transform-name | --program-transform-name \
 
1033
  | --program-transform-nam | --program-transform-na \
 
1034
  | --program-transform-n | --program-transform- \
 
1035
  | --program-transform | --program-transfor \
 
1036
  | --program-transfo | --program-transf \
 
1037
  | --program-trans | --program-tran \
 
1038
  | --progr-tra | --program-tr | --program-t)
 
1039
    ac_prev=program_transform_name ;;
 
1040
  -program-transform-name=* | --program-transform-name=* \
 
1041
  | --program-transform-nam=* | --program-transform-na=* \
 
1042
  | --program-transform-n=* | --program-transform-=* \
 
1043
  | --program-transform=* | --program-transfor=* \
 
1044
  | --program-transfo=* | --program-transf=* \
 
1045
  | --program-trans=* | --program-tran=* \
 
1046
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1047
    program_transform_name=$ac_optarg ;;
 
1048
 
 
1049
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1050
    ac_prev=pdfdir ;;
 
1051
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1052
    pdfdir=$ac_optarg ;;
 
1053
 
 
1054
  -psdir | --psdir | --psdi | --psd | --ps)
 
1055
    ac_prev=psdir ;;
 
1056
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1057
    psdir=$ac_optarg ;;
 
1058
 
 
1059
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1060
  | -silent | --silent | --silen | --sile | --sil)
 
1061
    silent=yes ;;
 
1062
 
 
1063
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1064
    ac_prev=sbindir ;;
 
1065
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1066
  | --sbi=* | --sb=*)
 
1067
    sbindir=$ac_optarg ;;
 
1068
 
 
1069
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1070
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1071
  | --sharedst | --shareds | --shared | --share | --shar \
 
1072
  | --sha | --sh)
 
1073
    ac_prev=sharedstatedir ;;
 
1074
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1075
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1076
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1077
  | --sha=* | --sh=*)
 
1078
    sharedstatedir=$ac_optarg ;;
 
1079
 
 
1080
  -site | --site | --sit)
 
1081
    ac_prev=site ;;
 
1082
  -site=* | --site=* | --sit=*)
 
1083
    site=$ac_optarg ;;
 
1084
 
 
1085
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1086
    ac_prev=srcdir ;;
 
1087
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1088
    srcdir=$ac_optarg ;;
 
1089
 
 
1090
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1091
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1092
    ac_prev=sysconfdir ;;
 
1093
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1094
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1095
    sysconfdir=$ac_optarg ;;
 
1096
 
 
1097
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1098
    ac_prev=target_alias ;;
 
1099
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1100
    target_alias=$ac_optarg ;;
 
1101
 
 
1102
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1103
    verbose=yes ;;
 
1104
 
 
1105
  -version | --version | --versio | --versi | --vers | -V)
 
1106
    ac_init_version=: ;;
 
1107
 
 
1108
  -with-* | --with-*)
 
1109
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1110
    # Reject names that are not valid shell variable names.
 
1111
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1112
      as_fn_error $? "invalid package name: $ac_useropt"
 
1113
    ac_useropt_orig=$ac_useropt
 
1114
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1115
    case $ac_user_opts in
 
1116
      *"
 
1117
"with_$ac_useropt"
 
1118
"*) ;;
 
1119
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1120
         ac_unrecognized_sep=', ';;
 
1121
    esac
 
1122
    eval with_$ac_useropt=\$ac_optarg ;;
 
1123
 
 
1124
  -without-* | --without-*)
 
1125
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1126
    # Reject names that are not valid shell variable names.
 
1127
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1128
      as_fn_error $? "invalid package name: $ac_useropt"
 
1129
    ac_useropt_orig=$ac_useropt
 
1130
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1131
    case $ac_user_opts in
 
1132
      *"
 
1133
"with_$ac_useropt"
 
1134
"*) ;;
 
1135
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1136
         ac_unrecognized_sep=', ';;
 
1137
    esac
 
1138
    eval with_$ac_useropt=no ;;
 
1139
 
 
1140
  --x)
 
1141
    # Obsolete; use --with-x.
 
1142
    with_x=yes ;;
 
1143
 
 
1144
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1145
  | --x-incl | --x-inc | --x-in | --x-i)
 
1146
    ac_prev=x_includes ;;
 
1147
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1148
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1149
    x_includes=$ac_optarg ;;
 
1150
 
 
1151
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1152
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1153
    ac_prev=x_libraries ;;
 
1154
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1155
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1156
    x_libraries=$ac_optarg ;;
 
1157
 
 
1158
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1159
Try \`$0 --help' for more information"
 
1160
    ;;
 
1161
 
 
1162
  *=*)
 
1163
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1164
    # Reject names that are not valid shell variable names.
 
1165
    case $ac_envvar in #(
 
1166
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1167
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1168
    esac
 
1169
    eval $ac_envvar=\$ac_optarg
 
1170
    export $ac_envvar ;;
 
1171
 
 
1172
  *)
 
1173
    # FIXME: should be removed in autoconf 3.0.
 
1174
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1175
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1176
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1177
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1178
    ;;
 
1179
 
 
1180
  esac
 
1181
done
 
1182
 
 
1183
if test -n "$ac_prev"; then
 
1184
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1185
  as_fn_error $? "missing argument to $ac_option"
 
1186
fi
 
1187
 
 
1188
if test -n "$ac_unrecognized_opts"; then
 
1189
  case $enable_option_checking in
 
1190
    no) ;;
 
1191
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1192
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1193
  esac
 
1194
fi
 
1195
 
 
1196
# Check all directory arguments for consistency.
 
1197
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1198
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1199
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1200
                libdir localedir mandir
 
1201
do
 
1202
  eval ac_val=\$$ac_var
 
1203
  # Remove trailing slashes.
 
1204
  case $ac_val in
 
1205
    */ )
 
1206
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1207
      eval $ac_var=\$ac_val;;
 
1208
  esac
 
1209
  # Be sure to have absolute directory names.
 
1210
  case $ac_val in
 
1211
    [\\/$]* | ?:[\\/]* )  continue;;
 
1212
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1213
  esac
 
1214
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1215
done
 
1216
 
 
1217
# There might be people who depend on the old broken behavior: `$host'
 
1218
# used to hold the argument of --host etc.
 
1219
# FIXME: To remove some day.
 
1220
build=$build_alias
 
1221
host=$host_alias
 
1222
target=$target_alias
 
1223
 
 
1224
# FIXME: To remove some day.
 
1225
if test "x$host_alias" != x; then
 
1226
  if test "x$build_alias" = x; then
 
1227
    cross_compiling=maybe
 
1228
  elif test "x$build_alias" != "x$host_alias"; then
 
1229
    cross_compiling=yes
 
1230
  fi
 
1231
fi
 
1232
 
 
1233
ac_tool_prefix=
 
1234
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1235
 
 
1236
test "$silent" = yes && exec 6>/dev/null
 
1237
 
 
1238
 
 
1239
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1240
ac_ls_di=`ls -di .` &&
 
1241
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1242
  as_fn_error $? "working directory cannot be determined"
 
1243
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1244
  as_fn_error $? "pwd does not report name of working directory"
 
1245
 
 
1246
 
 
1247
# Find the source files, if location was not specified.
 
1248
if test -z "$srcdir"; then
 
1249
  ac_srcdir_defaulted=yes
 
1250
  # Try the directory containing this script, then the parent directory.
 
1251
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1252
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1253
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1254
         X"$as_myself" : 'X\(//\)$' \| \
 
1255
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1256
$as_echo X"$as_myself" |
 
1257
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1258
            s//\1/
 
1259
            q
 
1260
          }
 
1261
          /^X\(\/\/\)[^/].*/{
 
1262
            s//\1/
 
1263
            q
 
1264
          }
 
1265
          /^X\(\/\/\)$/{
 
1266
            s//\1/
 
1267
            q
 
1268
          }
 
1269
          /^X\(\/\).*/{
 
1270
            s//\1/
 
1271
            q
 
1272
          }
 
1273
          s/.*/./; q'`
 
1274
  srcdir=$ac_confdir
 
1275
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1276
    srcdir=..
 
1277
  fi
 
1278
else
 
1279
  ac_srcdir_defaulted=no
 
1280
fi
 
1281
if test ! -r "$srcdir/$ac_unique_file"; then
 
1282
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1283
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1284
fi
 
1285
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1286
ac_abs_confdir=`(
 
1287
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1288
        pwd)`
 
1289
# When building in place, set srcdir=.
 
1290
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1291
  srcdir=.
 
1292
fi
 
1293
# Remove unnecessary trailing slashes from srcdir.
 
1294
# Double slashes in file names in object file debugging info
 
1295
# mess up M-x gdb in Emacs.
 
1296
case $srcdir in
 
1297
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1298
esac
 
1299
for ac_var in $ac_precious_vars; do
 
1300
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1301
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1302
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1303
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1304
done
 
1305
 
 
1306
#
 
1307
# Report the --help message.
 
1308
#
 
1309
if test "$ac_init_help" = "long"; then
 
1310
  # Omit some internal or obsolete options to make the list less imposing.
 
1311
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1312
  cat <<_ACEOF
 
1313
\`configure' configures libwaveplot 1.0 to adapt to many kinds of systems.
 
1314
 
 
1315
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1316
 
 
1317
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1318
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1319
 
 
1320
Defaults for the options are specified in brackets.
 
1321
 
 
1322
Configuration:
 
1323
  -h, --help              display this help and exit
 
1324
      --help=short        display options specific to this package
 
1325
      --help=recursive    display the short help of all the included packages
 
1326
  -V, --version           display version information and exit
 
1327
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1328
      --cache-file=FILE   cache test results in FILE [disabled]
 
1329
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1330
  -n, --no-create         do not create output files
 
1331
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1332
 
 
1333
Installation directories:
 
1334
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1335
                          @<:@@S|@ac_default_prefix@:>@
 
1336
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1337
                          @<:@PREFIX@:>@
 
1338
 
 
1339
By default, \`make install' will install all the files in
 
1340
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1341
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1342
for instance \`--prefix=\$HOME'.
 
1343
 
 
1344
For better control, use the options below.
 
1345
 
 
1346
Fine tuning of the installation directories:
 
1347
  --bindir=DIR            user executables [EPREFIX/bin]
 
1348
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1349
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1350
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1351
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1352
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1353
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1354
  --includedir=DIR        C header files [PREFIX/include]
 
1355
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1356
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1357
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1358
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1359
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1360
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1361
  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/libwaveplot@:>@
 
1362
  --htmldir=DIR           html documentation [DOCDIR]
 
1363
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1364
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1365
  --psdir=DIR             ps documentation [DOCDIR]
 
1366
_ACEOF
 
1367
 
 
1368
  cat <<\_ACEOF
 
1369
 
 
1370
Program names:
 
1371
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1372
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1373
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1374
 
 
1375
System types:
 
1376
  --build=BUILD     configure for building on BUILD [guessed]
 
1377
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1378
_ACEOF
 
1379
fi
 
1380
 
 
1381
if test -n "$ac_init_help"; then
 
1382
  case $ac_init_help in
 
1383
     short | recursive ) echo "Configuration of libwaveplot 1.0:";;
 
1384
   esac
 
1385
  cat <<\_ACEOF
 
1386
 
 
1387
Optional Features:
 
1388
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1389
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1390
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1391
  --enable-silent-rules   less verbose build output (undo: "make V=1")
 
1392
  --disable-silent-rules  verbose build output (undo: "make V=0")
 
1393
  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
 
1394
  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
 
1395
  --enable-fast-install@<:@=PKGS@:>@ 
 
1396
                          optimize for fast installation @<:@default=yes@:>@
 
1397
  --enable-dependency-tracking 
 
1398
                          do not reject slow dependency extractors
 
1399
  --disable-dependency-tracking 
 
1400
                          speeds up one-time build
 
1401
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1402
 
 
1403
Optional Packages:
 
1404
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1405
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1406
  --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
 
1407
                          both@:>@
 
1408
  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
 
1409
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1410
                        (or the compiler's sysroot if not specified).
 
1411
 
 
1412
Some influential environment variables:
 
1413
  CC          C compiler command
 
1414
  CFLAGS      C compiler flags
 
1415
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1416
              nonstandard directory <lib dir>
 
1417
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1418
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1419
              you have headers in a nonstandard directory <include dir>
 
1420
  CPP         C preprocessor
 
1421
 
 
1422
Use these variables to override the choices made by `configure' or to help
 
1423
it to find libraries and programs with nonstandard names/locations.
 
1424
 
 
1425
Report bugs to <ben.sput@gmail.com>.
 
1426
_ACEOF
 
1427
ac_status=$?
 
1428
fi
 
1429
 
 
1430
if test "$ac_init_help" = "recursive"; then
 
1431
  # If there are subdirs, report their specific --help.
 
1432
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1433
    test -d "$ac_dir" ||
 
1434
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1435
      continue
 
1436
    ac_builddir=.
 
1437
 
 
1438
case "$ac_dir" in
 
1439
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1440
*)
 
1441
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1442
  # A ".." for each directory in $ac_dir_suffix.
 
1443
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1444
  case $ac_top_builddir_sub in
 
1445
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1446
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1447
  esac ;;
 
1448
esac
 
1449
ac_abs_top_builddir=$ac_pwd
 
1450
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1451
# for backward compatibility:
 
1452
ac_top_builddir=$ac_top_build_prefix
 
1453
 
 
1454
case $srcdir in
 
1455
  .)  # We are building in place.
 
1456
    ac_srcdir=.
 
1457
    ac_top_srcdir=$ac_top_builddir_sub
 
1458
    ac_abs_top_srcdir=$ac_pwd ;;
 
1459
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1460
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1461
    ac_top_srcdir=$srcdir
 
1462
    ac_abs_top_srcdir=$srcdir ;;
 
1463
  *) # Relative name.
 
1464
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1465
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1466
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1467
esac
 
1468
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1469
 
 
1470
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1471
    # Check for guested configure.
 
1472
    if test -f "$ac_srcdir/configure.gnu"; then
 
1473
      echo &&
 
1474
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1475
    elif test -f "$ac_srcdir/configure"; then
 
1476
      echo &&
 
1477
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1478
    else
 
1479
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1480
    fi || ac_status=$?
 
1481
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1482
  done
 
1483
fi
 
1484
 
 
1485
test -n "$ac_init_help" && exit $ac_status
 
1486
if $ac_init_version; then
 
1487
  cat <<\_ACEOF
 
1488
libwaveplot configure 1.0
 
1489
generated by GNU Autoconf 2.69
 
1490
 
 
1491
Copyright (C) 2012 Free Software Foundation, Inc.
 
1492
This configure script is free software; the Free Software Foundation
 
1493
gives unlimited permission to copy, distribute and modify it.
 
1494
_ACEOF
 
1495
  exit
 
1496
fi
 
1497
 
 
1498
## ------------------------ ##
 
1499
## Autoconf initialization. ##
 
1500
## ------------------------ ##
 
1501
 
 
1502
@%:@ ac_fn_c_try_compile LINENO
 
1503
@%:@ --------------------------
 
1504
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
 
1505
ac_fn_c_try_compile ()
 
1506
{
 
1507
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1508
  rm -f conftest.$ac_objext
 
1509
  if { { ac_try="$ac_compile"
 
1510
case "(($ac_try" in
 
1511
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1512
  *) ac_try_echo=$ac_try;;
 
1513
esac
 
1514
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1515
$as_echo "$ac_try_echo"; } >&5
 
1516
  (eval "$ac_compile") 2>conftest.err
 
1517
  ac_status=$?
 
1518
  if test -s conftest.err; then
 
1519
    grep -v '^ *+' conftest.err >conftest.er1
 
1520
    cat conftest.er1 >&5
 
1521
    mv -f conftest.er1 conftest.err
 
1522
  fi
 
1523
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1524
  test $ac_status = 0; } && {
 
1525
         test -z "$ac_c_werror_flag" ||
 
1526
         test ! -s conftest.err
 
1527
       } && test -s conftest.$ac_objext; then :
 
1528
  ac_retval=0
 
1529
else
 
1530
  $as_echo "$as_me: failed program was:" >&5
 
1531
sed 's/^/| /' conftest.$ac_ext >&5
 
1532
 
 
1533
        ac_retval=1
 
1534
fi
 
1535
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1536
  as_fn_set_status $ac_retval
 
1537
 
 
1538
} @%:@ ac_fn_c_try_compile
 
1539
 
 
1540
@%:@ ac_fn_c_try_link LINENO
 
1541
@%:@ -----------------------
 
1542
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
 
1543
ac_fn_c_try_link ()
 
1544
{
 
1545
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1546
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1547
  if { { ac_try="$ac_link"
 
1548
case "(($ac_try" in
 
1549
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1550
  *) ac_try_echo=$ac_try;;
 
1551
esac
 
1552
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1553
$as_echo "$ac_try_echo"; } >&5
 
1554
  (eval "$ac_link") 2>conftest.err
 
1555
  ac_status=$?
 
1556
  if test -s conftest.err; then
 
1557
    grep -v '^ *+' conftest.err >conftest.er1
 
1558
    cat conftest.er1 >&5
 
1559
    mv -f conftest.er1 conftest.err
 
1560
  fi
 
1561
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1562
  test $ac_status = 0; } && {
 
1563
         test -z "$ac_c_werror_flag" ||
 
1564
         test ! -s conftest.err
 
1565
       } && test -s conftest$ac_exeext && {
 
1566
         test "$cross_compiling" = yes ||
 
1567
         test -x conftest$ac_exeext
 
1568
       }; then :
 
1569
  ac_retval=0
 
1570
else
 
1571
  $as_echo "$as_me: failed program was:" >&5
 
1572
sed 's/^/| /' conftest.$ac_ext >&5
 
1573
 
 
1574
        ac_retval=1
 
1575
fi
 
1576
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1577
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1578
  # interfere with the next link command; also delete a directory that is
 
1579
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1580
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1581
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1582
  as_fn_set_status $ac_retval
 
1583
 
 
1584
} @%:@ ac_fn_c_try_link
 
1585
 
 
1586
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1587
@%:@ -------------------------------------------------------
 
1588
@%:@ Tests whether HEADER exists and can be compiled using the include files in
 
1589
@%:@ INCLUDES, setting the cache variable VAR accordingly.
 
1590
ac_fn_c_check_header_compile ()
 
1591
{
 
1592
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1593
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1594
$as_echo_n "checking for $2... " >&6; }
 
1595
if eval \${$3+:} false; then :
 
1596
  $as_echo_n "(cached) " >&6
 
1597
else
 
1598
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1599
/* end confdefs.h.  */
 
1600
$4
 
1601
@%:@include <$2>
 
1602
_ACEOF
 
1603
if ac_fn_c_try_compile "$LINENO"; then :
 
1604
  eval "$3=yes"
 
1605
else
 
1606
  eval "$3=no"
 
1607
fi
 
1608
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1609
fi
 
1610
eval ac_res=\$$3
 
1611
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1612
$as_echo "$ac_res" >&6; }
 
1613
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1614
 
 
1615
} @%:@ ac_fn_c_check_header_compile
 
1616
 
 
1617
@%:@ ac_fn_c_try_cpp LINENO
 
1618
@%:@ ----------------------
 
1619
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 
1620
ac_fn_c_try_cpp ()
 
1621
{
 
1622
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1623
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1624
case "(($ac_try" in
 
1625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1626
  *) ac_try_echo=$ac_try;;
 
1627
esac
 
1628
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1629
$as_echo "$ac_try_echo"; } >&5
 
1630
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1631
  ac_status=$?
 
1632
  if test -s conftest.err; then
 
1633
    grep -v '^ *+' conftest.err >conftest.er1
 
1634
    cat conftest.er1 >&5
 
1635
    mv -f conftest.er1 conftest.err
 
1636
  fi
 
1637
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1638
  test $ac_status = 0; } > conftest.i && {
 
1639
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1640
         test ! -s conftest.err
 
1641
       }; then :
 
1642
  ac_retval=0
 
1643
else
 
1644
  $as_echo "$as_me: failed program was:" >&5
 
1645
sed 's/^/| /' conftest.$ac_ext >&5
 
1646
 
 
1647
    ac_retval=1
 
1648
fi
 
1649
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1650
  as_fn_set_status $ac_retval
 
1651
 
 
1652
} @%:@ ac_fn_c_try_cpp
 
1653
 
 
1654
@%:@ ac_fn_c_try_run LINENO
 
1655
@%:@ ----------------------
 
1656
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
 
1657
@%:@ that executables *can* be run.
 
1658
ac_fn_c_try_run ()
 
1659
{
 
1660
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1661
  if { { ac_try="$ac_link"
 
1662
case "(($ac_try" in
 
1663
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1664
  *) ac_try_echo=$ac_try;;
 
1665
esac
 
1666
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1667
$as_echo "$ac_try_echo"; } >&5
 
1668
  (eval "$ac_link") 2>&5
 
1669
  ac_status=$?
 
1670
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1671
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1672
  { { case "(($ac_try" in
 
1673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1674
  *) ac_try_echo=$ac_try;;
 
1675
esac
 
1676
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1677
$as_echo "$ac_try_echo"; } >&5
 
1678
  (eval "$ac_try") 2>&5
 
1679
  ac_status=$?
 
1680
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1681
  test $ac_status = 0; }; }; then :
 
1682
  ac_retval=0
 
1683
else
 
1684
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1685
       $as_echo "$as_me: failed program was:" >&5
 
1686
sed 's/^/| /' conftest.$ac_ext >&5
 
1687
 
 
1688
       ac_retval=$ac_status
 
1689
fi
 
1690
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1691
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1692
  as_fn_set_status $ac_retval
 
1693
 
 
1694
} @%:@ ac_fn_c_try_run
 
1695
 
 
1696
@%:@ ac_fn_c_check_func LINENO FUNC VAR
 
1697
@%:@ ----------------------------------
 
1698
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1699
ac_fn_c_check_func ()
 
1700
{
 
1701
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1702
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1703
$as_echo_n "checking for $2... " >&6; }
 
1704
if eval \${$3+:} false; then :
 
1705
  $as_echo_n "(cached) " >&6
 
1706
else
 
1707
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1708
/* end confdefs.h.  */
 
1709
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1710
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1711
#define $2 innocuous_$2
 
1712
 
 
1713
/* System header to define __stub macros and hopefully few prototypes,
 
1714
    which can conflict with char $2 (); below.
 
1715
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1716
    <limits.h> exists even on freestanding compilers.  */
 
1717
 
 
1718
#ifdef __STDC__
 
1719
# include <limits.h>
 
1720
#else
 
1721
# include <assert.h>
 
1722
#endif
 
1723
 
 
1724
#undef $2
 
1725
 
 
1726
/* Override any GCC internal prototype to avoid an error.
 
1727
   Use char because int might match the return type of a GCC
 
1728
   builtin and then its argument prototype would still apply.  */
 
1729
#ifdef __cplusplus
 
1730
extern "C"
 
1731
#endif
 
1732
char $2 ();
 
1733
/* The GNU C library defines this for functions which it implements
 
1734
    to always fail with ENOSYS.  Some functions are actually named
 
1735
    something starting with __ and the normal name is an alias.  */
 
1736
#if defined __stub_$2 || defined __stub___$2
 
1737
choke me
 
1738
#endif
 
1739
 
 
1740
int
 
1741
main ()
 
1742
{
 
1743
return $2 ();
 
1744
  ;
 
1745
  return 0;
 
1746
}
 
1747
_ACEOF
 
1748
if ac_fn_c_try_link "$LINENO"; then :
 
1749
  eval "$3=yes"
 
1750
else
 
1751
  eval "$3=no"
 
1752
fi
 
1753
rm -f core conftest.err conftest.$ac_objext \
 
1754
    conftest$ac_exeext conftest.$ac_ext
 
1755
fi
 
1756
eval ac_res=\$$3
 
1757
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1758
$as_echo "$ac_res" >&6; }
 
1759
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1760
 
 
1761
} @%:@ ac_fn_c_check_func
 
1762
 
 
1763
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1764
@%:@ -------------------------------------------------------
 
1765
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1766
@%:@ the include files in INCLUDES and setting the cache variable VAR
 
1767
@%:@ accordingly.
 
1768
ac_fn_c_check_header_mongrel ()
 
1769
{
 
1770
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1771
  if eval \${$3+:} false; then :
 
1772
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1773
$as_echo_n "checking for $2... " >&6; }
 
1774
if eval \${$3+:} false; then :
 
1775
  $as_echo_n "(cached) " >&6
 
1776
fi
 
1777
eval ac_res=\$$3
 
1778
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1779
$as_echo "$ac_res" >&6; }
 
1780
else
 
1781
  # Is the header compilable?
 
1782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1783
$as_echo_n "checking $2 usability... " >&6; }
 
1784
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1785
/* end confdefs.h.  */
 
1786
$4
 
1787
@%:@include <$2>
 
1788
_ACEOF
 
1789
if ac_fn_c_try_compile "$LINENO"; then :
 
1790
  ac_header_compiler=yes
 
1791
else
 
1792
  ac_header_compiler=no
 
1793
fi
 
1794
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1796
$as_echo "$ac_header_compiler" >&6; }
 
1797
 
 
1798
# Is the header present?
 
1799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1800
$as_echo_n "checking $2 presence... " >&6; }
 
1801
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1802
/* end confdefs.h.  */
 
1803
@%:@include <$2>
 
1804
_ACEOF
 
1805
if ac_fn_c_try_cpp "$LINENO"; then :
 
1806
  ac_header_preproc=yes
 
1807
else
 
1808
  ac_header_preproc=no
 
1809
fi
 
1810
rm -f conftest.err conftest.i conftest.$ac_ext
 
1811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1812
$as_echo "$ac_header_preproc" >&6; }
 
1813
 
 
1814
# So?  What about this header?
 
1815
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1816
  yes:no: )
 
1817
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1818
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1819
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1820
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1821
    ;;
 
1822
  no:yes:* )
 
1823
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1824
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1825
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1826
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1827
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1828
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1829
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1830
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1831
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1832
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1833
( $as_echo "## --------------------------------- ##
 
1834
## Report this to ben.sput@gmail.com ##
 
1835
## --------------------------------- ##"
 
1836
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1837
    ;;
 
1838
esac
 
1839
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1840
$as_echo_n "checking for $2... " >&6; }
 
1841
if eval \${$3+:} false; then :
 
1842
  $as_echo_n "(cached) " >&6
 
1843
else
 
1844
  eval "$3=\$ac_header_compiler"
 
1845
fi
 
1846
eval ac_res=\$$3
 
1847
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1848
$as_echo "$ac_res" >&6; }
 
1849
fi
 
1850
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1851
 
 
1852
} @%:@ ac_fn_c_check_header_mongrel
 
1853
 
 
1854
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
1855
@%:@ -------------------------------------------
 
1856
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
 
1857
@%:@ variable VAR accordingly.
 
1858
ac_fn_c_check_type ()
 
1859
{
 
1860
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1861
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1862
$as_echo_n "checking for $2... " >&6; }
 
1863
if eval \${$3+:} false; then :
 
1864
  $as_echo_n "(cached) " >&6
 
1865
else
 
1866
  eval "$3=no"
 
1867
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1868
/* end confdefs.h.  */
 
1869
$4
 
1870
int
 
1871
main ()
 
1872
{
 
1873
if (sizeof ($2))
 
1874
         return 0;
 
1875
  ;
 
1876
  return 0;
 
1877
}
 
1878
_ACEOF
 
1879
if ac_fn_c_try_compile "$LINENO"; then :
 
1880
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1881
/* end confdefs.h.  */
 
1882
$4
 
1883
int
 
1884
main ()
 
1885
{
 
1886
if (sizeof (($2)))
 
1887
            return 0;
 
1888
  ;
 
1889
  return 0;
 
1890
}
 
1891
_ACEOF
 
1892
if ac_fn_c_try_compile "$LINENO"; then :
 
1893
  
 
1894
else
 
1895
  eval "$3=yes"
 
1896
fi
 
1897
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1898
fi
 
1899
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1900
fi
 
1901
eval ac_res=\$$3
 
1902
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1903
$as_echo "$ac_res" >&6; }
 
1904
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1905
 
 
1906
} @%:@ ac_fn_c_check_type
 
1907
 
 
1908
@%:@ ac_fn_c_find_uintX_t LINENO BITS VAR
 
1909
@%:@ ------------------------------------
 
1910
@%:@ Finds an unsigned integer type with width BITS, setting cache variable VAR
 
1911
@%:@ accordingly.
 
1912
ac_fn_c_find_uintX_t ()
 
1913
{
 
1914
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1915
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
 
1916
$as_echo_n "checking for uint$2_t... " >&6; }
 
1917
if eval \${$3+:} false; then :
 
1918
  $as_echo_n "(cached) " >&6
 
1919
else
 
1920
  eval "$3=no"
 
1921
     # Order is important - never check a type that is potentially smaller
 
1922
     # than half of the expected target width.
 
1923
     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
 
1924
         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 
1925
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1926
/* end confdefs.h.  */
 
1927
$ac_includes_default
 
1928
int
 
1929
main ()
 
1930
{
 
1931
static int test_array @<:@1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)@:>@;
 
1932
test_array @<:@0@:>@ = 0;
 
1933
return test_array @<:@0@:>@;
 
1934
 
 
1935
  ;
 
1936
  return 0;
 
1937
}
 
1938
_ACEOF
 
1939
if ac_fn_c_try_compile "$LINENO"; then :
 
1940
  case $ac_type in @%:@(
 
1941
  uint$2_t) :
 
1942
    eval "$3=yes" ;; @%:@(
 
1943
  *) :
 
1944
    eval "$3=\$ac_type" ;;
 
1945
esac
 
1946
fi
 
1947
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1948
       if eval test \"x\$"$3"\" = x"no"; then :
 
1949
  
 
1950
else
 
1951
  break
 
1952
fi
 
1953
     done
 
1954
fi
 
1955
eval ac_res=\$$3
 
1956
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1957
$as_echo "$ac_res" >&6; }
 
1958
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1959
 
 
1960
} @%:@ ac_fn_c_find_uintX_t
 
1961
cat >config.log <<_ACEOF
 
1962
This file contains any messages produced by compilers while
 
1963
running configure, to aid debugging if configure makes a mistake.
 
1964
 
 
1965
It was created by libwaveplot $as_me 1.0, which was
 
1966
generated by GNU Autoconf 2.69.  Invocation command line was
 
1967
 
 
1968
  $ $0 $@
 
1969
 
 
1970
_ACEOF
 
1971
exec 5>>config.log
 
1972
{
 
1973
cat <<_ASUNAME
 
1974
## --------- ##
 
1975
## Platform. ##
 
1976
## --------- ##
 
1977
 
 
1978
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1979
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1980
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1981
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1982
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1983
 
 
1984
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1985
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1986
 
 
1987
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1988
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1989
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1990
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1991
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1992
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1993
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1994
 
 
1995
_ASUNAME
 
1996
 
 
1997
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1998
for as_dir in $PATH
 
1999
do
 
2000
  IFS=$as_save_IFS
 
2001
  test -z "$as_dir" && as_dir=.
 
2002
    $as_echo "PATH: $as_dir"
 
2003
  done
 
2004
IFS=$as_save_IFS
 
2005
 
 
2006
} >&5
 
2007
 
 
2008
cat >&5 <<_ACEOF
 
2009
 
 
2010
 
 
2011
## ----------- ##
 
2012
## Core tests. ##
 
2013
## ----------- ##
 
2014
 
 
2015
_ACEOF
 
2016
 
 
2017
 
 
2018
# Keep a trace of the command line.
 
2019
# Strip out --no-create and --no-recursion so they do not pile up.
 
2020
# Strip out --silent because we don't want to record it for future runs.
 
2021
# Also quote any args containing shell meta-characters.
 
2022
# Make two passes to allow for proper duplicate-argument suppression.
 
2023
ac_configure_args=
 
2024
ac_configure_args0=
 
2025
ac_configure_args1=
 
2026
ac_must_keep_next=false
 
2027
for ac_pass in 1 2
 
2028
do
 
2029
  for ac_arg
 
2030
  do
 
2031
    case $ac_arg in
 
2032
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2033
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2034
    | -silent | --silent | --silen | --sile | --sil)
 
2035
      continue ;;
 
2036
    *\'*)
 
2037
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2038
    esac
 
2039
    case $ac_pass in
 
2040
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2041
    2)
 
2042
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2043
      if test $ac_must_keep_next = true; then
 
2044
        ac_must_keep_next=false # Got value, back to normal.
 
2045
      else
 
2046
        case $ac_arg in
 
2047
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2048
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2049
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2050
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2051
            case "$ac_configure_args0 " in
 
2052
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2053
            esac
 
2054
            ;;
 
2055
          -* ) ac_must_keep_next=true ;;
 
2056
        esac
 
2057
      fi
 
2058
      as_fn_append ac_configure_args " '$ac_arg'"
 
2059
      ;;
 
2060
    esac
 
2061
  done
 
2062
done
 
2063
{ ac_configure_args0=; unset ac_configure_args0;}
 
2064
{ ac_configure_args1=; unset ac_configure_args1;}
 
2065
 
 
2066
# When interrupted or exit'd, cleanup temporary files, and complete
 
2067
# config.log.  We remove comments because anyway the quotes in there
 
2068
# would cause problems or look ugly.
 
2069
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2070
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2071
trap 'exit_status=$?
 
2072
  # Save into config.log some information that might help in debugging.
 
2073
  {
 
2074
    echo
 
2075
 
 
2076
    $as_echo "## ---------------- ##
 
2077
## Cache variables. ##
 
2078
## ---------------- ##"
 
2079
    echo
 
2080
    # The following way of writing the cache mishandles newlines in values,
 
2081
(
 
2082
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2083
    eval ac_val=\$$ac_var
 
2084
    case $ac_val in #(
 
2085
    *${as_nl}*)
 
2086
      case $ac_var in #(
 
2087
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2088
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2089
      esac
 
2090
      case $ac_var in #(
 
2091
      _ | IFS | as_nl) ;; #(
 
2092
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2093
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2094
      esac ;;
 
2095
    esac
 
2096
  done
 
2097
  (set) 2>&1 |
 
2098
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2099
    *${as_nl}ac_space=\ *)
 
2100
      sed -n \
 
2101
        "s/'\''/'\''\\\\'\'''\''/g;
 
2102
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2103
      ;; #(
 
2104
    *)
 
2105
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2106
      ;;
 
2107
    esac |
 
2108
    sort
 
2109
)
 
2110
    echo
 
2111
 
 
2112
    $as_echo "## ----------------- ##
 
2113
## Output variables. ##
 
2114
## ----------------- ##"
 
2115
    echo
 
2116
    for ac_var in $ac_subst_vars
 
2117
    do
 
2118
      eval ac_val=\$$ac_var
 
2119
      case $ac_val in
 
2120
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2121
      esac
 
2122
      $as_echo "$ac_var='\''$ac_val'\''"
 
2123
    done | sort
 
2124
    echo
 
2125
 
 
2126
    if test -n "$ac_subst_files"; then
 
2127
      $as_echo "## ------------------- ##
 
2128
## File substitutions. ##
 
2129
## ------------------- ##"
 
2130
      echo
 
2131
      for ac_var in $ac_subst_files
 
2132
      do
 
2133
        eval ac_val=\$$ac_var
 
2134
        case $ac_val in
 
2135
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2136
        esac
 
2137
        $as_echo "$ac_var='\''$ac_val'\''"
 
2138
      done | sort
 
2139
      echo
 
2140
    fi
 
2141
 
 
2142
    if test -s confdefs.h; then
 
2143
      $as_echo "## ----------- ##
 
2144
## confdefs.h. ##
 
2145
## ----------- ##"
 
2146
      echo
 
2147
      cat confdefs.h
 
2148
      echo
 
2149
    fi
 
2150
    test "$ac_signal" != 0 &&
 
2151
      $as_echo "$as_me: caught signal $ac_signal"
 
2152
    $as_echo "$as_me: exit $exit_status"
 
2153
  } >&5
 
2154
  rm -f core *.core core.conftest.* &&
 
2155
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2156
    exit $exit_status
 
2157
' 0
 
2158
for ac_signal in 1 2 13 15; do
 
2159
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2160
done
 
2161
ac_signal=0
 
2162
 
 
2163
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2164
rm -f -r conftest* confdefs.h
 
2165
 
 
2166
$as_echo "/* confdefs.h */" > confdefs.h
 
2167
 
 
2168
# Predefined preprocessor variables.
 
2169
 
 
2170
cat >>confdefs.h <<_ACEOF
 
2171
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
 
2172
_ACEOF
 
2173
 
 
2174
cat >>confdefs.h <<_ACEOF
 
2175
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2176
_ACEOF
 
2177
 
 
2178
cat >>confdefs.h <<_ACEOF
 
2179
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2180
_ACEOF
 
2181
 
 
2182
cat >>confdefs.h <<_ACEOF
 
2183
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
 
2184
_ACEOF
 
2185
 
 
2186
cat >>confdefs.h <<_ACEOF
 
2187
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2188
_ACEOF
 
2189
 
 
2190
cat >>confdefs.h <<_ACEOF
 
2191
@%:@define PACKAGE_URL "$PACKAGE_URL"
 
2192
_ACEOF
 
2193
 
 
2194
 
 
2195
# Let the site file select an alternate cache file if it wants to.
 
2196
# Prefer an explicitly selected file to automatically selected ones.
 
2197
ac_site_file1=NONE
 
2198
ac_site_file2=NONE
 
2199
if test -n "$CONFIG_SITE"; then
 
2200
  # We do not want a PATH search for config.site.
 
2201
  case $CONFIG_SITE in @%:@((
 
2202
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2203
    */*) ac_site_file1=$CONFIG_SITE;;
 
2204
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2205
  esac
 
2206
elif test "x$prefix" != xNONE; then
 
2207
  ac_site_file1=$prefix/share/config.site
 
2208
  ac_site_file2=$prefix/etc/config.site
 
2209
else
 
2210
  ac_site_file1=$ac_default_prefix/share/config.site
 
2211
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2212
fi
 
2213
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2214
do
 
2215
  test "x$ac_site_file" = xNONE && continue
 
2216
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2217
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2218
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2219
    sed 's/^/| /' "$ac_site_file" >&5
 
2220
    . "$ac_site_file" \
 
2221
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2222
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2223
as_fn_error $? "failed to load site script $ac_site_file
 
2224
See \`config.log' for more details" "$LINENO" 5; }
 
2225
  fi
 
2226
done
 
2227
 
 
2228
if test -r "$cache_file"; then
 
2229
  # Some versions of bash will fail to source /dev/null (special files
 
2230
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2231
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2232
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2233
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2234
    case $cache_file in
 
2235
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2236
      *)                      . "./$cache_file";;
 
2237
    esac
 
2238
  fi
 
2239
else
 
2240
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2241
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2242
  >$cache_file
 
2243
fi
 
2244
 
 
2245
# Check that the precious variables saved in the cache have kept the same
 
2246
# value.
 
2247
ac_cache_corrupted=false
 
2248
for ac_var in $ac_precious_vars; do
 
2249
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2250
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2251
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2252
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2253
  case $ac_old_set,$ac_new_set in
 
2254
    set,)
 
2255
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2256
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2257
      ac_cache_corrupted=: ;;
 
2258
    ,set)
 
2259
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2260
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2261
      ac_cache_corrupted=: ;;
 
2262
    ,);;
 
2263
    *)
 
2264
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2265
        # differences in whitespace do not lead to failure.
 
2266
        ac_old_val_w=`echo x $ac_old_val`
 
2267
        ac_new_val_w=`echo x $ac_new_val`
 
2268
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2269
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2270
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2271
          ac_cache_corrupted=:
 
2272
        else
 
2273
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2274
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2275
          eval $ac_var=\$ac_old_val
 
2276
        fi
 
2277
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2278
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2279
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2280
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2281
      fi;;
 
2282
  esac
 
2283
  # Pass precious variables to config.status.
 
2284
  if test "$ac_new_set" = set; then
 
2285
    case $ac_new_val in
 
2286
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2287
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2288
    esac
 
2289
    case " $ac_configure_args " in
 
2290
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2291
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2292
    esac
 
2293
  fi
 
2294
done
 
2295
if $ac_cache_corrupted; then
 
2296
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2297
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2298
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2299
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2300
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2301
fi
 
2302
## -------------------- ##
 
2303
## Main body of script. ##
 
2304
## -------------------- ##
 
2305
 
 
2306
ac_ext=c
 
2307
ac_cpp='$CPP $CPPFLAGS'
 
2308
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2309
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2310
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2311
 
 
2312
 
 
2313
 
 
2314
 
 
2315
am__api_version='1.14'
 
2316
 
 
2317
ac_aux_dir=
 
2318
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2319
  if test -f "$ac_dir/install-sh"; then
 
2320
    ac_aux_dir=$ac_dir
 
2321
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2322
    break
 
2323
  elif test -f "$ac_dir/install.sh"; then
 
2324
    ac_aux_dir=$ac_dir
 
2325
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2326
    break
 
2327
  elif test -f "$ac_dir/shtool"; then
 
2328
    ac_aux_dir=$ac_dir
 
2329
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2330
    break
 
2331
  fi
 
2332
done
 
2333
if test -z "$ac_aux_dir"; then
 
2334
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2335
fi
 
2336
 
 
2337
# These three variables are undocumented and unsupported,
 
2338
# and are intended to be withdrawn in a future Autoconf release.
 
2339
# They can cause serious problems if a builder's source tree is in a directory
 
2340
# whose full name contains unusual characters.
 
2341
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2342
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2343
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2344
 
 
2345
 
 
2346
# Find a good install program.  We prefer a C program (faster),
 
2347
# so one script is as good as another.  But avoid the broken or
 
2348
# incompatible versions:
 
2349
# SysV /etc/install, /usr/sbin/install
 
2350
# SunOS /usr/etc/install
 
2351
# IRIX /sbin/install
 
2352
# AIX /bin/install
 
2353
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2354
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2355
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2356
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2357
# OS/2's system install, which has a completely different semantic
 
2358
# ./install, which can be erroneously created by make from ./install.sh.
 
2359
# Reject install programs that cannot install multiple files.
 
2360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2361
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2362
if test -z "$INSTALL"; then
 
2363
if ${ac_cv_path_install+:} false; then :
 
2364
  $as_echo_n "(cached) " >&6
 
2365
else
 
2366
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2367
for as_dir in $PATH
 
2368
do
 
2369
  IFS=$as_save_IFS
 
2370
  test -z "$as_dir" && as_dir=.
 
2371
    # Account for people who put trailing slashes in PATH elements.
 
2372
case $as_dir/ in @%:@((
 
2373
  ./ | .// | /[cC]/* | \
 
2374
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2375
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2376
  /usr/ucb/* ) ;;
 
2377
  *)
 
2378
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2379
    # Don't use installbsd from OSF since it installs stuff as root
 
2380
    # by default.
 
2381
    for ac_prog in ginstall scoinst install; do
 
2382
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2383
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2384
          if test $ac_prog = install &&
 
2385
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2386
            # AIX install.  It has an incompatible calling convention.
 
2387
            :
 
2388
          elif test $ac_prog = install &&
 
2389
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2390
            # program-specific install script used by HP pwplus--don't use.
 
2391
            :
 
2392
          else
 
2393
            rm -rf conftest.one conftest.two conftest.dir
 
2394
            echo one > conftest.one
 
2395
            echo two > conftest.two
 
2396
            mkdir conftest.dir
 
2397
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2398
              test -s conftest.one && test -s conftest.two &&
 
2399
              test -s conftest.dir/conftest.one &&
 
2400
              test -s conftest.dir/conftest.two
 
2401
            then
 
2402
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2403
              break 3
 
2404
            fi
 
2405
          fi
 
2406
        fi
 
2407
      done
 
2408
    done
 
2409
    ;;
 
2410
esac
 
2411
 
 
2412
  done
 
2413
IFS=$as_save_IFS
 
2414
 
 
2415
rm -rf conftest.one conftest.two conftest.dir
 
2416
 
 
2417
fi
 
2418
  if test "${ac_cv_path_install+set}" = set; then
 
2419
    INSTALL=$ac_cv_path_install
 
2420
  else
 
2421
    # As a last resort, use the slow shell script.  Don't cache a
 
2422
    # value for INSTALL within a source directory, because that will
 
2423
    # break other packages using the cache if that directory is
 
2424
    # removed, or if the value is a relative name.
 
2425
    INSTALL=$ac_install_sh
 
2426
  fi
 
2427
fi
 
2428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2429
$as_echo "$INSTALL" >&6; }
 
2430
 
 
2431
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2432
# It thinks the first close brace ends the variable substitution.
 
2433
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2434
 
 
2435
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2436
 
 
2437
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2438
 
 
2439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2440
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2441
# Reject unsafe characters in $srcdir or the absolute working directory
 
2442
# name.  Accept space and tab only in the latter.
 
2443
am_lf='
 
2444
'
 
2445
case `pwd` in
 
2446
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2447
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2448
esac
 
2449
case $srcdir in
 
2450
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2451
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 
2452
esac
 
2453
 
 
2454
# Do 'set' in a subshell so we don't clobber the current shell's
 
2455
# arguments.  Must try -L first in case configure is actually a
 
2456
# symlink; some systems play weird games with the mod time of symlinks
 
2457
# (eg FreeBSD returns the mod time of the symlink's containing
 
2458
# directory).
 
2459
if (
 
2460
   am_has_slept=no
 
2461
   for am_try in 1 2; do
 
2462
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
2463
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2464
     if test "$*" = "X"; then
 
2465
        # -L didn't work.
 
2466
        set X `ls -t "$srcdir/configure" conftest.file`
 
2467
     fi
 
2468
     if test "$*" != "X $srcdir/configure conftest.file" \
 
2469
        && test "$*" != "X conftest.file $srcdir/configure"; then
 
2470
 
 
2471
        # If neither matched, then we have a broken ls.  This can happen
 
2472
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2473
        # broken ls alias from the environment.  This has actually
 
2474
        # happened.  Such a system could not be considered "sane".
 
2475
        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2476
  alias in your environment" "$LINENO" 5
 
2477
     fi
 
2478
     if test "$2" = conftest.file || test $am_try -eq 2; then
 
2479
       break
 
2480
     fi
 
2481
     # Just in case.
 
2482
     sleep 1
 
2483
     am_has_slept=yes
 
2484
   done
 
2485
   test "$2" = conftest.file
 
2486
   )
 
2487
then
 
2488
   # Ok.
 
2489
   :
 
2490
else
 
2491
   as_fn_error $? "newly created file is older than distributed files!
 
2492
Check your system clock" "$LINENO" 5
 
2493
fi
 
2494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2495
$as_echo "yes" >&6; }
 
2496
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
2497
# generated files are strictly newer.
 
2498
am_sleep_pid=
 
2499
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
2500
  ( sleep 1 ) &
 
2501
  am_sleep_pid=$!
 
2502
fi
 
2503
 
 
2504
rm -f conftest.file
 
2505
 
 
2506
test "$program_prefix" != NONE &&
 
2507
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2508
# Use a double $ so make ignores it.
 
2509
test "$program_suffix" != NONE &&
 
2510
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2511
# Double any \ or $.
 
2512
# By default was `s,x,x', remove it if useless.
 
2513
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2514
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2515
 
 
2516
# expand $ac_aux_dir to an absolute path
 
2517
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2518
 
 
2519
if test x"${MISSING+set}" != xset; then
 
2520
  case $am_aux_dir in
 
2521
  *\ * | *\     *)
 
2522
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2523
  *)
 
2524
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2525
  esac
 
2526
fi
 
2527
# Use eval to expand $SHELL
 
2528
if eval "$MISSING --is-lightweight"; then
 
2529
  am_missing_run="$MISSING "
 
2530
else
 
2531
  am_missing_run=
 
2532
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 
2533
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 
2534
fi
 
2535
 
 
2536
if test x"${install_sh}" != xset; then
 
2537
  case $am_aux_dir in
 
2538
  *\ * | *\     *)
 
2539
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2540
  *)
 
2541
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2542
  esac
 
2543
fi
 
2544
 
 
2545
# Installed binaries are usually stripped using 'strip' when the user
 
2546
# run "make install-strip".  However 'strip' might not be the right
 
2547
# tool to use in cross-compilation environments, therefore Automake
 
2548
# will honor the 'STRIP' environment variable to overrule this program.
 
2549
if test "$cross_compiling" != no; then
 
2550
  if test -n "$ac_tool_prefix"; then
 
2551
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2552
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2554
$as_echo_n "checking for $ac_word... " >&6; }
 
2555
if ${ac_cv_prog_STRIP+:} false; then :
 
2556
  $as_echo_n "(cached) " >&6
 
2557
else
 
2558
  if test -n "$STRIP"; then
 
2559
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2560
else
 
2561
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2562
for as_dir in $PATH
 
2563
do
 
2564
  IFS=$as_save_IFS
 
2565
  test -z "$as_dir" && as_dir=.
 
2566
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2567
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2568
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2569
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2570
    break 2
 
2571
  fi
 
2572
done
 
2573
  done
 
2574
IFS=$as_save_IFS
 
2575
 
 
2576
fi
 
2577
fi
 
2578
STRIP=$ac_cv_prog_STRIP
 
2579
if test -n "$STRIP"; then
 
2580
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2581
$as_echo "$STRIP" >&6; }
 
2582
else
 
2583
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2584
$as_echo "no" >&6; }
 
2585
fi
 
2586
 
 
2587
 
 
2588
fi
 
2589
if test -z "$ac_cv_prog_STRIP"; then
 
2590
  ac_ct_STRIP=$STRIP
 
2591
  # Extract the first word of "strip", so it can be a program name with args.
 
2592
set dummy strip; ac_word=$2
 
2593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2594
$as_echo_n "checking for $ac_word... " >&6; }
 
2595
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2596
  $as_echo_n "(cached) " >&6
 
2597
else
 
2598
  if test -n "$ac_ct_STRIP"; then
 
2599
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2600
else
 
2601
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2602
for as_dir in $PATH
 
2603
do
 
2604
  IFS=$as_save_IFS
 
2605
  test -z "$as_dir" && as_dir=.
 
2606
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2607
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2608
    ac_cv_prog_ac_ct_STRIP="strip"
 
2609
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2610
    break 2
 
2611
  fi
 
2612
done
 
2613
  done
 
2614
IFS=$as_save_IFS
 
2615
 
 
2616
fi
 
2617
fi
 
2618
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2619
if test -n "$ac_ct_STRIP"; then
 
2620
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2621
$as_echo "$ac_ct_STRIP" >&6; }
 
2622
else
 
2623
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2624
$as_echo "no" >&6; }
 
2625
fi
 
2626
 
 
2627
  if test "x$ac_ct_STRIP" = x; then
 
2628
    STRIP=":"
 
2629
  else
 
2630
    case $cross_compiling:$ac_tool_warned in
 
2631
yes:)
 
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2633
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2634
ac_tool_warned=yes ;;
 
2635
esac
 
2636
    STRIP=$ac_ct_STRIP
 
2637
  fi
 
2638
else
 
2639
  STRIP="$ac_cv_prog_STRIP"
 
2640
fi
 
2641
 
 
2642
fi
 
2643
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2644
 
 
2645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2646
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2647
if test -z "$MKDIR_P"; then
 
2648
  if ${ac_cv_path_mkdir+:} false; then :
 
2649
  $as_echo_n "(cached) " >&6
 
2650
else
 
2651
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2652
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2653
do
 
2654
  IFS=$as_save_IFS
 
2655
  test -z "$as_dir" && as_dir=.
 
2656
    for ac_prog in mkdir gmkdir; do
 
2657
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2658
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 
2659
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2660
             'mkdir (GNU coreutils) '* | \
 
2661
             'mkdir (coreutils) '* | \
 
2662
             'mkdir (fileutils) '4.1*)
 
2663
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2664
               break 3;;
 
2665
           esac
 
2666
         done
 
2667
       done
 
2668
  done
 
2669
IFS=$as_save_IFS
 
2670
 
 
2671
fi
 
2672
 
 
2673
  test -d ./--version && rmdir ./--version
 
2674
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2675
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2676
  else
 
2677
    # As a last resort, use the slow shell script.  Don't cache a
 
2678
    # value for MKDIR_P within a source directory, because that will
 
2679
    # break other packages using the cache if that directory is
 
2680
    # removed, or if the value is a relative name.
 
2681
    MKDIR_P="$ac_install_sh -d"
 
2682
  fi
 
2683
fi
 
2684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2685
$as_echo "$MKDIR_P" >&6; }
 
2686
 
 
2687
for ac_prog in gawk mawk nawk awk
 
2688
do
 
2689
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2690
set dummy $ac_prog; ac_word=$2
 
2691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2692
$as_echo_n "checking for $ac_word... " >&6; }
 
2693
if ${ac_cv_prog_AWK+:} false; then :
 
2694
  $as_echo_n "(cached) " >&6
 
2695
else
 
2696
  if test -n "$AWK"; then
 
2697
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2698
else
 
2699
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2700
for as_dir in $PATH
 
2701
do
 
2702
  IFS=$as_save_IFS
 
2703
  test -z "$as_dir" && as_dir=.
 
2704
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2705
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2706
    ac_cv_prog_AWK="$ac_prog"
 
2707
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2708
    break 2
 
2709
  fi
 
2710
done
 
2711
  done
 
2712
IFS=$as_save_IFS
 
2713
 
 
2714
fi
 
2715
fi
 
2716
AWK=$ac_cv_prog_AWK
 
2717
if test -n "$AWK"; then
 
2718
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2719
$as_echo "$AWK" >&6; }
 
2720
else
 
2721
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2722
$as_echo "no" >&6; }
 
2723
fi
 
2724
 
 
2725
 
 
2726
  test -n "$AWK" && break
 
2727
done
 
2728
 
 
2729
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2730
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2731
set x ${MAKE-make}
 
2732
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2733
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2734
  $as_echo_n "(cached) " >&6
 
2735
else
 
2736
  cat >conftest.make <<\_ACEOF
 
2737
SHELL = /bin/sh
 
2738
all:
 
2739
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2740
_ACEOF
 
2741
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2742
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2743
  *@@@%%%=?*=@@@%%%*)
 
2744
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2745
  *)
 
2746
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2747
esac
 
2748
rm -f conftest.make
 
2749
fi
 
2750
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2752
$as_echo "yes" >&6; }
 
2753
  SET_MAKE=
 
2754
else
 
2755
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2756
$as_echo "no" >&6; }
 
2757
  SET_MAKE="MAKE=${MAKE-make}"
 
2758
fi
 
2759
 
 
2760
rm -rf .tst 2>/dev/null
 
2761
mkdir .tst 2>/dev/null
 
2762
if test -d .tst; then
 
2763
  am__leading_dot=.
 
2764
else
 
2765
  am__leading_dot=_
 
2766
fi
 
2767
rmdir .tst 2>/dev/null
 
2768
 
 
2769
@%:@ Check whether --enable-silent-rules was given.
 
2770
if test "${enable_silent_rules+set}" = set; then :
 
2771
  enableval=$enable_silent_rules; 
 
2772
fi
 
2773
 
 
2774
case $enable_silent_rules in @%:@ (((
 
2775
  yes) AM_DEFAULT_VERBOSITY=0;;
 
2776
   no) AM_DEFAULT_VERBOSITY=1;;
 
2777
    *) AM_DEFAULT_VERBOSITY=1;;
 
2778
esac
 
2779
am_make=${MAKE-make}
 
2780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
2781
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
2782
if ${am_cv_make_support_nested_variables+:} false; then :
 
2783
  $as_echo_n "(cached) " >&6
 
2784
else
 
2785
  if $as_echo 'TRUE=$(BAR$(V))
 
2786
BAR0=false
 
2787
BAR1=true
 
2788
V=1
 
2789
am__doit:
 
2790
        @$(TRUE)
 
2791
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
2792
  am_cv_make_support_nested_variables=yes
 
2793
else
 
2794
  am_cv_make_support_nested_variables=no
 
2795
fi
 
2796
fi
 
2797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
2798
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
2799
if test $am_cv_make_support_nested_variables = yes; then
 
2800
    AM_V='$(V)'
 
2801
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
2802
else
 
2803
  AM_V=$AM_DEFAULT_VERBOSITY
 
2804
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
2805
fi
 
2806
AM_BACKSLASH='\'
 
2807
 
 
2808
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2809
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2810
  # is not polluted with repeated "-I."
 
2811
  am__isrc=' -I$(srcdir)'
 
2812
  # test to see if srcdir already configured
 
2813
  if test -f $srcdir/config.status; then
 
2814
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2815
  fi
 
2816
fi
 
2817
 
 
2818
# test whether we have cygpath
 
2819
if test -z "$CYGPATH_W"; then
 
2820
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2821
    CYGPATH_W='cygpath -w'
 
2822
  else
 
2823
    CYGPATH_W=echo
 
2824
  fi
 
2825
fi
 
2826
 
 
2827
 
 
2828
# Define the identity of the package.
 
2829
 PACKAGE='libwaveplot'
 
2830
 VERSION='1.0'
 
2831
 
 
2832
 
 
2833
cat >>confdefs.h <<_ACEOF
 
2834
@%:@define PACKAGE "$PACKAGE"
 
2835
_ACEOF
 
2836
 
 
2837
 
 
2838
cat >>confdefs.h <<_ACEOF
 
2839
@%:@define VERSION "$VERSION"
 
2840
_ACEOF
 
2841
 
 
2842
# Some tools Automake needs.
 
2843
 
 
2844
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2845
 
 
2846
 
 
2847
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2848
 
 
2849
 
 
2850
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2851
 
 
2852
 
 
2853
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2854
 
 
2855
 
 
2856
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2857
 
 
2858
# For better backward compatibility.  To be removed once Automake 1.9.x
 
2859
# dies out for good.  For more background, see:
 
2860
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 
2861
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 
2862
mkdir_p='$(MKDIR_P)'
 
2863
 
 
2864
# We need awk for the "check" target.  The system "awk" is bad on
 
2865
# some platforms.
 
2866
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
2867
# in the wild :-(  We should find a proper way to deprecate it ...
 
2868
AMTAR='$${TAR-tar}'
 
2869
 
 
2870
 
 
2871
# We'll loop over all known methods to create a tar archive until one works.
 
2872
_am_tools='gnutar  pax cpio none'
 
2873
 
 
2874
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
2875
 
 
2876
 
 
2877
 
 
2878
 
 
2879
 
 
2880
 
 
2881
# POSIX will say in a future version that running "rm -f" with no argument
 
2882
# is OK; and we want to be able to make that assumption in our Makefile
 
2883
# recipes.  So use an aggressive probe to check that the usage we want is
 
2884
# actually supported "in the wild" to an acceptable degree.
 
2885
# See automake bug#10828.
 
2886
# To make any issue more visible, cause the running configure to be aborted
 
2887
# by default if the 'rm' program in use doesn't match our expectations; the
 
2888
# user can still override this though.
 
2889
if rm -f && rm -fr && rm -rf; then : OK; else
 
2890
  cat >&2 <<'END'
 
2891
Oops!
 
2892
 
 
2893
Your 'rm' program seems unable to run without file operands specified
 
2894
on the command line, even when the '-f' option is present.  This is contrary
 
2895
to the behaviour of most rm programs out there, and not conforming with
 
2896
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 
2897
 
 
2898
Please tell bug-automake@gnu.org about your system, including the value
 
2899
of your $PATH and any error possibly output before this message.  This
 
2900
can help us improve future automake versions.
 
2901
 
 
2902
END
 
2903
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 
2904
    echo 'Configuration will proceed anyway, since you have set the' >&2
 
2905
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 
2906
    echo >&2
 
2907
  else
 
2908
    cat >&2 <<'END'
 
2909
Aborting the configuration process, to ensure you take notice of the issue.
 
2910
 
 
2911
You can download and install GNU coreutils to get an 'rm' implementation
 
2912
that behaves properly: <http://www.gnu.org/software/coreutils/>.
 
2913
 
 
2914
If you want to complete the configuration process using your problematic
 
2915
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 
2916
to "yes", and re-run configure.
 
2917
 
 
2918
END
 
2919
    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 
2920
  fi
 
2921
fi
 
2922
case `pwd` in
 
2923
  *\ * | *\     *)
 
2924
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
2925
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
2926
esac
 
2927
 
 
2928
 
 
2929
 
 
2930
macro_version='2.4.2'
 
2931
macro_revision='1.3337'
 
2932
 
 
2933
    
 
2934
    
 
2935
    
 
2936
 
 
2937
 
 
2938
    
 
2939
    
 
2940
    
 
2941
 
 
2942
 
 
2943
 
 
2944
 
 
2945
ltmain="$ac_aux_dir/ltmain.sh"
 
2946
 
 
2947
# Make sure we can run config.sub.
 
2948
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2949
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2950
 
 
2951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2952
$as_echo_n "checking build system type... " >&6; }
 
2953
if ${ac_cv_build+:} false; then :
 
2954
  $as_echo_n "(cached) " >&6
 
2955
else
 
2956
  ac_build_alias=$build_alias
 
2957
test "x$ac_build_alias" = x &&
 
2958
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2959
test "x$ac_build_alias" = x &&
 
2960
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
2961
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2962
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2963
 
 
2964
fi
 
2965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2966
$as_echo "$ac_cv_build" >&6; }
 
2967
case $ac_cv_build in
 
2968
*-*-*) ;;
 
2969
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
2970
esac
 
2971
build=$ac_cv_build
 
2972
ac_save_IFS=$IFS; IFS='-'
 
2973
set x $ac_cv_build
 
2974
shift
 
2975
build_cpu=$1
 
2976
build_vendor=$2
 
2977
shift; shift
 
2978
# Remember, the first character of IFS is used to create $*,
 
2979
# except with old shells:
 
2980
build_os=$*
 
2981
IFS=$ac_save_IFS
 
2982
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2983
 
 
2984
 
 
2985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2986
$as_echo_n "checking host system type... " >&6; }
 
2987
if ${ac_cv_host+:} false; then :
 
2988
  $as_echo_n "(cached) " >&6
 
2989
else
 
2990
  if test "x$host_alias" = x; then
 
2991
  ac_cv_host=$ac_cv_build
 
2992
else
 
2993
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2994
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2995
fi
 
2996
 
 
2997
fi
 
2998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2999
$as_echo "$ac_cv_host" >&6; }
 
3000
case $ac_cv_host in
 
3001
*-*-*) ;;
 
3002
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
3003
esac
 
3004
host=$ac_cv_host
 
3005
ac_save_IFS=$IFS; IFS='-'
 
3006
set x $ac_cv_host
 
3007
shift
 
3008
host_cpu=$1
 
3009
host_vendor=$2
 
3010
shift; shift
 
3011
# Remember, the first character of IFS is used to create $*,
 
3012
# except with old shells:
 
3013
host_os=$*
 
3014
IFS=$ac_save_IFS
 
3015
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3016
 
 
3017
 
 
3018
# Backslashify metacharacters that are still active within
 
3019
# double-quoted strings.
 
3020
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
3021
 
 
3022
# Same as above, but do not quote variable references.
 
3023
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
3024
 
 
3025
# Sed substitution to delay expansion of an escaped shell variable in a
 
3026
# double_quote_subst'ed string.
 
3027
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
3028
 
 
3029
# Sed substitution to delay expansion of an escaped single quote.
 
3030
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
3031
 
 
3032
# Sed substitution to avoid accidental globbing in evaled expressions
 
3033
no_glob_subst='s/\*/\\\*/g'
 
3034
 
 
3035
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
3036
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
3037
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
3038
 
 
3039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
3040
$as_echo_n "checking how to print strings... " >&6; }
 
3041
# Test print first, because it will be a builtin if present.
 
3042
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
3043
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3044
  ECHO='print -r --'
 
3045
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3046
  ECHO='printf %s\n'
 
3047
else
 
3048
  # Use this function as a fallback that always works.
 
3049
  func_fallback_echo ()
 
3050
  {
 
3051
    eval 'cat <<_LTECHO_EOF
 
3052
$1
 
3053
_LTECHO_EOF'
 
3054
  }
 
3055
  ECHO='func_fallback_echo'
 
3056
fi
 
3057
 
 
3058
# func_echo_all arg...
 
3059
# Invoke $ECHO with all args, space-separated.
 
3060
func_echo_all ()
 
3061
{
 
3062
    $ECHO "" 
 
3063
}
 
3064
 
 
3065
case "$ECHO" in
 
3066
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
3067
$as_echo "printf" >&6; } ;;
 
3068
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
3069
$as_echo "print -r" >&6; } ;;
 
3070
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
3071
$as_echo "cat" >&6; } ;;
 
3072
esac
 
3073
 
 
3074
 
 
3075
 
 
3076
 
 
3077
    
 
3078
    
 
3079
    
 
3080
 
 
3081
 
 
3082
    
 
3083
    
 
3084
    
 
3085
 
 
3086
 
 
3087
DEPDIR="${am__leading_dot}deps"
 
3088
 
 
3089
ac_config_commands="$ac_config_commands depfiles"
 
3090
 
 
3091
 
 
3092
am_make=${MAKE-make}
 
3093
cat > confinc << 'END'
 
3094
am__doit:
 
3095
        @echo this is the am__doit target
 
3096
.PHONY: am__doit
 
3097
END
 
3098
# If we don't find an include directive, just comment out the code.
 
3099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3100
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3101
am__include="#"
 
3102
am__quote=
 
3103
_am_result=none
 
3104
# First try GNU make style include.
 
3105
echo "include confinc" > confmf
 
3106
# Ignore all kinds of additional output from 'make'.
 
3107
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3108
*the\ am__doit\ target*)
 
3109
  am__include=include
 
3110
  am__quote=
 
3111
  _am_result=GNU
 
3112
  ;;
 
3113
esac
 
3114
# Now try BSD make style include.
 
3115
if test "$am__include" = "#"; then
 
3116
   echo '.include "confinc"' > confmf
 
3117
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3118
   *the\ am__doit\ target*)
 
3119
     am__include=.include
 
3120
     am__quote="\""
 
3121
     _am_result=BSD
 
3122
     ;;
 
3123
   esac
 
3124
fi
 
3125
 
 
3126
 
 
3127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3128
$as_echo "$_am_result" >&6; }
 
3129
rm -f confinc confmf
 
3130
 
 
3131
@%:@ Check whether --enable-dependency-tracking was given.
 
3132
if test "${enable_dependency_tracking+set}" = set; then :
 
3133
  enableval=$enable_dependency_tracking; 
 
3134
fi
 
3135
 
 
3136
if test "x$enable_dependency_tracking" != xno; then
 
3137
  am_depcomp="$ac_aux_dir/depcomp"
 
3138
  AMDEPBACKSLASH='\'
 
3139
  am__nodep='_no'
 
3140
fi
 
3141
 if test "x$enable_dependency_tracking" != xno; then
 
3142
  AMDEP_TRUE=
 
3143
  AMDEP_FALSE='#'
 
3144
else
 
3145
  AMDEP_TRUE='#'
 
3146
  AMDEP_FALSE=
 
3147
fi
 
3148
 
 
3149
 
 
3150
ac_ext=c
 
3151
ac_cpp='$CPP $CPPFLAGS'
 
3152
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3153
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3154
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3155
if test -n "$ac_tool_prefix"; then
 
3156
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3157
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3159
$as_echo_n "checking for $ac_word... " >&6; }
 
3160
if ${ac_cv_prog_CC+:} false; then :
 
3161
  $as_echo_n "(cached) " >&6
 
3162
else
 
3163
  if test -n "$CC"; then
 
3164
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3165
else
 
3166
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3167
for as_dir in $PATH
 
3168
do
 
3169
  IFS=$as_save_IFS
 
3170
  test -z "$as_dir" && as_dir=.
 
3171
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3172
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3173
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3174
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3175
    break 2
 
3176
  fi
 
3177
done
 
3178
  done
 
3179
IFS=$as_save_IFS
 
3180
 
 
3181
fi
 
3182
fi
 
3183
CC=$ac_cv_prog_CC
 
3184
if test -n "$CC"; then
 
3185
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3186
$as_echo "$CC" >&6; }
 
3187
else
 
3188
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3189
$as_echo "no" >&6; }
 
3190
fi
 
3191
 
 
3192
 
 
3193
fi
 
3194
if test -z "$ac_cv_prog_CC"; then
 
3195
  ac_ct_CC=$CC
 
3196
  # Extract the first word of "gcc", so it can be a program name with args.
 
3197
set dummy gcc; ac_word=$2
 
3198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3199
$as_echo_n "checking for $ac_word... " >&6; }
 
3200
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3201
  $as_echo_n "(cached) " >&6
 
3202
else
 
3203
  if test -n "$ac_ct_CC"; then
 
3204
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3205
else
 
3206
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3207
for as_dir in $PATH
 
3208
do
 
3209
  IFS=$as_save_IFS
 
3210
  test -z "$as_dir" && as_dir=.
 
3211
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3212
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3213
    ac_cv_prog_ac_ct_CC="gcc"
 
3214
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3215
    break 2
 
3216
  fi
 
3217
done
 
3218
  done
 
3219
IFS=$as_save_IFS
 
3220
 
 
3221
fi
 
3222
fi
 
3223
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3224
if test -n "$ac_ct_CC"; then
 
3225
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3226
$as_echo "$ac_ct_CC" >&6; }
 
3227
else
 
3228
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3229
$as_echo "no" >&6; }
 
3230
fi
 
3231
 
 
3232
  if test "x$ac_ct_CC" = x; then
 
3233
    CC=""
 
3234
  else
 
3235
    case $cross_compiling:$ac_tool_warned in
 
3236
yes:)
 
3237
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3238
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3239
ac_tool_warned=yes ;;
 
3240
esac
 
3241
    CC=$ac_ct_CC
 
3242
  fi
 
3243
else
 
3244
  CC="$ac_cv_prog_CC"
 
3245
fi
 
3246
 
 
3247
if test -z "$CC"; then
 
3248
          if test -n "$ac_tool_prefix"; then
 
3249
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3250
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3252
$as_echo_n "checking for $ac_word... " >&6; }
 
3253
if ${ac_cv_prog_CC+:} false; then :
 
3254
  $as_echo_n "(cached) " >&6
 
3255
else
 
3256
  if test -n "$CC"; then
 
3257
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3258
else
 
3259
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3260
for as_dir in $PATH
 
3261
do
 
3262
  IFS=$as_save_IFS
 
3263
  test -z "$as_dir" && as_dir=.
 
3264
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3265
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3266
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3267
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3268
    break 2
 
3269
  fi
 
3270
done
 
3271
  done
 
3272
IFS=$as_save_IFS
 
3273
 
 
3274
fi
 
3275
fi
 
3276
CC=$ac_cv_prog_CC
 
3277
if test -n "$CC"; then
 
3278
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3279
$as_echo "$CC" >&6; }
 
3280
else
 
3281
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3282
$as_echo "no" >&6; }
 
3283
fi
 
3284
 
 
3285
 
 
3286
  fi
 
3287
fi
 
3288
if test -z "$CC"; then
 
3289
  # Extract the first word of "cc", so it can be a program name with args.
 
3290
set dummy cc; ac_word=$2
 
3291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3292
$as_echo_n "checking for $ac_word... " >&6; }
 
3293
if ${ac_cv_prog_CC+:} false; then :
 
3294
  $as_echo_n "(cached) " >&6
 
3295
else
 
3296
  if test -n "$CC"; then
 
3297
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3298
else
 
3299
  ac_prog_rejected=no
 
3300
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3301
for as_dir in $PATH
 
3302
do
 
3303
  IFS=$as_save_IFS
 
3304
  test -z "$as_dir" && as_dir=.
 
3305
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3306
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3307
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3308
       ac_prog_rejected=yes
 
3309
       continue
 
3310
     fi
 
3311
    ac_cv_prog_CC="cc"
 
3312
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3313
    break 2
 
3314
  fi
 
3315
done
 
3316
  done
 
3317
IFS=$as_save_IFS
 
3318
 
 
3319
if test $ac_prog_rejected = yes; then
 
3320
  # We found a bogon in the path, so make sure we never use it.
 
3321
  set dummy $ac_cv_prog_CC
 
3322
  shift
 
3323
  if test $@%:@ != 0; then
 
3324
    # We chose a different compiler from the bogus one.
 
3325
    # However, it has the same basename, so the bogon will be chosen
 
3326
    # first if we set CC to just the basename; use the full file name.
 
3327
    shift
 
3328
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3329
  fi
 
3330
fi
 
3331
fi
 
3332
fi
 
3333
CC=$ac_cv_prog_CC
 
3334
if test -n "$CC"; then
 
3335
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3336
$as_echo "$CC" >&6; }
 
3337
else
 
3338
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3339
$as_echo "no" >&6; }
 
3340
fi
 
3341
 
 
3342
 
 
3343
fi
 
3344
if test -z "$CC"; then
 
3345
  if test -n "$ac_tool_prefix"; then
 
3346
  for ac_prog in cl.exe
 
3347
  do
 
3348
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3349
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3351
$as_echo_n "checking for $ac_word... " >&6; }
 
3352
if ${ac_cv_prog_CC+:} false; then :
 
3353
  $as_echo_n "(cached) " >&6
 
3354
else
 
3355
  if test -n "$CC"; then
 
3356
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3357
else
 
3358
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3359
for as_dir in $PATH
 
3360
do
 
3361
  IFS=$as_save_IFS
 
3362
  test -z "$as_dir" && as_dir=.
 
3363
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3364
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3365
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3366
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3367
    break 2
 
3368
  fi
 
3369
done
 
3370
  done
 
3371
IFS=$as_save_IFS
 
3372
 
 
3373
fi
 
3374
fi
 
3375
CC=$ac_cv_prog_CC
 
3376
if test -n "$CC"; then
 
3377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3378
$as_echo "$CC" >&6; }
 
3379
else
 
3380
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3381
$as_echo "no" >&6; }
 
3382
fi
 
3383
 
 
3384
 
 
3385
    test -n "$CC" && break
 
3386
  done
 
3387
fi
 
3388
if test -z "$CC"; then
 
3389
  ac_ct_CC=$CC
 
3390
  for ac_prog in cl.exe
 
3391
do
 
3392
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3393
set dummy $ac_prog; ac_word=$2
 
3394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3395
$as_echo_n "checking for $ac_word... " >&6; }
 
3396
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3397
  $as_echo_n "(cached) " >&6
 
3398
else
 
3399
  if test -n "$ac_ct_CC"; then
 
3400
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3401
else
 
3402
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3403
for as_dir in $PATH
 
3404
do
 
3405
  IFS=$as_save_IFS
 
3406
  test -z "$as_dir" && as_dir=.
 
3407
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3408
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3409
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3410
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3411
    break 2
 
3412
  fi
 
3413
done
 
3414
  done
 
3415
IFS=$as_save_IFS
 
3416
 
 
3417
fi
 
3418
fi
 
3419
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3420
if test -n "$ac_ct_CC"; then
 
3421
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3422
$as_echo "$ac_ct_CC" >&6; }
 
3423
else
 
3424
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3425
$as_echo "no" >&6; }
 
3426
fi
 
3427
 
 
3428
 
 
3429
  test -n "$ac_ct_CC" && break
 
3430
done
 
3431
 
 
3432
  if test "x$ac_ct_CC" = x; then
 
3433
    CC=""
 
3434
  else
 
3435
    case $cross_compiling:$ac_tool_warned in
 
3436
yes:)
 
3437
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3438
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3439
ac_tool_warned=yes ;;
 
3440
esac
 
3441
    CC=$ac_ct_CC
 
3442
  fi
 
3443
fi
 
3444
 
 
3445
fi
 
3446
 
 
3447
 
 
3448
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3449
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3450
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3451
See \`config.log' for more details" "$LINENO" 5; }
 
3452
 
 
3453
# Provide some information about the compiler.
 
3454
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3455
set X $ac_compile
 
3456
ac_compiler=$2
 
3457
for ac_option in --version -v -V -qversion; do
 
3458
  { { ac_try="$ac_compiler $ac_option >&5"
 
3459
case "(($ac_try" in
 
3460
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3461
  *) ac_try_echo=$ac_try;;
 
3462
esac
 
3463
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3464
$as_echo "$ac_try_echo"; } >&5
 
3465
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3466
  ac_status=$?
 
3467
  if test -s conftest.err; then
 
3468
    sed '10a\
 
3469
... rest of stderr output deleted ...
 
3470
         10q' conftest.err >conftest.er1
 
3471
    cat conftest.er1 >&5
 
3472
  fi
 
3473
  rm -f conftest.er1 conftest.err
 
3474
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3475
  test $ac_status = 0; }
 
3476
done
 
3477
 
 
3478
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3479
/* end confdefs.h.  */
 
3480
 
 
3481
int
 
3482
main ()
 
3483
{
 
3484
 
 
3485
  ;
 
3486
  return 0;
 
3487
}
 
3488
_ACEOF
 
3489
ac_clean_files_save=$ac_clean_files
 
3490
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3491
# Try to create an executable without -o first, disregard a.out.
 
3492
# It will help us diagnose broken compilers, and finding out an intuition
 
3493
# of exeext.
 
3494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3495
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3496
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3497
 
 
3498
# The possible output files:
 
3499
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3500
 
 
3501
ac_rmfiles=
 
3502
for ac_file in $ac_files
 
3503
do
 
3504
  case $ac_file in
 
3505
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3506
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3507
  esac
 
3508
done
 
3509
rm -f $ac_rmfiles
 
3510
 
 
3511
if { { ac_try="$ac_link_default"
 
3512
case "(($ac_try" in
 
3513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3514
  *) ac_try_echo=$ac_try;;
 
3515
esac
 
3516
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3517
$as_echo "$ac_try_echo"; } >&5
 
3518
  (eval "$ac_link_default") 2>&5
 
3519
  ac_status=$?
 
3520
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3521
  test $ac_status = 0; }; then :
 
3522
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3523
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3524
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3525
# so that the user can short-circuit this test for compilers unknown to
 
3526
# Autoconf.
 
3527
for ac_file in $ac_files ''
 
3528
do
 
3529
  test -f "$ac_file" || continue
 
3530
  case $ac_file in
 
3531
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3532
        ;;
 
3533
    [ab].out )
 
3534
        # We found the default executable, but exeext='' is most
 
3535
        # certainly right.
 
3536
        break;;
 
3537
    *.* )
 
3538
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3539
        then :; else
 
3540
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3541
        fi
 
3542
        # We set ac_cv_exeext here because the later test for it is not
 
3543
        # safe: cross compilers may not add the suffix if given an `-o'
 
3544
        # argument, so we may need to know it at that point already.
 
3545
        # Even if this section looks crufty: it has the advantage of
 
3546
        # actually working.
 
3547
        break;;
 
3548
    * )
 
3549
        break;;
 
3550
  esac
 
3551
done
 
3552
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3553
 
 
3554
else
 
3555
  ac_file=''
 
3556
fi
 
3557
if test -z "$ac_file"; then :
 
3558
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3559
$as_echo "no" >&6; }
 
3560
$as_echo "$as_me: failed program was:" >&5
 
3561
sed 's/^/| /' conftest.$ac_ext >&5
 
3562
 
 
3563
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3564
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3565
as_fn_error 77 "C compiler cannot create executables
 
3566
See \`config.log' for more details" "$LINENO" 5; }
 
3567
else
 
3568
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3569
$as_echo "yes" >&6; }
 
3570
fi
 
3571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3572
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3574
$as_echo "$ac_file" >&6; }
 
3575
ac_exeext=$ac_cv_exeext
 
3576
 
 
3577
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3578
ac_clean_files=$ac_clean_files_save
 
3579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3580
$as_echo_n "checking for suffix of executables... " >&6; }
 
3581
if { { ac_try="$ac_link"
 
3582
case "(($ac_try" in
 
3583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3584
  *) ac_try_echo=$ac_try;;
 
3585
esac
 
3586
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3587
$as_echo "$ac_try_echo"; } >&5
 
3588
  (eval "$ac_link") 2>&5
 
3589
  ac_status=$?
 
3590
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3591
  test $ac_status = 0; }; then :
 
3592
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3593
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3594
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3595
# `rm'.
 
3596
for ac_file in conftest.exe conftest conftest.*; do
 
3597
  test -f "$ac_file" || continue
 
3598
  case $ac_file in
 
3599
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3600
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3601
          break;;
 
3602
    * ) break;;
 
3603
  esac
 
3604
done
 
3605
else
 
3606
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3607
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3608
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3609
See \`config.log' for more details" "$LINENO" 5; }
 
3610
fi
 
3611
rm -f conftest conftest$ac_cv_exeext
 
3612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3613
$as_echo "$ac_cv_exeext" >&6; }
 
3614
 
 
3615
rm -f conftest.$ac_ext
 
3616
EXEEXT=$ac_cv_exeext
 
3617
ac_exeext=$EXEEXT
 
3618
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3619
/* end confdefs.h.  */
 
3620
@%:@include <stdio.h>
 
3621
int
 
3622
main ()
 
3623
{
 
3624
FILE *f = fopen ("conftest.out", "w");
 
3625
 return ferror (f) || fclose (f) != 0;
 
3626
 
 
3627
  ;
 
3628
  return 0;
 
3629
}
 
3630
_ACEOF
 
3631
ac_clean_files="$ac_clean_files conftest.out"
 
3632
# Check that the compiler produces executables we can run.  If not, either
 
3633
# the compiler is broken, or we cross compile.
 
3634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3635
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3636
if test "$cross_compiling" != yes; then
 
3637
  { { ac_try="$ac_link"
 
3638
case "(($ac_try" in
 
3639
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3640
  *) ac_try_echo=$ac_try;;
 
3641
esac
 
3642
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3643
$as_echo "$ac_try_echo"; } >&5
 
3644
  (eval "$ac_link") 2>&5
 
3645
  ac_status=$?
 
3646
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3647
  test $ac_status = 0; }
 
3648
  if { ac_try='./conftest$ac_cv_exeext'
 
3649
  { { case "(($ac_try" in
 
3650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3651
  *) ac_try_echo=$ac_try;;
 
3652
esac
 
3653
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3654
$as_echo "$ac_try_echo"; } >&5
 
3655
  (eval "$ac_try") 2>&5
 
3656
  ac_status=$?
 
3657
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3658
  test $ac_status = 0; }; }; then
 
3659
    cross_compiling=no
 
3660
  else
 
3661
    if test "$cross_compiling" = maybe; then
 
3662
        cross_compiling=yes
 
3663
    else
 
3664
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3665
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3666
as_fn_error $? "cannot run C compiled programs.
 
3667
If you meant to cross compile, use \`--host'.
 
3668
See \`config.log' for more details" "$LINENO" 5; }
 
3669
    fi
 
3670
  fi
 
3671
fi
 
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3673
$as_echo "$cross_compiling" >&6; }
 
3674
 
 
3675
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3676
ac_clean_files=$ac_clean_files_save
 
3677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3678
$as_echo_n "checking for suffix of object files... " >&6; }
 
3679
if ${ac_cv_objext+:} false; then :
 
3680
  $as_echo_n "(cached) " >&6
 
3681
else
 
3682
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3683
/* end confdefs.h.  */
 
3684
 
 
3685
int
 
3686
main ()
 
3687
{
 
3688
 
 
3689
  ;
 
3690
  return 0;
 
3691
}
 
3692
_ACEOF
 
3693
rm -f conftest.o conftest.obj
 
3694
if { { ac_try="$ac_compile"
 
3695
case "(($ac_try" in
 
3696
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3697
  *) ac_try_echo=$ac_try;;
 
3698
esac
 
3699
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3700
$as_echo "$ac_try_echo"; } >&5
 
3701
  (eval "$ac_compile") 2>&5
 
3702
  ac_status=$?
 
3703
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3704
  test $ac_status = 0; }; then :
 
3705
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3706
  test -f "$ac_file" || continue;
 
3707
  case $ac_file in
 
3708
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3709
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3710
       break;;
 
3711
  esac
 
3712
done
 
3713
else
 
3714
  $as_echo "$as_me: failed program was:" >&5
 
3715
sed 's/^/| /' conftest.$ac_ext >&5
 
3716
 
 
3717
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3718
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3719
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3720
See \`config.log' for more details" "$LINENO" 5; }
 
3721
fi
 
3722
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3723
fi
 
3724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3725
$as_echo "$ac_cv_objext" >&6; }
 
3726
OBJEXT=$ac_cv_objext
 
3727
ac_objext=$OBJEXT
 
3728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3729
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3730
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3731
  $as_echo_n "(cached) " >&6
 
3732
else
 
3733
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3734
/* end confdefs.h.  */
 
3735
 
 
3736
int
 
3737
main ()
 
3738
{
 
3739
#ifndef __GNUC__
 
3740
       choke me
 
3741
#endif
 
3742
 
 
3743
  ;
 
3744
  return 0;
 
3745
}
 
3746
_ACEOF
 
3747
if ac_fn_c_try_compile "$LINENO"; then :
 
3748
  ac_compiler_gnu=yes
 
3749
else
 
3750
  ac_compiler_gnu=no
 
3751
fi
 
3752
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3753
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3754
 
 
3755
fi
 
3756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3757
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3758
if test $ac_compiler_gnu = yes; then
 
3759
  GCC=yes
 
3760
else
 
3761
  GCC=
 
3762
fi
 
3763
ac_test_CFLAGS=${CFLAGS+set}
 
3764
ac_save_CFLAGS=$CFLAGS
 
3765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3766
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3767
if ${ac_cv_prog_cc_g+:} false; then :
 
3768
  $as_echo_n "(cached) " >&6
 
3769
else
 
3770
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3771
   ac_c_werror_flag=yes
 
3772
   ac_cv_prog_cc_g=no
 
3773
   CFLAGS="-g"
 
3774
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3775
/* end confdefs.h.  */
 
3776
 
 
3777
int
 
3778
main ()
 
3779
{
 
3780
 
 
3781
  ;
 
3782
  return 0;
 
3783
}
 
3784
_ACEOF
 
3785
if ac_fn_c_try_compile "$LINENO"; then :
 
3786
  ac_cv_prog_cc_g=yes
 
3787
else
 
3788
  CFLAGS=""
 
3789
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3790
/* end confdefs.h.  */
 
3791
 
 
3792
int
 
3793
main ()
 
3794
{
 
3795
 
 
3796
  ;
 
3797
  return 0;
 
3798
}
 
3799
_ACEOF
 
3800
if ac_fn_c_try_compile "$LINENO"; then :
 
3801
  
 
3802
else
 
3803
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3804
         CFLAGS="-g"
 
3805
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3806
/* end confdefs.h.  */
 
3807
 
 
3808
int
 
3809
main ()
 
3810
{
 
3811
 
 
3812
  ;
 
3813
  return 0;
 
3814
}
 
3815
_ACEOF
 
3816
if ac_fn_c_try_compile "$LINENO"; then :
 
3817
  ac_cv_prog_cc_g=yes
 
3818
fi
 
3819
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3820
fi
 
3821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3822
fi
 
3823
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3824
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3825
fi
 
3826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3827
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3828
if test "$ac_test_CFLAGS" = set; then
 
3829
  CFLAGS=$ac_save_CFLAGS
 
3830
elif test $ac_cv_prog_cc_g = yes; then
 
3831
  if test "$GCC" = yes; then
 
3832
    CFLAGS="-g -O2"
 
3833
  else
 
3834
    CFLAGS="-g"
 
3835
  fi
 
3836
else
 
3837
  if test "$GCC" = yes; then
 
3838
    CFLAGS="-O2"
 
3839
  else
 
3840
    CFLAGS=
 
3841
  fi
 
3842
fi
 
3843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3844
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3845
if ${ac_cv_prog_cc_c89+:} false; then :
 
3846
  $as_echo_n "(cached) " >&6
 
3847
else
 
3848
  ac_cv_prog_cc_c89=no
 
3849
ac_save_CC=$CC
 
3850
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3851
/* end confdefs.h.  */
 
3852
#include <stdarg.h>
 
3853
#include <stdio.h>
 
3854
struct stat;
 
3855
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3856
struct buf { int x; };
 
3857
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3858
static char *e (p, i)
 
3859
     char **p;
 
3860
     int i;
 
3861
{
 
3862
  return p[i];
 
3863
}
 
3864
static char *f (char * (*g) (char **, int), char **p, ...)
 
3865
{
 
3866
  char *s;
 
3867
  va_list v;
 
3868
  va_start (v,p);
 
3869
  s = g (p, va_arg (v,int));
 
3870
  va_end (v);
 
3871
  return s;
 
3872
}
 
3873
 
 
3874
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3875
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3876
   These don't provoke an error unfortunately, instead are silently treated
 
3877
   as 'x'.  The following induces an error, until -std is added to get
 
3878
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3879
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3880
   that's true only with -std.  */
 
3881
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3882
 
 
3883
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3884
   inside strings and character constants.  */
 
3885
#define FOO(x) 'x'
 
3886
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3887
 
 
3888
int test (int i, double x);
 
3889
struct s1 {int (*f) (int a);};
 
3890
struct s2 {int (*f) (double a);};
 
3891
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3892
int argc;
 
3893
char **argv;
 
3894
int
 
3895
main ()
 
3896
{
 
3897
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3898
  ;
 
3899
  return 0;
 
3900
}
 
3901
_ACEOF
 
3902
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3903
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3904
do
 
3905
  CC="$ac_save_CC $ac_arg"
 
3906
  if ac_fn_c_try_compile "$LINENO"; then :
 
3907
  ac_cv_prog_cc_c89=$ac_arg
 
3908
fi
 
3909
rm -f core conftest.err conftest.$ac_objext
 
3910
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3911
done
 
3912
rm -f conftest.$ac_ext
 
3913
CC=$ac_save_CC
 
3914
 
 
3915
fi
 
3916
# AC_CACHE_VAL
 
3917
case "x$ac_cv_prog_cc_c89" in
 
3918
  x)
 
3919
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3920
$as_echo "none needed" >&6; } ;;
 
3921
  xno)
 
3922
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3923
$as_echo "unsupported" >&6; } ;;
 
3924
  *)
 
3925
    CC="$CC $ac_cv_prog_cc_c89"
 
3926
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3927
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3928
esac
 
3929
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3930
  
 
3931
fi
 
3932
 
 
3933
ac_ext=c
 
3934
ac_cpp='$CPP $CPPFLAGS'
 
3935
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3936
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3937
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3938
 
 
3939
ac_ext=c
 
3940
ac_cpp='$CPP $CPPFLAGS'
 
3941
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3942
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3943
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 
3945
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 
3946
if ${am_cv_prog_cc_c_o+:} false; then :
 
3947
  $as_echo_n "(cached) " >&6
 
3948
else
 
3949
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3950
/* end confdefs.h.  */
 
3951
 
 
3952
int
 
3953
main ()
 
3954
{
 
3955
 
 
3956
  ;
 
3957
  return 0;
 
3958
}
 
3959
_ACEOF
 
3960
  # Make sure it works both with $CC and with simple cc.
 
3961
  # Following AC_PROG_CC_C_O, we do the test twice because some
 
3962
  # compilers refuse to overwrite an existing .o file with -o,
 
3963
  # though they will create one.
 
3964
  am_cv_prog_cc_c_o=yes
 
3965
  for am_i in 1 2; do
 
3966
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 
3967
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 
3968
   ac_status=$?
 
3969
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3970
   (exit $ac_status); } \
 
3971
         && test -f conftest2.$ac_objext; then
 
3972
      : OK
 
3973
    else
 
3974
      am_cv_prog_cc_c_o=no
 
3975
      break
 
3976
    fi
 
3977
  done
 
3978
  rm -f core conftest*
 
3979
  unset am_i
 
3980
fi
 
3981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 
3982
$as_echo "$am_cv_prog_cc_c_o" >&6; }
 
3983
if test "$am_cv_prog_cc_c_o" != yes; then
 
3984
   # Losing compiler, so override with the script.
 
3985
   # FIXME: It is wrong to rewrite CC.
 
3986
   # But if we don't then we get into trouble of one sort or another.
 
3987
   # A longer-term fix would be to have automake use am__CC in this case,
 
3988
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
3989
   CC="$am_aux_dir/compile $CC"
 
3990
fi
 
3991
ac_ext=c
 
3992
ac_cpp='$CPP $CPPFLAGS'
 
3993
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3994
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3995
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3996
 
 
3997
 
 
3998
depcc="$CC"   am_compiler_list=
 
3999
 
 
4000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4001
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4002
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
4003
  $as_echo_n "(cached) " >&6
 
4004
else
 
4005
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
4006
  # We make a subdir and do the tests there.  Otherwise we can end up
 
4007
  # making bogus files that we don't know about and never remove.  For
 
4008
  # instance it was reported that on HP-UX the gcc test will end up
 
4009
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
4010
  # in D".
 
4011
  rm -rf conftest.dir
 
4012
  mkdir conftest.dir
 
4013
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
4014
  # using a relative directory.
 
4015
  cp "$am_depcomp" conftest.dir
 
4016
  cd conftest.dir
 
4017
  # We will build objects and dependencies in a subdirectory because
 
4018
  # it helps to detect inapplicable dependency modes.  For instance
 
4019
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4020
  # side effect of compilation, but ICC will put the dependencies in
 
4021
  # the current directory while Tru64 will put them in the object
 
4022
  # directory.
 
4023
  mkdir sub
 
4024
 
 
4025
  am_cv_CC_dependencies_compiler_type=none
 
4026
  if test "$am_compiler_list" = ""; then
 
4027
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4028
  fi
 
4029
  am__universal=false
 
4030
  case " $depcc " in #(
 
4031
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4032
     esac
 
4033
 
 
4034
  for depmode in $am_compiler_list; do
 
4035
    # Setup a source with many dependencies, because some compilers
 
4036
    # like to wrap large dependency lists on column 80 (with \), and
 
4037
    # we should not choose a depcomp mode which is confused by this.
 
4038
    #
 
4039
    # We need to recreate these files for each test, as the compiler may
 
4040
    # overwrite some of them when testing with obscure command lines.
 
4041
    # This happens at least with the AIX C compiler.
 
4042
    : > sub/conftest.c
 
4043
    for i in 1 2 3 4 5 6; do
 
4044
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4045
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
4046
      # Solaris 10 /bin/sh.
 
4047
      echo '/* dummy */' > sub/conftst$i.h
 
4048
    done
 
4049
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4050
 
 
4051
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
 
4052
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4053
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
4054
    # versions had trouble with output in subdirs.
 
4055
    am__obj=sub/conftest.${OBJEXT-o}
 
4056
    am__minus_obj="-o $am__obj"
 
4057
    case $depmode in
 
4058
    gcc)
 
4059
      # This depmode causes a compiler race in universal mode.
 
4060
      test "$am__universal" = false || continue
 
4061
      ;;
 
4062
    nosideeffect)
 
4063
      # After this tag, mechanisms are not by side-effect, so they'll
 
4064
      # only be used when explicitly requested.
 
4065
      if test "x$enable_dependency_tracking" = xyes; then
 
4066
        continue
 
4067
      else
 
4068
        break
 
4069
      fi
 
4070
      ;;
 
4071
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
4072
      # This compiler won't grok '-c -o', but also, the minuso test has
 
4073
      # not run yet.  These depmodes are late enough in the game, and
 
4074
      # so weak that their functioning should not be impacted.
 
4075
      am__obj=conftest.${OBJEXT-o}
 
4076
      am__minus_obj=
 
4077
      ;;
 
4078
    none) break ;;
 
4079
    esac
 
4080
    if depmode=$depmode \
 
4081
       source=sub/conftest.c object=$am__obj \
 
4082
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4083
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4084
         >/dev/null 2>conftest.err &&
 
4085
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4086
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4087
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4088
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4089
      # icc doesn't choke on unknown options, it will just issue warnings
 
4090
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4091
      # that says an option was ignored or not supported.
 
4092
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4093
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4094
      # The diagnosis changed in icc 8.0:
 
4095
      #   icc: Command line remark: option '-MP' not supported
 
4096
      if (grep 'ignoring option' conftest.err ||
 
4097
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4098
        am_cv_CC_dependencies_compiler_type=$depmode
 
4099
        break
 
4100
      fi
 
4101
    fi
 
4102
  done
 
4103
 
 
4104
  cd ..
 
4105
  rm -rf conftest.dir
 
4106
else
 
4107
  am_cv_CC_dependencies_compiler_type=none
 
4108
fi
 
4109
 
 
4110
fi
 
4111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4112
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4113
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4114
 
 
4115
 if 
 
4116
  test "x$enable_dependency_tracking" != xno \
 
4117
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4118
  am__fastdepCC_TRUE=
 
4119
  am__fastdepCC_FALSE='#'
 
4120
else
 
4121
  am__fastdepCC_TRUE='#'
 
4122
  am__fastdepCC_FALSE=
 
4123
fi
 
4124
 
 
4125
 
 
4126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4127
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4128
if ${ac_cv_path_SED+:} false; then :
 
4129
  $as_echo_n "(cached) " >&6
 
4130
else
 
4131
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4132
     for ac_i in 1 2 3 4 5 6 7; do
 
4133
       ac_script="$ac_script$as_nl$ac_script"
 
4134
     done
 
4135
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4136
     { ac_script=; unset ac_script;}
 
4137
     if test -z "$SED"; then
 
4138
  ac_path_SED_found=false
 
4139
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4140
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4141
for as_dir in $PATH
 
4142
do
 
4143
  IFS=$as_save_IFS
 
4144
  test -z "$as_dir" && as_dir=.
 
4145
    for ac_prog in sed gsed; do
 
4146
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4147
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4148
      as_fn_executable_p "$ac_path_SED" || continue
 
4149
# Check for GNU ac_path_SED and select it if it is found.
 
4150
  # Check for GNU $ac_path_SED
 
4151
case `"$ac_path_SED" --version 2>&1` in
 
4152
*GNU*)
 
4153
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4154
*)
 
4155
  ac_count=0
 
4156
  $as_echo_n 0123456789 >"conftest.in"
 
4157
  while :
 
4158
  do
 
4159
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4160
    mv "conftest.tmp" "conftest.in"
 
4161
    cp "conftest.in" "conftest.nl"
 
4162
    $as_echo '' >> "conftest.nl"
 
4163
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4164
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4165
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4166
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4167
      # Best one so far, save it but keep looking for a better one
 
4168
      ac_cv_path_SED="$ac_path_SED"
 
4169
      ac_path_SED_max=$ac_count
 
4170
    fi
 
4171
    # 10*(2^10) chars as input seems more than enough
 
4172
    test $ac_count -gt 10 && break
 
4173
  done
 
4174
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4175
esac
 
4176
 
 
4177
      $ac_path_SED_found && break 3
 
4178
    done
 
4179
  done
 
4180
  done
 
4181
IFS=$as_save_IFS
 
4182
  if test -z "$ac_cv_path_SED"; then
 
4183
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4184
  fi
 
4185
else
 
4186
  ac_cv_path_SED=$SED
 
4187
fi
 
4188
 
 
4189
fi
 
4190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4191
$as_echo "$ac_cv_path_SED" >&6; }
 
4192
 SED="$ac_cv_path_SED"
 
4193
  rm -f conftest.sed
 
4194
 
 
4195
test -z "$SED" && SED=sed
 
4196
Xsed="$SED -e 1s/^X//"
 
4197
 
 
4198
    
 
4199
    
 
4200
    
 
4201
 
 
4202
 
 
4203
    
 
4204
    
 
4205
    
 
4206
 
 
4207
 
 
4208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4209
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4210
if ${ac_cv_path_GREP+:} false; then :
 
4211
  $as_echo_n "(cached) " >&6
 
4212
else
 
4213
  if test -z "$GREP"; then
 
4214
  ac_path_GREP_found=false
 
4215
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4216
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4217
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4218
do
 
4219
  IFS=$as_save_IFS
 
4220
  test -z "$as_dir" && as_dir=.
 
4221
    for ac_prog in grep ggrep; do
 
4222
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4223
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4224
      as_fn_executable_p "$ac_path_GREP" || continue
 
4225
# Check for GNU ac_path_GREP and select it if it is found.
 
4226
  # Check for GNU $ac_path_GREP
 
4227
case `"$ac_path_GREP" --version 2>&1` in
 
4228
*GNU*)
 
4229
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4230
*)
 
4231
  ac_count=0
 
4232
  $as_echo_n 0123456789 >"conftest.in"
 
4233
  while :
 
4234
  do
 
4235
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4236
    mv "conftest.tmp" "conftest.in"
 
4237
    cp "conftest.in" "conftest.nl"
 
4238
    $as_echo 'GREP' >> "conftest.nl"
 
4239
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4240
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4241
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4242
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4243
      # Best one so far, save it but keep looking for a better one
 
4244
      ac_cv_path_GREP="$ac_path_GREP"
 
4245
      ac_path_GREP_max=$ac_count
 
4246
    fi
 
4247
    # 10*(2^10) chars as input seems more than enough
 
4248
    test $ac_count -gt 10 && break
 
4249
  done
 
4250
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4251
esac
 
4252
 
 
4253
      $ac_path_GREP_found && break 3
 
4254
    done
 
4255
  done
 
4256
  done
 
4257
IFS=$as_save_IFS
 
4258
  if test -z "$ac_cv_path_GREP"; then
 
4259
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4260
  fi
 
4261
else
 
4262
  ac_cv_path_GREP=$GREP
 
4263
fi
 
4264
 
 
4265
fi
 
4266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4267
$as_echo "$ac_cv_path_GREP" >&6; }
 
4268
 GREP="$ac_cv_path_GREP"
 
4269
 
 
4270
 
 
4271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4272
$as_echo_n "checking for egrep... " >&6; }
 
4273
if ${ac_cv_path_EGREP+:} false; then :
 
4274
  $as_echo_n "(cached) " >&6
 
4275
else
 
4276
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4277
   then ac_cv_path_EGREP="$GREP -E"
 
4278
   else
 
4279
     if test -z "$EGREP"; then
 
4280
  ac_path_EGREP_found=false
 
4281
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4282
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4283
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4284
do
 
4285
  IFS=$as_save_IFS
 
4286
  test -z "$as_dir" && as_dir=.
 
4287
    for ac_prog in egrep; do
 
4288
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4289
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4290
      as_fn_executable_p "$ac_path_EGREP" || continue
 
4291
# Check for GNU ac_path_EGREP and select it if it is found.
 
4292
  # Check for GNU $ac_path_EGREP
 
4293
case `"$ac_path_EGREP" --version 2>&1` in
 
4294
*GNU*)
 
4295
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4296
*)
 
4297
  ac_count=0
 
4298
  $as_echo_n 0123456789 >"conftest.in"
 
4299
  while :
 
4300
  do
 
4301
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4302
    mv "conftest.tmp" "conftest.in"
 
4303
    cp "conftest.in" "conftest.nl"
 
4304
    $as_echo 'EGREP' >> "conftest.nl"
 
4305
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4306
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4307
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4308
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4309
      # Best one so far, save it but keep looking for a better one
 
4310
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4311
      ac_path_EGREP_max=$ac_count
 
4312
    fi
 
4313
    # 10*(2^10) chars as input seems more than enough
 
4314
    test $ac_count -gt 10 && break
 
4315
  done
 
4316
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4317
esac
 
4318
 
 
4319
      $ac_path_EGREP_found && break 3
 
4320
    done
 
4321
  done
 
4322
  done
 
4323
IFS=$as_save_IFS
 
4324
  if test -z "$ac_cv_path_EGREP"; then
 
4325
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4326
  fi
 
4327
else
 
4328
  ac_cv_path_EGREP=$EGREP
 
4329
fi
 
4330
 
 
4331
   fi
 
4332
fi
 
4333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4334
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4335
 EGREP="$ac_cv_path_EGREP"
 
4336
 
 
4337
 
 
4338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
4339
$as_echo_n "checking for fgrep... " >&6; }
 
4340
if ${ac_cv_path_FGREP+:} false; then :
 
4341
  $as_echo_n "(cached) " >&6
 
4342
else
 
4343
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4344
   then ac_cv_path_FGREP="$GREP -F"
 
4345
   else
 
4346
     if test -z "$FGREP"; then
 
4347
  ac_path_FGREP_found=false
 
4348
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4349
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4350
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4351
do
 
4352
  IFS=$as_save_IFS
 
4353
  test -z "$as_dir" && as_dir=.
 
4354
    for ac_prog in fgrep; do
 
4355
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4356
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4357
      as_fn_executable_p "$ac_path_FGREP" || continue
 
4358
# Check for GNU ac_path_FGREP and select it if it is found.
 
4359
  # Check for GNU $ac_path_FGREP
 
4360
case `"$ac_path_FGREP" --version 2>&1` in
 
4361
*GNU*)
 
4362
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4363
*)
 
4364
  ac_count=0
 
4365
  $as_echo_n 0123456789 >"conftest.in"
 
4366
  while :
 
4367
  do
 
4368
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4369
    mv "conftest.tmp" "conftest.in"
 
4370
    cp "conftest.in" "conftest.nl"
 
4371
    $as_echo 'FGREP' >> "conftest.nl"
 
4372
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4373
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4374
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4375
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4376
      # Best one so far, save it but keep looking for a better one
 
4377
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4378
      ac_path_FGREP_max=$ac_count
 
4379
    fi
 
4380
    # 10*(2^10) chars as input seems more than enough
 
4381
    test $ac_count -gt 10 && break
 
4382
  done
 
4383
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4384
esac
 
4385
 
 
4386
      $ac_path_FGREP_found && break 3
 
4387
    done
 
4388
  done
 
4389
  done
 
4390
IFS=$as_save_IFS
 
4391
  if test -z "$ac_cv_path_FGREP"; then
 
4392
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4393
  fi
 
4394
else
 
4395
  ac_cv_path_FGREP=$FGREP
 
4396
fi
 
4397
 
 
4398
   fi
 
4399
fi
 
4400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
4401
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4402
 FGREP="$ac_cv_path_FGREP"
 
4403
 
 
4404
 
 
4405
test -z "$GREP" && GREP=grep
 
4406
 
 
4407
    
 
4408
    
 
4409
    
 
4410
 
 
4411
 
 
4412
    
 
4413
    
 
4414
    
 
4415
 
 
4416
 
 
4417
    
 
4418
    
 
4419
    
 
4420
 
 
4421
 
 
4422
 
 
4423
 
 
4424
 
 
4425
@%:@ Check whether --with-gnu-ld was given.
 
4426
if test "${with_gnu_ld+set}" = set; then :
 
4427
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4428
else
 
4429
  with_gnu_ld=no
 
4430
fi
 
4431
 
 
4432
ac_prog=ld
 
4433
if test "$GCC" = yes; then
 
4434
  # Check if gcc -print-prog-name=ld gives a path.
 
4435
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
4436
$as_echo_n "checking for ld used by $CC... " >&6; }
 
4437
  case $host in
 
4438
  *-*-mingw*)
 
4439
    # gcc leaves a trailing carriage return which upsets mingw
 
4440
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4441
  *)
 
4442
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
4443
  esac
 
4444
  case $ac_prog in
 
4445
    # Accept absolute paths.
 
4446
    [\\/]* | ?:[\\/]*)
 
4447
      re_direlt='/[^/][^/]*/\.\./'
 
4448
      # Canonicalize the pathname of ld
 
4449
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4450
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4451
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
4452
      done
 
4453
      test -z "$LD" && LD="$ac_prog"
 
4454
      ;;
 
4455
  "")
 
4456
    # If it fails, then pretend we aren't using GCC.
 
4457
    ac_prog=ld
 
4458
    ;;
 
4459
  *)
 
4460
    # If it is relative, then search for the first ld in PATH.
 
4461
    with_gnu_ld=unknown
 
4462
    ;;
 
4463
  esac
 
4464
elif test "$with_gnu_ld" = yes; then
 
4465
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
4466
$as_echo_n "checking for GNU ld... " >&6; }
 
4467
else
 
4468
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
4469
$as_echo_n "checking for non-GNU ld... " >&6; }
 
4470
fi
 
4471
if ${lt_cv_path_LD+:} false; then :
 
4472
  $as_echo_n "(cached) " >&6
 
4473
else
 
4474
  if test -z "$LD"; then
 
4475
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4476
  for ac_dir in $PATH; do
 
4477
    IFS="$lt_save_ifs"
 
4478
    test -z "$ac_dir" && ac_dir=.
 
4479
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
4480
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
4481
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
4482
      # but apparently some variants of GNU ld only accept -v.
 
4483
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
4484
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
4485
      *GNU* | *'with BFD'*)
 
4486
        test "$with_gnu_ld" != no && break
 
4487
        ;;
 
4488
      *)
 
4489
        test "$with_gnu_ld" != yes && break
 
4490
        ;;
 
4491
      esac
 
4492
    fi
 
4493
  done
 
4494
  IFS="$lt_save_ifs"
 
4495
else
 
4496
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
4497
fi
 
4498
fi
 
4499
 
 
4500
LD="$lt_cv_path_LD"
 
4501
if test -n "$LD"; then
 
4502
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
4503
$as_echo "$LD" >&6; }
 
4504
else
 
4505
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4506
$as_echo "no" >&6; }
 
4507
fi
 
4508
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
4509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
4510
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4511
if ${lt_cv_prog_gnu_ld+:} false; then :
 
4512
  $as_echo_n "(cached) " >&6
 
4513
else
 
4514
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
4515
case `$LD -v 2>&1 </dev/null` in
 
4516
*GNU* | *'with BFD'*)
 
4517
  lt_cv_prog_gnu_ld=yes
 
4518
  ;;
 
4519
*)
 
4520
  lt_cv_prog_gnu_ld=no
 
4521
  ;;
 
4522
esac
 
4523
fi
 
4524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
4525
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
4526
with_gnu_ld=$lt_cv_prog_gnu_ld
 
4527
 
 
4528
 
 
4529
 
 
4530
 
 
4531
    
 
4532
    
 
4533
    
 
4534
 
 
4535
 
 
4536
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4537
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
4538
if ${lt_cv_path_NM+:} false; then :
 
4539
  $as_echo_n "(cached) " >&6
 
4540
else
 
4541
  if test -n "$NM"; then
 
4542
  # Let the user override the test.
 
4543
  lt_cv_path_NM="$NM"
 
4544
else
 
4545
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4546
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4547
    lt_nm_to_check="$lt_nm_to_check nm"
 
4548
  fi
 
4549
  for lt_tmp_nm in $lt_nm_to_check; do
 
4550
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4551
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4552
      IFS="$lt_save_ifs"
 
4553
      test -z "$ac_dir" && ac_dir=.
 
4554
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4555
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4556
        # Check to see if the nm accepts a BSD-compat flag.
 
4557
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4558
        #   nm: unknown option "B" ignored
 
4559
        # Tru64's nm complains that /dev/null is an invalid object file
 
4560
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4561
        */dev/null* | *'Invalid file or object type'*)
 
4562
          lt_cv_path_NM="$tmp_nm -B"
 
4563
          break
 
4564
          ;;
 
4565
        *)
 
4566
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4567
          */dev/null*)
 
4568
            lt_cv_path_NM="$tmp_nm -p"
 
4569
            break
 
4570
            ;;
 
4571
          *)
 
4572
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4573
            continue # so that we can try to find one that supports BSD flags
 
4574
            ;;
 
4575
          esac
 
4576
          ;;
 
4577
        esac
 
4578
      fi
 
4579
    done
 
4580
    IFS="$lt_save_ifs"
 
4581
  done
 
4582
  : ${lt_cv_path_NM=no}
 
4583
fi
 
4584
fi
 
4585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
4586
$as_echo "$lt_cv_path_NM" >&6; }
 
4587
if test "$lt_cv_path_NM" != "no"; then
 
4588
  NM="$lt_cv_path_NM"
 
4589
else
 
4590
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4591
  if test -n "$DUMPBIN"; then :
 
4592
    # Let the user override the test.
 
4593
  else
 
4594
    if test -n "$ac_tool_prefix"; then
 
4595
  for ac_prog in dumpbin "link -dump"
 
4596
  do
 
4597
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4598
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4600
$as_echo_n "checking for $ac_word... " >&6; }
 
4601
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
4602
  $as_echo_n "(cached) " >&6
 
4603
else
 
4604
  if test -n "$DUMPBIN"; then
 
4605
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4606
else
 
4607
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4608
for as_dir in $PATH
 
4609
do
 
4610
  IFS=$as_save_IFS
 
4611
  test -z "$as_dir" && as_dir=.
 
4612
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4613
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4614
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4615
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4616
    break 2
 
4617
  fi
 
4618
done
 
4619
  done
 
4620
IFS=$as_save_IFS
 
4621
 
 
4622
fi
 
4623
fi
 
4624
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4625
if test -n "$DUMPBIN"; then
 
4626
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
4627
$as_echo "$DUMPBIN" >&6; }
 
4628
else
 
4629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4630
$as_echo "no" >&6; }
 
4631
fi
 
4632
 
 
4633
 
 
4634
    test -n "$DUMPBIN" && break
 
4635
  done
 
4636
fi
 
4637
if test -z "$DUMPBIN"; then
 
4638
  ac_ct_DUMPBIN=$DUMPBIN
 
4639
  for ac_prog in dumpbin "link -dump"
 
4640
do
 
4641
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4642
set dummy $ac_prog; ac_word=$2
 
4643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4644
$as_echo_n "checking for $ac_word... " >&6; }
 
4645
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
4646
  $as_echo_n "(cached) " >&6
 
4647
else
 
4648
  if test -n "$ac_ct_DUMPBIN"; then
 
4649
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4650
else
 
4651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4652
for as_dir in $PATH
 
4653
do
 
4654
  IFS=$as_save_IFS
 
4655
  test -z "$as_dir" && as_dir=.
 
4656
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4657
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4658
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4659
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4660
    break 2
 
4661
  fi
 
4662
done
 
4663
  done
 
4664
IFS=$as_save_IFS
 
4665
 
 
4666
fi
 
4667
fi
 
4668
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4669
if test -n "$ac_ct_DUMPBIN"; then
 
4670
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
4671
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4672
else
 
4673
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4674
$as_echo "no" >&6; }
 
4675
fi
 
4676
 
 
4677
 
 
4678
  test -n "$ac_ct_DUMPBIN" && break
 
4679
done
 
4680
 
 
4681
  if test "x$ac_ct_DUMPBIN" = x; then
 
4682
    DUMPBIN=":"
 
4683
  else
 
4684
    case $cross_compiling:$ac_tool_warned in
 
4685
yes:)
 
4686
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4687
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4688
ac_tool_warned=yes ;;
 
4689
esac
 
4690
    DUMPBIN=$ac_ct_DUMPBIN
 
4691
  fi
 
4692
fi
 
4693
 
 
4694
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4695
    *COFF*)
 
4696
      DUMPBIN="$DUMPBIN -symbols"
 
4697
      ;;
 
4698
    *)
 
4699
      DUMPBIN=:
 
4700
      ;;
 
4701
    esac
 
4702
  fi
 
4703
  
 
4704
  if test "$DUMPBIN" != ":"; then
 
4705
    NM="$DUMPBIN"
 
4706
  fi
 
4707
fi
 
4708
test -z "$NM" && NM=nm
 
4709
 
 
4710
 
 
4711
    
 
4712
    
 
4713
    
 
4714
 
 
4715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
4716
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4717
if ${lt_cv_nm_interface+:} false; then :
 
4718
  $as_echo_n "(cached) " >&6
 
4719
else
 
4720
  lt_cv_nm_interface="BSD nm"
 
4721
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4722
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
4723
  (eval "$ac_compile" 2>conftest.err)
 
4724
  cat conftest.err >&5
 
4725
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4726
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4727
  cat conftest.err >&5
 
4728
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
4729
  cat conftest.out >&5
 
4730
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4731
    lt_cv_nm_interface="MS dumpbin"
 
4732
  fi
 
4733
  rm -f conftest*
 
4734
fi
 
4735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
4736
$as_echo "$lt_cv_nm_interface" >&6; }
 
4737
 
 
4738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
4739
$as_echo_n "checking whether ln -s works... " >&6; }
 
4740
LN_S=$as_ln_s
 
4741
if test "$LN_S" = "ln -s"; then
 
4742
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4743
$as_echo "yes" >&6; }
 
4744
else
 
4745
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
4746
$as_echo "no, using $LN_S" >&6; }
 
4747
fi
 
4748
 
 
4749
# find the maximum length of command line arguments
 
4750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
4751
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
4752
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
4753
  $as_echo_n "(cached) " >&6
 
4754
else
 
4755
    i=0
 
4756
  teststring="ABCD"
 
4757
 
 
4758
  case $build_os in
 
4759
  msdosdjgpp*)
 
4760
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4761
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4762
    # during glob expansion).  Even if it were fixed, the result of this
 
4763
    # check would be larger than it should be.
 
4764
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4765
    ;;
 
4766
 
 
4767
  gnu*)
 
4768
    # Under GNU Hurd, this test is not required because there is
 
4769
    # no limit to the length of command line arguments.
 
4770
    # Libtool will interpret -1 as no limit whatsoever
 
4771
    lt_cv_sys_max_cmd_len=-1;
 
4772
    ;;
 
4773
 
 
4774
  cygwin* | mingw* | cegcc*)
 
4775
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4776
    # about 5 minutes as the teststring grows exponentially.
 
4777
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4778
    # you end up with a "frozen" computer, even though with patience
 
4779
    # the test eventually succeeds (with a max line length of 256k).
 
4780
    # Instead, let's just punt: use the minimum linelength reported by
 
4781
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4782
    lt_cv_sys_max_cmd_len=8192;
 
4783
    ;;
 
4784
 
 
4785
  mint*)
 
4786
    # On MiNT this can take a long time and run out of memory.
 
4787
    lt_cv_sys_max_cmd_len=8192;
 
4788
    ;;
 
4789
 
 
4790
  amigaos*)
 
4791
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4792
    # So we just punt and use a minimum line length of 8192.
 
4793
    lt_cv_sys_max_cmd_len=8192;
 
4794
    ;;
 
4795
 
 
4796
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4797
    # This has been around since 386BSD, at least.  Likely further.
 
4798
    if test -x /sbin/sysctl; then
 
4799
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4800
    elif test -x /usr/sbin/sysctl; then
 
4801
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4802
    else
 
4803
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4804
    fi
 
4805
    # And add a safety zone
 
4806
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4807
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4808
    ;;
 
4809
 
 
4810
  interix*)
 
4811
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4812
    lt_cv_sys_max_cmd_len=196608
 
4813
    ;;
 
4814
 
 
4815
  os2*)
 
4816
    # The test takes a long time on OS/2.
 
4817
    lt_cv_sys_max_cmd_len=8192
 
4818
    ;;
 
4819
 
 
4820
  osf*)
 
4821
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4822
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4823
    # nice to cause kernel panics so lets avoid the loop below.
 
4824
    # First set a reasonable default.
 
4825
    lt_cv_sys_max_cmd_len=16384
 
4826
    #
 
4827
    if test -x /sbin/sysconfig; then
 
4828
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4829
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4830
      esac
 
4831
    fi
 
4832
    ;;
 
4833
  sco3.2v5*)
 
4834
    lt_cv_sys_max_cmd_len=102400
 
4835
    ;;
 
4836
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4837
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4838
    if test -n "$kargmax"; then
 
4839
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4840
    else
 
4841
      lt_cv_sys_max_cmd_len=32768
 
4842
    fi
 
4843
    ;;
 
4844
  *)
 
4845
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4846
    if test -n "$lt_cv_sys_max_cmd_len" && \
 
4847
        test undefined != "$lt_cv_sys_max_cmd_len"; then
 
4848
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4849
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4850
    else
 
4851
      # Make teststring a little bigger before we do anything with it.
 
4852
      # a 1K string should be a reasonable start.
 
4853
      for i in 1 2 3 4 5 6 7 8 ; do
 
4854
        teststring=$teststring$teststring
 
4855
      done
 
4856
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4857
      # If test is not a shell built-in, we'll probably end up computing a
 
4858
      # maximum length that is only half of the actual maximum length, but
 
4859
      # we can't tell.
 
4860
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
4861
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
4862
              test $i != 17 # 1/2 MB should be enough
 
4863
      do
 
4864
        i=`expr $i + 1`
 
4865
        teststring=$teststring$teststring
 
4866
      done
 
4867
      # Only check the string length outside the loop.
 
4868
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4869
      teststring=
 
4870
      # Add a significant safety factor because C++ compilers can tack on
 
4871
      # massive amounts of additional arguments before passing them to the
 
4872
      # linker.  It appears as though 1/2 is a usable value.
 
4873
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4874
    fi
 
4875
    ;;
 
4876
  esac
 
4877
 
 
4878
fi
 
4879
 
 
4880
if test -n $lt_cv_sys_max_cmd_len ; then
 
4881
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
4882
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
4883
else
 
4884
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
4885
$as_echo "none" >&6; }
 
4886
fi
 
4887
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4888
 
 
4889
    
 
4890
    
 
4891
    
 
4892
 
 
4893
 
 
4894
: ${CP="cp -f"}
 
4895
: ${MV="mv -f"}
 
4896
: ${RM="rm -f"}
 
4897
 
 
4898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
4899
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
4900
# Try some XSI features
 
4901
xsi_shell=no
 
4902
( _lt_dummy="a/b/c"
 
4903
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
4904
      = c,a/b,b/c, \
 
4905
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4906
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
4907
  && xsi_shell=yes
 
4908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
4909
$as_echo "$xsi_shell" >&6; }
 
4910
 
 
4911
 
 
4912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
4913
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
4914
lt_shell_append=no
 
4915
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
4916
    >/dev/null 2>&1 \
 
4917
  && lt_shell_append=yes
 
4918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
4919
$as_echo "$lt_shell_append" >&6; }
 
4920
 
 
4921
 
 
4922
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4923
  lt_unset=unset
 
4924
else
 
4925
  lt_unset=false
 
4926
fi
 
4927
 
 
4928
    
 
4929
    
 
4930
    
 
4931
 
 
4932
# test EBCDIC or ASCII
 
4933
case `echo X|tr X '\101'` in
 
4934
 A) # ASCII based system
 
4935
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
4936
  lt_SP2NL='tr \040 \012'
 
4937
  lt_NL2SP='tr \015\012 \040\040'
 
4938
  ;;
 
4939
 *) # EBCDIC based system
 
4940
  lt_SP2NL='tr \100 \n'
 
4941
  lt_NL2SP='tr \r\n \100\100'
 
4942
  ;;
 
4943
esac
 
4944
 
 
4945
    
 
4946
    
 
4947
    
 
4948
 
 
4949
    
 
4950
    
 
4951
    
 
4952
 
 
4953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
4954
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
4955
if ${lt_cv_to_host_file_cmd+:} false; then :
 
4956
  $as_echo_n "(cached) " >&6
 
4957
else
 
4958
  case $host in
 
4959
  *-*-mingw* )
 
4960
    case $build in
 
4961
      *-*-mingw* ) # actually msys
 
4962
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
4963
        ;;
 
4964
      *-*-cygwin* )
 
4965
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
4966
        ;;
 
4967
      * ) # otherwise, assume *nix
 
4968
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
4969
        ;;
 
4970
    esac
 
4971
    ;;
 
4972
  *-*-cygwin* )
 
4973
    case $build in
 
4974
      *-*-mingw* ) # actually msys
 
4975
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
4976
        ;;
 
4977
      *-*-cygwin* )
 
4978
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
4979
        ;;
 
4980
      * ) # otherwise, assume *nix
 
4981
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
4982
        ;;
 
4983
    esac
 
4984
    ;;
 
4985
  * ) # unhandled hosts (and "normal" native builds)
 
4986
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
4987
    ;;
 
4988
esac
 
4989
 
 
4990
fi
 
4991
 
 
4992
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
4993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
4994
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
4995
 
 
4996
    
 
4997
    
 
4998
    
 
4999
 
 
5000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5001
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5002
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5003
  $as_echo_n "(cached) " >&6
 
5004
else
 
5005
  #assume ordinary cross tools, or native build.
 
5006
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5007
case $host in
 
5008
  *-*-mingw* )
 
5009
    case $build in
 
5010
      *-*-mingw* ) # actually msys
 
5011
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5012
        ;;
 
5013
    esac
 
5014
    ;;
 
5015
esac
 
5016
 
 
5017
fi
 
5018
 
 
5019
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5021
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5022
 
 
5023
    
 
5024
    
 
5025
    
 
5026
 
 
5027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5028
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5029
if ${lt_cv_ld_reload_flag+:} false; then :
 
5030
  $as_echo_n "(cached) " >&6
 
5031
else
 
5032
  lt_cv_ld_reload_flag='-r'
 
5033
fi
 
5034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5035
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5036
reload_flag=$lt_cv_ld_reload_flag
 
5037
case $reload_flag in
 
5038
"" | " "*) ;;
 
5039
*) reload_flag=" $reload_flag" ;;
 
5040
esac
 
5041
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5042
case $host_os in
 
5043
  cygwin* | mingw* | pw32* | cegcc*)
 
5044
    if test "$GCC" != yes; then
 
5045
      reload_cmds=false
 
5046
    fi
 
5047
    ;;
 
5048
  darwin*)
 
5049
    if test "$GCC" = yes; then
 
5050
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5051
    else
 
5052
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5053
    fi
 
5054
    ;;
 
5055
esac
 
5056
 
 
5057
    
 
5058
    
 
5059
    
 
5060
 
 
5061
    
 
5062
    
 
5063
    
 
5064
 
 
5065
if test -n "$ac_tool_prefix"; then
 
5066
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5067
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5069
$as_echo_n "checking for $ac_word... " >&6; }
 
5070
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
5071
  $as_echo_n "(cached) " >&6
 
5072
else
 
5073
  if test -n "$OBJDUMP"; then
 
5074
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5075
else
 
5076
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5077
for as_dir in $PATH
 
5078
do
 
5079
  IFS=$as_save_IFS
 
5080
  test -z "$as_dir" && as_dir=.
 
5081
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5082
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5083
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5084
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5085
    break 2
 
5086
  fi
 
5087
done
 
5088
  done
 
5089
IFS=$as_save_IFS
 
5090
 
 
5091
fi
 
5092
fi
 
5093
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5094
if test -n "$OBJDUMP"; then
 
5095
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5096
$as_echo "$OBJDUMP" >&6; }
 
5097
else
 
5098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5099
$as_echo "no" >&6; }
 
5100
fi
 
5101
 
 
5102
 
 
5103
fi
 
5104
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5105
  ac_ct_OBJDUMP=$OBJDUMP
 
5106
  # Extract the first word of "objdump", so it can be a program name with args.
 
5107
set dummy objdump; ac_word=$2
 
5108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5109
$as_echo_n "checking for $ac_word... " >&6; }
 
5110
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
5111
  $as_echo_n "(cached) " >&6
 
5112
else
 
5113
  if test -n "$ac_ct_OBJDUMP"; then
 
5114
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5115
else
 
5116
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5117
for as_dir in $PATH
 
5118
do
 
5119
  IFS=$as_save_IFS
 
5120
  test -z "$as_dir" && as_dir=.
 
5121
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5122
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5123
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5124
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5125
    break 2
 
5126
  fi
 
5127
done
 
5128
  done
 
5129
IFS=$as_save_IFS
 
5130
 
 
5131
fi
 
5132
fi
 
5133
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5134
if test -n "$ac_ct_OBJDUMP"; then
 
5135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5136
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5137
else
 
5138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5139
$as_echo "no" >&6; }
 
5140
fi
 
5141
 
 
5142
  if test "x$ac_ct_OBJDUMP" = x; then
 
5143
    OBJDUMP="false"
 
5144
  else
 
5145
    case $cross_compiling:$ac_tool_warned in
 
5146
yes:)
 
5147
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5148
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5149
ac_tool_warned=yes ;;
 
5150
esac
 
5151
    OBJDUMP=$ac_ct_OBJDUMP
 
5152
  fi
 
5153
else
 
5154
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5155
fi
 
5156
 
 
5157
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5158
 
 
5159
    
 
5160
    
 
5161
    
 
5162
 
 
5163
 
 
5164
 
 
5165
 
 
5166
 
 
5167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
5168
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
5169
if ${lt_cv_deplibs_check_method+:} false; then :
 
5170
  $as_echo_n "(cached) " >&6
 
5171
else
 
5172
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
5173
lt_cv_file_magic_test_file=
 
5174
lt_cv_deplibs_check_method='unknown'
 
5175
# Need to set the preceding variable on all platforms that support
 
5176
# interlibrary dependencies.
 
5177
# 'none' -- dependencies not supported.
 
5178
# `unknown' -- same as none, but documents that we really don't know.
 
5179
# 'pass_all' -- all dependencies passed with no checks.
 
5180
# 'test_compile' -- check by making test program.
 
5181
# 'file_magic [[regex]]' -- check by looking for files in library path
 
5182
# which responds to the $file_magic_cmd with a given extended regex.
 
5183
# If you have `file' or equivalent on your system and you're not sure
 
5184
# whether `pass_all' will *always* work, you probably want this one.
 
5185
 
 
5186
case $host_os in
 
5187
aix[4-9]*)
 
5188
  lt_cv_deplibs_check_method=pass_all
 
5189
  ;;
 
5190
 
 
5191
beos*)
 
5192
  lt_cv_deplibs_check_method=pass_all
 
5193
  ;;
 
5194
 
 
5195
bsdi[45]*)
 
5196
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
5197
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
5198
  lt_cv_file_magic_test_file=/shlib/libc.so
 
5199
  ;;
 
5200
 
 
5201
cygwin*)
 
5202
  # func_win32_libid is a shell function defined in ltmain.sh
 
5203
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5204
  lt_cv_file_magic_cmd='func_win32_libid'
 
5205
  ;;
 
5206
 
 
5207
mingw* | pw32*)
 
5208
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
5209
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5210
  # unless we find 'file', for example because we are cross-compiling.
 
5211
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5212
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
5213
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5214
    lt_cv_file_magic_cmd='func_win32_libid'
 
5215
  else
 
5216
    # Keep this pattern in sync with the one in func_win32_libid.
 
5217
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
5218
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5219
  fi
 
5220
  ;;
 
5221
 
 
5222
cegcc*)
 
5223
  # use the weaker test based on 'objdump'. See mingw*.
 
5224
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5225
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5226
  ;;
 
5227
 
 
5228
darwin* | rhapsody*)
 
5229
  lt_cv_deplibs_check_method=pass_all
 
5230
  ;;
 
5231
 
 
5232
freebsd* | dragonfly*)
 
5233
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5234
    case $host_cpu in
 
5235
    i*86 )
 
5236
      # Not sure whether the presence of OpenBSD here was a mistake.
 
5237
      # Let's accept both of them until this is cleared up.
 
5238
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
5239
      lt_cv_file_magic_cmd=/usr/bin/file
 
5240
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
5241
      ;;
 
5242
    esac
 
5243
  else
 
5244
    lt_cv_deplibs_check_method=pass_all
 
5245
  fi
 
5246
  ;;
 
5247
 
 
5248
haiku*)
 
5249
  lt_cv_deplibs_check_method=pass_all
 
5250
  ;;
 
5251
 
 
5252
hpux10.20* | hpux11*)
 
5253
  lt_cv_file_magic_cmd=/usr/bin/file
 
5254
  case $host_cpu in
 
5255
  ia64*)
 
5256
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
5257
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
5258
    ;;
 
5259
  hppa*64*)
 
5260
    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]'
 
5261
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
5262
    ;;
 
5263
  *)
 
5264
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
5265
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
5266
    ;;
 
5267
  esac
 
5268
  ;;
 
5269
 
 
5270
interix[3-9]*)
 
5271
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5272
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5273
  ;;
 
5274
 
 
5275
irix5* | irix6* | nonstopux*)
 
5276
  case $LD in
 
5277
  *-32|*"-32 ") libmagic=32-bit;;
 
5278
  *-n32|*"-n32 ") libmagic=N32;;
 
5279
  *-64|*"-64 ") libmagic=64-bit;;
 
5280
  *) libmagic=never-match;;
 
5281
  esac
 
5282
  lt_cv_deplibs_check_method=pass_all
 
5283
  ;;
 
5284
 
 
5285
# This must be glibc/ELF.
 
5286
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 
5287
  lt_cv_deplibs_check_method=pass_all
 
5288
  ;;
 
5289
 
 
5290
netbsd* | netbsdelf*-gnu)
 
5291
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5292
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5293
  else
 
5294
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
5295
  fi
 
5296
  ;;
 
5297
 
 
5298
newos6*)
 
5299
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
5300
  lt_cv_file_magic_cmd=/usr/bin/file
 
5301
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
5302
  ;;
 
5303
 
 
5304
*nto* | *qnx*)
 
5305
  lt_cv_deplibs_check_method=pass_all
 
5306
  ;;
 
5307
 
 
5308
openbsd*)
 
5309
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5310
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
5311
  else
 
5312
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5313
  fi
 
5314
  ;;
 
5315
 
 
5316
osf3* | osf4* | osf5*)
 
5317
  lt_cv_deplibs_check_method=pass_all
 
5318
  ;;
 
5319
 
 
5320
rdos*)
 
5321
  lt_cv_deplibs_check_method=pass_all
 
5322
  ;;
 
5323
 
 
5324
solaris*)
 
5325
  lt_cv_deplibs_check_method=pass_all
 
5326
  ;;
 
5327
 
 
5328
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5329
  lt_cv_deplibs_check_method=pass_all
 
5330
  ;;
 
5331
 
 
5332
sysv4 | sysv4.3*)
 
5333
  case $host_vendor in
 
5334
  motorola)
 
5335
    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]'
 
5336
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
5337
    ;;
 
5338
  ncr)
 
5339
    lt_cv_deplibs_check_method=pass_all
 
5340
    ;;
 
5341
  sequent)
 
5342
    lt_cv_file_magic_cmd='/bin/file'
 
5343
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
5344
    ;;
 
5345
  sni)
 
5346
    lt_cv_file_magic_cmd='/bin/file'
 
5347
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
5348
    lt_cv_file_magic_test_file=/lib/libc.so
 
5349
    ;;
 
5350
  siemens)
 
5351
    lt_cv_deplibs_check_method=pass_all
 
5352
    ;;
 
5353
  pc)
 
5354
    lt_cv_deplibs_check_method=pass_all
 
5355
    ;;
 
5356
  esac
 
5357
  ;;
 
5358
 
 
5359
tpf*)
 
5360
  lt_cv_deplibs_check_method=pass_all
 
5361
  ;;
 
5362
esac
 
5363
 
 
5364
fi
 
5365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
5366
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5367
 
 
5368
file_magic_glob=
 
5369
want_nocaseglob=no
 
5370
if test "$build" = "$host"; then
 
5371
  case $host_os in
 
5372
  mingw* | pw32*)
 
5373
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5374
      want_nocaseglob=yes
 
5375
    else
 
5376
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5377
    fi
 
5378
    ;;
 
5379
  esac
 
5380
fi
 
5381
 
 
5382
file_magic_cmd=$lt_cv_file_magic_cmd
 
5383
deplibs_check_method=$lt_cv_deplibs_check_method
 
5384
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
5385
 
 
5386
 
 
5387
    
 
5388
    
 
5389
    
 
5390
 
 
5391
 
 
5392
    
 
5393
    
 
5394
    
 
5395
 
 
5396
 
 
5397
    
 
5398
    
 
5399
    
 
5400
 
 
5401
 
 
5402
    
 
5403
    
 
5404
    
 
5405
 
 
5406
 
 
5407
if test -n "$ac_tool_prefix"; then
 
5408
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5409
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5411
$as_echo_n "checking for $ac_word... " >&6; }
 
5412
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5413
  $as_echo_n "(cached) " >&6
 
5414
else
 
5415
  if test -n "$DLLTOOL"; then
 
5416
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5417
else
 
5418
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5419
for as_dir in $PATH
 
5420
do
 
5421
  IFS=$as_save_IFS
 
5422
  test -z "$as_dir" && as_dir=.
 
5423
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5424
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5425
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5426
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5427
    break 2
 
5428
  fi
 
5429
done
 
5430
  done
 
5431
IFS=$as_save_IFS
 
5432
 
 
5433
fi
 
5434
fi
 
5435
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5436
if test -n "$DLLTOOL"; then
 
5437
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5438
$as_echo "$DLLTOOL" >&6; }
 
5439
else
 
5440
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5441
$as_echo "no" >&6; }
 
5442
fi
 
5443
 
 
5444
 
 
5445
fi
 
5446
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5447
  ac_ct_DLLTOOL=$DLLTOOL
 
5448
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5449
set dummy dlltool; ac_word=$2
 
5450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5451
$as_echo_n "checking for $ac_word... " >&6; }
 
5452
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5453
  $as_echo_n "(cached) " >&6
 
5454
else
 
5455
  if test -n "$ac_ct_DLLTOOL"; then
 
5456
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5457
else
 
5458
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5459
for as_dir in $PATH
 
5460
do
 
5461
  IFS=$as_save_IFS
 
5462
  test -z "$as_dir" && as_dir=.
 
5463
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5464
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5465
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5466
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5467
    break 2
 
5468
  fi
 
5469
done
 
5470
  done
 
5471
IFS=$as_save_IFS
 
5472
 
 
5473
fi
 
5474
fi
 
5475
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5476
if test -n "$ac_ct_DLLTOOL"; then
 
5477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5478
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5479
else
 
5480
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5481
$as_echo "no" >&6; }
 
5482
fi
 
5483
 
 
5484
  if test "x$ac_ct_DLLTOOL" = x; then
 
5485
    DLLTOOL="false"
 
5486
  else
 
5487
    case $cross_compiling:$ac_tool_warned in
 
5488
yes:)
 
5489
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5490
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5491
ac_tool_warned=yes ;;
 
5492
esac
 
5493
    DLLTOOL=$ac_ct_DLLTOOL
 
5494
  fi
 
5495
else
 
5496
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5497
fi
 
5498
 
 
5499
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5500
 
 
5501
    
 
5502
    
 
5503
    
 
5504
 
 
5505
 
 
5506
 
 
5507
 
 
5508
 
 
5509
 
 
5510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5511
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5512
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5513
  $as_echo_n "(cached) " >&6
 
5514
else
 
5515
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5516
 
 
5517
case $host_os in
 
5518
cygwin* | mingw* | pw32* | cegcc*)
 
5519
  # two different shell functions defined in ltmain.sh
 
5520
  # decide which to use based on capabilities of $DLLTOOL
 
5521
  case `$DLLTOOL --help 2>&1` in
 
5522
  *--identify-strict*)
 
5523
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5524
    ;;
 
5525
  *)
 
5526
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5527
    ;;
 
5528
  esac
 
5529
  ;;
 
5530
*)
 
5531
  # fallback: assume linklib IS sharedlib
 
5532
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5533
  ;;
 
5534
esac
 
5535
 
 
5536
fi
 
5537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5538
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5539
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5540
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5541
 
 
5542
 
 
5543
    
 
5544
    
 
5545
    
 
5546
 
 
5547
 
 
5548
 
 
5549
if test -n "$ac_tool_prefix"; then
 
5550
  for ac_prog in ar
 
5551
  do
 
5552
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5553
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5555
$as_echo_n "checking for $ac_word... " >&6; }
 
5556
if ${ac_cv_prog_AR+:} false; then :
 
5557
  $as_echo_n "(cached) " >&6
 
5558
else
 
5559
  if test -n "$AR"; then
 
5560
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5561
else
 
5562
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5563
for as_dir in $PATH
 
5564
do
 
5565
  IFS=$as_save_IFS
 
5566
  test -z "$as_dir" && as_dir=.
 
5567
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5568
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5569
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
5570
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5571
    break 2
 
5572
  fi
 
5573
done
 
5574
  done
 
5575
IFS=$as_save_IFS
 
5576
 
 
5577
fi
 
5578
fi
 
5579
AR=$ac_cv_prog_AR
 
5580
if test -n "$AR"; then
 
5581
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
5582
$as_echo "$AR" >&6; }
 
5583
else
 
5584
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5585
$as_echo "no" >&6; }
 
5586
fi
 
5587
 
 
5588
 
 
5589
    test -n "$AR" && break
 
5590
  done
 
5591
fi
 
5592
if test -z "$AR"; then
 
5593
  ac_ct_AR=$AR
 
5594
  for ac_prog in ar
 
5595
do
 
5596
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5597
set dummy $ac_prog; ac_word=$2
 
5598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5599
$as_echo_n "checking for $ac_word... " >&6; }
 
5600
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
5601
  $as_echo_n "(cached) " >&6
 
5602
else
 
5603
  if test -n "$ac_ct_AR"; then
 
5604
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5605
else
 
5606
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5607
for as_dir in $PATH
 
5608
do
 
5609
  IFS=$as_save_IFS
 
5610
  test -z "$as_dir" && as_dir=.
 
5611
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5612
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5613
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
5614
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5615
    break 2
 
5616
  fi
 
5617
done
 
5618
  done
 
5619
IFS=$as_save_IFS
 
5620
 
 
5621
fi
 
5622
fi
 
5623
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5624
if test -n "$ac_ct_AR"; then
 
5625
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
5626
$as_echo "$ac_ct_AR" >&6; }
 
5627
else
 
5628
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5629
$as_echo "no" >&6; }
 
5630
fi
 
5631
 
 
5632
 
 
5633
  test -n "$ac_ct_AR" && break
 
5634
done
 
5635
 
 
5636
  if test "x$ac_ct_AR" = x; then
 
5637
    AR="false"
 
5638
  else
 
5639
    case $cross_compiling:$ac_tool_warned in
 
5640
yes:)
 
5641
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5642
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5643
ac_tool_warned=yes ;;
 
5644
esac
 
5645
    AR=$ac_ct_AR
 
5646
  fi
 
5647
fi
 
5648
 
 
5649
: ${AR=ar}
 
5650
: ${AR_FLAGS=cru}
 
5651
 
 
5652
    
 
5653
    
 
5654
    
 
5655
 
 
5656
 
 
5657
    
 
5658
    
 
5659
    
 
5660
 
 
5661
 
 
5662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5663
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5664
if ${lt_cv_ar_at_file+:} false; then :
 
5665
  $as_echo_n "(cached) " >&6
 
5666
else
 
5667
  lt_cv_ar_at_file=no
 
5668
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5669
/* end confdefs.h.  */
 
5670
 
 
5671
int
 
5672
main ()
 
5673
{
 
5674
 
 
5675
  ;
 
5676
  return 0;
 
5677
}
 
5678
_ACEOF
 
5679
if ac_fn_c_try_compile "$LINENO"; then :
 
5680
  echo conftest.$ac_objext > conftest.lst
 
5681
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5682
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5683
  (eval $lt_ar_try) 2>&5
 
5684
  ac_status=$?
 
5685
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5686
  test $ac_status = 0; }
 
5687
      if test "$ac_status" -eq 0; then
 
5688
        # Ensure the archiver fails upon bogus file names.
 
5689
        rm -f conftest.$ac_objext libconftest.a
 
5690
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5691
  (eval $lt_ar_try) 2>&5
 
5692
  ac_status=$?
 
5693
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5694
  test $ac_status = 0; }
 
5695
        if test "$ac_status" -ne 0; then
 
5696
          lt_cv_ar_at_file=@
 
5697
        fi
 
5698
      fi
 
5699
      rm -f conftest.* libconftest.a
 
5700
     
 
5701
fi
 
5702
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5703
  
 
5704
fi
 
5705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5706
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5707
 
 
5708
if test "x$lt_cv_ar_at_file" = xno; then
 
5709
  archiver_list_spec=
 
5710
else
 
5711
  archiver_list_spec=$lt_cv_ar_at_file
 
5712
fi
 
5713
 
 
5714
    
 
5715
    
 
5716
    
 
5717
 
 
5718
 
 
5719
 
 
5720
if test -n "$ac_tool_prefix"; then
 
5721
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5722
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5724
$as_echo_n "checking for $ac_word... " >&6; }
 
5725
if ${ac_cv_prog_STRIP+:} false; then :
 
5726
  $as_echo_n "(cached) " >&6
 
5727
else
 
5728
  if test -n "$STRIP"; then
 
5729
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5730
else
 
5731
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5732
for as_dir in $PATH
 
5733
do
 
5734
  IFS=$as_save_IFS
 
5735
  test -z "$as_dir" && as_dir=.
 
5736
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5737
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5738
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5739
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5740
    break 2
 
5741
  fi
 
5742
done
 
5743
  done
 
5744
IFS=$as_save_IFS
 
5745
 
 
5746
fi
 
5747
fi
 
5748
STRIP=$ac_cv_prog_STRIP
 
5749
if test -n "$STRIP"; then
 
5750
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
5751
$as_echo "$STRIP" >&6; }
 
5752
else
 
5753
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5754
$as_echo "no" >&6; }
 
5755
fi
 
5756
 
 
5757
 
 
5758
fi
 
5759
if test -z "$ac_cv_prog_STRIP"; then
 
5760
  ac_ct_STRIP=$STRIP
 
5761
  # Extract the first word of "strip", so it can be a program name with args.
 
5762
set dummy strip; ac_word=$2
 
5763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5764
$as_echo_n "checking for $ac_word... " >&6; }
 
5765
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
5766
  $as_echo_n "(cached) " >&6
 
5767
else
 
5768
  if test -n "$ac_ct_STRIP"; then
 
5769
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5770
else
 
5771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5772
for as_dir in $PATH
 
5773
do
 
5774
  IFS=$as_save_IFS
 
5775
  test -z "$as_dir" && as_dir=.
 
5776
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5777
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5778
    ac_cv_prog_ac_ct_STRIP="strip"
 
5779
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5780
    break 2
 
5781
  fi
 
5782
done
 
5783
  done
 
5784
IFS=$as_save_IFS
 
5785
 
 
5786
fi
 
5787
fi
 
5788
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5789
if test -n "$ac_ct_STRIP"; then
 
5790
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
5791
$as_echo "$ac_ct_STRIP" >&6; }
 
5792
else
 
5793
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5794
$as_echo "no" >&6; }
 
5795
fi
 
5796
 
 
5797
  if test "x$ac_ct_STRIP" = x; then
 
5798
    STRIP=":"
 
5799
  else
 
5800
    case $cross_compiling:$ac_tool_warned in
 
5801
yes:)
 
5802
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5803
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5804
ac_tool_warned=yes ;;
 
5805
esac
 
5806
    STRIP=$ac_ct_STRIP
 
5807
  fi
 
5808
else
 
5809
  STRIP="$ac_cv_prog_STRIP"
 
5810
fi
 
5811
 
 
5812
test -z "$STRIP" && STRIP=:
 
5813
 
 
5814
    
 
5815
    
 
5816
    
 
5817
 
 
5818
 
 
5819
if test -n "$ac_tool_prefix"; then
 
5820
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5821
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5823
$as_echo_n "checking for $ac_word... " >&6; }
 
5824
if ${ac_cv_prog_RANLIB+:} false; then :
 
5825
  $as_echo_n "(cached) " >&6
 
5826
else
 
5827
  if test -n "$RANLIB"; then
 
5828
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5829
else
 
5830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5831
for as_dir in $PATH
 
5832
do
 
5833
  IFS=$as_save_IFS
 
5834
  test -z "$as_dir" && as_dir=.
 
5835
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5836
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5837
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5838
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5839
    break 2
 
5840
  fi
 
5841
done
 
5842
  done
 
5843
IFS=$as_save_IFS
 
5844
 
 
5845
fi
 
5846
fi
 
5847
RANLIB=$ac_cv_prog_RANLIB
 
5848
if test -n "$RANLIB"; then
 
5849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
5850
$as_echo "$RANLIB" >&6; }
 
5851
else
 
5852
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5853
$as_echo "no" >&6; }
 
5854
fi
 
5855
 
 
5856
 
 
5857
fi
 
5858
if test -z "$ac_cv_prog_RANLIB"; then
 
5859
  ac_ct_RANLIB=$RANLIB
 
5860
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5861
set dummy ranlib; ac_word=$2
 
5862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5863
$as_echo_n "checking for $ac_word... " >&6; }
 
5864
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
5865
  $as_echo_n "(cached) " >&6
 
5866
else
 
5867
  if test -n "$ac_ct_RANLIB"; then
 
5868
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5869
else
 
5870
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5871
for as_dir in $PATH
 
5872
do
 
5873
  IFS=$as_save_IFS
 
5874
  test -z "$as_dir" && as_dir=.
 
5875
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5876
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5877
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5878
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5879
    break 2
 
5880
  fi
 
5881
done
 
5882
  done
 
5883
IFS=$as_save_IFS
 
5884
 
 
5885
fi
 
5886
fi
 
5887
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5888
if test -n "$ac_ct_RANLIB"; then
 
5889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
5890
$as_echo "$ac_ct_RANLIB" >&6; }
 
5891
else
 
5892
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5893
$as_echo "no" >&6; }
 
5894
fi
 
5895
 
 
5896
  if test "x$ac_ct_RANLIB" = x; then
 
5897
    RANLIB=":"
 
5898
  else
 
5899
    case $cross_compiling:$ac_tool_warned in
 
5900
yes:)
 
5901
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5902
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5903
ac_tool_warned=yes ;;
 
5904
esac
 
5905
    RANLIB=$ac_ct_RANLIB
 
5906
  fi
 
5907
else
 
5908
  RANLIB="$ac_cv_prog_RANLIB"
 
5909
fi
 
5910
 
 
5911
test -z "$RANLIB" && RANLIB=:
 
5912
 
 
5913
    
 
5914
    
 
5915
    
 
5916
 
 
5917
 
 
5918
# Determine commands to create old-style static archives.
 
5919
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5920
old_postinstall_cmds='chmod 644 $oldlib'
 
5921
old_postuninstall_cmds=
 
5922
 
 
5923
if test -n "$RANLIB"; then
 
5924
  case $host_os in
 
5925
  openbsd*)
 
5926
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
5927
    ;;
 
5928
  *)
 
5929
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
5930
    ;;
 
5931
  esac
 
5932
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
5933
fi
 
5934
 
 
5935
case $host_os in
 
5936
  darwin*)
 
5937
    lock_old_archive_extraction=yes ;;
 
5938
  *)
 
5939
    lock_old_archive_extraction=no ;;
 
5940
esac
 
5941
 
 
5942
    
 
5943
    
 
5944
    
 
5945
 
 
5946
 
 
5947
    
 
5948
    
 
5949
    
 
5950
 
 
5951
 
 
5952
    
 
5953
    
 
5954
    
 
5955
 
 
5956
 
 
5957
    
 
5958
    
 
5959
    
 
5960
 
 
5961
 
 
5962
 
 
5963
 
 
5964
    
 
5965
    
 
5966
    
 
5967
 
 
5968
    
 
5969
    
 
5970
    
 
5971
 
 
5972
    
 
5973
    
 
5974
    
 
5975
 
 
5976
    
 
5977
    
 
5978
    
 
5979
 
 
5980
# If no C compiler was specified, use CC.
 
5981
LTCC=${LTCC-"$CC"}
 
5982
 
 
5983
# If no C compiler flags were specified, use CFLAGS.
 
5984
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
5985
 
 
5986
# Allow CC to be a program name with arguments.
 
5987
compiler=$CC
 
5988
 
 
5989
 
 
5990
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
5991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
5992
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
5993
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
5994
  $as_echo_n "(cached) " >&6
 
5995
else
 
5996
  
 
5997
# These are sane defaults that work on at least a few old systems.
 
5998
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
5999
 
 
6000
# Character class describing NM global symbol codes.
 
6001
symcode='[BCDEGRST]'
 
6002
 
 
6003
# Regexp to match symbols that can be accessed directly from C.
 
6004
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
6005
 
 
6006
# Define system-specific variables.
 
6007
case $host_os in
 
6008
aix*)
 
6009
  symcode='[BCDT]'
 
6010
  ;;
 
6011
cygwin* | mingw* | pw32* | cegcc*)
 
6012
  symcode='[ABCDGISTW]'
 
6013
  ;;
 
6014
hpux*)
 
6015
  if test "$host_cpu" = ia64; then
 
6016
    symcode='[ABCDEGRST]'
 
6017
  fi
 
6018
  ;;
 
6019
irix* | nonstopux*)
 
6020
  symcode='[BCDEGRST]'
 
6021
  ;;
 
6022
osf*)
 
6023
  symcode='[BCDEGQRST]'
 
6024
  ;;
 
6025
solaris*)
 
6026
  symcode='[BDRT]'
 
6027
  ;;
 
6028
sco3.2v5*)
 
6029
  symcode='[DT]'
 
6030
  ;;
 
6031
sysv4.2uw2*)
 
6032
  symcode='[DT]'
 
6033
  ;;
 
6034
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6035
  symcode='[ABDT]'
 
6036
  ;;
 
6037
sysv4)
 
6038
  symcode='[DFNSTU]'
 
6039
  ;;
 
6040
esac
 
6041
 
 
6042
# If we're using GNU nm, then use its standard symbol codes.
 
6043
case `$NM -V 2>&1` in
 
6044
*GNU* | *'with BFD'*)
 
6045
  symcode='[ABCDGIRSTW]' ;;
 
6046
esac
 
6047
 
 
6048
# Transform an extracted symbol line into a proper C declaration.
 
6049
# Some systems (esp. on ia64) link data and code symbols differently,
 
6050
# so use this general approach.
 
6051
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6052
 
 
6053
# Transform an extracted symbol line into symbol name and symbol address
 
6054
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6055
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'"
 
6056
 
 
6057
# Handle CRLF in mingw tool chain
 
6058
opt_cr=
 
6059
case $build_os in
 
6060
mingw*)
 
6061
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6062
  ;;
 
6063
esac
 
6064
 
 
6065
# Try without a prefix underscore, then with it.
 
6066
for ac_symprfx in "" "_"; do
 
6067
 
 
6068
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
6069
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
6070
 
 
6071
  # Write the raw and C identifiers.
 
6072
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6073
    # Fake it for dumpbin and say T for any non-static function
 
6074
    # and D for any global variable.
 
6075
    # Also find C++ and __fastcall symbols from MSVC++,
 
6076
    # which start with @ or ?.
 
6077
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6078
"     {last_section=section; section=\$ 3};"\
 
6079
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 
6080
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6081
"     \$ 0!~/External *\|/{next};"\
 
6082
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6083
"     {if(hide[section]) next};"\
 
6084
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6085
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6086
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6087
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6088
"     ' prfx=^$ac_symprfx"
 
6089
  else
 
6090
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6091
  fi
 
6092
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
6093
 
 
6094
  # Check to see that the pipe works correctly.
 
6095
  pipe_works=no
 
6096
 
 
6097
  rm -f conftest*
 
6098
  cat > conftest.$ac_ext <<_LT_EOF
 
6099
#ifdef __cplusplus
 
6100
extern "C" {
 
6101
#endif
 
6102
char nm_test_var;
 
6103
void nm_test_func(void);
 
6104
void nm_test_func(void){}
 
6105
#ifdef __cplusplus
 
6106
}
 
6107
#endif
 
6108
int main(){nm_test_var='a';nm_test_func();return(0);}
 
6109
_LT_EOF
 
6110
 
 
6111
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6112
  (eval $ac_compile) 2>&5
 
6113
  ac_status=$?
 
6114
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6115
  test $ac_status = 0; }; then
 
6116
    # Now try to grab the symbols.
 
6117
    nlist=conftest.nm
 
6118
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6119
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
6120
  ac_status=$?
 
6121
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6122
  test $ac_status = 0; } && test -s "$nlist"; then
 
6123
      # Try sorting and uniquifying the output.
 
6124
      if sort "$nlist" | uniq > "$nlist"T; then
 
6125
        mv -f "$nlist"T "$nlist"
 
6126
      else
 
6127
        rm -f "$nlist"T
 
6128
      fi
 
6129
 
 
6130
      # Make sure that we snagged all the symbols we need.
 
6131
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6132
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6133
          cat <<_LT_EOF > conftest.$ac_ext
 
6134
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6135
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6136
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6137
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6138
# define LT@&t@_DLSYM_CONST
 
6139
#elif defined(__osf__)
 
6140
/* This system does not cope well with relocations in const data.  */
 
6141
# define LT@&t@_DLSYM_CONST
 
6142
#else
 
6143
# define LT@&t@_DLSYM_CONST const
 
6144
#endif
 
6145
 
 
6146
#ifdef __cplusplus
 
6147
extern "C" {
 
6148
#endif
 
6149
 
 
6150
_LT_EOF
 
6151
          # Now generate the symbol file.
 
6152
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6153
 
 
6154
          cat <<_LT_EOF >> conftest.$ac_ext
 
6155
 
 
6156
/* The mapping between symbol names and symbols.  */
 
6157
LT@&t@_DLSYM_CONST struct {
 
6158
  const char *name;
 
6159
  void       *address;
 
6160
}
 
6161
lt__PROGRAM__LTX_preloaded_symbols[] =
 
6162
{
 
6163
  { "@PROGRAM@", (void *) 0 },
 
6164
_LT_EOF
 
6165
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6166
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6167
  {0, (void *) 0}
 
6168
};
 
6169
 
 
6170
/* This works around a problem in FreeBSD linker */
 
6171
#ifdef FREEBSD_WORKAROUND
 
6172
static const void *lt_preloaded_setup() {
 
6173
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6174
}
 
6175
#endif
 
6176
 
 
6177
#ifdef __cplusplus
 
6178
}
 
6179
#endif
 
6180
_LT_EOF
 
6181
          # Now try linking the two files.
 
6182
          mv conftest.$ac_objext conftstm.$ac_objext
 
6183
          lt_globsym_save_LIBS=$LIBS
 
6184
          lt_globsym_save_CFLAGS=$CFLAGS
 
6185
          LIBS="conftstm.$ac_objext"
 
6186
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
6187
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
6188
  (eval $ac_link) 2>&5
 
6189
  ac_status=$?
 
6190
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6191
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
6192
            pipe_works=yes
 
6193
          fi
 
6194
          LIBS=$lt_globsym_save_LIBS
 
6195
          CFLAGS=$lt_globsym_save_CFLAGS
 
6196
        else
 
6197
          echo "cannot find nm_test_func in $nlist" >&5
 
6198
        fi
 
6199
      else
 
6200
        echo "cannot find nm_test_var in $nlist" >&5
 
6201
      fi
 
6202
    else
 
6203
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
6204
    fi
 
6205
  else
 
6206
    echo "$progname: failed program was:" >&5
 
6207
    cat conftest.$ac_ext >&5
 
6208
  fi
 
6209
  rm -rf conftest* conftst*
 
6210
 
 
6211
  # Do not use the global_symbol_pipe unless it works.
 
6212
  if test "$pipe_works" = yes; then
 
6213
    break
 
6214
  else
 
6215
    lt_cv_sys_global_symbol_pipe=
 
6216
  fi
 
6217
done
 
6218
 
 
6219
fi
 
6220
 
 
6221
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
6222
  lt_cv_sys_global_symbol_to_cdecl=
 
6223
fi
 
6224
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
6225
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6226
$as_echo "failed" >&6; }
 
6227
else
 
6228
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6229
$as_echo "ok" >&6; }
 
6230
fi
 
6231
 
 
6232
# Response file support.
 
6233
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6234
  nm_file_list_spec='@'
 
6235
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6236
  nm_file_list_spec='@'
 
6237
fi
 
6238
 
 
6239
 
 
6240
    
 
6241
    
 
6242
    
 
6243
 
 
6244
 
 
6245
    
 
6246
    
 
6247
    
 
6248
 
 
6249
 
 
6250
    
 
6251
    
 
6252
    
 
6253
 
 
6254
 
 
6255
    
 
6256
    
 
6257
    
 
6258
 
 
6259
 
 
6260
    
 
6261
    
 
6262
    
 
6263
 
 
6264
 
 
6265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6266
$as_echo_n "checking for sysroot... " >&6; }
 
6267
 
 
6268
@%:@ Check whether --with-sysroot was given.
 
6269
if test "${with_sysroot+set}" = set; then :
 
6270
  withval=$with_sysroot; 
 
6271
else
 
6272
  with_sysroot=no
 
6273
fi
 
6274
 
 
6275
 
 
6276
lt_sysroot=
 
6277
case ${with_sysroot} in #(
 
6278
 yes)
 
6279
   if test "$GCC" = yes; then
 
6280
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6281
   fi
 
6282
   ;; #(
 
6283
 /*)
 
6284
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6285
   ;; #(
 
6286
 no|'')
 
6287
   ;; #(
 
6288
 *)
 
6289
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6290
$as_echo "${with_sysroot}" >&6; }
 
6291
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6292
   ;;
 
6293
esac
 
6294
 
 
6295
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6296
$as_echo "${lt_sysroot:-no}" >&6; }
 
6297
 
 
6298
    
 
6299
    
 
6300
    
 
6301
 
 
6302
@%:@ Check whether --enable-libtool-lock was given.
 
6303
if test "${enable_libtool_lock+set}" = set; then :
 
6304
  enableval=$enable_libtool_lock; 
 
6305
fi
 
6306
 
 
6307
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6308
 
 
6309
# Some flags need to be propagated to the compiler or linker for good
 
6310
# libtool support.
 
6311
case $host in
 
6312
ia64-*-hpux*)
 
6313
  # Find out which ABI we are using.
 
6314
  echo 'int i;' > conftest.$ac_ext
 
6315
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6316
  (eval $ac_compile) 2>&5
 
6317
  ac_status=$?
 
6318
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6319
  test $ac_status = 0; }; then
 
6320
    case `/usr/bin/file conftest.$ac_objext` in
 
6321
      *ELF-32*)
 
6322
        HPUX_IA64_MODE="32"
 
6323
        ;;
 
6324
      *ELF-64*)
 
6325
        HPUX_IA64_MODE="64"
 
6326
        ;;
 
6327
    esac
 
6328
  fi
 
6329
  rm -rf conftest*
 
6330
  ;;
 
6331
*-*-irix6*)
 
6332
  # Find out which ABI we are using.
 
6333
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
6334
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6335
  (eval $ac_compile) 2>&5
 
6336
  ac_status=$?
 
6337
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6338
  test $ac_status = 0; }; then
 
6339
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6340
      case `/usr/bin/file conftest.$ac_objext` in
 
6341
        *32-bit*)
 
6342
          LD="${LD-ld} -melf32bsmip"
 
6343
          ;;
 
6344
        *N32*)
 
6345
          LD="${LD-ld} -melf32bmipn32"
 
6346
          ;;
 
6347
        *64-bit*)
 
6348
          LD="${LD-ld} -melf64bmip"
 
6349
        ;;
 
6350
      esac
 
6351
    else
 
6352
      case `/usr/bin/file conftest.$ac_objext` in
 
6353
        *32-bit*)
 
6354
          LD="${LD-ld} -32"
 
6355
          ;;
 
6356
        *N32*)
 
6357
          LD="${LD-ld} -n32"
 
6358
          ;;
 
6359
        *64-bit*)
 
6360
          LD="${LD-ld} -64"
 
6361
          ;;
 
6362
      esac
 
6363
    fi
 
6364
  fi
 
6365
  rm -rf conftest*
 
6366
  ;;
 
6367
 
 
6368
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 
6369
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6370
  # Find out which ABI we are using.
 
6371
  echo 'int i;' > conftest.$ac_ext
 
6372
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6373
  (eval $ac_compile) 2>&5
 
6374
  ac_status=$?
 
6375
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6376
  test $ac_status = 0; }; then
 
6377
    case `/usr/bin/file conftest.o` in
 
6378
      *32-bit*)
 
6379
        case $host in
 
6380
          x86_64-*kfreebsd*-gnu)
 
6381
            LD="${LD-ld} -m elf_i386_fbsd"
 
6382
            ;;
 
6383
          x86_64-*linux*)
 
6384
            case `/usr/bin/file conftest.o` in
 
6385
              *x86-64*)
 
6386
                LD="${LD-ld} -m elf32_x86_64"
 
6387
                ;;
 
6388
              *)
 
6389
                LD="${LD-ld} -m elf_i386"
 
6390
                ;;
 
6391
            esac
 
6392
            ;;
 
6393
          powerpc64le-*)
 
6394
            LD="${LD-ld} -m elf32lppclinux"
 
6395
            ;;
 
6396
          powerpc64-*)
 
6397
            LD="${LD-ld} -m elf32ppclinux"
 
6398
            ;;
 
6399
          s390x-*linux*)
 
6400
            LD="${LD-ld} -m elf_s390"
 
6401
            ;;
 
6402
          sparc64-*linux*)
 
6403
            LD="${LD-ld} -m elf32_sparc"
 
6404
            ;;
 
6405
        esac
 
6406
        ;;
 
6407
      *64-bit*)
 
6408
        case $host in
 
6409
          x86_64-*kfreebsd*-gnu)
 
6410
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6411
            ;;
 
6412
          x86_64-*linux*)
 
6413
            LD="${LD-ld} -m elf_x86_64"
 
6414
            ;;
 
6415
          powerpcle-*)
 
6416
            LD="${LD-ld} -m elf64lppc"
 
6417
            ;;
 
6418
          powerpc-*)
 
6419
            LD="${LD-ld} -m elf64ppc"
 
6420
            ;;
 
6421
          s390*-*linux*|s390*-*tpf*)
 
6422
            LD="${LD-ld} -m elf64_s390"
 
6423
            ;;
 
6424
          sparc*-*linux*)
 
6425
            LD="${LD-ld} -m elf64_sparc"
 
6426
            ;;
 
6427
        esac
 
6428
        ;;
 
6429
    esac
 
6430
  fi
 
6431
  rm -rf conftest*
 
6432
  ;;
 
6433
 
 
6434
*-*-sco3.2v5*)
 
6435
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6436
  SAVE_CFLAGS="$CFLAGS"
 
6437
  CFLAGS="$CFLAGS -belf"
 
6438
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6439
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6440
if ${lt_cv_cc_needs_belf+:} false; then :
 
6441
  $as_echo_n "(cached) " >&6
 
6442
else
 
6443
  ac_ext=c
 
6444
ac_cpp='$CPP $CPPFLAGS'
 
6445
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6446
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6447
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6448
 
 
6449
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6450
/* end confdefs.h.  */
 
6451
 
 
6452
int
 
6453
main ()
 
6454
{
 
6455
 
 
6456
  ;
 
6457
  return 0;
 
6458
}
 
6459
_ACEOF
 
6460
if ac_fn_c_try_link "$LINENO"; then :
 
6461
  lt_cv_cc_needs_belf=yes
 
6462
else
 
6463
  lt_cv_cc_needs_belf=no
 
6464
fi
 
6465
rm -f core conftest.err conftest.$ac_objext \
 
6466
    conftest$ac_exeext conftest.$ac_ext
 
6467
     ac_ext=c
 
6468
ac_cpp='$CPP $CPPFLAGS'
 
6469
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6470
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6471
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6472
 
 
6473
fi
 
6474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
6475
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6476
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6477
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6478
    CFLAGS="$SAVE_CFLAGS"
 
6479
  fi
 
6480
  ;;
 
6481
*-*solaris*)
 
6482
  # Find out which ABI we are using.
 
6483
  echo 'int i;' > conftest.$ac_ext
 
6484
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6485
  (eval $ac_compile) 2>&5
 
6486
  ac_status=$?
 
6487
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6488
  test $ac_status = 0; }; then
 
6489
    case `/usr/bin/file conftest.o` in
 
6490
    *64-bit*)
 
6491
      case $lt_cv_prog_gnu_ld in
 
6492
      yes*)
 
6493
        case $host in
 
6494
        i?86-*-solaris*)
 
6495
          LD="${LD-ld} -m elf_x86_64"
 
6496
          ;;
 
6497
        sparc*-*-solaris*)
 
6498
          LD="${LD-ld} -m elf64_sparc"
 
6499
          ;;
 
6500
        esac
 
6501
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6502
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6503
          LD="${LD-ld}_sol2"
 
6504
        fi
 
6505
        ;;
 
6506
      *)
 
6507
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6508
          LD="${LD-ld} -64"
 
6509
        fi
 
6510
        ;;
 
6511
      esac
 
6512
      ;;
 
6513
    esac
 
6514
  fi
 
6515
  rm -rf conftest*
 
6516
  ;;
 
6517
esac
 
6518
 
 
6519
need_locks="$enable_libtool_lock"
 
6520
 
 
6521
if test -n "$ac_tool_prefix"; then
 
6522
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6523
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6525
$as_echo_n "checking for $ac_word... " >&6; }
 
6526
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6527
  $as_echo_n "(cached) " >&6
 
6528
else
 
6529
  if test -n "$MANIFEST_TOOL"; then
 
6530
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6531
else
 
6532
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6533
for as_dir in $PATH
 
6534
do
 
6535
  IFS=$as_save_IFS
 
6536
  test -z "$as_dir" && as_dir=.
 
6537
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6538
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6539
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6540
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6541
    break 2
 
6542
  fi
 
6543
done
 
6544
  done
 
6545
IFS=$as_save_IFS
 
6546
 
 
6547
fi
 
6548
fi
 
6549
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6550
if test -n "$MANIFEST_TOOL"; then
 
6551
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6552
$as_echo "$MANIFEST_TOOL" >&6; }
 
6553
else
 
6554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6555
$as_echo "no" >&6; }
 
6556
fi
 
6557
 
 
6558
 
 
6559
fi
 
6560
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6561
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6562
  # Extract the first word of "mt", so it can be a program name with args.
 
6563
set dummy mt; ac_word=$2
 
6564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6565
$as_echo_n "checking for $ac_word... " >&6; }
 
6566
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6567
  $as_echo_n "(cached) " >&6
 
6568
else
 
6569
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6570
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6571
else
 
6572
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6573
for as_dir in $PATH
 
6574
do
 
6575
  IFS=$as_save_IFS
 
6576
  test -z "$as_dir" && as_dir=.
 
6577
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6578
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6579
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6580
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6581
    break 2
 
6582
  fi
 
6583
done
 
6584
  done
 
6585
IFS=$as_save_IFS
 
6586
 
 
6587
fi
 
6588
fi
 
6589
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6590
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6592
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6593
else
 
6594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6595
$as_echo "no" >&6; }
 
6596
fi
 
6597
 
 
6598
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6599
    MANIFEST_TOOL=":"
 
6600
  else
 
6601
    case $cross_compiling:$ac_tool_warned in
 
6602
yes:)
 
6603
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6604
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6605
ac_tool_warned=yes ;;
 
6606
esac
 
6607
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6608
  fi
 
6609
else
 
6610
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6611
fi
 
6612
 
 
6613
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6615
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6616
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6617
  $as_echo_n "(cached) " >&6
 
6618
else
 
6619
  lt_cv_path_mainfest_tool=no
 
6620
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6621
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6622
  cat conftest.err >&5
 
6623
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6624
    lt_cv_path_mainfest_tool=yes
 
6625
  fi
 
6626
  rm -f conftest*
 
6627
fi
 
6628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6629
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6630
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6631
  MANIFEST_TOOL=:
 
6632
fi
 
6633
 
 
6634
    
 
6635
    
 
6636
    
 
6637
 
 
6638
 
 
6639
  case $host_os in
 
6640
    rhapsody* | darwin*)
 
6641
    if test -n "$ac_tool_prefix"; then
 
6642
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6643
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6645
$as_echo_n "checking for $ac_word... " >&6; }
 
6646
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
6647
  $as_echo_n "(cached) " >&6
 
6648
else
 
6649
  if test -n "$DSYMUTIL"; then
 
6650
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6651
else
 
6652
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6653
for as_dir in $PATH
 
6654
do
 
6655
  IFS=$as_save_IFS
 
6656
  test -z "$as_dir" && as_dir=.
 
6657
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6658
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6659
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6660
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6661
    break 2
 
6662
  fi
 
6663
done
 
6664
  done
 
6665
IFS=$as_save_IFS
 
6666
 
 
6667
fi
 
6668
fi
 
6669
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6670
if test -n "$DSYMUTIL"; then
 
6671
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
6672
$as_echo "$DSYMUTIL" >&6; }
 
6673
else
 
6674
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6675
$as_echo "no" >&6; }
 
6676
fi
 
6677
 
 
6678
 
 
6679
fi
 
6680
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6681
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6682
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6683
set dummy dsymutil; ac_word=$2
 
6684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6685
$as_echo_n "checking for $ac_word... " >&6; }
 
6686
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
6687
  $as_echo_n "(cached) " >&6
 
6688
else
 
6689
  if test -n "$ac_ct_DSYMUTIL"; then
 
6690
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6691
else
 
6692
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6693
for as_dir in $PATH
 
6694
do
 
6695
  IFS=$as_save_IFS
 
6696
  test -z "$as_dir" && as_dir=.
 
6697
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6698
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6699
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
6700
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6701
    break 2
 
6702
  fi
 
6703
done
 
6704
  done
 
6705
IFS=$as_save_IFS
 
6706
 
 
6707
fi
 
6708
fi
 
6709
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
6710
if test -n "$ac_ct_DSYMUTIL"; then
 
6711
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
6712
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
6713
else
 
6714
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6715
$as_echo "no" >&6; }
 
6716
fi
 
6717
 
 
6718
  if test "x$ac_ct_DSYMUTIL" = x; then
 
6719
    DSYMUTIL=":"
 
6720
  else
 
6721
    case $cross_compiling:$ac_tool_warned in
 
6722
yes:)
 
6723
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6724
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6725
ac_tool_warned=yes ;;
 
6726
esac
 
6727
    DSYMUTIL=$ac_ct_DSYMUTIL
 
6728
  fi
 
6729
else
 
6730
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
6731
fi
 
6732
 
 
6733
    if test -n "$ac_tool_prefix"; then
 
6734
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
6735
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
6736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6737
$as_echo_n "checking for $ac_word... " >&6; }
 
6738
if ${ac_cv_prog_NMEDIT+:} false; then :
 
6739
  $as_echo_n "(cached) " >&6
 
6740
else
 
6741
  if test -n "$NMEDIT"; then
 
6742
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
6743
else
 
6744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6745
for as_dir in $PATH
 
6746
do
 
6747
  IFS=$as_save_IFS
 
6748
  test -z "$as_dir" && as_dir=.
 
6749
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6750
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6751
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
6752
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6753
    break 2
 
6754
  fi
 
6755
done
 
6756
  done
 
6757
IFS=$as_save_IFS
 
6758
 
 
6759
fi
 
6760
fi
 
6761
NMEDIT=$ac_cv_prog_NMEDIT
 
6762
if test -n "$NMEDIT"; then
 
6763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
6764
$as_echo "$NMEDIT" >&6; }
 
6765
else
 
6766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6767
$as_echo "no" >&6; }
 
6768
fi
 
6769
 
 
6770
 
 
6771
fi
 
6772
if test -z "$ac_cv_prog_NMEDIT"; then
 
6773
  ac_ct_NMEDIT=$NMEDIT
 
6774
  # Extract the first word of "nmedit", so it can be a program name with args.
 
6775
set dummy nmedit; ac_word=$2
 
6776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6777
$as_echo_n "checking for $ac_word... " >&6; }
 
6778
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
6779
  $as_echo_n "(cached) " >&6
 
6780
else
 
6781
  if test -n "$ac_ct_NMEDIT"; then
 
6782
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
6783
else
 
6784
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6785
for as_dir in $PATH
 
6786
do
 
6787
  IFS=$as_save_IFS
 
6788
  test -z "$as_dir" && as_dir=.
 
6789
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6790
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6791
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
6792
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6793
    break 2
 
6794
  fi
 
6795
done
 
6796
  done
 
6797
IFS=$as_save_IFS
 
6798
 
 
6799
fi
 
6800
fi
 
6801
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
6802
if test -n "$ac_ct_NMEDIT"; then
 
6803
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
6804
$as_echo "$ac_ct_NMEDIT" >&6; }
 
6805
else
 
6806
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6807
$as_echo "no" >&6; }
 
6808
fi
 
6809
 
 
6810
  if test "x$ac_ct_NMEDIT" = x; then
 
6811
    NMEDIT=":"
 
6812
  else
 
6813
    case $cross_compiling:$ac_tool_warned in
 
6814
yes:)
 
6815
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6816
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6817
ac_tool_warned=yes ;;
 
6818
esac
 
6819
    NMEDIT=$ac_ct_NMEDIT
 
6820
  fi
 
6821
else
 
6822
  NMEDIT="$ac_cv_prog_NMEDIT"
 
6823
fi
 
6824
 
 
6825
    if test -n "$ac_tool_prefix"; then
 
6826
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6827
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6829
$as_echo_n "checking for $ac_word... " >&6; }
 
6830
if ${ac_cv_prog_LIPO+:} false; then :
 
6831
  $as_echo_n "(cached) " >&6
 
6832
else
 
6833
  if test -n "$LIPO"; then
 
6834
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6835
else
 
6836
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6837
for as_dir in $PATH
 
6838
do
 
6839
  IFS=$as_save_IFS
 
6840
  test -z "$as_dir" && as_dir=.
 
6841
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6842
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6843
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6844
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6845
    break 2
 
6846
  fi
 
6847
done
 
6848
  done
 
6849
IFS=$as_save_IFS
 
6850
 
 
6851
fi
 
6852
fi
 
6853
LIPO=$ac_cv_prog_LIPO
 
6854
if test -n "$LIPO"; then
 
6855
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
6856
$as_echo "$LIPO" >&6; }
 
6857
else
 
6858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6859
$as_echo "no" >&6; }
 
6860
fi
 
6861
 
 
6862
 
 
6863
fi
 
6864
if test -z "$ac_cv_prog_LIPO"; then
 
6865
  ac_ct_LIPO=$LIPO
 
6866
  # Extract the first word of "lipo", so it can be a program name with args.
 
6867
set dummy lipo; ac_word=$2
 
6868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6869
$as_echo_n "checking for $ac_word... " >&6; }
 
6870
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
6871
  $as_echo_n "(cached) " >&6
 
6872
else
 
6873
  if test -n "$ac_ct_LIPO"; then
 
6874
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6875
else
 
6876
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6877
for as_dir in $PATH
 
6878
do
 
6879
  IFS=$as_save_IFS
 
6880
  test -z "$as_dir" && as_dir=.
 
6881
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6882
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6883
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6884
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6885
    break 2
 
6886
  fi
 
6887
done
 
6888
  done
 
6889
IFS=$as_save_IFS
 
6890
 
 
6891
fi
 
6892
fi
 
6893
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6894
if test -n "$ac_ct_LIPO"; then
 
6895
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
6896
$as_echo "$ac_ct_LIPO" >&6; }
 
6897
else
 
6898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6899
$as_echo "no" >&6; }
 
6900
fi
 
6901
 
 
6902
  if test "x$ac_ct_LIPO" = x; then
 
6903
    LIPO=":"
 
6904
  else
 
6905
    case $cross_compiling:$ac_tool_warned in
 
6906
yes:)
 
6907
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6908
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6909
ac_tool_warned=yes ;;
 
6910
esac
 
6911
    LIPO=$ac_ct_LIPO
 
6912
  fi
 
6913
else
 
6914
  LIPO="$ac_cv_prog_LIPO"
 
6915
fi
 
6916
 
 
6917
    if test -n "$ac_tool_prefix"; then
 
6918
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6919
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6921
$as_echo_n "checking for $ac_word... " >&6; }
 
6922
if ${ac_cv_prog_OTOOL+:} false; then :
 
6923
  $as_echo_n "(cached) " >&6
 
6924
else
 
6925
  if test -n "$OTOOL"; then
 
6926
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6927
else
 
6928
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6929
for as_dir in $PATH
 
6930
do
 
6931
  IFS=$as_save_IFS
 
6932
  test -z "$as_dir" && as_dir=.
 
6933
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6934
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6935
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6936
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6937
    break 2
 
6938
  fi
 
6939
done
 
6940
  done
 
6941
IFS=$as_save_IFS
 
6942
 
 
6943
fi
 
6944
fi
 
6945
OTOOL=$ac_cv_prog_OTOOL
 
6946
if test -n "$OTOOL"; then
 
6947
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
6948
$as_echo "$OTOOL" >&6; }
 
6949
else
 
6950
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6951
$as_echo "no" >&6; }
 
6952
fi
 
6953
 
 
6954
 
 
6955
fi
 
6956
if test -z "$ac_cv_prog_OTOOL"; then
 
6957
  ac_ct_OTOOL=$OTOOL
 
6958
  # Extract the first word of "otool", so it can be a program name with args.
 
6959
set dummy otool; ac_word=$2
 
6960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6961
$as_echo_n "checking for $ac_word... " >&6; }
 
6962
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
6963
  $as_echo_n "(cached) " >&6
 
6964
else
 
6965
  if test -n "$ac_ct_OTOOL"; then
 
6966
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6967
else
 
6968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6969
for as_dir in $PATH
 
6970
do
 
6971
  IFS=$as_save_IFS
 
6972
  test -z "$as_dir" && as_dir=.
 
6973
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6974
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6975
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6976
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6977
    break 2
 
6978
  fi
 
6979
done
 
6980
  done
 
6981
IFS=$as_save_IFS
 
6982
 
 
6983
fi
 
6984
fi
 
6985
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6986
if test -n "$ac_ct_OTOOL"; then
 
6987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
6988
$as_echo "$ac_ct_OTOOL" >&6; }
 
6989
else
 
6990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6991
$as_echo "no" >&6; }
 
6992
fi
 
6993
 
 
6994
  if test "x$ac_ct_OTOOL" = x; then
 
6995
    OTOOL=":"
 
6996
  else
 
6997
    case $cross_compiling:$ac_tool_warned in
 
6998
yes:)
 
6999
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7000
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7001
ac_tool_warned=yes ;;
 
7002
esac
 
7003
    OTOOL=$ac_ct_OTOOL
 
7004
  fi
 
7005
else
 
7006
  OTOOL="$ac_cv_prog_OTOOL"
 
7007
fi
 
7008
 
 
7009
    if test -n "$ac_tool_prefix"; then
 
7010
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7011
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7013
$as_echo_n "checking for $ac_word... " >&6; }
 
7014
if ${ac_cv_prog_OTOOL64+:} false; then :
 
7015
  $as_echo_n "(cached) " >&6
 
7016
else
 
7017
  if test -n "$OTOOL64"; then
 
7018
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7019
else
 
7020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7021
for as_dir in $PATH
 
7022
do
 
7023
  IFS=$as_save_IFS
 
7024
  test -z "$as_dir" && as_dir=.
 
7025
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7026
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7027
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7028
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7029
    break 2
 
7030
  fi
 
7031
done
 
7032
  done
 
7033
IFS=$as_save_IFS
 
7034
 
 
7035
fi
 
7036
fi
 
7037
OTOOL64=$ac_cv_prog_OTOOL64
 
7038
if test -n "$OTOOL64"; then
 
7039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7040
$as_echo "$OTOOL64" >&6; }
 
7041
else
 
7042
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7043
$as_echo "no" >&6; }
 
7044
fi
 
7045
 
 
7046
 
 
7047
fi
 
7048
if test -z "$ac_cv_prog_OTOOL64"; then
 
7049
  ac_ct_OTOOL64=$OTOOL64
 
7050
  # Extract the first word of "otool64", so it can be a program name with args.
 
7051
set dummy otool64; ac_word=$2
 
7052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7053
$as_echo_n "checking for $ac_word... " >&6; }
 
7054
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
7055
  $as_echo_n "(cached) " >&6
 
7056
else
 
7057
  if test -n "$ac_ct_OTOOL64"; then
 
7058
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7059
else
 
7060
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7061
for as_dir in $PATH
 
7062
do
 
7063
  IFS=$as_save_IFS
 
7064
  test -z "$as_dir" && as_dir=.
 
7065
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7066
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7067
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7068
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7069
    break 2
 
7070
  fi
 
7071
done
 
7072
  done
 
7073
IFS=$as_save_IFS
 
7074
 
 
7075
fi
 
7076
fi
 
7077
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7078
if test -n "$ac_ct_OTOOL64"; then
 
7079
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7080
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7081
else
 
7082
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7083
$as_echo "no" >&6; }
 
7084
fi
 
7085
 
 
7086
  if test "x$ac_ct_OTOOL64" = x; then
 
7087
    OTOOL64=":"
 
7088
  else
 
7089
    case $cross_compiling:$ac_tool_warned in
 
7090
yes:)
 
7091
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7092
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7093
ac_tool_warned=yes ;;
 
7094
esac
 
7095
    OTOOL64=$ac_ct_OTOOL64
 
7096
  fi
 
7097
else
 
7098
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7099
fi
 
7100
 
 
7101
    
 
7102
    
 
7103
    
 
7104
    
 
7105
 
 
7106
    
 
7107
    
 
7108
    
 
7109
    
 
7110
 
 
7111
    
 
7112
    
 
7113
    
 
7114
    
 
7115
 
 
7116
    
 
7117
    
 
7118
    
 
7119
    
 
7120
 
 
7121
    
 
7122
    
 
7123
    
 
7124
    
 
7125
 
 
7126
 
 
7127
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7128
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7129
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
7130
  $as_echo_n "(cached) " >&6
 
7131
else
 
7132
  lt_cv_apple_cc_single_mod=no
 
7133
      if test -z "${LT_MULTI_MODULE}"; then
 
7134
        # By default we will add the -single_module flag. You can override
 
7135
        # by either setting the environment variable LT_MULTI_MODULE
 
7136
        # non-empty at configure time, or by adding -multi_module to the
 
7137
        # link flags.
 
7138
        rm -rf libconftest.dylib*
 
7139
        echo "int foo(void){return 1;}" > conftest.c
 
7140
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7141
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7142
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7143
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7144
        _lt_result=$?
 
7145
        # If there is a non-empty error log, and "single_module"
 
7146
        # appears in it, assume the flag caused a linker warning
 
7147
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7148
          cat conftest.err >&5
 
7149
        # Otherwise, if the output was created with a 0 exit code from
 
7150
        # the compiler, it worked.
 
7151
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
7152
          lt_cv_apple_cc_single_mod=yes
 
7153
        else
 
7154
          cat conftest.err >&5
 
7155
        fi
 
7156
        rm -rf libconftest.dylib*
 
7157
        rm -f conftest.*
 
7158
      fi
 
7159
fi
 
7160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7161
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7162
 
 
7163
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7164
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7165
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
7166
  $as_echo_n "(cached) " >&6
 
7167
else
 
7168
  lt_cv_ld_exported_symbols_list=no
 
7169
      save_LDFLAGS=$LDFLAGS
 
7170
      echo "_main" > conftest.sym
 
7171
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7172
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7173
/* end confdefs.h.  */
 
7174
 
 
7175
int
 
7176
main ()
 
7177
{
 
7178
 
 
7179
  ;
 
7180
  return 0;
 
7181
}
 
7182
_ACEOF
 
7183
if ac_fn_c_try_link "$LINENO"; then :
 
7184
  lt_cv_ld_exported_symbols_list=yes
 
7185
else
 
7186
  lt_cv_ld_exported_symbols_list=no
 
7187
fi
 
7188
rm -f core conftest.err conftest.$ac_objext \
 
7189
    conftest$ac_exeext conftest.$ac_ext
 
7190
        LDFLAGS="$save_LDFLAGS"
 
7191
    
 
7192
fi
 
7193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7194
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7195
 
 
7196
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7197
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7198
if ${lt_cv_ld_force_load+:} false; then :
 
7199
  $as_echo_n "(cached) " >&6
 
7200
else
 
7201
  lt_cv_ld_force_load=no
 
7202
      cat > conftest.c << _LT_EOF
 
7203
int forced_loaded() { return 2;}
 
7204
_LT_EOF
 
7205
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7206
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7207
      echo "$AR cru libconftest.a conftest.o" >&5
 
7208
      $AR cru libconftest.a conftest.o 2>&5
 
7209
      echo "$RANLIB libconftest.a" >&5
 
7210
      $RANLIB libconftest.a 2>&5
 
7211
      cat > conftest.c << _LT_EOF
 
7212
int main() { return 0;}
 
7213
_LT_EOF
 
7214
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7215
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7216
      _lt_result=$?
 
7217
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7218
        cat conftest.err >&5
 
7219
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
7220
        lt_cv_ld_force_load=yes
 
7221
      else
 
7222
        cat conftest.err >&5
 
7223
      fi
 
7224
        rm -f conftest.err libconftest.a conftest conftest.c
 
7225
        rm -rf conftest.dSYM
 
7226
    
 
7227
fi
 
7228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7229
$as_echo "$lt_cv_ld_force_load" >&6; }
 
7230
    case $host_os in
 
7231
    rhapsody* | darwin1.[012])
 
7232
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7233
    darwin1.*)
 
7234
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7235
    darwin*) # darwin 5.x on
 
7236
      # if running on 10.5 or later, the deployment target defaults
 
7237
      # to the OS version, if on x86, and 10.4, the deployment
 
7238
      # target defaults to 10.4. Don't you love it?
 
7239
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7240
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7241
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7242
        10.[012]*)
 
7243
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7244
        10.*)
 
7245
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7246
      esac
 
7247
    ;;
 
7248
  esac
 
7249
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7250
      _lt_dar_single_mod='$single_module'
 
7251
    fi
 
7252
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7253
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7254
    else
 
7255
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7256
    fi
 
7257
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
7258
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
7259
    else
 
7260
      _lt_dsymutil=
 
7261
    fi
 
7262
    ;;
 
7263
  esac
 
7264
 
 
7265
ac_ext=c
 
7266
ac_cpp='$CPP $CPPFLAGS'
 
7267
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7268
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7269
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
7271
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
7272
# On Suns, sometimes $CPP names a directory.
 
7273
if test -n "$CPP" && test -d "$CPP"; then
 
7274
  CPP=
 
7275
fi
 
7276
if test -z "$CPP"; then
 
7277
  if ${ac_cv_prog_CPP+:} false; then :
 
7278
  $as_echo_n "(cached) " >&6
 
7279
else
 
7280
      # Double quotes because CPP needs to be expanded
 
7281
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
7282
    do
 
7283
      ac_preproc_ok=false
 
7284
for ac_c_preproc_warn_flag in '' yes
 
7285
do
 
7286
  # Use a header file that comes with gcc, so configuring glibc
 
7287
  # with a fresh cross-compiler works.
 
7288
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7289
  # <limits.h> exists even on freestanding compilers.
 
7290
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7291
  # not just through cpp. "Syntax error" is here to catch this case.
 
7292
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7293
/* end confdefs.h.  */
 
7294
@%:@ifdef __STDC__
 
7295
@%:@ include <limits.h>
 
7296
@%:@else
 
7297
@%:@ include <assert.h>
 
7298
@%:@endif
 
7299
                     Syntax error
 
7300
_ACEOF
 
7301
if ac_fn_c_try_cpp "$LINENO"; then :
 
7302
  
 
7303
else
 
7304
  # Broken: fails on valid input.
 
7305
continue
 
7306
fi
 
7307
rm -f conftest.err conftest.i conftest.$ac_ext
 
7308
 
 
7309
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7310
  # can be detected and how.
 
7311
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7312
/* end confdefs.h.  */
 
7313
@%:@include <ac_nonexistent.h>
 
7314
_ACEOF
 
7315
if ac_fn_c_try_cpp "$LINENO"; then :
 
7316
  # Broken: success on invalid input.
 
7317
continue
 
7318
else
 
7319
  # Passes both tests.
 
7320
ac_preproc_ok=:
 
7321
break
 
7322
fi
 
7323
rm -f conftest.err conftest.i conftest.$ac_ext
 
7324
 
 
7325
done
 
7326
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7327
rm -f conftest.i conftest.err conftest.$ac_ext
 
7328
if $ac_preproc_ok; then :
 
7329
  break
 
7330
fi
 
7331
 
 
7332
    done
 
7333
    ac_cv_prog_CPP=$CPP
 
7334
  
 
7335
fi
 
7336
  CPP=$ac_cv_prog_CPP
 
7337
else
 
7338
  ac_cv_prog_CPP=$CPP
 
7339
fi
 
7340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
7341
$as_echo "$CPP" >&6; }
 
7342
ac_preproc_ok=false
 
7343
for ac_c_preproc_warn_flag in '' yes
 
7344
do
 
7345
  # Use a header file that comes with gcc, so configuring glibc
 
7346
  # with a fresh cross-compiler works.
 
7347
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7348
  # <limits.h> exists even on freestanding compilers.
 
7349
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7350
  # not just through cpp. "Syntax error" is here to catch this case.
 
7351
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7352
/* end confdefs.h.  */
 
7353
@%:@ifdef __STDC__
 
7354
@%:@ include <limits.h>
 
7355
@%:@else
 
7356
@%:@ include <assert.h>
 
7357
@%:@endif
 
7358
                     Syntax error
 
7359
_ACEOF
 
7360
if ac_fn_c_try_cpp "$LINENO"; then :
 
7361
  
 
7362
else
 
7363
  # Broken: fails on valid input.
 
7364
continue
 
7365
fi
 
7366
rm -f conftest.err conftest.i conftest.$ac_ext
 
7367
 
 
7368
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7369
  # can be detected and how.
 
7370
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7371
/* end confdefs.h.  */
 
7372
@%:@include <ac_nonexistent.h>
 
7373
_ACEOF
 
7374
if ac_fn_c_try_cpp "$LINENO"; then :
 
7375
  # Broken: success on invalid input.
 
7376
continue
 
7377
else
 
7378
  # Passes both tests.
 
7379
ac_preproc_ok=:
 
7380
break
 
7381
fi
 
7382
rm -f conftest.err conftest.i conftest.$ac_ext
 
7383
 
 
7384
done
 
7385
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7386
rm -f conftest.i conftest.err conftest.$ac_ext
 
7387
if $ac_preproc_ok; then :
 
7388
  
 
7389
else
 
7390
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7391
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7392
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7393
See \`config.log' for more details" "$LINENO" 5; }
 
7394
fi
 
7395
 
 
7396
ac_ext=c
 
7397
ac_cpp='$CPP $CPPFLAGS'
 
7398
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7399
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7400
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7401
 
 
7402
 
 
7403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7404
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7405
if ${ac_cv_header_stdc+:} false; then :
 
7406
  $as_echo_n "(cached) " >&6
 
7407
else
 
7408
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7409
/* end confdefs.h.  */
 
7410
#include <stdlib.h>
 
7411
#include <stdarg.h>
 
7412
#include <string.h>
 
7413
#include <float.h>
 
7414
 
 
7415
int
 
7416
main ()
 
7417
{
 
7418
 
 
7419
  ;
 
7420
  return 0;
 
7421
}
 
7422
_ACEOF
 
7423
if ac_fn_c_try_compile "$LINENO"; then :
 
7424
  ac_cv_header_stdc=yes
 
7425
else
 
7426
  ac_cv_header_stdc=no
 
7427
fi
 
7428
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7429
 
 
7430
if test $ac_cv_header_stdc = yes; then
 
7431
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7432
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7433
/* end confdefs.h.  */
 
7434
#include <string.h>
 
7435
 
 
7436
_ACEOF
 
7437
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7438
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7439
  
 
7440
else
 
7441
  ac_cv_header_stdc=no
 
7442
fi
 
7443
rm -f conftest*
 
7444
 
 
7445
fi
 
7446
 
 
7447
if test $ac_cv_header_stdc = yes; then
 
7448
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7449
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7450
/* end confdefs.h.  */
 
7451
#include <stdlib.h>
 
7452
 
 
7453
_ACEOF
 
7454
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7455
  $EGREP "free" >/dev/null 2>&1; then :
 
7456
  
 
7457
else
 
7458
  ac_cv_header_stdc=no
 
7459
fi
 
7460
rm -f conftest*
 
7461
 
 
7462
fi
 
7463
 
 
7464
if test $ac_cv_header_stdc = yes; then
 
7465
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7466
  if test "$cross_compiling" = yes; then :
 
7467
  :
 
7468
else
 
7469
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7470
/* end confdefs.h.  */
 
7471
#include <ctype.h>
 
7472
#include <stdlib.h>
 
7473
#if ((' ' & 0x0FF) == 0x020)
 
7474
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7475
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7476
#else
 
7477
# define ISLOWER(c) \
 
7478
                   (('a' <= (c) && (c) <= 'i') \
 
7479
                     || ('j' <= (c) && (c) <= 'r') \
 
7480
                     || ('s' <= (c) && (c) <= 'z'))
 
7481
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7482
#endif
 
7483
 
 
7484
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7485
int
 
7486
main ()
 
7487
{
 
7488
  int i;
 
7489
  for (i = 0; i < 256; i++)
 
7490
    if (XOR (islower (i), ISLOWER (i))
 
7491
        || toupper (i) != TOUPPER (i))
 
7492
      return 2;
 
7493
  return 0;
 
7494
}
 
7495
_ACEOF
 
7496
if ac_fn_c_try_run "$LINENO"; then :
 
7497
  
 
7498
else
 
7499
  ac_cv_header_stdc=no
 
7500
fi
 
7501
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7502
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7503
fi
 
7504
 
 
7505
fi
 
7506
fi
 
7507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
7508
$as_echo "$ac_cv_header_stdc" >&6; }
 
7509
if test $ac_cv_header_stdc = yes; then
 
7510
  
 
7511
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
 
7512
 
 
7513
fi
 
7514
 
 
7515
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7516
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7517
                  inttypes.h stdint.h unistd.h
 
7518
do :
 
7519
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7520
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7521
"
 
7522
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
7523
  cat >>confdefs.h <<_ACEOF
 
7524
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7525
_ACEOF
 
7526
 
 
7527
fi
 
7528
 
 
7529
done
 
7530
 
 
7531
 
 
7532
for ac_header in dlfcn.h
 
7533
do :
 
7534
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7535
"
 
7536
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
7537
  cat >>confdefs.h <<_ACEOF
 
7538
@%:@define HAVE_DLFCN_H 1
 
7539
_ACEOF
 
7540
 
 
7541
fi
 
7542
 
 
7543
done
 
7544
 
 
7545
 
 
7546
 
 
7547
 
 
7548
 
 
7549
# Set options
 
7550
 
 
7551
 
 
7552
 
 
7553
        enable_dlopen=no
 
7554
  
 
7555
 
 
7556
  enable_win32_dll=no
 
7557
  
 
7558
 
 
7559
            @%:@ Check whether --enable-shared was given.
 
7560
if test "${enable_shared+set}" = set; then :
 
7561
  enableval=$enable_shared; p=${PACKAGE-default}
 
7562
    case $enableval in
 
7563
    yes) enable_shared=yes ;;
 
7564
    no) enable_shared=no ;;
 
7565
    *)
 
7566
      enable_shared=no
 
7567
      # Look at the argument we got.  We use all the common list separators.
 
7568
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7569
      for pkg in $enableval; do
 
7570
        IFS="$lt_save_ifs"
 
7571
        if test "X$pkg" = "X$p"; then
 
7572
          enable_shared=yes
 
7573
        fi
 
7574
      done
 
7575
      IFS="$lt_save_ifs"
 
7576
      ;;
 
7577
    esac
 
7578
else
 
7579
  enable_shared=yes
 
7580
fi
 
7581
 
 
7582
 
 
7583
    
 
7584
    
 
7585
    
 
7586
    
 
7587
 
 
7588
 
 
7589
 
 
7590
  @%:@ Check whether --enable-static was given.
 
7591
if test "${enable_static+set}" = set; then :
 
7592
  enableval=$enable_static; p=${PACKAGE-default}
 
7593
    case $enableval in
 
7594
    yes) enable_static=yes ;;
 
7595
    no) enable_static=no ;;
 
7596
    *)
 
7597
     enable_static=no
 
7598
      # Look at the argument we got.  We use all the common list separators.
 
7599
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7600
      for pkg in $enableval; do
 
7601
        IFS="$lt_save_ifs"
 
7602
        if test "X$pkg" = "X$p"; then
 
7603
          enable_static=yes
 
7604
        fi
 
7605
      done
 
7606
      IFS="$lt_save_ifs"
 
7607
      ;;
 
7608
    esac
 
7609
else
 
7610
  enable_static=yes
 
7611
fi
 
7612
 
 
7613
 
 
7614
    
 
7615
    
 
7616
    
 
7617
    
 
7618
 
 
7619
 
 
7620
 
 
7621
  
 
7622
@%:@ Check whether --with-pic was given.
 
7623
if test "${with_pic+set}" = set; then :
 
7624
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7625
    case $withval in
 
7626
    yes|no) pic_mode=$withval ;;
 
7627
    *)
 
7628
      pic_mode=default
 
7629
      # Look at the argument we got.  We use all the common list separators.
 
7630
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7631
      for lt_pkg in $withval; do
 
7632
        IFS="$lt_save_ifs"
 
7633
        if test "X$lt_pkg" = "X$lt_p"; then
 
7634
          pic_mode=yes
 
7635
        fi
 
7636
      done
 
7637
      IFS="$lt_save_ifs"
 
7638
      ;;
 
7639
    esac
 
7640
else
 
7641
  pic_mode=default
 
7642
fi
 
7643
 
 
7644
 
 
7645
test -z "$pic_mode" && pic_mode=default
 
7646
 
 
7647
 
 
7648
    
 
7649
    
 
7650
    
 
7651
 
 
7652
 
 
7653
  @%:@ Check whether --enable-fast-install was given.
 
7654
if test "${enable_fast_install+set}" = set; then :
 
7655
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7656
    case $enableval in
 
7657
    yes) enable_fast_install=yes ;;
 
7658
    no) enable_fast_install=no ;;
 
7659
    *)
 
7660
      enable_fast_install=no
 
7661
      # Look at the argument we got.  We use all the common list separators.
 
7662
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7663
      for pkg in $enableval; do
 
7664
        IFS="$lt_save_ifs"
 
7665
        if test "X$pkg" = "X$p"; then
 
7666
          enable_fast_install=yes
 
7667
        fi
 
7668
      done
 
7669
      IFS="$lt_save_ifs"
 
7670
      ;;
 
7671
    esac
 
7672
else
 
7673
  enable_fast_install=yes
 
7674
fi
 
7675
 
 
7676
 
 
7677
 
 
7678
    
 
7679
    
 
7680
    
 
7681
 
 
7682
 
 
7683
  
 
7684
 
 
7685
 
 
7686
# This can be used to rebuild libtool when needed
 
7687
LIBTOOL_DEPS="$ltmain"
 
7688
 
 
7689
# Always use our own libtool.
 
7690
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7691
 
 
7692
 
 
7693
 
 
7694
    
 
7695
    
 
7696
    
 
7697
 
 
7698
    
 
7699
    
 
7700
    
 
7701
 
 
7702
    
 
7703
    
 
7704
    
 
7705
 
 
7706
    
 
7707
    
 
7708
    
 
7709
 
 
7710
    
 
7711
    
 
7712
    
 
7713
 
 
7714
    
 
7715
    
 
7716
    
 
7717
 
 
7718
    
 
7719
    
 
7720
    
 
7721
test -z "$LN_S" && LN_S="ln -s"
 
7722
 
 
7723
    
 
7724
    
 
7725
    
 
7726
 
 
7727
    
 
7728
    
 
7729
    
 
7730
 
 
7731
    
 
7732
    
 
7733
    
 
7734
 
 
7735
 
 
7736
if test -n "${ZSH_VERSION+set}" ; then
 
7737
   setopt NO_GLOB_SUBST
 
7738
fi
 
7739
 
 
7740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
7741
$as_echo_n "checking for objdir... " >&6; }
 
7742
if ${lt_cv_objdir+:} false; then :
 
7743
  $as_echo_n "(cached) " >&6
 
7744
else
 
7745
  rm -f .libs 2>/dev/null
 
7746
mkdir .libs 2>/dev/null
 
7747
if test -d .libs; then
 
7748
  lt_cv_objdir=.libs
 
7749
else
 
7750
  # MS-DOS does not allow filenames that begin with a dot.
 
7751
  lt_cv_objdir=_libs
 
7752
fi
 
7753
rmdir .libs 2>/dev/null
 
7754
fi
 
7755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
7756
$as_echo "$lt_cv_objdir" >&6; }
 
7757
objdir=$lt_cv_objdir
 
7758
 
 
7759
    
 
7760
    
 
7761
    
 
7762
 
 
7763
cat >>confdefs.h <<_ACEOF
 
7764
@%:@define LT_OBJDIR "$lt_cv_objdir/"
 
7765
_ACEOF
 
7766
 
 
7767
 
 
7768
 
 
7769
 
 
7770
case $host_os in
 
7771
aix3*)
 
7772
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7773
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7774
  # vanish in a puff of smoke.
 
7775
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7776
    COLLECT_NAMES=
 
7777
    export COLLECT_NAMES
 
7778
  fi
 
7779
  ;;
 
7780
esac
 
7781
 
 
7782
# Global variables:
 
7783
ofile=libtool
 
7784
can_build_shared=yes
 
7785
 
 
7786
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7787
# which needs '.lib').
 
7788
libext=a
 
7789
 
 
7790
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7791
 
 
7792
old_CC="$CC"
 
7793
old_CFLAGS="$CFLAGS"
 
7794
 
 
7795
# Set sane defaults for various variables
 
7796
test -z "$CC" && CC=cc
 
7797
test -z "$LTCC" && LTCC=$CC
 
7798
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7799
test -z "$LD" && LD=ld
 
7800
test -z "$ac_objext" && ac_objext=o
 
7801
 
 
7802
for cc_temp in $compiler""; do
 
7803
  case $cc_temp in
 
7804
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7805
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7806
    \-*) ;;
 
7807
    *) break;;
 
7808
  esac
 
7809
done
 
7810
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
7811
 
 
7812
 
 
7813
# Only perform the check for file, if the check method requires it
 
7814
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7815
case $deplibs_check_method in
 
7816
file_magic*)
 
7817
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7818
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
7819
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
7820
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
7821
  $as_echo_n "(cached) " >&6
 
7822
else
 
7823
  case $MAGIC_CMD in
 
7824
[\\/*] |  ?:[\\/]*)
 
7825
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7826
  ;;
 
7827
*)
 
7828
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7829
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7830
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7831
  for ac_dir in $ac_dummy; do
 
7832
    IFS="$lt_save_ifs"
 
7833
    test -z "$ac_dir" && ac_dir=.
 
7834
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7835
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7836
      if test -n "$file_magic_test_file"; then
 
7837
        case $deplibs_check_method in
 
7838
        "file_magic "*)
 
7839
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7840
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7841
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7842
            $EGREP "$file_magic_regex" > /dev/null; then
 
7843
            :
 
7844
          else
 
7845
            cat <<_LT_EOF 1>&2
 
7846
 
 
7847
*** Warning: the command libtool uses to detect shared libraries,
 
7848
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7849
*** The result is that libtool may fail to recognize shared libraries
 
7850
*** as such.  This will affect the creation of libtool libraries that
 
7851
*** depend on shared libraries, but programs linked with such libtool
 
7852
*** libraries will work regardless of this problem.  Nevertheless, you
 
7853
*** may want to report the problem to your system manager and/or to
 
7854
*** bug-libtool@gnu.org
 
7855
 
 
7856
_LT_EOF
 
7857
          fi ;;
 
7858
        esac
 
7859
      fi
 
7860
      break
 
7861
    fi
 
7862
  done
 
7863
  IFS="$lt_save_ifs"
 
7864
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7865
  ;;
 
7866
esac
 
7867
fi
 
7868
 
 
7869
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7870
if test -n "$MAGIC_CMD"; then
 
7871
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7872
$as_echo "$MAGIC_CMD" >&6; }
 
7873
else
 
7874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7875
$as_echo "no" >&6; }
 
7876
fi
 
7877
 
 
7878
    
 
7879
    
 
7880
    
 
7881
 
 
7882
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7883
  if test -n "$ac_tool_prefix"; then
 
7884
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
7885
$as_echo_n "checking for file... " >&6; }
 
7886
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
7887
  $as_echo_n "(cached) " >&6
 
7888
else
 
7889
  case $MAGIC_CMD in
 
7890
[\\/*] |  ?:[\\/]*)
 
7891
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7892
  ;;
 
7893
*)
 
7894
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7895
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7896
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7897
  for ac_dir in $ac_dummy; do
 
7898
    IFS="$lt_save_ifs"
 
7899
    test -z "$ac_dir" && ac_dir=.
 
7900
    if test -f $ac_dir/file; then
 
7901
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7902
      if test -n "$file_magic_test_file"; then
 
7903
        case $deplibs_check_method in
 
7904
        "file_magic "*)
 
7905
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7906
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7907
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7908
            $EGREP "$file_magic_regex" > /dev/null; then
 
7909
            :
 
7910
          else
 
7911
            cat <<_LT_EOF 1>&2
 
7912
 
 
7913
*** Warning: the command libtool uses to detect shared libraries,
 
7914
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7915
*** The result is that libtool may fail to recognize shared libraries
 
7916
*** as such.  This will affect the creation of libtool libraries that
 
7917
*** depend on shared libraries, but programs linked with such libtool
 
7918
*** libraries will work regardless of this problem.  Nevertheless, you
 
7919
*** may want to report the problem to your system manager and/or to
 
7920
*** bug-libtool@gnu.org
 
7921
 
 
7922
_LT_EOF
 
7923
          fi ;;
 
7924
        esac
 
7925
      fi
 
7926
      break
 
7927
    fi
 
7928
  done
 
7929
  IFS="$lt_save_ifs"
 
7930
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7931
  ;;
 
7932
esac
 
7933
fi
 
7934
 
 
7935
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7936
if test -n "$MAGIC_CMD"; then
 
7937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7938
$as_echo "$MAGIC_CMD" >&6; }
 
7939
else
 
7940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7941
$as_echo "no" >&6; }
 
7942
fi
 
7943
 
 
7944
 
 
7945
  else
 
7946
    MAGIC_CMD=:
 
7947
  fi
 
7948
fi
 
7949
 
 
7950
  fi
 
7951
  ;;
 
7952
esac
 
7953
 
 
7954
# Use C for the default configuration in the libtool script
 
7955
 
 
7956
lt_save_CC="$CC"
 
7957
ac_ext=c
 
7958
ac_cpp='$CPP $CPPFLAGS'
 
7959
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7960
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7961
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7962
 
 
7963
 
 
7964
# Source file extension for C test sources.
 
7965
ac_ext=c
 
7966
 
 
7967
# Object file extension for compiled C test sources.
 
7968
objext=o
 
7969
objext=$objext
 
7970
 
 
7971
# Code to be used in simple compile tests
 
7972
lt_simple_compile_test_code="int some_variable = 0;"
 
7973
 
 
7974
# Code to be used in simple link tests
 
7975
lt_simple_link_test_code='int main(){return(0);}'
 
7976
 
 
7977
 
 
7978
 
 
7979
 
 
7980
 
 
7981
 
 
7982
 
 
7983
# If no C compiler was specified, use CC.
 
7984
LTCC=${LTCC-"$CC"}
 
7985
 
 
7986
# If no C compiler flags were specified, use CFLAGS.
 
7987
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7988
 
 
7989
# Allow CC to be a program name with arguments.
 
7990
compiler=$CC
 
7991
 
 
7992
# Save the default compiler, since it gets overwritten when the other
 
7993
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7994
compiler_DEFAULT=$CC
 
7995
 
 
7996
# save warnings/boilerplate of simple test code
 
7997
ac_outfile=conftest.$ac_objext
 
7998
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7999
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8000
_lt_compiler_boilerplate=`cat conftest.err`
 
8001
$RM conftest*
 
8002
 
 
8003
ac_outfile=conftest.$ac_objext
 
8004
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
8005
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8006
_lt_linker_boilerplate=`cat conftest.err`
 
8007
$RM -r conftest*
 
8008
 
 
8009
 
 
8010
## CAVEAT EMPTOR:
 
8011
## There is no encapsulation within the following macros, do not change
 
8012
## the running order or otherwise move them around unless you know exactly
 
8013
## what you are doing...
 
8014
if test -n "$compiler"; then
 
8015
  
 
8016
lt_prog_compiler_no_builtin_flag=
 
8017
 
 
8018
if test "$GCC" = yes; then
 
8019
  case $cc_basename in
 
8020
  nvcc*)
 
8021
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8022
  *)
 
8023
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8024
  esac
 
8025
 
 
8026
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8027
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8028
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
8029
  $as_echo_n "(cached) " >&6
 
8030
else
 
8031
  lt_cv_prog_compiler_rtti_exceptions=no
 
8032
   ac_outfile=conftest.$ac_objext
 
8033
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8034
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
8035
   # Insert the option either (1) after the last *FLAGS variable, or
 
8036
   # (2) before a word containing "conftest.", or (3) at the end.
 
8037
   # Note that $ac_compile itself does not contain backslashes and begins
 
8038
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8039
   # The option is referenced via a variable to avoid confusing sed.
 
8040
   lt_compile=`echo "$ac_compile" | $SED \
 
8041
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8042
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8043
   -e 's:$: $lt_compiler_flag:'`
 
8044
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8045
   (eval "$lt_compile" 2>conftest.err)
 
8046
   ac_status=$?
 
8047
   cat conftest.err >&5
 
8048
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8049
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8050
     # The compiler can only warn and ignore the option if not recognized
 
8051
     # So say no if there are warnings other than the usual output.
 
8052
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
8053
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8054
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8055
       lt_cv_prog_compiler_rtti_exceptions=yes
 
8056
     fi
 
8057
   fi
 
8058
   $RM conftest*
 
8059
 
 
8060
fi
 
8061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8062
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8063
 
 
8064
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
8065
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
8066
else
 
8067
    :
 
8068
fi
 
8069
 
 
8070
fi
 
8071
 
 
8072
    
 
8073
    
 
8074
    
 
8075
 
 
8076
 
 
8077
  lt_prog_compiler_wl=
 
8078
lt_prog_compiler_pic=
 
8079
lt_prog_compiler_static=
 
8080
 
 
8081
 
 
8082
  if test "$GCC" = yes; then
 
8083
    lt_prog_compiler_wl='-Wl,'
 
8084
    lt_prog_compiler_static='-static'
 
8085
 
 
8086
    case $host_os in
 
8087
      aix*)
 
8088
      # All AIX code is PIC.
 
8089
      if test "$host_cpu" = ia64; then
 
8090
        # AIX 5 now supports IA64 processor
 
8091
        lt_prog_compiler_static='-Bstatic'
 
8092
      fi
 
8093
      ;;
 
8094
 
 
8095
    amigaos*)
 
8096
      case $host_cpu in
 
8097
      powerpc)
 
8098
            # see comment about AmigaOS4 .so support
 
8099
            lt_prog_compiler_pic='-fPIC'
 
8100
        ;;
 
8101
      m68k)
 
8102
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8103
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8104
            # like `-m68040'.
 
8105
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8106
        ;;
 
8107
      esac
 
8108
      ;;
 
8109
 
 
8110
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8111
      # PIC is the default for these OSes.
 
8112
      ;;
 
8113
 
 
8114
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8115
      # This hack is so that the source file can tell whether it is being
 
8116
      # built for inclusion in a dll (and should export symbols for example).
 
8117
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8118
      # (--disable-auto-import) libraries
 
8119
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8120
      ;;
 
8121
 
 
8122
    darwin* | rhapsody*)
 
8123
      # PIC is the default on this platform
 
8124
      # Common symbols not allowed in MH_DYLIB files
 
8125
      lt_prog_compiler_pic='-fno-common'
 
8126
      ;;
 
8127
 
 
8128
    haiku*)
 
8129
      # PIC is the default for Haiku.
 
8130
      # The "-static" flag exists, but is broken.
 
8131
      lt_prog_compiler_static=
 
8132
      ;;
 
8133
 
 
8134
    hpux*)
 
8135
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8136
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8137
      # sets the default TLS model and affects inlining.
 
8138
      case $host_cpu in
 
8139
      hppa*64*)
 
8140
        # +Z the default
 
8141
        ;;
 
8142
      *)
 
8143
        lt_prog_compiler_pic='-fPIC'
 
8144
        ;;
 
8145
      esac
 
8146
      ;;
 
8147
 
 
8148
    interix[3-9]*)
 
8149
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
8150
      # Instead, we relocate shared libraries at runtime.
 
8151
      ;;
 
8152
 
 
8153
    msdosdjgpp*)
 
8154
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
8155
      # on systems that don't support them.
 
8156
      lt_prog_compiler_can_build_shared=no
 
8157
      enable_shared=no
 
8158
      ;;
 
8159
 
 
8160
    *nto* | *qnx*)
 
8161
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8162
      # it will coredump.
 
8163
      lt_prog_compiler_pic='-fPIC -shared'
 
8164
      ;;
 
8165
 
 
8166
    sysv4*MP*)
 
8167
      if test -d /usr/nec; then
 
8168
        lt_prog_compiler_pic=-Kconform_pic
 
8169
      fi
 
8170
      ;;
 
8171
 
 
8172
    *)
 
8173
      lt_prog_compiler_pic='-fPIC'
 
8174
      ;;
 
8175
    esac
 
8176
 
 
8177
    case $cc_basename in
 
8178
    nvcc*) # Cuda Compiler Driver 2.2
 
8179
      lt_prog_compiler_wl='-Xlinker '
 
8180
      if test -n "$lt_prog_compiler_pic"; then
 
8181
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8182
      fi
 
8183
      ;;
 
8184
    esac
 
8185
  else
 
8186
    # PORTME Check for flag to pass linker flags through the system compiler.
 
8187
    case $host_os in
 
8188
    aix*)
 
8189
      lt_prog_compiler_wl='-Wl,'
 
8190
      if test "$host_cpu" = ia64; then
 
8191
        # AIX 5 now supports IA64 processor
 
8192
        lt_prog_compiler_static='-Bstatic'
 
8193
      else
 
8194
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
8195
      fi
 
8196
      ;;
 
8197
 
 
8198
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8199
      # This hack is so that the source file can tell whether it is being
 
8200
      # built for inclusion in a dll (and should export symbols for example).
 
8201
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8202
      ;;
 
8203
 
 
8204
    hpux9* | hpux10* | hpux11*)
 
8205
      lt_prog_compiler_wl='-Wl,'
 
8206
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
8207
      # not for PA HP-UX.
 
8208
      case $host_cpu in
 
8209
      hppa*64*|ia64*)
 
8210
        # +Z the default
 
8211
        ;;
 
8212
      *)
 
8213
        lt_prog_compiler_pic='+Z'
 
8214
        ;;
 
8215
      esac
 
8216
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
8217
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
8218
      ;;
 
8219
 
 
8220
    irix5* | irix6* | nonstopux*)
 
8221
      lt_prog_compiler_wl='-Wl,'
 
8222
      # PIC (with -KPIC) is the default.
 
8223
      lt_prog_compiler_static='-non_shared'
 
8224
      ;;
 
8225
 
 
8226
    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 
8227
      case $cc_basename in
 
8228
      # old Intel for x86_64 which still supported -KPIC.
 
8229
      ecc*)
 
8230
        lt_prog_compiler_wl='-Wl,'
 
8231
        lt_prog_compiler_pic='-KPIC'
 
8232
        lt_prog_compiler_static='-static'
 
8233
        ;;
 
8234
      # icc used to be incompatible with GCC.
 
8235
      # ICC 10 doesn't accept -KPIC any more.
 
8236
      icc* | ifort*)
 
8237
        lt_prog_compiler_wl='-Wl,'
 
8238
        lt_prog_compiler_pic='-fPIC'
 
8239
        lt_prog_compiler_static='-static'
 
8240
        ;;
 
8241
      # Lahey Fortran 8.1.
 
8242
      lf95*)
 
8243
        lt_prog_compiler_wl='-Wl,'
 
8244
        lt_prog_compiler_pic='--shared'
 
8245
        lt_prog_compiler_static='--static'
 
8246
        ;;
 
8247
      nagfor*)
 
8248
        # NAG Fortran compiler
 
8249
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8250
        lt_prog_compiler_pic='-PIC'
 
8251
        lt_prog_compiler_static='-Bstatic'
 
8252
        ;;
 
8253
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
8254
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
8255
        # which looks to be a dead project)
 
8256
        lt_prog_compiler_wl='-Wl,'
 
8257
        lt_prog_compiler_pic='-fpic'
 
8258
        lt_prog_compiler_static='-Bstatic'
 
8259
        ;;
 
8260
      ccc*)
 
8261
        lt_prog_compiler_wl='-Wl,'
 
8262
        # All Alpha code is PIC.
 
8263
        lt_prog_compiler_static='-non_shared'
 
8264
        ;;
 
8265
      xl* | bgxl* | bgf* | mpixl*)
 
8266
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
8267
        lt_prog_compiler_wl='-Wl,'
 
8268
        lt_prog_compiler_pic='-qpic'
 
8269
        lt_prog_compiler_static='-qstaticlink'
 
8270
        ;;
 
8271
      *)
 
8272
        case `$CC -V 2>&1 | sed 5q` in
 
8273
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
8274
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8275
          lt_prog_compiler_pic='-KPIC'
 
8276
          lt_prog_compiler_static='-Bstatic'
 
8277
          lt_prog_compiler_wl=''
 
8278
          ;;
 
8279
        *Sun\ F* | *Sun*Fortran*)
 
8280
          lt_prog_compiler_pic='-KPIC'
 
8281
          lt_prog_compiler_static='-Bstatic'
 
8282
          lt_prog_compiler_wl='-Qoption ld '
 
8283
          ;;
 
8284
        *Sun\ C*)
 
8285
          # Sun C 5.9
 
8286
          lt_prog_compiler_pic='-KPIC'
 
8287
          lt_prog_compiler_static='-Bstatic'
 
8288
          lt_prog_compiler_wl='-Wl,'
 
8289
          ;;
 
8290
        *Intel*\ [CF]*Compiler*)
 
8291
          lt_prog_compiler_wl='-Wl,'
 
8292
          lt_prog_compiler_pic='-fPIC'
 
8293
          lt_prog_compiler_static='-static'
 
8294
          ;;
 
8295
        *Portland\ Group*)
 
8296
          lt_prog_compiler_wl='-Wl,'
 
8297
          lt_prog_compiler_pic='-fpic'
 
8298
          lt_prog_compiler_static='-Bstatic'
 
8299
          ;;
 
8300
        esac
 
8301
        ;;
 
8302
      esac
 
8303
      ;;
 
8304
 
 
8305
    newsos6)
 
8306
      lt_prog_compiler_pic='-KPIC'
 
8307
      lt_prog_compiler_static='-Bstatic'
 
8308
      ;;
 
8309
 
 
8310
    *nto* | *qnx*)
 
8311
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8312
      # it will coredump.
 
8313
      lt_prog_compiler_pic='-fPIC -shared'
 
8314
      ;;
 
8315
 
 
8316
    osf3* | osf4* | osf5*)
 
8317
      lt_prog_compiler_wl='-Wl,'
 
8318
      # All OSF/1 code is PIC.
 
8319
      lt_prog_compiler_static='-non_shared'
 
8320
      ;;
 
8321
 
 
8322
    rdos*)
 
8323
      lt_prog_compiler_static='-non_shared'
 
8324
      ;;
 
8325
 
 
8326
    solaris*)
 
8327
      lt_prog_compiler_pic='-KPIC'
 
8328
      lt_prog_compiler_static='-Bstatic'
 
8329
      case $cc_basename in
 
8330
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
8331
        lt_prog_compiler_wl='-Qoption ld ';;
 
8332
      *)
 
8333
        lt_prog_compiler_wl='-Wl,';;
 
8334
      esac
 
8335
      ;;
 
8336
 
 
8337
    sunos4*)
 
8338
      lt_prog_compiler_wl='-Qoption ld '
 
8339
      lt_prog_compiler_pic='-PIC'
 
8340
      lt_prog_compiler_static='-Bstatic'
 
8341
      ;;
 
8342
 
 
8343
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
8344
      lt_prog_compiler_wl='-Wl,'
 
8345
      lt_prog_compiler_pic='-KPIC'
 
8346
      lt_prog_compiler_static='-Bstatic'
 
8347
      ;;
 
8348
 
 
8349
    sysv4*MP*)
 
8350
      if test -d /usr/nec ;then
 
8351
        lt_prog_compiler_pic='-Kconform_pic'
 
8352
        lt_prog_compiler_static='-Bstatic'
 
8353
      fi
 
8354
      ;;
 
8355
 
 
8356
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8357
      lt_prog_compiler_wl='-Wl,'
 
8358
      lt_prog_compiler_pic='-KPIC'
 
8359
      lt_prog_compiler_static='-Bstatic'
 
8360
      ;;
 
8361
 
 
8362
    unicos*)
 
8363
      lt_prog_compiler_wl='-Wl,'
 
8364
      lt_prog_compiler_can_build_shared=no
 
8365
      ;;
 
8366
 
 
8367
    uts4*)
 
8368
      lt_prog_compiler_pic='-pic'
 
8369
      lt_prog_compiler_static='-Bstatic'
 
8370
      ;;
 
8371
 
 
8372
    *)
 
8373
      lt_prog_compiler_can_build_shared=no
 
8374
      ;;
 
8375
    esac
 
8376
  fi
 
8377
 
 
8378
case $host_os in
 
8379
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8380
  *djgpp*)
 
8381
    lt_prog_compiler_pic=
 
8382
    ;;
 
8383
  *)
 
8384
    lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
 
8385
    ;;
 
8386
esac
 
8387
 
 
8388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8389
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8390
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8391
  $as_echo_n "(cached) " >&6
 
8392
else
 
8393
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8394
fi
 
8395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8396
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8397
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
8398
 
 
8399
#
 
8400
# Check to make sure the PIC flag actually works.
 
8401
#
 
8402
if test -n "$lt_prog_compiler_pic"; then
 
8403
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8404
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8405
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
8406
  $as_echo_n "(cached) " >&6
 
8407
else
 
8408
  lt_cv_prog_compiler_pic_works=no
 
8409
   ac_outfile=conftest.$ac_objext
 
8410
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8411
   lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
 
8412
   # Insert the option either (1) after the last *FLAGS variable, or
 
8413
   # (2) before a word containing "conftest.", or (3) at the end.
 
8414
   # Note that $ac_compile itself does not contain backslashes and begins
 
8415
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8416
   # The option is referenced via a variable to avoid confusing sed.
 
8417
   lt_compile=`echo "$ac_compile" | $SED \
 
8418
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8419
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8420
   -e 's:$: $lt_compiler_flag:'`
 
8421
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8422
   (eval "$lt_compile" 2>conftest.err)
 
8423
   ac_status=$?
 
8424
   cat conftest.err >&5
 
8425
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8426
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8427
     # The compiler can only warn and ignore the option if not recognized
 
8428
     # So say no if there are warnings other than the usual output.
 
8429
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
8430
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8431
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8432
       lt_cv_prog_compiler_pic_works=yes
 
8433
     fi
 
8434
   fi
 
8435
   $RM conftest*
 
8436
 
 
8437
fi
 
8438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
8439
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
8440
 
 
8441
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
8442
    case $lt_prog_compiler_pic in
 
8443
     "" | " "*) ;;
 
8444
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
8445
     esac
 
8446
else
 
8447
    lt_prog_compiler_pic=
 
8448
     lt_prog_compiler_can_build_shared=no
 
8449
fi
 
8450
 
 
8451
fi
 
8452
 
 
8453
    
 
8454
    
 
8455
    
 
8456
 
 
8457
 
 
8458
 
 
8459
    
 
8460
    
 
8461
    
 
8462
 
 
8463
#
 
8464
# Check to make sure the static flag actually works.
 
8465
#
 
8466
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8468
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8469
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
8470
  $as_echo_n "(cached) " >&6
 
8471
else
 
8472
  lt_cv_prog_compiler_static_works=no
 
8473
   save_LDFLAGS="$LDFLAGS"
 
8474
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8475
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8476
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8477
     # The linker can only warn and ignore the option if not recognized
 
8478
     # So say no if there are warnings
 
8479
     if test -s conftest.err; then
 
8480
       # Append any errors to the config.log.
 
8481
       cat conftest.err 1>&5
 
8482
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
8483
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8484
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8485
         lt_cv_prog_compiler_static_works=yes
 
8486
       fi
 
8487
     else
 
8488
       lt_cv_prog_compiler_static_works=yes
 
8489
     fi
 
8490
   fi
 
8491
   $RM -r conftest*
 
8492
   LDFLAGS="$save_LDFLAGS"
 
8493
 
 
8494
fi
 
8495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
8496
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
8497
 
 
8498
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
8499
    :
 
8500
else
 
8501
    lt_prog_compiler_static=
 
8502
fi
 
8503
 
 
8504
 
 
8505
    
 
8506
    
 
8507
    
 
8508
 
 
8509
 
 
8510
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8511
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8512
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
8513
  $as_echo_n "(cached) " >&6
 
8514
else
 
8515
  lt_cv_prog_compiler_c_o=no
 
8516
   $RM -r conftest 2>/dev/null
 
8517
   mkdir conftest
 
8518
   cd conftest
 
8519
   mkdir out
 
8520
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8521
 
 
8522
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8523
   # Insert the option either (1) after the last *FLAGS variable, or
 
8524
   # (2) before a word containing "conftest.", or (3) at the end.
 
8525
   # Note that $ac_compile itself does not contain backslashes and begins
 
8526
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8527
   lt_compile=`echo "$ac_compile" | $SED \
 
8528
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8529
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8530
   -e 's:$: $lt_compiler_flag:'`
 
8531
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8532
   (eval "$lt_compile" 2>out/conftest.err)
 
8533
   ac_status=$?
 
8534
   cat out/conftest.err >&5
 
8535
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8536
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8537
   then
 
8538
     # The compiler can only warn and ignore the option if not recognized
 
8539
     # So say no if there are warnings
 
8540
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8541
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8542
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8543
       lt_cv_prog_compiler_c_o=yes
 
8544
     fi
 
8545
   fi
 
8546
   chmod u+w . 2>&5
 
8547
   $RM conftest*
 
8548
   # SGI C++ compiler will create directory out/ii_files/ for
 
8549
   # template instantiation
 
8550
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8551
   $RM out/* && rmdir out
 
8552
   cd ..
 
8553
   $RM -r conftest
 
8554
   $RM conftest*
 
8555
 
 
8556
fi
 
8557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8558
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8559
 
 
8560
    
 
8561
    
 
8562
    
 
8563
 
 
8564
 
 
8565
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8566
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8567
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
8568
  $as_echo_n "(cached) " >&6
 
8569
else
 
8570
  lt_cv_prog_compiler_c_o=no
 
8571
   $RM -r conftest 2>/dev/null
 
8572
   mkdir conftest
 
8573
   cd conftest
 
8574
   mkdir out
 
8575
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8576
 
 
8577
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8578
   # Insert the option either (1) after the last *FLAGS variable, or
 
8579
   # (2) before a word containing "conftest.", or (3) at the end.
 
8580
   # Note that $ac_compile itself does not contain backslashes and begins
 
8581
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8582
   lt_compile=`echo "$ac_compile" | $SED \
 
8583
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8584
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8585
   -e 's:$: $lt_compiler_flag:'`
 
8586
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8587
   (eval "$lt_compile" 2>out/conftest.err)
 
8588
   ac_status=$?
 
8589
   cat out/conftest.err >&5
 
8590
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8591
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8592
   then
 
8593
     # The compiler can only warn and ignore the option if not recognized
 
8594
     # So say no if there are warnings
 
8595
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8596
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8597
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8598
       lt_cv_prog_compiler_c_o=yes
 
8599
     fi
 
8600
   fi
 
8601
   chmod u+w . 2>&5
 
8602
   $RM conftest*
 
8603
   # SGI C++ compiler will create directory out/ii_files/ for
 
8604
   # template instantiation
 
8605
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8606
   $RM out/* && rmdir out
 
8607
   cd ..
 
8608
   $RM -r conftest
 
8609
   $RM conftest*
 
8610
 
 
8611
fi
 
8612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8613
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8614
 
 
8615
 
 
8616
 
 
8617
 
 
8618
hard_links="nottested"
 
8619
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
8620
  # do not overwrite the value of need_locks provided by the user
 
8621
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
8622
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
8623
  hard_links=yes
 
8624
  $RM conftest*
 
8625
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8626
  touch conftest.a
 
8627
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
8628
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8629
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
8630
$as_echo "$hard_links" >&6; }
 
8631
  if test "$hard_links" = no; then
 
8632
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8633
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8634
    need_locks=warn
 
8635
  fi
 
8636
else
 
8637
  need_locks=no
 
8638
fi
 
8639
 
 
8640
    
 
8641
    
 
8642
    
 
8643
 
 
8644
 
 
8645
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8646
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
8647
 
 
8648
  runpath_var=
 
8649
  allow_undefined_flag=
 
8650
  always_export_symbols=no
 
8651
  archive_cmds=
 
8652
  archive_expsym_cmds=
 
8653
  compiler_needs_object=no
 
8654
  enable_shared_with_static_runtimes=no
 
8655
  export_dynamic_flag_spec=
 
8656
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8657
  hardcode_automatic=no
 
8658
  hardcode_direct=no
 
8659
  hardcode_direct_absolute=no
 
8660
  hardcode_libdir_flag_spec=
 
8661
  hardcode_libdir_separator=
 
8662
  hardcode_minus_L=no
 
8663
  hardcode_shlibpath_var=unsupported
 
8664
  inherit_rpath=no
 
8665
  link_all_deplibs=unknown
 
8666
  module_cmds=
 
8667
  module_expsym_cmds=
 
8668
  old_archive_from_new_cmds=
 
8669
  old_archive_from_expsyms_cmds=
 
8670
  thread_safe_flag_spec=
 
8671
  whole_archive_flag_spec=
 
8672
  # include_expsyms should be a list of space-separated symbols to be *always*
 
8673
  # included in the symbol list
 
8674
  include_expsyms=
 
8675
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
8676
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
8677
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
8678
  # as well as any symbol that contains `d'.
 
8679
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
8680
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
8681
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
8682
  # the symbol is explicitly referenced.  Since portable code cannot
 
8683
  # rely on this symbol name, it's probably fine to never include it in
 
8684
  # preloaded symbol tables.
 
8685
  # Exclude shared library initialization/finalization symbols.
 
8686
  extract_expsyms_cmds=
 
8687
 
 
8688
  case $host_os in
 
8689
  cygwin* | mingw* | pw32* | cegcc*)
 
8690
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
8691
    # When not using gcc, we currently assume that we are using
 
8692
    # Microsoft Visual C++.
 
8693
    if test "$GCC" != yes; then
 
8694
      with_gnu_ld=no
 
8695
    fi
 
8696
    ;;
 
8697
  interix*)
 
8698
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8699
    with_gnu_ld=yes
 
8700
    ;;
 
8701
  openbsd*)
 
8702
    with_gnu_ld=no
 
8703
    ;;
 
8704
  linux* | k*bsd*-gnu | gnu*)
 
8705
    link_all_deplibs=no
 
8706
    ;;
 
8707
  esac
 
8708
 
 
8709
  ld_shlibs=yes
 
8710
 
 
8711
  # On some targets, GNU ld is compatible enough with the native linker
 
8712
  # that we're better off using the native interface for both.
 
8713
  lt_use_gnu_ld_interface=no
 
8714
  if test "$with_gnu_ld" = yes; then
 
8715
    case $host_os in
 
8716
      aix*)
 
8717
        # The AIX port of GNU ld has always aspired to compatibility
 
8718
        # with the native linker.  However, as the warning in the GNU ld
 
8719
        # block says, versions before 2.19.5* couldn't really create working
 
8720
        # shared libraries, regardless of the interface used.
 
8721
        case `$LD -v 2>&1` in
 
8722
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8723
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8724
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8725
          *)
 
8726
            lt_use_gnu_ld_interface=yes
 
8727
            ;;
 
8728
        esac
 
8729
        ;;
 
8730
      *)
 
8731
        lt_use_gnu_ld_interface=yes
 
8732
        ;;
 
8733
    esac
 
8734
  fi
 
8735
 
 
8736
  if test "$lt_use_gnu_ld_interface" = yes; then
 
8737
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
8738
    wlarc='${wl}'
 
8739
 
 
8740
    # Set some defaults for GNU ld with shared library support. These
 
8741
    # are reset later if shared libraries are not supported. Putting them
 
8742
    # here allows them to be overridden if necessary.
 
8743
    runpath_var=LD_RUN_PATH
 
8744
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8745
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8746
    # ancient GNU ld didn't support --whole-archive et. al.
 
8747
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8748
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8749
    else
 
8750
      whole_archive_flag_spec=
 
8751
    fi
 
8752
    supports_anon_versioning=no
 
8753
    case `$LD -v 2>&1` in
 
8754
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
8755
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8756
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8757
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8758
      *\ 2.11.*) ;; # other 2.11 versions
 
8759
      *) supports_anon_versioning=yes ;;
 
8760
    esac
 
8761
 
 
8762
    # See if GNU ld supports shared libraries.
 
8763
    case $host_os in
 
8764
    aix[3-9]*)
 
8765
      # On AIX/PPC, the GNU linker is very broken
 
8766
      if test "$host_cpu" != ia64; then
 
8767
        ld_shlibs=no
 
8768
        cat <<_LT_EOF 1>&2
 
8769
 
 
8770
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
8771
*** to be unable to reliably create shared libraries on AIX.
 
8772
*** Therefore, libtool is disabling shared libraries support.  If you
 
8773
*** really care for shared libraries, you may want to install binutils
 
8774
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8775
*** You will then need to restart the configuration process.
 
8776
 
 
8777
_LT_EOF
 
8778
      fi
 
8779
      ;;
 
8780
 
 
8781
    amigaos*)
 
8782
      case $host_cpu in
 
8783
      powerpc)
 
8784
            # see comment about AmigaOS4 .so support
 
8785
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8786
            archive_expsym_cmds=''
 
8787
        ;;
 
8788
      m68k)
 
8789
            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)'
 
8790
            hardcode_libdir_flag_spec='-L$libdir'
 
8791
            hardcode_minus_L=yes
 
8792
        ;;
 
8793
      esac
 
8794
      ;;
 
8795
 
 
8796
    beos*)
 
8797
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8798
        allow_undefined_flag=unsupported
 
8799
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
8800
        # support --undefined.  This deserves some investigation.  FIXME
 
8801
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8802
      else
 
8803
        ld_shlibs=no
 
8804
      fi
 
8805
      ;;
 
8806
 
 
8807
    cygwin* | mingw* | pw32* | cegcc*)
 
8808
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8809
      # as there is no search path for DLLs.
 
8810
      hardcode_libdir_flag_spec='-L$libdir'
 
8811
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
8812
      allow_undefined_flag=unsupported
 
8813
      always_export_symbols=no
 
8814
      enable_shared_with_static_runtimes=yes
 
8815
      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'
 
8816
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
8817
 
 
8818
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
8819
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8820
        # If the export-symbols file already is a .def file (1st line
 
8821
        # is EXPORTS), use it as is; otherwise, prepend...
 
8822
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
8823
          cp $export_symbols $output_objdir/$soname.def;
 
8824
        else
 
8825
          echo EXPORTS > $output_objdir/$soname.def;
 
8826
          cat $export_symbols >> $output_objdir/$soname.def;
 
8827
        fi~
 
8828
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8829
      else
 
8830
        ld_shlibs=no
 
8831
      fi
 
8832
      ;;
 
8833
 
 
8834
    haiku*)
 
8835
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8836
      link_all_deplibs=yes
 
8837
      ;;
 
8838
 
 
8839
    interix[3-9]*)
 
8840
      hardcode_direct=no
 
8841
      hardcode_shlibpath_var=no
 
8842
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8843
      export_dynamic_flag_spec='${wl}-E'
 
8844
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8845
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8846
      # default) and relocated if they conflict, which is a slow very memory
 
8847
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8848
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8849
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8850
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8851
      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'
 
8852
      ;;
 
8853
 
 
8854
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
8855
      tmp_diet=no
 
8856
      if test "$host_os" = linux-dietlibc; then
 
8857
        case $cc_basename in
 
8858
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8859
        esac
 
8860
      fi
 
8861
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8862
         && test "$tmp_diet" = no
 
8863
      then
 
8864
        tmp_addflag=' $pic_flag'
 
8865
        tmp_sharedflag='-shared'
 
8866
        case $cc_basename,$host_cpu in
 
8867
        pgcc*)                          # Portland Group C compiler
 
8868
          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'
 
8869
          tmp_addflag=' $pic_flag'
 
8870
          ;;
 
8871
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8872
                                        # Portland Group f77 and f90 compilers
 
8873
          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'
 
8874
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8875
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
8876
          tmp_addflag=' -i_dynamic' ;;
 
8877
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8878
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8879
        ifc* | ifort*)                  # Intel Fortran compiler
 
8880
          tmp_addflag=' -nofor_main' ;;
 
8881
        lf95*)                          # Lahey Fortran 8.1
 
8882
          whole_archive_flag_spec=
 
8883
          tmp_sharedflag='--shared' ;;
 
8884
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
8885
          tmp_sharedflag='-qmkshrobj'
 
8886
          tmp_addflag= ;;
 
8887
        nvcc*)  # Cuda Compiler Driver 2.2
 
8888
          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'
 
8889
          compiler_needs_object=yes
 
8890
          ;;
 
8891
        esac
 
8892
        case `$CC -V 2>&1 | sed 5q` in
 
8893
        *Sun\ C*)                       # Sun C 5.9
 
8894
          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'
 
8895
          compiler_needs_object=yes
 
8896
          tmp_sharedflag='-G' ;;
 
8897
        *Sun\ F*)                       # Sun Fortran 8.3
 
8898
          tmp_sharedflag='-G' ;;
 
8899
        esac
 
8900
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8901
 
 
8902
        if test "x$supports_anon_versioning" = xyes; then
 
8903
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8904
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8905
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8906
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8907
        fi
 
8908
 
 
8909
        case $cc_basename in
 
8910
        xlf* | bgf* | bgxlf* | mpixlf*)
 
8911
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8912
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8913
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8914
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
8915
          if test "x$supports_anon_versioning" = xyes; then
 
8916
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8917
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8918
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8919
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8920
          fi
 
8921
          ;;
 
8922
        esac
 
8923
      else
 
8924
        ld_shlibs=no
 
8925
      fi
 
8926
      ;;
 
8927
 
 
8928
    netbsd* | netbsdelf*-gnu)
 
8929
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
8930
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
8931
        wlarc=
 
8932
      else
 
8933
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8934
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8935
      fi
 
8936
      ;;
 
8937
 
 
8938
    solaris*)
 
8939
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
8940
        ld_shlibs=no
 
8941
        cat <<_LT_EOF 1>&2
 
8942
 
 
8943
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
8944
*** create shared libraries on Solaris systems.  Therefore, libtool
 
8945
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8946
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
8947
*** your PATH or compiler configuration so that the native linker is
 
8948
*** used, and then restart.
 
8949
 
 
8950
_LT_EOF
 
8951
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8952
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8953
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8954
      else
 
8955
        ld_shlibs=no
 
8956
      fi
 
8957
      ;;
 
8958
 
 
8959
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8960
      case `$LD -v 2>&1` in
 
8961
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8962
        ld_shlibs=no
 
8963
        cat <<_LT_EOF 1>&2
 
8964
 
 
8965
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8966
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8967
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8968
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8969
*** your PATH or compiler configuration so that the native linker is
 
8970
*** used, and then restart.
 
8971
 
 
8972
_LT_EOF
 
8973
        ;;
 
8974
        *)
 
8975
          # For security reasons, it is highly recommended that you always
 
8976
          # use absolute paths for naming shared libraries, and exclude the
 
8977
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8978
          # requires that you compile everything twice, which is a pain.
 
8979
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8980
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8981
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8982
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8983
          else
 
8984
            ld_shlibs=no
 
8985
          fi
 
8986
        ;;
 
8987
      esac
 
8988
      ;;
 
8989
 
 
8990
    sunos4*)
 
8991
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8992
      wlarc=
 
8993
      hardcode_direct=yes
 
8994
      hardcode_shlibpath_var=no
 
8995
      ;;
 
8996
 
 
8997
    *)
 
8998
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8999
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9000
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9001
      else
 
9002
        ld_shlibs=no
 
9003
      fi
 
9004
      ;;
 
9005
    esac
 
9006
 
 
9007
    if test "$ld_shlibs" = no; then
 
9008
      runpath_var=
 
9009
      hardcode_libdir_flag_spec=
 
9010
      export_dynamic_flag_spec=
 
9011
      whole_archive_flag_spec=
 
9012
    fi
 
9013
  else
 
9014
    # PORTME fill in a description of your system's linker (not GNU ld)
 
9015
    case $host_os in
 
9016
    aix3*)
 
9017
      allow_undefined_flag=unsupported
 
9018
      always_export_symbols=yes
 
9019
      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'
 
9020
      # Note: this linker hardcodes the directories in LIBPATH if there
 
9021
      # are no directories specified by -L.
 
9022
      hardcode_minus_L=yes
 
9023
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
9024
        # Neither direct hardcoding nor static linking is supported with a
 
9025
        # broken collect2.
 
9026
        hardcode_direct=unsupported
 
9027
      fi
 
9028
      ;;
 
9029
 
 
9030
    aix[4-9]*)
 
9031
      if test "$host_cpu" = ia64; then
 
9032
        # On IA64, the linker does run time linking by default, so we don't
 
9033
        # have to do anything special.
 
9034
        aix_use_runtimelinking=no
 
9035
        exp_sym_flag='-Bexport'
 
9036
        no_entry_flag=""
 
9037
      else
 
9038
        # If we're using GNU nm, then we don't want the "-C" option.
 
9039
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9040
        # Also, AIX nm treats weak defined symbols like other global
 
9041
        # defined symbols, whereas GNU nm marks them as "W".
 
9042
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9043
          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'
 
9044
        else
 
9045
          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'
 
9046
        fi
 
9047
        aix_use_runtimelinking=no
 
9048
 
 
9049
        # Test if we are trying to use run time linking or normal
 
9050
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
9051
        # need to do runtime linking.
 
9052
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
9053
          for ld_flag in $LDFLAGS; do
 
9054
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9055
            aix_use_runtimelinking=yes
 
9056
            break
 
9057
          fi
 
9058
          done
 
9059
          ;;
 
9060
        esac
 
9061
 
 
9062
        exp_sym_flag='-bexport'
 
9063
        no_entry_flag='-bnoentry'
 
9064
      fi
 
9065
 
 
9066
      # When large executables or shared objects are built, AIX ld can
 
9067
      # have problems creating the table of contents.  If linking a library
 
9068
      # or program results in "error TOC overflow" add -mminimal-toc to
 
9069
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
9070
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
9071
 
 
9072
      archive_cmds=''
 
9073
      hardcode_direct=yes
 
9074
      hardcode_direct_absolute=yes
 
9075
      hardcode_libdir_separator=':'
 
9076
      link_all_deplibs=yes
 
9077
      file_list_spec='${wl}-f,'
 
9078
 
 
9079
      if test "$GCC" = yes; then
 
9080
        case $host_os in aix4.[012]|aix4.[012].*)
 
9081
        # We only want to do this on AIX 4.2 and lower, the check
 
9082
        # below for broken collect2 doesn't work under 4.3+
 
9083
          collect2name=`${CC} -print-prog-name=collect2`
 
9084
          if test -f "$collect2name" &&
 
9085
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
9086
          then
 
9087
          # We have reworked collect2
 
9088
          :
 
9089
          else
 
9090
          # We have old collect2
 
9091
          hardcode_direct=unsupported
 
9092
          # It fails to find uninstalled libraries when the uninstalled
 
9093
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9094
          # to unsupported forces relinking
 
9095
          hardcode_minus_L=yes
 
9096
          hardcode_libdir_flag_spec='-L$libdir'
 
9097
          hardcode_libdir_separator=
 
9098
          fi
 
9099
          ;;
 
9100
        esac
 
9101
        shared_flag='-shared'
 
9102
        if test "$aix_use_runtimelinking" = yes; then
 
9103
          shared_flag="$shared_flag "'${wl}-G'
 
9104
        fi
 
9105
        link_all_deplibs=no
 
9106
      else
 
9107
        # not using gcc
 
9108
        if test "$host_cpu" = ia64; then
 
9109
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9110
        # chokes on -Wl,-G. The following line is correct:
 
9111
          shared_flag='-G'
 
9112
        else
 
9113
          if test "$aix_use_runtimelinking" = yes; then
 
9114
            shared_flag='${wl}-G'
 
9115
          else
 
9116
            shared_flag='${wl}-bM:SRE'
 
9117
          fi
 
9118
        fi
 
9119
      fi
 
9120
 
 
9121
      export_dynamic_flag_spec='${wl}-bexpall'
 
9122
      # It seems that -bexpall does not export symbols beginning with
 
9123
      # underscore (_), so it is better to generate a list of symbols to export.
 
9124
      always_export_symbols=yes
 
9125
      if test "$aix_use_runtimelinking" = yes; then
 
9126
        # Warning - without using the other runtime loading flags (-brtl),
 
9127
        # -berok will link without error, but may produce a broken library.
 
9128
        allow_undefined_flag='-berok'
 
9129
        # Determine the default libpath from the value encoded in an
 
9130
        # empty executable.
 
9131
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9132
  aix_libpath=$lt_cv_aix_libpath
 
9133
else
 
9134
  if ${lt_cv_aix_libpath_+:} false; then :
 
9135
  $as_echo_n "(cached) " >&6
 
9136
else
 
9137
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9138
/* end confdefs.h.  */
 
9139
 
 
9140
int
 
9141
main ()
 
9142
{
 
9143
 
 
9144
  ;
 
9145
  return 0;
 
9146
}
 
9147
_ACEOF
 
9148
if ac_fn_c_try_link "$LINENO"; then :
 
9149
  
 
9150
  lt_aix_libpath_sed='
 
9151
      /Import File Strings/,/^$/ {
 
9152
          /^0/ {
 
9153
              s/^0  *\([^ ]*\) *$/\1/
 
9154
              p
 
9155
          }
 
9156
      }'
 
9157
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9158
  # Check for a 64-bit object if we didn't find anything.
 
9159
  if test -z "$lt_cv_aix_libpath_"; then
 
9160
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9161
  fi
 
9162
fi
 
9163
rm -f core conftest.err conftest.$ac_objext \
 
9164
    conftest$ac_exeext conftest.$ac_ext
 
9165
  if test -z "$lt_cv_aix_libpath_"; then
 
9166
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9167
  fi
 
9168
  
 
9169
fi
 
9170
 
 
9171
  aix_libpath=$lt_cv_aix_libpath_
 
9172
fi
 
9173
 
 
9174
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9175
        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"
 
9176
      else
 
9177
        if test "$host_cpu" = ia64; then
 
9178
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
9179
          allow_undefined_flag="-z nodefs"
 
9180
          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"
 
9181
        else
 
9182
         # Determine the default libpath from the value encoded in an
 
9183
         # empty executable.
 
9184
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9185
  aix_libpath=$lt_cv_aix_libpath
 
9186
else
 
9187
  if ${lt_cv_aix_libpath_+:} false; then :
 
9188
  $as_echo_n "(cached) " >&6
 
9189
else
 
9190
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9191
/* end confdefs.h.  */
 
9192
 
 
9193
int
 
9194
main ()
 
9195
{
 
9196
 
 
9197
  ;
 
9198
  return 0;
 
9199
}
 
9200
_ACEOF
 
9201
if ac_fn_c_try_link "$LINENO"; then :
 
9202
  
 
9203
  lt_aix_libpath_sed='
 
9204
      /Import File Strings/,/^$/ {
 
9205
          /^0/ {
 
9206
              s/^0  *\([^ ]*\) *$/\1/
 
9207
              p
 
9208
          }
 
9209
      }'
 
9210
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9211
  # Check for a 64-bit object if we didn't find anything.
 
9212
  if test -z "$lt_cv_aix_libpath_"; then
 
9213
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9214
  fi
 
9215
fi
 
9216
rm -f core conftest.err conftest.$ac_objext \
 
9217
    conftest$ac_exeext conftest.$ac_ext
 
9218
  if test -z "$lt_cv_aix_libpath_"; then
 
9219
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9220
  fi
 
9221
  
 
9222
fi
 
9223
 
 
9224
  aix_libpath=$lt_cv_aix_libpath_
 
9225
fi
 
9226
 
 
9227
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9228
          # Warning - without using the other run time loading flags,
 
9229
          # -berok will link without error, but may produce a broken library.
 
9230
          no_undefined_flag=' ${wl}-bernotok'
 
9231
          allow_undefined_flag=' ${wl}-berok'
 
9232
          if test "$with_gnu_ld" = yes; then
 
9233
            # We only use this code for GNU lds that support --whole-archive.
 
9234
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9235
          else
 
9236
            # Exported symbols can be pulled into shared objects from archives
 
9237
            whole_archive_flag_spec='$convenience'
 
9238
          fi
 
9239
          archive_cmds_need_lc=yes
 
9240
          # This is similar to how AIX traditionally builds its shared libraries.
 
9241
          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'
 
9242
        fi
 
9243
      fi
 
9244
      ;;
 
9245
 
 
9246
    amigaos*)
 
9247
      case $host_cpu in
 
9248
      powerpc)
 
9249
            # see comment about AmigaOS4 .so support
 
9250
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9251
            archive_expsym_cmds=''
 
9252
        ;;
 
9253
      m68k)
 
9254
            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)'
 
9255
            hardcode_libdir_flag_spec='-L$libdir'
 
9256
            hardcode_minus_L=yes
 
9257
        ;;
 
9258
      esac
 
9259
      ;;
 
9260
 
 
9261
    bsdi[45]*)
 
9262
      export_dynamic_flag_spec=-rdynamic
 
9263
      ;;
 
9264
 
 
9265
    cygwin* | mingw* | pw32* | cegcc*)
 
9266
      # When not using gcc, we currently assume that we are using
 
9267
      # Microsoft Visual C++.
 
9268
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
9269
      # no search path for DLLs.
 
9270
      case $cc_basename in
 
9271
      cl*)
 
9272
        # Native MSVC
 
9273
        hardcode_libdir_flag_spec=' '
 
9274
        allow_undefined_flag=unsupported
 
9275
        always_export_symbols=yes
 
9276
        file_list_spec='@'
 
9277
        # Tell ltmain to make .lib files, not .a files.
 
9278
        libext=lib
 
9279
        # Tell ltmain to make .dll files, not .so files.
 
9280
        shrext_cmds=".dll"
 
9281
        # FIXME: Setting linknames here is a bad hack.
 
9282
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9283
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9284
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9285
          else
 
9286
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9287
          fi~
 
9288
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9289
          linknames='
 
9290
        # The linker will not automatically build a static lib if we build a DLL.
 
9291
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9292
        enable_shared_with_static_runtimes=yes
 
9293
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9294
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9295
        # Don't use ranlib
 
9296
        old_postinstall_cmds='chmod 644 $oldlib'
 
9297
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9298
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9299
          case $lt_outputfile in
 
9300
            *.exe|*.EXE) ;;
 
9301
            *)
 
9302
              lt_outputfile="$lt_outputfile.exe"
 
9303
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9304
              ;;
 
9305
          esac~
 
9306
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9307
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9308
            $RM "$lt_outputfile.manifest";
 
9309
          fi'
 
9310
        ;;
 
9311
      *)
 
9312
        # Assume MSVC wrapper
 
9313
        hardcode_libdir_flag_spec=' '
 
9314
        allow_undefined_flag=unsupported
 
9315
        # Tell ltmain to make .lib files, not .a files.
 
9316
        libext=lib
 
9317
        # Tell ltmain to make .dll files, not .so files.
 
9318
        shrext_cmds=".dll"
 
9319
        # FIXME: Setting linknames here is a bad hack.
 
9320
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9321
        # The linker will automatically build a .lib file if we build a DLL.
 
9322
        old_archive_from_new_cmds='true'
 
9323
        # FIXME: Should let the user specify the lib program.
 
9324
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9325
        enable_shared_with_static_runtimes=yes
 
9326
        ;;
 
9327
      esac
 
9328
      ;;
 
9329
 
 
9330
    darwin* | rhapsody*)
 
9331
      
 
9332
  
 
9333
  archive_cmds_need_lc=no
 
9334
  hardcode_direct=no
 
9335
  hardcode_automatic=yes
 
9336
  hardcode_shlibpath_var=unsupported
 
9337
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9338
    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\"`'
 
9339
    
 
9340
  else
 
9341
    whole_archive_flag_spec=''
 
9342
  fi
 
9343
  link_all_deplibs=yes
 
9344
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9345
  case $cc_basename in
 
9346
     ifort*) _lt_dar_can_shared=yes ;;
 
9347
     *) _lt_dar_can_shared=$GCC ;;
 
9348
  esac
 
9349
  if test "$_lt_dar_can_shared" = "yes"; then
 
9350
    output_verbose_link_cmd=func_echo_all
 
9351
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9352
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9353
    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}"
 
9354
    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}"
 
9355
    
 
9356
  else
 
9357
  ld_shlibs=no
 
9358
  fi
 
9359
 
 
9360
      ;;
 
9361
 
 
9362
    dgux*)
 
9363
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9364
      hardcode_libdir_flag_spec='-L$libdir'
 
9365
      hardcode_shlibpath_var=no
 
9366
      ;;
 
9367
 
 
9368
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
9369
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
9370
    # does not break anything, and helps significantly (at the cost of a little
 
9371
    # extra space).
 
9372
    freebsd2.2*)
 
9373
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
9374
      hardcode_libdir_flag_spec='-R$libdir'
 
9375
      hardcode_direct=yes
 
9376
      hardcode_shlibpath_var=no
 
9377
      ;;
 
9378
 
 
9379
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
9380
    freebsd2.*)
 
9381
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9382
      hardcode_direct=yes
 
9383
      hardcode_minus_L=yes
 
9384
      hardcode_shlibpath_var=no
 
9385
      ;;
 
9386
 
 
9387
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
9388
    freebsd* | dragonfly*)
 
9389
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9390
      hardcode_libdir_flag_spec='-R$libdir'
 
9391
      hardcode_direct=yes
 
9392
      hardcode_shlibpath_var=no
 
9393
      ;;
 
9394
 
 
9395
    hpux9*)
 
9396
      if test "$GCC" = yes; then
 
9397
        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'
 
9398
      else
 
9399
        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'
 
9400
      fi
 
9401
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9402
      hardcode_libdir_separator=:
 
9403
      hardcode_direct=yes
 
9404
 
 
9405
      # hardcode_minus_L: Not really in the search PATH,
 
9406
      # but as the default location of the library.
 
9407
      hardcode_minus_L=yes
 
9408
      export_dynamic_flag_spec='${wl}-E'
 
9409
      ;;
 
9410
 
 
9411
    hpux10*)
 
9412
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9413
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9414
      else
 
9415
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9416
      fi
 
9417
      if test "$with_gnu_ld" = no; then
 
9418
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9419
        hardcode_libdir_separator=:
 
9420
        hardcode_direct=yes
 
9421
        hardcode_direct_absolute=yes
 
9422
        export_dynamic_flag_spec='${wl}-E'
 
9423
        # hardcode_minus_L: Not really in the search PATH,
 
9424
        # but as the default location of the library.
 
9425
        hardcode_minus_L=yes
 
9426
      fi
 
9427
      ;;
 
9428
 
 
9429
    hpux11*)
 
9430
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9431
        case $host_cpu in
 
9432
        hppa*64*)
 
9433
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9434
          ;;
 
9435
        ia64*)
 
9436
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9437
          ;;
 
9438
        *)
 
9439
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9440
          ;;
 
9441
        esac
 
9442
      else
 
9443
        case $host_cpu in
 
9444
        hppa*64*)
 
9445
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9446
          ;;
 
9447
        ia64*)
 
9448
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9449
          ;;
 
9450
        *)
 
9451
        
 
9452
          # Older versions of the 11.00 compiler do not understand -b yet
 
9453
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9454
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9455
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9456
if ${lt_cv_prog_compiler__b+:} false; then :
 
9457
  $as_echo_n "(cached) " >&6
 
9458
else
 
9459
  lt_cv_prog_compiler__b=no
 
9460
   save_LDFLAGS="$LDFLAGS"
 
9461
   LDFLAGS="$LDFLAGS -b"
 
9462
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9463
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9464
     # The linker can only warn and ignore the option if not recognized
 
9465
     # So say no if there are warnings
 
9466
     if test -s conftest.err; then
 
9467
       # Append any errors to the config.log.
 
9468
       cat conftest.err 1>&5
 
9469
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9470
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9471
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9472
         lt_cv_prog_compiler__b=yes
 
9473
       fi
 
9474
     else
 
9475
       lt_cv_prog_compiler__b=yes
 
9476
     fi
 
9477
   fi
 
9478
   $RM -r conftest*
 
9479
   LDFLAGS="$save_LDFLAGS"
 
9480
 
 
9481
fi
 
9482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9483
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9484
 
 
9485
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9486
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9487
else
 
9488
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9489
fi
 
9490
 
 
9491
          ;;
 
9492
        esac
 
9493
      fi
 
9494
      if test "$with_gnu_ld" = no; then
 
9495
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9496
        hardcode_libdir_separator=:
 
9497
 
 
9498
        case $host_cpu in
 
9499
        hppa*64*|ia64*)
 
9500
          hardcode_direct=no
 
9501
          hardcode_shlibpath_var=no
 
9502
          ;;
 
9503
        *)
 
9504
          hardcode_direct=yes
 
9505
          hardcode_direct_absolute=yes
 
9506
          export_dynamic_flag_spec='${wl}-E'
 
9507
 
 
9508
          # hardcode_minus_L: Not really in the search PATH,
 
9509
          # but as the default location of the library.
 
9510
          hardcode_minus_L=yes
 
9511
          ;;
 
9512
        esac
 
9513
      fi
 
9514
      ;;
 
9515
 
 
9516
    irix5* | irix6* | nonstopux*)
 
9517
      if test "$GCC" = yes; then
 
9518
        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'
 
9519
        # Try to use the -exported_symbol ld option, if it does not
 
9520
        # work, assume that -exports_file does not work either and
 
9521
        # implicitly export all symbols.
 
9522
        # This should be the same for all languages, so no per-tag cache variable.
 
9523
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9524
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9525
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9526
  $as_echo_n "(cached) " >&6
 
9527
else
 
9528
  save_LDFLAGS="$LDFLAGS"
 
9529
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9530
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9531
/* end confdefs.h.  */
 
9532
int foo (void) { return 0; }
 
9533
_ACEOF
 
9534
if ac_fn_c_try_link "$LINENO"; then :
 
9535
  lt_cv_irix_exported_symbol=yes
 
9536
else
 
9537
  lt_cv_irix_exported_symbol=no
 
9538
fi
 
9539
rm -f core conftest.err conftest.$ac_objext \
 
9540
    conftest$ac_exeext conftest.$ac_ext
 
9541
           LDFLAGS="$save_LDFLAGS"
 
9542
fi
 
9543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9544
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9545
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9546
          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'
 
9547
        fi
 
9548
      else
 
9549
        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'
 
9550
        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'
 
9551
      fi
 
9552
      archive_cmds_need_lc='no'
 
9553
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9554
      hardcode_libdir_separator=:
 
9555
      inherit_rpath=yes
 
9556
      link_all_deplibs=yes
 
9557
      ;;
 
9558
 
 
9559
    netbsd* | netbsdelf*-gnu)
 
9560
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9561
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
9562
      else
 
9563
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
9564
      fi
 
9565
      hardcode_libdir_flag_spec='-R$libdir'
 
9566
      hardcode_direct=yes
 
9567
      hardcode_shlibpath_var=no
 
9568
      ;;
 
9569
 
 
9570
    newsos6)
 
9571
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9572
      hardcode_direct=yes
 
9573
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9574
      hardcode_libdir_separator=:
 
9575
      hardcode_shlibpath_var=no
 
9576
      ;;
 
9577
 
 
9578
    *nto* | *qnx*)
 
9579
      ;;
 
9580
 
 
9581
    openbsd*)
 
9582
      if test -f /usr/libexec/ld.so; then
 
9583
        hardcode_direct=yes
 
9584
        hardcode_shlibpath_var=no
 
9585
        hardcode_direct_absolute=yes
 
9586
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9587
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9588
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9589
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9590
          export_dynamic_flag_spec='${wl}-E'
 
9591
        else
 
9592
          case $host_os in
 
9593
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9594
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9595
             hardcode_libdir_flag_spec='-R$libdir'
 
9596
             ;;
 
9597
           *)
 
9598
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9599
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9600
             ;;
 
9601
          esac
 
9602
        fi
 
9603
      else
 
9604
        ld_shlibs=no
 
9605
      fi
 
9606
      ;;
 
9607
 
 
9608
    os2*)
 
9609
      hardcode_libdir_flag_spec='-L$libdir'
 
9610
      hardcode_minus_L=yes
 
9611
      allow_undefined_flag=unsupported
 
9612
      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'
 
9613
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9614
      ;;
 
9615
 
 
9616
    osf3*)
 
9617
      if test "$GCC" = yes; then
 
9618
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9619
        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'
 
9620
      else
 
9621
        allow_undefined_flag=' -expect_unresolved \*'
 
9622
        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'
 
9623
      fi
 
9624
      archive_cmds_need_lc='no'
 
9625
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9626
      hardcode_libdir_separator=:
 
9627
      ;;
 
9628
 
 
9629
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
9630
      if test "$GCC" = yes; then
 
9631
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9632
        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'
 
9633
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9634
      else
 
9635
        allow_undefined_flag=' -expect_unresolved \*'
 
9636
        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'
 
9637
        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~
 
9638
        $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'
 
9639
 
 
9640
        # Both c and cxx compiler support -rpath directly
 
9641
        hardcode_libdir_flag_spec='-rpath $libdir'
 
9642
      fi
 
9643
      archive_cmds_need_lc='no'
 
9644
      hardcode_libdir_separator=:
 
9645
      ;;
 
9646
 
 
9647
    solaris*)
 
9648
      no_undefined_flag=' -z defs'
 
9649
      if test "$GCC" = yes; then
 
9650
        wlarc='${wl}'
 
9651
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9652
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9653
          $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'
 
9654
      else
 
9655
        case `$CC -V 2>&1` in
 
9656
        *"Compilers 5.0"*)
 
9657
          wlarc=''
 
9658
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9659
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9660
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9661
          ;;
 
9662
        *)
 
9663
          wlarc='${wl}'
 
9664
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9665
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9666
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9667
          ;;
 
9668
        esac
 
9669
      fi
 
9670
      hardcode_libdir_flag_spec='-R$libdir'
 
9671
      hardcode_shlibpath_var=no
 
9672
      case $host_os in
 
9673
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
9674
      *)
 
9675
        # The compiler driver will combine and reorder linker options,
 
9676
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9677
        # but is careful enough not to reorder.
 
9678
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9679
        if test "$GCC" = yes; then
 
9680
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9681
        else
 
9682
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9683
        fi
 
9684
        ;;
 
9685
      esac
 
9686
      link_all_deplibs=yes
 
9687
      ;;
 
9688
 
 
9689
    sunos4*)
 
9690
      if test "x$host_vendor" = xsequent; then
 
9691
        # Use $CC to link under sequent, because it throws in some extra .o
 
9692
        # files that make .init and .fini sections work.
 
9693
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9694
      else
 
9695
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
9696
      fi
 
9697
      hardcode_libdir_flag_spec='-L$libdir'
 
9698
      hardcode_direct=yes
 
9699
      hardcode_minus_L=yes
 
9700
      hardcode_shlibpath_var=no
 
9701
      ;;
 
9702
 
 
9703
    sysv4)
 
9704
      case $host_vendor in
 
9705
        sni)
 
9706
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9707
          hardcode_direct=yes # is this really true???
 
9708
        ;;
 
9709
        siemens)
 
9710
          ## LD is ld it makes a PLAMLIB
 
9711
          ## CC just makes a GrossModule.
 
9712
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
9713
          reload_cmds='$CC -r -o $output$reload_objs'
 
9714
          hardcode_direct=no
 
9715
        ;;
 
9716
        motorola)
 
9717
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9718
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
9719
        ;;
 
9720
      esac
 
9721
      runpath_var='LD_RUN_PATH'
 
9722
      hardcode_shlibpath_var=no
 
9723
      ;;
 
9724
 
 
9725
    sysv4.3*)
 
9726
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9727
      hardcode_shlibpath_var=no
 
9728
      export_dynamic_flag_spec='-Bexport'
 
9729
      ;;
 
9730
 
 
9731
    sysv4*MP*)
 
9732
      if test -d /usr/nec; then
 
9733
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9734
        hardcode_shlibpath_var=no
 
9735
        runpath_var=LD_RUN_PATH
 
9736
        hardcode_runpath_var=yes
 
9737
        ld_shlibs=yes
 
9738
      fi
 
9739
      ;;
 
9740
 
 
9741
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
9742
      no_undefined_flag='${wl}-z,text'
 
9743
      archive_cmds_need_lc=no
 
9744
      hardcode_shlibpath_var=no
 
9745
      runpath_var='LD_RUN_PATH'
 
9746
 
 
9747
      if test "$GCC" = yes; then
 
9748
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9749
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9750
      else
 
9751
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9752
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9753
      fi
 
9754
      ;;
 
9755
 
 
9756
    sysv5* | sco3.2v5* | sco5v6*)
 
9757
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9758
      # link with -lc, and that would cause any symbols used from libc to
 
9759
      # always be unresolved, which means just about no library would
 
9760
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9761
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9762
      # as -z defs.
 
9763
      no_undefined_flag='${wl}-z,text'
 
9764
      allow_undefined_flag='${wl}-z,nodefs'
 
9765
      archive_cmds_need_lc=no
 
9766
      hardcode_shlibpath_var=no
 
9767
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
9768
      hardcode_libdir_separator=':'
 
9769
      link_all_deplibs=yes
 
9770
      export_dynamic_flag_spec='${wl}-Bexport'
 
9771
      runpath_var='LD_RUN_PATH'
 
9772
 
 
9773
      if test "$GCC" = yes; then
 
9774
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9775
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9776
      else
 
9777
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9778
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9779
      fi
 
9780
      ;;
 
9781
 
 
9782
    uts4*)
 
9783
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9784
      hardcode_libdir_flag_spec='-L$libdir'
 
9785
      hardcode_shlibpath_var=no
 
9786
      ;;
 
9787
 
 
9788
    *)
 
9789
      ld_shlibs=no
 
9790
      ;;
 
9791
    esac
 
9792
 
 
9793
    if test x$host_vendor = xsni; then
 
9794
      case $host in
 
9795
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9796
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9797
        ;;
 
9798
      esac
 
9799
    fi
 
9800
  fi
 
9801
 
 
9802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
9803
$as_echo "$ld_shlibs" >&6; }
 
9804
test "$ld_shlibs" = no && can_build_shared=no
 
9805
 
 
9806
with_gnu_ld=$with_gnu_ld
 
9807
 
 
9808
 
 
9809
    
 
9810
    
 
9811
    
 
9812
 
 
9813
    
 
9814
    
 
9815
    
 
9816
 
 
9817
    
 
9818
    
 
9819
    
 
9820
 
 
9821
 
 
9822
#
 
9823
# Do we need to explicitly link libc?
 
9824
#
 
9825
case "x$archive_cmds_need_lc" in
 
9826
x|xyes)
 
9827
  # Assume -lc should be added
 
9828
  archive_cmds_need_lc=yes
 
9829
 
 
9830
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
9831
    case $archive_cmds in
 
9832
    *'~'*)
 
9833
      # FIXME: we may have to deal with multi-command sequences.
 
9834
      ;;
 
9835
    '$CC '*)
 
9836
      # Test whether the compiler implicitly links with -lc since on some
 
9837
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
9838
      # to ld, don't add -lc before -lgcc.
 
9839
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
9840
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
9841
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9842
  $as_echo_n "(cached) " >&6
 
9843
else
 
9844
  $RM conftest*
 
9845
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9846
 
 
9847
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9848
  (eval $ac_compile) 2>&5
 
9849
  ac_status=$?
 
9850
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9851
  test $ac_status = 0; } 2>conftest.err; then
 
9852
          soname=conftest
 
9853
          lib=conftest
 
9854
          libobjs=conftest.$ac_objext
 
9855
          deplibs=
 
9856
          wl=$lt_prog_compiler_wl
 
9857
          pic_flag=$lt_prog_compiler_pic
 
9858
          compiler_flags=-v
 
9859
          linker_flags=-v
 
9860
          verstring=
 
9861
          output_objdir=.
 
9862
          libname=conftest
 
9863
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9864
          allow_undefined_flag=
 
9865
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9866
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9867
  ac_status=$?
 
9868
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9869
  test $ac_status = 0; }
 
9870
          then
 
9871
            lt_cv_archive_cmds_need_lc=no
 
9872
          else
 
9873
            lt_cv_archive_cmds_need_lc=yes
 
9874
          fi
 
9875
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9876
        else
 
9877
          cat conftest.err 1>&5
 
9878
        fi
 
9879
        $RM conftest*
 
9880
        
 
9881
fi
 
9882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9883
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9884
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
9885
      ;;
 
9886
    esac
 
9887
  fi
 
9888
  ;;
 
9889
esac
 
9890
 
 
9891
 
 
9892
    
 
9893
    
 
9894
    
 
9895
 
 
9896
 
 
9897
    
 
9898
    
 
9899
    
 
9900
 
 
9901
 
 
9902
    
 
9903
    
 
9904
    
 
9905
 
 
9906
 
 
9907
    
 
9908
    
 
9909
    
 
9910
 
 
9911
 
 
9912
    
 
9913
    
 
9914
    
 
9915
 
 
9916
 
 
9917
    
 
9918
    
 
9919
    
 
9920
 
 
9921
 
 
9922
    
 
9923
    
 
9924
    
 
9925
 
 
9926
 
 
9927
    
 
9928
    
 
9929
    
 
9930
 
 
9931
 
 
9932
    
 
9933
    
 
9934
    
 
9935
 
 
9936
 
 
9937
    
 
9938
    
 
9939
    
 
9940
 
 
9941
 
 
9942
    
 
9943
    
 
9944
    
 
9945
 
 
9946
 
 
9947
    
 
9948
    
 
9949
    
 
9950
 
 
9951
 
 
9952
    
 
9953
    
 
9954
    
 
9955
 
 
9956
 
 
9957
    
 
9958
    
 
9959
    
 
9960
 
 
9961
 
 
9962
    
 
9963
    
 
9964
    
 
9965
 
 
9966
 
 
9967
    
 
9968
    
 
9969
    
 
9970
 
 
9971
 
 
9972
    
 
9973
    
 
9974
    
 
9975
 
 
9976
 
 
9977
    
 
9978
    
 
9979
    
 
9980
 
 
9981
 
 
9982
    
 
9983
    
 
9984
    
 
9985
 
 
9986
 
 
9987
    
 
9988
    
 
9989
    
 
9990
 
 
9991
 
 
9992
    
 
9993
    
 
9994
    
 
9995
 
 
9996
 
 
9997
    
 
9998
    
 
9999
    
 
10000
 
 
10001
 
 
10002
    
 
10003
    
 
10004
    
 
10005
 
 
10006
 
 
10007
    
 
10008
    
 
10009
    
 
10010
 
 
10011
 
 
10012
    
 
10013
    
 
10014
    
 
10015
 
 
10016
 
 
10017
    
 
10018
    
 
10019
    
 
10020
 
 
10021
 
 
10022
    
 
10023
    
 
10024
    
 
10025
 
 
10026
 
 
10027
    
 
10028
    
 
10029
    
 
10030
 
 
10031
 
 
10032
    
 
10033
    
 
10034
    
 
10035
 
 
10036
 
 
10037
    
 
10038
    
 
10039
    
 
10040
 
 
10041
 
 
10042
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10043
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10044
 
 
10045
if test "$GCC" = yes; then
 
10046
  case $host_os in
 
10047
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10048
    *) lt_awk_arg="/^libraries:/" ;;
 
10049
  esac
 
10050
  case $host_os in
 
10051
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10052
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10053
  esac
 
10054
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10055
  case $lt_search_path_spec in
 
10056
  *\;*)
 
10057
    # if the path contains ";" then we assume it to be the separator
 
10058
    # otherwise default to the standard path separator (i.e. ":") - it is
 
10059
    # assumed that no part of a normal pathname contains ";" but that should
 
10060
    # okay in the real world where ";" in dirpaths is itself problematic.
 
10061
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10062
    ;;
 
10063
  *)
 
10064
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10065
    ;;
 
10066
  esac
 
10067
  # Ok, now we have the path, separated by spaces, we can step through it
 
10068
  # and add multilib dir if necessary.
 
10069
  lt_tmp_lt_search_path_spec=
 
10070
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10071
  for lt_sys_path in $lt_search_path_spec; do
 
10072
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10073
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10074
    else
 
10075
      test -d "$lt_sys_path" && \
 
10076
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10077
    fi
 
10078
  done
 
10079
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
10080
BEGIN {RS=" "; FS="/|\n";} {
 
10081
  lt_foo="";
 
10082
  lt_count=0;
 
10083
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10084
    if ($lt_i != "" && $lt_i != ".") {
 
10085
      if ($lt_i == "..") {
 
10086
        lt_count++;
 
10087
      } else {
 
10088
        if (lt_count == 0) {
 
10089
          lt_foo="/" $lt_i lt_foo;
 
10090
        } else {
 
10091
          lt_count--;
 
10092
        }
 
10093
      }
 
10094
    }
 
10095
  }
 
10096
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10097
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10098
}'`
 
10099
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10100
  # for these hosts.
 
10101
  case $host_os in
 
10102
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10103
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10104
  esac
 
10105
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
10106
else
 
10107
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
10108
fi
 
10109
library_names_spec=
 
10110
libname_spec='lib$name'
 
10111
soname_spec=
 
10112
shrext_cmds=".so"
 
10113
postinstall_cmds=
 
10114
postuninstall_cmds=
 
10115
finish_cmds=
 
10116
finish_eval=
 
10117
shlibpath_var=
 
10118
shlibpath_overrides_runpath=unknown
 
10119
version_type=none
 
10120
dynamic_linker="$host_os ld.so"
 
10121
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10122
need_lib_prefix=unknown
 
10123
hardcode_into_libs=no
 
10124
 
 
10125
# when you set need_version to no, make sure it does not cause -set_version
 
10126
# flags to be left without arguments
 
10127
need_version=unknown
 
10128
 
 
10129
case $host_os in
 
10130
aix3*)
 
10131
  version_type=linux # correct to gnu/linux during the next big refactor
 
10132
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
10133
  shlibpath_var=LIBPATH
 
10134
 
 
10135
  # AIX 3 has no versioning support, so we append a major version to the name.
 
10136
  soname_spec='${libname}${release}${shared_ext}$major'
 
10137
  ;;
 
10138
 
 
10139
aix[4-9]*)
 
10140
  version_type=linux # correct to gnu/linux during the next big refactor
 
10141
  need_lib_prefix=no
 
10142
  need_version=no
 
10143
  hardcode_into_libs=yes
 
10144
  if test "$host_cpu" = ia64; then
 
10145
    # AIX 5 supports IA64
 
10146
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
10147
    shlibpath_var=LD_LIBRARY_PATH
 
10148
  else
 
10149
    # With GCC up to 2.95.x, collect2 would create an import file
 
10150
    # for dependence libraries.  The import file would start with
 
10151
    # the line `#! .'.  This would cause the generated library to
 
10152
    # depend on `.', always an invalid library.  This was fixed in
 
10153
    # development snapshots of GCC prior to 3.0.
 
10154
    case $host_os in
 
10155
      aix4 | aix4.[01] | aix4.[01].*)
 
10156
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
10157
           echo ' yes '
 
10158
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
10159
        :
 
10160
      else
 
10161
        can_build_shared=no
 
10162
      fi
 
10163
      ;;
 
10164
    esac
 
10165
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
10166
    # soname into executable. Probably we can add versioning support to
 
10167
    # collect2, so additional links can be useful in future.
 
10168
    if test "$aix_use_runtimelinking" = yes; then
 
10169
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
10170
      # instead of lib<name>.a to let people know that these are not
 
10171
      # typical AIX shared libraries.
 
10172
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10173
    else
 
10174
      # We preserve .a as extension for shared libraries through AIX4.2
 
10175
      # and later when we are not doing run time linking.
 
10176
      library_names_spec='${libname}${release}.a $libname.a'
 
10177
      soname_spec='${libname}${release}${shared_ext}$major'
 
10178
    fi
 
10179
    shlibpath_var=LIBPATH
 
10180
  fi
 
10181
  ;;
 
10182
 
 
10183
amigaos*)
 
10184
  case $host_cpu in
 
10185
  powerpc)
 
10186
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10187
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10188
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10189
    ;;
 
10190
  m68k)
 
10191
    library_names_spec='$libname.ixlibrary $libname.a'
 
10192
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10193
    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'
 
10194
    ;;
 
10195
  esac
 
10196
  ;;
 
10197
 
 
10198
beos*)
 
10199
  library_names_spec='${libname}${shared_ext}'
 
10200
  dynamic_linker="$host_os ld.so"
 
10201
  shlibpath_var=LIBRARY_PATH
 
10202
  ;;
 
10203
 
 
10204
bsdi[45]*)
 
10205
  version_type=linux # correct to gnu/linux during the next big refactor
 
10206
  need_version=no
 
10207
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10208
  soname_spec='${libname}${release}${shared_ext}$major'
 
10209
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
10210
  shlibpath_var=LD_LIBRARY_PATH
 
10211
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
10212
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
10213
  # the default ld.so.conf also contains /usr/contrib/lib and
 
10214
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
10215
  # libtool to hard-code these into programs
 
10216
  ;;
 
10217
 
 
10218
cygwin* | mingw* | pw32* | cegcc*)
 
10219
  version_type=windows
 
10220
  shrext_cmds=".dll"
 
10221
  need_version=no
 
10222
  need_lib_prefix=no
 
10223
 
 
10224
  case $GCC,$cc_basename in
 
10225
  yes,*)
 
10226
    # gcc
 
10227
    library_names_spec='$libname.dll.a'
 
10228
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10229
    postinstall_cmds='base_file=`basename \${file}`~
 
10230
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10231
      dldir=$destdir/`dirname \$dlpath`~
 
10232
      test -d \$dldir || mkdir -p \$dldir~
 
10233
      $install_prog $dir/$dlname \$dldir/$dlname~
 
10234
      chmod a+x \$dldir/$dlname~
 
10235
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10236
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10237
      fi'
 
10238
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10239
      dlpath=$dir/\$dldll~
 
10240
       $RM \$dlpath'
 
10241
    shlibpath_overrides_runpath=yes
 
10242
 
 
10243
    case $host_os in
 
10244
    cygwin*)
 
10245
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
10246
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10247
 
 
10248
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
10249
      ;;
 
10250
    mingw* | cegcc*)
 
10251
      # MinGW DLLs use traditional 'lib' prefix
 
10252
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10253
      ;;
 
10254
    pw32*)
 
10255
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
10256
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10257
      ;;
 
10258
    esac
 
10259
    dynamic_linker='Win32 ld.exe'
 
10260
    ;;
 
10261
 
 
10262
  *,cl*)
 
10263
    # Native MSVC
 
10264
    libname_spec='$name'
 
10265
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10266
    library_names_spec='${libname}.dll.lib'
 
10267
 
 
10268
    case $build_os in
 
10269
    mingw*)
 
10270
      sys_lib_search_path_spec=
 
10271
      lt_save_ifs=$IFS
 
10272
      IFS=';'
 
10273
      for lt_path in $LIB
 
10274
      do
 
10275
        IFS=$lt_save_ifs
 
10276
        # Let DOS variable expansion print the short 8.3 style file name.
 
10277
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10278
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10279
      done
 
10280
      IFS=$lt_save_ifs
 
10281
      # Convert to MSYS style.
 
10282
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10283
      ;;
 
10284
    cygwin*)
 
10285
      # Convert to unix form, then to dos form, then back to unix form
 
10286
      # but this time dos style (no spaces!) so that the unix form looks
 
10287
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10288
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10289
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10290
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10291
      ;;
 
10292
    *)
 
10293
      sys_lib_search_path_spec="$LIB"
 
10294
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10295
        # It is most probably a Windows format PATH.
 
10296
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10297
      else
 
10298
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10299
      fi
 
10300
      # FIXME: find the short name or the path components, as spaces are
 
10301
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10302
      ;;
 
10303
    esac
 
10304
 
 
10305
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10306
    postinstall_cmds='base_file=`basename \${file}`~
 
10307
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10308
      dldir=$destdir/`dirname \$dlpath`~
 
10309
      test -d \$dldir || mkdir -p \$dldir~
 
10310
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10311
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10312
      dlpath=$dir/\$dldll~
 
10313
       $RM \$dlpath'
 
10314
    shlibpath_overrides_runpath=yes
 
10315
    dynamic_linker='Win32 link.exe'
 
10316
    ;;
 
10317
 
 
10318
  *)
 
10319
    # Assume MSVC wrapper
 
10320
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10321
    dynamic_linker='Win32 ld.exe'
 
10322
    ;;
 
10323
  esac
 
10324
  # FIXME: first we should search . and the directory the executable is in
 
10325
  shlibpath_var=PATH
 
10326
  ;;
 
10327
 
 
10328
darwin* | rhapsody*)
 
10329
  dynamic_linker="$host_os dyld"
 
10330
  version_type=darwin
 
10331
  need_lib_prefix=no
 
10332
  need_version=no
 
10333
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10334
  soname_spec='${libname}${release}${major}$shared_ext'
 
10335
  shlibpath_overrides_runpath=yes
 
10336
  shlibpath_var=DYLD_LIBRARY_PATH
 
10337
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
10338
 
 
10339
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
10340
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
10341
  ;;
 
10342
 
 
10343
dgux*)
 
10344
  version_type=linux # correct to gnu/linux during the next big refactor
 
10345
  need_lib_prefix=no
 
10346
  need_version=no
 
10347
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
10348
  soname_spec='${libname}${release}${shared_ext}$major'
 
10349
  shlibpath_var=LD_LIBRARY_PATH
 
10350
  ;;
 
10351
 
 
10352
freebsd* | dragonfly*)
 
10353
  # DragonFly does not have aout.  When/if they implement a new
 
10354
  # versioning mechanism, adjust this.
 
10355
  if test -x /usr/bin/objformat; then
 
10356
    objformat=`/usr/bin/objformat`
 
10357
  else
 
10358
    case $host_os in
 
10359
    freebsd[23].*) objformat=aout ;;
 
10360
    *) objformat=elf ;;
 
10361
    esac
 
10362
  fi
 
10363
  version_type=freebsd-$objformat
 
10364
  case $version_type in
 
10365
    freebsd-elf*)
 
10366
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10367
      need_version=no
 
10368
      need_lib_prefix=no
 
10369
      ;;
 
10370
    freebsd-*)
 
10371
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
10372
      need_version=yes
 
10373
      ;;
 
10374
  esac
 
10375
  shlibpath_var=LD_LIBRARY_PATH
 
10376
  case $host_os in
 
10377
  freebsd2.*)
 
10378
    shlibpath_overrides_runpath=yes
 
10379
    ;;
 
10380
  freebsd3.[01]* | freebsdelf3.[01]*)
 
10381
    shlibpath_overrides_runpath=yes
 
10382
    hardcode_into_libs=yes
 
10383
    ;;
 
10384
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
10385
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
10386
    shlibpath_overrides_runpath=no
 
10387
    hardcode_into_libs=yes
 
10388
    ;;
 
10389
  *) # from 4.6 on, and DragonFly
 
10390
    shlibpath_overrides_runpath=yes
 
10391
    hardcode_into_libs=yes
 
10392
    ;;
 
10393
  esac
 
10394
  ;;
 
10395
 
 
10396
haiku*)
 
10397
  version_type=linux # correct to gnu/linux during the next big refactor
 
10398
  need_lib_prefix=no
 
10399
  need_version=no
 
10400
  dynamic_linker="$host_os runtime_loader"
 
10401
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10402
  soname_spec='${libname}${release}${shared_ext}$major'
 
10403
  shlibpath_var=LIBRARY_PATH
 
10404
  shlibpath_overrides_runpath=yes
 
10405
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10406
  hardcode_into_libs=yes
 
10407
  ;;
 
10408
 
 
10409
hpux9* | hpux10* | hpux11*)
 
10410
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
10411
  # link against other versions.
 
10412
  version_type=sunos
 
10413
  need_lib_prefix=no
 
10414
  need_version=no
 
10415
  case $host_cpu in
 
10416
  ia64*)
 
10417
    shrext_cmds='.so'
 
10418
    hardcode_into_libs=yes
 
10419
    dynamic_linker="$host_os dld.so"
 
10420
    shlibpath_var=LD_LIBRARY_PATH
 
10421
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10422
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10423
    soname_spec='${libname}${release}${shared_ext}$major'
 
10424
    if test "X$HPUX_IA64_MODE" = X32; then
 
10425
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
10426
    else
 
10427
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
10428
    fi
 
10429
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10430
    ;;
 
10431
  hppa*64*)
 
10432
    shrext_cmds='.sl'
 
10433
    hardcode_into_libs=yes
 
10434
    dynamic_linker="$host_os dld.sl"
 
10435
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10436
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10437
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10438
    soname_spec='${libname}${release}${shared_ext}$major'
 
10439
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10440
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10441
    ;;
 
10442
  *)
 
10443
    shrext_cmds='.sl'
 
10444
    dynamic_linker="$host_os dld.sl"
 
10445
    shlibpath_var=SHLIB_PATH
 
10446
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
10447
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10448
    soname_spec='${libname}${release}${shared_ext}$major'
 
10449
    ;;
 
10450
  esac
 
10451
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
10452
  postinstall_cmds='chmod 555 $lib'
 
10453
  # or fails outright, so override atomically:
 
10454
  install_override_mode=555
 
10455
  ;;
 
10456
 
 
10457
interix[3-9]*)
 
10458
  version_type=linux # correct to gnu/linux during the next big refactor
 
10459
  need_lib_prefix=no
 
10460
  need_version=no
 
10461
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10462
  soname_spec='${libname}${release}${shared_ext}$major'
 
10463
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
10464
  shlibpath_var=LD_LIBRARY_PATH
 
10465
  shlibpath_overrides_runpath=no
 
10466
  hardcode_into_libs=yes
 
10467
  ;;
 
10468
 
 
10469
irix5* | irix6* | nonstopux*)
 
10470
  case $host_os in
 
10471
    nonstopux*) version_type=nonstopux ;;
 
10472
    *)
 
10473
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
10474
                version_type=linux # correct to gnu/linux during the next big refactor
 
10475
        else
 
10476
                version_type=irix
 
10477
        fi ;;
 
10478
  esac
 
10479
  need_lib_prefix=no
 
10480
  need_version=no
 
10481
  soname_spec='${libname}${release}${shared_ext}$major'
 
10482
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10483
  case $host_os in
 
10484
  irix5* | nonstopux*)
 
10485
    libsuff= shlibsuff=
 
10486
    ;;
 
10487
  *)
 
10488
    case $LD in # libtool.m4 will add one of these switches to LD
 
10489
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
10490
      libsuff= shlibsuff= libmagic=32-bit;;
 
10491
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
10492
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
10493
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
10494
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
10495
    *) libsuff= shlibsuff= libmagic=never-match;;
 
10496
    esac
 
10497
    ;;
 
10498
  esac
 
10499
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
10500
  shlibpath_overrides_runpath=no
 
10501
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
10502
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
10503
  hardcode_into_libs=yes
 
10504
  ;;
 
10505
 
 
10506
# No shared lib support for Linux oldld, aout, or coff.
 
10507
linux*oldld* | linux*aout* | linux*coff*)
 
10508
  dynamic_linker=no
 
10509
  ;;
 
10510
 
 
10511
# This must be glibc/ELF.
 
10512
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 
10513
  version_type=linux # correct to gnu/linux during the next big refactor
 
10514
  need_lib_prefix=no
 
10515
  need_version=no
 
10516
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10517
  soname_spec='${libname}${release}${shared_ext}$major'
 
10518
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
10519
  shlibpath_var=LD_LIBRARY_PATH
 
10520
  shlibpath_overrides_runpath=no
 
10521
 
 
10522
  # Some binutils ld are patched to set DT_RUNPATH
 
10523
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10524
  $as_echo_n "(cached) " >&6
 
10525
else
 
10526
  lt_cv_shlibpath_overrides_runpath=no
 
10527
    save_LDFLAGS=$LDFLAGS
 
10528
    save_libdir=$libdir
 
10529
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10530
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10531
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10532
/* end confdefs.h.  */
 
10533
 
 
10534
int
 
10535
main ()
 
10536
{
 
10537
 
 
10538
  ;
 
10539
  return 0;
 
10540
}
 
10541
_ACEOF
 
10542
if ac_fn_c_try_link "$LINENO"; then :
 
10543
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10544
  lt_cv_shlibpath_overrides_runpath=yes
 
10545
fi
 
10546
fi
 
10547
rm -f core conftest.err conftest.$ac_objext \
 
10548
    conftest$ac_exeext conftest.$ac_ext
 
10549
    LDFLAGS=$save_LDFLAGS
 
10550
    libdir=$save_libdir
 
10551
    
 
10552
fi
 
10553
 
 
10554
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
10555
 
 
10556
  # This implies no fast_install, which is unacceptable.
 
10557
  # Some rework will be needed to allow for fast_install
 
10558
  # before this can be enabled.
 
10559
  hardcode_into_libs=yes
 
10560
 
 
10561
  # Append ld.so.conf contents to the search path
 
10562
  if test -f /etc/ld.so.conf; then
 
10563
    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' ' '`
 
10564
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
10565
  fi
 
10566
 
 
10567
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
10568
  # powerpc, because MkLinux only supported shared libraries with the
 
10569
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
10570
  # most powerpc-linux boxes support dynamic linking these days and
 
10571
  # people can always --disable-shared, the test was removed, and we
 
10572
  # assume the GNU/Linux dynamic linker is in use.
 
10573
  dynamic_linker='GNU/Linux ld.so'
 
10574
  ;;
 
10575
 
 
10576
netbsdelf*-gnu)
 
10577
  version_type=linux
 
10578
  need_lib_prefix=no
 
10579
  need_version=no
 
10580
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10581
  soname_spec='${libname}${release}${shared_ext}$major'
 
10582
  shlibpath_var=LD_LIBRARY_PATH
 
10583
  shlibpath_overrides_runpath=no
 
10584
  hardcode_into_libs=yes
 
10585
  dynamic_linker='NetBSD ld.elf_so'
 
10586
  ;;
 
10587
 
 
10588
netbsd*)
 
10589
  version_type=sunos
 
10590
  need_lib_prefix=no
 
10591
  need_version=no
 
10592
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10593
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10594
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10595
    dynamic_linker='NetBSD (a.out) ld.so'
 
10596
  else
 
10597
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10598
    soname_spec='${libname}${release}${shared_ext}$major'
 
10599
    dynamic_linker='NetBSD ld.elf_so'
 
10600
  fi
 
10601
  shlibpath_var=LD_LIBRARY_PATH
 
10602
  shlibpath_overrides_runpath=yes
 
10603
  hardcode_into_libs=yes
 
10604
  ;;
 
10605
 
 
10606
newsos6)
 
10607
  version_type=linux # correct to gnu/linux during the next big refactor
 
10608
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10609
  shlibpath_var=LD_LIBRARY_PATH
 
10610
  shlibpath_overrides_runpath=yes
 
10611
  ;;
 
10612
 
 
10613
*nto* | *qnx*)
 
10614
  version_type=qnx
 
10615
  need_lib_prefix=no
 
10616
  need_version=no
 
10617
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10618
  soname_spec='${libname}${release}${shared_ext}$major'
 
10619
  shlibpath_var=LD_LIBRARY_PATH
 
10620
  shlibpath_overrides_runpath=no
 
10621
  hardcode_into_libs=yes
 
10622
  dynamic_linker='ldqnx.so'
 
10623
  ;;
 
10624
 
 
10625
openbsd*)
 
10626
  version_type=sunos
 
10627
  sys_lib_dlsearch_path_spec="/usr/lib"
 
10628
  need_lib_prefix=no
 
10629
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
10630
  case $host_os in
 
10631
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10632
    *)                          need_version=no  ;;
 
10633
  esac
 
10634
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10635
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10636
  shlibpath_var=LD_LIBRARY_PATH
 
10637
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10638
    case $host_os in
 
10639
      openbsd2.[89] | openbsd2.[89].*)
 
10640
        shlibpath_overrides_runpath=no
 
10641
        ;;
 
10642
      *)
 
10643
        shlibpath_overrides_runpath=yes
 
10644
        ;;
 
10645
      esac
 
10646
  else
 
10647
    shlibpath_overrides_runpath=yes
 
10648
  fi
 
10649
  ;;
 
10650
 
 
10651
os2*)
 
10652
  libname_spec='$name'
 
10653
  shrext_cmds=".dll"
 
10654
  need_lib_prefix=no
 
10655
  library_names_spec='$libname${shared_ext} $libname.a'
 
10656
  dynamic_linker='OS/2 ld.exe'
 
10657
  shlibpath_var=LIBPATH
 
10658
  ;;
 
10659
 
 
10660
osf3* | osf4* | osf5*)
 
10661
  version_type=osf
 
10662
  need_lib_prefix=no
 
10663
  need_version=no
 
10664
  soname_spec='${libname}${release}${shared_ext}$major'
 
10665
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10666
  shlibpath_var=LD_LIBRARY_PATH
 
10667
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
10668
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
10669
  ;;
 
10670
 
 
10671
rdos*)
 
10672
  dynamic_linker=no
 
10673
  ;;
 
10674
 
 
10675
solaris*)
 
10676
  version_type=linux # correct to gnu/linux during the next big refactor
 
10677
  need_lib_prefix=no
 
10678
  need_version=no
 
10679
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10680
  soname_spec='${libname}${release}${shared_ext}$major'
 
10681
  shlibpath_var=LD_LIBRARY_PATH
 
10682
  shlibpath_overrides_runpath=yes
 
10683
  hardcode_into_libs=yes
 
10684
  # ldd complains unless libraries are executable
 
10685
  postinstall_cmds='chmod +x $lib'
 
10686
  ;;
 
10687
 
 
10688
sunos4*)
 
10689
  version_type=sunos
 
10690
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10691
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
10692
  shlibpath_var=LD_LIBRARY_PATH
 
10693
  shlibpath_overrides_runpath=yes
 
10694
  if test "$with_gnu_ld" = yes; then
 
10695
    need_lib_prefix=no
 
10696
  fi
 
10697
  need_version=yes
 
10698
  ;;
 
10699
 
 
10700
sysv4 | sysv4.3*)
 
10701
  version_type=linux # correct to gnu/linux during the next big refactor
 
10702
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10703
  soname_spec='${libname}${release}${shared_ext}$major'
 
10704
  shlibpath_var=LD_LIBRARY_PATH
 
10705
  case $host_vendor in
 
10706
    sni)
 
10707
      shlibpath_overrides_runpath=no
 
10708
      need_lib_prefix=no
 
10709
      runpath_var=LD_RUN_PATH
 
10710
      ;;
 
10711
    siemens)
 
10712
      need_lib_prefix=no
 
10713
      ;;
 
10714
    motorola)
 
10715
      need_lib_prefix=no
 
10716
      need_version=no
 
10717
      shlibpath_overrides_runpath=no
 
10718
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
10719
      ;;
 
10720
  esac
 
10721
  ;;
 
10722
 
 
10723
sysv4*MP*)
 
10724
  if test -d /usr/nec ;then
 
10725
    version_type=linux # correct to gnu/linux during the next big refactor
 
10726
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
10727
    soname_spec='$libname${shared_ext}.$major'
 
10728
    shlibpath_var=LD_LIBRARY_PATH
 
10729
  fi
 
10730
  ;;
 
10731
 
 
10732
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
10733
  version_type=freebsd-elf
 
10734
  need_lib_prefix=no
 
10735
  need_version=no
 
10736
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10737
  soname_spec='${libname}${release}${shared_ext}$major'
 
10738
  shlibpath_var=LD_LIBRARY_PATH
 
10739
  shlibpath_overrides_runpath=yes
 
10740
  hardcode_into_libs=yes
 
10741
  if test "$with_gnu_ld" = yes; then
 
10742
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
10743
  else
 
10744
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
10745
    case $host_os in
 
10746
      sco3.2v5*)
 
10747
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
10748
        ;;
 
10749
    esac
 
10750
  fi
 
10751
  sys_lib_dlsearch_path_spec='/usr/lib'
 
10752
  ;;
 
10753
 
 
10754
tpf*)
 
10755
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10756
  version_type=linux # correct to gnu/linux during the next big refactor
 
10757
  need_lib_prefix=no
 
10758
  need_version=no
 
10759
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10760
  shlibpath_var=LD_LIBRARY_PATH
 
10761
  shlibpath_overrides_runpath=no
 
10762
  hardcode_into_libs=yes
 
10763
  ;;
 
10764
 
 
10765
uts4*)
 
10766
  version_type=linux # correct to gnu/linux during the next big refactor
 
10767
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10768
  soname_spec='${libname}${release}${shared_ext}$major'
 
10769
  shlibpath_var=LD_LIBRARY_PATH
 
10770
  ;;
 
10771
 
 
10772
*)
 
10773
  dynamic_linker=no
 
10774
  ;;
 
10775
esac
 
10776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
10777
$as_echo "$dynamic_linker" >&6; }
 
10778
test "$dynamic_linker" = no && can_build_shared=no
 
10779
 
 
10780
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
10781
if test "$GCC" = yes; then
 
10782
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
10783
fi
 
10784
 
 
10785
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10786
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10787
fi
 
10788
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10789
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10790
fi
 
10791
 
 
10792
 
 
10793
    
 
10794
    
 
10795
    
 
10796
 
 
10797
 
 
10798
    
 
10799
    
 
10800
    
 
10801
 
 
10802
 
 
10803
    
 
10804
    
 
10805
    
 
10806
 
 
10807
 
 
10808
    
 
10809
    
 
10810
    
 
10811
 
 
10812
 
 
10813
    
 
10814
    
 
10815
    
 
10816
 
 
10817
 
 
10818
    
 
10819
    
 
10820
    
 
10821
 
 
10822
 
 
10823
    
 
10824
    
 
10825
    
 
10826
 
 
10827
 
 
10828
    
 
10829
    
 
10830
    
 
10831
 
 
10832
 
 
10833
    
 
10834
    
 
10835
    
 
10836
 
 
10837
 
 
10838
    
 
10839
    
 
10840
    
 
10841
 
 
10842
 
 
10843
    
 
10844
    
 
10845
    
 
10846
 
 
10847
 
 
10848
    
 
10849
    
 
10850
    
 
10851
 
 
10852
 
 
10853
    
 
10854
    
 
10855
    
 
10856
 
 
10857
 
 
10858
    
 
10859
    
 
10860
    
 
10861
 
 
10862
 
 
10863
    
 
10864
    
 
10865
    
 
10866
 
 
10867
 
 
10868
    
 
10869
    
 
10870
    
 
10871
 
 
10872
 
 
10873
    
 
10874
    
 
10875
    
 
10876
 
 
10877
 
 
10878
    
 
10879
    
 
10880
    
 
10881
 
 
10882
 
 
10883
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
10884
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
10885
hardcode_action=
 
10886
if test -n "$hardcode_libdir_flag_spec" ||
 
10887
   test -n "$runpath_var" ||
 
10888
   test "X$hardcode_automatic" = "Xyes" ; then
 
10889
 
 
10890
  # We can hardcode non-existent directories.
 
10891
  if test "$hardcode_direct" != no &&
 
10892
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
10893
     # have to relink, otherwise we might link with an installed library
 
10894
     # when we should be linking with a yet-to-be-installed one
 
10895
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10896
     test "$hardcode_minus_L" != no; then
 
10897
    # Linking always hardcodes the temporary library directory.
 
10898
    hardcode_action=relink
 
10899
  else
 
10900
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
10901
    hardcode_action=immediate
 
10902
  fi
 
10903
else
 
10904
  # We cannot hardcode anything, or else we can only hardcode existing
 
10905
  # directories.
 
10906
  hardcode_action=unsupported
 
10907
fi
 
10908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
10909
$as_echo "$hardcode_action" >&6; }
 
10910
 
 
10911
if test "$hardcode_action" = relink ||
 
10912
   test "$inherit_rpath" = yes; then
 
10913
  # Fast installation is not supported
 
10914
  enable_fast_install=no
 
10915
elif test "$shlibpath_overrides_runpath" = yes ||
 
10916
     test "$enable_shared" = no; then
 
10917
  # Fast installation is not necessary
 
10918
  enable_fast_install=needless
 
10919
fi
 
10920
 
 
10921
    
 
10922
    
 
10923
    
 
10924
 
 
10925
 
 
10926
  if test "x$enable_dlopen" != xyes; then
 
10927
  enable_dlopen=unknown
 
10928
  enable_dlopen_self=unknown
 
10929
  enable_dlopen_self_static=unknown
 
10930
else
 
10931
  lt_cv_dlopen=no
 
10932
  lt_cv_dlopen_libs=
 
10933
 
 
10934
  case $host_os in
 
10935
  beos*)
 
10936
    lt_cv_dlopen="load_add_on"
 
10937
    lt_cv_dlopen_libs=
 
10938
    lt_cv_dlopen_self=yes
 
10939
    ;;
 
10940
 
 
10941
  mingw* | pw32* | cegcc*)
 
10942
    lt_cv_dlopen="LoadLibrary"
 
10943
    lt_cv_dlopen_libs=
 
10944
    ;;
 
10945
 
 
10946
  cygwin*)
 
10947
    lt_cv_dlopen="dlopen"
 
10948
    lt_cv_dlopen_libs=
 
10949
    ;;
 
10950
 
 
10951
  darwin*)
 
10952
  # if libdl is installed we need to link against it
 
10953
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
10954
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10955
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
10956
  $as_echo_n "(cached) " >&6
 
10957
else
 
10958
  ac_check_lib_save_LIBS=$LIBS
 
10959
LIBS="-ldl  $LIBS"
 
10960
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10961
/* end confdefs.h.  */
 
10962
 
 
10963
/* Override any GCC internal prototype to avoid an error.
 
10964
   Use char because int might match the return type of a GCC
 
10965
   builtin and then its argument prototype would still apply.  */
 
10966
#ifdef __cplusplus
 
10967
extern "C"
 
10968
#endif
 
10969
char dlopen ();
 
10970
int
 
10971
main ()
 
10972
{
 
10973
return dlopen ();
 
10974
  ;
 
10975
  return 0;
 
10976
}
 
10977
_ACEOF
 
10978
if ac_fn_c_try_link "$LINENO"; then :
 
10979
  ac_cv_lib_dl_dlopen=yes
 
10980
else
 
10981
  ac_cv_lib_dl_dlopen=no
 
10982
fi
 
10983
rm -f core conftest.err conftest.$ac_objext \
 
10984
    conftest$ac_exeext conftest.$ac_ext
 
10985
LIBS=$ac_check_lib_save_LIBS
 
10986
fi
 
10987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
10988
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10989
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
10990
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10991
else
 
10992
  
 
10993
    lt_cv_dlopen="dyld"
 
10994
    lt_cv_dlopen_libs=
 
10995
    lt_cv_dlopen_self=yes
 
10996
    
 
10997
fi
 
10998
 
 
10999
    ;;
 
11000
 
 
11001
  *)
 
11002
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11003
if test "x$ac_cv_func_shl_load" = xyes; then :
 
11004
  lt_cv_dlopen="shl_load"
 
11005
else
 
11006
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11007
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11008
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
11009
  $as_echo_n "(cached) " >&6
 
11010
else
 
11011
  ac_check_lib_save_LIBS=$LIBS
 
11012
LIBS="-ldld  $LIBS"
 
11013
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11014
/* end confdefs.h.  */
 
11015
 
 
11016
/* Override any GCC internal prototype to avoid an error.
 
11017
   Use char because int might match the return type of a GCC
 
11018
   builtin and then its argument prototype would still apply.  */
 
11019
#ifdef __cplusplus
 
11020
extern "C"
 
11021
#endif
 
11022
char shl_load ();
 
11023
int
 
11024
main ()
 
11025
{
 
11026
return shl_load ();
 
11027
  ;
 
11028
  return 0;
 
11029
}
 
11030
_ACEOF
 
11031
if ac_fn_c_try_link "$LINENO"; then :
 
11032
  ac_cv_lib_dld_shl_load=yes
 
11033
else
 
11034
  ac_cv_lib_dld_shl_load=no
 
11035
fi
 
11036
rm -f core conftest.err conftest.$ac_objext \
 
11037
    conftest$ac_exeext conftest.$ac_ext
 
11038
LIBS=$ac_check_lib_save_LIBS
 
11039
fi
 
11040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11041
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11042
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
11043
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
11044
else
 
11045
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11046
if test "x$ac_cv_func_dlopen" = xyes; then :
 
11047
  lt_cv_dlopen="dlopen"
 
11048
else
 
11049
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11050
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11051
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
11052
  $as_echo_n "(cached) " >&6
 
11053
else
 
11054
  ac_check_lib_save_LIBS=$LIBS
 
11055
LIBS="-ldl  $LIBS"
 
11056
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11057
/* end confdefs.h.  */
 
11058
 
 
11059
/* Override any GCC internal prototype to avoid an error.
 
11060
   Use char because int might match the return type of a GCC
 
11061
   builtin and then its argument prototype would still apply.  */
 
11062
#ifdef __cplusplus
 
11063
extern "C"
 
11064
#endif
 
11065
char dlopen ();
 
11066
int
 
11067
main ()
 
11068
{
 
11069
return dlopen ();
 
11070
  ;
 
11071
  return 0;
 
11072
}
 
11073
_ACEOF
 
11074
if ac_fn_c_try_link "$LINENO"; then :
 
11075
  ac_cv_lib_dl_dlopen=yes
 
11076
else
 
11077
  ac_cv_lib_dl_dlopen=no
 
11078
fi
 
11079
rm -f core conftest.err conftest.$ac_objext \
 
11080
    conftest$ac_exeext conftest.$ac_ext
 
11081
LIBS=$ac_check_lib_save_LIBS
 
11082
fi
 
11083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11084
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11085
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
11086
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11087
else
 
11088
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11089
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11090
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
11091
  $as_echo_n "(cached) " >&6
 
11092
else
 
11093
  ac_check_lib_save_LIBS=$LIBS
 
11094
LIBS="-lsvld  $LIBS"
 
11095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11096
/* end confdefs.h.  */
 
11097
 
 
11098
/* Override any GCC internal prototype to avoid an error.
 
11099
   Use char because int might match the return type of a GCC
 
11100
   builtin and then its argument prototype would still apply.  */
 
11101
#ifdef __cplusplus
 
11102
extern "C"
 
11103
#endif
 
11104
char dlopen ();
 
11105
int
 
11106
main ()
 
11107
{
 
11108
return dlopen ();
 
11109
  ;
 
11110
  return 0;
 
11111
}
 
11112
_ACEOF
 
11113
if ac_fn_c_try_link "$LINENO"; then :
 
11114
  ac_cv_lib_svld_dlopen=yes
 
11115
else
 
11116
  ac_cv_lib_svld_dlopen=no
 
11117
fi
 
11118
rm -f core conftest.err conftest.$ac_objext \
 
11119
    conftest$ac_exeext conftest.$ac_ext
 
11120
LIBS=$ac_check_lib_save_LIBS
 
11121
fi
 
11122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11123
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11124
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
11125
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
11126
else
 
11127
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11128
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11129
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
11130
  $as_echo_n "(cached) " >&6
 
11131
else
 
11132
  ac_check_lib_save_LIBS=$LIBS
 
11133
LIBS="-ldld  $LIBS"
 
11134
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11135
/* end confdefs.h.  */
 
11136
 
 
11137
/* Override any GCC internal prototype to avoid an error.
 
11138
   Use char because int might match the return type of a GCC
 
11139
   builtin and then its argument prototype would still apply.  */
 
11140
#ifdef __cplusplus
 
11141
extern "C"
 
11142
#endif
 
11143
char dld_link ();
 
11144
int
 
11145
main ()
 
11146
{
 
11147
return dld_link ();
 
11148
  ;
 
11149
  return 0;
 
11150
}
 
11151
_ACEOF
 
11152
if ac_fn_c_try_link "$LINENO"; then :
 
11153
  ac_cv_lib_dld_dld_link=yes
 
11154
else
 
11155
  ac_cv_lib_dld_dld_link=no
 
11156
fi
 
11157
rm -f core conftest.err conftest.$ac_objext \
 
11158
    conftest$ac_exeext conftest.$ac_ext
 
11159
LIBS=$ac_check_lib_save_LIBS
 
11160
fi
 
11161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11162
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11163
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
11164
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
11165
fi
 
11166
 
 
11167
              
 
11168
fi
 
11169
 
 
11170
            
 
11171
fi
 
11172
 
 
11173
          
 
11174
fi
 
11175
 
 
11176
        
 
11177
fi
 
11178
 
 
11179
      
 
11180
fi
 
11181
 
 
11182
    ;;
 
11183
  esac
 
11184
 
 
11185
  if test "x$lt_cv_dlopen" != xno; then
 
11186
    enable_dlopen=yes
 
11187
  else
 
11188
    enable_dlopen=no
 
11189
  fi
 
11190
 
 
11191
  case $lt_cv_dlopen in
 
11192
  dlopen)
 
11193
    save_CPPFLAGS="$CPPFLAGS"
 
11194
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
11195
 
 
11196
    save_LDFLAGS="$LDFLAGS"
 
11197
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
11198
 
 
11199
    save_LIBS="$LIBS"
 
11200
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
11201
 
 
11202
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11203
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11204
if ${lt_cv_dlopen_self+:} false; then :
 
11205
  $as_echo_n "(cached) " >&6
 
11206
else
 
11207
          if test "$cross_compiling" = yes; then :
 
11208
  lt_cv_dlopen_self=cross
 
11209
else
 
11210
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11211
  lt_status=$lt_dlunknown
 
11212
  cat > conftest.$ac_ext <<_LT_EOF
 
11213
#line $LINENO "configure"
 
11214
#include "confdefs.h"
 
11215
 
 
11216
#if HAVE_DLFCN_H
 
11217
#include <dlfcn.h>
 
11218
#endif
 
11219
 
 
11220
#include <stdio.h>
 
11221
 
 
11222
#ifdef RTLD_GLOBAL
 
11223
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11224
#else
 
11225
#  ifdef DL_GLOBAL
 
11226
#    define LT_DLGLOBAL         DL_GLOBAL
 
11227
#  else
 
11228
#    define LT_DLGLOBAL         0
 
11229
#  endif
 
11230
#endif
 
11231
 
 
11232
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11233
   find out it does not work in some platform. */
 
11234
#ifndef LT_DLLAZY_OR_NOW
 
11235
#  ifdef RTLD_LAZY
 
11236
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11237
#  else
 
11238
#    ifdef DL_LAZY
 
11239
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11240
#    else
 
11241
#      ifdef RTLD_NOW
 
11242
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11243
#      else
 
11244
#        ifdef DL_NOW
 
11245
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11246
#        else
 
11247
#          define LT_DLLAZY_OR_NOW      0
 
11248
#        endif
 
11249
#      endif
 
11250
#    endif
 
11251
#  endif
 
11252
#endif
 
11253
 
 
11254
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11255
   correspondingly for the symbols needed.  */
 
11256
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11257
int fnord () __attribute__((visibility("default")));
 
11258
#endif
 
11259
 
 
11260
int fnord () { return 42; }
 
11261
int main ()
 
11262
{
 
11263
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11264
  int status = $lt_dlunknown;
 
11265
 
 
11266
  if (self)
 
11267
    {
 
11268
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11269
      else
 
11270
        {
 
11271
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11272
          else puts (dlerror ());
 
11273
        }
 
11274
      /* dlclose (self); */
 
11275
    }
 
11276
  else
 
11277
    puts (dlerror ());
 
11278
 
 
11279
  return status;
 
11280
}
 
11281
_LT_EOF
 
11282
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11283
  (eval $ac_link) 2>&5
 
11284
  ac_status=$?
 
11285
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11286
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11287
    (./conftest; exit; ) >&5 2>/dev/null
 
11288
    lt_status=$?
 
11289
    case x$lt_status in
 
11290
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
11291
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
11292
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
11293
    esac
 
11294
  else :
 
11295
    # compilation failed
 
11296
    lt_cv_dlopen_self=no
 
11297
  fi
 
11298
fi
 
11299
rm -fr conftest*
 
11300
 
 
11301
    
 
11302
fi
 
11303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
11304
$as_echo "$lt_cv_dlopen_self" >&6; }
 
11305
 
 
11306
    if test "x$lt_cv_dlopen_self" = xyes; then
 
11307
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
11308
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
11309
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11310
if ${lt_cv_dlopen_self_static+:} false; then :
 
11311
  $as_echo_n "(cached) " >&6
 
11312
else
 
11313
          if test "$cross_compiling" = yes; then :
 
11314
  lt_cv_dlopen_self_static=cross
 
11315
else
 
11316
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11317
  lt_status=$lt_dlunknown
 
11318
  cat > conftest.$ac_ext <<_LT_EOF
 
11319
#line $LINENO "configure"
 
11320
#include "confdefs.h"
 
11321
 
 
11322
#if HAVE_DLFCN_H
 
11323
#include <dlfcn.h>
 
11324
#endif
 
11325
 
 
11326
#include <stdio.h>
 
11327
 
 
11328
#ifdef RTLD_GLOBAL
 
11329
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11330
#else
 
11331
#  ifdef DL_GLOBAL
 
11332
#    define LT_DLGLOBAL         DL_GLOBAL
 
11333
#  else
 
11334
#    define LT_DLGLOBAL         0
 
11335
#  endif
 
11336
#endif
 
11337
 
 
11338
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11339
   find out it does not work in some platform. */
 
11340
#ifndef LT_DLLAZY_OR_NOW
 
11341
#  ifdef RTLD_LAZY
 
11342
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11343
#  else
 
11344
#    ifdef DL_LAZY
 
11345
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11346
#    else
 
11347
#      ifdef RTLD_NOW
 
11348
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11349
#      else
 
11350
#        ifdef DL_NOW
 
11351
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11352
#        else
 
11353
#          define LT_DLLAZY_OR_NOW      0
 
11354
#        endif
 
11355
#      endif
 
11356
#    endif
 
11357
#  endif
 
11358
#endif
 
11359
 
 
11360
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11361
   correspondingly for the symbols needed.  */
 
11362
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11363
int fnord () __attribute__((visibility("default")));
 
11364
#endif
 
11365
 
 
11366
int fnord () { return 42; }
 
11367
int main ()
 
11368
{
 
11369
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11370
  int status = $lt_dlunknown;
 
11371
 
 
11372
  if (self)
 
11373
    {
 
11374
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11375
      else
 
11376
        {
 
11377
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11378
          else puts (dlerror ());
 
11379
        }
 
11380
      /* dlclose (self); */
 
11381
    }
 
11382
  else
 
11383
    puts (dlerror ());
 
11384
 
 
11385
  return status;
 
11386
}
 
11387
_LT_EOF
 
11388
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11389
  (eval $ac_link) 2>&5
 
11390
  ac_status=$?
 
11391
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11392
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11393
    (./conftest; exit; ) >&5 2>/dev/null
 
11394
    lt_status=$?
 
11395
    case x$lt_status in
 
11396
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
11397
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
11398
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
11399
    esac
 
11400
  else :
 
11401
    # compilation failed
 
11402
    lt_cv_dlopen_self_static=no
 
11403
  fi
 
11404
fi
 
11405
rm -fr conftest*
 
11406
 
 
11407
      
 
11408
fi
 
11409
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
11410
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
11411
    fi
 
11412
 
 
11413
    CPPFLAGS="$save_CPPFLAGS"
 
11414
    LDFLAGS="$save_LDFLAGS"
 
11415
    LIBS="$save_LIBS"
 
11416
    ;;
 
11417
  esac
 
11418
 
 
11419
  case $lt_cv_dlopen_self in
 
11420
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
11421
  *) enable_dlopen_self=unknown ;;
 
11422
  esac
 
11423
 
 
11424
  case $lt_cv_dlopen_self_static in
 
11425
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
11426
  *) enable_dlopen_self_static=unknown ;;
 
11427
  esac
 
11428
fi
 
11429
 
 
11430
    
 
11431
    
 
11432
    
 
11433
 
 
11434
 
 
11435
    
 
11436
    
 
11437
    
 
11438
 
 
11439
 
 
11440
    
 
11441
    
 
11442
    
 
11443
 
 
11444
 
 
11445
  
 
11446
striplib=
 
11447
old_striplib=
 
11448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
11449
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11450
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11451
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11452
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11454
$as_echo "yes" >&6; }
 
11455
else
 
11456
# FIXME - insert some real tests, host_os isn't really good enough
 
11457
  case $host_os in
 
11458
  darwin*)
 
11459
    if test -n "$STRIP" ; then
 
11460
      striplib="$STRIP -x"
 
11461
      old_striplib="$STRIP -S"
 
11462
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11463
$as_echo "yes" >&6; }
 
11464
    else
 
11465
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11466
$as_echo "no" >&6; }
 
11467
    fi
 
11468
    ;;
 
11469
  *)
 
11470
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11471
$as_echo "no" >&6; }
 
11472
    ;;
 
11473
  esac
 
11474
fi
 
11475
 
 
11476
    
 
11477
    
 
11478
    
 
11479
 
 
11480
 
 
11481
    
 
11482
    
 
11483
    
 
11484
 
 
11485
 
 
11486
 
 
11487
  # Report which library types will actually be built
 
11488
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
11489
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11490
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
11491
$as_echo "$can_build_shared" >&6; }
 
11492
 
 
11493
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
11494
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11495
  test "$can_build_shared" = "no" && enable_shared=no
 
11496
 
 
11497
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11498
  # are all built from PIC.
 
11499
  case $host_os in
 
11500
  aix3*)
 
11501
    test "$enable_shared" = yes && enable_static=no
 
11502
    if test -n "$RANLIB"; then
 
11503
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11504
      postinstall_cmds='$RANLIB $lib'
 
11505
    fi
 
11506
    ;;
 
11507
 
 
11508
  aix[4-9]*)
 
11509
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11510
      test "$enable_shared" = yes && enable_static=no
 
11511
    fi
 
11512
    ;;
 
11513
  esac
 
11514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
11515
$as_echo "$enable_shared" >&6; }
 
11516
 
 
11517
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
11518
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11519
  # Make sure either enable_shared or enable_static is yes.
 
11520
  test "$enable_shared" = yes || enable_static=yes
 
11521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
11522
$as_echo "$enable_static" >&6; }
 
11523
 
 
11524
  
 
11525
 
 
11526
 
 
11527
fi
 
11528
ac_ext=c
 
11529
ac_cpp='$CPP $CPPFLAGS'
 
11530
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11531
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11532
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11533
 
 
11534
CC="$lt_save_CC"
 
11535
 
 
11536
 
 
11537
 
 
11538
 
 
11539
 
 
11540
 
 
11541
 
 
11542
 
 
11543
       
 
11544
       
 
11545
 
 
11546
 
 
11547
 
 
11548
 
 
11549
 
 
11550
        ac_config_commands="$ac_config_commands libtool"
 
11551
 
 
11552
 
 
11553
 
 
11554
 
 
11555
# Only expand once:
 
11556
 
 
11557
 
 
11558
 
 
11559
# Checks for programs.
 
11560
ac_ext=c
 
11561
ac_cpp='$CPP $CPPFLAGS'
 
11562
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11563
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11564
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11565
if test -n "$ac_tool_prefix"; then
 
11566
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
11567
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
11568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11569
$as_echo_n "checking for $ac_word... " >&6; }
 
11570
if ${ac_cv_prog_CC+:} false; then :
 
11571
  $as_echo_n "(cached) " >&6
 
11572
else
 
11573
  if test -n "$CC"; then
 
11574
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
11575
else
 
11576
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11577
for as_dir in $PATH
 
11578
do
 
11579
  IFS=$as_save_IFS
 
11580
  test -z "$as_dir" && as_dir=.
 
11581
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11582
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11583
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
11584
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11585
    break 2
 
11586
  fi
 
11587
done
 
11588
  done
 
11589
IFS=$as_save_IFS
 
11590
 
 
11591
fi
 
11592
fi
 
11593
CC=$ac_cv_prog_CC
 
11594
if test -n "$CC"; then
 
11595
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
11596
$as_echo "$CC" >&6; }
 
11597
else
 
11598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11599
$as_echo "no" >&6; }
 
11600
fi
 
11601
 
 
11602
 
 
11603
fi
 
11604
if test -z "$ac_cv_prog_CC"; then
 
11605
  ac_ct_CC=$CC
 
11606
  # Extract the first word of "gcc", so it can be a program name with args.
 
11607
set dummy gcc; ac_word=$2
 
11608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11609
$as_echo_n "checking for $ac_word... " >&6; }
 
11610
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
11611
  $as_echo_n "(cached) " >&6
 
11612
else
 
11613
  if test -n "$ac_ct_CC"; then
 
11614
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
11615
else
 
11616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11617
for as_dir in $PATH
 
11618
do
 
11619
  IFS=$as_save_IFS
 
11620
  test -z "$as_dir" && as_dir=.
 
11621
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11622
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11623
    ac_cv_prog_ac_ct_CC="gcc"
 
11624
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11625
    break 2
 
11626
  fi
 
11627
done
 
11628
  done
 
11629
IFS=$as_save_IFS
 
11630
 
 
11631
fi
 
11632
fi
 
11633
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
11634
if test -n "$ac_ct_CC"; then
 
11635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
11636
$as_echo "$ac_ct_CC" >&6; }
 
11637
else
 
11638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11639
$as_echo "no" >&6; }
 
11640
fi
 
11641
 
 
11642
  if test "x$ac_ct_CC" = x; then
 
11643
    CC=""
 
11644
  else
 
11645
    case $cross_compiling:$ac_tool_warned in
 
11646
yes:)
 
11647
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11648
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11649
ac_tool_warned=yes ;;
 
11650
esac
 
11651
    CC=$ac_ct_CC
 
11652
  fi
 
11653
else
 
11654
  CC="$ac_cv_prog_CC"
 
11655
fi
 
11656
 
 
11657
if test -z "$CC"; then
 
11658
          if test -n "$ac_tool_prefix"; then
 
11659
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
11660
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
11661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11662
$as_echo_n "checking for $ac_word... " >&6; }
 
11663
if ${ac_cv_prog_CC+:} false; then :
 
11664
  $as_echo_n "(cached) " >&6
 
11665
else
 
11666
  if test -n "$CC"; then
 
11667
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
11668
else
 
11669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11670
for as_dir in $PATH
 
11671
do
 
11672
  IFS=$as_save_IFS
 
11673
  test -z "$as_dir" && as_dir=.
 
11674
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11675
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11676
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
11677
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11678
    break 2
 
11679
  fi
 
11680
done
 
11681
  done
 
11682
IFS=$as_save_IFS
 
11683
 
 
11684
fi
 
11685
fi
 
11686
CC=$ac_cv_prog_CC
 
11687
if test -n "$CC"; then
 
11688
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
11689
$as_echo "$CC" >&6; }
 
11690
else
 
11691
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11692
$as_echo "no" >&6; }
 
11693
fi
 
11694
 
 
11695
 
 
11696
  fi
 
11697
fi
 
11698
if test -z "$CC"; then
 
11699
  # Extract the first word of "cc", so it can be a program name with args.
 
11700
set dummy cc; ac_word=$2
 
11701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11702
$as_echo_n "checking for $ac_word... " >&6; }
 
11703
if ${ac_cv_prog_CC+:} false; then :
 
11704
  $as_echo_n "(cached) " >&6
 
11705
else
 
11706
  if test -n "$CC"; then
 
11707
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
11708
else
 
11709
  ac_prog_rejected=no
 
11710
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11711
for as_dir in $PATH
 
11712
do
 
11713
  IFS=$as_save_IFS
 
11714
  test -z "$as_dir" && as_dir=.
 
11715
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11716
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11717
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
11718
       ac_prog_rejected=yes
 
11719
       continue
 
11720
     fi
 
11721
    ac_cv_prog_CC="cc"
 
11722
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11723
    break 2
 
11724
  fi
 
11725
done
 
11726
  done
 
11727
IFS=$as_save_IFS
 
11728
 
 
11729
if test $ac_prog_rejected = yes; then
 
11730
  # We found a bogon in the path, so make sure we never use it.
 
11731
  set dummy $ac_cv_prog_CC
 
11732
  shift
 
11733
  if test $@%:@ != 0; then
 
11734
    # We chose a different compiler from the bogus one.
 
11735
    # However, it has the same basename, so the bogon will be chosen
 
11736
    # first if we set CC to just the basename; use the full file name.
 
11737
    shift
 
11738
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
11739
  fi
 
11740
fi
 
11741
fi
 
11742
fi
 
11743
CC=$ac_cv_prog_CC
 
11744
if test -n "$CC"; then
 
11745
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
11746
$as_echo "$CC" >&6; }
 
11747
else
 
11748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11749
$as_echo "no" >&6; }
 
11750
fi
 
11751
 
 
11752
 
 
11753
fi
 
11754
if test -z "$CC"; then
 
11755
  if test -n "$ac_tool_prefix"; then
 
11756
  for ac_prog in cl.exe
 
11757
  do
 
11758
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
11759
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
11760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11761
$as_echo_n "checking for $ac_word... " >&6; }
 
11762
if ${ac_cv_prog_CC+:} false; then :
 
11763
  $as_echo_n "(cached) " >&6
 
11764
else
 
11765
  if test -n "$CC"; then
 
11766
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
11767
else
 
11768
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11769
for as_dir in $PATH
 
11770
do
 
11771
  IFS=$as_save_IFS
 
11772
  test -z "$as_dir" && as_dir=.
 
11773
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11774
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11775
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
11776
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11777
    break 2
 
11778
  fi
 
11779
done
 
11780
  done
 
11781
IFS=$as_save_IFS
 
11782
 
 
11783
fi
 
11784
fi
 
11785
CC=$ac_cv_prog_CC
 
11786
if test -n "$CC"; then
 
11787
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
11788
$as_echo "$CC" >&6; }
 
11789
else
 
11790
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11791
$as_echo "no" >&6; }
 
11792
fi
 
11793
 
 
11794
 
 
11795
    test -n "$CC" && break
 
11796
  done
 
11797
fi
 
11798
if test -z "$CC"; then
 
11799
  ac_ct_CC=$CC
 
11800
  for ac_prog in cl.exe
 
11801
do
 
11802
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
11803
set dummy $ac_prog; ac_word=$2
 
11804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11805
$as_echo_n "checking for $ac_word... " >&6; }
 
11806
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
11807
  $as_echo_n "(cached) " >&6
 
11808
else
 
11809
  if test -n "$ac_ct_CC"; then
 
11810
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
11811
else
 
11812
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11813
for as_dir in $PATH
 
11814
do
 
11815
  IFS=$as_save_IFS
 
11816
  test -z "$as_dir" && as_dir=.
 
11817
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11818
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11819
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
11820
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11821
    break 2
 
11822
  fi
 
11823
done
 
11824
  done
 
11825
IFS=$as_save_IFS
 
11826
 
 
11827
fi
 
11828
fi
 
11829
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
11830
if test -n "$ac_ct_CC"; then
 
11831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
11832
$as_echo "$ac_ct_CC" >&6; }
 
11833
else
 
11834
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11835
$as_echo "no" >&6; }
 
11836
fi
 
11837
 
 
11838
 
 
11839
  test -n "$ac_ct_CC" && break
 
11840
done
 
11841
 
 
11842
  if test "x$ac_ct_CC" = x; then
 
11843
    CC=""
 
11844
  else
 
11845
    case $cross_compiling:$ac_tool_warned in
 
11846
yes:)
 
11847
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11848
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11849
ac_tool_warned=yes ;;
 
11850
esac
 
11851
    CC=$ac_ct_CC
 
11852
  fi
 
11853
fi
 
11854
 
 
11855
fi
 
11856
 
 
11857
 
 
11858
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
11859
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
11860
as_fn_error $? "no acceptable C compiler found in \$PATH
 
11861
See \`config.log' for more details" "$LINENO" 5; }
 
11862
 
 
11863
# Provide some information about the compiler.
 
11864
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
11865
set X $ac_compile
 
11866
ac_compiler=$2
 
11867
for ac_option in --version -v -V -qversion; do
 
11868
  { { ac_try="$ac_compiler $ac_option >&5"
 
11869
case "(($ac_try" in
 
11870
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11871
  *) ac_try_echo=$ac_try;;
 
11872
esac
 
11873
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
11874
$as_echo "$ac_try_echo"; } >&5
 
11875
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
11876
  ac_status=$?
 
11877
  if test -s conftest.err; then
 
11878
    sed '10a\
 
11879
... rest of stderr output deleted ...
 
11880
         10q' conftest.err >conftest.er1
 
11881
    cat conftest.er1 >&5
 
11882
  fi
 
11883
  rm -f conftest.er1 conftest.err
 
11884
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11885
  test $ac_status = 0; }
 
11886
done
 
11887
 
 
11888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
11889
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
11890
if ${ac_cv_c_compiler_gnu+:} false; then :
 
11891
  $as_echo_n "(cached) " >&6
 
11892
else
 
11893
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11894
/* end confdefs.h.  */
 
11895
 
 
11896
int
 
11897
main ()
 
11898
{
 
11899
#ifndef __GNUC__
 
11900
       choke me
 
11901
#endif
 
11902
 
 
11903
  ;
 
11904
  return 0;
 
11905
}
 
11906
_ACEOF
 
11907
if ac_fn_c_try_compile "$LINENO"; then :
 
11908
  ac_compiler_gnu=yes
 
11909
else
 
11910
  ac_compiler_gnu=no
 
11911
fi
 
11912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11913
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
11914
 
 
11915
fi
 
11916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
11917
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
11918
if test $ac_compiler_gnu = yes; then
 
11919
  GCC=yes
 
11920
else
 
11921
  GCC=
 
11922
fi
 
11923
ac_test_CFLAGS=${CFLAGS+set}
 
11924
ac_save_CFLAGS=$CFLAGS
 
11925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
11926
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
11927
if ${ac_cv_prog_cc_g+:} false; then :
 
11928
  $as_echo_n "(cached) " >&6
 
11929
else
 
11930
  ac_save_c_werror_flag=$ac_c_werror_flag
 
11931
   ac_c_werror_flag=yes
 
11932
   ac_cv_prog_cc_g=no
 
11933
   CFLAGS="-g"
 
11934
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11935
/* end confdefs.h.  */
 
11936
 
 
11937
int
 
11938
main ()
 
11939
{
 
11940
 
 
11941
  ;
 
11942
  return 0;
 
11943
}
 
11944
_ACEOF
 
11945
if ac_fn_c_try_compile "$LINENO"; then :
 
11946
  ac_cv_prog_cc_g=yes
 
11947
else
 
11948
  CFLAGS=""
 
11949
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11950
/* end confdefs.h.  */
 
11951
 
 
11952
int
 
11953
main ()
 
11954
{
 
11955
 
 
11956
  ;
 
11957
  return 0;
 
11958
}
 
11959
_ACEOF
 
11960
if ac_fn_c_try_compile "$LINENO"; then :
 
11961
  
 
11962
else
 
11963
  ac_c_werror_flag=$ac_save_c_werror_flag
 
11964
         CFLAGS="-g"
 
11965
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11966
/* end confdefs.h.  */
 
11967
 
 
11968
int
 
11969
main ()
 
11970
{
 
11971
 
 
11972
  ;
 
11973
  return 0;
 
11974
}
 
11975
_ACEOF
 
11976
if ac_fn_c_try_compile "$LINENO"; then :
 
11977
  ac_cv_prog_cc_g=yes
 
11978
fi
 
11979
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11980
fi
 
11981
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11982
fi
 
11983
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11984
   ac_c_werror_flag=$ac_save_c_werror_flag
 
11985
fi
 
11986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
11987
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
11988
if test "$ac_test_CFLAGS" = set; then
 
11989
  CFLAGS=$ac_save_CFLAGS
 
11990
elif test $ac_cv_prog_cc_g = yes; then
 
11991
  if test "$GCC" = yes; then
 
11992
    CFLAGS="-g -O2"
 
11993
  else
 
11994
    CFLAGS="-g"
 
11995
  fi
 
11996
else
 
11997
  if test "$GCC" = yes; then
 
11998
    CFLAGS="-O2"
 
11999
  else
 
12000
    CFLAGS=
 
12001
  fi
 
12002
fi
 
12003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
12004
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
12005
if ${ac_cv_prog_cc_c89+:} false; then :
 
12006
  $as_echo_n "(cached) " >&6
 
12007
else
 
12008
  ac_cv_prog_cc_c89=no
 
12009
ac_save_CC=$CC
 
12010
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12011
/* end confdefs.h.  */
 
12012
#include <stdarg.h>
 
12013
#include <stdio.h>
 
12014
struct stat;
 
12015
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
12016
struct buf { int x; };
 
12017
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
12018
static char *e (p, i)
 
12019
     char **p;
 
12020
     int i;
 
12021
{
 
12022
  return p[i];
 
12023
}
 
12024
static char *f (char * (*g) (char **, int), char **p, ...)
 
12025
{
 
12026
  char *s;
 
12027
  va_list v;
 
12028
  va_start (v,p);
 
12029
  s = g (p, va_arg (v,int));
 
12030
  va_end (v);
 
12031
  return s;
 
12032
}
 
12033
 
 
12034
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
12035
   function prototypes and stuff, but not '\xHH' hex character constants.
 
12036
   These don't provoke an error unfortunately, instead are silently treated
 
12037
   as 'x'.  The following induces an error, until -std is added to get
 
12038
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
12039
   array size at least.  It's necessary to write '\x00'==0 to get something
 
12040
   that's true only with -std.  */
 
12041
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
12042
 
 
12043
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
12044
   inside strings and character constants.  */
 
12045
#define FOO(x) 'x'
 
12046
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
12047
 
 
12048
int test (int i, double x);
 
12049
struct s1 {int (*f) (int a);};
 
12050
struct s2 {int (*f) (double a);};
 
12051
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
12052
int argc;
 
12053
char **argv;
 
12054
int
 
12055
main ()
 
12056
{
 
12057
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
12058
  ;
 
12059
  return 0;
 
12060
}
 
12061
_ACEOF
 
12062
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
12063
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
12064
do
 
12065
  CC="$ac_save_CC $ac_arg"
 
12066
  if ac_fn_c_try_compile "$LINENO"; then :
 
12067
  ac_cv_prog_cc_c89=$ac_arg
 
12068
fi
 
12069
rm -f core conftest.err conftest.$ac_objext
 
12070
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
12071
done
 
12072
rm -f conftest.$ac_ext
 
12073
CC=$ac_save_CC
 
12074
 
 
12075
fi
 
12076
# AC_CACHE_VAL
 
12077
case "x$ac_cv_prog_cc_c89" in
 
12078
  x)
 
12079
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
12080
$as_echo "none needed" >&6; } ;;
 
12081
  xno)
 
12082
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
12083
$as_echo "unsupported" >&6; } ;;
 
12084
  *)
 
12085
    CC="$CC $ac_cv_prog_cc_c89"
 
12086
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
12087
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
12088
esac
 
12089
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
12090
  
 
12091
fi
 
12092
 
 
12093
ac_ext=c
 
12094
ac_cpp='$CPP $CPPFLAGS'
 
12095
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12096
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12097
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12098
 
 
12099
ac_ext=c
 
12100
ac_cpp='$CPP $CPPFLAGS'
 
12101
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12102
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12103
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 
12105
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 
12106
if ${am_cv_prog_cc_c_o+:} false; then :
 
12107
  $as_echo_n "(cached) " >&6
 
12108
else
 
12109
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12110
/* end confdefs.h.  */
 
12111
 
 
12112
int
 
12113
main ()
 
12114
{
 
12115
 
 
12116
  ;
 
12117
  return 0;
 
12118
}
 
12119
_ACEOF
 
12120
  # Make sure it works both with $CC and with simple cc.
 
12121
  # Following AC_PROG_CC_C_O, we do the test twice because some
 
12122
  # compilers refuse to overwrite an existing .o file with -o,
 
12123
  # though they will create one.
 
12124
  am_cv_prog_cc_c_o=yes
 
12125
  for am_i in 1 2; do
 
12126
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 
12127
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 
12128
   ac_status=$?
 
12129
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12130
   (exit $ac_status); } \
 
12131
         && test -f conftest2.$ac_objext; then
 
12132
      : OK
 
12133
    else
 
12134
      am_cv_prog_cc_c_o=no
 
12135
      break
 
12136
    fi
 
12137
  done
 
12138
  rm -f core conftest*
 
12139
  unset am_i
 
12140
fi
 
12141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 
12142
$as_echo "$am_cv_prog_cc_c_o" >&6; }
 
12143
if test "$am_cv_prog_cc_c_o" != yes; then
 
12144
   # Losing compiler, so override with the script.
 
12145
   # FIXME: It is wrong to rewrite CC.
 
12146
   # But if we don't then we get into trouble of one sort or another.
 
12147
   # A longer-term fix would be to have automake use am__CC in this case,
 
12148
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
12149
   CC="$am_aux_dir/compile $CC"
 
12150
fi
 
12151
ac_ext=c
 
12152
ac_cpp='$CPP $CPPFLAGS'
 
12153
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12154
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12155
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12156
 
 
12157
 
 
12158
depcc="$CC"   am_compiler_list=
 
12159
 
 
12160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
12161
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
12162
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
12163
  $as_echo_n "(cached) " >&6
 
12164
else
 
12165
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
12166
  # We make a subdir and do the tests there.  Otherwise we can end up
 
12167
  # making bogus files that we don't know about and never remove.  For
 
12168
  # instance it was reported that on HP-UX the gcc test will end up
 
12169
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
12170
  # in D".
 
12171
  rm -rf conftest.dir
 
12172
  mkdir conftest.dir
 
12173
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
12174
  # using a relative directory.
 
12175
  cp "$am_depcomp" conftest.dir
 
12176
  cd conftest.dir
 
12177
  # We will build objects and dependencies in a subdirectory because
 
12178
  # it helps to detect inapplicable dependency modes.  For instance
 
12179
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
12180
  # side effect of compilation, but ICC will put the dependencies in
 
12181
  # the current directory while Tru64 will put them in the object
 
12182
  # directory.
 
12183
  mkdir sub
 
12184
 
 
12185
  am_cv_CC_dependencies_compiler_type=none
 
12186
  if test "$am_compiler_list" = ""; then
 
12187
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
12188
  fi
 
12189
  am__universal=false
 
12190
  case " $depcc " in #(
 
12191
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
12192
     esac
 
12193
 
 
12194
  for depmode in $am_compiler_list; do
 
12195
    # Setup a source with many dependencies, because some compilers
 
12196
    # like to wrap large dependency lists on column 80 (with \), and
 
12197
    # we should not choose a depcomp mode which is confused by this.
 
12198
    #
 
12199
    # We need to recreate these files for each test, as the compiler may
 
12200
    # overwrite some of them when testing with obscure command lines.
 
12201
    # This happens at least with the AIX C compiler.
 
12202
    : > sub/conftest.c
 
12203
    for i in 1 2 3 4 5 6; do
 
12204
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
12205
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
12206
      # Solaris 10 /bin/sh.
 
12207
      echo '/* dummy */' > sub/conftst$i.h
 
12208
    done
 
12209
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
12210
 
 
12211
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
 
12212
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
12213
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
12214
    # versions had trouble with output in subdirs.
 
12215
    am__obj=sub/conftest.${OBJEXT-o}
 
12216
    am__minus_obj="-o $am__obj"
 
12217
    case $depmode in
 
12218
    gcc)
 
12219
      # This depmode causes a compiler race in universal mode.
 
12220
      test "$am__universal" = false || continue
 
12221
      ;;
 
12222
    nosideeffect)
 
12223
      # After this tag, mechanisms are not by side-effect, so they'll
 
12224
      # only be used when explicitly requested.
 
12225
      if test "x$enable_dependency_tracking" = xyes; then
 
12226
        continue
 
12227
      else
 
12228
        break
 
12229
      fi
 
12230
      ;;
 
12231
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
12232
      # This compiler won't grok '-c -o', but also, the minuso test has
 
12233
      # not run yet.  These depmodes are late enough in the game, and
 
12234
      # so weak that their functioning should not be impacted.
 
12235
      am__obj=conftest.${OBJEXT-o}
 
12236
      am__minus_obj=
 
12237
      ;;
 
12238
    none) break ;;
 
12239
    esac
 
12240
    if depmode=$depmode \
 
12241
       source=sub/conftest.c object=$am__obj \
 
12242
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
12243
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
12244
         >/dev/null 2>conftest.err &&
 
12245
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
12246
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
12247
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
12248
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
12249
      # icc doesn't choke on unknown options, it will just issue warnings
 
12250
      # or remarks (even with -Werror).  So we grep stderr for any message
 
12251
      # that says an option was ignored or not supported.
 
12252
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
12253
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
12254
      # The diagnosis changed in icc 8.0:
 
12255
      #   icc: Command line remark: option '-MP' not supported
 
12256
      if (grep 'ignoring option' conftest.err ||
 
12257
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
12258
        am_cv_CC_dependencies_compiler_type=$depmode
 
12259
        break
 
12260
      fi
 
12261
    fi
 
12262
  done
 
12263
 
 
12264
  cd ..
 
12265
  rm -rf conftest.dir
 
12266
else
 
12267
  am_cv_CC_dependencies_compiler_type=none
 
12268
fi
 
12269
 
 
12270
fi
 
12271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
12272
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
12273
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
12274
 
 
12275
 if 
 
12276
  test "x$enable_dependency_tracking" != xno \
 
12277
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
12278
  am__fastdepCC_TRUE=
 
12279
  am__fastdepCC_FALSE='#'
 
12280
else
 
12281
  am__fastdepCC_TRUE='#'
 
12282
  am__fastdepCC_FALSE=
 
12283
fi
 
12284
 
 
12285
 
 
12286
 
 
12287
# Checks for libraries.
 
12288
 
 
12289
# Checks for header files.
 
12290
for ac_header in stdint.h stdlib.h string.h
 
12291
do :
 
12292
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12293
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
12294
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
12295
  cat >>confdefs.h <<_ACEOF
 
12296
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
12297
_ACEOF
 
12298
 
 
12299
fi
 
12300
 
 
12301
done
 
12302
 
 
12303
for ac_header in libavcodec/avcodec.h libavformat/avformat.h libavresample/avresample.h
 
12304
do :
 
12305
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12306
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
12307
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
12308
  cat >>confdefs.h <<_ACEOF
 
12309
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
12310
_ACEOF
 
12311
 
 
12312
fi
 
12313
 
 
12314
done
 
12315
 
 
12316
 
 
12317
# Checks for typedefs, structures, and compiler characteristics.
 
12318
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
12319
if test "x$ac_cv_type_size_t" = xyes; then :
 
12320
  
 
12321
else
 
12322
  
 
12323
cat >>confdefs.h <<_ACEOF
 
12324
@%:@define size_t unsigned int
 
12325
_ACEOF
 
12326
 
 
12327
fi
 
12328
 
 
12329
ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
 
12330
case $ac_cv_c_uint16_t in #(
 
12331
  no|yes) ;; #(
 
12332
  *)
 
12333
    
 
12334
    
 
12335
cat >>confdefs.h <<_ACEOF
 
12336
@%:@define uint16_t $ac_cv_c_uint16_t
 
12337
_ACEOF
 
12338
;;
 
12339
  esac
 
12340
 
 
12341
ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
 
12342
case $ac_cv_c_uint32_t in #(
 
12343
  no|yes) ;; #(
 
12344
  *)
 
12345
    
 
12346
$as_echo "@%:@define _UINT32_T 1" >>confdefs.h
 
12347
 
 
12348
    
 
12349
cat >>confdefs.h <<_ACEOF
 
12350
@%:@define uint32_t $ac_cv_c_uint32_t
 
12351
_ACEOF
 
12352
;;
 
12353
  esac
 
12354
 
 
12355
ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
 
12356
case $ac_cv_c_uint8_t in #(
 
12357
  no|yes) ;; #(
 
12358
  *)
 
12359
    
 
12360
$as_echo "@%:@define _UINT8_T 1" >>confdefs.h
 
12361
 
 
12362
    
 
12363
cat >>confdefs.h <<_ACEOF
 
12364
@%:@define uint8_t $ac_cv_c_uint8_t
 
12365
_ACEOF
 
12366
;;
 
12367
  esac
 
12368
 
 
12369
 
 
12370
# Checks for library functions.
 
12371
for ac_header in stdlib.h
 
12372
do :
 
12373
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
 
12374
if test "x$ac_cv_header_stdlib_h" = xyes; then :
 
12375
  cat >>confdefs.h <<_ACEOF
 
12376
@%:@define HAVE_STDLIB_H 1
 
12377
_ACEOF
 
12378
 
 
12379
fi
 
12380
 
 
12381
done
 
12382
 
 
12383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
 
12384
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
 
12385
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
 
12386
  $as_echo_n "(cached) " >&6
 
12387
else
 
12388
  if test "$cross_compiling" = yes; then :
 
12389
  ac_cv_func_malloc_0_nonnull=no
 
12390
else
 
12391
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12392
/* end confdefs.h.  */
 
12393
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
 
12394
# include <stdlib.h>
 
12395
#else
 
12396
char *malloc ();
 
12397
#endif
 
12398
 
 
12399
int
 
12400
main ()
 
12401
{
 
12402
return ! malloc (0);
 
12403
  ;
 
12404
  return 0;
 
12405
}
 
12406
_ACEOF
 
12407
if ac_fn_c_try_run "$LINENO"; then :
 
12408
  ac_cv_func_malloc_0_nonnull=yes
 
12409
else
 
12410
  ac_cv_func_malloc_0_nonnull=no
 
12411
fi
 
12412
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
12413
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
12414
fi
 
12415
 
 
12416
fi
 
12417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
 
12418
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
 
12419
if test $ac_cv_func_malloc_0_nonnull = yes; then :
 
12420
  
 
12421
$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
 
12422
 
 
12423
else
 
12424
  $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
 
12425
 
 
12426
   case " $LIB@&t@OBJS " in
 
12427
  *" malloc.$ac_objext "* ) ;;
 
12428
  *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
 
12429
 ;;
 
12430
esac
 
12431
 
 
12432
   
 
12433
$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
 
12434
 
 
12435
fi
 
12436
 
 
12437
 
 
12438
 
 
12439
ac_config_files="$ac_config_files Makefile src/Makefile"
 
12440
 
 
12441
cat >confcache <<\_ACEOF
 
12442
# This file is a shell script that caches the results of configure
 
12443
# tests run on this system so they can be shared between configure
 
12444
# scripts and configure runs, see configure's option --config-cache.
 
12445
# It is not useful on other systems.  If it contains results you don't
 
12446
# want to keep, you may remove or edit it.
 
12447
#
 
12448
# config.status only pays attention to the cache file if you give it
 
12449
# the --recheck option to rerun configure.
 
12450
#
 
12451
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
12452
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
12453
# following values.
 
12454
 
 
12455
_ACEOF
 
12456
 
 
12457
# The following way of writing the cache mishandles newlines in values,
 
12458
# but we know of no workaround that is simple, portable, and efficient.
 
12459
# So, we kill variables containing newlines.
 
12460
# Ultrix sh set writes to stderr and can't be redirected directly,
 
12461
# and sets the high bit in the cache file unless we assign to the vars.
 
12462
(
 
12463
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
12464
    eval ac_val=\$$ac_var
 
12465
    case $ac_val in #(
 
12466
    *${as_nl}*)
 
12467
      case $ac_var in #(
 
12468
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
12469
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
12470
      esac
 
12471
      case $ac_var in #(
 
12472
      _ | IFS | as_nl) ;; #(
 
12473
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
12474
      *) { eval $ac_var=; unset $ac_var;} ;;
 
12475
      esac ;;
 
12476
    esac
 
12477
  done
 
12478
 
 
12479
  (set) 2>&1 |
 
12480
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
12481
    *${as_nl}ac_space=\ *)
 
12482
      # `set' does not quote correctly, so add quotes: double-quote
 
12483
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
12484
      sed -n \
 
12485
        "s/'/'\\\\''/g;
 
12486
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
12487
      ;; #(
 
12488
    *)
 
12489
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
12490
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
12491
      ;;
 
12492
    esac |
 
12493
    sort
 
12494
) |
 
12495
  sed '
 
12496
     /^ac_cv_env_/b end
 
12497
     t clear
 
12498
     :clear
 
12499
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
12500
     t end
 
12501
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
12502
     :end' >>confcache
 
12503
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
12504
  if test -w "$cache_file"; then
 
12505
    if test "x$cache_file" != "x/dev/null"; then
 
12506
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
12507
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
12508
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
12509
        cat confcache >"$cache_file"
 
12510
      else
 
12511
        case $cache_file in #(
 
12512
        */* | ?:*)
 
12513
          mv -f confcache "$cache_file"$$ &&
 
12514
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
12515
        *)
 
12516
          mv -f confcache "$cache_file" ;;
 
12517
        esac
 
12518
      fi
 
12519
    fi
 
12520
  else
 
12521
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
12522
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
12523
  fi
 
12524
fi
 
12525
rm -f confcache
 
12526
 
 
12527
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
12528
# Let make expand exec_prefix.
 
12529
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
12530
 
 
12531
# Transform confdefs.h into DEFS.
 
12532
# Protect against shell expansion while executing Makefile rules.
 
12533
# Protect against Makefile macro expansion.
 
12534
#
 
12535
# If the first sed substitution is executed (which looks for macros that
 
12536
# take arguments), then branch to the quote section.  Otherwise,
 
12537
# look for a macro that doesn't take arguments.
 
12538
ac_script='
 
12539
:mline
 
12540
/\\$/{
 
12541
 N
 
12542
 s,\\\n,,
 
12543
 b mline
 
12544
}
 
12545
t clear
 
12546
:clear
 
12547
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
12548
t quote
 
12549
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
12550
t quote
 
12551
b any
 
12552
:quote
 
12553
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
12554
s/\[/\\&/g
 
12555
s/\]/\\&/g
 
12556
s/\$/$$/g
 
12557
H
 
12558
:any
 
12559
${
 
12560
        g
 
12561
        s/^\n//
 
12562
        s/\n/ /g
 
12563
        p
 
12564
}
 
12565
'
 
12566
DEFS=`sed -n "$ac_script" confdefs.h`
 
12567
 
 
12568
 
 
12569
ac_libobjs=
 
12570
ac_ltlibobjs=
 
12571
U=
 
12572
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
 
12573
  # 1. Remove the extension, and $U if already installed.
 
12574
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
12575
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
12576
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
12577
  #    will be set to the directory where LIBOBJS objects are built.
 
12578
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
12579
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
12580
done
 
12581
LIB@&t@OBJS=$ac_libobjs
 
12582
 
 
12583
LTLIBOBJS=$ac_ltlibobjs
 
12584
 
 
12585
 
 
12586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 
12587
$as_echo_n "checking that generated files are newer than configure... " >&6; }
 
12588
   if test -n "$am_sleep_pid"; then
 
12589
     # Hide warnings about reused PIDs.
 
12590
     wait $am_sleep_pid 2>/dev/null
 
12591
   fi
 
12592
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 
12593
$as_echo "done" >&6; }
 
12594
 if test -n "$EXEEXT"; then
 
12595
  am__EXEEXT_TRUE=
 
12596
  am__EXEEXT_FALSE='#'
 
12597
else
 
12598
  am__EXEEXT_TRUE='#'
 
12599
  am__EXEEXT_FALSE=
 
12600
fi
 
12601
 
 
12602
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
12603
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
12604
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12605
fi
 
12606
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
12607
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
12608
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12609
fi
 
12610
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
12611
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
12612
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12613
fi
 
12614
 
 
12615
: "${CONFIG_STATUS=./config.status}"
 
12616
ac_write_fail=0
 
12617
ac_clean_files_save=$ac_clean_files
 
12618
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
12619
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
12620
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
12621
as_write_fail=0
 
12622
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
12623
#! $SHELL
 
12624
# Generated by $as_me.
 
12625
# Run this file to recreate the current configuration.
 
12626
# Compiler output produced by configure, useful for debugging
 
12627
# configure, is in config.log if it exists.
 
12628
 
 
12629
debug=false
 
12630
ac_cs_recheck=false
 
12631
ac_cs_silent=false
 
12632
 
 
12633
SHELL=\${CONFIG_SHELL-$SHELL}
 
12634
export SHELL
 
12635
_ASEOF
 
12636
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
12637
## -------------------- ##
 
12638
## M4sh Initialization. ##
 
12639
## -------------------- ##
 
12640
 
 
12641
# Be more Bourne compatible
 
12642
DUALCASE=1; export DUALCASE # for MKS sh
 
12643
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
12644
  emulate sh
 
12645
  NULLCMD=:
 
12646
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
12647
  # is contrary to our usage.  Disable this feature.
 
12648
  alias -g '${1+"$@"}'='"$@"'
 
12649
  setopt NO_GLOB_SUBST
 
12650
else
 
12651
  case `(set -o) 2>/dev/null` in @%:@(
 
12652
  *posix*) :
 
12653
    set -o posix ;; @%:@(
 
12654
  *) :
 
12655
     ;;
 
12656
esac
 
12657
fi
 
12658
 
 
12659
 
 
12660
as_nl='
 
12661
'
 
12662
export as_nl
 
12663
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
12664
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
12665
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
12666
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
12667
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
12668
# but without wasting forks for bash or zsh.
 
12669
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
12670
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
12671
  as_echo='print -r --'
 
12672
  as_echo_n='print -rn --'
 
12673
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
12674
  as_echo='printf %s\n'
 
12675
  as_echo_n='printf %s'
 
12676
else
 
12677
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
12678
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
12679
    as_echo_n='/usr/ucb/echo -n'
 
12680
  else
 
12681
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
12682
    as_echo_n_body='eval
 
12683
      arg=$1;
 
12684
      case $arg in @%:@(
 
12685
      *"$as_nl"*)
 
12686
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
12687
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
12688
      esac;
 
12689
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
12690
    '
 
12691
    export as_echo_n_body
 
12692
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
12693
  fi
 
12694
  export as_echo_body
 
12695
  as_echo='sh -c $as_echo_body as_echo'
 
12696
fi
 
12697
 
 
12698
# The user is always right.
 
12699
if test "${PATH_SEPARATOR+set}" != set; then
 
12700
  PATH_SEPARATOR=:
 
12701
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
12702
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
12703
      PATH_SEPARATOR=';'
 
12704
  }
 
12705
fi
 
12706
 
 
12707
 
 
12708
# IFS
 
12709
# We need space, tab and new line, in precisely that order.  Quoting is
 
12710
# there to prevent editors from complaining about space-tab.
 
12711
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
12712
# splitting by setting IFS to empty value.)
 
12713
IFS=" ""        $as_nl"
 
12714
 
 
12715
# Find who we are.  Look in the path if we contain no directory separator.
 
12716
as_myself=
 
12717
case $0 in @%:@((
 
12718
  *[\\/]* ) as_myself=$0 ;;
 
12719
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12720
for as_dir in $PATH
 
12721
do
 
12722
  IFS=$as_save_IFS
 
12723
  test -z "$as_dir" && as_dir=.
 
12724
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
12725
  done
 
12726
IFS=$as_save_IFS
 
12727
 
 
12728
     ;;
 
12729
esac
 
12730
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
12731
# in which case we are not to be found in the path.
 
12732
if test "x$as_myself" = x; then
 
12733
  as_myself=$0
 
12734
fi
 
12735
if test ! -f "$as_myself"; then
 
12736
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
12737
  exit 1
 
12738
fi
 
12739
 
 
12740
# Unset variables that we do not need and which cause bugs (e.g. in
 
12741
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
12742
# suppresses any "Segmentation fault" message there.  '((' could
 
12743
# trigger a bug in pdksh 5.2.14.
 
12744
for as_var in BASH_ENV ENV MAIL MAILPATH
 
12745
do eval test x\${$as_var+set} = xset \
 
12746
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
12747
done
 
12748
PS1='$ '
 
12749
PS2='> '
 
12750
PS4='+ '
 
12751
 
 
12752
# NLS nuisances.
 
12753
LC_ALL=C
 
12754
export LC_ALL
 
12755
LANGUAGE=C
 
12756
export LANGUAGE
 
12757
 
 
12758
# CDPATH.
 
12759
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
12760
 
 
12761
 
 
12762
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
 
12763
@%:@ ----------------------------------------
 
12764
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
12765
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
12766
@%:@ script with STATUS, using 1 if that was 0.
 
12767
as_fn_error ()
 
12768
{
 
12769
  as_status=$1; test $as_status -eq 0 && as_status=1
 
12770
  if test "$4"; then
 
12771
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
12772
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
12773
  fi
 
12774
  $as_echo "$as_me: error: $2" >&2
 
12775
  as_fn_exit $as_status
 
12776
} @%:@ as_fn_error
 
12777
 
 
12778
 
 
12779
@%:@ as_fn_set_status STATUS
 
12780
@%:@ -----------------------
 
12781
@%:@ Set @S|@? to STATUS, without forking.
 
12782
as_fn_set_status ()
 
12783
{
 
12784
  return $1
 
12785
} @%:@ as_fn_set_status
 
12786
 
 
12787
@%:@ as_fn_exit STATUS
 
12788
@%:@ -----------------
 
12789
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
12790
as_fn_exit ()
 
12791
{
 
12792
  set +e
 
12793
  as_fn_set_status $1
 
12794
  exit $1
 
12795
} @%:@ as_fn_exit
 
12796
 
 
12797
@%:@ as_fn_unset VAR
 
12798
@%:@ ---------------
 
12799
@%:@ Portably unset VAR.
 
12800
as_fn_unset ()
 
12801
{
 
12802
  { eval $1=; unset $1;}
 
12803
}
 
12804
as_unset=as_fn_unset
 
12805
@%:@ as_fn_append VAR VALUE
 
12806
@%:@ ----------------------
 
12807
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
 
12808
@%:@ advantage of any shell optimizations that allow amortized linear growth over
 
12809
@%:@ repeated appends, instead of the typical quadratic growth present in naive
 
12810
@%:@ implementations.
 
12811
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
12812
  eval 'as_fn_append ()
 
12813
  {
 
12814
    eval $1+=\$2
 
12815
  }'
 
12816
else
 
12817
  as_fn_append ()
 
12818
  {
 
12819
    eval $1=\$$1\$2
 
12820
  }
 
12821
fi # as_fn_append
 
12822
 
 
12823
@%:@ as_fn_arith ARG...
 
12824
@%:@ ------------------
 
12825
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
 
12826
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
 
12827
@%:@ must be portable across @S|@(()) and expr.
 
12828
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
12829
  eval 'as_fn_arith ()
 
12830
  {
 
12831
    as_val=$(( $* ))
 
12832
  }'
 
12833
else
 
12834
  as_fn_arith ()
 
12835
  {
 
12836
    as_val=`expr "$@" || test $? -eq 1`
 
12837
  }
 
12838
fi # as_fn_arith
 
12839
 
 
12840
 
 
12841
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
12842
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
12843
  as_expr=expr
 
12844
else
 
12845
  as_expr=false
 
12846
fi
 
12847
 
 
12848
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
12849
  as_basename=basename
 
12850
else
 
12851
  as_basename=false
 
12852
fi
 
12853
 
 
12854
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
12855
  as_dirname=dirname
 
12856
else
 
12857
  as_dirname=false
 
12858
fi
 
12859
 
 
12860
as_me=`$as_basename -- "$0" ||
 
12861
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
12862
         X"$0" : 'X\(//\)$' \| \
 
12863
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
12864
$as_echo X/"$0" |
 
12865
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
12866
            s//\1/
 
12867
            q
 
12868
          }
 
12869
          /^X\/\(\/\/\)$/{
 
12870
            s//\1/
 
12871
            q
 
12872
          }
 
12873
          /^X\/\(\/\).*/{
 
12874
            s//\1/
 
12875
            q
 
12876
          }
 
12877
          s/.*/./; q'`
 
12878
 
 
12879
# Avoid depending upon Character Ranges.
 
12880
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
12881
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
12882
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
12883
as_cr_digits='0123456789'
 
12884
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
12885
 
 
12886
ECHO_C= ECHO_N= ECHO_T=
 
12887
case `echo -n x` in @%:@(((((
 
12888
-n*)
 
12889
  case `echo 'xy\c'` in
 
12890
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
12891
  xy)  ECHO_C='\c';;
 
12892
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
12893
       ECHO_T=' ';;
 
12894
  esac;;
 
12895
*)
 
12896
  ECHO_N='-n';;
 
12897
esac
 
12898
 
 
12899
rm -f conf$$ conf$$.exe conf$$.file
 
12900
if test -d conf$$.dir; then
 
12901
  rm -f conf$$.dir/conf$$.file
 
12902
else
 
12903
  rm -f conf$$.dir
 
12904
  mkdir conf$$.dir 2>/dev/null
 
12905
fi
 
12906
if (echo >conf$$.file) 2>/dev/null; then
 
12907
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
12908
    as_ln_s='ln -s'
 
12909
    # ... but there are two gotchas:
 
12910
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
12911
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
12912
    # In both cases, we have to default to `cp -pR'.
 
12913
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
12914
      as_ln_s='cp -pR'
 
12915
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
12916
    as_ln_s=ln
 
12917
  else
 
12918
    as_ln_s='cp -pR'
 
12919
  fi
 
12920
else
 
12921
  as_ln_s='cp -pR'
 
12922
fi
 
12923
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
12924
rmdir conf$$.dir 2>/dev/null
 
12925
 
 
12926
 
 
12927
@%:@ as_fn_mkdir_p
 
12928
@%:@ -------------
 
12929
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
 
12930
as_fn_mkdir_p ()
 
12931
{
 
12932
 
 
12933
  case $as_dir in #(
 
12934
  -*) as_dir=./$as_dir;;
 
12935
  esac
 
12936
  test -d "$as_dir" || eval $as_mkdir_p || {
 
12937
    as_dirs=
 
12938
    while :; do
 
12939
      case $as_dir in #(
 
12940
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
12941
      *) as_qdir=$as_dir;;
 
12942
      esac
 
12943
      as_dirs="'$as_qdir' $as_dirs"
 
12944
      as_dir=`$as_dirname -- "$as_dir" ||
 
12945
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12946
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
12947
         X"$as_dir" : 'X\(//\)$' \| \
 
12948
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
12949
$as_echo X"$as_dir" |
 
12950
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12951
            s//\1/
 
12952
            q
 
12953
          }
 
12954
          /^X\(\/\/\)[^/].*/{
 
12955
            s//\1/
 
12956
            q
 
12957
          }
 
12958
          /^X\(\/\/\)$/{
 
12959
            s//\1/
 
12960
            q
 
12961
          }
 
12962
          /^X\(\/\).*/{
 
12963
            s//\1/
 
12964
            q
 
12965
          }
 
12966
          s/.*/./; q'`
 
12967
      test -d "$as_dir" && break
 
12968
    done
 
12969
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
12970
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
12971
 
 
12972
 
 
12973
} @%:@ as_fn_mkdir_p
 
12974
if mkdir -p . 2>/dev/null; then
 
12975
  as_mkdir_p='mkdir -p "$as_dir"'
 
12976
else
 
12977
  test -d ./-p && rmdir ./-p
 
12978
  as_mkdir_p=false
 
12979
fi
 
12980
 
 
12981
 
 
12982
@%:@ as_fn_executable_p FILE
 
12983
@%:@ -----------------------
 
12984
@%:@ Test if FILE is an executable regular file.
 
12985
as_fn_executable_p ()
 
12986
{
 
12987
  test -f "$1" && test -x "$1"
 
12988
} @%:@ as_fn_executable_p
 
12989
as_test_x='test -x'
 
12990
as_executable_p=as_fn_executable_p
 
12991
 
 
12992
# Sed expression to map a string onto a valid CPP name.
 
12993
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
12994
 
 
12995
# Sed expression to map a string onto a valid variable name.
 
12996
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
12997
 
 
12998
 
 
12999
exec 6>&1
 
13000
## ----------------------------------- ##
 
13001
## Main body of $CONFIG_STATUS script. ##
 
13002
## ----------------------------------- ##
 
13003
_ASEOF
 
13004
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
13005
 
 
13006
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13007
# Save the log message, to keep $0 and so on meaningful, and to
 
13008
# report actual input values of CONFIG_FILES etc. instead of their
 
13009
# values after options handling.
 
13010
ac_log="
 
13011
This file was extended by libwaveplot $as_me 1.0, which was
 
13012
generated by GNU Autoconf 2.69.  Invocation command line was
 
13013
 
 
13014
  CONFIG_FILES    = $CONFIG_FILES
 
13015
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
13016
  CONFIG_LINKS    = $CONFIG_LINKS
 
13017
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
13018
  $ $0 $@
 
13019
 
 
13020
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
13021
"
 
13022
 
 
13023
_ACEOF
 
13024
 
 
13025
case $ac_config_files in *"
 
13026
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
13027
esac
 
13028
 
 
13029
 
 
13030
 
 
13031
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13032
# Files that config.status was made for.
 
13033
config_files="$ac_config_files"
 
13034
config_commands="$ac_config_commands"
 
13035
 
 
13036
_ACEOF
 
13037
 
 
13038
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13039
ac_cs_usage="\
 
13040
\`$as_me' instantiates files and other configuration actions
 
13041
from templates according to the current configuration.  Unless the files
 
13042
and actions are specified as TAGs, all are instantiated by default.
 
13043
 
 
13044
Usage: $0 [OPTION]... [TAG]...
 
13045
 
 
13046
  -h, --help       print this help, then exit
 
13047
  -V, --version    print version number and configuration settings, then exit
 
13048
      --config     print configuration, then exit
 
13049
  -q, --quiet, --silent
 
13050
                   do not print progress messages
 
13051
  -d, --debug      don't remove temporary files
 
13052
      --recheck    update $as_me by reconfiguring in the same conditions
 
13053
      --file=FILE[:TEMPLATE] 
 
13054
                   instantiate the configuration file FILE
 
13055
 
 
13056
Configuration files:
 
13057
$config_files
 
13058
 
 
13059
Configuration commands:
 
13060
$config_commands
 
13061
 
 
13062
Report bugs to <ben.sput@gmail.com>."
 
13063
 
 
13064
_ACEOF
 
13065
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13066
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
13067
ac_cs_version="\\
 
13068
libwaveplot config.status 1.0
 
13069
configured by $0, generated by GNU Autoconf 2.69,
 
13070
  with options \\"\$ac_cs_config\\"
 
13071
 
 
13072
Copyright (C) 2012 Free Software Foundation, Inc.
 
13073
This config.status script is free software; the Free Software Foundation
 
13074
gives unlimited permission to copy, distribute and modify it."
 
13075
 
 
13076
ac_pwd='$ac_pwd'
 
13077
srcdir='$srcdir'
 
13078
INSTALL='$INSTALL'
 
13079
MKDIR_P='$MKDIR_P'
 
13080
AWK='$AWK'
 
13081
test -n "\$AWK" || AWK=awk
 
13082
_ACEOF
 
13083
 
 
13084
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13085
# The default lists apply if the user does not specify any file.
 
13086
ac_need_defaults=:
 
13087
while test $# != 0
 
13088
do
 
13089
  case $1 in
 
13090
  --*=?*)
 
13091
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
13092
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
13093
    ac_shift=:
 
13094
    ;;
 
13095
  --*=)
 
13096
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
13097
    ac_optarg=
 
13098
    ac_shift=:
 
13099
    ;;
 
13100
  *)
 
13101
    ac_option=$1
 
13102
    ac_optarg=$2
 
13103
    ac_shift=shift
 
13104
    ;;
 
13105
  esac
 
13106
 
 
13107
  case $ac_option in
 
13108
  # Handling of the options.
 
13109
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
13110
    ac_cs_recheck=: ;;
 
13111
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
13112
    $as_echo "$ac_cs_version"; exit ;;
 
13113
  --config | --confi | --conf | --con | --co | --c )
 
13114
    $as_echo "$ac_cs_config"; exit ;;
 
13115
  --debug | --debu | --deb | --de | --d | -d )
 
13116
    debug=: ;;
 
13117
  --file | --fil | --fi | --f )
 
13118
    $ac_shift
 
13119
    case $ac_optarg in
 
13120
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13121
    '') as_fn_error $? "missing file argument" ;;
 
13122
    esac
 
13123
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
13124
    ac_need_defaults=false;;
 
13125
  --he | --h |  --help | --hel | -h )
 
13126
    $as_echo "$ac_cs_usage"; exit ;;
 
13127
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
13128
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
13129
    ac_cs_silent=: ;;
 
13130
 
 
13131
  # This is an error.
 
13132
  -*) as_fn_error $? "unrecognized option: \`$1'
 
13133
Try \`$0 --help' for more information." ;;
 
13134
 
 
13135
  *) as_fn_append ac_config_targets " $1"
 
13136
     ac_need_defaults=false ;;
 
13137
 
 
13138
  esac
 
13139
  shift
 
13140
done
 
13141
 
 
13142
ac_configure_extra_args=
 
13143
 
 
13144
if $ac_cs_silent; then
 
13145
  exec 6>/dev/null
 
13146
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
13147
fi
 
13148
 
 
13149
_ACEOF
 
13150
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13151
if \$ac_cs_recheck; then
 
13152
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
13153
  shift
 
13154
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
13155
  CONFIG_SHELL='$SHELL'
 
13156
  export CONFIG_SHELL
 
13157
  exec "\$@"
 
13158
fi
 
13159
 
 
13160
_ACEOF
 
13161
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13162
exec 5>>config.log
 
13163
{
 
13164
  echo
 
13165
  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
 
13166
@%:@@%:@ Running $as_me. @%:@@%:@
 
13167
_ASBOX
 
13168
  $as_echo "$ac_log"
 
13169
} >&5
 
13170
 
 
13171
_ACEOF
 
13172
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13173
#
 
13174
# INIT-COMMANDS
 
13175
#
 
13176
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
13177
 
 
13178
 
 
13179
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
13180
# if CDPATH is set.
 
13181
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
13182
 
 
13183
sed_quote_subst='$sed_quote_subst'
 
13184
double_quote_subst='$double_quote_subst'
 
13185
delay_variable_subst='$delay_variable_subst'
 
13186
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
13187
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
13188
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
13189
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
13190
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
13191
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
13192
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
13193
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
13194
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
13195
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
13196
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
13197
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
13198
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
13199
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
13200
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
13201
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
13202
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
13203
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
13204
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
13205
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
13206
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
13207
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
13208
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
13209
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
13210
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
13211
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
13212
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
13213
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
13214
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
13215
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
13216
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
13217
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
13218
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
13219
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
13220
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
13221
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
13222
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
13223
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
13224
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
13225
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
13226
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
13227
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
13228
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
13229
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
13230
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
13231
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13232
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13233
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
13234
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
13235
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
13236
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
13237
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
13238
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
13239
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
13240
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
13241
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
13242
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"`'
 
13243
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
13244
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
13245
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
13246
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
13247
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
13248
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
13249
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
13250
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
13251
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
13252
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
13253
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
13254
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
13255
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
13256
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
13257
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
13258
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
13259
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
13260
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
13261
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
13262
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
13263
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
13264
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13265
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13266
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
13267
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
13268
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
13269
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
13270
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
13271
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
13272
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
13273
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
13274
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
13275
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
13276
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13277
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
13278
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
13279
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
13280
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
13281
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
13282
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
13283
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
13284
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
13285
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
13286
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
13287
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
13288
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
13289
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
13290
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
13291
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
13292
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
13293
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
13294
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
13295
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
13296
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
13297
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
13298
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
13299
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
13300
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
13301
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
13302
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
13303
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13304
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13305
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
13306
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
13307
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
13308
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
13309
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
13310
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
13311
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
13312
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
13313
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
13314
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
13315
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
13316
 
 
13317
LTCC='$LTCC'
 
13318
LTCFLAGS='$LTCFLAGS'
 
13319
compiler='$compiler_DEFAULT'
 
13320
 
 
13321
# A function that is used when there is no print builtin or printf.
 
13322
func_fallback_echo ()
 
13323
{
 
13324
  eval 'cat <<_LTECHO_EOF
 
13325
\$1
 
13326
_LTECHO_EOF'
 
13327
}
 
13328
 
 
13329
# Quote evaled strings.
 
13330
for var in SHELL \
 
13331
ECHO \
 
13332
PATH_SEPARATOR \
 
13333
SED \
 
13334
GREP \
 
13335
EGREP \
 
13336
FGREP \
 
13337
LD \
 
13338
NM \
 
13339
LN_S \
 
13340
lt_SP2NL \
 
13341
lt_NL2SP \
 
13342
reload_flag \
 
13343
OBJDUMP \
 
13344
deplibs_check_method \
 
13345
file_magic_cmd \
 
13346
file_magic_glob \
 
13347
want_nocaseglob \
 
13348
DLLTOOL \
 
13349
sharedlib_from_linklib_cmd \
 
13350
AR \
 
13351
AR_FLAGS \
 
13352
archiver_list_spec \
 
13353
STRIP \
 
13354
RANLIB \
 
13355
CC \
 
13356
CFLAGS \
 
13357
compiler \
 
13358
lt_cv_sys_global_symbol_pipe \
 
13359
lt_cv_sys_global_symbol_to_cdecl \
 
13360
lt_cv_sys_global_symbol_to_c_name_address \
 
13361
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
13362
nm_file_list_spec \
 
13363
lt_prog_compiler_no_builtin_flag \
 
13364
lt_prog_compiler_pic \
 
13365
lt_prog_compiler_wl \
 
13366
lt_prog_compiler_static \
 
13367
lt_cv_prog_compiler_c_o \
 
13368
need_locks \
 
13369
MANIFEST_TOOL \
 
13370
DSYMUTIL \
 
13371
NMEDIT \
 
13372
LIPO \
 
13373
OTOOL \
 
13374
OTOOL64 \
 
13375
shrext_cmds \
 
13376
export_dynamic_flag_spec \
 
13377
whole_archive_flag_spec \
 
13378
compiler_needs_object \
 
13379
with_gnu_ld \
 
13380
allow_undefined_flag \
 
13381
no_undefined_flag \
 
13382
hardcode_libdir_flag_spec \
 
13383
hardcode_libdir_separator \
 
13384
exclude_expsyms \
 
13385
include_expsyms \
 
13386
file_list_spec \
 
13387
variables_saved_for_relink \
 
13388
libname_spec \
 
13389
library_names_spec \
 
13390
soname_spec \
 
13391
install_override_mode \
 
13392
finish_eval \
 
13393
old_striplib \
 
13394
striplib; do
 
13395
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
13396
    *[\\\\\\\`\\"\\\$]*)
 
13397
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
13398
      ;;
 
13399
    *)
 
13400
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
13401
      ;;
 
13402
    esac
 
13403
done
 
13404
 
 
13405
# Double-quote double-evaled strings.
 
13406
for var in reload_cmds \
 
13407
old_postinstall_cmds \
 
13408
old_postuninstall_cmds \
 
13409
old_archive_cmds \
 
13410
extract_expsyms_cmds \
 
13411
old_archive_from_new_cmds \
 
13412
old_archive_from_expsyms_cmds \
 
13413
archive_cmds \
 
13414
archive_expsym_cmds \
 
13415
module_cmds \
 
13416
module_expsym_cmds \
 
13417
export_symbols_cmds \
 
13418
prelink_cmds \
 
13419
postlink_cmds \
 
13420
postinstall_cmds \
 
13421
postuninstall_cmds \
 
13422
finish_cmds \
 
13423
sys_lib_search_path_spec \
 
13424
sys_lib_dlsearch_path_spec; do
 
13425
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
13426
    *[\\\\\\\`\\"\\\$]*)
 
13427
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13428
      ;;
 
13429
    *)
 
13430
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
13431
      ;;
 
13432
    esac
 
13433
done
 
13434
 
 
13435
ac_aux_dir='$ac_aux_dir'
 
13436
xsi_shell='$xsi_shell'
 
13437
lt_shell_append='$lt_shell_append'
 
13438
 
 
13439
# See if we are running on zsh, and set the options which allow our
 
13440
# commands through without removal of \ escapes INIT.
 
13441
if test -n "\${ZSH_VERSION+set}" ; then
 
13442
   setopt NO_GLOB_SUBST
 
13443
fi
 
13444
 
 
13445
 
 
13446
    PACKAGE='$PACKAGE'
 
13447
    VERSION='$VERSION'
 
13448
    TIMESTAMP='$TIMESTAMP'
 
13449
    RM='$RM'
 
13450
    ofile='$ofile'
 
13451
 
 
13452
 
 
13453
 
 
13454
 
 
13455
_ACEOF
 
13456
 
 
13457
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13458
 
 
13459
# Handling of arguments.
 
13460
for ac_config_target in $ac_config_targets
 
13461
do
 
13462
  case $ac_config_target in
 
13463
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
13464
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
13465
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
13466
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
13467
 
 
13468
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
13469
  esac
 
13470
done
 
13471
 
 
13472
 
 
13473
# If the user did not use the arguments to specify the items to instantiate,
 
13474
# then the envvar interface is used.  Set only those that are not.
 
13475
# We use the long form for the default assignment because of an extremely
 
13476
# bizarre bug on SunOS 4.1.3.
 
13477
if $ac_need_defaults; then
 
13478
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
13479
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
13480
fi
 
13481
 
 
13482
# Have a temporary directory for convenience.  Make it in the build tree
 
13483
# simply because there is no reason against having it here, and in addition,
 
13484
# creating and moving files from /tmp can sometimes cause problems.
 
13485
# Hook for its removal unless debugging.
 
13486
# Note that there is a small window in which the directory will not be cleaned:
 
13487
# after its creation but before its name has been assigned to `$tmp'.
 
13488
$debug ||
 
13489
{
 
13490
  tmp= ac_tmp=
 
13491
  trap 'exit_status=$?
 
13492
  : "${ac_tmp:=$tmp}"
 
13493
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
13494
' 0
 
13495
  trap 'as_fn_exit 1' 1 2 13 15
 
13496
}
 
13497
# Create a (secure) tmp directory for tmp files.
 
13498
 
 
13499
{
 
13500
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
13501
  test -d "$tmp"
 
13502
}  ||
 
13503
{
 
13504
  tmp=./conf$$-$RANDOM
 
13505
  (umask 077 && mkdir "$tmp")
 
13506
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
13507
ac_tmp=$tmp
 
13508
 
 
13509
# Set up the scripts for CONFIG_FILES section.
 
13510
# No need to generate them if there are no CONFIG_FILES.
 
13511
# This happens for instance with `./config.status config.h'.
 
13512
if test -n "$CONFIG_FILES"; then
 
13513
 
 
13514
 
 
13515
ac_cr=`echo X | tr X '\015'`
 
13516
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
13517
# But we know of no other shell where ac_cr would be empty at this
 
13518
# point, so we can use a bashism as a fallback.
 
13519
if test "x$ac_cr" = x; then
 
13520
  eval ac_cr=\$\'\\r\'
 
13521
fi
 
13522
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
13523
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
13524
  ac_cs_awk_cr='\\r'
 
13525
else
 
13526
  ac_cs_awk_cr=$ac_cr
 
13527
fi
 
13528
 
 
13529
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
13530
_ACEOF
 
13531
 
 
13532
 
 
13533
{
 
13534
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
13535
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
13536
  echo "_ACEOF"
 
13537
} >conf$$subs.sh ||
 
13538
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
13539
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
13540
ac_delim='%!_!# '
 
13541
for ac_last_try in false false false false false :; do
 
13542
  . ./conf$$subs.sh ||
 
13543
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
13544
 
 
13545
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
13546
  if test $ac_delim_n = $ac_delim_num; then
 
13547
    break
 
13548
  elif $ac_last_try; then
 
13549
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
13550
  else
 
13551
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
13552
  fi
 
13553
done
 
13554
rm -f conf$$subs.sh
 
13555
 
 
13556
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13557
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
13558
_ACEOF
 
13559
sed -n '
 
13560
h
 
13561
s/^/S["/; s/!.*/"]=/
 
13562
p
 
13563
g
 
13564
s/^[^!]*!//
 
13565
:repl
 
13566
t repl
 
13567
s/'"$ac_delim"'$//
 
13568
t delim
 
13569
:nl
 
13570
h
 
13571
s/\(.\{148\}\)..*/\1/
 
13572
t more1
 
13573
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
13574
p
 
13575
n
 
13576
b repl
 
13577
:more1
 
13578
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
13579
p
 
13580
g
 
13581
s/.\{148\}//
 
13582
t nl
 
13583
:delim
 
13584
h
 
13585
s/\(.\{148\}\)..*/\1/
 
13586
t more2
 
13587
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
13588
p
 
13589
b
 
13590
:more2
 
13591
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
13592
p
 
13593
g
 
13594
s/.\{148\}//
 
13595
t delim
 
13596
' <conf$$subs.awk | sed '
 
13597
/^[^""]/{
 
13598
  N
 
13599
  s/\n//
 
13600
}
 
13601
' >>$CONFIG_STATUS || ac_write_fail=1
 
13602
rm -f conf$$subs.awk
 
13603
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13604
_ACAWK
 
13605
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
13606
  for (key in S) S_is_set[key] = 1
 
13607
  FS = ""
 
13608
 
 
13609
}
 
13610
{
 
13611
  line = $ 0
 
13612
  nfields = split(line, field, "@")
 
13613
  substed = 0
 
13614
  len = length(field[1])
 
13615
  for (i = 2; i < nfields; i++) {
 
13616
    key = field[i]
 
13617
    keylen = length(key)
 
13618
    if (S_is_set[key]) {
 
13619
      value = S[key]
 
13620
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
13621
      len += length(value) + length(field[++i])
 
13622
      substed = 1
 
13623
    } else
 
13624
      len += 1 + keylen
 
13625
  }
 
13626
 
 
13627
  print line
 
13628
}
 
13629
 
 
13630
_ACAWK
 
13631
_ACEOF
 
13632
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13633
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
13634
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
13635
else
 
13636
  cat
 
13637
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
13638
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
13639
_ACEOF
 
13640
 
 
13641
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
13642
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
13643
# trailing colons and then remove the whole line if VPATH becomes empty
 
13644
# (actually we leave an empty line to preserve line numbers).
 
13645
if test "x$srcdir" = x.; then
 
13646
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
13647
h
 
13648
s///
 
13649
s/^/:/
 
13650
s/[      ]*$/:/
 
13651
s/:\$(srcdir):/:/g
 
13652
s/:\${srcdir}:/:/g
 
13653
s/:@srcdir@:/:/g
 
13654
s/^:*//
 
13655
s/:*$//
 
13656
x
 
13657
s/\(=[   ]*\).*/\1/
 
13658
G
 
13659
s/\n//
 
13660
s/^[^=]*=[       ]*$//
 
13661
}'
 
13662
fi
 
13663
 
 
13664
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13665
fi # test -n "$CONFIG_FILES"
 
13666
 
 
13667
 
 
13668
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
 
13669
shift
 
13670
for ac_tag
 
13671
do
 
13672
  case $ac_tag in
 
13673
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
13674
  esac
 
13675
  case $ac_mode$ac_tag in
 
13676
  :[FHL]*:*);;
 
13677
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
13678
  :[FH]-) ac_tag=-:-;;
 
13679
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
13680
  esac
 
13681
  ac_save_IFS=$IFS
 
13682
  IFS=:
 
13683
  set x $ac_tag
 
13684
  IFS=$ac_save_IFS
 
13685
  shift
 
13686
  ac_file=$1
 
13687
  shift
 
13688
 
 
13689
  case $ac_mode in
 
13690
  :L) ac_source=$1;;
 
13691
  :[FH])
 
13692
    ac_file_inputs=
 
13693
    for ac_f
 
13694
    do
 
13695
      case $ac_f in
 
13696
      -) ac_f="$ac_tmp/stdin";;
 
13697
      *) # Look for the file first in the build tree, then in the source tree
 
13698
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
13699
         # because $ac_f cannot contain `:'.
 
13700
         test -f "$ac_f" ||
 
13701
           case $ac_f in
 
13702
           [\\/$]*) false;;
 
13703
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
13704
           esac ||
 
13705
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
13706
      esac
 
13707
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
13708
      as_fn_append ac_file_inputs " '$ac_f'"
 
13709
    done
 
13710
 
 
13711
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
13712
    # use $as_me), people would be surprised to read:
 
13713
    #    /* config.h.  Generated by config.status.  */
 
13714
    configure_input='Generated from '`
 
13715
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
13716
        `' by configure.'
 
13717
    if test x"$ac_file" != x-; then
 
13718
      configure_input="$ac_file.  $configure_input"
 
13719
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
13720
$as_echo "$as_me: creating $ac_file" >&6;}
 
13721
    fi
 
13722
    # Neutralize special characters interpreted by sed in replacement strings.
 
13723
    case $configure_input in #(
 
13724
    *\&* | *\|* | *\\* )
 
13725
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
13726
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
13727
    *) ac_sed_conf_input=$configure_input;;
 
13728
    esac
 
13729
 
 
13730
    case $ac_tag in
 
13731
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
13732
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
13733
    esac
 
13734
    ;;
 
13735
  esac
 
13736
 
 
13737
  ac_dir=`$as_dirname -- "$ac_file" ||
 
13738
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13739
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
13740
         X"$ac_file" : 'X\(//\)$' \| \
 
13741
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
13742
$as_echo X"$ac_file" |
 
13743
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13744
            s//\1/
 
13745
            q
 
13746
          }
 
13747
          /^X\(\/\/\)[^/].*/{
 
13748
            s//\1/
 
13749
            q
 
13750
          }
 
13751
          /^X\(\/\/\)$/{
 
13752
            s//\1/
 
13753
            q
 
13754
          }
 
13755
          /^X\(\/\).*/{
 
13756
            s//\1/
 
13757
            q
 
13758
          }
 
13759
          s/.*/./; q'`
 
13760
  as_dir="$ac_dir"; as_fn_mkdir_p
 
13761
  ac_builddir=.
 
13762
 
 
13763
case "$ac_dir" in
 
13764
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
13765
*)
 
13766
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
13767
  # A ".." for each directory in $ac_dir_suffix.
 
13768
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
13769
  case $ac_top_builddir_sub in
 
13770
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
13771
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
13772
  esac ;;
 
13773
esac
 
13774
ac_abs_top_builddir=$ac_pwd
 
13775
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
13776
# for backward compatibility:
 
13777
ac_top_builddir=$ac_top_build_prefix
 
13778
 
 
13779
case $srcdir in
 
13780
  .)  # We are building in place.
 
13781
    ac_srcdir=.
 
13782
    ac_top_srcdir=$ac_top_builddir_sub
 
13783
    ac_abs_top_srcdir=$ac_pwd ;;
 
13784
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
13785
    ac_srcdir=$srcdir$ac_dir_suffix;
 
13786
    ac_top_srcdir=$srcdir
 
13787
    ac_abs_top_srcdir=$srcdir ;;
 
13788
  *) # Relative name.
 
13789
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
13790
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
13791
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
13792
esac
 
13793
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
13794
 
 
13795
 
 
13796
  case $ac_mode in
 
13797
  :F)
 
13798
  #
 
13799
  # CONFIG_FILE
 
13800
  #
 
13801
 
 
13802
  case $INSTALL in
 
13803
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
13804
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
13805
  esac
 
13806
  ac_MKDIR_P=$MKDIR_P
 
13807
  case $MKDIR_P in
 
13808
  [\\/$]* | ?:[\\/]* ) ;;
 
13809
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
13810
  esac
 
13811
_ACEOF
 
13812
 
 
13813
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13814
# If the template does not know about datarootdir, expand it.
 
13815
# FIXME: This hack should be removed a few years after 2.60.
 
13816
ac_datarootdir_hack=; ac_datarootdir_seen=
 
13817
ac_sed_dataroot='
 
13818
/datarootdir/ {
 
13819
  p
 
13820
  q
 
13821
}
 
13822
/@datadir@/p
 
13823
/@docdir@/p
 
13824
/@infodir@/p
 
13825
/@localedir@/p
 
13826
/@mandir@/p'
 
13827
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
13828
*datarootdir*) ac_datarootdir_seen=yes;;
 
13829
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
13830
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
13831
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
13832
_ACEOF
 
13833
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13834
  ac_datarootdir_hack='
 
13835
  s&@datadir@&$datadir&g
 
13836
  s&@docdir@&$docdir&g
 
13837
  s&@infodir@&$infodir&g
 
13838
  s&@localedir@&$localedir&g
 
13839
  s&@mandir@&$mandir&g
 
13840
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
13841
esac
 
13842
_ACEOF
 
13843
 
 
13844
# Neutralize VPATH when `$srcdir' = `.'.
 
13845
# Shell code in configure.ac might set extrasub.
 
13846
# FIXME: do we really want to maintain this feature?
 
13847
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13848
ac_sed_extra="$ac_vpsub
 
13849
$extrasub
 
13850
_ACEOF
 
13851
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13852
:t
 
13853
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
13854
s|@configure_input@|$ac_sed_conf_input|;t t
 
13855
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
13856
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
13857
s&@srcdir@&$ac_srcdir&;t t
 
13858
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
13859
s&@top_srcdir@&$ac_top_srcdir&;t t
 
13860
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
13861
s&@builddir@&$ac_builddir&;t t
 
13862
s&@abs_builddir@&$ac_abs_builddir&;t t
 
13863
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
13864
s&@INSTALL@&$ac_INSTALL&;t t
 
13865
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
13866
$ac_datarootdir_hack
 
13867
"
 
13868
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
13869
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
13870
 
 
13871
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
13872
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
13873
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
13874
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
13875
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
13876
which seems to be undefined.  Please make sure it is defined" >&5
 
13877
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
13878
which seems to be undefined.  Please make sure it is defined" >&2;}
 
13879
 
 
13880
  rm -f "$ac_tmp/stdin"
 
13881
  case $ac_file in
 
13882
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
13883
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
13884
  esac \
 
13885
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
13886
 ;;
 
13887
  
 
13888
  
 
13889
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
13890
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
13891
 ;;
 
13892
  esac
 
13893
 
 
13894
 
 
13895
  case $ac_file$ac_mode in
 
13896
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
13897
  # Older Autoconf quotes --file arguments for eval, but not when files
 
13898
  # are listed without --file.  Let's play safe and only enable the eval
 
13899
  # if we detect the quoting.
 
13900
  case $CONFIG_FILES in
 
13901
  *\'*) eval set x "$CONFIG_FILES" ;;
 
13902
  *)   set x $CONFIG_FILES ;;
 
13903
  esac
 
13904
  shift
 
13905
  for mf
 
13906
  do
 
13907
    # Strip MF so we end up with the name of the file.
 
13908
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
13909
    # Check whether this is an Automake generated Makefile or not.
 
13910
    # We used to match only the files named 'Makefile.in', but
 
13911
    # some people rename them; so instead we look at the file content.
 
13912
    # Grep'ing the first line is not enough: some people post-process
 
13913
    # each Makefile.in and add a new line on top of each file to say so.
 
13914
    # Grep'ing the whole file is not good either: AIX grep has a line
 
13915
    # limit of 2048, but all sed's we know have understand at least 4000.
 
13916
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
13917
      dirpart=`$as_dirname -- "$mf" ||
 
13918
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13919
         X"$mf" : 'X\(//\)[^/]' \| \
 
13920
         X"$mf" : 'X\(//\)$' \| \
 
13921
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
13922
$as_echo X"$mf" |
 
13923
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13924
            s//\1/
 
13925
            q
 
13926
          }
 
13927
          /^X\(\/\/\)[^/].*/{
 
13928
            s//\1/
 
13929
            q
 
13930
          }
 
13931
          /^X\(\/\/\)$/{
 
13932
            s//\1/
 
13933
            q
 
13934
          }
 
13935
          /^X\(\/\).*/{
 
13936
            s//\1/
 
13937
            q
 
13938
          }
 
13939
          s/.*/./; q'`
 
13940
    else
 
13941
      continue
 
13942
    fi
 
13943
    # Extract the definition of DEPDIR, am__include, and am__quote
 
13944
    # from the Makefile without running 'make'.
 
13945
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
13946
    test -z "$DEPDIR" && continue
 
13947
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
13948
    test -z "$am__include" && continue
 
13949
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
13950
    # Find all dependency output files, they are included files with
 
13951
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
13952
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
13953
    # expansion.
 
13954
    for file in `sed -n "
 
13955
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
13956
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 
13957
      # Make sure the directory exists.
 
13958
      test -f "$dirpart/$file" && continue
 
13959
      fdir=`$as_dirname -- "$file" ||
 
13960
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13961
         X"$file" : 'X\(//\)[^/]' \| \
 
13962
         X"$file" : 'X\(//\)$' \| \
 
13963
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
13964
$as_echo X"$file" |
 
13965
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13966
            s//\1/
 
13967
            q
 
13968
          }
 
13969
          /^X\(\/\/\)[^/].*/{
 
13970
            s//\1/
 
13971
            q
 
13972
          }
 
13973
          /^X\(\/\/\)$/{
 
13974
            s//\1/
 
13975
            q
 
13976
          }
 
13977
          /^X\(\/\).*/{
 
13978
            s//\1/
 
13979
            q
 
13980
          }
 
13981
          s/.*/./; q'`
 
13982
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
13983
      # echo "creating $dirpart/$file"
 
13984
      echo '# dummy' > "$dirpart/$file"
 
13985
    done
 
13986
  done
 
13987
}
 
13988
 ;;
 
13989
    "libtool":C) 
 
13990
    
 
13991
    # See if we are running on zsh, and set the options which allow our
 
13992
    # commands through without removal of \ escapes.
 
13993
    if test -n "${ZSH_VERSION+set}" ; then
 
13994
      setopt NO_GLOB_SUBST
 
13995
    fi
 
13996
 
 
13997
    cfgfile="${ofile}T"
 
13998
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
13999
    $RM "$cfgfile"
 
14000
 
 
14001
    cat <<_LT_EOF >> "$cfgfile"
 
14002
#! $SHELL
 
14003
 
 
14004
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
14005
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
14006
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
14007
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
14008
#
 
14009
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
14010
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
14011
#                 Foundation, Inc.
 
14012
#   Written by Gordon Matzigkeit, 1996
 
14013
#
 
14014
#   This file is part of GNU Libtool.
 
14015
#
 
14016
# GNU Libtool is free software; you can redistribute it and/or
 
14017
# modify it under the terms of the GNU General Public License as
 
14018
# published by the Free Software Foundation; either version 2 of
 
14019
# the License, or (at your option) any later version.
 
14020
#
 
14021
# As a special exception to the GNU General Public License,
 
14022
# if you distribute this file as part of a program or library that
 
14023
# is built using GNU Libtool, you may include this file under the
 
14024
# same distribution terms that you use for the rest of that program.
 
14025
#
 
14026
# GNU Libtool is distributed in the hope that it will be useful,
 
14027
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14028
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14029
# GNU General Public License for more details.
 
14030
#
 
14031
# You should have received a copy of the GNU General Public License
 
14032
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
14033
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
14034
# obtained by writing to the Free Software Foundation, Inc.,
 
14035
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
14036
 
 
14037
 
 
14038
# The names of the tagged configurations supported by this script.
 
14039
available_tags=""
 
14040
 
 
14041
# ### BEGIN LIBTOOL CONFIG
 
14042
 
 
14043
# Which release of libtool.m4 was used?
 
14044
macro_version=$macro_version
 
14045
macro_revision=$macro_revision
 
14046
 
 
14047
# Whether or not to build shared libraries.
 
14048
build_libtool_libs=$enable_shared
 
14049
 
 
14050
# Whether or not to build static libraries.
 
14051
build_old_libs=$enable_static
 
14052
 
 
14053
# What type of objects to build.
 
14054
pic_mode=$pic_mode
 
14055
 
 
14056
# Whether or not to optimize for fast installation.
 
14057
fast_install=$enable_fast_install
 
14058
 
 
14059
# Shell to use when invoking shell scripts.
 
14060
SHELL=$lt_SHELL
 
14061
 
 
14062
# An echo program that protects backslashes.
 
14063
ECHO=$lt_ECHO
 
14064
 
 
14065
# The PATH separator for the build system.
 
14066
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
14067
 
 
14068
# The host system.
 
14069
host_alias=$host_alias
 
14070
host=$host
 
14071
host_os=$host_os
 
14072
 
 
14073
# The build system.
 
14074
build_alias=$build_alias
 
14075
build=$build
 
14076
build_os=$build_os
 
14077
 
 
14078
# A sed program that does not truncate output.
 
14079
SED=$lt_SED
 
14080
 
 
14081
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
14082
Xsed="\$SED -e 1s/^X//"
 
14083
 
 
14084
# A grep program that handles long lines.
 
14085
GREP=$lt_GREP
 
14086
 
 
14087
# An ERE matcher.
 
14088
EGREP=$lt_EGREP
 
14089
 
 
14090
# A literal string matcher.
 
14091
FGREP=$lt_FGREP
 
14092
 
 
14093
# A BSD- or MS-compatible name lister.
 
14094
NM=$lt_NM
 
14095
 
 
14096
# Whether we need soft or hard links.
 
14097
LN_S=$lt_LN_S
 
14098
 
 
14099
# What is the maximum length of a command?
 
14100
max_cmd_len=$max_cmd_len
 
14101
 
 
14102
# Object file suffix (normally "o").
 
14103
objext=$ac_objext
 
14104
 
 
14105
# Executable file suffix (normally "").
 
14106
exeext=$exeext
 
14107
 
 
14108
# whether the shell understands "unset".
 
14109
lt_unset=$lt_unset
 
14110
 
 
14111
# turn spaces into newlines.
 
14112
SP2NL=$lt_lt_SP2NL
 
14113
 
 
14114
# turn newlines into spaces.
 
14115
NL2SP=$lt_lt_NL2SP
 
14116
 
 
14117
# convert \$build file names to \$host format.
 
14118
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
14119
 
 
14120
# convert \$build files to toolchain format.
 
14121
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
14122
 
 
14123
# An object symbol dumper.
 
14124
OBJDUMP=$lt_OBJDUMP
 
14125
 
 
14126
# Method to check whether dependent libraries are shared objects.
 
14127
deplibs_check_method=$lt_deplibs_check_method
 
14128
 
 
14129
# Command to use when deplibs_check_method = "file_magic".
 
14130
file_magic_cmd=$lt_file_magic_cmd
 
14131
 
 
14132
# How to find potential files when deplibs_check_method = "file_magic".
 
14133
file_magic_glob=$lt_file_magic_glob
 
14134
 
 
14135
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
14136
want_nocaseglob=$lt_want_nocaseglob
 
14137
 
 
14138
# DLL creation program.
 
14139
DLLTOOL=$lt_DLLTOOL
 
14140
 
 
14141
# Command to associate shared and link libraries.
 
14142
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
14143
 
 
14144
# The archiver.
 
14145
AR=$lt_AR
 
14146
 
 
14147
# Flags to create an archive.
 
14148
AR_FLAGS=$lt_AR_FLAGS
 
14149
 
 
14150
# How to feed a file listing to the archiver.
 
14151
archiver_list_spec=$lt_archiver_list_spec
 
14152
 
 
14153
# A symbol stripping program.
 
14154
STRIP=$lt_STRIP
 
14155
 
 
14156
# Commands used to install an old-style archive.
 
14157
RANLIB=$lt_RANLIB
 
14158
old_postinstall_cmds=$lt_old_postinstall_cmds
 
14159
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
14160
 
 
14161
# Whether to use a lock for old archive extraction.
 
14162
lock_old_archive_extraction=$lock_old_archive_extraction
 
14163
 
 
14164
# A C compiler.
 
14165
LTCC=$lt_CC
 
14166
 
 
14167
# LTCC compiler flags.
 
14168
LTCFLAGS=$lt_CFLAGS
 
14169
 
 
14170
# Take the output of nm and produce a listing of raw symbols and C names.
 
14171
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
14172
 
 
14173
# Transform the output of nm in a proper C declaration.
 
14174
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
14175
 
 
14176
# Transform the output of nm in a C name address pair.
 
14177
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
14178
 
 
14179
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
14180
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
14181
 
 
14182
# Specify filename containing input files for \$NM.
 
14183
nm_file_list_spec=$lt_nm_file_list_spec
 
14184
 
 
14185
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
14186
lt_sysroot=$lt_sysroot
 
14187
 
 
14188
# The name of the directory that contains temporary libtool files.
 
14189
objdir=$objdir
 
14190
 
 
14191
# Used to examine libraries when file_magic_cmd begins with "file".
 
14192
MAGIC_CMD=$MAGIC_CMD
 
14193
 
 
14194
# Must we lock files when doing compilation?
 
14195
need_locks=$lt_need_locks
 
14196
 
 
14197
# Manifest tool.
 
14198
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
14199
 
 
14200
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
14201
DSYMUTIL=$lt_DSYMUTIL
 
14202
 
 
14203
# Tool to change global to local symbols on Mac OS X.
 
14204
NMEDIT=$lt_NMEDIT
 
14205
 
 
14206
# Tool to manipulate fat objects and archives on Mac OS X.
 
14207
LIPO=$lt_LIPO
 
14208
 
 
14209
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
14210
OTOOL=$lt_OTOOL
 
14211
 
 
14212
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
14213
OTOOL64=$lt_OTOOL64
 
14214
 
 
14215
# Old archive suffix (normally "a").
 
14216
libext=$libext
 
14217
 
 
14218
# Shared library suffix (normally ".so").
 
14219
shrext_cmds=$lt_shrext_cmds
 
14220
 
 
14221
# The commands to extract the exported symbol list from a shared archive.
 
14222
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
14223
 
 
14224
# Variables whose values should be saved in libtool wrapper scripts and
 
14225
# restored at link time.
 
14226
variables_saved_for_relink=$lt_variables_saved_for_relink
 
14227
 
 
14228
# Do we need the "lib" prefix for modules?
 
14229
need_lib_prefix=$need_lib_prefix
 
14230
 
 
14231
# Do we need a version for libraries?
 
14232
need_version=$need_version
 
14233
 
 
14234
# Library versioning type.
 
14235
version_type=$version_type
 
14236
 
 
14237
# Shared library runtime path variable.
 
14238
runpath_var=$runpath_var
 
14239
 
 
14240
# Shared library path variable.
 
14241
shlibpath_var=$shlibpath_var
 
14242
 
 
14243
# Is shlibpath searched before the hard-coded library search path?
 
14244
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
14245
 
 
14246
# Format of library name prefix.
 
14247
libname_spec=$lt_libname_spec
 
14248
 
 
14249
# List of archive names.  First name is the real one, the rest are links.
 
14250
# The last name is the one that the linker finds with -lNAME
 
14251
library_names_spec=$lt_library_names_spec
 
14252
 
 
14253
# The coded name of the library, if different from the real name.
 
14254
soname_spec=$lt_soname_spec
 
14255
 
 
14256
# Permission mode override for installation of shared libraries.
 
14257
install_override_mode=$lt_install_override_mode
 
14258
 
 
14259
# Command to use after installation of a shared archive.
 
14260
postinstall_cmds=$lt_postinstall_cmds
 
14261
 
 
14262
# Command to use after uninstallation of a shared archive.
 
14263
postuninstall_cmds=$lt_postuninstall_cmds
 
14264
 
 
14265
# Commands used to finish a libtool library installation in a directory.
 
14266
finish_cmds=$lt_finish_cmds
 
14267
 
 
14268
# As "finish_cmds", except a single script fragment to be evaled but
 
14269
# not shown.
 
14270
finish_eval=$lt_finish_eval
 
14271
 
 
14272
# Whether we should hardcode library paths into libraries.
 
14273
hardcode_into_libs=$hardcode_into_libs
 
14274
 
 
14275
# Compile-time system search path for libraries.
 
14276
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
14277
 
 
14278
# Run-time system search path for libraries.
 
14279
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
14280
 
 
14281
# Whether dlopen is supported.
 
14282
dlopen_support=$enable_dlopen
 
14283
 
 
14284
# Whether dlopen of programs is supported.
 
14285
dlopen_self=$enable_dlopen_self
 
14286
 
 
14287
# Whether dlopen of statically linked programs is supported.
 
14288
dlopen_self_static=$enable_dlopen_self_static
 
14289
 
 
14290
# Commands to strip libraries.
 
14291
old_striplib=$lt_old_striplib
 
14292
striplib=$lt_striplib
 
14293
 
 
14294
 
 
14295
# The linker used to build libraries.
 
14296
LD=$lt_LD
 
14297
 
 
14298
# How to create reloadable object files.
 
14299
reload_flag=$lt_reload_flag
 
14300
reload_cmds=$lt_reload_cmds
 
14301
 
 
14302
# Commands used to build an old-style archive.
 
14303
old_archive_cmds=$lt_old_archive_cmds
 
14304
 
 
14305
# A language specific compiler.
 
14306
CC=$lt_compiler
 
14307
 
 
14308
# Is the compiler the GNU compiler?
 
14309
with_gcc=$GCC
 
14310
 
 
14311
# Compiler flag to turn off builtin functions.
 
14312
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
14313
 
 
14314
# Additional compiler flags for building library objects.
 
14315
pic_flag=$lt_lt_prog_compiler_pic
 
14316
 
 
14317
# How to pass a linker flag through the compiler.
 
14318
wl=$lt_lt_prog_compiler_wl
 
14319
 
 
14320
# Compiler flag to prevent dynamic linking.
 
14321
link_static_flag=$lt_lt_prog_compiler_static
 
14322
 
 
14323
# Does compiler simultaneously support -c and -o options?
 
14324
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
14325
 
 
14326
# Whether or not to add -lc for building shared libraries.
 
14327
build_libtool_need_lc=$archive_cmds_need_lc
 
14328
 
 
14329
# Whether or not to disallow shared libs when runtime libs are static.
 
14330
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
14331
 
 
14332
# Compiler flag to allow reflexive dlopens.
 
14333
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
14334
 
 
14335
# Compiler flag to generate shared objects directly from archives.
 
14336
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
14337
 
 
14338
# Whether the compiler copes with passing no objects directly.
 
14339
compiler_needs_object=$lt_compiler_needs_object
 
14340
 
 
14341
# Create an old-style archive from a shared archive.
 
14342
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
14343
 
 
14344
# Create a temporary old-style archive to link instead of a shared archive.
 
14345
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
14346
 
 
14347
# Commands used to build a shared archive.
 
14348
archive_cmds=$lt_archive_cmds
 
14349
archive_expsym_cmds=$lt_archive_expsym_cmds
 
14350
 
 
14351
# Commands used to build a loadable module if different from building
 
14352
# a shared archive.
 
14353
module_cmds=$lt_module_cmds
 
14354
module_expsym_cmds=$lt_module_expsym_cmds
 
14355
 
 
14356
# Whether we are building with GNU ld or not.
 
14357
with_gnu_ld=$lt_with_gnu_ld
 
14358
 
 
14359
# Flag that allows shared libraries with undefined symbols to be built.
 
14360
allow_undefined_flag=$lt_allow_undefined_flag
 
14361
 
 
14362
# Flag that enforces no undefined symbols.
 
14363
no_undefined_flag=$lt_no_undefined_flag
 
14364
 
 
14365
# Flag to hardcode \$libdir into a binary during linking.
 
14366
# This must work even if \$libdir does not exist
 
14367
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
14368
 
 
14369
# Whether we need a single "-rpath" flag with a separated argument.
 
14370
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
14371
 
 
14372
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
14373
# DIR into the resulting binary.
 
14374
hardcode_direct=$hardcode_direct
 
14375
 
 
14376
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
14377
# DIR into the resulting binary and the resulting library dependency is
 
14378
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
14379
# library is relocated.
 
14380
hardcode_direct_absolute=$hardcode_direct_absolute
 
14381
 
 
14382
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
14383
# into the resulting binary.
 
14384
hardcode_minus_L=$hardcode_minus_L
 
14385
 
 
14386
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
14387
# into the resulting binary.
 
14388
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
14389
 
 
14390
# Set to "yes" if building a shared library automatically hardcodes DIR
 
14391
# into the library and all subsequent libraries and executables linked
 
14392
# against it.
 
14393
hardcode_automatic=$hardcode_automatic
 
14394
 
 
14395
# Set to yes if linker adds runtime paths of dependent libraries
 
14396
# to runtime path list.
 
14397
inherit_rpath=$inherit_rpath
 
14398
 
 
14399
# Whether libtool must link a program against all its dependency libraries.
 
14400
link_all_deplibs=$link_all_deplibs
 
14401
 
 
14402
# Set to "yes" if exported symbols are required.
 
14403
always_export_symbols=$always_export_symbols
 
14404
 
 
14405
# The commands to list exported symbols.
 
14406
export_symbols_cmds=$lt_export_symbols_cmds
 
14407
 
 
14408
# Symbols that should not be listed in the preloaded symbols.
 
14409
exclude_expsyms=$lt_exclude_expsyms
 
14410
 
 
14411
# Symbols that must always be exported.
 
14412
include_expsyms=$lt_include_expsyms
 
14413
 
 
14414
# Commands necessary for linking programs (against libraries) with templates.
 
14415
prelink_cmds=$lt_prelink_cmds
 
14416
 
 
14417
# Commands necessary for finishing linking programs.
 
14418
postlink_cmds=$lt_postlink_cmds
 
14419
 
 
14420
# Specify filename containing input files.
 
14421
file_list_spec=$lt_file_list_spec
 
14422
 
 
14423
# How to hardcode a shared library path into an executable.
 
14424
hardcode_action=$hardcode_action
 
14425
 
 
14426
# ### END LIBTOOL CONFIG
 
14427
 
 
14428
_LT_EOF
 
14429
 
 
14430
  case $host_os in
 
14431
  aix3*)
 
14432
    cat <<\_LT_EOF >> "$cfgfile"
 
14433
# AIX sometimes has problems with the GCC collect2 program.  For some
 
14434
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
14435
# vanish in a puff of smoke.
 
14436
if test "X${COLLECT_NAMES+set}" != Xset; then
 
14437
  COLLECT_NAMES=
 
14438
  export COLLECT_NAMES
 
14439
fi
 
14440
_LT_EOF
 
14441
    ;;
 
14442
  esac
 
14443
 
 
14444
  
 
14445
ltmain="$ac_aux_dir/ltmain.sh"
 
14446
 
 
14447
 
 
14448
  # We use sed instead of cat because bash on DJGPP gets confused if
 
14449
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
14450
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
14451
  # is reportedly fixed, but why not run on old versions too?
 
14452
  sed '$q' "$ltmain" >> "$cfgfile" \
 
14453
     || (rm -f "$cfgfile"; exit 1)
 
14454
 
 
14455
  if test x"$xsi_shell" = xyes; then
 
14456
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
14457
func_dirname ()\
 
14458
{\
 
14459
\    case ${1} in\
 
14460
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
14461
\      *  ) func_dirname_result="${3}" ;;\
 
14462
\    esac\
 
14463
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
14464
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14465
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14466
test 0 -eq $? || _lt_function_replace_fail=:
 
14467
 
 
14468
 
 
14469
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
14470
func_basename ()\
 
14471
{\
 
14472
\    func_basename_result="${1##*/}"\
 
14473
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
14474
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14475
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14476
test 0 -eq $? || _lt_function_replace_fail=:
 
14477
 
 
14478
 
 
14479
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
14480
func_dirname_and_basename ()\
 
14481
{\
 
14482
\    case ${1} in\
 
14483
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
14484
\      *  ) func_dirname_result="${3}" ;;\
 
14485
\    esac\
 
14486
\    func_basename_result="${1##*/}"\
 
14487
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
14488
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14489
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14490
test 0 -eq $? || _lt_function_replace_fail=:
 
14491
 
 
14492
 
 
14493
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
14494
func_stripname ()\
 
14495
{\
 
14496
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
14497
\    # positional parameters, so assign one to ordinary parameter first.\
 
14498
\    func_stripname_result=${3}\
 
14499
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
14500
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
14501
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
14502
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14503
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14504
test 0 -eq $? || _lt_function_replace_fail=:
 
14505
 
 
14506
 
 
14507
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
14508
func_split_long_opt ()\
 
14509
{\
 
14510
\    func_split_long_opt_name=${1%%=*}\
 
14511
\    func_split_long_opt_arg=${1#*=}\
 
14512
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
14513
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14514
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14515
test 0 -eq $? || _lt_function_replace_fail=:
 
14516
 
 
14517
 
 
14518
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
14519
func_split_short_opt ()\
 
14520
{\
 
14521
\    func_split_short_opt_arg=${1#??}\
 
14522
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
14523
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
14524
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14525
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14526
test 0 -eq $? || _lt_function_replace_fail=:
 
14527
 
 
14528
 
 
14529
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
14530
func_lo2o ()\
 
14531
{\
 
14532
\    case ${1} in\
 
14533
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
14534
\      *)    func_lo2o_result=${1} ;;\
 
14535
\    esac\
 
14536
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
14537
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14538
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14539
test 0 -eq $? || _lt_function_replace_fail=:
 
14540
 
 
14541
 
 
14542
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
14543
func_xform ()\
 
14544
{\
 
14545
    func_xform_result=${1%.*}.lo\
 
14546
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
14547
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14548
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14549
test 0 -eq $? || _lt_function_replace_fail=:
 
14550
 
 
14551
 
 
14552
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
14553
func_arith ()\
 
14554
{\
 
14555
    func_arith_result=$(( $* ))\
 
14556
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
14557
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14558
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14559
test 0 -eq $? || _lt_function_replace_fail=:
 
14560
 
 
14561
 
 
14562
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
14563
func_len ()\
 
14564
{\
 
14565
    func_len_result=${#1}\
 
14566
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
14567
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14568
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14569
test 0 -eq $? || _lt_function_replace_fail=:
 
14570
 
 
14571
fi
 
14572
 
 
14573
if test x"$lt_shell_append" = xyes; then
 
14574
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
14575
func_append ()\
 
14576
{\
 
14577
    eval "${1}+=\\${2}"\
 
14578
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
14579
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14580
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14581
test 0 -eq $? || _lt_function_replace_fail=:
 
14582
 
 
14583
 
 
14584
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
14585
func_append_quoted ()\
 
14586
{\
 
14587
\    func_quote_for_eval "${2}"\
 
14588
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
14589
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
14590
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14591
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14592
test 0 -eq $? || _lt_function_replace_fail=:
 
14593
 
 
14594
 
 
14595
  # Save a `func_append' function call where possible by direct use of '+='
 
14596
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
14597
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14598
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14599
  test 0 -eq $? || _lt_function_replace_fail=:
 
14600
else
 
14601
  # Save a `func_append' function call even when '+=' is not available
 
14602
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
14603
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14604
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14605
  test 0 -eq $? || _lt_function_replace_fail=:
 
14606
fi
 
14607
 
 
14608
if test x"$_lt_function_replace_fail" = x":"; then
 
14609
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
14610
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
14611
fi
 
14612
 
 
14613
 
 
14614
   mv -f "$cfgfile" "$ofile" ||
 
14615
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
14616
  chmod +x "$ofile"
 
14617
 
 
14618
 ;;
 
14619
 
 
14620
  esac
 
14621
done # for ac_tag
 
14622
 
 
14623
 
 
14624
as_fn_exit 0
 
14625
_ACEOF
 
14626
ac_clean_files=$ac_clean_files_save
 
14627
 
 
14628
test $ac_write_fail = 0 ||
 
14629
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
14630
 
 
14631
 
 
14632
# configure is writing to config.log, and then calls config.status.
 
14633
# config.status does its own redirection, appending to config.log.
 
14634
# Unfortunately, on DOS this fails, as config.log is still kept open
 
14635
# by configure, so config.status won't be able to write to it; its
 
14636
# output is simply discarded.  So we exec the FD to /dev/null,
 
14637
# effectively closing config.log, so it can be properly (re)opened and
 
14638
# appended to by config.status.  When coming back to configure, we
 
14639
# need to make the FD available again.
 
14640
if test "$no_create" != yes; then
 
14641
  ac_cs_success=:
 
14642
  ac_config_status_args=
 
14643
  test "$silent" = yes &&
 
14644
    ac_config_status_args="$ac_config_status_args --quiet"
 
14645
  exec 5>/dev/null
 
14646
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
14647
  exec 5>>config.log
 
14648
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
14649
  # would make configure fail if this is the last instruction.
 
14650
  $ac_cs_success || as_fn_exit 1
 
14651
fi
 
14652
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
14653
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
14654
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
14655
fi
 
14656