OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libm/] [machine/] [i386/] [configure] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.63 for newlib 1.18.0.
4
#
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization.  ##
11
## --------------------- ##
12
 
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
  emulate sh
17
  NULLCMD=:
18
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
  # is contrary to our usage.  Disable this feature.
20
  alias -g '${1+"$@"}'='"$@"'
21
  setopt NO_GLOB_SUBST
22
else
23
  case `(set -o) 2>/dev/null` in
24
  *posix*) set -o posix ;;
25
esac
26
 
27
fi
28
 
29
 
30
 
31
 
32
# PATH needs CR
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
 
40
as_nl='
41
'
42
export as_nl
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
  as_echo='printf %s\n'
49
  as_echo_n='printf %s'
50
else
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
    as_echo_n='/usr/ucb/echo -n'
54
  else
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
    as_echo_n_body='eval
57
      arg=$1;
58
      case $arg in
59
      *"$as_nl"*)
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62
      esac;
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64
    '
65
    export as_echo_n_body
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
67
  fi
68
  export as_echo_body
69
  as_echo='sh -c $as_echo_body as_echo'
70
fi
71
 
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
74
  PATH_SEPARATOR=:
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77
      PATH_SEPARATOR=';'
78
  }
79
fi
80
 
81
# Support unset when possible.
82
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
  as_unset=unset
84
else
85
  as_unset=false
86
fi
87
 
88
 
89
# IFS
90
# We need space, tab and new line, in precisely that order.  Quoting is
91
# there to prevent editors from complaining about space-tab.
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93
# splitting by setting IFS to empty value.)
94
IFS=" ""        $as_nl"
95
 
96
# Find who we are.  Look in the path if we contain no directory separator.
97
case $0 in
98
  *[\\/]* ) as_myself=$0 ;;
99
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
for as_dir in $PATH
101
do
102
  IFS=$as_save_IFS
103
  test -z "$as_dir" && as_dir=.
104
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
done
106
IFS=$as_save_IFS
107
 
108
     ;;
109
esac
110
# We did not find ourselves, most probably we were run as `sh COMMAND'
111
# in which case we are not to be found in the path.
112
if test "x$as_myself" = x; then
113
  as_myself=$0
114
fi
115
if test ! -f "$as_myself"; then
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
  { (exit 1); exit 1; }
118
fi
119
 
120
# Work around bugs in pre-3.0 UWIN ksh.
121
for as_var in ENV MAIL MAILPATH
122
do ($as_unset $as_var) >/dev/null 2>&1 && $as_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
# Required to use basename.
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137
  as_expr=expr
138
else
139
  as_expr=false
140
fi
141
 
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143
  as_basename=basename
144
else
145
  as_basename=false
146
fi
147
 
148
 
149
# Name of the executable.
150
as_me=`$as_basename -- "$0" ||
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
         X"$0" : 'X\(//\)$' \| \
153
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154
$as_echo X/"$0" |
155
    sed '/^.*\/\([^/][^/]*\)\/*$/{
156
            s//\1/
157
            q
158
          }
159
          /^X\/\(\/\/\)$/{
160
            s//\1/
161
            q
162
          }
163
          /^X\/\(\/\).*/{
164
            s//\1/
165
            q
166
          }
167
          s/.*/./; q'`
168
 
169
# CDPATH.
170
$as_unset CDPATH
171
 
172
 
173
if test "x$CONFIG_SHELL" = x; then
174
  if (eval ":") 2>/dev/null; then
175
  as_have_required=yes
176
else
177
  as_have_required=no
178
fi
179
 
180
  if test $as_have_required = yes &&     (eval ":
181
(as_func_return () {
182
  (exit \$1)
183
}
184
as_func_success () {
185
  as_func_return 0
186
}
187
as_func_failure () {
188
  as_func_return 1
189
}
190
as_func_ret_success () {
191
  return 0
192
}
193
as_func_ret_failure () {
194
  return 1
195
}
196
 
197
exitcode=0
198
if as_func_success; then
199
  :
200
else
201
  exitcode=1
202
  echo as_func_success failed.
203
fi
204
 
205
if as_func_failure; then
206
  exitcode=1
207
  echo as_func_failure succeeded.
208
fi
209
 
210
if as_func_ret_success; then
211
  :
212
else
213
  exitcode=1
214
  echo as_func_ret_success failed.
215
fi
216
 
217
if as_func_ret_failure; then
218
  exitcode=1
219
  echo as_func_ret_failure succeeded.
220
fi
221
 
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223
  :
224
else
225
  exitcode=1
226
  echo positional parameters were not saved.
227
fi
228
 
229
test \$exitcode = 0) || { (exit 1); exit 1; }
230
 
231
(
232
  as_lineno_1=\$LINENO
233
  as_lineno_2=\$LINENO
234
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
") 2> /dev/null; then
237
  :
238
else
239
  as_candidate_shells=
240
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242
do
243
  IFS=$as_save_IFS
244
  test -z "$as_dir" && as_dir=.
245
  case $as_dir in
246
         /*)
247
           for as_base in sh bash ksh sh5; do
248
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249
           done;;
250
       esac
251
done
252
IFS=$as_save_IFS
253
 
254
 
255
      for as_shell in $as_candidate_shells $SHELL; do
256
         # Try only shells that exist, to save several forks.
257
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
                { ("$as_shell") 2> /dev/null <<\_ASEOF
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
  emulate sh
261
  NULLCMD=:
262
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
  # is contrary to our usage.  Disable this feature.
264
  alias -g '${1+"$@"}'='"$@"'
265
  setopt NO_GLOB_SUBST
266
else
267
  case `(set -o) 2>/dev/null` in
268
  *posix*) set -o posix ;;
269
esac
270
 
271
fi
272
 
273
 
274
:
275
_ASEOF
276
}; then
277
  CONFIG_SHELL=$as_shell
278
               as_have_required=yes
279
               if { "$as_shell" 2> /dev/null <<\_ASEOF
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281
  emulate sh
282
  NULLCMD=:
283
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
  # is contrary to our usage.  Disable this feature.
285
  alias -g '${1+"$@"}'='"$@"'
286
  setopt NO_GLOB_SUBST
287
else
288
  case `(set -o) 2>/dev/null` in
289
  *posix*) set -o posix ;;
290
esac
291
 
292
fi
293
 
294
 
295
:
296
(as_func_return () {
297
  (exit $1)
298
}
299
as_func_success () {
300
  as_func_return 0
301
}
302
as_func_failure () {
303
  as_func_return 1
304
}
305
as_func_ret_success () {
306
  return 0
307
}
308
as_func_ret_failure () {
309
  return 1
310
}
311
 
312
exitcode=0
313
if as_func_success; then
314
  :
315
else
316
  exitcode=1
317
  echo as_func_success failed.
318
fi
319
 
320
if as_func_failure; then
321
  exitcode=1
322
  echo as_func_failure succeeded.
323
fi
324
 
325
if as_func_ret_success; then
326
  :
327
else
328
  exitcode=1
329
  echo as_func_ret_success failed.
330
fi
331
 
332
if as_func_ret_failure; then
333
  exitcode=1
334
  echo as_func_ret_failure succeeded.
335
fi
336
 
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
338
  :
339
else
340
  exitcode=1
341
  echo positional parameters were not saved.
342
fi
343
 
344
test $exitcode = 0) || { (exit 1); exit 1; }
345
 
346
(
347
  as_lineno_1=$LINENO
348
  as_lineno_2=$LINENO
349
  test "x$as_lineno_1" != "x$as_lineno_2" &&
350
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
 
352
_ASEOF
353
}; then
354
  break
355
fi
356
 
357
fi
358
 
359
      done
360
 
361
      if test "x$CONFIG_SHELL" != x; then
362
  for as_var in BASH_ENV ENV
363
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364
        done
365
        export CONFIG_SHELL
366
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367
fi
368
 
369
 
370
    if test $as_have_required = no; then
371
  echo This script requires a shell more modern than all the
372
      echo shells that I found on your system.  Please install a
373
      echo modern shell, or manually run the script under such a
374
      echo shell if you do have one.
375
      { (exit 1); exit 1; }
376
fi
377
 
378
 
379
fi
380
 
381
fi
382
 
383
 
384
 
385
(eval "as_func_return () {
386
  (exit \$1)
387
}
388
as_func_success () {
389
  as_func_return 0
390
}
391
as_func_failure () {
392
  as_func_return 1
393
}
394
as_func_ret_success () {
395
  return 0
396
}
397
as_func_ret_failure () {
398
  return 1
399
}
400
 
401
exitcode=0
402
if as_func_success; then
403
  :
404
else
405
  exitcode=1
406
  echo as_func_success failed.
407
fi
408
 
409
if as_func_failure; then
410
  exitcode=1
411
  echo as_func_failure succeeded.
412
fi
413
 
414
if as_func_ret_success; then
415
  :
416
else
417
  exitcode=1
418
  echo as_func_ret_success failed.
419
fi
420
 
421
if as_func_ret_failure; then
422
  exitcode=1
423
  echo as_func_ret_failure succeeded.
424
fi
425
 
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427
  :
428
else
429
  exitcode=1
430
  echo positional parameters were not saved.
431
fi
432
 
433
test \$exitcode = 0") || {
434
  echo No shell found that supports shell functions.
435
  echo Please tell bug-autoconf@gnu.org about your system,
436
  echo including any error possibly output before this message.
437
  echo This can help us improve future autoconf versions.
438
  echo Configuration will now proceed without shell functions.
439
}
440
 
441
 
442
 
443
  as_lineno_1=$LINENO
444
  as_lineno_2=$LINENO
445
  test "x$as_lineno_1" != "x$as_lineno_2" &&
446
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
 
448
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
  # uniformly replaced by the line number.  The first 'sed' inserts a
450
  # line-number line after each line using $LINENO; the second 'sed'
451
  # does the real work.  The second script uses 'N' to pair each
452
  # line-number line with the line containing $LINENO, and appends
453
  # trailing '-' during substitution so that $LINENO is not a special
454
  # case at line end.
455
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457
  # E. McMahon (1931-1989) for sed's syntax.  :-)
458
  sed -n '
459
    p
460
    /[$]LINENO/=
461
  ' <$as_myself |
462
    sed '
463
      s/[$]LINENO.*/&-/
464
      t lineno
465
      b
466
      :lineno
467
      N
468
      :loop
469
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470
      t loop
471
      s/-\n.*//
472
    ' >$as_me.lineno &&
473
  chmod +x "$as_me.lineno" ||
474
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
   { (exit 1); exit 1; }; }
476
 
477
  # Don't try to exec as it changes $[0], causing all sort of problems
478
  # (the dirname of $[0] is not the place where we might find the
479
  # original and so on.  Autoconf is especially sensitive to this).
480
  . "./$as_me.lineno"
481
  # Exit status is that of the last command.
482
  exit
483
}
484
 
485
 
486
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487
  as_dirname=dirname
488
else
489
  as_dirname=false
490
fi
491
 
492
ECHO_C= ECHO_N= ECHO_T=
493
case `echo -n x` in
494
-n*)
495
  case `echo 'x\c'` in
496
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497
  *)   ECHO_C='\c';;
498
  esac;;
499
*)
500
  ECHO_N='-n';;
501
esac
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504
  as_expr=expr
505
else
506
  as_expr=false
507
fi
508
 
509
rm -f conf$$ conf$$.exe conf$$.file
510
if test -d conf$$.dir; then
511
  rm -f conf$$.dir/conf$$.file
512
else
513
  rm -f conf$$.dir
514
  mkdir conf$$.dir 2>/dev/null
515
fi
516
if (echo >conf$$.file) 2>/dev/null; then
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
518
    as_ln_s='ln -s'
519
    # ... but there are two gotchas:
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522
    # In both cases, we have to default to `cp -p'.
523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524
      as_ln_s='cp -p'
525
  elif ln conf$$.file conf$$ 2>/dev/null; then
526
    as_ln_s=ln
527
  else
528
    as_ln_s='cp -p'
529
  fi
530
else
531
  as_ln_s='cp -p'
532
fi
533
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534
rmdir conf$$.dir 2>/dev/null
535
 
536
if mkdir -p . 2>/dev/null; then
537
  as_mkdir_p=:
538
else
539
  test -d ./-p && rmdir ./-p
540
  as_mkdir_p=false
541
fi
542
 
543
if test -x / >/dev/null 2>&1; then
544
  as_test_x='test -x'
545
else
546
  if ls -dL / >/dev/null 2>&1; then
547
    as_ls_L_option=L
548
  else
549
    as_ls_L_option=
550
  fi
551
  as_test_x='
552
    eval sh -c '\''
553
      if test -d "$1"; then
554
        test -d "$1/.";
555
      else
556
        case $1 in
557
        -*)set "./$1";;
558
        esac;
559
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560
        ???[sx]*):;;*)false;;esac;fi
561
    '\'' sh
562
  '
563
fi
564
as_executable_p=$as_test_x
565
 
566
# Sed expression to map a string onto a valid CPP name.
567
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
 
569
# Sed expression to map a string onto a valid variable name.
570
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
 
572
 
573
 
574
 
575
# Check that we are running under the correct shell.
576
SHELL=${CONFIG_SHELL-/bin/sh}
577
 
578
case X$lt_ECHO in
579
X*--fallback-echo)
580
  # Remove one level of quotation (which was required for Make).
581
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
582
  ;;
583
esac
584
 
585
ECHO=${lt_ECHO-echo}
586
if test "X$1" = X--no-reexec; then
587
  # Discard the --no-reexec flag, and continue.
588
  shift
589
elif test "X$1" = X--fallback-echo; then
590
  # Avoid inline document here, it may be left over
591
  :
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593
  # Yippee, $ECHO works!
594
  :
595
else
596
  # Restart under the correct shell.
597
  exec $SHELL "$0" --no-reexec ${1+"$@"}
598
fi
599
 
600
if test "X$1" = X--fallback-echo; then
601
  # used as fallback echo
602
  shift
603
  cat <<_LT_EOF
604
$*
605
_LT_EOF
606
  exit 0
607
fi
608
 
609
# The HP-UX ksh and POSIX shell print the target directory to stdout
610
# if CDPATH is set.
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
612
 
613
if test -z "$lt_ECHO"; then
614
  if test "X${echo_test_string+set}" != Xset; then
615
    # find a string as large as possible, as long as the shell can cope with it
616
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
619
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
620
      then
621
        break
622
      fi
623
    done
624
  fi
625
 
626
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
     test "X$echo_testing_string" = "X$echo_test_string"; then
629
    :
630
  else
631
    # The Solaris, AIX, and Digital Unix default echo programs unquote
632
    # backslashes.  This makes it impossible to quote backslashes using
633
    #   echo "$something" | sed 's/\\/\\\\/g'
634
    #
635
    # So, first we look for a working echo in the user's PATH.
636
 
637
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
638
    for dir in $PATH /usr/ucb; do
639
      IFS="$lt_save_ifs"
640
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
641
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643
         test "X$echo_testing_string" = "X$echo_test_string"; then
644
        ECHO="$dir/echo"
645
        break
646
      fi
647
    done
648
    IFS="$lt_save_ifs"
649
 
650
    if test "X$ECHO" = Xecho; then
651
      # We didn't find a better echo, so look for alternatives.
652
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654
         test "X$echo_testing_string" = "X$echo_test_string"; then
655
        # This shell has a builtin print -r that does the trick.
656
        ECHO='print -r'
657
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
658
           test "X$CONFIG_SHELL" != X/bin/ksh; then
659
        # If we have ksh, try running configure again with it.
660
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
661
        export ORIGINAL_CONFIG_SHELL
662
        CONFIG_SHELL=/bin/ksh
663
        export CONFIG_SHELL
664
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
665
      else
666
        # Try using printf.
667
        ECHO='printf %s\n'
668
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670
           test "X$echo_testing_string" = "X$echo_test_string"; then
671
          # Cool, printf works
672
          :
673
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674
             test "X$echo_testing_string" = 'X\t' &&
675
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676
             test "X$echo_testing_string" = "X$echo_test_string"; then
677
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
678
          export CONFIG_SHELL
679
          SHELL="$CONFIG_SHELL"
680
          export SHELL
681
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
682
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683
             test "X$echo_testing_string" = 'X\t' &&
684
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685
             test "X$echo_testing_string" = "X$echo_test_string"; then
686
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
687
        else
688
          # maybe with a smaller string...
689
          prev=:
690
 
691
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
693
            then
694
              break
695
            fi
696
            prev="$cmd"
697
          done
698
 
699
          if test "$prev" != 'sed 50q "$0"'; then
700
            echo_test_string=`eval $prev`
701
            export echo_test_string
702
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
703
          else
704
            # Oops.  We lost completely, so just stick with echo.
705
            ECHO=echo
706
          fi
707
        fi
708
      fi
709
    fi
710
  fi
711
fi
712
 
713
# Copy echo and quote the copy suitably for passing to libtool from
714
# the Makefile, instead of quoting the original, which is used later.
715
lt_ECHO=$ECHO
716
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
718
fi
719
 
720
 
721
 
722
 
723
exec 7<&0 &1
724
 
725
# Name of the host.
726
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727
# so uname gets run too.
728
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
729
 
730
#
731
# Initializations.
732
#
733
ac_default_prefix=/usr/local
734
ac_clean_files=
735
ac_config_libobj_dir=.
736
LIBOBJS=
737
cross_compiling=no
738
subdirs=
739
MFLAGS=
740
MAKEFLAGS=
741
SHELL=${CONFIG_SHELL-/bin/sh}
742
 
743
# Identity of this package.
744
PACKAGE_NAME='newlib'
745
PACKAGE_TARNAME='newlib'
746
PACKAGE_VERSION='1.18.0'
747
PACKAGE_STRING='newlib 1.18.0'
748
PACKAGE_BUGREPORT=''
749
 
750
ac_unique_file="f_math.h"
751
# Factoring default headers for most tests.
752
ac_includes_default="\
753
#include 
754
#ifdef HAVE_SYS_TYPES_H
755
# include 
756
#endif
757
#ifdef HAVE_SYS_STAT_H
758
# include 
759
#endif
760
#ifdef STDC_HEADERS
761
# include 
762
# include 
763
#else
764
# ifdef HAVE_STDLIB_H
765
#  include 
766
# endif
767
#endif
768
#ifdef HAVE_STRING_H
769
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
770
#  include 
771
# endif
772
# include 
773
#endif
774
#ifdef HAVE_STRINGS_H
775
# include 
776
#endif
777
#ifdef HAVE_INTTYPES_H
778
# include 
779
#endif
780
#ifdef HAVE_STDINT_H
781
# include 
782
#endif
783
#ifdef HAVE_UNISTD_H
784
# include 
785
#endif"
786
 
787
ac_subst_vars='am__EXEEXT_FALSE
788
am__EXEEXT_TRUE
789
LTLIBOBJS
790
LIBOBJS
791
CPP
792
OTOOL64
793
OTOOL
794
LIPO
795
NMEDIT
796
DSYMUTIL
797
lt_ECHO
798
LN_S
799
NM
800
ac_ct_DUMPBIN
801
DUMPBIN
802
LD
803
FGREP
804
EGREP
805
GREP
806
EXEEXT
807
ac_ct_CC
808
CPPFLAGS
809
CFLAGS
810
LIBTOOL
811
OBJDUMP
812
DLLTOOL
813
SED
814
sys_dir
815
machine_dir
816
libm_machine_dir
817
lpfx
818
aext
819
oext
820
OBJEXT
821
USE_LIBTOOL_FALSE
822
USE_LIBTOOL_TRUE
823
ELIX_LEVEL_4_FALSE
824
ELIX_LEVEL_4_TRUE
825
ELIX_LEVEL_3_FALSE
826
ELIX_LEVEL_3_TRUE
827
ELIX_LEVEL_2_FALSE
828
ELIX_LEVEL_2_TRUE
829
ELIX_LEVEL_1_FALSE
830
ELIX_LEVEL_1_TRUE
831
ELIX_LEVEL_0_FALSE
832
ELIX_LEVEL_0_TRUE
833
LDFLAGS
834
NEWLIB_CFLAGS
835
CCASFLAGS
836
CCAS
837
MAINT
838
MAINTAINER_MODE_FALSE
839
MAINTAINER_MODE_TRUE
840
READELF
841
RANLIB
842
AR
843
AS
844
am__fastdepCC_FALSE
845
am__fastdepCC_TRUE
846
CCDEPMODE
847
AMDEPBACKSLASH
848
AMDEP_FALSE
849
AMDEP_TRUE
850
am__quote
851
am__include
852
DEPDIR
853
CC
854
am__untar
855
am__tar
856
AMTAR
857
am__leading_dot
858
SET_MAKE
859
AWK
860
mkdir_p
861
MKDIR_P
862
INSTALL_STRIP_PROGRAM
863
STRIP
864
install_sh
865
MAKEINFO
866
AUTOHEADER
867
AUTOMAKE
868
AUTOCONF
869
ACLOCAL
870
VERSION
871
PACKAGE
872
CYGPATH_W
873
am__isrc
874
INSTALL_DATA
875
INSTALL_SCRIPT
876
INSTALL_PROGRAM
877
host_os
878
host_vendor
879
host_cpu
880
host
881
build_os
882
build_vendor
883
build_cpu
884
build
885
newlib_basedir
886
MAY_SUPPLY_SYSCALLS_FALSE
887
MAY_SUPPLY_SYSCALLS_TRUE
888
target_alias
889
host_alias
890
build_alias
891
LIBS
892
ECHO_T
893
ECHO_N
894
ECHO_C
895
DEFS
896
mandir
897
localedir
898
libdir
899
psdir
900
pdfdir
901
dvidir
902
htmldir
903
infodir
904
docdir
905
oldincludedir
906
includedir
907
localstatedir
908
sharedstatedir
909
sysconfdir
910
datadir
911
datarootdir
912
libexecdir
913
sbindir
914
bindir
915
program_transform_name
916
prefix
917
exec_prefix
918
PACKAGE_BUGREPORT
919
PACKAGE_STRING
920
PACKAGE_VERSION
921
PACKAGE_TARNAME
922
PACKAGE_NAME
923
PATH_SEPARATOR
924
SHELL'
925
ac_subst_files=''
926
ac_user_opts='
927
enable_option_checking
928
enable_multilib
929
enable_target_optspace
930
enable_malloc_debugging
931
enable_newlib_multithread
932
enable_newlib_iconv
933
enable_newlib_elix_level
934
enable_newlib_io_float
935
enable_newlib_supplied_syscalls
936
enable_dependency_tracking
937
enable_maintainer_mode
938
enable_shared
939
enable_static
940
with_pic
941
enable_fast_install
942
with_gnu_ld
943
enable_libtool_lock
944
'
945
      ac_precious_vars='build_alias
946
host_alias
947
target_alias
948
CCAS
949
CCASFLAGS
950
CC
951
CFLAGS
952
LDFLAGS
953
LIBS
954
CPPFLAGS
955
CPP'
956
 
957
 
958
# Initialize some variables set by options.
959
ac_init_help=
960
ac_init_version=false
961
ac_unrecognized_opts=
962
ac_unrecognized_sep=
963
# The variables have the same names as the options, with
964
# dashes changed to underlines.
965
cache_file=/dev/null
966
exec_prefix=NONE
967
no_create=
968
no_recursion=
969
prefix=NONE
970
program_prefix=NONE
971
program_suffix=NONE
972
program_transform_name=s,x,x,
973
silent=
974
site=
975
srcdir=
976
verbose=
977
x_includes=NONE
978
x_libraries=NONE
979
 
980
# Installation directory options.
981
# These are left unexpanded so users can "make install exec_prefix=/foo"
982
# and all the variables that are supposed to be based on exec_prefix
983
# by default will actually change.
984
# Use braces instead of parens because sh, perl, etc. also accept them.
985
# (The list follows the same order as the GNU Coding Standards.)
986
bindir='${exec_prefix}/bin'
987
sbindir='${exec_prefix}/sbin'
988
libexecdir='${exec_prefix}/libexec'
989
datarootdir='${prefix}/share'
990
datadir='${datarootdir}'
991
sysconfdir='${prefix}/etc'
992
sharedstatedir='${prefix}/com'
993
localstatedir='${prefix}/var'
994
includedir='${prefix}/include'
995
oldincludedir='/usr/include'
996
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
997
infodir='${datarootdir}/info'
998
htmldir='${docdir}'
999
dvidir='${docdir}'
1000
pdfdir='${docdir}'
1001
psdir='${docdir}'
1002
libdir='${exec_prefix}/lib'
1003
localedir='${datarootdir}/locale'
1004
mandir='${datarootdir}/man'
1005
 
1006
ac_prev=
1007
ac_dashdash=
1008
for ac_option
1009
do
1010
  # If the previous option needs an argument, assign it.
1011
  if test -n "$ac_prev"; then
1012
    eval $ac_prev=\$ac_option
1013
    ac_prev=
1014
    continue
1015
  fi
1016
 
1017
  case $ac_option in
1018
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1019
  *)    ac_optarg=yes ;;
1020
  esac
1021
 
1022
  # Accept the important Cygnus configure options, so we can diagnose typos.
1023
 
1024
  case $ac_dashdash$ac_option in
1025
  --)
1026
    ac_dashdash=yes ;;
1027
 
1028
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1029
    ac_prev=bindir ;;
1030
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1031
    bindir=$ac_optarg ;;
1032
 
1033
  -build | --build | --buil | --bui | --bu)
1034
    ac_prev=build_alias ;;
1035
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1036
    build_alias=$ac_optarg ;;
1037
 
1038
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1039
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1040
    ac_prev=cache_file ;;
1041
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1042
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1043
    cache_file=$ac_optarg ;;
1044
 
1045
  --config-cache | -C)
1046
    cache_file=config.cache ;;
1047
 
1048
  -datadir | --datadir | --datadi | --datad)
1049
    ac_prev=datadir ;;
1050
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1051
    datadir=$ac_optarg ;;
1052
 
1053
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1054
  | --dataroo | --dataro | --datar)
1055
    ac_prev=datarootdir ;;
1056
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1057
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1058
    datarootdir=$ac_optarg ;;
1059
 
1060
  -disable-* | --disable-*)
1061
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1062
    # Reject names that are not valid shell variable names.
1063
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1065
   { (exit 1); exit 1; }; }
1066
    ac_useropt_orig=$ac_useropt
1067
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068
    case $ac_user_opts in
1069
      *"
1070
"enable_$ac_useropt"
1071
"*) ;;
1072
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1073
         ac_unrecognized_sep=', ';;
1074
    esac
1075
    eval enable_$ac_useropt=no ;;
1076
 
1077
  -docdir | --docdir | --docdi | --doc | --do)
1078
    ac_prev=docdir ;;
1079
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1080
    docdir=$ac_optarg ;;
1081
 
1082
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1083
    ac_prev=dvidir ;;
1084
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1085
    dvidir=$ac_optarg ;;
1086
 
1087
  -enable-* | --enable-*)
1088
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1089
    # Reject names that are not valid shell variable names.
1090
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1092
   { (exit 1); exit 1; }; }
1093
    ac_useropt_orig=$ac_useropt
1094
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095
    case $ac_user_opts in
1096
      *"
1097
"enable_$ac_useropt"
1098
"*) ;;
1099
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1100
         ac_unrecognized_sep=', ';;
1101
    esac
1102
    eval enable_$ac_useropt=\$ac_optarg ;;
1103
 
1104
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1105
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1106
  | --exec | --exe | --ex)
1107
    ac_prev=exec_prefix ;;
1108
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1109
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1110
  | --exec=* | --exe=* | --ex=*)
1111
    exec_prefix=$ac_optarg ;;
1112
 
1113
  -gas | --gas | --ga | --g)
1114
    # Obsolete; use --with-gas.
1115
    with_gas=yes ;;
1116
 
1117
  -help | --help | --hel | --he | -h)
1118
    ac_init_help=long ;;
1119
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1120
    ac_init_help=recursive ;;
1121
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1122
    ac_init_help=short ;;
1123
 
1124
  -host | --host | --hos | --ho)
1125
    ac_prev=host_alias ;;
1126
  -host=* | --host=* | --hos=* | --ho=*)
1127
    host_alias=$ac_optarg ;;
1128
 
1129
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1130
    ac_prev=htmldir ;;
1131
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1132
  | --ht=*)
1133
    htmldir=$ac_optarg ;;
1134
 
1135
  -includedir | --includedir | --includedi | --included | --include \
1136
  | --includ | --inclu | --incl | --inc)
1137
    ac_prev=includedir ;;
1138
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1139
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1140
    includedir=$ac_optarg ;;
1141
 
1142
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1143
    ac_prev=infodir ;;
1144
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1145
    infodir=$ac_optarg ;;
1146
 
1147
  -libdir | --libdir | --libdi | --libd)
1148
    ac_prev=libdir ;;
1149
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1150
    libdir=$ac_optarg ;;
1151
 
1152
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1153
  | --libexe | --libex | --libe)
1154
    ac_prev=libexecdir ;;
1155
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1156
  | --libexe=* | --libex=* | --libe=*)
1157
    libexecdir=$ac_optarg ;;
1158
 
1159
  -localedir | --localedir | --localedi | --localed | --locale)
1160
    ac_prev=localedir ;;
1161
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1162
    localedir=$ac_optarg ;;
1163
 
1164
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1165
  | --localstate | --localstat | --localsta | --localst | --locals)
1166
    ac_prev=localstatedir ;;
1167
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1168
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1169
    localstatedir=$ac_optarg ;;
1170
 
1171
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1172
    ac_prev=mandir ;;
1173
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1174
    mandir=$ac_optarg ;;
1175
 
1176
  -nfp | --nfp | --nf)
1177
    # Obsolete; use --without-fp.
1178
    with_fp=no ;;
1179
 
1180
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1181
  | --no-cr | --no-c | -n)
1182
    no_create=yes ;;
1183
 
1184
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1185
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1186
    no_recursion=yes ;;
1187
 
1188
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1189
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1190
  | --oldin | --oldi | --old | --ol | --o)
1191
    ac_prev=oldincludedir ;;
1192
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1193
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1194
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1195
    oldincludedir=$ac_optarg ;;
1196
 
1197
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1198
    ac_prev=prefix ;;
1199
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1200
    prefix=$ac_optarg ;;
1201
 
1202
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1203
  | --program-pre | --program-pr | --program-p)
1204
    ac_prev=program_prefix ;;
1205
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1206
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1207
    program_prefix=$ac_optarg ;;
1208
 
1209
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1210
  | --program-suf | --program-su | --program-s)
1211
    ac_prev=program_suffix ;;
1212
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1213
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1214
    program_suffix=$ac_optarg ;;
1215
 
1216
  -program-transform-name | --program-transform-name \
1217
  | --program-transform-nam | --program-transform-na \
1218
  | --program-transform-n | --program-transform- \
1219
  | --program-transform | --program-transfor \
1220
  | --program-transfo | --program-transf \
1221
  | --program-trans | --program-tran \
1222
  | --progr-tra | --program-tr | --program-t)
1223
    ac_prev=program_transform_name ;;
1224
  -program-transform-name=* | --program-transform-name=* \
1225
  | --program-transform-nam=* | --program-transform-na=* \
1226
  | --program-transform-n=* | --program-transform-=* \
1227
  | --program-transform=* | --program-transfor=* \
1228
  | --program-transfo=* | --program-transf=* \
1229
  | --program-trans=* | --program-tran=* \
1230
  | --progr-tra=* | --program-tr=* | --program-t=*)
1231
    program_transform_name=$ac_optarg ;;
1232
 
1233
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1234
    ac_prev=pdfdir ;;
1235
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1236
    pdfdir=$ac_optarg ;;
1237
 
1238
  -psdir | --psdir | --psdi | --psd | --ps)
1239
    ac_prev=psdir ;;
1240
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1241
    psdir=$ac_optarg ;;
1242
 
1243
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1244
  | -silent | --silent | --silen | --sile | --sil)
1245
    silent=yes ;;
1246
 
1247
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1248
    ac_prev=sbindir ;;
1249
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1250
  | --sbi=* | --sb=*)
1251
    sbindir=$ac_optarg ;;
1252
 
1253
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1254
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1255
  | --sharedst | --shareds | --shared | --share | --shar \
1256
  | --sha | --sh)
1257
    ac_prev=sharedstatedir ;;
1258
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1259
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1260
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1261
  | --sha=* | --sh=*)
1262
    sharedstatedir=$ac_optarg ;;
1263
 
1264
  -site | --site | --sit)
1265
    ac_prev=site ;;
1266
  -site=* | --site=* | --sit=*)
1267
    site=$ac_optarg ;;
1268
 
1269
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1270
    ac_prev=srcdir ;;
1271
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1272
    srcdir=$ac_optarg ;;
1273
 
1274
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1275
  | --syscon | --sysco | --sysc | --sys | --sy)
1276
    ac_prev=sysconfdir ;;
1277
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1278
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1279
    sysconfdir=$ac_optarg ;;
1280
 
1281
  -target | --target | --targe | --targ | --tar | --ta | --t)
1282
    ac_prev=target_alias ;;
1283
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1284
    target_alias=$ac_optarg ;;
1285
 
1286
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1287
    verbose=yes ;;
1288
 
1289
  -version | --version | --versio | --versi | --vers | -V)
1290
    ac_init_version=: ;;
1291
 
1292
  -with-* | --with-*)
1293
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1294
    # Reject names that are not valid shell variable names.
1295
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1297
   { (exit 1); exit 1; }; }
1298
    ac_useropt_orig=$ac_useropt
1299
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1300
    case $ac_user_opts in
1301
      *"
1302
"with_$ac_useropt"
1303
"*) ;;
1304
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1305
         ac_unrecognized_sep=', ';;
1306
    esac
1307
    eval with_$ac_useropt=\$ac_optarg ;;
1308
 
1309
  -without-* | --without-*)
1310
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1311
    # Reject names that are not valid shell variable names.
1312
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1313
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1314
   { (exit 1); exit 1; }; }
1315
    ac_useropt_orig=$ac_useropt
1316
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1317
    case $ac_user_opts in
1318
      *"
1319
"with_$ac_useropt"
1320
"*) ;;
1321
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1322
         ac_unrecognized_sep=', ';;
1323
    esac
1324
    eval with_$ac_useropt=no ;;
1325
 
1326
  --x)
1327
    # Obsolete; use --with-x.
1328
    with_x=yes ;;
1329
 
1330
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1331
  | --x-incl | --x-inc | --x-in | --x-i)
1332
    ac_prev=x_includes ;;
1333
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1334
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1335
    x_includes=$ac_optarg ;;
1336
 
1337
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1338
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1339
    ac_prev=x_libraries ;;
1340
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1341
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1342
    x_libraries=$ac_optarg ;;
1343
 
1344
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1345
Try \`$0 --help' for more information." >&2
1346
   { (exit 1); exit 1; }; }
1347
    ;;
1348
 
1349
  *=*)
1350
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1351
    # Reject names that are not valid shell variable names.
1352
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1353
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1354
   { (exit 1); exit 1; }; }
1355
    eval $ac_envvar=\$ac_optarg
1356
    export $ac_envvar ;;
1357
 
1358
  *)
1359
    # FIXME: should be removed in autoconf 3.0.
1360
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1361
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1362
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1363
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1364
    ;;
1365
 
1366
  esac
1367
done
1368
 
1369
if test -n "$ac_prev"; then
1370
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1371
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1372
   { (exit 1); exit 1; }; }
1373
fi
1374
 
1375
if test -n "$ac_unrecognized_opts"; then
1376
  case $enable_option_checking in
1377
    no) ;;
1378
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1379
   { (exit 1); exit 1; }; } ;;
1380
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1381
  esac
1382
fi
1383
 
1384
# Check all directory arguments for consistency.
1385
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1386
                datadir sysconfdir sharedstatedir localstatedir includedir \
1387
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1388
                libdir localedir mandir
1389
do
1390
  eval ac_val=\$$ac_var
1391
  # Remove trailing slashes.
1392
  case $ac_val in
1393
    */ )
1394
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1395
      eval $ac_var=\$ac_val;;
1396
  esac
1397
  # Be sure to have absolute directory names.
1398
  case $ac_val in
1399
    [\\/$]* | ?:[\\/]* )  continue;;
1400
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1401
  esac
1402
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1403
   { (exit 1); exit 1; }; }
1404
done
1405
 
1406
# There might be people who depend on the old broken behavior: `$host'
1407
# used to hold the argument of --host etc.
1408
# FIXME: To remove some day.
1409
build=$build_alias
1410
host=$host_alias
1411
target=$target_alias
1412
 
1413
# FIXME: To remove some day.
1414
if test "x$host_alias" != x; then
1415
  if test "x$build_alias" = x; then
1416
    cross_compiling=maybe
1417
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1418
    If a cross compiler is detected then cross compile mode will be used." >&2
1419
  elif test "x$build_alias" != "x$host_alias"; then
1420
    cross_compiling=yes
1421
  fi
1422
fi
1423
 
1424
ac_tool_prefix=
1425
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1426
 
1427
test "$silent" = yes && exec 6>/dev/null
1428
 
1429
 
1430
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1431
ac_ls_di=`ls -di .` &&
1432
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1433
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1434
   { (exit 1); exit 1; }; }
1435
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1436
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1437
   { (exit 1); exit 1; }; }
1438
 
1439
 
1440
# Find the source files, if location was not specified.
1441
if test -z "$srcdir"; then
1442
  ac_srcdir_defaulted=yes
1443
  # Try the directory containing this script, then the parent directory.
1444
  ac_confdir=`$as_dirname -- "$as_myself" ||
1445
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1446
         X"$as_myself" : 'X\(//\)[^/]' \| \
1447
         X"$as_myself" : 'X\(//\)$' \| \
1448
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1449
$as_echo X"$as_myself" |
1450
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1451
            s//\1/
1452
            q
1453
          }
1454
          /^X\(\/\/\)[^/].*/{
1455
            s//\1/
1456
            q
1457
          }
1458
          /^X\(\/\/\)$/{
1459
            s//\1/
1460
            q
1461
          }
1462
          /^X\(\/\).*/{
1463
            s//\1/
1464
            q
1465
          }
1466
          s/.*/./; q'`
1467
  srcdir=$ac_confdir
1468
  if test ! -r "$srcdir/$ac_unique_file"; then
1469
    srcdir=..
1470
  fi
1471
else
1472
  ac_srcdir_defaulted=no
1473
fi
1474
if test ! -r "$srcdir/$ac_unique_file"; then
1475
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1476
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1477
   { (exit 1); exit 1; }; }
1478
fi
1479
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1480
ac_abs_confdir=`(
1481
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1482
   { (exit 1); exit 1; }; }
1483
        pwd)`
1484
# When building in place, set srcdir=.
1485
if test "$ac_abs_confdir" = "$ac_pwd"; then
1486
  srcdir=.
1487
fi
1488
# Remove unnecessary trailing slashes from srcdir.
1489
# Double slashes in file names in object file debugging info
1490
# mess up M-x gdb in Emacs.
1491
case $srcdir in
1492
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1493
esac
1494
for ac_var in $ac_precious_vars; do
1495
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1496
  eval ac_env_${ac_var}_value=\$${ac_var}
1497
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1498
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1499
done
1500
 
1501
#
1502
# Report the --help message.
1503
#
1504
if test "$ac_init_help" = "long"; then
1505
  # Omit some internal or obsolete options to make the list less imposing.
1506
  # This message is too long to be a string in the A/UX 3.1 sh.
1507
  cat <<_ACEOF
1508
\`configure' configures newlib 1.18.0 to adapt to many kinds of systems.
1509
 
1510
Usage: $0 [OPTION]... [VAR=VALUE]...
1511
 
1512
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1513
VAR=VALUE.  See below for descriptions of some of the useful variables.
1514
 
1515
Defaults for the options are specified in brackets.
1516
 
1517
Configuration:
1518
  -h, --help              display this help and exit
1519
      --help=short        display options specific to this package
1520
      --help=recursive    display the short help of all the included packages
1521
  -V, --version           display version information and exit
1522
  -q, --quiet, --silent   do not print \`checking...' messages
1523
      --cache-file=FILE   cache test results in FILE [disabled]
1524
  -C, --config-cache      alias for \`--cache-file=config.cache'
1525
  -n, --no-create         do not create output files
1526
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1527
 
1528
Installation directories:
1529
  --prefix=PREFIX         install architecture-independent files in PREFIX
1530
                          [$ac_default_prefix]
1531
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1532
                          [PREFIX]
1533
 
1534
By default, \`make install' will install all the files in
1535
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1536
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1537
for instance \`--prefix=\$HOME'.
1538
 
1539
For better control, use the options below.
1540
 
1541
Fine tuning of the installation directories:
1542
  --bindir=DIR            user executables [EPREFIX/bin]
1543
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1544
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1545
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1546
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1547
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1548
  --libdir=DIR            object code libraries [EPREFIX/lib]
1549
  --includedir=DIR        C header files [PREFIX/include]
1550
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1551
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1552
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1553
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1554
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1555
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1556
  --docdir=DIR            documentation root [DATAROOTDIR/doc/newlib]
1557
  --htmldir=DIR           html documentation [DOCDIR]
1558
  --dvidir=DIR            dvi documentation [DOCDIR]
1559
  --pdfdir=DIR            pdf documentation [DOCDIR]
1560
  --psdir=DIR             ps documentation [DOCDIR]
1561
_ACEOF
1562
 
1563
  cat <<\_ACEOF
1564
 
1565
Program names:
1566
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1567
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1568
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1569
 
1570
System types:
1571
  --build=BUILD     configure for building on BUILD [guessed]
1572
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1573
_ACEOF
1574
fi
1575
 
1576
if test -n "$ac_init_help"; then
1577
  case $ac_init_help in
1578
     short | recursive ) echo "Configuration of newlib 1.18.0:";;
1579
   esac
1580
  cat <<\_ACEOF
1581
 
1582
Optional Features:
1583
  --disable-option-checking  ignore unrecognized --enable/--with options
1584
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1585
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1586
  --enable-multilib         build many library versions (default)
1587
  --enable-target-optspace  optimize for space
1588
  --enable-malloc-debugging indicate malloc debugging requested
1589
  --enable-newlib-multithread        enable support for multiple threads
1590
  --enable-newlib-iconv     enable iconv library support
1591
  --enable-newlib-elix-level         supply desired elix library level (1-4)
1592
  --disable-newlib-io-float disable printf/scanf family float support
1593
  --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1594
  --disable-dependency-tracking  speeds up one-time build
1595
  --enable-dependency-tracking   do not reject slow dependency extractors
1596
  --enable-maintainer-mode  enable make rules and dependencies not useful
1597
                          (and sometimes confusing) to the casual installer
1598
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1599
  --enable-static[=PKGS]  build static libraries [default=yes]
1600
  --enable-fast-install[=PKGS]
1601
                          optimize for fast installation [default=yes]
1602
  --disable-libtool-lock  avoid locking (might break parallel builds)
1603
 
1604
Optional Packages:
1605
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1606
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1607
  --with-pic              try to use only PIC/non-PIC objects [default=use
1608
                          both]
1609
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1610
 
1611
Some influential environment variables:
1612
  CCAS        assembler compiler command (defaults to CC)
1613
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1614
  CC          C compiler command
1615
  CFLAGS      C compiler flags
1616
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
1617
              nonstandard directory 
1618
  LIBS        libraries to pass to the linker, e.g. -l
1619
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I if
1620
              you have headers in a nonstandard directory 
1621
  CPP         C preprocessor
1622
 
1623
Use these variables to override the choices made by `configure' or to help
1624
it to find libraries and programs with nonstandard names/locations.
1625
 
1626
_ACEOF
1627
ac_status=$?
1628
fi
1629
 
1630
if test "$ac_init_help" = "recursive"; then
1631
  # If there are subdirs, report their specific --help.
1632
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1633
    test -d "$ac_dir" ||
1634
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1635
      continue
1636
    ac_builddir=.
1637
 
1638
case "$ac_dir" in
1639
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1640
*)
1641
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1642
  # A ".." for each directory in $ac_dir_suffix.
1643
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1644
  case $ac_top_builddir_sub in
1645
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1646
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1647
  esac ;;
1648
esac
1649
ac_abs_top_builddir=$ac_pwd
1650
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1651
# for backward compatibility:
1652
ac_top_builddir=$ac_top_build_prefix
1653
 
1654
case $srcdir in
1655
  .)  # We are building in place.
1656
    ac_srcdir=.
1657
    ac_top_srcdir=$ac_top_builddir_sub
1658
    ac_abs_top_srcdir=$ac_pwd ;;
1659
  [\\/]* | ?:[\\/]* )  # Absolute name.
1660
    ac_srcdir=$srcdir$ac_dir_suffix;
1661
    ac_top_srcdir=$srcdir
1662
    ac_abs_top_srcdir=$srcdir ;;
1663
  *) # Relative name.
1664
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1665
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1666
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1667
esac
1668
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1669
 
1670
    cd "$ac_dir" || { ac_status=$?; continue; }
1671
    # Check for guested configure.
1672
    if test -f "$ac_srcdir/configure.gnu"; then
1673
      echo &&
1674
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1675
    elif test -f "$ac_srcdir/configure"; then
1676
      echo &&
1677
      $SHELL "$ac_srcdir/configure" --help=recursive
1678
    else
1679
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1680
    fi || ac_status=$?
1681
    cd "$ac_pwd" || { ac_status=$?; break; }
1682
  done
1683
fi
1684
 
1685
test -n "$ac_init_help" && exit $ac_status
1686
if $ac_init_version; then
1687
  cat <<\_ACEOF
1688
newlib configure 1.18.0
1689
generated by GNU Autoconf 2.63
1690
 
1691
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1692
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1693
This configure script is free software; the Free Software Foundation
1694
gives unlimited permission to copy, distribute and modify it.
1695
_ACEOF
1696
  exit
1697
fi
1698
cat >config.log <<_ACEOF
1699
This file contains any messages produced by compilers while
1700
running configure, to aid debugging if configure makes a mistake.
1701
 
1702
It was created by newlib $as_me 1.18.0, which was
1703
generated by GNU Autoconf 2.63.  Invocation command line was
1704
 
1705
  $ $0 $@
1706
 
1707
_ACEOF
1708
exec 5>>config.log
1709
{
1710
cat <<_ASUNAME
1711
## --------- ##
1712
## Platform. ##
1713
## --------- ##
1714
 
1715
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1716
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1717
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1718
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1719
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1720
 
1721
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1722
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1723
 
1724
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1725
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1726
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1727
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1728
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1729
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1730
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1731
 
1732
_ASUNAME
1733
 
1734
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1735
for as_dir in $PATH
1736
do
1737
  IFS=$as_save_IFS
1738
  test -z "$as_dir" && as_dir=.
1739
  $as_echo "PATH: $as_dir"
1740
done
1741
IFS=$as_save_IFS
1742
 
1743
} >&5
1744
 
1745
cat >&5 <<_ACEOF
1746
 
1747
 
1748
## ----------- ##
1749
## Core tests. ##
1750
## ----------- ##
1751
 
1752
_ACEOF
1753
 
1754
 
1755
# Keep a trace of the command line.
1756
# Strip out --no-create and --no-recursion so they do not pile up.
1757
# Strip out --silent because we don't want to record it for future runs.
1758
# Also quote any args containing shell meta-characters.
1759
# Make two passes to allow for proper duplicate-argument suppression.
1760
ac_configure_args=
1761
ac_configure_args0=
1762
ac_configure_args1=
1763
ac_must_keep_next=false
1764
for ac_pass in 1 2
1765
do
1766
  for ac_arg
1767
  do
1768
    case $ac_arg in
1769
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1770
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1771
    | -silent | --silent | --silen | --sile | --sil)
1772
      continue ;;
1773
    *\'*)
1774
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1775
    esac
1776
    case $ac_pass in
1777
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1778
    2)
1779
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1780
      if test $ac_must_keep_next = true; then
1781
        ac_must_keep_next=false # Got value, back to normal.
1782
      else
1783
        case $ac_arg in
1784
          *=* | --config-cache | -C | -disable-* | --disable-* \
1785
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1786
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1787
          | -with-* | --with-* | -without-* | --without-* | --x)
1788
            case "$ac_configure_args0 " in
1789
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1790
            esac
1791
            ;;
1792
          -* ) ac_must_keep_next=true ;;
1793
        esac
1794
      fi
1795
      ac_configure_args="$ac_configure_args '$ac_arg'"
1796
      ;;
1797
    esac
1798
  done
1799
done
1800
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1801
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1802
 
1803
# When interrupted or exit'd, cleanup temporary files, and complete
1804
# config.log.  We remove comments because anyway the quotes in there
1805
# would cause problems or look ugly.
1806
# WARNING: Use '\'' to represent an apostrophe within the trap.
1807
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1808
trap 'exit_status=$?
1809
  # Save into config.log some information that might help in debugging.
1810
  {
1811
    echo
1812
 
1813
    cat <<\_ASBOX
1814
## ---------------- ##
1815
## Cache variables. ##
1816
## ---------------- ##
1817
_ASBOX
1818
    echo
1819
    # The following way of writing the cache mishandles newlines in values,
1820
(
1821
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1822
    eval ac_val=\$$ac_var
1823
    case $ac_val in #(
1824
    *${as_nl}*)
1825
      case $ac_var in #(
1826
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1827
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1828
      esac
1829
      case $ac_var in #(
1830
      _ | IFS | as_nl) ;; #(
1831
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1832
      *) $as_unset $ac_var ;;
1833
      esac ;;
1834
    esac
1835
  done
1836
  (set) 2>&1 |
1837
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1838
    *${as_nl}ac_space=\ *)
1839
      sed -n \
1840
        "s/'\''/'\''\\\\'\'''\''/g;
1841
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1842
      ;; #(
1843
    *)
1844
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1845
      ;;
1846
    esac |
1847
    sort
1848
)
1849
    echo
1850
 
1851
    cat <<\_ASBOX
1852
## ----------------- ##
1853
## Output variables. ##
1854
## ----------------- ##
1855
_ASBOX
1856
    echo
1857
    for ac_var in $ac_subst_vars
1858
    do
1859
      eval ac_val=\$$ac_var
1860
      case $ac_val in
1861
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1862
      esac
1863
      $as_echo "$ac_var='\''$ac_val'\''"
1864
    done | sort
1865
    echo
1866
 
1867
    if test -n "$ac_subst_files"; then
1868
      cat <<\_ASBOX
1869
## ------------------- ##
1870
## File substitutions. ##
1871
## ------------------- ##
1872
_ASBOX
1873
      echo
1874
      for ac_var in $ac_subst_files
1875
      do
1876
        eval ac_val=\$$ac_var
1877
        case $ac_val in
1878
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1879
        esac
1880
        $as_echo "$ac_var='\''$ac_val'\''"
1881
      done | sort
1882
      echo
1883
    fi
1884
 
1885
    if test -s confdefs.h; then
1886
      cat <<\_ASBOX
1887
## ----------- ##
1888
## confdefs.h. ##
1889
## ----------- ##
1890
_ASBOX
1891
      echo
1892
      cat confdefs.h
1893
      echo
1894
    fi
1895
    test "$ac_signal" != 0 &&
1896
      $as_echo "$as_me: caught signal $ac_signal"
1897
    $as_echo "$as_me: exit $exit_status"
1898
  } >&5
1899
  rm -f core *.core core.conftest.* &&
1900
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1901
    exit $exit_status
1902
' 0
1903
for ac_signal in 1 2 13 15; do
1904
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1905
done
1906
ac_signal=0
1907
 
1908
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1909
rm -f -r conftest* confdefs.h
1910
 
1911
# Predefined preprocessor variables.
1912
 
1913
cat >>confdefs.h <<_ACEOF
1914
#define PACKAGE_NAME "$PACKAGE_NAME"
1915
_ACEOF
1916
 
1917
 
1918
cat >>confdefs.h <<_ACEOF
1919
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1920
_ACEOF
1921
 
1922
 
1923
cat >>confdefs.h <<_ACEOF
1924
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1925
_ACEOF
1926
 
1927
 
1928
cat >>confdefs.h <<_ACEOF
1929
#define PACKAGE_STRING "$PACKAGE_STRING"
1930
_ACEOF
1931
 
1932
 
1933
cat >>confdefs.h <<_ACEOF
1934
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1935
_ACEOF
1936
 
1937
 
1938
# Let the site file select an alternate cache file if it wants to.
1939
# Prefer an explicitly selected file to automatically selected ones.
1940
ac_site_file1=NONE
1941
ac_site_file2=NONE
1942
if test -n "$CONFIG_SITE"; then
1943
  ac_site_file1=$CONFIG_SITE
1944
elif test "x$prefix" != xNONE; then
1945
  ac_site_file1=$prefix/share/config.site
1946
  ac_site_file2=$prefix/etc/config.site
1947
else
1948
  ac_site_file1=$ac_default_prefix/share/config.site
1949
  ac_site_file2=$ac_default_prefix/etc/config.site
1950
fi
1951
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1952
do
1953
  test "x$ac_site_file" = xNONE && continue
1954
  if test -r "$ac_site_file"; then
1955
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1956
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1957
    sed 's/^/| /' "$ac_site_file" >&5
1958
    . "$ac_site_file"
1959
  fi
1960
done
1961
 
1962
if test -r "$cache_file"; then
1963
  # Some versions of bash will fail to source /dev/null (special
1964
  # files actually), so we avoid doing that.
1965
  if test -f "$cache_file"; then
1966
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1967
$as_echo "$as_me: loading cache $cache_file" >&6;}
1968
    case $cache_file in
1969
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1970
      *)                      . "./$cache_file";;
1971
    esac
1972
  fi
1973
else
1974
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1975
$as_echo "$as_me: creating cache $cache_file" >&6;}
1976
  >$cache_file
1977
fi
1978
 
1979
# Check that the precious variables saved in the cache have kept the same
1980
# value.
1981
ac_cache_corrupted=false
1982
for ac_var in $ac_precious_vars; do
1983
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1984
  eval ac_new_set=\$ac_env_${ac_var}_set
1985
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1986
  eval ac_new_val=\$ac_env_${ac_var}_value
1987
  case $ac_old_set,$ac_new_set in
1988
    set,)
1989
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1990
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1991
      ac_cache_corrupted=: ;;
1992
    ,set)
1993
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1994
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1995
      ac_cache_corrupted=: ;;
1996
    ,);;
1997
    *)
1998
      if test "x$ac_old_val" != "x$ac_new_val"; then
1999
        # differences in whitespace do not lead to failure.
2000
        ac_old_val_w=`echo x $ac_old_val`
2001
        ac_new_val_w=`echo x $ac_new_val`
2002
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2003
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2004
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2005
          ac_cache_corrupted=:
2006
        else
2007
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2008
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2009
          eval $ac_var=\$ac_old_val
2010
        fi
2011
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2012
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2013
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2014
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2015
      fi;;
2016
  esac
2017
  # Pass precious variables to config.status.
2018
  if test "$ac_new_set" = set; then
2019
    case $ac_new_val in
2020
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2021
    *) ac_arg=$ac_var=$ac_new_val ;;
2022
    esac
2023
    case " $ac_configure_args " in
2024
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2025
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2026
    esac
2027
  fi
2028
done
2029
if $ac_cache_corrupted; then
2030
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2031
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2032
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2033
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2034
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2035
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2036
   { (exit 1); exit 1; }; }
2037
fi
2038
 
2039
 
2040
 
2041
 
2042
 
2043
 
2044
 
2045
 
2046
 
2047
 
2048
 
2049
 
2050
 
2051
 
2052
 
2053
 
2054
 
2055
 
2056
 
2057
 
2058
 
2059
 
2060
 
2061
 
2062
 
2063
ac_ext=c
2064
ac_cpp='$CPP $CPPFLAGS'
2065
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2066
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2067
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2068
 
2069
 
2070
 
2071
 
2072
ac_aux_dir=
2073
for ac_dir in ../../../.. "$srcdir"/../../../..; do
2074
  if test -f "$ac_dir/install-sh"; then
2075
    ac_aux_dir=$ac_dir
2076
    ac_install_sh="$ac_aux_dir/install-sh -c"
2077
    break
2078
  elif test -f "$ac_dir/install.sh"; then
2079
    ac_aux_dir=$ac_dir
2080
    ac_install_sh="$ac_aux_dir/install.sh -c"
2081
    break
2082
  elif test -f "$ac_dir/shtool"; then
2083
    ac_aux_dir=$ac_dir
2084
    ac_install_sh="$ac_aux_dir/shtool install -c"
2085
    break
2086
  fi
2087
done
2088
if test -z "$ac_aux_dir"; then
2089
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&5
2090
$as_echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&2;}
2091
   { (exit 1); exit 1; }; }
2092
fi
2093
 
2094
# These three variables are undocumented and unsupported,
2095
# and are intended to be withdrawn in a future Autoconf release.
2096
# They can cause serious problems if a builder's source tree is in a directory
2097
# whose full name contains unusual characters.
2098
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2099
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2100
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2101
 
2102
 
2103
 
2104
 
2105
# Make sure we can run config.sub.
2106
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2107
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2108
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2109
   { (exit 1); exit 1; }; }
2110
 
2111
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2112
$as_echo_n "checking build system type... " >&6; }
2113
if test "${ac_cv_build+set}" = set; then
2114
  $as_echo_n "(cached) " >&6
2115
else
2116
  ac_build_alias=$build_alias
2117
test "x$ac_build_alias" = x &&
2118
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2119
test "x$ac_build_alias" = x &&
2120
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2121
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2122
   { (exit 1); exit 1; }; }
2123
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2124
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2125
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2126
   { (exit 1); exit 1; }; }
2127
 
2128
fi
2129
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2130
$as_echo "$ac_cv_build" >&6; }
2131
case $ac_cv_build in
2132
*-*-*) ;;
2133
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2134
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2135
   { (exit 1); exit 1; }; };;
2136
esac
2137
build=$ac_cv_build
2138
ac_save_IFS=$IFS; IFS='-'
2139
set x $ac_cv_build
2140
shift
2141
build_cpu=$1
2142
build_vendor=$2
2143
shift; shift
2144
# Remember, the first character of IFS is used to create $*,
2145
# except with old shells:
2146
build_os=$*
2147
IFS=$ac_save_IFS
2148
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2149
 
2150
 
2151
am__api_version='1.11'
2152
 
2153
# Find a good install program.  We prefer a C program (faster),
2154
# so one script is as good as another.  But avoid the broken or
2155
# incompatible versions:
2156
# SysV /etc/install, /usr/sbin/install
2157
# SunOS /usr/etc/install
2158
# IRIX /sbin/install
2159
# AIX /bin/install
2160
# AmigaOS /C/install, which installs bootblocks on floppy discs
2161
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2162
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2163
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2164
# OS/2's system install, which has a completely different semantic
2165
# ./install, which can be erroneously created by make from ./install.sh.
2166
# Reject install programs that cannot install multiple files.
2167
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2168
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2169
if test -z "$INSTALL"; then
2170
if test "${ac_cv_path_install+set}" = set; then
2171
  $as_echo_n "(cached) " >&6
2172
else
2173
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174
for as_dir in $PATH
2175
do
2176
  IFS=$as_save_IFS
2177
  test -z "$as_dir" && as_dir=.
2178
  # Account for people who put trailing slashes in PATH elements.
2179
case $as_dir/ in
2180
  ./ | .// | /cC/* | \
2181
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2182
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2183
  /usr/ucb/* ) ;;
2184
  *)
2185
    # OSF1 and SCO ODT 3.0 have their own names for install.
2186
    # Don't use installbsd from OSF since it installs stuff as root
2187
    # by default.
2188
    for ac_prog in ginstall scoinst install; do
2189
      for ac_exec_ext in '' $ac_executable_extensions; do
2190
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2191
          if test $ac_prog = install &&
2192
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2193
            # AIX install.  It has an incompatible calling convention.
2194
            :
2195
          elif test $ac_prog = install &&
2196
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2197
            # program-specific install script used by HP pwplus--don't use.
2198
            :
2199
          else
2200
            rm -rf conftest.one conftest.two conftest.dir
2201
            echo one > conftest.one
2202
            echo two > conftest.two
2203
            mkdir conftest.dir
2204
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2205
              test -s conftest.one && test -s conftest.two &&
2206
              test -s conftest.dir/conftest.one &&
2207
              test -s conftest.dir/conftest.two
2208
            then
2209
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2210
              break 3
2211
            fi
2212
          fi
2213
        fi
2214
      done
2215
    done
2216
    ;;
2217
esac
2218
 
2219
done
2220
IFS=$as_save_IFS
2221
 
2222
rm -rf conftest.one conftest.two conftest.dir
2223
 
2224
fi
2225
  if test "${ac_cv_path_install+set}" = set; then
2226
    INSTALL=$ac_cv_path_install
2227
  else
2228
    # As a last resort, use the slow shell script.  Don't cache a
2229
    # value for INSTALL within a source directory, because that will
2230
    # break other packages using the cache if that directory is
2231
    # removed, or if the value is a relative name.
2232
    INSTALL=$ac_install_sh
2233
  fi
2234
fi
2235
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2236
$as_echo "$INSTALL" >&6; }
2237
 
2238
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2239
# It thinks the first close brace ends the variable substitution.
2240
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2241
 
2242
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2243
 
2244
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2245
 
2246
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2247
$as_echo_n "checking whether build environment is sane... " >&6; }
2248
# Just in case
2249
sleep 1
2250
echo timestamp > conftest.file
2251
# Reject unsafe characters in $srcdir or the absolute working directory
2252
# name.  Accept space and tab only in the latter.
2253
am_lf='
2254
'
2255
case `pwd` in
2256
  *[\\\"\#\$\&\'\`$am_lf]*)
2257
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2258
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2259
   { (exit 1); exit 1; }; };;
2260
esac
2261
case $srcdir in
2262
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2263
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2264
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2265
   { (exit 1); exit 1; }; };;
2266
esac
2267
 
2268
# Do `set' in a subshell so we don't clobber the current shell's
2269
# arguments.  Must try -L first in case configure is actually a
2270
# symlink; some systems play weird games with the mod time of symlinks
2271
# (eg FreeBSD returns the mod time of the symlink's containing
2272
# directory).
2273
if (
2274
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2275
   if test "$*" = "X"; then
2276
      # -L didn't work.
2277
      set X `ls -t "$srcdir/configure" conftest.file`
2278
   fi
2279
   rm -f conftest.file
2280
   if test "$*" != "X $srcdir/configure conftest.file" \
2281
      && test "$*" != "X conftest.file $srcdir/configure"; then
2282
 
2283
      # If neither matched, then we have a broken ls.  This can happen
2284
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2285
      # broken ls alias from the environment.  This has actually
2286
      # happened.  Such a system could not be considered "sane".
2287
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2288
alias in your environment" >&5
2289
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2290
alias in your environment" >&2;}
2291
   { (exit 1); exit 1; }; }
2292
   fi
2293
 
2294
   test "$2" = conftest.file
2295
   )
2296
then
2297
   # Ok.
2298
   :
2299
else
2300
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2301
Check your system clock" >&5
2302
$as_echo "$as_me: error: newly created file is older than distributed files!
2303
Check your system clock" >&2;}
2304
   { (exit 1); exit 1; }; }
2305
fi
2306
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2307
$as_echo "yes" >&6; }
2308
test "$program_prefix" != NONE &&
2309
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2310
# Use a double $ so make ignores it.
2311
test "$program_suffix" != NONE &&
2312
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2313
# Double any \ or $.
2314
# By default was `s,x,x', remove it if useless.
2315
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2316
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2317
 
2318
# expand $ac_aux_dir to an absolute path
2319
am_aux_dir=`cd $ac_aux_dir && pwd`
2320
 
2321
if test x"${MISSING+set}" != xset; then
2322
  case $am_aux_dir in
2323
  *\ * | *\     *)
2324
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2325
  *)
2326
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2327
  esac
2328
fi
2329
# Use eval to expand $SHELL
2330
if eval "$MISSING --run true"; then
2331
  am_missing_run="$MISSING --run "
2332
else
2333
  am_missing_run=
2334
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2335
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2336
fi
2337
 
2338
if test x"${install_sh}" != xset; then
2339
  case $am_aux_dir in
2340
  *\ * | *\     *)
2341
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2342
  *)
2343
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2344
  esac
2345
fi
2346
 
2347
# Installed binaries are usually stripped using `strip' when the user
2348
# run `make install-strip'.  However `strip' might not be the right
2349
# tool to use in cross-compilation environments, therefore Automake
2350
# will honor the `STRIP' environment variable to overrule this program.
2351
if test "$cross_compiling" != no; then
2352
  if test -n "$ac_tool_prefix"; then
2353
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2354
set dummy ${ac_tool_prefix}strip; ac_word=$2
2355
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2356
$as_echo_n "checking for $ac_word... " >&6; }
2357
if test "${ac_cv_prog_STRIP+set}" = set; then
2358
  $as_echo_n "(cached) " >&6
2359
else
2360
  if test -n "$STRIP"; then
2361
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2362
else
2363
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364
for as_dir in $PATH
2365
do
2366
  IFS=$as_save_IFS
2367
  test -z "$as_dir" && as_dir=.
2368
  for ac_exec_ext in '' $ac_executable_extensions; do
2369
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2370
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2371
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372
    break 2
2373
  fi
2374
done
2375
done
2376
IFS=$as_save_IFS
2377
 
2378
fi
2379
fi
2380
STRIP=$ac_cv_prog_STRIP
2381
if test -n "$STRIP"; then
2382
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2383
$as_echo "$STRIP" >&6; }
2384
else
2385
  { $as_echo "$as_me:$LINENO: result: no" >&5
2386
$as_echo "no" >&6; }
2387
fi
2388
 
2389
 
2390
fi
2391
if test -z "$ac_cv_prog_STRIP"; then
2392
  ac_ct_STRIP=$STRIP
2393
  # Extract the first word of "strip", so it can be a program name with args.
2394
set dummy strip; ac_word=$2
2395
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2396
$as_echo_n "checking for $ac_word... " >&6; }
2397
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2398
  $as_echo_n "(cached) " >&6
2399
else
2400
  if test -n "$ac_ct_STRIP"; then
2401
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2402
else
2403
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404
for as_dir in $PATH
2405
do
2406
  IFS=$as_save_IFS
2407
  test -z "$as_dir" && as_dir=.
2408
  for ac_exec_ext in '' $ac_executable_extensions; do
2409
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410
    ac_cv_prog_ac_ct_STRIP="strip"
2411
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412
    break 2
2413
  fi
2414
done
2415
done
2416
IFS=$as_save_IFS
2417
 
2418
fi
2419
fi
2420
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2421
if test -n "$ac_ct_STRIP"; then
2422
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2423
$as_echo "$ac_ct_STRIP" >&6; }
2424
else
2425
  { $as_echo "$as_me:$LINENO: result: no" >&5
2426
$as_echo "no" >&6; }
2427
fi
2428
 
2429
  if test "x$ac_ct_STRIP" = x; then
2430
    STRIP=":"
2431
  else
2432
    case $cross_compiling:$ac_tool_warned in
2433
yes:)
2434
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2435
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2436
ac_tool_warned=yes ;;
2437
esac
2438
    STRIP=$ac_ct_STRIP
2439
  fi
2440
else
2441
  STRIP="$ac_cv_prog_STRIP"
2442
fi
2443
 
2444
fi
2445
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2446
 
2447
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2448
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2449
if test -z "$MKDIR_P"; then
2450
  if test "${ac_cv_path_mkdir+set}" = set; then
2451
  $as_echo_n "(cached) " >&6
2452
else
2453
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2455
do
2456
  IFS=$as_save_IFS
2457
  test -z "$as_dir" && as_dir=.
2458
  for ac_prog in mkdir gmkdir; do
2459
         for ac_exec_ext in '' $ac_executable_extensions; do
2460
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2461
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2462
             'mkdir (GNU coreutils) '* | \
2463
             'mkdir (coreutils) '* | \
2464
             'mkdir (fileutils) '4.1*)
2465
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2466
               break 3;;
2467
           esac
2468
         done
2469
       done
2470
done
2471
IFS=$as_save_IFS
2472
 
2473
fi
2474
 
2475
  if test "${ac_cv_path_mkdir+set}" = set; then
2476
    MKDIR_P="$ac_cv_path_mkdir -p"
2477
  else
2478
    # As a last resort, use the slow shell script.  Don't cache a
2479
    # value for MKDIR_P within a source directory, because that will
2480
    # break other packages using the cache if that directory is
2481
    # removed, or if the value is a relative name.
2482
    test -d ./--version && rmdir ./--version
2483
    MKDIR_P="$ac_install_sh -d"
2484
  fi
2485
fi
2486
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2487
$as_echo "$MKDIR_P" >&6; }
2488
 
2489
mkdir_p="$MKDIR_P"
2490
case $mkdir_p in
2491
  [\\/$]* | ?:[\\/]*) ;;
2492
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2493
esac
2494
 
2495
for ac_prog in gawk mawk nawk awk
2496
do
2497
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2498
set dummy $ac_prog; ac_word=$2
2499
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2500
$as_echo_n "checking for $ac_word... " >&6; }
2501
if test "${ac_cv_prog_AWK+set}" = set; then
2502
  $as_echo_n "(cached) " >&6
2503
else
2504
  if test -n "$AWK"; then
2505
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2506
else
2507
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508
for as_dir in $PATH
2509
do
2510
  IFS=$as_save_IFS
2511
  test -z "$as_dir" && as_dir=.
2512
  for ac_exec_ext in '' $ac_executable_extensions; do
2513
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2514
    ac_cv_prog_AWK="$ac_prog"
2515
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516
    break 2
2517
  fi
2518
done
2519
done
2520
IFS=$as_save_IFS
2521
 
2522
fi
2523
fi
2524
AWK=$ac_cv_prog_AWK
2525
if test -n "$AWK"; then
2526
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2527
$as_echo "$AWK" >&6; }
2528
else
2529
  { $as_echo "$as_me:$LINENO: result: no" >&5
2530
$as_echo "no" >&6; }
2531
fi
2532
 
2533
 
2534
  test -n "$AWK" && break
2535
done
2536
 
2537
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2538
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2539
set x ${MAKE-make}
2540
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2541
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2542
  $as_echo_n "(cached) " >&6
2543
else
2544
  cat >conftest.make <<\_ACEOF
2545
SHELL = /bin/sh
2546
all:
2547
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2548
_ACEOF
2549
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2550
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2551
  *@@@%%%=?*=@@@%%%*)
2552
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2553
  *)
2554
    eval ac_cv_prog_make_${ac_make}_set=no;;
2555
esac
2556
rm -f conftest.make
2557
fi
2558
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2559
  { $as_echo "$as_me:$LINENO: result: yes" >&5
2560
$as_echo "yes" >&6; }
2561
  SET_MAKE=
2562
else
2563
  { $as_echo "$as_me:$LINENO: result: no" >&5
2564
$as_echo "no" >&6; }
2565
  SET_MAKE="MAKE=${MAKE-make}"
2566
fi
2567
 
2568
rm -rf .tst 2>/dev/null
2569
mkdir .tst 2>/dev/null
2570
if test -d .tst; then
2571
  am__leading_dot=.
2572
else
2573
  am__leading_dot=_
2574
fi
2575
rmdir .tst 2>/dev/null
2576
 
2577
DEPDIR="${am__leading_dot}deps"
2578
 
2579
ac_config_commands="$ac_config_commands depfiles"
2580
 
2581
 
2582
am_make=${MAKE-make}
2583
cat > confinc << 'END'
2584
am__doit:
2585
        @echo this is the am__doit target
2586
.PHONY: am__doit
2587
END
2588
# If we don't find an include directive, just comment out the code.
2589
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2590
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2591
am__include="#"
2592
am__quote=
2593
_am_result=none
2594
# First try GNU make style include.
2595
echo "include confinc" > confmf
2596
# Ignore all kinds of additional output from `make'.
2597
case `$am_make -s -f confmf 2> /dev/null` in #(
2598
*the\ am__doit\ target*)
2599
  am__include=include
2600
  am__quote=
2601
  _am_result=GNU
2602
  ;;
2603
esac
2604
# Now try BSD make style include.
2605
if test "$am__include" = "#"; then
2606
   echo '.include "confinc"' > confmf
2607
   case `$am_make -s -f confmf 2> /dev/null` in #(
2608
   *the\ am__doit\ target*)
2609
     am__include=.include
2610
     am__quote="\""
2611
     _am_result=BSD
2612
     ;;
2613
   esac
2614
fi
2615
 
2616
 
2617
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2618
$as_echo "$_am_result" >&6; }
2619
rm -f confinc confmf
2620
 
2621
# Check whether --enable-dependency-tracking was given.
2622
if test "${enable_dependency_tracking+set}" = set; then
2623
  enableval=$enable_dependency_tracking;
2624
fi
2625
 
2626
if test "x$enable_dependency_tracking" != xno; then
2627
  am_depcomp="$ac_aux_dir/depcomp"
2628
  AMDEPBACKSLASH='\'
2629
fi
2630
 if test "x$enable_dependency_tracking" != xno; then
2631
  AMDEP_TRUE=
2632
  AMDEP_FALSE='#'
2633
else
2634
  AMDEP_TRUE='#'
2635
  AMDEP_FALSE=
2636
fi
2637
 
2638
 
2639
 
2640
# Check whether --enable-multilib was given.
2641
if test "${enable_multilib+set}" = set; then
2642
  enableval=$enable_multilib; case "${enableval}" in
2643
  yes) multilib=yes ;;
2644
  no)  multilib=no ;;
2645
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
2646
$as_echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
2647
   { (exit 1); exit 1; }; } ;;
2648
 esac
2649
else
2650
  multilib=yes
2651
fi
2652
 
2653
# Check whether --enable-target-optspace was given.
2654
if test "${enable_target_optspace+set}" = set; then
2655
  enableval=$enable_target_optspace; case "${enableval}" in
2656
  yes) target_optspace=yes ;;
2657
  no)  target_optspace=no ;;
2658
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
2659
$as_echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
2660
   { (exit 1); exit 1; }; } ;;
2661
 esac
2662
else
2663
  target_optspace=
2664
fi
2665
 
2666
# Check whether --enable-malloc-debugging was given.
2667
if test "${enable_malloc_debugging+set}" = set; then
2668
  enableval=$enable_malloc_debugging; case "${enableval}" in
2669
  yes) malloc_debugging=yes ;;
2670
  no)  malloc_debugging=no ;;
2671
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
2672
$as_echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
2673
   { (exit 1); exit 1; }; } ;;
2674
 esac
2675
else
2676
  malloc_debugging=
2677
fi
2678
 
2679
# Check whether --enable-newlib-multithread was given.
2680
if test "${enable_newlib_multithread+set}" = set; then
2681
  enableval=$enable_newlib_multithread; case "${enableval}" in
2682
  yes) newlib_multithread=yes ;;
2683
  no)  newlib_multithread=no ;;
2684
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
2685
$as_echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
2686
   { (exit 1); exit 1; }; } ;;
2687
 esac
2688
else
2689
  newlib_multithread=yes
2690
fi
2691
 
2692
# Check whether --enable-newlib-iconv was given.
2693
if test "${enable_newlib_iconv+set}" = set; then
2694
  enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
2695
   case "${enableval}" in
2696
     yes) newlib_iconv=yes ;;
2697
     no)  newlib_iconv=no ;;
2698
     *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
2699
$as_echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
2700
   { (exit 1); exit 1; }; } ;;
2701
   esac
2702
 fi
2703
else
2704
  newlib_iconv=${newlib_iconv}
2705
fi
2706
 
2707
# Check whether --enable-newlib-elix-level was given.
2708
if test "${enable_newlib_elix_level+set}" = set; then
2709
  enableval=$enable_newlib_elix_level; case "${enableval}" in
2710
  0)   newlib_elix_level=0 ;;
2711
  1)   newlib_elix_level=1 ;;
2712
  2)   newlib_elix_level=2 ;;
2713
  3)   newlib_elix_level=3 ;;
2714
  4)   newlib_elix_level=4 ;;
2715
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
2716
$as_echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
2717
   { (exit 1); exit 1; }; } ;;
2718
 esac
2719
else
2720
  newlib_elix_level=0
2721
fi
2722
 
2723
# Check whether --enable-newlib-io-float was given.
2724
if test "${enable_newlib_io_float+set}" = set; then
2725
  enableval=$enable_newlib_io_float; case "${enableval}" in
2726
  yes) newlib_io_float=yes ;;
2727
  no)  newlib_io_float=no ;;
2728
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
2729
$as_echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
2730
   { (exit 1); exit 1; }; } ;;
2731
 esac
2732
else
2733
  newlib_io_float=yes
2734
fi
2735
 
2736
# Check whether --enable-newlib-supplied-syscalls was given.
2737
if test "${enable_newlib_supplied_syscalls+set}" = set; then
2738
  enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
2739
  yes) newlib_may_supply_syscalls=yes ;;
2740
  no)  newlib_may_supply_syscalls=no ;;
2741
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
2742
$as_echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
2743
   { (exit 1); exit 1; }; } ;;
2744
 esac
2745
else
2746
  newlib_may_supply_syscalls=yes
2747
fi
2748
 
2749
 if test x${newlib_may_supply_syscalls} = xyes; then
2750
  MAY_SUPPLY_SYSCALLS_TRUE=
2751
  MAY_SUPPLY_SYSCALLS_FALSE='#'
2752
else
2753
  MAY_SUPPLY_SYSCALLS_TRUE='#'
2754
  MAY_SUPPLY_SYSCALLS_FALSE=
2755
fi
2756
 
2757
 
2758
 
2759
test -z "${with_target_subdir}" && with_target_subdir=.
2760
 
2761
if test "${srcdir}" = "."; then
2762
  if test "${with_target_subdir}" != "."; then
2763
    newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
2764
  else
2765
    newlib_basedir="${srcdir}/${with_multisrctop}../../.."
2766
  fi
2767
else
2768
  newlib_basedir="${srcdir}/../../.."
2769
fi
2770
 
2771
 
2772
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2773
$as_echo_n "checking host system type... " >&6; }
2774
if test "${ac_cv_host+set}" = set; then
2775
  $as_echo_n "(cached) " >&6
2776
else
2777
  if test "x$host_alias" = x; then
2778
  ac_cv_host=$ac_cv_build
2779
else
2780
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2781
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2782
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2783
   { (exit 1); exit 1; }; }
2784
fi
2785
 
2786
fi
2787
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2788
$as_echo "$ac_cv_host" >&6; }
2789
case $ac_cv_host in
2790
*-*-*) ;;
2791
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2792
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2793
   { (exit 1); exit 1; }; };;
2794
esac
2795
host=$ac_cv_host
2796
ac_save_IFS=$IFS; IFS='-'
2797
set x $ac_cv_host
2798
shift
2799
host_cpu=$1
2800
host_vendor=$2
2801
shift; shift
2802
# Remember, the first character of IFS is used to create $*,
2803
# except with old shells:
2804
host_os=$*
2805
IFS=$ac_save_IFS
2806
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2807
 
2808
 
2809
 
2810
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2811
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2812
  # is not polluted with repeated "-I."
2813
  am__isrc=' -I$(srcdir)'
2814
  # test to see if srcdir already configured
2815
  if test -f $srcdir/config.status; then
2816
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2817
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2818
   { (exit 1); exit 1; }; }
2819
  fi
2820
fi
2821
 
2822
# test whether we have cygpath
2823
if test -z "$CYGPATH_W"; then
2824
  if (cygpath --version) >/dev/null 2>/dev/null; then
2825
    CYGPATH_W='cygpath -w'
2826
  else
2827
    CYGPATH_W=echo
2828
  fi
2829
fi
2830
 
2831
 
2832
# Define the identity of the package.
2833
 PACKAGE='newlib'
2834
 VERSION='1.18.0'
2835
 
2836
 
2837
# Some tools Automake needs.
2838
 
2839
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2840
 
2841
 
2842
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2843
 
2844
 
2845
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2846
 
2847
 
2848
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2849
 
2850
 
2851
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2852
 
2853
# We need awk for the "check" target.  The system "awk" is bad on
2854
# some platforms.
2855
# Always define AMTAR for backward compatibility.
2856
 
2857
AMTAR=${AMTAR-"${am_missing_run}tar"}
2858
 
2859
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2860
 
2861
 
2862
 
2863
 
2864
 
2865
 
2866
# FIXME: We temporarily define our own version of AC_PROG_CC.  This is
2867
# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
2868
# are probably using a cross compiler, which will not be able to fully
2869
# link an executable.  This should really be fixed in autoconf
2870
# itself.
2871
 
2872
 
2873
 
2874
 
2875
 
2876
 
2877
 
2878
# Extract the first word of "gcc", so it can be a program name with args.
2879
set dummy gcc; ac_word=$2
2880
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2881
$as_echo_n "checking for $ac_word... " >&6; }
2882
if test "${ac_cv_prog_CC+set}" = set; then
2883
  $as_echo_n "(cached) " >&6
2884
else
2885
  if test -n "$CC"; then
2886
  ac_cv_prog_CC="$CC" # Let the user override the test.
2887
else
2888
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2889
for as_dir in $PATH
2890
do
2891
  IFS=$as_save_IFS
2892
  test -z "$as_dir" && as_dir=.
2893
  for ac_exec_ext in '' $ac_executable_extensions; do
2894
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2895
    ac_cv_prog_CC="gcc"
2896
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2897
    break 2
2898
  fi
2899
done
2900
done
2901
IFS=$as_save_IFS
2902
 
2903
fi
2904
fi
2905
CC=$ac_cv_prog_CC
2906
if test -n "$CC"; then
2907
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2908
$as_echo "$CC" >&6; }
2909
else
2910
  { $as_echo "$as_me:$LINENO: result: no" >&5
2911
$as_echo "no" >&6; }
2912
fi
2913
 
2914
 
2915
 
2916
depcc="$CC"   am_compiler_list=
2917
 
2918
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2919
$as_echo_n "checking dependency style of $depcc... " >&6; }
2920
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2921
  $as_echo_n "(cached) " >&6
2922
else
2923
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2924
  # We make a subdir and do the tests there.  Otherwise we can end up
2925
  # making bogus files that we don't know about and never remove.  For
2926
  # instance it was reported that on HP-UX the gcc test will end up
2927
  # making a dummy file named `D' -- because `-MD' means `put the output
2928
  # in D'.
2929
  mkdir conftest.dir
2930
  # Copy depcomp to subdir because otherwise we won't find it if we're
2931
  # using a relative directory.
2932
  cp "$am_depcomp" conftest.dir
2933
  cd conftest.dir
2934
  # We will build objects and dependencies in a subdirectory because
2935
  # it helps to detect inapplicable dependency modes.  For instance
2936
  # both Tru64's cc and ICC support -MD to output dependencies as a
2937
  # side effect of compilation, but ICC will put the dependencies in
2938
  # the current directory while Tru64 will put them in the object
2939
  # directory.
2940
  mkdir sub
2941
 
2942
  am_cv_CC_dependencies_compiler_type=none
2943
  if test "$am_compiler_list" = ""; then
2944
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2945
  fi
2946
  am__universal=false
2947
  case " $depcc " in #(
2948
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
2949
     esac
2950
 
2951
  for depmode in $am_compiler_list; do
2952
    # Setup a source with many dependencies, because some compilers
2953
    # like to wrap large dependency lists on column 80 (with \), and
2954
    # we should not choose a depcomp mode which is confused by this.
2955
    #
2956
    # We need to recreate these files for each test, as the compiler may
2957
    # overwrite some of them when testing with obscure command lines.
2958
    # This happens at least with the AIX C compiler.
2959
    : > sub/conftest.c
2960
    for i in 1 2 3 4 5 6; do
2961
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2962
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2963
      # Solaris 8's {/usr,}/bin/sh.
2964
      touch sub/conftst$i.h
2965
    done
2966
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2967
 
2968
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2969
    # mode.  It turns out that the SunPro C++ compiler does not properly
2970
    # handle `-M -o', and we need to detect this.  Also, some Intel
2971
    # versions had trouble with output in subdirs
2972
    am__obj=sub/conftest.${OBJEXT-o}
2973
    am__minus_obj="-o $am__obj"
2974
    case $depmode in
2975
    gcc)
2976
      # This depmode causes a compiler race in universal mode.
2977
      test "$am__universal" = false || continue
2978
      ;;
2979
    nosideeffect)
2980
      # after this tag, mechanisms are not by side-effect, so they'll
2981
      # only be used when explicitly requested
2982
      if test "x$enable_dependency_tracking" = xyes; then
2983
        continue
2984
      else
2985
        break
2986
      fi
2987
      ;;
2988
    msvisualcpp | msvcmsys)
2989
      # This compiler won't grok `-c -o', but also, the minuso test has
2990
      # not run yet.  These depmodes are late enough in the game, and
2991
      # so weak that their functioning should not be impacted.
2992
      am__obj=conftest.${OBJEXT-o}
2993
      am__minus_obj=
2994
      ;;
2995
    none) break ;;
2996
    esac
2997
    if depmode=$depmode \
2998
       source=sub/conftest.c object=$am__obj \
2999
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3000
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3001
         >/dev/null 2>conftest.err &&
3002
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3003
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3004
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3005
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3006
      # icc doesn't choke on unknown options, it will just issue warnings
3007
      # or remarks (even with -Werror).  So we grep stderr for any message
3008
      # that says an option was ignored or not supported.
3009
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3010
      #   icc: Command line warning: ignoring option '-M'; no argument required
3011
      # The diagnosis changed in icc 8.0:
3012
      #   icc: Command line remark: option '-MP' not supported
3013
      if (grep 'ignoring option' conftest.err ||
3014
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3015
        am_cv_CC_dependencies_compiler_type=$depmode
3016
        break
3017
      fi
3018
    fi
3019
  done
3020
 
3021
  cd ..
3022
  rm -rf conftest.dir
3023
else
3024
  am_cv_CC_dependencies_compiler_type=none
3025
fi
3026
 
3027
fi
3028
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3029
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3030
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3031
 
3032
 if
3033
  test "x$enable_dependency_tracking" != xno \
3034
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3035
  am__fastdepCC_TRUE=
3036
  am__fastdepCC_FALSE='#'
3037
else
3038
  am__fastdepCC_TRUE='#'
3039
  am__fastdepCC_FALSE=
3040
fi
3041
 
3042
 
3043
if test -z "$CC"; then
3044
  # Extract the first word of "cc", so it can be a program name with args.
3045
set dummy cc; ac_word=$2
3046
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3047
$as_echo_n "checking for $ac_word... " >&6; }
3048
if test "${ac_cv_prog_CC+set}" = set; then
3049
  $as_echo_n "(cached) " >&6
3050
else
3051
  if test -n "$CC"; then
3052
  ac_cv_prog_CC="$CC" # Let the user override the test.
3053
else
3054
  ac_prog_rejected=no
3055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056
for as_dir in $PATH
3057
do
3058
  IFS=$as_save_IFS
3059
  test -z "$as_dir" && as_dir=.
3060
  for ac_exec_ext in '' $ac_executable_extensions; do
3061
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3062
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3063
       ac_prog_rejected=yes
3064
       continue
3065
     fi
3066
    ac_cv_prog_CC="cc"
3067
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3068
    break 2
3069
  fi
3070
done
3071
done
3072
IFS=$as_save_IFS
3073
 
3074
if test $ac_prog_rejected = yes; then
3075
  # We found a bogon in the path, so make sure we never use it.
3076
  set dummy $ac_cv_prog_CC
3077
  shift
3078
  if test $# != 0; then
3079
    # We chose a different compiler from the bogus one.
3080
    # However, it has the same basename, so the bogon will be chosen
3081
    # first if we set CC to just the basename; use the full file name.
3082
    shift
3083
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3084
  fi
3085
fi
3086
fi
3087
fi
3088
CC=$ac_cv_prog_CC
3089
if test -n "$CC"; then
3090
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3091
$as_echo "$CC" >&6; }
3092
else
3093
  { $as_echo "$as_me:$LINENO: result: no" >&5
3094
$as_echo "no" >&6; }
3095
fi
3096
 
3097
 
3098
  test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
3099
$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
3100
   { (exit 1); exit 1; }; }
3101
fi
3102
 
3103
{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
3104
$as_echo_n "checking whether we are using GNU C... " >&6; }
3105
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3106
  $as_echo_n "(cached) " >&6
3107
else
3108
  cat > conftest.c <
3109
#ifdef __GNUC__
3110
  yes;
3111
#endif
3112
EOF
3113
if { ac_try='${CC-cc} -E conftest.c'
3114
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115
  (eval $ac_try) 2>&5
3116
  ac_status=$?
3117
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118
  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3119
  ac_cv_c_compiler_gnu=yes
3120
else
3121
  ac_cv_c_compiler_gnu=no
3122
fi
3123
fi
3124
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3125
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3126
 
3127
if test $ac_cv_c_compiler_gnu = yes; then
3128
  GCC=yes
3129
  ac_test_CFLAGS="${CFLAGS+set}"
3130
  ac_save_CFLAGS="$CFLAGS"
3131
  ac_test_CFLAGS=${CFLAGS+set}
3132
ac_save_CFLAGS=$CFLAGS
3133
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3134
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3135
if test "${ac_cv_prog_cc_g+set}" = set; then
3136
  $as_echo_n "(cached) " >&6
3137
else
3138
  ac_save_c_werror_flag=$ac_c_werror_flag
3139
   ac_c_werror_flag=yes
3140
   ac_cv_prog_cc_g=no
3141
   CFLAGS="-g"
3142
   cat >conftest.$ac_ext <<_ACEOF
3143
/* confdefs.h.  */
3144
_ACEOF
3145
cat confdefs.h >>conftest.$ac_ext
3146
cat >>conftest.$ac_ext <<_ACEOF
3147
/* end confdefs.h.  */
3148
 
3149
int
3150
main ()
3151
{
3152
 
3153
  ;
3154
  return 0;
3155
}
3156
_ACEOF
3157
rm -f conftest.$ac_objext
3158
if { (ac_try="$ac_compile"
3159
case "(($ac_try" in
3160
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161
  *) ac_try_echo=$ac_try;;
3162
esac
3163
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3164
$as_echo "$ac_try_echo") >&5
3165
  (eval "$ac_compile") 2>conftest.er1
3166
  ac_status=$?
3167
  grep -v '^ *+' conftest.er1 >conftest.err
3168
  rm -f conftest.er1
3169
  cat conftest.err >&5
3170
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171
  (exit $ac_status); } && {
3172
         test -z "$ac_c_werror_flag" ||
3173
         test ! -s conftest.err
3174
       } && test -s conftest.$ac_objext; then
3175
  ac_cv_prog_cc_g=yes
3176
else
3177
  $as_echo "$as_me: failed program was:" >&5
3178
sed 's/^/| /' conftest.$ac_ext >&5
3179
 
3180
        CFLAGS=""
3181
      cat >conftest.$ac_ext <<_ACEOF
3182
/* confdefs.h.  */
3183
_ACEOF
3184
cat confdefs.h >>conftest.$ac_ext
3185
cat >>conftest.$ac_ext <<_ACEOF
3186
/* end confdefs.h.  */
3187
 
3188
int
3189
main ()
3190
{
3191
 
3192
  ;
3193
  return 0;
3194
}
3195
_ACEOF
3196
rm -f conftest.$ac_objext
3197
if { (ac_try="$ac_compile"
3198
case "(($ac_try" in
3199
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200
  *) ac_try_echo=$ac_try;;
3201
esac
3202
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3203
$as_echo "$ac_try_echo") >&5
3204
  (eval "$ac_compile") 2>conftest.er1
3205
  ac_status=$?
3206
  grep -v '^ *+' conftest.er1 >conftest.err
3207
  rm -f conftest.er1
3208
  cat conftest.err >&5
3209
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210
  (exit $ac_status); } && {
3211
         test -z "$ac_c_werror_flag" ||
3212
         test ! -s conftest.err
3213
       } && test -s conftest.$ac_objext; then
3214
  :
3215
else
3216
  $as_echo "$as_me: failed program was:" >&5
3217
sed 's/^/| /' conftest.$ac_ext >&5
3218
 
3219
        ac_c_werror_flag=$ac_save_c_werror_flag
3220
         CFLAGS="-g"
3221
         cat >conftest.$ac_ext <<_ACEOF
3222
/* confdefs.h.  */
3223
_ACEOF
3224
cat confdefs.h >>conftest.$ac_ext
3225
cat >>conftest.$ac_ext <<_ACEOF
3226
/* end confdefs.h.  */
3227
 
3228
int
3229
main ()
3230
{
3231
 
3232
  ;
3233
  return 0;
3234
}
3235
_ACEOF
3236
rm -f conftest.$ac_objext
3237
if { (ac_try="$ac_compile"
3238
case "(($ac_try" in
3239
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240
  *) ac_try_echo=$ac_try;;
3241
esac
3242
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3243
$as_echo "$ac_try_echo") >&5
3244
  (eval "$ac_compile") 2>conftest.er1
3245
  ac_status=$?
3246
  grep -v '^ *+' conftest.er1 >conftest.err
3247
  rm -f conftest.er1
3248
  cat conftest.err >&5
3249
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250
  (exit $ac_status); } && {
3251
         test -z "$ac_c_werror_flag" ||
3252
         test ! -s conftest.err
3253
       } && test -s conftest.$ac_objext; then
3254
  ac_cv_prog_cc_g=yes
3255
else
3256
  $as_echo "$as_me: failed program was:" >&5
3257
sed 's/^/| /' conftest.$ac_ext >&5
3258
 
3259
 
3260
fi
3261
 
3262
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3263
fi
3264
 
3265
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3266
fi
3267
 
3268
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3269
   ac_c_werror_flag=$ac_save_c_werror_flag
3270
fi
3271
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3272
$as_echo "$ac_cv_prog_cc_g" >&6; }
3273
if test "$ac_test_CFLAGS" = set; then
3274
  CFLAGS=$ac_save_CFLAGS
3275
elif test $ac_cv_prog_cc_g = yes; then
3276
  if test "$GCC" = yes; then
3277
    CFLAGS="-g -O2"
3278
  else
3279
    CFLAGS="-g"
3280
  fi
3281
else
3282
  if test "$GCC" = yes; then
3283
    CFLAGS="-O2"
3284
  else
3285
    CFLAGS=
3286
  fi
3287
fi
3288
  if test "$ac_test_CFLAGS" = set; then
3289
    CFLAGS="$ac_save_CFLAGS"
3290
  elif test $ac_cv_prog_cc_g = yes; then
3291
    CFLAGS="-g -O2"
3292
  else
3293
    CFLAGS="-O2"
3294
  fi
3295
else
3296
  GCC=
3297
  test "${CFLAGS+set}" = set || CFLAGS="-g"
3298
fi
3299
 
3300
 
3301
if test -n "$ac_tool_prefix"; then
3302
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3303
set dummy ${ac_tool_prefix}as; ac_word=$2
3304
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3305
$as_echo_n "checking for $ac_word... " >&6; }
3306
if test "${ac_cv_prog_AS+set}" = set; then
3307
  $as_echo_n "(cached) " >&6
3308
else
3309
  if test -n "$AS"; then
3310
  ac_cv_prog_AS="$AS" # Let the user override the test.
3311
else
3312
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313
for as_dir in $PATH
3314
do
3315
  IFS=$as_save_IFS
3316
  test -z "$as_dir" && as_dir=.
3317
  for ac_exec_ext in '' $ac_executable_extensions; do
3318
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3319
    ac_cv_prog_AS="${ac_tool_prefix}as"
3320
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3321
    break 2
3322
  fi
3323
done
3324
done
3325
IFS=$as_save_IFS
3326
 
3327
fi
3328
fi
3329
AS=$ac_cv_prog_AS
3330
if test -n "$AS"; then
3331
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
3332
$as_echo "$AS" >&6; }
3333
else
3334
  { $as_echo "$as_me:$LINENO: result: no" >&5
3335
$as_echo "no" >&6; }
3336
fi
3337
 
3338
 
3339
fi
3340
if test -z "$ac_cv_prog_AS"; then
3341
  ac_ct_AS=$AS
3342
  # Extract the first word of "as", so it can be a program name with args.
3343
set dummy as; ac_word=$2
3344
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3345
$as_echo_n "checking for $ac_word... " >&6; }
3346
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3347
  $as_echo_n "(cached) " >&6
3348
else
3349
  if test -n "$ac_ct_AS"; then
3350
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3351
else
3352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353
for as_dir in $PATH
3354
do
3355
  IFS=$as_save_IFS
3356
  test -z "$as_dir" && as_dir=.
3357
  for ac_exec_ext in '' $ac_executable_extensions; do
3358
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3359
    ac_cv_prog_ac_ct_AS="as"
3360
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3361
    break 2
3362
  fi
3363
done
3364
done
3365
IFS=$as_save_IFS
3366
 
3367
fi
3368
fi
3369
ac_ct_AS=$ac_cv_prog_ac_ct_AS
3370
if test -n "$ac_ct_AS"; then
3371
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3372
$as_echo "$ac_ct_AS" >&6; }
3373
else
3374
  { $as_echo "$as_me:$LINENO: result: no" >&5
3375
$as_echo "no" >&6; }
3376
fi
3377
 
3378
  if test "x$ac_ct_AS" = x; then
3379
    AS=""
3380
  else
3381
    case $cross_compiling:$ac_tool_warned in
3382
yes:)
3383
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3384
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3385
ac_tool_warned=yes ;;
3386
esac
3387
    AS=$ac_ct_AS
3388
  fi
3389
else
3390
  AS="$ac_cv_prog_AS"
3391
fi
3392
 
3393
if test -n "$ac_tool_prefix"; then
3394
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3395
set dummy ${ac_tool_prefix}ar; ac_word=$2
3396
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3397
$as_echo_n "checking for $ac_word... " >&6; }
3398
if test "${ac_cv_prog_AR+set}" = set; then
3399
  $as_echo_n "(cached) " >&6
3400
else
3401
  if test -n "$AR"; then
3402
  ac_cv_prog_AR="$AR" # Let the user override the test.
3403
else
3404
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405
for as_dir in $PATH
3406
do
3407
  IFS=$as_save_IFS
3408
  test -z "$as_dir" && as_dir=.
3409
  for ac_exec_ext in '' $ac_executable_extensions; do
3410
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411
    ac_cv_prog_AR="${ac_tool_prefix}ar"
3412
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3413
    break 2
3414
  fi
3415
done
3416
done
3417
IFS=$as_save_IFS
3418
 
3419
fi
3420
fi
3421
AR=$ac_cv_prog_AR
3422
if test -n "$AR"; then
3423
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
3424
$as_echo "$AR" >&6; }
3425
else
3426
  { $as_echo "$as_me:$LINENO: result: no" >&5
3427
$as_echo "no" >&6; }
3428
fi
3429
 
3430
 
3431
fi
3432
if test -z "$ac_cv_prog_AR"; then
3433
  ac_ct_AR=$AR
3434
  # Extract the first word of "ar", so it can be a program name with args.
3435
set dummy ar; ac_word=$2
3436
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3437
$as_echo_n "checking for $ac_word... " >&6; }
3438
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3439
  $as_echo_n "(cached) " >&6
3440
else
3441
  if test -n "$ac_ct_AR"; then
3442
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3443
else
3444
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445
for as_dir in $PATH
3446
do
3447
  IFS=$as_save_IFS
3448
  test -z "$as_dir" && as_dir=.
3449
  for ac_exec_ext in '' $ac_executable_extensions; do
3450
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3451
    ac_cv_prog_ac_ct_AR="ar"
3452
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3453
    break 2
3454
  fi
3455
done
3456
done
3457
IFS=$as_save_IFS
3458
 
3459
fi
3460
fi
3461
ac_ct_AR=$ac_cv_prog_ac_ct_AR
3462
if test -n "$ac_ct_AR"; then
3463
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3464
$as_echo "$ac_ct_AR" >&6; }
3465
else
3466
  { $as_echo "$as_me:$LINENO: result: no" >&5
3467
$as_echo "no" >&6; }
3468
fi
3469
 
3470
  if test "x$ac_ct_AR" = x; then
3471
    AR=""
3472
  else
3473
    case $cross_compiling:$ac_tool_warned in
3474
yes:)
3475
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3476
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3477
ac_tool_warned=yes ;;
3478
esac
3479
    AR=$ac_ct_AR
3480
  fi
3481
else
3482
  AR="$ac_cv_prog_AR"
3483
fi
3484
 
3485
if test -n "$ac_tool_prefix"; then
3486
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3487
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3488
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3489
$as_echo_n "checking for $ac_word... " >&6; }
3490
if test "${ac_cv_prog_RANLIB+set}" = set; then
3491
  $as_echo_n "(cached) " >&6
3492
else
3493
  if test -n "$RANLIB"; then
3494
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3495
else
3496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497
for as_dir in $PATH
3498
do
3499
  IFS=$as_save_IFS
3500
  test -z "$as_dir" && as_dir=.
3501
  for ac_exec_ext in '' $ac_executable_extensions; do
3502
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3503
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3504
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3505
    break 2
3506
  fi
3507
done
3508
done
3509
IFS=$as_save_IFS
3510
 
3511
fi
3512
fi
3513
RANLIB=$ac_cv_prog_RANLIB
3514
if test -n "$RANLIB"; then
3515
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3516
$as_echo "$RANLIB" >&6; }
3517
else
3518
  { $as_echo "$as_me:$LINENO: result: no" >&5
3519
$as_echo "no" >&6; }
3520
fi
3521
 
3522
 
3523
fi
3524
if test -z "$ac_cv_prog_RANLIB"; then
3525
  ac_ct_RANLIB=$RANLIB
3526
  # Extract the first word of "ranlib", so it can be a program name with args.
3527
set dummy ranlib; ac_word=$2
3528
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3529
$as_echo_n "checking for $ac_word... " >&6; }
3530
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3531
  $as_echo_n "(cached) " >&6
3532
else
3533
  if test -n "$ac_ct_RANLIB"; then
3534
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3535
else
3536
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537
for as_dir in $PATH
3538
do
3539
  IFS=$as_save_IFS
3540
  test -z "$as_dir" && as_dir=.
3541
  for ac_exec_ext in '' $ac_executable_extensions; do
3542
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3543
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3544
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3545
    break 2
3546
  fi
3547
done
3548
done
3549
IFS=$as_save_IFS
3550
 
3551
fi
3552
fi
3553
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3554
if test -n "$ac_ct_RANLIB"; then
3555
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3556
$as_echo "$ac_ct_RANLIB" >&6; }
3557
else
3558
  { $as_echo "$as_me:$LINENO: result: no" >&5
3559
$as_echo "no" >&6; }
3560
fi
3561
 
3562
  if test "x$ac_ct_RANLIB" = x; then
3563
    RANLIB=":"
3564
  else
3565
    case $cross_compiling:$ac_tool_warned in
3566
yes:)
3567
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3568
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3569
ac_tool_warned=yes ;;
3570
esac
3571
    RANLIB=$ac_ct_RANLIB
3572
  fi
3573
else
3574
  RANLIB="$ac_cv_prog_RANLIB"
3575
fi
3576
 
3577
if test -n "$ac_tool_prefix"; then
3578
  # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3579
set dummy ${ac_tool_prefix}readelf; ac_word=$2
3580
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3581
$as_echo_n "checking for $ac_word... " >&6; }
3582
if test "${ac_cv_prog_READELF+set}" = set; then
3583
  $as_echo_n "(cached) " >&6
3584
else
3585
  if test -n "$READELF"; then
3586
  ac_cv_prog_READELF="$READELF" # Let the user override the test.
3587
else
3588
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3589
for as_dir in $PATH
3590
do
3591
  IFS=$as_save_IFS
3592
  test -z "$as_dir" && as_dir=.
3593
  for ac_exec_ext in '' $ac_executable_extensions; do
3594
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3595
    ac_cv_prog_READELF="${ac_tool_prefix}readelf"
3596
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3597
    break 2
3598
  fi
3599
done
3600
done
3601
IFS=$as_save_IFS
3602
 
3603
fi
3604
fi
3605
READELF=$ac_cv_prog_READELF
3606
if test -n "$READELF"; then
3607
  { $as_echo "$as_me:$LINENO: result: $READELF" >&5
3608
$as_echo "$READELF" >&6; }
3609
else
3610
  { $as_echo "$as_me:$LINENO: result: no" >&5
3611
$as_echo "no" >&6; }
3612
fi
3613
 
3614
 
3615
fi
3616
if test -z "$ac_cv_prog_READELF"; then
3617
  ac_ct_READELF=$READELF
3618
  # Extract the first word of "readelf", so it can be a program name with args.
3619
set dummy readelf; ac_word=$2
3620
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3621
$as_echo_n "checking for $ac_word... " >&6; }
3622
if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
3623
  $as_echo_n "(cached) " >&6
3624
else
3625
  if test -n "$ac_ct_READELF"; then
3626
  ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
3627
else
3628
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3629
for as_dir in $PATH
3630
do
3631
  IFS=$as_save_IFS
3632
  test -z "$as_dir" && as_dir=.
3633
  for ac_exec_ext in '' $ac_executable_extensions; do
3634
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3635
    ac_cv_prog_ac_ct_READELF="readelf"
3636
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3637
    break 2
3638
  fi
3639
done
3640
done
3641
IFS=$as_save_IFS
3642
 
3643
fi
3644
fi
3645
ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
3646
if test -n "$ac_ct_READELF"; then
3647
  { $as_echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
3648
$as_echo "$ac_ct_READELF" >&6; }
3649
else
3650
  { $as_echo "$as_me:$LINENO: result: no" >&5
3651
$as_echo "no" >&6; }
3652
fi
3653
 
3654
  if test "x$ac_ct_READELF" = x; then
3655
    READELF=":"
3656
  else
3657
    case $cross_compiling:$ac_tool_warned in
3658
yes:)
3659
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3660
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3661
ac_tool_warned=yes ;;
3662
esac
3663
    READELF=$ac_ct_READELF
3664
  fi
3665
else
3666
  READELF="$ac_cv_prog_READELF"
3667
fi
3668
 
3669
 
3670
# Find a good install program.  We prefer a C program (faster),
3671
# so one script is as good as another.  But avoid the broken or
3672
# incompatible versions:
3673
# SysV /etc/install, /usr/sbin/install
3674
# SunOS /usr/etc/install
3675
# IRIX /sbin/install
3676
# AIX /bin/install
3677
# AmigaOS /C/install, which installs bootblocks on floppy discs
3678
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3679
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3680
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3681
# OS/2's system install, which has a completely different semantic
3682
# ./install, which can be erroneously created by make from ./install.sh.
3683
# Reject install programs that cannot install multiple files.
3684
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3685
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3686
if test -z "$INSTALL"; then
3687
if test "${ac_cv_path_install+set}" = set; then
3688
  $as_echo_n "(cached) " >&6
3689
else
3690
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691
for as_dir in $PATH
3692
do
3693
  IFS=$as_save_IFS
3694
  test -z "$as_dir" && as_dir=.
3695
  # Account for people who put trailing slashes in PATH elements.
3696
case $as_dir/ in
3697
  ./ | .// | /cC/* | \
3698
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3699
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3700
  /usr/ucb/* ) ;;
3701
  *)
3702
    # OSF1 and SCO ODT 3.0 have their own names for install.
3703
    # Don't use installbsd from OSF since it installs stuff as root
3704
    # by default.
3705
    for ac_prog in ginstall scoinst install; do
3706
      for ac_exec_ext in '' $ac_executable_extensions; do
3707
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3708
          if test $ac_prog = install &&
3709
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3710
            # AIX install.  It has an incompatible calling convention.
3711
            :
3712
          elif test $ac_prog = install &&
3713
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3714
            # program-specific install script used by HP pwplus--don't use.
3715
            :
3716
          else
3717
            rm -rf conftest.one conftest.two conftest.dir
3718
            echo one > conftest.one
3719
            echo two > conftest.two
3720
            mkdir conftest.dir
3721
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3722
              test -s conftest.one && test -s conftest.two &&
3723
              test -s conftest.dir/conftest.one &&
3724
              test -s conftest.dir/conftest.two
3725
            then
3726
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3727
              break 3
3728
            fi
3729
          fi
3730
        fi
3731
      done
3732
    done
3733
    ;;
3734
esac
3735
 
3736
done
3737
IFS=$as_save_IFS
3738
 
3739
rm -rf conftest.one conftest.two conftest.dir
3740
 
3741
fi
3742
  if test "${ac_cv_path_install+set}" = set; then
3743
    INSTALL=$ac_cv_path_install
3744
  else
3745
    # As a last resort, use the slow shell script.  Don't cache a
3746
    # value for INSTALL within a source directory, because that will
3747
    # break other packages using the cache if that directory is
3748
    # removed, or if the value is a relative name.
3749
    INSTALL=$ac_install_sh
3750
  fi
3751
fi
3752
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3753
$as_echo "$INSTALL" >&6; }
3754
 
3755
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3756
# It thinks the first close brace ends the variable substitution.
3757
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3758
 
3759
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3760
 
3761
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3762
 
3763
 
3764
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13.  */
3765
ac_given_INSTALL=$INSTALL
3766
 
3767
 
3768
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3769
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3770
    # Check whether --enable-maintainer-mode was given.
3771
if test "${enable_maintainer_mode+set}" = set; then
3772
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3773
else
3774
  USE_MAINTAINER_MODE=no
3775
fi
3776
 
3777
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3778
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3779
   if test $USE_MAINTAINER_MODE = yes; then
3780
  MAINTAINER_MODE_TRUE=
3781
  MAINTAINER_MODE_FALSE='#'
3782
else
3783
  MAINTAINER_MODE_TRUE='#'
3784
  MAINTAINER_MODE_FALSE=
3785
fi
3786
 
3787
  MAINT=$MAINTAINER_MODE_TRUE
3788
 
3789
 
3790
# By default we simply use the C compiler to build assembly code.
3791
 
3792
test "${CCAS+set}" = set || CCAS=$CC
3793
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3794
 
3795
 
3796
 
3797
 
3798
# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
3799
# at least currently, we never actually build a program, so we never
3800
# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
3801
# fails, because we are probably configuring with a cross compiler
3802
# which can't create executables.  So we include AC_EXEEXT to keep
3803
# automake happy, but we don't execute it, since we don't care about
3804
# the result.
3805
if false; then
3806
 
3807
  dummy_var=1
3808
fi
3809
 
3810
. ${newlib_basedir}/configure.host
3811
 
3812
newlib_cflags="${newlib_cflags} -fno-builtin"
3813
 
3814
NEWLIB_CFLAGS=${newlib_cflags}
3815
 
3816
 
3817
LDFLAGS=${ldflags}
3818
 
3819
 
3820
 if test x${newlib_elix_level} = x0; then
3821
  ELIX_LEVEL_0_TRUE=
3822
  ELIX_LEVEL_0_FALSE='#'
3823
else
3824
  ELIX_LEVEL_0_TRUE='#'
3825
  ELIX_LEVEL_0_FALSE=
3826
fi
3827
 
3828
 if test x${newlib_elix_level} = x1; then
3829
  ELIX_LEVEL_1_TRUE=
3830
  ELIX_LEVEL_1_FALSE='#'
3831
else
3832
  ELIX_LEVEL_1_TRUE='#'
3833
  ELIX_LEVEL_1_FALSE=
3834
fi
3835
 
3836
 if test x${newlib_elix_level} = x2; then
3837
  ELIX_LEVEL_2_TRUE=
3838
  ELIX_LEVEL_2_FALSE='#'
3839
else
3840
  ELIX_LEVEL_2_TRUE='#'
3841
  ELIX_LEVEL_2_FALSE=
3842
fi
3843
 
3844
 if test x${newlib_elix_level} = x3; then
3845
  ELIX_LEVEL_3_TRUE=
3846
  ELIX_LEVEL_3_FALSE='#'
3847
else
3848
  ELIX_LEVEL_3_TRUE='#'
3849
  ELIX_LEVEL_3_FALSE=
3850
fi
3851
 
3852
 if test x${newlib_elix_level} = x4; then
3853
  ELIX_LEVEL_4_TRUE=
3854
  ELIX_LEVEL_4_FALSE='#'
3855
else
3856
  ELIX_LEVEL_4_TRUE='#'
3857
  ELIX_LEVEL_4_FALSE=
3858
fi
3859
 
3860
 
3861
 if test x${use_libtool} = xyes; then
3862
  USE_LIBTOOL_TRUE=
3863
  USE_LIBTOOL_FALSE='#'
3864
else
3865
  USE_LIBTOOL_TRUE='#'
3866
  USE_LIBTOOL_FALSE=
3867
fi
3868
 
3869
 
3870
# Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
3871
# use oext, which is set in configure.host based on the target platform.
3872
OBJEXT=${oext}
3873
 
3874
 
3875
 
3876
 
3877
 
3878
 
3879
 
3880
 
3881
 
3882
 
3883
 
3884
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3885
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3886
if test "${ac_cv_path_SED+set}" = set; then
3887
  $as_echo_n "(cached) " >&6
3888
else
3889
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3890
     for ac_i in 1 2 3 4 5 6 7; do
3891
       ac_script="$ac_script$as_nl$ac_script"
3892
     done
3893
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3894
     $as_unset ac_script || ac_script=
3895
     if test -z "$SED"; then
3896
  ac_path_SED_found=false
3897
  # Loop through the user's path and test for each of PROGNAME-LIST
3898
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3899
for as_dir in $PATH
3900
do
3901
  IFS=$as_save_IFS
3902
  test -z "$as_dir" && as_dir=.
3903
  for ac_prog in sed gsed; do
3904
    for ac_exec_ext in '' $ac_executable_extensions; do
3905
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3906
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3907
# Check for GNU ac_path_SED and select it if it is found.
3908
  # Check for GNU $ac_path_SED
3909
case `"$ac_path_SED" --version 2>&1` in
3910
*GNU*)
3911
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3912
*)
3913
  ac_count=0
3914
  $as_echo_n 0123456789 >"conftest.in"
3915
  while :
3916
  do
3917
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3918
    mv "conftest.tmp" "conftest.in"
3919
    cp "conftest.in" "conftest.nl"
3920
    $as_echo '' >> "conftest.nl"
3921
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3922
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3923
    ac_count=`expr $ac_count + 1`
3924
    if test $ac_count -gt ${ac_path_SED_max-0}; then
3925
      # Best one so far, save it but keep looking for a better one
3926
      ac_cv_path_SED="$ac_path_SED"
3927
      ac_path_SED_max=$ac_count
3928
    fi
3929
    # 10*(2^10) chars as input seems more than enough
3930
    test $ac_count -gt 10 && break
3931
  done
3932
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3933
esac
3934
 
3935
      $ac_path_SED_found && break 3
3936
    done
3937
  done
3938
done
3939
IFS=$as_save_IFS
3940
  if test -z "$ac_cv_path_SED"; then
3941
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3942
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3943
   { (exit 1); exit 1; }; }
3944
  fi
3945
else
3946
  ac_cv_path_SED=$SED
3947
fi
3948
 
3949
fi
3950
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3951
$as_echo "$ac_cv_path_SED" >&6; }
3952
 SED="$ac_cv_path_SED"
3953
  rm -f conftest.sed
3954
 
3955
test -z "$SED" && SED=sed
3956
Xsed="$SED -e 1s/^X//"
3957
 
3958
 
3959
 
3960
 
3961
 
3962
 
3963
 
3964
 
3965
 
3966
 
3967
 
3968
if test "${use_libtool}" = "yes"; then
3969
enable_win32_dll=yes
3970
 
3971
case $host in
3972
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3973
  if test -n "$ac_tool_prefix"; then
3974
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3975
set dummy ${ac_tool_prefix}as; ac_word=$2
3976
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3977
$as_echo_n "checking for $ac_word... " >&6; }
3978
if test "${ac_cv_prog_AS+set}" = set; then
3979
  $as_echo_n "(cached) " >&6
3980
else
3981
  if test -n "$AS"; then
3982
  ac_cv_prog_AS="$AS" # Let the user override the test.
3983
else
3984
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985
for as_dir in $PATH
3986
do
3987
  IFS=$as_save_IFS
3988
  test -z "$as_dir" && as_dir=.
3989
  for ac_exec_ext in '' $ac_executable_extensions; do
3990
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3991
    ac_cv_prog_AS="${ac_tool_prefix}as"
3992
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3993
    break 2
3994
  fi
3995
done
3996
done
3997
IFS=$as_save_IFS
3998
 
3999
fi
4000
fi
4001
AS=$ac_cv_prog_AS
4002
if test -n "$AS"; then
4003
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
4004
$as_echo "$AS" >&6; }
4005
else
4006
  { $as_echo "$as_me:$LINENO: result: no" >&5
4007
$as_echo "no" >&6; }
4008
fi
4009
 
4010
 
4011
fi
4012
if test -z "$ac_cv_prog_AS"; then
4013
  ac_ct_AS=$AS
4014
  # Extract the first word of "as", so it can be a program name with args.
4015
set dummy as; ac_word=$2
4016
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4017
$as_echo_n "checking for $ac_word... " >&6; }
4018
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4019
  $as_echo_n "(cached) " >&6
4020
else
4021
  if test -n "$ac_ct_AS"; then
4022
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4023
else
4024
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4025
for as_dir in $PATH
4026
do
4027
  IFS=$as_save_IFS
4028
  test -z "$as_dir" && as_dir=.
4029
  for ac_exec_ext in '' $ac_executable_extensions; do
4030
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4031
    ac_cv_prog_ac_ct_AS="as"
4032
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4033
    break 2
4034
  fi
4035
done
4036
done
4037
IFS=$as_save_IFS
4038
 
4039
fi
4040
fi
4041
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4042
if test -n "$ac_ct_AS"; then
4043
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4044
$as_echo "$ac_ct_AS" >&6; }
4045
else
4046
  { $as_echo "$as_me:$LINENO: result: no" >&5
4047
$as_echo "no" >&6; }
4048
fi
4049
 
4050
  if test "x$ac_ct_AS" = x; then
4051
    AS="false"
4052
  else
4053
    case $cross_compiling:$ac_tool_warned in
4054
yes:)
4055
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4056
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4057
ac_tool_warned=yes ;;
4058
esac
4059
    AS=$ac_ct_AS
4060
  fi
4061
else
4062
  AS="$ac_cv_prog_AS"
4063
fi
4064
 
4065
  if test -n "$ac_tool_prefix"; then
4066
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4067
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4068
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4069
$as_echo_n "checking for $ac_word... " >&6; }
4070
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4071
  $as_echo_n "(cached) " >&6
4072
else
4073
  if test -n "$DLLTOOL"; then
4074
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4075
else
4076
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4077
for as_dir in $PATH
4078
do
4079
  IFS=$as_save_IFS
4080
  test -z "$as_dir" && as_dir=.
4081
  for ac_exec_ext in '' $ac_executable_extensions; do
4082
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4083
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4084
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4085
    break 2
4086
  fi
4087
done
4088
done
4089
IFS=$as_save_IFS
4090
 
4091
fi
4092
fi
4093
DLLTOOL=$ac_cv_prog_DLLTOOL
4094
if test -n "$DLLTOOL"; then
4095
  { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4096
$as_echo "$DLLTOOL" >&6; }
4097
else
4098
  { $as_echo "$as_me:$LINENO: result: no" >&5
4099
$as_echo "no" >&6; }
4100
fi
4101
 
4102
 
4103
fi
4104
if test -z "$ac_cv_prog_DLLTOOL"; then
4105
  ac_ct_DLLTOOL=$DLLTOOL
4106
  # Extract the first word of "dlltool", so it can be a program name with args.
4107
set dummy dlltool; ac_word=$2
4108
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4109
$as_echo_n "checking for $ac_word... " >&6; }
4110
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4111
  $as_echo_n "(cached) " >&6
4112
else
4113
  if test -n "$ac_ct_DLLTOOL"; then
4114
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4115
else
4116
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117
for as_dir in $PATH
4118
do
4119
  IFS=$as_save_IFS
4120
  test -z "$as_dir" && as_dir=.
4121
  for ac_exec_ext in '' $ac_executable_extensions; do
4122
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4123
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4124
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4125
    break 2
4126
  fi
4127
done
4128
done
4129
IFS=$as_save_IFS
4130
 
4131
fi
4132
fi
4133
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4134
if test -n "$ac_ct_DLLTOOL"; then
4135
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4136
$as_echo "$ac_ct_DLLTOOL" >&6; }
4137
else
4138
  { $as_echo "$as_me:$LINENO: result: no" >&5
4139
$as_echo "no" >&6; }
4140
fi
4141
 
4142
  if test "x$ac_ct_DLLTOOL" = x; then
4143
    DLLTOOL="false"
4144
  else
4145
    case $cross_compiling:$ac_tool_warned in
4146
yes:)
4147
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4148
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4149
ac_tool_warned=yes ;;
4150
esac
4151
    DLLTOOL=$ac_ct_DLLTOOL
4152
  fi
4153
else
4154
  DLLTOOL="$ac_cv_prog_DLLTOOL"
4155
fi
4156
 
4157
  if test -n "$ac_tool_prefix"; then
4158
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4159
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4160
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4161
$as_echo_n "checking for $ac_word... " >&6; }
4162
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4163
  $as_echo_n "(cached) " >&6
4164
else
4165
  if test -n "$OBJDUMP"; then
4166
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4167
else
4168
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4169
for as_dir in $PATH
4170
do
4171
  IFS=$as_save_IFS
4172
  test -z "$as_dir" && as_dir=.
4173
  for ac_exec_ext in '' $ac_executable_extensions; do
4174
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4175
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4176
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4177
    break 2
4178
  fi
4179
done
4180
done
4181
IFS=$as_save_IFS
4182
 
4183
fi
4184
fi
4185
OBJDUMP=$ac_cv_prog_OBJDUMP
4186
if test -n "$OBJDUMP"; then
4187
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4188
$as_echo "$OBJDUMP" >&6; }
4189
else
4190
  { $as_echo "$as_me:$LINENO: result: no" >&5
4191
$as_echo "no" >&6; }
4192
fi
4193
 
4194
 
4195
fi
4196
if test -z "$ac_cv_prog_OBJDUMP"; then
4197
  ac_ct_OBJDUMP=$OBJDUMP
4198
  # Extract the first word of "objdump", so it can be a program name with args.
4199
set dummy objdump; ac_word=$2
4200
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4201
$as_echo_n "checking for $ac_word... " >&6; }
4202
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4203
  $as_echo_n "(cached) " >&6
4204
else
4205
  if test -n "$ac_ct_OBJDUMP"; then
4206
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4207
else
4208
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209
for as_dir in $PATH
4210
do
4211
  IFS=$as_save_IFS
4212
  test -z "$as_dir" && as_dir=.
4213
  for ac_exec_ext in '' $ac_executable_extensions; do
4214
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4215
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4216
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4217
    break 2
4218
  fi
4219
done
4220
done
4221
IFS=$as_save_IFS
4222
 
4223
fi
4224
fi
4225
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4226
if test -n "$ac_ct_OBJDUMP"; then
4227
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4228
$as_echo "$ac_ct_OBJDUMP" >&6; }
4229
else
4230
  { $as_echo "$as_me:$LINENO: result: no" >&5
4231
$as_echo "no" >&6; }
4232
fi
4233
 
4234
  if test "x$ac_ct_OBJDUMP" = x; then
4235
    OBJDUMP="false"
4236
  else
4237
    case $cross_compiling:$ac_tool_warned in
4238
yes:)
4239
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4240
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4241
ac_tool_warned=yes ;;
4242
esac
4243
    OBJDUMP=$ac_ct_OBJDUMP
4244
  fi
4245
else
4246
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4247
fi
4248
 
4249
  ;;
4250
esac
4251
 
4252
test -z "$AS" && AS=as
4253
 
4254
 
4255
 
4256
 
4257
 
4258
test -z "$DLLTOOL" && DLLTOOL=dlltool
4259
 
4260
 
4261
 
4262
 
4263
 
4264
test -z "$OBJDUMP" && OBJDUMP=objdump
4265
 
4266
 
4267
 
4268
 
4269
 
4270
 
4271
 
4272
case `pwd` in
4273
  *\ * | *\     *)
4274
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4275
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4276
esac
4277
 
4278
 
4279
 
4280
macro_version='2.2.6'
4281
macro_revision='1.3012'
4282
 
4283
 
4284
 
4285
 
4286
 
4287
 
4288
 
4289
 
4290
 
4291
 
4292
 
4293
 
4294
 
4295
ltmain="$ac_aux_dir/ltmain.sh"
4296
 
4297
ac_ext=c
4298
ac_cpp='$CPP $CPPFLAGS'
4299
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4300
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4301
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4302
if test -n "$ac_tool_prefix"; then
4303
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4304
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4305
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4306
$as_echo_n "checking for $ac_word... " >&6; }
4307
if test "${ac_cv_prog_CC+set}" = set; then
4308
  $as_echo_n "(cached) " >&6
4309
else
4310
  if test -n "$CC"; then
4311
  ac_cv_prog_CC="$CC" # Let the user override the test.
4312
else
4313
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4314
for as_dir in $PATH
4315
do
4316
  IFS=$as_save_IFS
4317
  test -z "$as_dir" && as_dir=.
4318
  for ac_exec_ext in '' $ac_executable_extensions; do
4319
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4320
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4321
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4322
    break 2
4323
  fi
4324
done
4325
done
4326
IFS=$as_save_IFS
4327
 
4328
fi
4329
fi
4330
CC=$ac_cv_prog_CC
4331
if test -n "$CC"; then
4332
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4333
$as_echo "$CC" >&6; }
4334
else
4335
  { $as_echo "$as_me:$LINENO: result: no" >&5
4336
$as_echo "no" >&6; }
4337
fi
4338
 
4339
 
4340
fi
4341
if test -z "$ac_cv_prog_CC"; then
4342
  ac_ct_CC=$CC
4343
  # Extract the first word of "gcc", so it can be a program name with args.
4344
set dummy gcc; ac_word=$2
4345
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4346
$as_echo_n "checking for $ac_word... " >&6; }
4347
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4348
  $as_echo_n "(cached) " >&6
4349
else
4350
  if test -n "$ac_ct_CC"; then
4351
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4352
else
4353
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354
for as_dir in $PATH
4355
do
4356
  IFS=$as_save_IFS
4357
  test -z "$as_dir" && as_dir=.
4358
  for ac_exec_ext in '' $ac_executable_extensions; do
4359
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360
    ac_cv_prog_ac_ct_CC="gcc"
4361
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4362
    break 2
4363
  fi
4364
done
4365
done
4366
IFS=$as_save_IFS
4367
 
4368
fi
4369
fi
4370
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4371
if test -n "$ac_ct_CC"; then
4372
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4373
$as_echo "$ac_ct_CC" >&6; }
4374
else
4375
  { $as_echo "$as_me:$LINENO: result: no" >&5
4376
$as_echo "no" >&6; }
4377
fi
4378
 
4379
  if test "x$ac_ct_CC" = x; then
4380
    CC=""
4381
  else
4382
    case $cross_compiling:$ac_tool_warned in
4383
yes:)
4384
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4385
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4386
ac_tool_warned=yes ;;
4387
esac
4388
    CC=$ac_ct_CC
4389
  fi
4390
else
4391
  CC="$ac_cv_prog_CC"
4392
fi
4393
 
4394
if test -z "$CC"; then
4395
          if test -n "$ac_tool_prefix"; then
4396
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4397
set dummy ${ac_tool_prefix}cc; ac_word=$2
4398
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4399
$as_echo_n "checking for $ac_word... " >&6; }
4400
if test "${ac_cv_prog_CC+set}" = set; then
4401
  $as_echo_n "(cached) " >&6
4402
else
4403
  if test -n "$CC"; then
4404
  ac_cv_prog_CC="$CC" # Let the user override the test.
4405
else
4406
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407
for as_dir in $PATH
4408
do
4409
  IFS=$as_save_IFS
4410
  test -z "$as_dir" && as_dir=.
4411
  for ac_exec_ext in '' $ac_executable_extensions; do
4412
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4414
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4415
    break 2
4416
  fi
4417
done
4418
done
4419
IFS=$as_save_IFS
4420
 
4421
fi
4422
fi
4423
CC=$ac_cv_prog_CC
4424
if test -n "$CC"; then
4425
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4426
$as_echo "$CC" >&6; }
4427
else
4428
  { $as_echo "$as_me:$LINENO: result: no" >&5
4429
$as_echo "no" >&6; }
4430
fi
4431
 
4432
 
4433
  fi
4434
fi
4435
if test -z "$CC"; then
4436
  # Extract the first word of "cc", so it can be a program name with args.
4437
set dummy cc; ac_word=$2
4438
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4439
$as_echo_n "checking for $ac_word... " >&6; }
4440
if test "${ac_cv_prog_CC+set}" = set; then
4441
  $as_echo_n "(cached) " >&6
4442
else
4443
  if test -n "$CC"; then
4444
  ac_cv_prog_CC="$CC" # Let the user override the test.
4445
else
4446
  ac_prog_rejected=no
4447
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448
for as_dir in $PATH
4449
do
4450
  IFS=$as_save_IFS
4451
  test -z "$as_dir" && as_dir=.
4452
  for ac_exec_ext in '' $ac_executable_extensions; do
4453
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4454
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4455
       ac_prog_rejected=yes
4456
       continue
4457
     fi
4458
    ac_cv_prog_CC="cc"
4459
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4460
    break 2
4461
  fi
4462
done
4463
done
4464
IFS=$as_save_IFS
4465
 
4466
if test $ac_prog_rejected = yes; then
4467
  # We found a bogon in the path, so make sure we never use it.
4468
  set dummy $ac_cv_prog_CC
4469
  shift
4470
  if test $# != 0; then
4471
    # We chose a different compiler from the bogus one.
4472
    # However, it has the same basename, so the bogon will be chosen
4473
    # first if we set CC to just the basename; use the full file name.
4474
    shift
4475
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4476
  fi
4477
fi
4478
fi
4479
fi
4480
CC=$ac_cv_prog_CC
4481
if test -n "$CC"; then
4482
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4483
$as_echo "$CC" >&6; }
4484
else
4485
  { $as_echo "$as_me:$LINENO: result: no" >&5
4486
$as_echo "no" >&6; }
4487
fi
4488
 
4489
 
4490
fi
4491
if test -z "$CC"; then
4492
  if test -n "$ac_tool_prefix"; then
4493
  for ac_prog in cl.exe
4494
  do
4495
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4496
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4497
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4498
$as_echo_n "checking for $ac_word... " >&6; }
4499
if test "${ac_cv_prog_CC+set}" = set; then
4500
  $as_echo_n "(cached) " >&6
4501
else
4502
  if test -n "$CC"; then
4503
  ac_cv_prog_CC="$CC" # Let the user override the test.
4504
else
4505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506
for as_dir in $PATH
4507
do
4508
  IFS=$as_save_IFS
4509
  test -z "$as_dir" && as_dir=.
4510
  for ac_exec_ext in '' $ac_executable_extensions; do
4511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4512
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4513
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4514
    break 2
4515
  fi
4516
done
4517
done
4518
IFS=$as_save_IFS
4519
 
4520
fi
4521
fi
4522
CC=$ac_cv_prog_CC
4523
if test -n "$CC"; then
4524
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4525
$as_echo "$CC" >&6; }
4526
else
4527
  { $as_echo "$as_me:$LINENO: result: no" >&5
4528
$as_echo "no" >&6; }
4529
fi
4530
 
4531
 
4532
    test -n "$CC" && break
4533
  done
4534
fi
4535
if test -z "$CC"; then
4536
  ac_ct_CC=$CC
4537
  for ac_prog in cl.exe
4538
do
4539
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4540
set dummy $ac_prog; ac_word=$2
4541
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4542
$as_echo_n "checking for $ac_word... " >&6; }
4543
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4544
  $as_echo_n "(cached) " >&6
4545
else
4546
  if test -n "$ac_ct_CC"; then
4547
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4548
else
4549
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4550
for as_dir in $PATH
4551
do
4552
  IFS=$as_save_IFS
4553
  test -z "$as_dir" && as_dir=.
4554
  for ac_exec_ext in '' $ac_executable_extensions; do
4555
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4556
    ac_cv_prog_ac_ct_CC="$ac_prog"
4557
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4558
    break 2
4559
  fi
4560
done
4561
done
4562
IFS=$as_save_IFS
4563
 
4564
fi
4565
fi
4566
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4567
if test -n "$ac_ct_CC"; then
4568
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4569
$as_echo "$ac_ct_CC" >&6; }
4570
else
4571
  { $as_echo "$as_me:$LINENO: result: no" >&5
4572
$as_echo "no" >&6; }
4573
fi
4574
 
4575
 
4576
  test -n "$ac_ct_CC" && break
4577
done
4578
 
4579
  if test "x$ac_ct_CC" = x; then
4580
    CC=""
4581
  else
4582
    case $cross_compiling:$ac_tool_warned in
4583
yes:)
4584
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4585
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4586
ac_tool_warned=yes ;;
4587
esac
4588
    CC=$ac_ct_CC
4589
  fi
4590
fi
4591
 
4592
fi
4593
 
4594
 
4595
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4596
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4597
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4598
See \`config.log' for more details." >&5
4599
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4600
See \`config.log' for more details." >&2;}
4601
   { (exit 1); exit 1; }; }; }
4602
 
4603
# Provide some information about the compiler.
4604
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4605
set X $ac_compile
4606
ac_compiler=$2
4607
{ (ac_try="$ac_compiler --version >&5"
4608
case "(($ac_try" in
4609
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4610
  *) ac_try_echo=$ac_try;;
4611
esac
4612
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4613
$as_echo "$ac_try_echo") >&5
4614
  (eval "$ac_compiler --version >&5") 2>&5
4615
  ac_status=$?
4616
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617
  (exit $ac_status); }
4618
{ (ac_try="$ac_compiler -v >&5"
4619
case "(($ac_try" in
4620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4621
  *) ac_try_echo=$ac_try;;
4622
esac
4623
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4624
$as_echo "$ac_try_echo") >&5
4625
  (eval "$ac_compiler -v >&5") 2>&5
4626
  ac_status=$?
4627
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628
  (exit $ac_status); }
4629
{ (ac_try="$ac_compiler -V >&5"
4630
case "(($ac_try" in
4631
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4632
  *) ac_try_echo=$ac_try;;
4633
esac
4634
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4635
$as_echo "$ac_try_echo") >&5
4636
  (eval "$ac_compiler -V >&5") 2>&5
4637
  ac_status=$?
4638
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639
  (exit $ac_status); }
4640
 
4641
cat >conftest.$ac_ext <<_ACEOF
4642
/* confdefs.h.  */
4643
_ACEOF
4644
cat confdefs.h >>conftest.$ac_ext
4645
cat >>conftest.$ac_ext <<_ACEOF
4646
/* end confdefs.h.  */
4647
 
4648
int
4649
main ()
4650
{
4651
 
4652
  ;
4653
  return 0;
4654
}
4655
_ACEOF
4656
ac_clean_files_save=$ac_clean_files
4657
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4658
# Try to create an executable without -o first, disregard a.out.
4659
# It will help us diagnose broken compilers, and finding out an intuition
4660
# of exeext.
4661
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4662
$as_echo_n "checking for C compiler default output file name... " >&6; }
4663
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4664
 
4665
# The possible output files:
4666
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4667
 
4668
ac_rmfiles=
4669
for ac_file in $ac_files
4670
do
4671
  case $ac_file in
4672
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4673
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4674
  esac
4675
done
4676
rm -f $ac_rmfiles
4677
 
4678
if { (ac_try="$ac_link_default"
4679
case "(($ac_try" in
4680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4681
  *) ac_try_echo=$ac_try;;
4682
esac
4683
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4684
$as_echo "$ac_try_echo") >&5
4685
  (eval "$ac_link_default") 2>&5
4686
  ac_status=$?
4687
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688
  (exit $ac_status); }; then
4689
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4690
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4691
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4692
# so that the user can short-circuit this test for compilers unknown to
4693
# Autoconf.
4694
for ac_file in $ac_files ''
4695
do
4696
  test -f "$ac_file" || continue
4697
  case $ac_file in
4698
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4699
        ;;
4700
    [ab].out )
4701
        # We found the default executable, but exeext='' is most
4702
        # certainly right.
4703
        break;;
4704
    *.* )
4705
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4706
        then :; else
4707
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4708
        fi
4709
        # We set ac_cv_exeext here because the later test for it is not
4710
        # safe: cross compilers may not add the suffix if given an `-o'
4711
        # argument, so we may need to know it at that point already.
4712
        # Even if this section looks crufty: it has the advantage of
4713
        # actually working.
4714
        break;;
4715
    * )
4716
        break;;
4717
  esac
4718
done
4719
test "$ac_cv_exeext" = no && ac_cv_exeext=
4720
 
4721
else
4722
  ac_file=''
4723
fi
4724
 
4725
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
4726
$as_echo "$ac_file" >&6; }
4727
if test -z "$ac_file"; then
4728
  $as_echo "$as_me: failed program was:" >&5
4729
sed 's/^/| /' conftest.$ac_ext >&5
4730
 
4731
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4732
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4733
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
4734
See \`config.log' for more details." >&5
4735
$as_echo "$as_me: error: C compiler cannot create executables
4736
See \`config.log' for more details." >&2;}
4737
   { (exit 77); exit 77; }; }; }
4738
fi
4739
 
4740
ac_exeext=$ac_cv_exeext
4741
 
4742
# Check that the compiler produces executables we can run.  If not, either
4743
# the compiler is broken, or we cross compile.
4744
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4745
$as_echo_n "checking whether the C compiler works... " >&6; }
4746
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4747
# If not cross compiling, check that we can run a simple program.
4748
if test "$cross_compiling" != yes; then
4749
  if { ac_try='./$ac_file'
4750
  { (case "(($ac_try" in
4751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4752
  *) ac_try_echo=$ac_try;;
4753
esac
4754
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4755
$as_echo "$ac_try_echo") >&5
4756
  (eval "$ac_try") 2>&5
4757
  ac_status=$?
4758
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759
  (exit $ac_status); }; }; then
4760
    cross_compiling=no
4761
  else
4762
    if test "$cross_compiling" = maybe; then
4763
        cross_compiling=yes
4764
    else
4765
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4766
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4767
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
4768
If you meant to cross compile, use \`--host'.
4769
See \`config.log' for more details." >&5
4770
$as_echo "$as_me: error: cannot run C compiled programs.
4771
If you meant to cross compile, use \`--host'.
4772
See \`config.log' for more details." >&2;}
4773
   { (exit 1); exit 1; }; }; }
4774
    fi
4775
  fi
4776
fi
4777
{ $as_echo "$as_me:$LINENO: result: yes" >&5
4778
$as_echo "yes" >&6; }
4779
 
4780
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4781
ac_clean_files=$ac_clean_files_save
4782
# Check that the compiler produces executables we can run.  If not, either
4783
# the compiler is broken, or we cross compile.
4784
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4785
$as_echo_n "checking whether we are cross compiling... " >&6; }
4786
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
4787
$as_echo "$cross_compiling" >&6; }
4788
 
4789
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
4790
$as_echo_n "checking for suffix of executables... " >&6; }
4791
if { (ac_try="$ac_link"
4792
case "(($ac_try" in
4793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4794
  *) ac_try_echo=$ac_try;;
4795
esac
4796
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4797
$as_echo "$ac_try_echo") >&5
4798
  (eval "$ac_link") 2>&5
4799
  ac_status=$?
4800
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801
  (exit $ac_status); }; then
4802
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4803
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4804
# work properly (i.e., refer to `conftest.exe'), while it won't with
4805
# `rm'.
4806
for ac_file in conftest.exe conftest conftest.*; do
4807
  test -f "$ac_file" || continue
4808
  case $ac_file in
4809
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4810
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4811
          break;;
4812
    * ) break;;
4813
  esac
4814
done
4815
else
4816
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4817
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4818
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4819
See \`config.log' for more details." >&5
4820
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4821
See \`config.log' for more details." >&2;}
4822
   { (exit 1); exit 1; }; }; }
4823
fi
4824
 
4825
rm -f conftest$ac_cv_exeext
4826
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4827
$as_echo "$ac_cv_exeext" >&6; }
4828
 
4829
rm -f conftest.$ac_ext
4830
EXEEXT=$ac_cv_exeext
4831
ac_exeext=$EXEEXT
4832
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
4833
$as_echo_n "checking for suffix of object files... " >&6; }
4834
if test "${ac_cv_objext+set}" = set; then
4835
  $as_echo_n "(cached) " >&6
4836
else
4837
  cat >conftest.$ac_ext <<_ACEOF
4838
/* confdefs.h.  */
4839
_ACEOF
4840
cat confdefs.h >>conftest.$ac_ext
4841
cat >>conftest.$ac_ext <<_ACEOF
4842
/* end confdefs.h.  */
4843
 
4844
int
4845
main ()
4846
{
4847
 
4848
  ;
4849
  return 0;
4850
}
4851
_ACEOF
4852
rm -f conftest.o conftest.obj
4853
if { (ac_try="$ac_compile"
4854
case "(($ac_try" in
4855
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4856
  *) ac_try_echo=$ac_try;;
4857
esac
4858
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4859
$as_echo "$ac_try_echo") >&5
4860
  (eval "$ac_compile") 2>&5
4861
  ac_status=$?
4862
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863
  (exit $ac_status); }; then
4864
  for ac_file in conftest.o conftest.obj conftest.*; do
4865
  test -f "$ac_file" || continue;
4866
  case $ac_file in
4867
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4868
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4869
       break;;
4870
  esac
4871
done
4872
else
4873
  $as_echo "$as_me: failed program was:" >&5
4874
sed 's/^/| /' conftest.$ac_ext >&5
4875
 
4876
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4877
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4878
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4879
See \`config.log' for more details." >&5
4880
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
4881
See \`config.log' for more details." >&2;}
4882
   { (exit 1); exit 1; }; }; }
4883
fi
4884
 
4885
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4886
fi
4887
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4888
$as_echo "$ac_cv_objext" >&6; }
4889
OBJEXT=$ac_cv_objext
4890
ac_objext=$OBJEXT
4891
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4892
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4893
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4894
  $as_echo_n "(cached) " >&6
4895
else
4896
  cat >conftest.$ac_ext <<_ACEOF
4897
/* confdefs.h.  */
4898
_ACEOF
4899
cat confdefs.h >>conftest.$ac_ext
4900
cat >>conftest.$ac_ext <<_ACEOF
4901
/* end confdefs.h.  */
4902
 
4903
int
4904
main ()
4905
{
4906
#ifndef __GNUC__
4907
       choke me
4908
#endif
4909
 
4910
  ;
4911
  return 0;
4912
}
4913
_ACEOF
4914
rm -f conftest.$ac_objext
4915
if { (ac_try="$ac_compile"
4916
case "(($ac_try" in
4917
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4918
  *) ac_try_echo=$ac_try;;
4919
esac
4920
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4921
$as_echo "$ac_try_echo") >&5
4922
  (eval "$ac_compile") 2>conftest.er1
4923
  ac_status=$?
4924
  grep -v '^ *+' conftest.er1 >conftest.err
4925
  rm -f conftest.er1
4926
  cat conftest.err >&5
4927
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928
  (exit $ac_status); } && {
4929
         test -z "$ac_c_werror_flag" ||
4930
         test ! -s conftest.err
4931
       } && test -s conftest.$ac_objext; then
4932
  ac_compiler_gnu=yes
4933
else
4934
  $as_echo "$as_me: failed program was:" >&5
4935
sed 's/^/| /' conftest.$ac_ext >&5
4936
 
4937
        ac_compiler_gnu=no
4938
fi
4939
 
4940
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4941
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4942
 
4943
fi
4944
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4945
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4946
if test $ac_compiler_gnu = yes; then
4947
  GCC=yes
4948
else
4949
  GCC=
4950
fi
4951
ac_test_CFLAGS=${CFLAGS+set}
4952
ac_save_CFLAGS=$CFLAGS
4953
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4954
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4955
if test "${ac_cv_prog_cc_g+set}" = set; then
4956
  $as_echo_n "(cached) " >&6
4957
else
4958
  ac_save_c_werror_flag=$ac_c_werror_flag
4959
   ac_c_werror_flag=yes
4960
   ac_cv_prog_cc_g=no
4961
   CFLAGS="-g"
4962
   cat >conftest.$ac_ext <<_ACEOF
4963
/* confdefs.h.  */
4964
_ACEOF
4965
cat confdefs.h >>conftest.$ac_ext
4966
cat >>conftest.$ac_ext <<_ACEOF
4967
/* end confdefs.h.  */
4968
 
4969
int
4970
main ()
4971
{
4972
 
4973
  ;
4974
  return 0;
4975
}
4976
_ACEOF
4977
rm -f conftest.$ac_objext
4978
if { (ac_try="$ac_compile"
4979
case "(($ac_try" in
4980
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4981
  *) ac_try_echo=$ac_try;;
4982
esac
4983
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4984
$as_echo "$ac_try_echo") >&5
4985
  (eval "$ac_compile") 2>conftest.er1
4986
  ac_status=$?
4987
  grep -v '^ *+' conftest.er1 >conftest.err
4988
  rm -f conftest.er1
4989
  cat conftest.err >&5
4990
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991
  (exit $ac_status); } && {
4992
         test -z "$ac_c_werror_flag" ||
4993
         test ! -s conftest.err
4994
       } && test -s conftest.$ac_objext; then
4995
  ac_cv_prog_cc_g=yes
4996
else
4997
  $as_echo "$as_me: failed program was:" >&5
4998
sed 's/^/| /' conftest.$ac_ext >&5
4999
 
5000
        CFLAGS=""
5001
      cat >conftest.$ac_ext <<_ACEOF
5002
/* confdefs.h.  */
5003
_ACEOF
5004
cat confdefs.h >>conftest.$ac_ext
5005
cat >>conftest.$ac_ext <<_ACEOF
5006
/* end confdefs.h.  */
5007
 
5008
int
5009
main ()
5010
{
5011
 
5012
  ;
5013
  return 0;
5014
}
5015
_ACEOF
5016
rm -f conftest.$ac_objext
5017
if { (ac_try="$ac_compile"
5018
case "(($ac_try" in
5019
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5020
  *) ac_try_echo=$ac_try;;
5021
esac
5022
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5023
$as_echo "$ac_try_echo") >&5
5024
  (eval "$ac_compile") 2>conftest.er1
5025
  ac_status=$?
5026
  grep -v '^ *+' conftest.er1 >conftest.err
5027
  rm -f conftest.er1
5028
  cat conftest.err >&5
5029
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030
  (exit $ac_status); } && {
5031
         test -z "$ac_c_werror_flag" ||
5032
         test ! -s conftest.err
5033
       } && test -s conftest.$ac_objext; then
5034
  :
5035
else
5036
  $as_echo "$as_me: failed program was:" >&5
5037
sed 's/^/| /' conftest.$ac_ext >&5
5038
 
5039
        ac_c_werror_flag=$ac_save_c_werror_flag
5040
         CFLAGS="-g"
5041
         cat >conftest.$ac_ext <<_ACEOF
5042
/* confdefs.h.  */
5043
_ACEOF
5044
cat confdefs.h >>conftest.$ac_ext
5045
cat >>conftest.$ac_ext <<_ACEOF
5046
/* end confdefs.h.  */
5047
 
5048
int
5049
main ()
5050
{
5051
 
5052
  ;
5053
  return 0;
5054
}
5055
_ACEOF
5056
rm -f conftest.$ac_objext
5057
if { (ac_try="$ac_compile"
5058
case "(($ac_try" in
5059
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5060
  *) ac_try_echo=$ac_try;;
5061
esac
5062
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5063
$as_echo "$ac_try_echo") >&5
5064
  (eval "$ac_compile") 2>conftest.er1
5065
  ac_status=$?
5066
  grep -v '^ *+' conftest.er1 >conftest.err
5067
  rm -f conftest.er1
5068
  cat conftest.err >&5
5069
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070
  (exit $ac_status); } && {
5071
         test -z "$ac_c_werror_flag" ||
5072
         test ! -s conftest.err
5073
       } && test -s conftest.$ac_objext; then
5074
  ac_cv_prog_cc_g=yes
5075
else
5076
  $as_echo "$as_me: failed program was:" >&5
5077
sed 's/^/| /' conftest.$ac_ext >&5
5078
 
5079
 
5080
fi
5081
 
5082
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5083
fi
5084
 
5085
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5086
fi
5087
 
5088
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089
   ac_c_werror_flag=$ac_save_c_werror_flag
5090
fi
5091
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5092
$as_echo "$ac_cv_prog_cc_g" >&6; }
5093
if test "$ac_test_CFLAGS" = set; then
5094
  CFLAGS=$ac_save_CFLAGS
5095
elif test $ac_cv_prog_cc_g = yes; then
5096
  if test "$GCC" = yes; then
5097
    CFLAGS="-g -O2"
5098
  else
5099
    CFLAGS="-g"
5100
  fi
5101
else
5102
  if test "$GCC" = yes; then
5103
    CFLAGS="-O2"
5104
  else
5105
    CFLAGS=
5106
  fi
5107
fi
5108
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5109
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5110
if test "${ac_cv_prog_cc_c89+set}" = set; then
5111
  $as_echo_n "(cached) " >&6
5112
else
5113
  ac_cv_prog_cc_c89=no
5114
ac_save_CC=$CC
5115
cat >conftest.$ac_ext <<_ACEOF
5116
/* confdefs.h.  */
5117
_ACEOF
5118
cat confdefs.h >>conftest.$ac_ext
5119
cat >>conftest.$ac_ext <<_ACEOF
5120
/* end confdefs.h.  */
5121
#include 
5122
#include 
5123
#include 
5124
#include 
5125
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5126
struct buf { int x; };
5127
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5128
static char *e (p, i)
5129
     char **p;
5130
     int i;
5131
{
5132
  return p[i];
5133
}
5134
static char *f (char * (*g) (char **, int), char **p, ...)
5135
{
5136
  char *s;
5137
  va_list v;
5138
  va_start (v,p);
5139
  s = g (p, va_arg (v,int));
5140
  va_end (v);
5141
  return s;
5142
}
5143
 
5144
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5145
   function prototypes and stuff, but not '\xHH' hex character constants.
5146
   These don't provoke an error unfortunately, instead are silently treated
5147
   as 'x'.  The following induces an error, until -std is added to get
5148
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5149
   array size at least.  It's necessary to write '\x00'==0 to get something
5150
   that's true only with -std.  */
5151
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5152
 
5153
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5154
   inside strings and character constants.  */
5155
#define FOO(x) 'x'
5156
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5157
 
5158
int test (int i, double x);
5159
struct s1 {int (*f) (int a);};
5160
struct s2 {int (*f) (double a);};
5161
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5162
int argc;
5163
char **argv;
5164
int
5165
main ()
5166
{
5167
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5168
  ;
5169
  return 0;
5170
}
5171
_ACEOF
5172
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5173
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5174
do
5175
  CC="$ac_save_CC $ac_arg"
5176
  rm -f conftest.$ac_objext
5177
if { (ac_try="$ac_compile"
5178
case "(($ac_try" in
5179
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5180
  *) ac_try_echo=$ac_try;;
5181
esac
5182
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5183
$as_echo "$ac_try_echo") >&5
5184
  (eval "$ac_compile") 2>conftest.er1
5185
  ac_status=$?
5186
  grep -v '^ *+' conftest.er1 >conftest.err
5187
  rm -f conftest.er1
5188
  cat conftest.err >&5
5189
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190
  (exit $ac_status); } && {
5191
         test -z "$ac_c_werror_flag" ||
5192
         test ! -s conftest.err
5193
       } && test -s conftest.$ac_objext; then
5194
  ac_cv_prog_cc_c89=$ac_arg
5195
else
5196
  $as_echo "$as_me: failed program was:" >&5
5197
sed 's/^/| /' conftest.$ac_ext >&5
5198
 
5199
 
5200
fi
5201
 
5202
rm -f core conftest.err conftest.$ac_objext
5203
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5204
done
5205
rm -f conftest.$ac_ext
5206
CC=$ac_save_CC
5207
 
5208
fi
5209
# AC_CACHE_VAL
5210
case "x$ac_cv_prog_cc_c89" in
5211
  x)
5212
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
5213
$as_echo "none needed" >&6; } ;;
5214
  xno)
5215
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5216
$as_echo "unsupported" >&6; } ;;
5217
  *)
5218
    CC="$CC $ac_cv_prog_cc_c89"
5219
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5220
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5221
esac
5222
 
5223
 
5224
ac_ext=c
5225
ac_cpp='$CPP $CPPFLAGS'
5226
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5227
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5228
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5229
 
5230
depcc="$CC"   am_compiler_list=
5231
 
5232
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5233
$as_echo_n "checking dependency style of $depcc... " >&6; }
5234
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5235
  $as_echo_n "(cached) " >&6
5236
else
5237
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5238
  # We make a subdir and do the tests there.  Otherwise we can end up
5239
  # making bogus files that we don't know about and never remove.  For
5240
  # instance it was reported that on HP-UX the gcc test will end up
5241
  # making a dummy file named `D' -- because `-MD' means `put the output
5242
  # in D'.
5243
  mkdir conftest.dir
5244
  # Copy depcomp to subdir because otherwise we won't find it if we're
5245
  # using a relative directory.
5246
  cp "$am_depcomp" conftest.dir
5247
  cd conftest.dir
5248
  # We will build objects and dependencies in a subdirectory because
5249
  # it helps to detect inapplicable dependency modes.  For instance
5250
  # both Tru64's cc and ICC support -MD to output dependencies as a
5251
  # side effect of compilation, but ICC will put the dependencies in
5252
  # the current directory while Tru64 will put them in the object
5253
  # directory.
5254
  mkdir sub
5255
 
5256
  am_cv_CC_dependencies_compiler_type=none
5257
  if test "$am_compiler_list" = ""; then
5258
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5259
  fi
5260
  am__universal=false
5261
  case " $depcc " in #(
5262
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5263
     esac
5264
 
5265
  for depmode in $am_compiler_list; do
5266
    # Setup a source with many dependencies, because some compilers
5267
    # like to wrap large dependency lists on column 80 (with \), and
5268
    # we should not choose a depcomp mode which is confused by this.
5269
    #
5270
    # We need to recreate these files for each test, as the compiler may
5271
    # overwrite some of them when testing with obscure command lines.
5272
    # This happens at least with the AIX C compiler.
5273
    : > sub/conftest.c
5274
    for i in 1 2 3 4 5 6; do
5275
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5276
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5277
      # Solaris 8's {/usr,}/bin/sh.
5278
      touch sub/conftst$i.h
5279
    done
5280
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5281
 
5282
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5283
    # mode.  It turns out that the SunPro C++ compiler does not properly
5284
    # handle `-M -o', and we need to detect this.  Also, some Intel
5285
    # versions had trouble with output in subdirs
5286
    am__obj=sub/conftest.${OBJEXT-o}
5287
    am__minus_obj="-o $am__obj"
5288
    case $depmode in
5289
    gcc)
5290
      # This depmode causes a compiler race in universal mode.
5291
      test "$am__universal" = false || continue
5292
      ;;
5293
    nosideeffect)
5294
      # after this tag, mechanisms are not by side-effect, so they'll
5295
      # only be used when explicitly requested
5296
      if test "x$enable_dependency_tracking" = xyes; then
5297
        continue
5298
      else
5299
        break
5300
      fi
5301
      ;;
5302
    msvisualcpp | msvcmsys)
5303
      # This compiler won't grok `-c -o', but also, the minuso test has
5304
      # not run yet.  These depmodes are late enough in the game, and
5305
      # so weak that their functioning should not be impacted.
5306
      am__obj=conftest.${OBJEXT-o}
5307
      am__minus_obj=
5308
      ;;
5309
    none) break ;;
5310
    esac
5311
    if depmode=$depmode \
5312
       source=sub/conftest.c object=$am__obj \
5313
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5314
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5315
         >/dev/null 2>conftest.err &&
5316
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5317
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5318
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5319
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5320
      # icc doesn't choke on unknown options, it will just issue warnings
5321
      # or remarks (even with -Werror).  So we grep stderr for any message
5322
      # that says an option was ignored or not supported.
5323
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5324
      #   icc: Command line warning: ignoring option '-M'; no argument required
5325
      # The diagnosis changed in icc 8.0:
5326
      #   icc: Command line remark: option '-MP' not supported
5327
      if (grep 'ignoring option' conftest.err ||
5328
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5329
        am_cv_CC_dependencies_compiler_type=$depmode
5330
        break
5331
      fi
5332
    fi
5333
  done
5334
 
5335
  cd ..
5336
  rm -rf conftest.dir
5337
else
5338
  am_cv_CC_dependencies_compiler_type=none
5339
fi
5340
 
5341
fi
5342
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5343
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5344
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5345
 
5346
 if
5347
  test "x$enable_dependency_tracking" != xno \
5348
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5349
  am__fastdepCC_TRUE=
5350
  am__fastdepCC_FALSE='#'
5351
else
5352
  am__fastdepCC_TRUE='#'
5353
  am__fastdepCC_FALSE=
5354
fi
5355
 
5356
 
5357
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5358
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5359
if test "${ac_cv_path_GREP+set}" = set; then
5360
  $as_echo_n "(cached) " >&6
5361
else
5362
  if test -z "$GREP"; then
5363
  ac_path_GREP_found=false
5364
  # Loop through the user's path and test for each of PROGNAME-LIST
5365
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5367
do
5368
  IFS=$as_save_IFS
5369
  test -z "$as_dir" && as_dir=.
5370
  for ac_prog in grep ggrep; do
5371
    for ac_exec_ext in '' $ac_executable_extensions; do
5372
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5373
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5374
# Check for GNU ac_path_GREP and select it if it is found.
5375
  # Check for GNU $ac_path_GREP
5376
case `"$ac_path_GREP" --version 2>&1` in
5377
*GNU*)
5378
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5379
*)
5380
  ac_count=0
5381
  $as_echo_n 0123456789 >"conftest.in"
5382
  while :
5383
  do
5384
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5385
    mv "conftest.tmp" "conftest.in"
5386
    cp "conftest.in" "conftest.nl"
5387
    $as_echo 'GREP' >> "conftest.nl"
5388
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5389
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5390
    ac_count=`expr $ac_count + 1`
5391
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5392
      # Best one so far, save it but keep looking for a better one
5393
      ac_cv_path_GREP="$ac_path_GREP"
5394
      ac_path_GREP_max=$ac_count
5395
    fi
5396
    # 10*(2^10) chars as input seems more than enough
5397
    test $ac_count -gt 10 && break
5398
  done
5399
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5400
esac
5401
 
5402
      $ac_path_GREP_found && break 3
5403
    done
5404
  done
5405
done
5406
IFS=$as_save_IFS
5407
  if test -z "$ac_cv_path_GREP"; then
5408
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5409
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5410
   { (exit 1); exit 1; }; }
5411
  fi
5412
else
5413
  ac_cv_path_GREP=$GREP
5414
fi
5415
 
5416
fi
5417
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5418
$as_echo "$ac_cv_path_GREP" >&6; }
5419
 GREP="$ac_cv_path_GREP"
5420
 
5421
 
5422
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
5423
$as_echo_n "checking for egrep... " >&6; }
5424
if test "${ac_cv_path_EGREP+set}" = set; then
5425
  $as_echo_n "(cached) " >&6
5426
else
5427
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5428
   then ac_cv_path_EGREP="$GREP -E"
5429
   else
5430
     if test -z "$EGREP"; then
5431
  ac_path_EGREP_found=false
5432
  # Loop through the user's path and test for each of PROGNAME-LIST
5433
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5435
do
5436
  IFS=$as_save_IFS
5437
  test -z "$as_dir" && as_dir=.
5438
  for ac_prog in egrep; do
5439
    for ac_exec_ext in '' $ac_executable_extensions; do
5440
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5441
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5442
# Check for GNU ac_path_EGREP and select it if it is found.
5443
  # Check for GNU $ac_path_EGREP
5444
case `"$ac_path_EGREP" --version 2>&1` in
5445
*GNU*)
5446
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5447
*)
5448
  ac_count=0
5449
  $as_echo_n 0123456789 >"conftest.in"
5450
  while :
5451
  do
5452
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5453
    mv "conftest.tmp" "conftest.in"
5454
    cp "conftest.in" "conftest.nl"
5455
    $as_echo 'EGREP' >> "conftest.nl"
5456
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5457
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5458
    ac_count=`expr $ac_count + 1`
5459
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5460
      # Best one so far, save it but keep looking for a better one
5461
      ac_cv_path_EGREP="$ac_path_EGREP"
5462
      ac_path_EGREP_max=$ac_count
5463
    fi
5464
    # 10*(2^10) chars as input seems more than enough
5465
    test $ac_count -gt 10 && break
5466
  done
5467
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5468
esac
5469
 
5470
      $ac_path_EGREP_found && break 3
5471
    done
5472
  done
5473
done
5474
IFS=$as_save_IFS
5475
  if test -z "$ac_cv_path_EGREP"; then
5476
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5477
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5478
   { (exit 1); exit 1; }; }
5479
  fi
5480
else
5481
  ac_cv_path_EGREP=$EGREP
5482
fi
5483
 
5484
   fi
5485
fi
5486
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5487
$as_echo "$ac_cv_path_EGREP" >&6; }
5488
 EGREP="$ac_cv_path_EGREP"
5489
 
5490
 
5491
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5492
$as_echo_n "checking for fgrep... " >&6; }
5493
if test "${ac_cv_path_FGREP+set}" = set; then
5494
  $as_echo_n "(cached) " >&6
5495
else
5496
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5497
   then ac_cv_path_FGREP="$GREP -F"
5498
   else
5499
     if test -z "$FGREP"; then
5500
  ac_path_FGREP_found=false
5501
  # Loop through the user's path and test for each of PROGNAME-LIST
5502
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5504
do
5505
  IFS=$as_save_IFS
5506
  test -z "$as_dir" && as_dir=.
5507
  for ac_prog in fgrep; do
5508
    for ac_exec_ext in '' $ac_executable_extensions; do
5509
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5510
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5511
# Check for GNU ac_path_FGREP and select it if it is found.
5512
  # Check for GNU $ac_path_FGREP
5513
case `"$ac_path_FGREP" --version 2>&1` in
5514
*GNU*)
5515
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5516
*)
5517
  ac_count=0
5518
  $as_echo_n 0123456789 >"conftest.in"
5519
  while :
5520
  do
5521
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5522
    mv "conftest.tmp" "conftest.in"
5523
    cp "conftest.in" "conftest.nl"
5524
    $as_echo 'FGREP' >> "conftest.nl"
5525
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5526
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5527
    ac_count=`expr $ac_count + 1`
5528
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5529
      # Best one so far, save it but keep looking for a better one
5530
      ac_cv_path_FGREP="$ac_path_FGREP"
5531
      ac_path_FGREP_max=$ac_count
5532
    fi
5533
    # 10*(2^10) chars as input seems more than enough
5534
    test $ac_count -gt 10 && break
5535
  done
5536
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5537
esac
5538
 
5539
      $ac_path_FGREP_found && break 3
5540
    done
5541
  done
5542
done
5543
IFS=$as_save_IFS
5544
  if test -z "$ac_cv_path_FGREP"; then
5545
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5546
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5547
   { (exit 1); exit 1; }; }
5548
  fi
5549
else
5550
  ac_cv_path_FGREP=$FGREP
5551
fi
5552
 
5553
   fi
5554
fi
5555
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5556
$as_echo "$ac_cv_path_FGREP" >&6; }
5557
 FGREP="$ac_cv_path_FGREP"
5558
 
5559
 
5560
test -z "$GREP" && GREP=grep
5561
 
5562
 
5563
 
5564
 
5565
 
5566
 
5567
 
5568
 
5569
 
5570
 
5571
 
5572
 
5573
 
5574
 
5575
 
5576
 
5577
 
5578
 
5579
 
5580
# Check whether --with-gnu-ld was given.
5581
if test "${with_gnu_ld+set}" = set; then
5582
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5583
else
5584
  with_gnu_ld=no
5585
fi
5586
 
5587
ac_prog=ld
5588
if test "$GCC" = yes; then
5589
  # Check if gcc -print-prog-name=ld gives a path.
5590
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5591
$as_echo_n "checking for ld used by $CC... " >&6; }
5592
  case $host in
5593
  *-*-mingw*)
5594
    # gcc leaves a trailing carriage return which upsets mingw
5595
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5596
  *)
5597
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5598
  esac
5599
  case $ac_prog in
5600
    # Accept absolute paths.
5601
    [\\/]* | ?:[\\/]*)
5602
      re_direlt='/[^/][^/]*/\.\./'
5603
      # Canonicalize the pathname of ld
5604
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5605
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5606
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5607
      done
5608
      test -z "$LD" && LD="$ac_prog"
5609
      ;;
5610
  "")
5611
    # If it fails, then pretend we aren't using GCC.
5612
    ac_prog=ld
5613
    ;;
5614
  *)
5615
    # If it is relative, then search for the first ld in PATH.
5616
    with_gnu_ld=unknown
5617
    ;;
5618
  esac
5619
elif test "$with_gnu_ld" = yes; then
5620
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5621
$as_echo_n "checking for GNU ld... " >&6; }
5622
else
5623
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5624
$as_echo_n "checking for non-GNU ld... " >&6; }
5625
fi
5626
if test "${lt_cv_path_LD+set}" = set; then
5627
  $as_echo_n "(cached) " >&6
5628
else
5629
  if test -z "$LD"; then
5630
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5631
  for ac_dir in $PATH; do
5632
    IFS="$lt_save_ifs"
5633
    test -z "$ac_dir" && ac_dir=.
5634
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5635
      lt_cv_path_LD="$ac_dir/$ac_prog"
5636
      # Check to see if the program is GNU ld.  I'd rather use --version,
5637
      # but apparently some variants of GNU ld only accept -v.
5638
      # Break only if it was the GNU/non-GNU ld that we prefer.
5639
      case `"$lt_cv_path_LD" -v 2>&1 
5640
      *GNU* | *'with BFD'*)
5641
        test "$with_gnu_ld" != no && break
5642
        ;;
5643
      *)
5644
        test "$with_gnu_ld" != yes && break
5645
        ;;
5646
      esac
5647
    fi
5648
  done
5649
  IFS="$lt_save_ifs"
5650
else
5651
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5652
fi
5653
fi
5654
 
5655
LD="$lt_cv_path_LD"
5656
if test -n "$LD"; then
5657
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
5658
$as_echo "$LD" >&6; }
5659
else
5660
  { $as_echo "$as_me:$LINENO: result: no" >&5
5661
$as_echo "no" >&6; }
5662
fi
5663
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5664
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5665
   { (exit 1); exit 1; }; }
5666
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5667
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5668
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5669
  $as_echo_n "(cached) " >&6
5670
else
5671
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5672
case `$LD -v 2>&1 
5673
*GNU* | *'with BFD'*)
5674
  lt_cv_prog_gnu_ld=yes
5675
  ;;
5676
*)
5677
  lt_cv_prog_gnu_ld=no
5678
  ;;
5679
esac
5680
fi
5681
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5682
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5683
with_gnu_ld=$lt_cv_prog_gnu_ld
5684
 
5685
 
5686
 
5687
 
5688
 
5689
 
5690
 
5691
 
5692
 
5693
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5694
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5695
if test "${lt_cv_path_NM+set}" = set; then
5696
  $as_echo_n "(cached) " >&6
5697
else
5698
  if test -n "$NM"; then
5699
  # Let the user override the test.
5700
  lt_cv_path_NM="$NM"
5701
else
5702
  lt_nm_to_check="${ac_tool_prefix}nm"
5703
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5704
    lt_nm_to_check="$lt_nm_to_check nm"
5705
  fi
5706
  for lt_tmp_nm in $lt_nm_to_check; do
5707
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5708
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5709
      IFS="$lt_save_ifs"
5710
      test -z "$ac_dir" && ac_dir=.
5711
      tmp_nm="$ac_dir/$lt_tmp_nm"
5712
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5713
        # Check to see if the nm accepts a BSD-compat flag.
5714
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5715
        #   nm: unknown option "B" ignored
5716
        # Tru64's nm complains that /dev/null is an invalid object file
5717
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5718
        */dev/null* | *'Invalid file or object type'*)
5719
          lt_cv_path_NM="$tmp_nm -B"
5720
          break
5721
          ;;
5722
        *)
5723
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5724
          */dev/null*)
5725
            lt_cv_path_NM="$tmp_nm -p"
5726
            break
5727
            ;;
5728
          *)
5729
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5730
            continue # so that we can try to find one that supports BSD flags
5731
            ;;
5732
          esac
5733
          ;;
5734
        esac
5735
      fi
5736
    done
5737
    IFS="$lt_save_ifs"
5738
  done
5739
  : ${lt_cv_path_NM=no}
5740
fi
5741
fi
5742
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5743
$as_echo "$lt_cv_path_NM" >&6; }
5744
if test "$lt_cv_path_NM" != "no"; then
5745
  NM="$lt_cv_path_NM"
5746
else
5747
  # Didn't find any BSD compatible name lister, look for dumpbin.
5748
  if test -n "$ac_tool_prefix"; then
5749
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5750
  do
5751
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5752
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5753
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5754
$as_echo_n "checking for $ac_word... " >&6; }
5755
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5756
  $as_echo_n "(cached) " >&6
5757
else
5758
  if test -n "$DUMPBIN"; then
5759
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5760
else
5761
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762
for as_dir in $PATH
5763
do
5764
  IFS=$as_save_IFS
5765
  test -z "$as_dir" && as_dir=.
5766
  for ac_exec_ext in '' $ac_executable_extensions; do
5767
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5768
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5769
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5770
    break 2
5771
  fi
5772
done
5773
done
5774
IFS=$as_save_IFS
5775
 
5776
fi
5777
fi
5778
DUMPBIN=$ac_cv_prog_DUMPBIN
5779
if test -n "$DUMPBIN"; then
5780
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5781
$as_echo "$DUMPBIN" >&6; }
5782
else
5783
  { $as_echo "$as_me:$LINENO: result: no" >&5
5784
$as_echo "no" >&6; }
5785
fi
5786
 
5787
 
5788
    test -n "$DUMPBIN" && break
5789
  done
5790
fi
5791
if test -z "$DUMPBIN"; then
5792
  ac_ct_DUMPBIN=$DUMPBIN
5793
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5794
do
5795
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5796
set dummy $ac_prog; ac_word=$2
5797
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5798
$as_echo_n "checking for $ac_word... " >&6; }
5799
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5800
  $as_echo_n "(cached) " >&6
5801
else
5802
  if test -n "$ac_ct_DUMPBIN"; then
5803
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5804
else
5805
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806
for as_dir in $PATH
5807
do
5808
  IFS=$as_save_IFS
5809
  test -z "$as_dir" && as_dir=.
5810
  for ac_exec_ext in '' $ac_executable_extensions; do
5811
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5813
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5814
    break 2
5815
  fi
5816
done
5817
done
5818
IFS=$as_save_IFS
5819
 
5820
fi
5821
fi
5822
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5823
if test -n "$ac_ct_DUMPBIN"; then
5824
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5825
$as_echo "$ac_ct_DUMPBIN" >&6; }
5826
else
5827
  { $as_echo "$as_me:$LINENO: result: no" >&5
5828
$as_echo "no" >&6; }
5829
fi
5830
 
5831
 
5832
  test -n "$ac_ct_DUMPBIN" && break
5833
done
5834
 
5835
  if test "x$ac_ct_DUMPBIN" = x; then
5836
    DUMPBIN=":"
5837
  else
5838
    case $cross_compiling:$ac_tool_warned in
5839
yes:)
5840
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5841
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5842
ac_tool_warned=yes ;;
5843
esac
5844
    DUMPBIN=$ac_ct_DUMPBIN
5845
  fi
5846
fi
5847
 
5848
 
5849
  if test "$DUMPBIN" != ":"; then
5850
    NM="$DUMPBIN"
5851
  fi
5852
fi
5853
test -z "$NM" && NM=nm
5854
 
5855
 
5856
 
5857
 
5858
 
5859
 
5860
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5861
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5862
if test "${lt_cv_nm_interface+set}" = set; then
5863
  $as_echo_n "(cached) " >&6
5864
else
5865
  lt_cv_nm_interface="BSD nm"
5866
  echo "int some_variable = 0;" > conftest.$ac_ext
5867
  (eval echo "\"\$as_me:5867: $ac_compile\"" >&5)
5868
  (eval "$ac_compile" 2>conftest.err)
5869
  cat conftest.err >&5
5870
  (eval echo "\"\$as_me:5870: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5871
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5872
  cat conftest.err >&5
5873
  (eval echo "\"\$as_me:5873: output\"" >&5)
5874
  cat conftest.out >&5
5875
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5876
    lt_cv_nm_interface="MS dumpbin"
5877
  fi
5878
  rm -f conftest*
5879
fi
5880
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5881
$as_echo "$lt_cv_nm_interface" >&6; }
5882
 
5883
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5884
$as_echo_n "checking whether ln -s works... " >&6; }
5885
LN_S=$as_ln_s
5886
if test "$LN_S" = "ln -s"; then
5887
  { $as_echo "$as_me:$LINENO: result: yes" >&5
5888
$as_echo "yes" >&6; }
5889
else
5890
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5891
$as_echo "no, using $LN_S" >&6; }
5892
fi
5893
 
5894
# find the maximum length of command line arguments
5895
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5896
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5897
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5898
  $as_echo_n "(cached) " >&6
5899
else
5900
    i=0
5901
  teststring="ABCD"
5902
 
5903
  case $build_os in
5904
  msdosdjgpp*)
5905
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5906
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5907
    # during glob expansion).  Even if it were fixed, the result of this
5908
    # check would be larger than it should be.
5909
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5910
    ;;
5911
 
5912
  gnu*)
5913
    # Under GNU Hurd, this test is not required because there is
5914
    # no limit to the length of command line arguments.
5915
    # Libtool will interpret -1 as no limit whatsoever
5916
    lt_cv_sys_max_cmd_len=-1;
5917
    ;;
5918
 
5919
  cygwin* | mingw* | cegcc*)
5920
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5921
    # about 5 minutes as the teststring grows exponentially.
5922
    # Worse, since 9x/ME are not pre-emptively multitasking,
5923
    # you end up with a "frozen" computer, even though with patience
5924
    # the test eventually succeeds (with a max line length of 256k).
5925
    # Instead, let's just punt: use the minimum linelength reported by
5926
    # all of the supported platforms: 8192 (on NT/2K/XP).
5927
    lt_cv_sys_max_cmd_len=8192;
5928
    ;;
5929
 
5930
  amigaos*)
5931
    # On AmigaOS with pdksh, this test takes hours, literally.
5932
    # So we just punt and use a minimum line length of 8192.
5933
    lt_cv_sys_max_cmd_len=8192;
5934
    ;;
5935
 
5936
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5937
    # This has been around since 386BSD, at least.  Likely further.
5938
    if test -x /sbin/sysctl; then
5939
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5940
    elif test -x /usr/sbin/sysctl; then
5941
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5942
    else
5943
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5944
    fi
5945
    # And add a safety zone
5946
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5947
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5948
    ;;
5949
 
5950
  interix*)
5951
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5952
    lt_cv_sys_max_cmd_len=196608
5953
    ;;
5954
 
5955
  osf*)
5956
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5957
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5958
    # nice to cause kernel panics so lets avoid the loop below.
5959
    # First set a reasonable default.
5960
    lt_cv_sys_max_cmd_len=16384
5961
    #
5962
    if test -x /sbin/sysconfig; then
5963
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5964
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5965
      esac
5966
    fi
5967
    ;;
5968
  sco3.2v5*)
5969
    lt_cv_sys_max_cmd_len=102400
5970
    ;;
5971
  sysv5* | sco5v6* | sysv4.2uw2*)
5972
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5973
    if test -n "$kargmax"; then
5974
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5975
    else
5976
      lt_cv_sys_max_cmd_len=32768
5977
    fi
5978
    ;;
5979
  *)
5980
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5981
    if test -n "$lt_cv_sys_max_cmd_len"; then
5982
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5983
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5984
    else
5985
      # Make teststring a little bigger before we do anything with it.
5986
      # a 1K string should be a reasonable start.
5987
      for i in 1 2 3 4 5 6 7 8 ; do
5988
        teststring=$teststring$teststring
5989
      done
5990
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5991
      # If test is not a shell built-in, we'll probably end up computing a
5992
      # maximum length that is only half of the actual maximum length, but
5993
      # we can't tell.
5994
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5995
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5996
              test $i != 17 # 1/2 MB should be enough
5997
      do
5998
        i=`expr $i + 1`
5999
        teststring=$teststring$teststring
6000
      done
6001
      # Only check the string length outside the loop.
6002
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6003
      teststring=
6004
      # Add a significant safety factor because C++ compilers can tack on
6005
      # massive amounts of additional arguments before passing them to the
6006
      # linker.  It appears as though 1/2 is a usable value.
6007
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6008
    fi
6009
    ;;
6010
  esac
6011
 
6012
fi
6013
 
6014
if test -n $lt_cv_sys_max_cmd_len ; then
6015
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6016
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6017
else
6018
  { $as_echo "$as_me:$LINENO: result: none" >&5
6019
$as_echo "none" >&6; }
6020
fi
6021
max_cmd_len=$lt_cv_sys_max_cmd_len
6022
 
6023
 
6024
 
6025
 
6026
 
6027
 
6028
: ${CP="cp -f"}
6029
: ${MV="mv -f"}
6030
: ${RM="rm -f"}
6031
 
6032
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6033
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6034
# Try some XSI features
6035
xsi_shell=no
6036
( _lt_dummy="a/b/c"
6037
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6038
      = c,a/b,, \
6039
    && eval 'test $(( 1 + 1 )) -eq 2 \
6040
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6041
  && xsi_shell=yes
6042
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
6043
$as_echo "$xsi_shell" >&6; }
6044
 
6045
 
6046
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6047
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6048
lt_shell_append=no
6049
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6050
    >/dev/null 2>&1 \
6051
  && lt_shell_append=yes
6052
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6053
$as_echo "$lt_shell_append" >&6; }
6054
 
6055
 
6056
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6057
  lt_unset=unset
6058
else
6059
  lt_unset=false
6060
fi
6061
 
6062
 
6063
 
6064
 
6065
 
6066
# test EBCDIC or ASCII
6067
case `echo X|tr X '\101'` in
6068
 A) # ASCII based system
6069
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6070
  lt_SP2NL='tr \040 \012'
6071
  lt_NL2SP='tr \015\012 \040\040'
6072
  ;;
6073
 *) # EBCDIC based system
6074
  lt_SP2NL='tr \100 \n'
6075
  lt_NL2SP='tr \r\n \100\100'
6076
  ;;
6077
esac
6078
 
6079
 
6080
 
6081
 
6082
 
6083
 
6084
 
6085
 
6086
 
6087
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6088
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6089
if test "${lt_cv_ld_reload_flag+set}" = set; then
6090
  $as_echo_n "(cached) " >&6
6091
else
6092
  lt_cv_ld_reload_flag='-r'
6093
fi
6094
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6095
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6096
reload_flag=$lt_cv_ld_reload_flag
6097
case $reload_flag in
6098
"" | " "*) ;;
6099
*) reload_flag=" $reload_flag" ;;
6100
esac
6101
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6102
case $host_os in
6103
  darwin*)
6104
    if test "$GCC" = yes; then
6105
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6106
    else
6107
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6108
    fi
6109
    ;;
6110
esac
6111
 
6112
 
6113
 
6114
 
6115
 
6116
 
6117
 
6118
 
6119
 
6120
if test -n "$ac_tool_prefix"; then
6121
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6122
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6123
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6124
$as_echo_n "checking for $ac_word... " >&6; }
6125
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6126
  $as_echo_n "(cached) " >&6
6127
else
6128
  if test -n "$OBJDUMP"; then
6129
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6130
else
6131
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132
for as_dir in $PATH
6133
do
6134
  IFS=$as_save_IFS
6135
  test -z "$as_dir" && as_dir=.
6136
  for ac_exec_ext in '' $ac_executable_extensions; do
6137
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6138
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6139
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6140
    break 2
6141
  fi
6142
done
6143
done
6144
IFS=$as_save_IFS
6145
 
6146
fi
6147
fi
6148
OBJDUMP=$ac_cv_prog_OBJDUMP
6149
if test -n "$OBJDUMP"; then
6150
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6151
$as_echo "$OBJDUMP" >&6; }
6152
else
6153
  { $as_echo "$as_me:$LINENO: result: no" >&5
6154
$as_echo "no" >&6; }
6155
fi
6156
 
6157
 
6158
fi
6159
if test -z "$ac_cv_prog_OBJDUMP"; then
6160
  ac_ct_OBJDUMP=$OBJDUMP
6161
  # Extract the first word of "objdump", so it can be a program name with args.
6162
set dummy objdump; ac_word=$2
6163
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6164
$as_echo_n "checking for $ac_word... " >&6; }
6165
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6166
  $as_echo_n "(cached) " >&6
6167
else
6168
  if test -n "$ac_ct_OBJDUMP"; then
6169
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6170
else
6171
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6172
for as_dir in $PATH
6173
do
6174
  IFS=$as_save_IFS
6175
  test -z "$as_dir" && as_dir=.
6176
  for ac_exec_ext in '' $ac_executable_extensions; do
6177
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6178
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6179
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6180
    break 2
6181
  fi
6182
done
6183
done
6184
IFS=$as_save_IFS
6185
 
6186
fi
6187
fi
6188
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6189
if test -n "$ac_ct_OBJDUMP"; then
6190
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6191
$as_echo "$ac_ct_OBJDUMP" >&6; }
6192
else
6193
  { $as_echo "$as_me:$LINENO: result: no" >&5
6194
$as_echo "no" >&6; }
6195
fi
6196
 
6197
  if test "x$ac_ct_OBJDUMP" = x; then
6198
    OBJDUMP="false"
6199
  else
6200
    case $cross_compiling:$ac_tool_warned in
6201
yes:)
6202
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6203
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6204
ac_tool_warned=yes ;;
6205
esac
6206
    OBJDUMP=$ac_ct_OBJDUMP
6207
  fi
6208
else
6209
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6210
fi
6211
 
6212
test -z "$OBJDUMP" && OBJDUMP=objdump
6213
 
6214
 
6215
 
6216
 
6217
 
6218
 
6219
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6220
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6221
if test "${lt_cv_deplibs_check_method+set}" = set; then
6222
  $as_echo_n "(cached) " >&6
6223
else
6224
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6225
lt_cv_file_magic_test_file=
6226
lt_cv_deplibs_check_method='unknown'
6227
# Need to set the preceding variable on all platforms that support
6228
# interlibrary dependencies.
6229
# 'none' -- dependencies not supported.
6230
# `unknown' -- same as none, but documents that we really don't know.
6231
# 'pass_all' -- all dependencies passed with no checks.
6232
# 'test_compile' -- check by making test program.
6233
# 'file_magic [[regex]]' -- check by looking for files in library path
6234
# which responds to the $file_magic_cmd with a given extended regex.
6235
# If you have `file' or equivalent on your system and you're not sure
6236
# whether `pass_all' will *always* work, you probably want this one.
6237
 
6238
case $host_os in
6239
aix[4-9]*)
6240
  lt_cv_deplibs_check_method=pass_all
6241
  ;;
6242
 
6243
beos*)
6244
  lt_cv_deplibs_check_method=pass_all
6245
  ;;
6246
 
6247
bsdi[45]*)
6248
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6249
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6250
  lt_cv_file_magic_test_file=/shlib/libc.so
6251
  ;;
6252
 
6253
cygwin*)
6254
  # func_win32_libid is a shell function defined in ltmain.sh
6255
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6256
  lt_cv_file_magic_cmd='func_win32_libid'
6257
  ;;
6258
 
6259
mingw* | pw32*)
6260
  # Base MSYS/MinGW do not provide the 'file' command needed by
6261
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6262
  # unless we find 'file', for example because we are cross-compiling.
6263
  if ( file / ) >/dev/null 2>&1; then
6264
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6265
    lt_cv_file_magic_cmd='func_win32_libid'
6266
  else
6267
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6268
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6269
  fi
6270
  ;;
6271
 
6272
cegcc)
6273
  # use the weaker test based on 'objdump'. See mingw*.
6274
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6275
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6276
  ;;
6277
 
6278
darwin* | rhapsody*)
6279
  lt_cv_deplibs_check_method=pass_all
6280
  ;;
6281
 
6282
freebsd* | dragonfly*)
6283
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6284
    case $host_cpu in
6285
    i*86 )
6286
      # Not sure whether the presence of OpenBSD here was a mistake.
6287
      # Let's accept both of them until this is cleared up.
6288
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6289
      lt_cv_file_magic_cmd=/usr/bin/file
6290
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6291
      ;;
6292
    esac
6293
  else
6294
    lt_cv_deplibs_check_method=pass_all
6295
  fi
6296
  ;;
6297
 
6298
gnu*)
6299
  lt_cv_deplibs_check_method=pass_all
6300
  ;;
6301
 
6302
hpux10.20* | hpux11*)
6303
  lt_cv_file_magic_cmd=/usr/bin/file
6304
  case $host_cpu in
6305
  ia64*)
6306
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6307
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6308
    ;;
6309
  hppa*64*)
6310
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6311
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6312
    ;;
6313
  *)
6314
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6315
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6316
    ;;
6317
  esac
6318
  ;;
6319
 
6320
interix[3-9]*)
6321
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6322
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6323
  ;;
6324
 
6325
irix5* | irix6* | nonstopux*)
6326
  case $LD in
6327
  *-32|*"-32 ") libmagic=32-bit;;
6328
  *-n32|*"-n32 ") libmagic=N32;;
6329
  *-64|*"-64 ") libmagic=64-bit;;
6330
  *) libmagic=never-match;;
6331
  esac
6332
  lt_cv_deplibs_check_method=pass_all
6333
  ;;
6334
 
6335
# This must be Linux ELF.
6336
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6337
  lt_cv_deplibs_check_method=pass_all
6338
  ;;
6339
 
6340
netbsd*)
6341
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6342
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6343
  else
6344
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6345
  fi
6346
  ;;
6347
 
6348
newos6*)
6349
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6350
  lt_cv_file_magic_cmd=/usr/bin/file
6351
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6352
  ;;
6353
 
6354
*nto* | *qnx*)
6355
  lt_cv_deplibs_check_method=pass_all
6356
  ;;
6357
 
6358
openbsd*)
6359
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6360
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6361
  else
6362
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6363
  fi
6364
  ;;
6365
 
6366
osf3* | osf4* | osf5*)
6367
  lt_cv_deplibs_check_method=pass_all
6368
  ;;
6369
 
6370
rdos*)
6371
  lt_cv_deplibs_check_method=pass_all
6372
  ;;
6373
 
6374
solaris*)
6375
  lt_cv_deplibs_check_method=pass_all
6376
  ;;
6377
 
6378
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6379
  lt_cv_deplibs_check_method=pass_all
6380
  ;;
6381
 
6382
sysv4 | sysv4.3*)
6383
  case $host_vendor in
6384
  motorola)
6385
    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]'
6386
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6387
    ;;
6388
  ncr)
6389
    lt_cv_deplibs_check_method=pass_all
6390
    ;;
6391
  sequent)
6392
    lt_cv_file_magic_cmd='/bin/file'
6393
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6394
    ;;
6395
  sni)
6396
    lt_cv_file_magic_cmd='/bin/file'
6397
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6398
    lt_cv_file_magic_test_file=/lib/libc.so
6399
    ;;
6400
  siemens)
6401
    lt_cv_deplibs_check_method=pass_all
6402
    ;;
6403
  pc)
6404
    lt_cv_deplibs_check_method=pass_all
6405
    ;;
6406
  esac
6407
  ;;
6408
 
6409
tpf*)
6410
  lt_cv_deplibs_check_method=pass_all
6411
  ;;
6412
esac
6413
 
6414
fi
6415
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6416
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6417
file_magic_cmd=$lt_cv_file_magic_cmd
6418
deplibs_check_method=$lt_cv_deplibs_check_method
6419
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6420
 
6421
 
6422
 
6423
 
6424
 
6425
 
6426
 
6427
 
6428
 
6429
 
6430
 
6431
 
6432
if test -n "$ac_tool_prefix"; then
6433
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6434
set dummy ${ac_tool_prefix}ar; ac_word=$2
6435
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6436
$as_echo_n "checking for $ac_word... " >&6; }
6437
if test "${ac_cv_prog_AR+set}" = set; then
6438
  $as_echo_n "(cached) " >&6
6439
else
6440
  if test -n "$AR"; then
6441
  ac_cv_prog_AR="$AR" # Let the user override the test.
6442
else
6443
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6444
for as_dir in $PATH
6445
do
6446
  IFS=$as_save_IFS
6447
  test -z "$as_dir" && as_dir=.
6448
  for ac_exec_ext in '' $ac_executable_extensions; do
6449
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6450
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6451
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6452
    break 2
6453
  fi
6454
done
6455
done
6456
IFS=$as_save_IFS
6457
 
6458
fi
6459
fi
6460
AR=$ac_cv_prog_AR
6461
if test -n "$AR"; then
6462
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
6463
$as_echo "$AR" >&6; }
6464
else
6465
  { $as_echo "$as_me:$LINENO: result: no" >&5
6466
$as_echo "no" >&6; }
6467
fi
6468
 
6469
 
6470
fi
6471
if test -z "$ac_cv_prog_AR"; then
6472
  ac_ct_AR=$AR
6473
  # Extract the first word of "ar", so it can be a program name with args.
6474
set dummy ar; ac_word=$2
6475
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6476
$as_echo_n "checking for $ac_word... " >&6; }
6477
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6478
  $as_echo_n "(cached) " >&6
6479
else
6480
  if test -n "$ac_ct_AR"; then
6481
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6482
else
6483
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6484
for as_dir in $PATH
6485
do
6486
  IFS=$as_save_IFS
6487
  test -z "$as_dir" && as_dir=.
6488
  for ac_exec_ext in '' $ac_executable_extensions; do
6489
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6490
    ac_cv_prog_ac_ct_AR="ar"
6491
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6492
    break 2
6493
  fi
6494
done
6495
done
6496
IFS=$as_save_IFS
6497
 
6498
fi
6499
fi
6500
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6501
if test -n "$ac_ct_AR"; then
6502
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6503
$as_echo "$ac_ct_AR" >&6; }
6504
else
6505
  { $as_echo "$as_me:$LINENO: result: no" >&5
6506
$as_echo "no" >&6; }
6507
fi
6508
 
6509
  if test "x$ac_ct_AR" = x; then
6510
    AR="false"
6511
  else
6512
    case $cross_compiling:$ac_tool_warned in
6513
yes:)
6514
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6515
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6516
ac_tool_warned=yes ;;
6517
esac
6518
    AR=$ac_ct_AR
6519
  fi
6520
else
6521
  AR="$ac_cv_prog_AR"
6522
fi
6523
 
6524
test -z "$AR" && AR=ar
6525
test -z "$AR_FLAGS" && AR_FLAGS=cru
6526
 
6527
 
6528
 
6529
 
6530
 
6531
 
6532
 
6533
 
6534
 
6535
 
6536
 
6537
if test -n "$ac_tool_prefix"; then
6538
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6539
set dummy ${ac_tool_prefix}strip; ac_word=$2
6540
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6541
$as_echo_n "checking for $ac_word... " >&6; }
6542
if test "${ac_cv_prog_STRIP+set}" = set; then
6543
  $as_echo_n "(cached) " >&6
6544
else
6545
  if test -n "$STRIP"; then
6546
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6547
else
6548
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549
for as_dir in $PATH
6550
do
6551
  IFS=$as_save_IFS
6552
  test -z "$as_dir" && as_dir=.
6553
  for ac_exec_ext in '' $ac_executable_extensions; do
6554
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6556
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6557
    break 2
6558
  fi
6559
done
6560
done
6561
IFS=$as_save_IFS
6562
 
6563
fi
6564
fi
6565
STRIP=$ac_cv_prog_STRIP
6566
if test -n "$STRIP"; then
6567
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6568
$as_echo "$STRIP" >&6; }
6569
else
6570
  { $as_echo "$as_me:$LINENO: result: no" >&5
6571
$as_echo "no" >&6; }
6572
fi
6573
 
6574
 
6575
fi
6576
if test -z "$ac_cv_prog_STRIP"; then
6577
  ac_ct_STRIP=$STRIP
6578
  # Extract the first word of "strip", so it can be a program name with args.
6579
set dummy strip; ac_word=$2
6580
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6581
$as_echo_n "checking for $ac_word... " >&6; }
6582
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6583
  $as_echo_n "(cached) " >&6
6584
else
6585
  if test -n "$ac_ct_STRIP"; then
6586
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6587
else
6588
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589
for as_dir in $PATH
6590
do
6591
  IFS=$as_save_IFS
6592
  test -z "$as_dir" && as_dir=.
6593
  for ac_exec_ext in '' $ac_executable_extensions; do
6594
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6595
    ac_cv_prog_ac_ct_STRIP="strip"
6596
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6597
    break 2
6598
  fi
6599
done
6600
done
6601
IFS=$as_save_IFS
6602
 
6603
fi
6604
fi
6605
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6606
if test -n "$ac_ct_STRIP"; then
6607
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6608
$as_echo "$ac_ct_STRIP" >&6; }
6609
else
6610
  { $as_echo "$as_me:$LINENO: result: no" >&5
6611
$as_echo "no" >&6; }
6612
fi
6613
 
6614
  if test "x$ac_ct_STRIP" = x; then
6615
    STRIP=":"
6616
  else
6617
    case $cross_compiling:$ac_tool_warned in
6618
yes:)
6619
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6620
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6621
ac_tool_warned=yes ;;
6622
esac
6623
    STRIP=$ac_ct_STRIP
6624
  fi
6625
else
6626
  STRIP="$ac_cv_prog_STRIP"
6627
fi
6628
 
6629
test -z "$STRIP" && STRIP=:
6630
 
6631
 
6632
 
6633
 
6634
 
6635
 
6636
if test -n "$ac_tool_prefix"; then
6637
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6638
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6639
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6640
$as_echo_n "checking for $ac_word... " >&6; }
6641
if test "${ac_cv_prog_RANLIB+set}" = set; then
6642
  $as_echo_n "(cached) " >&6
6643
else
6644
  if test -n "$RANLIB"; then
6645
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6646
else
6647
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648
for as_dir in $PATH
6649
do
6650
  IFS=$as_save_IFS
6651
  test -z "$as_dir" && as_dir=.
6652
  for ac_exec_ext in '' $ac_executable_extensions; do
6653
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6654
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6655
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6656
    break 2
6657
  fi
6658
done
6659
done
6660
IFS=$as_save_IFS
6661
 
6662
fi
6663
fi
6664
RANLIB=$ac_cv_prog_RANLIB
6665
if test -n "$RANLIB"; then
6666
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6667
$as_echo "$RANLIB" >&6; }
6668
else
6669
  { $as_echo "$as_me:$LINENO: result: no" >&5
6670
$as_echo "no" >&6; }
6671
fi
6672
 
6673
 
6674
fi
6675
if test -z "$ac_cv_prog_RANLIB"; then
6676
  ac_ct_RANLIB=$RANLIB
6677
  # Extract the first word of "ranlib", so it can be a program name with args.
6678
set dummy ranlib; ac_word=$2
6679
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6680
$as_echo_n "checking for $ac_word... " >&6; }
6681
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6682
  $as_echo_n "(cached) " >&6
6683
else
6684
  if test -n "$ac_ct_RANLIB"; then
6685
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6686
else
6687
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688
for as_dir in $PATH
6689
do
6690
  IFS=$as_save_IFS
6691
  test -z "$as_dir" && as_dir=.
6692
  for ac_exec_ext in '' $ac_executable_extensions; do
6693
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6695
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6696
    break 2
6697
  fi
6698
done
6699
done
6700
IFS=$as_save_IFS
6701
 
6702
fi
6703
fi
6704
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6705
if test -n "$ac_ct_RANLIB"; then
6706
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6707
$as_echo "$ac_ct_RANLIB" >&6; }
6708
else
6709
  { $as_echo "$as_me:$LINENO: result: no" >&5
6710
$as_echo "no" >&6; }
6711
fi
6712
 
6713
  if test "x$ac_ct_RANLIB" = x; then
6714
    RANLIB=":"
6715
  else
6716
    case $cross_compiling:$ac_tool_warned in
6717
yes:)
6718
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6719
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6720
ac_tool_warned=yes ;;
6721
esac
6722
    RANLIB=$ac_ct_RANLIB
6723
  fi
6724
else
6725
  RANLIB="$ac_cv_prog_RANLIB"
6726
fi
6727
 
6728
test -z "$RANLIB" && RANLIB=:
6729
 
6730
 
6731
 
6732
 
6733
 
6734
 
6735
# Determine commands to create old-style static archives.
6736
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6737
old_postinstall_cmds='chmod 644 $oldlib'
6738
old_postuninstall_cmds=
6739
 
6740
if test -n "$RANLIB"; then
6741
  case $host_os in
6742
  openbsd*)
6743
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6744
    ;;
6745
  *)
6746
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6747
    ;;
6748
  esac
6749
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6750
fi
6751
 
6752
 
6753
 
6754
 
6755
 
6756
 
6757
 
6758
 
6759
 
6760
 
6761
 
6762
 
6763
 
6764
 
6765
 
6766
 
6767
 
6768
 
6769
 
6770
 
6771
 
6772
 
6773
 
6774
 
6775
 
6776
 
6777
 
6778
 
6779
 
6780
 
6781
 
6782
 
6783
 
6784
 
6785
# If no C compiler was specified, use CC.
6786
LTCC=${LTCC-"$CC"}
6787
 
6788
# If no C compiler flags were specified, use CFLAGS.
6789
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6790
 
6791
# Allow CC to be a program name with arguments.
6792
compiler=$CC
6793
 
6794
 
6795
# Check for command to grab the raw symbol name followed by C symbol from nm.
6796
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6797
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6798
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6799
  $as_echo_n "(cached) " >&6
6800
else
6801
 
6802
# These are sane defaults that work on at least a few old systems.
6803
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6804
 
6805
# Character class describing NM global symbol codes.
6806
symcode='[BCDEGRST]'
6807
 
6808
# Regexp to match symbols that can be accessed directly from C.
6809
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6810
 
6811
# Define system-specific variables.
6812
case $host_os in
6813
aix*)
6814
  symcode='[BCDT]'
6815
  ;;
6816
cygwin* | mingw* | pw32* | cegcc*)
6817
  symcode='[ABCDGISTW]'
6818
  ;;
6819
hpux*)
6820
  if test "$host_cpu" = ia64; then
6821
    symcode='[ABCDEGRST]'
6822
  fi
6823
  ;;
6824
irix* | nonstopux*)
6825
  symcode='[BCDEGRST]'
6826
  ;;
6827
osf*)
6828
  symcode='[BCDEGQRST]'
6829
  ;;
6830
solaris*)
6831
  symcode='[BDRT]'
6832
  ;;
6833
sco3.2v5*)
6834
  symcode='[DT]'
6835
  ;;
6836
sysv4.2uw2*)
6837
  symcode='[DT]'
6838
  ;;
6839
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6840
  symcode='[ABDT]'
6841
  ;;
6842
sysv4)
6843
  symcode='[DFNSTU]'
6844
  ;;
6845
esac
6846
 
6847
# If we're using GNU nm, then use its standard symbol codes.
6848
case `$NM -V 2>&1` in
6849
*GNU* | *'with BFD'*)
6850
  symcode='[ABCDGIRSTW]' ;;
6851
esac
6852
 
6853
# Transform an extracted symbol line into a proper C declaration.
6854
# Some systems (esp. on ia64) link data and code symbols differently,
6855
# so use this general approach.
6856
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6857
 
6858
# Transform an extracted symbol line into symbol name and symbol address
6859
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6860
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'"
6861
 
6862
# Handle CRLF in mingw tool chain
6863
opt_cr=
6864
case $build_os in
6865
mingw*)
6866
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6867
  ;;
6868
esac
6869
 
6870
# Try without a prefix underscore, then with it.
6871
for ac_symprfx in "" "_"; do
6872
 
6873
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6874
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6875
 
6876
  # Write the raw and C identifiers.
6877
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6878
    # Fake it for dumpbin and say T for any non-static function
6879
    # and D for any global variable.
6880
    # Also find C++ and __fastcall symbols from MSVC++,
6881
    # which start with @ or ?.
6882
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6883
"     {last_section=section; section=\$ 3};"\
6884
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6885
"     \$ 0!~/External *\|/{next};"\
6886
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6887
"     {if(hide[section]) next};"\
6888
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6889
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6890
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6891
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6892
"     ' prfx=^$ac_symprfx"
6893
  else
6894
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6895
  fi
6896
 
6897
  # Check to see that the pipe works correctly.
6898
  pipe_works=no
6899
 
6900
  rm -f conftest*
6901
  cat > conftest.$ac_ext <<_LT_EOF
6902
#ifdef __cplusplus
6903
extern "C" {
6904
#endif
6905
char nm_test_var;
6906
void nm_test_func(void);
6907
void nm_test_func(void){}
6908
#ifdef __cplusplus
6909
}
6910
#endif
6911
int main(){nm_test_var='a';nm_test_func();return(0);}
6912
_LT_EOF
6913
 
6914
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6915
  (eval $ac_compile) 2>&5
6916
  ac_status=$?
6917
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918
  (exit $ac_status); }; then
6919
    # Now try to grab the symbols.
6920
    nlist=conftest.nm
6921
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6922
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6923
  ac_status=$?
6924
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925
  (exit $ac_status); } && test -s "$nlist"; then
6926
      # Try sorting and uniquifying the output.
6927
      if sort "$nlist" | uniq > "$nlist"T; then
6928
        mv -f "$nlist"T "$nlist"
6929
      else
6930
        rm -f "$nlist"T
6931
      fi
6932
 
6933
      # Make sure that we snagged all the symbols we need.
6934
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6935
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6936
          cat <<_LT_EOF > conftest.$ac_ext
6937
#ifdef __cplusplus
6938
extern "C" {
6939
#endif
6940
 
6941
_LT_EOF
6942
          # Now generate the symbol file.
6943
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6944
 
6945
          cat <<_LT_EOF >> conftest.$ac_ext
6946
 
6947
/* The mapping between symbol names and symbols.  */
6948
const struct {
6949
  const char *name;
6950
  void       *address;
6951
}
6952
lt__PROGRAM__LTX_preloaded_symbols[] =
6953
{
6954
  { "@PROGRAM@", (void *) 0 },
6955
_LT_EOF
6956
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6957
          cat <<\_LT_EOF >> conftest.$ac_ext
6958
  {0, (void *) 0}
6959
};
6960
 
6961
/* This works around a problem in FreeBSD linker */
6962
#ifdef FREEBSD_WORKAROUND
6963
static const void *lt_preloaded_setup() {
6964
  return lt__PROGRAM__LTX_preloaded_symbols;
6965
}
6966
#endif
6967
 
6968
#ifdef __cplusplus
6969
}
6970
#endif
6971
_LT_EOF
6972
          # Now try linking the two files.
6973
          mv conftest.$ac_objext conftstm.$ac_objext
6974
          lt_save_LIBS="$LIBS"
6975
          lt_save_CFLAGS="$CFLAGS"
6976
          LIBS="conftstm.$ac_objext"
6977
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6978
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6979
  (eval $ac_link) 2>&5
6980
  ac_status=$?
6981
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6983
            pipe_works=yes
6984
          fi
6985
          LIBS="$lt_save_LIBS"
6986
          CFLAGS="$lt_save_CFLAGS"
6987
        else
6988
          echo "cannot find nm_test_func in $nlist" >&5
6989
        fi
6990
      else
6991
        echo "cannot find nm_test_var in $nlist" >&5
6992
      fi
6993
    else
6994
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6995
    fi
6996
  else
6997
    echo "$progname: failed program was:" >&5
6998
    cat conftest.$ac_ext >&5
6999
  fi
7000
  rm -rf conftest* conftst*
7001
 
7002
  # Do not use the global_symbol_pipe unless it works.
7003
  if test "$pipe_works" = yes; then
7004
    break
7005
  else
7006
    lt_cv_sys_global_symbol_pipe=
7007
  fi
7008
done
7009
 
7010
fi
7011
 
7012
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7013
  lt_cv_sys_global_symbol_to_cdecl=
7014
fi
7015
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7016
  { $as_echo "$as_me:$LINENO: result: failed" >&5
7017
$as_echo "failed" >&6; }
7018
else
7019
  { $as_echo "$as_me:$LINENO: result: ok" >&5
7020
$as_echo "ok" >&6; }
7021
fi
7022
 
7023
 
7024
 
7025
 
7026
 
7027
 
7028
 
7029
 
7030
 
7031
 
7032
 
7033
 
7034
 
7035
 
7036
 
7037
 
7038
 
7039
 
7040
 
7041
 
7042
 
7043
 
7044
 
7045
# Check whether --enable-libtool-lock was given.
7046
if test "${enable_libtool_lock+set}" = set; then
7047
  enableval=$enable_libtool_lock;
7048
fi
7049
 
7050
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7051
 
7052
# Some flags need to be propagated to the compiler or linker for good
7053
# libtool support.
7054
case $host in
7055
ia64-*-hpux*)
7056
  # Find out which ABI we are using.
7057
  echo 'int i;' > conftest.$ac_ext
7058
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7059
  (eval $ac_compile) 2>&5
7060
  ac_status=$?
7061
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062
  (exit $ac_status); }; then
7063
    case `/usr/bin/file conftest.$ac_objext` in
7064
      *ELF-32*)
7065
        HPUX_IA64_MODE="32"
7066
        ;;
7067
      *ELF-64*)
7068
        HPUX_IA64_MODE="64"
7069
        ;;
7070
    esac
7071
  fi
7072
  rm -rf conftest*
7073
  ;;
7074
*-*-irix6*)
7075
  # Find out which ABI we are using.
7076
  echo '#line 7076 "configure"' > conftest.$ac_ext
7077
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7078
  (eval $ac_compile) 2>&5
7079
  ac_status=$?
7080
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081
  (exit $ac_status); }; then
7082
    if test "$lt_cv_prog_gnu_ld" = yes; then
7083
      case `/usr/bin/file conftest.$ac_objext` in
7084
        *32-bit*)
7085
          LD="${LD-ld} -melf32bsmip"
7086
          ;;
7087
        *N32*)
7088
          LD="${LD-ld} -melf32bmipn32"
7089
          ;;
7090
        *64-bit*)
7091
          LD="${LD-ld} -melf64bmip"
7092
        ;;
7093
      esac
7094
    else
7095
      case `/usr/bin/file conftest.$ac_objext` in
7096
        *32-bit*)
7097
          LD="${LD-ld} -32"
7098
          ;;
7099
        *N32*)
7100
          LD="${LD-ld} -n32"
7101
          ;;
7102
        *64-bit*)
7103
          LD="${LD-ld} -64"
7104
          ;;
7105
      esac
7106
    fi
7107
  fi
7108
  rm -rf conftest*
7109
  ;;
7110
 
7111
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7112
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7113
  # Find out which ABI we are using.
7114
  echo 'int i;' > conftest.$ac_ext
7115
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7116
  (eval $ac_compile) 2>&5
7117
  ac_status=$?
7118
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119
  (exit $ac_status); }; then
7120
    case `/usr/bin/file conftest.o` in
7121
      *32-bit*)
7122
        case $host in
7123
          x86_64-*kfreebsd*-gnu)
7124
            LD="${LD-ld} -m elf_i386_fbsd"
7125
            ;;
7126
          x86_64-*linux*)
7127
            LD="${LD-ld} -m elf_i386"
7128
            ;;
7129
          ppc64-*linux*|powerpc64-*linux*)
7130
            LD="${LD-ld} -m elf32ppclinux"
7131
            ;;
7132
          s390x-*linux*)
7133
            LD="${LD-ld} -m elf_s390"
7134
            ;;
7135
          sparc64-*linux*)
7136
            LD="${LD-ld} -m elf32_sparc"
7137
            ;;
7138
        esac
7139
        ;;
7140
      *64-bit*)
7141
        case $host in
7142
          x86_64-*kfreebsd*-gnu)
7143
            LD="${LD-ld} -m elf_x86_64_fbsd"
7144
            ;;
7145
          x86_64-*linux*)
7146
            LD="${LD-ld} -m elf_x86_64"
7147
            ;;
7148
          ppc*-*linux*|powerpc*-*linux*)
7149
            LD="${LD-ld} -m elf64ppc"
7150
            ;;
7151
          s390*-*linux*|s390*-*tpf*)
7152
            LD="${LD-ld} -m elf64_s390"
7153
            ;;
7154
          sparc*-*linux*)
7155
            LD="${LD-ld} -m elf64_sparc"
7156
            ;;
7157
        esac
7158
        ;;
7159
    esac
7160
  fi
7161
  rm -rf conftest*
7162
  ;;
7163
 
7164
*-*-sco3.2v5*)
7165
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7166
  SAVE_CFLAGS="$CFLAGS"
7167
  CFLAGS="$CFLAGS -belf"
7168
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7169
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7170
if test "${lt_cv_cc_needs_belf+set}" = set; then
7171
  $as_echo_n "(cached) " >&6
7172
else
7173
  ac_ext=c
7174
ac_cpp='$CPP $CPPFLAGS'
7175
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7176
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7177
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7178
 
7179
     cat >conftest.$ac_ext <<_ACEOF
7180
/* confdefs.h.  */
7181
_ACEOF
7182
cat confdefs.h >>conftest.$ac_ext
7183
cat >>conftest.$ac_ext <<_ACEOF
7184
/* end confdefs.h.  */
7185
 
7186
int
7187
main ()
7188
{
7189
 
7190
  ;
7191
  return 0;
7192
}
7193
_ACEOF
7194
rm -f conftest.$ac_objext conftest$ac_exeext
7195
if { (ac_try="$ac_link"
7196
case "(($ac_try" in
7197
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7198
  *) ac_try_echo=$ac_try;;
7199
esac
7200
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7201
$as_echo "$ac_try_echo") >&5
7202
  (eval "$ac_link") 2>conftest.er1
7203
  ac_status=$?
7204
  grep -v '^ *+' conftest.er1 >conftest.err
7205
  rm -f conftest.er1
7206
  cat conftest.err >&5
7207
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208
  (exit $ac_status); } && {
7209
         test -z "$ac_c_werror_flag" ||
7210
         test ! -s conftest.err
7211
       } && test -s conftest$ac_exeext && {
7212
         test "$cross_compiling" = yes ||
7213
         $as_test_x conftest$ac_exeext
7214
       }; then
7215
  lt_cv_cc_needs_belf=yes
7216
else
7217
  $as_echo "$as_me: failed program was:" >&5
7218
sed 's/^/| /' conftest.$ac_ext >&5
7219
 
7220
        lt_cv_cc_needs_belf=no
7221
fi
7222
 
7223
rm -rf conftest.dSYM
7224
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7225
      conftest$ac_exeext conftest.$ac_ext
7226
     ac_ext=c
7227
ac_cpp='$CPP $CPPFLAGS'
7228
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7229
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7230
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7231
 
7232
fi
7233
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7234
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7235
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7236
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7237
    CFLAGS="$SAVE_CFLAGS"
7238
  fi
7239
  ;;
7240
sparc*-*solaris*)
7241
  # Find out which ABI we are using.
7242
  echo 'int i;' > conftest.$ac_ext
7243
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7244
  (eval $ac_compile) 2>&5
7245
  ac_status=$?
7246
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247
  (exit $ac_status); }; then
7248
    case `/usr/bin/file conftest.o` in
7249
    *64-bit*)
7250
      case $lt_cv_prog_gnu_ld in
7251
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7252
      *)
7253
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7254
          LD="${LD-ld} -64"
7255
        fi
7256
        ;;
7257
      esac
7258
      ;;
7259
    esac
7260
  fi
7261
  rm -rf conftest*
7262
  ;;
7263
esac
7264
 
7265
need_locks="$enable_libtool_lock"
7266
 
7267
 
7268
  case $host_os in
7269
    rhapsody* | darwin*)
7270
    if test -n "$ac_tool_prefix"; then
7271
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7272
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7273
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7274
$as_echo_n "checking for $ac_word... " >&6; }
7275
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7276
  $as_echo_n "(cached) " >&6
7277
else
7278
  if test -n "$DSYMUTIL"; then
7279
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7280
else
7281
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282
for as_dir in $PATH
7283
do
7284
  IFS=$as_save_IFS
7285
  test -z "$as_dir" && as_dir=.
7286
  for ac_exec_ext in '' $ac_executable_extensions; do
7287
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7289
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7290
    break 2
7291
  fi
7292
done
7293
done
7294
IFS=$as_save_IFS
7295
 
7296
fi
7297
fi
7298
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7299
if test -n "$DSYMUTIL"; then
7300
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7301
$as_echo "$DSYMUTIL" >&6; }
7302
else
7303
  { $as_echo "$as_me:$LINENO: result: no" >&5
7304
$as_echo "no" >&6; }
7305
fi
7306
 
7307
 
7308
fi
7309
if test -z "$ac_cv_prog_DSYMUTIL"; then
7310
  ac_ct_DSYMUTIL=$DSYMUTIL
7311
  # Extract the first word of "dsymutil", so it can be a program name with args.
7312
set dummy dsymutil; ac_word=$2
7313
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7314
$as_echo_n "checking for $ac_word... " >&6; }
7315
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7316
  $as_echo_n "(cached) " >&6
7317
else
7318
  if test -n "$ac_ct_DSYMUTIL"; then
7319
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7320
else
7321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7322
for as_dir in $PATH
7323
do
7324
  IFS=$as_save_IFS
7325
  test -z "$as_dir" && as_dir=.
7326
  for ac_exec_ext in '' $ac_executable_extensions; do
7327
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7328
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7329
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7330
    break 2
7331
  fi
7332
done
7333
done
7334
IFS=$as_save_IFS
7335
 
7336
fi
7337
fi
7338
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7339
if test -n "$ac_ct_DSYMUTIL"; then
7340
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7341
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7342
else
7343
  { $as_echo "$as_me:$LINENO: result: no" >&5
7344
$as_echo "no" >&6; }
7345
fi
7346
 
7347
  if test "x$ac_ct_DSYMUTIL" = x; then
7348
    DSYMUTIL=":"
7349
  else
7350
    case $cross_compiling:$ac_tool_warned in
7351
yes:)
7352
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7353
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7354
ac_tool_warned=yes ;;
7355
esac
7356
    DSYMUTIL=$ac_ct_DSYMUTIL
7357
  fi
7358
else
7359
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7360
fi
7361
 
7362
    if test -n "$ac_tool_prefix"; then
7363
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7364
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7365
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7366
$as_echo_n "checking for $ac_word... " >&6; }
7367
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7368
  $as_echo_n "(cached) " >&6
7369
else
7370
  if test -n "$NMEDIT"; then
7371
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7372
else
7373
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374
for as_dir in $PATH
7375
do
7376
  IFS=$as_save_IFS
7377
  test -z "$as_dir" && as_dir=.
7378
  for ac_exec_ext in '' $ac_executable_extensions; do
7379
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7381
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7382
    break 2
7383
  fi
7384
done
7385
done
7386
IFS=$as_save_IFS
7387
 
7388
fi
7389
fi
7390
NMEDIT=$ac_cv_prog_NMEDIT
7391
if test -n "$NMEDIT"; then
7392
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7393
$as_echo "$NMEDIT" >&6; }
7394
else
7395
  { $as_echo "$as_me:$LINENO: result: no" >&5
7396
$as_echo "no" >&6; }
7397
fi
7398
 
7399
 
7400
fi
7401
if test -z "$ac_cv_prog_NMEDIT"; then
7402
  ac_ct_NMEDIT=$NMEDIT
7403
  # Extract the first word of "nmedit", so it can be a program name with args.
7404
set dummy nmedit; ac_word=$2
7405
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7406
$as_echo_n "checking for $ac_word... " >&6; }
7407
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7408
  $as_echo_n "(cached) " >&6
7409
else
7410
  if test -n "$ac_ct_NMEDIT"; then
7411
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7412
else
7413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7414
for as_dir in $PATH
7415
do
7416
  IFS=$as_save_IFS
7417
  test -z "$as_dir" && as_dir=.
7418
  for ac_exec_ext in '' $ac_executable_extensions; do
7419
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7420
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7421
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7422
    break 2
7423
  fi
7424
done
7425
done
7426
IFS=$as_save_IFS
7427
 
7428
fi
7429
fi
7430
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7431
if test -n "$ac_ct_NMEDIT"; then
7432
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7433
$as_echo "$ac_ct_NMEDIT" >&6; }
7434
else
7435
  { $as_echo "$as_me:$LINENO: result: no" >&5
7436
$as_echo "no" >&6; }
7437
fi
7438
 
7439
  if test "x$ac_ct_NMEDIT" = x; then
7440
    NMEDIT=":"
7441
  else
7442
    case $cross_compiling:$ac_tool_warned in
7443
yes:)
7444
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7445
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7446
ac_tool_warned=yes ;;
7447
esac
7448
    NMEDIT=$ac_ct_NMEDIT
7449
  fi
7450
else
7451
  NMEDIT="$ac_cv_prog_NMEDIT"
7452
fi
7453
 
7454
    if test -n "$ac_tool_prefix"; then
7455
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7456
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7457
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7458
$as_echo_n "checking for $ac_word... " >&6; }
7459
if test "${ac_cv_prog_LIPO+set}" = set; then
7460
  $as_echo_n "(cached) " >&6
7461
else
7462
  if test -n "$LIPO"; then
7463
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7464
else
7465
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466
for as_dir in $PATH
7467
do
7468
  IFS=$as_save_IFS
7469
  test -z "$as_dir" && as_dir=.
7470
  for ac_exec_ext in '' $ac_executable_extensions; do
7471
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7472
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7473
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7474
    break 2
7475
  fi
7476
done
7477
done
7478
IFS=$as_save_IFS
7479
 
7480
fi
7481
fi
7482
LIPO=$ac_cv_prog_LIPO
7483
if test -n "$LIPO"; then
7484
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7485
$as_echo "$LIPO" >&6; }
7486
else
7487
  { $as_echo "$as_me:$LINENO: result: no" >&5
7488
$as_echo "no" >&6; }
7489
fi
7490
 
7491
 
7492
fi
7493
if test -z "$ac_cv_prog_LIPO"; then
7494
  ac_ct_LIPO=$LIPO
7495
  # Extract the first word of "lipo", so it can be a program name with args.
7496
set dummy lipo; ac_word=$2
7497
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7498
$as_echo_n "checking for $ac_word... " >&6; }
7499
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7500
  $as_echo_n "(cached) " >&6
7501
else
7502
  if test -n "$ac_ct_LIPO"; then
7503
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7504
else
7505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7506
for as_dir in $PATH
7507
do
7508
  IFS=$as_save_IFS
7509
  test -z "$as_dir" && as_dir=.
7510
  for ac_exec_ext in '' $ac_executable_extensions; do
7511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7512
    ac_cv_prog_ac_ct_LIPO="lipo"
7513
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7514
    break 2
7515
  fi
7516
done
7517
done
7518
IFS=$as_save_IFS
7519
 
7520
fi
7521
fi
7522
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7523
if test -n "$ac_ct_LIPO"; then
7524
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7525
$as_echo "$ac_ct_LIPO" >&6; }
7526
else
7527
  { $as_echo "$as_me:$LINENO: result: no" >&5
7528
$as_echo "no" >&6; }
7529
fi
7530
 
7531
  if test "x$ac_ct_LIPO" = x; then
7532
    LIPO=":"
7533
  else
7534
    case $cross_compiling:$ac_tool_warned in
7535
yes:)
7536
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7537
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7538
ac_tool_warned=yes ;;
7539
esac
7540
    LIPO=$ac_ct_LIPO
7541
  fi
7542
else
7543
  LIPO="$ac_cv_prog_LIPO"
7544
fi
7545
 
7546
    if test -n "$ac_tool_prefix"; then
7547
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7548
set dummy ${ac_tool_prefix}otool; ac_word=$2
7549
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7550
$as_echo_n "checking for $ac_word... " >&6; }
7551
if test "${ac_cv_prog_OTOOL+set}" = set; then
7552
  $as_echo_n "(cached) " >&6
7553
else
7554
  if test -n "$OTOOL"; then
7555
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7556
else
7557
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558
for as_dir in $PATH
7559
do
7560
  IFS=$as_save_IFS
7561
  test -z "$as_dir" && as_dir=.
7562
  for ac_exec_ext in '' $ac_executable_extensions; do
7563
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7565
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7566
    break 2
7567
  fi
7568
done
7569
done
7570
IFS=$as_save_IFS
7571
 
7572
fi
7573
fi
7574
OTOOL=$ac_cv_prog_OTOOL
7575
if test -n "$OTOOL"; then
7576
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7577
$as_echo "$OTOOL" >&6; }
7578
else
7579
  { $as_echo "$as_me:$LINENO: result: no" >&5
7580
$as_echo "no" >&6; }
7581
fi
7582
 
7583
 
7584
fi
7585
if test -z "$ac_cv_prog_OTOOL"; then
7586
  ac_ct_OTOOL=$OTOOL
7587
  # Extract the first word of "otool", so it can be a program name with args.
7588
set dummy otool; ac_word=$2
7589
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7590
$as_echo_n "checking for $ac_word... " >&6; }
7591
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7592
  $as_echo_n "(cached) " >&6
7593
else
7594
  if test -n "$ac_ct_OTOOL"; then
7595
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7596
else
7597
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598
for as_dir in $PATH
7599
do
7600
  IFS=$as_save_IFS
7601
  test -z "$as_dir" && as_dir=.
7602
  for ac_exec_ext in '' $ac_executable_extensions; do
7603
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7604
    ac_cv_prog_ac_ct_OTOOL="otool"
7605
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7606
    break 2
7607
  fi
7608
done
7609
done
7610
IFS=$as_save_IFS
7611
 
7612
fi
7613
fi
7614
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7615
if test -n "$ac_ct_OTOOL"; then
7616
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7617
$as_echo "$ac_ct_OTOOL" >&6; }
7618
else
7619
  { $as_echo "$as_me:$LINENO: result: no" >&5
7620
$as_echo "no" >&6; }
7621
fi
7622
 
7623
  if test "x$ac_ct_OTOOL" = x; then
7624
    OTOOL=":"
7625
  else
7626
    case $cross_compiling:$ac_tool_warned in
7627
yes:)
7628
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7629
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7630
ac_tool_warned=yes ;;
7631
esac
7632
    OTOOL=$ac_ct_OTOOL
7633
  fi
7634
else
7635
  OTOOL="$ac_cv_prog_OTOOL"
7636
fi
7637
 
7638
    if test -n "$ac_tool_prefix"; then
7639
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7640
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7641
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7642
$as_echo_n "checking for $ac_word... " >&6; }
7643
if test "${ac_cv_prog_OTOOL64+set}" = set; then
7644
  $as_echo_n "(cached) " >&6
7645
else
7646
  if test -n "$OTOOL64"; then
7647
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7648
else
7649
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650
for as_dir in $PATH
7651
do
7652
  IFS=$as_save_IFS
7653
  test -z "$as_dir" && as_dir=.
7654
  for ac_exec_ext in '' $ac_executable_extensions; do
7655
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7657
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7658
    break 2
7659
  fi
7660
done
7661
done
7662
IFS=$as_save_IFS
7663
 
7664
fi
7665
fi
7666
OTOOL64=$ac_cv_prog_OTOOL64
7667
if test -n "$OTOOL64"; then
7668
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7669
$as_echo "$OTOOL64" >&6; }
7670
else
7671
  { $as_echo "$as_me:$LINENO: result: no" >&5
7672
$as_echo "no" >&6; }
7673
fi
7674
 
7675
 
7676
fi
7677
if test -z "$ac_cv_prog_OTOOL64"; then
7678
  ac_ct_OTOOL64=$OTOOL64
7679
  # Extract the first word of "otool64", so it can be a program name with args.
7680
set dummy otool64; ac_word=$2
7681
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7682
$as_echo_n "checking for $ac_word... " >&6; }
7683
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7684
  $as_echo_n "(cached) " >&6
7685
else
7686
  if test -n "$ac_ct_OTOOL64"; then
7687
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7688
else
7689
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7690
for as_dir in $PATH
7691
do
7692
  IFS=$as_save_IFS
7693
  test -z "$as_dir" && as_dir=.
7694
  for ac_exec_ext in '' $ac_executable_extensions; do
7695
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7696
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7697
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7698
    break 2
7699
  fi
7700
done
7701
done
7702
IFS=$as_save_IFS
7703
 
7704
fi
7705
fi
7706
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7707
if test -n "$ac_ct_OTOOL64"; then
7708
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7709
$as_echo "$ac_ct_OTOOL64" >&6; }
7710
else
7711
  { $as_echo "$as_me:$LINENO: result: no" >&5
7712
$as_echo "no" >&6; }
7713
fi
7714
 
7715
  if test "x$ac_ct_OTOOL64" = x; then
7716
    OTOOL64=":"
7717
  else
7718
    case $cross_compiling:$ac_tool_warned in
7719
yes:)
7720
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7721
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7722
ac_tool_warned=yes ;;
7723
esac
7724
    OTOOL64=$ac_ct_OTOOL64
7725
  fi
7726
else
7727
  OTOOL64="$ac_cv_prog_OTOOL64"
7728
fi
7729
 
7730
 
7731
 
7732
 
7733
 
7734
 
7735
 
7736
 
7737
 
7738
 
7739
 
7740
 
7741
 
7742
 
7743
 
7744
 
7745
 
7746
 
7747
 
7748
 
7749
 
7750
 
7751
 
7752
 
7753
 
7754
 
7755
 
7756
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7757
$as_echo_n "checking for -single_module linker flag... " >&6; }
7758
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7759
  $as_echo_n "(cached) " >&6
7760
else
7761
  lt_cv_apple_cc_single_mod=no
7762
      if test -z "${LT_MULTI_MODULE}"; then
7763
        # By default we will add the -single_module flag. You can override
7764
        # by either setting the environment variable LT_MULTI_MODULE
7765
        # non-empty at configure time, or by adding -multi_module to the
7766
        # link flags.
7767
        rm -rf libconftest.dylib*
7768
        echo "int foo(void){return 1;}" > conftest.c
7769
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7770
-dynamiclib -Wl,-single_module conftest.c" >&5
7771
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7772
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7773
        _lt_result=$?
7774
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7775
          lt_cv_apple_cc_single_mod=yes
7776
        else
7777
          cat conftest.err >&5
7778
        fi
7779
        rm -rf libconftest.dylib*
7780
        rm -f conftest.*
7781
      fi
7782
fi
7783
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7784
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7785
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7786
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7787
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7788
  $as_echo_n "(cached) " >&6
7789
else
7790
  lt_cv_ld_exported_symbols_list=no
7791
      save_LDFLAGS=$LDFLAGS
7792
      echo "_main" > conftest.sym
7793
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7794
      cat >conftest.$ac_ext <<_ACEOF
7795
/* confdefs.h.  */
7796
_ACEOF
7797
cat confdefs.h >>conftest.$ac_ext
7798
cat >>conftest.$ac_ext <<_ACEOF
7799
/* end confdefs.h.  */
7800
 
7801
int
7802
main ()
7803
{
7804
 
7805
  ;
7806
  return 0;
7807
}
7808
_ACEOF
7809
rm -f conftest.$ac_objext conftest$ac_exeext
7810
if { (ac_try="$ac_link"
7811
case "(($ac_try" in
7812
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7813
  *) ac_try_echo=$ac_try;;
7814
esac
7815
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7816
$as_echo "$ac_try_echo") >&5
7817
  (eval "$ac_link") 2>conftest.er1
7818
  ac_status=$?
7819
  grep -v '^ *+' conftest.er1 >conftest.err
7820
  rm -f conftest.er1
7821
  cat conftest.err >&5
7822
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823
  (exit $ac_status); } && {
7824
         test -z "$ac_c_werror_flag" ||
7825
         test ! -s conftest.err
7826
       } && test -s conftest$ac_exeext && {
7827
         test "$cross_compiling" = yes ||
7828
         $as_test_x conftest$ac_exeext
7829
       }; then
7830
  lt_cv_ld_exported_symbols_list=yes
7831
else
7832
  $as_echo "$as_me: failed program was:" >&5
7833
sed 's/^/| /' conftest.$ac_ext >&5
7834
 
7835
        lt_cv_ld_exported_symbols_list=no
7836
fi
7837
 
7838
rm -rf conftest.dSYM
7839
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7840
      conftest$ac_exeext conftest.$ac_ext
7841
        LDFLAGS="$save_LDFLAGS"
7842
 
7843
fi
7844
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7845
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7846
    case $host_os in
7847
    rhapsody* | darwin1.[012])
7848
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7849
    darwin1.*)
7850
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7851
    darwin*) # darwin 5.x on
7852
      # if running on 10.5 or later, the deployment target defaults
7853
      # to the OS version, if on x86, and 10.4, the deployment
7854
      # target defaults to 10.4. Don't you love it?
7855
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7856
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7857
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7858
        10.[012]*)
7859
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7860
        10.*)
7861
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7862
      esac
7863
    ;;
7864
  esac
7865
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7866
      _lt_dar_single_mod='$single_module'
7867
    fi
7868
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7869
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7870
    else
7871
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7872
    fi
7873
    if test "$DSYMUTIL" != ":"; then
7874
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7875
    else
7876
      _lt_dsymutil=
7877
    fi
7878
    ;;
7879
  esac
7880
 
7881
ac_ext=c
7882
ac_cpp='$CPP $CPPFLAGS'
7883
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7884
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7885
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7886
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7887
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7888
# On Suns, sometimes $CPP names a directory.
7889
if test -n "$CPP" && test -d "$CPP"; then
7890
  CPP=
7891
fi
7892
if test -z "$CPP"; then
7893
  if test "${ac_cv_prog_CPP+set}" = set; then
7894
  $as_echo_n "(cached) " >&6
7895
else
7896
      # Double quotes because CPP needs to be expanded
7897
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7898
    do
7899
      ac_preproc_ok=false
7900
for ac_c_preproc_warn_flag in '' yes
7901
do
7902
  # Use a header file that comes with gcc, so configuring glibc
7903
  # with a fresh cross-compiler works.
7904
  # Prefer  to  if __STDC__ is defined, since
7905
  #  exists even on freestanding compilers.
7906
  # On the NeXT, cc -E runs the code through the compiler's parser,
7907
  # not just through cpp. "Syntax error" is here to catch this case.
7908
  cat >conftest.$ac_ext <<_ACEOF
7909
/* confdefs.h.  */
7910
_ACEOF
7911
cat confdefs.h >>conftest.$ac_ext
7912
cat >>conftest.$ac_ext <<_ACEOF
7913
/* end confdefs.h.  */
7914
#ifdef __STDC__
7915
# include 
7916
#else
7917
# include 
7918
#endif
7919
                     Syntax error
7920
_ACEOF
7921
if { (ac_try="$ac_cpp conftest.$ac_ext"
7922
case "(($ac_try" in
7923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7924
  *) ac_try_echo=$ac_try;;
7925
esac
7926
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7927
$as_echo "$ac_try_echo") >&5
7928
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7929
  ac_status=$?
7930
  grep -v '^ *+' conftest.er1 >conftest.err
7931
  rm -f conftest.er1
7932
  cat conftest.err >&5
7933
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934
  (exit $ac_status); } >/dev/null && {
7935
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7936
         test ! -s conftest.err
7937
       }; then
7938
  :
7939
else
7940
  $as_echo "$as_me: failed program was:" >&5
7941
sed 's/^/| /' conftest.$ac_ext >&5
7942
 
7943
  # Broken: fails on valid input.
7944
continue
7945
fi
7946
 
7947
rm -f conftest.err conftest.$ac_ext
7948
 
7949
  # OK, works on sane cases.  Now check whether nonexistent headers
7950
  # can be detected and how.
7951
  cat >conftest.$ac_ext <<_ACEOF
7952
/* confdefs.h.  */
7953
_ACEOF
7954
cat confdefs.h >>conftest.$ac_ext
7955
cat >>conftest.$ac_ext <<_ACEOF
7956
/* end confdefs.h.  */
7957
#include 
7958
_ACEOF
7959
if { (ac_try="$ac_cpp conftest.$ac_ext"
7960
case "(($ac_try" in
7961
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7962
  *) ac_try_echo=$ac_try;;
7963
esac
7964
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7965
$as_echo "$ac_try_echo") >&5
7966
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7967
  ac_status=$?
7968
  grep -v '^ *+' conftest.er1 >conftest.err
7969
  rm -f conftest.er1
7970
  cat conftest.err >&5
7971
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972
  (exit $ac_status); } >/dev/null && {
7973
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7974
         test ! -s conftest.err
7975
       }; then
7976
  # Broken: success on invalid input.
7977
continue
7978
else
7979
  $as_echo "$as_me: failed program was:" >&5
7980
sed 's/^/| /' conftest.$ac_ext >&5
7981
 
7982
  # Passes both tests.
7983
ac_preproc_ok=:
7984
break
7985
fi
7986
 
7987
rm -f conftest.err conftest.$ac_ext
7988
 
7989
done
7990
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7991
rm -f conftest.err conftest.$ac_ext
7992
if $ac_preproc_ok; then
7993
  break
7994
fi
7995
 
7996
    done
7997
    ac_cv_prog_CPP=$CPP
7998
 
7999
fi
8000
  CPP=$ac_cv_prog_CPP
8001
else
8002
  ac_cv_prog_CPP=$CPP
8003
fi
8004
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
8005
$as_echo "$CPP" >&6; }
8006
ac_preproc_ok=false
8007
for ac_c_preproc_warn_flag in '' yes
8008
do
8009
  # Use a header file that comes with gcc, so configuring glibc
8010
  # with a fresh cross-compiler works.
8011
  # Prefer  to  if __STDC__ is defined, since
8012
  #  exists even on freestanding compilers.
8013
  # On the NeXT, cc -E runs the code through the compiler's parser,
8014
  # not just through cpp. "Syntax error" is here to catch this case.
8015
  cat >conftest.$ac_ext <<_ACEOF
8016
/* confdefs.h.  */
8017
_ACEOF
8018
cat confdefs.h >>conftest.$ac_ext
8019
cat >>conftest.$ac_ext <<_ACEOF
8020
/* end confdefs.h.  */
8021
#ifdef __STDC__
8022
# include 
8023
#else
8024
# include 
8025
#endif
8026
                     Syntax error
8027
_ACEOF
8028
if { (ac_try="$ac_cpp conftest.$ac_ext"
8029
case "(($ac_try" in
8030
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8031
  *) ac_try_echo=$ac_try;;
8032
esac
8033
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8034
$as_echo "$ac_try_echo") >&5
8035
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8036
  ac_status=$?
8037
  grep -v '^ *+' conftest.er1 >conftest.err
8038
  rm -f conftest.er1
8039
  cat conftest.err >&5
8040
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8041
  (exit $ac_status); } >/dev/null && {
8042
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8043
         test ! -s conftest.err
8044
       }; then
8045
  :
8046
else
8047
  $as_echo "$as_me: failed program was:" >&5
8048
sed 's/^/| /' conftest.$ac_ext >&5
8049
 
8050
  # Broken: fails on valid input.
8051
continue
8052
fi
8053
 
8054
rm -f conftest.err conftest.$ac_ext
8055
 
8056
  # OK, works on sane cases.  Now check whether nonexistent headers
8057
  # can be detected and how.
8058
  cat >conftest.$ac_ext <<_ACEOF
8059
/* confdefs.h.  */
8060
_ACEOF
8061
cat confdefs.h >>conftest.$ac_ext
8062
cat >>conftest.$ac_ext <<_ACEOF
8063
/* end confdefs.h.  */
8064
#include 
8065
_ACEOF
8066
if { (ac_try="$ac_cpp conftest.$ac_ext"
8067
case "(($ac_try" in
8068
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8069
  *) ac_try_echo=$ac_try;;
8070
esac
8071
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8072
$as_echo "$ac_try_echo") >&5
8073
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8074
  ac_status=$?
8075
  grep -v '^ *+' conftest.er1 >conftest.err
8076
  rm -f conftest.er1
8077
  cat conftest.err >&5
8078
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079
  (exit $ac_status); } >/dev/null && {
8080
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8081
         test ! -s conftest.err
8082
       }; then
8083
  # Broken: success on invalid input.
8084
continue
8085
else
8086
  $as_echo "$as_me: failed program was:" >&5
8087
sed 's/^/| /' conftest.$ac_ext >&5
8088
 
8089
  # Passes both tests.
8090
ac_preproc_ok=:
8091
break
8092
fi
8093
 
8094
rm -f conftest.err conftest.$ac_ext
8095
 
8096
done
8097
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8098
rm -f conftest.err conftest.$ac_ext
8099
if $ac_preproc_ok; then
8100
  :
8101
else
8102
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8103
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8104
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
8105
See \`config.log' for more details." >&5
8106
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
8107
See \`config.log' for more details." >&2;}
8108
   { (exit 1); exit 1; }; }; }
8109
fi
8110
 
8111
ac_ext=c
8112
ac_cpp='$CPP $CPPFLAGS'
8113
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8114
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8115
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8116
 
8117
 
8118
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8119
$as_echo_n "checking for ANSI C header files... " >&6; }
8120
if test "${ac_cv_header_stdc+set}" = set; then
8121
  $as_echo_n "(cached) " >&6
8122
else
8123
  cat >conftest.$ac_ext <<_ACEOF
8124
/* confdefs.h.  */
8125
_ACEOF
8126
cat confdefs.h >>conftest.$ac_ext
8127
cat >>conftest.$ac_ext <<_ACEOF
8128
/* end confdefs.h.  */
8129
#include 
8130
#include 
8131
#include 
8132
#include 
8133
 
8134
int
8135
main ()
8136
{
8137
 
8138
  ;
8139
  return 0;
8140
}
8141
_ACEOF
8142
rm -f conftest.$ac_objext
8143
if { (ac_try="$ac_compile"
8144
case "(($ac_try" in
8145
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8146
  *) ac_try_echo=$ac_try;;
8147
esac
8148
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8149
$as_echo "$ac_try_echo") >&5
8150
  (eval "$ac_compile") 2>conftest.er1
8151
  ac_status=$?
8152
  grep -v '^ *+' conftest.er1 >conftest.err
8153
  rm -f conftest.er1
8154
  cat conftest.err >&5
8155
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156
  (exit $ac_status); } && {
8157
         test -z "$ac_c_werror_flag" ||
8158
         test ! -s conftest.err
8159
       } && test -s conftest.$ac_objext; then
8160
  ac_cv_header_stdc=yes
8161
else
8162
  $as_echo "$as_me: failed program was:" >&5
8163
sed 's/^/| /' conftest.$ac_ext >&5
8164
 
8165
        ac_cv_header_stdc=no
8166
fi
8167
 
8168
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8169
 
8170
if test $ac_cv_header_stdc = yes; then
8171
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8172
  cat >conftest.$ac_ext <<_ACEOF
8173
/* confdefs.h.  */
8174
_ACEOF
8175
cat confdefs.h >>conftest.$ac_ext
8176
cat >>conftest.$ac_ext <<_ACEOF
8177
/* end confdefs.h.  */
8178
#include 
8179
 
8180
_ACEOF
8181
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8182
  $EGREP "memchr" >/dev/null 2>&1; then
8183
  :
8184
else
8185
  ac_cv_header_stdc=no
8186
fi
8187
rm -f conftest*
8188
 
8189
fi
8190
 
8191
if test $ac_cv_header_stdc = yes; then
8192
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8193
  cat >conftest.$ac_ext <<_ACEOF
8194
/* confdefs.h.  */
8195
_ACEOF
8196
cat confdefs.h >>conftest.$ac_ext
8197
cat >>conftest.$ac_ext <<_ACEOF
8198
/* end confdefs.h.  */
8199
#include 
8200
 
8201
_ACEOF
8202
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8203
  $EGREP "free" >/dev/null 2>&1; then
8204
  :
8205
else
8206
  ac_cv_header_stdc=no
8207
fi
8208
rm -f conftest*
8209
 
8210
fi
8211
 
8212
if test $ac_cv_header_stdc = yes; then
8213
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8214
  if test "$cross_compiling" = yes; then
8215
  :
8216
else
8217
  cat >conftest.$ac_ext <<_ACEOF
8218
/* confdefs.h.  */
8219
_ACEOF
8220
cat confdefs.h >>conftest.$ac_ext
8221
cat >>conftest.$ac_ext <<_ACEOF
8222
/* end confdefs.h.  */
8223
#include 
8224
#include 
8225
#if ((' ' & 0x0FF) == 0x020)
8226
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8227
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8228
#else
8229
# define ISLOWER(c) \
8230
                   (('a' <= (c) && (c) <= 'i') \
8231
                     || ('j' <= (c) && (c) <= 'r') \
8232
                     || ('s' <= (c) && (c) <= 'z'))
8233
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8234
#endif
8235
 
8236
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8237
int
8238
main ()
8239
{
8240
  int i;
8241
  for (i = 0; i < 256; i++)
8242
    if (XOR (islower (i), ISLOWER (i))
8243
        || toupper (i) != TOUPPER (i))
8244
      return 2;
8245
  return 0;
8246
}
8247
_ACEOF
8248
rm -f conftest$ac_exeext
8249
if { (ac_try="$ac_link"
8250
case "(($ac_try" in
8251
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8252
  *) ac_try_echo=$ac_try;;
8253
esac
8254
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8255
$as_echo "$ac_try_echo") >&5
8256
  (eval "$ac_link") 2>&5
8257
  ac_status=$?
8258
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8260
  { (case "(($ac_try" in
8261
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8262
  *) ac_try_echo=$ac_try;;
8263
esac
8264
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8265
$as_echo "$ac_try_echo") >&5
8266
  (eval "$ac_try") 2>&5
8267
  ac_status=$?
8268
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269
  (exit $ac_status); }; }; then
8270
  :
8271
else
8272
  $as_echo "$as_me: program exited with status $ac_status" >&5
8273
$as_echo "$as_me: failed program was:" >&5
8274
sed 's/^/| /' conftest.$ac_ext >&5
8275
 
8276
( exit $ac_status )
8277
ac_cv_header_stdc=no
8278
fi
8279
rm -rf conftest.dSYM
8280
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8281
fi
8282
 
8283
 
8284
fi
8285
fi
8286
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8287
$as_echo "$ac_cv_header_stdc" >&6; }
8288
if test $ac_cv_header_stdc = yes; then
8289
 
8290
cat >>confdefs.h <<\_ACEOF
8291
#define STDC_HEADERS 1
8292
_ACEOF
8293
 
8294
fi
8295
 
8296
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8297
 
8298
 
8299
 
8300
 
8301
 
8302
 
8303
 
8304
 
8305
 
8306
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8307
                  inttypes.h stdint.h unistd.h
8308
do
8309
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8310
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8311
$as_echo_n "checking for $ac_header... " >&6; }
8312
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8313
  $as_echo_n "(cached) " >&6
8314
else
8315
  cat >conftest.$ac_ext <<_ACEOF
8316
/* confdefs.h.  */
8317
_ACEOF
8318
cat confdefs.h >>conftest.$ac_ext
8319
cat >>conftest.$ac_ext <<_ACEOF
8320
/* end confdefs.h.  */
8321
$ac_includes_default
8322
 
8323
#include <$ac_header>
8324
_ACEOF
8325
rm -f conftest.$ac_objext
8326
if { (ac_try="$ac_compile"
8327
case "(($ac_try" in
8328
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8329
  *) ac_try_echo=$ac_try;;
8330
esac
8331
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8332
$as_echo "$ac_try_echo") >&5
8333
  (eval "$ac_compile") 2>conftest.er1
8334
  ac_status=$?
8335
  grep -v '^ *+' conftest.er1 >conftest.err
8336
  rm -f conftest.er1
8337
  cat conftest.err >&5
8338
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339
  (exit $ac_status); } && {
8340
         test -z "$ac_c_werror_flag" ||
8341
         test ! -s conftest.err
8342
       } && test -s conftest.$ac_objext; then
8343
  eval "$as_ac_Header=yes"
8344
else
8345
  $as_echo "$as_me: failed program was:" >&5
8346
sed 's/^/| /' conftest.$ac_ext >&5
8347
 
8348
        eval "$as_ac_Header=no"
8349
fi
8350
 
8351
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8352
fi
8353
ac_res=`eval 'as_val=${'$as_ac_Header'}
8354
                 $as_echo "$as_val"'`
8355
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8356
$as_echo "$ac_res" >&6; }
8357
as_val=`eval 'as_val=${'$as_ac_Header'}
8358
                 $as_echo "$as_val"'`
8359
   if test "x$as_val" = x""yes; then
8360
  cat >>confdefs.h <<_ACEOF
8361
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8362
_ACEOF
8363
 
8364
fi
8365
 
8366
done
8367
 
8368
 
8369
 
8370
for ac_header in dlfcn.h
8371
do
8372
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8373
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8374
$as_echo_n "checking for $ac_header... " >&6; }
8375
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8376
  $as_echo_n "(cached) " >&6
8377
else
8378
  cat >conftest.$ac_ext <<_ACEOF
8379
/* confdefs.h.  */
8380
_ACEOF
8381
cat confdefs.h >>conftest.$ac_ext
8382
cat >>conftest.$ac_ext <<_ACEOF
8383
/* end confdefs.h.  */
8384
$ac_includes_default
8385
 
8386
#include <$ac_header>
8387
_ACEOF
8388
rm -f conftest.$ac_objext
8389
if { (ac_try="$ac_compile"
8390
case "(($ac_try" in
8391
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8392
  *) ac_try_echo=$ac_try;;
8393
esac
8394
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8395
$as_echo "$ac_try_echo") >&5
8396
  (eval "$ac_compile") 2>conftest.er1
8397
  ac_status=$?
8398
  grep -v '^ *+' conftest.er1 >conftest.err
8399
  rm -f conftest.er1
8400
  cat conftest.err >&5
8401
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402
  (exit $ac_status); } && {
8403
         test -z "$ac_c_werror_flag" ||
8404
         test ! -s conftest.err
8405
       } && test -s conftest.$ac_objext; then
8406
  eval "$as_ac_Header=yes"
8407
else
8408
  $as_echo "$as_me: failed program was:" >&5
8409
sed 's/^/| /' conftest.$ac_ext >&5
8410
 
8411
        eval "$as_ac_Header=no"
8412
fi
8413
 
8414
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8415
fi
8416
ac_res=`eval 'as_val=${'$as_ac_Header'}
8417
                 $as_echo "$as_val"'`
8418
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8419
$as_echo "$ac_res" >&6; }
8420
as_val=`eval 'as_val=${'$as_ac_Header'}
8421
                 $as_echo "$as_val"'`
8422
   if test "x$as_val" = x""yes; then
8423
  cat >>confdefs.h <<_ACEOF
8424
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8425
_ACEOF
8426
 
8427
fi
8428
 
8429
done
8430
 
8431
 
8432
 
8433
# Set options
8434
 
8435
 
8436
 
8437
        enable_dlopen=no
8438
 
8439
 
8440
 
8441
            # Check whether --enable-shared was given.
8442
if test "${enable_shared+set}" = set; then
8443
  enableval=$enable_shared; p=${PACKAGE-default}
8444
    case $enableval in
8445
    yes) enable_shared=yes ;;
8446
    no) enable_shared=no ;;
8447
    *)
8448
      enable_shared=no
8449
      # Look at the argument we got.  We use all the common list separators.
8450
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8451
      for pkg in $enableval; do
8452
        IFS="$lt_save_ifs"
8453
        if test "X$pkg" = "X$p"; then
8454
          enable_shared=yes
8455
        fi
8456
      done
8457
      IFS="$lt_save_ifs"
8458
      ;;
8459
    esac
8460
else
8461
  enable_shared=yes
8462
fi
8463
 
8464
 
8465
 
8466
 
8467
 
8468
 
8469
 
8470
 
8471
 
8472
  # Check whether --enable-static was given.
8473
if test "${enable_static+set}" = set; then
8474
  enableval=$enable_static; p=${PACKAGE-default}
8475
    case $enableval in
8476
    yes) enable_static=yes ;;
8477
    no) enable_static=no ;;
8478
    *)
8479
     enable_static=no
8480
      # Look at the argument we got.  We use all the common list separators.
8481
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8482
      for pkg in $enableval; do
8483
        IFS="$lt_save_ifs"
8484
        if test "X$pkg" = "X$p"; then
8485
          enable_static=yes
8486
        fi
8487
      done
8488
      IFS="$lt_save_ifs"
8489
      ;;
8490
    esac
8491
else
8492
  enable_static=yes
8493
fi
8494
 
8495
 
8496
 
8497
 
8498
 
8499
 
8500
 
8501
 
8502
 
8503
 
8504
# Check whether --with-pic was given.
8505
if test "${with_pic+set}" = set; then
8506
  withval=$with_pic; pic_mode="$withval"
8507
else
8508
  pic_mode=default
8509
fi
8510
 
8511
 
8512
test -z "$pic_mode" && pic_mode=default
8513
 
8514
 
8515
 
8516
 
8517
 
8518
 
8519
 
8520
  # Check whether --enable-fast-install was given.
8521
if test "${enable_fast_install+set}" = set; then
8522
  enableval=$enable_fast_install; p=${PACKAGE-default}
8523
    case $enableval in
8524
    yes) enable_fast_install=yes ;;
8525
    no) enable_fast_install=no ;;
8526
    *)
8527
      enable_fast_install=no
8528
      # Look at the argument we got.  We use all the common list separators.
8529
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8530
      for pkg in $enableval; do
8531
        IFS="$lt_save_ifs"
8532
        if test "X$pkg" = "X$p"; then
8533
          enable_fast_install=yes
8534
        fi
8535
      done
8536
      IFS="$lt_save_ifs"
8537
      ;;
8538
    esac
8539
else
8540
  enable_fast_install=yes
8541
fi
8542
 
8543
 
8544
 
8545
 
8546
 
8547
 
8548
 
8549
 
8550
 
8551
 
8552
 
8553
# This can be used to rebuild libtool when needed
8554
LIBTOOL_DEPS="$ltmain"
8555
 
8556
# Always use our own libtool.
8557
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8558
 
8559
 
8560
 
8561
 
8562
 
8563
 
8564
 
8565
 
8566
 
8567
 
8568
 
8569
 
8570
 
8571
 
8572
 
8573
 
8574
 
8575
 
8576
 
8577
 
8578
 
8579
 
8580
 
8581
 
8582
 
8583
test -z "$LN_S" && LN_S="ln -s"
8584
 
8585
 
8586
 
8587
 
8588
 
8589
 
8590
 
8591
 
8592
 
8593
 
8594
 
8595
 
8596
 
8597
 
8598
if test -n "${ZSH_VERSION+set}" ; then
8599
   setopt NO_GLOB_SUBST
8600
fi
8601
 
8602
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
8603
$as_echo_n "checking for objdir... " >&6; }
8604
if test "${lt_cv_objdir+set}" = set; then
8605
  $as_echo_n "(cached) " >&6
8606
else
8607
  rm -f .libs 2>/dev/null
8608
mkdir .libs 2>/dev/null
8609
if test -d .libs; then
8610
  lt_cv_objdir=.libs
8611
else
8612
  # MS-DOS does not allow filenames that begin with a dot.
8613
  lt_cv_objdir=_libs
8614
fi
8615
rmdir .libs 2>/dev/null
8616
fi
8617
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8618
$as_echo "$lt_cv_objdir" >&6; }
8619
objdir=$lt_cv_objdir
8620
 
8621
 
8622
 
8623
 
8624
 
8625
cat >>confdefs.h <<_ACEOF
8626
#define LT_OBJDIR "$lt_cv_objdir/"
8627
_ACEOF
8628
 
8629
 
8630
 
8631
 
8632
 
8633
 
8634
 
8635
 
8636
 
8637
 
8638
 
8639
 
8640
 
8641
 
8642
 
8643
 
8644
 
8645
case $host_os in
8646
aix3*)
8647
  # AIX sometimes has problems with the GCC collect2 program.  For some
8648
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8649
  # vanish in a puff of smoke.
8650
  if test "X${COLLECT_NAMES+set}" != Xset; then
8651
    COLLECT_NAMES=
8652
    export COLLECT_NAMES
8653
  fi
8654
  ;;
8655
esac
8656
 
8657
# Sed substitution that helps us do robust quoting.  It backslashifies
8658
# metacharacters that are still active within double-quoted strings.
8659
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8660
 
8661
# Same as above, but do not quote variable references.
8662
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8663
 
8664
# Sed substitution to delay expansion of an escaped shell variable in a
8665
# double_quote_subst'ed string.
8666
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8667
 
8668
# Sed substitution to delay expansion of an escaped single quote.
8669
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8670
 
8671
# Sed substitution to avoid accidental globbing in evaled expressions
8672
no_glob_subst='s/\*/\\\*/g'
8673
 
8674
# Global variables:
8675
ofile=libtool
8676
can_build_shared=yes
8677
 
8678
# All known linkers require a `.a' archive for static linking (except MSVC,
8679
# which needs '.lib').
8680
libext=a
8681
 
8682
with_gnu_ld="$lt_cv_prog_gnu_ld"
8683
 
8684
old_CC="$CC"
8685
old_CFLAGS="$CFLAGS"
8686
 
8687
# Set sane defaults for various variables
8688
test -z "$CC" && CC=cc
8689
test -z "$LTCC" && LTCC=$CC
8690
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8691
test -z "$LD" && LD=ld
8692
test -z "$ac_objext" && ac_objext=o
8693
 
8694
for cc_temp in $compiler""; do
8695
  case $cc_temp in
8696
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8697
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8698
    \-*) ;;
8699
    *) break;;
8700
  esac
8701
done
8702
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8703
 
8704
 
8705
# Only perform the check for file, if the check method requires it
8706
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8707
case $deplibs_check_method in
8708
file_magic*)
8709
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8710
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8711
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8712
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8713
  $as_echo_n "(cached) " >&6
8714
else
8715
  case $MAGIC_CMD in
8716
[\\/*] |  ?:[\\/]*)
8717
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8718
  ;;
8719
*)
8720
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8721
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8722
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8723
  for ac_dir in $ac_dummy; do
8724
    IFS="$lt_save_ifs"
8725
    test -z "$ac_dir" && ac_dir=.
8726
    if test -f $ac_dir/${ac_tool_prefix}file; then
8727
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8728
      if test -n "$file_magic_test_file"; then
8729
        case $deplibs_check_method in
8730
        "file_magic "*)
8731
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8732
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8733
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8734
            $EGREP "$file_magic_regex" > /dev/null; then
8735
            :
8736
          else
8737
            cat <<_LT_EOF 1>&2
8738
 
8739
*** Warning: the command libtool uses to detect shared libraries,
8740
*** $file_magic_cmd, produces output that libtool cannot recognize.
8741
*** The result is that libtool may fail to recognize shared libraries
8742
*** as such.  This will affect the creation of libtool libraries that
8743
*** depend on shared libraries, but programs linked with such libtool
8744
*** libraries will work regardless of this problem.  Nevertheless, you
8745
*** may want to report the problem to your system manager and/or to
8746
*** bug-libtool@gnu.org
8747
 
8748
_LT_EOF
8749
          fi ;;
8750
        esac
8751
      fi
8752
      break
8753
    fi
8754
  done
8755
  IFS="$lt_save_ifs"
8756
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8757
  ;;
8758
esac
8759
fi
8760
 
8761
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8762
if test -n "$MAGIC_CMD"; then
8763
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8764
$as_echo "$MAGIC_CMD" >&6; }
8765
else
8766
  { $as_echo "$as_me:$LINENO: result: no" >&5
8767
$as_echo "no" >&6; }
8768
fi
8769
 
8770
 
8771
 
8772
 
8773
 
8774
if test -z "$lt_cv_path_MAGIC_CMD"; then
8775
  if test -n "$ac_tool_prefix"; then
8776
    { $as_echo "$as_me:$LINENO: checking for file" >&5
8777
$as_echo_n "checking for file... " >&6; }
8778
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8779
  $as_echo_n "(cached) " >&6
8780
else
8781
  case $MAGIC_CMD in
8782
[\\/*] |  ?:[\\/]*)
8783
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8784
  ;;
8785
*)
8786
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8787
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8788
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8789
  for ac_dir in $ac_dummy; do
8790
    IFS="$lt_save_ifs"
8791
    test -z "$ac_dir" && ac_dir=.
8792
    if test -f $ac_dir/file; then
8793
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8794
      if test -n "$file_magic_test_file"; then
8795
        case $deplibs_check_method in
8796
        "file_magic "*)
8797
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8798
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8799
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8800
            $EGREP "$file_magic_regex" > /dev/null; then
8801
            :
8802
          else
8803
            cat <<_LT_EOF 1>&2
8804
 
8805
*** Warning: the command libtool uses to detect shared libraries,
8806
*** $file_magic_cmd, produces output that libtool cannot recognize.
8807
*** The result is that libtool may fail to recognize shared libraries
8808
*** as such.  This will affect the creation of libtool libraries that
8809
*** depend on shared libraries, but programs linked with such libtool
8810
*** libraries will work regardless of this problem.  Nevertheless, you
8811
*** may want to report the problem to your system manager and/or to
8812
*** bug-libtool@gnu.org
8813
 
8814
_LT_EOF
8815
          fi ;;
8816
        esac
8817
      fi
8818
      break
8819
    fi
8820
  done
8821
  IFS="$lt_save_ifs"
8822
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8823
  ;;
8824
esac
8825
fi
8826
 
8827
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8828
if test -n "$MAGIC_CMD"; then
8829
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8830
$as_echo "$MAGIC_CMD" >&6; }
8831
else
8832
  { $as_echo "$as_me:$LINENO: result: no" >&5
8833
$as_echo "no" >&6; }
8834
fi
8835
 
8836
 
8837
  else
8838
    MAGIC_CMD=:
8839
  fi
8840
fi
8841
 
8842
  fi
8843
  ;;
8844
esac
8845
 
8846
# Use C for the default configuration in the libtool script
8847
 
8848
lt_save_CC="$CC"
8849
ac_ext=c
8850
ac_cpp='$CPP $CPPFLAGS'
8851
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8852
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8853
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8854
 
8855
 
8856
# Source file extension for C test sources.
8857
ac_ext=c
8858
 
8859
# Object file extension for compiled C test sources.
8860
objext=o
8861
objext=$objext
8862
 
8863
# Code to be used in simple compile tests
8864
lt_simple_compile_test_code="int some_variable = 0;"
8865
 
8866
# Code to be used in simple link tests
8867
lt_simple_link_test_code='int main(){return(0);}'
8868
 
8869
 
8870
 
8871
 
8872
 
8873
 
8874
 
8875
# If no C compiler was specified, use CC.
8876
LTCC=${LTCC-"$CC"}
8877
 
8878
# If no C compiler flags were specified, use CFLAGS.
8879
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8880
 
8881
# Allow CC to be a program name with arguments.
8882
compiler=$CC
8883
 
8884
# Save the default compiler, since it gets overwritten when the other
8885
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8886
compiler_DEFAULT=$CC
8887
 
8888
# save warnings/boilerplate of simple test code
8889
ac_outfile=conftest.$ac_objext
8890
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8891
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8892
_lt_compiler_boilerplate=`cat conftest.err`
8893
$RM conftest*
8894
 
8895
ac_outfile=conftest.$ac_objext
8896
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8897
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8898
_lt_linker_boilerplate=`cat conftest.err`
8899
$RM -r conftest*
8900
 
8901
 
8902
## CAVEAT EMPTOR:
8903
## There is no encapsulation within the following macros, do not change
8904
## the running order or otherwise move them around unless you know exactly
8905
## what you are doing...
8906
if test -n "$compiler"; then
8907
 
8908
lt_prog_compiler_no_builtin_flag=
8909
 
8910
if test "$GCC" = yes; then
8911
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8912
 
8913
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8914
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8915
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8916
  $as_echo_n "(cached) " >&6
8917
else
8918
  lt_cv_prog_compiler_rtti_exceptions=no
8919
   ac_outfile=conftest.$ac_objext
8920
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8921
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8922
   # Insert the option either (1) after the last *FLAGS variable, or
8923
   # (2) before a word containing "conftest.", or (3) at the end.
8924
   # Note that $ac_compile itself does not contain backslashes and begins
8925
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8926
   # The option is referenced via a variable to avoid confusing sed.
8927
   lt_compile=`echo "$ac_compile" | $SED \
8928
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8929
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8930
   -e 's:$: $lt_compiler_flag:'`
8931
   (eval echo "\"\$as_me:8931: $lt_compile\"" >&5)
8932
   (eval "$lt_compile" 2>conftest.err)
8933
   ac_status=$?
8934
   cat conftest.err >&5
8935
   echo "$as_me:8935: \$? = $ac_status" >&5
8936
   if (exit $ac_status) && test -s "$ac_outfile"; then
8937
     # The compiler can only warn and ignore the option if not recognized
8938
     # So say no if there are warnings other than the usual output.
8939
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8940
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8941
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8942
       lt_cv_prog_compiler_rtti_exceptions=yes
8943
     fi
8944
   fi
8945
   $RM conftest*
8946
 
8947
fi
8948
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8949
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8950
 
8951
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8952
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8953
else
8954
    :
8955
fi
8956
 
8957
fi
8958
 
8959
 
8960
 
8961
 
8962
 
8963
 
8964
  lt_prog_compiler_wl=
8965
lt_prog_compiler_pic=
8966
lt_prog_compiler_static=
8967
 
8968
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8969
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8970
 
8971
  if test "$GCC" = yes; then
8972
    lt_prog_compiler_wl='-Wl,'
8973
    lt_prog_compiler_static='-static'
8974
 
8975
    case $host_os in
8976
      aix*)
8977
      # All AIX code is PIC.
8978
      if test "$host_cpu" = ia64; then
8979
        # AIX 5 now supports IA64 processor
8980
        lt_prog_compiler_static='-Bstatic'
8981
      fi
8982
      ;;
8983
 
8984
    amigaos*)
8985
      case $host_cpu in
8986
      powerpc)
8987
            # see comment about AmigaOS4 .so support
8988
            lt_prog_compiler_pic='-fPIC'
8989
        ;;
8990
      m68k)
8991
            # FIXME: we need at least 68020 code to build shared libraries, but
8992
            # adding the `-m68020' flag to GCC prevents building anything better,
8993
            # like `-m68040'.
8994
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8995
        ;;
8996
      esac
8997
      ;;
8998
 
8999
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9000
      # PIC is the default for these OSes.
9001
      ;;
9002
 
9003
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9004
      # This hack is so that the source file can tell whether it is being
9005
      # built for inclusion in a dll (and should export symbols for example).
9006
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9007
      # (--disable-auto-import) libraries
9008
      lt_prog_compiler_pic='-DDLL_EXPORT'
9009
      ;;
9010
 
9011
    darwin* | rhapsody*)
9012
      # PIC is the default on this platform
9013
      # Common symbols not allowed in MH_DYLIB files
9014
      lt_prog_compiler_pic='-fno-common'
9015
      ;;
9016
 
9017
    hpux*)
9018
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9019
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9020
      # sets the default TLS model and affects inlining.
9021
      case $host_cpu in
9022
      hppa*64*)
9023
        # +Z the default
9024
        ;;
9025
      *)
9026
        lt_prog_compiler_pic='-fPIC'
9027
        ;;
9028
      esac
9029
      ;;
9030
 
9031
    interix[3-9]*)
9032
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9033
      # Instead, we relocate shared libraries at runtime.
9034
      ;;
9035
 
9036
    msdosdjgpp*)
9037
      # Just because we use GCC doesn't mean we suddenly get shared libraries
9038
      # on systems that don't support them.
9039
      lt_prog_compiler_can_build_shared=no
9040
      enable_shared=no
9041
      ;;
9042
 
9043
    *nto* | *qnx*)
9044
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9045
      # it will coredump.
9046
      lt_prog_compiler_pic='-fPIC -shared'
9047
      ;;
9048
 
9049
    sysv4*MP*)
9050
      if test -d /usr/nec; then
9051
        lt_prog_compiler_pic=-Kconform_pic
9052
      fi
9053
      ;;
9054
 
9055
    *)
9056
      lt_prog_compiler_pic='-fPIC'
9057
      ;;
9058
    esac
9059
  else
9060
    # PORTME Check for flag to pass linker flags through the system compiler.
9061
    case $host_os in
9062
    aix*)
9063
      lt_prog_compiler_wl='-Wl,'
9064
      if test "$host_cpu" = ia64; then
9065
        # AIX 5 now supports IA64 processor
9066
        lt_prog_compiler_static='-Bstatic'
9067
      else
9068
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9069
      fi
9070
      ;;
9071
 
9072
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9073
      # This hack is so that the source file can tell whether it is being
9074
      # built for inclusion in a dll (and should export symbols for example).
9075
      lt_prog_compiler_pic='-DDLL_EXPORT'
9076
      ;;
9077
 
9078
    hpux9* | hpux10* | hpux11*)
9079
      lt_prog_compiler_wl='-Wl,'
9080
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9081
      # not for PA HP-UX.
9082
      case $host_cpu in
9083
      hppa*64*|ia64*)
9084
        # +Z the default
9085
        ;;
9086
      *)
9087
        lt_prog_compiler_pic='+Z'
9088
        ;;
9089
      esac
9090
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9091
      lt_prog_compiler_static='${wl}-a ${wl}archive'
9092
      ;;
9093
 
9094
    irix5* | irix6* | nonstopux*)
9095
      lt_prog_compiler_wl='-Wl,'
9096
      # PIC (with -KPIC) is the default.
9097
      lt_prog_compiler_static='-non_shared'
9098
      ;;
9099
 
9100
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9101
      case $cc_basename in
9102
      # old Intel for x86_64 which still supported -KPIC.
9103
      ecc*)
9104
        lt_prog_compiler_wl='-Wl,'
9105
        lt_prog_compiler_pic='-KPIC'
9106
        lt_prog_compiler_static='-static'
9107
        ;;
9108
      # icc used to be incompatible with GCC.
9109
      # ICC 10 doesn't accept -KPIC any more.
9110
      icc* | ifort*)
9111
        lt_prog_compiler_wl='-Wl,'
9112
        lt_prog_compiler_pic='-fPIC'
9113
        lt_prog_compiler_static='-static'
9114
        ;;
9115
      # Lahey Fortran 8.1.
9116
      lf95*)
9117
        lt_prog_compiler_wl='-Wl,'
9118
        lt_prog_compiler_pic='--shared'
9119
        lt_prog_compiler_static='--static'
9120
        ;;
9121
      pgcc* | pgf77* | pgf90* | pgf95*)
9122
        # Portland Group compilers (*not* the Pentium gcc compiler,
9123
        # which looks to be a dead project)
9124
        lt_prog_compiler_wl='-Wl,'
9125
        lt_prog_compiler_pic='-fpic'
9126
        lt_prog_compiler_static='-Bstatic'
9127
        ;;
9128
      ccc*)
9129
        lt_prog_compiler_wl='-Wl,'
9130
        # All Alpha code is PIC.
9131
        lt_prog_compiler_static='-non_shared'
9132
        ;;
9133
      xl*)
9134
        # IBM XL C 8.0/Fortran 10.1 on PPC
9135
        lt_prog_compiler_wl='-Wl,'
9136
        lt_prog_compiler_pic='-qpic'
9137
        lt_prog_compiler_static='-qstaticlink'
9138
        ;;
9139
      *)
9140
        case `$CC -V 2>&1 | sed 5q` in
9141
        *Sun\ C*)
9142
          # Sun C 5.9
9143
          lt_prog_compiler_pic='-KPIC'
9144
          lt_prog_compiler_static='-Bstatic'
9145
          lt_prog_compiler_wl='-Wl,'
9146
          ;;
9147
        *Sun\ F*)
9148
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9149
          lt_prog_compiler_pic='-KPIC'
9150
          lt_prog_compiler_static='-Bstatic'
9151
          lt_prog_compiler_wl=''
9152
          ;;
9153
        esac
9154
        ;;
9155
      esac
9156
      ;;
9157
 
9158
    newsos6)
9159
      lt_prog_compiler_pic='-KPIC'
9160
      lt_prog_compiler_static='-Bstatic'
9161
      ;;
9162
 
9163
    *nto* | *qnx*)
9164
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9165
      # it will coredump.
9166
      lt_prog_compiler_pic='-fPIC -shared'
9167
      ;;
9168
 
9169
    osf3* | osf4* | osf5*)
9170
      lt_prog_compiler_wl='-Wl,'
9171
      # All OSF/1 code is PIC.
9172
      lt_prog_compiler_static='-non_shared'
9173
      ;;
9174
 
9175
    rdos*)
9176
      lt_prog_compiler_static='-non_shared'
9177
      ;;
9178
 
9179
    solaris*)
9180
      lt_prog_compiler_pic='-KPIC'
9181
      lt_prog_compiler_static='-Bstatic'
9182
      case $cc_basename in
9183
      f77* | f90* | f95*)
9184
        lt_prog_compiler_wl='-Qoption ld ';;
9185
      *)
9186
        lt_prog_compiler_wl='-Wl,';;
9187
      esac
9188
      ;;
9189
 
9190
    sunos4*)
9191
      lt_prog_compiler_wl='-Qoption ld '
9192
      lt_prog_compiler_pic='-PIC'
9193
      lt_prog_compiler_static='-Bstatic'
9194
      ;;
9195
 
9196
    sysv4 | sysv4.2uw2* | sysv4.3*)
9197
      lt_prog_compiler_wl='-Wl,'
9198
      lt_prog_compiler_pic='-KPIC'
9199
      lt_prog_compiler_static='-Bstatic'
9200
      ;;
9201
 
9202
    sysv4*MP*)
9203
      if test -d /usr/nec ;then
9204
        lt_prog_compiler_pic='-Kconform_pic'
9205
        lt_prog_compiler_static='-Bstatic'
9206
      fi
9207
      ;;
9208
 
9209
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9210
      lt_prog_compiler_wl='-Wl,'
9211
      lt_prog_compiler_pic='-KPIC'
9212
      lt_prog_compiler_static='-Bstatic'
9213
      ;;
9214
 
9215
    unicos*)
9216
      lt_prog_compiler_wl='-Wl,'
9217
      lt_prog_compiler_can_build_shared=no
9218
      ;;
9219
 
9220
    uts4*)
9221
      lt_prog_compiler_pic='-pic'
9222
      lt_prog_compiler_static='-Bstatic'
9223
      ;;
9224
 
9225
    *)
9226
      lt_prog_compiler_can_build_shared=no
9227
      ;;
9228
    esac
9229
  fi
9230
 
9231
case $host_os in
9232
  # For platforms which do not support PIC, -DPIC is meaningless:
9233
  *djgpp*)
9234
    lt_prog_compiler_pic=
9235
    ;;
9236
  *)
9237
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9238
    ;;
9239
esac
9240
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9241
$as_echo "$lt_prog_compiler_pic" >&6; }
9242
 
9243
 
9244
 
9245
 
9246
 
9247
 
9248
#
9249
# Check to make sure the PIC flag actually works.
9250
#
9251
if test -n "$lt_prog_compiler_pic"; then
9252
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9253
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9254
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9255
  $as_echo_n "(cached) " >&6
9256
else
9257
  lt_cv_prog_compiler_pic_works=no
9258
   ac_outfile=conftest.$ac_objext
9259
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9260
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9261
   # Insert the option either (1) after the last *FLAGS variable, or
9262
   # (2) before a word containing "conftest.", or (3) at the end.
9263
   # Note that $ac_compile itself does not contain backslashes and begins
9264
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9265
   # The option is referenced via a variable to avoid confusing sed.
9266
   lt_compile=`echo "$ac_compile" | $SED \
9267
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9268
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9269
   -e 's:$: $lt_compiler_flag:'`
9270
   (eval echo "\"\$as_me:9270: $lt_compile\"" >&5)
9271
   (eval "$lt_compile" 2>conftest.err)
9272
   ac_status=$?
9273
   cat conftest.err >&5
9274
   echo "$as_me:9274: \$? = $ac_status" >&5
9275
   if (exit $ac_status) && test -s "$ac_outfile"; then
9276
     # The compiler can only warn and ignore the option if not recognized
9277
     # So say no if there are warnings other than the usual output.
9278
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9279
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9280
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9281
       lt_cv_prog_compiler_pic_works=yes
9282
     fi
9283
   fi
9284
   $RM conftest*
9285
 
9286
fi
9287
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9288
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9289
 
9290
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9291
    case $lt_prog_compiler_pic in
9292
     "" | " "*) ;;
9293
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9294
     esac
9295
else
9296
    lt_prog_compiler_pic=
9297
     lt_prog_compiler_can_build_shared=no
9298
fi
9299
 
9300
fi
9301
 
9302
 
9303
 
9304
 
9305
 
9306
 
9307
#
9308
# Check to make sure the static flag actually works.
9309
#
9310
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9311
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9312
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9313
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9314
  $as_echo_n "(cached) " >&6
9315
else
9316
  lt_cv_prog_compiler_static_works=no
9317
   save_LDFLAGS="$LDFLAGS"
9318
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9319
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9320
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9321
     # The linker can only warn and ignore the option if not recognized
9322
     # So say no if there are warnings
9323
     if test -s conftest.err; then
9324
       # Append any errors to the config.log.
9325
       cat conftest.err 1>&5
9326
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9327
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9328
       if diff conftest.exp conftest.er2 >/dev/null; then
9329
         lt_cv_prog_compiler_static_works=yes
9330
       fi
9331
     else
9332
       lt_cv_prog_compiler_static_works=yes
9333
     fi
9334
   fi
9335
   $RM -r conftest*
9336
   LDFLAGS="$save_LDFLAGS"
9337
 
9338
fi
9339
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9340
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9341
 
9342
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9343
    :
9344
else
9345
    lt_prog_compiler_static=
9346
fi
9347
 
9348
 
9349
 
9350
 
9351
 
9352
 
9353
 
9354
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9355
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9356
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9357
  $as_echo_n "(cached) " >&6
9358
else
9359
  lt_cv_prog_compiler_c_o=no
9360
   $RM -r conftest 2>/dev/null
9361
   mkdir conftest
9362
   cd conftest
9363
   mkdir out
9364
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9365
 
9366
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9367
   # Insert the option either (1) after the last *FLAGS variable, or
9368
   # (2) before a word containing "conftest.", or (3) at the end.
9369
   # Note that $ac_compile itself does not contain backslashes and begins
9370
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9371
   lt_compile=`echo "$ac_compile" | $SED \
9372
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9373
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9374
   -e 's:$: $lt_compiler_flag:'`
9375
   (eval echo "\"\$as_me:9375: $lt_compile\"" >&5)
9376
   (eval "$lt_compile" 2>out/conftest.err)
9377
   ac_status=$?
9378
   cat out/conftest.err >&5
9379
   echo "$as_me:9379: \$? = $ac_status" >&5
9380
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9381
   then
9382
     # The compiler can only warn and ignore the option if not recognized
9383
     # So say no if there are warnings
9384
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9385
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9386
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9387
       lt_cv_prog_compiler_c_o=yes
9388
     fi
9389
   fi
9390
   chmod u+w . 2>&5
9391
   $RM conftest*
9392
   # SGI C++ compiler will create directory out/ii_files/ for
9393
   # template instantiation
9394
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9395
   $RM out/* && rmdir out
9396
   cd ..
9397
   $RM -r conftest
9398
   $RM conftest*
9399
 
9400
fi
9401
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9402
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9403
 
9404
 
9405
 
9406
 
9407
 
9408
 
9409
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9410
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9411
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9412
  $as_echo_n "(cached) " >&6
9413
else
9414
  lt_cv_prog_compiler_c_o=no
9415
   $RM -r conftest 2>/dev/null
9416
   mkdir conftest
9417
   cd conftest
9418
   mkdir out
9419
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9420
 
9421
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9422
   # Insert the option either (1) after the last *FLAGS variable, or
9423
   # (2) before a word containing "conftest.", or (3) at the end.
9424
   # Note that $ac_compile itself does not contain backslashes and begins
9425
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9426
   lt_compile=`echo "$ac_compile" | $SED \
9427
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9428
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9429
   -e 's:$: $lt_compiler_flag:'`
9430
   (eval echo "\"\$as_me:9430: $lt_compile\"" >&5)
9431
   (eval "$lt_compile" 2>out/conftest.err)
9432
   ac_status=$?
9433
   cat out/conftest.err >&5
9434
   echo "$as_me:9434: \$? = $ac_status" >&5
9435
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9436
   then
9437
     # The compiler can only warn and ignore the option if not recognized
9438
     # So say no if there are warnings
9439
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9440
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9441
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9442
       lt_cv_prog_compiler_c_o=yes
9443
     fi
9444
   fi
9445
   chmod u+w . 2>&5
9446
   $RM conftest*
9447
   # SGI C++ compiler will create directory out/ii_files/ for
9448
   # template instantiation
9449
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9450
   $RM out/* && rmdir out
9451
   cd ..
9452
   $RM -r conftest
9453
   $RM conftest*
9454
 
9455
fi
9456
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9457
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9458
 
9459
 
9460
 
9461
 
9462
hard_links="nottested"
9463
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9464
  # do not overwrite the value of need_locks provided by the user
9465
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9466
$as_echo_n "checking if we can lock with hard links... " >&6; }
9467
  hard_links=yes
9468
  $RM conftest*
9469
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9470
  touch conftest.a
9471
  ln conftest.a conftest.b 2>&5 || hard_links=no
9472
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9473
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9474
$as_echo "$hard_links" >&6; }
9475
  if test "$hard_links" = no; then
9476
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9477
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9478
    need_locks=warn
9479
  fi
9480
else
9481
  need_locks=no
9482
fi
9483
 
9484
 
9485
 
9486
 
9487
 
9488
 
9489
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9490
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9491
 
9492
  runpath_var=
9493
  allow_undefined_flag=
9494
  always_export_symbols=no
9495
  archive_cmds=
9496
  archive_expsym_cmds=
9497
  compiler_needs_object=no
9498
  enable_shared_with_static_runtimes=no
9499
  export_dynamic_flag_spec=
9500
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9501
  hardcode_automatic=no
9502
  hardcode_direct=no
9503
  hardcode_direct_absolute=no
9504
  hardcode_libdir_flag_spec=
9505
  hardcode_libdir_flag_spec_ld=
9506
  hardcode_libdir_separator=
9507
  hardcode_minus_L=no
9508
  hardcode_shlibpath_var=unsupported
9509
  inherit_rpath=no
9510
  link_all_deplibs=unknown
9511
  module_cmds=
9512
  module_expsym_cmds=
9513
  old_archive_from_new_cmds=
9514
  old_archive_from_expsyms_cmds=
9515
  thread_safe_flag_spec=
9516
  whole_archive_flag_spec=
9517
  # include_expsyms should be a list of space-separated symbols to be *always*
9518
  # included in the symbol list
9519
  include_expsyms=
9520
  # exclude_expsyms can be an extended regexp of symbols to exclude
9521
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9522
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9523
  # as well as any symbol that contains `d'.
9524
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9525
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9526
  # platforms (ab)use it in PIC code, but their linkers get confused if
9527
  # the symbol is explicitly referenced.  Since portable code cannot
9528
  # rely on this symbol name, it's probably fine to never include it in
9529
  # preloaded symbol tables.
9530
  # Exclude shared library initialization/finalization symbols.
9531
  extract_expsyms_cmds=
9532
 
9533
  case $host_os in
9534
  cygwin* | mingw* | pw32* | cegcc*)
9535
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9536
    # When not using gcc, we currently assume that we are using
9537
    # Microsoft Visual C++.
9538
    if test "$GCC" != yes; then
9539
      with_gnu_ld=no
9540
    fi
9541
    ;;
9542
  interix*)
9543
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9544
    with_gnu_ld=yes
9545
    ;;
9546
  openbsd*)
9547
    with_gnu_ld=no
9548
    ;;
9549
  esac
9550
 
9551
  ld_shlibs=yes
9552
  if test "$with_gnu_ld" = yes; then
9553
    # If archive_cmds runs LD, not CC, wlarc should be empty
9554
    wlarc='${wl}'
9555
 
9556
    # Set some defaults for GNU ld with shared library support. These
9557
    # are reset later if shared libraries are not supported. Putting them
9558
    # here allows them to be overridden if necessary.
9559
    runpath_var=LD_RUN_PATH
9560
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9561
    export_dynamic_flag_spec='${wl}--export-dynamic'
9562
    # ancient GNU ld didn't support --whole-archive et. al.
9563
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9564
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9565
    else
9566
      whole_archive_flag_spec=
9567
    fi
9568
    supports_anon_versioning=no
9569
    case `$LD -v 2>&1` in
9570
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9571
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9572
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9573
      *\ 2.11.*) ;; # other 2.11 versions
9574
      *) supports_anon_versioning=yes ;;
9575
    esac
9576
 
9577
    # See if GNU ld supports shared libraries.
9578
    case $host_os in
9579
    aix[3-9]*)
9580
      # On AIX/PPC, the GNU linker is very broken
9581
      if test "$host_cpu" != ia64; then
9582
        ld_shlibs=no
9583
        cat <<_LT_EOF 1>&2
9584
 
9585
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9586
*** to be unable to reliably create shared libraries on AIX.
9587
*** Therefore, libtool is disabling shared libraries support.  If you
9588
*** really care for shared libraries, you may want to modify your PATH
9589
*** so that a non-GNU linker is found, and then restart.
9590
 
9591
_LT_EOF
9592
      fi
9593
      ;;
9594
 
9595
    amigaos*)
9596
      case $host_cpu in
9597
      powerpc)
9598
            # see comment about AmigaOS4 .so support
9599
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9600
            archive_expsym_cmds=''
9601
        ;;
9602
      m68k)
9603
            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)'
9604
            hardcode_libdir_flag_spec='-L$libdir'
9605
            hardcode_minus_L=yes
9606
        ;;
9607
      esac
9608
      ;;
9609
 
9610
    beos*)
9611
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9612
        allow_undefined_flag=unsupported
9613
        # Joseph Beckenbach  says some releases of gcc
9614
        # support --undefined.  This deserves some investigation.  FIXME
9615
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9616
      else
9617
        ld_shlibs=no
9618
      fi
9619
      ;;
9620
 
9621
    cygwin* | mingw* | pw32* | cegcc*)
9622
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9623
      # as there is no search path for DLLs.
9624
      hardcode_libdir_flag_spec='-L$libdir'
9625
      allow_undefined_flag=unsupported
9626
      always_export_symbols=no
9627
      enable_shared_with_static_runtimes=yes
9628
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9629
 
9630
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9631
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9632
        # If the export-symbols file already is a .def file (1st line
9633
        # is EXPORTS), use it as is; otherwise, prepend...
9634
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9635
          cp $export_symbols $output_objdir/$soname.def;
9636
        else
9637
          echo EXPORTS > $output_objdir/$soname.def;
9638
          cat $export_symbols >> $output_objdir/$soname.def;
9639
        fi~
9640
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9641
      else
9642
        ld_shlibs=no
9643
      fi
9644
      ;;
9645
 
9646
    interix[3-9]*)
9647
      hardcode_direct=no
9648
      hardcode_shlibpath_var=no
9649
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9650
      export_dynamic_flag_spec='${wl}-E'
9651
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9652
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9653
      # default) and relocated if they conflict, which is a slow very memory
9654
      # consuming and fragmenting process.  To avoid this, we pick a random,
9655
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9656
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9657
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9658
      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'
9659
      ;;
9660
 
9661
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9662
      tmp_diet=no
9663
      if test "$host_os" = linux-dietlibc; then
9664
        case $cc_basename in
9665
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9666
        esac
9667
      fi
9668
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9669
         && test "$tmp_diet" = no
9670
      then
9671
        tmp_addflag=
9672
        tmp_sharedflag='-shared'
9673
        case $cc_basename,$host_cpu in
9674
        pgcc*)                          # Portland Group C compiler
9675
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9676
          tmp_addflag=' $pic_flag'
9677
          ;;
9678
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9679
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9680
          tmp_addflag=' $pic_flag -Mnomain' ;;
9681
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9682
          tmp_addflag=' -i_dynamic' ;;
9683
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9684
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9685
        ifc* | ifort*)                  # Intel Fortran compiler
9686
          tmp_addflag=' -nofor_main' ;;
9687
        lf95*)                          # Lahey Fortran 8.1
9688
          whole_archive_flag_spec=
9689
          tmp_sharedflag='--shared' ;;
9690
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9691
          tmp_sharedflag='-qmkshrobj'
9692
          tmp_addflag= ;;
9693
        esac
9694
        case `$CC -V 2>&1 | sed 5q` in
9695
        *Sun\ C*)                       # Sun C 5.9
9696
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9697
          compiler_needs_object=yes
9698
          tmp_sharedflag='-G' ;;
9699
        *Sun\ F*)                       # Sun Fortran 8.3
9700
          tmp_sharedflag='-G' ;;
9701
        esac
9702
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9703
 
9704
        if test "x$supports_anon_versioning" = xyes; then
9705
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9706
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9707
            echo "local: *; };" >> $output_objdir/$libname.ver~
9708
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9709
        fi
9710
 
9711
        case $cc_basename in
9712
        xlf*)
9713
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9714
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9715
          hardcode_libdir_flag_spec=
9716
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9717
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9718
          if test "x$supports_anon_versioning" = xyes; then
9719
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9720
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9721
              echo "local: *; };" >> $output_objdir/$libname.ver~
9722
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9723
          fi
9724
          ;;
9725
        esac
9726
      else
9727
        ld_shlibs=no
9728
      fi
9729
      ;;
9730
 
9731
    netbsd*)
9732
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9733
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9734
        wlarc=
9735
      else
9736
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9737
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9738
      fi
9739
      ;;
9740
 
9741
    solaris*)
9742
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9743
        ld_shlibs=no
9744
        cat <<_LT_EOF 1>&2
9745
 
9746
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9747
*** create shared libraries on Solaris systems.  Therefore, libtool
9748
*** is disabling shared libraries support.  We urge you to upgrade GNU
9749
*** binutils to release 2.9.1 or newer.  Another option is to modify
9750
*** your PATH or compiler configuration so that the native linker is
9751
*** used, and then restart.
9752
 
9753
_LT_EOF
9754
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9755
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9756
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9757
      else
9758
        ld_shlibs=no
9759
      fi
9760
      ;;
9761
 
9762
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9763
      case `$LD -v 2>&1` in
9764
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9765
        ld_shlibs=no
9766
        cat <<_LT_EOF 1>&2
9767
 
9768
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9769
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9770
*** is disabling shared libraries support.  We urge you to upgrade GNU
9771
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9772
*** your PATH or compiler configuration so that the native linker is
9773
*** used, and then restart.
9774
 
9775
_LT_EOF
9776
        ;;
9777
        *)
9778
          # For security reasons, it is highly recommended that you always
9779
          # use absolute paths for naming shared libraries, and exclude the
9780
          # DT_RUNPATH tag from executables and libraries.  But doing so
9781
          # requires that you compile everything twice, which is a pain.
9782
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9783
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9784
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9785
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9786
          else
9787
            ld_shlibs=no
9788
          fi
9789
        ;;
9790
      esac
9791
      ;;
9792
 
9793
    sunos4*)
9794
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9795
      wlarc=
9796
      hardcode_direct=yes
9797
      hardcode_shlibpath_var=no
9798
      ;;
9799
 
9800
    *)
9801
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9802
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9803
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9804
      else
9805
        ld_shlibs=no
9806
      fi
9807
      ;;
9808
    esac
9809
 
9810
    if test "$ld_shlibs" = no; then
9811
      runpath_var=
9812
      hardcode_libdir_flag_spec=
9813
      export_dynamic_flag_spec=
9814
      whole_archive_flag_spec=
9815
    fi
9816
  else
9817
    # PORTME fill in a description of your system's linker (not GNU ld)
9818
    case $host_os in
9819
    aix3*)
9820
      allow_undefined_flag=unsupported
9821
      always_export_symbols=yes
9822
      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'
9823
      # Note: this linker hardcodes the directories in LIBPATH if there
9824
      # are no directories specified by -L.
9825
      hardcode_minus_L=yes
9826
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9827
        # Neither direct hardcoding nor static linking is supported with a
9828
        # broken collect2.
9829
        hardcode_direct=unsupported
9830
      fi
9831
      ;;
9832
 
9833
    aix[4-9]*)
9834
      if test "$host_cpu" = ia64; then
9835
        # On IA64, the linker does run time linking by default, so we don't
9836
        # have to do anything special.
9837
        aix_use_runtimelinking=no
9838
        exp_sym_flag='-Bexport'
9839
        no_entry_flag=""
9840
      else
9841
        # If we're using GNU nm, then we don't want the "-C" option.
9842
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9843
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9844
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9845
        else
9846
          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'
9847
        fi
9848
        aix_use_runtimelinking=no
9849
 
9850
        # Test if we are trying to use run time linking or normal
9851
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9852
        # need to do runtime linking.
9853
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9854
          for ld_flag in $LDFLAGS; do
9855
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9856
            aix_use_runtimelinking=yes
9857
            break
9858
          fi
9859
          done
9860
          ;;
9861
        esac
9862
 
9863
        exp_sym_flag='-bexport'
9864
        no_entry_flag='-bnoentry'
9865
      fi
9866
 
9867
      # When large executables or shared objects are built, AIX ld can
9868
      # have problems creating the table of contents.  If linking a library
9869
      # or program results in "error TOC overflow" add -mminimal-toc to
9870
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9871
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9872
 
9873
      archive_cmds=''
9874
      hardcode_direct=yes
9875
      hardcode_direct_absolute=yes
9876
      hardcode_libdir_separator=':'
9877
      link_all_deplibs=yes
9878
      file_list_spec='${wl}-f,'
9879
 
9880
      if test "$GCC" = yes; then
9881
        case $host_os in aix4.[012]|aix4.[012].*)
9882
        # We only want to do this on AIX 4.2 and lower, the check
9883
        # below for broken collect2 doesn't work under 4.3+
9884
          collect2name=`${CC} -print-prog-name=collect2`
9885
          if test -f "$collect2name" &&
9886
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9887
          then
9888
          # We have reworked collect2
9889
          :
9890
          else
9891
          # We have old collect2
9892
          hardcode_direct=unsupported
9893
          # It fails to find uninstalled libraries when the uninstalled
9894
          # path is not listed in the libpath.  Setting hardcode_minus_L
9895
          # to unsupported forces relinking
9896
          hardcode_minus_L=yes
9897
          hardcode_libdir_flag_spec='-L$libdir'
9898
          hardcode_libdir_separator=
9899
          fi
9900
          ;;
9901
        esac
9902
        shared_flag='-shared'
9903
        if test "$aix_use_runtimelinking" = yes; then
9904
          shared_flag="$shared_flag "'${wl}-G'
9905
        fi
9906
      else
9907
        # not using gcc
9908
        if test "$host_cpu" = ia64; then
9909
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9910
        # chokes on -Wl,-G. The following line is correct:
9911
          shared_flag='-G'
9912
        else
9913
          if test "$aix_use_runtimelinking" = yes; then
9914
            shared_flag='${wl}-G'
9915
          else
9916
            shared_flag='${wl}-bM:SRE'
9917
          fi
9918
        fi
9919
      fi
9920
 
9921
      export_dynamic_flag_spec='${wl}-bexpall'
9922
      # It seems that -bexpall does not export symbols beginning with
9923
      # underscore (_), so it is better to generate a list of symbols to export.
9924
      always_export_symbols=yes
9925
      if test "$aix_use_runtimelinking" = yes; then
9926
        # Warning - without using the other runtime loading flags (-brtl),
9927
        # -berok will link without error, but may produce a broken library.
9928
        allow_undefined_flag='-berok'
9929
        # Determine the default libpath from the value encoded in an
9930
        # empty executable.
9931
        cat >conftest.$ac_ext <<_ACEOF
9932
/* confdefs.h.  */
9933
_ACEOF
9934
cat confdefs.h >>conftest.$ac_ext
9935
cat >>conftest.$ac_ext <<_ACEOF
9936
/* end confdefs.h.  */
9937
 
9938
int
9939
main ()
9940
{
9941
 
9942
  ;
9943
  return 0;
9944
}
9945
_ACEOF
9946
rm -f conftest.$ac_objext conftest$ac_exeext
9947
if { (ac_try="$ac_link"
9948
case "(($ac_try" in
9949
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9950
  *) ac_try_echo=$ac_try;;
9951
esac
9952
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9953
$as_echo "$ac_try_echo") >&5
9954
  (eval "$ac_link") 2>conftest.er1
9955
  ac_status=$?
9956
  grep -v '^ *+' conftest.er1 >conftest.err
9957
  rm -f conftest.er1
9958
  cat conftest.err >&5
9959
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960
  (exit $ac_status); } && {
9961
         test -z "$ac_c_werror_flag" ||
9962
         test ! -s conftest.err
9963
       } && test -s conftest$ac_exeext && {
9964
         test "$cross_compiling" = yes ||
9965
         $as_test_x conftest$ac_exeext
9966
       }; then
9967
 
9968
lt_aix_libpath_sed='
9969
    /Import File Strings/,/^$/ {
9970
        /^0/ {
9971
            s/^0  *\(.*\)$/\1/
9972
            p
9973
        }
9974
    }'
9975
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9976
# Check for a 64-bit object if we didn't find anything.
9977
if test -z "$aix_libpath"; then
9978
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9979
fi
9980
else
9981
  $as_echo "$as_me: failed program was:" >&5
9982
sed 's/^/| /' conftest.$ac_ext >&5
9983
 
9984
 
9985
fi
9986
 
9987
rm -rf conftest.dSYM
9988
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9989
      conftest$ac_exeext conftest.$ac_ext
9990
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9991
 
9992
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9993
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9994
      else
9995
        if test "$host_cpu" = ia64; then
9996
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9997
          allow_undefined_flag="-z nodefs"
9998
          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"
9999
        else
10000
         # Determine the default libpath from the value encoded in an
10001
         # empty executable.
10002
         cat >conftest.$ac_ext <<_ACEOF
10003
/* confdefs.h.  */
10004
_ACEOF
10005
cat confdefs.h >>conftest.$ac_ext
10006
cat >>conftest.$ac_ext <<_ACEOF
10007
/* end confdefs.h.  */
10008
 
10009
int
10010
main ()
10011
{
10012
 
10013
  ;
10014
  return 0;
10015
}
10016
_ACEOF
10017
rm -f conftest.$ac_objext conftest$ac_exeext
10018
if { (ac_try="$ac_link"
10019
case "(($ac_try" in
10020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10021
  *) ac_try_echo=$ac_try;;
10022
esac
10023
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10024
$as_echo "$ac_try_echo") >&5
10025
  (eval "$ac_link") 2>conftest.er1
10026
  ac_status=$?
10027
  grep -v '^ *+' conftest.er1 >conftest.err
10028
  rm -f conftest.er1
10029
  cat conftest.err >&5
10030
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031
  (exit $ac_status); } && {
10032
         test -z "$ac_c_werror_flag" ||
10033
         test ! -s conftest.err
10034
       } && test -s conftest$ac_exeext && {
10035
         test "$cross_compiling" = yes ||
10036
         $as_test_x conftest$ac_exeext
10037
       }; then
10038
 
10039
lt_aix_libpath_sed='
10040
    /Import File Strings/,/^$/ {
10041
        /^0/ {
10042
            s/^0  *\(.*\)$/\1/
10043
            p
10044
        }
10045
    }'
10046
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10047
# Check for a 64-bit object if we didn't find anything.
10048
if test -z "$aix_libpath"; then
10049
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10050
fi
10051
else
10052
  $as_echo "$as_me: failed program was:" >&5
10053
sed 's/^/| /' conftest.$ac_ext >&5
10054
 
10055
 
10056
fi
10057
 
10058
rm -rf conftest.dSYM
10059
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10060
      conftest$ac_exeext conftest.$ac_ext
10061
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10062
 
10063
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10064
          # Warning - without using the other run time loading flags,
10065
          # -berok will link without error, but may produce a broken library.
10066
          no_undefined_flag=' ${wl}-bernotok'
10067
          allow_undefined_flag=' ${wl}-berok'
10068
          # Exported symbols can be pulled into shared objects from archives
10069
          whole_archive_flag_spec='$convenience'
10070
          archive_cmds_need_lc=yes
10071
          # This is similar to how AIX traditionally builds its shared libraries.
10072
          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'
10073
        fi
10074
      fi
10075
      ;;
10076
 
10077
    amigaos*)
10078
      case $host_cpu in
10079
      powerpc)
10080
            # see comment about AmigaOS4 .so support
10081
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10082
            archive_expsym_cmds=''
10083
        ;;
10084
      m68k)
10085
            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)'
10086
            hardcode_libdir_flag_spec='-L$libdir'
10087
            hardcode_minus_L=yes
10088
        ;;
10089
      esac
10090
      ;;
10091
 
10092
    bsdi[45]*)
10093
      export_dynamic_flag_spec=-rdynamic
10094
      ;;
10095
 
10096
    cygwin* | mingw* | pw32* | cegcc*)
10097
      # When not using gcc, we currently assume that we are using
10098
      # Microsoft Visual C++.
10099
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10100
      # no search path for DLLs.
10101
      hardcode_libdir_flag_spec=' '
10102
      allow_undefined_flag=unsupported
10103
      # Tell ltmain to make .lib files, not .a files.
10104
      libext=lib
10105
      # Tell ltmain to make .dll files, not .so files.
10106
      shrext_cmds=".dll"
10107
      # FIXME: Setting linknames here is a bad hack.
10108
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10109
      # The linker will automatically build a .lib file if we build a DLL.
10110
      old_archive_from_new_cmds='true'
10111
      # FIXME: Should let the user specify the lib program.
10112
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10113
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10114
      enable_shared_with_static_runtimes=yes
10115
      ;;
10116
 
10117
    darwin* | rhapsody*)
10118
 
10119
 
10120
  archive_cmds_need_lc=no
10121
  hardcode_direct=no
10122
  hardcode_automatic=yes
10123
  hardcode_shlibpath_var=unsupported
10124
  whole_archive_flag_spec=''
10125
  link_all_deplibs=yes
10126
  allow_undefined_flag="$_lt_dar_allow_undefined"
10127
  case $cc_basename in
10128
     ifort*) _lt_dar_can_shared=yes ;;
10129
     *) _lt_dar_can_shared=$GCC ;;
10130
  esac
10131
  if test "$_lt_dar_can_shared" = "yes"; then
10132
    output_verbose_link_cmd=echo
10133
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10134
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10135
    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}"
10136
    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}"
10137
 
10138
  else
10139
  ld_shlibs=no
10140
  fi
10141
 
10142
      ;;
10143
 
10144
    dgux*)
10145
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10146
      hardcode_libdir_flag_spec='-L$libdir'
10147
      hardcode_shlibpath_var=no
10148
      ;;
10149
 
10150
    freebsd1*)
10151
      ld_shlibs=no
10152
      ;;
10153
 
10154
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10155
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10156
    # does not break anything, and helps significantly (at the cost of a little
10157
    # extra space).
10158
    freebsd2.2*)
10159
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10160
      hardcode_libdir_flag_spec='-R$libdir'
10161
      hardcode_direct=yes
10162
      hardcode_shlibpath_var=no
10163
      ;;
10164
 
10165
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10166
    freebsd2*)
10167
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10168
      hardcode_direct=yes
10169
      hardcode_minus_L=yes
10170
      hardcode_shlibpath_var=no
10171
      ;;
10172
 
10173
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10174
    freebsd* | dragonfly*)
10175
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10176
      hardcode_libdir_flag_spec='-R$libdir'
10177
      hardcode_direct=yes
10178
      hardcode_shlibpath_var=no
10179
      ;;
10180
 
10181
    hpux9*)
10182
      if test "$GCC" = yes; then
10183
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10184
      else
10185
        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'
10186
      fi
10187
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10188
      hardcode_libdir_separator=:
10189
      hardcode_direct=yes
10190
 
10191
      # hardcode_minus_L: Not really in the search PATH,
10192
      # but as the default location of the library.
10193
      hardcode_minus_L=yes
10194
      export_dynamic_flag_spec='${wl}-E'
10195
      ;;
10196
 
10197
    hpux10*)
10198
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10199
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10200
      else
10201
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10202
      fi
10203
      if test "$with_gnu_ld" = no; then
10204
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10205
        hardcode_libdir_flag_spec_ld='+b $libdir'
10206
        hardcode_libdir_separator=:
10207
        hardcode_direct=yes
10208
        hardcode_direct_absolute=yes
10209
        export_dynamic_flag_spec='${wl}-E'
10210
        # hardcode_minus_L: Not really in the search PATH,
10211
        # but as the default location of the library.
10212
        hardcode_minus_L=yes
10213
      fi
10214
      ;;
10215
 
10216
    hpux11*)
10217
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10218
        case $host_cpu in
10219
        hppa*64*)
10220
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10221
          ;;
10222
        ia64*)
10223
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10224
          ;;
10225
        *)
10226
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10227
          ;;
10228
        esac
10229
      else
10230
        case $host_cpu in
10231
        hppa*64*)
10232
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10233
          ;;
10234
        ia64*)
10235
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10236
          ;;
10237
        *)
10238
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10239
          ;;
10240
        esac
10241
      fi
10242
      if test "$with_gnu_ld" = no; then
10243
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10244
        hardcode_libdir_separator=:
10245
 
10246
        case $host_cpu in
10247
        hppa*64*|ia64*)
10248
          hardcode_direct=no
10249
          hardcode_shlibpath_var=no
10250
          ;;
10251
        *)
10252
          hardcode_direct=yes
10253
          hardcode_direct_absolute=yes
10254
          export_dynamic_flag_spec='${wl}-E'
10255
 
10256
          # hardcode_minus_L: Not really in the search PATH,
10257
          # but as the default location of the library.
10258
          hardcode_minus_L=yes
10259
          ;;
10260
        esac
10261
      fi
10262
      ;;
10263
 
10264
    irix5* | irix6* | nonstopux*)
10265
      if test "$GCC" = yes; then
10266
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10267
        # Try to use the -exported_symbol ld option, if it does not
10268
        # work, assume that -exports_file does not work either and
10269
        # implicitly export all symbols.
10270
        save_LDFLAGS="$LDFLAGS"
10271
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10272
        cat >conftest.$ac_ext <<_ACEOF
10273
int foo(void) {}
10274
_ACEOF
10275
rm -f conftest.$ac_objext conftest$ac_exeext
10276
if { (ac_try="$ac_link"
10277
case "(($ac_try" in
10278
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10279
  *) ac_try_echo=$ac_try;;
10280
esac
10281
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10282
$as_echo "$ac_try_echo") >&5
10283
  (eval "$ac_link") 2>conftest.er1
10284
  ac_status=$?
10285
  grep -v '^ *+' conftest.er1 >conftest.err
10286
  rm -f conftest.er1
10287
  cat conftest.err >&5
10288
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289
  (exit $ac_status); } && {
10290
         test -z "$ac_c_werror_flag" ||
10291
         test ! -s conftest.err
10292
       } && test -s conftest$ac_exeext && {
10293
         test "$cross_compiling" = yes ||
10294
         $as_test_x conftest$ac_exeext
10295
       }; then
10296
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10297
 
10298
else
10299
  $as_echo "$as_me: failed program was:" >&5
10300
sed 's/^/| /' conftest.$ac_ext >&5
10301
 
10302
 
10303
fi
10304
 
10305
rm -rf conftest.dSYM
10306
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10307
      conftest$ac_exeext conftest.$ac_ext
10308
        LDFLAGS="$save_LDFLAGS"
10309
      else
10310
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10311
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10312
      fi
10313
      archive_cmds_need_lc='no'
10314
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10315
      hardcode_libdir_separator=:
10316
      inherit_rpath=yes
10317
      link_all_deplibs=yes
10318
      ;;
10319
 
10320
    netbsd*)
10321
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10322
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10323
      else
10324
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10325
      fi
10326
      hardcode_libdir_flag_spec='-R$libdir'
10327
      hardcode_direct=yes
10328
      hardcode_shlibpath_var=no
10329
      ;;
10330
 
10331
    newsos6)
10332
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10333
      hardcode_direct=yes
10334
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10335
      hardcode_libdir_separator=:
10336
      hardcode_shlibpath_var=no
10337
      ;;
10338
 
10339
    *nto* | *qnx*)
10340
      ;;
10341
 
10342
    openbsd*)
10343
      if test -f /usr/libexec/ld.so; then
10344
        hardcode_direct=yes
10345
        hardcode_shlibpath_var=no
10346
        hardcode_direct_absolute=yes
10347
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10348
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10349
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10350
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10351
          export_dynamic_flag_spec='${wl}-E'
10352
        else
10353
          case $host_os in
10354
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10355
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10356
             hardcode_libdir_flag_spec='-R$libdir'
10357
             ;;
10358
           *)
10359
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10360
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10361
             ;;
10362
          esac
10363
        fi
10364
      else
10365
        ld_shlibs=no
10366
      fi
10367
      ;;
10368
 
10369
    os2*)
10370
      hardcode_libdir_flag_spec='-L$libdir'
10371
      hardcode_minus_L=yes
10372
      allow_undefined_flag=unsupported
10373
      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'
10374
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10375
      ;;
10376
 
10377
    osf3*)
10378
      if test "$GCC" = yes; then
10379
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10380
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10381
      else
10382
        allow_undefined_flag=' -expect_unresolved \*'
10383
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10384
      fi
10385
      archive_cmds_need_lc='no'
10386
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10387
      hardcode_libdir_separator=:
10388
      ;;
10389
 
10390
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10391
      if test "$GCC" = yes; then
10392
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10393
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10394
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10395
      else
10396
        allow_undefined_flag=' -expect_unresolved \*'
10397
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10398
        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~
10399
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10400
 
10401
        # Both c and cxx compiler support -rpath directly
10402
        hardcode_libdir_flag_spec='-rpath $libdir'
10403
      fi
10404
      archive_cmds_need_lc='no'
10405
      hardcode_libdir_separator=:
10406
      ;;
10407
 
10408
    solaris*)
10409
      no_undefined_flag=' -z defs'
10410
      if test "$GCC" = yes; then
10411
        wlarc='${wl}'
10412
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10413
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10414
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10415
      else
10416
        case `$CC -V 2>&1` in
10417
        *"Compilers 5.0"*)
10418
          wlarc=''
10419
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10420
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10421
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10422
          ;;
10423
        *)
10424
          wlarc='${wl}'
10425
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10426
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10427
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10428
          ;;
10429
        esac
10430
      fi
10431
      hardcode_libdir_flag_spec='-R$libdir'
10432
      hardcode_shlibpath_var=no
10433
      case $host_os in
10434
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10435
      *)
10436
        # The compiler driver will combine and reorder linker options,
10437
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10438
        # but is careful enough not to reorder.
10439
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10440
        if test "$GCC" = yes; then
10441
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10442
        else
10443
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10444
        fi
10445
        ;;
10446
      esac
10447
      link_all_deplibs=yes
10448
      ;;
10449
 
10450
    sunos4*)
10451
      if test "x$host_vendor" = xsequent; then
10452
        # Use $CC to link under sequent, because it throws in some extra .o
10453
        # files that make .init and .fini sections work.
10454
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10455
      else
10456
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10457
      fi
10458
      hardcode_libdir_flag_spec='-L$libdir'
10459
      hardcode_direct=yes
10460
      hardcode_minus_L=yes
10461
      hardcode_shlibpath_var=no
10462
      ;;
10463
 
10464
    sysv4)
10465
      case $host_vendor in
10466
        sni)
10467
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10468
          hardcode_direct=yes # is this really true???
10469
        ;;
10470
        siemens)
10471
          ## LD is ld it makes a PLAMLIB
10472
          ## CC just makes a GrossModule.
10473
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10474
          reload_cmds='$CC -r -o $output$reload_objs'
10475
          hardcode_direct=no
10476
        ;;
10477
        motorola)
10478
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10479
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10480
        ;;
10481
      esac
10482
      runpath_var='LD_RUN_PATH'
10483
      hardcode_shlibpath_var=no
10484
      ;;
10485
 
10486
    sysv4.3*)
10487
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10488
      hardcode_shlibpath_var=no
10489
      export_dynamic_flag_spec='-Bexport'
10490
      ;;
10491
 
10492
    sysv4*MP*)
10493
      if test -d /usr/nec; then
10494
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10495
        hardcode_shlibpath_var=no
10496
        runpath_var=LD_RUN_PATH
10497
        hardcode_runpath_var=yes
10498
        ld_shlibs=yes
10499
      fi
10500
      ;;
10501
 
10502
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10503
      no_undefined_flag='${wl}-z,text'
10504
      archive_cmds_need_lc=no
10505
      hardcode_shlibpath_var=no
10506
      runpath_var='LD_RUN_PATH'
10507
 
10508
      if test "$GCC" = yes; then
10509
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10510
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10511
      else
10512
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10513
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10514
      fi
10515
      ;;
10516
 
10517
    sysv5* | sco3.2v5* | sco5v6*)
10518
      # Note: We can NOT use -z defs as we might desire, because we do not
10519
      # link with -lc, and that would cause any symbols used from libc to
10520
      # always be unresolved, which means just about no library would
10521
      # ever link correctly.  If we're not using GNU ld we use -z text
10522
      # though, which does catch some bad symbols but isn't as heavy-handed
10523
      # as -z defs.
10524
      no_undefined_flag='${wl}-z,text'
10525
      allow_undefined_flag='${wl}-z,nodefs'
10526
      archive_cmds_need_lc=no
10527
      hardcode_shlibpath_var=no
10528
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10529
      hardcode_libdir_separator=':'
10530
      link_all_deplibs=yes
10531
      export_dynamic_flag_spec='${wl}-Bexport'
10532
      runpath_var='LD_RUN_PATH'
10533
 
10534
      if test "$GCC" = yes; then
10535
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10536
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10537
      else
10538
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10539
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10540
      fi
10541
      ;;
10542
 
10543
    uts4*)
10544
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10545
      hardcode_libdir_flag_spec='-L$libdir'
10546
      hardcode_shlibpath_var=no
10547
      ;;
10548
 
10549
    *)
10550
      ld_shlibs=no
10551
      ;;
10552
    esac
10553
 
10554
    if test x$host_vendor = xsni; then
10555
      case $host in
10556
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10557
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10558
        ;;
10559
      esac
10560
    fi
10561
  fi
10562
 
10563
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10564
$as_echo "$ld_shlibs" >&6; }
10565
test "$ld_shlibs" = no && can_build_shared=no
10566
 
10567
with_gnu_ld=$with_gnu_ld
10568
 
10569
 
10570
 
10571
 
10572
 
10573
 
10574
 
10575
 
10576
 
10577
 
10578
 
10579
 
10580
 
10581
 
10582
 
10583
#
10584
# Do we need to explicitly link libc?
10585
#
10586
case "x$archive_cmds_need_lc" in
10587
x|xyes)
10588
  # Assume -lc should be added
10589
  archive_cmds_need_lc=yes
10590
 
10591
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10592
    case $archive_cmds in
10593
    *'~'*)
10594
      # FIXME: we may have to deal with multi-command sequences.
10595
      ;;
10596
    '$CC '*)
10597
      # Test whether the compiler implicitly links with -lc since on some
10598
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10599
      # to ld, don't add -lc before -lgcc.
10600
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10601
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10602
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
10603
  $as_echo_n "(cached) " >&6
10604
else
10605
  $RM conftest*
10606
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10607
 
10608
        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10609
  (eval $ac_compile) 2>&5
10610
  ac_status=$?
10611
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612
  (exit $ac_status); } 2>conftest.err; then
10613
          soname=conftest
10614
          lib=conftest
10615
          libobjs=conftest.$ac_objext
10616
          deplibs=
10617
          wl=$lt_prog_compiler_wl
10618
          pic_flag=$lt_prog_compiler_pic
10619
          compiler_flags=-v
10620
          linker_flags=-v
10621
          verstring=
10622
          output_objdir=.
10623
          libname=conftest
10624
          lt_save_allow_undefined_flag=$allow_undefined_flag
10625
          allow_undefined_flag=
10626
          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10627
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10628
  ac_status=$?
10629
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630
  (exit $ac_status); }
10631
          then
10632
            lt_cv_archive_cmds_need_lc=no
10633
          else
10634
            lt_cv_archive_cmds_need_lc=yes
10635
          fi
10636
          allow_undefined_flag=$lt_save_allow_undefined_flag
10637
        else
10638
          cat conftest.err 1>&5
10639
        fi
10640
        $RM conftest*
10641
 
10642
fi
10643
{ $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
10644
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10645
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10646
      ;;
10647
    esac
10648
  fi
10649
  ;;
10650
esac
10651
 
10652
 
10653
 
10654
 
10655
 
10656
 
10657
 
10658
 
10659
 
10660
 
10661
 
10662
 
10663
 
10664
 
10665
 
10666
 
10667
 
10668
 
10669
 
10670
 
10671
 
10672
 
10673
 
10674
 
10675
 
10676
 
10677
 
10678
 
10679
 
10680
 
10681
 
10682
 
10683
 
10684
 
10685
 
10686
 
10687
 
10688
 
10689
 
10690
 
10691
 
10692
 
10693
 
10694
 
10695
 
10696
 
10697
 
10698
 
10699
 
10700
 
10701
 
10702
 
10703
 
10704
 
10705
 
10706
 
10707
 
10708
 
10709
 
10710
 
10711
 
10712
 
10713
 
10714
 
10715
 
10716
 
10717
 
10718
 
10719
 
10720
 
10721
 
10722
 
10723
 
10724
 
10725
 
10726
 
10727
 
10728
 
10729
 
10730
 
10731
 
10732
 
10733
 
10734
 
10735
 
10736
 
10737
 
10738
 
10739
 
10740
 
10741
 
10742
 
10743
 
10744
 
10745
 
10746
 
10747
 
10748
 
10749
 
10750
 
10751
 
10752
 
10753
 
10754
 
10755
 
10756
 
10757
 
10758
 
10759
 
10760
 
10761
 
10762
 
10763
 
10764
 
10765
 
10766
 
10767
 
10768
 
10769
 
10770
 
10771
 
10772
 
10773
 
10774
 
10775
 
10776
 
10777
 
10778
 
10779
 
10780
 
10781
 
10782
 
10783
 
10784
 
10785
 
10786
 
10787
 
10788
 
10789
 
10790
 
10791
 
10792
 
10793
 
10794
 
10795
 
10796
 
10797
 
10798
 
10799
 
10800
 
10801
 
10802
 
10803
 
10804
 
10805
 
10806
 
10807
 
10808
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10809
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10810
 
10811
if test "$GCC" = yes; then
10812
  case $host_os in
10813
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10814
    *) lt_awk_arg="/^libraries:/" ;;
10815
  esac
10816
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10817
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10818
    # if the path contains ";" then we assume it to be the separator
10819
    # otherwise default to the standard path separator (i.e. ":") - it is
10820
    # assumed that no part of a normal pathname contains ";" but that should
10821
    # okay in the real world where ";" in dirpaths is itself problematic.
10822
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10823
  else
10824
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10825
  fi
10826
  # Ok, now we have the path, separated by spaces, we can step through it
10827
  # and add multilib dir if necessary.
10828
  lt_tmp_lt_search_path_spec=
10829
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10830
  for lt_sys_path in $lt_search_path_spec; do
10831
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10832
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10833
    else
10834
      test -d "$lt_sys_path" && \
10835
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10836
    fi
10837
  done
10838
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10839
BEGIN {RS=" "; FS="/|\n";} {
10840
  lt_foo="";
10841
  lt_count=0;
10842
  for (lt_i = NF; lt_i > 0; lt_i--) {
10843
    if ($lt_i != "" && $lt_i != ".") {
10844
      if ($lt_i == "..") {
10845
        lt_count++;
10846
      } else {
10847
        if (lt_count == 0) {
10848
          lt_foo="/" $lt_i lt_foo;
10849
        } else {
10850
          lt_count--;
10851
        }
10852
      }
10853
    }
10854
  }
10855
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10856
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10857
}'`
10858
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10859
else
10860
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10861
fi
10862
library_names_spec=
10863
libname_spec='lib$name'
10864
soname_spec=
10865
shrext_cmds=".so"
10866
postinstall_cmds=
10867
postuninstall_cmds=
10868
finish_cmds=
10869
finish_eval=
10870
shlibpath_var=
10871
shlibpath_overrides_runpath=unknown
10872
version_type=none
10873
dynamic_linker="$host_os ld.so"
10874
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10875
need_lib_prefix=unknown
10876
hardcode_into_libs=no
10877
 
10878
# when you set need_version to no, make sure it does not cause -set_version
10879
# flags to be left without arguments
10880
need_version=unknown
10881
 
10882
case $host_os in
10883
aix3*)
10884
  version_type=linux
10885
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10886
  shlibpath_var=LIBPATH
10887
 
10888
  # AIX 3 has no versioning support, so we append a major version to the name.
10889
  soname_spec='${libname}${release}${shared_ext}$major'
10890
  ;;
10891
 
10892
aix[4-9]*)
10893
  version_type=linux
10894
  need_lib_prefix=no
10895
  need_version=no
10896
  hardcode_into_libs=yes
10897
  if test "$host_cpu" = ia64; then
10898
    # AIX 5 supports IA64
10899
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10900
    shlibpath_var=LD_LIBRARY_PATH
10901
  else
10902
    # With GCC up to 2.95.x, collect2 would create an import file
10903
    # for dependence libraries.  The import file would start with
10904
    # the line `#! .'.  This would cause the generated library to
10905
    # depend on `.', always an invalid library.  This was fixed in
10906
    # development snapshots of GCC prior to 3.0.
10907
    case $host_os in
10908
      aix4 | aix4.[01] | aix4.[01].*)
10909
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10910
           echo ' yes '
10911
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10912
        :
10913
      else
10914
        can_build_shared=no
10915
      fi
10916
      ;;
10917
    esac
10918
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10919
    # soname into executable. Probably we can add versioning support to
10920
    # collect2, so additional links can be useful in future.
10921
    if test "$aix_use_runtimelinking" = yes; then
10922
      # If using run time linking (on AIX 4.2 or later) use lib.so
10923
      # instead of lib.a to let people know that these are not
10924
      # typical AIX shared libraries.
10925
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926
    else
10927
      # We preserve .a as extension for shared libraries through AIX4.2
10928
      # and later when we are not doing run time linking.
10929
      library_names_spec='${libname}${release}.a $libname.a'
10930
      soname_spec='${libname}${release}${shared_ext}$major'
10931
    fi
10932
    shlibpath_var=LIBPATH
10933
  fi
10934
  ;;
10935
 
10936
amigaos*)
10937
  case $host_cpu in
10938
  powerpc)
10939
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10940
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10941
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10942
    ;;
10943
  m68k)
10944
    library_names_spec='$libname.ixlibrary $libname.a'
10945
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10946
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10947
    ;;
10948
  esac
10949
  ;;
10950
 
10951
beos*)
10952
  library_names_spec='${libname}${shared_ext}'
10953
  dynamic_linker="$host_os ld.so"
10954
  shlibpath_var=LIBRARY_PATH
10955
  ;;
10956
 
10957
bsdi[45]*)
10958
  version_type=linux
10959
  need_version=no
10960
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961
  soname_spec='${libname}${release}${shared_ext}$major'
10962
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10963
  shlibpath_var=LD_LIBRARY_PATH
10964
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10965
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10966
  # the default ld.so.conf also contains /usr/contrib/lib and
10967
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10968
  # libtool to hard-code these into programs
10969
  ;;
10970
 
10971
cygwin* | mingw* | pw32* | cegcc*)
10972
  version_type=windows
10973
  shrext_cmds=".dll"
10974
  need_version=no
10975
  need_lib_prefix=no
10976
 
10977
  case $GCC,$host_os in
10978
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10979
    library_names_spec='$libname.dll.a'
10980
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10981
    postinstall_cmds='base_file=`basename \${file}`~
10982
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10983
      dldir=$destdir/`dirname \$dlpath`~
10984
      test -d \$dldir || mkdir -p \$dldir~
10985
      $install_prog $dir/$dlname \$dldir/$dlname~
10986
      chmod a+x \$dldir/$dlname~
10987
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10988
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10989
      fi'
10990
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10991
      dlpath=$dir/\$dldll~
10992
       $RM \$dlpath'
10993
    shlibpath_overrides_runpath=yes
10994
 
10995
    case $host_os in
10996
    cygwin*)
10997
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10998
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10999
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11000
      ;;
11001
    mingw* | cegcc*)
11002
      # MinGW DLLs use traditional 'lib' prefix
11003
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11004
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11005
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11006
        # It is most probably a Windows format PATH printed by
11007
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11008
        # path with ; separators, and with drive letters. We can handle the
11009
        # drive letters (cygwin fileutils understands them), so leave them,
11010
        # especially as we might pass files found there to a mingw objdump,
11011
        # which wouldn't understand a cygwinified path. Ahh.
11012
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11013
      else
11014
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11015
      fi
11016
      ;;
11017
    pw32*)
11018
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11019
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11020
      ;;
11021
    esac
11022
    ;;
11023
 
11024
  *)
11025
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11026
    ;;
11027
  esac
11028
  dynamic_linker='Win32 ld.exe'
11029
  # FIXME: first we should search . and the directory the executable is in
11030
  shlibpath_var=PATH
11031
  ;;
11032
 
11033
darwin* | rhapsody*)
11034
  dynamic_linker="$host_os dyld"
11035
  version_type=darwin
11036
  need_lib_prefix=no
11037
  need_version=no
11038
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11039
  soname_spec='${libname}${release}${major}$shared_ext'
11040
  shlibpath_overrides_runpath=yes
11041
  shlibpath_var=DYLD_LIBRARY_PATH
11042
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11043
 
11044
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11045
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11046
  ;;
11047
 
11048
dgux*)
11049
  version_type=linux
11050
  need_lib_prefix=no
11051
  need_version=no
11052
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11053
  soname_spec='${libname}${release}${shared_ext}$major'
11054
  shlibpath_var=LD_LIBRARY_PATH
11055
  ;;
11056
 
11057
freebsd1*)
11058
  dynamic_linker=no
11059
  ;;
11060
 
11061
freebsd* | dragonfly*)
11062
  # DragonFly does not have aout.  When/if they implement a new
11063
  # versioning mechanism, adjust this.
11064
  if test -x /usr/bin/objformat; then
11065
    objformat=`/usr/bin/objformat`
11066
  else
11067
    case $host_os in
11068
    freebsd[123]*) objformat=aout ;;
11069
    *) objformat=elf ;;
11070
    esac
11071
  fi
11072
  version_type=freebsd-$objformat
11073
  case $version_type in
11074
    freebsd-elf*)
11075
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11076
      need_version=no
11077
      need_lib_prefix=no
11078
      ;;
11079
    freebsd-*)
11080
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11081
      need_version=yes
11082
      ;;
11083
  esac
11084
  shlibpath_var=LD_LIBRARY_PATH
11085
  case $host_os in
11086
  freebsd2*)
11087
    shlibpath_overrides_runpath=yes
11088
    ;;
11089
  freebsd3.[01]* | freebsdelf3.[01]*)
11090
    shlibpath_overrides_runpath=yes
11091
    hardcode_into_libs=yes
11092
    ;;
11093
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11094
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11095
    shlibpath_overrides_runpath=no
11096
    hardcode_into_libs=yes
11097
    ;;
11098
  *) # from 4.6 on, and DragonFly
11099
    shlibpath_overrides_runpath=yes
11100
    hardcode_into_libs=yes
11101
    ;;
11102
  esac
11103
  ;;
11104
 
11105
gnu*)
11106
  version_type=linux
11107
  need_lib_prefix=no
11108
  need_version=no
11109
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11110
  soname_spec='${libname}${release}${shared_ext}$major'
11111
  shlibpath_var=LD_LIBRARY_PATH
11112
  hardcode_into_libs=yes
11113
  ;;
11114
 
11115
hpux9* | hpux10* | hpux11*)
11116
  # Give a soname corresponding to the major version so that dld.sl refuses to
11117
  # link against other versions.
11118
  version_type=sunos
11119
  need_lib_prefix=no
11120
  need_version=no
11121
  case $host_cpu in
11122
  ia64*)
11123
    shrext_cmds='.so'
11124
    hardcode_into_libs=yes
11125
    dynamic_linker="$host_os dld.so"
11126
    shlibpath_var=LD_LIBRARY_PATH
11127
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11128
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129
    soname_spec='${libname}${release}${shared_ext}$major'
11130
    if test "X$HPUX_IA64_MODE" = X32; then
11131
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11132
    else
11133
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11134
    fi
11135
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11136
    ;;
11137
  hppa*64*)
11138
    shrext_cmds='.sl'
11139
    hardcode_into_libs=yes
11140
    dynamic_linker="$host_os dld.sl"
11141
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11142
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11143
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11144
    soname_spec='${libname}${release}${shared_ext}$major'
11145
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11146
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11147
    ;;
11148
  *)
11149
    shrext_cmds='.sl'
11150
    dynamic_linker="$host_os dld.sl"
11151
    shlibpath_var=SHLIB_PATH
11152
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11153
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11154
    soname_spec='${libname}${release}${shared_ext}$major'
11155
    ;;
11156
  esac
11157
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11158
  postinstall_cmds='chmod 555 $lib'
11159
  ;;
11160
 
11161
interix[3-9]*)
11162
  version_type=linux
11163
  need_lib_prefix=no
11164
  need_version=no
11165
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11166
  soname_spec='${libname}${release}${shared_ext}$major'
11167
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11168
  shlibpath_var=LD_LIBRARY_PATH
11169
  shlibpath_overrides_runpath=no
11170
  hardcode_into_libs=yes
11171
  ;;
11172
 
11173
irix5* | irix6* | nonstopux*)
11174
  case $host_os in
11175
    nonstopux*) version_type=nonstopux ;;
11176
    *)
11177
        if test "$lt_cv_prog_gnu_ld" = yes; then
11178
                version_type=linux
11179
        else
11180
                version_type=irix
11181
        fi ;;
11182
  esac
11183
  need_lib_prefix=no
11184
  need_version=no
11185
  soname_spec='${libname}${release}${shared_ext}$major'
11186
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11187
  case $host_os in
11188
  irix5* | nonstopux*)
11189
    libsuff= shlibsuff=
11190
    ;;
11191
  *)
11192
    case $LD in # libtool.m4 will add one of these switches to LD
11193
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11194
      libsuff= shlibsuff= libmagic=32-bit;;
11195
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11196
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11197
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11198
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11199
    *) libsuff= shlibsuff= libmagic=never-match;;
11200
    esac
11201
    ;;
11202
  esac
11203
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11204
  shlibpath_overrides_runpath=no
11205
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11206
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11207
  hardcode_into_libs=yes
11208
  ;;
11209
 
11210
# No shared lib support for Linux oldld, aout, or coff.
11211
linux*oldld* | linux*aout* | linux*coff*)
11212
  dynamic_linker=no
11213
  ;;
11214
 
11215
# This must be Linux ELF.
11216
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11217
  version_type=linux
11218
  need_lib_prefix=no
11219
  need_version=no
11220
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11221
  soname_spec='${libname}${release}${shared_ext}$major'
11222
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11223
  shlibpath_var=LD_LIBRARY_PATH
11224
  shlibpath_overrides_runpath=no
11225
 
11226
  # Some binutils ld are patched to set DT_RUNPATH
11227
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
11228
  $as_echo_n "(cached) " >&6
11229
else
11230
  lt_cv_shlibpath_overrides_runpath=no
11231
    save_LDFLAGS=$LDFLAGS
11232
    save_libdir=$libdir
11233
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11234
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11235
    cat >conftest.$ac_ext <<_ACEOF
11236
/* confdefs.h.  */
11237
_ACEOF
11238
cat confdefs.h >>conftest.$ac_ext
11239
cat >>conftest.$ac_ext <<_ACEOF
11240
/* end confdefs.h.  */
11241
 
11242
int
11243
main ()
11244
{
11245
 
11246
  ;
11247
  return 0;
11248
}
11249
_ACEOF
11250
rm -f conftest.$ac_objext conftest$ac_exeext
11251
if { (ac_try="$ac_link"
11252
case "(($ac_try" in
11253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11254
  *) ac_try_echo=$ac_try;;
11255
esac
11256
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11257
$as_echo "$ac_try_echo") >&5
11258
  (eval "$ac_link") 2>conftest.er1
11259
  ac_status=$?
11260
  grep -v '^ *+' conftest.er1 >conftest.err
11261
  rm -f conftest.er1
11262
  cat conftest.err >&5
11263
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264
  (exit $ac_status); } && {
11265
         test -z "$ac_c_werror_flag" ||
11266
         test ! -s conftest.err
11267
       } && test -s conftest$ac_exeext && {
11268
         test "$cross_compiling" = yes ||
11269
         $as_test_x conftest$ac_exeext
11270
       }; then
11271
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11272
  lt_cv_shlibpath_overrides_runpath=yes
11273
fi
11274
 
11275
else
11276
  $as_echo "$as_me: failed program was:" >&5
11277
sed 's/^/| /' conftest.$ac_ext >&5
11278
 
11279
 
11280
fi
11281
 
11282
rm -rf conftest.dSYM
11283
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11284
      conftest$ac_exeext conftest.$ac_ext
11285
    LDFLAGS=$save_LDFLAGS
11286
    libdir=$save_libdir
11287
 
11288
fi
11289
 
11290
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11291
 
11292
  # This implies no fast_install, which is unacceptable.
11293
  # Some rework will be needed to allow for fast_install
11294
  # before this can be enabled.
11295
  hardcode_into_libs=yes
11296
 
11297
  # Append ld.so.conf contents to the search path
11298
  if test -f /etc/ld.so.conf; then
11299
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11300
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11301
  fi
11302
 
11303
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11304
  # powerpc, because MkLinux only supported shared libraries with the
11305
  # GNU dynamic linker.  Since this was broken with cross compilers,
11306
  # most powerpc-linux boxes support dynamic linking these days and
11307
  # people can always --disable-shared, the test was removed, and we
11308
  # assume the GNU/Linux dynamic linker is in use.
11309
  dynamic_linker='GNU/Linux ld.so'
11310
  ;;
11311
 
11312
netbsd*)
11313
  version_type=sunos
11314
  need_lib_prefix=no
11315
  need_version=no
11316
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11317
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11318
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11319
    dynamic_linker='NetBSD (a.out) ld.so'
11320
  else
11321
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11322
    soname_spec='${libname}${release}${shared_ext}$major'
11323
    dynamic_linker='NetBSD ld.elf_so'
11324
  fi
11325
  shlibpath_var=LD_LIBRARY_PATH
11326
  shlibpath_overrides_runpath=yes
11327
  hardcode_into_libs=yes
11328
  ;;
11329
 
11330
newsos6)
11331
  version_type=linux
11332
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11333
  shlibpath_var=LD_LIBRARY_PATH
11334
  shlibpath_overrides_runpath=yes
11335
  ;;
11336
 
11337
*nto* | *qnx*)
11338
  version_type=qnx
11339
  need_lib_prefix=no
11340
  need_version=no
11341
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11342
  soname_spec='${libname}${release}${shared_ext}$major'
11343
  shlibpath_var=LD_LIBRARY_PATH
11344
  shlibpath_overrides_runpath=no
11345
  hardcode_into_libs=yes
11346
  dynamic_linker='ldqnx.so'
11347
  ;;
11348
 
11349
openbsd*)
11350
  version_type=sunos
11351
  sys_lib_dlsearch_path_spec="/usr/lib"
11352
  need_lib_prefix=no
11353
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11354
  case $host_os in
11355
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11356
    *)                          need_version=no  ;;
11357
  esac
11358
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11359
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11360
  shlibpath_var=LD_LIBRARY_PATH
11361
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11362
    case $host_os in
11363
      openbsd2.[89] | openbsd2.[89].*)
11364
        shlibpath_overrides_runpath=no
11365
        ;;
11366
      *)
11367
        shlibpath_overrides_runpath=yes
11368
        ;;
11369
      esac
11370
  else
11371
    shlibpath_overrides_runpath=yes
11372
  fi
11373
  ;;
11374
 
11375
os2*)
11376
  libname_spec='$name'
11377
  shrext_cmds=".dll"
11378
  need_lib_prefix=no
11379
  library_names_spec='$libname${shared_ext} $libname.a'
11380
  dynamic_linker='OS/2 ld.exe'
11381
  shlibpath_var=LIBPATH
11382
  ;;
11383
 
11384
osf3* | osf4* | osf5*)
11385
  version_type=osf
11386
  need_lib_prefix=no
11387
  need_version=no
11388
  soname_spec='${libname}${release}${shared_ext}$major'
11389
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11390
  shlibpath_var=LD_LIBRARY_PATH
11391
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11392
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11393
  ;;
11394
 
11395
rdos*)
11396
  dynamic_linker=no
11397
  ;;
11398
 
11399
solaris*)
11400
  version_type=linux
11401
  need_lib_prefix=no
11402
  need_version=no
11403
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11404
  soname_spec='${libname}${release}${shared_ext}$major'
11405
  shlibpath_var=LD_LIBRARY_PATH
11406
  shlibpath_overrides_runpath=yes
11407
  hardcode_into_libs=yes
11408
  # ldd complains unless libraries are executable
11409
  postinstall_cmds='chmod +x $lib'
11410
  ;;
11411
 
11412
sunos4*)
11413
  version_type=sunos
11414
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11415
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11416
  shlibpath_var=LD_LIBRARY_PATH
11417
  shlibpath_overrides_runpath=yes
11418
  if test "$with_gnu_ld" = yes; then
11419
    need_lib_prefix=no
11420
  fi
11421
  need_version=yes
11422
  ;;
11423
 
11424
sysv4 | sysv4.3*)
11425
  version_type=linux
11426
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11427
  soname_spec='${libname}${release}${shared_ext}$major'
11428
  shlibpath_var=LD_LIBRARY_PATH
11429
  case $host_vendor in
11430
    sni)
11431
      shlibpath_overrides_runpath=no
11432
      need_lib_prefix=no
11433
      runpath_var=LD_RUN_PATH
11434
      ;;
11435
    siemens)
11436
      need_lib_prefix=no
11437
      ;;
11438
    motorola)
11439
      need_lib_prefix=no
11440
      need_version=no
11441
      shlibpath_overrides_runpath=no
11442
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11443
      ;;
11444
  esac
11445
  ;;
11446
 
11447
sysv4*MP*)
11448
  if test -d /usr/nec ;then
11449
    version_type=linux
11450
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11451
    soname_spec='$libname${shared_ext}.$major'
11452
    shlibpath_var=LD_LIBRARY_PATH
11453
  fi
11454
  ;;
11455
 
11456
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11457
  version_type=freebsd-elf
11458
  need_lib_prefix=no
11459
  need_version=no
11460
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11461
  soname_spec='${libname}${release}${shared_ext}$major'
11462
  shlibpath_var=LD_LIBRARY_PATH
11463
  shlibpath_overrides_runpath=yes
11464
  hardcode_into_libs=yes
11465
  if test "$with_gnu_ld" = yes; then
11466
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11467
  else
11468
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11469
    case $host_os in
11470
      sco3.2v5*)
11471
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11472
        ;;
11473
    esac
11474
  fi
11475
  sys_lib_dlsearch_path_spec='/usr/lib'
11476
  ;;
11477
 
11478
tpf*)
11479
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11480
  version_type=linux
11481
  need_lib_prefix=no
11482
  need_version=no
11483
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11484
  shlibpath_var=LD_LIBRARY_PATH
11485
  shlibpath_overrides_runpath=no
11486
  hardcode_into_libs=yes
11487
  ;;
11488
 
11489
uts4*)
11490
  version_type=linux
11491
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11492
  soname_spec='${libname}${release}${shared_ext}$major'
11493
  shlibpath_var=LD_LIBRARY_PATH
11494
  ;;
11495
 
11496
*)
11497
  dynamic_linker=no
11498
  ;;
11499
esac
11500
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11501
$as_echo "$dynamic_linker" >&6; }
11502
test "$dynamic_linker" = no && can_build_shared=no
11503
 
11504
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11505
if test "$GCC" = yes; then
11506
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11507
fi
11508
 
11509
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11510
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11511
fi
11512
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11513
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11514
fi
11515
 
11516
 
11517
 
11518
 
11519
 
11520
 
11521
 
11522
 
11523
 
11524
 
11525
 
11526
 
11527
 
11528
 
11529
 
11530
 
11531
 
11532
 
11533
 
11534
 
11535
 
11536
 
11537
 
11538
 
11539
 
11540
 
11541
 
11542
 
11543
 
11544
 
11545
 
11546
 
11547
 
11548
 
11549
 
11550
 
11551
 
11552
 
11553
 
11554
 
11555
 
11556
 
11557
 
11558
 
11559
 
11560
 
11561
 
11562
 
11563
 
11564
 
11565
 
11566
 
11567
 
11568
 
11569
 
11570
 
11571
 
11572
 
11573
 
11574
 
11575
 
11576
 
11577
 
11578
 
11579
 
11580
 
11581
 
11582
 
11583
 
11584
 
11585
 
11586
 
11587
 
11588
 
11589
 
11590
 
11591
 
11592
 
11593
 
11594
 
11595
 
11596
 
11597
 
11598
 
11599
 
11600
 
11601
 
11602
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11603
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11604
hardcode_action=
11605
if test -n "$hardcode_libdir_flag_spec" ||
11606
   test -n "$runpath_var" ||
11607
   test "X$hardcode_automatic" = "Xyes" ; then
11608
 
11609
  # We can hardcode non-existent directories.
11610
  if test "$hardcode_direct" != no &&
11611
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11612
     # have to relink, otherwise we might link with an installed library
11613
     # when we should be linking with a yet-to-be-installed one
11614
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11615
     test "$hardcode_minus_L" != no; then
11616
    # Linking always hardcodes the temporary library directory.
11617
    hardcode_action=relink
11618
  else
11619
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11620
    hardcode_action=immediate
11621
  fi
11622
else
11623
  # We cannot hardcode anything, or else we can only hardcode existing
11624
  # directories.
11625
  hardcode_action=unsupported
11626
fi
11627
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11628
$as_echo "$hardcode_action" >&6; }
11629
 
11630
if test "$hardcode_action" = relink ||
11631
   test "$inherit_rpath" = yes; then
11632
  # Fast installation is not supported
11633
  enable_fast_install=no
11634
elif test "$shlibpath_overrides_runpath" = yes ||
11635
     test "$enable_shared" = no; then
11636
  # Fast installation is not necessary
11637
  enable_fast_install=needless
11638
fi
11639
 
11640
 
11641
 
11642
 
11643
 
11644
 
11645
  if test "x$enable_dlopen" != xyes; then
11646
  enable_dlopen=unknown
11647
  enable_dlopen_self=unknown
11648
  enable_dlopen_self_static=unknown
11649
else
11650
  lt_cv_dlopen=no
11651
  lt_cv_dlopen_libs=
11652
 
11653
  case $host_os in
11654
  beos*)
11655
    lt_cv_dlopen="load_add_on"
11656
    lt_cv_dlopen_libs=
11657
    lt_cv_dlopen_self=yes
11658
    ;;
11659
 
11660
  mingw* | pw32* | cegcc*)
11661
    lt_cv_dlopen="LoadLibrary"
11662
    lt_cv_dlopen_libs=
11663
    ;;
11664
 
11665
  cygwin*)
11666
    lt_cv_dlopen="dlopen"
11667
    lt_cv_dlopen_libs=
11668
    ;;
11669
 
11670
  darwin*)
11671
  # if libdl is installed we need to link against it
11672
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11673
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11674
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11675
  $as_echo_n "(cached) " >&6
11676
else
11677
  ac_check_lib_save_LIBS=$LIBS
11678
LIBS="-ldl  $LIBS"
11679
cat >conftest.$ac_ext <<_ACEOF
11680
/* confdefs.h.  */
11681
_ACEOF
11682
cat confdefs.h >>conftest.$ac_ext
11683
cat >>conftest.$ac_ext <<_ACEOF
11684
/* end confdefs.h.  */
11685
 
11686
/* Override any GCC internal prototype to avoid an error.
11687
   Use char because int might match the return type of a GCC
11688
   builtin and then its argument prototype would still apply.  */
11689
#ifdef __cplusplus
11690
extern "C"
11691
#endif
11692
char dlopen ();
11693
int
11694
main ()
11695
{
11696
return dlopen ();
11697
  ;
11698
  return 0;
11699
}
11700
_ACEOF
11701
rm -f conftest.$ac_objext conftest$ac_exeext
11702
if { (ac_try="$ac_link"
11703
case "(($ac_try" in
11704
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11705
  *) ac_try_echo=$ac_try;;
11706
esac
11707
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11708
$as_echo "$ac_try_echo") >&5
11709
  (eval "$ac_link") 2>conftest.er1
11710
  ac_status=$?
11711
  grep -v '^ *+' conftest.er1 >conftest.err
11712
  rm -f conftest.er1
11713
  cat conftest.err >&5
11714
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715
  (exit $ac_status); } && {
11716
         test -z "$ac_c_werror_flag" ||
11717
         test ! -s conftest.err
11718
       } && test -s conftest$ac_exeext && {
11719
         test "$cross_compiling" = yes ||
11720
         $as_test_x conftest$ac_exeext
11721
       }; then
11722
  ac_cv_lib_dl_dlopen=yes
11723
else
11724
  $as_echo "$as_me: failed program was:" >&5
11725
sed 's/^/| /' conftest.$ac_ext >&5
11726
 
11727
        ac_cv_lib_dl_dlopen=no
11728
fi
11729
 
11730
rm -rf conftest.dSYM
11731
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11732
      conftest$ac_exeext conftest.$ac_ext
11733
LIBS=$ac_check_lib_save_LIBS
11734
fi
11735
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11736
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11737
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11738
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11739
else
11740
 
11741
    lt_cv_dlopen="dyld"
11742
    lt_cv_dlopen_libs=
11743
    lt_cv_dlopen_self=yes
11744
 
11745
fi
11746
 
11747
    ;;
11748
 
11749
  *)
11750
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11751
$as_echo_n "checking for shl_load... " >&6; }
11752
if test "${ac_cv_func_shl_load+set}" = set; then
11753
  $as_echo_n "(cached) " >&6
11754
else
11755
  cat >conftest.$ac_ext <<_ACEOF
11756
/* confdefs.h.  */
11757
_ACEOF
11758
cat confdefs.h >>conftest.$ac_ext
11759
cat >>conftest.$ac_ext <<_ACEOF
11760
/* end confdefs.h.  */
11761
/* Define shl_load to an innocuous variant, in case  declares shl_load.
11762
   For example, HP-UX 11i  declares gettimeofday.  */
11763
#define shl_load innocuous_shl_load
11764
 
11765
/* System header to define __stub macros and hopefully few prototypes,
11766
    which can conflict with char shl_load (); below.
11767
    Prefer  to  if __STDC__ is defined, since
11768
     exists even on freestanding compilers.  */
11769
 
11770
#ifdef __STDC__
11771
# include 
11772
#else
11773
# include 
11774
#endif
11775
 
11776
#undef shl_load
11777
 
11778
/* Override any GCC internal prototype to avoid an error.
11779
   Use char because int might match the return type of a GCC
11780
   builtin and then its argument prototype would still apply.  */
11781
#ifdef __cplusplus
11782
extern "C"
11783
#endif
11784
char shl_load ();
11785
/* The GNU C library defines this for functions which it implements
11786
    to always fail with ENOSYS.  Some functions are actually named
11787
    something starting with __ and the normal name is an alias.  */
11788
#if defined __stub_shl_load || defined __stub___shl_load
11789
choke me
11790
#endif
11791
 
11792
int
11793
main ()
11794
{
11795
return shl_load ();
11796
  ;
11797
  return 0;
11798
}
11799
_ACEOF
11800
rm -f conftest.$ac_objext conftest$ac_exeext
11801
if { (ac_try="$ac_link"
11802
case "(($ac_try" in
11803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11804
  *) ac_try_echo=$ac_try;;
11805
esac
11806
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11807
$as_echo "$ac_try_echo") >&5
11808
  (eval "$ac_link") 2>conftest.er1
11809
  ac_status=$?
11810
  grep -v '^ *+' conftest.er1 >conftest.err
11811
  rm -f conftest.er1
11812
  cat conftest.err >&5
11813
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814
  (exit $ac_status); } && {
11815
         test -z "$ac_c_werror_flag" ||
11816
         test ! -s conftest.err
11817
       } && test -s conftest$ac_exeext && {
11818
         test "$cross_compiling" = yes ||
11819
         $as_test_x conftest$ac_exeext
11820
       }; then
11821
  ac_cv_func_shl_load=yes
11822
else
11823
  $as_echo "$as_me: failed program was:" >&5
11824
sed 's/^/| /' conftest.$ac_ext >&5
11825
 
11826
        ac_cv_func_shl_load=no
11827
fi
11828
 
11829
rm -rf conftest.dSYM
11830
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11831
      conftest$ac_exeext conftest.$ac_ext
11832
fi
11833
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11834
$as_echo "$ac_cv_func_shl_load" >&6; }
11835
if test "x$ac_cv_func_shl_load" = x""yes; then
11836
  lt_cv_dlopen="shl_load"
11837
else
11838
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11839
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11840
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11841
  $as_echo_n "(cached) " >&6
11842
else
11843
  ac_check_lib_save_LIBS=$LIBS
11844
LIBS="-ldld  $LIBS"
11845
cat >conftest.$ac_ext <<_ACEOF
11846
/* confdefs.h.  */
11847
_ACEOF
11848
cat confdefs.h >>conftest.$ac_ext
11849
cat >>conftest.$ac_ext <<_ACEOF
11850
/* end confdefs.h.  */
11851
 
11852
/* Override any GCC internal prototype to avoid an error.
11853
   Use char because int might match the return type of a GCC
11854
   builtin and then its argument prototype would still apply.  */
11855
#ifdef __cplusplus
11856
extern "C"
11857
#endif
11858
char shl_load ();
11859
int
11860
main ()
11861
{
11862
return shl_load ();
11863
  ;
11864
  return 0;
11865
}
11866
_ACEOF
11867
rm -f conftest.$ac_objext conftest$ac_exeext
11868
if { (ac_try="$ac_link"
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:$LINENO: $ac_try_echo\""
11874
$as_echo "$ac_try_echo") >&5
11875
  (eval "$ac_link") 2>conftest.er1
11876
  ac_status=$?
11877
  grep -v '^ *+' conftest.er1 >conftest.err
11878
  rm -f conftest.er1
11879
  cat conftest.err >&5
11880
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881
  (exit $ac_status); } && {
11882
         test -z "$ac_c_werror_flag" ||
11883
         test ! -s conftest.err
11884
       } && test -s conftest$ac_exeext && {
11885
         test "$cross_compiling" = yes ||
11886
         $as_test_x conftest$ac_exeext
11887
       }; then
11888
  ac_cv_lib_dld_shl_load=yes
11889
else
11890
  $as_echo "$as_me: failed program was:" >&5
11891
sed 's/^/| /' conftest.$ac_ext >&5
11892
 
11893
        ac_cv_lib_dld_shl_load=no
11894
fi
11895
 
11896
rm -rf conftest.dSYM
11897
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11898
      conftest$ac_exeext conftest.$ac_ext
11899
LIBS=$ac_check_lib_save_LIBS
11900
fi
11901
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11902
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11903
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11904
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11905
else
11906
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11907
$as_echo_n "checking for dlopen... " >&6; }
11908
if test "${ac_cv_func_dlopen+set}" = set; then
11909
  $as_echo_n "(cached) " >&6
11910
else
11911
  cat >conftest.$ac_ext <<_ACEOF
11912
/* confdefs.h.  */
11913
_ACEOF
11914
cat confdefs.h >>conftest.$ac_ext
11915
cat >>conftest.$ac_ext <<_ACEOF
11916
/* end confdefs.h.  */
11917
/* Define dlopen to an innocuous variant, in case  declares dlopen.
11918
   For example, HP-UX 11i  declares gettimeofday.  */
11919
#define dlopen innocuous_dlopen
11920
 
11921
/* System header to define __stub macros and hopefully few prototypes,
11922
    which can conflict with char dlopen (); below.
11923
    Prefer  to  if __STDC__ is defined, since
11924
     exists even on freestanding compilers.  */
11925
 
11926
#ifdef __STDC__
11927
# include 
11928
#else
11929
# include 
11930
#endif
11931
 
11932
#undef dlopen
11933
 
11934
/* Override any GCC internal prototype to avoid an error.
11935
   Use char because int might match the return type of a GCC
11936
   builtin and then its argument prototype would still apply.  */
11937
#ifdef __cplusplus
11938
extern "C"
11939
#endif
11940
char dlopen ();
11941
/* The GNU C library defines this for functions which it implements
11942
    to always fail with ENOSYS.  Some functions are actually named
11943
    something starting with __ and the normal name is an alias.  */
11944
#if defined __stub_dlopen || defined __stub___dlopen
11945
choke me
11946
#endif
11947
 
11948
int
11949
main ()
11950
{
11951
return dlopen ();
11952
  ;
11953
  return 0;
11954
}
11955
_ACEOF
11956
rm -f conftest.$ac_objext conftest$ac_exeext
11957
if { (ac_try="$ac_link"
11958
case "(($ac_try" in
11959
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11960
  *) ac_try_echo=$ac_try;;
11961
esac
11962
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11963
$as_echo "$ac_try_echo") >&5
11964
  (eval "$ac_link") 2>conftest.er1
11965
  ac_status=$?
11966
  grep -v '^ *+' conftest.er1 >conftest.err
11967
  rm -f conftest.er1
11968
  cat conftest.err >&5
11969
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970
  (exit $ac_status); } && {
11971
         test -z "$ac_c_werror_flag" ||
11972
         test ! -s conftest.err
11973
       } && test -s conftest$ac_exeext && {
11974
         test "$cross_compiling" = yes ||
11975
         $as_test_x conftest$ac_exeext
11976
       }; then
11977
  ac_cv_func_dlopen=yes
11978
else
11979
  $as_echo "$as_me: failed program was:" >&5
11980
sed 's/^/| /' conftest.$ac_ext >&5
11981
 
11982
        ac_cv_func_dlopen=no
11983
fi
11984
 
11985
rm -rf conftest.dSYM
11986
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11987
      conftest$ac_exeext conftest.$ac_ext
11988
fi
11989
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11990
$as_echo "$ac_cv_func_dlopen" >&6; }
11991
if test "x$ac_cv_func_dlopen" = x""yes; then
11992
  lt_cv_dlopen="dlopen"
11993
else
11994
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11995
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11996
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11997
  $as_echo_n "(cached) " >&6
11998
else
11999
  ac_check_lib_save_LIBS=$LIBS
12000
LIBS="-ldl  $LIBS"
12001
cat >conftest.$ac_ext <<_ACEOF
12002
/* confdefs.h.  */
12003
_ACEOF
12004
cat confdefs.h >>conftest.$ac_ext
12005
cat >>conftest.$ac_ext <<_ACEOF
12006
/* end confdefs.h.  */
12007
 
12008
/* Override any GCC internal prototype to avoid an error.
12009
   Use char because int might match the return type of a GCC
12010
   builtin and then its argument prototype would still apply.  */
12011
#ifdef __cplusplus
12012
extern "C"
12013
#endif
12014
char dlopen ();
12015
int
12016
main ()
12017
{
12018
return dlopen ();
12019
  ;
12020
  return 0;
12021
}
12022
_ACEOF
12023
rm -f conftest.$ac_objext conftest$ac_exeext
12024
if { (ac_try="$ac_link"
12025
case "(($ac_try" in
12026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12027
  *) ac_try_echo=$ac_try;;
12028
esac
12029
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12030
$as_echo "$ac_try_echo") >&5
12031
  (eval "$ac_link") 2>conftest.er1
12032
  ac_status=$?
12033
  grep -v '^ *+' conftest.er1 >conftest.err
12034
  rm -f conftest.er1
12035
  cat conftest.err >&5
12036
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037
  (exit $ac_status); } && {
12038
         test -z "$ac_c_werror_flag" ||
12039
         test ! -s conftest.err
12040
       } && test -s conftest$ac_exeext && {
12041
         test "$cross_compiling" = yes ||
12042
         $as_test_x conftest$ac_exeext
12043
       }; then
12044
  ac_cv_lib_dl_dlopen=yes
12045
else
12046
  $as_echo "$as_me: failed program was:" >&5
12047
sed 's/^/| /' conftest.$ac_ext >&5
12048
 
12049
        ac_cv_lib_dl_dlopen=no
12050
fi
12051
 
12052
rm -rf conftest.dSYM
12053
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12054
      conftest$ac_exeext conftest.$ac_ext
12055
LIBS=$ac_check_lib_save_LIBS
12056
fi
12057
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12058
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12059
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12060
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12061
else
12062
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12063
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12064
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12065
  $as_echo_n "(cached) " >&6
12066
else
12067
  ac_check_lib_save_LIBS=$LIBS
12068
LIBS="-lsvld  $LIBS"
12069
cat >conftest.$ac_ext <<_ACEOF
12070
/* confdefs.h.  */
12071
_ACEOF
12072
cat confdefs.h >>conftest.$ac_ext
12073
cat >>conftest.$ac_ext <<_ACEOF
12074
/* end confdefs.h.  */
12075
 
12076
/* Override any GCC internal prototype to avoid an error.
12077
   Use char because int might match the return type of a GCC
12078
   builtin and then its argument prototype would still apply.  */
12079
#ifdef __cplusplus
12080
extern "C"
12081
#endif
12082
char dlopen ();
12083
int
12084
main ()
12085
{
12086
return dlopen ();
12087
  ;
12088
  return 0;
12089
}
12090
_ACEOF
12091
rm -f conftest.$ac_objext conftest$ac_exeext
12092
if { (ac_try="$ac_link"
12093
case "(($ac_try" in
12094
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12095
  *) ac_try_echo=$ac_try;;
12096
esac
12097
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12098
$as_echo "$ac_try_echo") >&5
12099
  (eval "$ac_link") 2>conftest.er1
12100
  ac_status=$?
12101
  grep -v '^ *+' conftest.er1 >conftest.err
12102
  rm -f conftest.er1
12103
  cat conftest.err >&5
12104
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105
  (exit $ac_status); } && {
12106
         test -z "$ac_c_werror_flag" ||
12107
         test ! -s conftest.err
12108
       } && test -s conftest$ac_exeext && {
12109
         test "$cross_compiling" = yes ||
12110
         $as_test_x conftest$ac_exeext
12111
       }; then
12112
  ac_cv_lib_svld_dlopen=yes
12113
else
12114
  $as_echo "$as_me: failed program was:" >&5
12115
sed 's/^/| /' conftest.$ac_ext >&5
12116
 
12117
        ac_cv_lib_svld_dlopen=no
12118
fi
12119
 
12120
rm -rf conftest.dSYM
12121
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12122
      conftest$ac_exeext conftest.$ac_ext
12123
LIBS=$ac_check_lib_save_LIBS
12124
fi
12125
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12126
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12127
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12128
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12129
else
12130
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12131
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12132
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12133
  $as_echo_n "(cached) " >&6
12134
else
12135
  ac_check_lib_save_LIBS=$LIBS
12136
LIBS="-ldld  $LIBS"
12137
cat >conftest.$ac_ext <<_ACEOF
12138
/* confdefs.h.  */
12139
_ACEOF
12140
cat confdefs.h >>conftest.$ac_ext
12141
cat >>conftest.$ac_ext <<_ACEOF
12142
/* end confdefs.h.  */
12143
 
12144
/* Override any GCC internal prototype to avoid an error.
12145
   Use char because int might match the return type of a GCC
12146
   builtin and then its argument prototype would still apply.  */
12147
#ifdef __cplusplus
12148
extern "C"
12149
#endif
12150
char dld_link ();
12151
int
12152
main ()
12153
{
12154
return dld_link ();
12155
  ;
12156
  return 0;
12157
}
12158
_ACEOF
12159
rm -f conftest.$ac_objext conftest$ac_exeext
12160
if { (ac_try="$ac_link"
12161
case "(($ac_try" in
12162
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12163
  *) ac_try_echo=$ac_try;;
12164
esac
12165
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12166
$as_echo "$ac_try_echo") >&5
12167
  (eval "$ac_link") 2>conftest.er1
12168
  ac_status=$?
12169
  grep -v '^ *+' conftest.er1 >conftest.err
12170
  rm -f conftest.er1
12171
  cat conftest.err >&5
12172
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173
  (exit $ac_status); } && {
12174
         test -z "$ac_c_werror_flag" ||
12175
         test ! -s conftest.err
12176
       } && test -s conftest$ac_exeext && {
12177
         test "$cross_compiling" = yes ||
12178
         $as_test_x conftest$ac_exeext
12179
       }; then
12180
  ac_cv_lib_dld_dld_link=yes
12181
else
12182
  $as_echo "$as_me: failed program was:" >&5
12183
sed 's/^/| /' conftest.$ac_ext >&5
12184
 
12185
        ac_cv_lib_dld_dld_link=no
12186
fi
12187
 
12188
rm -rf conftest.dSYM
12189
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12190
      conftest$ac_exeext conftest.$ac_ext
12191
LIBS=$ac_check_lib_save_LIBS
12192
fi
12193
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12194
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12195
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12196
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12197
fi
12198
 
12199
 
12200
fi
12201
 
12202
 
12203
fi
12204
 
12205
 
12206
fi
12207
 
12208
 
12209
fi
12210
 
12211
 
12212
fi
12213
 
12214
    ;;
12215
  esac
12216
 
12217
  if test "x$lt_cv_dlopen" != xno; then
12218
    enable_dlopen=yes
12219
  else
12220
    enable_dlopen=no
12221
  fi
12222
 
12223
  case $lt_cv_dlopen in
12224
  dlopen)
12225
    save_CPPFLAGS="$CPPFLAGS"
12226
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12227
 
12228
    save_LDFLAGS="$LDFLAGS"
12229
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12230
 
12231
    save_LIBS="$LIBS"
12232
    LIBS="$lt_cv_dlopen_libs $LIBS"
12233
 
12234
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12235
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12236
if test "${lt_cv_dlopen_self+set}" = set; then
12237
  $as_echo_n "(cached) " >&6
12238
else
12239
          if test "$cross_compiling" = yes; then :
12240
  lt_cv_dlopen_self=cross
12241
else
12242
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12243
  lt_status=$lt_dlunknown
12244
  cat > conftest.$ac_ext <<_LT_EOF
12245
#line 12245 "configure"
12246
#include "confdefs.h"
12247
 
12248
#if HAVE_DLFCN_H
12249
#include 
12250
#endif
12251
 
12252
#include 
12253
 
12254
#ifdef RTLD_GLOBAL
12255
#  define LT_DLGLOBAL           RTLD_GLOBAL
12256
#else
12257
#  ifdef DL_GLOBAL
12258
#    define LT_DLGLOBAL         DL_GLOBAL
12259
#  else
12260
#    define LT_DLGLOBAL         0
12261
#  endif
12262
#endif
12263
 
12264
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12265
   find out it does not work in some platform. */
12266
#ifndef LT_DLLAZY_OR_NOW
12267
#  ifdef RTLD_LAZY
12268
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12269
#  else
12270
#    ifdef DL_LAZY
12271
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12272
#    else
12273
#      ifdef RTLD_NOW
12274
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12275
#      else
12276
#        ifdef DL_NOW
12277
#          define LT_DLLAZY_OR_NOW      DL_NOW
12278
#        else
12279
#          define LT_DLLAZY_OR_NOW      0
12280
#        endif
12281
#      endif
12282
#    endif
12283
#  endif
12284
#endif
12285
 
12286
void fnord() { int i=42;}
12287
int main ()
12288
{
12289
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12290
  int status = $lt_dlunknown;
12291
 
12292
  if (self)
12293
    {
12294
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12295
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12296
      /* dlclose (self); */
12297
    }
12298
  else
12299
    puts (dlerror ());
12300
 
12301
  return status;
12302
}
12303
_LT_EOF
12304
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12305
  (eval $ac_link) 2>&5
12306
  ac_status=$?
12307
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12309
    (./conftest; exit; ) >&5 2>/dev/null
12310
    lt_status=$?
12311
    case x$lt_status in
12312
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12313
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12314
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12315
    esac
12316
  else :
12317
    # compilation failed
12318
    lt_cv_dlopen_self=no
12319
  fi
12320
fi
12321
rm -fr conftest*
12322
 
12323
 
12324
fi
12325
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12326
$as_echo "$lt_cv_dlopen_self" >&6; }
12327
 
12328
    if test "x$lt_cv_dlopen_self" = xyes; then
12329
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12330
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12331
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12332
if test "${lt_cv_dlopen_self_static+set}" = set; then
12333
  $as_echo_n "(cached) " >&6
12334
else
12335
          if test "$cross_compiling" = yes; then :
12336
  lt_cv_dlopen_self_static=cross
12337
else
12338
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12339
  lt_status=$lt_dlunknown
12340
  cat > conftest.$ac_ext <<_LT_EOF
12341
#line 12341 "configure"
12342
#include "confdefs.h"
12343
 
12344
#if HAVE_DLFCN_H
12345
#include 
12346
#endif
12347
 
12348
#include 
12349
 
12350
#ifdef RTLD_GLOBAL
12351
#  define LT_DLGLOBAL           RTLD_GLOBAL
12352
#else
12353
#  ifdef DL_GLOBAL
12354
#    define LT_DLGLOBAL         DL_GLOBAL
12355
#  else
12356
#    define LT_DLGLOBAL         0
12357
#  endif
12358
#endif
12359
 
12360
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12361
   find out it does not work in some platform. */
12362
#ifndef LT_DLLAZY_OR_NOW
12363
#  ifdef RTLD_LAZY
12364
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12365
#  else
12366
#    ifdef DL_LAZY
12367
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12368
#    else
12369
#      ifdef RTLD_NOW
12370
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12371
#      else
12372
#        ifdef DL_NOW
12373
#          define LT_DLLAZY_OR_NOW      DL_NOW
12374
#        else
12375
#          define LT_DLLAZY_OR_NOW      0
12376
#        endif
12377
#      endif
12378
#    endif
12379
#  endif
12380
#endif
12381
 
12382
void fnord() { int i=42;}
12383
int main ()
12384
{
12385
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12386
  int status = $lt_dlunknown;
12387
 
12388
  if (self)
12389
    {
12390
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12391
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12392
      /* dlclose (self); */
12393
    }
12394
  else
12395
    puts (dlerror ());
12396
 
12397
  return status;
12398
}
12399
_LT_EOF
12400
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12401
  (eval $ac_link) 2>&5
12402
  ac_status=$?
12403
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12405
    (./conftest; exit; ) >&5 2>/dev/null
12406
    lt_status=$?
12407
    case x$lt_status in
12408
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12409
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12410
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12411
    esac
12412
  else :
12413
    # compilation failed
12414
    lt_cv_dlopen_self_static=no
12415
  fi
12416
fi
12417
rm -fr conftest*
12418
 
12419
 
12420
fi
12421
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12422
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12423
    fi
12424
 
12425
    CPPFLAGS="$save_CPPFLAGS"
12426
    LDFLAGS="$save_LDFLAGS"
12427
    LIBS="$save_LIBS"
12428
    ;;
12429
  esac
12430
 
12431
  case $lt_cv_dlopen_self in
12432
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12433
  *) enable_dlopen_self=unknown ;;
12434
  esac
12435
 
12436
  case $lt_cv_dlopen_self_static in
12437
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12438
  *) enable_dlopen_self_static=unknown ;;
12439
  esac
12440
fi
12441
 
12442
 
12443
 
12444
 
12445
 
12446
 
12447
 
12448
 
12449
 
12450
 
12451
 
12452
 
12453
 
12454
 
12455
 
12456
 
12457
 
12458
striplib=
12459
old_striplib=
12460
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12461
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12462
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12463
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12464
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12465
  { $as_echo "$as_me:$LINENO: result: yes" >&5
12466
$as_echo "yes" >&6; }
12467
else
12468
# FIXME - insert some real tests, host_os isn't really good enough
12469
  case $host_os in
12470
  darwin*)
12471
    if test -n "$STRIP" ; then
12472
      striplib="$STRIP -x"
12473
      old_striplib="$STRIP -S"
12474
      { $as_echo "$as_me:$LINENO: result: yes" >&5
12475
$as_echo "yes" >&6; }
12476
    else
12477
      { $as_echo "$as_me:$LINENO: result: no" >&5
12478
$as_echo "no" >&6; }
12479
    fi
12480
    ;;
12481
  *)
12482
    { $as_echo "$as_me:$LINENO: result: no" >&5
12483
$as_echo "no" >&6; }
12484
    ;;
12485
  esac
12486
fi
12487
 
12488
 
12489
 
12490
 
12491
 
12492
 
12493
 
12494
 
12495
 
12496
 
12497
 
12498
 
12499
  # Report which library types will actually be built
12500
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12501
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12502
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12503
$as_echo "$can_build_shared" >&6; }
12504
 
12505
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12506
$as_echo_n "checking whether to build shared libraries... " >&6; }
12507
  test "$can_build_shared" = "no" && enable_shared=no
12508
 
12509
  # On AIX, shared libraries and static libraries use the same namespace, and
12510
  # are all built from PIC.
12511
  case $host_os in
12512
  aix3*)
12513
    test "$enable_shared" = yes && enable_static=no
12514
    if test -n "$RANLIB"; then
12515
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12516
      postinstall_cmds='$RANLIB $lib'
12517
    fi
12518
    ;;
12519
 
12520
  aix[4-9]*)
12521
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12522
      test "$enable_shared" = yes && enable_static=no
12523
    fi
12524
    ;;
12525
  esac
12526
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12527
$as_echo "$enable_shared" >&6; }
12528
 
12529
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12530
$as_echo_n "checking whether to build static libraries... " >&6; }
12531
  # Make sure either enable_shared or enable_static is yes.
12532
  test "$enable_shared" = yes || enable_static=yes
12533
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12534
$as_echo "$enable_static" >&6; }
12535
 
12536
 
12537
 
12538
 
12539
fi
12540
ac_ext=c
12541
ac_cpp='$CPP $CPPFLAGS'
12542
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12543
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12544
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12545
 
12546
CC="$lt_save_CC"
12547
 
12548
 
12549
 
12550
 
12551
 
12552
 
12553
 
12554
 
12555
 
12556
 
12557
 
12558
 
12559
 
12560
        ac_config_commands="$ac_config_commands libtool"
12561
 
12562
 
12563
 
12564
 
12565
# Only expand once:
12566
 
12567
 
12568
fi
12569
 
12570
ac_config_files="$ac_config_files Makefile"
12571
 
12572
cat >confcache <<\_ACEOF
12573
# This file is a shell script that caches the results of configure
12574
# tests run on this system so they can be shared between configure
12575
# scripts and configure runs, see configure's option --config-cache.
12576
# It is not useful on other systems.  If it contains results you don't
12577
# want to keep, you may remove or edit it.
12578
#
12579
# config.status only pays attention to the cache file if you give it
12580
# the --recheck option to rerun configure.
12581
#
12582
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12583
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12584
# following values.
12585
 
12586
_ACEOF
12587
 
12588
# The following way of writing the cache mishandles newlines in values,
12589
# but we know of no workaround that is simple, portable, and efficient.
12590
# So, we kill variables containing newlines.
12591
# Ultrix sh set writes to stderr and can't be redirected directly,
12592
# and sets the high bit in the cache file unless we assign to the vars.
12593
(
12594
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12595
    eval ac_val=\$$ac_var
12596
    case $ac_val in #(
12597
    *${as_nl}*)
12598
      case $ac_var in #(
12599
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12600
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12601
      esac
12602
      case $ac_var in #(
12603
      _ | IFS | as_nl) ;; #(
12604
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12605
      *) $as_unset $ac_var ;;
12606
      esac ;;
12607
    esac
12608
  done
12609
 
12610
  (set) 2>&1 |
12611
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12612
    *${as_nl}ac_space=\ *)
12613
      # `set' does not quote correctly, so add quotes (double-quote
12614
      # substitution turns \\\\ into \\, and sed turns \\ into \).
12615
      sed -n \
12616
        "s/'/'\\\\''/g;
12617
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12618
      ;; #(
12619
    *)
12620
      # `set' quotes correctly as required by POSIX, so do not add quotes.
12621
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12622
      ;;
12623
    esac |
12624
    sort
12625
) |
12626
  sed '
12627
     /^ac_cv_env_/b end
12628
     t clear
12629
     :clear
12630
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12631
     t end
12632
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12633
     :end' >>confcache
12634
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12635
  if test -w "$cache_file"; then
12636
    test "x$cache_file" != "x/dev/null" &&
12637
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12638
$as_echo "$as_me: updating cache $cache_file" >&6;}
12639
    cat confcache >$cache_file
12640
  else
12641
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12642
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12643
  fi
12644
fi
12645
rm -f confcache
12646
 
12647
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12648
# Let make expand exec_prefix.
12649
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12650
 
12651
# Transform confdefs.h into DEFS.
12652
# Protect against shell expansion while executing Makefile rules.
12653
# Protect against Makefile macro expansion.
12654
#
12655
# If the first sed substitution is executed (which looks for macros that
12656
# take arguments), then branch to the quote section.  Otherwise,
12657
# look for a macro that doesn't take arguments.
12658
ac_script='
12659
:mline
12660
/\\$/{
12661
 N
12662
 s,\\\n,,
12663
 b mline
12664
}
12665
t clear
12666
:clear
12667
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
12668
t quote
12669
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
12670
t quote
12671
b any
12672
:quote
12673
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12674
s/\[/\\&/g
12675
s/\]/\\&/g
12676
s/\$/$$/g
12677
H
12678
:any
12679
${
12680
        g
12681
        s/^\n//
12682
        s/\n/ /g
12683
        p
12684
}
12685
'
12686
DEFS=`sed -n "$ac_script" confdefs.h`
12687
 
12688
 
12689
ac_libobjs=
12690
ac_ltlibobjs=
12691
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12692
  # 1. Remove the extension, and $U if already installed.
12693
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12694
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12695
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12696
  #    will be set to the directory where LIBOBJS objects are built.
12697
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12698
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12699
done
12700
LIBOBJS=$ac_libobjs
12701
 
12702
LTLIBOBJS=$ac_ltlibobjs
12703
 
12704
 
12705
if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
12706
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
12707
Usually this means the macro was only invoked conditionally." >&5
12708
$as_echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
12709
Usually this means the macro was only invoked conditionally." >&2;}
12710
   { (exit 1); exit 1; }; }
12711
fi
12712
 if test -n "$EXEEXT"; then
12713
  am__EXEEXT_TRUE=
12714
  am__EXEEXT_FALSE='#'
12715
else
12716
  am__EXEEXT_TRUE='#'
12717
  am__EXEEXT_FALSE=
12718
fi
12719
 
12720
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12721
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12722
Usually this means the macro was only invoked conditionally." >&5
12723
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12724
Usually this means the macro was only invoked conditionally." >&2;}
12725
   { (exit 1); exit 1; }; }
12726
fi
12727
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12728
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12729
Usually this means the macro was only invoked conditionally." >&5
12730
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12731
Usually this means the macro was only invoked conditionally." >&2;}
12732
   { (exit 1); exit 1; }; }
12733
fi
12734
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12735
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12736
Usually this means the macro was only invoked conditionally." >&5
12737
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12738
Usually this means the macro was only invoked conditionally." >&2;}
12739
   { (exit 1); exit 1; }; }
12740
fi
12741
if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
12742
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
12743
Usually this means the macro was only invoked conditionally." >&5
12744
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
12745
Usually this means the macro was only invoked conditionally." >&2;}
12746
   { (exit 1); exit 1; }; }
12747
fi
12748
if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
12749
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
12750
Usually this means the macro was only invoked conditionally." >&5
12751
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
12752
Usually this means the macro was only invoked conditionally." >&2;}
12753
   { (exit 1); exit 1; }; }
12754
fi
12755
if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
12756
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
12757
Usually this means the macro was only invoked conditionally." >&5
12758
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
12759
Usually this means the macro was only invoked conditionally." >&2;}
12760
   { (exit 1); exit 1; }; }
12761
fi
12762
if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
12763
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
12764
Usually this means the macro was only invoked conditionally." >&5
12765
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
12766
Usually this means the macro was only invoked conditionally." >&2;}
12767
   { (exit 1); exit 1; }; }
12768
fi
12769
if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
12770
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
12771
Usually this means the macro was only invoked conditionally." >&5
12772
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
12773
Usually this means the macro was only invoked conditionally." >&2;}
12774
   { (exit 1); exit 1; }; }
12775
fi
12776
if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
12777
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
12778
Usually this means the macro was only invoked conditionally." >&5
12779
$as_echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
12780
Usually this means the macro was only invoked conditionally." >&2;}
12781
   { (exit 1); exit 1; }; }
12782
fi
12783
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12784
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12785
Usually this means the macro was only invoked conditionally." >&5
12786
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12787
Usually this means the macro was only invoked conditionally." >&2;}
12788
   { (exit 1); exit 1; }; }
12789
fi
12790
 
12791
: ${CONFIG_STATUS=./config.status}
12792
ac_write_fail=0
12793
ac_clean_files_save=$ac_clean_files
12794
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12795
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12796
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12797
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12798
#! $SHELL
12799
# Generated by $as_me.
12800
# Run this file to recreate the current configuration.
12801
# Compiler output produced by configure, useful for debugging
12802
# configure, is in config.log if it exists.
12803
 
12804
debug=false
12805
ac_cs_recheck=false
12806
ac_cs_silent=false
12807
SHELL=\${CONFIG_SHELL-$SHELL}
12808
_ACEOF
12809
 
12810
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12811
## --------------------- ##
12812
## M4sh Initialization.  ##
12813
## --------------------- ##
12814
 
12815
# Be more Bourne compatible
12816
DUALCASE=1; export DUALCASE # for MKS sh
12817
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12818
  emulate sh
12819
  NULLCMD=:
12820
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12821
  # is contrary to our usage.  Disable this feature.
12822
  alias -g '${1+"$@"}'='"$@"'
12823
  setopt NO_GLOB_SUBST
12824
else
12825
  case `(set -o) 2>/dev/null` in
12826
  *posix*) set -o posix ;;
12827
esac
12828
 
12829
fi
12830
 
12831
 
12832
 
12833
 
12834
# PATH needs CR
12835
# Avoid depending upon Character Ranges.
12836
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12837
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12838
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12839
as_cr_digits='0123456789'
12840
as_cr_alnum=$as_cr_Letters$as_cr_digits
12841
 
12842
as_nl='
12843
'
12844
export as_nl
12845
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12846
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12847
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12848
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12849
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12850
  as_echo='printf %s\n'
12851
  as_echo_n='printf %s'
12852
else
12853
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12854
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12855
    as_echo_n='/usr/ucb/echo -n'
12856
  else
12857
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12858
    as_echo_n_body='eval
12859
      arg=$1;
12860
      case $arg in
12861
      *"$as_nl"*)
12862
        expr "X$arg" : "X\\(.*\\)$as_nl";
12863
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12864
      esac;
12865
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12866
    '
12867
    export as_echo_n_body
12868
    as_echo_n='sh -c $as_echo_n_body as_echo'
12869
  fi
12870
  export as_echo_body
12871
  as_echo='sh -c $as_echo_body as_echo'
12872
fi
12873
 
12874
# The user is always right.
12875
if test "${PATH_SEPARATOR+set}" != set; then
12876
  PATH_SEPARATOR=:
12877
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12878
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12879
      PATH_SEPARATOR=';'
12880
  }
12881
fi
12882
 
12883
# Support unset when possible.
12884
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12885
  as_unset=unset
12886
else
12887
  as_unset=false
12888
fi
12889
 
12890
 
12891
# IFS
12892
# We need space, tab and new line, in precisely that order.  Quoting is
12893
# there to prevent editors from complaining about space-tab.
12894
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12895
# splitting by setting IFS to empty value.)
12896
IFS=" ""        $as_nl"
12897
 
12898
# Find who we are.  Look in the path if we contain no directory separator.
12899
case $0 in
12900
  *[\\/]* ) as_myself=$0 ;;
12901
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12902
for as_dir in $PATH
12903
do
12904
  IFS=$as_save_IFS
12905
  test -z "$as_dir" && as_dir=.
12906
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12907
done
12908
IFS=$as_save_IFS
12909
 
12910
     ;;
12911
esac
12912
# We did not find ourselves, most probably we were run as `sh COMMAND'
12913
# in which case we are not to be found in the path.
12914
if test "x$as_myself" = x; then
12915
  as_myself=$0
12916
fi
12917
if test ! -f "$as_myself"; then
12918
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12919
  { (exit 1); exit 1; }
12920
fi
12921
 
12922
# Work around bugs in pre-3.0 UWIN ksh.
12923
for as_var in ENV MAIL MAILPATH
12924
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12925
done
12926
PS1='$ '
12927
PS2='> '
12928
PS4='+ '
12929
 
12930
# NLS nuisances.
12931
LC_ALL=C
12932
export LC_ALL
12933
LANGUAGE=C
12934
export LANGUAGE
12935
 
12936
# Required to use basename.
12937
if expr a : '\(a\)' >/dev/null 2>&1 &&
12938
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12939
  as_expr=expr
12940
else
12941
  as_expr=false
12942
fi
12943
 
12944
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12945
  as_basename=basename
12946
else
12947
  as_basename=false
12948
fi
12949
 
12950
 
12951
# Name of the executable.
12952
as_me=`$as_basename -- "$0" ||
12953
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12954
         X"$0" : 'X\(//\)$' \| \
12955
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12956
$as_echo X/"$0" |
12957
    sed '/^.*\/\([^/][^/]*\)\/*$/{
12958
            s//\1/
12959
            q
12960
          }
12961
          /^X\/\(\/\/\)$/{
12962
            s//\1/
12963
            q
12964
          }
12965
          /^X\/\(\/\).*/{
12966
            s//\1/
12967
            q
12968
          }
12969
          s/.*/./; q'`
12970
 
12971
# CDPATH.
12972
$as_unset CDPATH
12973
 
12974
 
12975
 
12976
  as_lineno_1=$LINENO
12977
  as_lineno_2=$LINENO
12978
  test "x$as_lineno_1" != "x$as_lineno_2" &&
12979
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12980
 
12981
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12982
  # uniformly replaced by the line number.  The first 'sed' inserts a
12983
  # line-number line after each line using $LINENO; the second 'sed'
12984
  # does the real work.  The second script uses 'N' to pair each
12985
  # line-number line with the line containing $LINENO, and appends
12986
  # trailing '-' during substitution so that $LINENO is not a special
12987
  # case at line end.
12988
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12989
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
12990
  # E. McMahon (1931-1989) for sed's syntax.  :-)
12991
  sed -n '
12992
    p
12993
    /[$]LINENO/=
12994
  ' <$as_myself |
12995
    sed '
12996
      s/[$]LINENO.*/&-/
12997
      t lineno
12998
      b
12999
      :lineno
13000
      N
13001
      :loop
13002
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13003
      t loop
13004
      s/-\n.*//
13005
    ' >$as_me.lineno &&
13006
  chmod +x "$as_me.lineno" ||
13007
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13008
   { (exit 1); exit 1; }; }
13009
 
13010
  # Don't try to exec as it changes $[0], causing all sort of problems
13011
  # (the dirname of $[0] is not the place where we might find the
13012
  # original and so on.  Autoconf is especially sensitive to this).
13013
  . "./$as_me.lineno"
13014
  # Exit status is that of the last command.
13015
  exit
13016
}
13017
 
13018
 
13019
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13020
  as_dirname=dirname
13021
else
13022
  as_dirname=false
13023
fi
13024
 
13025
ECHO_C= ECHO_N= ECHO_T=
13026
case `echo -n x` in
13027
-n*)
13028
  case `echo 'x\c'` in
13029
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13030
  *)   ECHO_C='\c';;
13031
  esac;;
13032
*)
13033
  ECHO_N='-n';;
13034
esac
13035
if expr a : '\(a\)' >/dev/null 2>&1 &&
13036
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13037
  as_expr=expr
13038
else
13039
  as_expr=false
13040
fi
13041
 
13042
rm -f conf$$ conf$$.exe conf$$.file
13043
if test -d conf$$.dir; then
13044
  rm -f conf$$.dir/conf$$.file
13045
else
13046
  rm -f conf$$.dir
13047
  mkdir conf$$.dir 2>/dev/null
13048
fi
13049
if (echo >conf$$.file) 2>/dev/null; then
13050
  if ln -s conf$$.file conf$$ 2>/dev/null; then
13051
    as_ln_s='ln -s'
13052
    # ... but there are two gotchas:
13053
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13054
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13055
    # In both cases, we have to default to `cp -p'.
13056
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13057
      as_ln_s='cp -p'
13058
  elif ln conf$$.file conf$$ 2>/dev/null; then
13059
    as_ln_s=ln
13060
  else
13061
    as_ln_s='cp -p'
13062
  fi
13063
else
13064
  as_ln_s='cp -p'
13065
fi
13066
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13067
rmdir conf$$.dir 2>/dev/null
13068
 
13069
if mkdir -p . 2>/dev/null; then
13070
  as_mkdir_p=:
13071
else
13072
  test -d ./-p && rmdir ./-p
13073
  as_mkdir_p=false
13074
fi
13075
 
13076
if test -x / >/dev/null 2>&1; then
13077
  as_test_x='test -x'
13078
else
13079
  if ls -dL / >/dev/null 2>&1; then
13080
    as_ls_L_option=L
13081
  else
13082
    as_ls_L_option=
13083
  fi
13084
  as_test_x='
13085
    eval sh -c '\''
13086
      if test -d "$1"; then
13087
        test -d "$1/.";
13088
      else
13089
        case $1 in
13090
        -*)set "./$1";;
13091
        esac;
13092
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13093
        ???[sx]*):;;*)false;;esac;fi
13094
    '\'' sh
13095
  '
13096
fi
13097
as_executable_p=$as_test_x
13098
 
13099
# Sed expression to map a string onto a valid CPP name.
13100
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13101
 
13102
# Sed expression to map a string onto a valid variable name.
13103
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13104
 
13105
 
13106
exec 6>&1
13107
 
13108
# Save the log message, to keep $[0] and so on meaningful, and to
13109
# report actual input values of CONFIG_FILES etc. instead of their
13110
# values after options handling.
13111
ac_log="
13112
This file was extended by newlib $as_me 1.18.0, which was
13113
generated by GNU Autoconf 2.63.  Invocation command line was
13114
 
13115
  CONFIG_FILES    = $CONFIG_FILES
13116
  CONFIG_HEADERS  = $CONFIG_HEADERS
13117
  CONFIG_LINKS    = $CONFIG_LINKS
13118
  CONFIG_COMMANDS = $CONFIG_COMMANDS
13119
  $ $0 $@
13120
 
13121
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13122
"
13123
 
13124
_ACEOF
13125
 
13126
case $ac_config_files in *"
13127
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13128
esac
13129
 
13130
 
13131
 
13132
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13133
# Files that config.status was made for.
13134
config_files="$ac_config_files"
13135
config_commands="$ac_config_commands"
13136
 
13137
_ACEOF
13138
 
13139
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13140
ac_cs_usage="\
13141
\`$as_me' instantiates files from templates according to the
13142
current configuration.
13143
 
13144
Usage: $0 [OPTION]... [FILE]...
13145
 
13146
  -h, --help       print this help, then exit
13147
  -V, --version    print version number and configuration settings, then exit
13148
  -q, --quiet, --silent
13149
                   do not print progress messages
13150
  -d, --debug      don't remove temporary files
13151
      --recheck    update $as_me by reconfiguring in the same conditions
13152
      --file=FILE[:TEMPLATE]
13153
                   instantiate the configuration file FILE
13154
 
13155
Configuration files:
13156
$config_files
13157
 
13158
Configuration commands:
13159
$config_commands
13160
 
13161
Report bugs to ."
13162
 
13163
_ACEOF
13164
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13165
ac_cs_version="\\
13166
newlib config.status 1.18.0
13167
configured by $0, generated by GNU Autoconf 2.63,
13168
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13169
 
13170
Copyright (C) 2008 Free Software Foundation, Inc.
13171
This config.status script is free software; the Free Software Foundation
13172
gives unlimited permission to copy, distribute and modify it."
13173
 
13174
ac_pwd='$ac_pwd'
13175
srcdir='$srcdir'
13176
INSTALL='$INSTALL'
13177
MKDIR_P='$MKDIR_P'
13178
AWK='$AWK'
13179
test -n "\$AWK" || AWK=awk
13180
_ACEOF
13181
 
13182
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13183
# The default lists apply if the user does not specify any file.
13184
ac_need_defaults=:
13185
while test $# != 0
13186
do
13187
  case $1 in
13188
  --*=*)
13189
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13190
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13191
    ac_shift=:
13192
    ;;
13193
  *)
13194
    ac_option=$1
13195
    ac_optarg=$2
13196
    ac_shift=shift
13197
    ;;
13198
  esac
13199
 
13200
  case $ac_option in
13201
  # Handling of the options.
13202
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13203
    ac_cs_recheck=: ;;
13204
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13205
    $as_echo "$ac_cs_version"; exit ;;
13206
  --debug | --debu | --deb | --de | --d | -d )
13207
    debug=: ;;
13208
  --file | --fil | --fi | --f )
13209
    $ac_shift
13210
    case $ac_optarg in
13211
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13212
    esac
13213
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13214
    ac_need_defaults=false;;
13215
  --he | --h |  --help | --hel | -h )
13216
    $as_echo "$ac_cs_usage"; exit ;;
13217
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13218
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13219
    ac_cs_silent=: ;;
13220
 
13221
  # This is an error.
13222
  -*) { $as_echo "$as_me: error: unrecognized option: $1
13223
Try \`$0 --help' for more information." >&2
13224
   { (exit 1); exit 1; }; } ;;
13225
 
13226
  *) ac_config_targets="$ac_config_targets $1"
13227
     ac_need_defaults=false ;;
13228
 
13229
  esac
13230
  shift
13231
done
13232
 
13233
ac_configure_extra_args=
13234
 
13235
if $ac_cs_silent; then
13236
  exec 6>/dev/null
13237
  ac_configure_extra_args="$ac_configure_extra_args --silent"
13238
fi
13239
 
13240
_ACEOF
13241
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13242
if \$ac_cs_recheck; then
13243
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13244
  shift
13245
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13246
  CONFIG_SHELL='$SHELL'
13247
  export CONFIG_SHELL
13248
  exec "\$@"
13249
fi
13250
 
13251
_ACEOF
13252
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13253
exec 5>>config.log
13254
{
13255
  echo
13256
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13257
## Running $as_me. ##
13258
_ASBOX
13259
  $as_echo "$ac_log"
13260
} >&5
13261
 
13262
_ACEOF
13263
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13264
#
13265
# INIT-COMMANDS
13266
#
13267
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13268
 
13269
 
13270
# The HP-UX ksh and POSIX shell print the target directory to stdout
13271
# if CDPATH is set.
13272
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13273
 
13274
sed_quote_subst='$sed_quote_subst'
13275
double_quote_subst='$double_quote_subst'
13276
delay_variable_subst='$delay_variable_subst'
13277
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13278
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13279
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
13280
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13281
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13282
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13283
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13284
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13285
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13286
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13287
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13288
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13289
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13290
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13291
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13292
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13293
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13294
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13295
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13296
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13297
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13298
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13299
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13300
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13301
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13302
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13303
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13304
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13305
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13306
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13307
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13308
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13309
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13310
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13311
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13312
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13313
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13314
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13315
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13316
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13317
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13318
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13319
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13320
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13321
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13322
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13323
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13324
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13325
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13326
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13327
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13328
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13329
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13330
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13331
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13332
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13333
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13334
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13335
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13336
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13337
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13338
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13339
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13340
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13341
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13342
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13343
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13344
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13345
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13346
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13347
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13348
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13349
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13350
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13351
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13352
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13353
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13354
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13355
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13356
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13357
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13358
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13359
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13360
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13361
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13362
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13363
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13364
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13365
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13366
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13367
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13368
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13369
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13370
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13371
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13372
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13373
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13374
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13375
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13376
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13377
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13378
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13379
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13380
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13381
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13382
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13383
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13384
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13385
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13386
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13387
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13388
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13389
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13390
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13391
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13392
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13393
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13394
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13395
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13396
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13397
 
13398
LTCC='$LTCC'
13399
LTCFLAGS='$LTCFLAGS'
13400
compiler='$compiler_DEFAULT'
13401
 
13402
# Quote evaled strings.
13403
for var in SED \
13404
GREP \
13405
EGREP \
13406
FGREP \
13407
LD \
13408
NM \
13409
LN_S \
13410
lt_SP2NL \
13411
lt_NL2SP \
13412
reload_flag \
13413
deplibs_check_method \
13414
file_magic_cmd \
13415
AR \
13416
AR_FLAGS \
13417
STRIP \
13418
RANLIB \
13419
CC \
13420
CFLAGS \
13421
compiler \
13422
lt_cv_sys_global_symbol_pipe \
13423
lt_cv_sys_global_symbol_to_cdecl \
13424
lt_cv_sys_global_symbol_to_c_name_address \
13425
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13426
SHELL \
13427
ECHO \
13428
lt_prog_compiler_no_builtin_flag \
13429
lt_prog_compiler_wl \
13430
lt_prog_compiler_pic \
13431
lt_prog_compiler_static \
13432
lt_cv_prog_compiler_c_o \
13433
need_locks \
13434
DSYMUTIL \
13435
NMEDIT \
13436
LIPO \
13437
OTOOL \
13438
OTOOL64 \
13439
shrext_cmds \
13440
export_dynamic_flag_spec \
13441
whole_archive_flag_spec \
13442
compiler_needs_object \
13443
with_gnu_ld \
13444
allow_undefined_flag \
13445
no_undefined_flag \
13446
hardcode_libdir_flag_spec \
13447
hardcode_libdir_flag_spec_ld \
13448
hardcode_libdir_separator \
13449
fix_srcfile_path \
13450
exclude_expsyms \
13451
include_expsyms \
13452
file_list_spec \
13453
variables_saved_for_relink \
13454
libname_spec \
13455
library_names_spec \
13456
soname_spec \
13457
finish_eval \
13458
old_striplib \
13459
striplib; do
13460
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13461
    *[\\\\\\\`\\"\\\$]*)
13462
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13463
      ;;
13464
    *)
13465
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13466
      ;;
13467
    esac
13468
done
13469
 
13470
# Double-quote double-evaled strings.
13471
for var in reload_cmds \
13472
old_postinstall_cmds \
13473
old_postuninstall_cmds \
13474
old_archive_cmds \
13475
extract_expsyms_cmds \
13476
old_archive_from_new_cmds \
13477
old_archive_from_expsyms_cmds \
13478
archive_cmds \
13479
archive_expsym_cmds \
13480
module_cmds \
13481
module_expsym_cmds \
13482
export_symbols_cmds \
13483
prelink_cmds \
13484
postinstall_cmds \
13485
postuninstall_cmds \
13486
finish_cmds \
13487
sys_lib_search_path_spec \
13488
sys_lib_dlsearch_path_spec; do
13489
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13490
    *[\\\\\\\`\\"\\\$]*)
13491
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13492
      ;;
13493
    *)
13494
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13495
      ;;
13496
    esac
13497
done
13498
 
13499
# Fix-up fallback echo if it was mangled by the above quoting rules.
13500
case \$lt_ECHO in
13501
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13502
  ;;
13503
esac
13504
 
13505
ac_aux_dir='$ac_aux_dir'
13506
xsi_shell='$xsi_shell'
13507
lt_shell_append='$lt_shell_append'
13508
 
13509
# See if we are running on zsh, and set the options which allow our
13510
# commands through without removal of \ escapes INIT.
13511
if test -n "\${ZSH_VERSION+set}" ; then
13512
   setopt NO_GLOB_SUBST
13513
fi
13514
 
13515
 
13516
    PACKAGE='$PACKAGE'
13517
    VERSION='$VERSION'
13518
    TIMESTAMP='$TIMESTAMP'
13519
    RM='$RM'
13520
    ofile='$ofile'
13521
 
13522
 
13523
 
13524
 
13525
_ACEOF
13526
 
13527
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13528
 
13529
# Handling of arguments.
13530
for ac_config_target in $ac_config_targets
13531
do
13532
  case $ac_config_target in
13533
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13534
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13535
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13536
 
13537
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13538
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13539
   { (exit 1); exit 1; }; };;
13540
  esac
13541
done
13542
 
13543
 
13544
# If the user did not use the arguments to specify the items to instantiate,
13545
# then the envvar interface is used.  Set only those that are not.
13546
# We use the long form for the default assignment because of an extremely
13547
# bizarre bug on SunOS 4.1.3.
13548
if $ac_need_defaults; then
13549
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13550
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13551
fi
13552
 
13553
# Have a temporary directory for convenience.  Make it in the build tree
13554
# simply because there is no reason against having it here, and in addition,
13555
# creating and moving files from /tmp can sometimes cause problems.
13556
# Hook for its removal unless debugging.
13557
# Note that there is a small window in which the directory will not be cleaned:
13558
# after its creation but before its name has been assigned to `$tmp'.
13559
$debug ||
13560
{
13561
  tmp=
13562
  trap 'exit_status=$?
13563
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13564
' 0
13565
  trap '{ (exit 1); exit 1; }' 1 2 13 15
13566
}
13567
# Create a (secure) tmp directory for tmp files.
13568
 
13569
{
13570
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13571
  test -n "$tmp" && test -d "$tmp"
13572
}  ||
13573
{
13574
  tmp=./conf$$-$RANDOM
13575
  (umask 077 && mkdir "$tmp")
13576
} ||
13577
{
13578
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
13579
   { (exit 1); exit 1; }
13580
}
13581
 
13582
# Set up the scripts for CONFIG_FILES section.
13583
# No need to generate them if there are no CONFIG_FILES.
13584
# This happens for instance with `./config.status config.h'.
13585
if test -n "$CONFIG_FILES"; then
13586
 
13587
 
13588
ac_cr='
'
13589
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
13590
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13591
  ac_cs_awk_cr='\\r'
13592
else
13593
  ac_cs_awk_cr=$ac_cr
13594
fi
13595
13596
 
13597
_ACEOF
13598
13599
 
13600
 
13601
  echo "cat >conf$$subs.awk <<_ACEOF" &&
13602
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13603
  echo "_ACEOF"
13604
} >conf$$subs.sh ||
13605
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13606
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13607
   { (exit 1); exit 1; }; }
13608
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13609
ac_delim='%!_!# '
13610
for ac_last_try in false false false false false :; do
13611
  . ./conf$$subs.sh ||
13612
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13613
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13614
   { (exit 1); exit 1; }; }
13615
13616
 
13617
  if test $ac_delim_n = $ac_delim_num; then
13618
    break
13619
  elif $ac_last_try; then
13620
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13621
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13622
   { (exit 1); exit 1; }; }
13623
  else
13624
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13625
  fi
13626
done
13627
rm -f conf$$subs.sh
13628
13629
 
13630
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13631
_ACEOF
13632
sed -n '
13633
h
13634
s/^/S["/; s/!.*/"]=/
13635
p
13636
g
13637
s/^[^!]*!//
13638
:repl
13639
t repl
13640
s/'"$ac_delim"'$//
13641
t delim
13642
:nl
13643
h
13644
s/\(.\{148\}\).*/\1/
13645
t more1
13646
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13647
p
13648
n
13649
b repl
13650
:more1
13651
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13652
p
13653
g
13654
s/.\{148\}//
13655
t nl
13656
:delim
13657
h
13658
s/\(.\{148\}\).*/\1/
13659
t more2
13660
s/["\\]/\\&/g; s/^/"/; s/$/"/
13661
p
13662
b
13663
:more2
13664
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13665
p
13666
g
13667
s/.\{148\}//
13668
t delim
13669
' 
13670
/^[^""]/{
13671
  N
13672
  s/\n//
13673
}
13674
' >>$CONFIG_STATUS || ac_write_fail=1
13675
rm -f conf$$subs.awk
13676
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13677
_ACAWK
13678
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13679
  for (key in S) S_is_set[key] = 1
13680
  FS = ""
13681
13682
 
13683
{
13684
  line = $ 0
13685
  nfields = split(line, field, "@")
13686
  substed = 0
13687
  len = length(field[1])
13688
  for (i = 2; i < nfields; i++) {
13689
    key = field[i]
13690
    keylen = length(key)
13691
    if (S_is_set[key]) {
13692
      value = S[key]
13693
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13694
      len += length(value) + length(field[++i])
13695
      substed = 1
13696
    } else
13697
      len += 1 + keylen
13698
  }
13699
13700
 
13701
}
13702
13703
 
13704
_ACEOF
13705
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13706
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13707
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13708
else
13709
  cat
13710
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13711
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
13712
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
13713
   { (exit 1); exit 1; }; }
13714
_ACEOF
13715
13716
 
13717
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13718
# trailing colons and then remove the whole line if VPATH becomes empty
13719
# (actually we leave an empty line to preserve line numbers).
13720
if test "x$srcdir" = x.; then
13721
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
13722
s/:*\$(srcdir):*/:/
13723
s/:*\${srcdir}:*/:/
13724
s/:*@srcdir@:*/:/
13725
s/^\([^=]*=[     ]*\):*/\1/
13726
s/:*$//
13727
s/^[^=]*=[       ]*$//
13728
}'
13729
fi
13730
13731
 
13732
fi # test -n "$CONFIG_FILES"
13733
13734
 
13735
 
13736
shift
13737
for ac_tag
13738
do
13739
  case $ac_tag in
13740
  :[FHLC]) ac_mode=$ac_tag; continue;;
13741
  esac
13742
  case $ac_mode$ac_tag in
13743
  :[FHL]*:*);;
13744
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13745
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13746
   { (exit 1); exit 1; }; };;
13747
  :[FH]-) ac_tag=-:-;;
13748
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13749
  esac
13750
  ac_save_IFS=$IFS
13751
  IFS=:
13752
  set x $ac_tag
13753
  IFS=$ac_save_IFS
13754
  shift
13755
  ac_file=$1
13756
  shift
13757
13758
 
13759
  :L) ac_source=$1;;
13760
  :[FH])
13761
    ac_file_inputs=
13762
    for ac_f
13763
    do
13764
      case $ac_f in
13765
      -) ac_f="$tmp/stdin";;
13766
      *) # Look for the file first in the build tree, then in the source tree
13767
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
13768
         # because $ac_f cannot contain `:'.
13769
         test -f "$ac_f" ||
13770
           case $ac_f in
13771
           [\\/$]*) false;;
13772
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13773
           esac ||
13774
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13775
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13776
   { (exit 1); exit 1; }; };;
13777
      esac
13778
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13779
      ac_file_inputs="$ac_file_inputs '$ac_f'"
13780
    done
13781
13782
 
13783
    # use $as_me), people would be surprised to read:
13784
    #    /* config.h.  Generated by config.status.  */
13785
    configure_input='Generated from '`
13786
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13787
        `' by configure.'
13788
    if test x"$ac_file" != x-; then
13789
      configure_input="$ac_file.  $configure_input"
13790
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13791
$as_echo "$as_me: creating $ac_file" >&6;}
13792
    fi
13793
    # Neutralize special characters interpreted by sed in replacement strings.
13794
    case $configure_input in #(
13795
    *\&* | *\|* | *\\* )
13796
       ac_sed_conf_input=`$as_echo "$configure_input" |
13797
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13798
    *) ac_sed_conf_input=$configure_input;;
13799
    esac
13800
13801
 
13802
    *:-:* | *:-) cat >"$tmp/stdin" \
13803
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13804
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13805
   { (exit 1); exit 1; }; } ;;
13806
    esac
13807
    ;;
13808
  esac
13809
13810
 
13811
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13812
         X"$ac_file" : 'X\(//\)[^/]' \| \
13813
         X"$ac_file" : 'X\(//\)$' \| \
13814
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13815
$as_echo X"$ac_file" |
13816
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13817
            s//\1/
13818
            q
13819
          }
13820
          /^X\(\/\/\)[^/].*/{
13821
            s//\1/
13822
            q
13823
          }
13824
          /^X\(\/\/\)$/{
13825
            s//\1/
13826
            q
13827
          }
13828
          /^X\(\/\).*/{
13829
            s//\1/
13830
            q
13831
          }
13832
          s/.*/./; q'`
13833
  { as_dir="$ac_dir"
13834
  case $as_dir in #(
13835
  -*) as_dir=./$as_dir;;
13836
  esac
13837
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13838
    as_dirs=
13839
    while :; do
13840
      case $as_dir in #(
13841
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13842
      *) as_qdir=$as_dir;;
13843
      esac
13844
      as_dirs="'$as_qdir' $as_dirs"
13845
      as_dir=`$as_dirname -- "$as_dir" ||
13846
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13847
         X"$as_dir" : 'X\(//\)[^/]' \| \
13848
         X"$as_dir" : 'X\(//\)$' \| \
13849
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13850
$as_echo X"$as_dir" |
13851
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13852
            s//\1/
13853
            q
13854
          }
13855
          /^X\(\/\/\)[^/].*/{
13856
            s//\1/
13857
            q
13858
          }
13859
          /^X\(\/\/\)$/{
13860
            s//\1/
13861
            q
13862
          }
13863
          /^X\(\/\).*/{
13864
            s//\1/
13865
            q
13866
          }
13867
          s/.*/./; q'`
13868
      test -d "$as_dir" && break
13869
    done
13870
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13871
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13872
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13873
   { (exit 1); exit 1; }; }; }
13874
  ac_builddir=.
13875
13876
 
13877
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13878
*)
13879
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13880
  # A ".." for each directory in $ac_dir_suffix.
13881
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13882
  case $ac_top_builddir_sub in
13883
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13884
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13885
  esac ;;
13886
esac
13887
ac_abs_top_builddir=$ac_pwd
13888
ac_abs_builddir=$ac_pwd$ac_dir_suffix
13889
# for backward compatibility:
13890
ac_top_builddir=$ac_top_build_prefix
13891
13892
 
13893
  .)  # We are building in place.
13894
    ac_srcdir=.
13895
    ac_top_srcdir=$ac_top_builddir_sub
13896
    ac_abs_top_srcdir=$ac_pwd ;;
13897
  [\\/]* | ?:[\\/]* )  # Absolute name.
13898
    ac_srcdir=$srcdir$ac_dir_suffix;
13899
    ac_top_srcdir=$srcdir
13900
    ac_abs_top_srcdir=$srcdir ;;
13901
  *) # Relative name.
13902
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13903
    ac_top_srcdir=$ac_top_build_prefix$srcdir
13904
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13905
esac
13906
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13907
13908
 
13909
 
13910
  :F)
13911
  #
13912
  # CONFIG_FILE
13913
  #
13914
13915
 
13916
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13917
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13918
  esac
13919
  ac_MKDIR_P=$MKDIR_P
13920
  case $MKDIR_P in
13921
  [\\/$]* | ?:[\\/]* ) ;;
13922
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13923
  esac
13924
_ACEOF
13925
13926
 
13927
# If the template does not know about datarootdir, expand it.
13928
# FIXME: This hack should be removed a few years after 2.60.
13929
ac_datarootdir_hack=; ac_datarootdir_seen=
13930
13931
 
13932
/datarootdir/ {
13933
  p
13934
  q
13935
}
13936
/@datadir@/p
13937
/@docdir@/p
13938
/@infodir@/p
13939
/@localedir@/p
13940
/@mandir@/p
13941
'
13942
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13943
*datarootdir*) ac_datarootdir_seen=yes;;
13944
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13945
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13946
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13947
_ACEOF
13948
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13949
  ac_datarootdir_hack='
13950
  s&@datadir@&$datadir&g
13951
  s&@docdir@&$docdir&g
13952
  s&@infodir@&$infodir&g
13953
  s&@localedir@&$localedir&g
13954
  s&@mandir@&$mandir&g
13955
    s&\\\${datarootdir}&$datarootdir&g' ;;
13956
esac
13957
_ACEOF
13958
13959
 
13960
# Shell code in configure.ac might set extrasub.
13961
# FIXME: do we really want to maintain this feature?
13962
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13963
ac_sed_extra="$ac_vpsub
13964
$extrasub
13965
_ACEOF
13966
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13967
:t
13968
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13969
s|@configure_input@|$ac_sed_conf_input|;t t
13970
s&@top_builddir@&$ac_top_builddir_sub&;t t
13971
s&@top_build_prefix@&$ac_top_build_prefix&;t t
13972
s&@srcdir@&$ac_srcdir&;t t
13973
s&@abs_srcdir@&$ac_abs_srcdir&;t t
13974
s&@top_srcdir@&$ac_top_srcdir&;t t
13975
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13976
s&@builddir@&$ac_builddir&;t t
13977
s&@abs_builddir@&$ac_abs_builddir&;t t
13978
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13979
s&@INSTALL@&$ac_INSTALL&;t t
13980
s&@MKDIR_P@&$ac_MKDIR_P&;t t
13981
$ac_datarootdir_hack
13982
"
13983
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13984
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13985
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13986
   { (exit 1); exit 1; }; }
13987
13988
 
13989
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13990
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13991
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13992
which seems to be undefined.  Please make sure it is defined." >&5
13993
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13994
which seems to be undefined.  Please make sure it is defined." >&2;}
13995
13996
 
13997
  case $ac_file in
13998
  -) cat "$tmp/out" && rm -f "$tmp/out";;
13999
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14000
  esac \
14001
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14002
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14003
   { (exit 1); exit 1; }; }
14004
 ;;
14005
14006
 
14007
 
14008
$as_echo "$as_me: executing $ac_file commands" >&6;}
14009
 ;;
14010
  esac
14011
14012
 
14013
 
14014
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14015
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14016
  # are listed without --file.  Let's play safe and only enable the eval
14017
  # if we detect the quoting.
14018
  case $CONFIG_FILES in
14019
  *\'*) eval set x "$CONFIG_FILES" ;;
14020
  *)   set x $CONFIG_FILES ;;
14021
  esac
14022
  shift
14023
  for mf
14024
  do
14025
    # Strip MF so we end up with the name of the file.
14026
    mf=`echo "$mf" | sed -e 's/:.*$//'`
14027
    # Check whether this is an Automake generated Makefile or not.
14028
    # We used to match only the files named `Makefile.in', but
14029
    # some people rename them; so instead we look at the file content.
14030
    # Grep'ing the first line is not enough: some people post-process
14031
    # each Makefile.in and add a new line on top of each file to say so.
14032
    # Grep'ing the whole file is not good either: AIX grep has a line
14033
    # limit of 2048, but all sed's we know have understand at least 4000.
14034
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14035
      dirpart=`$as_dirname -- "$mf" ||
14036
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14037
         X"$mf" : 'X\(//\)[^/]' \| \
14038
         X"$mf" : 'X\(//\)$' \| \
14039
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14040
$as_echo X"$mf" |
14041
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14042
            s//\1/
14043
            q
14044
          }
14045
          /^X\(\/\/\)[^/].*/{
14046
            s//\1/
14047
            q
14048
          }
14049
          /^X\(\/\/\)$/{
14050
            s//\1/
14051
            q
14052
          }
14053
          /^X\(\/\).*/{
14054
            s//\1/
14055
            q
14056
          }
14057
          s/.*/./; q'`
14058
    else
14059
      continue
14060
    fi
14061
    # Extract the definition of DEPDIR, am__include, and am__quote
14062
    # from the Makefile without running `make'.
14063
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14064
    test -z "$DEPDIR" && continue
14065
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14066
    test -z "am__include" && continue
14067
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14068
    # When using ansi2knr, U may be empty or an underscore; expand it
14069
    U=`sed -n 's/^U = //p' < "$mf"`
14070
    # Find all dependency output files, they are included files with
14071
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14072
    # simplest approach to changing $(DEPDIR) to its actual value in the
14073
    # expansion.
14074
    for file in `sed -n "
14075
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14076
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14077
      # Make sure the directory exists.
14078
      test -f "$dirpart/$file" && continue
14079
      fdir=`$as_dirname -- "$file" ||
14080
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14081
         X"$file" : 'X\(//\)[^/]' \| \
14082
         X"$file" : 'X\(//\)$' \| \
14083
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14084
$as_echo X"$file" |
14085
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14086
            s//\1/
14087
            q
14088
          }
14089
          /^X\(\/\/\)[^/].*/{
14090
            s//\1/
14091
            q
14092
          }
14093
          /^X\(\/\/\)$/{
14094
            s//\1/
14095
            q
14096
          }
14097
          /^X\(\/\).*/{
14098
            s//\1/
14099
            q
14100
          }
14101
          s/.*/./; q'`
14102
      { as_dir=$dirpart/$fdir
14103
  case $as_dir in #(
14104
  -*) as_dir=./$as_dir;;
14105
  esac
14106
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14107
    as_dirs=
14108
    while :; do
14109
      case $as_dir in #(
14110
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14111
      *) as_qdir=$as_dir;;
14112
      esac
14113
      as_dirs="'$as_qdir' $as_dirs"
14114
      as_dir=`$as_dirname -- "$as_dir" ||
14115
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14116
         X"$as_dir" : 'X\(//\)[^/]' \| \
14117
         X"$as_dir" : 'X\(//\)$' \| \
14118
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14119
$as_echo X"$as_dir" |
14120
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14121
            s//\1/
14122
            q
14123
          }
14124
          /^X\(\/\/\)[^/].*/{
14125
            s//\1/
14126
            q
14127
          }
14128
          /^X\(\/\/\)$/{
14129
            s//\1/
14130
            q
14131
          }
14132
          /^X\(\/\).*/{
14133
            s//\1/
14134
            q
14135
          }
14136
          s/.*/./; q'`
14137
      test -d "$as_dir" && break
14138
    done
14139
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14140
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14141
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14142
   { (exit 1); exit 1; }; }; }
14143
      # echo "creating $dirpart/$file"
14144
      echo '# dummy' > "$dirpart/$file"
14145
    done
14146
  done
14147
}
14148
 ;;
14149
    "libtool":C)
14150
14151
 
14152
    # commands through without removal of \ escapes.
14153
    if test -n "${ZSH_VERSION+set}" ; then
14154
      setopt NO_GLOB_SUBST
14155
    fi
14156
14157
 
14158
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14159
    $RM "$cfgfile"
14160
14161
 
14162
#! $SHELL
14163
14164
 
14165
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14166
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14167
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14168
#
14169
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14170
#                 2006, 2007, 2008 Free Software Foundation, Inc.
14171
#   Written by Gordon Matzigkeit, 1996
14172
#
14173
#   This file is part of GNU Libtool.
14174
#
14175
# GNU Libtool is free software; you can redistribute it and/or
14176
# modify it under the terms of the GNU General Public License as
14177
# published by the Free Software Foundation; either version 2 of
14178
# the License, or (at your option) any later version.
14179
#
14180
# As a special exception to the GNU General Public License,
14181
# if you distribute this file as part of a program or library that
14182
# is built using GNU Libtool, you may include this file under the
14183
# same distribution terms that you use for the rest of that program.
14184
#
14185
# GNU Libtool is distributed in the hope that it will be useful,
14186
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14187
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14188
# GNU General Public License for more details.
14189
#
14190
# You should have received a copy of the GNU General Public License
14191
# along with GNU Libtool; see the file COPYING.  If not, a copy
14192
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14193
# obtained by writing to the Free Software Foundation, Inc.,
14194
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14195
14196
 
14197
 
14198
available_tags=""
14199
14200
 
14201
14202
 
14203
SED=$lt_SED
14204
14205
 
14206
Xsed="\$SED -e 1s/^X//"
14207
14208
 
14209
AS=$AS
14210
14211
 
14212
DLLTOOL=$DLLTOOL
14213
14214
 
14215
OBJDUMP=$OBJDUMP
14216
14217
 
14218
macro_version=$macro_version
14219
macro_revision=$macro_revision
14220
14221
 
14222
build_libtool_libs=$enable_shared
14223
14224
 
14225
build_old_libs=$enable_static
14226
14227
 
14228
pic_mode=$pic_mode
14229
14230
 
14231
fast_install=$enable_fast_install
14232
14233
 
14234
host_alias=$host_alias
14235
host=$host
14236
host_os=$host_os
14237
14238
 
14239
build_alias=$build_alias
14240
build=$build
14241
build_os=$build_os
14242
14243
 
14244
GREP=$lt_GREP
14245
14246
 
14247
EGREP=$lt_EGREP
14248
14249
 
14250
FGREP=$lt_FGREP
14251
14252
 
14253
NM=$lt_NM
14254
14255
 
14256
LN_S=$lt_LN_S
14257
14258
 
14259
max_cmd_len=$max_cmd_len
14260
14261
 
14262
objext=$ac_objext
14263
14264
 
14265
exeext=$exeext
14266
14267
 
14268
lt_unset=$lt_unset
14269
14270
 
14271
SP2NL=$lt_lt_SP2NL
14272
14273
 
14274
NL2SP=$lt_lt_NL2SP
14275
14276
 
14277
reload_flag=$lt_reload_flag
14278
reload_cmds=$lt_reload_cmds
14279
14280
 
14281
deplibs_check_method=$lt_deplibs_check_method
14282
14283
 
14284
file_magic_cmd=$lt_file_magic_cmd
14285
14286
 
14287
AR=$lt_AR
14288
AR_FLAGS=$lt_AR_FLAGS
14289
14290
 
14291
STRIP=$lt_STRIP
14292
14293
 
14294
RANLIB=$lt_RANLIB
14295
old_postinstall_cmds=$lt_old_postinstall_cmds
14296
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14297
14298
 
14299
LTCC=$lt_CC
14300
14301
 
14302
LTCFLAGS=$lt_CFLAGS
14303
14304
 
14305
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14306
14307
 
14308
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14309
14310
 
14311
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14312
14313
 
14314
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14315
14316
 
14317
objdir=$objdir
14318
14319
 
14320
SHELL=$lt_SHELL
14321
14322
 
14323
ECHO=$lt_ECHO
14324
14325
 
14326
MAGIC_CMD=$MAGIC_CMD
14327
14328
 
14329
need_locks=$lt_need_locks
14330
14331
 
14332
DSYMUTIL=$lt_DSYMUTIL
14333
14334
 
14335
NMEDIT=$lt_NMEDIT
14336
14337
 
14338
LIPO=$lt_LIPO
14339
14340
 
14341
OTOOL=$lt_OTOOL
14342
14343
 
14344
OTOOL64=$lt_OTOOL64
14345
14346
 
14347
libext=$libext
14348
14349
 
14350
shrext_cmds=$lt_shrext_cmds
14351
14352
 
14353
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14354
14355
 
14356
# restored at link time.
14357
variables_saved_for_relink=$lt_variables_saved_for_relink
14358
14359
 
14360
need_lib_prefix=$need_lib_prefix
14361
14362
 
14363
need_version=$need_version
14364
14365
 
14366
version_type=$version_type
14367
14368
 
14369
runpath_var=$runpath_var
14370
14371
 
14372
shlibpath_var=$shlibpath_var
14373
14374
 
14375
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14376
14377
 
14378
libname_spec=$lt_libname_spec
14379
14380
 
14381
# The last name is the one that the linker finds with -lNAME
14382
library_names_spec=$lt_library_names_spec
14383
14384
 
14385
soname_spec=$lt_soname_spec
14386
14387
 
14388
postinstall_cmds=$lt_postinstall_cmds
14389
14390
 
14391
postuninstall_cmds=$lt_postuninstall_cmds
14392
14393
 
14394
finish_cmds=$lt_finish_cmds
14395
14396
 
14397
# not shown.
14398
finish_eval=$lt_finish_eval
14399
14400
 
14401
hardcode_into_libs=$hardcode_into_libs
14402
14403
 
14404
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14405
14406
 
14407
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14408
14409
 
14410
dlopen_support=$enable_dlopen
14411
14412
 
14413
dlopen_self=$enable_dlopen_self
14414
14415
 
14416
dlopen_self_static=$enable_dlopen_self_static
14417
14418
 
14419
old_striplib=$lt_old_striplib
14420
striplib=$lt_striplib
14421
14422
 
14423
 
14424
LD=$lt_LD
14425
14426
 
14427
old_archive_cmds=$lt_old_archive_cmds
14428
14429
 
14430
CC=$lt_compiler
14431
14432
 
14433
with_gcc=$GCC
14434
14435
 
14436
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14437
14438
 
14439
wl=$lt_lt_prog_compiler_wl
14440
14441
 
14442
pic_flag=$lt_lt_prog_compiler_pic
14443
14444
 
14445
link_static_flag=$lt_lt_prog_compiler_static
14446
14447
 
14448
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14449
14450
 
14451
build_libtool_need_lc=$archive_cmds_need_lc
14452
14453
 
14454
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14455
14456
 
14457
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14458
14459
 
14460
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14461
14462
 
14463
compiler_needs_object=$lt_compiler_needs_object
14464
14465
 
14466
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14467
14468
 
14469
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14470
14471
 
14472
archive_cmds=$lt_archive_cmds
14473
archive_expsym_cmds=$lt_archive_expsym_cmds
14474
14475
 
14476
# a shared archive.
14477
module_cmds=$lt_module_cmds
14478
module_expsym_cmds=$lt_module_expsym_cmds
14479
14480
 
14481
with_gnu_ld=$lt_with_gnu_ld
14482
14483
 
14484
allow_undefined_flag=$lt_allow_undefined_flag
14485
14486
 
14487
no_undefined_flag=$lt_no_undefined_flag
14488
14489
 
14490
# This must work even if \$libdir does not exist
14491
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14492
14493
 
14494
# during linking.  This must work even if \$libdir does not exist.
14495
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14496
14497
 
14498
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14499
14500
 
14501
# DIR into the resulting binary.
14502
hardcode_direct=$hardcode_direct
14503
14504
 
14505
# DIR into the resulting binary and the resulting library dependency is
14506
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14507
# library is relocated.
14508
hardcode_direct_absolute=$hardcode_direct_absolute
14509
14510
 
14511
# into the resulting binary.
14512
hardcode_minus_L=$hardcode_minus_L
14513
14514
 
14515
# into the resulting binary.
14516
hardcode_shlibpath_var=$hardcode_shlibpath_var
14517
14518
 
14519
# into the library and all subsequent libraries and executables linked
14520
# against it.
14521
hardcode_automatic=$hardcode_automatic
14522
14523
 
14524
# to runtime path list.
14525
inherit_rpath=$inherit_rpath
14526
14527
 
14528
link_all_deplibs=$link_all_deplibs
14529
14530
 
14531
fix_srcfile_path=$lt_fix_srcfile_path
14532
14533
 
14534
always_export_symbols=$always_export_symbols
14535
14536
 
14537
export_symbols_cmds=$lt_export_symbols_cmds
14538
14539
 
14540
exclude_expsyms=$lt_exclude_expsyms
14541
14542
 
14543
include_expsyms=$lt_include_expsyms
14544
14545
 
14546
prelink_cmds=$lt_prelink_cmds
14547
14548
 
14549
file_list_spec=$lt_file_list_spec
14550
14551
 
14552
hardcode_action=$hardcode_action
14553
14554
 
14555
14556
 
14557
14558
 
14559
  aix3*)
14560
    cat <<\_LT_EOF >> "$cfgfile"
14561
# AIX sometimes has problems with the GCC collect2 program.  For some
14562
# reason, if we set the COLLECT_NAMES environment variable, the problems
14563
# vanish in a puff of smoke.
14564
if test "X${COLLECT_NAMES+set}" != Xset; then
14565
  COLLECT_NAMES=
14566
  export COLLECT_NAMES
14567
fi
14568
_LT_EOF
14569
    ;;
14570
  esac
14571
14572
 
14573
 
14574
14575
 
14576
 
14577
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14578
  # text mode, it properly converts lines to CR/LF.  This bash problem
14579
  # is reportedly fixed, but why not run on old versions too?
14580
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14581
    || (rm -f "$cfgfile"; exit 1)
14582
14583
 
14584
  yes)
14585
    cat << \_LT_EOF >> "$cfgfile"
14586
14587
 
14588
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14589
# otherwise set result to NONDIR_REPLACEMENT.
14590
func_dirname ()
14591
{
14592
  case ${1} in
14593
    */*) func_dirname_result="${1%/*}${2}" ;;
14594
    *  ) func_dirname_result="${3}" ;;
14595
  esac
14596
}
14597
14598
 
14599
func_basename ()
14600
{
14601
  func_basename_result="${1##*/}"
14602
}
14603
14604
 
14605
# perform func_basename and func_dirname in a single function
14606
# call:
14607
#   dirname:  Compute the dirname of FILE.  If nonempty,
14608
#             add APPEND to the result, otherwise set result
14609
#             to NONDIR_REPLACEMENT.
14610
#             value returned in "$func_dirname_result"
14611
#   basename: Compute filename of FILE.
14612
#             value retuned in "$func_basename_result"
14613
# Implementation must be kept synchronized with func_dirname
14614
# and func_basename. For efficiency, we do not delegate to
14615
# those functions but instead duplicate the functionality here.
14616
func_dirname_and_basename ()
14617
{
14618
  case ${1} in
14619
    */*) func_dirname_result="${1%/*}${2}" ;;
14620
    *  ) func_dirname_result="${3}" ;;
14621
  esac
14622
  func_basename_result="${1##*/}"
14623
}
14624
14625
 
14626
# strip PREFIX and SUFFIX off of NAME.
14627
# PREFIX and SUFFIX must not contain globbing or regex special
14628
# characters, hashes, percent signs, but SUFFIX may contain a leading
14629
# dot (in which case that matches only a dot).
14630
func_stripname ()
14631
{
14632
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14633
  # positional parameters, so assign one to ordinary parameter first.
14634
  func_stripname_result=${3}
14635
  func_stripname_result=${func_stripname_result#"${1}"}
14636
  func_stripname_result=${func_stripname_result%"${2}"}
14637
}
14638
14639
 
14640
func_opt_split ()
14641
{
14642
  func_opt_split_opt=${1%%=*}
14643
  func_opt_split_arg=${1#*=}
14644
}
14645
14646
 
14647
func_lo2o ()
14648
{
14649
  case ${1} in
14650
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14651
    *)    func_lo2o_result=${1} ;;
14652
  esac
14653
}
14654
14655
 
14656
func_xform ()
14657
{
14658
  func_xform_result=${1%.*}.lo
14659
}
14660
14661
 
14662
func_arith ()
14663
{
14664
  func_arith_result=$(( $* ))
14665
}
14666
14667
 
14668
# STRING may not start with a hyphen.
14669
func_len ()
14670
{
14671
  func_len_result=${#1}
14672
}
14673
14674
 
14675
    ;;
14676
  *) # Bourne compatible functions.
14677
    cat << \_LT_EOF >> "$cfgfile"
14678
14679
 
14680
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14681
# otherwise set result to NONDIR_REPLACEMENT.
14682
func_dirname ()
14683
{
14684
  # Extract subdirectory from the argument.
14685
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14686
  if test "X$func_dirname_result" = "X${1}"; then
14687
    func_dirname_result="${3}"
14688
  else
14689
    func_dirname_result="$func_dirname_result${2}"
14690
  fi
14691
}
14692
14693
 
14694
func_basename ()
14695
{
14696
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14697
}
14698
14699
 
14700
 
14701
# strip PREFIX and SUFFIX off of NAME.
14702
# PREFIX and SUFFIX must not contain globbing or regex special
14703
# characters, hashes, percent signs, but SUFFIX may contain a leading
14704
# dot (in which case that matches only a dot).
14705
# func_strip_suffix prefix name
14706
func_stripname ()
14707
{
14708
  case ${2} in
14709
    .*) func_stripname_result=`$ECHO "X${3}" \
14710
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14711
    *)  func_stripname_result=`$ECHO "X${3}" \
14712
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14713
  esac
14714
}
14715
14716
 
14717
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14718
my_sed_long_arg='1s/^-[^=]*=//'
14719
14720
 
14721
func_opt_split ()
14722
{
14723
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14724
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14725
}
14726
14727
 
14728
func_lo2o ()
14729
{
14730
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14731
}
14732
14733
 
14734
func_xform ()
14735
{
14736
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14737
}
14738
14739
 
14740
func_arith ()
14741
{
14742
  func_arith_result=`expr "$@"`
14743
}
14744
14745
 
14746
# STRING may not start with a hyphen.
14747
func_len ()
14748
{
14749
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14750
}
14751
14752
 
14753
esac
14754
14755
 
14756
  yes)
14757
    cat << \_LT_EOF >> "$cfgfile"
14758
14759
 
14760
# Append VALUE to the end of shell variable VAR.
14761
func_append ()
14762
{
14763
  eval "$1+=\$2"
14764
}
14765
_LT_EOF
14766
    ;;
14767
  *)
14768
    cat << \_LT_EOF >> "$cfgfile"
14769
14770
 
14771
# Append VALUE to the end of shell variable VAR.
14772
func_append ()
14773
{
14774
  eval "$1=\$$1\$2"
14775
}
14776
14777
 
14778
    ;;
14779
  esac
14780
14781
 
14782
 
14783
    || (rm -f "$cfgfile"; exit 1)
14784
14785
 
14786
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14787
  chmod +x "$ofile"
14788
14789
 
14790
14791
 
14792
done # for ac_tag
14793
14794
 
14795
 
14796
_ACEOF
14797
chmod +x $CONFIG_STATUS
14798
ac_clean_files=$ac_clean_files_save
14799
14800
 
14801
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14802
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14803
   { (exit 1); exit 1; }; }
14804
14805
 
14806
 
14807
# config.status does its own redirection, appending to config.log.
14808
# Unfortunately, on DOS this fails, as config.log is still kept open
14809
# by configure, so config.status won't be able to write to it; its
14810
# output is simply discarded.  So we exec the FD to /dev/null,
14811
# effectively closing config.log, so it can be properly (re)opened and
14812
# appended to by config.status.  When coming back to configure, we
14813
# need to make the FD available again.
14814
if test "$no_create" != yes; then
14815
  ac_cs_success=:
14816
  ac_config_status_args=
14817
  test "$silent" = yes &&
14818
    ac_config_status_args="$ac_config_status_args --quiet"
14819
  exec 5>/dev/null
14820
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14821
  exec 5>>config.log
14822
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14823
  # would make configure fail if this is the last instruction.
14824
  $ac_cs_success || { (exit 1); exit 1; }
14825
fi
14826
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14827
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14828
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14829
fi
14830
14831
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.