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

Subversion Repositories openrisc_me

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

Go to most recent revision | 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="setjmp.S"
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
MACH_ADD_SETJMP_FALSE
792
MACH_ADD_SETJMP_TRUE
793
CPP
794
OTOOL64
795
OTOOL
796
LIPO
797
NMEDIT
798
DSYMUTIL
799
lt_ECHO
800
LN_S
801
NM
802
ac_ct_DUMPBIN
803
DUMPBIN
804
LD
805
FGREP
806
EGREP
807
GREP
808
EXEEXT
809
ac_ct_CC
810
CPPFLAGS
811
CFLAGS
812
LIBTOOL
813
OBJDUMP
814
DLLTOOL
815
SED
816
sys_dir
817
machine_dir
818
libm_machine_dir
819
lpfx
820
aext
821
oext
822
OBJEXT
823
USE_LIBTOOL_FALSE
824
USE_LIBTOOL_TRUE
825
ELIX_LEVEL_4_FALSE
826
ELIX_LEVEL_4_TRUE
827
ELIX_LEVEL_3_FALSE
828
ELIX_LEVEL_3_TRUE
829
ELIX_LEVEL_2_FALSE
830
ELIX_LEVEL_2_TRUE
831
ELIX_LEVEL_1_FALSE
832
ELIX_LEVEL_1_TRUE
833
ELIX_LEVEL_0_FALSE
834
ELIX_LEVEL_0_TRUE
835
LDFLAGS
836
NEWLIB_CFLAGS
837
CCASFLAGS
838
CCAS
839
MAINT
840
MAINTAINER_MODE_FALSE
841
MAINTAINER_MODE_TRUE
842
READELF
843
RANLIB
844
AR
845
AS
846
am__fastdepCC_FALSE
847
am__fastdepCC_TRUE
848
CCDEPMODE
849
AMDEPBACKSLASH
850
AMDEP_FALSE
851
AMDEP_TRUE
852
am__quote
853
am__include
854
DEPDIR
855
CC
856
am__untar
857
am__tar
858
AMTAR
859
am__leading_dot
860
SET_MAKE
861
AWK
862
mkdir_p
863
MKDIR_P
864
INSTALL_STRIP_PROGRAM
865
STRIP
866
install_sh
867
MAKEINFO
868
AUTOHEADER
869
AUTOMAKE
870
AUTOCONF
871
ACLOCAL
872
VERSION
873
PACKAGE
874
CYGPATH_W
875
am__isrc
876
INSTALL_DATA
877
INSTALL_SCRIPT
878
INSTALL_PROGRAM
879
host_os
880
host_vendor
881
host_cpu
882
host
883
build_os
884
build_vendor
885
build_cpu
886
build
887
newlib_basedir
888
MAY_SUPPLY_SYSCALLS_FALSE
889
MAY_SUPPLY_SYSCALLS_TRUE
890
target_alias
891
host_alias
892
build_alias
893
LIBS
894
ECHO_T
895
ECHO_N
896
ECHO_C
897
DEFS
898
mandir
899
localedir
900
libdir
901
psdir
902
pdfdir
903
dvidir
904
htmldir
905
infodir
906
docdir
907
oldincludedir
908
includedir
909
localstatedir
910
sharedstatedir
911
sysconfdir
912
datadir
913
datarootdir
914
libexecdir
915
sbindir
916
bindir
917
program_transform_name
918
prefix
919
exec_prefix
920
PACKAGE_BUGREPORT
921
PACKAGE_STRING
922
PACKAGE_VERSION
923
PACKAGE_TARNAME
924
PACKAGE_NAME
925
PATH_SEPARATOR
926
SHELL'
927
ac_subst_files=''
928
ac_user_opts='
929
enable_option_checking
930
enable_multilib
931
enable_target_optspace
932
enable_malloc_debugging
933
enable_newlib_multithread
934
enable_newlib_iconv
935
enable_newlib_elix_level
936
enable_newlib_io_float
937
enable_newlib_supplied_syscalls
938
enable_dependency_tracking
939
enable_maintainer_mode
940
enable_shared
941
enable_static
942
with_pic
943
enable_fast_install
944
with_gnu_ld
945
enable_libtool_lock
946
'
947
      ac_precious_vars='build_alias
948
host_alias
949
target_alias
950
CCAS
951
CCASFLAGS
952
CC
953
CFLAGS
954
LDFLAGS
955
LIBS
956
CPPFLAGS
957
CPP'
958
 
959
 
960
# Initialize some variables set by options.
961
ac_init_help=
962
ac_init_version=false
963
ac_unrecognized_opts=
964
ac_unrecognized_sep=
965
# The variables have the same names as the options, with
966
# dashes changed to underlines.
967
cache_file=/dev/null
968
exec_prefix=NONE
969
no_create=
970
no_recursion=
971
prefix=NONE
972
program_prefix=NONE
973
program_suffix=NONE
974
program_transform_name=s,x,x,
975
silent=
976
site=
977
srcdir=
978
verbose=
979
x_includes=NONE
980
x_libraries=NONE
981
 
982
# Installation directory options.
983
# These are left unexpanded so users can "make install exec_prefix=/foo"
984
# and all the variables that are supposed to be based on exec_prefix
985
# by default will actually change.
986
# Use braces instead of parens because sh, perl, etc. also accept them.
987
# (The list follows the same order as the GNU Coding Standards.)
988
bindir='${exec_prefix}/bin'
989
sbindir='${exec_prefix}/sbin'
990
libexecdir='${exec_prefix}/libexec'
991
datarootdir='${prefix}/share'
992
datadir='${datarootdir}'
993
sysconfdir='${prefix}/etc'
994
sharedstatedir='${prefix}/com'
995
localstatedir='${prefix}/var'
996
includedir='${prefix}/include'
997
oldincludedir='/usr/include'
998
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
999
infodir='${datarootdir}/info'
1000
htmldir='${docdir}'
1001
dvidir='${docdir}'
1002
pdfdir='${docdir}'
1003
psdir='${docdir}'
1004
libdir='${exec_prefix}/lib'
1005
localedir='${datarootdir}/locale'
1006
mandir='${datarootdir}/man'
1007
 
1008
ac_prev=
1009
ac_dashdash=
1010
for ac_option
1011
do
1012
  # If the previous option needs an argument, assign it.
1013
  if test -n "$ac_prev"; then
1014
    eval $ac_prev=\$ac_option
1015
    ac_prev=
1016
    continue
1017
  fi
1018
 
1019
  case $ac_option in
1020
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1021
  *)    ac_optarg=yes ;;
1022
  esac
1023
 
1024
  # Accept the important Cygnus configure options, so we can diagnose typos.
1025
 
1026
  case $ac_dashdash$ac_option in
1027
  --)
1028
    ac_dashdash=yes ;;
1029
 
1030
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1031
    ac_prev=bindir ;;
1032
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1033
    bindir=$ac_optarg ;;
1034
 
1035
  -build | --build | --buil | --bui | --bu)
1036
    ac_prev=build_alias ;;
1037
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1038
    build_alias=$ac_optarg ;;
1039
 
1040
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1041
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1042
    ac_prev=cache_file ;;
1043
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1044
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1045
    cache_file=$ac_optarg ;;
1046
 
1047
  --config-cache | -C)
1048
    cache_file=config.cache ;;
1049
 
1050
  -datadir | --datadir | --datadi | --datad)
1051
    ac_prev=datadir ;;
1052
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1053
    datadir=$ac_optarg ;;
1054
 
1055
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1056
  | --dataroo | --dataro | --datar)
1057
    ac_prev=datarootdir ;;
1058
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1059
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1060
    datarootdir=$ac_optarg ;;
1061
 
1062
  -disable-* | --disable-*)
1063
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1064
    # Reject names that are not valid shell variable names.
1065
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1066
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1067
   { (exit 1); exit 1; }; }
1068
    ac_useropt_orig=$ac_useropt
1069
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070
    case $ac_user_opts in
1071
      *"
1072
"enable_$ac_useropt"
1073
"*) ;;
1074
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1075
         ac_unrecognized_sep=', ';;
1076
    esac
1077
    eval enable_$ac_useropt=no ;;
1078
 
1079
  -docdir | --docdir | --docdi | --doc | --do)
1080
    ac_prev=docdir ;;
1081
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1082
    docdir=$ac_optarg ;;
1083
 
1084
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1085
    ac_prev=dvidir ;;
1086
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1087
    dvidir=$ac_optarg ;;
1088
 
1089
  -enable-* | --enable-*)
1090
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1091
    # Reject names that are not valid shell variable names.
1092
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1094
   { (exit 1); exit 1; }; }
1095
    ac_useropt_orig=$ac_useropt
1096
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097
    case $ac_user_opts in
1098
      *"
1099
"enable_$ac_useropt"
1100
"*) ;;
1101
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1102
         ac_unrecognized_sep=', ';;
1103
    esac
1104
    eval enable_$ac_useropt=\$ac_optarg ;;
1105
 
1106
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1107
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1108
  | --exec | --exe | --ex)
1109
    ac_prev=exec_prefix ;;
1110
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1111
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1112
  | --exec=* | --exe=* | --ex=*)
1113
    exec_prefix=$ac_optarg ;;
1114
 
1115
  -gas | --gas | --ga | --g)
1116
    # Obsolete; use --with-gas.
1117
    with_gas=yes ;;
1118
 
1119
  -help | --help | --hel | --he | -h)
1120
    ac_init_help=long ;;
1121
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1122
    ac_init_help=recursive ;;
1123
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1124
    ac_init_help=short ;;
1125
 
1126
  -host | --host | --hos | --ho)
1127
    ac_prev=host_alias ;;
1128
  -host=* | --host=* | --hos=* | --ho=*)
1129
    host_alias=$ac_optarg ;;
1130
 
1131
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1132
    ac_prev=htmldir ;;
1133
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1134
  | --ht=*)
1135
    htmldir=$ac_optarg ;;
1136
 
1137
  -includedir | --includedir | --includedi | --included | --include \
1138
  | --includ | --inclu | --incl | --inc)
1139
    ac_prev=includedir ;;
1140
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1141
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1142
    includedir=$ac_optarg ;;
1143
 
1144
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1145
    ac_prev=infodir ;;
1146
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1147
    infodir=$ac_optarg ;;
1148
 
1149
  -libdir | --libdir | --libdi | --libd)
1150
    ac_prev=libdir ;;
1151
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1152
    libdir=$ac_optarg ;;
1153
 
1154
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1155
  | --libexe | --libex | --libe)
1156
    ac_prev=libexecdir ;;
1157
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1158
  | --libexe=* | --libex=* | --libe=*)
1159
    libexecdir=$ac_optarg ;;
1160
 
1161
  -localedir | --localedir | --localedi | --localed | --locale)
1162
    ac_prev=localedir ;;
1163
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1164
    localedir=$ac_optarg ;;
1165
 
1166
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1167
  | --localstate | --localstat | --localsta | --localst | --locals)
1168
    ac_prev=localstatedir ;;
1169
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1170
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1171
    localstatedir=$ac_optarg ;;
1172
 
1173
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1174
    ac_prev=mandir ;;
1175
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1176
    mandir=$ac_optarg ;;
1177
 
1178
  -nfp | --nfp | --nf)
1179
    # Obsolete; use --without-fp.
1180
    with_fp=no ;;
1181
 
1182
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1183
  | --no-cr | --no-c | -n)
1184
    no_create=yes ;;
1185
 
1186
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1187
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1188
    no_recursion=yes ;;
1189
 
1190
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1191
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1192
  | --oldin | --oldi | --old | --ol | --o)
1193
    ac_prev=oldincludedir ;;
1194
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1195
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1196
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1197
    oldincludedir=$ac_optarg ;;
1198
 
1199
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1200
    ac_prev=prefix ;;
1201
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1202
    prefix=$ac_optarg ;;
1203
 
1204
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1205
  | --program-pre | --program-pr | --program-p)
1206
    ac_prev=program_prefix ;;
1207
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1208
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1209
    program_prefix=$ac_optarg ;;
1210
 
1211
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1212
  | --program-suf | --program-su | --program-s)
1213
    ac_prev=program_suffix ;;
1214
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1215
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1216
    program_suffix=$ac_optarg ;;
1217
 
1218
  -program-transform-name | --program-transform-name \
1219
  | --program-transform-nam | --program-transform-na \
1220
  | --program-transform-n | --program-transform- \
1221
  | --program-transform | --program-transfor \
1222
  | --program-transfo | --program-transf \
1223
  | --program-trans | --program-tran \
1224
  | --progr-tra | --program-tr | --program-t)
1225
    ac_prev=program_transform_name ;;
1226
  -program-transform-name=* | --program-transform-name=* \
1227
  | --program-transform-nam=* | --program-transform-na=* \
1228
  | --program-transform-n=* | --program-transform-=* \
1229
  | --program-transform=* | --program-transfor=* \
1230
  | --program-transfo=* | --program-transf=* \
1231
  | --program-trans=* | --program-tran=* \
1232
  | --progr-tra=* | --program-tr=* | --program-t=*)
1233
    program_transform_name=$ac_optarg ;;
1234
 
1235
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1236
    ac_prev=pdfdir ;;
1237
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1238
    pdfdir=$ac_optarg ;;
1239
 
1240
  -psdir | --psdir | --psdi | --psd | --ps)
1241
    ac_prev=psdir ;;
1242
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1243
    psdir=$ac_optarg ;;
1244
 
1245
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1246
  | -silent | --silent | --silen | --sile | --sil)
1247
    silent=yes ;;
1248
 
1249
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1250
    ac_prev=sbindir ;;
1251
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1252
  | --sbi=* | --sb=*)
1253
    sbindir=$ac_optarg ;;
1254
 
1255
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1256
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1257
  | --sharedst | --shareds | --shared | --share | --shar \
1258
  | --sha | --sh)
1259
    ac_prev=sharedstatedir ;;
1260
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1261
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1262
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1263
  | --sha=* | --sh=*)
1264
    sharedstatedir=$ac_optarg ;;
1265
 
1266
  -site | --site | --sit)
1267
    ac_prev=site ;;
1268
  -site=* | --site=* | --sit=*)
1269
    site=$ac_optarg ;;
1270
 
1271
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1272
    ac_prev=srcdir ;;
1273
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1274
    srcdir=$ac_optarg ;;
1275
 
1276
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1277
  | --syscon | --sysco | --sysc | --sys | --sy)
1278
    ac_prev=sysconfdir ;;
1279
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1280
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1281
    sysconfdir=$ac_optarg ;;
1282
 
1283
  -target | --target | --targe | --targ | --tar | --ta | --t)
1284
    ac_prev=target_alias ;;
1285
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1286
    target_alias=$ac_optarg ;;
1287
 
1288
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1289
    verbose=yes ;;
1290
 
1291
  -version | --version | --versio | --versi | --vers | -V)
1292
    ac_init_version=: ;;
1293
 
1294
  -with-* | --with-*)
1295
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1296
    # Reject names that are not valid shell variable names.
1297
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1298
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1299
   { (exit 1); exit 1; }; }
1300
    ac_useropt_orig=$ac_useropt
1301
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1302
    case $ac_user_opts in
1303
      *"
1304
"with_$ac_useropt"
1305
"*) ;;
1306
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1307
         ac_unrecognized_sep=', ';;
1308
    esac
1309
    eval with_$ac_useropt=\$ac_optarg ;;
1310
 
1311
  -without-* | --without-*)
1312
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1313
    # Reject names that are not valid shell variable names.
1314
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1315
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1316
   { (exit 1); exit 1; }; }
1317
    ac_useropt_orig=$ac_useropt
1318
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1319
    case $ac_user_opts in
1320
      *"
1321
"with_$ac_useropt"
1322
"*) ;;
1323
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1324
         ac_unrecognized_sep=', ';;
1325
    esac
1326
    eval with_$ac_useropt=no ;;
1327
 
1328
  --x)
1329
    # Obsolete; use --with-x.
1330
    with_x=yes ;;
1331
 
1332
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1333
  | --x-incl | --x-inc | --x-in | --x-i)
1334
    ac_prev=x_includes ;;
1335
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1336
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1337
    x_includes=$ac_optarg ;;
1338
 
1339
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1340
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1341
    ac_prev=x_libraries ;;
1342
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1343
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1344
    x_libraries=$ac_optarg ;;
1345
 
1346
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1347
Try \`$0 --help' for more information." >&2
1348
   { (exit 1); exit 1; }; }
1349
    ;;
1350
 
1351
  *=*)
1352
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1353
    # Reject names that are not valid shell variable names.
1354
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1355
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1356
   { (exit 1); exit 1; }; }
1357
    eval $ac_envvar=\$ac_optarg
1358
    export $ac_envvar ;;
1359
 
1360
  *)
1361
    # FIXME: should be removed in autoconf 3.0.
1362
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1363
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1364
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1365
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1366
    ;;
1367
 
1368
  esac
1369
done
1370
 
1371
if test -n "$ac_prev"; then
1372
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1373
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1374
   { (exit 1); exit 1; }; }
1375
fi
1376
 
1377
if test -n "$ac_unrecognized_opts"; then
1378
  case $enable_option_checking in
1379
    no) ;;
1380
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1381
   { (exit 1); exit 1; }; } ;;
1382
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1383
  esac
1384
fi
1385
 
1386
# Check all directory arguments for consistency.
1387
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1388
                datadir sysconfdir sharedstatedir localstatedir includedir \
1389
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1390
                libdir localedir mandir
1391
do
1392
  eval ac_val=\$$ac_var
1393
  # Remove trailing slashes.
1394
  case $ac_val in
1395
    */ )
1396
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1397
      eval $ac_var=\$ac_val;;
1398
  esac
1399
  # Be sure to have absolute directory names.
1400
  case $ac_val in
1401
    [\\/$]* | ?:[\\/]* )  continue;;
1402
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1403
  esac
1404
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1405
   { (exit 1); exit 1; }; }
1406
done
1407
 
1408
# There might be people who depend on the old broken behavior: `$host'
1409
# used to hold the argument of --host etc.
1410
# FIXME: To remove some day.
1411
build=$build_alias
1412
host=$host_alias
1413
target=$target_alias
1414
 
1415
# FIXME: To remove some day.
1416
if test "x$host_alias" != x; then
1417
  if test "x$build_alias" = x; then
1418
    cross_compiling=maybe
1419
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1420
    If a cross compiler is detected then cross compile mode will be used." >&2
1421
  elif test "x$build_alias" != "x$host_alias"; then
1422
    cross_compiling=yes
1423
  fi
1424
fi
1425
 
1426
ac_tool_prefix=
1427
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1428
 
1429
test "$silent" = yes && exec 6>/dev/null
1430
 
1431
 
1432
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1433
ac_ls_di=`ls -di .` &&
1434
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1435
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1436
   { (exit 1); exit 1; }; }
1437
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1438
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1439
   { (exit 1); exit 1; }; }
1440
 
1441
 
1442
# Find the source files, if location was not specified.
1443
if test -z "$srcdir"; then
1444
  ac_srcdir_defaulted=yes
1445
  # Try the directory containing this script, then the parent directory.
1446
  ac_confdir=`$as_dirname -- "$as_myself" ||
1447
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1448
         X"$as_myself" : 'X\(//\)[^/]' \| \
1449
         X"$as_myself" : 'X\(//\)$' \| \
1450
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1451
$as_echo X"$as_myself" |
1452
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1453
            s//\1/
1454
            q
1455
          }
1456
          /^X\(\/\/\)[^/].*/{
1457
            s//\1/
1458
            q
1459
          }
1460
          /^X\(\/\/\)$/{
1461
            s//\1/
1462
            q
1463
          }
1464
          /^X\(\/\).*/{
1465
            s//\1/
1466
            q
1467
          }
1468
          s/.*/./; q'`
1469
  srcdir=$ac_confdir
1470
  if test ! -r "$srcdir/$ac_unique_file"; then
1471
    srcdir=..
1472
  fi
1473
else
1474
  ac_srcdir_defaulted=no
1475
fi
1476
if test ! -r "$srcdir/$ac_unique_file"; then
1477
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1478
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1479
   { (exit 1); exit 1; }; }
1480
fi
1481
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1482
ac_abs_confdir=`(
1483
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1484
   { (exit 1); exit 1; }; }
1485
        pwd)`
1486
# When building in place, set srcdir=.
1487
if test "$ac_abs_confdir" = "$ac_pwd"; then
1488
  srcdir=.
1489
fi
1490
# Remove unnecessary trailing slashes from srcdir.
1491
# Double slashes in file names in object file debugging info
1492
# mess up M-x gdb in Emacs.
1493
case $srcdir in
1494
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1495
esac
1496
for ac_var in $ac_precious_vars; do
1497
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1498
  eval ac_env_${ac_var}_value=\$${ac_var}
1499
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1500
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1501
done
1502
 
1503
#
1504
# Report the --help message.
1505
#
1506
if test "$ac_init_help" = "long"; then
1507
  # Omit some internal or obsolete options to make the list less imposing.
1508
  # This message is too long to be a string in the A/UX 3.1 sh.
1509
  cat <<_ACEOF
1510
\`configure' configures newlib 1.18.0 to adapt to many kinds of systems.
1511
 
1512
Usage: $0 [OPTION]... [VAR=VALUE]...
1513
 
1514
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1515
VAR=VALUE.  See below for descriptions of some of the useful variables.
1516
 
1517
Defaults for the options are specified in brackets.
1518
 
1519
Configuration:
1520
  -h, --help              display this help and exit
1521
      --help=short        display options specific to this package
1522
      --help=recursive    display the short help of all the included packages
1523
  -V, --version           display version information and exit
1524
  -q, --quiet, --silent   do not print \`checking...' messages
1525
      --cache-file=FILE   cache test results in FILE [disabled]
1526
  -C, --config-cache      alias for \`--cache-file=config.cache'
1527
  -n, --no-create         do not create output files
1528
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1529
 
1530
Installation directories:
1531
  --prefix=PREFIX         install architecture-independent files in PREFIX
1532
                          [$ac_default_prefix]
1533
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1534
                          [PREFIX]
1535
 
1536
By default, \`make install' will install all the files in
1537
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1538
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1539
for instance \`--prefix=\$HOME'.
1540
 
1541
For better control, use the options below.
1542
 
1543
Fine tuning of the installation directories:
1544
  --bindir=DIR            user executables [EPREFIX/bin]
1545
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1546
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1547
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1548
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1549
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1550
  --libdir=DIR            object code libraries [EPREFIX/lib]
1551
  --includedir=DIR        C header files [PREFIX/include]
1552
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1553
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1554
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1555
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1556
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1557
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1558
  --docdir=DIR            documentation root [DATAROOTDIR/doc/newlib]
1559
  --htmldir=DIR           html documentation [DOCDIR]
1560
  --dvidir=DIR            dvi documentation [DOCDIR]
1561
  --pdfdir=DIR            pdf documentation [DOCDIR]
1562
  --psdir=DIR             ps documentation [DOCDIR]
1563
_ACEOF
1564
 
1565
  cat <<\_ACEOF
1566
 
1567
Program names:
1568
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1569
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1570
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1571
 
1572
System types:
1573
  --build=BUILD     configure for building on BUILD [guessed]
1574
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1575
_ACEOF
1576
fi
1577
 
1578
if test -n "$ac_init_help"; then
1579
  case $ac_init_help in
1580
     short | recursive ) echo "Configuration of newlib 1.18.0:";;
1581
   esac
1582
  cat <<\_ACEOF
1583
 
1584
Optional Features:
1585
  --disable-option-checking  ignore unrecognized --enable/--with options
1586
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1587
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1588
  --enable-multilib         build many library versions (default)
1589
  --enable-target-optspace  optimize for space
1590
  --enable-malloc-debugging indicate malloc debugging requested
1591
  --enable-newlib-multithread        enable support for multiple threads
1592
  --enable-newlib-iconv     enable iconv library support
1593
  --enable-newlib-elix-level         supply desired elix library level (1-4)
1594
  --disable-newlib-io-float disable printf/scanf family float support
1595
  --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1596
  --disable-dependency-tracking  speeds up one-time build
1597
  --enable-dependency-tracking   do not reject slow dependency extractors
1598
  --enable-maintainer-mode  enable make rules and dependencies not useful
1599
                          (and sometimes confusing) to the casual installer
1600
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1601
  --enable-static[=PKGS]  build static libraries [default=yes]
1602
  --enable-fast-install[=PKGS]
1603
                          optimize for fast installation [default=yes]
1604
  --disable-libtool-lock  avoid locking (might break parallel builds)
1605
 
1606
Optional Packages:
1607
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1608
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1609
  --with-pic              try to use only PIC/non-PIC objects [default=use
1610
                          both]
1611
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1612
 
1613
Some influential environment variables:
1614
  CCAS        assembler compiler command (defaults to CC)
1615
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1616
  CC          C compiler command
1617
  CFLAGS      C compiler flags
1618
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
1619
              nonstandard directory 
1620
  LIBS        libraries to pass to the linker, e.g. -l
1621
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I if
1622
              you have headers in a nonstandard directory 
1623
  CPP         C preprocessor
1624
 
1625
Use these variables to override the choices made by `configure' or to help
1626
it to find libraries and programs with nonstandard names/locations.
1627
 
1628
_ACEOF
1629
ac_status=$?
1630
fi
1631
 
1632
if test "$ac_init_help" = "recursive"; then
1633
  # If there are subdirs, report their specific --help.
1634
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1635
    test -d "$ac_dir" ||
1636
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1637
      continue
1638
    ac_builddir=.
1639
 
1640
case "$ac_dir" in
1641
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642
*)
1643
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1644
  # A ".." for each directory in $ac_dir_suffix.
1645
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1646
  case $ac_top_builddir_sub in
1647
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1648
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1649
  esac ;;
1650
esac
1651
ac_abs_top_builddir=$ac_pwd
1652
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1653
# for backward compatibility:
1654
ac_top_builddir=$ac_top_build_prefix
1655
 
1656
case $srcdir in
1657
  .)  # We are building in place.
1658
    ac_srcdir=.
1659
    ac_top_srcdir=$ac_top_builddir_sub
1660
    ac_abs_top_srcdir=$ac_pwd ;;
1661
  [\\/]* | ?:[\\/]* )  # Absolute name.
1662
    ac_srcdir=$srcdir$ac_dir_suffix;
1663
    ac_top_srcdir=$srcdir
1664
    ac_abs_top_srcdir=$srcdir ;;
1665
  *) # Relative name.
1666
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1667
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1668
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1669
esac
1670
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1671
 
1672
    cd "$ac_dir" || { ac_status=$?; continue; }
1673
    # Check for guested configure.
1674
    if test -f "$ac_srcdir/configure.gnu"; then
1675
      echo &&
1676
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1677
    elif test -f "$ac_srcdir/configure"; then
1678
      echo &&
1679
      $SHELL "$ac_srcdir/configure" --help=recursive
1680
    else
1681
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1682
    fi || ac_status=$?
1683
    cd "$ac_pwd" || { ac_status=$?; break; }
1684
  done
1685
fi
1686
 
1687
test -n "$ac_init_help" && exit $ac_status
1688
if $ac_init_version; then
1689
  cat <<\_ACEOF
1690
newlib configure 1.18.0
1691
generated by GNU Autoconf 2.63
1692
 
1693
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1694
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1695
This configure script is free software; the Free Software Foundation
1696
gives unlimited permission to copy, distribute and modify it.
1697
_ACEOF
1698
  exit
1699
fi
1700
cat >config.log <<_ACEOF
1701
This file contains any messages produced by compilers while
1702
running configure, to aid debugging if configure makes a mistake.
1703
 
1704
It was created by newlib $as_me 1.18.0, which was
1705
generated by GNU Autoconf 2.63.  Invocation command line was
1706
 
1707
  $ $0 $@
1708
 
1709
_ACEOF
1710
exec 5>>config.log
1711
{
1712
cat <<_ASUNAME
1713
## --------- ##
1714
## Platform. ##
1715
## --------- ##
1716
 
1717
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1718
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1719
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1720
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1721
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1722
 
1723
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1724
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1725
 
1726
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1727
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1728
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1729
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1730
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1731
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1732
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1733
 
1734
_ASUNAME
1735
 
1736
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1737
for as_dir in $PATH
1738
do
1739
  IFS=$as_save_IFS
1740
  test -z "$as_dir" && as_dir=.
1741
  $as_echo "PATH: $as_dir"
1742
done
1743
IFS=$as_save_IFS
1744
 
1745
} >&5
1746
 
1747
cat >&5 <<_ACEOF
1748
 
1749
 
1750
## ----------- ##
1751
## Core tests. ##
1752
## ----------- ##
1753
 
1754
_ACEOF
1755
 
1756
 
1757
# Keep a trace of the command line.
1758
# Strip out --no-create and --no-recursion so they do not pile up.
1759
# Strip out --silent because we don't want to record it for future runs.
1760
# Also quote any args containing shell meta-characters.
1761
# Make two passes to allow for proper duplicate-argument suppression.
1762
ac_configure_args=
1763
ac_configure_args0=
1764
ac_configure_args1=
1765
ac_must_keep_next=false
1766
for ac_pass in 1 2
1767
do
1768
  for ac_arg
1769
  do
1770
    case $ac_arg in
1771
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1772
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1773
    | -silent | --silent | --silen | --sile | --sil)
1774
      continue ;;
1775
    *\'*)
1776
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1777
    esac
1778
    case $ac_pass in
1779
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1780
    2)
1781
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1782
      if test $ac_must_keep_next = true; then
1783
        ac_must_keep_next=false # Got value, back to normal.
1784
      else
1785
        case $ac_arg in
1786
          *=* | --config-cache | -C | -disable-* | --disable-* \
1787
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1788
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1789
          | -with-* | --with-* | -without-* | --without-* | --x)
1790
            case "$ac_configure_args0 " in
1791
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1792
            esac
1793
            ;;
1794
          -* ) ac_must_keep_next=true ;;
1795
        esac
1796
      fi
1797
      ac_configure_args="$ac_configure_args '$ac_arg'"
1798
      ;;
1799
    esac
1800
  done
1801
done
1802
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1803
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1804
 
1805
# When interrupted or exit'd, cleanup temporary files, and complete
1806
# config.log.  We remove comments because anyway the quotes in there
1807
# would cause problems or look ugly.
1808
# WARNING: Use '\'' to represent an apostrophe within the trap.
1809
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1810
trap 'exit_status=$?
1811
  # Save into config.log some information that might help in debugging.
1812
  {
1813
    echo
1814
 
1815
    cat <<\_ASBOX
1816
## ---------------- ##
1817
## Cache variables. ##
1818
## ---------------- ##
1819
_ASBOX
1820
    echo
1821
    # The following way of writing the cache mishandles newlines in values,
1822
(
1823
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1824
    eval ac_val=\$$ac_var
1825
    case $ac_val in #(
1826
    *${as_nl}*)
1827
      case $ac_var in #(
1828
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1829
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1830
      esac
1831
      case $ac_var in #(
1832
      _ | IFS | as_nl) ;; #(
1833
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1834
      *) $as_unset $ac_var ;;
1835
      esac ;;
1836
    esac
1837
  done
1838
  (set) 2>&1 |
1839
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1840
    *${as_nl}ac_space=\ *)
1841
      sed -n \
1842
        "s/'\''/'\''\\\\'\'''\''/g;
1843
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1844
      ;; #(
1845
    *)
1846
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1847
      ;;
1848
    esac |
1849
    sort
1850
)
1851
    echo
1852
 
1853
    cat <<\_ASBOX
1854
## ----------------- ##
1855
## Output variables. ##
1856
## ----------------- ##
1857
_ASBOX
1858
    echo
1859
    for ac_var in $ac_subst_vars
1860
    do
1861
      eval ac_val=\$$ac_var
1862
      case $ac_val in
1863
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1864
      esac
1865
      $as_echo "$ac_var='\''$ac_val'\''"
1866
    done | sort
1867
    echo
1868
 
1869
    if test -n "$ac_subst_files"; then
1870
      cat <<\_ASBOX
1871
## ------------------- ##
1872
## File substitutions. ##
1873
## ------------------- ##
1874
_ASBOX
1875
      echo
1876
      for ac_var in $ac_subst_files
1877
      do
1878
        eval ac_val=\$$ac_var
1879
        case $ac_val in
1880
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1881
        esac
1882
        $as_echo "$ac_var='\''$ac_val'\''"
1883
      done | sort
1884
      echo
1885
    fi
1886
 
1887
    if test -s confdefs.h; then
1888
      cat <<\_ASBOX
1889
## ----------- ##
1890
## confdefs.h. ##
1891
## ----------- ##
1892
_ASBOX
1893
      echo
1894
      cat confdefs.h
1895
      echo
1896
    fi
1897
    test "$ac_signal" != 0 &&
1898
      $as_echo "$as_me: caught signal $ac_signal"
1899
    $as_echo "$as_me: exit $exit_status"
1900
  } >&5
1901
  rm -f core *.core core.conftest.* &&
1902
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1903
    exit $exit_status
1904
' 0
1905
for ac_signal in 1 2 13 15; do
1906
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1907
done
1908
ac_signal=0
1909
 
1910
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1911
rm -f -r conftest* confdefs.h
1912
 
1913
# Predefined preprocessor variables.
1914
 
1915
cat >>confdefs.h <<_ACEOF
1916
#define PACKAGE_NAME "$PACKAGE_NAME"
1917
_ACEOF
1918
 
1919
 
1920
cat >>confdefs.h <<_ACEOF
1921
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1922
_ACEOF
1923
 
1924
 
1925
cat >>confdefs.h <<_ACEOF
1926
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1927
_ACEOF
1928
 
1929
 
1930
cat >>confdefs.h <<_ACEOF
1931
#define PACKAGE_STRING "$PACKAGE_STRING"
1932
_ACEOF
1933
 
1934
 
1935
cat >>confdefs.h <<_ACEOF
1936
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1937
_ACEOF
1938
 
1939
 
1940
# Let the site file select an alternate cache file if it wants to.
1941
# Prefer an explicitly selected file to automatically selected ones.
1942
ac_site_file1=NONE
1943
ac_site_file2=NONE
1944
if test -n "$CONFIG_SITE"; then
1945
  ac_site_file1=$CONFIG_SITE
1946
elif test "x$prefix" != xNONE; then
1947
  ac_site_file1=$prefix/share/config.site
1948
  ac_site_file2=$prefix/etc/config.site
1949
else
1950
  ac_site_file1=$ac_default_prefix/share/config.site
1951
  ac_site_file2=$ac_default_prefix/etc/config.site
1952
fi
1953
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1954
do
1955
  test "x$ac_site_file" = xNONE && continue
1956
  if test -r "$ac_site_file"; then
1957
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1958
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1959
    sed 's/^/| /' "$ac_site_file" >&5
1960
    . "$ac_site_file"
1961
  fi
1962
done
1963
 
1964
if test -r "$cache_file"; then
1965
  # Some versions of bash will fail to source /dev/null (special
1966
  # files actually), so we avoid doing that.
1967
  if test -f "$cache_file"; then
1968
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1969
$as_echo "$as_me: loading cache $cache_file" >&6;}
1970
    case $cache_file in
1971
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1972
      *)                      . "./$cache_file";;
1973
    esac
1974
  fi
1975
else
1976
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1977
$as_echo "$as_me: creating cache $cache_file" >&6;}
1978
  >$cache_file
1979
fi
1980
 
1981
# Check that the precious variables saved in the cache have kept the same
1982
# value.
1983
ac_cache_corrupted=false
1984
for ac_var in $ac_precious_vars; do
1985
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1986
  eval ac_new_set=\$ac_env_${ac_var}_set
1987
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1988
  eval ac_new_val=\$ac_env_${ac_var}_value
1989
  case $ac_old_set,$ac_new_set in
1990
    set,)
1991
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1992
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1993
      ac_cache_corrupted=: ;;
1994
    ,set)
1995
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1996
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1997
      ac_cache_corrupted=: ;;
1998
    ,);;
1999
    *)
2000
      if test "x$ac_old_val" != "x$ac_new_val"; then
2001
        # differences in whitespace do not lead to failure.
2002
        ac_old_val_w=`echo x $ac_old_val`
2003
        ac_new_val_w=`echo x $ac_new_val`
2004
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2005
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2006
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2007
          ac_cache_corrupted=:
2008
        else
2009
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2010
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2011
          eval $ac_var=\$ac_old_val
2012
        fi
2013
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2014
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2015
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2016
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2017
      fi;;
2018
  esac
2019
  # Pass precious variables to config.status.
2020
  if test "$ac_new_set" = set; then
2021
    case $ac_new_val in
2022
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2023
    *) ac_arg=$ac_var=$ac_new_val ;;
2024
    esac
2025
    case " $ac_configure_args " in
2026
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2027
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2028
    esac
2029
  fi
2030
done
2031
if $ac_cache_corrupted; then
2032
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2033
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2034
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2035
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2036
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2037
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2038
   { (exit 1); exit 1; }; }
2039
fi
2040
 
2041
 
2042
 
2043
 
2044
 
2045
 
2046
 
2047
 
2048
 
2049
 
2050
 
2051
 
2052
 
2053
 
2054
 
2055
 
2056
 
2057
 
2058
 
2059
 
2060
 
2061
 
2062
 
2063
 
2064
 
2065
ac_ext=c
2066
ac_cpp='$CPP $CPPFLAGS'
2067
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2068
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2069
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2070
 
2071
 
2072
 
2073
 
2074
ac_aux_dir=
2075
for ac_dir in ../../../.. "$srcdir"/../../../..; do
2076
  if test -f "$ac_dir/install-sh"; then
2077
    ac_aux_dir=$ac_dir
2078
    ac_install_sh="$ac_aux_dir/install-sh -c"
2079
    break
2080
  elif test -f "$ac_dir/install.sh"; then
2081
    ac_aux_dir=$ac_dir
2082
    ac_install_sh="$ac_aux_dir/install.sh -c"
2083
    break
2084
  elif test -f "$ac_dir/shtool"; then
2085
    ac_aux_dir=$ac_dir
2086
    ac_install_sh="$ac_aux_dir/shtool install -c"
2087
    break
2088
  fi
2089
done
2090
if test -z "$ac_aux_dir"; then
2091
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&5
2092
$as_echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&2;}
2093
   { (exit 1); exit 1; }; }
2094
fi
2095
 
2096
# These three variables are undocumented and unsupported,
2097
# and are intended to be withdrawn in a future Autoconf release.
2098
# They can cause serious problems if a builder's source tree is in a directory
2099
# whose full name contains unusual characters.
2100
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2101
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2102
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2103
 
2104
 
2105
 
2106
 
2107
# Make sure we can run config.sub.
2108
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2109
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2110
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2111
   { (exit 1); exit 1; }; }
2112
 
2113
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2114
$as_echo_n "checking build system type... " >&6; }
2115
if test "${ac_cv_build+set}" = set; then
2116
  $as_echo_n "(cached) " >&6
2117
else
2118
  ac_build_alias=$build_alias
2119
test "x$ac_build_alias" = x &&
2120
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2121
test "x$ac_build_alias" = x &&
2122
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2123
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2124
   { (exit 1); exit 1; }; }
2125
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2126
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2127
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2128
   { (exit 1); exit 1; }; }
2129
 
2130
fi
2131
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2132
$as_echo "$ac_cv_build" >&6; }
2133
case $ac_cv_build in
2134
*-*-*) ;;
2135
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2136
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2137
   { (exit 1); exit 1; }; };;
2138
esac
2139
build=$ac_cv_build
2140
ac_save_IFS=$IFS; IFS='-'
2141
set x $ac_cv_build
2142
shift
2143
build_cpu=$1
2144
build_vendor=$2
2145
shift; shift
2146
# Remember, the first character of IFS is used to create $*,
2147
# except with old shells:
2148
build_os=$*
2149
IFS=$ac_save_IFS
2150
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2151
 
2152
 
2153
am__api_version='1.11'
2154
 
2155
# Find a good install program.  We prefer a C program (faster),
2156
# so one script is as good as another.  But avoid the broken or
2157
# incompatible versions:
2158
# SysV /etc/install, /usr/sbin/install
2159
# SunOS /usr/etc/install
2160
# IRIX /sbin/install
2161
# AIX /bin/install
2162
# AmigaOS /C/install, which installs bootblocks on floppy discs
2163
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2164
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2165
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2166
# OS/2's system install, which has a completely different semantic
2167
# ./install, which can be erroneously created by make from ./install.sh.
2168
# Reject install programs that cannot install multiple files.
2169
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2170
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2171
if test -z "$INSTALL"; then
2172
if test "${ac_cv_path_install+set}" = set; then
2173
  $as_echo_n "(cached) " >&6
2174
else
2175
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176
for as_dir in $PATH
2177
do
2178
  IFS=$as_save_IFS
2179
  test -z "$as_dir" && as_dir=.
2180
  # Account for people who put trailing slashes in PATH elements.
2181
case $as_dir/ in
2182
  ./ | .// | /cC/* | \
2183
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2184
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2185
  /usr/ucb/* ) ;;
2186
  *)
2187
    # OSF1 and SCO ODT 3.0 have their own names for install.
2188
    # Don't use installbsd from OSF since it installs stuff as root
2189
    # by default.
2190
    for ac_prog in ginstall scoinst install; do
2191
      for ac_exec_ext in '' $ac_executable_extensions; do
2192
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2193
          if test $ac_prog = install &&
2194
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2195
            # AIX install.  It has an incompatible calling convention.
2196
            :
2197
          elif test $ac_prog = install &&
2198
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2199
            # program-specific install script used by HP pwplus--don't use.
2200
            :
2201
          else
2202
            rm -rf conftest.one conftest.two conftest.dir
2203
            echo one > conftest.one
2204
            echo two > conftest.two
2205
            mkdir conftest.dir
2206
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2207
              test -s conftest.one && test -s conftest.two &&
2208
              test -s conftest.dir/conftest.one &&
2209
              test -s conftest.dir/conftest.two
2210
            then
2211
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2212
              break 3
2213
            fi
2214
          fi
2215
        fi
2216
      done
2217
    done
2218
    ;;
2219
esac
2220
 
2221
done
2222
IFS=$as_save_IFS
2223
 
2224
rm -rf conftest.one conftest.two conftest.dir
2225
 
2226
fi
2227
  if test "${ac_cv_path_install+set}" = set; then
2228
    INSTALL=$ac_cv_path_install
2229
  else
2230
    # As a last resort, use the slow shell script.  Don't cache a
2231
    # value for INSTALL within a source directory, because that will
2232
    # break other packages using the cache if that directory is
2233
    # removed, or if the value is a relative name.
2234
    INSTALL=$ac_install_sh
2235
  fi
2236
fi
2237
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2238
$as_echo "$INSTALL" >&6; }
2239
 
2240
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2241
# It thinks the first close brace ends the variable substitution.
2242
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2243
 
2244
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2245
 
2246
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2247
 
2248
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2249
$as_echo_n "checking whether build environment is sane... " >&6; }
2250
# Just in case
2251
sleep 1
2252
echo timestamp > conftest.file
2253
# Reject unsafe characters in $srcdir or the absolute working directory
2254
# name.  Accept space and tab only in the latter.
2255
am_lf='
2256
'
2257
case `pwd` in
2258
  *[\\\"\#\$\&\'\`$am_lf]*)
2259
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2260
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2261
   { (exit 1); exit 1; }; };;
2262
esac
2263
case $srcdir in
2264
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2265
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2266
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2267
   { (exit 1); exit 1; }; };;
2268
esac
2269
 
2270
# Do `set' in a subshell so we don't clobber the current shell's
2271
# arguments.  Must try -L first in case configure is actually a
2272
# symlink; some systems play weird games with the mod time of symlinks
2273
# (eg FreeBSD returns the mod time of the symlink's containing
2274
# directory).
2275
if (
2276
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2277
   if test "$*" = "X"; then
2278
      # -L didn't work.
2279
      set X `ls -t "$srcdir/configure" conftest.file`
2280
   fi
2281
   rm -f conftest.file
2282
   if test "$*" != "X $srcdir/configure conftest.file" \
2283
      && test "$*" != "X conftest.file $srcdir/configure"; then
2284
 
2285
      # If neither matched, then we have a broken ls.  This can happen
2286
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2287
      # broken ls alias from the environment.  This has actually
2288
      # happened.  Such a system could not be considered "sane".
2289
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2290
alias in your environment" >&5
2291
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2292
alias in your environment" >&2;}
2293
   { (exit 1); exit 1; }; }
2294
   fi
2295
 
2296
   test "$2" = conftest.file
2297
   )
2298
then
2299
   # Ok.
2300
   :
2301
else
2302
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2303
Check your system clock" >&5
2304
$as_echo "$as_me: error: newly created file is older than distributed files!
2305
Check your system clock" >&2;}
2306
   { (exit 1); exit 1; }; }
2307
fi
2308
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2309
$as_echo "yes" >&6; }
2310
test "$program_prefix" != NONE &&
2311
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2312
# Use a double $ so make ignores it.
2313
test "$program_suffix" != NONE &&
2314
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2315
# Double any \ or $.
2316
# By default was `s,x,x', remove it if useless.
2317
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2318
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2319
 
2320
# expand $ac_aux_dir to an absolute path
2321
am_aux_dir=`cd $ac_aux_dir && pwd`
2322
 
2323
if test x"${MISSING+set}" != xset; then
2324
  case $am_aux_dir in
2325
  *\ * | *\     *)
2326
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2327
  *)
2328
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2329
  esac
2330
fi
2331
# Use eval to expand $SHELL
2332
if eval "$MISSING --run true"; then
2333
  am_missing_run="$MISSING --run "
2334
else
2335
  am_missing_run=
2336
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2337
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2338
fi
2339
 
2340
if test x"${install_sh}" != xset; then
2341
  case $am_aux_dir in
2342
  *\ * | *\     *)
2343
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2344
  *)
2345
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2346
  esac
2347
fi
2348
 
2349
# Installed binaries are usually stripped using `strip' when the user
2350
# run `make install-strip'.  However `strip' might not be the right
2351
# tool to use in cross-compilation environments, therefore Automake
2352
# will honor the `STRIP' environment variable to overrule this program.
2353
if test "$cross_compiling" != no; then
2354
  if test -n "$ac_tool_prefix"; then
2355
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2356
set dummy ${ac_tool_prefix}strip; ac_word=$2
2357
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2358
$as_echo_n "checking for $ac_word... " >&6; }
2359
if test "${ac_cv_prog_STRIP+set}" = set; then
2360
  $as_echo_n "(cached) " >&6
2361
else
2362
  if test -n "$STRIP"; then
2363
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2364
else
2365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366
for as_dir in $PATH
2367
do
2368
  IFS=$as_save_IFS
2369
  test -z "$as_dir" && as_dir=.
2370
  for ac_exec_ext in '' $ac_executable_extensions; do
2371
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2372
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2373
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374
    break 2
2375
  fi
2376
done
2377
done
2378
IFS=$as_save_IFS
2379
 
2380
fi
2381
fi
2382
STRIP=$ac_cv_prog_STRIP
2383
if test -n "$STRIP"; then
2384
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2385
$as_echo "$STRIP" >&6; }
2386
else
2387
  { $as_echo "$as_me:$LINENO: result: no" >&5
2388
$as_echo "no" >&6; }
2389
fi
2390
 
2391
 
2392
fi
2393
if test -z "$ac_cv_prog_STRIP"; then
2394
  ac_ct_STRIP=$STRIP
2395
  # Extract the first word of "strip", so it can be a program name with args.
2396
set dummy strip; ac_word=$2
2397
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2398
$as_echo_n "checking for $ac_word... " >&6; }
2399
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2400
  $as_echo_n "(cached) " >&6
2401
else
2402
  if test -n "$ac_ct_STRIP"; then
2403
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2404
else
2405
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406
for as_dir in $PATH
2407
do
2408
  IFS=$as_save_IFS
2409
  test -z "$as_dir" && as_dir=.
2410
  for ac_exec_ext in '' $ac_executable_extensions; do
2411
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2412
    ac_cv_prog_ac_ct_STRIP="strip"
2413
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2414
    break 2
2415
  fi
2416
done
2417
done
2418
IFS=$as_save_IFS
2419
 
2420
fi
2421
fi
2422
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2423
if test -n "$ac_ct_STRIP"; then
2424
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2425
$as_echo "$ac_ct_STRIP" >&6; }
2426
else
2427
  { $as_echo "$as_me:$LINENO: result: no" >&5
2428
$as_echo "no" >&6; }
2429
fi
2430
 
2431
  if test "x$ac_ct_STRIP" = x; then
2432
    STRIP=":"
2433
  else
2434
    case $cross_compiling:$ac_tool_warned in
2435
yes:)
2436
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2437
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2438
ac_tool_warned=yes ;;
2439
esac
2440
    STRIP=$ac_ct_STRIP
2441
  fi
2442
else
2443
  STRIP="$ac_cv_prog_STRIP"
2444
fi
2445
 
2446
fi
2447
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2448
 
2449
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2450
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2451
if test -z "$MKDIR_P"; then
2452
  if test "${ac_cv_path_mkdir+set}" = set; then
2453
  $as_echo_n "(cached) " >&6
2454
else
2455
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2457
do
2458
  IFS=$as_save_IFS
2459
  test -z "$as_dir" && as_dir=.
2460
  for ac_prog in mkdir gmkdir; do
2461
         for ac_exec_ext in '' $ac_executable_extensions; do
2462
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2463
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2464
             'mkdir (GNU coreutils) '* | \
2465
             'mkdir (coreutils) '* | \
2466
             'mkdir (fileutils) '4.1*)
2467
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2468
               break 3;;
2469
           esac
2470
         done
2471
       done
2472
done
2473
IFS=$as_save_IFS
2474
 
2475
fi
2476
 
2477
  if test "${ac_cv_path_mkdir+set}" = set; then
2478
    MKDIR_P="$ac_cv_path_mkdir -p"
2479
  else
2480
    # As a last resort, use the slow shell script.  Don't cache a
2481
    # value for MKDIR_P within a source directory, because that will
2482
    # break other packages using the cache if that directory is
2483
    # removed, or if the value is a relative name.
2484
    test -d ./--version && rmdir ./--version
2485
    MKDIR_P="$ac_install_sh -d"
2486
  fi
2487
fi
2488
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2489
$as_echo "$MKDIR_P" >&6; }
2490
 
2491
mkdir_p="$MKDIR_P"
2492
case $mkdir_p in
2493
  [\\/$]* | ?:[\\/]*) ;;
2494
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2495
esac
2496
 
2497
for ac_prog in gawk mawk nawk awk
2498
do
2499
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2500
set dummy $ac_prog; ac_word=$2
2501
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2502
$as_echo_n "checking for $ac_word... " >&6; }
2503
if test "${ac_cv_prog_AWK+set}" = set; then
2504
  $as_echo_n "(cached) " >&6
2505
else
2506
  if test -n "$AWK"; then
2507
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2508
else
2509
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510
for as_dir in $PATH
2511
do
2512
  IFS=$as_save_IFS
2513
  test -z "$as_dir" && as_dir=.
2514
  for ac_exec_ext in '' $ac_executable_extensions; do
2515
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2516
    ac_cv_prog_AWK="$ac_prog"
2517
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2518
    break 2
2519
  fi
2520
done
2521
done
2522
IFS=$as_save_IFS
2523
 
2524
fi
2525
fi
2526
AWK=$ac_cv_prog_AWK
2527
if test -n "$AWK"; then
2528
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2529
$as_echo "$AWK" >&6; }
2530
else
2531
  { $as_echo "$as_me:$LINENO: result: no" >&5
2532
$as_echo "no" >&6; }
2533
fi
2534
 
2535
 
2536
  test -n "$AWK" && break
2537
done
2538
 
2539
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2540
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2541
set x ${MAKE-make}
2542
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2543
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2544
  $as_echo_n "(cached) " >&6
2545
else
2546
  cat >conftest.make <<\_ACEOF
2547
SHELL = /bin/sh
2548
all:
2549
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2550
_ACEOF
2551
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2552
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2553
  *@@@%%%=?*=@@@%%%*)
2554
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2555
  *)
2556
    eval ac_cv_prog_make_${ac_make}_set=no;;
2557
esac
2558
rm -f conftest.make
2559
fi
2560
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2561
  { $as_echo "$as_me:$LINENO: result: yes" >&5
2562
$as_echo "yes" >&6; }
2563
  SET_MAKE=
2564
else
2565
  { $as_echo "$as_me:$LINENO: result: no" >&5
2566
$as_echo "no" >&6; }
2567
  SET_MAKE="MAKE=${MAKE-make}"
2568
fi
2569
 
2570
rm -rf .tst 2>/dev/null
2571
mkdir .tst 2>/dev/null
2572
if test -d .tst; then
2573
  am__leading_dot=.
2574
else
2575
  am__leading_dot=_
2576
fi
2577
rmdir .tst 2>/dev/null
2578
 
2579
DEPDIR="${am__leading_dot}deps"
2580
 
2581
ac_config_commands="$ac_config_commands depfiles"
2582
 
2583
 
2584
am_make=${MAKE-make}
2585
cat > confinc << 'END'
2586
am__doit:
2587
        @echo this is the am__doit target
2588
.PHONY: am__doit
2589
END
2590
# If we don't find an include directive, just comment out the code.
2591
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2592
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2593
am__include="#"
2594
am__quote=
2595
_am_result=none
2596
# First try GNU make style include.
2597
echo "include confinc" > confmf
2598
# Ignore all kinds of additional output from `make'.
2599
case `$am_make -s -f confmf 2> /dev/null` in #(
2600
*the\ am__doit\ target*)
2601
  am__include=include
2602
  am__quote=
2603
  _am_result=GNU
2604
  ;;
2605
esac
2606
# Now try BSD make style include.
2607
if test "$am__include" = "#"; then
2608
   echo '.include "confinc"' > confmf
2609
   case `$am_make -s -f confmf 2> /dev/null` in #(
2610
   *the\ am__doit\ target*)
2611
     am__include=.include
2612
     am__quote="\""
2613
     _am_result=BSD
2614
     ;;
2615
   esac
2616
fi
2617
 
2618
 
2619
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2620
$as_echo "$_am_result" >&6; }
2621
rm -f confinc confmf
2622
 
2623
# Check whether --enable-dependency-tracking was given.
2624
if test "${enable_dependency_tracking+set}" = set; then
2625
  enableval=$enable_dependency_tracking;
2626
fi
2627
 
2628
if test "x$enable_dependency_tracking" != xno; then
2629
  am_depcomp="$ac_aux_dir/depcomp"
2630
  AMDEPBACKSLASH='\'
2631
fi
2632
 if test "x$enable_dependency_tracking" != xno; then
2633
  AMDEP_TRUE=
2634
  AMDEP_FALSE='#'
2635
else
2636
  AMDEP_TRUE='#'
2637
  AMDEP_FALSE=
2638
fi
2639
 
2640
 
2641
 
2642
# Check whether --enable-multilib was given.
2643
if test "${enable_multilib+set}" = set; then
2644
  enableval=$enable_multilib; case "${enableval}" in
2645
  yes) multilib=yes ;;
2646
  no)  multilib=no ;;
2647
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
2648
$as_echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
2649
   { (exit 1); exit 1; }; } ;;
2650
 esac
2651
else
2652
  multilib=yes
2653
fi
2654
 
2655
# Check whether --enable-target-optspace was given.
2656
if test "${enable_target_optspace+set}" = set; then
2657
  enableval=$enable_target_optspace; case "${enableval}" in
2658
  yes) target_optspace=yes ;;
2659
  no)  target_optspace=no ;;
2660
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
2661
$as_echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
2662
   { (exit 1); exit 1; }; } ;;
2663
 esac
2664
else
2665
  target_optspace=
2666
fi
2667
 
2668
# Check whether --enable-malloc-debugging was given.
2669
if test "${enable_malloc_debugging+set}" = set; then
2670
  enableval=$enable_malloc_debugging; case "${enableval}" in
2671
  yes) malloc_debugging=yes ;;
2672
  no)  malloc_debugging=no ;;
2673
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
2674
$as_echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
2675
   { (exit 1); exit 1; }; } ;;
2676
 esac
2677
else
2678
  malloc_debugging=
2679
fi
2680
 
2681
# Check whether --enable-newlib-multithread was given.
2682
if test "${enable_newlib_multithread+set}" = set; then
2683
  enableval=$enable_newlib_multithread; case "${enableval}" in
2684
  yes) newlib_multithread=yes ;;
2685
  no)  newlib_multithread=no ;;
2686
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
2687
$as_echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
2688
   { (exit 1); exit 1; }; } ;;
2689
 esac
2690
else
2691
  newlib_multithread=yes
2692
fi
2693
 
2694
# Check whether --enable-newlib-iconv was given.
2695
if test "${enable_newlib_iconv+set}" = set; then
2696
  enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
2697
   case "${enableval}" in
2698
     yes) newlib_iconv=yes ;;
2699
     no)  newlib_iconv=no ;;
2700
     *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
2701
$as_echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
2702
   { (exit 1); exit 1; }; } ;;
2703
   esac
2704
 fi
2705
else
2706
  newlib_iconv=${newlib_iconv}
2707
fi
2708
 
2709
# Check whether --enable-newlib-elix-level was given.
2710
if test "${enable_newlib_elix_level+set}" = set; then
2711
  enableval=$enable_newlib_elix_level; case "${enableval}" in
2712
  0)   newlib_elix_level=0 ;;
2713
  1)   newlib_elix_level=1 ;;
2714
  2)   newlib_elix_level=2 ;;
2715
  3)   newlib_elix_level=3 ;;
2716
  4)   newlib_elix_level=4 ;;
2717
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
2718
$as_echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
2719
   { (exit 1); exit 1; }; } ;;
2720
 esac
2721
else
2722
  newlib_elix_level=0
2723
fi
2724
 
2725
# Check whether --enable-newlib-io-float was given.
2726
if test "${enable_newlib_io_float+set}" = set; then
2727
  enableval=$enable_newlib_io_float; case "${enableval}" in
2728
  yes) newlib_io_float=yes ;;
2729
  no)  newlib_io_float=no ;;
2730
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
2731
$as_echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
2732
   { (exit 1); exit 1; }; } ;;
2733
 esac
2734
else
2735
  newlib_io_float=yes
2736
fi
2737
 
2738
# Check whether --enable-newlib-supplied-syscalls was given.
2739
if test "${enable_newlib_supplied_syscalls+set}" = set; then
2740
  enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
2741
  yes) newlib_may_supply_syscalls=yes ;;
2742
  no)  newlib_may_supply_syscalls=no ;;
2743
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
2744
$as_echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
2745
   { (exit 1); exit 1; }; } ;;
2746
 esac
2747
else
2748
  newlib_may_supply_syscalls=yes
2749
fi
2750
 
2751
 if test x${newlib_may_supply_syscalls} = xyes; then
2752
  MAY_SUPPLY_SYSCALLS_TRUE=
2753
  MAY_SUPPLY_SYSCALLS_FALSE='#'
2754
else
2755
  MAY_SUPPLY_SYSCALLS_TRUE='#'
2756
  MAY_SUPPLY_SYSCALLS_FALSE=
2757
fi
2758
 
2759
 
2760
 
2761
test -z "${with_target_subdir}" && with_target_subdir=.
2762
 
2763
if test "${srcdir}" = "."; then
2764
  if test "${with_target_subdir}" != "."; then
2765
    newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
2766
  else
2767
    newlib_basedir="${srcdir}/${with_multisrctop}../../.."
2768
  fi
2769
else
2770
  newlib_basedir="${srcdir}/../../.."
2771
fi
2772
 
2773
 
2774
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2775
$as_echo_n "checking host system type... " >&6; }
2776
if test "${ac_cv_host+set}" = set; then
2777
  $as_echo_n "(cached) " >&6
2778
else
2779
  if test "x$host_alias" = x; then
2780
  ac_cv_host=$ac_cv_build
2781
else
2782
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2783
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2784
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2785
   { (exit 1); exit 1; }; }
2786
fi
2787
 
2788
fi
2789
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2790
$as_echo "$ac_cv_host" >&6; }
2791
case $ac_cv_host in
2792
*-*-*) ;;
2793
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2794
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2795
   { (exit 1); exit 1; }; };;
2796
esac
2797
host=$ac_cv_host
2798
ac_save_IFS=$IFS; IFS='-'
2799
set x $ac_cv_host
2800
shift
2801
host_cpu=$1
2802
host_vendor=$2
2803
shift; shift
2804
# Remember, the first character of IFS is used to create $*,
2805
# except with old shells:
2806
host_os=$*
2807
IFS=$ac_save_IFS
2808
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2809
 
2810
 
2811
 
2812
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2813
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2814
  # is not polluted with repeated "-I."
2815
  am__isrc=' -I$(srcdir)'
2816
  # test to see if srcdir already configured
2817
  if test -f $srcdir/config.status; then
2818
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2819
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2820
   { (exit 1); exit 1; }; }
2821
  fi
2822
fi
2823
 
2824
# test whether we have cygpath
2825
if test -z "$CYGPATH_W"; then
2826
  if (cygpath --version) >/dev/null 2>/dev/null; then
2827
    CYGPATH_W='cygpath -w'
2828
  else
2829
    CYGPATH_W=echo
2830
  fi
2831
fi
2832
 
2833
 
2834
# Define the identity of the package.
2835
 PACKAGE='newlib'
2836
 VERSION='1.18.0'
2837
 
2838
 
2839
# Some tools Automake needs.
2840
 
2841
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2842
 
2843
 
2844
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2845
 
2846
 
2847
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2848
 
2849
 
2850
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2851
 
2852
 
2853
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2854
 
2855
# We need awk for the "check" target.  The system "awk" is bad on
2856
# some platforms.
2857
# Always define AMTAR for backward compatibility.
2858
 
2859
AMTAR=${AMTAR-"${am_missing_run}tar"}
2860
 
2861
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2862
 
2863
 
2864
 
2865
 
2866
 
2867
 
2868
# FIXME: We temporarily define our own version of AC_PROG_CC.  This is
2869
# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
2870
# are probably using a cross compiler, which will not be able to fully
2871
# link an executable.  This should really be fixed in autoconf
2872
# itself.
2873
 
2874
 
2875
 
2876
 
2877
 
2878
 
2879
 
2880
# Extract the first word of "gcc", so it can be a program name with args.
2881
set dummy gcc; ac_word=$2
2882
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2883
$as_echo_n "checking for $ac_word... " >&6; }
2884
if test "${ac_cv_prog_CC+set}" = set; then
2885
  $as_echo_n "(cached) " >&6
2886
else
2887
  if test -n "$CC"; then
2888
  ac_cv_prog_CC="$CC" # Let the user override the test.
2889
else
2890
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891
for as_dir in $PATH
2892
do
2893
  IFS=$as_save_IFS
2894
  test -z "$as_dir" && as_dir=.
2895
  for ac_exec_ext in '' $ac_executable_extensions; do
2896
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2897
    ac_cv_prog_CC="gcc"
2898
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2899
    break 2
2900
  fi
2901
done
2902
done
2903
IFS=$as_save_IFS
2904
 
2905
fi
2906
fi
2907
CC=$ac_cv_prog_CC
2908
if test -n "$CC"; then
2909
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2910
$as_echo "$CC" >&6; }
2911
else
2912
  { $as_echo "$as_me:$LINENO: result: no" >&5
2913
$as_echo "no" >&6; }
2914
fi
2915
 
2916
 
2917
 
2918
depcc="$CC"   am_compiler_list=
2919
 
2920
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2921
$as_echo_n "checking dependency style of $depcc... " >&6; }
2922
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2923
  $as_echo_n "(cached) " >&6
2924
else
2925
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2926
  # We make a subdir and do the tests there.  Otherwise we can end up
2927
  # making bogus files that we don't know about and never remove.  For
2928
  # instance it was reported that on HP-UX the gcc test will end up
2929
  # making a dummy file named `D' -- because `-MD' means `put the output
2930
  # in D'.
2931
  mkdir conftest.dir
2932
  # Copy depcomp to subdir because otherwise we won't find it if we're
2933
  # using a relative directory.
2934
  cp "$am_depcomp" conftest.dir
2935
  cd conftest.dir
2936
  # We will build objects and dependencies in a subdirectory because
2937
  # it helps to detect inapplicable dependency modes.  For instance
2938
  # both Tru64's cc and ICC support -MD to output dependencies as a
2939
  # side effect of compilation, but ICC will put the dependencies in
2940
  # the current directory while Tru64 will put them in the object
2941
  # directory.
2942
  mkdir sub
2943
 
2944
  am_cv_CC_dependencies_compiler_type=none
2945
  if test "$am_compiler_list" = ""; then
2946
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2947
  fi
2948
  am__universal=false
2949
  case " $depcc " in #(
2950
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
2951
     esac
2952
 
2953
  for depmode in $am_compiler_list; do
2954
    # Setup a source with many dependencies, because some compilers
2955
    # like to wrap large dependency lists on column 80 (with \), and
2956
    # we should not choose a depcomp mode which is confused by this.
2957
    #
2958
    # We need to recreate these files for each test, as the compiler may
2959
    # overwrite some of them when testing with obscure command lines.
2960
    # This happens at least with the AIX C compiler.
2961
    : > sub/conftest.c
2962
    for i in 1 2 3 4 5 6; do
2963
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2964
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2965
      # Solaris 8's {/usr,}/bin/sh.
2966
      touch sub/conftst$i.h
2967
    done
2968
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2969
 
2970
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2971
    # mode.  It turns out that the SunPro C++ compiler does not properly
2972
    # handle `-M -o', and we need to detect this.  Also, some Intel
2973
    # versions had trouble with output in subdirs
2974
    am__obj=sub/conftest.${OBJEXT-o}
2975
    am__minus_obj="-o $am__obj"
2976
    case $depmode in
2977
    gcc)
2978
      # This depmode causes a compiler race in universal mode.
2979
      test "$am__universal" = false || continue
2980
      ;;
2981
    nosideeffect)
2982
      # after this tag, mechanisms are not by side-effect, so they'll
2983
      # only be used when explicitly requested
2984
      if test "x$enable_dependency_tracking" = xyes; then
2985
        continue
2986
      else
2987
        break
2988
      fi
2989
      ;;
2990
    msvisualcpp | msvcmsys)
2991
      # This compiler won't grok `-c -o', but also, the minuso test has
2992
      # not run yet.  These depmodes are late enough in the game, and
2993
      # so weak that their functioning should not be impacted.
2994
      am__obj=conftest.${OBJEXT-o}
2995
      am__minus_obj=
2996
      ;;
2997
    none) break ;;
2998
    esac
2999
    if depmode=$depmode \
3000
       source=sub/conftest.c object=$am__obj \
3001
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3002
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3003
         >/dev/null 2>conftest.err &&
3004
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3005
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3006
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3007
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3008
      # icc doesn't choke on unknown options, it will just issue warnings
3009
      # or remarks (even with -Werror).  So we grep stderr for any message
3010
      # that says an option was ignored or not supported.
3011
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3012
      #   icc: Command line warning: ignoring option '-M'; no argument required
3013
      # The diagnosis changed in icc 8.0:
3014
      #   icc: Command line remark: option '-MP' not supported
3015
      if (grep 'ignoring option' conftest.err ||
3016
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3017
        am_cv_CC_dependencies_compiler_type=$depmode
3018
        break
3019
      fi
3020
    fi
3021
  done
3022
 
3023
  cd ..
3024
  rm -rf conftest.dir
3025
else
3026
  am_cv_CC_dependencies_compiler_type=none
3027
fi
3028
 
3029
fi
3030
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3031
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3032
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3033
 
3034
 if
3035
  test "x$enable_dependency_tracking" != xno \
3036
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3037
  am__fastdepCC_TRUE=
3038
  am__fastdepCC_FALSE='#'
3039
else
3040
  am__fastdepCC_TRUE='#'
3041
  am__fastdepCC_FALSE=
3042
fi
3043
 
3044
 
3045
if test -z "$CC"; then
3046
  # Extract the first word of "cc", so it can be a program name with args.
3047
set dummy cc; ac_word=$2
3048
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3049
$as_echo_n "checking for $ac_word... " >&6; }
3050
if test "${ac_cv_prog_CC+set}" = set; then
3051
  $as_echo_n "(cached) " >&6
3052
else
3053
  if test -n "$CC"; then
3054
  ac_cv_prog_CC="$CC" # Let the user override the test.
3055
else
3056
  ac_prog_rejected=no
3057
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058
for as_dir in $PATH
3059
do
3060
  IFS=$as_save_IFS
3061
  test -z "$as_dir" && as_dir=.
3062
  for ac_exec_ext in '' $ac_executable_extensions; do
3063
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3065
       ac_prog_rejected=yes
3066
       continue
3067
     fi
3068
    ac_cv_prog_CC="cc"
3069
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3070
    break 2
3071
  fi
3072
done
3073
done
3074
IFS=$as_save_IFS
3075
 
3076
if test $ac_prog_rejected = yes; then
3077
  # We found a bogon in the path, so make sure we never use it.
3078
  set dummy $ac_cv_prog_CC
3079
  shift
3080
  if test $# != 0; then
3081
    # We chose a different compiler from the bogus one.
3082
    # However, it has the same basename, so the bogon will be chosen
3083
    # first if we set CC to just the basename; use the full file name.
3084
    shift
3085
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3086
  fi
3087
fi
3088
fi
3089
fi
3090
CC=$ac_cv_prog_CC
3091
if test -n "$CC"; then
3092
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3093
$as_echo "$CC" >&6; }
3094
else
3095
  { $as_echo "$as_me:$LINENO: result: no" >&5
3096
$as_echo "no" >&6; }
3097
fi
3098
 
3099
 
3100
  test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
3101
$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
3102
   { (exit 1); exit 1; }; }
3103
fi
3104
 
3105
{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
3106
$as_echo_n "checking whether we are using GNU C... " >&6; }
3107
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3108
  $as_echo_n "(cached) " >&6
3109
else
3110
  cat > conftest.c <
3111
#ifdef __GNUC__
3112
  yes;
3113
#endif
3114
EOF
3115
if { ac_try='${CC-cc} -E conftest.c'
3116
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3117
  (eval $ac_try) 2>&5
3118
  ac_status=$?
3119
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120
  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3121
  ac_cv_c_compiler_gnu=yes
3122
else
3123
  ac_cv_c_compiler_gnu=no
3124
fi
3125
fi
3126
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3127
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3128
 
3129
if test $ac_cv_c_compiler_gnu = yes; then
3130
  GCC=yes
3131
  ac_test_CFLAGS="${CFLAGS+set}"
3132
  ac_save_CFLAGS="$CFLAGS"
3133
  ac_test_CFLAGS=${CFLAGS+set}
3134
ac_save_CFLAGS=$CFLAGS
3135
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3136
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3137
if test "${ac_cv_prog_cc_g+set}" = set; then
3138
  $as_echo_n "(cached) " >&6
3139
else
3140
  ac_save_c_werror_flag=$ac_c_werror_flag
3141
   ac_c_werror_flag=yes
3142
   ac_cv_prog_cc_g=no
3143
   CFLAGS="-g"
3144
   cat >conftest.$ac_ext <<_ACEOF
3145
/* confdefs.h.  */
3146
_ACEOF
3147
cat confdefs.h >>conftest.$ac_ext
3148
cat >>conftest.$ac_ext <<_ACEOF
3149
/* end confdefs.h.  */
3150
 
3151
int
3152
main ()
3153
{
3154
 
3155
  ;
3156
  return 0;
3157
}
3158
_ACEOF
3159
rm -f conftest.$ac_objext
3160
if { (ac_try="$ac_compile"
3161
case "(($ac_try" in
3162
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163
  *) ac_try_echo=$ac_try;;
3164
esac
3165
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3166
$as_echo "$ac_try_echo") >&5
3167
  (eval "$ac_compile") 2>conftest.er1
3168
  ac_status=$?
3169
  grep -v '^ *+' conftest.er1 >conftest.err
3170
  rm -f conftest.er1
3171
  cat conftest.err >&5
3172
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173
  (exit $ac_status); } && {
3174
         test -z "$ac_c_werror_flag" ||
3175
         test ! -s conftest.err
3176
       } && test -s conftest.$ac_objext; then
3177
  ac_cv_prog_cc_g=yes
3178
else
3179
  $as_echo "$as_me: failed program was:" >&5
3180
sed 's/^/| /' conftest.$ac_ext >&5
3181
 
3182
        CFLAGS=""
3183
      cat >conftest.$ac_ext <<_ACEOF
3184
/* confdefs.h.  */
3185
_ACEOF
3186
cat confdefs.h >>conftest.$ac_ext
3187
cat >>conftest.$ac_ext <<_ACEOF
3188
/* end confdefs.h.  */
3189
 
3190
int
3191
main ()
3192
{
3193
 
3194
  ;
3195
  return 0;
3196
}
3197
_ACEOF
3198
rm -f conftest.$ac_objext
3199
if { (ac_try="$ac_compile"
3200
case "(($ac_try" in
3201
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202
  *) ac_try_echo=$ac_try;;
3203
esac
3204
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3205
$as_echo "$ac_try_echo") >&5
3206
  (eval "$ac_compile") 2>conftest.er1
3207
  ac_status=$?
3208
  grep -v '^ *+' conftest.er1 >conftest.err
3209
  rm -f conftest.er1
3210
  cat conftest.err >&5
3211
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212
  (exit $ac_status); } && {
3213
         test -z "$ac_c_werror_flag" ||
3214
         test ! -s conftest.err
3215
       } && test -s conftest.$ac_objext; then
3216
  :
3217
else
3218
  $as_echo "$as_me: failed program was:" >&5
3219
sed 's/^/| /' conftest.$ac_ext >&5
3220
 
3221
        ac_c_werror_flag=$ac_save_c_werror_flag
3222
         CFLAGS="-g"
3223
         cat >conftest.$ac_ext <<_ACEOF
3224
/* confdefs.h.  */
3225
_ACEOF
3226
cat confdefs.h >>conftest.$ac_ext
3227
cat >>conftest.$ac_ext <<_ACEOF
3228
/* end confdefs.h.  */
3229
 
3230
int
3231
main ()
3232
{
3233
 
3234
  ;
3235
  return 0;
3236
}
3237
_ACEOF
3238
rm -f conftest.$ac_objext
3239
if { (ac_try="$ac_compile"
3240
case "(($ac_try" in
3241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242
  *) ac_try_echo=$ac_try;;
3243
esac
3244
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3245
$as_echo "$ac_try_echo") >&5
3246
  (eval "$ac_compile") 2>conftest.er1
3247
  ac_status=$?
3248
  grep -v '^ *+' conftest.er1 >conftest.err
3249
  rm -f conftest.er1
3250
  cat conftest.err >&5
3251
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252
  (exit $ac_status); } && {
3253
         test -z "$ac_c_werror_flag" ||
3254
         test ! -s conftest.err
3255
       } && test -s conftest.$ac_objext; then
3256
  ac_cv_prog_cc_g=yes
3257
else
3258
  $as_echo "$as_me: failed program was:" >&5
3259
sed 's/^/| /' conftest.$ac_ext >&5
3260
 
3261
 
3262
fi
3263
 
3264
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3265
fi
3266
 
3267
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3268
fi
3269
 
3270
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3271
   ac_c_werror_flag=$ac_save_c_werror_flag
3272
fi
3273
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3274
$as_echo "$ac_cv_prog_cc_g" >&6; }
3275
if test "$ac_test_CFLAGS" = set; then
3276
  CFLAGS=$ac_save_CFLAGS
3277
elif test $ac_cv_prog_cc_g = yes; then
3278
  if test "$GCC" = yes; then
3279
    CFLAGS="-g -O2"
3280
  else
3281
    CFLAGS="-g"
3282
  fi
3283
else
3284
  if test "$GCC" = yes; then
3285
    CFLAGS="-O2"
3286
  else
3287
    CFLAGS=
3288
  fi
3289
fi
3290
  if test "$ac_test_CFLAGS" = set; then
3291
    CFLAGS="$ac_save_CFLAGS"
3292
  elif test $ac_cv_prog_cc_g = yes; then
3293
    CFLAGS="-g -O2"
3294
  else
3295
    CFLAGS="-O2"
3296
  fi
3297
else
3298
  GCC=
3299
  test "${CFLAGS+set}" = set || CFLAGS="-g"
3300
fi
3301
 
3302
 
3303
if test -n "$ac_tool_prefix"; then
3304
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3305
set dummy ${ac_tool_prefix}as; ac_word=$2
3306
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3307
$as_echo_n "checking for $ac_word... " >&6; }
3308
if test "${ac_cv_prog_AS+set}" = set; then
3309
  $as_echo_n "(cached) " >&6
3310
else
3311
  if test -n "$AS"; then
3312
  ac_cv_prog_AS="$AS" # Let the user override the test.
3313
else
3314
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315
for as_dir in $PATH
3316
do
3317
  IFS=$as_save_IFS
3318
  test -z "$as_dir" && as_dir=.
3319
  for ac_exec_ext in '' $ac_executable_extensions; do
3320
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3321
    ac_cv_prog_AS="${ac_tool_prefix}as"
3322
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3323
    break 2
3324
  fi
3325
done
3326
done
3327
IFS=$as_save_IFS
3328
 
3329
fi
3330
fi
3331
AS=$ac_cv_prog_AS
3332
if test -n "$AS"; then
3333
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
3334
$as_echo "$AS" >&6; }
3335
else
3336
  { $as_echo "$as_me:$LINENO: result: no" >&5
3337
$as_echo "no" >&6; }
3338
fi
3339
 
3340
 
3341
fi
3342
if test -z "$ac_cv_prog_AS"; then
3343
  ac_ct_AS=$AS
3344
  # Extract the first word of "as", so it can be a program name with args.
3345
set dummy as; ac_word=$2
3346
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3347
$as_echo_n "checking for $ac_word... " >&6; }
3348
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3349
  $as_echo_n "(cached) " >&6
3350
else
3351
  if test -n "$ac_ct_AS"; then
3352
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3353
else
3354
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355
for as_dir in $PATH
3356
do
3357
  IFS=$as_save_IFS
3358
  test -z "$as_dir" && as_dir=.
3359
  for ac_exec_ext in '' $ac_executable_extensions; do
3360
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361
    ac_cv_prog_ac_ct_AS="as"
3362
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3363
    break 2
3364
  fi
3365
done
3366
done
3367
IFS=$as_save_IFS
3368
 
3369
fi
3370
fi
3371
ac_ct_AS=$ac_cv_prog_ac_ct_AS
3372
if test -n "$ac_ct_AS"; then
3373
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3374
$as_echo "$ac_ct_AS" >&6; }
3375
else
3376
  { $as_echo "$as_me:$LINENO: result: no" >&5
3377
$as_echo "no" >&6; }
3378
fi
3379
 
3380
  if test "x$ac_ct_AS" = x; then
3381
    AS=""
3382
  else
3383
    case $cross_compiling:$ac_tool_warned in
3384
yes:)
3385
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3386
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3387
ac_tool_warned=yes ;;
3388
esac
3389
    AS=$ac_ct_AS
3390
  fi
3391
else
3392
  AS="$ac_cv_prog_AS"
3393
fi
3394
 
3395
if test -n "$ac_tool_prefix"; then
3396
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3397
set dummy ${ac_tool_prefix}ar; ac_word=$2
3398
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3399
$as_echo_n "checking for $ac_word... " >&6; }
3400
if test "${ac_cv_prog_AR+set}" = set; then
3401
  $as_echo_n "(cached) " >&6
3402
else
3403
  if test -n "$AR"; then
3404
  ac_cv_prog_AR="$AR" # Let the user override the test.
3405
else
3406
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407
for as_dir in $PATH
3408
do
3409
  IFS=$as_save_IFS
3410
  test -z "$as_dir" && as_dir=.
3411
  for ac_exec_ext in '' $ac_executable_extensions; do
3412
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413
    ac_cv_prog_AR="${ac_tool_prefix}ar"
3414
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3415
    break 2
3416
  fi
3417
done
3418
done
3419
IFS=$as_save_IFS
3420
 
3421
fi
3422
fi
3423
AR=$ac_cv_prog_AR
3424
if test -n "$AR"; then
3425
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
3426
$as_echo "$AR" >&6; }
3427
else
3428
  { $as_echo "$as_me:$LINENO: result: no" >&5
3429
$as_echo "no" >&6; }
3430
fi
3431
 
3432
 
3433
fi
3434
if test -z "$ac_cv_prog_AR"; then
3435
  ac_ct_AR=$AR
3436
  # Extract the first word of "ar", so it can be a program name with args.
3437
set dummy ar; ac_word=$2
3438
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3439
$as_echo_n "checking for $ac_word... " >&6; }
3440
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3441
  $as_echo_n "(cached) " >&6
3442
else
3443
  if test -n "$ac_ct_AR"; then
3444
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3445
else
3446
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3447
for as_dir in $PATH
3448
do
3449
  IFS=$as_save_IFS
3450
  test -z "$as_dir" && as_dir=.
3451
  for ac_exec_ext in '' $ac_executable_extensions; do
3452
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3453
    ac_cv_prog_ac_ct_AR="ar"
3454
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3455
    break 2
3456
  fi
3457
done
3458
done
3459
IFS=$as_save_IFS
3460
 
3461
fi
3462
fi
3463
ac_ct_AR=$ac_cv_prog_ac_ct_AR
3464
if test -n "$ac_ct_AR"; then
3465
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3466
$as_echo "$ac_ct_AR" >&6; }
3467
else
3468
  { $as_echo "$as_me:$LINENO: result: no" >&5
3469
$as_echo "no" >&6; }
3470
fi
3471
 
3472
  if test "x$ac_ct_AR" = x; then
3473
    AR=""
3474
  else
3475
    case $cross_compiling:$ac_tool_warned in
3476
yes:)
3477
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3478
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3479
ac_tool_warned=yes ;;
3480
esac
3481
    AR=$ac_ct_AR
3482
  fi
3483
else
3484
  AR="$ac_cv_prog_AR"
3485
fi
3486
 
3487
if test -n "$ac_tool_prefix"; then
3488
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3489
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3490
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3491
$as_echo_n "checking for $ac_word... " >&6; }
3492
if test "${ac_cv_prog_RANLIB+set}" = set; then
3493
  $as_echo_n "(cached) " >&6
3494
else
3495
  if test -n "$RANLIB"; then
3496
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3497
else
3498
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499
for as_dir in $PATH
3500
do
3501
  IFS=$as_save_IFS
3502
  test -z "$as_dir" && as_dir=.
3503
  for ac_exec_ext in '' $ac_executable_extensions; do
3504
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3505
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3506
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3507
    break 2
3508
  fi
3509
done
3510
done
3511
IFS=$as_save_IFS
3512
 
3513
fi
3514
fi
3515
RANLIB=$ac_cv_prog_RANLIB
3516
if test -n "$RANLIB"; then
3517
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3518
$as_echo "$RANLIB" >&6; }
3519
else
3520
  { $as_echo "$as_me:$LINENO: result: no" >&5
3521
$as_echo "no" >&6; }
3522
fi
3523
 
3524
 
3525
fi
3526
if test -z "$ac_cv_prog_RANLIB"; then
3527
  ac_ct_RANLIB=$RANLIB
3528
  # Extract the first word of "ranlib", so it can be a program name with args.
3529
set dummy ranlib; ac_word=$2
3530
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3531
$as_echo_n "checking for $ac_word... " >&6; }
3532
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3533
  $as_echo_n "(cached) " >&6
3534
else
3535
  if test -n "$ac_ct_RANLIB"; then
3536
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3537
else
3538
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3539
for as_dir in $PATH
3540
do
3541
  IFS=$as_save_IFS
3542
  test -z "$as_dir" && as_dir=.
3543
  for ac_exec_ext in '' $ac_executable_extensions; do
3544
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3545
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3546
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3547
    break 2
3548
  fi
3549
done
3550
done
3551
IFS=$as_save_IFS
3552
 
3553
fi
3554
fi
3555
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3556
if test -n "$ac_ct_RANLIB"; then
3557
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3558
$as_echo "$ac_ct_RANLIB" >&6; }
3559
else
3560
  { $as_echo "$as_me:$LINENO: result: no" >&5
3561
$as_echo "no" >&6; }
3562
fi
3563
 
3564
  if test "x$ac_ct_RANLIB" = x; then
3565
    RANLIB=":"
3566
  else
3567
    case $cross_compiling:$ac_tool_warned in
3568
yes:)
3569
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3570
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3571
ac_tool_warned=yes ;;
3572
esac
3573
    RANLIB=$ac_ct_RANLIB
3574
  fi
3575
else
3576
  RANLIB="$ac_cv_prog_RANLIB"
3577
fi
3578
 
3579
if test -n "$ac_tool_prefix"; then
3580
  # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3581
set dummy ${ac_tool_prefix}readelf; ac_word=$2
3582
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3583
$as_echo_n "checking for $ac_word... " >&6; }
3584
if test "${ac_cv_prog_READELF+set}" = set; then
3585
  $as_echo_n "(cached) " >&6
3586
else
3587
  if test -n "$READELF"; then
3588
  ac_cv_prog_READELF="$READELF" # Let the user override the test.
3589
else
3590
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591
for as_dir in $PATH
3592
do
3593
  IFS=$as_save_IFS
3594
  test -z "$as_dir" && as_dir=.
3595
  for ac_exec_ext in '' $ac_executable_extensions; do
3596
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597
    ac_cv_prog_READELF="${ac_tool_prefix}readelf"
3598
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3599
    break 2
3600
  fi
3601
done
3602
done
3603
IFS=$as_save_IFS
3604
 
3605
fi
3606
fi
3607
READELF=$ac_cv_prog_READELF
3608
if test -n "$READELF"; then
3609
  { $as_echo "$as_me:$LINENO: result: $READELF" >&5
3610
$as_echo "$READELF" >&6; }
3611
else
3612
  { $as_echo "$as_me:$LINENO: result: no" >&5
3613
$as_echo "no" >&6; }
3614
fi
3615
 
3616
 
3617
fi
3618
if test -z "$ac_cv_prog_READELF"; then
3619
  ac_ct_READELF=$READELF
3620
  # Extract the first word of "readelf", so it can be a program name with args.
3621
set dummy readelf; ac_word=$2
3622
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3623
$as_echo_n "checking for $ac_word... " >&6; }
3624
if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
3625
  $as_echo_n "(cached) " >&6
3626
else
3627
  if test -n "$ac_ct_READELF"; then
3628
  ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
3629
else
3630
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3631
for as_dir in $PATH
3632
do
3633
  IFS=$as_save_IFS
3634
  test -z "$as_dir" && as_dir=.
3635
  for ac_exec_ext in '' $ac_executable_extensions; do
3636
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3637
    ac_cv_prog_ac_ct_READELF="readelf"
3638
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3639
    break 2
3640
  fi
3641
done
3642
done
3643
IFS=$as_save_IFS
3644
 
3645
fi
3646
fi
3647
ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
3648
if test -n "$ac_ct_READELF"; then
3649
  { $as_echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
3650
$as_echo "$ac_ct_READELF" >&6; }
3651
else
3652
  { $as_echo "$as_me:$LINENO: result: no" >&5
3653
$as_echo "no" >&6; }
3654
fi
3655
 
3656
  if test "x$ac_ct_READELF" = x; then
3657
    READELF=":"
3658
  else
3659
    case $cross_compiling:$ac_tool_warned in
3660
yes:)
3661
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3662
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3663
ac_tool_warned=yes ;;
3664
esac
3665
    READELF=$ac_ct_READELF
3666
  fi
3667
else
3668
  READELF="$ac_cv_prog_READELF"
3669
fi
3670
 
3671
 
3672
# Find a good install program.  We prefer a C program (faster),
3673
# so one script is as good as another.  But avoid the broken or
3674
# incompatible versions:
3675
# SysV /etc/install, /usr/sbin/install
3676
# SunOS /usr/etc/install
3677
# IRIX /sbin/install
3678
# AIX /bin/install
3679
# AmigaOS /C/install, which installs bootblocks on floppy discs
3680
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3681
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3682
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3683
# OS/2's system install, which has a completely different semantic
3684
# ./install, which can be erroneously created by make from ./install.sh.
3685
# Reject install programs that cannot install multiple files.
3686
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3687
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3688
if test -z "$INSTALL"; then
3689
if test "${ac_cv_path_install+set}" = set; then
3690
  $as_echo_n "(cached) " >&6
3691
else
3692
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693
for as_dir in $PATH
3694
do
3695
  IFS=$as_save_IFS
3696
  test -z "$as_dir" && as_dir=.
3697
  # Account for people who put trailing slashes in PATH elements.
3698
case $as_dir/ in
3699
  ./ | .// | /cC/* | \
3700
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3701
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3702
  /usr/ucb/* ) ;;
3703
  *)
3704
    # OSF1 and SCO ODT 3.0 have their own names for install.
3705
    # Don't use installbsd from OSF since it installs stuff as root
3706
    # by default.
3707
    for ac_prog in ginstall scoinst install; do
3708
      for ac_exec_ext in '' $ac_executable_extensions; do
3709
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3710
          if test $ac_prog = install &&
3711
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3712
            # AIX install.  It has an incompatible calling convention.
3713
            :
3714
          elif test $ac_prog = install &&
3715
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3716
            # program-specific install script used by HP pwplus--don't use.
3717
            :
3718
          else
3719
            rm -rf conftest.one conftest.two conftest.dir
3720
            echo one > conftest.one
3721
            echo two > conftest.two
3722
            mkdir conftest.dir
3723
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3724
              test -s conftest.one && test -s conftest.two &&
3725
              test -s conftest.dir/conftest.one &&
3726
              test -s conftest.dir/conftest.two
3727
            then
3728
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3729
              break 3
3730
            fi
3731
          fi
3732
        fi
3733
      done
3734
    done
3735
    ;;
3736
esac
3737
 
3738
done
3739
IFS=$as_save_IFS
3740
 
3741
rm -rf conftest.one conftest.two conftest.dir
3742
 
3743
fi
3744
  if test "${ac_cv_path_install+set}" = set; then
3745
    INSTALL=$ac_cv_path_install
3746
  else
3747
    # As a last resort, use the slow shell script.  Don't cache a
3748
    # value for INSTALL within a source directory, because that will
3749
    # break other packages using the cache if that directory is
3750
    # removed, or if the value is a relative name.
3751
    INSTALL=$ac_install_sh
3752
  fi
3753
fi
3754
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3755
$as_echo "$INSTALL" >&6; }
3756
 
3757
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3758
# It thinks the first close brace ends the variable substitution.
3759
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3760
 
3761
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3762
 
3763
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3764
 
3765
 
3766
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13.  */
3767
ac_given_INSTALL=$INSTALL
3768
 
3769
 
3770
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3771
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3772
    # Check whether --enable-maintainer-mode was given.
3773
if test "${enable_maintainer_mode+set}" = set; then
3774
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3775
else
3776
  USE_MAINTAINER_MODE=no
3777
fi
3778
 
3779
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3780
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3781
   if test $USE_MAINTAINER_MODE = yes; then
3782
  MAINTAINER_MODE_TRUE=
3783
  MAINTAINER_MODE_FALSE='#'
3784
else
3785
  MAINTAINER_MODE_TRUE='#'
3786
  MAINTAINER_MODE_FALSE=
3787
fi
3788
 
3789
  MAINT=$MAINTAINER_MODE_TRUE
3790
 
3791
 
3792
# By default we simply use the C compiler to build assembly code.
3793
 
3794
test "${CCAS+set}" = set || CCAS=$CC
3795
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3796
 
3797
 
3798
 
3799
 
3800
# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
3801
# at least currently, we never actually build a program, so we never
3802
# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
3803
# fails, because we are probably configuring with a cross compiler
3804
# which can't create executables.  So we include AC_EXEEXT to keep
3805
# automake happy, but we don't execute it, since we don't care about
3806
# the result.
3807
if false; then
3808
 
3809
  dummy_var=1
3810
fi
3811
 
3812
. ${newlib_basedir}/configure.host
3813
 
3814
newlib_cflags="${newlib_cflags} -fno-builtin"
3815
 
3816
NEWLIB_CFLAGS=${newlib_cflags}
3817
 
3818
 
3819
LDFLAGS=${ldflags}
3820
 
3821
 
3822
 if test x${newlib_elix_level} = x0; then
3823
  ELIX_LEVEL_0_TRUE=
3824
  ELIX_LEVEL_0_FALSE='#'
3825
else
3826
  ELIX_LEVEL_0_TRUE='#'
3827
  ELIX_LEVEL_0_FALSE=
3828
fi
3829
 
3830
 if test x${newlib_elix_level} = x1; then
3831
  ELIX_LEVEL_1_TRUE=
3832
  ELIX_LEVEL_1_FALSE='#'
3833
else
3834
  ELIX_LEVEL_1_TRUE='#'
3835
  ELIX_LEVEL_1_FALSE=
3836
fi
3837
 
3838
 if test x${newlib_elix_level} = x2; then
3839
  ELIX_LEVEL_2_TRUE=
3840
  ELIX_LEVEL_2_FALSE='#'
3841
else
3842
  ELIX_LEVEL_2_TRUE='#'
3843
  ELIX_LEVEL_2_FALSE=
3844
fi
3845
 
3846
 if test x${newlib_elix_level} = x3; then
3847
  ELIX_LEVEL_3_TRUE=
3848
  ELIX_LEVEL_3_FALSE='#'
3849
else
3850
  ELIX_LEVEL_3_TRUE='#'
3851
  ELIX_LEVEL_3_FALSE=
3852
fi
3853
 
3854
 if test x${newlib_elix_level} = x4; then
3855
  ELIX_LEVEL_4_TRUE=
3856
  ELIX_LEVEL_4_FALSE='#'
3857
else
3858
  ELIX_LEVEL_4_TRUE='#'
3859
  ELIX_LEVEL_4_FALSE=
3860
fi
3861
 
3862
 
3863
 if test x${use_libtool} = xyes; then
3864
  USE_LIBTOOL_TRUE=
3865
  USE_LIBTOOL_FALSE='#'
3866
else
3867
  USE_LIBTOOL_TRUE='#'
3868
  USE_LIBTOOL_FALSE=
3869
fi
3870
 
3871
 
3872
# Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
3873
# use oext, which is set in configure.host based on the target platform.
3874
OBJEXT=${oext}
3875
 
3876
 
3877
 
3878
 
3879
 
3880
 
3881
 
3882
 
3883
 
3884
 
3885
 
3886
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3887
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3888
if test "${ac_cv_path_SED+set}" = set; then
3889
  $as_echo_n "(cached) " >&6
3890
else
3891
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3892
     for ac_i in 1 2 3 4 5 6 7; do
3893
       ac_script="$ac_script$as_nl$ac_script"
3894
     done
3895
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3896
     $as_unset ac_script || ac_script=
3897
     if test -z "$SED"; then
3898
  ac_path_SED_found=false
3899
  # Loop through the user's path and test for each of PROGNAME-LIST
3900
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901
for as_dir in $PATH
3902
do
3903
  IFS=$as_save_IFS
3904
  test -z "$as_dir" && as_dir=.
3905
  for ac_prog in sed gsed; do
3906
    for ac_exec_ext in '' $ac_executable_extensions; do
3907
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3908
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3909
# Check for GNU ac_path_SED and select it if it is found.
3910
  # Check for GNU $ac_path_SED
3911
case `"$ac_path_SED" --version 2>&1` in
3912
*GNU*)
3913
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3914
*)
3915
  ac_count=0
3916
  $as_echo_n 0123456789 >"conftest.in"
3917
  while :
3918
  do
3919
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3920
    mv "conftest.tmp" "conftest.in"
3921
    cp "conftest.in" "conftest.nl"
3922
    $as_echo '' >> "conftest.nl"
3923
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3924
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3925
    ac_count=`expr $ac_count + 1`
3926
    if test $ac_count -gt ${ac_path_SED_max-0}; then
3927
      # Best one so far, save it but keep looking for a better one
3928
      ac_cv_path_SED="$ac_path_SED"
3929
      ac_path_SED_max=$ac_count
3930
    fi
3931
    # 10*(2^10) chars as input seems more than enough
3932
    test $ac_count -gt 10 && break
3933
  done
3934
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3935
esac
3936
 
3937
      $ac_path_SED_found && break 3
3938
    done
3939
  done
3940
done
3941
IFS=$as_save_IFS
3942
  if test -z "$ac_cv_path_SED"; then
3943
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3944
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3945
   { (exit 1); exit 1; }; }
3946
  fi
3947
else
3948
  ac_cv_path_SED=$SED
3949
fi
3950
 
3951
fi
3952
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3953
$as_echo "$ac_cv_path_SED" >&6; }
3954
 SED="$ac_cv_path_SED"
3955
  rm -f conftest.sed
3956
 
3957
test -z "$SED" && SED=sed
3958
Xsed="$SED -e 1s/^X//"
3959
 
3960
 
3961
 
3962
 
3963
 
3964
 
3965
 
3966
 
3967
 
3968
 
3969
 
3970
if test "${use_libtool}" = "yes"; then
3971
enable_win32_dll=yes
3972
 
3973
case $host in
3974
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3975
  if test -n "$ac_tool_prefix"; then
3976
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3977
set dummy ${ac_tool_prefix}as; ac_word=$2
3978
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3979
$as_echo_n "checking for $ac_word... " >&6; }
3980
if test "${ac_cv_prog_AS+set}" = set; then
3981
  $as_echo_n "(cached) " >&6
3982
else
3983
  if test -n "$AS"; then
3984
  ac_cv_prog_AS="$AS" # Let the user override the test.
3985
else
3986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987
for as_dir in $PATH
3988
do
3989
  IFS=$as_save_IFS
3990
  test -z "$as_dir" && as_dir=.
3991
  for ac_exec_ext in '' $ac_executable_extensions; do
3992
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3993
    ac_cv_prog_AS="${ac_tool_prefix}as"
3994
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3995
    break 2
3996
  fi
3997
done
3998
done
3999
IFS=$as_save_IFS
4000
 
4001
fi
4002
fi
4003
AS=$ac_cv_prog_AS
4004
if test -n "$AS"; then
4005
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
4006
$as_echo "$AS" >&6; }
4007
else
4008
  { $as_echo "$as_me:$LINENO: result: no" >&5
4009
$as_echo "no" >&6; }
4010
fi
4011
 
4012
 
4013
fi
4014
if test -z "$ac_cv_prog_AS"; then
4015
  ac_ct_AS=$AS
4016
  # Extract the first word of "as", so it can be a program name with args.
4017
set dummy as; ac_word=$2
4018
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4019
$as_echo_n "checking for $ac_word... " >&6; }
4020
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4021
  $as_echo_n "(cached) " >&6
4022
else
4023
  if test -n "$ac_ct_AS"; then
4024
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4025
else
4026
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4027
for as_dir in $PATH
4028
do
4029
  IFS=$as_save_IFS
4030
  test -z "$as_dir" && as_dir=.
4031
  for ac_exec_ext in '' $ac_executable_extensions; do
4032
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4033
    ac_cv_prog_ac_ct_AS="as"
4034
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4035
    break 2
4036
  fi
4037
done
4038
done
4039
IFS=$as_save_IFS
4040
 
4041
fi
4042
fi
4043
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4044
if test -n "$ac_ct_AS"; then
4045
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4046
$as_echo "$ac_ct_AS" >&6; }
4047
else
4048
  { $as_echo "$as_me:$LINENO: result: no" >&5
4049
$as_echo "no" >&6; }
4050
fi
4051
 
4052
  if test "x$ac_ct_AS" = x; then
4053
    AS="false"
4054
  else
4055
    case $cross_compiling:$ac_tool_warned in
4056
yes:)
4057
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4058
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4059
ac_tool_warned=yes ;;
4060
esac
4061
    AS=$ac_ct_AS
4062
  fi
4063
else
4064
  AS="$ac_cv_prog_AS"
4065
fi
4066
 
4067
  if test -n "$ac_tool_prefix"; then
4068
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4069
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4070
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4071
$as_echo_n "checking for $ac_word... " >&6; }
4072
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4073
  $as_echo_n "(cached) " >&6
4074
else
4075
  if test -n "$DLLTOOL"; then
4076
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4077
else
4078
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079
for as_dir in $PATH
4080
do
4081
  IFS=$as_save_IFS
4082
  test -z "$as_dir" && as_dir=.
4083
  for ac_exec_ext in '' $ac_executable_extensions; do
4084
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4085
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4086
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4087
    break 2
4088
  fi
4089
done
4090
done
4091
IFS=$as_save_IFS
4092
 
4093
fi
4094
fi
4095
DLLTOOL=$ac_cv_prog_DLLTOOL
4096
if test -n "$DLLTOOL"; then
4097
  { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4098
$as_echo "$DLLTOOL" >&6; }
4099
else
4100
  { $as_echo "$as_me:$LINENO: result: no" >&5
4101
$as_echo "no" >&6; }
4102
fi
4103
 
4104
 
4105
fi
4106
if test -z "$ac_cv_prog_DLLTOOL"; then
4107
  ac_ct_DLLTOOL=$DLLTOOL
4108
  # Extract the first word of "dlltool", so it can be a program name with args.
4109
set dummy dlltool; ac_word=$2
4110
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4111
$as_echo_n "checking for $ac_word... " >&6; }
4112
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4113
  $as_echo_n "(cached) " >&6
4114
else
4115
  if test -n "$ac_ct_DLLTOOL"; then
4116
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4117
else
4118
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4119
for as_dir in $PATH
4120
do
4121
  IFS=$as_save_IFS
4122
  test -z "$as_dir" && as_dir=.
4123
  for ac_exec_ext in '' $ac_executable_extensions; do
4124
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4125
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4126
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4127
    break 2
4128
  fi
4129
done
4130
done
4131
IFS=$as_save_IFS
4132
 
4133
fi
4134
fi
4135
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4136
if test -n "$ac_ct_DLLTOOL"; then
4137
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4138
$as_echo "$ac_ct_DLLTOOL" >&6; }
4139
else
4140
  { $as_echo "$as_me:$LINENO: result: no" >&5
4141
$as_echo "no" >&6; }
4142
fi
4143
 
4144
  if test "x$ac_ct_DLLTOOL" = x; then
4145
    DLLTOOL="false"
4146
  else
4147
    case $cross_compiling:$ac_tool_warned in
4148
yes:)
4149
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4150
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4151
ac_tool_warned=yes ;;
4152
esac
4153
    DLLTOOL=$ac_ct_DLLTOOL
4154
  fi
4155
else
4156
  DLLTOOL="$ac_cv_prog_DLLTOOL"
4157
fi
4158
 
4159
  if test -n "$ac_tool_prefix"; then
4160
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4161
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4162
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4163
$as_echo_n "checking for $ac_word... " >&6; }
4164
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4165
  $as_echo_n "(cached) " >&6
4166
else
4167
  if test -n "$OBJDUMP"; then
4168
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4169
else
4170
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171
for as_dir in $PATH
4172
do
4173
  IFS=$as_save_IFS
4174
  test -z "$as_dir" && as_dir=.
4175
  for ac_exec_ext in '' $ac_executable_extensions; do
4176
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4177
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4178
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4179
    break 2
4180
  fi
4181
done
4182
done
4183
IFS=$as_save_IFS
4184
 
4185
fi
4186
fi
4187
OBJDUMP=$ac_cv_prog_OBJDUMP
4188
if test -n "$OBJDUMP"; then
4189
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4190
$as_echo "$OBJDUMP" >&6; }
4191
else
4192
  { $as_echo "$as_me:$LINENO: result: no" >&5
4193
$as_echo "no" >&6; }
4194
fi
4195
 
4196
 
4197
fi
4198
if test -z "$ac_cv_prog_OBJDUMP"; then
4199
  ac_ct_OBJDUMP=$OBJDUMP
4200
  # Extract the first word of "objdump", so it can be a program name with args.
4201
set dummy objdump; ac_word=$2
4202
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4203
$as_echo_n "checking for $ac_word... " >&6; }
4204
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4205
  $as_echo_n "(cached) " >&6
4206
else
4207
  if test -n "$ac_ct_OBJDUMP"; then
4208
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4209
else
4210
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4211
for as_dir in $PATH
4212
do
4213
  IFS=$as_save_IFS
4214
  test -z "$as_dir" && as_dir=.
4215
  for ac_exec_ext in '' $ac_executable_extensions; do
4216
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4217
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4218
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4219
    break 2
4220
  fi
4221
done
4222
done
4223
IFS=$as_save_IFS
4224
 
4225
fi
4226
fi
4227
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4228
if test -n "$ac_ct_OBJDUMP"; then
4229
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4230
$as_echo "$ac_ct_OBJDUMP" >&6; }
4231
else
4232
  { $as_echo "$as_me:$LINENO: result: no" >&5
4233
$as_echo "no" >&6; }
4234
fi
4235
 
4236
  if test "x$ac_ct_OBJDUMP" = x; then
4237
    OBJDUMP="false"
4238
  else
4239
    case $cross_compiling:$ac_tool_warned in
4240
yes:)
4241
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4242
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4243
ac_tool_warned=yes ;;
4244
esac
4245
    OBJDUMP=$ac_ct_OBJDUMP
4246
  fi
4247
else
4248
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4249
fi
4250
 
4251
  ;;
4252
esac
4253
 
4254
test -z "$AS" && AS=as
4255
 
4256
 
4257
 
4258
 
4259
 
4260
test -z "$DLLTOOL" && DLLTOOL=dlltool
4261
 
4262
 
4263
 
4264
 
4265
 
4266
test -z "$OBJDUMP" && OBJDUMP=objdump
4267
 
4268
 
4269
 
4270
 
4271
 
4272
 
4273
 
4274
case `pwd` in
4275
  *\ * | *\     *)
4276
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4277
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4278
esac
4279
 
4280
 
4281
 
4282
macro_version='2.2.6'
4283
macro_revision='1.3012'
4284
 
4285
 
4286
 
4287
 
4288
 
4289
 
4290
 
4291
 
4292
 
4293
 
4294
 
4295
 
4296
 
4297
ltmain="$ac_aux_dir/ltmain.sh"
4298
 
4299
ac_ext=c
4300
ac_cpp='$CPP $CPPFLAGS'
4301
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4302
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4303
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4304
if test -n "$ac_tool_prefix"; then
4305
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4306
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4307
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4308
$as_echo_n "checking for $ac_word... " >&6; }
4309
if test "${ac_cv_prog_CC+set}" = set; then
4310
  $as_echo_n "(cached) " >&6
4311
else
4312
  if test -n "$CC"; then
4313
  ac_cv_prog_CC="$CC" # Let the user override the test.
4314
else
4315
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316
for as_dir in $PATH
4317
do
4318
  IFS=$as_save_IFS
4319
  test -z "$as_dir" && as_dir=.
4320
  for ac_exec_ext in '' $ac_executable_extensions; do
4321
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4322
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4323
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4324
    break 2
4325
  fi
4326
done
4327
done
4328
IFS=$as_save_IFS
4329
 
4330
fi
4331
fi
4332
CC=$ac_cv_prog_CC
4333
if test -n "$CC"; then
4334
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4335
$as_echo "$CC" >&6; }
4336
else
4337
  { $as_echo "$as_me:$LINENO: result: no" >&5
4338
$as_echo "no" >&6; }
4339
fi
4340
 
4341
 
4342
fi
4343
if test -z "$ac_cv_prog_CC"; then
4344
  ac_ct_CC=$CC
4345
  # Extract the first word of "gcc", so it can be a program name with args.
4346
set dummy gcc; ac_word=$2
4347
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4348
$as_echo_n "checking for $ac_word... " >&6; }
4349
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4350
  $as_echo_n "(cached) " >&6
4351
else
4352
  if test -n "$ac_ct_CC"; then
4353
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4354
else
4355
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356
for as_dir in $PATH
4357
do
4358
  IFS=$as_save_IFS
4359
  test -z "$as_dir" && as_dir=.
4360
  for ac_exec_ext in '' $ac_executable_extensions; do
4361
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4362
    ac_cv_prog_ac_ct_CC="gcc"
4363
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4364
    break 2
4365
  fi
4366
done
4367
done
4368
IFS=$as_save_IFS
4369
 
4370
fi
4371
fi
4372
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4373
if test -n "$ac_ct_CC"; then
4374
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4375
$as_echo "$ac_ct_CC" >&6; }
4376
else
4377
  { $as_echo "$as_me:$LINENO: result: no" >&5
4378
$as_echo "no" >&6; }
4379
fi
4380
 
4381
  if test "x$ac_ct_CC" = x; then
4382
    CC=""
4383
  else
4384
    case $cross_compiling:$ac_tool_warned in
4385
yes:)
4386
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4387
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4388
ac_tool_warned=yes ;;
4389
esac
4390
    CC=$ac_ct_CC
4391
  fi
4392
else
4393
  CC="$ac_cv_prog_CC"
4394
fi
4395
 
4396
if test -z "$CC"; then
4397
          if test -n "$ac_tool_prefix"; then
4398
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4399
set dummy ${ac_tool_prefix}cc; ac_word=$2
4400
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4401
$as_echo_n "checking for $ac_word... " >&6; }
4402
if test "${ac_cv_prog_CC+set}" = set; then
4403
  $as_echo_n "(cached) " >&6
4404
else
4405
  if test -n "$CC"; then
4406
  ac_cv_prog_CC="$CC" # Let the user override the test.
4407
else
4408
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409
for as_dir in $PATH
4410
do
4411
  IFS=$as_save_IFS
4412
  test -z "$as_dir" && as_dir=.
4413
  for ac_exec_ext in '' $ac_executable_extensions; do
4414
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4415
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4416
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4417
    break 2
4418
  fi
4419
done
4420
done
4421
IFS=$as_save_IFS
4422
 
4423
fi
4424
fi
4425
CC=$ac_cv_prog_CC
4426
if test -n "$CC"; then
4427
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4428
$as_echo "$CC" >&6; }
4429
else
4430
  { $as_echo "$as_me:$LINENO: result: no" >&5
4431
$as_echo "no" >&6; }
4432
fi
4433
 
4434
 
4435
  fi
4436
fi
4437
if test -z "$CC"; then
4438
  # Extract the first word of "cc", so it can be a program name with args.
4439
set dummy cc; ac_word=$2
4440
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4441
$as_echo_n "checking for $ac_word... " >&6; }
4442
if test "${ac_cv_prog_CC+set}" = set; then
4443
  $as_echo_n "(cached) " >&6
4444
else
4445
  if test -n "$CC"; then
4446
  ac_cv_prog_CC="$CC" # Let the user override the test.
4447
else
4448
  ac_prog_rejected=no
4449
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450
for as_dir in $PATH
4451
do
4452
  IFS=$as_save_IFS
4453
  test -z "$as_dir" && as_dir=.
4454
  for ac_exec_ext in '' $ac_executable_extensions; do
4455
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4456
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4457
       ac_prog_rejected=yes
4458
       continue
4459
     fi
4460
    ac_cv_prog_CC="cc"
4461
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4462
    break 2
4463
  fi
4464
done
4465
done
4466
IFS=$as_save_IFS
4467
 
4468
if test $ac_prog_rejected = yes; then
4469
  # We found a bogon in the path, so make sure we never use it.
4470
  set dummy $ac_cv_prog_CC
4471
  shift
4472
  if test $# != 0; then
4473
    # We chose a different compiler from the bogus one.
4474
    # However, it has the same basename, so the bogon will be chosen
4475
    # first if we set CC to just the basename; use the full file name.
4476
    shift
4477
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4478
  fi
4479
fi
4480
fi
4481
fi
4482
CC=$ac_cv_prog_CC
4483
if test -n "$CC"; then
4484
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4485
$as_echo "$CC" >&6; }
4486
else
4487
  { $as_echo "$as_me:$LINENO: result: no" >&5
4488
$as_echo "no" >&6; }
4489
fi
4490
 
4491
 
4492
fi
4493
if test -z "$CC"; then
4494
  if test -n "$ac_tool_prefix"; then
4495
  for ac_prog in cl.exe
4496
  do
4497
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4498
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4499
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4500
$as_echo_n "checking for $ac_word... " >&6; }
4501
if test "${ac_cv_prog_CC+set}" = set; then
4502
  $as_echo_n "(cached) " >&6
4503
else
4504
  if test -n "$CC"; then
4505
  ac_cv_prog_CC="$CC" # Let the user override the test.
4506
else
4507
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508
for as_dir in $PATH
4509
do
4510
  IFS=$as_save_IFS
4511
  test -z "$as_dir" && as_dir=.
4512
  for ac_exec_ext in '' $ac_executable_extensions; do
4513
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4514
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4515
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4516
    break 2
4517
  fi
4518
done
4519
done
4520
IFS=$as_save_IFS
4521
 
4522
fi
4523
fi
4524
CC=$ac_cv_prog_CC
4525
if test -n "$CC"; then
4526
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4527
$as_echo "$CC" >&6; }
4528
else
4529
  { $as_echo "$as_me:$LINENO: result: no" >&5
4530
$as_echo "no" >&6; }
4531
fi
4532
 
4533
 
4534
    test -n "$CC" && break
4535
  done
4536
fi
4537
if test -z "$CC"; then
4538
  ac_ct_CC=$CC
4539
  for ac_prog in cl.exe
4540
do
4541
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4542
set dummy $ac_prog; ac_word=$2
4543
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4544
$as_echo_n "checking for $ac_word... " >&6; }
4545
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4546
  $as_echo_n "(cached) " >&6
4547
else
4548
  if test -n "$ac_ct_CC"; then
4549
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4550
else
4551
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552
for as_dir in $PATH
4553
do
4554
  IFS=$as_save_IFS
4555
  test -z "$as_dir" && as_dir=.
4556
  for ac_exec_ext in '' $ac_executable_extensions; do
4557
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4558
    ac_cv_prog_ac_ct_CC="$ac_prog"
4559
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4560
    break 2
4561
  fi
4562
done
4563
done
4564
IFS=$as_save_IFS
4565
 
4566
fi
4567
fi
4568
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4569
if test -n "$ac_ct_CC"; then
4570
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4571
$as_echo "$ac_ct_CC" >&6; }
4572
else
4573
  { $as_echo "$as_me:$LINENO: result: no" >&5
4574
$as_echo "no" >&6; }
4575
fi
4576
 
4577
 
4578
  test -n "$ac_ct_CC" && break
4579
done
4580
 
4581
  if test "x$ac_ct_CC" = x; then
4582
    CC=""
4583
  else
4584
    case $cross_compiling:$ac_tool_warned in
4585
yes:)
4586
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4587
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4588
ac_tool_warned=yes ;;
4589
esac
4590
    CC=$ac_ct_CC
4591
  fi
4592
fi
4593
 
4594
fi
4595
 
4596
 
4597
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4598
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4599
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4600
See \`config.log' for more details." >&5
4601
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4602
See \`config.log' for more details." >&2;}
4603
   { (exit 1); exit 1; }; }; }
4604
 
4605
# Provide some information about the compiler.
4606
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4607
set X $ac_compile
4608
ac_compiler=$2
4609
{ (ac_try="$ac_compiler --version >&5"
4610
case "(($ac_try" in
4611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4612
  *) ac_try_echo=$ac_try;;
4613
esac
4614
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4615
$as_echo "$ac_try_echo") >&5
4616
  (eval "$ac_compiler --version >&5") 2>&5
4617
  ac_status=$?
4618
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619
  (exit $ac_status); }
4620
{ (ac_try="$ac_compiler -v >&5"
4621
case "(($ac_try" in
4622
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4623
  *) ac_try_echo=$ac_try;;
4624
esac
4625
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4626
$as_echo "$ac_try_echo") >&5
4627
  (eval "$ac_compiler -v >&5") 2>&5
4628
  ac_status=$?
4629
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630
  (exit $ac_status); }
4631
{ (ac_try="$ac_compiler -V >&5"
4632
case "(($ac_try" in
4633
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634
  *) ac_try_echo=$ac_try;;
4635
esac
4636
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4637
$as_echo "$ac_try_echo") >&5
4638
  (eval "$ac_compiler -V >&5") 2>&5
4639
  ac_status=$?
4640
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641
  (exit $ac_status); }
4642
 
4643
cat >conftest.$ac_ext <<_ACEOF
4644
/* confdefs.h.  */
4645
_ACEOF
4646
cat confdefs.h >>conftest.$ac_ext
4647
cat >>conftest.$ac_ext <<_ACEOF
4648
/* end confdefs.h.  */
4649
 
4650
int
4651
main ()
4652
{
4653
 
4654
  ;
4655
  return 0;
4656
}
4657
_ACEOF
4658
ac_clean_files_save=$ac_clean_files
4659
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4660
# Try to create an executable without -o first, disregard a.out.
4661
# It will help us diagnose broken compilers, and finding out an intuition
4662
# of exeext.
4663
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4664
$as_echo_n "checking for C compiler default output file name... " >&6; }
4665
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4666
 
4667
# The possible output files:
4668
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4669
 
4670
ac_rmfiles=
4671
for ac_file in $ac_files
4672
do
4673
  case $ac_file in
4674
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4675
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4676
  esac
4677
done
4678
rm -f $ac_rmfiles
4679
 
4680
if { (ac_try="$ac_link_default"
4681
case "(($ac_try" in
4682
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4683
  *) ac_try_echo=$ac_try;;
4684
esac
4685
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4686
$as_echo "$ac_try_echo") >&5
4687
  (eval "$ac_link_default") 2>&5
4688
  ac_status=$?
4689
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690
  (exit $ac_status); }; then
4691
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4692
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4693
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4694
# so that the user can short-circuit this test for compilers unknown to
4695
# Autoconf.
4696
for ac_file in $ac_files ''
4697
do
4698
  test -f "$ac_file" || continue
4699
  case $ac_file in
4700
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4701
        ;;
4702
    [ab].out )
4703
        # We found the default executable, but exeext='' is most
4704
        # certainly right.
4705
        break;;
4706
    *.* )
4707
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4708
        then :; else
4709
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4710
        fi
4711
        # We set ac_cv_exeext here because the later test for it is not
4712
        # safe: cross compilers may not add the suffix if given an `-o'
4713
        # argument, so we may need to know it at that point already.
4714
        # Even if this section looks crufty: it has the advantage of
4715
        # actually working.
4716
        break;;
4717
    * )
4718
        break;;
4719
  esac
4720
done
4721
test "$ac_cv_exeext" = no && ac_cv_exeext=
4722
 
4723
else
4724
  ac_file=''
4725
fi
4726
 
4727
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
4728
$as_echo "$ac_file" >&6; }
4729
if test -z "$ac_file"; then
4730
  $as_echo "$as_me: failed program was:" >&5
4731
sed 's/^/| /' conftest.$ac_ext >&5
4732
 
4733
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4734
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4735
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
4736
See \`config.log' for more details." >&5
4737
$as_echo "$as_me: error: C compiler cannot create executables
4738
See \`config.log' for more details." >&2;}
4739
   { (exit 77); exit 77; }; }; }
4740
fi
4741
 
4742
ac_exeext=$ac_cv_exeext
4743
 
4744
# Check that the compiler produces executables we can run.  If not, either
4745
# the compiler is broken, or we cross compile.
4746
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4747
$as_echo_n "checking whether the C compiler works... " >&6; }
4748
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4749
# If not cross compiling, check that we can run a simple program.
4750
if test "$cross_compiling" != yes; then
4751
  if { ac_try='./$ac_file'
4752
  { (case "(($ac_try" in
4753
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4754
  *) ac_try_echo=$ac_try;;
4755
esac
4756
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4757
$as_echo "$ac_try_echo") >&5
4758
  (eval "$ac_try") 2>&5
4759
  ac_status=$?
4760
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761
  (exit $ac_status); }; }; then
4762
    cross_compiling=no
4763
  else
4764
    if test "$cross_compiling" = maybe; then
4765
        cross_compiling=yes
4766
    else
4767
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4768
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4769
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
4770
If you meant to cross compile, use \`--host'.
4771
See \`config.log' for more details." >&5
4772
$as_echo "$as_me: error: cannot run C compiled programs.
4773
If you meant to cross compile, use \`--host'.
4774
See \`config.log' for more details." >&2;}
4775
   { (exit 1); exit 1; }; }; }
4776
    fi
4777
  fi
4778
fi
4779
{ $as_echo "$as_me:$LINENO: result: yes" >&5
4780
$as_echo "yes" >&6; }
4781
 
4782
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4783
ac_clean_files=$ac_clean_files_save
4784
# Check that the compiler produces executables we can run.  If not, either
4785
# the compiler is broken, or we cross compile.
4786
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4787
$as_echo_n "checking whether we are cross compiling... " >&6; }
4788
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
4789
$as_echo "$cross_compiling" >&6; }
4790
 
4791
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
4792
$as_echo_n "checking for suffix of executables... " >&6; }
4793
if { (ac_try="$ac_link"
4794
case "(($ac_try" in
4795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4796
  *) ac_try_echo=$ac_try;;
4797
esac
4798
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4799
$as_echo "$ac_try_echo") >&5
4800
  (eval "$ac_link") 2>&5
4801
  ac_status=$?
4802
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803
  (exit $ac_status); }; then
4804
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4805
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4806
# work properly (i.e., refer to `conftest.exe'), while it won't with
4807
# `rm'.
4808
for ac_file in conftest.exe conftest conftest.*; do
4809
  test -f "$ac_file" || continue
4810
  case $ac_file in
4811
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4812
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4813
          break;;
4814
    * ) break;;
4815
  esac
4816
done
4817
else
4818
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4819
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4820
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4821
See \`config.log' for more details." >&5
4822
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4823
See \`config.log' for more details." >&2;}
4824
   { (exit 1); exit 1; }; }; }
4825
fi
4826
 
4827
rm -f conftest$ac_cv_exeext
4828
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4829
$as_echo "$ac_cv_exeext" >&6; }
4830
 
4831
rm -f conftest.$ac_ext
4832
EXEEXT=$ac_cv_exeext
4833
ac_exeext=$EXEEXT
4834
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
4835
$as_echo_n "checking for suffix of object files... " >&6; }
4836
if test "${ac_cv_objext+set}" = set; then
4837
  $as_echo_n "(cached) " >&6
4838
else
4839
  cat >conftest.$ac_ext <<_ACEOF
4840
/* confdefs.h.  */
4841
_ACEOF
4842
cat confdefs.h >>conftest.$ac_ext
4843
cat >>conftest.$ac_ext <<_ACEOF
4844
/* end confdefs.h.  */
4845
 
4846
int
4847
main ()
4848
{
4849
 
4850
  ;
4851
  return 0;
4852
}
4853
_ACEOF
4854
rm -f conftest.o conftest.obj
4855
if { (ac_try="$ac_compile"
4856
case "(($ac_try" in
4857
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858
  *) ac_try_echo=$ac_try;;
4859
esac
4860
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4861
$as_echo "$ac_try_echo") >&5
4862
  (eval "$ac_compile") 2>&5
4863
  ac_status=$?
4864
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865
  (exit $ac_status); }; then
4866
  for ac_file in conftest.o conftest.obj conftest.*; do
4867
  test -f "$ac_file" || continue;
4868
  case $ac_file in
4869
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4870
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4871
       break;;
4872
  esac
4873
done
4874
else
4875
  $as_echo "$as_me: failed program was:" >&5
4876
sed 's/^/| /' conftest.$ac_ext >&5
4877
 
4878
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4879
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4880
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4881
See \`config.log' for more details." >&5
4882
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
4883
See \`config.log' for more details." >&2;}
4884
   { (exit 1); exit 1; }; }; }
4885
fi
4886
 
4887
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4888
fi
4889
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4890
$as_echo "$ac_cv_objext" >&6; }
4891
OBJEXT=$ac_cv_objext
4892
ac_objext=$OBJEXT
4893
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4894
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4895
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4896
  $as_echo_n "(cached) " >&6
4897
else
4898
  cat >conftest.$ac_ext <<_ACEOF
4899
/* confdefs.h.  */
4900
_ACEOF
4901
cat confdefs.h >>conftest.$ac_ext
4902
cat >>conftest.$ac_ext <<_ACEOF
4903
/* end confdefs.h.  */
4904
 
4905
int
4906
main ()
4907
{
4908
#ifndef __GNUC__
4909
       choke me
4910
#endif
4911
 
4912
  ;
4913
  return 0;
4914
}
4915
_ACEOF
4916
rm -f conftest.$ac_objext
4917
if { (ac_try="$ac_compile"
4918
case "(($ac_try" in
4919
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4920
  *) ac_try_echo=$ac_try;;
4921
esac
4922
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4923
$as_echo "$ac_try_echo") >&5
4924
  (eval "$ac_compile") 2>conftest.er1
4925
  ac_status=$?
4926
  grep -v '^ *+' conftest.er1 >conftest.err
4927
  rm -f conftest.er1
4928
  cat conftest.err >&5
4929
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930
  (exit $ac_status); } && {
4931
         test -z "$ac_c_werror_flag" ||
4932
         test ! -s conftest.err
4933
       } && test -s conftest.$ac_objext; then
4934
  ac_compiler_gnu=yes
4935
else
4936
  $as_echo "$as_me: failed program was:" >&5
4937
sed 's/^/| /' conftest.$ac_ext >&5
4938
 
4939
        ac_compiler_gnu=no
4940
fi
4941
 
4942
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4943
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4944
 
4945
fi
4946
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4947
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4948
if test $ac_compiler_gnu = yes; then
4949
  GCC=yes
4950
else
4951
  GCC=
4952
fi
4953
ac_test_CFLAGS=${CFLAGS+set}
4954
ac_save_CFLAGS=$CFLAGS
4955
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4956
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4957
if test "${ac_cv_prog_cc_g+set}" = set; then
4958
  $as_echo_n "(cached) " >&6
4959
else
4960
  ac_save_c_werror_flag=$ac_c_werror_flag
4961
   ac_c_werror_flag=yes
4962
   ac_cv_prog_cc_g=no
4963
   CFLAGS="-g"
4964
   cat >conftest.$ac_ext <<_ACEOF
4965
/* confdefs.h.  */
4966
_ACEOF
4967
cat confdefs.h >>conftest.$ac_ext
4968
cat >>conftest.$ac_ext <<_ACEOF
4969
/* end confdefs.h.  */
4970
 
4971
int
4972
main ()
4973
{
4974
 
4975
  ;
4976
  return 0;
4977
}
4978
_ACEOF
4979
rm -f conftest.$ac_objext
4980
if { (ac_try="$ac_compile"
4981
case "(($ac_try" in
4982
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4983
  *) ac_try_echo=$ac_try;;
4984
esac
4985
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4986
$as_echo "$ac_try_echo") >&5
4987
  (eval "$ac_compile") 2>conftest.er1
4988
  ac_status=$?
4989
  grep -v '^ *+' conftest.er1 >conftest.err
4990
  rm -f conftest.er1
4991
  cat conftest.err >&5
4992
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993
  (exit $ac_status); } && {
4994
         test -z "$ac_c_werror_flag" ||
4995
         test ! -s conftest.err
4996
       } && test -s conftest.$ac_objext; then
4997
  ac_cv_prog_cc_g=yes
4998
else
4999
  $as_echo "$as_me: failed program was:" >&5
5000
sed 's/^/| /' conftest.$ac_ext >&5
5001
 
5002
        CFLAGS=""
5003
      cat >conftest.$ac_ext <<_ACEOF
5004
/* confdefs.h.  */
5005
_ACEOF
5006
cat confdefs.h >>conftest.$ac_ext
5007
cat >>conftest.$ac_ext <<_ACEOF
5008
/* end confdefs.h.  */
5009
 
5010
int
5011
main ()
5012
{
5013
 
5014
  ;
5015
  return 0;
5016
}
5017
_ACEOF
5018
rm -f conftest.$ac_objext
5019
if { (ac_try="$ac_compile"
5020
case "(($ac_try" in
5021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5022
  *) ac_try_echo=$ac_try;;
5023
esac
5024
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5025
$as_echo "$ac_try_echo") >&5
5026
  (eval "$ac_compile") 2>conftest.er1
5027
  ac_status=$?
5028
  grep -v '^ *+' conftest.er1 >conftest.err
5029
  rm -f conftest.er1
5030
  cat conftest.err >&5
5031
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032
  (exit $ac_status); } && {
5033
         test -z "$ac_c_werror_flag" ||
5034
         test ! -s conftest.err
5035
       } && test -s conftest.$ac_objext; then
5036
  :
5037
else
5038
  $as_echo "$as_me: failed program was:" >&5
5039
sed 's/^/| /' conftest.$ac_ext >&5
5040
 
5041
        ac_c_werror_flag=$ac_save_c_werror_flag
5042
         CFLAGS="-g"
5043
         cat >conftest.$ac_ext <<_ACEOF
5044
/* confdefs.h.  */
5045
_ACEOF
5046
cat confdefs.h >>conftest.$ac_ext
5047
cat >>conftest.$ac_ext <<_ACEOF
5048
/* end confdefs.h.  */
5049
 
5050
int
5051
main ()
5052
{
5053
 
5054
  ;
5055
  return 0;
5056
}
5057
_ACEOF
5058
rm -f conftest.$ac_objext
5059
if { (ac_try="$ac_compile"
5060
case "(($ac_try" in
5061
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5062
  *) ac_try_echo=$ac_try;;
5063
esac
5064
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5065
$as_echo "$ac_try_echo") >&5
5066
  (eval "$ac_compile") 2>conftest.er1
5067
  ac_status=$?
5068
  grep -v '^ *+' conftest.er1 >conftest.err
5069
  rm -f conftest.er1
5070
  cat conftest.err >&5
5071
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072
  (exit $ac_status); } && {
5073
         test -z "$ac_c_werror_flag" ||
5074
         test ! -s conftest.err
5075
       } && test -s conftest.$ac_objext; then
5076
  ac_cv_prog_cc_g=yes
5077
else
5078
  $as_echo "$as_me: failed program was:" >&5
5079
sed 's/^/| /' conftest.$ac_ext >&5
5080
 
5081
 
5082
fi
5083
 
5084
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5085
fi
5086
 
5087
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088
fi
5089
 
5090
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091
   ac_c_werror_flag=$ac_save_c_werror_flag
5092
fi
5093
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5094
$as_echo "$ac_cv_prog_cc_g" >&6; }
5095
if test "$ac_test_CFLAGS" = set; then
5096
  CFLAGS=$ac_save_CFLAGS
5097
elif test $ac_cv_prog_cc_g = yes; then
5098
  if test "$GCC" = yes; then
5099
    CFLAGS="-g -O2"
5100
  else
5101
    CFLAGS="-g"
5102
  fi
5103
else
5104
  if test "$GCC" = yes; then
5105
    CFLAGS="-O2"
5106
  else
5107
    CFLAGS=
5108
  fi
5109
fi
5110
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5111
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5112
if test "${ac_cv_prog_cc_c89+set}" = set; then
5113
  $as_echo_n "(cached) " >&6
5114
else
5115
  ac_cv_prog_cc_c89=no
5116
ac_save_CC=$CC
5117
cat >conftest.$ac_ext <<_ACEOF
5118
/* confdefs.h.  */
5119
_ACEOF
5120
cat confdefs.h >>conftest.$ac_ext
5121
cat >>conftest.$ac_ext <<_ACEOF
5122
/* end confdefs.h.  */
5123
#include 
5124
#include 
5125
#include 
5126
#include 
5127
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5128
struct buf { int x; };
5129
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5130
static char *e (p, i)
5131
     char **p;
5132
     int i;
5133
{
5134
  return p[i];
5135
}
5136
static char *f (char * (*g) (char **, int), char **p, ...)
5137
{
5138
  char *s;
5139
  va_list v;
5140
  va_start (v,p);
5141
  s = g (p, va_arg (v,int));
5142
  va_end (v);
5143
  return s;
5144
}
5145
 
5146
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5147
   function prototypes and stuff, but not '\xHH' hex character constants.
5148
   These don't provoke an error unfortunately, instead are silently treated
5149
   as 'x'.  The following induces an error, until -std is added to get
5150
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5151
   array size at least.  It's necessary to write '\x00'==0 to get something
5152
   that's true only with -std.  */
5153
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5154
 
5155
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5156
   inside strings and character constants.  */
5157
#define FOO(x) 'x'
5158
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5159
 
5160
int test (int i, double x);
5161
struct s1 {int (*f) (int a);};
5162
struct s2 {int (*f) (double a);};
5163
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5164
int argc;
5165
char **argv;
5166
int
5167
main ()
5168
{
5169
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5170
  ;
5171
  return 0;
5172
}
5173
_ACEOF
5174
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5175
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5176
do
5177
  CC="$ac_save_CC $ac_arg"
5178
  rm -f conftest.$ac_objext
5179
if { (ac_try="$ac_compile"
5180
case "(($ac_try" in
5181
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5182
  *) ac_try_echo=$ac_try;;
5183
esac
5184
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5185
$as_echo "$ac_try_echo") >&5
5186
  (eval "$ac_compile") 2>conftest.er1
5187
  ac_status=$?
5188
  grep -v '^ *+' conftest.er1 >conftest.err
5189
  rm -f conftest.er1
5190
  cat conftest.err >&5
5191
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192
  (exit $ac_status); } && {
5193
         test -z "$ac_c_werror_flag" ||
5194
         test ! -s conftest.err
5195
       } && test -s conftest.$ac_objext; then
5196
  ac_cv_prog_cc_c89=$ac_arg
5197
else
5198
  $as_echo "$as_me: failed program was:" >&5
5199
sed 's/^/| /' conftest.$ac_ext >&5
5200
 
5201
 
5202
fi
5203
 
5204
rm -f core conftest.err conftest.$ac_objext
5205
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5206
done
5207
rm -f conftest.$ac_ext
5208
CC=$ac_save_CC
5209
 
5210
fi
5211
# AC_CACHE_VAL
5212
case "x$ac_cv_prog_cc_c89" in
5213
  x)
5214
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
5215
$as_echo "none needed" >&6; } ;;
5216
  xno)
5217
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5218
$as_echo "unsupported" >&6; } ;;
5219
  *)
5220
    CC="$CC $ac_cv_prog_cc_c89"
5221
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5222
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5223
esac
5224
 
5225
 
5226
ac_ext=c
5227
ac_cpp='$CPP $CPPFLAGS'
5228
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5229
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5230
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5231
 
5232
depcc="$CC"   am_compiler_list=
5233
 
5234
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5235
$as_echo_n "checking dependency style of $depcc... " >&6; }
5236
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5237
  $as_echo_n "(cached) " >&6
5238
else
5239
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5240
  # We make a subdir and do the tests there.  Otherwise we can end up
5241
  # making bogus files that we don't know about and never remove.  For
5242
  # instance it was reported that on HP-UX the gcc test will end up
5243
  # making a dummy file named `D' -- because `-MD' means `put the output
5244
  # in D'.
5245
  mkdir conftest.dir
5246
  # Copy depcomp to subdir because otherwise we won't find it if we're
5247
  # using a relative directory.
5248
  cp "$am_depcomp" conftest.dir
5249
  cd conftest.dir
5250
  # We will build objects and dependencies in a subdirectory because
5251
  # it helps to detect inapplicable dependency modes.  For instance
5252
  # both Tru64's cc and ICC support -MD to output dependencies as a
5253
  # side effect of compilation, but ICC will put the dependencies in
5254
  # the current directory while Tru64 will put them in the object
5255
  # directory.
5256
  mkdir sub
5257
 
5258
  am_cv_CC_dependencies_compiler_type=none
5259
  if test "$am_compiler_list" = ""; then
5260
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5261
  fi
5262
  am__universal=false
5263
  case " $depcc " in #(
5264
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5265
     esac
5266
 
5267
  for depmode in $am_compiler_list; do
5268
    # Setup a source with many dependencies, because some compilers
5269
    # like to wrap large dependency lists on column 80 (with \), and
5270
    # we should not choose a depcomp mode which is confused by this.
5271
    #
5272
    # We need to recreate these files for each test, as the compiler may
5273
    # overwrite some of them when testing with obscure command lines.
5274
    # This happens at least with the AIX C compiler.
5275
    : > sub/conftest.c
5276
    for i in 1 2 3 4 5 6; do
5277
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5278
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5279
      # Solaris 8's {/usr,}/bin/sh.
5280
      touch sub/conftst$i.h
5281
    done
5282
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5283
 
5284
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5285
    # mode.  It turns out that the SunPro C++ compiler does not properly
5286
    # handle `-M -o', and we need to detect this.  Also, some Intel
5287
    # versions had trouble with output in subdirs
5288
    am__obj=sub/conftest.${OBJEXT-o}
5289
    am__minus_obj="-o $am__obj"
5290
    case $depmode in
5291
    gcc)
5292
      # This depmode causes a compiler race in universal mode.
5293
      test "$am__universal" = false || continue
5294
      ;;
5295
    nosideeffect)
5296
      # after this tag, mechanisms are not by side-effect, so they'll
5297
      # only be used when explicitly requested
5298
      if test "x$enable_dependency_tracking" = xyes; then
5299
        continue
5300
      else
5301
        break
5302
      fi
5303
      ;;
5304
    msvisualcpp | msvcmsys)
5305
      # This compiler won't grok `-c -o', but also, the minuso test has
5306
      # not run yet.  These depmodes are late enough in the game, and
5307
      # so weak that their functioning should not be impacted.
5308
      am__obj=conftest.${OBJEXT-o}
5309
      am__minus_obj=
5310
      ;;
5311
    none) break ;;
5312
    esac
5313
    if depmode=$depmode \
5314
       source=sub/conftest.c object=$am__obj \
5315
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5316
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5317
         >/dev/null 2>conftest.err &&
5318
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5319
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5320
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5321
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5322
      # icc doesn't choke on unknown options, it will just issue warnings
5323
      # or remarks (even with -Werror).  So we grep stderr for any message
5324
      # that says an option was ignored or not supported.
5325
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5326
      #   icc: Command line warning: ignoring option '-M'; no argument required
5327
      # The diagnosis changed in icc 8.0:
5328
      #   icc: Command line remark: option '-MP' not supported
5329
      if (grep 'ignoring option' conftest.err ||
5330
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5331
        am_cv_CC_dependencies_compiler_type=$depmode
5332
        break
5333
      fi
5334
    fi
5335
  done
5336
 
5337
  cd ..
5338
  rm -rf conftest.dir
5339
else
5340
  am_cv_CC_dependencies_compiler_type=none
5341
fi
5342
 
5343
fi
5344
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5345
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5346
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5347
 
5348
 if
5349
  test "x$enable_dependency_tracking" != xno \
5350
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5351
  am__fastdepCC_TRUE=
5352
  am__fastdepCC_FALSE='#'
5353
else
5354
  am__fastdepCC_TRUE='#'
5355
  am__fastdepCC_FALSE=
5356
fi
5357
 
5358
 
5359
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5360
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5361
if test "${ac_cv_path_GREP+set}" = set; then
5362
  $as_echo_n "(cached) " >&6
5363
else
5364
  if test -z "$GREP"; then
5365
  ac_path_GREP_found=false
5366
  # Loop through the user's path and test for each of PROGNAME-LIST
5367
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5369
do
5370
  IFS=$as_save_IFS
5371
  test -z "$as_dir" && as_dir=.
5372
  for ac_prog in grep ggrep; do
5373
    for ac_exec_ext in '' $ac_executable_extensions; do
5374
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5375
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5376
# Check for GNU ac_path_GREP and select it if it is found.
5377
  # Check for GNU $ac_path_GREP
5378
case `"$ac_path_GREP" --version 2>&1` in
5379
*GNU*)
5380
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5381
*)
5382
  ac_count=0
5383
  $as_echo_n 0123456789 >"conftest.in"
5384
  while :
5385
  do
5386
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5387
    mv "conftest.tmp" "conftest.in"
5388
    cp "conftest.in" "conftest.nl"
5389
    $as_echo 'GREP' >> "conftest.nl"
5390
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5391
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5392
    ac_count=`expr $ac_count + 1`
5393
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5394
      # Best one so far, save it but keep looking for a better one
5395
      ac_cv_path_GREP="$ac_path_GREP"
5396
      ac_path_GREP_max=$ac_count
5397
    fi
5398
    # 10*(2^10) chars as input seems more than enough
5399
    test $ac_count -gt 10 && break
5400
  done
5401
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5402
esac
5403
 
5404
      $ac_path_GREP_found && break 3
5405
    done
5406
  done
5407
done
5408
IFS=$as_save_IFS
5409
  if test -z "$ac_cv_path_GREP"; then
5410
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5411
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5412
   { (exit 1); exit 1; }; }
5413
  fi
5414
else
5415
  ac_cv_path_GREP=$GREP
5416
fi
5417
 
5418
fi
5419
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5420
$as_echo "$ac_cv_path_GREP" >&6; }
5421
 GREP="$ac_cv_path_GREP"
5422
 
5423
 
5424
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
5425
$as_echo_n "checking for egrep... " >&6; }
5426
if test "${ac_cv_path_EGREP+set}" = set; then
5427
  $as_echo_n "(cached) " >&6
5428
else
5429
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5430
   then ac_cv_path_EGREP="$GREP -E"
5431
   else
5432
     if test -z "$EGREP"; then
5433
  ac_path_EGREP_found=false
5434
  # Loop through the user's path and test for each of PROGNAME-LIST
5435
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5437
do
5438
  IFS=$as_save_IFS
5439
  test -z "$as_dir" && as_dir=.
5440
  for ac_prog in egrep; do
5441
    for ac_exec_ext in '' $ac_executable_extensions; do
5442
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5443
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5444
# Check for GNU ac_path_EGREP and select it if it is found.
5445
  # Check for GNU $ac_path_EGREP
5446
case `"$ac_path_EGREP" --version 2>&1` in
5447
*GNU*)
5448
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5449
*)
5450
  ac_count=0
5451
  $as_echo_n 0123456789 >"conftest.in"
5452
  while :
5453
  do
5454
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5455
    mv "conftest.tmp" "conftest.in"
5456
    cp "conftest.in" "conftest.nl"
5457
    $as_echo 'EGREP' >> "conftest.nl"
5458
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5459
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5460
    ac_count=`expr $ac_count + 1`
5461
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5462
      # Best one so far, save it but keep looking for a better one
5463
      ac_cv_path_EGREP="$ac_path_EGREP"
5464
      ac_path_EGREP_max=$ac_count
5465
    fi
5466
    # 10*(2^10) chars as input seems more than enough
5467
    test $ac_count -gt 10 && break
5468
  done
5469
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5470
esac
5471
 
5472
      $ac_path_EGREP_found && break 3
5473
    done
5474
  done
5475
done
5476
IFS=$as_save_IFS
5477
  if test -z "$ac_cv_path_EGREP"; then
5478
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5479
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5480
   { (exit 1); exit 1; }; }
5481
  fi
5482
else
5483
  ac_cv_path_EGREP=$EGREP
5484
fi
5485
 
5486
   fi
5487
fi
5488
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5489
$as_echo "$ac_cv_path_EGREP" >&6; }
5490
 EGREP="$ac_cv_path_EGREP"
5491
 
5492
 
5493
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5494
$as_echo_n "checking for fgrep... " >&6; }
5495
if test "${ac_cv_path_FGREP+set}" = set; then
5496
  $as_echo_n "(cached) " >&6
5497
else
5498
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5499
   then ac_cv_path_FGREP="$GREP -F"
5500
   else
5501
     if test -z "$FGREP"; then
5502
  ac_path_FGREP_found=false
5503
  # Loop through the user's path and test for each of PROGNAME-LIST
5504
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5506
do
5507
  IFS=$as_save_IFS
5508
  test -z "$as_dir" && as_dir=.
5509
  for ac_prog in fgrep; do
5510
    for ac_exec_ext in '' $ac_executable_extensions; do
5511
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5512
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5513
# Check for GNU ac_path_FGREP and select it if it is found.
5514
  # Check for GNU $ac_path_FGREP
5515
case `"$ac_path_FGREP" --version 2>&1` in
5516
*GNU*)
5517
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5518
*)
5519
  ac_count=0
5520
  $as_echo_n 0123456789 >"conftest.in"
5521
  while :
5522
  do
5523
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5524
    mv "conftest.tmp" "conftest.in"
5525
    cp "conftest.in" "conftest.nl"
5526
    $as_echo 'FGREP' >> "conftest.nl"
5527
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5528
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5529
    ac_count=`expr $ac_count + 1`
5530
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5531
      # Best one so far, save it but keep looking for a better one
5532
      ac_cv_path_FGREP="$ac_path_FGREP"
5533
      ac_path_FGREP_max=$ac_count
5534
    fi
5535
    # 10*(2^10) chars as input seems more than enough
5536
    test $ac_count -gt 10 && break
5537
  done
5538
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5539
esac
5540
 
5541
      $ac_path_FGREP_found && break 3
5542
    done
5543
  done
5544
done
5545
IFS=$as_save_IFS
5546
  if test -z "$ac_cv_path_FGREP"; then
5547
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5548
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5549
   { (exit 1); exit 1; }; }
5550
  fi
5551
else
5552
  ac_cv_path_FGREP=$FGREP
5553
fi
5554
 
5555
   fi
5556
fi
5557
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5558
$as_echo "$ac_cv_path_FGREP" >&6; }
5559
 FGREP="$ac_cv_path_FGREP"
5560
 
5561
 
5562
test -z "$GREP" && GREP=grep
5563
 
5564
 
5565
 
5566
 
5567
 
5568
 
5569
 
5570
 
5571
 
5572
 
5573
 
5574
 
5575
 
5576
 
5577
 
5578
 
5579
 
5580
 
5581
 
5582
# Check whether --with-gnu-ld was given.
5583
if test "${with_gnu_ld+set}" = set; then
5584
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5585
else
5586
  with_gnu_ld=no
5587
fi
5588
 
5589
ac_prog=ld
5590
if test "$GCC" = yes; then
5591
  # Check if gcc -print-prog-name=ld gives a path.
5592
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5593
$as_echo_n "checking for ld used by $CC... " >&6; }
5594
  case $host in
5595
  *-*-mingw*)
5596
    # gcc leaves a trailing carriage return which upsets mingw
5597
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5598
  *)
5599
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5600
  esac
5601
  case $ac_prog in
5602
    # Accept absolute paths.
5603
    [\\/]* | ?:[\\/]*)
5604
      re_direlt='/[^/][^/]*/\.\./'
5605
      # Canonicalize the pathname of ld
5606
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5607
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5608
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5609
      done
5610
      test -z "$LD" && LD="$ac_prog"
5611
      ;;
5612
  "")
5613
    # If it fails, then pretend we aren't using GCC.
5614
    ac_prog=ld
5615
    ;;
5616
  *)
5617
    # If it is relative, then search for the first ld in PATH.
5618
    with_gnu_ld=unknown
5619
    ;;
5620
  esac
5621
elif test "$with_gnu_ld" = yes; then
5622
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5623
$as_echo_n "checking for GNU ld... " >&6; }
5624
else
5625
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5626
$as_echo_n "checking for non-GNU ld... " >&6; }
5627
fi
5628
if test "${lt_cv_path_LD+set}" = set; then
5629
  $as_echo_n "(cached) " >&6
5630
else
5631
  if test -z "$LD"; then
5632
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5633
  for ac_dir in $PATH; do
5634
    IFS="$lt_save_ifs"
5635
    test -z "$ac_dir" && ac_dir=.
5636
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5637
      lt_cv_path_LD="$ac_dir/$ac_prog"
5638
      # Check to see if the program is GNU ld.  I'd rather use --version,
5639
      # but apparently some variants of GNU ld only accept -v.
5640
      # Break only if it was the GNU/non-GNU ld that we prefer.
5641
      case `"$lt_cv_path_LD" -v 2>&1 
5642
      *GNU* | *'with BFD'*)
5643
        test "$with_gnu_ld" != no && break
5644
        ;;
5645
      *)
5646
        test "$with_gnu_ld" != yes && break
5647
        ;;
5648
      esac
5649
    fi
5650
  done
5651
  IFS="$lt_save_ifs"
5652
else
5653
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5654
fi
5655
fi
5656
 
5657
LD="$lt_cv_path_LD"
5658
if test -n "$LD"; then
5659
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
5660
$as_echo "$LD" >&6; }
5661
else
5662
  { $as_echo "$as_me:$LINENO: result: no" >&5
5663
$as_echo "no" >&6; }
5664
fi
5665
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5666
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5667
   { (exit 1); exit 1; }; }
5668
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5669
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5670
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5671
  $as_echo_n "(cached) " >&6
5672
else
5673
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5674
case `$LD -v 2>&1 
5675
*GNU* | *'with BFD'*)
5676
  lt_cv_prog_gnu_ld=yes
5677
  ;;
5678
*)
5679
  lt_cv_prog_gnu_ld=no
5680
  ;;
5681
esac
5682
fi
5683
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5684
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5685
with_gnu_ld=$lt_cv_prog_gnu_ld
5686
 
5687
 
5688
 
5689
 
5690
 
5691
 
5692
 
5693
 
5694
 
5695
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5696
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5697
if test "${lt_cv_path_NM+set}" = set; then
5698
  $as_echo_n "(cached) " >&6
5699
else
5700
  if test -n "$NM"; then
5701
  # Let the user override the test.
5702
  lt_cv_path_NM="$NM"
5703
else
5704
  lt_nm_to_check="${ac_tool_prefix}nm"
5705
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5706
    lt_nm_to_check="$lt_nm_to_check nm"
5707
  fi
5708
  for lt_tmp_nm in $lt_nm_to_check; do
5709
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5710
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5711
      IFS="$lt_save_ifs"
5712
      test -z "$ac_dir" && ac_dir=.
5713
      tmp_nm="$ac_dir/$lt_tmp_nm"
5714
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5715
        # Check to see if the nm accepts a BSD-compat flag.
5716
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5717
        #   nm: unknown option "B" ignored
5718
        # Tru64's nm complains that /dev/null is an invalid object file
5719
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5720
        */dev/null* | *'Invalid file or object type'*)
5721
          lt_cv_path_NM="$tmp_nm -B"
5722
          break
5723
          ;;
5724
        *)
5725
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5726
          */dev/null*)
5727
            lt_cv_path_NM="$tmp_nm -p"
5728
            break
5729
            ;;
5730
          *)
5731
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5732
            continue # so that we can try to find one that supports BSD flags
5733
            ;;
5734
          esac
5735
          ;;
5736
        esac
5737
      fi
5738
    done
5739
    IFS="$lt_save_ifs"
5740
  done
5741
  : ${lt_cv_path_NM=no}
5742
fi
5743
fi
5744
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5745
$as_echo "$lt_cv_path_NM" >&6; }
5746
if test "$lt_cv_path_NM" != "no"; then
5747
  NM="$lt_cv_path_NM"
5748
else
5749
  # Didn't find any BSD compatible name lister, look for dumpbin.
5750
  if test -n "$ac_tool_prefix"; then
5751
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5752
  do
5753
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5754
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5755
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5756
$as_echo_n "checking for $ac_word... " >&6; }
5757
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5758
  $as_echo_n "(cached) " >&6
5759
else
5760
  if test -n "$DUMPBIN"; then
5761
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5762
else
5763
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764
for as_dir in $PATH
5765
do
5766
  IFS=$as_save_IFS
5767
  test -z "$as_dir" && as_dir=.
5768
  for ac_exec_ext in '' $ac_executable_extensions; do
5769
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5770
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5771
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5772
    break 2
5773
  fi
5774
done
5775
done
5776
IFS=$as_save_IFS
5777
 
5778
fi
5779
fi
5780
DUMPBIN=$ac_cv_prog_DUMPBIN
5781
if test -n "$DUMPBIN"; then
5782
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5783
$as_echo "$DUMPBIN" >&6; }
5784
else
5785
  { $as_echo "$as_me:$LINENO: result: no" >&5
5786
$as_echo "no" >&6; }
5787
fi
5788
 
5789
 
5790
    test -n "$DUMPBIN" && break
5791
  done
5792
fi
5793
if test -z "$DUMPBIN"; then
5794
  ac_ct_DUMPBIN=$DUMPBIN
5795
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5796
do
5797
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5798
set dummy $ac_prog; ac_word=$2
5799
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5800
$as_echo_n "checking for $ac_word... " >&6; }
5801
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5802
  $as_echo_n "(cached) " >&6
5803
else
5804
  if test -n "$ac_ct_DUMPBIN"; then
5805
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5806
else
5807
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808
for as_dir in $PATH
5809
do
5810
  IFS=$as_save_IFS
5811
  test -z "$as_dir" && as_dir=.
5812
  for ac_exec_ext in '' $ac_executable_extensions; do
5813
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5814
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5815
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5816
    break 2
5817
  fi
5818
done
5819
done
5820
IFS=$as_save_IFS
5821
 
5822
fi
5823
fi
5824
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5825
if test -n "$ac_ct_DUMPBIN"; then
5826
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5827
$as_echo "$ac_ct_DUMPBIN" >&6; }
5828
else
5829
  { $as_echo "$as_me:$LINENO: result: no" >&5
5830
$as_echo "no" >&6; }
5831
fi
5832
 
5833
 
5834
  test -n "$ac_ct_DUMPBIN" && break
5835
done
5836
 
5837
  if test "x$ac_ct_DUMPBIN" = x; then
5838
    DUMPBIN=":"
5839
  else
5840
    case $cross_compiling:$ac_tool_warned in
5841
yes:)
5842
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5843
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5844
ac_tool_warned=yes ;;
5845
esac
5846
    DUMPBIN=$ac_ct_DUMPBIN
5847
  fi
5848
fi
5849
 
5850
 
5851
  if test "$DUMPBIN" != ":"; then
5852
    NM="$DUMPBIN"
5853
  fi
5854
fi
5855
test -z "$NM" && NM=nm
5856
 
5857
 
5858
 
5859
 
5860
 
5861
 
5862
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5863
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5864
if test "${lt_cv_nm_interface+set}" = set; then
5865
  $as_echo_n "(cached) " >&6
5866
else
5867
  lt_cv_nm_interface="BSD nm"
5868
  echo "int some_variable = 0;" > conftest.$ac_ext
5869
  (eval echo "\"\$as_me:5869: $ac_compile\"" >&5)
5870
  (eval "$ac_compile" 2>conftest.err)
5871
  cat conftest.err >&5
5872
  (eval echo "\"\$as_me:5872: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5873
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5874
  cat conftest.err >&5
5875
  (eval echo "\"\$as_me:5875: output\"" >&5)
5876
  cat conftest.out >&5
5877
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5878
    lt_cv_nm_interface="MS dumpbin"
5879
  fi
5880
  rm -f conftest*
5881
fi
5882
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5883
$as_echo "$lt_cv_nm_interface" >&6; }
5884
 
5885
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5886
$as_echo_n "checking whether ln -s works... " >&6; }
5887
LN_S=$as_ln_s
5888
if test "$LN_S" = "ln -s"; then
5889
  { $as_echo "$as_me:$LINENO: result: yes" >&5
5890
$as_echo "yes" >&6; }
5891
else
5892
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5893
$as_echo "no, using $LN_S" >&6; }
5894
fi
5895
 
5896
# find the maximum length of command line arguments
5897
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5898
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5899
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5900
  $as_echo_n "(cached) " >&6
5901
else
5902
    i=0
5903
  teststring="ABCD"
5904
 
5905
  case $build_os in
5906
  msdosdjgpp*)
5907
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5908
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5909
    # during glob expansion).  Even if it were fixed, the result of this
5910
    # check would be larger than it should be.
5911
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5912
    ;;
5913
 
5914
  gnu*)
5915
    # Under GNU Hurd, this test is not required because there is
5916
    # no limit to the length of command line arguments.
5917
    # Libtool will interpret -1 as no limit whatsoever
5918
    lt_cv_sys_max_cmd_len=-1;
5919
    ;;
5920
 
5921
  cygwin* | mingw* | cegcc*)
5922
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5923
    # about 5 minutes as the teststring grows exponentially.
5924
    # Worse, since 9x/ME are not pre-emptively multitasking,
5925
    # you end up with a "frozen" computer, even though with patience
5926
    # the test eventually succeeds (with a max line length of 256k).
5927
    # Instead, let's just punt: use the minimum linelength reported by
5928
    # all of the supported platforms: 8192 (on NT/2K/XP).
5929
    lt_cv_sys_max_cmd_len=8192;
5930
    ;;
5931
 
5932
  amigaos*)
5933
    # On AmigaOS with pdksh, this test takes hours, literally.
5934
    # So we just punt and use a minimum line length of 8192.
5935
    lt_cv_sys_max_cmd_len=8192;
5936
    ;;
5937
 
5938
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5939
    # This has been around since 386BSD, at least.  Likely further.
5940
    if test -x /sbin/sysctl; then
5941
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5942
    elif test -x /usr/sbin/sysctl; then
5943
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5944
    else
5945
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5946
    fi
5947
    # And add a safety zone
5948
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5949
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5950
    ;;
5951
 
5952
  interix*)
5953
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5954
    lt_cv_sys_max_cmd_len=196608
5955
    ;;
5956
 
5957
  osf*)
5958
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5959
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5960
    # nice to cause kernel panics so lets avoid the loop below.
5961
    # First set a reasonable default.
5962
    lt_cv_sys_max_cmd_len=16384
5963
    #
5964
    if test -x /sbin/sysconfig; then
5965
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5966
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5967
      esac
5968
    fi
5969
    ;;
5970
  sco3.2v5*)
5971
    lt_cv_sys_max_cmd_len=102400
5972
    ;;
5973
  sysv5* | sco5v6* | sysv4.2uw2*)
5974
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5975
    if test -n "$kargmax"; then
5976
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5977
    else
5978
      lt_cv_sys_max_cmd_len=32768
5979
    fi
5980
    ;;
5981
  *)
5982
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5983
    if test -n "$lt_cv_sys_max_cmd_len"; then
5984
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5985
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5986
    else
5987
      # Make teststring a little bigger before we do anything with it.
5988
      # a 1K string should be a reasonable start.
5989
      for i in 1 2 3 4 5 6 7 8 ; do
5990
        teststring=$teststring$teststring
5991
      done
5992
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5993
      # If test is not a shell built-in, we'll probably end up computing a
5994
      # maximum length that is only half of the actual maximum length, but
5995
      # we can't tell.
5996
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5997
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5998
              test $i != 17 # 1/2 MB should be enough
5999
      do
6000
        i=`expr $i + 1`
6001
        teststring=$teststring$teststring
6002
      done
6003
      # Only check the string length outside the loop.
6004
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6005
      teststring=
6006
      # Add a significant safety factor because C++ compilers can tack on
6007
      # massive amounts of additional arguments before passing them to the
6008
      # linker.  It appears as though 1/2 is a usable value.
6009
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6010
    fi
6011
    ;;
6012
  esac
6013
 
6014
fi
6015
 
6016
if test -n $lt_cv_sys_max_cmd_len ; then
6017
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6018
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6019
else
6020
  { $as_echo "$as_me:$LINENO: result: none" >&5
6021
$as_echo "none" >&6; }
6022
fi
6023
max_cmd_len=$lt_cv_sys_max_cmd_len
6024
 
6025
 
6026
 
6027
 
6028
 
6029
 
6030
: ${CP="cp -f"}
6031
: ${MV="mv -f"}
6032
: ${RM="rm -f"}
6033
 
6034
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6035
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6036
# Try some XSI features
6037
xsi_shell=no
6038
( _lt_dummy="a/b/c"
6039
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6040
      = c,a/b,, \
6041
    && eval 'test $(( 1 + 1 )) -eq 2 \
6042
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6043
  && xsi_shell=yes
6044
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
6045
$as_echo "$xsi_shell" >&6; }
6046
 
6047
 
6048
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6049
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6050
lt_shell_append=no
6051
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6052
    >/dev/null 2>&1 \
6053
  && lt_shell_append=yes
6054
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6055
$as_echo "$lt_shell_append" >&6; }
6056
 
6057
 
6058
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6059
  lt_unset=unset
6060
else
6061
  lt_unset=false
6062
fi
6063
 
6064
 
6065
 
6066
 
6067
 
6068
# test EBCDIC or ASCII
6069
case `echo X|tr X '\101'` in
6070
 A) # ASCII based system
6071
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6072
  lt_SP2NL='tr \040 \012'
6073
  lt_NL2SP='tr \015\012 \040\040'
6074
  ;;
6075
 *) # EBCDIC based system
6076
  lt_SP2NL='tr \100 \n'
6077
  lt_NL2SP='tr \r\n \100\100'
6078
  ;;
6079
esac
6080
 
6081
 
6082
 
6083
 
6084
 
6085
 
6086
 
6087
 
6088
 
6089
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6090
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6091
if test "${lt_cv_ld_reload_flag+set}" = set; then
6092
  $as_echo_n "(cached) " >&6
6093
else
6094
  lt_cv_ld_reload_flag='-r'
6095
fi
6096
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6097
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6098
reload_flag=$lt_cv_ld_reload_flag
6099
case $reload_flag in
6100
"" | " "*) ;;
6101
*) reload_flag=" $reload_flag" ;;
6102
esac
6103
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6104
case $host_os in
6105
  darwin*)
6106
    if test "$GCC" = yes; then
6107
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6108
    else
6109
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6110
    fi
6111
    ;;
6112
esac
6113
 
6114
 
6115
 
6116
 
6117
 
6118
 
6119
 
6120
 
6121
 
6122
if test -n "$ac_tool_prefix"; then
6123
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6124
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6125
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6126
$as_echo_n "checking for $ac_word... " >&6; }
6127
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6128
  $as_echo_n "(cached) " >&6
6129
else
6130
  if test -n "$OBJDUMP"; then
6131
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6132
else
6133
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134
for as_dir in $PATH
6135
do
6136
  IFS=$as_save_IFS
6137
  test -z "$as_dir" && as_dir=.
6138
  for ac_exec_ext in '' $ac_executable_extensions; do
6139
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6140
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6141
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6142
    break 2
6143
  fi
6144
done
6145
done
6146
IFS=$as_save_IFS
6147
 
6148
fi
6149
fi
6150
OBJDUMP=$ac_cv_prog_OBJDUMP
6151
if test -n "$OBJDUMP"; then
6152
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6153
$as_echo "$OBJDUMP" >&6; }
6154
else
6155
  { $as_echo "$as_me:$LINENO: result: no" >&5
6156
$as_echo "no" >&6; }
6157
fi
6158
 
6159
 
6160
fi
6161
if test -z "$ac_cv_prog_OBJDUMP"; then
6162
  ac_ct_OBJDUMP=$OBJDUMP
6163
  # Extract the first word of "objdump", so it can be a program name with args.
6164
set dummy objdump; ac_word=$2
6165
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6166
$as_echo_n "checking for $ac_word... " >&6; }
6167
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6168
  $as_echo_n "(cached) " >&6
6169
else
6170
  if test -n "$ac_ct_OBJDUMP"; then
6171
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6172
else
6173
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174
for as_dir in $PATH
6175
do
6176
  IFS=$as_save_IFS
6177
  test -z "$as_dir" && as_dir=.
6178
  for ac_exec_ext in '' $ac_executable_extensions; do
6179
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6180
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6181
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6182
    break 2
6183
  fi
6184
done
6185
done
6186
IFS=$as_save_IFS
6187
 
6188
fi
6189
fi
6190
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6191
if test -n "$ac_ct_OBJDUMP"; then
6192
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6193
$as_echo "$ac_ct_OBJDUMP" >&6; }
6194
else
6195
  { $as_echo "$as_me:$LINENO: result: no" >&5
6196
$as_echo "no" >&6; }
6197
fi
6198
 
6199
  if test "x$ac_ct_OBJDUMP" = x; then
6200
    OBJDUMP="false"
6201
  else
6202
    case $cross_compiling:$ac_tool_warned in
6203
yes:)
6204
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6205
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6206
ac_tool_warned=yes ;;
6207
esac
6208
    OBJDUMP=$ac_ct_OBJDUMP
6209
  fi
6210
else
6211
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6212
fi
6213
 
6214
test -z "$OBJDUMP" && OBJDUMP=objdump
6215
 
6216
 
6217
 
6218
 
6219
 
6220
 
6221
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6222
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6223
if test "${lt_cv_deplibs_check_method+set}" = set; then
6224
  $as_echo_n "(cached) " >&6
6225
else
6226
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6227
lt_cv_file_magic_test_file=
6228
lt_cv_deplibs_check_method='unknown'
6229
# Need to set the preceding variable on all platforms that support
6230
# interlibrary dependencies.
6231
# 'none' -- dependencies not supported.
6232
# `unknown' -- same as none, but documents that we really don't know.
6233
# 'pass_all' -- all dependencies passed with no checks.
6234
# 'test_compile' -- check by making test program.
6235
# 'file_magic [[regex]]' -- check by looking for files in library path
6236
# which responds to the $file_magic_cmd with a given extended regex.
6237
# If you have `file' or equivalent on your system and you're not sure
6238
# whether `pass_all' will *always* work, you probably want this one.
6239
 
6240
case $host_os in
6241
aix[4-9]*)
6242
  lt_cv_deplibs_check_method=pass_all
6243
  ;;
6244
 
6245
beos*)
6246
  lt_cv_deplibs_check_method=pass_all
6247
  ;;
6248
 
6249
bsdi[45]*)
6250
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6251
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6252
  lt_cv_file_magic_test_file=/shlib/libc.so
6253
  ;;
6254
 
6255
cygwin*)
6256
  # func_win32_libid is a shell function defined in ltmain.sh
6257
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6258
  lt_cv_file_magic_cmd='func_win32_libid'
6259
  ;;
6260
 
6261
mingw* | pw32*)
6262
  # Base MSYS/MinGW do not provide the 'file' command needed by
6263
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6264
  # unless we find 'file', for example because we are cross-compiling.
6265
  if ( file / ) >/dev/null 2>&1; then
6266
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6267
    lt_cv_file_magic_cmd='func_win32_libid'
6268
  else
6269
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6270
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6271
  fi
6272
  ;;
6273
 
6274
cegcc)
6275
  # use the weaker test based on 'objdump'. See mingw*.
6276
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6277
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6278
  ;;
6279
 
6280
darwin* | rhapsody*)
6281
  lt_cv_deplibs_check_method=pass_all
6282
  ;;
6283
 
6284
freebsd* | dragonfly*)
6285
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6286
    case $host_cpu in
6287
    i*86 )
6288
      # Not sure whether the presence of OpenBSD here was a mistake.
6289
      # Let's accept both of them until this is cleared up.
6290
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6291
      lt_cv_file_magic_cmd=/usr/bin/file
6292
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6293
      ;;
6294
    esac
6295
  else
6296
    lt_cv_deplibs_check_method=pass_all
6297
  fi
6298
  ;;
6299
 
6300
gnu*)
6301
  lt_cv_deplibs_check_method=pass_all
6302
  ;;
6303
 
6304
hpux10.20* | hpux11*)
6305
  lt_cv_file_magic_cmd=/usr/bin/file
6306
  case $host_cpu in
6307
  ia64*)
6308
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6309
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6310
    ;;
6311
  hppa*64*)
6312
    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]'
6313
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6314
    ;;
6315
  *)
6316
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6317
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6318
    ;;
6319
  esac
6320
  ;;
6321
 
6322
interix[3-9]*)
6323
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6324
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6325
  ;;
6326
 
6327
irix5* | irix6* | nonstopux*)
6328
  case $LD in
6329
  *-32|*"-32 ") libmagic=32-bit;;
6330
  *-n32|*"-n32 ") libmagic=N32;;
6331
  *-64|*"-64 ") libmagic=64-bit;;
6332
  *) libmagic=never-match;;
6333
  esac
6334
  lt_cv_deplibs_check_method=pass_all
6335
  ;;
6336
 
6337
# This must be Linux ELF.
6338
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6339
  lt_cv_deplibs_check_method=pass_all
6340
  ;;
6341
 
6342
netbsd*)
6343
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6344
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6345
  else
6346
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6347
  fi
6348
  ;;
6349
 
6350
newos6*)
6351
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6352
  lt_cv_file_magic_cmd=/usr/bin/file
6353
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6354
  ;;
6355
 
6356
*nto* | *qnx*)
6357
  lt_cv_deplibs_check_method=pass_all
6358
  ;;
6359
 
6360
openbsd*)
6361
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6362
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6363
  else
6364
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6365
  fi
6366
  ;;
6367
 
6368
osf3* | osf4* | osf5*)
6369
  lt_cv_deplibs_check_method=pass_all
6370
  ;;
6371
 
6372
rdos*)
6373
  lt_cv_deplibs_check_method=pass_all
6374
  ;;
6375
 
6376
solaris*)
6377
  lt_cv_deplibs_check_method=pass_all
6378
  ;;
6379
 
6380
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6381
  lt_cv_deplibs_check_method=pass_all
6382
  ;;
6383
 
6384
sysv4 | sysv4.3*)
6385
  case $host_vendor in
6386
  motorola)
6387
    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]'
6388
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6389
    ;;
6390
  ncr)
6391
    lt_cv_deplibs_check_method=pass_all
6392
    ;;
6393
  sequent)
6394
    lt_cv_file_magic_cmd='/bin/file'
6395
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6396
    ;;
6397
  sni)
6398
    lt_cv_file_magic_cmd='/bin/file'
6399
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6400
    lt_cv_file_magic_test_file=/lib/libc.so
6401
    ;;
6402
  siemens)
6403
    lt_cv_deplibs_check_method=pass_all
6404
    ;;
6405
  pc)
6406
    lt_cv_deplibs_check_method=pass_all
6407
    ;;
6408
  esac
6409
  ;;
6410
 
6411
tpf*)
6412
  lt_cv_deplibs_check_method=pass_all
6413
  ;;
6414
esac
6415
 
6416
fi
6417
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6418
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6419
file_magic_cmd=$lt_cv_file_magic_cmd
6420
deplibs_check_method=$lt_cv_deplibs_check_method
6421
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6422
 
6423
 
6424
 
6425
 
6426
 
6427
 
6428
 
6429
 
6430
 
6431
 
6432
 
6433
 
6434
if test -n "$ac_tool_prefix"; then
6435
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6436
set dummy ${ac_tool_prefix}ar; ac_word=$2
6437
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6438
$as_echo_n "checking for $ac_word... " >&6; }
6439
if test "${ac_cv_prog_AR+set}" = set; then
6440
  $as_echo_n "(cached) " >&6
6441
else
6442
  if test -n "$AR"; then
6443
  ac_cv_prog_AR="$AR" # Let the user override the test.
6444
else
6445
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446
for as_dir in $PATH
6447
do
6448
  IFS=$as_save_IFS
6449
  test -z "$as_dir" && as_dir=.
6450
  for ac_exec_ext in '' $ac_executable_extensions; do
6451
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6452
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6453
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6454
    break 2
6455
  fi
6456
done
6457
done
6458
IFS=$as_save_IFS
6459
 
6460
fi
6461
fi
6462
AR=$ac_cv_prog_AR
6463
if test -n "$AR"; then
6464
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
6465
$as_echo "$AR" >&6; }
6466
else
6467
  { $as_echo "$as_me:$LINENO: result: no" >&5
6468
$as_echo "no" >&6; }
6469
fi
6470
 
6471
 
6472
fi
6473
if test -z "$ac_cv_prog_AR"; then
6474
  ac_ct_AR=$AR
6475
  # Extract the first word of "ar", so it can be a program name with args.
6476
set dummy ar; ac_word=$2
6477
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6478
$as_echo_n "checking for $ac_word... " >&6; }
6479
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6480
  $as_echo_n "(cached) " >&6
6481
else
6482
  if test -n "$ac_ct_AR"; then
6483
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6484
else
6485
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486
for as_dir in $PATH
6487
do
6488
  IFS=$as_save_IFS
6489
  test -z "$as_dir" && as_dir=.
6490
  for ac_exec_ext in '' $ac_executable_extensions; do
6491
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492
    ac_cv_prog_ac_ct_AR="ar"
6493
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6494
    break 2
6495
  fi
6496
done
6497
done
6498
IFS=$as_save_IFS
6499
 
6500
fi
6501
fi
6502
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6503
if test -n "$ac_ct_AR"; then
6504
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6505
$as_echo "$ac_ct_AR" >&6; }
6506
else
6507
  { $as_echo "$as_me:$LINENO: result: no" >&5
6508
$as_echo "no" >&6; }
6509
fi
6510
 
6511
  if test "x$ac_ct_AR" = x; then
6512
    AR="false"
6513
  else
6514
    case $cross_compiling:$ac_tool_warned in
6515
yes:)
6516
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6517
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6518
ac_tool_warned=yes ;;
6519
esac
6520
    AR=$ac_ct_AR
6521
  fi
6522
else
6523
  AR="$ac_cv_prog_AR"
6524
fi
6525
 
6526
test -z "$AR" && AR=ar
6527
test -z "$AR_FLAGS" && AR_FLAGS=cru
6528
 
6529
 
6530
 
6531
 
6532
 
6533
 
6534
 
6535
 
6536
 
6537
 
6538
 
6539
if test -n "$ac_tool_prefix"; then
6540
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6541
set dummy ${ac_tool_prefix}strip; ac_word=$2
6542
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6543
$as_echo_n "checking for $ac_word... " >&6; }
6544
if test "${ac_cv_prog_STRIP+set}" = set; then
6545
  $as_echo_n "(cached) " >&6
6546
else
6547
  if test -n "$STRIP"; then
6548
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6549
else
6550
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551
for as_dir in $PATH
6552
do
6553
  IFS=$as_save_IFS
6554
  test -z "$as_dir" && as_dir=.
6555
  for ac_exec_ext in '' $ac_executable_extensions; do
6556
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6558
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6559
    break 2
6560
  fi
6561
done
6562
done
6563
IFS=$as_save_IFS
6564
 
6565
fi
6566
fi
6567
STRIP=$ac_cv_prog_STRIP
6568
if test -n "$STRIP"; then
6569
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6570
$as_echo "$STRIP" >&6; }
6571
else
6572
  { $as_echo "$as_me:$LINENO: result: no" >&5
6573
$as_echo "no" >&6; }
6574
fi
6575
 
6576
 
6577
fi
6578
if test -z "$ac_cv_prog_STRIP"; then
6579
  ac_ct_STRIP=$STRIP
6580
  # Extract the first word of "strip", so it can be a program name with args.
6581
set dummy strip; ac_word=$2
6582
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6583
$as_echo_n "checking for $ac_word... " >&6; }
6584
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6585
  $as_echo_n "(cached) " >&6
6586
else
6587
  if test -n "$ac_ct_STRIP"; then
6588
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6589
else
6590
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6591
for as_dir in $PATH
6592
do
6593
  IFS=$as_save_IFS
6594
  test -z "$as_dir" && as_dir=.
6595
  for ac_exec_ext in '' $ac_executable_extensions; do
6596
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6597
    ac_cv_prog_ac_ct_STRIP="strip"
6598
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6599
    break 2
6600
  fi
6601
done
6602
done
6603
IFS=$as_save_IFS
6604
 
6605
fi
6606
fi
6607
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6608
if test -n "$ac_ct_STRIP"; then
6609
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6610
$as_echo "$ac_ct_STRIP" >&6; }
6611
else
6612
  { $as_echo "$as_me:$LINENO: result: no" >&5
6613
$as_echo "no" >&6; }
6614
fi
6615
 
6616
  if test "x$ac_ct_STRIP" = x; then
6617
    STRIP=":"
6618
  else
6619
    case $cross_compiling:$ac_tool_warned in
6620
yes:)
6621
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6622
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6623
ac_tool_warned=yes ;;
6624
esac
6625
    STRIP=$ac_ct_STRIP
6626
  fi
6627
else
6628
  STRIP="$ac_cv_prog_STRIP"
6629
fi
6630
 
6631
test -z "$STRIP" && STRIP=:
6632
 
6633
 
6634
 
6635
 
6636
 
6637
 
6638
if test -n "$ac_tool_prefix"; then
6639
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6640
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6641
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6642
$as_echo_n "checking for $ac_word... " >&6; }
6643
if test "${ac_cv_prog_RANLIB+set}" = set; then
6644
  $as_echo_n "(cached) " >&6
6645
else
6646
  if test -n "$RANLIB"; then
6647
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6648
else
6649
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6650
for as_dir in $PATH
6651
do
6652
  IFS=$as_save_IFS
6653
  test -z "$as_dir" && as_dir=.
6654
  for ac_exec_ext in '' $ac_executable_extensions; do
6655
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6656
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6657
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6658
    break 2
6659
  fi
6660
done
6661
done
6662
IFS=$as_save_IFS
6663
 
6664
fi
6665
fi
6666
RANLIB=$ac_cv_prog_RANLIB
6667
if test -n "$RANLIB"; then
6668
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6669
$as_echo "$RANLIB" >&6; }
6670
else
6671
  { $as_echo "$as_me:$LINENO: result: no" >&5
6672
$as_echo "no" >&6; }
6673
fi
6674
 
6675
 
6676
fi
6677
if test -z "$ac_cv_prog_RANLIB"; then
6678
  ac_ct_RANLIB=$RANLIB
6679
  # Extract the first word of "ranlib", so it can be a program name with args.
6680
set dummy ranlib; ac_word=$2
6681
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6682
$as_echo_n "checking for $ac_word... " >&6; }
6683
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6684
  $as_echo_n "(cached) " >&6
6685
else
6686
  if test -n "$ac_ct_RANLIB"; then
6687
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6688
else
6689
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690
for as_dir in $PATH
6691
do
6692
  IFS=$as_save_IFS
6693
  test -z "$as_dir" && as_dir=.
6694
  for ac_exec_ext in '' $ac_executable_extensions; do
6695
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6696
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6697
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6698
    break 2
6699
  fi
6700
done
6701
done
6702
IFS=$as_save_IFS
6703
 
6704
fi
6705
fi
6706
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6707
if test -n "$ac_ct_RANLIB"; then
6708
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6709
$as_echo "$ac_ct_RANLIB" >&6; }
6710
else
6711
  { $as_echo "$as_me:$LINENO: result: no" >&5
6712
$as_echo "no" >&6; }
6713
fi
6714
 
6715
  if test "x$ac_ct_RANLIB" = x; then
6716
    RANLIB=":"
6717
  else
6718
    case $cross_compiling:$ac_tool_warned in
6719
yes:)
6720
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6721
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6722
ac_tool_warned=yes ;;
6723
esac
6724
    RANLIB=$ac_ct_RANLIB
6725
  fi
6726
else
6727
  RANLIB="$ac_cv_prog_RANLIB"
6728
fi
6729
 
6730
test -z "$RANLIB" && RANLIB=:
6731
 
6732
 
6733
 
6734
 
6735
 
6736
 
6737
# Determine commands to create old-style static archives.
6738
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6739
old_postinstall_cmds='chmod 644 $oldlib'
6740
old_postuninstall_cmds=
6741
 
6742
if test -n "$RANLIB"; then
6743
  case $host_os in
6744
  openbsd*)
6745
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6746
    ;;
6747
  *)
6748
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6749
    ;;
6750
  esac
6751
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6752
fi
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
 
6786
 
6787
# If no C compiler was specified, use CC.
6788
LTCC=${LTCC-"$CC"}
6789
 
6790
# If no C compiler flags were specified, use CFLAGS.
6791
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6792
 
6793
# Allow CC to be a program name with arguments.
6794
compiler=$CC
6795
 
6796
 
6797
# Check for command to grab the raw symbol name followed by C symbol from nm.
6798
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6799
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6800
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6801
  $as_echo_n "(cached) " >&6
6802
else
6803
 
6804
# These are sane defaults that work on at least a few old systems.
6805
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6806
 
6807
# Character class describing NM global symbol codes.
6808
symcode='[BCDEGRST]'
6809
 
6810
# Regexp to match symbols that can be accessed directly from C.
6811
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6812
 
6813
# Define system-specific variables.
6814
case $host_os in
6815
aix*)
6816
  symcode='[BCDT]'
6817
  ;;
6818
cygwin* | mingw* | pw32* | cegcc*)
6819
  symcode='[ABCDGISTW]'
6820
  ;;
6821
hpux*)
6822
  if test "$host_cpu" = ia64; then
6823
    symcode='[ABCDEGRST]'
6824
  fi
6825
  ;;
6826
irix* | nonstopux*)
6827
  symcode='[BCDEGRST]'
6828
  ;;
6829
osf*)
6830
  symcode='[BCDEGQRST]'
6831
  ;;
6832
solaris*)
6833
  symcode='[BDRT]'
6834
  ;;
6835
sco3.2v5*)
6836
  symcode='[DT]'
6837
  ;;
6838
sysv4.2uw2*)
6839
  symcode='[DT]'
6840
  ;;
6841
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6842
  symcode='[ABDT]'
6843
  ;;
6844
sysv4)
6845
  symcode='[DFNSTU]'
6846
  ;;
6847
esac
6848
 
6849
# If we're using GNU nm, then use its standard symbol codes.
6850
case `$NM -V 2>&1` in
6851
*GNU* | *'with BFD'*)
6852
  symcode='[ABCDGIRSTW]' ;;
6853
esac
6854
 
6855
# Transform an extracted symbol line into a proper C declaration.
6856
# Some systems (esp. on ia64) link data and code symbols differently,
6857
# so use this general approach.
6858
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6859
 
6860
# Transform an extracted symbol line into symbol name and symbol address
6861
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6862
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'"
6863
 
6864
# Handle CRLF in mingw tool chain
6865
opt_cr=
6866
case $build_os in
6867
mingw*)
6868
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6869
  ;;
6870
esac
6871
 
6872
# Try without a prefix underscore, then with it.
6873
for ac_symprfx in "" "_"; do
6874
 
6875
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6876
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6877
 
6878
  # Write the raw and C identifiers.
6879
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6880
    # Fake it for dumpbin and say T for any non-static function
6881
    # and D for any global variable.
6882
    # Also find C++ and __fastcall symbols from MSVC++,
6883
    # which start with @ or ?.
6884
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6885
"     {last_section=section; section=\$ 3};"\
6886
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6887
"     \$ 0!~/External *\|/{next};"\
6888
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6889
"     {if(hide[section]) next};"\
6890
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6891
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6892
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6893
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6894
"     ' prfx=^$ac_symprfx"
6895
  else
6896
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6897
  fi
6898
 
6899
  # Check to see that the pipe works correctly.
6900
  pipe_works=no
6901
 
6902
  rm -f conftest*
6903
  cat > conftest.$ac_ext <<_LT_EOF
6904
#ifdef __cplusplus
6905
extern "C" {
6906
#endif
6907
char nm_test_var;
6908
void nm_test_func(void);
6909
void nm_test_func(void){}
6910
#ifdef __cplusplus
6911
}
6912
#endif
6913
int main(){nm_test_var='a';nm_test_func();return(0);}
6914
_LT_EOF
6915
 
6916
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6917
  (eval $ac_compile) 2>&5
6918
  ac_status=$?
6919
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920
  (exit $ac_status); }; then
6921
    # Now try to grab the symbols.
6922
    nlist=conftest.nm
6923
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6924
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6925
  ac_status=$?
6926
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6927
  (exit $ac_status); } && test -s "$nlist"; then
6928
      # Try sorting and uniquifying the output.
6929
      if sort "$nlist" | uniq > "$nlist"T; then
6930
        mv -f "$nlist"T "$nlist"
6931
      else
6932
        rm -f "$nlist"T
6933
      fi
6934
 
6935
      # Make sure that we snagged all the symbols we need.
6936
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6937
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6938
          cat <<_LT_EOF > conftest.$ac_ext
6939
#ifdef __cplusplus
6940
extern "C" {
6941
#endif
6942
 
6943
_LT_EOF
6944
          # Now generate the symbol file.
6945
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6946
 
6947
          cat <<_LT_EOF >> conftest.$ac_ext
6948
 
6949
/* The mapping between symbol names and symbols.  */
6950
const struct {
6951
  const char *name;
6952
  void       *address;
6953
}
6954
lt__PROGRAM__LTX_preloaded_symbols[] =
6955
{
6956
  { "@PROGRAM@", (void *) 0 },
6957
_LT_EOF
6958
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6959
          cat <<\_LT_EOF >> conftest.$ac_ext
6960
  {0, (void *) 0}
6961
};
6962
 
6963
/* This works around a problem in FreeBSD linker */
6964
#ifdef FREEBSD_WORKAROUND
6965
static const void *lt_preloaded_setup() {
6966
  return lt__PROGRAM__LTX_preloaded_symbols;
6967
}
6968
#endif
6969
 
6970
#ifdef __cplusplus
6971
}
6972
#endif
6973
_LT_EOF
6974
          # Now try linking the two files.
6975
          mv conftest.$ac_objext conftstm.$ac_objext
6976
          lt_save_LIBS="$LIBS"
6977
          lt_save_CFLAGS="$CFLAGS"
6978
          LIBS="conftstm.$ac_objext"
6979
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6980
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6981
  (eval $ac_link) 2>&5
6982
  ac_status=$?
6983
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6985
            pipe_works=yes
6986
          fi
6987
          LIBS="$lt_save_LIBS"
6988
          CFLAGS="$lt_save_CFLAGS"
6989
        else
6990
          echo "cannot find nm_test_func in $nlist" >&5
6991
        fi
6992
      else
6993
        echo "cannot find nm_test_var in $nlist" >&5
6994
      fi
6995
    else
6996
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6997
    fi
6998
  else
6999
    echo "$progname: failed program was:" >&5
7000
    cat conftest.$ac_ext >&5
7001
  fi
7002
  rm -rf conftest* conftst*
7003
 
7004
  # Do not use the global_symbol_pipe unless it works.
7005
  if test "$pipe_works" = yes; then
7006
    break
7007
  else
7008
    lt_cv_sys_global_symbol_pipe=
7009
  fi
7010
done
7011
 
7012
fi
7013
 
7014
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7015
  lt_cv_sys_global_symbol_to_cdecl=
7016
fi
7017
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7018
  { $as_echo "$as_me:$LINENO: result: failed" >&5
7019
$as_echo "failed" >&6; }
7020
else
7021
  { $as_echo "$as_me:$LINENO: result: ok" >&5
7022
$as_echo "ok" >&6; }
7023
fi
7024
 
7025
 
7026
 
7027
 
7028
 
7029
 
7030
 
7031
 
7032
 
7033
 
7034
 
7035
 
7036
 
7037
 
7038
 
7039
 
7040
 
7041
 
7042
 
7043
 
7044
 
7045
 
7046
 
7047
# Check whether --enable-libtool-lock was given.
7048
if test "${enable_libtool_lock+set}" = set; then
7049
  enableval=$enable_libtool_lock;
7050
fi
7051
 
7052
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7053
 
7054
# Some flags need to be propagated to the compiler or linker for good
7055
# libtool support.
7056
case $host in
7057
ia64-*-hpux*)
7058
  # Find out which ABI we are using.
7059
  echo 'int i;' > conftest.$ac_ext
7060
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7061
  (eval $ac_compile) 2>&5
7062
  ac_status=$?
7063
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7064
  (exit $ac_status); }; then
7065
    case `/usr/bin/file conftest.$ac_objext` in
7066
      *ELF-32*)
7067
        HPUX_IA64_MODE="32"
7068
        ;;
7069
      *ELF-64*)
7070
        HPUX_IA64_MODE="64"
7071
        ;;
7072
    esac
7073
  fi
7074
  rm -rf conftest*
7075
  ;;
7076
*-*-irix6*)
7077
  # Find out which ABI we are using.
7078
  echo '#line 7078 "configure"' > conftest.$ac_ext
7079
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7080
  (eval $ac_compile) 2>&5
7081
  ac_status=$?
7082
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083
  (exit $ac_status); }; then
7084
    if test "$lt_cv_prog_gnu_ld" = yes; then
7085
      case `/usr/bin/file conftest.$ac_objext` in
7086
        *32-bit*)
7087
          LD="${LD-ld} -melf32bsmip"
7088
          ;;
7089
        *N32*)
7090
          LD="${LD-ld} -melf32bmipn32"
7091
          ;;
7092
        *64-bit*)
7093
          LD="${LD-ld} -melf64bmip"
7094
        ;;
7095
      esac
7096
    else
7097
      case `/usr/bin/file conftest.$ac_objext` in
7098
        *32-bit*)
7099
          LD="${LD-ld} -32"
7100
          ;;
7101
        *N32*)
7102
          LD="${LD-ld} -n32"
7103
          ;;
7104
        *64-bit*)
7105
          LD="${LD-ld} -64"
7106
          ;;
7107
      esac
7108
    fi
7109
  fi
7110
  rm -rf conftest*
7111
  ;;
7112
 
7113
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7114
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7115
  # Find out which ABI we are using.
7116
  echo 'int i;' > conftest.$ac_ext
7117
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7118
  (eval $ac_compile) 2>&5
7119
  ac_status=$?
7120
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121
  (exit $ac_status); }; then
7122
    case `/usr/bin/file conftest.o` in
7123
      *32-bit*)
7124
        case $host in
7125
          x86_64-*kfreebsd*-gnu)
7126
            LD="${LD-ld} -m elf_i386_fbsd"
7127
            ;;
7128
          x86_64-*linux*)
7129
            LD="${LD-ld} -m elf_i386"
7130
            ;;
7131
          ppc64-*linux*|powerpc64-*linux*)
7132
            LD="${LD-ld} -m elf32ppclinux"
7133
            ;;
7134
          s390x-*linux*)
7135
            LD="${LD-ld} -m elf_s390"
7136
            ;;
7137
          sparc64-*linux*)
7138
            LD="${LD-ld} -m elf32_sparc"
7139
            ;;
7140
        esac
7141
        ;;
7142
      *64-bit*)
7143
        case $host in
7144
          x86_64-*kfreebsd*-gnu)
7145
            LD="${LD-ld} -m elf_x86_64_fbsd"
7146
            ;;
7147
          x86_64-*linux*)
7148
            LD="${LD-ld} -m elf_x86_64"
7149
            ;;
7150
          ppc*-*linux*|powerpc*-*linux*)
7151
            LD="${LD-ld} -m elf64ppc"
7152
            ;;
7153
          s390*-*linux*|s390*-*tpf*)
7154
            LD="${LD-ld} -m elf64_s390"
7155
            ;;
7156
          sparc*-*linux*)
7157
            LD="${LD-ld} -m elf64_sparc"
7158
            ;;
7159
        esac
7160
        ;;
7161
    esac
7162
  fi
7163
  rm -rf conftest*
7164
  ;;
7165
 
7166
*-*-sco3.2v5*)
7167
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7168
  SAVE_CFLAGS="$CFLAGS"
7169
  CFLAGS="$CFLAGS -belf"
7170
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7171
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7172
if test "${lt_cv_cc_needs_belf+set}" = set; then
7173
  $as_echo_n "(cached) " >&6
7174
else
7175
  ac_ext=c
7176
ac_cpp='$CPP $CPPFLAGS'
7177
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7178
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7179
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7180
 
7181
     cat >conftest.$ac_ext <<_ACEOF
7182
/* confdefs.h.  */
7183
_ACEOF
7184
cat confdefs.h >>conftest.$ac_ext
7185
cat >>conftest.$ac_ext <<_ACEOF
7186
/* end confdefs.h.  */
7187
 
7188
int
7189
main ()
7190
{
7191
 
7192
  ;
7193
  return 0;
7194
}
7195
_ACEOF
7196
rm -f conftest.$ac_objext conftest$ac_exeext
7197
if { (ac_try="$ac_link"
7198
case "(($ac_try" in
7199
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7200
  *) ac_try_echo=$ac_try;;
7201
esac
7202
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7203
$as_echo "$ac_try_echo") >&5
7204
  (eval "$ac_link") 2>conftest.er1
7205
  ac_status=$?
7206
  grep -v '^ *+' conftest.er1 >conftest.err
7207
  rm -f conftest.er1
7208
  cat conftest.err >&5
7209
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210
  (exit $ac_status); } && {
7211
         test -z "$ac_c_werror_flag" ||
7212
         test ! -s conftest.err
7213
       } && test -s conftest$ac_exeext && {
7214
         test "$cross_compiling" = yes ||
7215
         $as_test_x conftest$ac_exeext
7216
       }; then
7217
  lt_cv_cc_needs_belf=yes
7218
else
7219
  $as_echo "$as_me: failed program was:" >&5
7220
sed 's/^/| /' conftest.$ac_ext >&5
7221
 
7222
        lt_cv_cc_needs_belf=no
7223
fi
7224
 
7225
rm -rf conftest.dSYM
7226
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7227
      conftest$ac_exeext conftest.$ac_ext
7228
     ac_ext=c
7229
ac_cpp='$CPP $CPPFLAGS'
7230
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7231
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7232
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7233
 
7234
fi
7235
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7236
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7237
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7238
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7239
    CFLAGS="$SAVE_CFLAGS"
7240
  fi
7241
  ;;
7242
sparc*-*solaris*)
7243
  # Find out which ABI we are using.
7244
  echo 'int i;' > conftest.$ac_ext
7245
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7246
  (eval $ac_compile) 2>&5
7247
  ac_status=$?
7248
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249
  (exit $ac_status); }; then
7250
    case `/usr/bin/file conftest.o` in
7251
    *64-bit*)
7252
      case $lt_cv_prog_gnu_ld in
7253
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7254
      *)
7255
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7256
          LD="${LD-ld} -64"
7257
        fi
7258
        ;;
7259
      esac
7260
      ;;
7261
    esac
7262
  fi
7263
  rm -rf conftest*
7264
  ;;
7265
esac
7266
 
7267
need_locks="$enable_libtool_lock"
7268
 
7269
 
7270
  case $host_os in
7271
    rhapsody* | darwin*)
7272
    if test -n "$ac_tool_prefix"; then
7273
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7274
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7275
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7276
$as_echo_n "checking for $ac_word... " >&6; }
7277
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7278
  $as_echo_n "(cached) " >&6
7279
else
7280
  if test -n "$DSYMUTIL"; then
7281
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7282
else
7283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284
for as_dir in $PATH
7285
do
7286
  IFS=$as_save_IFS
7287
  test -z "$as_dir" && as_dir=.
7288
  for ac_exec_ext in '' $ac_executable_extensions; do
7289
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7290
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7291
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7292
    break 2
7293
  fi
7294
done
7295
done
7296
IFS=$as_save_IFS
7297
 
7298
fi
7299
fi
7300
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7301
if test -n "$DSYMUTIL"; then
7302
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7303
$as_echo "$DSYMUTIL" >&6; }
7304
else
7305
  { $as_echo "$as_me:$LINENO: result: no" >&5
7306
$as_echo "no" >&6; }
7307
fi
7308
 
7309
 
7310
fi
7311
if test -z "$ac_cv_prog_DSYMUTIL"; then
7312
  ac_ct_DSYMUTIL=$DSYMUTIL
7313
  # Extract the first word of "dsymutil", so it can be a program name with args.
7314
set dummy dsymutil; ac_word=$2
7315
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7316
$as_echo_n "checking for $ac_word... " >&6; }
7317
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7318
  $as_echo_n "(cached) " >&6
7319
else
7320
  if test -n "$ac_ct_DSYMUTIL"; then
7321
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7322
else
7323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324
for as_dir in $PATH
7325
do
7326
  IFS=$as_save_IFS
7327
  test -z "$as_dir" && as_dir=.
7328
  for ac_exec_ext in '' $ac_executable_extensions; do
7329
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7330
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7331
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7332
    break 2
7333
  fi
7334
done
7335
done
7336
IFS=$as_save_IFS
7337
 
7338
fi
7339
fi
7340
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7341
if test -n "$ac_ct_DSYMUTIL"; then
7342
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7343
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7344
else
7345
  { $as_echo "$as_me:$LINENO: result: no" >&5
7346
$as_echo "no" >&6; }
7347
fi
7348
 
7349
  if test "x$ac_ct_DSYMUTIL" = x; then
7350
    DSYMUTIL=":"
7351
  else
7352
    case $cross_compiling:$ac_tool_warned in
7353
yes:)
7354
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7355
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7356
ac_tool_warned=yes ;;
7357
esac
7358
    DSYMUTIL=$ac_ct_DSYMUTIL
7359
  fi
7360
else
7361
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7362
fi
7363
 
7364
    if test -n "$ac_tool_prefix"; then
7365
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7366
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7367
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7368
$as_echo_n "checking for $ac_word... " >&6; }
7369
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7370
  $as_echo_n "(cached) " >&6
7371
else
7372
  if test -n "$NMEDIT"; then
7373
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7374
else
7375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7376
for as_dir in $PATH
7377
do
7378
  IFS=$as_save_IFS
7379
  test -z "$as_dir" && as_dir=.
7380
  for ac_exec_ext in '' $ac_executable_extensions; do
7381
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7382
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7383
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7384
    break 2
7385
  fi
7386
done
7387
done
7388
IFS=$as_save_IFS
7389
 
7390
fi
7391
fi
7392
NMEDIT=$ac_cv_prog_NMEDIT
7393
if test -n "$NMEDIT"; then
7394
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7395
$as_echo "$NMEDIT" >&6; }
7396
else
7397
  { $as_echo "$as_me:$LINENO: result: no" >&5
7398
$as_echo "no" >&6; }
7399
fi
7400
 
7401
 
7402
fi
7403
if test -z "$ac_cv_prog_NMEDIT"; then
7404
  ac_ct_NMEDIT=$NMEDIT
7405
  # Extract the first word of "nmedit", so it can be a program name with args.
7406
set dummy nmedit; ac_word=$2
7407
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7408
$as_echo_n "checking for $ac_word... " >&6; }
7409
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7410
  $as_echo_n "(cached) " >&6
7411
else
7412
  if test -n "$ac_ct_NMEDIT"; then
7413
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7414
else
7415
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7416
for as_dir in $PATH
7417
do
7418
  IFS=$as_save_IFS
7419
  test -z "$as_dir" && as_dir=.
7420
  for ac_exec_ext in '' $ac_executable_extensions; do
7421
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7422
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7423
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7424
    break 2
7425
  fi
7426
done
7427
done
7428
IFS=$as_save_IFS
7429
 
7430
fi
7431
fi
7432
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7433
if test -n "$ac_ct_NMEDIT"; then
7434
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7435
$as_echo "$ac_ct_NMEDIT" >&6; }
7436
else
7437
  { $as_echo "$as_me:$LINENO: result: no" >&5
7438
$as_echo "no" >&6; }
7439
fi
7440
 
7441
  if test "x$ac_ct_NMEDIT" = x; then
7442
    NMEDIT=":"
7443
  else
7444
    case $cross_compiling:$ac_tool_warned in
7445
yes:)
7446
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7447
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7448
ac_tool_warned=yes ;;
7449
esac
7450
    NMEDIT=$ac_ct_NMEDIT
7451
  fi
7452
else
7453
  NMEDIT="$ac_cv_prog_NMEDIT"
7454
fi
7455
 
7456
    if test -n "$ac_tool_prefix"; then
7457
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7458
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7459
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7460
$as_echo_n "checking for $ac_word... " >&6; }
7461
if test "${ac_cv_prog_LIPO+set}" = set; then
7462
  $as_echo_n "(cached) " >&6
7463
else
7464
  if test -n "$LIPO"; then
7465
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7466
else
7467
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468
for as_dir in $PATH
7469
do
7470
  IFS=$as_save_IFS
7471
  test -z "$as_dir" && as_dir=.
7472
  for ac_exec_ext in '' $ac_executable_extensions; do
7473
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7474
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7475
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7476
    break 2
7477
  fi
7478
done
7479
done
7480
IFS=$as_save_IFS
7481
 
7482
fi
7483
fi
7484
LIPO=$ac_cv_prog_LIPO
7485
if test -n "$LIPO"; then
7486
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7487
$as_echo "$LIPO" >&6; }
7488
else
7489
  { $as_echo "$as_me:$LINENO: result: no" >&5
7490
$as_echo "no" >&6; }
7491
fi
7492
 
7493
 
7494
fi
7495
if test -z "$ac_cv_prog_LIPO"; then
7496
  ac_ct_LIPO=$LIPO
7497
  # Extract the first word of "lipo", so it can be a program name with args.
7498
set dummy lipo; ac_word=$2
7499
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7500
$as_echo_n "checking for $ac_word... " >&6; }
7501
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7502
  $as_echo_n "(cached) " >&6
7503
else
7504
  if test -n "$ac_ct_LIPO"; then
7505
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7506
else
7507
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508
for as_dir in $PATH
7509
do
7510
  IFS=$as_save_IFS
7511
  test -z "$as_dir" && as_dir=.
7512
  for ac_exec_ext in '' $ac_executable_extensions; do
7513
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7514
    ac_cv_prog_ac_ct_LIPO="lipo"
7515
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7516
    break 2
7517
  fi
7518
done
7519
done
7520
IFS=$as_save_IFS
7521
 
7522
fi
7523
fi
7524
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7525
if test -n "$ac_ct_LIPO"; then
7526
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7527
$as_echo "$ac_ct_LIPO" >&6; }
7528
else
7529
  { $as_echo "$as_me:$LINENO: result: no" >&5
7530
$as_echo "no" >&6; }
7531
fi
7532
 
7533
  if test "x$ac_ct_LIPO" = x; then
7534
    LIPO=":"
7535
  else
7536
    case $cross_compiling:$ac_tool_warned in
7537
yes:)
7538
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7539
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7540
ac_tool_warned=yes ;;
7541
esac
7542
    LIPO=$ac_ct_LIPO
7543
  fi
7544
else
7545
  LIPO="$ac_cv_prog_LIPO"
7546
fi
7547
 
7548
    if test -n "$ac_tool_prefix"; then
7549
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7550
set dummy ${ac_tool_prefix}otool; ac_word=$2
7551
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7552
$as_echo_n "checking for $ac_word... " >&6; }
7553
if test "${ac_cv_prog_OTOOL+set}" = set; then
7554
  $as_echo_n "(cached) " >&6
7555
else
7556
  if test -n "$OTOOL"; then
7557
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7558
else
7559
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560
for as_dir in $PATH
7561
do
7562
  IFS=$as_save_IFS
7563
  test -z "$as_dir" && as_dir=.
7564
  for ac_exec_ext in '' $ac_executable_extensions; do
7565
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7566
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7567
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7568
    break 2
7569
  fi
7570
done
7571
done
7572
IFS=$as_save_IFS
7573
 
7574
fi
7575
fi
7576
OTOOL=$ac_cv_prog_OTOOL
7577
if test -n "$OTOOL"; then
7578
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7579
$as_echo "$OTOOL" >&6; }
7580
else
7581
  { $as_echo "$as_me:$LINENO: result: no" >&5
7582
$as_echo "no" >&6; }
7583
fi
7584
 
7585
 
7586
fi
7587
if test -z "$ac_cv_prog_OTOOL"; then
7588
  ac_ct_OTOOL=$OTOOL
7589
  # Extract the first word of "otool", so it can be a program name with args.
7590
set dummy otool; ac_word=$2
7591
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7592
$as_echo_n "checking for $ac_word... " >&6; }
7593
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7594
  $as_echo_n "(cached) " >&6
7595
else
7596
  if test -n "$ac_ct_OTOOL"; then
7597
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7598
else
7599
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600
for as_dir in $PATH
7601
do
7602
  IFS=$as_save_IFS
7603
  test -z "$as_dir" && as_dir=.
7604
  for ac_exec_ext in '' $ac_executable_extensions; do
7605
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7606
    ac_cv_prog_ac_ct_OTOOL="otool"
7607
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7608
    break 2
7609
  fi
7610
done
7611
done
7612
IFS=$as_save_IFS
7613
 
7614
fi
7615
fi
7616
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7617
if test -n "$ac_ct_OTOOL"; then
7618
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7619
$as_echo "$ac_ct_OTOOL" >&6; }
7620
else
7621
  { $as_echo "$as_me:$LINENO: result: no" >&5
7622
$as_echo "no" >&6; }
7623
fi
7624
 
7625
  if test "x$ac_ct_OTOOL" = x; then
7626
    OTOOL=":"
7627
  else
7628
    case $cross_compiling:$ac_tool_warned in
7629
yes:)
7630
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7631
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7632
ac_tool_warned=yes ;;
7633
esac
7634
    OTOOL=$ac_ct_OTOOL
7635
  fi
7636
else
7637
  OTOOL="$ac_cv_prog_OTOOL"
7638
fi
7639
 
7640
    if test -n "$ac_tool_prefix"; then
7641
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7642
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7643
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7644
$as_echo_n "checking for $ac_word... " >&6; }
7645
if test "${ac_cv_prog_OTOOL64+set}" = set; then
7646
  $as_echo_n "(cached) " >&6
7647
else
7648
  if test -n "$OTOOL64"; then
7649
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7650
else
7651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652
for as_dir in $PATH
7653
do
7654
  IFS=$as_save_IFS
7655
  test -z "$as_dir" && as_dir=.
7656
  for ac_exec_ext in '' $ac_executable_extensions; do
7657
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7658
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7659
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7660
    break 2
7661
  fi
7662
done
7663
done
7664
IFS=$as_save_IFS
7665
 
7666
fi
7667
fi
7668
OTOOL64=$ac_cv_prog_OTOOL64
7669
if test -n "$OTOOL64"; then
7670
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7671
$as_echo "$OTOOL64" >&6; }
7672
else
7673
  { $as_echo "$as_me:$LINENO: result: no" >&5
7674
$as_echo "no" >&6; }
7675
fi
7676
 
7677
 
7678
fi
7679
if test -z "$ac_cv_prog_OTOOL64"; then
7680
  ac_ct_OTOOL64=$OTOOL64
7681
  # Extract the first word of "otool64", so it can be a program name with args.
7682
set dummy otool64; ac_word=$2
7683
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7684
$as_echo_n "checking for $ac_word... " >&6; }
7685
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7686
  $as_echo_n "(cached) " >&6
7687
else
7688
  if test -n "$ac_ct_OTOOL64"; then
7689
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7690
else
7691
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692
for as_dir in $PATH
7693
do
7694
  IFS=$as_save_IFS
7695
  test -z "$as_dir" && as_dir=.
7696
  for ac_exec_ext in '' $ac_executable_extensions; do
7697
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7698
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7699
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7700
    break 2
7701
  fi
7702
done
7703
done
7704
IFS=$as_save_IFS
7705
 
7706
fi
7707
fi
7708
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7709
if test -n "$ac_ct_OTOOL64"; then
7710
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7711
$as_echo "$ac_ct_OTOOL64" >&6; }
7712
else
7713
  { $as_echo "$as_me:$LINENO: result: no" >&5
7714
$as_echo "no" >&6; }
7715
fi
7716
 
7717
  if test "x$ac_ct_OTOOL64" = x; then
7718
    OTOOL64=":"
7719
  else
7720
    case $cross_compiling:$ac_tool_warned in
7721
yes:)
7722
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7723
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7724
ac_tool_warned=yes ;;
7725
esac
7726
    OTOOL64=$ac_ct_OTOOL64
7727
  fi
7728
else
7729
  OTOOL64="$ac_cv_prog_OTOOL64"
7730
fi
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
 
7757
 
7758
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7759
$as_echo_n "checking for -single_module linker flag... " >&6; }
7760
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7761
  $as_echo_n "(cached) " >&6
7762
else
7763
  lt_cv_apple_cc_single_mod=no
7764
      if test -z "${LT_MULTI_MODULE}"; then
7765
        # By default we will add the -single_module flag. You can override
7766
        # by either setting the environment variable LT_MULTI_MODULE
7767
        # non-empty at configure time, or by adding -multi_module to the
7768
        # link flags.
7769
        rm -rf libconftest.dylib*
7770
        echo "int foo(void){return 1;}" > conftest.c
7771
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7772
-dynamiclib -Wl,-single_module conftest.c" >&5
7773
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7774
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7775
        _lt_result=$?
7776
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7777
          lt_cv_apple_cc_single_mod=yes
7778
        else
7779
          cat conftest.err >&5
7780
        fi
7781
        rm -rf libconftest.dylib*
7782
        rm -f conftest.*
7783
      fi
7784
fi
7785
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7786
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7787
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7788
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7789
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7790
  $as_echo_n "(cached) " >&6
7791
else
7792
  lt_cv_ld_exported_symbols_list=no
7793
      save_LDFLAGS=$LDFLAGS
7794
      echo "_main" > conftest.sym
7795
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7796
      cat >conftest.$ac_ext <<_ACEOF
7797
/* confdefs.h.  */
7798
_ACEOF
7799
cat confdefs.h >>conftest.$ac_ext
7800
cat >>conftest.$ac_ext <<_ACEOF
7801
/* end confdefs.h.  */
7802
 
7803
int
7804
main ()
7805
{
7806
 
7807
  ;
7808
  return 0;
7809
}
7810
_ACEOF
7811
rm -f conftest.$ac_objext conftest$ac_exeext
7812
if { (ac_try="$ac_link"
7813
case "(($ac_try" in
7814
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7815
  *) ac_try_echo=$ac_try;;
7816
esac
7817
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7818
$as_echo "$ac_try_echo") >&5
7819
  (eval "$ac_link") 2>conftest.er1
7820
  ac_status=$?
7821
  grep -v '^ *+' conftest.er1 >conftest.err
7822
  rm -f conftest.er1
7823
  cat conftest.err >&5
7824
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825
  (exit $ac_status); } && {
7826
         test -z "$ac_c_werror_flag" ||
7827
         test ! -s conftest.err
7828
       } && test -s conftest$ac_exeext && {
7829
         test "$cross_compiling" = yes ||
7830
         $as_test_x conftest$ac_exeext
7831
       }; then
7832
  lt_cv_ld_exported_symbols_list=yes
7833
else
7834
  $as_echo "$as_me: failed program was:" >&5
7835
sed 's/^/| /' conftest.$ac_ext >&5
7836
 
7837
        lt_cv_ld_exported_symbols_list=no
7838
fi
7839
 
7840
rm -rf conftest.dSYM
7841
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7842
      conftest$ac_exeext conftest.$ac_ext
7843
        LDFLAGS="$save_LDFLAGS"
7844
 
7845
fi
7846
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7847
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7848
    case $host_os in
7849
    rhapsody* | darwin1.[012])
7850
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7851
    darwin1.*)
7852
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7853
    darwin*) # darwin 5.x on
7854
      # if running on 10.5 or later, the deployment target defaults
7855
      # to the OS version, if on x86, and 10.4, the deployment
7856
      # target defaults to 10.4. Don't you love it?
7857
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7858
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7859
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7860
        10.[012]*)
7861
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7862
        10.*)
7863
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7864
      esac
7865
    ;;
7866
  esac
7867
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7868
      _lt_dar_single_mod='$single_module'
7869
    fi
7870
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7871
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7872
    else
7873
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7874
    fi
7875
    if test "$DSYMUTIL" != ":"; then
7876
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7877
    else
7878
      _lt_dsymutil=
7879
    fi
7880
    ;;
7881
  esac
7882
 
7883
ac_ext=c
7884
ac_cpp='$CPP $CPPFLAGS'
7885
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7886
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7887
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7888
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7889
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7890
# On Suns, sometimes $CPP names a directory.
7891
if test -n "$CPP" && test -d "$CPP"; then
7892
  CPP=
7893
fi
7894
if test -z "$CPP"; then
7895
  if test "${ac_cv_prog_CPP+set}" = set; then
7896
  $as_echo_n "(cached) " >&6
7897
else
7898
      # Double quotes because CPP needs to be expanded
7899
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7900
    do
7901
      ac_preproc_ok=false
7902
for ac_c_preproc_warn_flag in '' yes
7903
do
7904
  # Use a header file that comes with gcc, so configuring glibc
7905
  # with a fresh cross-compiler works.
7906
  # Prefer  to  if __STDC__ is defined, since
7907
  #  exists even on freestanding compilers.
7908
  # On the NeXT, cc -E runs the code through the compiler's parser,
7909
  # not just through cpp. "Syntax error" is here to catch this case.
7910
  cat >conftest.$ac_ext <<_ACEOF
7911
/* confdefs.h.  */
7912
_ACEOF
7913
cat confdefs.h >>conftest.$ac_ext
7914
cat >>conftest.$ac_ext <<_ACEOF
7915
/* end confdefs.h.  */
7916
#ifdef __STDC__
7917
# include 
7918
#else
7919
# include 
7920
#endif
7921
                     Syntax error
7922
_ACEOF
7923
if { (ac_try="$ac_cpp conftest.$ac_ext"
7924
case "(($ac_try" in
7925
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7926
  *) ac_try_echo=$ac_try;;
7927
esac
7928
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7929
$as_echo "$ac_try_echo") >&5
7930
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7931
  ac_status=$?
7932
  grep -v '^ *+' conftest.er1 >conftest.err
7933
  rm -f conftest.er1
7934
  cat conftest.err >&5
7935
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936
  (exit $ac_status); } >/dev/null && {
7937
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7938
         test ! -s conftest.err
7939
       }; then
7940
  :
7941
else
7942
  $as_echo "$as_me: failed program was:" >&5
7943
sed 's/^/| /' conftest.$ac_ext >&5
7944
 
7945
  # Broken: fails on valid input.
7946
continue
7947
fi
7948
 
7949
rm -f conftest.err conftest.$ac_ext
7950
 
7951
  # OK, works on sane cases.  Now check whether nonexistent headers
7952
  # can be detected and how.
7953
  cat >conftest.$ac_ext <<_ACEOF
7954
/* confdefs.h.  */
7955
_ACEOF
7956
cat confdefs.h >>conftest.$ac_ext
7957
cat >>conftest.$ac_ext <<_ACEOF
7958
/* end confdefs.h.  */
7959
#include 
7960
_ACEOF
7961
if { (ac_try="$ac_cpp conftest.$ac_ext"
7962
case "(($ac_try" in
7963
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7964
  *) ac_try_echo=$ac_try;;
7965
esac
7966
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7967
$as_echo "$ac_try_echo") >&5
7968
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7969
  ac_status=$?
7970
  grep -v '^ *+' conftest.er1 >conftest.err
7971
  rm -f conftest.er1
7972
  cat conftest.err >&5
7973
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974
  (exit $ac_status); } >/dev/null && {
7975
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7976
         test ! -s conftest.err
7977
       }; then
7978
  # Broken: success on invalid input.
7979
continue
7980
else
7981
  $as_echo "$as_me: failed program was:" >&5
7982
sed 's/^/| /' conftest.$ac_ext >&5
7983
 
7984
  # Passes both tests.
7985
ac_preproc_ok=:
7986
break
7987
fi
7988
 
7989
rm -f conftest.err conftest.$ac_ext
7990
 
7991
done
7992
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7993
rm -f conftest.err conftest.$ac_ext
7994
if $ac_preproc_ok; then
7995
  break
7996
fi
7997
 
7998
    done
7999
    ac_cv_prog_CPP=$CPP
8000
 
8001
fi
8002
  CPP=$ac_cv_prog_CPP
8003
else
8004
  ac_cv_prog_CPP=$CPP
8005
fi
8006
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
8007
$as_echo "$CPP" >&6; }
8008
ac_preproc_ok=false
8009
for ac_c_preproc_warn_flag in '' yes
8010
do
8011
  # Use a header file that comes with gcc, so configuring glibc
8012
  # with a fresh cross-compiler works.
8013
  # Prefer  to  if __STDC__ is defined, since
8014
  #  exists even on freestanding compilers.
8015
  # On the NeXT, cc -E runs the code through the compiler's parser,
8016
  # not just through cpp. "Syntax error" is here to catch this case.
8017
  cat >conftest.$ac_ext <<_ACEOF
8018
/* confdefs.h.  */
8019
_ACEOF
8020
cat confdefs.h >>conftest.$ac_ext
8021
cat >>conftest.$ac_ext <<_ACEOF
8022
/* end confdefs.h.  */
8023
#ifdef __STDC__
8024
# include 
8025
#else
8026
# include 
8027
#endif
8028
                     Syntax error
8029
_ACEOF
8030
if { (ac_try="$ac_cpp conftest.$ac_ext"
8031
case "(($ac_try" in
8032
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8033
  *) ac_try_echo=$ac_try;;
8034
esac
8035
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8036
$as_echo "$ac_try_echo") >&5
8037
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8038
  ac_status=$?
8039
  grep -v '^ *+' conftest.er1 >conftest.err
8040
  rm -f conftest.er1
8041
  cat conftest.err >&5
8042
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8043
  (exit $ac_status); } >/dev/null && {
8044
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8045
         test ! -s conftest.err
8046
       }; then
8047
  :
8048
else
8049
  $as_echo "$as_me: failed program was:" >&5
8050
sed 's/^/| /' conftest.$ac_ext >&5
8051
 
8052
  # Broken: fails on valid input.
8053
continue
8054
fi
8055
 
8056
rm -f conftest.err conftest.$ac_ext
8057
 
8058
  # OK, works on sane cases.  Now check whether nonexistent headers
8059
  # can be detected and how.
8060
  cat >conftest.$ac_ext <<_ACEOF
8061
/* confdefs.h.  */
8062
_ACEOF
8063
cat confdefs.h >>conftest.$ac_ext
8064
cat >>conftest.$ac_ext <<_ACEOF
8065
/* end confdefs.h.  */
8066
#include 
8067
_ACEOF
8068
if { (ac_try="$ac_cpp conftest.$ac_ext"
8069
case "(($ac_try" in
8070
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8071
  *) ac_try_echo=$ac_try;;
8072
esac
8073
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8074
$as_echo "$ac_try_echo") >&5
8075
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8076
  ac_status=$?
8077
  grep -v '^ *+' conftest.er1 >conftest.err
8078
  rm -f conftest.er1
8079
  cat conftest.err >&5
8080
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081
  (exit $ac_status); } >/dev/null && {
8082
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8083
         test ! -s conftest.err
8084
       }; then
8085
  # Broken: success on invalid input.
8086
continue
8087
else
8088
  $as_echo "$as_me: failed program was:" >&5
8089
sed 's/^/| /' conftest.$ac_ext >&5
8090
 
8091
  # Passes both tests.
8092
ac_preproc_ok=:
8093
break
8094
fi
8095
 
8096
rm -f conftest.err conftest.$ac_ext
8097
 
8098
done
8099
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8100
rm -f conftest.err conftest.$ac_ext
8101
if $ac_preproc_ok; then
8102
  :
8103
else
8104
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8105
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8106
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
8107
See \`config.log' for more details." >&5
8108
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
8109
See \`config.log' for more details." >&2;}
8110
   { (exit 1); exit 1; }; }; }
8111
fi
8112
 
8113
ac_ext=c
8114
ac_cpp='$CPP $CPPFLAGS'
8115
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8116
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8117
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8118
 
8119
 
8120
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8121
$as_echo_n "checking for ANSI C header files... " >&6; }
8122
if test "${ac_cv_header_stdc+set}" = set; then
8123
  $as_echo_n "(cached) " >&6
8124
else
8125
  cat >conftest.$ac_ext <<_ACEOF
8126
/* confdefs.h.  */
8127
_ACEOF
8128
cat confdefs.h >>conftest.$ac_ext
8129
cat >>conftest.$ac_ext <<_ACEOF
8130
/* end confdefs.h.  */
8131
#include 
8132
#include 
8133
#include 
8134
#include 
8135
 
8136
int
8137
main ()
8138
{
8139
 
8140
  ;
8141
  return 0;
8142
}
8143
_ACEOF
8144
rm -f conftest.$ac_objext
8145
if { (ac_try="$ac_compile"
8146
case "(($ac_try" in
8147
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8148
  *) ac_try_echo=$ac_try;;
8149
esac
8150
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8151
$as_echo "$ac_try_echo") >&5
8152
  (eval "$ac_compile") 2>conftest.er1
8153
  ac_status=$?
8154
  grep -v '^ *+' conftest.er1 >conftest.err
8155
  rm -f conftest.er1
8156
  cat conftest.err >&5
8157
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158
  (exit $ac_status); } && {
8159
         test -z "$ac_c_werror_flag" ||
8160
         test ! -s conftest.err
8161
       } && test -s conftest.$ac_objext; then
8162
  ac_cv_header_stdc=yes
8163
else
8164
  $as_echo "$as_me: failed program was:" >&5
8165
sed 's/^/| /' conftest.$ac_ext >&5
8166
 
8167
        ac_cv_header_stdc=no
8168
fi
8169
 
8170
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8171
 
8172
if test $ac_cv_header_stdc = yes; then
8173
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8174
  cat >conftest.$ac_ext <<_ACEOF
8175
/* confdefs.h.  */
8176
_ACEOF
8177
cat confdefs.h >>conftest.$ac_ext
8178
cat >>conftest.$ac_ext <<_ACEOF
8179
/* end confdefs.h.  */
8180
#include 
8181
 
8182
_ACEOF
8183
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8184
  $EGREP "memchr" >/dev/null 2>&1; then
8185
  :
8186
else
8187
  ac_cv_header_stdc=no
8188
fi
8189
rm -f conftest*
8190
 
8191
fi
8192
 
8193
if test $ac_cv_header_stdc = yes; then
8194
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8195
  cat >conftest.$ac_ext <<_ACEOF
8196
/* confdefs.h.  */
8197
_ACEOF
8198
cat confdefs.h >>conftest.$ac_ext
8199
cat >>conftest.$ac_ext <<_ACEOF
8200
/* end confdefs.h.  */
8201
#include 
8202
 
8203
_ACEOF
8204
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8205
  $EGREP "free" >/dev/null 2>&1; then
8206
  :
8207
else
8208
  ac_cv_header_stdc=no
8209
fi
8210
rm -f conftest*
8211
 
8212
fi
8213
 
8214
if test $ac_cv_header_stdc = yes; then
8215
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8216
  if test "$cross_compiling" = yes; then
8217
  :
8218
else
8219
  cat >conftest.$ac_ext <<_ACEOF
8220
/* confdefs.h.  */
8221
_ACEOF
8222
cat confdefs.h >>conftest.$ac_ext
8223
cat >>conftest.$ac_ext <<_ACEOF
8224
/* end confdefs.h.  */
8225
#include 
8226
#include 
8227
#if ((' ' & 0x0FF) == 0x020)
8228
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8229
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8230
#else
8231
# define ISLOWER(c) \
8232
                   (('a' <= (c) && (c) <= 'i') \
8233
                     || ('j' <= (c) && (c) <= 'r') \
8234
                     || ('s' <= (c) && (c) <= 'z'))
8235
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8236
#endif
8237
 
8238
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8239
int
8240
main ()
8241
{
8242
  int i;
8243
  for (i = 0; i < 256; i++)
8244
    if (XOR (islower (i), ISLOWER (i))
8245
        || toupper (i) != TOUPPER (i))
8246
      return 2;
8247
  return 0;
8248
}
8249
_ACEOF
8250
rm -f conftest$ac_exeext
8251
if { (ac_try="$ac_link"
8252
case "(($ac_try" in
8253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8254
  *) ac_try_echo=$ac_try;;
8255
esac
8256
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8257
$as_echo "$ac_try_echo") >&5
8258
  (eval "$ac_link") 2>&5
8259
  ac_status=$?
8260
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8262
  { (case "(($ac_try" in
8263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8264
  *) ac_try_echo=$ac_try;;
8265
esac
8266
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8267
$as_echo "$ac_try_echo") >&5
8268
  (eval "$ac_try") 2>&5
8269
  ac_status=$?
8270
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271
  (exit $ac_status); }; }; then
8272
  :
8273
else
8274
  $as_echo "$as_me: program exited with status $ac_status" >&5
8275
$as_echo "$as_me: failed program was:" >&5
8276
sed 's/^/| /' conftest.$ac_ext >&5
8277
 
8278
( exit $ac_status )
8279
ac_cv_header_stdc=no
8280
fi
8281
rm -rf conftest.dSYM
8282
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8283
fi
8284
 
8285
 
8286
fi
8287
fi
8288
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8289
$as_echo "$ac_cv_header_stdc" >&6; }
8290
if test $ac_cv_header_stdc = yes; then
8291
 
8292
cat >>confdefs.h <<\_ACEOF
8293
#define STDC_HEADERS 1
8294
_ACEOF
8295
 
8296
fi
8297
 
8298
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8299
 
8300
 
8301
 
8302
 
8303
 
8304
 
8305
 
8306
 
8307
 
8308
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8309
                  inttypes.h stdint.h unistd.h
8310
do
8311
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8312
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8313
$as_echo_n "checking for $ac_header... " >&6; }
8314
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8315
  $as_echo_n "(cached) " >&6
8316
else
8317
  cat >conftest.$ac_ext <<_ACEOF
8318
/* confdefs.h.  */
8319
_ACEOF
8320
cat confdefs.h >>conftest.$ac_ext
8321
cat >>conftest.$ac_ext <<_ACEOF
8322
/* end confdefs.h.  */
8323
$ac_includes_default
8324
 
8325
#include <$ac_header>
8326
_ACEOF
8327
rm -f conftest.$ac_objext
8328
if { (ac_try="$ac_compile"
8329
case "(($ac_try" in
8330
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8331
  *) ac_try_echo=$ac_try;;
8332
esac
8333
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8334
$as_echo "$ac_try_echo") >&5
8335
  (eval "$ac_compile") 2>conftest.er1
8336
  ac_status=$?
8337
  grep -v '^ *+' conftest.er1 >conftest.err
8338
  rm -f conftest.er1
8339
  cat conftest.err >&5
8340
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341
  (exit $ac_status); } && {
8342
         test -z "$ac_c_werror_flag" ||
8343
         test ! -s conftest.err
8344
       } && test -s conftest.$ac_objext; then
8345
  eval "$as_ac_Header=yes"
8346
else
8347
  $as_echo "$as_me: failed program was:" >&5
8348
sed 's/^/| /' conftest.$ac_ext >&5
8349
 
8350
        eval "$as_ac_Header=no"
8351
fi
8352
 
8353
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8354
fi
8355
ac_res=`eval 'as_val=${'$as_ac_Header'}
8356
                 $as_echo "$as_val"'`
8357
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8358
$as_echo "$ac_res" >&6; }
8359
as_val=`eval 'as_val=${'$as_ac_Header'}
8360
                 $as_echo "$as_val"'`
8361
   if test "x$as_val" = x""yes; then
8362
  cat >>confdefs.h <<_ACEOF
8363
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8364
_ACEOF
8365
 
8366
fi
8367
 
8368
done
8369
 
8370
 
8371
 
8372
for ac_header in dlfcn.h
8373
do
8374
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8375
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8376
$as_echo_n "checking for $ac_header... " >&6; }
8377
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8378
  $as_echo_n "(cached) " >&6
8379
else
8380
  cat >conftest.$ac_ext <<_ACEOF
8381
/* confdefs.h.  */
8382
_ACEOF
8383
cat confdefs.h >>conftest.$ac_ext
8384
cat >>conftest.$ac_ext <<_ACEOF
8385
/* end confdefs.h.  */
8386
$ac_includes_default
8387
 
8388
#include <$ac_header>
8389
_ACEOF
8390
rm -f conftest.$ac_objext
8391
if { (ac_try="$ac_compile"
8392
case "(($ac_try" in
8393
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8394
  *) ac_try_echo=$ac_try;;
8395
esac
8396
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8397
$as_echo "$ac_try_echo") >&5
8398
  (eval "$ac_compile") 2>conftest.er1
8399
  ac_status=$?
8400
  grep -v '^ *+' conftest.er1 >conftest.err
8401
  rm -f conftest.er1
8402
  cat conftest.err >&5
8403
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404
  (exit $ac_status); } && {
8405
         test -z "$ac_c_werror_flag" ||
8406
         test ! -s conftest.err
8407
       } && test -s conftest.$ac_objext; then
8408
  eval "$as_ac_Header=yes"
8409
else
8410
  $as_echo "$as_me: failed program was:" >&5
8411
sed 's/^/| /' conftest.$ac_ext >&5
8412
 
8413
        eval "$as_ac_Header=no"
8414
fi
8415
 
8416
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8417
fi
8418
ac_res=`eval 'as_val=${'$as_ac_Header'}
8419
                 $as_echo "$as_val"'`
8420
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8421
$as_echo "$ac_res" >&6; }
8422
as_val=`eval 'as_val=${'$as_ac_Header'}
8423
                 $as_echo "$as_val"'`
8424
   if test "x$as_val" = x""yes; then
8425
  cat >>confdefs.h <<_ACEOF
8426
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8427
_ACEOF
8428
 
8429
fi
8430
 
8431
done
8432
 
8433
 
8434
 
8435
# Set options
8436
 
8437
 
8438
 
8439
        enable_dlopen=no
8440
 
8441
 
8442
 
8443
            # Check whether --enable-shared was given.
8444
if test "${enable_shared+set}" = set; then
8445
  enableval=$enable_shared; p=${PACKAGE-default}
8446
    case $enableval in
8447
    yes) enable_shared=yes ;;
8448
    no) enable_shared=no ;;
8449
    *)
8450
      enable_shared=no
8451
      # Look at the argument we got.  We use all the common list separators.
8452
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8453
      for pkg in $enableval; do
8454
        IFS="$lt_save_ifs"
8455
        if test "X$pkg" = "X$p"; then
8456
          enable_shared=yes
8457
        fi
8458
      done
8459
      IFS="$lt_save_ifs"
8460
      ;;
8461
    esac
8462
else
8463
  enable_shared=yes
8464
fi
8465
 
8466
 
8467
 
8468
 
8469
 
8470
 
8471
 
8472
 
8473
 
8474
  # Check whether --enable-static was given.
8475
if test "${enable_static+set}" = set; then
8476
  enableval=$enable_static; p=${PACKAGE-default}
8477
    case $enableval in
8478
    yes) enable_static=yes ;;
8479
    no) enable_static=no ;;
8480
    *)
8481
     enable_static=no
8482
      # Look at the argument we got.  We use all the common list separators.
8483
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8484
      for pkg in $enableval; do
8485
        IFS="$lt_save_ifs"
8486
        if test "X$pkg" = "X$p"; then
8487
          enable_static=yes
8488
        fi
8489
      done
8490
      IFS="$lt_save_ifs"
8491
      ;;
8492
    esac
8493
else
8494
  enable_static=yes
8495
fi
8496
 
8497
 
8498
 
8499
 
8500
 
8501
 
8502
 
8503
 
8504
 
8505
 
8506
# Check whether --with-pic was given.
8507
if test "${with_pic+set}" = set; then
8508
  withval=$with_pic; pic_mode="$withval"
8509
else
8510
  pic_mode=default
8511
fi
8512
 
8513
 
8514
test -z "$pic_mode" && pic_mode=default
8515
 
8516
 
8517
 
8518
 
8519
 
8520
 
8521
 
8522
  # Check whether --enable-fast-install was given.
8523
if test "${enable_fast_install+set}" = set; then
8524
  enableval=$enable_fast_install; p=${PACKAGE-default}
8525
    case $enableval in
8526
    yes) enable_fast_install=yes ;;
8527
    no) enable_fast_install=no ;;
8528
    *)
8529
      enable_fast_install=no
8530
      # Look at the argument we got.  We use all the common list separators.
8531
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8532
      for pkg in $enableval; do
8533
        IFS="$lt_save_ifs"
8534
        if test "X$pkg" = "X$p"; then
8535
          enable_fast_install=yes
8536
        fi
8537
      done
8538
      IFS="$lt_save_ifs"
8539
      ;;
8540
    esac
8541
else
8542
  enable_fast_install=yes
8543
fi
8544
 
8545
 
8546
 
8547
 
8548
 
8549
 
8550
 
8551
 
8552
 
8553
 
8554
 
8555
# This can be used to rebuild libtool when needed
8556
LIBTOOL_DEPS="$ltmain"
8557
 
8558
# Always use our own libtool.
8559
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8560
 
8561
 
8562
 
8563
 
8564
 
8565
 
8566
 
8567
 
8568
 
8569
 
8570
 
8571
 
8572
 
8573
 
8574
 
8575
 
8576
 
8577
 
8578
 
8579
 
8580
 
8581
 
8582
 
8583
 
8584
 
8585
test -z "$LN_S" && LN_S="ln -s"
8586
 
8587
 
8588
 
8589
 
8590
 
8591
 
8592
 
8593
 
8594
 
8595
 
8596
 
8597
 
8598
 
8599
 
8600
if test -n "${ZSH_VERSION+set}" ; then
8601
   setopt NO_GLOB_SUBST
8602
fi
8603
 
8604
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
8605
$as_echo_n "checking for objdir... " >&6; }
8606
if test "${lt_cv_objdir+set}" = set; then
8607
  $as_echo_n "(cached) " >&6
8608
else
8609
  rm -f .libs 2>/dev/null
8610
mkdir .libs 2>/dev/null
8611
if test -d .libs; then
8612
  lt_cv_objdir=.libs
8613
else
8614
  # MS-DOS does not allow filenames that begin with a dot.
8615
  lt_cv_objdir=_libs
8616
fi
8617
rmdir .libs 2>/dev/null
8618
fi
8619
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8620
$as_echo "$lt_cv_objdir" >&6; }
8621
objdir=$lt_cv_objdir
8622
 
8623
 
8624
 
8625
 
8626
 
8627
cat >>confdefs.h <<_ACEOF
8628
#define LT_OBJDIR "$lt_cv_objdir/"
8629
_ACEOF
8630
 
8631
 
8632
 
8633
 
8634
 
8635
 
8636
 
8637
 
8638
 
8639
 
8640
 
8641
 
8642
 
8643
 
8644
 
8645
 
8646
 
8647
case $host_os in
8648
aix3*)
8649
  # AIX sometimes has problems with the GCC collect2 program.  For some
8650
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8651
  # vanish in a puff of smoke.
8652
  if test "X${COLLECT_NAMES+set}" != Xset; then
8653
    COLLECT_NAMES=
8654
    export COLLECT_NAMES
8655
  fi
8656
  ;;
8657
esac
8658
 
8659
# Sed substitution that helps us do robust quoting.  It backslashifies
8660
# metacharacters that are still active within double-quoted strings.
8661
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8662
 
8663
# Same as above, but do not quote variable references.
8664
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8665
 
8666
# Sed substitution to delay expansion of an escaped shell variable in a
8667
# double_quote_subst'ed string.
8668
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8669
 
8670
# Sed substitution to delay expansion of an escaped single quote.
8671
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8672
 
8673
# Sed substitution to avoid accidental globbing in evaled expressions
8674
no_glob_subst='s/\*/\\\*/g'
8675
 
8676
# Global variables:
8677
ofile=libtool
8678
can_build_shared=yes
8679
 
8680
# All known linkers require a `.a' archive for static linking (except MSVC,
8681
# which needs '.lib').
8682
libext=a
8683
 
8684
with_gnu_ld="$lt_cv_prog_gnu_ld"
8685
 
8686
old_CC="$CC"
8687
old_CFLAGS="$CFLAGS"
8688
 
8689
# Set sane defaults for various variables
8690
test -z "$CC" && CC=cc
8691
test -z "$LTCC" && LTCC=$CC
8692
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8693
test -z "$LD" && LD=ld
8694
test -z "$ac_objext" && ac_objext=o
8695
 
8696
for cc_temp in $compiler""; do
8697
  case $cc_temp in
8698
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8699
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8700
    \-*) ;;
8701
    *) break;;
8702
  esac
8703
done
8704
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8705
 
8706
 
8707
# Only perform the check for file, if the check method requires it
8708
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8709
case $deplibs_check_method in
8710
file_magic*)
8711
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8712
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8713
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8714
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8715
  $as_echo_n "(cached) " >&6
8716
else
8717
  case $MAGIC_CMD in
8718
[\\/*] |  ?:[\\/]*)
8719
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8720
  ;;
8721
*)
8722
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8723
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8724
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8725
  for ac_dir in $ac_dummy; do
8726
    IFS="$lt_save_ifs"
8727
    test -z "$ac_dir" && ac_dir=.
8728
    if test -f $ac_dir/${ac_tool_prefix}file; then
8729
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8730
      if test -n "$file_magic_test_file"; then
8731
        case $deplibs_check_method in
8732
        "file_magic "*)
8733
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8734
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8735
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8736
            $EGREP "$file_magic_regex" > /dev/null; then
8737
            :
8738
          else
8739
            cat <<_LT_EOF 1>&2
8740
 
8741
*** Warning: the command libtool uses to detect shared libraries,
8742
*** $file_magic_cmd, produces output that libtool cannot recognize.
8743
*** The result is that libtool may fail to recognize shared libraries
8744
*** as such.  This will affect the creation of libtool libraries that
8745
*** depend on shared libraries, but programs linked with such libtool
8746
*** libraries will work regardless of this problem.  Nevertheless, you
8747
*** may want to report the problem to your system manager and/or to
8748
*** bug-libtool@gnu.org
8749
 
8750
_LT_EOF
8751
          fi ;;
8752
        esac
8753
      fi
8754
      break
8755
    fi
8756
  done
8757
  IFS="$lt_save_ifs"
8758
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8759
  ;;
8760
esac
8761
fi
8762
 
8763
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8764
if test -n "$MAGIC_CMD"; then
8765
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8766
$as_echo "$MAGIC_CMD" >&6; }
8767
else
8768
  { $as_echo "$as_me:$LINENO: result: no" >&5
8769
$as_echo "no" >&6; }
8770
fi
8771
 
8772
 
8773
 
8774
 
8775
 
8776
if test -z "$lt_cv_path_MAGIC_CMD"; then
8777
  if test -n "$ac_tool_prefix"; then
8778
    { $as_echo "$as_me:$LINENO: checking for file" >&5
8779
$as_echo_n "checking for file... " >&6; }
8780
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8781
  $as_echo_n "(cached) " >&6
8782
else
8783
  case $MAGIC_CMD in
8784
[\\/*] |  ?:[\\/]*)
8785
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8786
  ;;
8787
*)
8788
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8789
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8790
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8791
  for ac_dir in $ac_dummy; do
8792
    IFS="$lt_save_ifs"
8793
    test -z "$ac_dir" && ac_dir=.
8794
    if test -f $ac_dir/file; then
8795
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8796
      if test -n "$file_magic_test_file"; then
8797
        case $deplibs_check_method in
8798
        "file_magic "*)
8799
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8800
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8801
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8802
            $EGREP "$file_magic_regex" > /dev/null; then
8803
            :
8804
          else
8805
            cat <<_LT_EOF 1>&2
8806
 
8807
*** Warning: the command libtool uses to detect shared libraries,
8808
*** $file_magic_cmd, produces output that libtool cannot recognize.
8809
*** The result is that libtool may fail to recognize shared libraries
8810
*** as such.  This will affect the creation of libtool libraries that
8811
*** depend on shared libraries, but programs linked with such libtool
8812
*** libraries will work regardless of this problem.  Nevertheless, you
8813
*** may want to report the problem to your system manager and/or to
8814
*** bug-libtool@gnu.org
8815
 
8816
_LT_EOF
8817
          fi ;;
8818
        esac
8819
      fi
8820
      break
8821
    fi
8822
  done
8823
  IFS="$lt_save_ifs"
8824
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8825
  ;;
8826
esac
8827
fi
8828
 
8829
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8830
if test -n "$MAGIC_CMD"; then
8831
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8832
$as_echo "$MAGIC_CMD" >&6; }
8833
else
8834
  { $as_echo "$as_me:$LINENO: result: no" >&5
8835
$as_echo "no" >&6; }
8836
fi
8837
 
8838
 
8839
  else
8840
    MAGIC_CMD=:
8841
  fi
8842
fi
8843
 
8844
  fi
8845
  ;;
8846
esac
8847
 
8848
# Use C for the default configuration in the libtool script
8849
 
8850
lt_save_CC="$CC"
8851
ac_ext=c
8852
ac_cpp='$CPP $CPPFLAGS'
8853
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8854
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8855
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8856
 
8857
 
8858
# Source file extension for C test sources.
8859
ac_ext=c
8860
 
8861
# Object file extension for compiled C test sources.
8862
objext=o
8863
objext=$objext
8864
 
8865
# Code to be used in simple compile tests
8866
lt_simple_compile_test_code="int some_variable = 0;"
8867
 
8868
# Code to be used in simple link tests
8869
lt_simple_link_test_code='int main(){return(0);}'
8870
 
8871
 
8872
 
8873
 
8874
 
8875
 
8876
 
8877
# If no C compiler was specified, use CC.
8878
LTCC=${LTCC-"$CC"}
8879
 
8880
# If no C compiler flags were specified, use CFLAGS.
8881
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8882
 
8883
# Allow CC to be a program name with arguments.
8884
compiler=$CC
8885
 
8886
# Save the default compiler, since it gets overwritten when the other
8887
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8888
compiler_DEFAULT=$CC
8889
 
8890
# save warnings/boilerplate of simple test code
8891
ac_outfile=conftest.$ac_objext
8892
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8893
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8894
_lt_compiler_boilerplate=`cat conftest.err`
8895
$RM conftest*
8896
 
8897
ac_outfile=conftest.$ac_objext
8898
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8899
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8900
_lt_linker_boilerplate=`cat conftest.err`
8901
$RM -r conftest*
8902
 
8903
 
8904
## CAVEAT EMPTOR:
8905
## There is no encapsulation within the following macros, do not change
8906
## the running order or otherwise move them around unless you know exactly
8907
## what you are doing...
8908
if test -n "$compiler"; then
8909
 
8910
lt_prog_compiler_no_builtin_flag=
8911
 
8912
if test "$GCC" = yes; then
8913
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8914
 
8915
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8916
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8917
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8918
  $as_echo_n "(cached) " >&6
8919
else
8920
  lt_cv_prog_compiler_rtti_exceptions=no
8921
   ac_outfile=conftest.$ac_objext
8922
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8923
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8924
   # Insert the option either (1) after the last *FLAGS variable, or
8925
   # (2) before a word containing "conftest.", or (3) at the end.
8926
   # Note that $ac_compile itself does not contain backslashes and begins
8927
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8928
   # The option is referenced via a variable to avoid confusing sed.
8929
   lt_compile=`echo "$ac_compile" | $SED \
8930
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8931
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8932
   -e 's:$: $lt_compiler_flag:'`
8933
   (eval echo "\"\$as_me:8933: $lt_compile\"" >&5)
8934
   (eval "$lt_compile" 2>conftest.err)
8935
   ac_status=$?
8936
   cat conftest.err >&5
8937
   echo "$as_me:8937: \$? = $ac_status" >&5
8938
   if (exit $ac_status) && test -s "$ac_outfile"; then
8939
     # The compiler can only warn and ignore the option if not recognized
8940
     # So say no if there are warnings other than the usual output.
8941
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8942
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8943
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8944
       lt_cv_prog_compiler_rtti_exceptions=yes
8945
     fi
8946
   fi
8947
   $RM conftest*
8948
 
8949
fi
8950
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8951
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8952
 
8953
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8954
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8955
else
8956
    :
8957
fi
8958
 
8959
fi
8960
 
8961
 
8962
 
8963
 
8964
 
8965
 
8966
  lt_prog_compiler_wl=
8967
lt_prog_compiler_pic=
8968
lt_prog_compiler_static=
8969
 
8970
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8971
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8972
 
8973
  if test "$GCC" = yes; then
8974
    lt_prog_compiler_wl='-Wl,'
8975
    lt_prog_compiler_static='-static'
8976
 
8977
    case $host_os in
8978
      aix*)
8979
      # All AIX code is PIC.
8980
      if test "$host_cpu" = ia64; then
8981
        # AIX 5 now supports IA64 processor
8982
        lt_prog_compiler_static='-Bstatic'
8983
      fi
8984
      ;;
8985
 
8986
    amigaos*)
8987
      case $host_cpu in
8988
      powerpc)
8989
            # see comment about AmigaOS4 .so support
8990
            lt_prog_compiler_pic='-fPIC'
8991
        ;;
8992
      m68k)
8993
            # FIXME: we need at least 68020 code to build shared libraries, but
8994
            # adding the `-m68020' flag to GCC prevents building anything better,
8995
            # like `-m68040'.
8996
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8997
        ;;
8998
      esac
8999
      ;;
9000
 
9001
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9002
      # PIC is the default for these OSes.
9003
      ;;
9004
 
9005
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9006
      # This hack is so that the source file can tell whether it is being
9007
      # built for inclusion in a dll (and should export symbols for example).
9008
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9009
      # (--disable-auto-import) libraries
9010
      lt_prog_compiler_pic='-DDLL_EXPORT'
9011
      ;;
9012
 
9013
    darwin* | rhapsody*)
9014
      # PIC is the default on this platform
9015
      # Common symbols not allowed in MH_DYLIB files
9016
      lt_prog_compiler_pic='-fno-common'
9017
      ;;
9018
 
9019
    hpux*)
9020
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9021
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9022
      # sets the default TLS model and affects inlining.
9023
      case $host_cpu in
9024
      hppa*64*)
9025
        # +Z the default
9026
        ;;
9027
      *)
9028
        lt_prog_compiler_pic='-fPIC'
9029
        ;;
9030
      esac
9031
      ;;
9032
 
9033
    interix[3-9]*)
9034
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9035
      # Instead, we relocate shared libraries at runtime.
9036
      ;;
9037
 
9038
    msdosdjgpp*)
9039
      # Just because we use GCC doesn't mean we suddenly get shared libraries
9040
      # on systems that don't support them.
9041
      lt_prog_compiler_can_build_shared=no
9042
      enable_shared=no
9043
      ;;
9044
 
9045
    *nto* | *qnx*)
9046
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9047
      # it will coredump.
9048
      lt_prog_compiler_pic='-fPIC -shared'
9049
      ;;
9050
 
9051
    sysv4*MP*)
9052
      if test -d /usr/nec; then
9053
        lt_prog_compiler_pic=-Kconform_pic
9054
      fi
9055
      ;;
9056
 
9057
    *)
9058
      lt_prog_compiler_pic='-fPIC'
9059
      ;;
9060
    esac
9061
  else
9062
    # PORTME Check for flag to pass linker flags through the system compiler.
9063
    case $host_os in
9064
    aix*)
9065
      lt_prog_compiler_wl='-Wl,'
9066
      if test "$host_cpu" = ia64; then
9067
        # AIX 5 now supports IA64 processor
9068
        lt_prog_compiler_static='-Bstatic'
9069
      else
9070
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9071
      fi
9072
      ;;
9073
 
9074
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9075
      # This hack is so that the source file can tell whether it is being
9076
      # built for inclusion in a dll (and should export symbols for example).
9077
      lt_prog_compiler_pic='-DDLL_EXPORT'
9078
      ;;
9079
 
9080
    hpux9* | hpux10* | hpux11*)
9081
      lt_prog_compiler_wl='-Wl,'
9082
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9083
      # not for PA HP-UX.
9084
      case $host_cpu in
9085
      hppa*64*|ia64*)
9086
        # +Z the default
9087
        ;;
9088
      *)
9089
        lt_prog_compiler_pic='+Z'
9090
        ;;
9091
      esac
9092
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9093
      lt_prog_compiler_static='${wl}-a ${wl}archive'
9094
      ;;
9095
 
9096
    irix5* | irix6* | nonstopux*)
9097
      lt_prog_compiler_wl='-Wl,'
9098
      # PIC (with -KPIC) is the default.
9099
      lt_prog_compiler_static='-non_shared'
9100
      ;;
9101
 
9102
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9103
      case $cc_basename in
9104
      # old Intel for x86_64 which still supported -KPIC.
9105
      ecc*)
9106
        lt_prog_compiler_wl='-Wl,'
9107
        lt_prog_compiler_pic='-KPIC'
9108
        lt_prog_compiler_static='-static'
9109
        ;;
9110
      # icc used to be incompatible with GCC.
9111
      # ICC 10 doesn't accept -KPIC any more.
9112
      icc* | ifort*)
9113
        lt_prog_compiler_wl='-Wl,'
9114
        lt_prog_compiler_pic='-fPIC'
9115
        lt_prog_compiler_static='-static'
9116
        ;;
9117
      # Lahey Fortran 8.1.
9118
      lf95*)
9119
        lt_prog_compiler_wl='-Wl,'
9120
        lt_prog_compiler_pic='--shared'
9121
        lt_prog_compiler_static='--static'
9122
        ;;
9123
      pgcc* | pgf77* | pgf90* | pgf95*)
9124
        # Portland Group compilers (*not* the Pentium gcc compiler,
9125
        # which looks to be a dead project)
9126
        lt_prog_compiler_wl='-Wl,'
9127
        lt_prog_compiler_pic='-fpic'
9128
        lt_prog_compiler_static='-Bstatic'
9129
        ;;
9130
      ccc*)
9131
        lt_prog_compiler_wl='-Wl,'
9132
        # All Alpha code is PIC.
9133
        lt_prog_compiler_static='-non_shared'
9134
        ;;
9135
      xl*)
9136
        # IBM XL C 8.0/Fortran 10.1 on PPC
9137
        lt_prog_compiler_wl='-Wl,'
9138
        lt_prog_compiler_pic='-qpic'
9139
        lt_prog_compiler_static='-qstaticlink'
9140
        ;;
9141
      *)
9142
        case `$CC -V 2>&1 | sed 5q` in
9143
        *Sun\ C*)
9144
          # Sun C 5.9
9145
          lt_prog_compiler_pic='-KPIC'
9146
          lt_prog_compiler_static='-Bstatic'
9147
          lt_prog_compiler_wl='-Wl,'
9148
          ;;
9149
        *Sun\ F*)
9150
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9151
          lt_prog_compiler_pic='-KPIC'
9152
          lt_prog_compiler_static='-Bstatic'
9153
          lt_prog_compiler_wl=''
9154
          ;;
9155
        esac
9156
        ;;
9157
      esac
9158
      ;;
9159
 
9160
    newsos6)
9161
      lt_prog_compiler_pic='-KPIC'
9162
      lt_prog_compiler_static='-Bstatic'
9163
      ;;
9164
 
9165
    *nto* | *qnx*)
9166
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9167
      # it will coredump.
9168
      lt_prog_compiler_pic='-fPIC -shared'
9169
      ;;
9170
 
9171
    osf3* | osf4* | osf5*)
9172
      lt_prog_compiler_wl='-Wl,'
9173
      # All OSF/1 code is PIC.
9174
      lt_prog_compiler_static='-non_shared'
9175
      ;;
9176
 
9177
    rdos*)
9178
      lt_prog_compiler_static='-non_shared'
9179
      ;;
9180
 
9181
    solaris*)
9182
      lt_prog_compiler_pic='-KPIC'
9183
      lt_prog_compiler_static='-Bstatic'
9184
      case $cc_basename in
9185
      f77* | f90* | f95*)
9186
        lt_prog_compiler_wl='-Qoption ld ';;
9187
      *)
9188
        lt_prog_compiler_wl='-Wl,';;
9189
      esac
9190
      ;;
9191
 
9192
    sunos4*)
9193
      lt_prog_compiler_wl='-Qoption ld '
9194
      lt_prog_compiler_pic='-PIC'
9195
      lt_prog_compiler_static='-Bstatic'
9196
      ;;
9197
 
9198
    sysv4 | sysv4.2uw2* | sysv4.3*)
9199
      lt_prog_compiler_wl='-Wl,'
9200
      lt_prog_compiler_pic='-KPIC'
9201
      lt_prog_compiler_static='-Bstatic'
9202
      ;;
9203
 
9204
    sysv4*MP*)
9205
      if test -d /usr/nec ;then
9206
        lt_prog_compiler_pic='-Kconform_pic'
9207
        lt_prog_compiler_static='-Bstatic'
9208
      fi
9209
      ;;
9210
 
9211
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9212
      lt_prog_compiler_wl='-Wl,'
9213
      lt_prog_compiler_pic='-KPIC'
9214
      lt_prog_compiler_static='-Bstatic'
9215
      ;;
9216
 
9217
    unicos*)
9218
      lt_prog_compiler_wl='-Wl,'
9219
      lt_prog_compiler_can_build_shared=no
9220
      ;;
9221
 
9222
    uts4*)
9223
      lt_prog_compiler_pic='-pic'
9224
      lt_prog_compiler_static='-Bstatic'
9225
      ;;
9226
 
9227
    *)
9228
      lt_prog_compiler_can_build_shared=no
9229
      ;;
9230
    esac
9231
  fi
9232
 
9233
case $host_os in
9234
  # For platforms which do not support PIC, -DPIC is meaningless:
9235
  *djgpp*)
9236
    lt_prog_compiler_pic=
9237
    ;;
9238
  *)
9239
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9240
    ;;
9241
esac
9242
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9243
$as_echo "$lt_prog_compiler_pic" >&6; }
9244
 
9245
 
9246
 
9247
 
9248
 
9249
 
9250
#
9251
# Check to make sure the PIC flag actually works.
9252
#
9253
if test -n "$lt_prog_compiler_pic"; then
9254
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9255
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9256
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9257
  $as_echo_n "(cached) " >&6
9258
else
9259
  lt_cv_prog_compiler_pic_works=no
9260
   ac_outfile=conftest.$ac_objext
9261
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9262
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9263
   # Insert the option either (1) after the last *FLAGS variable, or
9264
   # (2) before a word containing "conftest.", or (3) at the end.
9265
   # Note that $ac_compile itself does not contain backslashes and begins
9266
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9267
   # The option is referenced via a variable to avoid confusing sed.
9268
   lt_compile=`echo "$ac_compile" | $SED \
9269
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9270
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9271
   -e 's:$: $lt_compiler_flag:'`
9272
   (eval echo "\"\$as_me:9272: $lt_compile\"" >&5)
9273
   (eval "$lt_compile" 2>conftest.err)
9274
   ac_status=$?
9275
   cat conftest.err >&5
9276
   echo "$as_me:9276: \$? = $ac_status" >&5
9277
   if (exit $ac_status) && test -s "$ac_outfile"; then
9278
     # The compiler can only warn and ignore the option if not recognized
9279
     # So say no if there are warnings other than the usual output.
9280
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9281
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9282
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9283
       lt_cv_prog_compiler_pic_works=yes
9284
     fi
9285
   fi
9286
   $RM conftest*
9287
 
9288
fi
9289
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9290
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9291
 
9292
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9293
    case $lt_prog_compiler_pic in
9294
     "" | " "*) ;;
9295
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9296
     esac
9297
else
9298
    lt_prog_compiler_pic=
9299
     lt_prog_compiler_can_build_shared=no
9300
fi
9301
 
9302
fi
9303
 
9304
 
9305
 
9306
 
9307
 
9308
 
9309
#
9310
# Check to make sure the static flag actually works.
9311
#
9312
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9313
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9314
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9315
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9316
  $as_echo_n "(cached) " >&6
9317
else
9318
  lt_cv_prog_compiler_static_works=no
9319
   save_LDFLAGS="$LDFLAGS"
9320
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9321
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9322
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9323
     # The linker can only warn and ignore the option if not recognized
9324
     # So say no if there are warnings
9325
     if test -s conftest.err; then
9326
       # Append any errors to the config.log.
9327
       cat conftest.err 1>&5
9328
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9329
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9330
       if diff conftest.exp conftest.er2 >/dev/null; then
9331
         lt_cv_prog_compiler_static_works=yes
9332
       fi
9333
     else
9334
       lt_cv_prog_compiler_static_works=yes
9335
     fi
9336
   fi
9337
   $RM -r conftest*
9338
   LDFLAGS="$save_LDFLAGS"
9339
 
9340
fi
9341
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9342
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9343
 
9344
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9345
    :
9346
else
9347
    lt_prog_compiler_static=
9348
fi
9349
 
9350
 
9351
 
9352
 
9353
 
9354
 
9355
 
9356
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9357
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9358
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9359
  $as_echo_n "(cached) " >&6
9360
else
9361
  lt_cv_prog_compiler_c_o=no
9362
   $RM -r conftest 2>/dev/null
9363
   mkdir conftest
9364
   cd conftest
9365
   mkdir out
9366
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9367
 
9368
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9369
   # Insert the option either (1) after the last *FLAGS variable, or
9370
   # (2) before a word containing "conftest.", or (3) at the end.
9371
   # Note that $ac_compile itself does not contain backslashes and begins
9372
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9373
   lt_compile=`echo "$ac_compile" | $SED \
9374
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9375
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9376
   -e 's:$: $lt_compiler_flag:'`
9377
   (eval echo "\"\$as_me:9377: $lt_compile\"" >&5)
9378
   (eval "$lt_compile" 2>out/conftest.err)
9379
   ac_status=$?
9380
   cat out/conftest.err >&5
9381
   echo "$as_me:9381: \$? = $ac_status" >&5
9382
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9383
   then
9384
     # The compiler can only warn and ignore the option if not recognized
9385
     # So say no if there are warnings
9386
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9387
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9388
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9389
       lt_cv_prog_compiler_c_o=yes
9390
     fi
9391
   fi
9392
   chmod u+w . 2>&5
9393
   $RM conftest*
9394
   # SGI C++ compiler will create directory out/ii_files/ for
9395
   # template instantiation
9396
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9397
   $RM out/* && rmdir out
9398
   cd ..
9399
   $RM -r conftest
9400
   $RM conftest*
9401
 
9402
fi
9403
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9404
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9405
 
9406
 
9407
 
9408
 
9409
 
9410
 
9411
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9412
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9413
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9414
  $as_echo_n "(cached) " >&6
9415
else
9416
  lt_cv_prog_compiler_c_o=no
9417
   $RM -r conftest 2>/dev/null
9418
   mkdir conftest
9419
   cd conftest
9420
   mkdir out
9421
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9422
 
9423
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9424
   # Insert the option either (1) after the last *FLAGS variable, or
9425
   # (2) before a word containing "conftest.", or (3) at the end.
9426
   # Note that $ac_compile itself does not contain backslashes and begins
9427
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9428
   lt_compile=`echo "$ac_compile" | $SED \
9429
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9430
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9431
   -e 's:$: $lt_compiler_flag:'`
9432
   (eval echo "\"\$as_me:9432: $lt_compile\"" >&5)
9433
   (eval "$lt_compile" 2>out/conftest.err)
9434
   ac_status=$?
9435
   cat out/conftest.err >&5
9436
   echo "$as_me:9436: \$? = $ac_status" >&5
9437
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9438
   then
9439
     # The compiler can only warn and ignore the option if not recognized
9440
     # So say no if there are warnings
9441
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9442
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9443
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9444
       lt_cv_prog_compiler_c_o=yes
9445
     fi
9446
   fi
9447
   chmod u+w . 2>&5
9448
   $RM conftest*
9449
   # SGI C++ compiler will create directory out/ii_files/ for
9450
   # template instantiation
9451
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9452
   $RM out/* && rmdir out
9453
   cd ..
9454
   $RM -r conftest
9455
   $RM conftest*
9456
 
9457
fi
9458
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9459
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9460
 
9461
 
9462
 
9463
 
9464
hard_links="nottested"
9465
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9466
  # do not overwrite the value of need_locks provided by the user
9467
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9468
$as_echo_n "checking if we can lock with hard links... " >&6; }
9469
  hard_links=yes
9470
  $RM conftest*
9471
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9472
  touch conftest.a
9473
  ln conftest.a conftest.b 2>&5 || hard_links=no
9474
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9475
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9476
$as_echo "$hard_links" >&6; }
9477
  if test "$hard_links" = no; then
9478
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9479
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9480
    need_locks=warn
9481
  fi
9482
else
9483
  need_locks=no
9484
fi
9485
 
9486
 
9487
 
9488
 
9489
 
9490
 
9491
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9492
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9493
 
9494
  runpath_var=
9495
  allow_undefined_flag=
9496
  always_export_symbols=no
9497
  archive_cmds=
9498
  archive_expsym_cmds=
9499
  compiler_needs_object=no
9500
  enable_shared_with_static_runtimes=no
9501
  export_dynamic_flag_spec=
9502
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9503
  hardcode_automatic=no
9504
  hardcode_direct=no
9505
  hardcode_direct_absolute=no
9506
  hardcode_libdir_flag_spec=
9507
  hardcode_libdir_flag_spec_ld=
9508
  hardcode_libdir_separator=
9509
  hardcode_minus_L=no
9510
  hardcode_shlibpath_var=unsupported
9511
  inherit_rpath=no
9512
  link_all_deplibs=unknown
9513
  module_cmds=
9514
  module_expsym_cmds=
9515
  old_archive_from_new_cmds=
9516
  old_archive_from_expsyms_cmds=
9517
  thread_safe_flag_spec=
9518
  whole_archive_flag_spec=
9519
  # include_expsyms should be a list of space-separated symbols to be *always*
9520
  # included in the symbol list
9521
  include_expsyms=
9522
  # exclude_expsyms can be an extended regexp of symbols to exclude
9523
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9524
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9525
  # as well as any symbol that contains `d'.
9526
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9527
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9528
  # platforms (ab)use it in PIC code, but their linkers get confused if
9529
  # the symbol is explicitly referenced.  Since portable code cannot
9530
  # rely on this symbol name, it's probably fine to never include it in
9531
  # preloaded symbol tables.
9532
  # Exclude shared library initialization/finalization symbols.
9533
  extract_expsyms_cmds=
9534
 
9535
  case $host_os in
9536
  cygwin* | mingw* | pw32* | cegcc*)
9537
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9538
    # When not using gcc, we currently assume that we are using
9539
    # Microsoft Visual C++.
9540
    if test "$GCC" != yes; then
9541
      with_gnu_ld=no
9542
    fi
9543
    ;;
9544
  interix*)
9545
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9546
    with_gnu_ld=yes
9547
    ;;
9548
  openbsd*)
9549
    with_gnu_ld=no
9550
    ;;
9551
  esac
9552
 
9553
  ld_shlibs=yes
9554
  if test "$with_gnu_ld" = yes; then
9555
    # If archive_cmds runs LD, not CC, wlarc should be empty
9556
    wlarc='${wl}'
9557
 
9558
    # Set some defaults for GNU ld with shared library support. These
9559
    # are reset later if shared libraries are not supported. Putting them
9560
    # here allows them to be overridden if necessary.
9561
    runpath_var=LD_RUN_PATH
9562
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9563
    export_dynamic_flag_spec='${wl}--export-dynamic'
9564
    # ancient GNU ld didn't support --whole-archive et. al.
9565
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9566
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9567
    else
9568
      whole_archive_flag_spec=
9569
    fi
9570
    supports_anon_versioning=no
9571
    case `$LD -v 2>&1` in
9572
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9573
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9574
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9575
      *\ 2.11.*) ;; # other 2.11 versions
9576
      *) supports_anon_versioning=yes ;;
9577
    esac
9578
 
9579
    # See if GNU ld supports shared libraries.
9580
    case $host_os in
9581
    aix[3-9]*)
9582
      # On AIX/PPC, the GNU linker is very broken
9583
      if test "$host_cpu" != ia64; then
9584
        ld_shlibs=no
9585
        cat <<_LT_EOF 1>&2
9586
 
9587
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9588
*** to be unable to reliably create shared libraries on AIX.
9589
*** Therefore, libtool is disabling shared libraries support.  If you
9590
*** really care for shared libraries, you may want to modify your PATH
9591
*** so that a non-GNU linker is found, and then restart.
9592
 
9593
_LT_EOF
9594
      fi
9595
      ;;
9596
 
9597
    amigaos*)
9598
      case $host_cpu in
9599
      powerpc)
9600
            # see comment about AmigaOS4 .so support
9601
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9602
            archive_expsym_cmds=''
9603
        ;;
9604
      m68k)
9605
            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)'
9606
            hardcode_libdir_flag_spec='-L$libdir'
9607
            hardcode_minus_L=yes
9608
        ;;
9609
      esac
9610
      ;;
9611
 
9612
    beos*)
9613
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9614
        allow_undefined_flag=unsupported
9615
        # Joseph Beckenbach  says some releases of gcc
9616
        # support --undefined.  This deserves some investigation.  FIXME
9617
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9618
      else
9619
        ld_shlibs=no
9620
      fi
9621
      ;;
9622
 
9623
    cygwin* | mingw* | pw32* | cegcc*)
9624
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9625
      # as there is no search path for DLLs.
9626
      hardcode_libdir_flag_spec='-L$libdir'
9627
      allow_undefined_flag=unsupported
9628
      always_export_symbols=no
9629
      enable_shared_with_static_runtimes=yes
9630
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9631
 
9632
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9633
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9634
        # If the export-symbols file already is a .def file (1st line
9635
        # is EXPORTS), use it as is; otherwise, prepend...
9636
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9637
          cp $export_symbols $output_objdir/$soname.def;
9638
        else
9639
          echo EXPORTS > $output_objdir/$soname.def;
9640
          cat $export_symbols >> $output_objdir/$soname.def;
9641
        fi~
9642
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9643
      else
9644
        ld_shlibs=no
9645
      fi
9646
      ;;
9647
 
9648
    interix[3-9]*)
9649
      hardcode_direct=no
9650
      hardcode_shlibpath_var=no
9651
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9652
      export_dynamic_flag_spec='${wl}-E'
9653
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9654
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9655
      # default) and relocated if they conflict, which is a slow very memory
9656
      # consuming and fragmenting process.  To avoid this, we pick a random,
9657
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9658
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9659
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9660
      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'
9661
      ;;
9662
 
9663
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9664
      tmp_diet=no
9665
      if test "$host_os" = linux-dietlibc; then
9666
        case $cc_basename in
9667
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9668
        esac
9669
      fi
9670
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9671
         && test "$tmp_diet" = no
9672
      then
9673
        tmp_addflag=
9674
        tmp_sharedflag='-shared'
9675
        case $cc_basename,$host_cpu in
9676
        pgcc*)                          # Portland Group C compiler
9677
          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'
9678
          tmp_addflag=' $pic_flag'
9679
          ;;
9680
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9681
          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'
9682
          tmp_addflag=' $pic_flag -Mnomain' ;;
9683
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9684
          tmp_addflag=' -i_dynamic' ;;
9685
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9686
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9687
        ifc* | ifort*)                  # Intel Fortran compiler
9688
          tmp_addflag=' -nofor_main' ;;
9689
        lf95*)                          # Lahey Fortran 8.1
9690
          whole_archive_flag_spec=
9691
          tmp_sharedflag='--shared' ;;
9692
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9693
          tmp_sharedflag='-qmkshrobj'
9694
          tmp_addflag= ;;
9695
        esac
9696
        case `$CC -V 2>&1 | sed 5q` in
9697
        *Sun\ C*)                       # Sun C 5.9
9698
          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'
9699
          compiler_needs_object=yes
9700
          tmp_sharedflag='-G' ;;
9701
        *Sun\ F*)                       # Sun Fortran 8.3
9702
          tmp_sharedflag='-G' ;;
9703
        esac
9704
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9705
 
9706
        if test "x$supports_anon_versioning" = xyes; then
9707
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9708
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9709
            echo "local: *; };" >> $output_objdir/$libname.ver~
9710
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9711
        fi
9712
 
9713
        case $cc_basename in
9714
        xlf*)
9715
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9716
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9717
          hardcode_libdir_flag_spec=
9718
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9719
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9720
          if test "x$supports_anon_versioning" = xyes; then
9721
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9722
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9723
              echo "local: *; };" >> $output_objdir/$libname.ver~
9724
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9725
          fi
9726
          ;;
9727
        esac
9728
      else
9729
        ld_shlibs=no
9730
      fi
9731
      ;;
9732
 
9733
    netbsd*)
9734
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9735
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9736
        wlarc=
9737
      else
9738
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9739
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9740
      fi
9741
      ;;
9742
 
9743
    solaris*)
9744
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9745
        ld_shlibs=no
9746
        cat <<_LT_EOF 1>&2
9747
 
9748
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9749
*** create shared libraries on Solaris systems.  Therefore, libtool
9750
*** is disabling shared libraries support.  We urge you to upgrade GNU
9751
*** binutils to release 2.9.1 or newer.  Another option is to modify
9752
*** your PATH or compiler configuration so that the native linker is
9753
*** used, and then restart.
9754
 
9755
_LT_EOF
9756
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9757
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9758
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9759
      else
9760
        ld_shlibs=no
9761
      fi
9762
      ;;
9763
 
9764
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9765
      case `$LD -v 2>&1` in
9766
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9767
        ld_shlibs=no
9768
        cat <<_LT_EOF 1>&2
9769
 
9770
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9771
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9772
*** is disabling shared libraries support.  We urge you to upgrade GNU
9773
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9774
*** your PATH or compiler configuration so that the native linker is
9775
*** used, and then restart.
9776
 
9777
_LT_EOF
9778
        ;;
9779
        *)
9780
          # For security reasons, it is highly recommended that you always
9781
          # use absolute paths for naming shared libraries, and exclude the
9782
          # DT_RUNPATH tag from executables and libraries.  But doing so
9783
          # requires that you compile everything twice, which is a pain.
9784
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9785
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9786
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9787
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9788
          else
9789
            ld_shlibs=no
9790
          fi
9791
        ;;
9792
      esac
9793
      ;;
9794
 
9795
    sunos4*)
9796
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9797
      wlarc=
9798
      hardcode_direct=yes
9799
      hardcode_shlibpath_var=no
9800
      ;;
9801
 
9802
    *)
9803
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9804
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9805
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9806
      else
9807
        ld_shlibs=no
9808
      fi
9809
      ;;
9810
    esac
9811
 
9812
    if test "$ld_shlibs" = no; then
9813
      runpath_var=
9814
      hardcode_libdir_flag_spec=
9815
      export_dynamic_flag_spec=
9816
      whole_archive_flag_spec=
9817
    fi
9818
  else
9819
    # PORTME fill in a description of your system's linker (not GNU ld)
9820
    case $host_os in
9821
    aix3*)
9822
      allow_undefined_flag=unsupported
9823
      always_export_symbols=yes
9824
      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'
9825
      # Note: this linker hardcodes the directories in LIBPATH if there
9826
      # are no directories specified by -L.
9827
      hardcode_minus_L=yes
9828
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9829
        # Neither direct hardcoding nor static linking is supported with a
9830
        # broken collect2.
9831
        hardcode_direct=unsupported
9832
      fi
9833
      ;;
9834
 
9835
    aix[4-9]*)
9836
      if test "$host_cpu" = ia64; then
9837
        # On IA64, the linker does run time linking by default, so we don't
9838
        # have to do anything special.
9839
        aix_use_runtimelinking=no
9840
        exp_sym_flag='-Bexport'
9841
        no_entry_flag=""
9842
      else
9843
        # If we're using GNU nm, then we don't want the "-C" option.
9844
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9845
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9846
          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'
9847
        else
9848
          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'
9849
        fi
9850
        aix_use_runtimelinking=no
9851
 
9852
        # Test if we are trying to use run time linking or normal
9853
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9854
        # need to do runtime linking.
9855
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9856
          for ld_flag in $LDFLAGS; do
9857
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9858
            aix_use_runtimelinking=yes
9859
            break
9860
          fi
9861
          done
9862
          ;;
9863
        esac
9864
 
9865
        exp_sym_flag='-bexport'
9866
        no_entry_flag='-bnoentry'
9867
      fi
9868
 
9869
      # When large executables or shared objects are built, AIX ld can
9870
      # have problems creating the table of contents.  If linking a library
9871
      # or program results in "error TOC overflow" add -mminimal-toc to
9872
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9873
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9874
 
9875
      archive_cmds=''
9876
      hardcode_direct=yes
9877
      hardcode_direct_absolute=yes
9878
      hardcode_libdir_separator=':'
9879
      link_all_deplibs=yes
9880
      file_list_spec='${wl}-f,'
9881
 
9882
      if test "$GCC" = yes; then
9883
        case $host_os in aix4.[012]|aix4.[012].*)
9884
        # We only want to do this on AIX 4.2 and lower, the check
9885
        # below for broken collect2 doesn't work under 4.3+
9886
          collect2name=`${CC} -print-prog-name=collect2`
9887
          if test -f "$collect2name" &&
9888
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9889
          then
9890
          # We have reworked collect2
9891
          :
9892
          else
9893
          # We have old collect2
9894
          hardcode_direct=unsupported
9895
          # It fails to find uninstalled libraries when the uninstalled
9896
          # path is not listed in the libpath.  Setting hardcode_minus_L
9897
          # to unsupported forces relinking
9898
          hardcode_minus_L=yes
9899
          hardcode_libdir_flag_spec='-L$libdir'
9900
          hardcode_libdir_separator=
9901
          fi
9902
          ;;
9903
        esac
9904
        shared_flag='-shared'
9905
        if test "$aix_use_runtimelinking" = yes; then
9906
          shared_flag="$shared_flag "'${wl}-G'
9907
        fi
9908
      else
9909
        # not using gcc
9910
        if test "$host_cpu" = ia64; then
9911
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9912
        # chokes on -Wl,-G. The following line is correct:
9913
          shared_flag='-G'
9914
        else
9915
          if test "$aix_use_runtimelinking" = yes; then
9916
            shared_flag='${wl}-G'
9917
          else
9918
            shared_flag='${wl}-bM:SRE'
9919
          fi
9920
        fi
9921
      fi
9922
 
9923
      export_dynamic_flag_spec='${wl}-bexpall'
9924
      # It seems that -bexpall does not export symbols beginning with
9925
      # underscore (_), so it is better to generate a list of symbols to export.
9926
      always_export_symbols=yes
9927
      if test "$aix_use_runtimelinking" = yes; then
9928
        # Warning - without using the other runtime loading flags (-brtl),
9929
        # -berok will link without error, but may produce a broken library.
9930
        allow_undefined_flag='-berok'
9931
        # Determine the default libpath from the value encoded in an
9932
        # empty executable.
9933
        cat >conftest.$ac_ext <<_ACEOF
9934
/* confdefs.h.  */
9935
_ACEOF
9936
cat confdefs.h >>conftest.$ac_ext
9937
cat >>conftest.$ac_ext <<_ACEOF
9938
/* end confdefs.h.  */
9939
 
9940
int
9941
main ()
9942
{
9943
 
9944
  ;
9945
  return 0;
9946
}
9947
_ACEOF
9948
rm -f conftest.$ac_objext conftest$ac_exeext
9949
if { (ac_try="$ac_link"
9950
case "(($ac_try" in
9951
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9952
  *) ac_try_echo=$ac_try;;
9953
esac
9954
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9955
$as_echo "$ac_try_echo") >&5
9956
  (eval "$ac_link") 2>conftest.er1
9957
  ac_status=$?
9958
  grep -v '^ *+' conftest.er1 >conftest.err
9959
  rm -f conftest.er1
9960
  cat conftest.err >&5
9961
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962
  (exit $ac_status); } && {
9963
         test -z "$ac_c_werror_flag" ||
9964
         test ! -s conftest.err
9965
       } && test -s conftest$ac_exeext && {
9966
         test "$cross_compiling" = yes ||
9967
         $as_test_x conftest$ac_exeext
9968
       }; then
9969
 
9970
lt_aix_libpath_sed='
9971
    /Import File Strings/,/^$/ {
9972
        /^0/ {
9973
            s/^0  *\(.*\)$/\1/
9974
            p
9975
        }
9976
    }'
9977
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9978
# Check for a 64-bit object if we didn't find anything.
9979
if test -z "$aix_libpath"; then
9980
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9981
fi
9982
else
9983
  $as_echo "$as_me: failed program was:" >&5
9984
sed 's/^/| /' conftest.$ac_ext >&5
9985
 
9986
 
9987
fi
9988
 
9989
rm -rf conftest.dSYM
9990
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9991
      conftest$ac_exeext conftest.$ac_ext
9992
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9993
 
9994
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9995
        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"
9996
      else
9997
        if test "$host_cpu" = ia64; then
9998
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9999
          allow_undefined_flag="-z nodefs"
10000
          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"
10001
        else
10002
         # Determine the default libpath from the value encoded in an
10003
         # empty executable.
10004
         cat >conftest.$ac_ext <<_ACEOF
10005
/* confdefs.h.  */
10006
_ACEOF
10007
cat confdefs.h >>conftest.$ac_ext
10008
cat >>conftest.$ac_ext <<_ACEOF
10009
/* end confdefs.h.  */
10010
 
10011
int
10012
main ()
10013
{
10014
 
10015
  ;
10016
  return 0;
10017
}
10018
_ACEOF
10019
rm -f conftest.$ac_objext conftest$ac_exeext
10020
if { (ac_try="$ac_link"
10021
case "(($ac_try" in
10022
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10023
  *) ac_try_echo=$ac_try;;
10024
esac
10025
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10026
$as_echo "$ac_try_echo") >&5
10027
  (eval "$ac_link") 2>conftest.er1
10028
  ac_status=$?
10029
  grep -v '^ *+' conftest.er1 >conftest.err
10030
  rm -f conftest.er1
10031
  cat conftest.err >&5
10032
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033
  (exit $ac_status); } && {
10034
         test -z "$ac_c_werror_flag" ||
10035
         test ! -s conftest.err
10036
       } && test -s conftest$ac_exeext && {
10037
         test "$cross_compiling" = yes ||
10038
         $as_test_x conftest$ac_exeext
10039
       }; then
10040
 
10041
lt_aix_libpath_sed='
10042
    /Import File Strings/,/^$/ {
10043
        /^0/ {
10044
            s/^0  *\(.*\)$/\1/
10045
            p
10046
        }
10047
    }'
10048
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10049
# Check for a 64-bit object if we didn't find anything.
10050
if test -z "$aix_libpath"; then
10051
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10052
fi
10053
else
10054
  $as_echo "$as_me: failed program was:" >&5
10055
sed 's/^/| /' conftest.$ac_ext >&5
10056
 
10057
 
10058
fi
10059
 
10060
rm -rf conftest.dSYM
10061
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10062
      conftest$ac_exeext conftest.$ac_ext
10063
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10064
 
10065
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10066
          # Warning - without using the other run time loading flags,
10067
          # -berok will link without error, but may produce a broken library.
10068
          no_undefined_flag=' ${wl}-bernotok'
10069
          allow_undefined_flag=' ${wl}-berok'
10070
          # Exported symbols can be pulled into shared objects from archives
10071
          whole_archive_flag_spec='$convenience'
10072
          archive_cmds_need_lc=yes
10073
          # This is similar to how AIX traditionally builds its shared libraries.
10074
          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'
10075
        fi
10076
      fi
10077
      ;;
10078
 
10079
    amigaos*)
10080
      case $host_cpu in
10081
      powerpc)
10082
            # see comment about AmigaOS4 .so support
10083
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10084
            archive_expsym_cmds=''
10085
        ;;
10086
      m68k)
10087
            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)'
10088
            hardcode_libdir_flag_spec='-L$libdir'
10089
            hardcode_minus_L=yes
10090
        ;;
10091
      esac
10092
      ;;
10093
 
10094
    bsdi[45]*)
10095
      export_dynamic_flag_spec=-rdynamic
10096
      ;;
10097
 
10098
    cygwin* | mingw* | pw32* | cegcc*)
10099
      # When not using gcc, we currently assume that we are using
10100
      # Microsoft Visual C++.
10101
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10102
      # no search path for DLLs.
10103
      hardcode_libdir_flag_spec=' '
10104
      allow_undefined_flag=unsupported
10105
      # Tell ltmain to make .lib files, not .a files.
10106
      libext=lib
10107
      # Tell ltmain to make .dll files, not .so files.
10108
      shrext_cmds=".dll"
10109
      # FIXME: Setting linknames here is a bad hack.
10110
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10111
      # The linker will automatically build a .lib file if we build a DLL.
10112
      old_archive_from_new_cmds='true'
10113
      # FIXME: Should let the user specify the lib program.
10114
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10115
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10116
      enable_shared_with_static_runtimes=yes
10117
      ;;
10118
 
10119
    darwin* | rhapsody*)
10120
 
10121
 
10122
  archive_cmds_need_lc=no
10123
  hardcode_direct=no
10124
  hardcode_automatic=yes
10125
  hardcode_shlibpath_var=unsupported
10126
  whole_archive_flag_spec=''
10127
  link_all_deplibs=yes
10128
  allow_undefined_flag="$_lt_dar_allow_undefined"
10129
  case $cc_basename in
10130
     ifort*) _lt_dar_can_shared=yes ;;
10131
     *) _lt_dar_can_shared=$GCC ;;
10132
  esac
10133
  if test "$_lt_dar_can_shared" = "yes"; then
10134
    output_verbose_link_cmd=echo
10135
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10136
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10137
    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}"
10138
    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}"
10139
 
10140
  else
10141
  ld_shlibs=no
10142
  fi
10143
 
10144
      ;;
10145
 
10146
    dgux*)
10147
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10148
      hardcode_libdir_flag_spec='-L$libdir'
10149
      hardcode_shlibpath_var=no
10150
      ;;
10151
 
10152
    freebsd1*)
10153
      ld_shlibs=no
10154
      ;;
10155
 
10156
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10157
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10158
    # does not break anything, and helps significantly (at the cost of a little
10159
    # extra space).
10160
    freebsd2.2*)
10161
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10162
      hardcode_libdir_flag_spec='-R$libdir'
10163
      hardcode_direct=yes
10164
      hardcode_shlibpath_var=no
10165
      ;;
10166
 
10167
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10168
    freebsd2*)
10169
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10170
      hardcode_direct=yes
10171
      hardcode_minus_L=yes
10172
      hardcode_shlibpath_var=no
10173
      ;;
10174
 
10175
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10176
    freebsd* | dragonfly*)
10177
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10178
      hardcode_libdir_flag_spec='-R$libdir'
10179
      hardcode_direct=yes
10180
      hardcode_shlibpath_var=no
10181
      ;;
10182
 
10183
    hpux9*)
10184
      if test "$GCC" = yes; then
10185
        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'
10186
      else
10187
        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'
10188
      fi
10189
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10190
      hardcode_libdir_separator=:
10191
      hardcode_direct=yes
10192
 
10193
      # hardcode_minus_L: Not really in the search PATH,
10194
      # but as the default location of the library.
10195
      hardcode_minus_L=yes
10196
      export_dynamic_flag_spec='${wl}-E'
10197
      ;;
10198
 
10199
    hpux10*)
10200
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10201
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10202
      else
10203
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10204
      fi
10205
      if test "$with_gnu_ld" = no; then
10206
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10207
        hardcode_libdir_flag_spec_ld='+b $libdir'
10208
        hardcode_libdir_separator=:
10209
        hardcode_direct=yes
10210
        hardcode_direct_absolute=yes
10211
        export_dynamic_flag_spec='${wl}-E'
10212
        # hardcode_minus_L: Not really in the search PATH,
10213
        # but as the default location of the library.
10214
        hardcode_minus_L=yes
10215
      fi
10216
      ;;
10217
 
10218
    hpux11*)
10219
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10220
        case $host_cpu in
10221
        hppa*64*)
10222
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10223
          ;;
10224
        ia64*)
10225
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10226
          ;;
10227
        *)
10228
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10229
          ;;
10230
        esac
10231
      else
10232
        case $host_cpu in
10233
        hppa*64*)
10234
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10235
          ;;
10236
        ia64*)
10237
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10238
          ;;
10239
        *)
10240
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10241
          ;;
10242
        esac
10243
      fi
10244
      if test "$with_gnu_ld" = no; then
10245
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10246
        hardcode_libdir_separator=:
10247
 
10248
        case $host_cpu in
10249
        hppa*64*|ia64*)
10250
          hardcode_direct=no
10251
          hardcode_shlibpath_var=no
10252
          ;;
10253
        *)
10254
          hardcode_direct=yes
10255
          hardcode_direct_absolute=yes
10256
          export_dynamic_flag_spec='${wl}-E'
10257
 
10258
          # hardcode_minus_L: Not really in the search PATH,
10259
          # but as the default location of the library.
10260
          hardcode_minus_L=yes
10261
          ;;
10262
        esac
10263
      fi
10264
      ;;
10265
 
10266
    irix5* | irix6* | nonstopux*)
10267
      if test "$GCC" = yes; then
10268
        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'
10269
        # Try to use the -exported_symbol ld option, if it does not
10270
        # work, assume that -exports_file does not work either and
10271
        # implicitly export all symbols.
10272
        save_LDFLAGS="$LDFLAGS"
10273
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10274
        cat >conftest.$ac_ext <<_ACEOF
10275
int foo(void) {}
10276
_ACEOF
10277
rm -f conftest.$ac_objext conftest$ac_exeext
10278
if { (ac_try="$ac_link"
10279
case "(($ac_try" in
10280
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10281
  *) ac_try_echo=$ac_try;;
10282
esac
10283
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10284
$as_echo "$ac_try_echo") >&5
10285
  (eval "$ac_link") 2>conftest.er1
10286
  ac_status=$?
10287
  grep -v '^ *+' conftest.er1 >conftest.err
10288
  rm -f conftest.er1
10289
  cat conftest.err >&5
10290
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291
  (exit $ac_status); } && {
10292
         test -z "$ac_c_werror_flag" ||
10293
         test ! -s conftest.err
10294
       } && test -s conftest$ac_exeext && {
10295
         test "$cross_compiling" = yes ||
10296
         $as_test_x conftest$ac_exeext
10297
       }; then
10298
  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'
10299
 
10300
else
10301
  $as_echo "$as_me: failed program was:" >&5
10302
sed 's/^/| /' conftest.$ac_ext >&5
10303
 
10304
 
10305
fi
10306
 
10307
rm -rf conftest.dSYM
10308
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10309
      conftest$ac_exeext conftest.$ac_ext
10310
        LDFLAGS="$save_LDFLAGS"
10311
      else
10312
        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'
10313
        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'
10314
      fi
10315
      archive_cmds_need_lc='no'
10316
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10317
      hardcode_libdir_separator=:
10318
      inherit_rpath=yes
10319
      link_all_deplibs=yes
10320
      ;;
10321
 
10322
    netbsd*)
10323
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10324
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10325
      else
10326
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10327
      fi
10328
      hardcode_libdir_flag_spec='-R$libdir'
10329
      hardcode_direct=yes
10330
      hardcode_shlibpath_var=no
10331
      ;;
10332
 
10333
    newsos6)
10334
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10335
      hardcode_direct=yes
10336
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10337
      hardcode_libdir_separator=:
10338
      hardcode_shlibpath_var=no
10339
      ;;
10340
 
10341
    *nto* | *qnx*)
10342
      ;;
10343
 
10344
    openbsd*)
10345
      if test -f /usr/libexec/ld.so; then
10346
        hardcode_direct=yes
10347
        hardcode_shlibpath_var=no
10348
        hardcode_direct_absolute=yes
10349
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10350
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10351
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10352
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10353
          export_dynamic_flag_spec='${wl}-E'
10354
        else
10355
          case $host_os in
10356
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10357
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10358
             hardcode_libdir_flag_spec='-R$libdir'
10359
             ;;
10360
           *)
10361
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10362
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10363
             ;;
10364
          esac
10365
        fi
10366
      else
10367
        ld_shlibs=no
10368
      fi
10369
      ;;
10370
 
10371
    os2*)
10372
      hardcode_libdir_flag_spec='-L$libdir'
10373
      hardcode_minus_L=yes
10374
      allow_undefined_flag=unsupported
10375
      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'
10376
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10377
      ;;
10378
 
10379
    osf3*)
10380
      if test "$GCC" = yes; then
10381
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10382
        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'
10383
      else
10384
        allow_undefined_flag=' -expect_unresolved \*'
10385
        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'
10386
      fi
10387
      archive_cmds_need_lc='no'
10388
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10389
      hardcode_libdir_separator=:
10390
      ;;
10391
 
10392
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10393
      if test "$GCC" = yes; then
10394
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10395
        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'
10396
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10397
      else
10398
        allow_undefined_flag=' -expect_unresolved \*'
10399
        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'
10400
        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~
10401
        $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'
10402
 
10403
        # Both c and cxx compiler support -rpath directly
10404
        hardcode_libdir_flag_spec='-rpath $libdir'
10405
      fi
10406
      archive_cmds_need_lc='no'
10407
      hardcode_libdir_separator=:
10408
      ;;
10409
 
10410
    solaris*)
10411
      no_undefined_flag=' -z defs'
10412
      if test "$GCC" = yes; then
10413
        wlarc='${wl}'
10414
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10415
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10416
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10417
      else
10418
        case `$CC -V 2>&1` in
10419
        *"Compilers 5.0"*)
10420
          wlarc=''
10421
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10422
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10423
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10424
          ;;
10425
        *)
10426
          wlarc='${wl}'
10427
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10428
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10429
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10430
          ;;
10431
        esac
10432
      fi
10433
      hardcode_libdir_flag_spec='-R$libdir'
10434
      hardcode_shlibpath_var=no
10435
      case $host_os in
10436
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10437
      *)
10438
        # The compiler driver will combine and reorder linker options,
10439
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10440
        # but is careful enough not to reorder.
10441
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10442
        if test "$GCC" = yes; then
10443
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10444
        else
10445
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10446
        fi
10447
        ;;
10448
      esac
10449
      link_all_deplibs=yes
10450
      ;;
10451
 
10452
    sunos4*)
10453
      if test "x$host_vendor" = xsequent; then
10454
        # Use $CC to link under sequent, because it throws in some extra .o
10455
        # files that make .init and .fini sections work.
10456
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10457
      else
10458
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10459
      fi
10460
      hardcode_libdir_flag_spec='-L$libdir'
10461
      hardcode_direct=yes
10462
      hardcode_minus_L=yes
10463
      hardcode_shlibpath_var=no
10464
      ;;
10465
 
10466
    sysv4)
10467
      case $host_vendor in
10468
        sni)
10469
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10470
          hardcode_direct=yes # is this really true???
10471
        ;;
10472
        siemens)
10473
          ## LD is ld it makes a PLAMLIB
10474
          ## CC just makes a GrossModule.
10475
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10476
          reload_cmds='$CC -r -o $output$reload_objs'
10477
          hardcode_direct=no
10478
        ;;
10479
        motorola)
10480
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10481
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10482
        ;;
10483
      esac
10484
      runpath_var='LD_RUN_PATH'
10485
      hardcode_shlibpath_var=no
10486
      ;;
10487
 
10488
    sysv4.3*)
10489
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10490
      hardcode_shlibpath_var=no
10491
      export_dynamic_flag_spec='-Bexport'
10492
      ;;
10493
 
10494
    sysv4*MP*)
10495
      if test -d /usr/nec; then
10496
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10497
        hardcode_shlibpath_var=no
10498
        runpath_var=LD_RUN_PATH
10499
        hardcode_runpath_var=yes
10500
        ld_shlibs=yes
10501
      fi
10502
      ;;
10503
 
10504
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10505
      no_undefined_flag='${wl}-z,text'
10506
      archive_cmds_need_lc=no
10507
      hardcode_shlibpath_var=no
10508
      runpath_var='LD_RUN_PATH'
10509
 
10510
      if test "$GCC" = yes; then
10511
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10512
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10513
      else
10514
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10515
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10516
      fi
10517
      ;;
10518
 
10519
    sysv5* | sco3.2v5* | sco5v6*)
10520
      # Note: We can NOT use -z defs as we might desire, because we do not
10521
      # link with -lc, and that would cause any symbols used from libc to
10522
      # always be unresolved, which means just about no library would
10523
      # ever link correctly.  If we're not using GNU ld we use -z text
10524
      # though, which does catch some bad symbols but isn't as heavy-handed
10525
      # as -z defs.
10526
      no_undefined_flag='${wl}-z,text'
10527
      allow_undefined_flag='${wl}-z,nodefs'
10528
      archive_cmds_need_lc=no
10529
      hardcode_shlibpath_var=no
10530
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10531
      hardcode_libdir_separator=':'
10532
      link_all_deplibs=yes
10533
      export_dynamic_flag_spec='${wl}-Bexport'
10534
      runpath_var='LD_RUN_PATH'
10535
 
10536
      if test "$GCC" = yes; then
10537
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10538
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10539
      else
10540
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10541
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10542
      fi
10543
      ;;
10544
 
10545
    uts4*)
10546
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10547
      hardcode_libdir_flag_spec='-L$libdir'
10548
      hardcode_shlibpath_var=no
10549
      ;;
10550
 
10551
    *)
10552
      ld_shlibs=no
10553
      ;;
10554
    esac
10555
 
10556
    if test x$host_vendor = xsni; then
10557
      case $host in
10558
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10559
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10560
        ;;
10561
      esac
10562
    fi
10563
  fi
10564
 
10565
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10566
$as_echo "$ld_shlibs" >&6; }
10567
test "$ld_shlibs" = no && can_build_shared=no
10568
 
10569
with_gnu_ld=$with_gnu_ld
10570
 
10571
 
10572
 
10573
 
10574
 
10575
 
10576
 
10577
 
10578
 
10579
 
10580
 
10581
 
10582
 
10583
 
10584
 
10585
#
10586
# Do we need to explicitly link libc?
10587
#
10588
case "x$archive_cmds_need_lc" in
10589
x|xyes)
10590
  # Assume -lc should be added
10591
  archive_cmds_need_lc=yes
10592
 
10593
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10594
    case $archive_cmds in
10595
    *'~'*)
10596
      # FIXME: we may have to deal with multi-command sequences.
10597
      ;;
10598
    '$CC '*)
10599
      # Test whether the compiler implicitly links with -lc since on some
10600
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10601
      # to ld, don't add -lc before -lgcc.
10602
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10603
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10604
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
10605
  $as_echo_n "(cached) " >&6
10606
else
10607
  $RM conftest*
10608
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10609
 
10610
        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10611
  (eval $ac_compile) 2>&5
10612
  ac_status=$?
10613
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614
  (exit $ac_status); } 2>conftest.err; then
10615
          soname=conftest
10616
          lib=conftest
10617
          libobjs=conftest.$ac_objext
10618
          deplibs=
10619
          wl=$lt_prog_compiler_wl
10620
          pic_flag=$lt_prog_compiler_pic
10621
          compiler_flags=-v
10622
          linker_flags=-v
10623
          verstring=
10624
          output_objdir=.
10625
          libname=conftest
10626
          lt_save_allow_undefined_flag=$allow_undefined_flag
10627
          allow_undefined_flag=
10628
          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10629
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10630
  ac_status=$?
10631
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632
  (exit $ac_status); }
10633
          then
10634
            lt_cv_archive_cmds_need_lc=no
10635
          else
10636
            lt_cv_archive_cmds_need_lc=yes
10637
          fi
10638
          allow_undefined_flag=$lt_save_allow_undefined_flag
10639
        else
10640
          cat conftest.err 1>&5
10641
        fi
10642
        $RM conftest*
10643
 
10644
fi
10645
{ $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
10646
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10647
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10648
      ;;
10649
    esac
10650
  fi
10651
  ;;
10652
esac
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
 
10809
 
10810
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10811
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10812
 
10813
if test "$GCC" = yes; then
10814
  case $host_os in
10815
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10816
    *) lt_awk_arg="/^libraries:/" ;;
10817
  esac
10818
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10819
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10820
    # if the path contains ";" then we assume it to be the separator
10821
    # otherwise default to the standard path separator (i.e. ":") - it is
10822
    # assumed that no part of a normal pathname contains ";" but that should
10823
    # okay in the real world where ";" in dirpaths is itself problematic.
10824
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10825
  else
10826
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10827
  fi
10828
  # Ok, now we have the path, separated by spaces, we can step through it
10829
  # and add multilib dir if necessary.
10830
  lt_tmp_lt_search_path_spec=
10831
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10832
  for lt_sys_path in $lt_search_path_spec; do
10833
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10834
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10835
    else
10836
      test -d "$lt_sys_path" && \
10837
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10838
    fi
10839
  done
10840
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10841
BEGIN {RS=" "; FS="/|\n";} {
10842
  lt_foo="";
10843
  lt_count=0;
10844
  for (lt_i = NF; lt_i > 0; lt_i--) {
10845
    if ($lt_i != "" && $lt_i != ".") {
10846
      if ($lt_i == "..") {
10847
        lt_count++;
10848
      } else {
10849
        if (lt_count == 0) {
10850
          lt_foo="/" $lt_i lt_foo;
10851
        } else {
10852
          lt_count--;
10853
        }
10854
      }
10855
    }
10856
  }
10857
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10858
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10859
}'`
10860
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10861
else
10862
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10863
fi
10864
library_names_spec=
10865
libname_spec='lib$name'
10866
soname_spec=
10867
shrext_cmds=".so"
10868
postinstall_cmds=
10869
postuninstall_cmds=
10870
finish_cmds=
10871
finish_eval=
10872
shlibpath_var=
10873
shlibpath_overrides_runpath=unknown
10874
version_type=none
10875
dynamic_linker="$host_os ld.so"
10876
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10877
need_lib_prefix=unknown
10878
hardcode_into_libs=no
10879
 
10880
# when you set need_version to no, make sure it does not cause -set_version
10881
# flags to be left without arguments
10882
need_version=unknown
10883
 
10884
case $host_os in
10885
aix3*)
10886
  version_type=linux
10887
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10888
  shlibpath_var=LIBPATH
10889
 
10890
  # AIX 3 has no versioning support, so we append a major version to the name.
10891
  soname_spec='${libname}${release}${shared_ext}$major'
10892
  ;;
10893
 
10894
aix[4-9]*)
10895
  version_type=linux
10896
  need_lib_prefix=no
10897
  need_version=no
10898
  hardcode_into_libs=yes
10899
  if test "$host_cpu" = ia64; then
10900
    # AIX 5 supports IA64
10901
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10902
    shlibpath_var=LD_LIBRARY_PATH
10903
  else
10904
    # With GCC up to 2.95.x, collect2 would create an import file
10905
    # for dependence libraries.  The import file would start with
10906
    # the line `#! .'.  This would cause the generated library to
10907
    # depend on `.', always an invalid library.  This was fixed in
10908
    # development snapshots of GCC prior to 3.0.
10909
    case $host_os in
10910
      aix4 | aix4.[01] | aix4.[01].*)
10911
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10912
           echo ' yes '
10913
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10914
        :
10915
      else
10916
        can_build_shared=no
10917
      fi
10918
      ;;
10919
    esac
10920
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10921
    # soname into executable. Probably we can add versioning support to
10922
    # collect2, so additional links can be useful in future.
10923
    if test "$aix_use_runtimelinking" = yes; then
10924
      # If using run time linking (on AIX 4.2 or later) use lib.so
10925
      # instead of lib.a to let people know that these are not
10926
      # typical AIX shared libraries.
10927
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10928
    else
10929
      # We preserve .a as extension for shared libraries through AIX4.2
10930
      # and later when we are not doing run time linking.
10931
      library_names_spec='${libname}${release}.a $libname.a'
10932
      soname_spec='${libname}${release}${shared_ext}$major'
10933
    fi
10934
    shlibpath_var=LIBPATH
10935
  fi
10936
  ;;
10937
 
10938
amigaos*)
10939
  case $host_cpu in
10940
  powerpc)
10941
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10942
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10943
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10944
    ;;
10945
  m68k)
10946
    library_names_spec='$libname.ixlibrary $libname.a'
10947
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10948
    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'
10949
    ;;
10950
  esac
10951
  ;;
10952
 
10953
beos*)
10954
  library_names_spec='${libname}${shared_ext}'
10955
  dynamic_linker="$host_os ld.so"
10956
  shlibpath_var=LIBRARY_PATH
10957
  ;;
10958
 
10959
bsdi[45]*)
10960
  version_type=linux
10961
  need_version=no
10962
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10963
  soname_spec='${libname}${release}${shared_ext}$major'
10964
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10965
  shlibpath_var=LD_LIBRARY_PATH
10966
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10967
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10968
  # the default ld.so.conf also contains /usr/contrib/lib and
10969
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10970
  # libtool to hard-code these into programs
10971
  ;;
10972
 
10973
cygwin* | mingw* | pw32* | cegcc*)
10974
  version_type=windows
10975
  shrext_cmds=".dll"
10976
  need_version=no
10977
  need_lib_prefix=no
10978
 
10979
  case $GCC,$host_os in
10980
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10981
    library_names_spec='$libname.dll.a'
10982
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10983
    postinstall_cmds='base_file=`basename \${file}`~
10984
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10985
      dldir=$destdir/`dirname \$dlpath`~
10986
      test -d \$dldir || mkdir -p \$dldir~
10987
      $install_prog $dir/$dlname \$dldir/$dlname~
10988
      chmod a+x \$dldir/$dlname~
10989
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10990
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10991
      fi'
10992
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10993
      dlpath=$dir/\$dldll~
10994
       $RM \$dlpath'
10995
    shlibpath_overrides_runpath=yes
10996
 
10997
    case $host_os in
10998
    cygwin*)
10999
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11000
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11001
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11002
      ;;
11003
    mingw* | cegcc*)
11004
      # MinGW DLLs use traditional 'lib' prefix
11005
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11006
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11007
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11008
        # It is most probably a Windows format PATH printed by
11009
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11010
        # path with ; separators, and with drive letters. We can handle the
11011
        # drive letters (cygwin fileutils understands them), so leave them,
11012
        # especially as we might pass files found there to a mingw objdump,
11013
        # which wouldn't understand a cygwinified path. Ahh.
11014
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11015
      else
11016
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11017
      fi
11018
      ;;
11019
    pw32*)
11020
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11021
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11022
      ;;
11023
    esac
11024
    ;;
11025
 
11026
  *)
11027
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11028
    ;;
11029
  esac
11030
  dynamic_linker='Win32 ld.exe'
11031
  # FIXME: first we should search . and the directory the executable is in
11032
  shlibpath_var=PATH
11033
  ;;
11034
 
11035
darwin* | rhapsody*)
11036
  dynamic_linker="$host_os dyld"
11037
  version_type=darwin
11038
  need_lib_prefix=no
11039
  need_version=no
11040
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11041
  soname_spec='${libname}${release}${major}$shared_ext'
11042
  shlibpath_overrides_runpath=yes
11043
  shlibpath_var=DYLD_LIBRARY_PATH
11044
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11045
 
11046
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11047
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11048
  ;;
11049
 
11050
dgux*)
11051
  version_type=linux
11052
  need_lib_prefix=no
11053
  need_version=no
11054
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11055
  soname_spec='${libname}${release}${shared_ext}$major'
11056
  shlibpath_var=LD_LIBRARY_PATH
11057
  ;;
11058
 
11059
freebsd1*)
11060
  dynamic_linker=no
11061
  ;;
11062
 
11063
freebsd* | dragonfly*)
11064
  # DragonFly does not have aout.  When/if they implement a new
11065
  # versioning mechanism, adjust this.
11066
  if test -x /usr/bin/objformat; then
11067
    objformat=`/usr/bin/objformat`
11068
  else
11069
    case $host_os in
11070
    freebsd[123]*) objformat=aout ;;
11071
    *) objformat=elf ;;
11072
    esac
11073
  fi
11074
  version_type=freebsd-$objformat
11075
  case $version_type in
11076
    freebsd-elf*)
11077
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11078
      need_version=no
11079
      need_lib_prefix=no
11080
      ;;
11081
    freebsd-*)
11082
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11083
      need_version=yes
11084
      ;;
11085
  esac
11086
  shlibpath_var=LD_LIBRARY_PATH
11087
  case $host_os in
11088
  freebsd2*)
11089
    shlibpath_overrides_runpath=yes
11090
    ;;
11091
  freebsd3.[01]* | freebsdelf3.[01]*)
11092
    shlibpath_overrides_runpath=yes
11093
    hardcode_into_libs=yes
11094
    ;;
11095
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11096
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11097
    shlibpath_overrides_runpath=no
11098
    hardcode_into_libs=yes
11099
    ;;
11100
  *) # from 4.6 on, and DragonFly
11101
    shlibpath_overrides_runpath=yes
11102
    hardcode_into_libs=yes
11103
    ;;
11104
  esac
11105
  ;;
11106
 
11107
gnu*)
11108
  version_type=linux
11109
  need_lib_prefix=no
11110
  need_version=no
11111
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11112
  soname_spec='${libname}${release}${shared_ext}$major'
11113
  shlibpath_var=LD_LIBRARY_PATH
11114
  hardcode_into_libs=yes
11115
  ;;
11116
 
11117
hpux9* | hpux10* | hpux11*)
11118
  # Give a soname corresponding to the major version so that dld.sl refuses to
11119
  # link against other versions.
11120
  version_type=sunos
11121
  need_lib_prefix=no
11122
  need_version=no
11123
  case $host_cpu in
11124
  ia64*)
11125
    shrext_cmds='.so'
11126
    hardcode_into_libs=yes
11127
    dynamic_linker="$host_os dld.so"
11128
    shlibpath_var=LD_LIBRARY_PATH
11129
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11130
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11131
    soname_spec='${libname}${release}${shared_ext}$major'
11132
    if test "X$HPUX_IA64_MODE" = X32; then
11133
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11134
    else
11135
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11136
    fi
11137
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11138
    ;;
11139
  hppa*64*)
11140
    shrext_cmds='.sl'
11141
    hardcode_into_libs=yes
11142
    dynamic_linker="$host_os dld.sl"
11143
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11144
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11145
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11146
    soname_spec='${libname}${release}${shared_ext}$major'
11147
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11148
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11149
    ;;
11150
  *)
11151
    shrext_cmds='.sl'
11152
    dynamic_linker="$host_os dld.sl"
11153
    shlibpath_var=SHLIB_PATH
11154
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11155
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11156
    soname_spec='${libname}${release}${shared_ext}$major'
11157
    ;;
11158
  esac
11159
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11160
  postinstall_cmds='chmod 555 $lib'
11161
  ;;
11162
 
11163
interix[3-9]*)
11164
  version_type=linux
11165
  need_lib_prefix=no
11166
  need_version=no
11167
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11168
  soname_spec='${libname}${release}${shared_ext}$major'
11169
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11170
  shlibpath_var=LD_LIBRARY_PATH
11171
  shlibpath_overrides_runpath=no
11172
  hardcode_into_libs=yes
11173
  ;;
11174
 
11175
irix5* | irix6* | nonstopux*)
11176
  case $host_os in
11177
    nonstopux*) version_type=nonstopux ;;
11178
    *)
11179
        if test "$lt_cv_prog_gnu_ld" = yes; then
11180
                version_type=linux
11181
        else
11182
                version_type=irix
11183
        fi ;;
11184
  esac
11185
  need_lib_prefix=no
11186
  need_version=no
11187
  soname_spec='${libname}${release}${shared_ext}$major'
11188
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11189
  case $host_os in
11190
  irix5* | nonstopux*)
11191
    libsuff= shlibsuff=
11192
    ;;
11193
  *)
11194
    case $LD in # libtool.m4 will add one of these switches to LD
11195
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11196
      libsuff= shlibsuff= libmagic=32-bit;;
11197
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11198
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11199
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11200
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11201
    *) libsuff= shlibsuff= libmagic=never-match;;
11202
    esac
11203
    ;;
11204
  esac
11205
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11206
  shlibpath_overrides_runpath=no
11207
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11208
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11209
  hardcode_into_libs=yes
11210
  ;;
11211
 
11212
# No shared lib support for Linux oldld, aout, or coff.
11213
linux*oldld* | linux*aout* | linux*coff*)
11214
  dynamic_linker=no
11215
  ;;
11216
 
11217
# This must be Linux ELF.
11218
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11219
  version_type=linux
11220
  need_lib_prefix=no
11221
  need_version=no
11222
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11223
  soname_spec='${libname}${release}${shared_ext}$major'
11224
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11225
  shlibpath_var=LD_LIBRARY_PATH
11226
  shlibpath_overrides_runpath=no
11227
 
11228
  # Some binutils ld are patched to set DT_RUNPATH
11229
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
11230
  $as_echo_n "(cached) " >&6
11231
else
11232
  lt_cv_shlibpath_overrides_runpath=no
11233
    save_LDFLAGS=$LDFLAGS
11234
    save_libdir=$libdir
11235
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11236
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11237
    cat >conftest.$ac_ext <<_ACEOF
11238
/* confdefs.h.  */
11239
_ACEOF
11240
cat confdefs.h >>conftest.$ac_ext
11241
cat >>conftest.$ac_ext <<_ACEOF
11242
/* end confdefs.h.  */
11243
 
11244
int
11245
main ()
11246
{
11247
 
11248
  ;
11249
  return 0;
11250
}
11251
_ACEOF
11252
rm -f conftest.$ac_objext conftest$ac_exeext
11253
if { (ac_try="$ac_link"
11254
case "(($ac_try" in
11255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11256
  *) ac_try_echo=$ac_try;;
11257
esac
11258
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11259
$as_echo "$ac_try_echo") >&5
11260
  (eval "$ac_link") 2>conftest.er1
11261
  ac_status=$?
11262
  grep -v '^ *+' conftest.er1 >conftest.err
11263
  rm -f conftest.er1
11264
  cat conftest.err >&5
11265
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266
  (exit $ac_status); } && {
11267
         test -z "$ac_c_werror_flag" ||
11268
         test ! -s conftest.err
11269
       } && test -s conftest$ac_exeext && {
11270
         test "$cross_compiling" = yes ||
11271
         $as_test_x conftest$ac_exeext
11272
       }; then
11273
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11274
  lt_cv_shlibpath_overrides_runpath=yes
11275
fi
11276
 
11277
else
11278
  $as_echo "$as_me: failed program was:" >&5
11279
sed 's/^/| /' conftest.$ac_ext >&5
11280
 
11281
 
11282
fi
11283
 
11284
rm -rf conftest.dSYM
11285
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11286
      conftest$ac_exeext conftest.$ac_ext
11287
    LDFLAGS=$save_LDFLAGS
11288
    libdir=$save_libdir
11289
 
11290
fi
11291
 
11292
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11293
 
11294
  # This implies no fast_install, which is unacceptable.
11295
  # Some rework will be needed to allow for fast_install
11296
  # before this can be enabled.
11297
  hardcode_into_libs=yes
11298
 
11299
  # Append ld.so.conf contents to the search path
11300
  if test -f /etc/ld.so.conf; then
11301
    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' ' '`
11302
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11303
  fi
11304
 
11305
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11306
  # powerpc, because MkLinux only supported shared libraries with the
11307
  # GNU dynamic linker.  Since this was broken with cross compilers,
11308
  # most powerpc-linux boxes support dynamic linking these days and
11309
  # people can always --disable-shared, the test was removed, and we
11310
  # assume the GNU/Linux dynamic linker is in use.
11311
  dynamic_linker='GNU/Linux ld.so'
11312
  ;;
11313
 
11314
netbsd*)
11315
  version_type=sunos
11316
  need_lib_prefix=no
11317
  need_version=no
11318
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11319
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11320
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11321
    dynamic_linker='NetBSD (a.out) ld.so'
11322
  else
11323
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11324
    soname_spec='${libname}${release}${shared_ext}$major'
11325
    dynamic_linker='NetBSD ld.elf_so'
11326
  fi
11327
  shlibpath_var=LD_LIBRARY_PATH
11328
  shlibpath_overrides_runpath=yes
11329
  hardcode_into_libs=yes
11330
  ;;
11331
 
11332
newsos6)
11333
  version_type=linux
11334
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11335
  shlibpath_var=LD_LIBRARY_PATH
11336
  shlibpath_overrides_runpath=yes
11337
  ;;
11338
 
11339
*nto* | *qnx*)
11340
  version_type=qnx
11341
  need_lib_prefix=no
11342
  need_version=no
11343
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11344
  soname_spec='${libname}${release}${shared_ext}$major'
11345
  shlibpath_var=LD_LIBRARY_PATH
11346
  shlibpath_overrides_runpath=no
11347
  hardcode_into_libs=yes
11348
  dynamic_linker='ldqnx.so'
11349
  ;;
11350
 
11351
openbsd*)
11352
  version_type=sunos
11353
  sys_lib_dlsearch_path_spec="/usr/lib"
11354
  need_lib_prefix=no
11355
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11356
  case $host_os in
11357
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11358
    *)                          need_version=no  ;;
11359
  esac
11360
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11361
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11362
  shlibpath_var=LD_LIBRARY_PATH
11363
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11364
    case $host_os in
11365
      openbsd2.[89] | openbsd2.[89].*)
11366
        shlibpath_overrides_runpath=no
11367
        ;;
11368
      *)
11369
        shlibpath_overrides_runpath=yes
11370
        ;;
11371
      esac
11372
  else
11373
    shlibpath_overrides_runpath=yes
11374
  fi
11375
  ;;
11376
 
11377
os2*)
11378
  libname_spec='$name'
11379
  shrext_cmds=".dll"
11380
  need_lib_prefix=no
11381
  library_names_spec='$libname${shared_ext} $libname.a'
11382
  dynamic_linker='OS/2 ld.exe'
11383
  shlibpath_var=LIBPATH
11384
  ;;
11385
 
11386
osf3* | osf4* | osf5*)
11387
  version_type=osf
11388
  need_lib_prefix=no
11389
  need_version=no
11390
  soname_spec='${libname}${release}${shared_ext}$major'
11391
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11392
  shlibpath_var=LD_LIBRARY_PATH
11393
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11394
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11395
  ;;
11396
 
11397
rdos*)
11398
  dynamic_linker=no
11399
  ;;
11400
 
11401
solaris*)
11402
  version_type=linux
11403
  need_lib_prefix=no
11404
  need_version=no
11405
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11406
  soname_spec='${libname}${release}${shared_ext}$major'
11407
  shlibpath_var=LD_LIBRARY_PATH
11408
  shlibpath_overrides_runpath=yes
11409
  hardcode_into_libs=yes
11410
  # ldd complains unless libraries are executable
11411
  postinstall_cmds='chmod +x $lib'
11412
  ;;
11413
 
11414
sunos4*)
11415
  version_type=sunos
11416
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11417
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11418
  shlibpath_var=LD_LIBRARY_PATH
11419
  shlibpath_overrides_runpath=yes
11420
  if test "$with_gnu_ld" = yes; then
11421
    need_lib_prefix=no
11422
  fi
11423
  need_version=yes
11424
  ;;
11425
 
11426
sysv4 | sysv4.3*)
11427
  version_type=linux
11428
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11429
  soname_spec='${libname}${release}${shared_ext}$major'
11430
  shlibpath_var=LD_LIBRARY_PATH
11431
  case $host_vendor in
11432
    sni)
11433
      shlibpath_overrides_runpath=no
11434
      need_lib_prefix=no
11435
      runpath_var=LD_RUN_PATH
11436
      ;;
11437
    siemens)
11438
      need_lib_prefix=no
11439
      ;;
11440
    motorola)
11441
      need_lib_prefix=no
11442
      need_version=no
11443
      shlibpath_overrides_runpath=no
11444
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11445
      ;;
11446
  esac
11447
  ;;
11448
 
11449
sysv4*MP*)
11450
  if test -d /usr/nec ;then
11451
    version_type=linux
11452
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11453
    soname_spec='$libname${shared_ext}.$major'
11454
    shlibpath_var=LD_LIBRARY_PATH
11455
  fi
11456
  ;;
11457
 
11458
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11459
  version_type=freebsd-elf
11460
  need_lib_prefix=no
11461
  need_version=no
11462
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11463
  soname_spec='${libname}${release}${shared_ext}$major'
11464
  shlibpath_var=LD_LIBRARY_PATH
11465
  shlibpath_overrides_runpath=yes
11466
  hardcode_into_libs=yes
11467
  if test "$with_gnu_ld" = yes; then
11468
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11469
  else
11470
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11471
    case $host_os in
11472
      sco3.2v5*)
11473
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11474
        ;;
11475
    esac
11476
  fi
11477
  sys_lib_dlsearch_path_spec='/usr/lib'
11478
  ;;
11479
 
11480
tpf*)
11481
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11482
  version_type=linux
11483
  need_lib_prefix=no
11484
  need_version=no
11485
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11486
  shlibpath_var=LD_LIBRARY_PATH
11487
  shlibpath_overrides_runpath=no
11488
  hardcode_into_libs=yes
11489
  ;;
11490
 
11491
uts4*)
11492
  version_type=linux
11493
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11494
  soname_spec='${libname}${release}${shared_ext}$major'
11495
  shlibpath_var=LD_LIBRARY_PATH
11496
  ;;
11497
 
11498
*)
11499
  dynamic_linker=no
11500
  ;;
11501
esac
11502
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11503
$as_echo "$dynamic_linker" >&6; }
11504
test "$dynamic_linker" = no && can_build_shared=no
11505
 
11506
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11507
if test "$GCC" = yes; then
11508
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11509
fi
11510
 
11511
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11512
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11513
fi
11514
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11515
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11516
fi
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
 
11603
 
11604
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11605
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11606
hardcode_action=
11607
if test -n "$hardcode_libdir_flag_spec" ||
11608
   test -n "$runpath_var" ||
11609
   test "X$hardcode_automatic" = "Xyes" ; then
11610
 
11611
  # We can hardcode non-existent directories.
11612
  if test "$hardcode_direct" != no &&
11613
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11614
     # have to relink, otherwise we might link with an installed library
11615
     # when we should be linking with a yet-to-be-installed one
11616
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11617
     test "$hardcode_minus_L" != no; then
11618
    # Linking always hardcodes the temporary library directory.
11619
    hardcode_action=relink
11620
  else
11621
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11622
    hardcode_action=immediate
11623
  fi
11624
else
11625
  # We cannot hardcode anything, or else we can only hardcode existing
11626
  # directories.
11627
  hardcode_action=unsupported
11628
fi
11629
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11630
$as_echo "$hardcode_action" >&6; }
11631
 
11632
if test "$hardcode_action" = relink ||
11633
   test "$inherit_rpath" = yes; then
11634
  # Fast installation is not supported
11635
  enable_fast_install=no
11636
elif test "$shlibpath_overrides_runpath" = yes ||
11637
     test "$enable_shared" = no; then
11638
  # Fast installation is not necessary
11639
  enable_fast_install=needless
11640
fi
11641
 
11642
 
11643
 
11644
 
11645
 
11646
 
11647
  if test "x$enable_dlopen" != xyes; then
11648
  enable_dlopen=unknown
11649
  enable_dlopen_self=unknown
11650
  enable_dlopen_self_static=unknown
11651
else
11652
  lt_cv_dlopen=no
11653
  lt_cv_dlopen_libs=
11654
 
11655
  case $host_os in
11656
  beos*)
11657
    lt_cv_dlopen="load_add_on"
11658
    lt_cv_dlopen_libs=
11659
    lt_cv_dlopen_self=yes
11660
    ;;
11661
 
11662
  mingw* | pw32* | cegcc*)
11663
    lt_cv_dlopen="LoadLibrary"
11664
    lt_cv_dlopen_libs=
11665
    ;;
11666
 
11667
  cygwin*)
11668
    lt_cv_dlopen="dlopen"
11669
    lt_cv_dlopen_libs=
11670
    ;;
11671
 
11672
  darwin*)
11673
  # if libdl is installed we need to link against it
11674
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11675
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11676
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11677
  $as_echo_n "(cached) " >&6
11678
else
11679
  ac_check_lib_save_LIBS=$LIBS
11680
LIBS="-ldl  $LIBS"
11681
cat >conftest.$ac_ext <<_ACEOF
11682
/* confdefs.h.  */
11683
_ACEOF
11684
cat confdefs.h >>conftest.$ac_ext
11685
cat >>conftest.$ac_ext <<_ACEOF
11686
/* end confdefs.h.  */
11687
 
11688
/* Override any GCC internal prototype to avoid an error.
11689
   Use char because int might match the return type of a GCC
11690
   builtin and then its argument prototype would still apply.  */
11691
#ifdef __cplusplus
11692
extern "C"
11693
#endif
11694
char dlopen ();
11695
int
11696
main ()
11697
{
11698
return dlopen ();
11699
  ;
11700
  return 0;
11701
}
11702
_ACEOF
11703
rm -f conftest.$ac_objext conftest$ac_exeext
11704
if { (ac_try="$ac_link"
11705
case "(($ac_try" in
11706
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11707
  *) ac_try_echo=$ac_try;;
11708
esac
11709
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11710
$as_echo "$ac_try_echo") >&5
11711
  (eval "$ac_link") 2>conftest.er1
11712
  ac_status=$?
11713
  grep -v '^ *+' conftest.er1 >conftest.err
11714
  rm -f conftest.er1
11715
  cat conftest.err >&5
11716
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717
  (exit $ac_status); } && {
11718
         test -z "$ac_c_werror_flag" ||
11719
         test ! -s conftest.err
11720
       } && test -s conftest$ac_exeext && {
11721
         test "$cross_compiling" = yes ||
11722
         $as_test_x conftest$ac_exeext
11723
       }; then
11724
  ac_cv_lib_dl_dlopen=yes
11725
else
11726
  $as_echo "$as_me: failed program was:" >&5
11727
sed 's/^/| /' conftest.$ac_ext >&5
11728
 
11729
        ac_cv_lib_dl_dlopen=no
11730
fi
11731
 
11732
rm -rf conftest.dSYM
11733
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11734
      conftest$ac_exeext conftest.$ac_ext
11735
LIBS=$ac_check_lib_save_LIBS
11736
fi
11737
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11738
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11739
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11740
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11741
else
11742
 
11743
    lt_cv_dlopen="dyld"
11744
    lt_cv_dlopen_libs=
11745
    lt_cv_dlopen_self=yes
11746
 
11747
fi
11748
 
11749
    ;;
11750
 
11751
  *)
11752
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11753
$as_echo_n "checking for shl_load... " >&6; }
11754
if test "${ac_cv_func_shl_load+set}" = set; then
11755
  $as_echo_n "(cached) " >&6
11756
else
11757
  cat >conftest.$ac_ext <<_ACEOF
11758
/* confdefs.h.  */
11759
_ACEOF
11760
cat confdefs.h >>conftest.$ac_ext
11761
cat >>conftest.$ac_ext <<_ACEOF
11762
/* end confdefs.h.  */
11763
/* Define shl_load to an innocuous variant, in case  declares shl_load.
11764
   For example, HP-UX 11i  declares gettimeofday.  */
11765
#define shl_load innocuous_shl_load
11766
 
11767
/* System header to define __stub macros and hopefully few prototypes,
11768
    which can conflict with char shl_load (); below.
11769
    Prefer  to  if __STDC__ is defined, since
11770
     exists even on freestanding compilers.  */
11771
 
11772
#ifdef __STDC__
11773
# include 
11774
#else
11775
# include 
11776
#endif
11777
 
11778
#undef shl_load
11779
 
11780
/* Override any GCC internal prototype to avoid an error.
11781
   Use char because int might match the return type of a GCC
11782
   builtin and then its argument prototype would still apply.  */
11783
#ifdef __cplusplus
11784
extern "C"
11785
#endif
11786
char shl_load ();
11787
/* The GNU C library defines this for functions which it implements
11788
    to always fail with ENOSYS.  Some functions are actually named
11789
    something starting with __ and the normal name is an alias.  */
11790
#if defined __stub_shl_load || defined __stub___shl_load
11791
choke me
11792
#endif
11793
 
11794
int
11795
main ()
11796
{
11797
return shl_load ();
11798
  ;
11799
  return 0;
11800
}
11801
_ACEOF
11802
rm -f conftest.$ac_objext conftest$ac_exeext
11803
if { (ac_try="$ac_link"
11804
case "(($ac_try" in
11805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11806
  *) ac_try_echo=$ac_try;;
11807
esac
11808
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11809
$as_echo "$ac_try_echo") >&5
11810
  (eval "$ac_link") 2>conftest.er1
11811
  ac_status=$?
11812
  grep -v '^ *+' conftest.er1 >conftest.err
11813
  rm -f conftest.er1
11814
  cat conftest.err >&5
11815
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11816
  (exit $ac_status); } && {
11817
         test -z "$ac_c_werror_flag" ||
11818
         test ! -s conftest.err
11819
       } && test -s conftest$ac_exeext && {
11820
         test "$cross_compiling" = yes ||
11821
         $as_test_x conftest$ac_exeext
11822
       }; then
11823
  ac_cv_func_shl_load=yes
11824
else
11825
  $as_echo "$as_me: failed program was:" >&5
11826
sed 's/^/| /' conftest.$ac_ext >&5
11827
 
11828
        ac_cv_func_shl_load=no
11829
fi
11830
 
11831
rm -rf conftest.dSYM
11832
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11833
      conftest$ac_exeext conftest.$ac_ext
11834
fi
11835
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11836
$as_echo "$ac_cv_func_shl_load" >&6; }
11837
if test "x$ac_cv_func_shl_load" = x""yes; then
11838
  lt_cv_dlopen="shl_load"
11839
else
11840
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11841
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11842
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11843
  $as_echo_n "(cached) " >&6
11844
else
11845
  ac_check_lib_save_LIBS=$LIBS
11846
LIBS="-ldld  $LIBS"
11847
cat >conftest.$ac_ext <<_ACEOF
11848
/* confdefs.h.  */
11849
_ACEOF
11850
cat confdefs.h >>conftest.$ac_ext
11851
cat >>conftest.$ac_ext <<_ACEOF
11852
/* end confdefs.h.  */
11853
 
11854
/* Override any GCC internal prototype to avoid an error.
11855
   Use char because int might match the return type of a GCC
11856
   builtin and then its argument prototype would still apply.  */
11857
#ifdef __cplusplus
11858
extern "C"
11859
#endif
11860
char shl_load ();
11861
int
11862
main ()
11863
{
11864
return shl_load ();
11865
  ;
11866
  return 0;
11867
}
11868
_ACEOF
11869
rm -f conftest.$ac_objext conftest$ac_exeext
11870
if { (ac_try="$ac_link"
11871
case "(($ac_try" in
11872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11873
  *) ac_try_echo=$ac_try;;
11874
esac
11875
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11876
$as_echo "$ac_try_echo") >&5
11877
  (eval "$ac_link") 2>conftest.er1
11878
  ac_status=$?
11879
  grep -v '^ *+' conftest.er1 >conftest.err
11880
  rm -f conftest.er1
11881
  cat conftest.err >&5
11882
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883
  (exit $ac_status); } && {
11884
         test -z "$ac_c_werror_flag" ||
11885
         test ! -s conftest.err
11886
       } && test -s conftest$ac_exeext && {
11887
         test "$cross_compiling" = yes ||
11888
         $as_test_x conftest$ac_exeext
11889
       }; then
11890
  ac_cv_lib_dld_shl_load=yes
11891
else
11892
  $as_echo "$as_me: failed program was:" >&5
11893
sed 's/^/| /' conftest.$ac_ext >&5
11894
 
11895
        ac_cv_lib_dld_shl_load=no
11896
fi
11897
 
11898
rm -rf conftest.dSYM
11899
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11900
      conftest$ac_exeext conftest.$ac_ext
11901
LIBS=$ac_check_lib_save_LIBS
11902
fi
11903
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11904
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11905
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11906
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11907
else
11908
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11909
$as_echo_n "checking for dlopen... " >&6; }
11910
if test "${ac_cv_func_dlopen+set}" = set; then
11911
  $as_echo_n "(cached) " >&6
11912
else
11913
  cat >conftest.$ac_ext <<_ACEOF
11914
/* confdefs.h.  */
11915
_ACEOF
11916
cat confdefs.h >>conftest.$ac_ext
11917
cat >>conftest.$ac_ext <<_ACEOF
11918
/* end confdefs.h.  */
11919
/* Define dlopen to an innocuous variant, in case  declares dlopen.
11920
   For example, HP-UX 11i  declares gettimeofday.  */
11921
#define dlopen innocuous_dlopen
11922
 
11923
/* System header to define __stub macros and hopefully few prototypes,
11924
    which can conflict with char dlopen (); below.
11925
    Prefer  to  if __STDC__ is defined, since
11926
     exists even on freestanding compilers.  */
11927
 
11928
#ifdef __STDC__
11929
# include 
11930
#else
11931
# include 
11932
#endif
11933
 
11934
#undef dlopen
11935
 
11936
/* Override any GCC internal prototype to avoid an error.
11937
   Use char because int might match the return type of a GCC
11938
   builtin and then its argument prototype would still apply.  */
11939
#ifdef __cplusplus
11940
extern "C"
11941
#endif
11942
char dlopen ();
11943
/* The GNU C library defines this for functions which it implements
11944
    to always fail with ENOSYS.  Some functions are actually named
11945
    something starting with __ and the normal name is an alias.  */
11946
#if defined __stub_dlopen || defined __stub___dlopen
11947
choke me
11948
#endif
11949
 
11950
int
11951
main ()
11952
{
11953
return dlopen ();
11954
  ;
11955
  return 0;
11956
}
11957
_ACEOF
11958
rm -f conftest.$ac_objext conftest$ac_exeext
11959
if { (ac_try="$ac_link"
11960
case "(($ac_try" in
11961
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11962
  *) ac_try_echo=$ac_try;;
11963
esac
11964
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11965
$as_echo "$ac_try_echo") >&5
11966
  (eval "$ac_link") 2>conftest.er1
11967
  ac_status=$?
11968
  grep -v '^ *+' conftest.er1 >conftest.err
11969
  rm -f conftest.er1
11970
  cat conftest.err >&5
11971
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972
  (exit $ac_status); } && {
11973
         test -z "$ac_c_werror_flag" ||
11974
         test ! -s conftest.err
11975
       } && test -s conftest$ac_exeext && {
11976
         test "$cross_compiling" = yes ||
11977
         $as_test_x conftest$ac_exeext
11978
       }; then
11979
  ac_cv_func_dlopen=yes
11980
else
11981
  $as_echo "$as_me: failed program was:" >&5
11982
sed 's/^/| /' conftest.$ac_ext >&5
11983
 
11984
        ac_cv_func_dlopen=no
11985
fi
11986
 
11987
rm -rf conftest.dSYM
11988
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11989
      conftest$ac_exeext conftest.$ac_ext
11990
fi
11991
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11992
$as_echo "$ac_cv_func_dlopen" >&6; }
11993
if test "x$ac_cv_func_dlopen" = x""yes; then
11994
  lt_cv_dlopen="dlopen"
11995
else
11996
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11997
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11998
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11999
  $as_echo_n "(cached) " >&6
12000
else
12001
  ac_check_lib_save_LIBS=$LIBS
12002
LIBS="-ldl  $LIBS"
12003
cat >conftest.$ac_ext <<_ACEOF
12004
/* confdefs.h.  */
12005
_ACEOF
12006
cat confdefs.h >>conftest.$ac_ext
12007
cat >>conftest.$ac_ext <<_ACEOF
12008
/* end confdefs.h.  */
12009
 
12010
/* Override any GCC internal prototype to avoid an error.
12011
   Use char because int might match the return type of a GCC
12012
   builtin and then its argument prototype would still apply.  */
12013
#ifdef __cplusplus
12014
extern "C"
12015
#endif
12016
char dlopen ();
12017
int
12018
main ()
12019
{
12020
return dlopen ();
12021
  ;
12022
  return 0;
12023
}
12024
_ACEOF
12025
rm -f conftest.$ac_objext conftest$ac_exeext
12026
if { (ac_try="$ac_link"
12027
case "(($ac_try" in
12028
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12029
  *) ac_try_echo=$ac_try;;
12030
esac
12031
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12032
$as_echo "$ac_try_echo") >&5
12033
  (eval "$ac_link") 2>conftest.er1
12034
  ac_status=$?
12035
  grep -v '^ *+' conftest.er1 >conftest.err
12036
  rm -f conftest.er1
12037
  cat conftest.err >&5
12038
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039
  (exit $ac_status); } && {
12040
         test -z "$ac_c_werror_flag" ||
12041
         test ! -s conftest.err
12042
       } && test -s conftest$ac_exeext && {
12043
         test "$cross_compiling" = yes ||
12044
         $as_test_x conftest$ac_exeext
12045
       }; then
12046
  ac_cv_lib_dl_dlopen=yes
12047
else
12048
  $as_echo "$as_me: failed program was:" >&5
12049
sed 's/^/| /' conftest.$ac_ext >&5
12050
 
12051
        ac_cv_lib_dl_dlopen=no
12052
fi
12053
 
12054
rm -rf conftest.dSYM
12055
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12056
      conftest$ac_exeext conftest.$ac_ext
12057
LIBS=$ac_check_lib_save_LIBS
12058
fi
12059
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12060
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12061
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12062
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12063
else
12064
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12065
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12066
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12067
  $as_echo_n "(cached) " >&6
12068
else
12069
  ac_check_lib_save_LIBS=$LIBS
12070
LIBS="-lsvld  $LIBS"
12071
cat >conftest.$ac_ext <<_ACEOF
12072
/* confdefs.h.  */
12073
_ACEOF
12074
cat confdefs.h >>conftest.$ac_ext
12075
cat >>conftest.$ac_ext <<_ACEOF
12076
/* end confdefs.h.  */
12077
 
12078
/* Override any GCC internal prototype to avoid an error.
12079
   Use char because int might match the return type of a GCC
12080
   builtin and then its argument prototype would still apply.  */
12081
#ifdef __cplusplus
12082
extern "C"
12083
#endif
12084
char dlopen ();
12085
int
12086
main ()
12087
{
12088
return dlopen ();
12089
  ;
12090
  return 0;
12091
}
12092
_ACEOF
12093
rm -f conftest.$ac_objext conftest$ac_exeext
12094
if { (ac_try="$ac_link"
12095
case "(($ac_try" in
12096
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12097
  *) ac_try_echo=$ac_try;;
12098
esac
12099
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12100
$as_echo "$ac_try_echo") >&5
12101
  (eval "$ac_link") 2>conftest.er1
12102
  ac_status=$?
12103
  grep -v '^ *+' conftest.er1 >conftest.err
12104
  rm -f conftest.er1
12105
  cat conftest.err >&5
12106
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107
  (exit $ac_status); } && {
12108
         test -z "$ac_c_werror_flag" ||
12109
         test ! -s conftest.err
12110
       } && test -s conftest$ac_exeext && {
12111
         test "$cross_compiling" = yes ||
12112
         $as_test_x conftest$ac_exeext
12113
       }; then
12114
  ac_cv_lib_svld_dlopen=yes
12115
else
12116
  $as_echo "$as_me: failed program was:" >&5
12117
sed 's/^/| /' conftest.$ac_ext >&5
12118
 
12119
        ac_cv_lib_svld_dlopen=no
12120
fi
12121
 
12122
rm -rf conftest.dSYM
12123
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12124
      conftest$ac_exeext conftest.$ac_ext
12125
LIBS=$ac_check_lib_save_LIBS
12126
fi
12127
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12128
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12129
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12130
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12131
else
12132
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12133
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12134
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12135
  $as_echo_n "(cached) " >&6
12136
else
12137
  ac_check_lib_save_LIBS=$LIBS
12138
LIBS="-ldld  $LIBS"
12139
cat >conftest.$ac_ext <<_ACEOF
12140
/* confdefs.h.  */
12141
_ACEOF
12142
cat confdefs.h >>conftest.$ac_ext
12143
cat >>conftest.$ac_ext <<_ACEOF
12144
/* end confdefs.h.  */
12145
 
12146
/* Override any GCC internal prototype to avoid an error.
12147
   Use char because int might match the return type of a GCC
12148
   builtin and then its argument prototype would still apply.  */
12149
#ifdef __cplusplus
12150
extern "C"
12151
#endif
12152
char dld_link ();
12153
int
12154
main ()
12155
{
12156
return dld_link ();
12157
  ;
12158
  return 0;
12159
}
12160
_ACEOF
12161
rm -f conftest.$ac_objext conftest$ac_exeext
12162
if { (ac_try="$ac_link"
12163
case "(($ac_try" in
12164
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12165
  *) ac_try_echo=$ac_try;;
12166
esac
12167
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12168
$as_echo "$ac_try_echo") >&5
12169
  (eval "$ac_link") 2>conftest.er1
12170
  ac_status=$?
12171
  grep -v '^ *+' conftest.er1 >conftest.err
12172
  rm -f conftest.er1
12173
  cat conftest.err >&5
12174
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175
  (exit $ac_status); } && {
12176
         test -z "$ac_c_werror_flag" ||
12177
         test ! -s conftest.err
12178
       } && test -s conftest$ac_exeext && {
12179
         test "$cross_compiling" = yes ||
12180
         $as_test_x conftest$ac_exeext
12181
       }; then
12182
  ac_cv_lib_dld_dld_link=yes
12183
else
12184
  $as_echo "$as_me: failed program was:" >&5
12185
sed 's/^/| /' conftest.$ac_ext >&5
12186
 
12187
        ac_cv_lib_dld_dld_link=no
12188
fi
12189
 
12190
rm -rf conftest.dSYM
12191
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12192
      conftest$ac_exeext conftest.$ac_ext
12193
LIBS=$ac_check_lib_save_LIBS
12194
fi
12195
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12196
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12197
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12198
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12199
fi
12200
 
12201
 
12202
fi
12203
 
12204
 
12205
fi
12206
 
12207
 
12208
fi
12209
 
12210
 
12211
fi
12212
 
12213
 
12214
fi
12215
 
12216
    ;;
12217
  esac
12218
 
12219
  if test "x$lt_cv_dlopen" != xno; then
12220
    enable_dlopen=yes
12221
  else
12222
    enable_dlopen=no
12223
  fi
12224
 
12225
  case $lt_cv_dlopen in
12226
  dlopen)
12227
    save_CPPFLAGS="$CPPFLAGS"
12228
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12229
 
12230
    save_LDFLAGS="$LDFLAGS"
12231
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12232
 
12233
    save_LIBS="$LIBS"
12234
    LIBS="$lt_cv_dlopen_libs $LIBS"
12235
 
12236
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12237
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12238
if test "${lt_cv_dlopen_self+set}" = set; then
12239
  $as_echo_n "(cached) " >&6
12240
else
12241
          if test "$cross_compiling" = yes; then :
12242
  lt_cv_dlopen_self=cross
12243
else
12244
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12245
  lt_status=$lt_dlunknown
12246
  cat > conftest.$ac_ext <<_LT_EOF
12247
#line 12247 "configure"
12248
#include "confdefs.h"
12249
 
12250
#if HAVE_DLFCN_H
12251
#include 
12252
#endif
12253
 
12254
#include 
12255
 
12256
#ifdef RTLD_GLOBAL
12257
#  define LT_DLGLOBAL           RTLD_GLOBAL
12258
#else
12259
#  ifdef DL_GLOBAL
12260
#    define LT_DLGLOBAL         DL_GLOBAL
12261
#  else
12262
#    define LT_DLGLOBAL         0
12263
#  endif
12264
#endif
12265
 
12266
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12267
   find out it does not work in some platform. */
12268
#ifndef LT_DLLAZY_OR_NOW
12269
#  ifdef RTLD_LAZY
12270
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12271
#  else
12272
#    ifdef DL_LAZY
12273
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12274
#    else
12275
#      ifdef RTLD_NOW
12276
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12277
#      else
12278
#        ifdef DL_NOW
12279
#          define LT_DLLAZY_OR_NOW      DL_NOW
12280
#        else
12281
#          define LT_DLLAZY_OR_NOW      0
12282
#        endif
12283
#      endif
12284
#    endif
12285
#  endif
12286
#endif
12287
 
12288
void fnord() { int i=42;}
12289
int main ()
12290
{
12291
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12292
  int status = $lt_dlunknown;
12293
 
12294
  if (self)
12295
    {
12296
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12297
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12298
      /* dlclose (self); */
12299
    }
12300
  else
12301
    puts (dlerror ());
12302
 
12303
  return status;
12304
}
12305
_LT_EOF
12306
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12307
  (eval $ac_link) 2>&5
12308
  ac_status=$?
12309
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12311
    (./conftest; exit; ) >&5 2>/dev/null
12312
    lt_status=$?
12313
    case x$lt_status in
12314
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12315
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12316
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12317
    esac
12318
  else :
12319
    # compilation failed
12320
    lt_cv_dlopen_self=no
12321
  fi
12322
fi
12323
rm -fr conftest*
12324
 
12325
 
12326
fi
12327
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12328
$as_echo "$lt_cv_dlopen_self" >&6; }
12329
 
12330
    if test "x$lt_cv_dlopen_self" = xyes; then
12331
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12332
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12333
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12334
if test "${lt_cv_dlopen_self_static+set}" = set; then
12335
  $as_echo_n "(cached) " >&6
12336
else
12337
          if test "$cross_compiling" = yes; then :
12338
  lt_cv_dlopen_self_static=cross
12339
else
12340
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12341
  lt_status=$lt_dlunknown
12342
  cat > conftest.$ac_ext <<_LT_EOF
12343
#line 12343 "configure"
12344
#include "confdefs.h"
12345
 
12346
#if HAVE_DLFCN_H
12347
#include 
12348
#endif
12349
 
12350
#include 
12351
 
12352
#ifdef RTLD_GLOBAL
12353
#  define LT_DLGLOBAL           RTLD_GLOBAL
12354
#else
12355
#  ifdef DL_GLOBAL
12356
#    define LT_DLGLOBAL         DL_GLOBAL
12357
#  else
12358
#    define LT_DLGLOBAL         0
12359
#  endif
12360
#endif
12361
 
12362
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12363
   find out it does not work in some platform. */
12364
#ifndef LT_DLLAZY_OR_NOW
12365
#  ifdef RTLD_LAZY
12366
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12367
#  else
12368
#    ifdef DL_LAZY
12369
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12370
#    else
12371
#      ifdef RTLD_NOW
12372
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12373
#      else
12374
#        ifdef DL_NOW
12375
#          define LT_DLLAZY_OR_NOW      DL_NOW
12376
#        else
12377
#          define LT_DLLAZY_OR_NOW      0
12378
#        endif
12379
#      endif
12380
#    endif
12381
#  endif
12382
#endif
12383
 
12384
void fnord() { int i=42;}
12385
int main ()
12386
{
12387
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12388
  int status = $lt_dlunknown;
12389
 
12390
  if (self)
12391
    {
12392
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12393
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12394
      /* dlclose (self); */
12395
    }
12396
  else
12397
    puts (dlerror ());
12398
 
12399
  return status;
12400
}
12401
_LT_EOF
12402
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12403
  (eval $ac_link) 2>&5
12404
  ac_status=$?
12405
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12407
    (./conftest; exit; ) >&5 2>/dev/null
12408
    lt_status=$?
12409
    case x$lt_status in
12410
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12411
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12412
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12413
    esac
12414
  else :
12415
    # compilation failed
12416
    lt_cv_dlopen_self_static=no
12417
  fi
12418
fi
12419
rm -fr conftest*
12420
 
12421
 
12422
fi
12423
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12424
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12425
    fi
12426
 
12427
    CPPFLAGS="$save_CPPFLAGS"
12428
    LDFLAGS="$save_LDFLAGS"
12429
    LIBS="$save_LIBS"
12430
    ;;
12431
  esac
12432
 
12433
  case $lt_cv_dlopen_self in
12434
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12435
  *) enable_dlopen_self=unknown ;;
12436
  esac
12437
 
12438
  case $lt_cv_dlopen_self_static in
12439
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12440
  *) enable_dlopen_self_static=unknown ;;
12441
  esac
12442
fi
12443
 
12444
 
12445
 
12446
 
12447
 
12448
 
12449
 
12450
 
12451
 
12452
 
12453
 
12454
 
12455
 
12456
 
12457
 
12458
 
12459
 
12460
striplib=
12461
old_striplib=
12462
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12463
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12464
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12465
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12466
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12467
  { $as_echo "$as_me:$LINENO: result: yes" >&5
12468
$as_echo "yes" >&6; }
12469
else
12470
# FIXME - insert some real tests, host_os isn't really good enough
12471
  case $host_os in
12472
  darwin*)
12473
    if test -n "$STRIP" ; then
12474
      striplib="$STRIP -x"
12475
      old_striplib="$STRIP -S"
12476
      { $as_echo "$as_me:$LINENO: result: yes" >&5
12477
$as_echo "yes" >&6; }
12478
    else
12479
      { $as_echo "$as_me:$LINENO: result: no" >&5
12480
$as_echo "no" >&6; }
12481
    fi
12482
    ;;
12483
  *)
12484
    { $as_echo "$as_me:$LINENO: result: no" >&5
12485
$as_echo "no" >&6; }
12486
    ;;
12487
  esac
12488
fi
12489
 
12490
 
12491
 
12492
 
12493
 
12494
 
12495
 
12496
 
12497
 
12498
 
12499
 
12500
 
12501
  # Report which library types will actually be built
12502
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12503
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12504
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12505
$as_echo "$can_build_shared" >&6; }
12506
 
12507
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12508
$as_echo_n "checking whether to build shared libraries... " >&6; }
12509
  test "$can_build_shared" = "no" && enable_shared=no
12510
 
12511
  # On AIX, shared libraries and static libraries use the same namespace, and
12512
  # are all built from PIC.
12513
  case $host_os in
12514
  aix3*)
12515
    test "$enable_shared" = yes && enable_static=no
12516
    if test -n "$RANLIB"; then
12517
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12518
      postinstall_cmds='$RANLIB $lib'
12519
    fi
12520
    ;;
12521
 
12522
  aix[4-9]*)
12523
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12524
      test "$enable_shared" = yes && enable_static=no
12525
    fi
12526
    ;;
12527
  esac
12528
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12529
$as_echo "$enable_shared" >&6; }
12530
 
12531
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12532
$as_echo_n "checking whether to build static libraries... " >&6; }
12533
  # Make sure either enable_shared or enable_static is yes.
12534
  test "$enable_shared" = yes || enable_static=yes
12535
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12536
$as_echo "$enable_static" >&6; }
12537
 
12538
 
12539
 
12540
 
12541
fi
12542
ac_ext=c
12543
ac_cpp='$CPP $CPPFLAGS'
12544
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12545
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12546
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12547
 
12548
CC="$lt_save_CC"
12549
 
12550
 
12551
 
12552
 
12553
 
12554
 
12555
 
12556
 
12557
 
12558
 
12559
 
12560
 
12561
 
12562
        ac_config_commands="$ac_config_commands libtool"
12563
 
12564
 
12565
 
12566
 
12567
# Only expand once:
12568
 
12569
 
12570
fi
12571
 
12572
 if test "x$mach_add_setjmp" = 'xtrue'; then
12573
  MACH_ADD_SETJMP_TRUE=
12574
  MACH_ADD_SETJMP_FALSE='#'
12575
else
12576
  MACH_ADD_SETJMP_TRUE='#'
12577
  MACH_ADD_SETJMP_FALSE=
12578
fi
12579
 
12580
 
12581
ac_config_files="$ac_config_files Makefile"
12582
 
12583
cat >confcache <<\_ACEOF
12584
# This file is a shell script that caches the results of configure
12585
# tests run on this system so they can be shared between configure
12586
# scripts and configure runs, see configure's option --config-cache.
12587
# It is not useful on other systems.  If it contains results you don't
12588
# want to keep, you may remove or edit it.
12589
#
12590
# config.status only pays attention to the cache file if you give it
12591
# the --recheck option to rerun configure.
12592
#
12593
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12594
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12595
# following values.
12596
 
12597
_ACEOF
12598
 
12599
# The following way of writing the cache mishandles newlines in values,
12600
# but we know of no workaround that is simple, portable, and efficient.
12601
# So, we kill variables containing newlines.
12602
# Ultrix sh set writes to stderr and can't be redirected directly,
12603
# and sets the high bit in the cache file unless we assign to the vars.
12604
(
12605
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12606
    eval ac_val=\$$ac_var
12607
    case $ac_val in #(
12608
    *${as_nl}*)
12609
      case $ac_var in #(
12610
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12611
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12612
      esac
12613
      case $ac_var in #(
12614
      _ | IFS | as_nl) ;; #(
12615
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12616
      *) $as_unset $ac_var ;;
12617
      esac ;;
12618
    esac
12619
  done
12620
 
12621
  (set) 2>&1 |
12622
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12623
    *${as_nl}ac_space=\ *)
12624
      # `set' does not quote correctly, so add quotes (double-quote
12625
      # substitution turns \\\\ into \\, and sed turns \\ into \).
12626
      sed -n \
12627
        "s/'/'\\\\''/g;
12628
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12629
      ;; #(
12630
    *)
12631
      # `set' quotes correctly as required by POSIX, so do not add quotes.
12632
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12633
      ;;
12634
    esac |
12635
    sort
12636
) |
12637
  sed '
12638
     /^ac_cv_env_/b end
12639
     t clear
12640
     :clear
12641
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12642
     t end
12643
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12644
     :end' >>confcache
12645
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12646
  if test -w "$cache_file"; then
12647
    test "x$cache_file" != "x/dev/null" &&
12648
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12649
$as_echo "$as_me: updating cache $cache_file" >&6;}
12650
    cat confcache >$cache_file
12651
  else
12652
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12653
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12654
  fi
12655
fi
12656
rm -f confcache
12657
 
12658
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12659
# Let make expand exec_prefix.
12660
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12661
 
12662
# Transform confdefs.h into DEFS.
12663
# Protect against shell expansion while executing Makefile rules.
12664
# Protect against Makefile macro expansion.
12665
#
12666
# If the first sed substitution is executed (which looks for macros that
12667
# take arguments), then branch to the quote section.  Otherwise,
12668
# look for a macro that doesn't take arguments.
12669
ac_script='
12670
:mline
12671
/\\$/{
12672
 N
12673
 s,\\\n,,
12674
 b mline
12675
}
12676
t clear
12677
:clear
12678
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
12679
t quote
12680
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
12681
t quote
12682
b any
12683
:quote
12684
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12685
s/\[/\\&/g
12686
s/\]/\\&/g
12687
s/\$/$$/g
12688
H
12689
:any
12690
${
12691
        g
12692
        s/^\n//
12693
        s/\n/ /g
12694
        p
12695
}
12696
'
12697
DEFS=`sed -n "$ac_script" confdefs.h`
12698
 
12699
 
12700
ac_libobjs=
12701
ac_ltlibobjs=
12702
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12703
  # 1. Remove the extension, and $U if already installed.
12704
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12705
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12706
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12707
  #    will be set to the directory where LIBOBJS objects are built.
12708
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12709
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12710
done
12711
LIBOBJS=$ac_libobjs
12712
 
12713
LTLIBOBJS=$ac_ltlibobjs
12714
 
12715
 
12716
if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
12717
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
12718
Usually this means the macro was only invoked conditionally." >&5
12719
$as_echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
12720
Usually this means the macro was only invoked conditionally." >&2;}
12721
   { (exit 1); exit 1; }; }
12722
fi
12723
 if test -n "$EXEEXT"; then
12724
  am__EXEEXT_TRUE=
12725
  am__EXEEXT_FALSE='#'
12726
else
12727
  am__EXEEXT_TRUE='#'
12728
  am__EXEEXT_FALSE=
12729
fi
12730
 
12731
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12732
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12733
Usually this means the macro was only invoked conditionally." >&5
12734
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12735
Usually this means the macro was only invoked conditionally." >&2;}
12736
   { (exit 1); exit 1; }; }
12737
fi
12738
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12739
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12740
Usually this means the macro was only invoked conditionally." >&5
12741
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12742
Usually this means the macro was only invoked conditionally." >&2;}
12743
   { (exit 1); exit 1; }; }
12744
fi
12745
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12746
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12747
Usually this means the macro was only invoked conditionally." >&5
12748
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12749
Usually this means the macro was only invoked conditionally." >&2;}
12750
   { (exit 1); exit 1; }; }
12751
fi
12752
if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
12753
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
12754
Usually this means the macro was only invoked conditionally." >&5
12755
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
12756
Usually this means the macro was only invoked conditionally." >&2;}
12757
   { (exit 1); exit 1; }; }
12758
fi
12759
if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
12760
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
12761
Usually this means the macro was only invoked conditionally." >&5
12762
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
12763
Usually this means the macro was only invoked conditionally." >&2;}
12764
   { (exit 1); exit 1; }; }
12765
fi
12766
if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
12767
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
12768
Usually this means the macro was only invoked conditionally." >&5
12769
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
12770
Usually this means the macro was only invoked conditionally." >&2;}
12771
   { (exit 1); exit 1; }; }
12772
fi
12773
if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
12774
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
12775
Usually this means the macro was only invoked conditionally." >&5
12776
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
12777
Usually this means the macro was only invoked conditionally." >&2;}
12778
   { (exit 1); exit 1; }; }
12779
fi
12780
if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
12781
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
12782
Usually this means the macro was only invoked conditionally." >&5
12783
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
12784
Usually this means the macro was only invoked conditionally." >&2;}
12785
   { (exit 1); exit 1; }; }
12786
fi
12787
if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
12788
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
12789
Usually this means the macro was only invoked conditionally." >&5
12790
$as_echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
12791
Usually this means the macro was only invoked conditionally." >&2;}
12792
   { (exit 1); exit 1; }; }
12793
fi
12794
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12795
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12796
Usually this means the macro was only invoked conditionally." >&5
12797
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12798
Usually this means the macro was only invoked conditionally." >&2;}
12799
   { (exit 1); exit 1; }; }
12800
fi
12801
if test -z "${MACH_ADD_SETJMP_TRUE}" && test -z "${MACH_ADD_SETJMP_FALSE}"; then
12802
  { { $as_echo "$as_me:$LINENO: error: conditional \"MACH_ADD_SETJMP\" was never defined.
12803
Usually this means the macro was only invoked conditionally." >&5
12804
$as_echo "$as_me: error: conditional \"MACH_ADD_SETJMP\" was never defined.
12805
Usually this means the macro was only invoked conditionally." >&2;}
12806
   { (exit 1); exit 1; }; }
12807
fi
12808
 
12809
: ${CONFIG_STATUS=./config.status}
12810
ac_write_fail=0
12811
ac_clean_files_save=$ac_clean_files
12812
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12813
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12814
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12815
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12816
#! $SHELL
12817
# Generated by $as_me.
12818
# Run this file to recreate the current configuration.
12819
# Compiler output produced by configure, useful for debugging
12820
# configure, is in config.log if it exists.
12821
 
12822
debug=false
12823
ac_cs_recheck=false
12824
ac_cs_silent=false
12825
SHELL=\${CONFIG_SHELL-$SHELL}
12826
_ACEOF
12827
 
12828
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12829
## --------------------- ##
12830
## M4sh Initialization.  ##
12831
## --------------------- ##
12832
 
12833
# Be more Bourne compatible
12834
DUALCASE=1; export DUALCASE # for MKS sh
12835
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12836
  emulate sh
12837
  NULLCMD=:
12838
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12839
  # is contrary to our usage.  Disable this feature.
12840
  alias -g '${1+"$@"}'='"$@"'
12841
  setopt NO_GLOB_SUBST
12842
else
12843
  case `(set -o) 2>/dev/null` in
12844
  *posix*) set -o posix ;;
12845
esac
12846
 
12847
fi
12848
 
12849
 
12850
 
12851
 
12852
# PATH needs CR
12853
# Avoid depending upon Character Ranges.
12854
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12855
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12856
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12857
as_cr_digits='0123456789'
12858
as_cr_alnum=$as_cr_Letters$as_cr_digits
12859
 
12860
as_nl='
12861
'
12862
export as_nl
12863
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12864
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12865
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12866
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12867
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12868
  as_echo='printf %s\n'
12869
  as_echo_n='printf %s'
12870
else
12871
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12872
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12873
    as_echo_n='/usr/ucb/echo -n'
12874
  else
12875
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12876
    as_echo_n_body='eval
12877
      arg=$1;
12878
      case $arg in
12879
      *"$as_nl"*)
12880
        expr "X$arg" : "X\\(.*\\)$as_nl";
12881
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12882
      esac;
12883
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12884
    '
12885
    export as_echo_n_body
12886
    as_echo_n='sh -c $as_echo_n_body as_echo'
12887
  fi
12888
  export as_echo_body
12889
  as_echo='sh -c $as_echo_body as_echo'
12890
fi
12891
 
12892
# The user is always right.
12893
if test "${PATH_SEPARATOR+set}" != set; then
12894
  PATH_SEPARATOR=:
12895
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12896
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12897
      PATH_SEPARATOR=';'
12898
  }
12899
fi
12900
 
12901
# Support unset when possible.
12902
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12903
  as_unset=unset
12904
else
12905
  as_unset=false
12906
fi
12907
 
12908
 
12909
# IFS
12910
# We need space, tab and new line, in precisely that order.  Quoting is
12911
# there to prevent editors from complaining about space-tab.
12912
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12913
# splitting by setting IFS to empty value.)
12914
IFS=" ""        $as_nl"
12915
 
12916
# Find who we are.  Look in the path if we contain no directory separator.
12917
case $0 in
12918
  *[\\/]* ) as_myself=$0 ;;
12919
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12920
for as_dir in $PATH
12921
do
12922
  IFS=$as_save_IFS
12923
  test -z "$as_dir" && as_dir=.
12924
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12925
done
12926
IFS=$as_save_IFS
12927
 
12928
     ;;
12929
esac
12930
# We did not find ourselves, most probably we were run as `sh COMMAND'
12931
# in which case we are not to be found in the path.
12932
if test "x$as_myself" = x; then
12933
  as_myself=$0
12934
fi
12935
if test ! -f "$as_myself"; then
12936
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12937
  { (exit 1); exit 1; }
12938
fi
12939
 
12940
# Work around bugs in pre-3.0 UWIN ksh.
12941
for as_var in ENV MAIL MAILPATH
12942
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12943
done
12944
PS1='$ '
12945
PS2='> '
12946
PS4='+ '
12947
 
12948
# NLS nuisances.
12949
LC_ALL=C
12950
export LC_ALL
12951
LANGUAGE=C
12952
export LANGUAGE
12953
 
12954
# Required to use basename.
12955
if expr a : '\(a\)' >/dev/null 2>&1 &&
12956
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12957
  as_expr=expr
12958
else
12959
  as_expr=false
12960
fi
12961
 
12962
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12963
  as_basename=basename
12964
else
12965
  as_basename=false
12966
fi
12967
 
12968
 
12969
# Name of the executable.
12970
as_me=`$as_basename -- "$0" ||
12971
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12972
         X"$0" : 'X\(//\)$' \| \
12973
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12974
$as_echo X/"$0" |
12975
    sed '/^.*\/\([^/][^/]*\)\/*$/{
12976
            s//\1/
12977
            q
12978
          }
12979
          /^X\/\(\/\/\)$/{
12980
            s//\1/
12981
            q
12982
          }
12983
          /^X\/\(\/\).*/{
12984
            s//\1/
12985
            q
12986
          }
12987
          s/.*/./; q'`
12988
 
12989
# CDPATH.
12990
$as_unset CDPATH
12991
 
12992
 
12993
 
12994
  as_lineno_1=$LINENO
12995
  as_lineno_2=$LINENO
12996
  test "x$as_lineno_1" != "x$as_lineno_2" &&
12997
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12998
 
12999
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13000
  # uniformly replaced by the line number.  The first 'sed' inserts a
13001
  # line-number line after each line using $LINENO; the second 'sed'
13002
  # does the real work.  The second script uses 'N' to pair each
13003
  # line-number line with the line containing $LINENO, and appends
13004
  # trailing '-' during substitution so that $LINENO is not a special
13005
  # case at line end.
13006
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13007
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
13008
  # E. McMahon (1931-1989) for sed's syntax.  :-)
13009
  sed -n '
13010
    p
13011
    /[$]LINENO/=
13012
  ' <$as_myself |
13013
    sed '
13014
      s/[$]LINENO.*/&-/
13015
      t lineno
13016
      b
13017
      :lineno
13018
      N
13019
      :loop
13020
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13021
      t loop
13022
      s/-\n.*//
13023
    ' >$as_me.lineno &&
13024
  chmod +x "$as_me.lineno" ||
13025
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13026
   { (exit 1); exit 1; }; }
13027
 
13028
  # Don't try to exec as it changes $[0], causing all sort of problems
13029
  # (the dirname of $[0] is not the place where we might find the
13030
  # original and so on.  Autoconf is especially sensitive to this).
13031
  . "./$as_me.lineno"
13032
  # Exit status is that of the last command.
13033
  exit
13034
}
13035
 
13036
 
13037
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13038
  as_dirname=dirname
13039
else
13040
  as_dirname=false
13041
fi
13042
 
13043
ECHO_C= ECHO_N= ECHO_T=
13044
case `echo -n x` in
13045
-n*)
13046
  case `echo 'x\c'` in
13047
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13048
  *)   ECHO_C='\c';;
13049
  esac;;
13050
*)
13051
  ECHO_N='-n';;
13052
esac
13053
if expr a : '\(a\)' >/dev/null 2>&1 &&
13054
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13055
  as_expr=expr
13056
else
13057
  as_expr=false
13058
fi
13059
 
13060
rm -f conf$$ conf$$.exe conf$$.file
13061
if test -d conf$$.dir; then
13062
  rm -f conf$$.dir/conf$$.file
13063
else
13064
  rm -f conf$$.dir
13065
  mkdir conf$$.dir 2>/dev/null
13066
fi
13067
if (echo >conf$$.file) 2>/dev/null; then
13068
  if ln -s conf$$.file conf$$ 2>/dev/null; then
13069
    as_ln_s='ln -s'
13070
    # ... but there are two gotchas:
13071
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13072
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13073
    # In both cases, we have to default to `cp -p'.
13074
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13075
      as_ln_s='cp -p'
13076
  elif ln conf$$.file conf$$ 2>/dev/null; then
13077
    as_ln_s=ln
13078
  else
13079
    as_ln_s='cp -p'
13080
  fi
13081
else
13082
  as_ln_s='cp -p'
13083
fi
13084
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13085
rmdir conf$$.dir 2>/dev/null
13086
 
13087
if mkdir -p . 2>/dev/null; then
13088
  as_mkdir_p=:
13089
else
13090
  test -d ./-p && rmdir ./-p
13091
  as_mkdir_p=false
13092
fi
13093
 
13094
if test -x / >/dev/null 2>&1; then
13095
  as_test_x='test -x'
13096
else
13097
  if ls -dL / >/dev/null 2>&1; then
13098
    as_ls_L_option=L
13099
  else
13100
    as_ls_L_option=
13101
  fi
13102
  as_test_x='
13103
    eval sh -c '\''
13104
      if test -d "$1"; then
13105
        test -d "$1/.";
13106
      else
13107
        case $1 in
13108
        -*)set "./$1";;
13109
        esac;
13110
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13111
        ???[sx]*):;;*)false;;esac;fi
13112
    '\'' sh
13113
  '
13114
fi
13115
as_executable_p=$as_test_x
13116
 
13117
# Sed expression to map a string onto a valid CPP name.
13118
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13119
 
13120
# Sed expression to map a string onto a valid variable name.
13121
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13122
 
13123
 
13124
exec 6>&1
13125
 
13126
# Save the log message, to keep $[0] and so on meaningful, and to
13127
# report actual input values of CONFIG_FILES etc. instead of their
13128
# values after options handling.
13129
ac_log="
13130
This file was extended by newlib $as_me 1.18.0, which was
13131
generated by GNU Autoconf 2.63.  Invocation command line was
13132
 
13133
  CONFIG_FILES    = $CONFIG_FILES
13134
  CONFIG_HEADERS  = $CONFIG_HEADERS
13135
  CONFIG_LINKS    = $CONFIG_LINKS
13136
  CONFIG_COMMANDS = $CONFIG_COMMANDS
13137
  $ $0 $@
13138
 
13139
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13140
"
13141
 
13142
_ACEOF
13143
 
13144
case $ac_config_files in *"
13145
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13146
esac
13147
 
13148
 
13149
 
13150
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13151
# Files that config.status was made for.
13152
config_files="$ac_config_files"
13153
config_commands="$ac_config_commands"
13154
 
13155
_ACEOF
13156
 
13157
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13158
ac_cs_usage="\
13159
\`$as_me' instantiates files from templates according to the
13160
current configuration.
13161
 
13162
Usage: $0 [OPTION]... [FILE]...
13163
 
13164
  -h, --help       print this help, then exit
13165
  -V, --version    print version number and configuration settings, then exit
13166
  -q, --quiet, --silent
13167
                   do not print progress messages
13168
  -d, --debug      don't remove temporary files
13169
      --recheck    update $as_me by reconfiguring in the same conditions
13170
      --file=FILE[:TEMPLATE]
13171
                   instantiate the configuration file FILE
13172
 
13173
Configuration files:
13174
$config_files
13175
 
13176
Configuration commands:
13177
$config_commands
13178
 
13179
Report bugs to ."
13180
 
13181
_ACEOF
13182
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13183
ac_cs_version="\\
13184
newlib config.status 1.18.0
13185
configured by $0, generated by GNU Autoconf 2.63,
13186
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13187
 
13188
Copyright (C) 2008 Free Software Foundation, Inc.
13189
This config.status script is free software; the Free Software Foundation
13190
gives unlimited permission to copy, distribute and modify it."
13191
 
13192
ac_pwd='$ac_pwd'
13193
srcdir='$srcdir'
13194
INSTALL='$INSTALL'
13195
MKDIR_P='$MKDIR_P'
13196
AWK='$AWK'
13197
test -n "\$AWK" || AWK=awk
13198
_ACEOF
13199
 
13200
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13201
# The default lists apply if the user does not specify any file.
13202
ac_need_defaults=:
13203
while test $# != 0
13204
do
13205
  case $1 in
13206
  --*=*)
13207
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13208
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13209
    ac_shift=:
13210
    ;;
13211
  *)
13212
    ac_option=$1
13213
    ac_optarg=$2
13214
    ac_shift=shift
13215
    ;;
13216
  esac
13217
 
13218
  case $ac_option in
13219
  # Handling of the options.
13220
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13221
    ac_cs_recheck=: ;;
13222
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13223
    $as_echo "$ac_cs_version"; exit ;;
13224
  --debug | --debu | --deb | --de | --d | -d )
13225
    debug=: ;;
13226
  --file | --fil | --fi | --f )
13227
    $ac_shift
13228
    case $ac_optarg in
13229
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13230
    esac
13231
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13232
    ac_need_defaults=false;;
13233
  --he | --h |  --help | --hel | -h )
13234
    $as_echo "$ac_cs_usage"; exit ;;
13235
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13236
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13237
    ac_cs_silent=: ;;
13238
 
13239
  # This is an error.
13240
  -*) { $as_echo "$as_me: error: unrecognized option: $1
13241
Try \`$0 --help' for more information." >&2
13242
   { (exit 1); exit 1; }; } ;;
13243
 
13244
  *) ac_config_targets="$ac_config_targets $1"
13245
     ac_need_defaults=false ;;
13246
 
13247
  esac
13248
  shift
13249
done
13250
 
13251
ac_configure_extra_args=
13252
 
13253
if $ac_cs_silent; then
13254
  exec 6>/dev/null
13255
  ac_configure_extra_args="$ac_configure_extra_args --silent"
13256
fi
13257
 
13258
_ACEOF
13259
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13260
if \$ac_cs_recheck; then
13261
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13262
  shift
13263
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13264
  CONFIG_SHELL='$SHELL'
13265
  export CONFIG_SHELL
13266
  exec "\$@"
13267
fi
13268
 
13269
_ACEOF
13270
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13271
exec 5>>config.log
13272
{
13273
  echo
13274
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13275
## Running $as_me. ##
13276
_ASBOX
13277
  $as_echo "$ac_log"
13278
} >&5
13279
 
13280
_ACEOF
13281
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13282
#
13283
# INIT-COMMANDS
13284
#
13285
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13286
 
13287
 
13288
# The HP-UX ksh and POSIX shell print the target directory to stdout
13289
# if CDPATH is set.
13290
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13291
 
13292
sed_quote_subst='$sed_quote_subst'
13293
double_quote_subst='$double_quote_subst'
13294
delay_variable_subst='$delay_variable_subst'
13295
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13296
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13297
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
13298
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13299
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13300
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13301
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13302
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13303
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13304
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13305
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13306
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13307
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13308
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13309
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13310
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13311
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13312
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13313
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13314
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13315
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13316
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13317
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13318
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13319
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13320
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13321
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13322
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13323
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13324
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13325
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13326
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13327
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13328
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13329
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13330
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13331
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13332
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13333
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13334
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13335
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13336
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13337
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13338
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13339
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13340
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13341
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"`'
13342
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"`'
13343
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13344
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13345
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13346
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13347
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13348
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13349
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13350
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13351
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13352
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13353
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13354
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13355
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13356
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13357
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13358
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13359
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13360
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13361
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13362
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13363
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13364
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13365
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13366
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13367
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13368
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13369
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13370
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13371
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13372
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13373
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13374
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13375
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13376
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13377
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13378
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13379
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13380
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13381
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13382
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13383
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13384
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13385
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13386
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13387
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13388
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13389
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13390
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13391
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13392
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13393
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13394
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13395
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13396
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13397
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13398
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13399
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13400
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13401
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13402
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13403
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13404
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13405
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13406
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13407
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13408
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13409
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13410
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13411
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13412
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13413
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13414
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13415
 
13416
LTCC='$LTCC'
13417
LTCFLAGS='$LTCFLAGS'
13418
compiler='$compiler_DEFAULT'
13419
 
13420
# Quote evaled strings.
13421
for var in SED \
13422
GREP \
13423
EGREP \
13424
FGREP \
13425
LD \
13426
NM \
13427
LN_S \
13428
lt_SP2NL \
13429
lt_NL2SP \
13430
reload_flag \
13431
deplibs_check_method \
13432
file_magic_cmd \
13433
AR \
13434
AR_FLAGS \
13435
STRIP \
13436
RANLIB \
13437
CC \
13438
CFLAGS \
13439
compiler \
13440
lt_cv_sys_global_symbol_pipe \
13441
lt_cv_sys_global_symbol_to_cdecl \
13442
lt_cv_sys_global_symbol_to_c_name_address \
13443
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13444
SHELL \
13445
ECHO \
13446
lt_prog_compiler_no_builtin_flag \
13447
lt_prog_compiler_wl \
13448
lt_prog_compiler_pic \
13449
lt_prog_compiler_static \
13450
lt_cv_prog_compiler_c_o \
13451
need_locks \
13452
DSYMUTIL \
13453
NMEDIT \
13454
LIPO \
13455
OTOOL \
13456
OTOOL64 \
13457
shrext_cmds \
13458
export_dynamic_flag_spec \
13459
whole_archive_flag_spec \
13460
compiler_needs_object \
13461
with_gnu_ld \
13462
allow_undefined_flag \
13463
no_undefined_flag \
13464
hardcode_libdir_flag_spec \
13465
hardcode_libdir_flag_spec_ld \
13466
hardcode_libdir_separator \
13467
fix_srcfile_path \
13468
exclude_expsyms \
13469
include_expsyms \
13470
file_list_spec \
13471
variables_saved_for_relink \
13472
libname_spec \
13473
library_names_spec \
13474
soname_spec \
13475
finish_eval \
13476
old_striplib \
13477
striplib; do
13478
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13479
    *[\\\\\\\`\\"\\\$]*)
13480
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13481
      ;;
13482
    *)
13483
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13484
      ;;
13485
    esac
13486
done
13487
 
13488
# Double-quote double-evaled strings.
13489
for var in reload_cmds \
13490
old_postinstall_cmds \
13491
old_postuninstall_cmds \
13492
old_archive_cmds \
13493
extract_expsyms_cmds \
13494
old_archive_from_new_cmds \
13495
old_archive_from_expsyms_cmds \
13496
archive_cmds \
13497
archive_expsym_cmds \
13498
module_cmds \
13499
module_expsym_cmds \
13500
export_symbols_cmds \
13501
prelink_cmds \
13502
postinstall_cmds \
13503
postuninstall_cmds \
13504
finish_cmds \
13505
sys_lib_search_path_spec \
13506
sys_lib_dlsearch_path_spec; do
13507
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13508
    *[\\\\\\\`\\"\\\$]*)
13509
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13510
      ;;
13511
    *)
13512
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13513
      ;;
13514
    esac
13515
done
13516
 
13517
# Fix-up fallback echo if it was mangled by the above quoting rules.
13518
case \$lt_ECHO in
13519
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13520
  ;;
13521
esac
13522
 
13523
ac_aux_dir='$ac_aux_dir'
13524
xsi_shell='$xsi_shell'
13525
lt_shell_append='$lt_shell_append'
13526
 
13527
# See if we are running on zsh, and set the options which allow our
13528
# commands through without removal of \ escapes INIT.
13529
if test -n "\${ZSH_VERSION+set}" ; then
13530
   setopt NO_GLOB_SUBST
13531
fi
13532
 
13533
 
13534
    PACKAGE='$PACKAGE'
13535
    VERSION='$VERSION'
13536
    TIMESTAMP='$TIMESTAMP'
13537
    RM='$RM'
13538
    ofile='$ofile'
13539
 
13540
 
13541
 
13542
 
13543
_ACEOF
13544
 
13545
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13546
 
13547
# Handling of arguments.
13548
for ac_config_target in $ac_config_targets
13549
do
13550
  case $ac_config_target in
13551
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13552
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13553
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13554
 
13555
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13556
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13557
   { (exit 1); exit 1; }; };;
13558
  esac
13559
done
13560
 
13561
 
13562
# If the user did not use the arguments to specify the items to instantiate,
13563
# then the envvar interface is used.  Set only those that are not.
13564
# We use the long form for the default assignment because of an extremely
13565
# bizarre bug on SunOS 4.1.3.
13566
if $ac_need_defaults; then
13567
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13568
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13569
fi
13570
 
13571
# Have a temporary directory for convenience.  Make it in the build tree
13572
# simply because there is no reason against having it here, and in addition,
13573
# creating and moving files from /tmp can sometimes cause problems.
13574
# Hook for its removal unless debugging.
13575
# Note that there is a small window in which the directory will not be cleaned:
13576
# after its creation but before its name has been assigned to `$tmp'.
13577
$debug ||
13578
{
13579
  tmp=
13580
  trap 'exit_status=$?
13581
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13582
' 0
13583
  trap '{ (exit 1); exit 1; }' 1 2 13 15
13584
}
13585
# Create a (secure) tmp directory for tmp files.
13586
 
13587
{
13588
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13589
  test -n "$tmp" && test -d "$tmp"
13590
}  ||
13591
{
13592
  tmp=./conf$$-$RANDOM
13593
  (umask 077 && mkdir "$tmp")
13594
} ||
13595
{
13596
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
13597
   { (exit 1); exit 1; }
13598
}
13599
 
13600
# Set up the scripts for CONFIG_FILES section.
13601
# No need to generate them if there are no CONFIG_FILES.
13602
# This happens for instance with `./config.status config.h'.
13603
if test -n "$CONFIG_FILES"; then
13604
 
13605
 
13606
ac_cr='
'
13607
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
13608
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13609
  ac_cs_awk_cr='\\r'
13610
else
13611
  ac_cs_awk_cr=$ac_cr
13612
fi
13613
13614
 
13615
_ACEOF
13616
13617
 
13618
 
13619
  echo "cat >conf$$subs.awk <<_ACEOF" &&
13620
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13621
  echo "_ACEOF"
13622
} >conf$$subs.sh ||
13623
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13624
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13625
   { (exit 1); exit 1; }; }
13626
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13627
ac_delim='%!_!# '
13628
for ac_last_try in false false false false false :; do
13629
  . ./conf$$subs.sh ||
13630
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13631
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13632
   { (exit 1); exit 1; }; }
13633
13634
 
13635
  if test $ac_delim_n = $ac_delim_num; then
13636
    break
13637
  elif $ac_last_try; then
13638
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13639
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13640
   { (exit 1); exit 1; }; }
13641
  else
13642
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13643
  fi
13644
done
13645
rm -f conf$$subs.sh
13646
13647
 
13648
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13649
_ACEOF
13650
sed -n '
13651
h
13652
s/^/S["/; s/!.*/"]=/
13653
p
13654
g
13655
s/^[^!]*!//
13656
:repl
13657
t repl
13658
s/'"$ac_delim"'$//
13659
t delim
13660
:nl
13661
h
13662
s/\(.\{148\}\).*/\1/
13663
t more1
13664
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13665
p
13666
n
13667
b repl
13668
:more1
13669
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13670
p
13671
g
13672
s/.\{148\}//
13673
t nl
13674
:delim
13675
h
13676
s/\(.\{148\}\).*/\1/
13677
t more2
13678
s/["\\]/\\&/g; s/^/"/; s/$/"/
13679
p
13680
b
13681
:more2
13682
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13683
p
13684
g
13685
s/.\{148\}//
13686
t delim
13687
' 
13688
/^[^""]/{
13689
  N
13690
  s/\n//
13691
}
13692
' >>$CONFIG_STATUS || ac_write_fail=1
13693
rm -f conf$$subs.awk
13694
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13695
_ACAWK
13696
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13697
  for (key in S) S_is_set[key] = 1
13698
  FS = ""
13699
13700
 
13701
{
13702
  line = $ 0
13703
  nfields = split(line, field, "@")
13704
  substed = 0
13705
  len = length(field[1])
13706
  for (i = 2; i < nfields; i++) {
13707
    key = field[i]
13708
    keylen = length(key)
13709
    if (S_is_set[key]) {
13710
      value = S[key]
13711
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13712
      len += length(value) + length(field[++i])
13713
      substed = 1
13714
    } else
13715
      len += 1 + keylen
13716
  }
13717
13718
 
13719
}
13720
13721
 
13722
_ACEOF
13723
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13724
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13725
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13726
else
13727
  cat
13728
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13729
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
13730
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
13731
   { (exit 1); exit 1; }; }
13732
_ACEOF
13733
13734
 
13735
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13736
# trailing colons and then remove the whole line if VPATH becomes empty
13737
# (actually we leave an empty line to preserve line numbers).
13738
if test "x$srcdir" = x.; then
13739
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
13740
s/:*\$(srcdir):*/:/
13741
s/:*\${srcdir}:*/:/
13742
s/:*@srcdir@:*/:/
13743
s/^\([^=]*=[     ]*\):*/\1/
13744
s/:*$//
13745
s/^[^=]*=[       ]*$//
13746
}'
13747
fi
13748
13749
 
13750
fi # test -n "$CONFIG_FILES"
13751
13752
 
13753
 
13754
shift
13755
for ac_tag
13756
do
13757
  case $ac_tag in
13758
  :[FHLC]) ac_mode=$ac_tag; continue;;
13759
  esac
13760
  case $ac_mode$ac_tag in
13761
  :[FHL]*:*);;
13762
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13763
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13764
   { (exit 1); exit 1; }; };;
13765
  :[FH]-) ac_tag=-:-;;
13766
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13767
  esac
13768
  ac_save_IFS=$IFS
13769
  IFS=:
13770
  set x $ac_tag
13771
  IFS=$ac_save_IFS
13772
  shift
13773
  ac_file=$1
13774
  shift
13775
13776
 
13777
  :L) ac_source=$1;;
13778
  :[FH])
13779
    ac_file_inputs=
13780
    for ac_f
13781
    do
13782
      case $ac_f in
13783
      -) ac_f="$tmp/stdin";;
13784
      *) # Look for the file first in the build tree, then in the source tree
13785
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
13786
         # because $ac_f cannot contain `:'.
13787
         test -f "$ac_f" ||
13788
           case $ac_f in
13789
           [\\/$]*) false;;
13790
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13791
           esac ||
13792
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13793
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13794
   { (exit 1); exit 1; }; };;
13795
      esac
13796
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13797
      ac_file_inputs="$ac_file_inputs '$ac_f'"
13798
    done
13799
13800
 
13801
    # use $as_me), people would be surprised to read:
13802
    #    /* config.h.  Generated by config.status.  */
13803
    configure_input='Generated from '`
13804
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13805
        `' by configure.'
13806
    if test x"$ac_file" != x-; then
13807
      configure_input="$ac_file.  $configure_input"
13808
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13809
$as_echo "$as_me: creating $ac_file" >&6;}
13810
    fi
13811
    # Neutralize special characters interpreted by sed in replacement strings.
13812
    case $configure_input in #(
13813
    *\&* | *\|* | *\\* )
13814
       ac_sed_conf_input=`$as_echo "$configure_input" |
13815
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13816
    *) ac_sed_conf_input=$configure_input;;
13817
    esac
13818
13819
 
13820
    *:-:* | *:-) cat >"$tmp/stdin" \
13821
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13822
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13823
   { (exit 1); exit 1; }; } ;;
13824
    esac
13825
    ;;
13826
  esac
13827
13828
 
13829
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13830
         X"$ac_file" : 'X\(//\)[^/]' \| \
13831
         X"$ac_file" : 'X\(//\)$' \| \
13832
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13833
$as_echo X"$ac_file" |
13834
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13835
            s//\1/
13836
            q
13837
          }
13838
          /^X\(\/\/\)[^/].*/{
13839
            s//\1/
13840
            q
13841
          }
13842
          /^X\(\/\/\)$/{
13843
            s//\1/
13844
            q
13845
          }
13846
          /^X\(\/\).*/{
13847
            s//\1/
13848
            q
13849
          }
13850
          s/.*/./; q'`
13851
  { as_dir="$ac_dir"
13852
  case $as_dir in #(
13853
  -*) as_dir=./$as_dir;;
13854
  esac
13855
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13856
    as_dirs=
13857
    while :; do
13858
      case $as_dir in #(
13859
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13860
      *) as_qdir=$as_dir;;
13861
      esac
13862
      as_dirs="'$as_qdir' $as_dirs"
13863
      as_dir=`$as_dirname -- "$as_dir" ||
13864
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13865
         X"$as_dir" : 'X\(//\)[^/]' \| \
13866
         X"$as_dir" : 'X\(//\)$' \| \
13867
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13868
$as_echo X"$as_dir" |
13869
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13870
            s//\1/
13871
            q
13872
          }
13873
          /^X\(\/\/\)[^/].*/{
13874
            s//\1/
13875
            q
13876
          }
13877
          /^X\(\/\/\)$/{
13878
            s//\1/
13879
            q
13880
          }
13881
          /^X\(\/\).*/{
13882
            s//\1/
13883
            q
13884
          }
13885
          s/.*/./; q'`
13886
      test -d "$as_dir" && break
13887
    done
13888
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13889
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13890
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13891
   { (exit 1); exit 1; }; }; }
13892
  ac_builddir=.
13893
13894
 
13895
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13896
*)
13897
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13898
  # A ".." for each directory in $ac_dir_suffix.
13899
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13900
  case $ac_top_builddir_sub in
13901
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13902
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13903
  esac ;;
13904
esac
13905
ac_abs_top_builddir=$ac_pwd
13906
ac_abs_builddir=$ac_pwd$ac_dir_suffix
13907
# for backward compatibility:
13908
ac_top_builddir=$ac_top_build_prefix
13909
13910
 
13911
  .)  # We are building in place.
13912
    ac_srcdir=.
13913
    ac_top_srcdir=$ac_top_builddir_sub
13914
    ac_abs_top_srcdir=$ac_pwd ;;
13915
  [\\/]* | ?:[\\/]* )  # Absolute name.
13916
    ac_srcdir=$srcdir$ac_dir_suffix;
13917
    ac_top_srcdir=$srcdir
13918
    ac_abs_top_srcdir=$srcdir ;;
13919
  *) # Relative name.
13920
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13921
    ac_top_srcdir=$ac_top_build_prefix$srcdir
13922
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13923
esac
13924
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13925
13926
 
13927
 
13928
  :F)
13929
  #
13930
  # CONFIG_FILE
13931
  #
13932
13933
 
13934
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13935
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13936
  esac
13937
  ac_MKDIR_P=$MKDIR_P
13938
  case $MKDIR_P in
13939
  [\\/$]* | ?:[\\/]* ) ;;
13940
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13941
  esac
13942
_ACEOF
13943
13944
 
13945
# If the template does not know about datarootdir, expand it.
13946
# FIXME: This hack should be removed a few years after 2.60.
13947
ac_datarootdir_hack=; ac_datarootdir_seen=
13948
13949
 
13950
/datarootdir/ {
13951
  p
13952
  q
13953
}
13954
/@datadir@/p
13955
/@docdir@/p
13956
/@infodir@/p
13957
/@localedir@/p
13958
/@mandir@/p
13959
'
13960
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13961
*datarootdir*) ac_datarootdir_seen=yes;;
13962
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13963
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13964
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13965
_ACEOF
13966
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13967
  ac_datarootdir_hack='
13968
  s&@datadir@&$datadir&g
13969
  s&@docdir@&$docdir&g
13970
  s&@infodir@&$infodir&g
13971
  s&@localedir@&$localedir&g
13972
  s&@mandir@&$mandir&g
13973
    s&\\\${datarootdir}&$datarootdir&g' ;;
13974
esac
13975
_ACEOF
13976
13977
 
13978
# Shell code in configure.ac might set extrasub.
13979
# FIXME: do we really want to maintain this feature?
13980
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13981
ac_sed_extra="$ac_vpsub
13982
$extrasub
13983
_ACEOF
13984
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13985
:t
13986
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13987
s|@configure_input@|$ac_sed_conf_input|;t t
13988
s&@top_builddir@&$ac_top_builddir_sub&;t t
13989
s&@top_build_prefix@&$ac_top_build_prefix&;t t
13990
s&@srcdir@&$ac_srcdir&;t t
13991
s&@abs_srcdir@&$ac_abs_srcdir&;t t
13992
s&@top_srcdir@&$ac_top_srcdir&;t t
13993
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13994
s&@builddir@&$ac_builddir&;t t
13995
s&@abs_builddir@&$ac_abs_builddir&;t t
13996
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13997
s&@INSTALL@&$ac_INSTALL&;t t
13998
s&@MKDIR_P@&$ac_MKDIR_P&;t t
13999
$ac_datarootdir_hack
14000
"
14001
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14002
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14003
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14004
   { (exit 1); exit 1; }; }
14005
14006
 
14007
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14008
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14009
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14010
which seems to be undefined.  Please make sure it is defined." >&5
14011
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14012
which seems to be undefined.  Please make sure it is defined." >&2;}
14013
14014
 
14015
  case $ac_file in
14016
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14017
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14018
  esac \
14019
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14020
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14021
   { (exit 1); exit 1; }; }
14022
 ;;
14023
14024
 
14025
 
14026
$as_echo "$as_me: executing $ac_file commands" >&6;}
14027
 ;;
14028
  esac
14029
14030
 
14031
 
14032
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14033
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14034
  # are listed without --file.  Let's play safe and only enable the eval
14035
  # if we detect the quoting.
14036
  case $CONFIG_FILES in
14037
  *\'*) eval set x "$CONFIG_FILES" ;;
14038
  *)   set x $CONFIG_FILES ;;
14039
  esac
14040
  shift
14041
  for mf
14042
  do
14043
    # Strip MF so we end up with the name of the file.
14044
    mf=`echo "$mf" | sed -e 's/:.*$//'`
14045
    # Check whether this is an Automake generated Makefile or not.
14046
    # We used to match only the files named `Makefile.in', but
14047
    # some people rename them; so instead we look at the file content.
14048
    # Grep'ing the first line is not enough: some people post-process
14049
    # each Makefile.in and add a new line on top of each file to say so.
14050
    # Grep'ing the whole file is not good either: AIX grep has a line
14051
    # limit of 2048, but all sed's we know have understand at least 4000.
14052
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14053
      dirpart=`$as_dirname -- "$mf" ||
14054
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14055
         X"$mf" : 'X\(//\)[^/]' \| \
14056
         X"$mf" : 'X\(//\)$' \| \
14057
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14058
$as_echo X"$mf" |
14059
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14060
            s//\1/
14061
            q
14062
          }
14063
          /^X\(\/\/\)[^/].*/{
14064
            s//\1/
14065
            q
14066
          }
14067
          /^X\(\/\/\)$/{
14068
            s//\1/
14069
            q
14070
          }
14071
          /^X\(\/\).*/{
14072
            s//\1/
14073
            q
14074
          }
14075
          s/.*/./; q'`
14076
    else
14077
      continue
14078
    fi
14079
    # Extract the definition of DEPDIR, am__include, and am__quote
14080
    # from the Makefile without running `make'.
14081
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14082
    test -z "$DEPDIR" && continue
14083
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14084
    test -z "am__include" && continue
14085
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14086
    # When using ansi2knr, U may be empty or an underscore; expand it
14087
    U=`sed -n 's/^U = //p' < "$mf"`
14088
    # Find all dependency output files, they are included files with
14089
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14090
    # simplest approach to changing $(DEPDIR) to its actual value in the
14091
    # expansion.
14092
    for file in `sed -n "
14093
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14094
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14095
      # Make sure the directory exists.
14096
      test -f "$dirpart/$file" && continue
14097
      fdir=`$as_dirname -- "$file" ||
14098
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14099
         X"$file" : 'X\(//\)[^/]' \| \
14100
         X"$file" : 'X\(//\)$' \| \
14101
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14102
$as_echo X"$file" |
14103
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14104
            s//\1/
14105
            q
14106
          }
14107
          /^X\(\/\/\)[^/].*/{
14108
            s//\1/
14109
            q
14110
          }
14111
          /^X\(\/\/\)$/{
14112
            s//\1/
14113
            q
14114
          }
14115
          /^X\(\/\).*/{
14116
            s//\1/
14117
            q
14118
          }
14119
          s/.*/./; q'`
14120
      { as_dir=$dirpart/$fdir
14121
  case $as_dir in #(
14122
  -*) as_dir=./$as_dir;;
14123
  esac
14124
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14125
    as_dirs=
14126
    while :; do
14127
      case $as_dir in #(
14128
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14129
      *) as_qdir=$as_dir;;
14130
      esac
14131
      as_dirs="'$as_qdir' $as_dirs"
14132
      as_dir=`$as_dirname -- "$as_dir" ||
14133
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14134
         X"$as_dir" : 'X\(//\)[^/]' \| \
14135
         X"$as_dir" : 'X\(//\)$' \| \
14136
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14137
$as_echo X"$as_dir" |
14138
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14139
            s//\1/
14140
            q
14141
          }
14142
          /^X\(\/\/\)[^/].*/{
14143
            s//\1/
14144
            q
14145
          }
14146
          /^X\(\/\/\)$/{
14147
            s//\1/
14148
            q
14149
          }
14150
          /^X\(\/\).*/{
14151
            s//\1/
14152
            q
14153
          }
14154
          s/.*/./; q'`
14155
      test -d "$as_dir" && break
14156
    done
14157
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14158
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14159
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14160
   { (exit 1); exit 1; }; }; }
14161
      # echo "creating $dirpart/$file"
14162
      echo '# dummy' > "$dirpart/$file"
14163
    done
14164
  done
14165
}
14166
 ;;
14167
    "libtool":C)
14168
14169
 
14170
    # commands through without removal of \ escapes.
14171
    if test -n "${ZSH_VERSION+set}" ; then
14172
      setopt NO_GLOB_SUBST
14173
    fi
14174
14175
 
14176
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14177
    $RM "$cfgfile"
14178
14179
 
14180
#! $SHELL
14181
14182
 
14183
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14184
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14185
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14186
#
14187
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14188
#                 2006, 2007, 2008 Free Software Foundation, Inc.
14189
#   Written by Gordon Matzigkeit, 1996
14190
#
14191
#   This file is part of GNU Libtool.
14192
#
14193
# GNU Libtool is free software; you can redistribute it and/or
14194
# modify it under the terms of the GNU General Public License as
14195
# published by the Free Software Foundation; either version 2 of
14196
# the License, or (at your option) any later version.
14197
#
14198
# As a special exception to the GNU General Public License,
14199
# if you distribute this file as part of a program or library that
14200
# is built using GNU Libtool, you may include this file under the
14201
# same distribution terms that you use for the rest of that program.
14202
#
14203
# GNU Libtool is distributed in the hope that it will be useful,
14204
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14205
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14206
# GNU General Public License for more details.
14207
#
14208
# You should have received a copy of the GNU General Public License
14209
# along with GNU Libtool; see the file COPYING.  If not, a copy
14210
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14211
# obtained by writing to the Free Software Foundation, Inc.,
14212
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14213
14214
 
14215
 
14216
available_tags=""
14217
14218
 
14219
14220
 
14221
SED=$lt_SED
14222
14223
 
14224
Xsed="\$SED -e 1s/^X//"
14225
14226
 
14227
AS=$AS
14228
14229
 
14230
DLLTOOL=$DLLTOOL
14231
14232
 
14233
OBJDUMP=$OBJDUMP
14234
14235
 
14236
macro_version=$macro_version
14237
macro_revision=$macro_revision
14238
14239
 
14240
build_libtool_libs=$enable_shared
14241
14242
 
14243
build_old_libs=$enable_static
14244
14245
 
14246
pic_mode=$pic_mode
14247
14248
 
14249
fast_install=$enable_fast_install
14250
14251
 
14252
host_alias=$host_alias
14253
host=$host
14254
host_os=$host_os
14255
14256
 
14257
build_alias=$build_alias
14258
build=$build
14259
build_os=$build_os
14260
14261
 
14262
GREP=$lt_GREP
14263
14264
 
14265
EGREP=$lt_EGREP
14266
14267
 
14268
FGREP=$lt_FGREP
14269
14270
 
14271
NM=$lt_NM
14272
14273
 
14274
LN_S=$lt_LN_S
14275
14276
 
14277
max_cmd_len=$max_cmd_len
14278
14279
 
14280
objext=$ac_objext
14281
14282
 
14283
exeext=$exeext
14284
14285
 
14286
lt_unset=$lt_unset
14287
14288
 
14289
SP2NL=$lt_lt_SP2NL
14290
14291
 
14292
NL2SP=$lt_lt_NL2SP
14293
14294
 
14295
reload_flag=$lt_reload_flag
14296
reload_cmds=$lt_reload_cmds
14297
14298
 
14299
deplibs_check_method=$lt_deplibs_check_method
14300
14301
 
14302
file_magic_cmd=$lt_file_magic_cmd
14303
14304
 
14305
AR=$lt_AR
14306
AR_FLAGS=$lt_AR_FLAGS
14307
14308
 
14309
STRIP=$lt_STRIP
14310
14311
 
14312
RANLIB=$lt_RANLIB
14313
old_postinstall_cmds=$lt_old_postinstall_cmds
14314
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14315
14316
 
14317
LTCC=$lt_CC
14318
14319
 
14320
LTCFLAGS=$lt_CFLAGS
14321
14322
 
14323
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14324
14325
 
14326
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14327
14328
 
14329
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14330
14331
 
14332
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14333
14334
 
14335
objdir=$objdir
14336
14337
 
14338
SHELL=$lt_SHELL
14339
14340
 
14341
ECHO=$lt_ECHO
14342
14343
 
14344
MAGIC_CMD=$MAGIC_CMD
14345
14346
 
14347
need_locks=$lt_need_locks
14348
14349
 
14350
DSYMUTIL=$lt_DSYMUTIL
14351
14352
 
14353
NMEDIT=$lt_NMEDIT
14354
14355
 
14356
LIPO=$lt_LIPO
14357
14358
 
14359
OTOOL=$lt_OTOOL
14360
14361
 
14362
OTOOL64=$lt_OTOOL64
14363
14364
 
14365
libext=$libext
14366
14367
 
14368
shrext_cmds=$lt_shrext_cmds
14369
14370
 
14371
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14372
14373
 
14374
# restored at link time.
14375
variables_saved_for_relink=$lt_variables_saved_for_relink
14376
14377
 
14378
need_lib_prefix=$need_lib_prefix
14379
14380
 
14381
need_version=$need_version
14382
14383
 
14384
version_type=$version_type
14385
14386
 
14387
runpath_var=$runpath_var
14388
14389
 
14390
shlibpath_var=$shlibpath_var
14391
14392
 
14393
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14394
14395
 
14396
libname_spec=$lt_libname_spec
14397
14398
 
14399
# The last name is the one that the linker finds with -lNAME
14400
library_names_spec=$lt_library_names_spec
14401
14402
 
14403
soname_spec=$lt_soname_spec
14404
14405
 
14406
postinstall_cmds=$lt_postinstall_cmds
14407
14408
 
14409
postuninstall_cmds=$lt_postuninstall_cmds
14410
14411
 
14412
finish_cmds=$lt_finish_cmds
14413
14414
 
14415
# not shown.
14416
finish_eval=$lt_finish_eval
14417
14418
 
14419
hardcode_into_libs=$hardcode_into_libs
14420
14421
 
14422
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14423
14424
 
14425
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14426
14427
 
14428
dlopen_support=$enable_dlopen
14429
14430
 
14431
dlopen_self=$enable_dlopen_self
14432
14433
 
14434
dlopen_self_static=$enable_dlopen_self_static
14435
14436
 
14437
old_striplib=$lt_old_striplib
14438
striplib=$lt_striplib
14439
14440
 
14441
 
14442
LD=$lt_LD
14443
14444
 
14445
old_archive_cmds=$lt_old_archive_cmds
14446
14447
 
14448
CC=$lt_compiler
14449
14450
 
14451
with_gcc=$GCC
14452
14453
 
14454
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14455
14456
 
14457
wl=$lt_lt_prog_compiler_wl
14458
14459
 
14460
pic_flag=$lt_lt_prog_compiler_pic
14461
14462
 
14463
link_static_flag=$lt_lt_prog_compiler_static
14464
14465
 
14466
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14467
14468
 
14469
build_libtool_need_lc=$archive_cmds_need_lc
14470
14471
 
14472
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14473
14474
 
14475
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14476
14477
 
14478
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14479
14480
 
14481
compiler_needs_object=$lt_compiler_needs_object
14482
14483
 
14484
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14485
14486
 
14487
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14488
14489
 
14490
archive_cmds=$lt_archive_cmds
14491
archive_expsym_cmds=$lt_archive_expsym_cmds
14492
14493
 
14494
# a shared archive.
14495
module_cmds=$lt_module_cmds
14496
module_expsym_cmds=$lt_module_expsym_cmds
14497
14498
 
14499
with_gnu_ld=$lt_with_gnu_ld
14500
14501
 
14502
allow_undefined_flag=$lt_allow_undefined_flag
14503
14504
 
14505
no_undefined_flag=$lt_no_undefined_flag
14506
14507
 
14508
# This must work even if \$libdir does not exist
14509
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14510
14511
 
14512
# during linking.  This must work even if \$libdir does not exist.
14513
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14514
14515
 
14516
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14517
14518
 
14519
# DIR into the resulting binary.
14520
hardcode_direct=$hardcode_direct
14521
14522
 
14523
# DIR into the resulting binary and the resulting library dependency is
14524
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14525
# library is relocated.
14526
hardcode_direct_absolute=$hardcode_direct_absolute
14527
14528
 
14529
# into the resulting binary.
14530
hardcode_minus_L=$hardcode_minus_L
14531
14532
 
14533
# into the resulting binary.
14534
hardcode_shlibpath_var=$hardcode_shlibpath_var
14535
14536
 
14537
# into the library and all subsequent libraries and executables linked
14538
# against it.
14539
hardcode_automatic=$hardcode_automatic
14540
14541
 
14542
# to runtime path list.
14543
inherit_rpath=$inherit_rpath
14544
14545
 
14546
link_all_deplibs=$link_all_deplibs
14547
14548
 
14549
fix_srcfile_path=$lt_fix_srcfile_path
14550
14551
 
14552
always_export_symbols=$always_export_symbols
14553
14554
 
14555
export_symbols_cmds=$lt_export_symbols_cmds
14556
14557
 
14558
exclude_expsyms=$lt_exclude_expsyms
14559
14560
 
14561
include_expsyms=$lt_include_expsyms
14562
14563
 
14564
prelink_cmds=$lt_prelink_cmds
14565
14566
 
14567
file_list_spec=$lt_file_list_spec
14568
14569
 
14570
hardcode_action=$hardcode_action
14571
14572
 
14573
14574
 
14575
14576
 
14577
  aix3*)
14578
    cat <<\_LT_EOF >> "$cfgfile"
14579
# AIX sometimes has problems with the GCC collect2 program.  For some
14580
# reason, if we set the COLLECT_NAMES environment variable, the problems
14581
# vanish in a puff of smoke.
14582
if test "X${COLLECT_NAMES+set}" != Xset; then
14583
  COLLECT_NAMES=
14584
  export COLLECT_NAMES
14585
fi
14586
_LT_EOF
14587
    ;;
14588
  esac
14589
14590
 
14591
 
14592
14593
 
14594
 
14595
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14596
  # text mode, it properly converts lines to CR/LF.  This bash problem
14597
  # is reportedly fixed, but why not run on old versions too?
14598
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14599
    || (rm -f "$cfgfile"; exit 1)
14600
14601
 
14602
  yes)
14603
    cat << \_LT_EOF >> "$cfgfile"
14604
14605
 
14606
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14607
# otherwise set result to NONDIR_REPLACEMENT.
14608
func_dirname ()
14609
{
14610
  case ${1} in
14611
    */*) func_dirname_result="${1%/*}${2}" ;;
14612
    *  ) func_dirname_result="${3}" ;;
14613
  esac
14614
}
14615
14616
 
14617
func_basename ()
14618
{
14619
  func_basename_result="${1##*/}"
14620
}
14621
14622
 
14623
# perform func_basename and func_dirname in a single function
14624
# call:
14625
#   dirname:  Compute the dirname of FILE.  If nonempty,
14626
#             add APPEND to the result, otherwise set result
14627
#             to NONDIR_REPLACEMENT.
14628
#             value returned in "$func_dirname_result"
14629
#   basename: Compute filename of FILE.
14630
#             value retuned in "$func_basename_result"
14631
# Implementation must be kept synchronized with func_dirname
14632
# and func_basename. For efficiency, we do not delegate to
14633
# those functions but instead duplicate the functionality here.
14634
func_dirname_and_basename ()
14635
{
14636
  case ${1} in
14637
    */*) func_dirname_result="${1%/*}${2}" ;;
14638
    *  ) func_dirname_result="${3}" ;;
14639
  esac
14640
  func_basename_result="${1##*/}"
14641
}
14642
14643
 
14644
# strip PREFIX and SUFFIX off of NAME.
14645
# PREFIX and SUFFIX must not contain globbing or regex special
14646
# characters, hashes, percent signs, but SUFFIX may contain a leading
14647
# dot (in which case that matches only a dot).
14648
func_stripname ()
14649
{
14650
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14651
  # positional parameters, so assign one to ordinary parameter first.
14652
  func_stripname_result=${3}
14653
  func_stripname_result=${func_stripname_result#"${1}"}
14654
  func_stripname_result=${func_stripname_result%"${2}"}
14655
}
14656
14657
 
14658
func_opt_split ()
14659
{
14660
  func_opt_split_opt=${1%%=*}
14661
  func_opt_split_arg=${1#*=}
14662
}
14663
14664
 
14665
func_lo2o ()
14666
{
14667
  case ${1} in
14668
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14669
    *)    func_lo2o_result=${1} ;;
14670
  esac
14671
}
14672
14673
 
14674
func_xform ()
14675
{
14676
  func_xform_result=${1%.*}.lo
14677
}
14678
14679
 
14680
func_arith ()
14681
{
14682
  func_arith_result=$(( $* ))
14683
}
14684
14685
 
14686
# STRING may not start with a hyphen.
14687
func_len ()
14688
{
14689
  func_len_result=${#1}
14690
}
14691
14692
 
14693
    ;;
14694
  *) # Bourne compatible functions.
14695
    cat << \_LT_EOF >> "$cfgfile"
14696
14697
 
14698
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14699
# otherwise set result to NONDIR_REPLACEMENT.
14700
func_dirname ()
14701
{
14702
  # Extract subdirectory from the argument.
14703
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14704
  if test "X$func_dirname_result" = "X${1}"; then
14705
    func_dirname_result="${3}"
14706
  else
14707
    func_dirname_result="$func_dirname_result${2}"
14708
  fi
14709
}
14710
14711
 
14712
func_basename ()
14713
{
14714
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14715
}
14716
14717
 
14718
 
14719
# strip PREFIX and SUFFIX off of NAME.
14720
# PREFIX and SUFFIX must not contain globbing or regex special
14721
# characters, hashes, percent signs, but SUFFIX may contain a leading
14722
# dot (in which case that matches only a dot).
14723
# func_strip_suffix prefix name
14724
func_stripname ()
14725
{
14726
  case ${2} in
14727
    .*) func_stripname_result=`$ECHO "X${3}" \
14728
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14729
    *)  func_stripname_result=`$ECHO "X${3}" \
14730
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14731
  esac
14732
}
14733
14734
 
14735
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14736
my_sed_long_arg='1s/^-[^=]*=//'
14737
14738
 
14739
func_opt_split ()
14740
{
14741
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14742
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14743
}
14744
14745
 
14746
func_lo2o ()
14747
{
14748
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14749
}
14750
14751
 
14752
func_xform ()
14753
{
14754
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14755
}
14756
14757
 
14758
func_arith ()
14759
{
14760
  func_arith_result=`expr "$@"`
14761
}
14762
14763
 
14764
# STRING may not start with a hyphen.
14765
func_len ()
14766
{
14767
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14768
}
14769
14770
 
14771
esac
14772
14773
 
14774
  yes)
14775
    cat << \_LT_EOF >> "$cfgfile"
14776
14777
 
14778
# Append VALUE to the end of shell variable VAR.
14779
func_append ()
14780
{
14781
  eval "$1+=\$2"
14782
}
14783
_LT_EOF
14784
    ;;
14785
  *)
14786
    cat << \_LT_EOF >> "$cfgfile"
14787
14788
 
14789
# Append VALUE to the end of shell variable VAR.
14790
func_append ()
14791
{
14792
  eval "$1=\$$1\$2"
14793
}
14794
14795
 
14796
    ;;
14797
  esac
14798
14799
 
14800
 
14801
    || (rm -f "$cfgfile"; exit 1)
14802
14803
 
14804
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14805
  chmod +x "$ofile"
14806
14807
 
14808
14809
 
14810
done # for ac_tag
14811
14812
 
14813
 
14814
_ACEOF
14815
chmod +x $CONFIG_STATUS
14816
ac_clean_files=$ac_clean_files_save
14817
14818
 
14819
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14820
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14821
   { (exit 1); exit 1; }; }
14822
14823
 
14824
 
14825
# config.status does its own redirection, appending to config.log.
14826
# Unfortunately, on DOS this fails, as config.log is still kept open
14827
# by configure, so config.status won't be able to write to it; its
14828
# output is simply discarded.  So we exec the FD to /dev/null,
14829
# effectively closing config.log, so it can be properly (re)opened and
14830
# appended to by config.status.  When coming back to configure, we
14831
# need to make the FD available again.
14832
if test "$no_create" != yes; then
14833
  ac_cs_success=:
14834
  ac_config_status_args=
14835
  test "$silent" = yes &&
14836
    ac_config_status_args="$ac_config_status_args --quiet"
14837
  exec 5>/dev/null
14838
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14839
  exec 5>>config.log
14840
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14841
  # would make configure fail if this is the last instruction.
14842
  $ac_cs_success || { (exit 1); exit 1; }
14843
fi
14844
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14845
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14846
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14847
fi
14848
14849
 

powered by: WebSVN 2.1.0

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