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

Subversion Repositories openrisc_me

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

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="i386"
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
enable_option_checking=no
788
ac_subst_vars='am__EXEEXT_FALSE
789
am__EXEEXT_TRUE
790
LTLIBOBJS
791
LIBOBJS
792
HAVE_LIBM_MACHINE_DIR_FALSE
793
HAVE_LIBM_MACHINE_DIR_TRUE
794
machlib
795
subdirs
796
CPP
797
OTOOL64
798
OTOOL
799
LIPO
800
NMEDIT
801
DSYMUTIL
802
lt_ECHO
803
LN_S
804
NM
805
ac_ct_DUMPBIN
806
DUMPBIN
807
LD
808
FGREP
809
EGREP
810
GREP
811
EXEEXT
812
ac_ct_CC
813
CPPFLAGS
814
CFLAGS
815
LIBTOOL
816
OBJDUMP
817
DLLTOOL
818
SED
819
sys_dir
820
machine_dir
821
libm_machine_dir
822
lpfx
823
aext
824
oext
825
OBJEXT
826
USE_LIBTOOL_FALSE
827
USE_LIBTOOL_TRUE
828
ELIX_LEVEL_4_FALSE
829
ELIX_LEVEL_4_TRUE
830
ELIX_LEVEL_3_FALSE
831
ELIX_LEVEL_3_TRUE
832
ELIX_LEVEL_2_FALSE
833
ELIX_LEVEL_2_TRUE
834
ELIX_LEVEL_1_FALSE
835
ELIX_LEVEL_1_TRUE
836
ELIX_LEVEL_0_FALSE
837
ELIX_LEVEL_0_TRUE
838
LDFLAGS
839
NEWLIB_CFLAGS
840
CCASFLAGS
841
CCAS
842
MAINT
843
MAINTAINER_MODE_FALSE
844
MAINTAINER_MODE_TRUE
845
READELF
846
RANLIB
847
AR
848
AS
849
am__fastdepCC_FALSE
850
am__fastdepCC_TRUE
851
CCDEPMODE
852
AMDEPBACKSLASH
853
AMDEP_FALSE
854
AMDEP_TRUE
855
am__quote
856
am__include
857
DEPDIR
858
CC
859
am__untar
860
am__tar
861
AMTAR
862
am__leading_dot
863
SET_MAKE
864
AWK
865
mkdir_p
866
MKDIR_P
867
INSTALL_STRIP_PROGRAM
868
STRIP
869
install_sh
870
MAKEINFO
871
AUTOHEADER
872
AUTOMAKE
873
AUTOCONF
874
ACLOCAL
875
VERSION
876
PACKAGE
877
CYGPATH_W
878
am__isrc
879
INSTALL_DATA
880
INSTALL_SCRIPT
881
INSTALL_PROGRAM
882
host_os
883
host_vendor
884
host_cpu
885
host
886
build_os
887
build_vendor
888
build_cpu
889
build
890
newlib_basedir
891
MAY_SUPPLY_SYSCALLS_FALSE
892
MAY_SUPPLY_SYSCALLS_TRUE
893
target_alias
894
host_alias
895
build_alias
896
LIBS
897
ECHO_T
898
ECHO_N
899
ECHO_C
900
DEFS
901
mandir
902
localedir
903
libdir
904
psdir
905
pdfdir
906
dvidir
907
htmldir
908
infodir
909
docdir
910
oldincludedir
911
includedir
912
localstatedir
913
sharedstatedir
914
sysconfdir
915
datadir
916
datarootdir
917
libexecdir
918
sbindir
919
bindir
920
program_transform_name
921
prefix
922
exec_prefix
923
PACKAGE_BUGREPORT
924
PACKAGE_STRING
925
PACKAGE_VERSION
926
PACKAGE_TARNAME
927
PACKAGE_NAME
928
PATH_SEPARATOR
929
SHELL'
930
ac_subst_files=''
931
ac_user_opts='
932
enable_option_checking
933
enable_multilib
934
enable_target_optspace
935
enable_malloc_debugging
936
enable_newlib_multithread
937
enable_newlib_iconv
938
enable_newlib_elix_level
939
enable_newlib_io_float
940
enable_newlib_supplied_syscalls
941
enable_dependency_tracking
942
enable_maintainer_mode
943
enable_shared
944
enable_static
945
with_pic
946
enable_fast_install
947
with_gnu_ld
948
enable_libtool_lock
949
'
950
      ac_precious_vars='build_alias
951
host_alias
952
target_alias
953
CCAS
954
CCASFLAGS
955
CC
956
CFLAGS
957
LDFLAGS
958
LIBS
959
CPPFLAGS
960
CPP'
961
ac_subdirs_all='i386
962
spu'
963
 
964
# Initialize some variables set by options.
965
ac_init_help=
966
ac_init_version=false
967
ac_unrecognized_opts=
968
ac_unrecognized_sep=
969
# The variables have the same names as the options, with
970
# dashes changed to underlines.
971
cache_file=/dev/null
972
exec_prefix=NONE
973
no_create=
974
no_recursion=
975
prefix=NONE
976
program_prefix=NONE
977
program_suffix=NONE
978
program_transform_name=s,x,x,
979
silent=
980
site=
981
srcdir=
982
verbose=
983
x_includes=NONE
984
x_libraries=NONE
985
 
986
# Installation directory options.
987
# These are left unexpanded so users can "make install exec_prefix=/foo"
988
# and all the variables that are supposed to be based on exec_prefix
989
# by default will actually change.
990
# Use braces instead of parens because sh, perl, etc. also accept them.
991
# (The list follows the same order as the GNU Coding Standards.)
992
bindir='${exec_prefix}/bin'
993
sbindir='${exec_prefix}/sbin'
994
libexecdir='${exec_prefix}/libexec'
995
datarootdir='${prefix}/share'
996
datadir='${datarootdir}'
997
sysconfdir='${prefix}/etc'
998
sharedstatedir='${prefix}/com'
999
localstatedir='${prefix}/var'
1000
includedir='${prefix}/include'
1001
oldincludedir='/usr/include'
1002
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1003
infodir='${datarootdir}/info'
1004
htmldir='${docdir}'
1005
dvidir='${docdir}'
1006
pdfdir='${docdir}'
1007
psdir='${docdir}'
1008
libdir='${exec_prefix}/lib'
1009
localedir='${datarootdir}/locale'
1010
mandir='${datarootdir}/man'
1011
 
1012
ac_prev=
1013
ac_dashdash=
1014
for ac_option
1015
do
1016
  # If the previous option needs an argument, assign it.
1017
  if test -n "$ac_prev"; then
1018
    eval $ac_prev=\$ac_option
1019
    ac_prev=
1020
    continue
1021
  fi
1022
 
1023
  case $ac_option in
1024
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1025
  *)    ac_optarg=yes ;;
1026
  esac
1027
 
1028
  # Accept the important Cygnus configure options, so we can diagnose typos.
1029
 
1030
  case $ac_dashdash$ac_option in
1031
  --)
1032
    ac_dashdash=yes ;;
1033
 
1034
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1035
    ac_prev=bindir ;;
1036
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1037
    bindir=$ac_optarg ;;
1038
 
1039
  -build | --build | --buil | --bui | --bu)
1040
    ac_prev=build_alias ;;
1041
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1042
    build_alias=$ac_optarg ;;
1043
 
1044
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1045
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1046
    ac_prev=cache_file ;;
1047
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1048
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1049
    cache_file=$ac_optarg ;;
1050
 
1051
  --config-cache | -C)
1052
    cache_file=config.cache ;;
1053
 
1054
  -datadir | --datadir | --datadi | --datad)
1055
    ac_prev=datadir ;;
1056
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1057
    datadir=$ac_optarg ;;
1058
 
1059
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1060
  | --dataroo | --dataro | --datar)
1061
    ac_prev=datarootdir ;;
1062
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1063
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1064
    datarootdir=$ac_optarg ;;
1065
 
1066
  -disable-* | --disable-*)
1067
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1068
    # Reject names that are not valid shell variable names.
1069
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1070
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1071
   { (exit 1); exit 1; }; }
1072
    ac_useropt_orig=$ac_useropt
1073
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074
    case $ac_user_opts in
1075
      *"
1076
"enable_$ac_useropt"
1077
"*) ;;
1078
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1079
         ac_unrecognized_sep=', ';;
1080
    esac
1081
    eval enable_$ac_useropt=no ;;
1082
 
1083
  -docdir | --docdir | --docdi | --doc | --do)
1084
    ac_prev=docdir ;;
1085
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1086
    docdir=$ac_optarg ;;
1087
 
1088
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1089
    ac_prev=dvidir ;;
1090
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1091
    dvidir=$ac_optarg ;;
1092
 
1093
  -enable-* | --enable-*)
1094
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1095
    # Reject names that are not valid shell variable names.
1096
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1098
   { (exit 1); exit 1; }; }
1099
    ac_useropt_orig=$ac_useropt
1100
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101
    case $ac_user_opts in
1102
      *"
1103
"enable_$ac_useropt"
1104
"*) ;;
1105
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1106
         ac_unrecognized_sep=', ';;
1107
    esac
1108
    eval enable_$ac_useropt=\$ac_optarg ;;
1109
 
1110
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1111
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1112
  | --exec | --exe | --ex)
1113
    ac_prev=exec_prefix ;;
1114
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1115
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1116
  | --exec=* | --exe=* | --ex=*)
1117
    exec_prefix=$ac_optarg ;;
1118
 
1119
  -gas | --gas | --ga | --g)
1120
    # Obsolete; use --with-gas.
1121
    with_gas=yes ;;
1122
 
1123
  -help | --help | --hel | --he | -h)
1124
    ac_init_help=long ;;
1125
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1126
    ac_init_help=recursive ;;
1127
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1128
    ac_init_help=short ;;
1129
 
1130
  -host | --host | --hos | --ho)
1131
    ac_prev=host_alias ;;
1132
  -host=* | --host=* | --hos=* | --ho=*)
1133
    host_alias=$ac_optarg ;;
1134
 
1135
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1136
    ac_prev=htmldir ;;
1137
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1138
  | --ht=*)
1139
    htmldir=$ac_optarg ;;
1140
 
1141
  -includedir | --includedir | --includedi | --included | --include \
1142
  | --includ | --inclu | --incl | --inc)
1143
    ac_prev=includedir ;;
1144
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1145
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1146
    includedir=$ac_optarg ;;
1147
 
1148
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1149
    ac_prev=infodir ;;
1150
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1151
    infodir=$ac_optarg ;;
1152
 
1153
  -libdir | --libdir | --libdi | --libd)
1154
    ac_prev=libdir ;;
1155
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1156
    libdir=$ac_optarg ;;
1157
 
1158
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1159
  | --libexe | --libex | --libe)
1160
    ac_prev=libexecdir ;;
1161
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1162
  | --libexe=* | --libex=* | --libe=*)
1163
    libexecdir=$ac_optarg ;;
1164
 
1165
  -localedir | --localedir | --localedi | --localed | --locale)
1166
    ac_prev=localedir ;;
1167
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1168
    localedir=$ac_optarg ;;
1169
 
1170
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1171
  | --localstate | --localstat | --localsta | --localst | --locals)
1172
    ac_prev=localstatedir ;;
1173
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1174
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1175
    localstatedir=$ac_optarg ;;
1176
 
1177
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1178
    ac_prev=mandir ;;
1179
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1180
    mandir=$ac_optarg ;;
1181
 
1182
  -nfp | --nfp | --nf)
1183
    # Obsolete; use --without-fp.
1184
    with_fp=no ;;
1185
 
1186
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1187
  | --no-cr | --no-c | -n)
1188
    no_create=yes ;;
1189
 
1190
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1191
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1192
    no_recursion=yes ;;
1193
 
1194
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1195
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1196
  | --oldin | --oldi | --old | --ol | --o)
1197
    ac_prev=oldincludedir ;;
1198
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1199
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1200
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1201
    oldincludedir=$ac_optarg ;;
1202
 
1203
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1204
    ac_prev=prefix ;;
1205
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1206
    prefix=$ac_optarg ;;
1207
 
1208
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1209
  | --program-pre | --program-pr | --program-p)
1210
    ac_prev=program_prefix ;;
1211
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1212
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1213
    program_prefix=$ac_optarg ;;
1214
 
1215
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1216
  | --program-suf | --program-su | --program-s)
1217
    ac_prev=program_suffix ;;
1218
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1219
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1220
    program_suffix=$ac_optarg ;;
1221
 
1222
  -program-transform-name | --program-transform-name \
1223
  | --program-transform-nam | --program-transform-na \
1224
  | --program-transform-n | --program-transform- \
1225
  | --program-transform | --program-transfor \
1226
  | --program-transfo | --program-transf \
1227
  | --program-trans | --program-tran \
1228
  | --progr-tra | --program-tr | --program-t)
1229
    ac_prev=program_transform_name ;;
1230
  -program-transform-name=* | --program-transform-name=* \
1231
  | --program-transform-nam=* | --program-transform-na=* \
1232
  | --program-transform-n=* | --program-transform-=* \
1233
  | --program-transform=* | --program-transfor=* \
1234
  | --program-transfo=* | --program-transf=* \
1235
  | --program-trans=* | --program-tran=* \
1236
  | --progr-tra=* | --program-tr=* | --program-t=*)
1237
    program_transform_name=$ac_optarg ;;
1238
 
1239
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1240
    ac_prev=pdfdir ;;
1241
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1242
    pdfdir=$ac_optarg ;;
1243
 
1244
  -psdir | --psdir | --psdi | --psd | --ps)
1245
    ac_prev=psdir ;;
1246
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1247
    psdir=$ac_optarg ;;
1248
 
1249
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1250
  | -silent | --silent | --silen | --sile | --sil)
1251
    silent=yes ;;
1252
 
1253
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1254
    ac_prev=sbindir ;;
1255
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1256
  | --sbi=* | --sb=*)
1257
    sbindir=$ac_optarg ;;
1258
 
1259
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1260
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1261
  | --sharedst | --shareds | --shared | --share | --shar \
1262
  | --sha | --sh)
1263
    ac_prev=sharedstatedir ;;
1264
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1265
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1266
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1267
  | --sha=* | --sh=*)
1268
    sharedstatedir=$ac_optarg ;;
1269
 
1270
  -site | --site | --sit)
1271
    ac_prev=site ;;
1272
  -site=* | --site=* | --sit=*)
1273
    site=$ac_optarg ;;
1274
 
1275
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1276
    ac_prev=srcdir ;;
1277
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1278
    srcdir=$ac_optarg ;;
1279
 
1280
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1281
  | --syscon | --sysco | --sysc | --sys | --sy)
1282
    ac_prev=sysconfdir ;;
1283
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1284
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1285
    sysconfdir=$ac_optarg ;;
1286
 
1287
  -target | --target | --targe | --targ | --tar | --ta | --t)
1288
    ac_prev=target_alias ;;
1289
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1290
    target_alias=$ac_optarg ;;
1291
 
1292
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1293
    verbose=yes ;;
1294
 
1295
  -version | --version | --versio | --versi | --vers | -V)
1296
    ac_init_version=: ;;
1297
 
1298
  -with-* | --with-*)
1299
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1300
    # Reject names that are not valid shell variable names.
1301
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1302
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1303
   { (exit 1); exit 1; }; }
1304
    ac_useropt_orig=$ac_useropt
1305
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1306
    case $ac_user_opts in
1307
      *"
1308
"with_$ac_useropt"
1309
"*) ;;
1310
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1311
         ac_unrecognized_sep=', ';;
1312
    esac
1313
    eval with_$ac_useropt=\$ac_optarg ;;
1314
 
1315
  -without-* | --without-*)
1316
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1317
    # Reject names that are not valid shell variable names.
1318
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1319
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1320
   { (exit 1); exit 1; }; }
1321
    ac_useropt_orig=$ac_useropt
1322
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1323
    case $ac_user_opts in
1324
      *"
1325
"with_$ac_useropt"
1326
"*) ;;
1327
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1328
         ac_unrecognized_sep=', ';;
1329
    esac
1330
    eval with_$ac_useropt=no ;;
1331
 
1332
  --x)
1333
    # Obsolete; use --with-x.
1334
    with_x=yes ;;
1335
 
1336
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1337
  | --x-incl | --x-inc | --x-in | --x-i)
1338
    ac_prev=x_includes ;;
1339
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1340
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1341
    x_includes=$ac_optarg ;;
1342
 
1343
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1344
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1345
    ac_prev=x_libraries ;;
1346
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1347
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1348
    x_libraries=$ac_optarg ;;
1349
 
1350
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1351
Try \`$0 --help' for more information." >&2
1352
   { (exit 1); exit 1; }; }
1353
    ;;
1354
 
1355
  *=*)
1356
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1357
    # Reject names that are not valid shell variable names.
1358
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1359
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1360
   { (exit 1); exit 1; }; }
1361
    eval $ac_envvar=\$ac_optarg
1362
    export $ac_envvar ;;
1363
 
1364
  *)
1365
    # FIXME: should be removed in autoconf 3.0.
1366
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1367
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1368
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1369
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1370
    ;;
1371
 
1372
  esac
1373
done
1374
 
1375
if test -n "$ac_prev"; then
1376
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1377
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1378
   { (exit 1); exit 1; }; }
1379
fi
1380
 
1381
if test -n "$ac_unrecognized_opts"; then
1382
  case $enable_option_checking in
1383
    no) ;;
1384
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1385
   { (exit 1); exit 1; }; } ;;
1386
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1387
  esac
1388
fi
1389
 
1390
# Check all directory arguments for consistency.
1391
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1392
                datadir sysconfdir sharedstatedir localstatedir includedir \
1393
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1394
                libdir localedir mandir
1395
do
1396
  eval ac_val=\$$ac_var
1397
  # Remove trailing slashes.
1398
  case $ac_val in
1399
    */ )
1400
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1401
      eval $ac_var=\$ac_val;;
1402
  esac
1403
  # Be sure to have absolute directory names.
1404
  case $ac_val in
1405
    [\\/$]* | ?:[\\/]* )  continue;;
1406
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1407
  esac
1408
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1409
   { (exit 1); exit 1; }; }
1410
done
1411
 
1412
# There might be people who depend on the old broken behavior: `$host'
1413
# used to hold the argument of --host etc.
1414
# FIXME: To remove some day.
1415
build=$build_alias
1416
host=$host_alias
1417
target=$target_alias
1418
 
1419
# FIXME: To remove some day.
1420
if test "x$host_alias" != x; then
1421
  if test "x$build_alias" = x; then
1422
    cross_compiling=maybe
1423
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1424
    If a cross compiler is detected then cross compile mode will be used." >&2
1425
  elif test "x$build_alias" != "x$host_alias"; then
1426
    cross_compiling=yes
1427
  fi
1428
fi
1429
 
1430
ac_tool_prefix=
1431
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1432
 
1433
test "$silent" = yes && exec 6>/dev/null
1434
 
1435
 
1436
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1437
ac_ls_di=`ls -di .` &&
1438
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1439
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1440
   { (exit 1); exit 1; }; }
1441
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1442
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1443
   { (exit 1); exit 1; }; }
1444
 
1445
 
1446
# Find the source files, if location was not specified.
1447
if test -z "$srcdir"; then
1448
  ac_srcdir_defaulted=yes
1449
  # Try the directory containing this script, then the parent directory.
1450
  ac_confdir=`$as_dirname -- "$as_myself" ||
1451
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1452
         X"$as_myself" : 'X\(//\)[^/]' \| \
1453
         X"$as_myself" : 'X\(//\)$' \| \
1454
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1455
$as_echo X"$as_myself" |
1456
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1457
            s//\1/
1458
            q
1459
          }
1460
          /^X\(\/\/\)[^/].*/{
1461
            s//\1/
1462
            q
1463
          }
1464
          /^X\(\/\/\)$/{
1465
            s//\1/
1466
            q
1467
          }
1468
          /^X\(\/\).*/{
1469
            s//\1/
1470
            q
1471
          }
1472
          s/.*/./; q'`
1473
  srcdir=$ac_confdir
1474
  if test ! -r "$srcdir/$ac_unique_file"; then
1475
    srcdir=..
1476
  fi
1477
else
1478
  ac_srcdir_defaulted=no
1479
fi
1480
if test ! -r "$srcdir/$ac_unique_file"; then
1481
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1482
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1483
   { (exit 1); exit 1; }; }
1484
fi
1485
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1486
ac_abs_confdir=`(
1487
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1488
   { (exit 1); exit 1; }; }
1489
        pwd)`
1490
# When building in place, set srcdir=.
1491
if test "$ac_abs_confdir" = "$ac_pwd"; then
1492
  srcdir=.
1493
fi
1494
# Remove unnecessary trailing slashes from srcdir.
1495
# Double slashes in file names in object file debugging info
1496
# mess up M-x gdb in Emacs.
1497
case $srcdir in
1498
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1499
esac
1500
for ac_var in $ac_precious_vars; do
1501
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1502
  eval ac_env_${ac_var}_value=\$${ac_var}
1503
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1504
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1505
done
1506
 
1507
#
1508
# Report the --help message.
1509
#
1510
if test "$ac_init_help" = "long"; then
1511
  # Omit some internal or obsolete options to make the list less imposing.
1512
  # This message is too long to be a string in the A/UX 3.1 sh.
1513
  cat <<_ACEOF
1514
\`configure' configures newlib 1.18.0 to adapt to many kinds of systems.
1515
 
1516
Usage: $0 [OPTION]... [VAR=VALUE]...
1517
 
1518
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1519
VAR=VALUE.  See below for descriptions of some of the useful variables.
1520
 
1521
Defaults for the options are specified in brackets.
1522
 
1523
Configuration:
1524
  -h, --help              display this help and exit
1525
      --help=short        display options specific to this package
1526
      --help=recursive    display the short help of all the included packages
1527
  -V, --version           display version information and exit
1528
  -q, --quiet, --silent   do not print \`checking...' messages
1529
      --cache-file=FILE   cache test results in FILE [disabled]
1530
  -C, --config-cache      alias for \`--cache-file=config.cache'
1531
  -n, --no-create         do not create output files
1532
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1533
 
1534
Installation directories:
1535
  --prefix=PREFIX         install architecture-independent files in PREFIX
1536
                          [$ac_default_prefix]
1537
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1538
                          [PREFIX]
1539
 
1540
By default, \`make install' will install all the files in
1541
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1542
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1543
for instance \`--prefix=\$HOME'.
1544
 
1545
For better control, use the options below.
1546
 
1547
Fine tuning of the installation directories:
1548
  --bindir=DIR            user executables [EPREFIX/bin]
1549
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1550
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1551
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1552
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1553
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1554
  --libdir=DIR            object code libraries [EPREFIX/lib]
1555
  --includedir=DIR        C header files [PREFIX/include]
1556
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1557
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1558
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1559
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1560
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1561
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1562
  --docdir=DIR            documentation root [DATAROOTDIR/doc/newlib]
1563
  --htmldir=DIR           html documentation [DOCDIR]
1564
  --dvidir=DIR            dvi documentation [DOCDIR]
1565
  --pdfdir=DIR            pdf documentation [DOCDIR]
1566
  --psdir=DIR             ps documentation [DOCDIR]
1567
_ACEOF
1568
 
1569
  cat <<\_ACEOF
1570
 
1571
Program names:
1572
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1573
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1574
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1575
 
1576
System types:
1577
  --build=BUILD     configure for building on BUILD [guessed]
1578
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1579
_ACEOF
1580
fi
1581
 
1582
if test -n "$ac_init_help"; then
1583
  case $ac_init_help in
1584
     short | recursive ) echo "Configuration of newlib 1.18.0:";;
1585
   esac
1586
  cat <<\_ACEOF
1587
 
1588
Optional Features:
1589
  --disable-option-checking  ignore unrecognized --enable/--with options
1590
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1591
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1592
  --enable-multilib         build many library versions (default)
1593
  --enable-target-optspace  optimize for space
1594
  --enable-malloc-debugging indicate malloc debugging requested
1595
  --enable-newlib-multithread        enable support for multiple threads
1596
  --enable-newlib-iconv     enable iconv library support
1597
  --enable-newlib-elix-level         supply desired elix library level (1-4)
1598
  --disable-newlib-io-float disable printf/scanf family float support
1599
  --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1600
  --disable-dependency-tracking  speeds up one-time build
1601
  --enable-dependency-tracking   do not reject slow dependency extractors
1602
  --enable-maintainer-mode  enable make rules and dependencies not useful
1603
                          (and sometimes confusing) to the casual installer
1604
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1605
  --enable-static[=PKGS]  build static libraries [default=yes]
1606
  --enable-fast-install[=PKGS]
1607
                          optimize for fast installation [default=yes]
1608
  --disable-libtool-lock  avoid locking (might break parallel builds)
1609
 
1610
Optional Packages:
1611
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1612
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1613
  --with-pic              try to use only PIC/non-PIC objects [default=use
1614
                          both]
1615
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1616
 
1617
Some influential environment variables:
1618
  CCAS        assembler compiler command (defaults to CC)
1619
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1620
  CC          C compiler command
1621
  CFLAGS      C compiler flags
1622
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
1623
              nonstandard directory 
1624
  LIBS        libraries to pass to the linker, e.g. -l
1625
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I if
1626
              you have headers in a nonstandard directory 
1627
  CPP         C preprocessor
1628
 
1629
Use these variables to override the choices made by `configure' or to help
1630
it to find libraries and programs with nonstandard names/locations.
1631
 
1632
_ACEOF
1633
ac_status=$?
1634
fi
1635
 
1636
if test "$ac_init_help" = "recursive"; then
1637
  # If there are subdirs, report their specific --help.
1638
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1639
    test -d "$ac_dir" ||
1640
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1641
      continue
1642
    ac_builddir=.
1643
 
1644
case "$ac_dir" in
1645
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1646
*)
1647
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1648
  # A ".." for each directory in $ac_dir_suffix.
1649
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1650
  case $ac_top_builddir_sub in
1651
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1653
  esac ;;
1654
esac
1655
ac_abs_top_builddir=$ac_pwd
1656
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1657
# for backward compatibility:
1658
ac_top_builddir=$ac_top_build_prefix
1659
 
1660
case $srcdir in
1661
  .)  # We are building in place.
1662
    ac_srcdir=.
1663
    ac_top_srcdir=$ac_top_builddir_sub
1664
    ac_abs_top_srcdir=$ac_pwd ;;
1665
  [\\/]* | ?:[\\/]* )  # Absolute name.
1666
    ac_srcdir=$srcdir$ac_dir_suffix;
1667
    ac_top_srcdir=$srcdir
1668
    ac_abs_top_srcdir=$srcdir ;;
1669
  *) # Relative name.
1670
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1671
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1672
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1673
esac
1674
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1675
 
1676
    cd "$ac_dir" || { ac_status=$?; continue; }
1677
    # Check for guested configure.
1678
    if test -f "$ac_srcdir/configure.gnu"; then
1679
      echo &&
1680
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1681
    elif test -f "$ac_srcdir/configure"; then
1682
      echo &&
1683
      $SHELL "$ac_srcdir/configure" --help=recursive
1684
    else
1685
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1686
    fi || ac_status=$?
1687
    cd "$ac_pwd" || { ac_status=$?; break; }
1688
  done
1689
fi
1690
 
1691
test -n "$ac_init_help" && exit $ac_status
1692
if $ac_init_version; then
1693
  cat <<\_ACEOF
1694
newlib configure 1.18.0
1695
generated by GNU Autoconf 2.63
1696
 
1697
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1698
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1699
This configure script is free software; the Free Software Foundation
1700
gives unlimited permission to copy, distribute and modify it.
1701
_ACEOF
1702
  exit
1703
fi
1704
cat >config.log <<_ACEOF
1705
This file contains any messages produced by compilers while
1706
running configure, to aid debugging if configure makes a mistake.
1707
 
1708
It was created by newlib $as_me 1.18.0, which was
1709
generated by GNU Autoconf 2.63.  Invocation command line was
1710
 
1711
  $ $0 $@
1712
 
1713
_ACEOF
1714
exec 5>>config.log
1715
{
1716
cat <<_ASUNAME
1717
## --------- ##
1718
## Platform. ##
1719
## --------- ##
1720
 
1721
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1722
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1723
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1724
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1725
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1726
 
1727
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1728
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1729
 
1730
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1731
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1732
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1733
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1734
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1735
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1736
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1737
 
1738
_ASUNAME
1739
 
1740
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1741
for as_dir in $PATH
1742
do
1743
  IFS=$as_save_IFS
1744
  test -z "$as_dir" && as_dir=.
1745
  $as_echo "PATH: $as_dir"
1746
done
1747
IFS=$as_save_IFS
1748
 
1749
} >&5
1750
 
1751
cat >&5 <<_ACEOF
1752
 
1753
 
1754
## ----------- ##
1755
## Core tests. ##
1756
## ----------- ##
1757
 
1758
_ACEOF
1759
 
1760
 
1761
# Keep a trace of the command line.
1762
# Strip out --no-create and --no-recursion so they do not pile up.
1763
# Strip out --silent because we don't want to record it for future runs.
1764
# Also quote any args containing shell meta-characters.
1765
# Make two passes to allow for proper duplicate-argument suppression.
1766
ac_configure_args=
1767
ac_configure_args0=
1768
ac_configure_args1=
1769
ac_must_keep_next=false
1770
for ac_pass in 1 2
1771
do
1772
  for ac_arg
1773
  do
1774
    case $ac_arg in
1775
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1776
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1777
    | -silent | --silent | --silen | --sile | --sil)
1778
      continue ;;
1779
    *\'*)
1780
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1781
    esac
1782
    case $ac_pass in
1783
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1784
    2)
1785
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1786
      if test $ac_must_keep_next = true; then
1787
        ac_must_keep_next=false # Got value, back to normal.
1788
      else
1789
        case $ac_arg in
1790
          *=* | --config-cache | -C | -disable-* | --disable-* \
1791
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1792
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1793
          | -with-* | --with-* | -without-* | --without-* | --x)
1794
            case "$ac_configure_args0 " in
1795
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1796
            esac
1797
            ;;
1798
          -* ) ac_must_keep_next=true ;;
1799
        esac
1800
      fi
1801
      ac_configure_args="$ac_configure_args '$ac_arg'"
1802
      ;;
1803
    esac
1804
  done
1805
done
1806
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1807
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1808
 
1809
# When interrupted or exit'd, cleanup temporary files, and complete
1810
# config.log.  We remove comments because anyway the quotes in there
1811
# would cause problems or look ugly.
1812
# WARNING: Use '\'' to represent an apostrophe within the trap.
1813
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1814
trap 'exit_status=$?
1815
  # Save into config.log some information that might help in debugging.
1816
  {
1817
    echo
1818
 
1819
    cat <<\_ASBOX
1820
## ---------------- ##
1821
## Cache variables. ##
1822
## ---------------- ##
1823
_ASBOX
1824
    echo
1825
    # The following way of writing the cache mishandles newlines in values,
1826
(
1827
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1828
    eval ac_val=\$$ac_var
1829
    case $ac_val in #(
1830
    *${as_nl}*)
1831
      case $ac_var in #(
1832
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1833
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1834
      esac
1835
      case $ac_var in #(
1836
      _ | IFS | as_nl) ;; #(
1837
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1838
      *) $as_unset $ac_var ;;
1839
      esac ;;
1840
    esac
1841
  done
1842
  (set) 2>&1 |
1843
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1844
    *${as_nl}ac_space=\ *)
1845
      sed -n \
1846
        "s/'\''/'\''\\\\'\'''\''/g;
1847
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1848
      ;; #(
1849
    *)
1850
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1851
      ;;
1852
    esac |
1853
    sort
1854
)
1855
    echo
1856
 
1857
    cat <<\_ASBOX
1858
## ----------------- ##
1859
## Output variables. ##
1860
## ----------------- ##
1861
_ASBOX
1862
    echo
1863
    for ac_var in $ac_subst_vars
1864
    do
1865
      eval ac_val=\$$ac_var
1866
      case $ac_val in
1867
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1868
      esac
1869
      $as_echo "$ac_var='\''$ac_val'\''"
1870
    done | sort
1871
    echo
1872
 
1873
    if test -n "$ac_subst_files"; then
1874
      cat <<\_ASBOX
1875
## ------------------- ##
1876
## File substitutions. ##
1877
## ------------------- ##
1878
_ASBOX
1879
      echo
1880
      for ac_var in $ac_subst_files
1881
      do
1882
        eval ac_val=\$$ac_var
1883
        case $ac_val in
1884
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1885
        esac
1886
        $as_echo "$ac_var='\''$ac_val'\''"
1887
      done | sort
1888
      echo
1889
    fi
1890
 
1891
    if test -s confdefs.h; then
1892
      cat <<\_ASBOX
1893
## ----------- ##
1894
## confdefs.h. ##
1895
## ----------- ##
1896
_ASBOX
1897
      echo
1898
      cat confdefs.h
1899
      echo
1900
    fi
1901
    test "$ac_signal" != 0 &&
1902
      $as_echo "$as_me: caught signal $ac_signal"
1903
    $as_echo "$as_me: exit $exit_status"
1904
  } >&5
1905
  rm -f core *.core core.conftest.* &&
1906
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1907
    exit $exit_status
1908
' 0
1909
for ac_signal in 1 2 13 15; do
1910
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1911
done
1912
ac_signal=0
1913
 
1914
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1915
rm -f -r conftest* confdefs.h
1916
 
1917
# Predefined preprocessor variables.
1918
 
1919
cat >>confdefs.h <<_ACEOF
1920
#define PACKAGE_NAME "$PACKAGE_NAME"
1921
_ACEOF
1922
 
1923
 
1924
cat >>confdefs.h <<_ACEOF
1925
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1926
_ACEOF
1927
 
1928
 
1929
cat >>confdefs.h <<_ACEOF
1930
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1931
_ACEOF
1932
 
1933
 
1934
cat >>confdefs.h <<_ACEOF
1935
#define PACKAGE_STRING "$PACKAGE_STRING"
1936
_ACEOF
1937
 
1938
 
1939
cat >>confdefs.h <<_ACEOF
1940
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1941
_ACEOF
1942
 
1943
 
1944
# Let the site file select an alternate cache file if it wants to.
1945
# Prefer an explicitly selected file to automatically selected ones.
1946
ac_site_file1=NONE
1947
ac_site_file2=NONE
1948
if test -n "$CONFIG_SITE"; then
1949
  ac_site_file1=$CONFIG_SITE
1950
elif test "x$prefix" != xNONE; then
1951
  ac_site_file1=$prefix/share/config.site
1952
  ac_site_file2=$prefix/etc/config.site
1953
else
1954
  ac_site_file1=$ac_default_prefix/share/config.site
1955
  ac_site_file2=$ac_default_prefix/etc/config.site
1956
fi
1957
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1958
do
1959
  test "x$ac_site_file" = xNONE && continue
1960
  if test -r "$ac_site_file"; then
1961
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1962
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1963
    sed 's/^/| /' "$ac_site_file" >&5
1964
    . "$ac_site_file"
1965
  fi
1966
done
1967
 
1968
if test -r "$cache_file"; then
1969
  # Some versions of bash will fail to source /dev/null (special
1970
  # files actually), so we avoid doing that.
1971
  if test -f "$cache_file"; then
1972
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1973
$as_echo "$as_me: loading cache $cache_file" >&6;}
1974
    case $cache_file in
1975
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1976
      *)                      . "./$cache_file";;
1977
    esac
1978
  fi
1979
else
1980
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1981
$as_echo "$as_me: creating cache $cache_file" >&6;}
1982
  >$cache_file
1983
fi
1984
 
1985
# Check that the precious variables saved in the cache have kept the same
1986
# value.
1987
ac_cache_corrupted=false
1988
for ac_var in $ac_precious_vars; do
1989
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1990
  eval ac_new_set=\$ac_env_${ac_var}_set
1991
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1992
  eval ac_new_val=\$ac_env_${ac_var}_value
1993
  case $ac_old_set,$ac_new_set in
1994
    set,)
1995
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1996
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1997
      ac_cache_corrupted=: ;;
1998
    ,set)
1999
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2000
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2001
      ac_cache_corrupted=: ;;
2002
    ,);;
2003
    *)
2004
      if test "x$ac_old_val" != "x$ac_new_val"; then
2005
        # differences in whitespace do not lead to failure.
2006
        ac_old_val_w=`echo x $ac_old_val`
2007
        ac_new_val_w=`echo x $ac_new_val`
2008
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2009
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2010
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2011
          ac_cache_corrupted=:
2012
        else
2013
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2014
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2015
          eval $ac_var=\$ac_old_val
2016
        fi
2017
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2018
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2019
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2020
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2021
      fi;;
2022
  esac
2023
  # Pass precious variables to config.status.
2024
  if test "$ac_new_set" = set; then
2025
    case $ac_new_val in
2026
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2027
    *) ac_arg=$ac_var=$ac_new_val ;;
2028
    esac
2029
    case " $ac_configure_args " in
2030
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2031
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2032
    esac
2033
  fi
2034
done
2035
if $ac_cache_corrupted; then
2036
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2037
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2038
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2039
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2040
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2041
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2042
   { (exit 1); exit 1; }; }
2043
fi
2044
 
2045
 
2046
 
2047
 
2048
 
2049
 
2050
 
2051
 
2052
 
2053
 
2054
 
2055
 
2056
 
2057
 
2058
 
2059
 
2060
 
2061
 
2062
 
2063
 
2064
 
2065
 
2066
 
2067
 
2068
 
2069
ac_ext=c
2070
ac_cpp='$CPP $CPPFLAGS'
2071
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2072
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2073
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2074
 
2075
 
2076
 
2077
 
2078
ac_aux_dir=
2079
for ac_dir in ../../.. "$srcdir"/../../..; do
2080
  if 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/install.sh"; then
2085
    ac_aux_dir=$ac_dir
2086
    ac_install_sh="$ac_aux_dir/install.sh -c"
2087
    break
2088
  elif test -f "$ac_dir/shtool"; then
2089
    ac_aux_dir=$ac_dir
2090
    ac_install_sh="$ac_aux_dir/shtool install -c"
2091
    break
2092
  fi
2093
done
2094
if test -z "$ac_aux_dir"; then
2095
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../.. \"$srcdir\"/../../.." >&5
2096
$as_echo "$as_me: error: cannot find install-sh or install.sh in ../../.. \"$srcdir\"/../../.." >&2;}
2097
   { (exit 1); exit 1; }; }
2098
fi
2099
 
2100
# These three variables are undocumented and unsupported,
2101
# and are intended to be withdrawn in a future Autoconf release.
2102
# They can cause serious problems if a builder's source tree is in a directory
2103
# whose full name contains unusual characters.
2104
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2105
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2106
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2107
 
2108
 
2109
 
2110
 
2111
# Make sure we can run config.sub.
2112
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2113
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2114
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2115
   { (exit 1); exit 1; }; }
2116
 
2117
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2118
$as_echo_n "checking build system type... " >&6; }
2119
if test "${ac_cv_build+set}" = set; then
2120
  $as_echo_n "(cached) " >&6
2121
else
2122
  ac_build_alias=$build_alias
2123
test "x$ac_build_alias" = x &&
2124
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2125
test "x$ac_build_alias" = x &&
2126
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2127
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2128
   { (exit 1); exit 1; }; }
2129
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2130
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2131
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2132
   { (exit 1); exit 1; }; }
2133
 
2134
fi
2135
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2136
$as_echo "$ac_cv_build" >&6; }
2137
case $ac_cv_build in
2138
*-*-*) ;;
2139
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2140
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2141
   { (exit 1); exit 1; }; };;
2142
esac
2143
build=$ac_cv_build
2144
ac_save_IFS=$IFS; IFS='-'
2145
set x $ac_cv_build
2146
shift
2147
build_cpu=$1
2148
build_vendor=$2
2149
shift; shift
2150
# Remember, the first character of IFS is used to create $*,
2151
# except with old shells:
2152
build_os=$*
2153
IFS=$ac_save_IFS
2154
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2155
 
2156
 
2157
am__api_version='1.11'
2158
 
2159
# Find a good install program.  We prefer a C program (faster),
2160
# so one script is as good as another.  But avoid the broken or
2161
# incompatible versions:
2162
# SysV /etc/install, /usr/sbin/install
2163
# SunOS /usr/etc/install
2164
# IRIX /sbin/install
2165
# AIX /bin/install
2166
# AmigaOS /C/install, which installs bootblocks on floppy discs
2167
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2168
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2169
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2170
# OS/2's system install, which has a completely different semantic
2171
# ./install, which can be erroneously created by make from ./install.sh.
2172
# Reject install programs that cannot install multiple files.
2173
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2174
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2175
if test -z "$INSTALL"; then
2176
if test "${ac_cv_path_install+set}" = set; then
2177
  $as_echo_n "(cached) " >&6
2178
else
2179
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180
for as_dir in $PATH
2181
do
2182
  IFS=$as_save_IFS
2183
  test -z "$as_dir" && as_dir=.
2184
  # Account for people who put trailing slashes in PATH elements.
2185
case $as_dir/ in
2186
  ./ | .// | /cC/* | \
2187
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2188
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2189
  /usr/ucb/* ) ;;
2190
  *)
2191
    # OSF1 and SCO ODT 3.0 have their own names for install.
2192
    # Don't use installbsd from OSF since it installs stuff as root
2193
    # by default.
2194
    for ac_prog in ginstall scoinst install; do
2195
      for ac_exec_ext in '' $ac_executable_extensions; do
2196
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2197
          if test $ac_prog = install &&
2198
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2199
            # AIX install.  It has an incompatible calling convention.
2200
            :
2201
          elif test $ac_prog = install &&
2202
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2203
            # program-specific install script used by HP pwplus--don't use.
2204
            :
2205
          else
2206
            rm -rf conftest.one conftest.two conftest.dir
2207
            echo one > conftest.one
2208
            echo two > conftest.two
2209
            mkdir conftest.dir
2210
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2211
              test -s conftest.one && test -s conftest.two &&
2212
              test -s conftest.dir/conftest.one &&
2213
              test -s conftest.dir/conftest.two
2214
            then
2215
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2216
              break 3
2217
            fi
2218
          fi
2219
        fi
2220
      done
2221
    done
2222
    ;;
2223
esac
2224
 
2225
done
2226
IFS=$as_save_IFS
2227
 
2228
rm -rf conftest.one conftest.two conftest.dir
2229
 
2230
fi
2231
  if test "${ac_cv_path_install+set}" = set; then
2232
    INSTALL=$ac_cv_path_install
2233
  else
2234
    # As a last resort, use the slow shell script.  Don't cache a
2235
    # value for INSTALL within a source directory, because that will
2236
    # break other packages using the cache if that directory is
2237
    # removed, or if the value is a relative name.
2238
    INSTALL=$ac_install_sh
2239
  fi
2240
fi
2241
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2242
$as_echo "$INSTALL" >&6; }
2243
 
2244
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2245
# It thinks the first close brace ends the variable substitution.
2246
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2247
 
2248
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2249
 
2250
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2251
 
2252
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2253
$as_echo_n "checking whether build environment is sane... " >&6; }
2254
# Just in case
2255
sleep 1
2256
echo timestamp > conftest.file
2257
# Reject unsafe characters in $srcdir or the absolute working directory
2258
# name.  Accept space and tab only in the latter.
2259
am_lf='
2260
'
2261
case `pwd` in
2262
  *[\\\"\#\$\&\'\`$am_lf]*)
2263
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2264
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2265
   { (exit 1); exit 1; }; };;
2266
esac
2267
case $srcdir in
2268
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2269
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2270
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2271
   { (exit 1); exit 1; }; };;
2272
esac
2273
 
2274
# Do `set' in a subshell so we don't clobber the current shell's
2275
# arguments.  Must try -L first in case configure is actually a
2276
# symlink; some systems play weird games with the mod time of symlinks
2277
# (eg FreeBSD returns the mod time of the symlink's containing
2278
# directory).
2279
if (
2280
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2281
   if test "$*" = "X"; then
2282
      # -L didn't work.
2283
      set X `ls -t "$srcdir/configure" conftest.file`
2284
   fi
2285
   rm -f conftest.file
2286
   if test "$*" != "X $srcdir/configure conftest.file" \
2287
      && test "$*" != "X conftest.file $srcdir/configure"; then
2288
 
2289
      # If neither matched, then we have a broken ls.  This can happen
2290
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2291
      # broken ls alias from the environment.  This has actually
2292
      # happened.  Such a system could not be considered "sane".
2293
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2294
alias in your environment" >&5
2295
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2296
alias in your environment" >&2;}
2297
   { (exit 1); exit 1; }; }
2298
   fi
2299
 
2300
   test "$2" = conftest.file
2301
   )
2302
then
2303
   # Ok.
2304
   :
2305
else
2306
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2307
Check your system clock" >&5
2308
$as_echo "$as_me: error: newly created file is older than distributed files!
2309
Check your system clock" >&2;}
2310
   { (exit 1); exit 1; }; }
2311
fi
2312
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2313
$as_echo "yes" >&6; }
2314
test "$program_prefix" != NONE &&
2315
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2316
# Use a double $ so make ignores it.
2317
test "$program_suffix" != NONE &&
2318
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2319
# Double any \ or $.
2320
# By default was `s,x,x', remove it if useless.
2321
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2322
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2323
 
2324
# expand $ac_aux_dir to an absolute path
2325
am_aux_dir=`cd $ac_aux_dir && pwd`
2326
 
2327
if test x"${MISSING+set}" != xset; then
2328
  case $am_aux_dir in
2329
  *\ * | *\     *)
2330
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2331
  *)
2332
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2333
  esac
2334
fi
2335
# Use eval to expand $SHELL
2336
if eval "$MISSING --run true"; then
2337
  am_missing_run="$MISSING --run "
2338
else
2339
  am_missing_run=
2340
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2341
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2342
fi
2343
 
2344
if test x"${install_sh}" != xset; then
2345
  case $am_aux_dir in
2346
  *\ * | *\     *)
2347
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2348
  *)
2349
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2350
  esac
2351
fi
2352
 
2353
# Installed binaries are usually stripped using `strip' when the user
2354
# run `make install-strip'.  However `strip' might not be the right
2355
# tool to use in cross-compilation environments, therefore Automake
2356
# will honor the `STRIP' environment variable to overrule this program.
2357
if test "$cross_compiling" != no; then
2358
  if test -n "$ac_tool_prefix"; then
2359
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2360
set dummy ${ac_tool_prefix}strip; ac_word=$2
2361
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2362
$as_echo_n "checking for $ac_word... " >&6; }
2363
if test "${ac_cv_prog_STRIP+set}" = set; then
2364
  $as_echo_n "(cached) " >&6
2365
else
2366
  if test -n "$STRIP"; then
2367
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2368
else
2369
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370
for as_dir in $PATH
2371
do
2372
  IFS=$as_save_IFS
2373
  test -z "$as_dir" && as_dir=.
2374
  for ac_exec_ext in '' $ac_executable_extensions; do
2375
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2377
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378
    break 2
2379
  fi
2380
done
2381
done
2382
IFS=$as_save_IFS
2383
 
2384
fi
2385
fi
2386
STRIP=$ac_cv_prog_STRIP
2387
if test -n "$STRIP"; then
2388
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2389
$as_echo "$STRIP" >&6; }
2390
else
2391
  { $as_echo "$as_me:$LINENO: result: no" >&5
2392
$as_echo "no" >&6; }
2393
fi
2394
 
2395
 
2396
fi
2397
if test -z "$ac_cv_prog_STRIP"; then
2398
  ac_ct_STRIP=$STRIP
2399
  # Extract the first word of "strip", so it can be a program name with args.
2400
set dummy strip; ac_word=$2
2401
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2402
$as_echo_n "checking for $ac_word... " >&6; }
2403
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2404
  $as_echo_n "(cached) " >&6
2405
else
2406
  if test -n "$ac_ct_STRIP"; then
2407
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2408
else
2409
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410
for as_dir in $PATH
2411
do
2412
  IFS=$as_save_IFS
2413
  test -z "$as_dir" && as_dir=.
2414
  for ac_exec_ext in '' $ac_executable_extensions; do
2415
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2416
    ac_cv_prog_ac_ct_STRIP="strip"
2417
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2418
    break 2
2419
  fi
2420
done
2421
done
2422
IFS=$as_save_IFS
2423
 
2424
fi
2425
fi
2426
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2427
if test -n "$ac_ct_STRIP"; then
2428
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2429
$as_echo "$ac_ct_STRIP" >&6; }
2430
else
2431
  { $as_echo "$as_me:$LINENO: result: no" >&5
2432
$as_echo "no" >&6; }
2433
fi
2434
 
2435
  if test "x$ac_ct_STRIP" = x; then
2436
    STRIP=":"
2437
  else
2438
    case $cross_compiling:$ac_tool_warned in
2439
yes:)
2440
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2441
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2442
ac_tool_warned=yes ;;
2443
esac
2444
    STRIP=$ac_ct_STRIP
2445
  fi
2446
else
2447
  STRIP="$ac_cv_prog_STRIP"
2448
fi
2449
 
2450
fi
2451
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2452
 
2453
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2454
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2455
if test -z "$MKDIR_P"; then
2456
  if test "${ac_cv_path_mkdir+set}" = set; then
2457
  $as_echo_n "(cached) " >&6
2458
else
2459
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2460
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2461
do
2462
  IFS=$as_save_IFS
2463
  test -z "$as_dir" && as_dir=.
2464
  for ac_prog in mkdir gmkdir; do
2465
         for ac_exec_ext in '' $ac_executable_extensions; do
2466
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2467
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2468
             'mkdir (GNU coreutils) '* | \
2469
             'mkdir (coreutils) '* | \
2470
             'mkdir (fileutils) '4.1*)
2471
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2472
               break 3;;
2473
           esac
2474
         done
2475
       done
2476
done
2477
IFS=$as_save_IFS
2478
 
2479
fi
2480
 
2481
  if test "${ac_cv_path_mkdir+set}" = set; then
2482
    MKDIR_P="$ac_cv_path_mkdir -p"
2483
  else
2484
    # As a last resort, use the slow shell script.  Don't cache a
2485
    # value for MKDIR_P within a source directory, because that will
2486
    # break other packages using the cache if that directory is
2487
    # removed, or if the value is a relative name.
2488
    test -d ./--version && rmdir ./--version
2489
    MKDIR_P="$ac_install_sh -d"
2490
  fi
2491
fi
2492
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2493
$as_echo "$MKDIR_P" >&6; }
2494
 
2495
mkdir_p="$MKDIR_P"
2496
case $mkdir_p in
2497
  [\\/$]* | ?:[\\/]*) ;;
2498
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2499
esac
2500
 
2501
for ac_prog in gawk mawk nawk awk
2502
do
2503
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2504
set dummy $ac_prog; ac_word=$2
2505
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2506
$as_echo_n "checking for $ac_word... " >&6; }
2507
if test "${ac_cv_prog_AWK+set}" = set; then
2508
  $as_echo_n "(cached) " >&6
2509
else
2510
  if test -n "$AWK"; then
2511
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2512
else
2513
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514
for as_dir in $PATH
2515
do
2516
  IFS=$as_save_IFS
2517
  test -z "$as_dir" && as_dir=.
2518
  for ac_exec_ext in '' $ac_executable_extensions; do
2519
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2520
    ac_cv_prog_AWK="$ac_prog"
2521
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2522
    break 2
2523
  fi
2524
done
2525
done
2526
IFS=$as_save_IFS
2527
 
2528
fi
2529
fi
2530
AWK=$ac_cv_prog_AWK
2531
if test -n "$AWK"; then
2532
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2533
$as_echo "$AWK" >&6; }
2534
else
2535
  { $as_echo "$as_me:$LINENO: result: no" >&5
2536
$as_echo "no" >&6; }
2537
fi
2538
 
2539
 
2540
  test -n "$AWK" && break
2541
done
2542
 
2543
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2544
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2545
set x ${MAKE-make}
2546
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2547
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2548
  $as_echo_n "(cached) " >&6
2549
else
2550
  cat >conftest.make <<\_ACEOF
2551
SHELL = /bin/sh
2552
all:
2553
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2554
_ACEOF
2555
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2556
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2557
  *@@@%%%=?*=@@@%%%*)
2558
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2559
  *)
2560
    eval ac_cv_prog_make_${ac_make}_set=no;;
2561
esac
2562
rm -f conftest.make
2563
fi
2564
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2565
  { $as_echo "$as_me:$LINENO: result: yes" >&5
2566
$as_echo "yes" >&6; }
2567
  SET_MAKE=
2568
else
2569
  { $as_echo "$as_me:$LINENO: result: no" >&5
2570
$as_echo "no" >&6; }
2571
  SET_MAKE="MAKE=${MAKE-make}"
2572
fi
2573
 
2574
rm -rf .tst 2>/dev/null
2575
mkdir .tst 2>/dev/null
2576
if test -d .tst; then
2577
  am__leading_dot=.
2578
else
2579
  am__leading_dot=_
2580
fi
2581
rmdir .tst 2>/dev/null
2582
 
2583
DEPDIR="${am__leading_dot}deps"
2584
 
2585
ac_config_commands="$ac_config_commands depfiles"
2586
 
2587
 
2588
am_make=${MAKE-make}
2589
cat > confinc << 'END'
2590
am__doit:
2591
        @echo this is the am__doit target
2592
.PHONY: am__doit
2593
END
2594
# If we don't find an include directive, just comment out the code.
2595
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2596
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2597
am__include="#"
2598
am__quote=
2599
_am_result=none
2600
# First try GNU make style include.
2601
echo "include confinc" > confmf
2602
# Ignore all kinds of additional output from `make'.
2603
case `$am_make -s -f confmf 2> /dev/null` in #(
2604
*the\ am__doit\ target*)
2605
  am__include=include
2606
  am__quote=
2607
  _am_result=GNU
2608
  ;;
2609
esac
2610
# Now try BSD make style include.
2611
if test "$am__include" = "#"; then
2612
   echo '.include "confinc"' > confmf
2613
   case `$am_make -s -f confmf 2> /dev/null` in #(
2614
   *the\ am__doit\ target*)
2615
     am__include=.include
2616
     am__quote="\""
2617
     _am_result=BSD
2618
     ;;
2619
   esac
2620
fi
2621
 
2622
 
2623
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2624
$as_echo "$_am_result" >&6; }
2625
rm -f confinc confmf
2626
 
2627
# Check whether --enable-dependency-tracking was given.
2628
if test "${enable_dependency_tracking+set}" = set; then
2629
  enableval=$enable_dependency_tracking;
2630
fi
2631
 
2632
if test "x$enable_dependency_tracking" != xno; then
2633
  am_depcomp="$ac_aux_dir/depcomp"
2634
  AMDEPBACKSLASH='\'
2635
fi
2636
 if test "x$enable_dependency_tracking" != xno; then
2637
  AMDEP_TRUE=
2638
  AMDEP_FALSE='#'
2639
else
2640
  AMDEP_TRUE='#'
2641
  AMDEP_FALSE=
2642
fi
2643
 
2644
 
2645
 
2646
# Check whether --enable-multilib was given.
2647
if test "${enable_multilib+set}" = set; then
2648
  enableval=$enable_multilib; case "${enableval}" in
2649
  yes) multilib=yes ;;
2650
  no)  multilib=no ;;
2651
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
2652
$as_echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
2653
   { (exit 1); exit 1; }; } ;;
2654
 esac
2655
else
2656
  multilib=yes
2657
fi
2658
 
2659
# Check whether --enable-target-optspace was given.
2660
if test "${enable_target_optspace+set}" = set; then
2661
  enableval=$enable_target_optspace; case "${enableval}" in
2662
  yes) target_optspace=yes ;;
2663
  no)  target_optspace=no ;;
2664
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
2665
$as_echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
2666
   { (exit 1); exit 1; }; } ;;
2667
 esac
2668
else
2669
  target_optspace=
2670
fi
2671
 
2672
# Check whether --enable-malloc-debugging was given.
2673
if test "${enable_malloc_debugging+set}" = set; then
2674
  enableval=$enable_malloc_debugging; case "${enableval}" in
2675
  yes) malloc_debugging=yes ;;
2676
  no)  malloc_debugging=no ;;
2677
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
2678
$as_echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
2679
   { (exit 1); exit 1; }; } ;;
2680
 esac
2681
else
2682
  malloc_debugging=
2683
fi
2684
 
2685
# Check whether --enable-newlib-multithread was given.
2686
if test "${enable_newlib_multithread+set}" = set; then
2687
  enableval=$enable_newlib_multithread; case "${enableval}" in
2688
  yes) newlib_multithread=yes ;;
2689
  no)  newlib_multithread=no ;;
2690
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
2691
$as_echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
2692
   { (exit 1); exit 1; }; } ;;
2693
 esac
2694
else
2695
  newlib_multithread=yes
2696
fi
2697
 
2698
# Check whether --enable-newlib-iconv was given.
2699
if test "${enable_newlib_iconv+set}" = set; then
2700
  enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
2701
   case "${enableval}" in
2702
     yes) newlib_iconv=yes ;;
2703
     no)  newlib_iconv=no ;;
2704
     *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
2705
$as_echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
2706
   { (exit 1); exit 1; }; } ;;
2707
   esac
2708
 fi
2709
else
2710
  newlib_iconv=${newlib_iconv}
2711
fi
2712
 
2713
# Check whether --enable-newlib-elix-level was given.
2714
if test "${enable_newlib_elix_level+set}" = set; then
2715
  enableval=$enable_newlib_elix_level; case "${enableval}" in
2716
  0)   newlib_elix_level=0 ;;
2717
  1)   newlib_elix_level=1 ;;
2718
  2)   newlib_elix_level=2 ;;
2719
  3)   newlib_elix_level=3 ;;
2720
  4)   newlib_elix_level=4 ;;
2721
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
2722
$as_echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
2723
   { (exit 1); exit 1; }; } ;;
2724
 esac
2725
else
2726
  newlib_elix_level=0
2727
fi
2728
 
2729
# Check whether --enable-newlib-io-float was given.
2730
if test "${enable_newlib_io_float+set}" = set; then
2731
  enableval=$enable_newlib_io_float; case "${enableval}" in
2732
  yes) newlib_io_float=yes ;;
2733
  no)  newlib_io_float=no ;;
2734
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
2735
$as_echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
2736
   { (exit 1); exit 1; }; } ;;
2737
 esac
2738
else
2739
  newlib_io_float=yes
2740
fi
2741
 
2742
# Check whether --enable-newlib-supplied-syscalls was given.
2743
if test "${enable_newlib_supplied_syscalls+set}" = set; then
2744
  enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
2745
  yes) newlib_may_supply_syscalls=yes ;;
2746
  no)  newlib_may_supply_syscalls=no ;;
2747
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
2748
$as_echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
2749
   { (exit 1); exit 1; }; } ;;
2750
 esac
2751
else
2752
  newlib_may_supply_syscalls=yes
2753
fi
2754
 
2755
 if test x${newlib_may_supply_syscalls} = xyes; then
2756
  MAY_SUPPLY_SYSCALLS_TRUE=
2757
  MAY_SUPPLY_SYSCALLS_FALSE='#'
2758
else
2759
  MAY_SUPPLY_SYSCALLS_TRUE='#'
2760
  MAY_SUPPLY_SYSCALLS_FALSE=
2761
fi
2762
 
2763
 
2764
 
2765
test -z "${with_target_subdir}" && with_target_subdir=.
2766
 
2767
if test "${srcdir}" = "."; then
2768
  if test "${with_target_subdir}" != "."; then
2769
    newlib_basedir="${srcdir}/${with_multisrctop}../../.."
2770
  else
2771
    newlib_basedir="${srcdir}/${with_multisrctop}../.."
2772
  fi
2773
else
2774
  newlib_basedir="${srcdir}/../.."
2775
fi
2776
 
2777
 
2778
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2779
$as_echo_n "checking host system type... " >&6; }
2780
if test "${ac_cv_host+set}" = set; then
2781
  $as_echo_n "(cached) " >&6
2782
else
2783
  if test "x$host_alias" = x; then
2784
  ac_cv_host=$ac_cv_build
2785
else
2786
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2787
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2788
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2789
   { (exit 1); exit 1; }; }
2790
fi
2791
 
2792
fi
2793
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2794
$as_echo "$ac_cv_host" >&6; }
2795
case $ac_cv_host in
2796
*-*-*) ;;
2797
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2798
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2799
   { (exit 1); exit 1; }; };;
2800
esac
2801
host=$ac_cv_host
2802
ac_save_IFS=$IFS; IFS='-'
2803
set x $ac_cv_host
2804
shift
2805
host_cpu=$1
2806
host_vendor=$2
2807
shift; shift
2808
# Remember, the first character of IFS is used to create $*,
2809
# except with old shells:
2810
host_os=$*
2811
IFS=$ac_save_IFS
2812
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2813
 
2814
 
2815
 
2816
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2817
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2818
  # is not polluted with repeated "-I."
2819
  am__isrc=' -I$(srcdir)'
2820
  # test to see if srcdir already configured
2821
  if test -f $srcdir/config.status; then
2822
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2823
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2824
   { (exit 1); exit 1; }; }
2825
  fi
2826
fi
2827
 
2828
# test whether we have cygpath
2829
if test -z "$CYGPATH_W"; then
2830
  if (cygpath --version) >/dev/null 2>/dev/null; then
2831
    CYGPATH_W='cygpath -w'
2832
  else
2833
    CYGPATH_W=echo
2834
  fi
2835
fi
2836
 
2837
 
2838
# Define the identity of the package.
2839
 PACKAGE='newlib'
2840
 VERSION='1.18.0'
2841
 
2842
 
2843
# Some tools Automake needs.
2844
 
2845
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2846
 
2847
 
2848
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2849
 
2850
 
2851
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2852
 
2853
 
2854
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2855
 
2856
 
2857
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2858
 
2859
# We need awk for the "check" target.  The system "awk" is bad on
2860
# some platforms.
2861
# Always define AMTAR for backward compatibility.
2862
 
2863
AMTAR=${AMTAR-"${am_missing_run}tar"}
2864
 
2865
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2866
 
2867
 
2868
 
2869
 
2870
 
2871
 
2872
# FIXME: We temporarily define our own version of AC_PROG_CC.  This is
2873
# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
2874
# are probably using a cross compiler, which will not be able to fully
2875
# link an executable.  This should really be fixed in autoconf
2876
# itself.
2877
 
2878
 
2879
 
2880
 
2881
 
2882
 
2883
 
2884
# Extract the first word of "gcc", so it can be a program name with args.
2885
set dummy gcc; ac_word=$2
2886
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2887
$as_echo_n "checking for $ac_word... " >&6; }
2888
if test "${ac_cv_prog_CC+set}" = set; then
2889
  $as_echo_n "(cached) " >&6
2890
else
2891
  if test -n "$CC"; then
2892
  ac_cv_prog_CC="$CC" # Let the user override the test.
2893
else
2894
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895
for as_dir in $PATH
2896
do
2897
  IFS=$as_save_IFS
2898
  test -z "$as_dir" && as_dir=.
2899
  for ac_exec_ext in '' $ac_executable_extensions; do
2900
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901
    ac_cv_prog_CC="gcc"
2902
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2903
    break 2
2904
  fi
2905
done
2906
done
2907
IFS=$as_save_IFS
2908
 
2909
fi
2910
fi
2911
CC=$ac_cv_prog_CC
2912
if test -n "$CC"; then
2913
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2914
$as_echo "$CC" >&6; }
2915
else
2916
  { $as_echo "$as_me:$LINENO: result: no" >&5
2917
$as_echo "no" >&6; }
2918
fi
2919
 
2920
 
2921
 
2922
depcc="$CC"   am_compiler_list=
2923
 
2924
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2925
$as_echo_n "checking dependency style of $depcc... " >&6; }
2926
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2927
  $as_echo_n "(cached) " >&6
2928
else
2929
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2930
  # We make a subdir and do the tests there.  Otherwise we can end up
2931
  # making bogus files that we don't know about and never remove.  For
2932
  # instance it was reported that on HP-UX the gcc test will end up
2933
  # making a dummy file named `D' -- because `-MD' means `put the output
2934
  # in D'.
2935
  mkdir conftest.dir
2936
  # Copy depcomp to subdir because otherwise we won't find it if we're
2937
  # using a relative directory.
2938
  cp "$am_depcomp" conftest.dir
2939
  cd conftest.dir
2940
  # We will build objects and dependencies in a subdirectory because
2941
  # it helps to detect inapplicable dependency modes.  For instance
2942
  # both Tru64's cc and ICC support -MD to output dependencies as a
2943
  # side effect of compilation, but ICC will put the dependencies in
2944
  # the current directory while Tru64 will put them in the object
2945
  # directory.
2946
  mkdir sub
2947
 
2948
  am_cv_CC_dependencies_compiler_type=none
2949
  if test "$am_compiler_list" = ""; then
2950
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2951
  fi
2952
  am__universal=false
2953
  case " $depcc " in #(
2954
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
2955
     esac
2956
 
2957
  for depmode in $am_compiler_list; do
2958
    # Setup a source with many dependencies, because some compilers
2959
    # like to wrap large dependency lists on column 80 (with \), and
2960
    # we should not choose a depcomp mode which is confused by this.
2961
    #
2962
    # We need to recreate these files for each test, as the compiler may
2963
    # overwrite some of them when testing with obscure command lines.
2964
    # This happens at least with the AIX C compiler.
2965
    : > sub/conftest.c
2966
    for i in 1 2 3 4 5 6; do
2967
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2968
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2969
      # Solaris 8's {/usr,}/bin/sh.
2970
      touch sub/conftst$i.h
2971
    done
2972
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2973
 
2974
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2975
    # mode.  It turns out that the SunPro C++ compiler does not properly
2976
    # handle `-M -o', and we need to detect this.  Also, some Intel
2977
    # versions had trouble with output in subdirs
2978
    am__obj=sub/conftest.${OBJEXT-o}
2979
    am__minus_obj="-o $am__obj"
2980
    case $depmode in
2981
    gcc)
2982
      # This depmode causes a compiler race in universal mode.
2983
      test "$am__universal" = false || continue
2984
      ;;
2985
    nosideeffect)
2986
      # after this tag, mechanisms are not by side-effect, so they'll
2987
      # only be used when explicitly requested
2988
      if test "x$enable_dependency_tracking" = xyes; then
2989
        continue
2990
      else
2991
        break
2992
      fi
2993
      ;;
2994
    msvisualcpp | msvcmsys)
2995
      # This compiler won't grok `-c -o', but also, the minuso test has
2996
      # not run yet.  These depmodes are late enough in the game, and
2997
      # so weak that their functioning should not be impacted.
2998
      am__obj=conftest.${OBJEXT-o}
2999
      am__minus_obj=
3000
      ;;
3001
    none) break ;;
3002
    esac
3003
    if depmode=$depmode \
3004
       source=sub/conftest.c object=$am__obj \
3005
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3006
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3007
         >/dev/null 2>conftest.err &&
3008
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3009
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3010
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3011
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3012
      # icc doesn't choke on unknown options, it will just issue warnings
3013
      # or remarks (even with -Werror).  So we grep stderr for any message
3014
      # that says an option was ignored or not supported.
3015
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3016
      #   icc: Command line warning: ignoring option '-M'; no argument required
3017
      # The diagnosis changed in icc 8.0:
3018
      #   icc: Command line remark: option '-MP' not supported
3019
      if (grep 'ignoring option' conftest.err ||
3020
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3021
        am_cv_CC_dependencies_compiler_type=$depmode
3022
        break
3023
      fi
3024
    fi
3025
  done
3026
 
3027
  cd ..
3028
  rm -rf conftest.dir
3029
else
3030
  am_cv_CC_dependencies_compiler_type=none
3031
fi
3032
 
3033
fi
3034
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3035
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3036
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3037
 
3038
 if
3039
  test "x$enable_dependency_tracking" != xno \
3040
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3041
  am__fastdepCC_TRUE=
3042
  am__fastdepCC_FALSE='#'
3043
else
3044
  am__fastdepCC_TRUE='#'
3045
  am__fastdepCC_FALSE=
3046
fi
3047
 
3048
 
3049
if test -z "$CC"; then
3050
  # Extract the first word of "cc", so it can be a program name with args.
3051
set dummy cc; ac_word=$2
3052
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3053
$as_echo_n "checking for $ac_word... " >&6; }
3054
if test "${ac_cv_prog_CC+set}" = set; then
3055
  $as_echo_n "(cached) " >&6
3056
else
3057
  if test -n "$CC"; then
3058
  ac_cv_prog_CC="$CC" # Let the user override the test.
3059
else
3060
  ac_prog_rejected=no
3061
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3062
for as_dir in $PATH
3063
do
3064
  IFS=$as_save_IFS
3065
  test -z "$as_dir" && as_dir=.
3066
  for ac_exec_ext in '' $ac_executable_extensions; do
3067
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3068
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3069
       ac_prog_rejected=yes
3070
       continue
3071
     fi
3072
    ac_cv_prog_CC="cc"
3073
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3074
    break 2
3075
  fi
3076
done
3077
done
3078
IFS=$as_save_IFS
3079
 
3080
if test $ac_prog_rejected = yes; then
3081
  # We found a bogon in the path, so make sure we never use it.
3082
  set dummy $ac_cv_prog_CC
3083
  shift
3084
  if test $# != 0; then
3085
    # We chose a different compiler from the bogus one.
3086
    # However, it has the same basename, so the bogon will be chosen
3087
    # first if we set CC to just the basename; use the full file name.
3088
    shift
3089
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3090
  fi
3091
fi
3092
fi
3093
fi
3094
CC=$ac_cv_prog_CC
3095
if test -n "$CC"; then
3096
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3097
$as_echo "$CC" >&6; }
3098
else
3099
  { $as_echo "$as_me:$LINENO: result: no" >&5
3100
$as_echo "no" >&6; }
3101
fi
3102
 
3103
 
3104
  test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
3105
$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
3106
   { (exit 1); exit 1; }; }
3107
fi
3108
 
3109
{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
3110
$as_echo_n "checking whether we are using GNU C... " >&6; }
3111
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3112
  $as_echo_n "(cached) " >&6
3113
else
3114
  cat > conftest.c <
3115
#ifdef __GNUC__
3116
  yes;
3117
#endif
3118
EOF
3119
if { ac_try='${CC-cc} -E conftest.c'
3120
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121
  (eval $ac_try) 2>&5
3122
  ac_status=$?
3123
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124
  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
3125
  ac_cv_c_compiler_gnu=yes
3126
else
3127
  ac_cv_c_compiler_gnu=no
3128
fi
3129
fi
3130
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3131
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3132
 
3133
if test $ac_cv_c_compiler_gnu = yes; then
3134
  GCC=yes
3135
  ac_test_CFLAGS="${CFLAGS+set}"
3136
  ac_save_CFLAGS="$CFLAGS"
3137
  ac_test_CFLAGS=${CFLAGS+set}
3138
ac_save_CFLAGS=$CFLAGS
3139
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3140
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3141
if test "${ac_cv_prog_cc_g+set}" = set; then
3142
  $as_echo_n "(cached) " >&6
3143
else
3144
  ac_save_c_werror_flag=$ac_c_werror_flag
3145
   ac_c_werror_flag=yes
3146
   ac_cv_prog_cc_g=no
3147
   CFLAGS="-g"
3148
   cat >conftest.$ac_ext <<_ACEOF
3149
/* confdefs.h.  */
3150
_ACEOF
3151
cat confdefs.h >>conftest.$ac_ext
3152
cat >>conftest.$ac_ext <<_ACEOF
3153
/* end confdefs.h.  */
3154
 
3155
int
3156
main ()
3157
{
3158
 
3159
  ;
3160
  return 0;
3161
}
3162
_ACEOF
3163
rm -f conftest.$ac_objext
3164
if { (ac_try="$ac_compile"
3165
case "(($ac_try" in
3166
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167
  *) ac_try_echo=$ac_try;;
3168
esac
3169
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3170
$as_echo "$ac_try_echo") >&5
3171
  (eval "$ac_compile") 2>conftest.er1
3172
  ac_status=$?
3173
  grep -v '^ *+' conftest.er1 >conftest.err
3174
  rm -f conftest.er1
3175
  cat conftest.err >&5
3176
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177
  (exit $ac_status); } && {
3178
         test -z "$ac_c_werror_flag" ||
3179
         test ! -s conftest.err
3180
       } && test -s conftest.$ac_objext; then
3181
  ac_cv_prog_cc_g=yes
3182
else
3183
  $as_echo "$as_me: failed program was:" >&5
3184
sed 's/^/| /' conftest.$ac_ext >&5
3185
 
3186
        CFLAGS=""
3187
      cat >conftest.$ac_ext <<_ACEOF
3188
/* confdefs.h.  */
3189
_ACEOF
3190
cat confdefs.h >>conftest.$ac_ext
3191
cat >>conftest.$ac_ext <<_ACEOF
3192
/* end confdefs.h.  */
3193
 
3194
int
3195
main ()
3196
{
3197
 
3198
  ;
3199
  return 0;
3200
}
3201
_ACEOF
3202
rm -f conftest.$ac_objext
3203
if { (ac_try="$ac_compile"
3204
case "(($ac_try" in
3205
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206
  *) ac_try_echo=$ac_try;;
3207
esac
3208
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3209
$as_echo "$ac_try_echo") >&5
3210
  (eval "$ac_compile") 2>conftest.er1
3211
  ac_status=$?
3212
  grep -v '^ *+' conftest.er1 >conftest.err
3213
  rm -f conftest.er1
3214
  cat conftest.err >&5
3215
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216
  (exit $ac_status); } && {
3217
         test -z "$ac_c_werror_flag" ||
3218
         test ! -s conftest.err
3219
       } && test -s conftest.$ac_objext; then
3220
  :
3221
else
3222
  $as_echo "$as_me: failed program was:" >&5
3223
sed 's/^/| /' conftest.$ac_ext >&5
3224
 
3225
        ac_c_werror_flag=$ac_save_c_werror_flag
3226
         CFLAGS="-g"
3227
         cat >conftest.$ac_ext <<_ACEOF
3228
/* confdefs.h.  */
3229
_ACEOF
3230
cat confdefs.h >>conftest.$ac_ext
3231
cat >>conftest.$ac_ext <<_ACEOF
3232
/* end confdefs.h.  */
3233
 
3234
int
3235
main ()
3236
{
3237
 
3238
  ;
3239
  return 0;
3240
}
3241
_ACEOF
3242
rm -f conftest.$ac_objext
3243
if { (ac_try="$ac_compile"
3244
case "(($ac_try" in
3245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246
  *) ac_try_echo=$ac_try;;
3247
esac
3248
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3249
$as_echo "$ac_try_echo") >&5
3250
  (eval "$ac_compile") 2>conftest.er1
3251
  ac_status=$?
3252
  grep -v '^ *+' conftest.er1 >conftest.err
3253
  rm -f conftest.er1
3254
  cat conftest.err >&5
3255
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256
  (exit $ac_status); } && {
3257
         test -z "$ac_c_werror_flag" ||
3258
         test ! -s conftest.err
3259
       } && test -s conftest.$ac_objext; then
3260
  ac_cv_prog_cc_g=yes
3261
else
3262
  $as_echo "$as_me: failed program was:" >&5
3263
sed 's/^/| /' conftest.$ac_ext >&5
3264
 
3265
 
3266
fi
3267
 
3268
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3269
fi
3270
 
3271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3272
fi
3273
 
3274
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3275
   ac_c_werror_flag=$ac_save_c_werror_flag
3276
fi
3277
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3278
$as_echo "$ac_cv_prog_cc_g" >&6; }
3279
if test "$ac_test_CFLAGS" = set; then
3280
  CFLAGS=$ac_save_CFLAGS
3281
elif test $ac_cv_prog_cc_g = yes; then
3282
  if test "$GCC" = yes; then
3283
    CFLAGS="-g -O2"
3284
  else
3285
    CFLAGS="-g"
3286
  fi
3287
else
3288
  if test "$GCC" = yes; then
3289
    CFLAGS="-O2"
3290
  else
3291
    CFLAGS=
3292
  fi
3293
fi
3294
  if test "$ac_test_CFLAGS" = set; then
3295
    CFLAGS="$ac_save_CFLAGS"
3296
  elif test $ac_cv_prog_cc_g = yes; then
3297
    CFLAGS="-g -O2"
3298
  else
3299
    CFLAGS="-O2"
3300
  fi
3301
else
3302
  GCC=
3303
  test "${CFLAGS+set}" = set || CFLAGS="-g"
3304
fi
3305
 
3306
 
3307
if test -n "$ac_tool_prefix"; then
3308
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3309
set dummy ${ac_tool_prefix}as; ac_word=$2
3310
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3311
$as_echo_n "checking for $ac_word... " >&6; }
3312
if test "${ac_cv_prog_AS+set}" = set; then
3313
  $as_echo_n "(cached) " >&6
3314
else
3315
  if test -n "$AS"; then
3316
  ac_cv_prog_AS="$AS" # Let the user override the test.
3317
else
3318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3319
for as_dir in $PATH
3320
do
3321
  IFS=$as_save_IFS
3322
  test -z "$as_dir" && as_dir=.
3323
  for ac_exec_ext in '' $ac_executable_extensions; do
3324
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3325
    ac_cv_prog_AS="${ac_tool_prefix}as"
3326
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3327
    break 2
3328
  fi
3329
done
3330
done
3331
IFS=$as_save_IFS
3332
 
3333
fi
3334
fi
3335
AS=$ac_cv_prog_AS
3336
if test -n "$AS"; then
3337
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
3338
$as_echo "$AS" >&6; }
3339
else
3340
  { $as_echo "$as_me:$LINENO: result: no" >&5
3341
$as_echo "no" >&6; }
3342
fi
3343
 
3344
 
3345
fi
3346
if test -z "$ac_cv_prog_AS"; then
3347
  ac_ct_AS=$AS
3348
  # Extract the first word of "as", so it can be a program name with args.
3349
set dummy as; ac_word=$2
3350
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3351
$as_echo_n "checking for $ac_word... " >&6; }
3352
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3353
  $as_echo_n "(cached) " >&6
3354
else
3355
  if test -n "$ac_ct_AS"; then
3356
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3357
else
3358
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359
for as_dir in $PATH
3360
do
3361
  IFS=$as_save_IFS
3362
  test -z "$as_dir" && as_dir=.
3363
  for ac_exec_ext in '' $ac_executable_extensions; do
3364
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3365
    ac_cv_prog_ac_ct_AS="as"
3366
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3367
    break 2
3368
  fi
3369
done
3370
done
3371
IFS=$as_save_IFS
3372
 
3373
fi
3374
fi
3375
ac_ct_AS=$ac_cv_prog_ac_ct_AS
3376
if test -n "$ac_ct_AS"; then
3377
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3378
$as_echo "$ac_ct_AS" >&6; }
3379
else
3380
  { $as_echo "$as_me:$LINENO: result: no" >&5
3381
$as_echo "no" >&6; }
3382
fi
3383
 
3384
  if test "x$ac_ct_AS" = x; then
3385
    AS=""
3386
  else
3387
    case $cross_compiling:$ac_tool_warned in
3388
yes:)
3389
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3390
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3391
ac_tool_warned=yes ;;
3392
esac
3393
    AS=$ac_ct_AS
3394
  fi
3395
else
3396
  AS="$ac_cv_prog_AS"
3397
fi
3398
 
3399
if test -n "$ac_tool_prefix"; then
3400
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3401
set dummy ${ac_tool_prefix}ar; ac_word=$2
3402
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3403
$as_echo_n "checking for $ac_word... " >&6; }
3404
if test "${ac_cv_prog_AR+set}" = set; then
3405
  $as_echo_n "(cached) " >&6
3406
else
3407
  if test -n "$AR"; then
3408
  ac_cv_prog_AR="$AR" # Let the user override the test.
3409
else
3410
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411
for as_dir in $PATH
3412
do
3413
  IFS=$as_save_IFS
3414
  test -z "$as_dir" && as_dir=.
3415
  for ac_exec_ext in '' $ac_executable_extensions; do
3416
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3417
    ac_cv_prog_AR="${ac_tool_prefix}ar"
3418
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3419
    break 2
3420
  fi
3421
done
3422
done
3423
IFS=$as_save_IFS
3424
 
3425
fi
3426
fi
3427
AR=$ac_cv_prog_AR
3428
if test -n "$AR"; then
3429
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
3430
$as_echo "$AR" >&6; }
3431
else
3432
  { $as_echo "$as_me:$LINENO: result: no" >&5
3433
$as_echo "no" >&6; }
3434
fi
3435
 
3436
 
3437
fi
3438
if test -z "$ac_cv_prog_AR"; then
3439
  ac_ct_AR=$AR
3440
  # Extract the first word of "ar", so it can be a program name with args.
3441
set dummy ar; ac_word=$2
3442
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3443
$as_echo_n "checking for $ac_word... " >&6; }
3444
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3445
  $as_echo_n "(cached) " >&6
3446
else
3447
  if test -n "$ac_ct_AR"; then
3448
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3449
else
3450
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451
for as_dir in $PATH
3452
do
3453
  IFS=$as_save_IFS
3454
  test -z "$as_dir" && as_dir=.
3455
  for ac_exec_ext in '' $ac_executable_extensions; do
3456
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3457
    ac_cv_prog_ac_ct_AR="ar"
3458
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3459
    break 2
3460
  fi
3461
done
3462
done
3463
IFS=$as_save_IFS
3464
 
3465
fi
3466
fi
3467
ac_ct_AR=$ac_cv_prog_ac_ct_AR
3468
if test -n "$ac_ct_AR"; then
3469
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3470
$as_echo "$ac_ct_AR" >&6; }
3471
else
3472
  { $as_echo "$as_me:$LINENO: result: no" >&5
3473
$as_echo "no" >&6; }
3474
fi
3475
 
3476
  if test "x$ac_ct_AR" = x; then
3477
    AR=""
3478
  else
3479
    case $cross_compiling:$ac_tool_warned in
3480
yes:)
3481
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3482
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3483
ac_tool_warned=yes ;;
3484
esac
3485
    AR=$ac_ct_AR
3486
  fi
3487
else
3488
  AR="$ac_cv_prog_AR"
3489
fi
3490
 
3491
if test -n "$ac_tool_prefix"; then
3492
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3493
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3494
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3495
$as_echo_n "checking for $ac_word... " >&6; }
3496
if test "${ac_cv_prog_RANLIB+set}" = set; then
3497
  $as_echo_n "(cached) " >&6
3498
else
3499
  if test -n "$RANLIB"; then
3500
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3501
else
3502
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503
for as_dir in $PATH
3504
do
3505
  IFS=$as_save_IFS
3506
  test -z "$as_dir" && as_dir=.
3507
  for ac_exec_ext in '' $ac_executable_extensions; do
3508
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3509
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3510
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3511
    break 2
3512
  fi
3513
done
3514
done
3515
IFS=$as_save_IFS
3516
 
3517
fi
3518
fi
3519
RANLIB=$ac_cv_prog_RANLIB
3520
if test -n "$RANLIB"; then
3521
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3522
$as_echo "$RANLIB" >&6; }
3523
else
3524
  { $as_echo "$as_me:$LINENO: result: no" >&5
3525
$as_echo "no" >&6; }
3526
fi
3527
 
3528
 
3529
fi
3530
if test -z "$ac_cv_prog_RANLIB"; then
3531
  ac_ct_RANLIB=$RANLIB
3532
  # Extract the first word of "ranlib", so it can be a program name with args.
3533
set dummy ranlib; ac_word=$2
3534
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3535
$as_echo_n "checking for $ac_word... " >&6; }
3536
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3537
  $as_echo_n "(cached) " >&6
3538
else
3539
  if test -n "$ac_ct_RANLIB"; then
3540
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3541
else
3542
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543
for as_dir in $PATH
3544
do
3545
  IFS=$as_save_IFS
3546
  test -z "$as_dir" && as_dir=.
3547
  for ac_exec_ext in '' $ac_executable_extensions; do
3548
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3549
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3550
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3551
    break 2
3552
  fi
3553
done
3554
done
3555
IFS=$as_save_IFS
3556
 
3557
fi
3558
fi
3559
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3560
if test -n "$ac_ct_RANLIB"; then
3561
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3562
$as_echo "$ac_ct_RANLIB" >&6; }
3563
else
3564
  { $as_echo "$as_me:$LINENO: result: no" >&5
3565
$as_echo "no" >&6; }
3566
fi
3567
 
3568
  if test "x$ac_ct_RANLIB" = x; then
3569
    RANLIB=":"
3570
  else
3571
    case $cross_compiling:$ac_tool_warned in
3572
yes:)
3573
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3574
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3575
ac_tool_warned=yes ;;
3576
esac
3577
    RANLIB=$ac_ct_RANLIB
3578
  fi
3579
else
3580
  RANLIB="$ac_cv_prog_RANLIB"
3581
fi
3582
 
3583
if test -n "$ac_tool_prefix"; then
3584
  # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3585
set dummy ${ac_tool_prefix}readelf; ac_word=$2
3586
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3587
$as_echo_n "checking for $ac_word... " >&6; }
3588
if test "${ac_cv_prog_READELF+set}" = set; then
3589
  $as_echo_n "(cached) " >&6
3590
else
3591
  if test -n "$READELF"; then
3592
  ac_cv_prog_READELF="$READELF" # Let the user override the test.
3593
else
3594
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595
for as_dir in $PATH
3596
do
3597
  IFS=$as_save_IFS
3598
  test -z "$as_dir" && as_dir=.
3599
  for ac_exec_ext in '' $ac_executable_extensions; do
3600
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3601
    ac_cv_prog_READELF="${ac_tool_prefix}readelf"
3602
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3603
    break 2
3604
  fi
3605
done
3606
done
3607
IFS=$as_save_IFS
3608
 
3609
fi
3610
fi
3611
READELF=$ac_cv_prog_READELF
3612
if test -n "$READELF"; then
3613
  { $as_echo "$as_me:$LINENO: result: $READELF" >&5
3614
$as_echo "$READELF" >&6; }
3615
else
3616
  { $as_echo "$as_me:$LINENO: result: no" >&5
3617
$as_echo "no" >&6; }
3618
fi
3619
 
3620
 
3621
fi
3622
if test -z "$ac_cv_prog_READELF"; then
3623
  ac_ct_READELF=$READELF
3624
  # Extract the first word of "readelf", so it can be a program name with args.
3625
set dummy readelf; ac_word=$2
3626
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3627
$as_echo_n "checking for $ac_word... " >&6; }
3628
if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
3629
  $as_echo_n "(cached) " >&6
3630
else
3631
  if test -n "$ac_ct_READELF"; then
3632
  ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
3633
else
3634
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635
for as_dir in $PATH
3636
do
3637
  IFS=$as_save_IFS
3638
  test -z "$as_dir" && as_dir=.
3639
  for ac_exec_ext in '' $ac_executable_extensions; do
3640
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3641
    ac_cv_prog_ac_ct_READELF="readelf"
3642
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3643
    break 2
3644
  fi
3645
done
3646
done
3647
IFS=$as_save_IFS
3648
 
3649
fi
3650
fi
3651
ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
3652
if test -n "$ac_ct_READELF"; then
3653
  { $as_echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
3654
$as_echo "$ac_ct_READELF" >&6; }
3655
else
3656
  { $as_echo "$as_me:$LINENO: result: no" >&5
3657
$as_echo "no" >&6; }
3658
fi
3659
 
3660
  if test "x$ac_ct_READELF" = x; then
3661
    READELF=":"
3662
  else
3663
    case $cross_compiling:$ac_tool_warned in
3664
yes:)
3665
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3666
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3667
ac_tool_warned=yes ;;
3668
esac
3669
    READELF=$ac_ct_READELF
3670
  fi
3671
else
3672
  READELF="$ac_cv_prog_READELF"
3673
fi
3674
 
3675
 
3676
# Find a good install program.  We prefer a C program (faster),
3677
# so one script is as good as another.  But avoid the broken or
3678
# incompatible versions:
3679
# SysV /etc/install, /usr/sbin/install
3680
# SunOS /usr/etc/install
3681
# IRIX /sbin/install
3682
# AIX /bin/install
3683
# AmigaOS /C/install, which installs bootblocks on floppy discs
3684
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3685
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3686
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3687
# OS/2's system install, which has a completely different semantic
3688
# ./install, which can be erroneously created by make from ./install.sh.
3689
# Reject install programs that cannot install multiple files.
3690
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3691
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3692
if test -z "$INSTALL"; then
3693
if test "${ac_cv_path_install+set}" = set; then
3694
  $as_echo_n "(cached) " >&6
3695
else
3696
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697
for as_dir in $PATH
3698
do
3699
  IFS=$as_save_IFS
3700
  test -z "$as_dir" && as_dir=.
3701
  # Account for people who put trailing slashes in PATH elements.
3702
case $as_dir/ in
3703
  ./ | .// | /cC/* | \
3704
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3705
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3706
  /usr/ucb/* ) ;;
3707
  *)
3708
    # OSF1 and SCO ODT 3.0 have their own names for install.
3709
    # Don't use installbsd from OSF since it installs stuff as root
3710
    # by default.
3711
    for ac_prog in ginstall scoinst install; do
3712
      for ac_exec_ext in '' $ac_executable_extensions; do
3713
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3714
          if test $ac_prog = install &&
3715
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3716
            # AIX install.  It has an incompatible calling convention.
3717
            :
3718
          elif test $ac_prog = install &&
3719
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3720
            # program-specific install script used by HP pwplus--don't use.
3721
            :
3722
          else
3723
            rm -rf conftest.one conftest.two conftest.dir
3724
            echo one > conftest.one
3725
            echo two > conftest.two
3726
            mkdir conftest.dir
3727
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3728
              test -s conftest.one && test -s conftest.two &&
3729
              test -s conftest.dir/conftest.one &&
3730
              test -s conftest.dir/conftest.two
3731
            then
3732
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3733
              break 3
3734
            fi
3735
          fi
3736
        fi
3737
      done
3738
    done
3739
    ;;
3740
esac
3741
 
3742
done
3743
IFS=$as_save_IFS
3744
 
3745
rm -rf conftest.one conftest.two conftest.dir
3746
 
3747
fi
3748
  if test "${ac_cv_path_install+set}" = set; then
3749
    INSTALL=$ac_cv_path_install
3750
  else
3751
    # As a last resort, use the slow shell script.  Don't cache a
3752
    # value for INSTALL within a source directory, because that will
3753
    # break other packages using the cache if that directory is
3754
    # removed, or if the value is a relative name.
3755
    INSTALL=$ac_install_sh
3756
  fi
3757
fi
3758
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3759
$as_echo "$INSTALL" >&6; }
3760
 
3761
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3762
# It thinks the first close brace ends the variable substitution.
3763
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3764
 
3765
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3766
 
3767
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3768
 
3769
 
3770
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13.  */
3771
ac_given_INSTALL=$INSTALL
3772
 
3773
 
3774
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3775
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3776
    # Check whether --enable-maintainer-mode was given.
3777
if test "${enable_maintainer_mode+set}" = set; then
3778
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3779
else
3780
  USE_MAINTAINER_MODE=no
3781
fi
3782
 
3783
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3784
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3785
   if test $USE_MAINTAINER_MODE = yes; then
3786
  MAINTAINER_MODE_TRUE=
3787
  MAINTAINER_MODE_FALSE='#'
3788
else
3789
  MAINTAINER_MODE_TRUE='#'
3790
  MAINTAINER_MODE_FALSE=
3791
fi
3792
 
3793
  MAINT=$MAINTAINER_MODE_TRUE
3794
 
3795
 
3796
# By default we simply use the C compiler to build assembly code.
3797
 
3798
test "${CCAS+set}" = set || CCAS=$CC
3799
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3800
 
3801
 
3802
 
3803
 
3804
# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
3805
# at least currently, we never actually build a program, so we never
3806
# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
3807
# fails, because we are probably configuring with a cross compiler
3808
# which can't create executables.  So we include AC_EXEEXT to keep
3809
# automake happy, but we don't execute it, since we don't care about
3810
# the result.
3811
if false; then
3812
 
3813
  dummy_var=1
3814
fi
3815
 
3816
. ${newlib_basedir}/configure.host
3817
 
3818
newlib_cflags="${newlib_cflags} -fno-builtin"
3819
 
3820
NEWLIB_CFLAGS=${newlib_cflags}
3821
 
3822
 
3823
LDFLAGS=${ldflags}
3824
 
3825
 
3826
 if test x${newlib_elix_level} = x0; then
3827
  ELIX_LEVEL_0_TRUE=
3828
  ELIX_LEVEL_0_FALSE='#'
3829
else
3830
  ELIX_LEVEL_0_TRUE='#'
3831
  ELIX_LEVEL_0_FALSE=
3832
fi
3833
 
3834
 if test x${newlib_elix_level} = x1; then
3835
  ELIX_LEVEL_1_TRUE=
3836
  ELIX_LEVEL_1_FALSE='#'
3837
else
3838
  ELIX_LEVEL_1_TRUE='#'
3839
  ELIX_LEVEL_1_FALSE=
3840
fi
3841
 
3842
 if test x${newlib_elix_level} = x2; then
3843
  ELIX_LEVEL_2_TRUE=
3844
  ELIX_LEVEL_2_FALSE='#'
3845
else
3846
  ELIX_LEVEL_2_TRUE='#'
3847
  ELIX_LEVEL_2_FALSE=
3848
fi
3849
 
3850
 if test x${newlib_elix_level} = x3; then
3851
  ELIX_LEVEL_3_TRUE=
3852
  ELIX_LEVEL_3_FALSE='#'
3853
else
3854
  ELIX_LEVEL_3_TRUE='#'
3855
  ELIX_LEVEL_3_FALSE=
3856
fi
3857
 
3858
 if test x${newlib_elix_level} = x4; then
3859
  ELIX_LEVEL_4_TRUE=
3860
  ELIX_LEVEL_4_FALSE='#'
3861
else
3862
  ELIX_LEVEL_4_TRUE='#'
3863
  ELIX_LEVEL_4_FALSE=
3864
fi
3865
 
3866
 
3867
 if test x${use_libtool} = xyes; then
3868
  USE_LIBTOOL_TRUE=
3869
  USE_LIBTOOL_FALSE='#'
3870
else
3871
  USE_LIBTOOL_TRUE='#'
3872
  USE_LIBTOOL_FALSE=
3873
fi
3874
 
3875
 
3876
# Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
3877
# use oext, which is set in configure.host based on the target platform.
3878
OBJEXT=${oext}
3879
 
3880
 
3881
 
3882
 
3883
 
3884
 
3885
 
3886
 
3887
 
3888
 
3889
 
3890
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3891
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3892
if test "${ac_cv_path_SED+set}" = set; then
3893
  $as_echo_n "(cached) " >&6
3894
else
3895
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3896
     for ac_i in 1 2 3 4 5 6 7; do
3897
       ac_script="$ac_script$as_nl$ac_script"
3898
     done
3899
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3900
     $as_unset ac_script || ac_script=
3901
     if test -z "$SED"; then
3902
  ac_path_SED_found=false
3903
  # Loop through the user's path and test for each of PROGNAME-LIST
3904
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905
for as_dir in $PATH
3906
do
3907
  IFS=$as_save_IFS
3908
  test -z "$as_dir" && as_dir=.
3909
  for ac_prog in sed gsed; do
3910
    for ac_exec_ext in '' $ac_executable_extensions; do
3911
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3912
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3913
# Check for GNU ac_path_SED and select it if it is found.
3914
  # Check for GNU $ac_path_SED
3915
case `"$ac_path_SED" --version 2>&1` in
3916
*GNU*)
3917
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3918
*)
3919
  ac_count=0
3920
  $as_echo_n 0123456789 >"conftest.in"
3921
  while :
3922
  do
3923
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3924
    mv "conftest.tmp" "conftest.in"
3925
    cp "conftest.in" "conftest.nl"
3926
    $as_echo '' >> "conftest.nl"
3927
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3928
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3929
    ac_count=`expr $ac_count + 1`
3930
    if test $ac_count -gt ${ac_path_SED_max-0}; then
3931
      # Best one so far, save it but keep looking for a better one
3932
      ac_cv_path_SED="$ac_path_SED"
3933
      ac_path_SED_max=$ac_count
3934
    fi
3935
    # 10*(2^10) chars as input seems more than enough
3936
    test $ac_count -gt 10 && break
3937
  done
3938
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3939
esac
3940
 
3941
      $ac_path_SED_found && break 3
3942
    done
3943
  done
3944
done
3945
IFS=$as_save_IFS
3946
  if test -z "$ac_cv_path_SED"; then
3947
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3948
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3949
   { (exit 1); exit 1; }; }
3950
  fi
3951
else
3952
  ac_cv_path_SED=$SED
3953
fi
3954
 
3955
fi
3956
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3957
$as_echo "$ac_cv_path_SED" >&6; }
3958
 SED="$ac_cv_path_SED"
3959
  rm -f conftest.sed
3960
 
3961
test -z "$SED" && SED=sed
3962
Xsed="$SED -e 1s/^X//"
3963
 
3964
 
3965
 
3966
 
3967
 
3968
 
3969
 
3970
 
3971
 
3972
 
3973
 
3974
if test "${use_libtool}" = "yes"; then
3975
enable_win32_dll=yes
3976
 
3977
case $host in
3978
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3979
  if test -n "$ac_tool_prefix"; then
3980
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3981
set dummy ${ac_tool_prefix}as; ac_word=$2
3982
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3983
$as_echo_n "checking for $ac_word... " >&6; }
3984
if test "${ac_cv_prog_AS+set}" = set; then
3985
  $as_echo_n "(cached) " >&6
3986
else
3987
  if test -n "$AS"; then
3988
  ac_cv_prog_AS="$AS" # Let the user override the test.
3989
else
3990
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991
for as_dir in $PATH
3992
do
3993
  IFS=$as_save_IFS
3994
  test -z "$as_dir" && as_dir=.
3995
  for ac_exec_ext in '' $ac_executable_extensions; do
3996
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3997
    ac_cv_prog_AS="${ac_tool_prefix}as"
3998
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999
    break 2
4000
  fi
4001
done
4002
done
4003
IFS=$as_save_IFS
4004
 
4005
fi
4006
fi
4007
AS=$ac_cv_prog_AS
4008
if test -n "$AS"; then
4009
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
4010
$as_echo "$AS" >&6; }
4011
else
4012
  { $as_echo "$as_me:$LINENO: result: no" >&5
4013
$as_echo "no" >&6; }
4014
fi
4015
 
4016
 
4017
fi
4018
if test -z "$ac_cv_prog_AS"; then
4019
  ac_ct_AS=$AS
4020
  # Extract the first word of "as", so it can be a program name with args.
4021
set dummy as; ac_word=$2
4022
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4023
$as_echo_n "checking for $ac_word... " >&6; }
4024
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4025
  $as_echo_n "(cached) " >&6
4026
else
4027
  if test -n "$ac_ct_AS"; then
4028
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4029
else
4030
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031
for as_dir in $PATH
4032
do
4033
  IFS=$as_save_IFS
4034
  test -z "$as_dir" && as_dir=.
4035
  for ac_exec_ext in '' $ac_executable_extensions; do
4036
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4037
    ac_cv_prog_ac_ct_AS="as"
4038
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4039
    break 2
4040
  fi
4041
done
4042
done
4043
IFS=$as_save_IFS
4044
 
4045
fi
4046
fi
4047
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4048
if test -n "$ac_ct_AS"; then
4049
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4050
$as_echo "$ac_ct_AS" >&6; }
4051
else
4052
  { $as_echo "$as_me:$LINENO: result: no" >&5
4053
$as_echo "no" >&6; }
4054
fi
4055
 
4056
  if test "x$ac_ct_AS" = x; then
4057
    AS="false"
4058
  else
4059
    case $cross_compiling:$ac_tool_warned in
4060
yes:)
4061
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4062
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4063
ac_tool_warned=yes ;;
4064
esac
4065
    AS=$ac_ct_AS
4066
  fi
4067
else
4068
  AS="$ac_cv_prog_AS"
4069
fi
4070
 
4071
  if test -n "$ac_tool_prefix"; then
4072
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4073
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4074
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4075
$as_echo_n "checking for $ac_word... " >&6; }
4076
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4077
  $as_echo_n "(cached) " >&6
4078
else
4079
  if test -n "$DLLTOOL"; then
4080
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4081
else
4082
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4083
for as_dir in $PATH
4084
do
4085
  IFS=$as_save_IFS
4086
  test -z "$as_dir" && as_dir=.
4087
  for ac_exec_ext in '' $ac_executable_extensions; do
4088
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4089
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4090
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4091
    break 2
4092
  fi
4093
done
4094
done
4095
IFS=$as_save_IFS
4096
 
4097
fi
4098
fi
4099
DLLTOOL=$ac_cv_prog_DLLTOOL
4100
if test -n "$DLLTOOL"; then
4101
  { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4102
$as_echo "$DLLTOOL" >&6; }
4103
else
4104
  { $as_echo "$as_me:$LINENO: result: no" >&5
4105
$as_echo "no" >&6; }
4106
fi
4107
 
4108
 
4109
fi
4110
if test -z "$ac_cv_prog_DLLTOOL"; then
4111
  ac_ct_DLLTOOL=$DLLTOOL
4112
  # Extract the first word of "dlltool", so it can be a program name with args.
4113
set dummy dlltool; ac_word=$2
4114
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4115
$as_echo_n "checking for $ac_word... " >&6; }
4116
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4117
  $as_echo_n "(cached) " >&6
4118
else
4119
  if test -n "$ac_ct_DLLTOOL"; then
4120
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4121
else
4122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123
for as_dir in $PATH
4124
do
4125
  IFS=$as_save_IFS
4126
  test -z "$as_dir" && as_dir=.
4127
  for ac_exec_ext in '' $ac_executable_extensions; do
4128
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4129
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4130
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4131
    break 2
4132
  fi
4133
done
4134
done
4135
IFS=$as_save_IFS
4136
 
4137
fi
4138
fi
4139
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4140
if test -n "$ac_ct_DLLTOOL"; then
4141
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4142
$as_echo "$ac_ct_DLLTOOL" >&6; }
4143
else
4144
  { $as_echo "$as_me:$LINENO: result: no" >&5
4145
$as_echo "no" >&6; }
4146
fi
4147
 
4148
  if test "x$ac_ct_DLLTOOL" = x; then
4149
    DLLTOOL="false"
4150
  else
4151
    case $cross_compiling:$ac_tool_warned in
4152
yes:)
4153
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4154
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4155
ac_tool_warned=yes ;;
4156
esac
4157
    DLLTOOL=$ac_ct_DLLTOOL
4158
  fi
4159
else
4160
  DLLTOOL="$ac_cv_prog_DLLTOOL"
4161
fi
4162
 
4163
  if test -n "$ac_tool_prefix"; then
4164
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4165
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4166
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4167
$as_echo_n "checking for $ac_word... " >&6; }
4168
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4169
  $as_echo_n "(cached) " >&6
4170
else
4171
  if test -n "$OBJDUMP"; then
4172
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4173
else
4174
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4175
for as_dir in $PATH
4176
do
4177
  IFS=$as_save_IFS
4178
  test -z "$as_dir" && as_dir=.
4179
  for ac_exec_ext in '' $ac_executable_extensions; do
4180
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4181
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4182
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4183
    break 2
4184
  fi
4185
done
4186
done
4187
IFS=$as_save_IFS
4188
 
4189
fi
4190
fi
4191
OBJDUMP=$ac_cv_prog_OBJDUMP
4192
if test -n "$OBJDUMP"; then
4193
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4194
$as_echo "$OBJDUMP" >&6; }
4195
else
4196
  { $as_echo "$as_me:$LINENO: result: no" >&5
4197
$as_echo "no" >&6; }
4198
fi
4199
 
4200
 
4201
fi
4202
if test -z "$ac_cv_prog_OBJDUMP"; then
4203
  ac_ct_OBJDUMP=$OBJDUMP
4204
  # Extract the first word of "objdump", so it can be a program name with args.
4205
set dummy objdump; ac_word=$2
4206
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4207
$as_echo_n "checking for $ac_word... " >&6; }
4208
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4209
  $as_echo_n "(cached) " >&6
4210
else
4211
  if test -n "$ac_ct_OBJDUMP"; then
4212
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4213
else
4214
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215
for as_dir in $PATH
4216
do
4217
  IFS=$as_save_IFS
4218
  test -z "$as_dir" && as_dir=.
4219
  for ac_exec_ext in '' $ac_executable_extensions; do
4220
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4221
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4222
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4223
    break 2
4224
  fi
4225
done
4226
done
4227
IFS=$as_save_IFS
4228
 
4229
fi
4230
fi
4231
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4232
if test -n "$ac_ct_OBJDUMP"; then
4233
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4234
$as_echo "$ac_ct_OBJDUMP" >&6; }
4235
else
4236
  { $as_echo "$as_me:$LINENO: result: no" >&5
4237
$as_echo "no" >&6; }
4238
fi
4239
 
4240
  if test "x$ac_ct_OBJDUMP" = x; then
4241
    OBJDUMP="false"
4242
  else
4243
    case $cross_compiling:$ac_tool_warned in
4244
yes:)
4245
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4246
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4247
ac_tool_warned=yes ;;
4248
esac
4249
    OBJDUMP=$ac_ct_OBJDUMP
4250
  fi
4251
else
4252
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4253
fi
4254
 
4255
  ;;
4256
esac
4257
 
4258
test -z "$AS" && AS=as
4259
 
4260
 
4261
 
4262
 
4263
 
4264
test -z "$DLLTOOL" && DLLTOOL=dlltool
4265
 
4266
 
4267
 
4268
 
4269
 
4270
test -z "$OBJDUMP" && OBJDUMP=objdump
4271
 
4272
 
4273
 
4274
 
4275
 
4276
 
4277
 
4278
case `pwd` in
4279
  *\ * | *\     *)
4280
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4281
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4282
esac
4283
 
4284
 
4285
 
4286
macro_version='2.2.6'
4287
macro_revision='1.3012'
4288
 
4289
 
4290
 
4291
 
4292
 
4293
 
4294
 
4295
 
4296
 
4297
 
4298
 
4299
 
4300
 
4301
ltmain="$ac_aux_dir/ltmain.sh"
4302
 
4303
ac_ext=c
4304
ac_cpp='$CPP $CPPFLAGS'
4305
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4306
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4307
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4308
if test -n "$ac_tool_prefix"; then
4309
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4310
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4311
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4312
$as_echo_n "checking for $ac_word... " >&6; }
4313
if test "${ac_cv_prog_CC+set}" = set; then
4314
  $as_echo_n "(cached) " >&6
4315
else
4316
  if test -n "$CC"; then
4317
  ac_cv_prog_CC="$CC" # Let the user override the test.
4318
else
4319
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4320
for as_dir in $PATH
4321
do
4322
  IFS=$as_save_IFS
4323
  test -z "$as_dir" && as_dir=.
4324
  for ac_exec_ext in '' $ac_executable_extensions; do
4325
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4326
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4327
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4328
    break 2
4329
  fi
4330
done
4331
done
4332
IFS=$as_save_IFS
4333
 
4334
fi
4335
fi
4336
CC=$ac_cv_prog_CC
4337
if test -n "$CC"; then
4338
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4339
$as_echo "$CC" >&6; }
4340
else
4341
  { $as_echo "$as_me:$LINENO: result: no" >&5
4342
$as_echo "no" >&6; }
4343
fi
4344
 
4345
 
4346
fi
4347
if test -z "$ac_cv_prog_CC"; then
4348
  ac_ct_CC=$CC
4349
  # Extract the first word of "gcc", so it can be a program name with args.
4350
set dummy gcc; ac_word=$2
4351
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4352
$as_echo_n "checking for $ac_word... " >&6; }
4353
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4354
  $as_echo_n "(cached) " >&6
4355
else
4356
  if test -n "$ac_ct_CC"; then
4357
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4358
else
4359
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360
for as_dir in $PATH
4361
do
4362
  IFS=$as_save_IFS
4363
  test -z "$as_dir" && as_dir=.
4364
  for ac_exec_ext in '' $ac_executable_extensions; do
4365
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4366
    ac_cv_prog_ac_ct_CC="gcc"
4367
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4368
    break 2
4369
  fi
4370
done
4371
done
4372
IFS=$as_save_IFS
4373
 
4374
fi
4375
fi
4376
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4377
if test -n "$ac_ct_CC"; then
4378
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4379
$as_echo "$ac_ct_CC" >&6; }
4380
else
4381
  { $as_echo "$as_me:$LINENO: result: no" >&5
4382
$as_echo "no" >&6; }
4383
fi
4384
 
4385
  if test "x$ac_ct_CC" = x; then
4386
    CC=""
4387
  else
4388
    case $cross_compiling:$ac_tool_warned in
4389
yes:)
4390
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4391
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4392
ac_tool_warned=yes ;;
4393
esac
4394
    CC=$ac_ct_CC
4395
  fi
4396
else
4397
  CC="$ac_cv_prog_CC"
4398
fi
4399
 
4400
if test -z "$CC"; then
4401
          if test -n "$ac_tool_prefix"; then
4402
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4403
set dummy ${ac_tool_prefix}cc; ac_word=$2
4404
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4405
$as_echo_n "checking for $ac_word... " >&6; }
4406
if test "${ac_cv_prog_CC+set}" = set; then
4407
  $as_echo_n "(cached) " >&6
4408
else
4409
  if test -n "$CC"; then
4410
  ac_cv_prog_CC="$CC" # Let the user override the test.
4411
else
4412
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413
for as_dir in $PATH
4414
do
4415
  IFS=$as_save_IFS
4416
  test -z "$as_dir" && as_dir=.
4417
  for ac_exec_ext in '' $ac_executable_extensions; do
4418
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4419
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4420
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4421
    break 2
4422
  fi
4423
done
4424
done
4425
IFS=$as_save_IFS
4426
 
4427
fi
4428
fi
4429
CC=$ac_cv_prog_CC
4430
if test -n "$CC"; then
4431
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4432
$as_echo "$CC" >&6; }
4433
else
4434
  { $as_echo "$as_me:$LINENO: result: no" >&5
4435
$as_echo "no" >&6; }
4436
fi
4437
 
4438
 
4439
  fi
4440
fi
4441
if test -z "$CC"; then
4442
  # Extract the first word of "cc", so it can be a program name with args.
4443
set dummy cc; ac_word=$2
4444
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4445
$as_echo_n "checking for $ac_word... " >&6; }
4446
if test "${ac_cv_prog_CC+set}" = set; then
4447
  $as_echo_n "(cached) " >&6
4448
else
4449
  if test -n "$CC"; then
4450
  ac_cv_prog_CC="$CC" # Let the user override the test.
4451
else
4452
  ac_prog_rejected=no
4453
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454
for as_dir in $PATH
4455
do
4456
  IFS=$as_save_IFS
4457
  test -z "$as_dir" && as_dir=.
4458
  for ac_exec_ext in '' $ac_executable_extensions; do
4459
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4460
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4461
       ac_prog_rejected=yes
4462
       continue
4463
     fi
4464
    ac_cv_prog_CC="cc"
4465
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4466
    break 2
4467
  fi
4468
done
4469
done
4470
IFS=$as_save_IFS
4471
 
4472
if test $ac_prog_rejected = yes; then
4473
  # We found a bogon in the path, so make sure we never use it.
4474
  set dummy $ac_cv_prog_CC
4475
  shift
4476
  if test $# != 0; then
4477
    # We chose a different compiler from the bogus one.
4478
    # However, it has the same basename, so the bogon will be chosen
4479
    # first if we set CC to just the basename; use the full file name.
4480
    shift
4481
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4482
  fi
4483
fi
4484
fi
4485
fi
4486
CC=$ac_cv_prog_CC
4487
if test -n "$CC"; then
4488
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4489
$as_echo "$CC" >&6; }
4490
else
4491
  { $as_echo "$as_me:$LINENO: result: no" >&5
4492
$as_echo "no" >&6; }
4493
fi
4494
 
4495
 
4496
fi
4497
if test -z "$CC"; then
4498
  if test -n "$ac_tool_prefix"; then
4499
  for ac_prog in cl.exe
4500
  do
4501
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4502
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4503
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4504
$as_echo_n "checking for $ac_word... " >&6; }
4505
if test "${ac_cv_prog_CC+set}" = set; then
4506
  $as_echo_n "(cached) " >&6
4507
else
4508
  if test -n "$CC"; then
4509
  ac_cv_prog_CC="$CC" # Let the user override the test.
4510
else
4511
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4512
for as_dir in $PATH
4513
do
4514
  IFS=$as_save_IFS
4515
  test -z "$as_dir" && as_dir=.
4516
  for ac_exec_ext in '' $ac_executable_extensions; do
4517
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4518
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4519
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4520
    break 2
4521
  fi
4522
done
4523
done
4524
IFS=$as_save_IFS
4525
 
4526
fi
4527
fi
4528
CC=$ac_cv_prog_CC
4529
if test -n "$CC"; then
4530
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4531
$as_echo "$CC" >&6; }
4532
else
4533
  { $as_echo "$as_me:$LINENO: result: no" >&5
4534
$as_echo "no" >&6; }
4535
fi
4536
 
4537
 
4538
    test -n "$CC" && break
4539
  done
4540
fi
4541
if test -z "$CC"; then
4542
  ac_ct_CC=$CC
4543
  for ac_prog in cl.exe
4544
do
4545
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4546
set dummy $ac_prog; ac_word=$2
4547
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4548
$as_echo_n "checking for $ac_word... " >&6; }
4549
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4550
  $as_echo_n "(cached) " >&6
4551
else
4552
  if test -n "$ac_ct_CC"; then
4553
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4554
else
4555
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556
for as_dir in $PATH
4557
do
4558
  IFS=$as_save_IFS
4559
  test -z "$as_dir" && as_dir=.
4560
  for ac_exec_ext in '' $ac_executable_extensions; do
4561
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4562
    ac_cv_prog_ac_ct_CC="$ac_prog"
4563
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4564
    break 2
4565
  fi
4566
done
4567
done
4568
IFS=$as_save_IFS
4569
 
4570
fi
4571
fi
4572
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4573
if test -n "$ac_ct_CC"; then
4574
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4575
$as_echo "$ac_ct_CC" >&6; }
4576
else
4577
  { $as_echo "$as_me:$LINENO: result: no" >&5
4578
$as_echo "no" >&6; }
4579
fi
4580
 
4581
 
4582
  test -n "$ac_ct_CC" && break
4583
done
4584
 
4585
  if test "x$ac_ct_CC" = x; then
4586
    CC=""
4587
  else
4588
    case $cross_compiling:$ac_tool_warned in
4589
yes:)
4590
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4591
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4592
ac_tool_warned=yes ;;
4593
esac
4594
    CC=$ac_ct_CC
4595
  fi
4596
fi
4597
 
4598
fi
4599
 
4600
 
4601
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4602
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4603
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4604
See \`config.log' for more details." >&5
4605
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4606
See \`config.log' for more details." >&2;}
4607
   { (exit 1); exit 1; }; }; }
4608
 
4609
# Provide some information about the compiler.
4610
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4611
set X $ac_compile
4612
ac_compiler=$2
4613
{ (ac_try="$ac_compiler --version >&5"
4614
case "(($ac_try" in
4615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4616
  *) ac_try_echo=$ac_try;;
4617
esac
4618
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4619
$as_echo "$ac_try_echo") >&5
4620
  (eval "$ac_compiler --version >&5") 2>&5
4621
  ac_status=$?
4622
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623
  (exit $ac_status); }
4624
{ (ac_try="$ac_compiler -v >&5"
4625
case "(($ac_try" in
4626
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4627
  *) ac_try_echo=$ac_try;;
4628
esac
4629
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4630
$as_echo "$ac_try_echo") >&5
4631
  (eval "$ac_compiler -v >&5") 2>&5
4632
  ac_status=$?
4633
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634
  (exit $ac_status); }
4635
{ (ac_try="$ac_compiler -V >&5"
4636
case "(($ac_try" in
4637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4638
  *) ac_try_echo=$ac_try;;
4639
esac
4640
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4641
$as_echo "$ac_try_echo") >&5
4642
  (eval "$ac_compiler -V >&5") 2>&5
4643
  ac_status=$?
4644
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645
  (exit $ac_status); }
4646
 
4647
cat >conftest.$ac_ext <<_ACEOF
4648
/* confdefs.h.  */
4649
_ACEOF
4650
cat confdefs.h >>conftest.$ac_ext
4651
cat >>conftest.$ac_ext <<_ACEOF
4652
/* end confdefs.h.  */
4653
 
4654
int
4655
main ()
4656
{
4657
 
4658
  ;
4659
  return 0;
4660
}
4661
_ACEOF
4662
ac_clean_files_save=$ac_clean_files
4663
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4664
# Try to create an executable without -o first, disregard a.out.
4665
# It will help us diagnose broken compilers, and finding out an intuition
4666
# of exeext.
4667
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4668
$as_echo_n "checking for C compiler default output file name... " >&6; }
4669
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4670
 
4671
# The possible output files:
4672
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4673
 
4674
ac_rmfiles=
4675
for ac_file in $ac_files
4676
do
4677
  case $ac_file in
4678
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4679
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4680
  esac
4681
done
4682
rm -f $ac_rmfiles
4683
 
4684
if { (ac_try="$ac_link_default"
4685
case "(($ac_try" in
4686
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4687
  *) ac_try_echo=$ac_try;;
4688
esac
4689
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4690
$as_echo "$ac_try_echo") >&5
4691
  (eval "$ac_link_default") 2>&5
4692
  ac_status=$?
4693
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694
  (exit $ac_status); }; then
4695
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4696
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4697
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4698
# so that the user can short-circuit this test for compilers unknown to
4699
# Autoconf.
4700
for ac_file in $ac_files ''
4701
do
4702
  test -f "$ac_file" || continue
4703
  case $ac_file in
4704
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4705
        ;;
4706
    [ab].out )
4707
        # We found the default executable, but exeext='' is most
4708
        # certainly right.
4709
        break;;
4710
    *.* )
4711
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4712
        then :; else
4713
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4714
        fi
4715
        # We set ac_cv_exeext here because the later test for it is not
4716
        # safe: cross compilers may not add the suffix if given an `-o'
4717
        # argument, so we may need to know it at that point already.
4718
        # Even if this section looks crufty: it has the advantage of
4719
        # actually working.
4720
        break;;
4721
    * )
4722
        break;;
4723
  esac
4724
done
4725
test "$ac_cv_exeext" = no && ac_cv_exeext=
4726
 
4727
else
4728
  ac_file=''
4729
fi
4730
 
4731
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
4732
$as_echo "$ac_file" >&6; }
4733
if test -z "$ac_file"; then
4734
  $as_echo "$as_me: failed program was:" >&5
4735
sed 's/^/| /' conftest.$ac_ext >&5
4736
 
4737
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4738
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4739
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
4740
See \`config.log' for more details." >&5
4741
$as_echo "$as_me: error: C compiler cannot create executables
4742
See \`config.log' for more details." >&2;}
4743
   { (exit 77); exit 77; }; }; }
4744
fi
4745
 
4746
ac_exeext=$ac_cv_exeext
4747
 
4748
# Check that the compiler produces executables we can run.  If not, either
4749
# the compiler is broken, or we cross compile.
4750
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4751
$as_echo_n "checking whether the C compiler works... " >&6; }
4752
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4753
# If not cross compiling, check that we can run a simple program.
4754
if test "$cross_compiling" != yes; then
4755
  if { ac_try='./$ac_file'
4756
  { (case "(($ac_try" in
4757
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758
  *) ac_try_echo=$ac_try;;
4759
esac
4760
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4761
$as_echo "$ac_try_echo") >&5
4762
  (eval "$ac_try") 2>&5
4763
  ac_status=$?
4764
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765
  (exit $ac_status); }; }; then
4766
    cross_compiling=no
4767
  else
4768
    if test "$cross_compiling" = maybe; then
4769
        cross_compiling=yes
4770
    else
4771
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4772
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4773
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
4774
If you meant to cross compile, use \`--host'.
4775
See \`config.log' for more details." >&5
4776
$as_echo "$as_me: error: cannot run C compiled programs.
4777
If you meant to cross compile, use \`--host'.
4778
See \`config.log' for more details." >&2;}
4779
   { (exit 1); exit 1; }; }; }
4780
    fi
4781
  fi
4782
fi
4783
{ $as_echo "$as_me:$LINENO: result: yes" >&5
4784
$as_echo "yes" >&6; }
4785
 
4786
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4787
ac_clean_files=$ac_clean_files_save
4788
# Check that the compiler produces executables we can run.  If not, either
4789
# the compiler is broken, or we cross compile.
4790
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4791
$as_echo_n "checking whether we are cross compiling... " >&6; }
4792
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
4793
$as_echo "$cross_compiling" >&6; }
4794
 
4795
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
4796
$as_echo_n "checking for suffix of executables... " >&6; }
4797
if { (ac_try="$ac_link"
4798
case "(($ac_try" in
4799
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4800
  *) ac_try_echo=$ac_try;;
4801
esac
4802
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4803
$as_echo "$ac_try_echo") >&5
4804
  (eval "$ac_link") 2>&5
4805
  ac_status=$?
4806
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807
  (exit $ac_status); }; then
4808
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4809
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4810
# work properly (i.e., refer to `conftest.exe'), while it won't with
4811
# `rm'.
4812
for ac_file in conftest.exe conftest conftest.*; do
4813
  test -f "$ac_file" || continue
4814
  case $ac_file in
4815
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4816
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4817
          break;;
4818
    * ) break;;
4819
  esac
4820
done
4821
else
4822
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4823
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4824
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4825
See \`config.log' for more details." >&5
4826
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4827
See \`config.log' for more details." >&2;}
4828
   { (exit 1); exit 1; }; }; }
4829
fi
4830
 
4831
rm -f conftest$ac_cv_exeext
4832
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4833
$as_echo "$ac_cv_exeext" >&6; }
4834
 
4835
rm -f conftest.$ac_ext
4836
EXEEXT=$ac_cv_exeext
4837
ac_exeext=$EXEEXT
4838
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
4839
$as_echo_n "checking for suffix of object files... " >&6; }
4840
if test "${ac_cv_objext+set}" = set; then
4841
  $as_echo_n "(cached) " >&6
4842
else
4843
  cat >conftest.$ac_ext <<_ACEOF
4844
/* confdefs.h.  */
4845
_ACEOF
4846
cat confdefs.h >>conftest.$ac_ext
4847
cat >>conftest.$ac_ext <<_ACEOF
4848
/* end confdefs.h.  */
4849
 
4850
int
4851
main ()
4852
{
4853
 
4854
  ;
4855
  return 0;
4856
}
4857
_ACEOF
4858
rm -f conftest.o conftest.obj
4859
if { (ac_try="$ac_compile"
4860
case "(($ac_try" in
4861
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862
  *) ac_try_echo=$ac_try;;
4863
esac
4864
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4865
$as_echo "$ac_try_echo") >&5
4866
  (eval "$ac_compile") 2>&5
4867
  ac_status=$?
4868
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869
  (exit $ac_status); }; then
4870
  for ac_file in conftest.o conftest.obj conftest.*; do
4871
  test -f "$ac_file" || continue;
4872
  case $ac_file in
4873
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4874
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4875
       break;;
4876
  esac
4877
done
4878
else
4879
  $as_echo "$as_me: failed program was:" >&5
4880
sed 's/^/| /' conftest.$ac_ext >&5
4881
 
4882
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4883
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4884
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4885
See \`config.log' for more details." >&5
4886
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
4887
See \`config.log' for more details." >&2;}
4888
   { (exit 1); exit 1; }; }; }
4889
fi
4890
 
4891
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4892
fi
4893
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4894
$as_echo "$ac_cv_objext" >&6; }
4895
OBJEXT=$ac_cv_objext
4896
ac_objext=$OBJEXT
4897
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4898
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4899
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4900
  $as_echo_n "(cached) " >&6
4901
else
4902
  cat >conftest.$ac_ext <<_ACEOF
4903
/* confdefs.h.  */
4904
_ACEOF
4905
cat confdefs.h >>conftest.$ac_ext
4906
cat >>conftest.$ac_ext <<_ACEOF
4907
/* end confdefs.h.  */
4908
 
4909
int
4910
main ()
4911
{
4912
#ifndef __GNUC__
4913
       choke me
4914
#endif
4915
 
4916
  ;
4917
  return 0;
4918
}
4919
_ACEOF
4920
rm -f conftest.$ac_objext
4921
if { (ac_try="$ac_compile"
4922
case "(($ac_try" in
4923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924
  *) ac_try_echo=$ac_try;;
4925
esac
4926
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4927
$as_echo "$ac_try_echo") >&5
4928
  (eval "$ac_compile") 2>conftest.er1
4929
  ac_status=$?
4930
  grep -v '^ *+' conftest.er1 >conftest.err
4931
  rm -f conftest.er1
4932
  cat conftest.err >&5
4933
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934
  (exit $ac_status); } && {
4935
         test -z "$ac_c_werror_flag" ||
4936
         test ! -s conftest.err
4937
       } && test -s conftest.$ac_objext; then
4938
  ac_compiler_gnu=yes
4939
else
4940
  $as_echo "$as_me: failed program was:" >&5
4941
sed 's/^/| /' conftest.$ac_ext >&5
4942
 
4943
        ac_compiler_gnu=no
4944
fi
4945
 
4946
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4947
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4948
 
4949
fi
4950
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4951
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4952
if test $ac_compiler_gnu = yes; then
4953
  GCC=yes
4954
else
4955
  GCC=
4956
fi
4957
ac_test_CFLAGS=${CFLAGS+set}
4958
ac_save_CFLAGS=$CFLAGS
4959
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4960
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4961
if test "${ac_cv_prog_cc_g+set}" = set; then
4962
  $as_echo_n "(cached) " >&6
4963
else
4964
  ac_save_c_werror_flag=$ac_c_werror_flag
4965
   ac_c_werror_flag=yes
4966
   ac_cv_prog_cc_g=no
4967
   CFLAGS="-g"
4968
   cat >conftest.$ac_ext <<_ACEOF
4969
/* confdefs.h.  */
4970
_ACEOF
4971
cat confdefs.h >>conftest.$ac_ext
4972
cat >>conftest.$ac_ext <<_ACEOF
4973
/* end confdefs.h.  */
4974
 
4975
int
4976
main ()
4977
{
4978
 
4979
  ;
4980
  return 0;
4981
}
4982
_ACEOF
4983
rm -f conftest.$ac_objext
4984
if { (ac_try="$ac_compile"
4985
case "(($ac_try" in
4986
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4987
  *) ac_try_echo=$ac_try;;
4988
esac
4989
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4990
$as_echo "$ac_try_echo") >&5
4991
  (eval "$ac_compile") 2>conftest.er1
4992
  ac_status=$?
4993
  grep -v '^ *+' conftest.er1 >conftest.err
4994
  rm -f conftest.er1
4995
  cat conftest.err >&5
4996
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997
  (exit $ac_status); } && {
4998
         test -z "$ac_c_werror_flag" ||
4999
         test ! -s conftest.err
5000
       } && test -s conftest.$ac_objext; then
5001
  ac_cv_prog_cc_g=yes
5002
else
5003
  $as_echo "$as_me: failed program was:" >&5
5004
sed 's/^/| /' conftest.$ac_ext >&5
5005
 
5006
        CFLAGS=""
5007
      cat >conftest.$ac_ext <<_ACEOF
5008
/* confdefs.h.  */
5009
_ACEOF
5010
cat confdefs.h >>conftest.$ac_ext
5011
cat >>conftest.$ac_ext <<_ACEOF
5012
/* end confdefs.h.  */
5013
 
5014
int
5015
main ()
5016
{
5017
 
5018
  ;
5019
  return 0;
5020
}
5021
_ACEOF
5022
rm -f conftest.$ac_objext
5023
if { (ac_try="$ac_compile"
5024
case "(($ac_try" in
5025
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5026
  *) ac_try_echo=$ac_try;;
5027
esac
5028
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5029
$as_echo "$ac_try_echo") >&5
5030
  (eval "$ac_compile") 2>conftest.er1
5031
  ac_status=$?
5032
  grep -v '^ *+' conftest.er1 >conftest.err
5033
  rm -f conftest.er1
5034
  cat conftest.err >&5
5035
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036
  (exit $ac_status); } && {
5037
         test -z "$ac_c_werror_flag" ||
5038
         test ! -s conftest.err
5039
       } && test -s conftest.$ac_objext; then
5040
  :
5041
else
5042
  $as_echo "$as_me: failed program was:" >&5
5043
sed 's/^/| /' conftest.$ac_ext >&5
5044
 
5045
        ac_c_werror_flag=$ac_save_c_werror_flag
5046
         CFLAGS="-g"
5047
         cat >conftest.$ac_ext <<_ACEOF
5048
/* confdefs.h.  */
5049
_ACEOF
5050
cat confdefs.h >>conftest.$ac_ext
5051
cat >>conftest.$ac_ext <<_ACEOF
5052
/* end confdefs.h.  */
5053
 
5054
int
5055
main ()
5056
{
5057
 
5058
  ;
5059
  return 0;
5060
}
5061
_ACEOF
5062
rm -f conftest.$ac_objext
5063
if { (ac_try="$ac_compile"
5064
case "(($ac_try" in
5065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5066
  *) ac_try_echo=$ac_try;;
5067
esac
5068
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5069
$as_echo "$ac_try_echo") >&5
5070
  (eval "$ac_compile") 2>conftest.er1
5071
  ac_status=$?
5072
  grep -v '^ *+' conftest.er1 >conftest.err
5073
  rm -f conftest.er1
5074
  cat conftest.err >&5
5075
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076
  (exit $ac_status); } && {
5077
         test -z "$ac_c_werror_flag" ||
5078
         test ! -s conftest.err
5079
       } && test -s conftest.$ac_objext; then
5080
  ac_cv_prog_cc_g=yes
5081
else
5082
  $as_echo "$as_me: failed program was:" >&5
5083
sed 's/^/| /' conftest.$ac_ext >&5
5084
 
5085
 
5086
fi
5087
 
5088
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089
fi
5090
 
5091
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5092
fi
5093
 
5094
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5095
   ac_c_werror_flag=$ac_save_c_werror_flag
5096
fi
5097
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5098
$as_echo "$ac_cv_prog_cc_g" >&6; }
5099
if test "$ac_test_CFLAGS" = set; then
5100
  CFLAGS=$ac_save_CFLAGS
5101
elif test $ac_cv_prog_cc_g = yes; then
5102
  if test "$GCC" = yes; then
5103
    CFLAGS="-g -O2"
5104
  else
5105
    CFLAGS="-g"
5106
  fi
5107
else
5108
  if test "$GCC" = yes; then
5109
    CFLAGS="-O2"
5110
  else
5111
    CFLAGS=
5112
  fi
5113
fi
5114
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5115
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5116
if test "${ac_cv_prog_cc_c89+set}" = set; then
5117
  $as_echo_n "(cached) " >&6
5118
else
5119
  ac_cv_prog_cc_c89=no
5120
ac_save_CC=$CC
5121
cat >conftest.$ac_ext <<_ACEOF
5122
/* confdefs.h.  */
5123
_ACEOF
5124
cat confdefs.h >>conftest.$ac_ext
5125
cat >>conftest.$ac_ext <<_ACEOF
5126
/* end confdefs.h.  */
5127
#include 
5128
#include 
5129
#include 
5130
#include 
5131
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5132
struct buf { int x; };
5133
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5134
static char *e (p, i)
5135
     char **p;
5136
     int i;
5137
{
5138
  return p[i];
5139
}
5140
static char *f (char * (*g) (char **, int), char **p, ...)
5141
{
5142
  char *s;
5143
  va_list v;
5144
  va_start (v,p);
5145
  s = g (p, va_arg (v,int));
5146
  va_end (v);
5147
  return s;
5148
}
5149
 
5150
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5151
   function prototypes and stuff, but not '\xHH' hex character constants.
5152
   These don't provoke an error unfortunately, instead are silently treated
5153
   as 'x'.  The following induces an error, until -std is added to get
5154
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5155
   array size at least.  It's necessary to write '\x00'==0 to get something
5156
   that's true only with -std.  */
5157
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5158
 
5159
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5160
   inside strings and character constants.  */
5161
#define FOO(x) 'x'
5162
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5163
 
5164
int test (int i, double x);
5165
struct s1 {int (*f) (int a);};
5166
struct s2 {int (*f) (double a);};
5167
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5168
int argc;
5169
char **argv;
5170
int
5171
main ()
5172
{
5173
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5174
  ;
5175
  return 0;
5176
}
5177
_ACEOF
5178
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5179
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5180
do
5181
  CC="$ac_save_CC $ac_arg"
5182
  rm -f conftest.$ac_objext
5183
if { (ac_try="$ac_compile"
5184
case "(($ac_try" in
5185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5186
  *) ac_try_echo=$ac_try;;
5187
esac
5188
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5189
$as_echo "$ac_try_echo") >&5
5190
  (eval "$ac_compile") 2>conftest.er1
5191
  ac_status=$?
5192
  grep -v '^ *+' conftest.er1 >conftest.err
5193
  rm -f conftest.er1
5194
  cat conftest.err >&5
5195
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196
  (exit $ac_status); } && {
5197
         test -z "$ac_c_werror_flag" ||
5198
         test ! -s conftest.err
5199
       } && test -s conftest.$ac_objext; then
5200
  ac_cv_prog_cc_c89=$ac_arg
5201
else
5202
  $as_echo "$as_me: failed program was:" >&5
5203
sed 's/^/| /' conftest.$ac_ext >&5
5204
 
5205
 
5206
fi
5207
 
5208
rm -f core conftest.err conftest.$ac_objext
5209
  test "x$ac_cv_prog_cc_c89" != "xno" && break
5210
done
5211
rm -f conftest.$ac_ext
5212
CC=$ac_save_CC
5213
 
5214
fi
5215
# AC_CACHE_VAL
5216
case "x$ac_cv_prog_cc_c89" in
5217
  x)
5218
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
5219
$as_echo "none needed" >&6; } ;;
5220
  xno)
5221
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5222
$as_echo "unsupported" >&6; } ;;
5223
  *)
5224
    CC="$CC $ac_cv_prog_cc_c89"
5225
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5226
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5227
esac
5228
 
5229
 
5230
ac_ext=c
5231
ac_cpp='$CPP $CPPFLAGS'
5232
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5233
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5234
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5235
 
5236
depcc="$CC"   am_compiler_list=
5237
 
5238
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5239
$as_echo_n "checking dependency style of $depcc... " >&6; }
5240
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5241
  $as_echo_n "(cached) " >&6
5242
else
5243
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5244
  # We make a subdir and do the tests there.  Otherwise we can end up
5245
  # making bogus files that we don't know about and never remove.  For
5246
  # instance it was reported that on HP-UX the gcc test will end up
5247
  # making a dummy file named `D' -- because `-MD' means `put the output
5248
  # in D'.
5249
  mkdir conftest.dir
5250
  # Copy depcomp to subdir because otherwise we won't find it if we're
5251
  # using a relative directory.
5252
  cp "$am_depcomp" conftest.dir
5253
  cd conftest.dir
5254
  # We will build objects and dependencies in a subdirectory because
5255
  # it helps to detect inapplicable dependency modes.  For instance
5256
  # both Tru64's cc and ICC support -MD to output dependencies as a
5257
  # side effect of compilation, but ICC will put the dependencies in
5258
  # the current directory while Tru64 will put them in the object
5259
  # directory.
5260
  mkdir sub
5261
 
5262
  am_cv_CC_dependencies_compiler_type=none
5263
  if test "$am_compiler_list" = ""; then
5264
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5265
  fi
5266
  am__universal=false
5267
  case " $depcc " in #(
5268
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5269
     esac
5270
 
5271
  for depmode in $am_compiler_list; do
5272
    # Setup a source with many dependencies, because some compilers
5273
    # like to wrap large dependency lists on column 80 (with \), and
5274
    # we should not choose a depcomp mode which is confused by this.
5275
    #
5276
    # We need to recreate these files for each test, as the compiler may
5277
    # overwrite some of them when testing with obscure command lines.
5278
    # This happens at least with the AIX C compiler.
5279
    : > sub/conftest.c
5280
    for i in 1 2 3 4 5 6; do
5281
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5282
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5283
      # Solaris 8's {/usr,}/bin/sh.
5284
      touch sub/conftst$i.h
5285
    done
5286
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5287
 
5288
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5289
    # mode.  It turns out that the SunPro C++ compiler does not properly
5290
    # handle `-M -o', and we need to detect this.  Also, some Intel
5291
    # versions had trouble with output in subdirs
5292
    am__obj=sub/conftest.${OBJEXT-o}
5293
    am__minus_obj="-o $am__obj"
5294
    case $depmode in
5295
    gcc)
5296
      # This depmode causes a compiler race in universal mode.
5297
      test "$am__universal" = false || continue
5298
      ;;
5299
    nosideeffect)
5300
      # after this tag, mechanisms are not by side-effect, so they'll
5301
      # only be used when explicitly requested
5302
      if test "x$enable_dependency_tracking" = xyes; then
5303
        continue
5304
      else
5305
        break
5306
      fi
5307
      ;;
5308
    msvisualcpp | msvcmsys)
5309
      # This compiler won't grok `-c -o', but also, the minuso test has
5310
      # not run yet.  These depmodes are late enough in the game, and
5311
      # so weak that their functioning should not be impacted.
5312
      am__obj=conftest.${OBJEXT-o}
5313
      am__minus_obj=
5314
      ;;
5315
    none) break ;;
5316
    esac
5317
    if depmode=$depmode \
5318
       source=sub/conftest.c object=$am__obj \
5319
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5320
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5321
         >/dev/null 2>conftest.err &&
5322
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5323
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5324
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5325
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5326
      # icc doesn't choke on unknown options, it will just issue warnings
5327
      # or remarks (even with -Werror).  So we grep stderr for any message
5328
      # that says an option was ignored or not supported.
5329
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5330
      #   icc: Command line warning: ignoring option '-M'; no argument required
5331
      # The diagnosis changed in icc 8.0:
5332
      #   icc: Command line remark: option '-MP' not supported
5333
      if (grep 'ignoring option' conftest.err ||
5334
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5335
        am_cv_CC_dependencies_compiler_type=$depmode
5336
        break
5337
      fi
5338
    fi
5339
  done
5340
 
5341
  cd ..
5342
  rm -rf conftest.dir
5343
else
5344
  am_cv_CC_dependencies_compiler_type=none
5345
fi
5346
 
5347
fi
5348
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5349
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5350
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5351
 
5352
 if
5353
  test "x$enable_dependency_tracking" != xno \
5354
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5355
  am__fastdepCC_TRUE=
5356
  am__fastdepCC_FALSE='#'
5357
else
5358
  am__fastdepCC_TRUE='#'
5359
  am__fastdepCC_FALSE=
5360
fi
5361
 
5362
 
5363
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5364
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5365
if test "${ac_cv_path_GREP+set}" = set; then
5366
  $as_echo_n "(cached) " >&6
5367
else
5368
  if test -z "$GREP"; then
5369
  ac_path_GREP_found=false
5370
  # Loop through the user's path and test for each of PROGNAME-LIST
5371
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5373
do
5374
  IFS=$as_save_IFS
5375
  test -z "$as_dir" && as_dir=.
5376
  for ac_prog in grep ggrep; do
5377
    for ac_exec_ext in '' $ac_executable_extensions; do
5378
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5379
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5380
# Check for GNU ac_path_GREP and select it if it is found.
5381
  # Check for GNU $ac_path_GREP
5382
case `"$ac_path_GREP" --version 2>&1` in
5383
*GNU*)
5384
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5385
*)
5386
  ac_count=0
5387
  $as_echo_n 0123456789 >"conftest.in"
5388
  while :
5389
  do
5390
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5391
    mv "conftest.tmp" "conftest.in"
5392
    cp "conftest.in" "conftest.nl"
5393
    $as_echo 'GREP' >> "conftest.nl"
5394
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5395
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5396
    ac_count=`expr $ac_count + 1`
5397
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5398
      # Best one so far, save it but keep looking for a better one
5399
      ac_cv_path_GREP="$ac_path_GREP"
5400
      ac_path_GREP_max=$ac_count
5401
    fi
5402
    # 10*(2^10) chars as input seems more than enough
5403
    test $ac_count -gt 10 && break
5404
  done
5405
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5406
esac
5407
 
5408
      $ac_path_GREP_found && break 3
5409
    done
5410
  done
5411
done
5412
IFS=$as_save_IFS
5413
  if test -z "$ac_cv_path_GREP"; then
5414
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5415
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5416
   { (exit 1); exit 1; }; }
5417
  fi
5418
else
5419
  ac_cv_path_GREP=$GREP
5420
fi
5421
 
5422
fi
5423
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5424
$as_echo "$ac_cv_path_GREP" >&6; }
5425
 GREP="$ac_cv_path_GREP"
5426
 
5427
 
5428
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
5429
$as_echo_n "checking for egrep... " >&6; }
5430
if test "${ac_cv_path_EGREP+set}" = set; then
5431
  $as_echo_n "(cached) " >&6
5432
else
5433
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5434
   then ac_cv_path_EGREP="$GREP -E"
5435
   else
5436
     if test -z "$EGREP"; then
5437
  ac_path_EGREP_found=false
5438
  # Loop through the user's path and test for each of PROGNAME-LIST
5439
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5441
do
5442
  IFS=$as_save_IFS
5443
  test -z "$as_dir" && as_dir=.
5444
  for ac_prog in egrep; do
5445
    for ac_exec_ext in '' $ac_executable_extensions; do
5446
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5447
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5448
# Check for GNU ac_path_EGREP and select it if it is found.
5449
  # Check for GNU $ac_path_EGREP
5450
case `"$ac_path_EGREP" --version 2>&1` in
5451
*GNU*)
5452
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5453
*)
5454
  ac_count=0
5455
  $as_echo_n 0123456789 >"conftest.in"
5456
  while :
5457
  do
5458
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5459
    mv "conftest.tmp" "conftest.in"
5460
    cp "conftest.in" "conftest.nl"
5461
    $as_echo 'EGREP' >> "conftest.nl"
5462
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5463
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5464
    ac_count=`expr $ac_count + 1`
5465
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5466
      # Best one so far, save it but keep looking for a better one
5467
      ac_cv_path_EGREP="$ac_path_EGREP"
5468
      ac_path_EGREP_max=$ac_count
5469
    fi
5470
    # 10*(2^10) chars as input seems more than enough
5471
    test $ac_count -gt 10 && break
5472
  done
5473
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5474
esac
5475
 
5476
      $ac_path_EGREP_found && break 3
5477
    done
5478
  done
5479
done
5480
IFS=$as_save_IFS
5481
  if test -z "$ac_cv_path_EGREP"; then
5482
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5483
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5484
   { (exit 1); exit 1; }; }
5485
  fi
5486
else
5487
  ac_cv_path_EGREP=$EGREP
5488
fi
5489
 
5490
   fi
5491
fi
5492
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5493
$as_echo "$ac_cv_path_EGREP" >&6; }
5494
 EGREP="$ac_cv_path_EGREP"
5495
 
5496
 
5497
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5498
$as_echo_n "checking for fgrep... " >&6; }
5499
if test "${ac_cv_path_FGREP+set}" = set; then
5500
  $as_echo_n "(cached) " >&6
5501
else
5502
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5503
   then ac_cv_path_FGREP="$GREP -F"
5504
   else
5505
     if test -z "$FGREP"; then
5506
  ac_path_FGREP_found=false
5507
  # Loop through the user's path and test for each of PROGNAME-LIST
5508
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5510
do
5511
  IFS=$as_save_IFS
5512
  test -z "$as_dir" && as_dir=.
5513
  for ac_prog in fgrep; do
5514
    for ac_exec_ext in '' $ac_executable_extensions; do
5515
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5516
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5517
# Check for GNU ac_path_FGREP and select it if it is found.
5518
  # Check for GNU $ac_path_FGREP
5519
case `"$ac_path_FGREP" --version 2>&1` in
5520
*GNU*)
5521
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5522
*)
5523
  ac_count=0
5524
  $as_echo_n 0123456789 >"conftest.in"
5525
  while :
5526
  do
5527
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5528
    mv "conftest.tmp" "conftest.in"
5529
    cp "conftest.in" "conftest.nl"
5530
    $as_echo 'FGREP' >> "conftest.nl"
5531
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5532
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5533
    ac_count=`expr $ac_count + 1`
5534
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5535
      # Best one so far, save it but keep looking for a better one
5536
      ac_cv_path_FGREP="$ac_path_FGREP"
5537
      ac_path_FGREP_max=$ac_count
5538
    fi
5539
    # 10*(2^10) chars as input seems more than enough
5540
    test $ac_count -gt 10 && break
5541
  done
5542
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5543
esac
5544
 
5545
      $ac_path_FGREP_found && break 3
5546
    done
5547
  done
5548
done
5549
IFS=$as_save_IFS
5550
  if test -z "$ac_cv_path_FGREP"; then
5551
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5552
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5553
   { (exit 1); exit 1; }; }
5554
  fi
5555
else
5556
  ac_cv_path_FGREP=$FGREP
5557
fi
5558
 
5559
   fi
5560
fi
5561
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5562
$as_echo "$ac_cv_path_FGREP" >&6; }
5563
 FGREP="$ac_cv_path_FGREP"
5564
 
5565
 
5566
test -z "$GREP" && GREP=grep
5567
 
5568
 
5569
 
5570
 
5571
 
5572
 
5573
 
5574
 
5575
 
5576
 
5577
 
5578
 
5579
 
5580
 
5581
 
5582
 
5583
 
5584
 
5585
 
5586
# Check whether --with-gnu-ld was given.
5587
if test "${with_gnu_ld+set}" = set; then
5588
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5589
else
5590
  with_gnu_ld=no
5591
fi
5592
 
5593
ac_prog=ld
5594
if test "$GCC" = yes; then
5595
  # Check if gcc -print-prog-name=ld gives a path.
5596
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5597
$as_echo_n "checking for ld used by $CC... " >&6; }
5598
  case $host in
5599
  *-*-mingw*)
5600
    # gcc leaves a trailing carriage return which upsets mingw
5601
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5602
  *)
5603
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5604
  esac
5605
  case $ac_prog in
5606
    # Accept absolute paths.
5607
    [\\/]* | ?:[\\/]*)
5608
      re_direlt='/[^/][^/]*/\.\./'
5609
      # Canonicalize the pathname of ld
5610
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5611
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5612
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5613
      done
5614
      test -z "$LD" && LD="$ac_prog"
5615
      ;;
5616
  "")
5617
    # If it fails, then pretend we aren't using GCC.
5618
    ac_prog=ld
5619
    ;;
5620
  *)
5621
    # If it is relative, then search for the first ld in PATH.
5622
    with_gnu_ld=unknown
5623
    ;;
5624
  esac
5625
elif test "$with_gnu_ld" = yes; then
5626
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5627
$as_echo_n "checking for GNU ld... " >&6; }
5628
else
5629
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5630
$as_echo_n "checking for non-GNU ld... " >&6; }
5631
fi
5632
if test "${lt_cv_path_LD+set}" = set; then
5633
  $as_echo_n "(cached) " >&6
5634
else
5635
  if test -z "$LD"; then
5636
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5637
  for ac_dir in $PATH; do
5638
    IFS="$lt_save_ifs"
5639
    test -z "$ac_dir" && ac_dir=.
5640
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5641
      lt_cv_path_LD="$ac_dir/$ac_prog"
5642
      # Check to see if the program is GNU ld.  I'd rather use --version,
5643
      # but apparently some variants of GNU ld only accept -v.
5644
      # Break only if it was the GNU/non-GNU ld that we prefer.
5645
      case `"$lt_cv_path_LD" -v 2>&1 
5646
      *GNU* | *'with BFD'*)
5647
        test "$with_gnu_ld" != no && break
5648
        ;;
5649
      *)
5650
        test "$with_gnu_ld" != yes && break
5651
        ;;
5652
      esac
5653
    fi
5654
  done
5655
  IFS="$lt_save_ifs"
5656
else
5657
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5658
fi
5659
fi
5660
 
5661
LD="$lt_cv_path_LD"
5662
if test -n "$LD"; then
5663
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
5664
$as_echo "$LD" >&6; }
5665
else
5666
  { $as_echo "$as_me:$LINENO: result: no" >&5
5667
$as_echo "no" >&6; }
5668
fi
5669
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5670
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5671
   { (exit 1); exit 1; }; }
5672
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5673
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5674
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5675
  $as_echo_n "(cached) " >&6
5676
else
5677
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5678
case `$LD -v 2>&1 
5679
*GNU* | *'with BFD'*)
5680
  lt_cv_prog_gnu_ld=yes
5681
  ;;
5682
*)
5683
  lt_cv_prog_gnu_ld=no
5684
  ;;
5685
esac
5686
fi
5687
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5688
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5689
with_gnu_ld=$lt_cv_prog_gnu_ld
5690
 
5691
 
5692
 
5693
 
5694
 
5695
 
5696
 
5697
 
5698
 
5699
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5700
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5701
if test "${lt_cv_path_NM+set}" = set; then
5702
  $as_echo_n "(cached) " >&6
5703
else
5704
  if test -n "$NM"; then
5705
  # Let the user override the test.
5706
  lt_cv_path_NM="$NM"
5707
else
5708
  lt_nm_to_check="${ac_tool_prefix}nm"
5709
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5710
    lt_nm_to_check="$lt_nm_to_check nm"
5711
  fi
5712
  for lt_tmp_nm in $lt_nm_to_check; do
5713
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5714
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5715
      IFS="$lt_save_ifs"
5716
      test -z "$ac_dir" && ac_dir=.
5717
      tmp_nm="$ac_dir/$lt_tmp_nm"
5718
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5719
        # Check to see if the nm accepts a BSD-compat flag.
5720
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5721
        #   nm: unknown option "B" ignored
5722
        # Tru64's nm complains that /dev/null is an invalid object file
5723
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5724
        */dev/null* | *'Invalid file or object type'*)
5725
          lt_cv_path_NM="$tmp_nm -B"
5726
          break
5727
          ;;
5728
        *)
5729
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5730
          */dev/null*)
5731
            lt_cv_path_NM="$tmp_nm -p"
5732
            break
5733
            ;;
5734
          *)
5735
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5736
            continue # so that we can try to find one that supports BSD flags
5737
            ;;
5738
          esac
5739
          ;;
5740
        esac
5741
      fi
5742
    done
5743
    IFS="$lt_save_ifs"
5744
  done
5745
  : ${lt_cv_path_NM=no}
5746
fi
5747
fi
5748
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5749
$as_echo "$lt_cv_path_NM" >&6; }
5750
if test "$lt_cv_path_NM" != "no"; then
5751
  NM="$lt_cv_path_NM"
5752
else
5753
  # Didn't find any BSD compatible name lister, look for dumpbin.
5754
  if test -n "$ac_tool_prefix"; then
5755
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5756
  do
5757
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5758
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5759
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5760
$as_echo_n "checking for $ac_word... " >&6; }
5761
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5762
  $as_echo_n "(cached) " >&6
5763
else
5764
  if test -n "$DUMPBIN"; then
5765
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5766
else
5767
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768
for as_dir in $PATH
5769
do
5770
  IFS=$as_save_IFS
5771
  test -z "$as_dir" && as_dir=.
5772
  for ac_exec_ext in '' $ac_executable_extensions; do
5773
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5774
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5775
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5776
    break 2
5777
  fi
5778
done
5779
done
5780
IFS=$as_save_IFS
5781
 
5782
fi
5783
fi
5784
DUMPBIN=$ac_cv_prog_DUMPBIN
5785
if test -n "$DUMPBIN"; then
5786
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5787
$as_echo "$DUMPBIN" >&6; }
5788
else
5789
  { $as_echo "$as_me:$LINENO: result: no" >&5
5790
$as_echo "no" >&6; }
5791
fi
5792
 
5793
 
5794
    test -n "$DUMPBIN" && break
5795
  done
5796
fi
5797
if test -z "$DUMPBIN"; then
5798
  ac_ct_DUMPBIN=$DUMPBIN
5799
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5800
do
5801
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5802
set dummy $ac_prog; ac_word=$2
5803
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5804
$as_echo_n "checking for $ac_word... " >&6; }
5805
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5806
  $as_echo_n "(cached) " >&6
5807
else
5808
  if test -n "$ac_ct_DUMPBIN"; then
5809
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5810
else
5811
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812
for as_dir in $PATH
5813
do
5814
  IFS=$as_save_IFS
5815
  test -z "$as_dir" && as_dir=.
5816
  for ac_exec_ext in '' $ac_executable_extensions; do
5817
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5818
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5819
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5820
    break 2
5821
  fi
5822
done
5823
done
5824
IFS=$as_save_IFS
5825
 
5826
fi
5827
fi
5828
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5829
if test -n "$ac_ct_DUMPBIN"; then
5830
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5831
$as_echo "$ac_ct_DUMPBIN" >&6; }
5832
else
5833
  { $as_echo "$as_me:$LINENO: result: no" >&5
5834
$as_echo "no" >&6; }
5835
fi
5836
 
5837
 
5838
  test -n "$ac_ct_DUMPBIN" && break
5839
done
5840
 
5841
  if test "x$ac_ct_DUMPBIN" = x; then
5842
    DUMPBIN=":"
5843
  else
5844
    case $cross_compiling:$ac_tool_warned in
5845
yes:)
5846
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5847
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5848
ac_tool_warned=yes ;;
5849
esac
5850
    DUMPBIN=$ac_ct_DUMPBIN
5851
  fi
5852
fi
5853
 
5854
 
5855
  if test "$DUMPBIN" != ":"; then
5856
    NM="$DUMPBIN"
5857
  fi
5858
fi
5859
test -z "$NM" && NM=nm
5860
 
5861
 
5862
 
5863
 
5864
 
5865
 
5866
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5867
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5868
if test "${lt_cv_nm_interface+set}" = set; then
5869
  $as_echo_n "(cached) " >&6
5870
else
5871
  lt_cv_nm_interface="BSD nm"
5872
  echo "int some_variable = 0;" > conftest.$ac_ext
5873
  (eval echo "\"\$as_me:5873: $ac_compile\"" >&5)
5874
  (eval "$ac_compile" 2>conftest.err)
5875
  cat conftest.err >&5
5876
  (eval echo "\"\$as_me:5876: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5877
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5878
  cat conftest.err >&5
5879
  (eval echo "\"\$as_me:5879: output\"" >&5)
5880
  cat conftest.out >&5
5881
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5882
    lt_cv_nm_interface="MS dumpbin"
5883
  fi
5884
  rm -f conftest*
5885
fi
5886
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5887
$as_echo "$lt_cv_nm_interface" >&6; }
5888
 
5889
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5890
$as_echo_n "checking whether ln -s works... " >&6; }
5891
LN_S=$as_ln_s
5892
if test "$LN_S" = "ln -s"; then
5893
  { $as_echo "$as_me:$LINENO: result: yes" >&5
5894
$as_echo "yes" >&6; }
5895
else
5896
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5897
$as_echo "no, using $LN_S" >&6; }
5898
fi
5899
 
5900
# find the maximum length of command line arguments
5901
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5902
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5903
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5904
  $as_echo_n "(cached) " >&6
5905
else
5906
    i=0
5907
  teststring="ABCD"
5908
 
5909
  case $build_os in
5910
  msdosdjgpp*)
5911
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5912
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5913
    # during glob expansion).  Even if it were fixed, the result of this
5914
    # check would be larger than it should be.
5915
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5916
    ;;
5917
 
5918
  gnu*)
5919
    # Under GNU Hurd, this test is not required because there is
5920
    # no limit to the length of command line arguments.
5921
    # Libtool will interpret -1 as no limit whatsoever
5922
    lt_cv_sys_max_cmd_len=-1;
5923
    ;;
5924
 
5925
  cygwin* | mingw* | cegcc*)
5926
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5927
    # about 5 minutes as the teststring grows exponentially.
5928
    # Worse, since 9x/ME are not pre-emptively multitasking,
5929
    # you end up with a "frozen" computer, even though with patience
5930
    # the test eventually succeeds (with a max line length of 256k).
5931
    # Instead, let's just punt: use the minimum linelength reported by
5932
    # all of the supported platforms: 8192 (on NT/2K/XP).
5933
    lt_cv_sys_max_cmd_len=8192;
5934
    ;;
5935
 
5936
  amigaos*)
5937
    # On AmigaOS with pdksh, this test takes hours, literally.
5938
    # So we just punt and use a minimum line length of 8192.
5939
    lt_cv_sys_max_cmd_len=8192;
5940
    ;;
5941
 
5942
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5943
    # This has been around since 386BSD, at least.  Likely further.
5944
    if test -x /sbin/sysctl; then
5945
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5946
    elif test -x /usr/sbin/sysctl; then
5947
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5948
    else
5949
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5950
    fi
5951
    # And add a safety zone
5952
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5953
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5954
    ;;
5955
 
5956
  interix*)
5957
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5958
    lt_cv_sys_max_cmd_len=196608
5959
    ;;
5960
 
5961
  osf*)
5962
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5963
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5964
    # nice to cause kernel panics so lets avoid the loop below.
5965
    # First set a reasonable default.
5966
    lt_cv_sys_max_cmd_len=16384
5967
    #
5968
    if test -x /sbin/sysconfig; then
5969
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5970
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5971
      esac
5972
    fi
5973
    ;;
5974
  sco3.2v5*)
5975
    lt_cv_sys_max_cmd_len=102400
5976
    ;;
5977
  sysv5* | sco5v6* | sysv4.2uw2*)
5978
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5979
    if test -n "$kargmax"; then
5980
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5981
    else
5982
      lt_cv_sys_max_cmd_len=32768
5983
    fi
5984
    ;;
5985
  *)
5986
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5987
    if test -n "$lt_cv_sys_max_cmd_len"; then
5988
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5989
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5990
    else
5991
      # Make teststring a little bigger before we do anything with it.
5992
      # a 1K string should be a reasonable start.
5993
      for i in 1 2 3 4 5 6 7 8 ; do
5994
        teststring=$teststring$teststring
5995
      done
5996
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5997
      # If test is not a shell built-in, we'll probably end up computing a
5998
      # maximum length that is only half of the actual maximum length, but
5999
      # we can't tell.
6000
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6001
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6002
              test $i != 17 # 1/2 MB should be enough
6003
      do
6004
        i=`expr $i + 1`
6005
        teststring=$teststring$teststring
6006
      done
6007
      # Only check the string length outside the loop.
6008
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6009
      teststring=
6010
      # Add a significant safety factor because C++ compilers can tack on
6011
      # massive amounts of additional arguments before passing them to the
6012
      # linker.  It appears as though 1/2 is a usable value.
6013
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6014
    fi
6015
    ;;
6016
  esac
6017
 
6018
fi
6019
 
6020
if test -n $lt_cv_sys_max_cmd_len ; then
6021
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6022
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6023
else
6024
  { $as_echo "$as_me:$LINENO: result: none" >&5
6025
$as_echo "none" >&6; }
6026
fi
6027
max_cmd_len=$lt_cv_sys_max_cmd_len
6028
 
6029
 
6030
 
6031
 
6032
 
6033
 
6034
: ${CP="cp -f"}
6035
: ${MV="mv -f"}
6036
: ${RM="rm -f"}
6037
 
6038
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6039
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6040
# Try some XSI features
6041
xsi_shell=no
6042
( _lt_dummy="a/b/c"
6043
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6044
      = c,a/b,, \
6045
    && eval 'test $(( 1 + 1 )) -eq 2 \
6046
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6047
  && xsi_shell=yes
6048
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
6049
$as_echo "$xsi_shell" >&6; }
6050
 
6051
 
6052
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6053
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6054
lt_shell_append=no
6055
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6056
    >/dev/null 2>&1 \
6057
  && lt_shell_append=yes
6058
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6059
$as_echo "$lt_shell_append" >&6; }
6060
 
6061
 
6062
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6063
  lt_unset=unset
6064
else
6065
  lt_unset=false
6066
fi
6067
 
6068
 
6069
 
6070
 
6071
 
6072
# test EBCDIC or ASCII
6073
case `echo X|tr X '\101'` in
6074
 A) # ASCII based system
6075
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6076
  lt_SP2NL='tr \040 \012'
6077
  lt_NL2SP='tr \015\012 \040\040'
6078
  ;;
6079
 *) # EBCDIC based system
6080
  lt_SP2NL='tr \100 \n'
6081
  lt_NL2SP='tr \r\n \100\100'
6082
  ;;
6083
esac
6084
 
6085
 
6086
 
6087
 
6088
 
6089
 
6090
 
6091
 
6092
 
6093
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6094
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6095
if test "${lt_cv_ld_reload_flag+set}" = set; then
6096
  $as_echo_n "(cached) " >&6
6097
else
6098
  lt_cv_ld_reload_flag='-r'
6099
fi
6100
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6101
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6102
reload_flag=$lt_cv_ld_reload_flag
6103
case $reload_flag in
6104
"" | " "*) ;;
6105
*) reload_flag=" $reload_flag" ;;
6106
esac
6107
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6108
case $host_os in
6109
  darwin*)
6110
    if test "$GCC" = yes; then
6111
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6112
    else
6113
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6114
    fi
6115
    ;;
6116
esac
6117
 
6118
 
6119
 
6120
 
6121
 
6122
 
6123
 
6124
 
6125
 
6126
if test -n "$ac_tool_prefix"; then
6127
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6128
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6129
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6130
$as_echo_n "checking for $ac_word... " >&6; }
6131
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6132
  $as_echo_n "(cached) " >&6
6133
else
6134
  if test -n "$OBJDUMP"; then
6135
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6136
else
6137
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138
for as_dir in $PATH
6139
do
6140
  IFS=$as_save_IFS
6141
  test -z "$as_dir" && as_dir=.
6142
  for ac_exec_ext in '' $ac_executable_extensions; do
6143
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6144
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6145
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6146
    break 2
6147
  fi
6148
done
6149
done
6150
IFS=$as_save_IFS
6151
 
6152
fi
6153
fi
6154
OBJDUMP=$ac_cv_prog_OBJDUMP
6155
if test -n "$OBJDUMP"; then
6156
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6157
$as_echo "$OBJDUMP" >&6; }
6158
else
6159
  { $as_echo "$as_me:$LINENO: result: no" >&5
6160
$as_echo "no" >&6; }
6161
fi
6162
 
6163
 
6164
fi
6165
if test -z "$ac_cv_prog_OBJDUMP"; then
6166
  ac_ct_OBJDUMP=$OBJDUMP
6167
  # Extract the first word of "objdump", so it can be a program name with args.
6168
set dummy objdump; ac_word=$2
6169
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6170
$as_echo_n "checking for $ac_word... " >&6; }
6171
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6172
  $as_echo_n "(cached) " >&6
6173
else
6174
  if test -n "$ac_ct_OBJDUMP"; then
6175
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6176
else
6177
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178
for as_dir in $PATH
6179
do
6180
  IFS=$as_save_IFS
6181
  test -z "$as_dir" && as_dir=.
6182
  for ac_exec_ext in '' $ac_executable_extensions; do
6183
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6184
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6185
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6186
    break 2
6187
  fi
6188
done
6189
done
6190
IFS=$as_save_IFS
6191
 
6192
fi
6193
fi
6194
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6195
if test -n "$ac_ct_OBJDUMP"; then
6196
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6197
$as_echo "$ac_ct_OBJDUMP" >&6; }
6198
else
6199
  { $as_echo "$as_me:$LINENO: result: no" >&5
6200
$as_echo "no" >&6; }
6201
fi
6202
 
6203
  if test "x$ac_ct_OBJDUMP" = x; then
6204
    OBJDUMP="false"
6205
  else
6206
    case $cross_compiling:$ac_tool_warned in
6207
yes:)
6208
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6209
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6210
ac_tool_warned=yes ;;
6211
esac
6212
    OBJDUMP=$ac_ct_OBJDUMP
6213
  fi
6214
else
6215
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6216
fi
6217
 
6218
test -z "$OBJDUMP" && OBJDUMP=objdump
6219
 
6220
 
6221
 
6222
 
6223
 
6224
 
6225
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6226
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6227
if test "${lt_cv_deplibs_check_method+set}" = set; then
6228
  $as_echo_n "(cached) " >&6
6229
else
6230
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6231
lt_cv_file_magic_test_file=
6232
lt_cv_deplibs_check_method='unknown'
6233
# Need to set the preceding variable on all platforms that support
6234
# interlibrary dependencies.
6235
# 'none' -- dependencies not supported.
6236
# `unknown' -- same as none, but documents that we really don't know.
6237
# 'pass_all' -- all dependencies passed with no checks.
6238
# 'test_compile' -- check by making test program.
6239
# 'file_magic [[regex]]' -- check by looking for files in library path
6240
# which responds to the $file_magic_cmd with a given extended regex.
6241
# If you have `file' or equivalent on your system and you're not sure
6242
# whether `pass_all' will *always* work, you probably want this one.
6243
 
6244
case $host_os in
6245
aix[4-9]*)
6246
  lt_cv_deplibs_check_method=pass_all
6247
  ;;
6248
 
6249
beos*)
6250
  lt_cv_deplibs_check_method=pass_all
6251
  ;;
6252
 
6253
bsdi[45]*)
6254
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6255
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6256
  lt_cv_file_magic_test_file=/shlib/libc.so
6257
  ;;
6258
 
6259
cygwin*)
6260
  # func_win32_libid is a shell function defined in ltmain.sh
6261
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6262
  lt_cv_file_magic_cmd='func_win32_libid'
6263
  ;;
6264
 
6265
mingw* | pw32*)
6266
  # Base MSYS/MinGW do not provide the 'file' command needed by
6267
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6268
  # unless we find 'file', for example because we are cross-compiling.
6269
  if ( file / ) >/dev/null 2>&1; then
6270
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6271
    lt_cv_file_magic_cmd='func_win32_libid'
6272
  else
6273
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6274
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6275
  fi
6276
  ;;
6277
 
6278
cegcc)
6279
  # use the weaker test based on 'objdump'. See mingw*.
6280
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6281
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6282
  ;;
6283
 
6284
darwin* | rhapsody*)
6285
  lt_cv_deplibs_check_method=pass_all
6286
  ;;
6287
 
6288
freebsd* | dragonfly*)
6289
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6290
    case $host_cpu in
6291
    i*86 )
6292
      # Not sure whether the presence of OpenBSD here was a mistake.
6293
      # Let's accept both of them until this is cleared up.
6294
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6295
      lt_cv_file_magic_cmd=/usr/bin/file
6296
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6297
      ;;
6298
    esac
6299
  else
6300
    lt_cv_deplibs_check_method=pass_all
6301
  fi
6302
  ;;
6303
 
6304
gnu*)
6305
  lt_cv_deplibs_check_method=pass_all
6306
  ;;
6307
 
6308
hpux10.20* | hpux11*)
6309
  lt_cv_file_magic_cmd=/usr/bin/file
6310
  case $host_cpu in
6311
  ia64*)
6312
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6313
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6314
    ;;
6315
  hppa*64*)
6316
    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]'
6317
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6318
    ;;
6319
  *)
6320
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6321
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6322
    ;;
6323
  esac
6324
  ;;
6325
 
6326
interix[3-9]*)
6327
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6328
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6329
  ;;
6330
 
6331
irix5* | irix6* | nonstopux*)
6332
  case $LD in
6333
  *-32|*"-32 ") libmagic=32-bit;;
6334
  *-n32|*"-n32 ") libmagic=N32;;
6335
  *-64|*"-64 ") libmagic=64-bit;;
6336
  *) libmagic=never-match;;
6337
  esac
6338
  lt_cv_deplibs_check_method=pass_all
6339
  ;;
6340
 
6341
# This must be Linux ELF.
6342
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6343
  lt_cv_deplibs_check_method=pass_all
6344
  ;;
6345
 
6346
netbsd*)
6347
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6348
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6349
  else
6350
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6351
  fi
6352
  ;;
6353
 
6354
newos6*)
6355
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6356
  lt_cv_file_magic_cmd=/usr/bin/file
6357
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6358
  ;;
6359
 
6360
*nto* | *qnx*)
6361
  lt_cv_deplibs_check_method=pass_all
6362
  ;;
6363
 
6364
openbsd*)
6365
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6366
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6367
  else
6368
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6369
  fi
6370
  ;;
6371
 
6372
osf3* | osf4* | osf5*)
6373
  lt_cv_deplibs_check_method=pass_all
6374
  ;;
6375
 
6376
rdos*)
6377
  lt_cv_deplibs_check_method=pass_all
6378
  ;;
6379
 
6380
solaris*)
6381
  lt_cv_deplibs_check_method=pass_all
6382
  ;;
6383
 
6384
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6385
  lt_cv_deplibs_check_method=pass_all
6386
  ;;
6387
 
6388
sysv4 | sysv4.3*)
6389
  case $host_vendor in
6390
  motorola)
6391
    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]'
6392
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6393
    ;;
6394
  ncr)
6395
    lt_cv_deplibs_check_method=pass_all
6396
    ;;
6397
  sequent)
6398
    lt_cv_file_magic_cmd='/bin/file'
6399
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6400
    ;;
6401
  sni)
6402
    lt_cv_file_magic_cmd='/bin/file'
6403
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6404
    lt_cv_file_magic_test_file=/lib/libc.so
6405
    ;;
6406
  siemens)
6407
    lt_cv_deplibs_check_method=pass_all
6408
    ;;
6409
  pc)
6410
    lt_cv_deplibs_check_method=pass_all
6411
    ;;
6412
  esac
6413
  ;;
6414
 
6415
tpf*)
6416
  lt_cv_deplibs_check_method=pass_all
6417
  ;;
6418
esac
6419
 
6420
fi
6421
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6422
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6423
file_magic_cmd=$lt_cv_file_magic_cmd
6424
deplibs_check_method=$lt_cv_deplibs_check_method
6425
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6426
 
6427
 
6428
 
6429
 
6430
 
6431
 
6432
 
6433
 
6434
 
6435
 
6436
 
6437
 
6438
if test -n "$ac_tool_prefix"; then
6439
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6440
set dummy ${ac_tool_prefix}ar; ac_word=$2
6441
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6442
$as_echo_n "checking for $ac_word... " >&6; }
6443
if test "${ac_cv_prog_AR+set}" = set; then
6444
  $as_echo_n "(cached) " >&6
6445
else
6446
  if test -n "$AR"; then
6447
  ac_cv_prog_AR="$AR" # Let the user override the test.
6448
else
6449
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6450
for as_dir in $PATH
6451
do
6452
  IFS=$as_save_IFS
6453
  test -z "$as_dir" && as_dir=.
6454
  for ac_exec_ext in '' $ac_executable_extensions; do
6455
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6456
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6457
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6458
    break 2
6459
  fi
6460
done
6461
done
6462
IFS=$as_save_IFS
6463
 
6464
fi
6465
fi
6466
AR=$ac_cv_prog_AR
6467
if test -n "$AR"; then
6468
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
6469
$as_echo "$AR" >&6; }
6470
else
6471
  { $as_echo "$as_me:$LINENO: result: no" >&5
6472
$as_echo "no" >&6; }
6473
fi
6474
 
6475
 
6476
fi
6477
if test -z "$ac_cv_prog_AR"; then
6478
  ac_ct_AR=$AR
6479
  # Extract the first word of "ar", so it can be a program name with args.
6480
set dummy ar; ac_word=$2
6481
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6482
$as_echo_n "checking for $ac_word... " >&6; }
6483
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6484
  $as_echo_n "(cached) " >&6
6485
else
6486
  if test -n "$ac_ct_AR"; then
6487
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6488
else
6489
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490
for as_dir in $PATH
6491
do
6492
  IFS=$as_save_IFS
6493
  test -z "$as_dir" && as_dir=.
6494
  for ac_exec_ext in '' $ac_executable_extensions; do
6495
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6496
    ac_cv_prog_ac_ct_AR="ar"
6497
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6498
    break 2
6499
  fi
6500
done
6501
done
6502
IFS=$as_save_IFS
6503
 
6504
fi
6505
fi
6506
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6507
if test -n "$ac_ct_AR"; then
6508
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6509
$as_echo "$ac_ct_AR" >&6; }
6510
else
6511
  { $as_echo "$as_me:$LINENO: result: no" >&5
6512
$as_echo "no" >&6; }
6513
fi
6514
 
6515
  if test "x$ac_ct_AR" = x; then
6516
    AR="false"
6517
  else
6518
    case $cross_compiling:$ac_tool_warned in
6519
yes:)
6520
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6521
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6522
ac_tool_warned=yes ;;
6523
esac
6524
    AR=$ac_ct_AR
6525
  fi
6526
else
6527
  AR="$ac_cv_prog_AR"
6528
fi
6529
 
6530
test -z "$AR" && AR=ar
6531
test -z "$AR_FLAGS" && AR_FLAGS=cru
6532
 
6533
 
6534
 
6535
 
6536
 
6537
 
6538
 
6539
 
6540
 
6541
 
6542
 
6543
if test -n "$ac_tool_prefix"; then
6544
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6545
set dummy ${ac_tool_prefix}strip; ac_word=$2
6546
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6547
$as_echo_n "checking for $ac_word... " >&6; }
6548
if test "${ac_cv_prog_STRIP+set}" = set; then
6549
  $as_echo_n "(cached) " >&6
6550
else
6551
  if test -n "$STRIP"; then
6552
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6553
else
6554
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6555
for as_dir in $PATH
6556
do
6557
  IFS=$as_save_IFS
6558
  test -z "$as_dir" && as_dir=.
6559
  for ac_exec_ext in '' $ac_executable_extensions; do
6560
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6561
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6562
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6563
    break 2
6564
  fi
6565
done
6566
done
6567
IFS=$as_save_IFS
6568
 
6569
fi
6570
fi
6571
STRIP=$ac_cv_prog_STRIP
6572
if test -n "$STRIP"; then
6573
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6574
$as_echo "$STRIP" >&6; }
6575
else
6576
  { $as_echo "$as_me:$LINENO: result: no" >&5
6577
$as_echo "no" >&6; }
6578
fi
6579
 
6580
 
6581
fi
6582
if test -z "$ac_cv_prog_STRIP"; then
6583
  ac_ct_STRIP=$STRIP
6584
  # Extract the first word of "strip", so it can be a program name with args.
6585
set dummy strip; ac_word=$2
6586
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6587
$as_echo_n "checking for $ac_word... " >&6; }
6588
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6589
  $as_echo_n "(cached) " >&6
6590
else
6591
  if test -n "$ac_ct_STRIP"; then
6592
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6593
else
6594
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595
for as_dir in $PATH
6596
do
6597
  IFS=$as_save_IFS
6598
  test -z "$as_dir" && as_dir=.
6599
  for ac_exec_ext in '' $ac_executable_extensions; do
6600
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6601
    ac_cv_prog_ac_ct_STRIP="strip"
6602
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6603
    break 2
6604
  fi
6605
done
6606
done
6607
IFS=$as_save_IFS
6608
 
6609
fi
6610
fi
6611
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6612
if test -n "$ac_ct_STRIP"; then
6613
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6614
$as_echo "$ac_ct_STRIP" >&6; }
6615
else
6616
  { $as_echo "$as_me:$LINENO: result: no" >&5
6617
$as_echo "no" >&6; }
6618
fi
6619
 
6620
  if test "x$ac_ct_STRIP" = x; then
6621
    STRIP=":"
6622
  else
6623
    case $cross_compiling:$ac_tool_warned in
6624
yes:)
6625
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6626
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6627
ac_tool_warned=yes ;;
6628
esac
6629
    STRIP=$ac_ct_STRIP
6630
  fi
6631
else
6632
  STRIP="$ac_cv_prog_STRIP"
6633
fi
6634
 
6635
test -z "$STRIP" && STRIP=:
6636
 
6637
 
6638
 
6639
 
6640
 
6641
 
6642
if test -n "$ac_tool_prefix"; then
6643
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6644
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6645
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6646
$as_echo_n "checking for $ac_word... " >&6; }
6647
if test "${ac_cv_prog_RANLIB+set}" = set; then
6648
  $as_echo_n "(cached) " >&6
6649
else
6650
  if test -n "$RANLIB"; then
6651
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6652
else
6653
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654
for as_dir in $PATH
6655
do
6656
  IFS=$as_save_IFS
6657
  test -z "$as_dir" && as_dir=.
6658
  for ac_exec_ext in '' $ac_executable_extensions; do
6659
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6660
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6661
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6662
    break 2
6663
  fi
6664
done
6665
done
6666
IFS=$as_save_IFS
6667
 
6668
fi
6669
fi
6670
RANLIB=$ac_cv_prog_RANLIB
6671
if test -n "$RANLIB"; then
6672
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6673
$as_echo "$RANLIB" >&6; }
6674
else
6675
  { $as_echo "$as_me:$LINENO: result: no" >&5
6676
$as_echo "no" >&6; }
6677
fi
6678
 
6679
 
6680
fi
6681
if test -z "$ac_cv_prog_RANLIB"; then
6682
  ac_ct_RANLIB=$RANLIB
6683
  # Extract the first word of "ranlib", so it can be a program name with args.
6684
set dummy ranlib; ac_word=$2
6685
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6686
$as_echo_n "checking for $ac_word... " >&6; }
6687
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6688
  $as_echo_n "(cached) " >&6
6689
else
6690
  if test -n "$ac_ct_RANLIB"; then
6691
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6692
else
6693
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694
for as_dir in $PATH
6695
do
6696
  IFS=$as_save_IFS
6697
  test -z "$as_dir" && as_dir=.
6698
  for ac_exec_ext in '' $ac_executable_extensions; do
6699
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6700
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6701
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6702
    break 2
6703
  fi
6704
done
6705
done
6706
IFS=$as_save_IFS
6707
 
6708
fi
6709
fi
6710
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6711
if test -n "$ac_ct_RANLIB"; then
6712
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6713
$as_echo "$ac_ct_RANLIB" >&6; }
6714
else
6715
  { $as_echo "$as_me:$LINENO: result: no" >&5
6716
$as_echo "no" >&6; }
6717
fi
6718
 
6719
  if test "x$ac_ct_RANLIB" = x; then
6720
    RANLIB=":"
6721
  else
6722
    case $cross_compiling:$ac_tool_warned in
6723
yes:)
6724
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6725
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6726
ac_tool_warned=yes ;;
6727
esac
6728
    RANLIB=$ac_ct_RANLIB
6729
  fi
6730
else
6731
  RANLIB="$ac_cv_prog_RANLIB"
6732
fi
6733
 
6734
test -z "$RANLIB" && RANLIB=:
6735
 
6736
 
6737
 
6738
 
6739
 
6740
 
6741
# Determine commands to create old-style static archives.
6742
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6743
old_postinstall_cmds='chmod 644 $oldlib'
6744
old_postuninstall_cmds=
6745
 
6746
if test -n "$RANLIB"; then
6747
  case $host_os in
6748
  openbsd*)
6749
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6750
    ;;
6751
  *)
6752
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6753
    ;;
6754
  esac
6755
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6756
fi
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
 
6788
 
6789
 
6790
 
6791
# If no C compiler was specified, use CC.
6792
LTCC=${LTCC-"$CC"}
6793
 
6794
# If no C compiler flags were specified, use CFLAGS.
6795
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6796
 
6797
# Allow CC to be a program name with arguments.
6798
compiler=$CC
6799
 
6800
 
6801
# Check for command to grab the raw symbol name followed by C symbol from nm.
6802
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6803
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6804
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6805
  $as_echo_n "(cached) " >&6
6806
else
6807
 
6808
# These are sane defaults that work on at least a few old systems.
6809
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6810
 
6811
# Character class describing NM global symbol codes.
6812
symcode='[BCDEGRST]'
6813
 
6814
# Regexp to match symbols that can be accessed directly from C.
6815
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6816
 
6817
# Define system-specific variables.
6818
case $host_os in
6819
aix*)
6820
  symcode='[BCDT]'
6821
  ;;
6822
cygwin* | mingw* | pw32* | cegcc*)
6823
  symcode='[ABCDGISTW]'
6824
  ;;
6825
hpux*)
6826
  if test "$host_cpu" = ia64; then
6827
    symcode='[ABCDEGRST]'
6828
  fi
6829
  ;;
6830
irix* | nonstopux*)
6831
  symcode='[BCDEGRST]'
6832
  ;;
6833
osf*)
6834
  symcode='[BCDEGQRST]'
6835
  ;;
6836
solaris*)
6837
  symcode='[BDRT]'
6838
  ;;
6839
sco3.2v5*)
6840
  symcode='[DT]'
6841
  ;;
6842
sysv4.2uw2*)
6843
  symcode='[DT]'
6844
  ;;
6845
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6846
  symcode='[ABDT]'
6847
  ;;
6848
sysv4)
6849
  symcode='[DFNSTU]'
6850
  ;;
6851
esac
6852
 
6853
# If we're using GNU nm, then use its standard symbol codes.
6854
case `$NM -V 2>&1` in
6855
*GNU* | *'with BFD'*)
6856
  symcode='[ABCDGIRSTW]' ;;
6857
esac
6858
 
6859
# Transform an extracted symbol line into a proper C declaration.
6860
# Some systems (esp. on ia64) link data and code symbols differently,
6861
# so use this general approach.
6862
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6863
 
6864
# Transform an extracted symbol line into symbol name and symbol address
6865
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6866
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'"
6867
 
6868
# Handle CRLF in mingw tool chain
6869
opt_cr=
6870
case $build_os in
6871
mingw*)
6872
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6873
  ;;
6874
esac
6875
 
6876
# Try without a prefix underscore, then with it.
6877
for ac_symprfx in "" "_"; do
6878
 
6879
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6880
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6881
 
6882
  # Write the raw and C identifiers.
6883
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6884
    # Fake it for dumpbin and say T for any non-static function
6885
    # and D for any global variable.
6886
    # Also find C++ and __fastcall symbols from MSVC++,
6887
    # which start with @ or ?.
6888
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6889
"     {last_section=section; section=\$ 3};"\
6890
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6891
"     \$ 0!~/External *\|/{next};"\
6892
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6893
"     {if(hide[section]) next};"\
6894
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6895
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6896
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6897
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6898
"     ' prfx=^$ac_symprfx"
6899
  else
6900
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6901
  fi
6902
 
6903
  # Check to see that the pipe works correctly.
6904
  pipe_works=no
6905
 
6906
  rm -f conftest*
6907
  cat > conftest.$ac_ext <<_LT_EOF
6908
#ifdef __cplusplus
6909
extern "C" {
6910
#endif
6911
char nm_test_var;
6912
void nm_test_func(void);
6913
void nm_test_func(void){}
6914
#ifdef __cplusplus
6915
}
6916
#endif
6917
int main(){nm_test_var='a';nm_test_func();return(0);}
6918
_LT_EOF
6919
 
6920
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6921
  (eval $ac_compile) 2>&5
6922
  ac_status=$?
6923
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924
  (exit $ac_status); }; then
6925
    # Now try to grab the symbols.
6926
    nlist=conftest.nm
6927
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6928
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6929
  ac_status=$?
6930
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931
  (exit $ac_status); } && test -s "$nlist"; then
6932
      # Try sorting and uniquifying the output.
6933
      if sort "$nlist" | uniq > "$nlist"T; then
6934
        mv -f "$nlist"T "$nlist"
6935
      else
6936
        rm -f "$nlist"T
6937
      fi
6938
 
6939
      # Make sure that we snagged all the symbols we need.
6940
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6941
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6942
          cat <<_LT_EOF > conftest.$ac_ext
6943
#ifdef __cplusplus
6944
extern "C" {
6945
#endif
6946
 
6947
_LT_EOF
6948
          # Now generate the symbol file.
6949
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6950
 
6951
          cat <<_LT_EOF >> conftest.$ac_ext
6952
 
6953
/* The mapping between symbol names and symbols.  */
6954
const struct {
6955
  const char *name;
6956
  void       *address;
6957
}
6958
lt__PROGRAM__LTX_preloaded_symbols[] =
6959
{
6960
  { "@PROGRAM@", (void *) 0 },
6961
_LT_EOF
6962
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6963
          cat <<\_LT_EOF >> conftest.$ac_ext
6964
  {0, (void *) 0}
6965
};
6966
 
6967
/* This works around a problem in FreeBSD linker */
6968
#ifdef FREEBSD_WORKAROUND
6969
static const void *lt_preloaded_setup() {
6970
  return lt__PROGRAM__LTX_preloaded_symbols;
6971
}
6972
#endif
6973
 
6974
#ifdef __cplusplus
6975
}
6976
#endif
6977
_LT_EOF
6978
          # Now try linking the two files.
6979
          mv conftest.$ac_objext conftstm.$ac_objext
6980
          lt_save_LIBS="$LIBS"
6981
          lt_save_CFLAGS="$CFLAGS"
6982
          LIBS="conftstm.$ac_objext"
6983
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6984
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6985
  (eval $ac_link) 2>&5
6986
  ac_status=$?
6987
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6989
            pipe_works=yes
6990
          fi
6991
          LIBS="$lt_save_LIBS"
6992
          CFLAGS="$lt_save_CFLAGS"
6993
        else
6994
          echo "cannot find nm_test_func in $nlist" >&5
6995
        fi
6996
      else
6997
        echo "cannot find nm_test_var in $nlist" >&5
6998
      fi
6999
    else
7000
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7001
    fi
7002
  else
7003
    echo "$progname: failed program was:" >&5
7004
    cat conftest.$ac_ext >&5
7005
  fi
7006
  rm -rf conftest* conftst*
7007
 
7008
  # Do not use the global_symbol_pipe unless it works.
7009
  if test "$pipe_works" = yes; then
7010
    break
7011
  else
7012
    lt_cv_sys_global_symbol_pipe=
7013
  fi
7014
done
7015
 
7016
fi
7017
 
7018
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7019
  lt_cv_sys_global_symbol_to_cdecl=
7020
fi
7021
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7022
  { $as_echo "$as_me:$LINENO: result: failed" >&5
7023
$as_echo "failed" >&6; }
7024
else
7025
  { $as_echo "$as_me:$LINENO: result: ok" >&5
7026
$as_echo "ok" >&6; }
7027
fi
7028
 
7029
 
7030
 
7031
 
7032
 
7033
 
7034
 
7035
 
7036
 
7037
 
7038
 
7039
 
7040
 
7041
 
7042
 
7043
 
7044
 
7045
 
7046
 
7047
 
7048
 
7049
 
7050
 
7051
# Check whether --enable-libtool-lock was given.
7052
if test "${enable_libtool_lock+set}" = set; then
7053
  enableval=$enable_libtool_lock;
7054
fi
7055
 
7056
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7057
 
7058
# Some flags need to be propagated to the compiler or linker for good
7059
# libtool support.
7060
case $host in
7061
ia64-*-hpux*)
7062
  # Find out which ABI we are using.
7063
  echo 'int i;' > conftest.$ac_ext
7064
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7065
  (eval $ac_compile) 2>&5
7066
  ac_status=$?
7067
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068
  (exit $ac_status); }; then
7069
    case `/usr/bin/file conftest.$ac_objext` in
7070
      *ELF-32*)
7071
        HPUX_IA64_MODE="32"
7072
        ;;
7073
      *ELF-64*)
7074
        HPUX_IA64_MODE="64"
7075
        ;;
7076
    esac
7077
  fi
7078
  rm -rf conftest*
7079
  ;;
7080
*-*-irix6*)
7081
  # Find out which ABI we are using.
7082
  echo '#line 7082 "configure"' > conftest.$ac_ext
7083
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7084
  (eval $ac_compile) 2>&5
7085
  ac_status=$?
7086
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087
  (exit $ac_status); }; then
7088
    if test "$lt_cv_prog_gnu_ld" = yes; then
7089
      case `/usr/bin/file conftest.$ac_objext` in
7090
        *32-bit*)
7091
          LD="${LD-ld} -melf32bsmip"
7092
          ;;
7093
        *N32*)
7094
          LD="${LD-ld} -melf32bmipn32"
7095
          ;;
7096
        *64-bit*)
7097
          LD="${LD-ld} -melf64bmip"
7098
        ;;
7099
      esac
7100
    else
7101
      case `/usr/bin/file conftest.$ac_objext` in
7102
        *32-bit*)
7103
          LD="${LD-ld} -32"
7104
          ;;
7105
        *N32*)
7106
          LD="${LD-ld} -n32"
7107
          ;;
7108
        *64-bit*)
7109
          LD="${LD-ld} -64"
7110
          ;;
7111
      esac
7112
    fi
7113
  fi
7114
  rm -rf conftest*
7115
  ;;
7116
 
7117
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7118
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7119
  # Find out which ABI we are using.
7120
  echo 'int i;' > conftest.$ac_ext
7121
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7122
  (eval $ac_compile) 2>&5
7123
  ac_status=$?
7124
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125
  (exit $ac_status); }; then
7126
    case `/usr/bin/file conftest.o` in
7127
      *32-bit*)
7128
        case $host in
7129
          x86_64-*kfreebsd*-gnu)
7130
            LD="${LD-ld} -m elf_i386_fbsd"
7131
            ;;
7132
          x86_64-*linux*)
7133
            LD="${LD-ld} -m elf_i386"
7134
            ;;
7135
          ppc64-*linux*|powerpc64-*linux*)
7136
            LD="${LD-ld} -m elf32ppclinux"
7137
            ;;
7138
          s390x-*linux*)
7139
            LD="${LD-ld} -m elf_s390"
7140
            ;;
7141
          sparc64-*linux*)
7142
            LD="${LD-ld} -m elf32_sparc"
7143
            ;;
7144
        esac
7145
        ;;
7146
      *64-bit*)
7147
        case $host in
7148
          x86_64-*kfreebsd*-gnu)
7149
            LD="${LD-ld} -m elf_x86_64_fbsd"
7150
            ;;
7151
          x86_64-*linux*)
7152
            LD="${LD-ld} -m elf_x86_64"
7153
            ;;
7154
          ppc*-*linux*|powerpc*-*linux*)
7155
            LD="${LD-ld} -m elf64ppc"
7156
            ;;
7157
          s390*-*linux*|s390*-*tpf*)
7158
            LD="${LD-ld} -m elf64_s390"
7159
            ;;
7160
          sparc*-*linux*)
7161
            LD="${LD-ld} -m elf64_sparc"
7162
            ;;
7163
        esac
7164
        ;;
7165
    esac
7166
  fi
7167
  rm -rf conftest*
7168
  ;;
7169
 
7170
*-*-sco3.2v5*)
7171
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7172
  SAVE_CFLAGS="$CFLAGS"
7173
  CFLAGS="$CFLAGS -belf"
7174
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7175
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7176
if test "${lt_cv_cc_needs_belf+set}" = set; then
7177
  $as_echo_n "(cached) " >&6
7178
else
7179
  ac_ext=c
7180
ac_cpp='$CPP $CPPFLAGS'
7181
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7182
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7183
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7184
 
7185
     cat >conftest.$ac_ext <<_ACEOF
7186
/* confdefs.h.  */
7187
_ACEOF
7188
cat confdefs.h >>conftest.$ac_ext
7189
cat >>conftest.$ac_ext <<_ACEOF
7190
/* end confdefs.h.  */
7191
 
7192
int
7193
main ()
7194
{
7195
 
7196
  ;
7197
  return 0;
7198
}
7199
_ACEOF
7200
rm -f conftest.$ac_objext conftest$ac_exeext
7201
if { (ac_try="$ac_link"
7202
case "(($ac_try" in
7203
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7204
  *) ac_try_echo=$ac_try;;
7205
esac
7206
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7207
$as_echo "$ac_try_echo") >&5
7208
  (eval "$ac_link") 2>conftest.er1
7209
  ac_status=$?
7210
  grep -v '^ *+' conftest.er1 >conftest.err
7211
  rm -f conftest.er1
7212
  cat conftest.err >&5
7213
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7214
  (exit $ac_status); } && {
7215
         test -z "$ac_c_werror_flag" ||
7216
         test ! -s conftest.err
7217
       } && test -s conftest$ac_exeext && {
7218
         test "$cross_compiling" = yes ||
7219
         $as_test_x conftest$ac_exeext
7220
       }; then
7221
  lt_cv_cc_needs_belf=yes
7222
else
7223
  $as_echo "$as_me: failed program was:" >&5
7224
sed 's/^/| /' conftest.$ac_ext >&5
7225
 
7226
        lt_cv_cc_needs_belf=no
7227
fi
7228
 
7229
rm -rf conftest.dSYM
7230
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7231
      conftest$ac_exeext conftest.$ac_ext
7232
     ac_ext=c
7233
ac_cpp='$CPP $CPPFLAGS'
7234
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7235
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7236
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7237
 
7238
fi
7239
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7240
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7241
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7242
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7243
    CFLAGS="$SAVE_CFLAGS"
7244
  fi
7245
  ;;
7246
sparc*-*solaris*)
7247
  # Find out which ABI we are using.
7248
  echo 'int i;' > conftest.$ac_ext
7249
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7250
  (eval $ac_compile) 2>&5
7251
  ac_status=$?
7252
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253
  (exit $ac_status); }; then
7254
    case `/usr/bin/file conftest.o` in
7255
    *64-bit*)
7256
      case $lt_cv_prog_gnu_ld in
7257
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7258
      *)
7259
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7260
          LD="${LD-ld} -64"
7261
        fi
7262
        ;;
7263
      esac
7264
      ;;
7265
    esac
7266
  fi
7267
  rm -rf conftest*
7268
  ;;
7269
esac
7270
 
7271
need_locks="$enable_libtool_lock"
7272
 
7273
 
7274
  case $host_os in
7275
    rhapsody* | darwin*)
7276
    if test -n "$ac_tool_prefix"; then
7277
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7278
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7279
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7280
$as_echo_n "checking for $ac_word... " >&6; }
7281
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7282
  $as_echo_n "(cached) " >&6
7283
else
7284
  if test -n "$DSYMUTIL"; then
7285
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7286
else
7287
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7288
for as_dir in $PATH
7289
do
7290
  IFS=$as_save_IFS
7291
  test -z "$as_dir" && as_dir=.
7292
  for ac_exec_ext in '' $ac_executable_extensions; do
7293
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7294
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7295
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7296
    break 2
7297
  fi
7298
done
7299
done
7300
IFS=$as_save_IFS
7301
 
7302
fi
7303
fi
7304
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7305
if test -n "$DSYMUTIL"; then
7306
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7307
$as_echo "$DSYMUTIL" >&6; }
7308
else
7309
  { $as_echo "$as_me:$LINENO: result: no" >&5
7310
$as_echo "no" >&6; }
7311
fi
7312
 
7313
 
7314
fi
7315
if test -z "$ac_cv_prog_DSYMUTIL"; then
7316
  ac_ct_DSYMUTIL=$DSYMUTIL
7317
  # Extract the first word of "dsymutil", so it can be a program name with args.
7318
set dummy dsymutil; ac_word=$2
7319
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7320
$as_echo_n "checking for $ac_word... " >&6; }
7321
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7322
  $as_echo_n "(cached) " >&6
7323
else
7324
  if test -n "$ac_ct_DSYMUTIL"; then
7325
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7326
else
7327
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328
for as_dir in $PATH
7329
do
7330
  IFS=$as_save_IFS
7331
  test -z "$as_dir" && as_dir=.
7332
  for ac_exec_ext in '' $ac_executable_extensions; do
7333
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7334
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7335
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7336
    break 2
7337
  fi
7338
done
7339
done
7340
IFS=$as_save_IFS
7341
 
7342
fi
7343
fi
7344
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7345
if test -n "$ac_ct_DSYMUTIL"; then
7346
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7347
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7348
else
7349
  { $as_echo "$as_me:$LINENO: result: no" >&5
7350
$as_echo "no" >&6; }
7351
fi
7352
 
7353
  if test "x$ac_ct_DSYMUTIL" = x; then
7354
    DSYMUTIL=":"
7355
  else
7356
    case $cross_compiling:$ac_tool_warned in
7357
yes:)
7358
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7359
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7360
ac_tool_warned=yes ;;
7361
esac
7362
    DSYMUTIL=$ac_ct_DSYMUTIL
7363
  fi
7364
else
7365
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7366
fi
7367
 
7368
    if test -n "$ac_tool_prefix"; then
7369
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7370
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7371
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7372
$as_echo_n "checking for $ac_word... " >&6; }
7373
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7374
  $as_echo_n "(cached) " >&6
7375
else
7376
  if test -n "$NMEDIT"; then
7377
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7378
else
7379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380
for as_dir in $PATH
7381
do
7382
  IFS=$as_save_IFS
7383
  test -z "$as_dir" && as_dir=.
7384
  for ac_exec_ext in '' $ac_executable_extensions; do
7385
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7387
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7388
    break 2
7389
  fi
7390
done
7391
done
7392
IFS=$as_save_IFS
7393
 
7394
fi
7395
fi
7396
NMEDIT=$ac_cv_prog_NMEDIT
7397
if test -n "$NMEDIT"; then
7398
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7399
$as_echo "$NMEDIT" >&6; }
7400
else
7401
  { $as_echo "$as_me:$LINENO: result: no" >&5
7402
$as_echo "no" >&6; }
7403
fi
7404
 
7405
 
7406
fi
7407
if test -z "$ac_cv_prog_NMEDIT"; then
7408
  ac_ct_NMEDIT=$NMEDIT
7409
  # Extract the first word of "nmedit", so it can be a program name with args.
7410
set dummy nmedit; ac_word=$2
7411
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7412
$as_echo_n "checking for $ac_word... " >&6; }
7413
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7414
  $as_echo_n "(cached) " >&6
7415
else
7416
  if test -n "$ac_ct_NMEDIT"; then
7417
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7418
else
7419
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420
for as_dir in $PATH
7421
do
7422
  IFS=$as_save_IFS
7423
  test -z "$as_dir" && as_dir=.
7424
  for ac_exec_ext in '' $ac_executable_extensions; do
7425
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7427
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7428
    break 2
7429
  fi
7430
done
7431
done
7432
IFS=$as_save_IFS
7433
 
7434
fi
7435
fi
7436
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7437
if test -n "$ac_ct_NMEDIT"; then
7438
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7439
$as_echo "$ac_ct_NMEDIT" >&6; }
7440
else
7441
  { $as_echo "$as_me:$LINENO: result: no" >&5
7442
$as_echo "no" >&6; }
7443
fi
7444
 
7445
  if test "x$ac_ct_NMEDIT" = x; then
7446
    NMEDIT=":"
7447
  else
7448
    case $cross_compiling:$ac_tool_warned in
7449
yes:)
7450
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7451
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7452
ac_tool_warned=yes ;;
7453
esac
7454
    NMEDIT=$ac_ct_NMEDIT
7455
  fi
7456
else
7457
  NMEDIT="$ac_cv_prog_NMEDIT"
7458
fi
7459
 
7460
    if test -n "$ac_tool_prefix"; then
7461
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7462
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7463
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7464
$as_echo_n "checking for $ac_word... " >&6; }
7465
if test "${ac_cv_prog_LIPO+set}" = set; then
7466
  $as_echo_n "(cached) " >&6
7467
else
7468
  if test -n "$LIPO"; then
7469
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7470
else
7471
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7472
for as_dir in $PATH
7473
do
7474
  IFS=$as_save_IFS
7475
  test -z "$as_dir" && as_dir=.
7476
  for ac_exec_ext in '' $ac_executable_extensions; do
7477
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7478
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7479
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7480
    break 2
7481
  fi
7482
done
7483
done
7484
IFS=$as_save_IFS
7485
 
7486
fi
7487
fi
7488
LIPO=$ac_cv_prog_LIPO
7489
if test -n "$LIPO"; then
7490
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7491
$as_echo "$LIPO" >&6; }
7492
else
7493
  { $as_echo "$as_me:$LINENO: result: no" >&5
7494
$as_echo "no" >&6; }
7495
fi
7496
 
7497
 
7498
fi
7499
if test -z "$ac_cv_prog_LIPO"; then
7500
  ac_ct_LIPO=$LIPO
7501
  # Extract the first word of "lipo", so it can be a program name with args.
7502
set dummy lipo; ac_word=$2
7503
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7504
$as_echo_n "checking for $ac_word... " >&6; }
7505
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7506
  $as_echo_n "(cached) " >&6
7507
else
7508
  if test -n "$ac_ct_LIPO"; then
7509
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7510
else
7511
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7512
for as_dir in $PATH
7513
do
7514
  IFS=$as_save_IFS
7515
  test -z "$as_dir" && as_dir=.
7516
  for ac_exec_ext in '' $ac_executable_extensions; do
7517
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7518
    ac_cv_prog_ac_ct_LIPO="lipo"
7519
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7520
    break 2
7521
  fi
7522
done
7523
done
7524
IFS=$as_save_IFS
7525
 
7526
fi
7527
fi
7528
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7529
if test -n "$ac_ct_LIPO"; then
7530
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7531
$as_echo "$ac_ct_LIPO" >&6; }
7532
else
7533
  { $as_echo "$as_me:$LINENO: result: no" >&5
7534
$as_echo "no" >&6; }
7535
fi
7536
 
7537
  if test "x$ac_ct_LIPO" = x; then
7538
    LIPO=":"
7539
  else
7540
    case $cross_compiling:$ac_tool_warned in
7541
yes:)
7542
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7543
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7544
ac_tool_warned=yes ;;
7545
esac
7546
    LIPO=$ac_ct_LIPO
7547
  fi
7548
else
7549
  LIPO="$ac_cv_prog_LIPO"
7550
fi
7551
 
7552
    if test -n "$ac_tool_prefix"; then
7553
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7554
set dummy ${ac_tool_prefix}otool; ac_word=$2
7555
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7556
$as_echo_n "checking for $ac_word... " >&6; }
7557
if test "${ac_cv_prog_OTOOL+set}" = set; then
7558
  $as_echo_n "(cached) " >&6
7559
else
7560
  if test -n "$OTOOL"; then
7561
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7562
else
7563
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7564
for as_dir in $PATH
7565
do
7566
  IFS=$as_save_IFS
7567
  test -z "$as_dir" && as_dir=.
7568
  for ac_exec_ext in '' $ac_executable_extensions; do
7569
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7570
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7571
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7572
    break 2
7573
  fi
7574
done
7575
done
7576
IFS=$as_save_IFS
7577
 
7578
fi
7579
fi
7580
OTOOL=$ac_cv_prog_OTOOL
7581
if test -n "$OTOOL"; then
7582
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7583
$as_echo "$OTOOL" >&6; }
7584
else
7585
  { $as_echo "$as_me:$LINENO: result: no" >&5
7586
$as_echo "no" >&6; }
7587
fi
7588
 
7589
 
7590
fi
7591
if test -z "$ac_cv_prog_OTOOL"; then
7592
  ac_ct_OTOOL=$OTOOL
7593
  # Extract the first word of "otool", so it can be a program name with args.
7594
set dummy otool; ac_word=$2
7595
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7596
$as_echo_n "checking for $ac_word... " >&6; }
7597
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7598
  $as_echo_n "(cached) " >&6
7599
else
7600
  if test -n "$ac_ct_OTOOL"; then
7601
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7602
else
7603
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7604
for as_dir in $PATH
7605
do
7606
  IFS=$as_save_IFS
7607
  test -z "$as_dir" && as_dir=.
7608
  for ac_exec_ext in '' $ac_executable_extensions; do
7609
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7610
    ac_cv_prog_ac_ct_OTOOL="otool"
7611
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7612
    break 2
7613
  fi
7614
done
7615
done
7616
IFS=$as_save_IFS
7617
 
7618
fi
7619
fi
7620
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7621
if test -n "$ac_ct_OTOOL"; then
7622
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7623
$as_echo "$ac_ct_OTOOL" >&6; }
7624
else
7625
  { $as_echo "$as_me:$LINENO: result: no" >&5
7626
$as_echo "no" >&6; }
7627
fi
7628
 
7629
  if test "x$ac_ct_OTOOL" = x; then
7630
    OTOOL=":"
7631
  else
7632
    case $cross_compiling:$ac_tool_warned in
7633
yes:)
7634
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7635
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7636
ac_tool_warned=yes ;;
7637
esac
7638
    OTOOL=$ac_ct_OTOOL
7639
  fi
7640
else
7641
  OTOOL="$ac_cv_prog_OTOOL"
7642
fi
7643
 
7644
    if test -n "$ac_tool_prefix"; then
7645
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7646
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7647
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7648
$as_echo_n "checking for $ac_word... " >&6; }
7649
if test "${ac_cv_prog_OTOOL64+set}" = set; then
7650
  $as_echo_n "(cached) " >&6
7651
else
7652
  if test -n "$OTOOL64"; then
7653
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7654
else
7655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7656
for as_dir in $PATH
7657
do
7658
  IFS=$as_save_IFS
7659
  test -z "$as_dir" && as_dir=.
7660
  for ac_exec_ext in '' $ac_executable_extensions; do
7661
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7662
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7663
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7664
    break 2
7665
  fi
7666
done
7667
done
7668
IFS=$as_save_IFS
7669
 
7670
fi
7671
fi
7672
OTOOL64=$ac_cv_prog_OTOOL64
7673
if test -n "$OTOOL64"; then
7674
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7675
$as_echo "$OTOOL64" >&6; }
7676
else
7677
  { $as_echo "$as_me:$LINENO: result: no" >&5
7678
$as_echo "no" >&6; }
7679
fi
7680
 
7681
 
7682
fi
7683
if test -z "$ac_cv_prog_OTOOL64"; then
7684
  ac_ct_OTOOL64=$OTOOL64
7685
  # Extract the first word of "otool64", so it can be a program name with args.
7686
set dummy otool64; ac_word=$2
7687
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7688
$as_echo_n "checking for $ac_word... " >&6; }
7689
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7690
  $as_echo_n "(cached) " >&6
7691
else
7692
  if test -n "$ac_ct_OTOOL64"; then
7693
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7694
else
7695
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7696
for as_dir in $PATH
7697
do
7698
  IFS=$as_save_IFS
7699
  test -z "$as_dir" && as_dir=.
7700
  for ac_exec_ext in '' $ac_executable_extensions; do
7701
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7702
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7703
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7704
    break 2
7705
  fi
7706
done
7707
done
7708
IFS=$as_save_IFS
7709
 
7710
fi
7711
fi
7712
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7713
if test -n "$ac_ct_OTOOL64"; then
7714
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7715
$as_echo "$ac_ct_OTOOL64" >&6; }
7716
else
7717
  { $as_echo "$as_me:$LINENO: result: no" >&5
7718
$as_echo "no" >&6; }
7719
fi
7720
 
7721
  if test "x$ac_ct_OTOOL64" = x; then
7722
    OTOOL64=":"
7723
  else
7724
    case $cross_compiling:$ac_tool_warned in
7725
yes:)
7726
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7727
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7728
ac_tool_warned=yes ;;
7729
esac
7730
    OTOOL64=$ac_ct_OTOOL64
7731
  fi
7732
else
7733
  OTOOL64="$ac_cv_prog_OTOOL64"
7734
fi
7735
 
7736
 
7737
 
7738
 
7739
 
7740
 
7741
 
7742
 
7743
 
7744
 
7745
 
7746
 
7747
 
7748
 
7749
 
7750
 
7751
 
7752
 
7753
 
7754
 
7755
 
7756
 
7757
 
7758
 
7759
 
7760
 
7761
 
7762
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7763
$as_echo_n "checking for -single_module linker flag... " >&6; }
7764
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7765
  $as_echo_n "(cached) " >&6
7766
else
7767
  lt_cv_apple_cc_single_mod=no
7768
      if test -z "${LT_MULTI_MODULE}"; then
7769
        # By default we will add the -single_module flag. You can override
7770
        # by either setting the environment variable LT_MULTI_MODULE
7771
        # non-empty at configure time, or by adding -multi_module to the
7772
        # link flags.
7773
        rm -rf libconftest.dylib*
7774
        echo "int foo(void){return 1;}" > conftest.c
7775
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7776
-dynamiclib -Wl,-single_module conftest.c" >&5
7777
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7778
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7779
        _lt_result=$?
7780
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7781
          lt_cv_apple_cc_single_mod=yes
7782
        else
7783
          cat conftest.err >&5
7784
        fi
7785
        rm -rf libconftest.dylib*
7786
        rm -f conftest.*
7787
      fi
7788
fi
7789
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7790
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7791
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7792
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7793
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7794
  $as_echo_n "(cached) " >&6
7795
else
7796
  lt_cv_ld_exported_symbols_list=no
7797
      save_LDFLAGS=$LDFLAGS
7798
      echo "_main" > conftest.sym
7799
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7800
      cat >conftest.$ac_ext <<_ACEOF
7801
/* confdefs.h.  */
7802
_ACEOF
7803
cat confdefs.h >>conftest.$ac_ext
7804
cat >>conftest.$ac_ext <<_ACEOF
7805
/* end confdefs.h.  */
7806
 
7807
int
7808
main ()
7809
{
7810
 
7811
  ;
7812
  return 0;
7813
}
7814
_ACEOF
7815
rm -f conftest.$ac_objext conftest$ac_exeext
7816
if { (ac_try="$ac_link"
7817
case "(($ac_try" in
7818
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7819
  *) ac_try_echo=$ac_try;;
7820
esac
7821
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7822
$as_echo "$ac_try_echo") >&5
7823
  (eval "$ac_link") 2>conftest.er1
7824
  ac_status=$?
7825
  grep -v '^ *+' conftest.er1 >conftest.err
7826
  rm -f conftest.er1
7827
  cat conftest.err >&5
7828
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829
  (exit $ac_status); } && {
7830
         test -z "$ac_c_werror_flag" ||
7831
         test ! -s conftest.err
7832
       } && test -s conftest$ac_exeext && {
7833
         test "$cross_compiling" = yes ||
7834
         $as_test_x conftest$ac_exeext
7835
       }; then
7836
  lt_cv_ld_exported_symbols_list=yes
7837
else
7838
  $as_echo "$as_me: failed program was:" >&5
7839
sed 's/^/| /' conftest.$ac_ext >&5
7840
 
7841
        lt_cv_ld_exported_symbols_list=no
7842
fi
7843
 
7844
rm -rf conftest.dSYM
7845
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7846
      conftest$ac_exeext conftest.$ac_ext
7847
        LDFLAGS="$save_LDFLAGS"
7848
 
7849
fi
7850
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7851
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7852
    case $host_os in
7853
    rhapsody* | darwin1.[012])
7854
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7855
    darwin1.*)
7856
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7857
    darwin*) # darwin 5.x on
7858
      # if running on 10.5 or later, the deployment target defaults
7859
      # to the OS version, if on x86, and 10.4, the deployment
7860
      # target defaults to 10.4. Don't you love it?
7861
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7862
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7863
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7864
        10.[012]*)
7865
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7866
        10.*)
7867
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7868
      esac
7869
    ;;
7870
  esac
7871
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7872
      _lt_dar_single_mod='$single_module'
7873
    fi
7874
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7875
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7876
    else
7877
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7878
    fi
7879
    if test "$DSYMUTIL" != ":"; then
7880
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7881
    else
7882
      _lt_dsymutil=
7883
    fi
7884
    ;;
7885
  esac
7886
 
7887
ac_ext=c
7888
ac_cpp='$CPP $CPPFLAGS'
7889
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7890
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7891
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7892
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7893
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7894
# On Suns, sometimes $CPP names a directory.
7895
if test -n "$CPP" && test -d "$CPP"; then
7896
  CPP=
7897
fi
7898
if test -z "$CPP"; then
7899
  if test "${ac_cv_prog_CPP+set}" = set; then
7900
  $as_echo_n "(cached) " >&6
7901
else
7902
      # Double quotes because CPP needs to be expanded
7903
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7904
    do
7905
      ac_preproc_ok=false
7906
for ac_c_preproc_warn_flag in '' yes
7907
do
7908
  # Use a header file that comes with gcc, so configuring glibc
7909
  # with a fresh cross-compiler works.
7910
  # Prefer  to  if __STDC__ is defined, since
7911
  #  exists even on freestanding compilers.
7912
  # On the NeXT, cc -E runs the code through the compiler's parser,
7913
  # not just through cpp. "Syntax error" is here to catch this case.
7914
  cat >conftest.$ac_ext <<_ACEOF
7915
/* confdefs.h.  */
7916
_ACEOF
7917
cat confdefs.h >>conftest.$ac_ext
7918
cat >>conftest.$ac_ext <<_ACEOF
7919
/* end confdefs.h.  */
7920
#ifdef __STDC__
7921
# include 
7922
#else
7923
# include 
7924
#endif
7925
                     Syntax error
7926
_ACEOF
7927
if { (ac_try="$ac_cpp conftest.$ac_ext"
7928
case "(($ac_try" in
7929
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7930
  *) ac_try_echo=$ac_try;;
7931
esac
7932
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7933
$as_echo "$ac_try_echo") >&5
7934
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7935
  ac_status=$?
7936
  grep -v '^ *+' conftest.er1 >conftest.err
7937
  rm -f conftest.er1
7938
  cat conftest.err >&5
7939
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940
  (exit $ac_status); } >/dev/null && {
7941
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7942
         test ! -s conftest.err
7943
       }; then
7944
  :
7945
else
7946
  $as_echo "$as_me: failed program was:" >&5
7947
sed 's/^/| /' conftest.$ac_ext >&5
7948
 
7949
  # Broken: fails on valid input.
7950
continue
7951
fi
7952
 
7953
rm -f conftest.err conftest.$ac_ext
7954
 
7955
  # OK, works on sane cases.  Now check whether nonexistent headers
7956
  # can be detected and how.
7957
  cat >conftest.$ac_ext <<_ACEOF
7958
/* confdefs.h.  */
7959
_ACEOF
7960
cat confdefs.h >>conftest.$ac_ext
7961
cat >>conftest.$ac_ext <<_ACEOF
7962
/* end confdefs.h.  */
7963
#include 
7964
_ACEOF
7965
if { (ac_try="$ac_cpp conftest.$ac_ext"
7966
case "(($ac_try" in
7967
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7968
  *) ac_try_echo=$ac_try;;
7969
esac
7970
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7971
$as_echo "$ac_try_echo") >&5
7972
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7973
  ac_status=$?
7974
  grep -v '^ *+' conftest.er1 >conftest.err
7975
  rm -f conftest.er1
7976
  cat conftest.err >&5
7977
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978
  (exit $ac_status); } >/dev/null && {
7979
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7980
         test ! -s conftest.err
7981
       }; then
7982
  # Broken: success on invalid input.
7983
continue
7984
else
7985
  $as_echo "$as_me: failed program was:" >&5
7986
sed 's/^/| /' conftest.$ac_ext >&5
7987
 
7988
  # Passes both tests.
7989
ac_preproc_ok=:
7990
break
7991
fi
7992
 
7993
rm -f conftest.err conftest.$ac_ext
7994
 
7995
done
7996
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7997
rm -f conftest.err conftest.$ac_ext
7998
if $ac_preproc_ok; then
7999
  break
8000
fi
8001
 
8002
    done
8003
    ac_cv_prog_CPP=$CPP
8004
 
8005
fi
8006
  CPP=$ac_cv_prog_CPP
8007
else
8008
  ac_cv_prog_CPP=$CPP
8009
fi
8010
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
8011
$as_echo "$CPP" >&6; }
8012
ac_preproc_ok=false
8013
for ac_c_preproc_warn_flag in '' yes
8014
do
8015
  # Use a header file that comes with gcc, so configuring glibc
8016
  # with a fresh cross-compiler works.
8017
  # Prefer  to  if __STDC__ is defined, since
8018
  #  exists even on freestanding compilers.
8019
  # On the NeXT, cc -E runs the code through the compiler's parser,
8020
  # not just through cpp. "Syntax error" is here to catch this case.
8021
  cat >conftest.$ac_ext <<_ACEOF
8022
/* confdefs.h.  */
8023
_ACEOF
8024
cat confdefs.h >>conftest.$ac_ext
8025
cat >>conftest.$ac_ext <<_ACEOF
8026
/* end confdefs.h.  */
8027
#ifdef __STDC__
8028
# include 
8029
#else
8030
# include 
8031
#endif
8032
                     Syntax error
8033
_ACEOF
8034
if { (ac_try="$ac_cpp conftest.$ac_ext"
8035
case "(($ac_try" in
8036
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8037
  *) ac_try_echo=$ac_try;;
8038
esac
8039
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8040
$as_echo "$ac_try_echo") >&5
8041
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8042
  ac_status=$?
8043
  grep -v '^ *+' conftest.er1 >conftest.err
8044
  rm -f conftest.er1
8045
  cat conftest.err >&5
8046
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047
  (exit $ac_status); } >/dev/null && {
8048
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8049
         test ! -s conftest.err
8050
       }; then
8051
  :
8052
else
8053
  $as_echo "$as_me: failed program was:" >&5
8054
sed 's/^/| /' conftest.$ac_ext >&5
8055
 
8056
  # Broken: fails on valid input.
8057
continue
8058
fi
8059
 
8060
rm -f conftest.err conftest.$ac_ext
8061
 
8062
  # OK, works on sane cases.  Now check whether nonexistent headers
8063
  # can be detected and how.
8064
  cat >conftest.$ac_ext <<_ACEOF
8065
/* confdefs.h.  */
8066
_ACEOF
8067
cat confdefs.h >>conftest.$ac_ext
8068
cat >>conftest.$ac_ext <<_ACEOF
8069
/* end confdefs.h.  */
8070
#include 
8071
_ACEOF
8072
if { (ac_try="$ac_cpp conftest.$ac_ext"
8073
case "(($ac_try" in
8074
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8075
  *) ac_try_echo=$ac_try;;
8076
esac
8077
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8078
$as_echo "$ac_try_echo") >&5
8079
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8080
  ac_status=$?
8081
  grep -v '^ *+' conftest.er1 >conftest.err
8082
  rm -f conftest.er1
8083
  cat conftest.err >&5
8084
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085
  (exit $ac_status); } >/dev/null && {
8086
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8087
         test ! -s conftest.err
8088
       }; then
8089
  # Broken: success on invalid input.
8090
continue
8091
else
8092
  $as_echo "$as_me: failed program was:" >&5
8093
sed 's/^/| /' conftest.$ac_ext >&5
8094
 
8095
  # Passes both tests.
8096
ac_preproc_ok=:
8097
break
8098
fi
8099
 
8100
rm -f conftest.err conftest.$ac_ext
8101
 
8102
done
8103
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8104
rm -f conftest.err conftest.$ac_ext
8105
if $ac_preproc_ok; then
8106
  :
8107
else
8108
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8109
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8110
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
8111
See \`config.log' for more details." >&5
8112
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
8113
See \`config.log' for more details." >&2;}
8114
   { (exit 1); exit 1; }; }; }
8115
fi
8116
 
8117
ac_ext=c
8118
ac_cpp='$CPP $CPPFLAGS'
8119
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8120
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8121
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8122
 
8123
 
8124
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8125
$as_echo_n "checking for ANSI C header files... " >&6; }
8126
if test "${ac_cv_header_stdc+set}" = set; then
8127
  $as_echo_n "(cached) " >&6
8128
else
8129
  cat >conftest.$ac_ext <<_ACEOF
8130
/* confdefs.h.  */
8131
_ACEOF
8132
cat confdefs.h >>conftest.$ac_ext
8133
cat >>conftest.$ac_ext <<_ACEOF
8134
/* end confdefs.h.  */
8135
#include 
8136
#include 
8137
#include 
8138
#include 
8139
 
8140
int
8141
main ()
8142
{
8143
 
8144
  ;
8145
  return 0;
8146
}
8147
_ACEOF
8148
rm -f conftest.$ac_objext
8149
if { (ac_try="$ac_compile"
8150
case "(($ac_try" in
8151
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8152
  *) ac_try_echo=$ac_try;;
8153
esac
8154
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8155
$as_echo "$ac_try_echo") >&5
8156
  (eval "$ac_compile") 2>conftest.er1
8157
  ac_status=$?
8158
  grep -v '^ *+' conftest.er1 >conftest.err
8159
  rm -f conftest.er1
8160
  cat conftest.err >&5
8161
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162
  (exit $ac_status); } && {
8163
         test -z "$ac_c_werror_flag" ||
8164
         test ! -s conftest.err
8165
       } && test -s conftest.$ac_objext; then
8166
  ac_cv_header_stdc=yes
8167
else
8168
  $as_echo "$as_me: failed program was:" >&5
8169
sed 's/^/| /' conftest.$ac_ext >&5
8170
 
8171
        ac_cv_header_stdc=no
8172
fi
8173
 
8174
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8175
 
8176
if test $ac_cv_header_stdc = yes; then
8177
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8178
  cat >conftest.$ac_ext <<_ACEOF
8179
/* confdefs.h.  */
8180
_ACEOF
8181
cat confdefs.h >>conftest.$ac_ext
8182
cat >>conftest.$ac_ext <<_ACEOF
8183
/* end confdefs.h.  */
8184
#include 
8185
 
8186
_ACEOF
8187
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8188
  $EGREP "memchr" >/dev/null 2>&1; then
8189
  :
8190
else
8191
  ac_cv_header_stdc=no
8192
fi
8193
rm -f conftest*
8194
 
8195
fi
8196
 
8197
if test $ac_cv_header_stdc = yes; then
8198
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8199
  cat >conftest.$ac_ext <<_ACEOF
8200
/* confdefs.h.  */
8201
_ACEOF
8202
cat confdefs.h >>conftest.$ac_ext
8203
cat >>conftest.$ac_ext <<_ACEOF
8204
/* end confdefs.h.  */
8205
#include 
8206
 
8207
_ACEOF
8208
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8209
  $EGREP "free" >/dev/null 2>&1; then
8210
  :
8211
else
8212
  ac_cv_header_stdc=no
8213
fi
8214
rm -f conftest*
8215
 
8216
fi
8217
 
8218
if test $ac_cv_header_stdc = yes; then
8219
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8220
  if test "$cross_compiling" = yes; then
8221
  :
8222
else
8223
  cat >conftest.$ac_ext <<_ACEOF
8224
/* confdefs.h.  */
8225
_ACEOF
8226
cat confdefs.h >>conftest.$ac_ext
8227
cat >>conftest.$ac_ext <<_ACEOF
8228
/* end confdefs.h.  */
8229
#include 
8230
#include 
8231
#if ((' ' & 0x0FF) == 0x020)
8232
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8233
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8234
#else
8235
# define ISLOWER(c) \
8236
                   (('a' <= (c) && (c) <= 'i') \
8237
                     || ('j' <= (c) && (c) <= 'r') \
8238
                     || ('s' <= (c) && (c) <= 'z'))
8239
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8240
#endif
8241
 
8242
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8243
int
8244
main ()
8245
{
8246
  int i;
8247
  for (i = 0; i < 256; i++)
8248
    if (XOR (islower (i), ISLOWER (i))
8249
        || toupper (i) != TOUPPER (i))
8250
      return 2;
8251
  return 0;
8252
}
8253
_ACEOF
8254
rm -f conftest$ac_exeext
8255
if { (ac_try="$ac_link"
8256
case "(($ac_try" in
8257
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8258
  *) ac_try_echo=$ac_try;;
8259
esac
8260
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8261
$as_echo "$ac_try_echo") >&5
8262
  (eval "$ac_link") 2>&5
8263
  ac_status=$?
8264
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8266
  { (case "(($ac_try" in
8267
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8268
  *) ac_try_echo=$ac_try;;
8269
esac
8270
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8271
$as_echo "$ac_try_echo") >&5
8272
  (eval "$ac_try") 2>&5
8273
  ac_status=$?
8274
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275
  (exit $ac_status); }; }; then
8276
  :
8277
else
8278
  $as_echo "$as_me: program exited with status $ac_status" >&5
8279
$as_echo "$as_me: failed program was:" >&5
8280
sed 's/^/| /' conftest.$ac_ext >&5
8281
 
8282
( exit $ac_status )
8283
ac_cv_header_stdc=no
8284
fi
8285
rm -rf conftest.dSYM
8286
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8287
fi
8288
 
8289
 
8290
fi
8291
fi
8292
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8293
$as_echo "$ac_cv_header_stdc" >&6; }
8294
if test $ac_cv_header_stdc = yes; then
8295
 
8296
cat >>confdefs.h <<\_ACEOF
8297
#define STDC_HEADERS 1
8298
_ACEOF
8299
 
8300
fi
8301
 
8302
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8303
 
8304
 
8305
 
8306
 
8307
 
8308
 
8309
 
8310
 
8311
 
8312
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8313
                  inttypes.h stdint.h unistd.h
8314
do
8315
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8316
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8317
$as_echo_n "checking for $ac_header... " >&6; }
8318
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8319
  $as_echo_n "(cached) " >&6
8320
else
8321
  cat >conftest.$ac_ext <<_ACEOF
8322
/* confdefs.h.  */
8323
_ACEOF
8324
cat confdefs.h >>conftest.$ac_ext
8325
cat >>conftest.$ac_ext <<_ACEOF
8326
/* end confdefs.h.  */
8327
$ac_includes_default
8328
 
8329
#include <$ac_header>
8330
_ACEOF
8331
rm -f conftest.$ac_objext
8332
if { (ac_try="$ac_compile"
8333
case "(($ac_try" in
8334
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8335
  *) ac_try_echo=$ac_try;;
8336
esac
8337
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8338
$as_echo "$ac_try_echo") >&5
8339
  (eval "$ac_compile") 2>conftest.er1
8340
  ac_status=$?
8341
  grep -v '^ *+' conftest.er1 >conftest.err
8342
  rm -f conftest.er1
8343
  cat conftest.err >&5
8344
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345
  (exit $ac_status); } && {
8346
         test -z "$ac_c_werror_flag" ||
8347
         test ! -s conftest.err
8348
       } && test -s conftest.$ac_objext; then
8349
  eval "$as_ac_Header=yes"
8350
else
8351
  $as_echo "$as_me: failed program was:" >&5
8352
sed 's/^/| /' conftest.$ac_ext >&5
8353
 
8354
        eval "$as_ac_Header=no"
8355
fi
8356
 
8357
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8358
fi
8359
ac_res=`eval 'as_val=${'$as_ac_Header'}
8360
                 $as_echo "$as_val"'`
8361
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8362
$as_echo "$ac_res" >&6; }
8363
as_val=`eval 'as_val=${'$as_ac_Header'}
8364
                 $as_echo "$as_val"'`
8365
   if test "x$as_val" = x""yes; then
8366
  cat >>confdefs.h <<_ACEOF
8367
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8368
_ACEOF
8369
 
8370
fi
8371
 
8372
done
8373
 
8374
 
8375
 
8376
for ac_header in dlfcn.h
8377
do
8378
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8379
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8380
$as_echo_n "checking for $ac_header... " >&6; }
8381
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8382
  $as_echo_n "(cached) " >&6
8383
else
8384
  cat >conftest.$ac_ext <<_ACEOF
8385
/* confdefs.h.  */
8386
_ACEOF
8387
cat confdefs.h >>conftest.$ac_ext
8388
cat >>conftest.$ac_ext <<_ACEOF
8389
/* end confdefs.h.  */
8390
$ac_includes_default
8391
 
8392
#include <$ac_header>
8393
_ACEOF
8394
rm -f conftest.$ac_objext
8395
if { (ac_try="$ac_compile"
8396
case "(($ac_try" in
8397
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8398
  *) ac_try_echo=$ac_try;;
8399
esac
8400
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8401
$as_echo "$ac_try_echo") >&5
8402
  (eval "$ac_compile") 2>conftest.er1
8403
  ac_status=$?
8404
  grep -v '^ *+' conftest.er1 >conftest.err
8405
  rm -f conftest.er1
8406
  cat conftest.err >&5
8407
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408
  (exit $ac_status); } && {
8409
         test -z "$ac_c_werror_flag" ||
8410
         test ! -s conftest.err
8411
       } && test -s conftest.$ac_objext; then
8412
  eval "$as_ac_Header=yes"
8413
else
8414
  $as_echo "$as_me: failed program was:" >&5
8415
sed 's/^/| /' conftest.$ac_ext >&5
8416
 
8417
        eval "$as_ac_Header=no"
8418
fi
8419
 
8420
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8421
fi
8422
ac_res=`eval 'as_val=${'$as_ac_Header'}
8423
                 $as_echo "$as_val"'`
8424
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8425
$as_echo "$ac_res" >&6; }
8426
as_val=`eval 'as_val=${'$as_ac_Header'}
8427
                 $as_echo "$as_val"'`
8428
   if test "x$as_val" = x""yes; then
8429
  cat >>confdefs.h <<_ACEOF
8430
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8431
_ACEOF
8432
 
8433
fi
8434
 
8435
done
8436
 
8437
 
8438
 
8439
# Set options
8440
 
8441
 
8442
 
8443
        enable_dlopen=no
8444
 
8445
 
8446
 
8447
            # Check whether --enable-shared was given.
8448
if test "${enable_shared+set}" = set; then
8449
  enableval=$enable_shared; p=${PACKAGE-default}
8450
    case $enableval in
8451
    yes) enable_shared=yes ;;
8452
    no) enable_shared=no ;;
8453
    *)
8454
      enable_shared=no
8455
      # Look at the argument we got.  We use all the common list separators.
8456
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8457
      for pkg in $enableval; do
8458
        IFS="$lt_save_ifs"
8459
        if test "X$pkg" = "X$p"; then
8460
          enable_shared=yes
8461
        fi
8462
      done
8463
      IFS="$lt_save_ifs"
8464
      ;;
8465
    esac
8466
else
8467
  enable_shared=yes
8468
fi
8469
 
8470
 
8471
 
8472
 
8473
 
8474
 
8475
 
8476
 
8477
 
8478
  # Check whether --enable-static was given.
8479
if test "${enable_static+set}" = set; then
8480
  enableval=$enable_static; p=${PACKAGE-default}
8481
    case $enableval in
8482
    yes) enable_static=yes ;;
8483
    no) enable_static=no ;;
8484
    *)
8485
     enable_static=no
8486
      # Look at the argument we got.  We use all the common list separators.
8487
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8488
      for pkg in $enableval; do
8489
        IFS="$lt_save_ifs"
8490
        if test "X$pkg" = "X$p"; then
8491
          enable_static=yes
8492
        fi
8493
      done
8494
      IFS="$lt_save_ifs"
8495
      ;;
8496
    esac
8497
else
8498
  enable_static=yes
8499
fi
8500
 
8501
 
8502
 
8503
 
8504
 
8505
 
8506
 
8507
 
8508
 
8509
 
8510
# Check whether --with-pic was given.
8511
if test "${with_pic+set}" = set; then
8512
  withval=$with_pic; pic_mode="$withval"
8513
else
8514
  pic_mode=default
8515
fi
8516
 
8517
 
8518
test -z "$pic_mode" && pic_mode=default
8519
 
8520
 
8521
 
8522
 
8523
 
8524
 
8525
 
8526
  # Check whether --enable-fast-install was given.
8527
if test "${enable_fast_install+set}" = set; then
8528
  enableval=$enable_fast_install; p=${PACKAGE-default}
8529
    case $enableval in
8530
    yes) enable_fast_install=yes ;;
8531
    no) enable_fast_install=no ;;
8532
    *)
8533
      enable_fast_install=no
8534
      # Look at the argument we got.  We use all the common list separators.
8535
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8536
      for pkg in $enableval; do
8537
        IFS="$lt_save_ifs"
8538
        if test "X$pkg" = "X$p"; then
8539
          enable_fast_install=yes
8540
        fi
8541
      done
8542
      IFS="$lt_save_ifs"
8543
      ;;
8544
    esac
8545
else
8546
  enable_fast_install=yes
8547
fi
8548
 
8549
 
8550
 
8551
 
8552
 
8553
 
8554
 
8555
 
8556
 
8557
 
8558
 
8559
# This can be used to rebuild libtool when needed
8560
LIBTOOL_DEPS="$ltmain"
8561
 
8562
# Always use our own libtool.
8563
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8564
 
8565
 
8566
 
8567
 
8568
 
8569
 
8570
 
8571
 
8572
 
8573
 
8574
 
8575
 
8576
 
8577
 
8578
 
8579
 
8580
 
8581
 
8582
 
8583
 
8584
 
8585
 
8586
 
8587
 
8588
 
8589
test -z "$LN_S" && LN_S="ln -s"
8590
 
8591
 
8592
 
8593
 
8594
 
8595
 
8596
 
8597
 
8598
 
8599
 
8600
 
8601
 
8602
 
8603
 
8604
if test -n "${ZSH_VERSION+set}" ; then
8605
   setopt NO_GLOB_SUBST
8606
fi
8607
 
8608
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
8609
$as_echo_n "checking for objdir... " >&6; }
8610
if test "${lt_cv_objdir+set}" = set; then
8611
  $as_echo_n "(cached) " >&6
8612
else
8613
  rm -f .libs 2>/dev/null
8614
mkdir .libs 2>/dev/null
8615
if test -d .libs; then
8616
  lt_cv_objdir=.libs
8617
else
8618
  # MS-DOS does not allow filenames that begin with a dot.
8619
  lt_cv_objdir=_libs
8620
fi
8621
rmdir .libs 2>/dev/null
8622
fi
8623
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8624
$as_echo "$lt_cv_objdir" >&6; }
8625
objdir=$lt_cv_objdir
8626
 
8627
 
8628
 
8629
 
8630
 
8631
cat >>confdefs.h <<_ACEOF
8632
#define LT_OBJDIR "$lt_cv_objdir/"
8633
_ACEOF
8634
 
8635
 
8636
 
8637
 
8638
 
8639
 
8640
 
8641
 
8642
 
8643
 
8644
 
8645
 
8646
 
8647
 
8648
 
8649
 
8650
 
8651
case $host_os in
8652
aix3*)
8653
  # AIX sometimes has problems with the GCC collect2 program.  For some
8654
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8655
  # vanish in a puff of smoke.
8656
  if test "X${COLLECT_NAMES+set}" != Xset; then
8657
    COLLECT_NAMES=
8658
    export COLLECT_NAMES
8659
  fi
8660
  ;;
8661
esac
8662
 
8663
# Sed substitution that helps us do robust quoting.  It backslashifies
8664
# metacharacters that are still active within double-quoted strings.
8665
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8666
 
8667
# Same as above, but do not quote variable references.
8668
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8669
 
8670
# Sed substitution to delay expansion of an escaped shell variable in a
8671
# double_quote_subst'ed string.
8672
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8673
 
8674
# Sed substitution to delay expansion of an escaped single quote.
8675
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8676
 
8677
# Sed substitution to avoid accidental globbing in evaled expressions
8678
no_glob_subst='s/\*/\\\*/g'
8679
 
8680
# Global variables:
8681
ofile=libtool
8682
can_build_shared=yes
8683
 
8684
# All known linkers require a `.a' archive for static linking (except MSVC,
8685
# which needs '.lib').
8686
libext=a
8687
 
8688
with_gnu_ld="$lt_cv_prog_gnu_ld"
8689
 
8690
old_CC="$CC"
8691
old_CFLAGS="$CFLAGS"
8692
 
8693
# Set sane defaults for various variables
8694
test -z "$CC" && CC=cc
8695
test -z "$LTCC" && LTCC=$CC
8696
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8697
test -z "$LD" && LD=ld
8698
test -z "$ac_objext" && ac_objext=o
8699
 
8700
for cc_temp in $compiler""; do
8701
  case $cc_temp in
8702
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8703
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8704
    \-*) ;;
8705
    *) break;;
8706
  esac
8707
done
8708
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8709
 
8710
 
8711
# Only perform the check for file, if the check method requires it
8712
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8713
case $deplibs_check_method in
8714
file_magic*)
8715
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8716
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8717
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8718
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8719
  $as_echo_n "(cached) " >&6
8720
else
8721
  case $MAGIC_CMD in
8722
[\\/*] |  ?:[\\/]*)
8723
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8724
  ;;
8725
*)
8726
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8727
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8728
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8729
  for ac_dir in $ac_dummy; do
8730
    IFS="$lt_save_ifs"
8731
    test -z "$ac_dir" && ac_dir=.
8732
    if test -f $ac_dir/${ac_tool_prefix}file; then
8733
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8734
      if test -n "$file_magic_test_file"; then
8735
        case $deplibs_check_method in
8736
        "file_magic "*)
8737
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8738
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8739
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8740
            $EGREP "$file_magic_regex" > /dev/null; then
8741
            :
8742
          else
8743
            cat <<_LT_EOF 1>&2
8744
 
8745
*** Warning: the command libtool uses to detect shared libraries,
8746
*** $file_magic_cmd, produces output that libtool cannot recognize.
8747
*** The result is that libtool may fail to recognize shared libraries
8748
*** as such.  This will affect the creation of libtool libraries that
8749
*** depend on shared libraries, but programs linked with such libtool
8750
*** libraries will work regardless of this problem.  Nevertheless, you
8751
*** may want to report the problem to your system manager and/or to
8752
*** bug-libtool@gnu.org
8753
 
8754
_LT_EOF
8755
          fi ;;
8756
        esac
8757
      fi
8758
      break
8759
    fi
8760
  done
8761
  IFS="$lt_save_ifs"
8762
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8763
  ;;
8764
esac
8765
fi
8766
 
8767
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8768
if test -n "$MAGIC_CMD"; then
8769
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8770
$as_echo "$MAGIC_CMD" >&6; }
8771
else
8772
  { $as_echo "$as_me:$LINENO: result: no" >&5
8773
$as_echo "no" >&6; }
8774
fi
8775
 
8776
 
8777
 
8778
 
8779
 
8780
if test -z "$lt_cv_path_MAGIC_CMD"; then
8781
  if test -n "$ac_tool_prefix"; then
8782
    { $as_echo "$as_me:$LINENO: checking for file" >&5
8783
$as_echo_n "checking for file... " >&6; }
8784
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8785
  $as_echo_n "(cached) " >&6
8786
else
8787
  case $MAGIC_CMD in
8788
[\\/*] |  ?:[\\/]*)
8789
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8790
  ;;
8791
*)
8792
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8793
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8794
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8795
  for ac_dir in $ac_dummy; do
8796
    IFS="$lt_save_ifs"
8797
    test -z "$ac_dir" && ac_dir=.
8798
    if test -f $ac_dir/file; then
8799
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8800
      if test -n "$file_magic_test_file"; then
8801
        case $deplibs_check_method in
8802
        "file_magic "*)
8803
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8804
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8805
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8806
            $EGREP "$file_magic_regex" > /dev/null; then
8807
            :
8808
          else
8809
            cat <<_LT_EOF 1>&2
8810
 
8811
*** Warning: the command libtool uses to detect shared libraries,
8812
*** $file_magic_cmd, produces output that libtool cannot recognize.
8813
*** The result is that libtool may fail to recognize shared libraries
8814
*** as such.  This will affect the creation of libtool libraries that
8815
*** depend on shared libraries, but programs linked with such libtool
8816
*** libraries will work regardless of this problem.  Nevertheless, you
8817
*** may want to report the problem to your system manager and/or to
8818
*** bug-libtool@gnu.org
8819
 
8820
_LT_EOF
8821
          fi ;;
8822
        esac
8823
      fi
8824
      break
8825
    fi
8826
  done
8827
  IFS="$lt_save_ifs"
8828
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8829
  ;;
8830
esac
8831
fi
8832
 
8833
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8834
if test -n "$MAGIC_CMD"; then
8835
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8836
$as_echo "$MAGIC_CMD" >&6; }
8837
else
8838
  { $as_echo "$as_me:$LINENO: result: no" >&5
8839
$as_echo "no" >&6; }
8840
fi
8841
 
8842
 
8843
  else
8844
    MAGIC_CMD=:
8845
  fi
8846
fi
8847
 
8848
  fi
8849
  ;;
8850
esac
8851
 
8852
# Use C for the default configuration in the libtool script
8853
 
8854
lt_save_CC="$CC"
8855
ac_ext=c
8856
ac_cpp='$CPP $CPPFLAGS'
8857
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8858
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8859
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8860
 
8861
 
8862
# Source file extension for C test sources.
8863
ac_ext=c
8864
 
8865
# Object file extension for compiled C test sources.
8866
objext=o
8867
objext=$objext
8868
 
8869
# Code to be used in simple compile tests
8870
lt_simple_compile_test_code="int some_variable = 0;"
8871
 
8872
# Code to be used in simple link tests
8873
lt_simple_link_test_code='int main(){return(0);}'
8874
 
8875
 
8876
 
8877
 
8878
 
8879
 
8880
 
8881
# If no C compiler was specified, use CC.
8882
LTCC=${LTCC-"$CC"}
8883
 
8884
# If no C compiler flags were specified, use CFLAGS.
8885
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8886
 
8887
# Allow CC to be a program name with arguments.
8888
compiler=$CC
8889
 
8890
# Save the default compiler, since it gets overwritten when the other
8891
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8892
compiler_DEFAULT=$CC
8893
 
8894
# save warnings/boilerplate of simple test code
8895
ac_outfile=conftest.$ac_objext
8896
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8897
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8898
_lt_compiler_boilerplate=`cat conftest.err`
8899
$RM conftest*
8900
 
8901
ac_outfile=conftest.$ac_objext
8902
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8903
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8904
_lt_linker_boilerplate=`cat conftest.err`
8905
$RM -r conftest*
8906
 
8907
 
8908
## CAVEAT EMPTOR:
8909
## There is no encapsulation within the following macros, do not change
8910
## the running order or otherwise move them around unless you know exactly
8911
## what you are doing...
8912
if test -n "$compiler"; then
8913
 
8914
lt_prog_compiler_no_builtin_flag=
8915
 
8916
if test "$GCC" = yes; then
8917
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8918
 
8919
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8920
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8921
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8922
  $as_echo_n "(cached) " >&6
8923
else
8924
  lt_cv_prog_compiler_rtti_exceptions=no
8925
   ac_outfile=conftest.$ac_objext
8926
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8927
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8928
   # Insert the option either (1) after the last *FLAGS variable, or
8929
   # (2) before a word containing "conftest.", or (3) at the end.
8930
   # Note that $ac_compile itself does not contain backslashes and begins
8931
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8932
   # The option is referenced via a variable to avoid confusing sed.
8933
   lt_compile=`echo "$ac_compile" | $SED \
8934
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8935
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8936
   -e 's:$: $lt_compiler_flag:'`
8937
   (eval echo "\"\$as_me:8937: $lt_compile\"" >&5)
8938
   (eval "$lt_compile" 2>conftest.err)
8939
   ac_status=$?
8940
   cat conftest.err >&5
8941
   echo "$as_me:8941: \$? = $ac_status" >&5
8942
   if (exit $ac_status) && test -s "$ac_outfile"; then
8943
     # The compiler can only warn and ignore the option if not recognized
8944
     # So say no if there are warnings other than the usual output.
8945
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8946
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8947
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8948
       lt_cv_prog_compiler_rtti_exceptions=yes
8949
     fi
8950
   fi
8951
   $RM conftest*
8952
 
8953
fi
8954
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8955
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8956
 
8957
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8958
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8959
else
8960
    :
8961
fi
8962
 
8963
fi
8964
 
8965
 
8966
 
8967
 
8968
 
8969
 
8970
  lt_prog_compiler_wl=
8971
lt_prog_compiler_pic=
8972
lt_prog_compiler_static=
8973
 
8974
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8975
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8976
 
8977
  if test "$GCC" = yes; then
8978
    lt_prog_compiler_wl='-Wl,'
8979
    lt_prog_compiler_static='-static'
8980
 
8981
    case $host_os in
8982
      aix*)
8983
      # All AIX code is PIC.
8984
      if test "$host_cpu" = ia64; then
8985
        # AIX 5 now supports IA64 processor
8986
        lt_prog_compiler_static='-Bstatic'
8987
      fi
8988
      ;;
8989
 
8990
    amigaos*)
8991
      case $host_cpu in
8992
      powerpc)
8993
            # see comment about AmigaOS4 .so support
8994
            lt_prog_compiler_pic='-fPIC'
8995
        ;;
8996
      m68k)
8997
            # FIXME: we need at least 68020 code to build shared libraries, but
8998
            # adding the `-m68020' flag to GCC prevents building anything better,
8999
            # like `-m68040'.
9000
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9001
        ;;
9002
      esac
9003
      ;;
9004
 
9005
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9006
      # PIC is the default for these OSes.
9007
      ;;
9008
 
9009
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9010
      # This hack is so that the source file can tell whether it is being
9011
      # built for inclusion in a dll (and should export symbols for example).
9012
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9013
      # (--disable-auto-import) libraries
9014
      lt_prog_compiler_pic='-DDLL_EXPORT'
9015
      ;;
9016
 
9017
    darwin* | rhapsody*)
9018
      # PIC is the default on this platform
9019
      # Common symbols not allowed in MH_DYLIB files
9020
      lt_prog_compiler_pic='-fno-common'
9021
      ;;
9022
 
9023
    hpux*)
9024
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9025
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9026
      # sets the default TLS model and affects inlining.
9027
      case $host_cpu in
9028
      hppa*64*)
9029
        # +Z the default
9030
        ;;
9031
      *)
9032
        lt_prog_compiler_pic='-fPIC'
9033
        ;;
9034
      esac
9035
      ;;
9036
 
9037
    interix[3-9]*)
9038
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9039
      # Instead, we relocate shared libraries at runtime.
9040
      ;;
9041
 
9042
    msdosdjgpp*)
9043
      # Just because we use GCC doesn't mean we suddenly get shared libraries
9044
      # on systems that don't support them.
9045
      lt_prog_compiler_can_build_shared=no
9046
      enable_shared=no
9047
      ;;
9048
 
9049
    *nto* | *qnx*)
9050
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9051
      # it will coredump.
9052
      lt_prog_compiler_pic='-fPIC -shared'
9053
      ;;
9054
 
9055
    sysv4*MP*)
9056
      if test -d /usr/nec; then
9057
        lt_prog_compiler_pic=-Kconform_pic
9058
      fi
9059
      ;;
9060
 
9061
    *)
9062
      lt_prog_compiler_pic='-fPIC'
9063
      ;;
9064
    esac
9065
  else
9066
    # PORTME Check for flag to pass linker flags through the system compiler.
9067
    case $host_os in
9068
    aix*)
9069
      lt_prog_compiler_wl='-Wl,'
9070
      if test "$host_cpu" = ia64; then
9071
        # AIX 5 now supports IA64 processor
9072
        lt_prog_compiler_static='-Bstatic'
9073
      else
9074
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9075
      fi
9076
      ;;
9077
 
9078
    mingw* | cygwin* | pw32* | os2* | cegcc*)
9079
      # This hack is so that the source file can tell whether it is being
9080
      # built for inclusion in a dll (and should export symbols for example).
9081
      lt_prog_compiler_pic='-DDLL_EXPORT'
9082
      ;;
9083
 
9084
    hpux9* | hpux10* | hpux11*)
9085
      lt_prog_compiler_wl='-Wl,'
9086
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9087
      # not for PA HP-UX.
9088
      case $host_cpu in
9089
      hppa*64*|ia64*)
9090
        # +Z the default
9091
        ;;
9092
      *)
9093
        lt_prog_compiler_pic='+Z'
9094
        ;;
9095
      esac
9096
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9097
      lt_prog_compiler_static='${wl}-a ${wl}archive'
9098
      ;;
9099
 
9100
    irix5* | irix6* | nonstopux*)
9101
      lt_prog_compiler_wl='-Wl,'
9102
      # PIC (with -KPIC) is the default.
9103
      lt_prog_compiler_static='-non_shared'
9104
      ;;
9105
 
9106
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9107
      case $cc_basename in
9108
      # old Intel for x86_64 which still supported -KPIC.
9109
      ecc*)
9110
        lt_prog_compiler_wl='-Wl,'
9111
        lt_prog_compiler_pic='-KPIC'
9112
        lt_prog_compiler_static='-static'
9113
        ;;
9114
      # icc used to be incompatible with GCC.
9115
      # ICC 10 doesn't accept -KPIC any more.
9116
      icc* | ifort*)
9117
        lt_prog_compiler_wl='-Wl,'
9118
        lt_prog_compiler_pic='-fPIC'
9119
        lt_prog_compiler_static='-static'
9120
        ;;
9121
      # Lahey Fortran 8.1.
9122
      lf95*)
9123
        lt_prog_compiler_wl='-Wl,'
9124
        lt_prog_compiler_pic='--shared'
9125
        lt_prog_compiler_static='--static'
9126
        ;;
9127
      pgcc* | pgf77* | pgf90* | pgf95*)
9128
        # Portland Group compilers (*not* the Pentium gcc compiler,
9129
        # which looks to be a dead project)
9130
        lt_prog_compiler_wl='-Wl,'
9131
        lt_prog_compiler_pic='-fpic'
9132
        lt_prog_compiler_static='-Bstatic'
9133
        ;;
9134
      ccc*)
9135
        lt_prog_compiler_wl='-Wl,'
9136
        # All Alpha code is PIC.
9137
        lt_prog_compiler_static='-non_shared'
9138
        ;;
9139
      xl*)
9140
        # IBM XL C 8.0/Fortran 10.1 on PPC
9141
        lt_prog_compiler_wl='-Wl,'
9142
        lt_prog_compiler_pic='-qpic'
9143
        lt_prog_compiler_static='-qstaticlink'
9144
        ;;
9145
      *)
9146
        case `$CC -V 2>&1 | sed 5q` in
9147
        *Sun\ C*)
9148
          # Sun C 5.9
9149
          lt_prog_compiler_pic='-KPIC'
9150
          lt_prog_compiler_static='-Bstatic'
9151
          lt_prog_compiler_wl='-Wl,'
9152
          ;;
9153
        *Sun\ F*)
9154
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9155
          lt_prog_compiler_pic='-KPIC'
9156
          lt_prog_compiler_static='-Bstatic'
9157
          lt_prog_compiler_wl=''
9158
          ;;
9159
        esac
9160
        ;;
9161
      esac
9162
      ;;
9163
 
9164
    newsos6)
9165
      lt_prog_compiler_pic='-KPIC'
9166
      lt_prog_compiler_static='-Bstatic'
9167
      ;;
9168
 
9169
    *nto* | *qnx*)
9170
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9171
      # it will coredump.
9172
      lt_prog_compiler_pic='-fPIC -shared'
9173
      ;;
9174
 
9175
    osf3* | osf4* | osf5*)
9176
      lt_prog_compiler_wl='-Wl,'
9177
      # All OSF/1 code is PIC.
9178
      lt_prog_compiler_static='-non_shared'
9179
      ;;
9180
 
9181
    rdos*)
9182
      lt_prog_compiler_static='-non_shared'
9183
      ;;
9184
 
9185
    solaris*)
9186
      lt_prog_compiler_pic='-KPIC'
9187
      lt_prog_compiler_static='-Bstatic'
9188
      case $cc_basename in
9189
      f77* | f90* | f95*)
9190
        lt_prog_compiler_wl='-Qoption ld ';;
9191
      *)
9192
        lt_prog_compiler_wl='-Wl,';;
9193
      esac
9194
      ;;
9195
 
9196
    sunos4*)
9197
      lt_prog_compiler_wl='-Qoption ld '
9198
      lt_prog_compiler_pic='-PIC'
9199
      lt_prog_compiler_static='-Bstatic'
9200
      ;;
9201
 
9202
    sysv4 | sysv4.2uw2* | sysv4.3*)
9203
      lt_prog_compiler_wl='-Wl,'
9204
      lt_prog_compiler_pic='-KPIC'
9205
      lt_prog_compiler_static='-Bstatic'
9206
      ;;
9207
 
9208
    sysv4*MP*)
9209
      if test -d /usr/nec ;then
9210
        lt_prog_compiler_pic='-Kconform_pic'
9211
        lt_prog_compiler_static='-Bstatic'
9212
      fi
9213
      ;;
9214
 
9215
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9216
      lt_prog_compiler_wl='-Wl,'
9217
      lt_prog_compiler_pic='-KPIC'
9218
      lt_prog_compiler_static='-Bstatic'
9219
      ;;
9220
 
9221
    unicos*)
9222
      lt_prog_compiler_wl='-Wl,'
9223
      lt_prog_compiler_can_build_shared=no
9224
      ;;
9225
 
9226
    uts4*)
9227
      lt_prog_compiler_pic='-pic'
9228
      lt_prog_compiler_static='-Bstatic'
9229
      ;;
9230
 
9231
    *)
9232
      lt_prog_compiler_can_build_shared=no
9233
      ;;
9234
    esac
9235
  fi
9236
 
9237
case $host_os in
9238
  # For platforms which do not support PIC, -DPIC is meaningless:
9239
  *djgpp*)
9240
    lt_prog_compiler_pic=
9241
    ;;
9242
  *)
9243
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9244
    ;;
9245
esac
9246
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9247
$as_echo "$lt_prog_compiler_pic" >&6; }
9248
 
9249
 
9250
 
9251
 
9252
 
9253
 
9254
#
9255
# Check to make sure the PIC flag actually works.
9256
#
9257
if test -n "$lt_prog_compiler_pic"; then
9258
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9259
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9260
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9261
  $as_echo_n "(cached) " >&6
9262
else
9263
  lt_cv_prog_compiler_pic_works=no
9264
   ac_outfile=conftest.$ac_objext
9265
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9266
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9267
   # Insert the option either (1) after the last *FLAGS variable, or
9268
   # (2) before a word containing "conftest.", or (3) at the end.
9269
   # Note that $ac_compile itself does not contain backslashes and begins
9270
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9271
   # The option is referenced via a variable to avoid confusing sed.
9272
   lt_compile=`echo "$ac_compile" | $SED \
9273
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9274
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9275
   -e 's:$: $lt_compiler_flag:'`
9276
   (eval echo "\"\$as_me:9276: $lt_compile\"" >&5)
9277
   (eval "$lt_compile" 2>conftest.err)
9278
   ac_status=$?
9279
   cat conftest.err >&5
9280
   echo "$as_me:9280: \$? = $ac_status" >&5
9281
   if (exit $ac_status) && test -s "$ac_outfile"; then
9282
     # The compiler can only warn and ignore the option if not recognized
9283
     # So say no if there are warnings other than the usual output.
9284
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9285
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9286
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9287
       lt_cv_prog_compiler_pic_works=yes
9288
     fi
9289
   fi
9290
   $RM conftest*
9291
 
9292
fi
9293
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9294
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9295
 
9296
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9297
    case $lt_prog_compiler_pic in
9298
     "" | " "*) ;;
9299
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9300
     esac
9301
else
9302
    lt_prog_compiler_pic=
9303
     lt_prog_compiler_can_build_shared=no
9304
fi
9305
 
9306
fi
9307
 
9308
 
9309
 
9310
 
9311
 
9312
 
9313
#
9314
# Check to make sure the static flag actually works.
9315
#
9316
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9317
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9318
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9319
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9320
  $as_echo_n "(cached) " >&6
9321
else
9322
  lt_cv_prog_compiler_static_works=no
9323
   save_LDFLAGS="$LDFLAGS"
9324
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9325
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9326
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9327
     # The linker can only warn and ignore the option if not recognized
9328
     # So say no if there are warnings
9329
     if test -s conftest.err; then
9330
       # Append any errors to the config.log.
9331
       cat conftest.err 1>&5
9332
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9333
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9334
       if diff conftest.exp conftest.er2 >/dev/null; then
9335
         lt_cv_prog_compiler_static_works=yes
9336
       fi
9337
     else
9338
       lt_cv_prog_compiler_static_works=yes
9339
     fi
9340
   fi
9341
   $RM -r conftest*
9342
   LDFLAGS="$save_LDFLAGS"
9343
 
9344
fi
9345
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9346
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9347
 
9348
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9349
    :
9350
else
9351
    lt_prog_compiler_static=
9352
fi
9353
 
9354
 
9355
 
9356
 
9357
 
9358
 
9359
 
9360
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9361
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9362
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9363
  $as_echo_n "(cached) " >&6
9364
else
9365
  lt_cv_prog_compiler_c_o=no
9366
   $RM -r conftest 2>/dev/null
9367
   mkdir conftest
9368
   cd conftest
9369
   mkdir out
9370
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9371
 
9372
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9373
   # Insert the option either (1) after the last *FLAGS variable, or
9374
   # (2) before a word containing "conftest.", or (3) at the end.
9375
   # Note that $ac_compile itself does not contain backslashes and begins
9376
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9377
   lt_compile=`echo "$ac_compile" | $SED \
9378
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9379
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9380
   -e 's:$: $lt_compiler_flag:'`
9381
   (eval echo "\"\$as_me:9381: $lt_compile\"" >&5)
9382
   (eval "$lt_compile" 2>out/conftest.err)
9383
   ac_status=$?
9384
   cat out/conftest.err >&5
9385
   echo "$as_me:9385: \$? = $ac_status" >&5
9386
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9387
   then
9388
     # The compiler can only warn and ignore the option if not recognized
9389
     # So say no if there are warnings
9390
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9391
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9392
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9393
       lt_cv_prog_compiler_c_o=yes
9394
     fi
9395
   fi
9396
   chmod u+w . 2>&5
9397
   $RM conftest*
9398
   # SGI C++ compiler will create directory out/ii_files/ for
9399
   # template instantiation
9400
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9401
   $RM out/* && rmdir out
9402
   cd ..
9403
   $RM -r conftest
9404
   $RM conftest*
9405
 
9406
fi
9407
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9408
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9409
 
9410
 
9411
 
9412
 
9413
 
9414
 
9415
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9416
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9417
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9418
  $as_echo_n "(cached) " >&6
9419
else
9420
  lt_cv_prog_compiler_c_o=no
9421
   $RM -r conftest 2>/dev/null
9422
   mkdir conftest
9423
   cd conftest
9424
   mkdir out
9425
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9426
 
9427
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9428
   # Insert the option either (1) after the last *FLAGS variable, or
9429
   # (2) before a word containing "conftest.", or (3) at the end.
9430
   # Note that $ac_compile itself does not contain backslashes and begins
9431
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9432
   lt_compile=`echo "$ac_compile" | $SED \
9433
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9434
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9435
   -e 's:$: $lt_compiler_flag:'`
9436
   (eval echo "\"\$as_me:9436: $lt_compile\"" >&5)
9437
   (eval "$lt_compile" 2>out/conftest.err)
9438
   ac_status=$?
9439
   cat out/conftest.err >&5
9440
   echo "$as_me:9440: \$? = $ac_status" >&5
9441
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9442
   then
9443
     # The compiler can only warn and ignore the option if not recognized
9444
     # So say no if there are warnings
9445
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9446
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9447
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9448
       lt_cv_prog_compiler_c_o=yes
9449
     fi
9450
   fi
9451
   chmod u+w . 2>&5
9452
   $RM conftest*
9453
   # SGI C++ compiler will create directory out/ii_files/ for
9454
   # template instantiation
9455
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9456
   $RM out/* && rmdir out
9457
   cd ..
9458
   $RM -r conftest
9459
   $RM conftest*
9460
 
9461
fi
9462
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9463
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9464
 
9465
 
9466
 
9467
 
9468
hard_links="nottested"
9469
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9470
  # do not overwrite the value of need_locks provided by the user
9471
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9472
$as_echo_n "checking if we can lock with hard links... " >&6; }
9473
  hard_links=yes
9474
  $RM conftest*
9475
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9476
  touch conftest.a
9477
  ln conftest.a conftest.b 2>&5 || hard_links=no
9478
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9479
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9480
$as_echo "$hard_links" >&6; }
9481
  if test "$hard_links" = no; then
9482
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9483
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9484
    need_locks=warn
9485
  fi
9486
else
9487
  need_locks=no
9488
fi
9489
 
9490
 
9491
 
9492
 
9493
 
9494
 
9495
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9496
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9497
 
9498
  runpath_var=
9499
  allow_undefined_flag=
9500
  always_export_symbols=no
9501
  archive_cmds=
9502
  archive_expsym_cmds=
9503
  compiler_needs_object=no
9504
  enable_shared_with_static_runtimes=no
9505
  export_dynamic_flag_spec=
9506
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9507
  hardcode_automatic=no
9508
  hardcode_direct=no
9509
  hardcode_direct_absolute=no
9510
  hardcode_libdir_flag_spec=
9511
  hardcode_libdir_flag_spec_ld=
9512
  hardcode_libdir_separator=
9513
  hardcode_minus_L=no
9514
  hardcode_shlibpath_var=unsupported
9515
  inherit_rpath=no
9516
  link_all_deplibs=unknown
9517
  module_cmds=
9518
  module_expsym_cmds=
9519
  old_archive_from_new_cmds=
9520
  old_archive_from_expsyms_cmds=
9521
  thread_safe_flag_spec=
9522
  whole_archive_flag_spec=
9523
  # include_expsyms should be a list of space-separated symbols to be *always*
9524
  # included in the symbol list
9525
  include_expsyms=
9526
  # exclude_expsyms can be an extended regexp of symbols to exclude
9527
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9528
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9529
  # as well as any symbol that contains `d'.
9530
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9531
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9532
  # platforms (ab)use it in PIC code, but their linkers get confused if
9533
  # the symbol is explicitly referenced.  Since portable code cannot
9534
  # rely on this symbol name, it's probably fine to never include it in
9535
  # preloaded symbol tables.
9536
  # Exclude shared library initialization/finalization symbols.
9537
  extract_expsyms_cmds=
9538
 
9539
  case $host_os in
9540
  cygwin* | mingw* | pw32* | cegcc*)
9541
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9542
    # When not using gcc, we currently assume that we are using
9543
    # Microsoft Visual C++.
9544
    if test "$GCC" != yes; then
9545
      with_gnu_ld=no
9546
    fi
9547
    ;;
9548
  interix*)
9549
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9550
    with_gnu_ld=yes
9551
    ;;
9552
  openbsd*)
9553
    with_gnu_ld=no
9554
    ;;
9555
  esac
9556
 
9557
  ld_shlibs=yes
9558
  if test "$with_gnu_ld" = yes; then
9559
    # If archive_cmds runs LD, not CC, wlarc should be empty
9560
    wlarc='${wl}'
9561
 
9562
    # Set some defaults for GNU ld with shared library support. These
9563
    # are reset later if shared libraries are not supported. Putting them
9564
    # here allows them to be overridden if necessary.
9565
    runpath_var=LD_RUN_PATH
9566
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9567
    export_dynamic_flag_spec='${wl}--export-dynamic'
9568
    # ancient GNU ld didn't support --whole-archive et. al.
9569
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9570
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9571
    else
9572
      whole_archive_flag_spec=
9573
    fi
9574
    supports_anon_versioning=no
9575
    case `$LD -v 2>&1` in
9576
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9577
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9578
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9579
      *\ 2.11.*) ;; # other 2.11 versions
9580
      *) supports_anon_versioning=yes ;;
9581
    esac
9582
 
9583
    # See if GNU ld supports shared libraries.
9584
    case $host_os in
9585
    aix[3-9]*)
9586
      # On AIX/PPC, the GNU linker is very broken
9587
      if test "$host_cpu" != ia64; then
9588
        ld_shlibs=no
9589
        cat <<_LT_EOF 1>&2
9590
 
9591
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9592
*** to be unable to reliably create shared libraries on AIX.
9593
*** Therefore, libtool is disabling shared libraries support.  If you
9594
*** really care for shared libraries, you may want to modify your PATH
9595
*** so that a non-GNU linker is found, and then restart.
9596
 
9597
_LT_EOF
9598
      fi
9599
      ;;
9600
 
9601
    amigaos*)
9602
      case $host_cpu in
9603
      powerpc)
9604
            # see comment about AmigaOS4 .so support
9605
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9606
            archive_expsym_cmds=''
9607
        ;;
9608
      m68k)
9609
            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)'
9610
            hardcode_libdir_flag_spec='-L$libdir'
9611
            hardcode_minus_L=yes
9612
        ;;
9613
      esac
9614
      ;;
9615
 
9616
    beos*)
9617
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9618
        allow_undefined_flag=unsupported
9619
        # Joseph Beckenbach  says some releases of gcc
9620
        # support --undefined.  This deserves some investigation.  FIXME
9621
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9622
      else
9623
        ld_shlibs=no
9624
      fi
9625
      ;;
9626
 
9627
    cygwin* | mingw* | pw32* | cegcc*)
9628
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9629
      # as there is no search path for DLLs.
9630
      hardcode_libdir_flag_spec='-L$libdir'
9631
      allow_undefined_flag=unsupported
9632
      always_export_symbols=no
9633
      enable_shared_with_static_runtimes=yes
9634
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9635
 
9636
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9637
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9638
        # If the export-symbols file already is a .def file (1st line
9639
        # is EXPORTS), use it as is; otherwise, prepend...
9640
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9641
          cp $export_symbols $output_objdir/$soname.def;
9642
        else
9643
          echo EXPORTS > $output_objdir/$soname.def;
9644
          cat $export_symbols >> $output_objdir/$soname.def;
9645
        fi~
9646
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9647
      else
9648
        ld_shlibs=no
9649
      fi
9650
      ;;
9651
 
9652
    interix[3-9]*)
9653
      hardcode_direct=no
9654
      hardcode_shlibpath_var=no
9655
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9656
      export_dynamic_flag_spec='${wl}-E'
9657
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9658
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9659
      # default) and relocated if they conflict, which is a slow very memory
9660
      # consuming and fragmenting process.  To avoid this, we pick a random,
9661
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9662
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9663
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9664
      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'
9665
      ;;
9666
 
9667
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9668
      tmp_diet=no
9669
      if test "$host_os" = linux-dietlibc; then
9670
        case $cc_basename in
9671
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9672
        esac
9673
      fi
9674
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9675
         && test "$tmp_diet" = no
9676
      then
9677
        tmp_addflag=
9678
        tmp_sharedflag='-shared'
9679
        case $cc_basename,$host_cpu in
9680
        pgcc*)                          # Portland Group C compiler
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'
9683
          ;;
9684
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9685
          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'
9686
          tmp_addflag=' $pic_flag -Mnomain' ;;
9687
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9688
          tmp_addflag=' -i_dynamic' ;;
9689
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9690
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9691
        ifc* | ifort*)                  # Intel Fortran compiler
9692
          tmp_addflag=' -nofor_main' ;;
9693
        lf95*)                          # Lahey Fortran 8.1
9694
          whole_archive_flag_spec=
9695
          tmp_sharedflag='--shared' ;;
9696
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9697
          tmp_sharedflag='-qmkshrobj'
9698
          tmp_addflag= ;;
9699
        esac
9700
        case `$CC -V 2>&1 | sed 5q` in
9701
        *Sun\ C*)                       # Sun C 5.9
9702
          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'
9703
          compiler_needs_object=yes
9704
          tmp_sharedflag='-G' ;;
9705
        *Sun\ F*)                       # Sun Fortran 8.3
9706
          tmp_sharedflag='-G' ;;
9707
        esac
9708
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9709
 
9710
        if test "x$supports_anon_versioning" = xyes; then
9711
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9712
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9713
            echo "local: *; };" >> $output_objdir/$libname.ver~
9714
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9715
        fi
9716
 
9717
        case $cc_basename in
9718
        xlf*)
9719
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9720
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9721
          hardcode_libdir_flag_spec=
9722
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9723
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9724
          if test "x$supports_anon_versioning" = xyes; then
9725
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9726
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9727
              echo "local: *; };" >> $output_objdir/$libname.ver~
9728
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9729
          fi
9730
          ;;
9731
        esac
9732
      else
9733
        ld_shlibs=no
9734
      fi
9735
      ;;
9736
 
9737
    netbsd*)
9738
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9739
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9740
        wlarc=
9741
      else
9742
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9743
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9744
      fi
9745
      ;;
9746
 
9747
    solaris*)
9748
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9749
        ld_shlibs=no
9750
        cat <<_LT_EOF 1>&2
9751
 
9752
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9753
*** create shared libraries on Solaris systems.  Therefore, libtool
9754
*** is disabling shared libraries support.  We urge you to upgrade GNU
9755
*** binutils to release 2.9.1 or newer.  Another option is to modify
9756
*** your PATH or compiler configuration so that the native linker is
9757
*** used, and then restart.
9758
 
9759
_LT_EOF
9760
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9761
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9762
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9763
      else
9764
        ld_shlibs=no
9765
      fi
9766
      ;;
9767
 
9768
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9769
      case `$LD -v 2>&1` in
9770
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9771
        ld_shlibs=no
9772
        cat <<_LT_EOF 1>&2
9773
 
9774
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9775
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9776
*** is disabling shared libraries support.  We urge you to upgrade GNU
9777
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9778
*** your PATH or compiler configuration so that the native linker is
9779
*** used, and then restart.
9780
 
9781
_LT_EOF
9782
        ;;
9783
        *)
9784
          # For security reasons, it is highly recommended that you always
9785
          # use absolute paths for naming shared libraries, and exclude the
9786
          # DT_RUNPATH tag from executables and libraries.  But doing so
9787
          # requires that you compile everything twice, which is a pain.
9788
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9789
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9790
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9791
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9792
          else
9793
            ld_shlibs=no
9794
          fi
9795
        ;;
9796
      esac
9797
      ;;
9798
 
9799
    sunos4*)
9800
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9801
      wlarc=
9802
      hardcode_direct=yes
9803
      hardcode_shlibpath_var=no
9804
      ;;
9805
 
9806
    *)
9807
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9808
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9809
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9810
      else
9811
        ld_shlibs=no
9812
      fi
9813
      ;;
9814
    esac
9815
 
9816
    if test "$ld_shlibs" = no; then
9817
      runpath_var=
9818
      hardcode_libdir_flag_spec=
9819
      export_dynamic_flag_spec=
9820
      whole_archive_flag_spec=
9821
    fi
9822
  else
9823
    # PORTME fill in a description of your system's linker (not GNU ld)
9824
    case $host_os in
9825
    aix3*)
9826
      allow_undefined_flag=unsupported
9827
      always_export_symbols=yes
9828
      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'
9829
      # Note: this linker hardcodes the directories in LIBPATH if there
9830
      # are no directories specified by -L.
9831
      hardcode_minus_L=yes
9832
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9833
        # Neither direct hardcoding nor static linking is supported with a
9834
        # broken collect2.
9835
        hardcode_direct=unsupported
9836
      fi
9837
      ;;
9838
 
9839
    aix[4-9]*)
9840
      if test "$host_cpu" = ia64; then
9841
        # On IA64, the linker does run time linking by default, so we don't
9842
        # have to do anything special.
9843
        aix_use_runtimelinking=no
9844
        exp_sym_flag='-Bexport'
9845
        no_entry_flag=""
9846
      else
9847
        # If we're using GNU nm, then we don't want the "-C" option.
9848
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9849
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9850
          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'
9851
        else
9852
          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'
9853
        fi
9854
        aix_use_runtimelinking=no
9855
 
9856
        # Test if we are trying to use run time linking or normal
9857
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9858
        # need to do runtime linking.
9859
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9860
          for ld_flag in $LDFLAGS; do
9861
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9862
            aix_use_runtimelinking=yes
9863
            break
9864
          fi
9865
          done
9866
          ;;
9867
        esac
9868
 
9869
        exp_sym_flag='-bexport'
9870
        no_entry_flag='-bnoentry'
9871
      fi
9872
 
9873
      # When large executables or shared objects are built, AIX ld can
9874
      # have problems creating the table of contents.  If linking a library
9875
      # or program results in "error TOC overflow" add -mminimal-toc to
9876
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9877
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9878
 
9879
      archive_cmds=''
9880
      hardcode_direct=yes
9881
      hardcode_direct_absolute=yes
9882
      hardcode_libdir_separator=':'
9883
      link_all_deplibs=yes
9884
      file_list_spec='${wl}-f,'
9885
 
9886
      if test "$GCC" = yes; then
9887
        case $host_os in aix4.[012]|aix4.[012].*)
9888
        # We only want to do this on AIX 4.2 and lower, the check
9889
        # below for broken collect2 doesn't work under 4.3+
9890
          collect2name=`${CC} -print-prog-name=collect2`
9891
          if test -f "$collect2name" &&
9892
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9893
          then
9894
          # We have reworked collect2
9895
          :
9896
          else
9897
          # We have old collect2
9898
          hardcode_direct=unsupported
9899
          # It fails to find uninstalled libraries when the uninstalled
9900
          # path is not listed in the libpath.  Setting hardcode_minus_L
9901
          # to unsupported forces relinking
9902
          hardcode_minus_L=yes
9903
          hardcode_libdir_flag_spec='-L$libdir'
9904
          hardcode_libdir_separator=
9905
          fi
9906
          ;;
9907
        esac
9908
        shared_flag='-shared'
9909
        if test "$aix_use_runtimelinking" = yes; then
9910
          shared_flag="$shared_flag "'${wl}-G'
9911
        fi
9912
      else
9913
        # not using gcc
9914
        if test "$host_cpu" = ia64; then
9915
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9916
        # chokes on -Wl,-G. The following line is correct:
9917
          shared_flag='-G'
9918
        else
9919
          if test "$aix_use_runtimelinking" = yes; then
9920
            shared_flag='${wl}-G'
9921
          else
9922
            shared_flag='${wl}-bM:SRE'
9923
          fi
9924
        fi
9925
      fi
9926
 
9927
      export_dynamic_flag_spec='${wl}-bexpall'
9928
      # It seems that -bexpall does not export symbols beginning with
9929
      # underscore (_), so it is better to generate a list of symbols to export.
9930
      always_export_symbols=yes
9931
      if test "$aix_use_runtimelinking" = yes; then
9932
        # Warning - without using the other runtime loading flags (-brtl),
9933
        # -berok will link without error, but may produce a broken library.
9934
        allow_undefined_flag='-berok'
9935
        # Determine the default libpath from the value encoded in an
9936
        # empty executable.
9937
        cat >conftest.$ac_ext <<_ACEOF
9938
/* confdefs.h.  */
9939
_ACEOF
9940
cat confdefs.h >>conftest.$ac_ext
9941
cat >>conftest.$ac_ext <<_ACEOF
9942
/* end confdefs.h.  */
9943
 
9944
int
9945
main ()
9946
{
9947
 
9948
  ;
9949
  return 0;
9950
}
9951
_ACEOF
9952
rm -f conftest.$ac_objext conftest$ac_exeext
9953
if { (ac_try="$ac_link"
9954
case "(($ac_try" in
9955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9956
  *) ac_try_echo=$ac_try;;
9957
esac
9958
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9959
$as_echo "$ac_try_echo") >&5
9960
  (eval "$ac_link") 2>conftest.er1
9961
  ac_status=$?
9962
  grep -v '^ *+' conftest.er1 >conftest.err
9963
  rm -f conftest.er1
9964
  cat conftest.err >&5
9965
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966
  (exit $ac_status); } && {
9967
         test -z "$ac_c_werror_flag" ||
9968
         test ! -s conftest.err
9969
       } && test -s conftest$ac_exeext && {
9970
         test "$cross_compiling" = yes ||
9971
         $as_test_x conftest$ac_exeext
9972
       }; then
9973
 
9974
lt_aix_libpath_sed='
9975
    /Import File Strings/,/^$/ {
9976
        /^0/ {
9977
            s/^0  *\(.*\)$/\1/
9978
            p
9979
        }
9980
    }'
9981
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9982
# Check for a 64-bit object if we didn't find anything.
9983
if test -z "$aix_libpath"; then
9984
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9985
fi
9986
else
9987
  $as_echo "$as_me: failed program was:" >&5
9988
sed 's/^/| /' conftest.$ac_ext >&5
9989
 
9990
 
9991
fi
9992
 
9993
rm -rf conftest.dSYM
9994
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9995
      conftest$ac_exeext conftest.$ac_ext
9996
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9997
 
9998
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9999
        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"
10000
      else
10001
        if test "$host_cpu" = ia64; then
10002
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10003
          allow_undefined_flag="-z nodefs"
10004
          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"
10005
        else
10006
         # Determine the default libpath from the value encoded in an
10007
         # empty executable.
10008
         cat >conftest.$ac_ext <<_ACEOF
10009
/* confdefs.h.  */
10010
_ACEOF
10011
cat confdefs.h >>conftest.$ac_ext
10012
cat >>conftest.$ac_ext <<_ACEOF
10013
/* end confdefs.h.  */
10014
 
10015
int
10016
main ()
10017
{
10018
 
10019
  ;
10020
  return 0;
10021
}
10022
_ACEOF
10023
rm -f conftest.$ac_objext conftest$ac_exeext
10024
if { (ac_try="$ac_link"
10025
case "(($ac_try" in
10026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10027
  *) ac_try_echo=$ac_try;;
10028
esac
10029
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10030
$as_echo "$ac_try_echo") >&5
10031
  (eval "$ac_link") 2>conftest.er1
10032
  ac_status=$?
10033
  grep -v '^ *+' conftest.er1 >conftest.err
10034
  rm -f conftest.er1
10035
  cat conftest.err >&5
10036
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037
  (exit $ac_status); } && {
10038
         test -z "$ac_c_werror_flag" ||
10039
         test ! -s conftest.err
10040
       } && test -s conftest$ac_exeext && {
10041
         test "$cross_compiling" = yes ||
10042
         $as_test_x conftest$ac_exeext
10043
       }; then
10044
 
10045
lt_aix_libpath_sed='
10046
    /Import File Strings/,/^$/ {
10047
        /^0/ {
10048
            s/^0  *\(.*\)$/\1/
10049
            p
10050
        }
10051
    }'
10052
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10053
# Check for a 64-bit object if we didn't find anything.
10054
if test -z "$aix_libpath"; then
10055
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10056
fi
10057
else
10058
  $as_echo "$as_me: failed program was:" >&5
10059
sed 's/^/| /' conftest.$ac_ext >&5
10060
 
10061
 
10062
fi
10063
 
10064
rm -rf conftest.dSYM
10065
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10066
      conftest$ac_exeext conftest.$ac_ext
10067
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10068
 
10069
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10070
          # Warning - without using the other run time loading flags,
10071
          # -berok will link without error, but may produce a broken library.
10072
          no_undefined_flag=' ${wl}-bernotok'
10073
          allow_undefined_flag=' ${wl}-berok'
10074
          # Exported symbols can be pulled into shared objects from archives
10075
          whole_archive_flag_spec='$convenience'
10076
          archive_cmds_need_lc=yes
10077
          # This is similar to how AIX traditionally builds its shared libraries.
10078
          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'
10079
        fi
10080
      fi
10081
      ;;
10082
 
10083
    amigaos*)
10084
      case $host_cpu in
10085
      powerpc)
10086
            # see comment about AmigaOS4 .so support
10087
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10088
            archive_expsym_cmds=''
10089
        ;;
10090
      m68k)
10091
            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)'
10092
            hardcode_libdir_flag_spec='-L$libdir'
10093
            hardcode_minus_L=yes
10094
        ;;
10095
      esac
10096
      ;;
10097
 
10098
    bsdi[45]*)
10099
      export_dynamic_flag_spec=-rdynamic
10100
      ;;
10101
 
10102
    cygwin* | mingw* | pw32* | cegcc*)
10103
      # When not using gcc, we currently assume that we are using
10104
      # Microsoft Visual C++.
10105
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10106
      # no search path for DLLs.
10107
      hardcode_libdir_flag_spec=' '
10108
      allow_undefined_flag=unsupported
10109
      # Tell ltmain to make .lib files, not .a files.
10110
      libext=lib
10111
      # Tell ltmain to make .dll files, not .so files.
10112
      shrext_cmds=".dll"
10113
      # FIXME: Setting linknames here is a bad hack.
10114
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10115
      # The linker will automatically build a .lib file if we build a DLL.
10116
      old_archive_from_new_cmds='true'
10117
      # FIXME: Should let the user specify the lib program.
10118
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10119
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10120
      enable_shared_with_static_runtimes=yes
10121
      ;;
10122
 
10123
    darwin* | rhapsody*)
10124
 
10125
 
10126
  archive_cmds_need_lc=no
10127
  hardcode_direct=no
10128
  hardcode_automatic=yes
10129
  hardcode_shlibpath_var=unsupported
10130
  whole_archive_flag_spec=''
10131
  link_all_deplibs=yes
10132
  allow_undefined_flag="$_lt_dar_allow_undefined"
10133
  case $cc_basename in
10134
     ifort*) _lt_dar_can_shared=yes ;;
10135
     *) _lt_dar_can_shared=$GCC ;;
10136
  esac
10137
  if test "$_lt_dar_can_shared" = "yes"; then
10138
    output_verbose_link_cmd=echo
10139
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10140
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10141
    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}"
10142
    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}"
10143
 
10144
  else
10145
  ld_shlibs=no
10146
  fi
10147
 
10148
      ;;
10149
 
10150
    dgux*)
10151
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10152
      hardcode_libdir_flag_spec='-L$libdir'
10153
      hardcode_shlibpath_var=no
10154
      ;;
10155
 
10156
    freebsd1*)
10157
      ld_shlibs=no
10158
      ;;
10159
 
10160
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10161
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10162
    # does not break anything, and helps significantly (at the cost of a little
10163
    # extra space).
10164
    freebsd2.2*)
10165
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10166
      hardcode_libdir_flag_spec='-R$libdir'
10167
      hardcode_direct=yes
10168
      hardcode_shlibpath_var=no
10169
      ;;
10170
 
10171
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10172
    freebsd2*)
10173
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10174
      hardcode_direct=yes
10175
      hardcode_minus_L=yes
10176
      hardcode_shlibpath_var=no
10177
      ;;
10178
 
10179
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10180
    freebsd* | dragonfly*)
10181
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10182
      hardcode_libdir_flag_spec='-R$libdir'
10183
      hardcode_direct=yes
10184
      hardcode_shlibpath_var=no
10185
      ;;
10186
 
10187
    hpux9*)
10188
      if test "$GCC" = yes; then
10189
        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'
10190
      else
10191
        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'
10192
      fi
10193
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10194
      hardcode_libdir_separator=:
10195
      hardcode_direct=yes
10196
 
10197
      # hardcode_minus_L: Not really in the search PATH,
10198
      # but as the default location of the library.
10199
      hardcode_minus_L=yes
10200
      export_dynamic_flag_spec='${wl}-E'
10201
      ;;
10202
 
10203
    hpux10*)
10204
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10205
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10206
      else
10207
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10208
      fi
10209
      if test "$with_gnu_ld" = no; then
10210
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10211
        hardcode_libdir_flag_spec_ld='+b $libdir'
10212
        hardcode_libdir_separator=:
10213
        hardcode_direct=yes
10214
        hardcode_direct_absolute=yes
10215
        export_dynamic_flag_spec='${wl}-E'
10216
        # hardcode_minus_L: Not really in the search PATH,
10217
        # but as the default location of the library.
10218
        hardcode_minus_L=yes
10219
      fi
10220
      ;;
10221
 
10222
    hpux11*)
10223
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10224
        case $host_cpu in
10225
        hppa*64*)
10226
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10227
          ;;
10228
        ia64*)
10229
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10230
          ;;
10231
        *)
10232
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10233
          ;;
10234
        esac
10235
      else
10236
        case $host_cpu in
10237
        hppa*64*)
10238
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10239
          ;;
10240
        ia64*)
10241
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10242
          ;;
10243
        *)
10244
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10245
          ;;
10246
        esac
10247
      fi
10248
      if test "$with_gnu_ld" = no; then
10249
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10250
        hardcode_libdir_separator=:
10251
 
10252
        case $host_cpu in
10253
        hppa*64*|ia64*)
10254
          hardcode_direct=no
10255
          hardcode_shlibpath_var=no
10256
          ;;
10257
        *)
10258
          hardcode_direct=yes
10259
          hardcode_direct_absolute=yes
10260
          export_dynamic_flag_spec='${wl}-E'
10261
 
10262
          # hardcode_minus_L: Not really in the search PATH,
10263
          # but as the default location of the library.
10264
          hardcode_minus_L=yes
10265
          ;;
10266
        esac
10267
      fi
10268
      ;;
10269
 
10270
    irix5* | irix6* | nonstopux*)
10271
      if test "$GCC" = yes; then
10272
        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'
10273
        # Try to use the -exported_symbol ld option, if it does not
10274
        # work, assume that -exports_file does not work either and
10275
        # implicitly export all symbols.
10276
        save_LDFLAGS="$LDFLAGS"
10277
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10278
        cat >conftest.$ac_ext <<_ACEOF
10279
int foo(void) {}
10280
_ACEOF
10281
rm -f conftest.$ac_objext conftest$ac_exeext
10282
if { (ac_try="$ac_link"
10283
case "(($ac_try" in
10284
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10285
  *) ac_try_echo=$ac_try;;
10286
esac
10287
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10288
$as_echo "$ac_try_echo") >&5
10289
  (eval "$ac_link") 2>conftest.er1
10290
  ac_status=$?
10291
  grep -v '^ *+' conftest.er1 >conftest.err
10292
  rm -f conftest.er1
10293
  cat conftest.err >&5
10294
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295
  (exit $ac_status); } && {
10296
         test -z "$ac_c_werror_flag" ||
10297
         test ! -s conftest.err
10298
       } && test -s conftest$ac_exeext && {
10299
         test "$cross_compiling" = yes ||
10300
         $as_test_x conftest$ac_exeext
10301
       }; then
10302
  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'
10303
 
10304
else
10305
  $as_echo "$as_me: failed program was:" >&5
10306
sed 's/^/| /' conftest.$ac_ext >&5
10307
 
10308
 
10309
fi
10310
 
10311
rm -rf conftest.dSYM
10312
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10313
      conftest$ac_exeext conftest.$ac_ext
10314
        LDFLAGS="$save_LDFLAGS"
10315
      else
10316
        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'
10317
        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'
10318
      fi
10319
      archive_cmds_need_lc='no'
10320
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10321
      hardcode_libdir_separator=:
10322
      inherit_rpath=yes
10323
      link_all_deplibs=yes
10324
      ;;
10325
 
10326
    netbsd*)
10327
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10328
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10329
      else
10330
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10331
      fi
10332
      hardcode_libdir_flag_spec='-R$libdir'
10333
      hardcode_direct=yes
10334
      hardcode_shlibpath_var=no
10335
      ;;
10336
 
10337
    newsos6)
10338
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10339
      hardcode_direct=yes
10340
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10341
      hardcode_libdir_separator=:
10342
      hardcode_shlibpath_var=no
10343
      ;;
10344
 
10345
    *nto* | *qnx*)
10346
      ;;
10347
 
10348
    openbsd*)
10349
      if test -f /usr/libexec/ld.so; then
10350
        hardcode_direct=yes
10351
        hardcode_shlibpath_var=no
10352
        hardcode_direct_absolute=yes
10353
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10354
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10355
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10356
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10357
          export_dynamic_flag_spec='${wl}-E'
10358
        else
10359
          case $host_os in
10360
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10361
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10362
             hardcode_libdir_flag_spec='-R$libdir'
10363
             ;;
10364
           *)
10365
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10366
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10367
             ;;
10368
          esac
10369
        fi
10370
      else
10371
        ld_shlibs=no
10372
      fi
10373
      ;;
10374
 
10375
    os2*)
10376
      hardcode_libdir_flag_spec='-L$libdir'
10377
      hardcode_minus_L=yes
10378
      allow_undefined_flag=unsupported
10379
      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'
10380
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10381
      ;;
10382
 
10383
    osf3*)
10384
      if test "$GCC" = yes; then
10385
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10386
        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'
10387
      else
10388
        allow_undefined_flag=' -expect_unresolved \*'
10389
        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'
10390
      fi
10391
      archive_cmds_need_lc='no'
10392
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10393
      hardcode_libdir_separator=:
10394
      ;;
10395
 
10396
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10397
      if test "$GCC" = yes; then
10398
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10399
        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'
10400
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10401
      else
10402
        allow_undefined_flag=' -expect_unresolved \*'
10403
        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'
10404
        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~
10405
        $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'
10406
 
10407
        # Both c and cxx compiler support -rpath directly
10408
        hardcode_libdir_flag_spec='-rpath $libdir'
10409
      fi
10410
      archive_cmds_need_lc='no'
10411
      hardcode_libdir_separator=:
10412
      ;;
10413
 
10414
    solaris*)
10415
      no_undefined_flag=' -z defs'
10416
      if test "$GCC" = yes; then
10417
        wlarc='${wl}'
10418
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10419
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10420
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10421
      else
10422
        case `$CC -V 2>&1` in
10423
        *"Compilers 5.0"*)
10424
          wlarc=''
10425
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10426
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10427
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10428
          ;;
10429
        *)
10430
          wlarc='${wl}'
10431
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10432
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10433
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10434
          ;;
10435
        esac
10436
      fi
10437
      hardcode_libdir_flag_spec='-R$libdir'
10438
      hardcode_shlibpath_var=no
10439
      case $host_os in
10440
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10441
      *)
10442
        # The compiler driver will combine and reorder linker options,
10443
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10444
        # but is careful enough not to reorder.
10445
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10446
        if test "$GCC" = yes; then
10447
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10448
        else
10449
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10450
        fi
10451
        ;;
10452
      esac
10453
      link_all_deplibs=yes
10454
      ;;
10455
 
10456
    sunos4*)
10457
      if test "x$host_vendor" = xsequent; then
10458
        # Use $CC to link under sequent, because it throws in some extra .o
10459
        # files that make .init and .fini sections work.
10460
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10461
      else
10462
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10463
      fi
10464
      hardcode_libdir_flag_spec='-L$libdir'
10465
      hardcode_direct=yes
10466
      hardcode_minus_L=yes
10467
      hardcode_shlibpath_var=no
10468
      ;;
10469
 
10470
    sysv4)
10471
      case $host_vendor in
10472
        sni)
10473
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10474
          hardcode_direct=yes # is this really true???
10475
        ;;
10476
        siemens)
10477
          ## LD is ld it makes a PLAMLIB
10478
          ## CC just makes a GrossModule.
10479
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10480
          reload_cmds='$CC -r -o $output$reload_objs'
10481
          hardcode_direct=no
10482
        ;;
10483
        motorola)
10484
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10485
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10486
        ;;
10487
      esac
10488
      runpath_var='LD_RUN_PATH'
10489
      hardcode_shlibpath_var=no
10490
      ;;
10491
 
10492
    sysv4.3*)
10493
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10494
      hardcode_shlibpath_var=no
10495
      export_dynamic_flag_spec='-Bexport'
10496
      ;;
10497
 
10498
    sysv4*MP*)
10499
      if test -d /usr/nec; then
10500
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10501
        hardcode_shlibpath_var=no
10502
        runpath_var=LD_RUN_PATH
10503
        hardcode_runpath_var=yes
10504
        ld_shlibs=yes
10505
      fi
10506
      ;;
10507
 
10508
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10509
      no_undefined_flag='${wl}-z,text'
10510
      archive_cmds_need_lc=no
10511
      hardcode_shlibpath_var=no
10512
      runpath_var='LD_RUN_PATH'
10513
 
10514
      if test "$GCC" = yes; then
10515
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10516
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10517
      else
10518
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10519
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10520
      fi
10521
      ;;
10522
 
10523
    sysv5* | sco3.2v5* | sco5v6*)
10524
      # Note: We can NOT use -z defs as we might desire, because we do not
10525
      # link with -lc, and that would cause any symbols used from libc to
10526
      # always be unresolved, which means just about no library would
10527
      # ever link correctly.  If we're not using GNU ld we use -z text
10528
      # though, which does catch some bad symbols but isn't as heavy-handed
10529
      # as -z defs.
10530
      no_undefined_flag='${wl}-z,text'
10531
      allow_undefined_flag='${wl}-z,nodefs'
10532
      archive_cmds_need_lc=no
10533
      hardcode_shlibpath_var=no
10534
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10535
      hardcode_libdir_separator=':'
10536
      link_all_deplibs=yes
10537
      export_dynamic_flag_spec='${wl}-Bexport'
10538
      runpath_var='LD_RUN_PATH'
10539
 
10540
      if test "$GCC" = yes; then
10541
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10542
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10543
      else
10544
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10545
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10546
      fi
10547
      ;;
10548
 
10549
    uts4*)
10550
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10551
      hardcode_libdir_flag_spec='-L$libdir'
10552
      hardcode_shlibpath_var=no
10553
      ;;
10554
 
10555
    *)
10556
      ld_shlibs=no
10557
      ;;
10558
    esac
10559
 
10560
    if test x$host_vendor = xsni; then
10561
      case $host in
10562
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10563
        export_dynamic_flag_spec='${wl}-Blargedynsym'
10564
        ;;
10565
      esac
10566
    fi
10567
  fi
10568
 
10569
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10570
$as_echo "$ld_shlibs" >&6; }
10571
test "$ld_shlibs" = no && can_build_shared=no
10572
 
10573
with_gnu_ld=$with_gnu_ld
10574
 
10575
 
10576
 
10577
 
10578
 
10579
 
10580
 
10581
 
10582
 
10583
 
10584
 
10585
 
10586
 
10587
 
10588
 
10589
#
10590
# Do we need to explicitly link libc?
10591
#
10592
case "x$archive_cmds_need_lc" in
10593
x|xyes)
10594
  # Assume -lc should be added
10595
  archive_cmds_need_lc=yes
10596
 
10597
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10598
    case $archive_cmds in
10599
    *'~'*)
10600
      # FIXME: we may have to deal with multi-command sequences.
10601
      ;;
10602
    '$CC '*)
10603
      # Test whether the compiler implicitly links with -lc since on some
10604
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10605
      # to ld, don't add -lc before -lgcc.
10606
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10607
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10608
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
10609
  $as_echo_n "(cached) " >&6
10610
else
10611
  $RM conftest*
10612
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10613
 
10614
        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10615
  (eval $ac_compile) 2>&5
10616
  ac_status=$?
10617
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618
  (exit $ac_status); } 2>conftest.err; then
10619
          soname=conftest
10620
          lib=conftest
10621
          libobjs=conftest.$ac_objext
10622
          deplibs=
10623
          wl=$lt_prog_compiler_wl
10624
          pic_flag=$lt_prog_compiler_pic
10625
          compiler_flags=-v
10626
          linker_flags=-v
10627
          verstring=
10628
          output_objdir=.
10629
          libname=conftest
10630
          lt_save_allow_undefined_flag=$allow_undefined_flag
10631
          allow_undefined_flag=
10632
          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10633
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10634
  ac_status=$?
10635
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636
  (exit $ac_status); }
10637
          then
10638
            lt_cv_archive_cmds_need_lc=no
10639
          else
10640
            lt_cv_archive_cmds_need_lc=yes
10641
          fi
10642
          allow_undefined_flag=$lt_save_allow_undefined_flag
10643
        else
10644
          cat conftest.err 1>&5
10645
        fi
10646
        $RM conftest*
10647
 
10648
fi
10649
{ $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
10650
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10651
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10652
      ;;
10653
    esac
10654
  fi
10655
  ;;
10656
esac
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
 
10811
 
10812
 
10813
 
10814
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10815
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10816
 
10817
if test "$GCC" = yes; then
10818
  case $host_os in
10819
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10820
    *) lt_awk_arg="/^libraries:/" ;;
10821
  esac
10822
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10823
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10824
    # if the path contains ";" then we assume it to be the separator
10825
    # otherwise default to the standard path separator (i.e. ":") - it is
10826
    # assumed that no part of a normal pathname contains ";" but that should
10827
    # okay in the real world where ";" in dirpaths is itself problematic.
10828
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10829
  else
10830
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10831
  fi
10832
  # Ok, now we have the path, separated by spaces, we can step through it
10833
  # and add multilib dir if necessary.
10834
  lt_tmp_lt_search_path_spec=
10835
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10836
  for lt_sys_path in $lt_search_path_spec; do
10837
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10838
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10839
    else
10840
      test -d "$lt_sys_path" && \
10841
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10842
    fi
10843
  done
10844
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10845
BEGIN {RS=" "; FS="/|\n";} {
10846
  lt_foo="";
10847
  lt_count=0;
10848
  for (lt_i = NF; lt_i > 0; lt_i--) {
10849
    if ($lt_i != "" && $lt_i != ".") {
10850
      if ($lt_i == "..") {
10851
        lt_count++;
10852
      } else {
10853
        if (lt_count == 0) {
10854
          lt_foo="/" $lt_i lt_foo;
10855
        } else {
10856
          lt_count--;
10857
        }
10858
      }
10859
    }
10860
  }
10861
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10862
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10863
}'`
10864
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10865
else
10866
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10867
fi
10868
library_names_spec=
10869
libname_spec='lib$name'
10870
soname_spec=
10871
shrext_cmds=".so"
10872
postinstall_cmds=
10873
postuninstall_cmds=
10874
finish_cmds=
10875
finish_eval=
10876
shlibpath_var=
10877
shlibpath_overrides_runpath=unknown
10878
version_type=none
10879
dynamic_linker="$host_os ld.so"
10880
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10881
need_lib_prefix=unknown
10882
hardcode_into_libs=no
10883
 
10884
# when you set need_version to no, make sure it does not cause -set_version
10885
# flags to be left without arguments
10886
need_version=unknown
10887
 
10888
case $host_os in
10889
aix3*)
10890
  version_type=linux
10891
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10892
  shlibpath_var=LIBPATH
10893
 
10894
  # AIX 3 has no versioning support, so we append a major version to the name.
10895
  soname_spec='${libname}${release}${shared_ext}$major'
10896
  ;;
10897
 
10898
aix[4-9]*)
10899
  version_type=linux
10900
  need_lib_prefix=no
10901
  need_version=no
10902
  hardcode_into_libs=yes
10903
  if test "$host_cpu" = ia64; then
10904
    # AIX 5 supports IA64
10905
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10906
    shlibpath_var=LD_LIBRARY_PATH
10907
  else
10908
    # With GCC up to 2.95.x, collect2 would create an import file
10909
    # for dependence libraries.  The import file would start with
10910
    # the line `#! .'.  This would cause the generated library to
10911
    # depend on `.', always an invalid library.  This was fixed in
10912
    # development snapshots of GCC prior to 3.0.
10913
    case $host_os in
10914
      aix4 | aix4.[01] | aix4.[01].*)
10915
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10916
           echo ' yes '
10917
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10918
        :
10919
      else
10920
        can_build_shared=no
10921
      fi
10922
      ;;
10923
    esac
10924
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10925
    # soname into executable. Probably we can add versioning support to
10926
    # collect2, so additional links can be useful in future.
10927
    if test "$aix_use_runtimelinking" = yes; then
10928
      # If using run time linking (on AIX 4.2 or later) use lib.so
10929
      # instead of lib.a to let people know that these are not
10930
      # typical AIX shared libraries.
10931
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932
    else
10933
      # We preserve .a as extension for shared libraries through AIX4.2
10934
      # and later when we are not doing run time linking.
10935
      library_names_spec='${libname}${release}.a $libname.a'
10936
      soname_spec='${libname}${release}${shared_ext}$major'
10937
    fi
10938
    shlibpath_var=LIBPATH
10939
  fi
10940
  ;;
10941
 
10942
amigaos*)
10943
  case $host_cpu in
10944
  powerpc)
10945
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10946
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10947
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10948
    ;;
10949
  m68k)
10950
    library_names_spec='$libname.ixlibrary $libname.a'
10951
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10952
    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'
10953
    ;;
10954
  esac
10955
  ;;
10956
 
10957
beos*)
10958
  library_names_spec='${libname}${shared_ext}'
10959
  dynamic_linker="$host_os ld.so"
10960
  shlibpath_var=LIBRARY_PATH
10961
  ;;
10962
 
10963
bsdi[45]*)
10964
  version_type=linux
10965
  need_version=no
10966
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967
  soname_spec='${libname}${release}${shared_ext}$major'
10968
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10969
  shlibpath_var=LD_LIBRARY_PATH
10970
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10971
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10972
  # the default ld.so.conf also contains /usr/contrib/lib and
10973
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10974
  # libtool to hard-code these into programs
10975
  ;;
10976
 
10977
cygwin* | mingw* | pw32* | cegcc*)
10978
  version_type=windows
10979
  shrext_cmds=".dll"
10980
  need_version=no
10981
  need_lib_prefix=no
10982
 
10983
  case $GCC,$host_os in
10984
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10985
    library_names_spec='$libname.dll.a'
10986
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10987
    postinstall_cmds='base_file=`basename \${file}`~
10988
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10989
      dldir=$destdir/`dirname \$dlpath`~
10990
      test -d \$dldir || mkdir -p \$dldir~
10991
      $install_prog $dir/$dlname \$dldir/$dlname~
10992
      chmod a+x \$dldir/$dlname~
10993
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10994
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10995
      fi'
10996
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10997
      dlpath=$dir/\$dldll~
10998
       $RM \$dlpath'
10999
    shlibpath_overrides_runpath=yes
11000
 
11001
    case $host_os in
11002
    cygwin*)
11003
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11004
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11005
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11006
      ;;
11007
    mingw* | cegcc*)
11008
      # MinGW DLLs use traditional 'lib' prefix
11009
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11010
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11011
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11012
        # It is most probably a Windows format PATH printed by
11013
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11014
        # path with ; separators, and with drive letters. We can handle the
11015
        # drive letters (cygwin fileutils understands them), so leave them,
11016
        # especially as we might pass files found there to a mingw objdump,
11017
        # which wouldn't understand a cygwinified path. Ahh.
11018
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11019
      else
11020
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11021
      fi
11022
      ;;
11023
    pw32*)
11024
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11025
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11026
      ;;
11027
    esac
11028
    ;;
11029
 
11030
  *)
11031
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11032
    ;;
11033
  esac
11034
  dynamic_linker='Win32 ld.exe'
11035
  # FIXME: first we should search . and the directory the executable is in
11036
  shlibpath_var=PATH
11037
  ;;
11038
 
11039
darwin* | rhapsody*)
11040
  dynamic_linker="$host_os dyld"
11041
  version_type=darwin
11042
  need_lib_prefix=no
11043
  need_version=no
11044
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11045
  soname_spec='${libname}${release}${major}$shared_ext'
11046
  shlibpath_overrides_runpath=yes
11047
  shlibpath_var=DYLD_LIBRARY_PATH
11048
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11049
 
11050
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11051
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11052
  ;;
11053
 
11054
dgux*)
11055
  version_type=linux
11056
  need_lib_prefix=no
11057
  need_version=no
11058
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11059
  soname_spec='${libname}${release}${shared_ext}$major'
11060
  shlibpath_var=LD_LIBRARY_PATH
11061
  ;;
11062
 
11063
freebsd1*)
11064
  dynamic_linker=no
11065
  ;;
11066
 
11067
freebsd* | dragonfly*)
11068
  # DragonFly does not have aout.  When/if they implement a new
11069
  # versioning mechanism, adjust this.
11070
  if test -x /usr/bin/objformat; then
11071
    objformat=`/usr/bin/objformat`
11072
  else
11073
    case $host_os in
11074
    freebsd[123]*) objformat=aout ;;
11075
    *) objformat=elf ;;
11076
    esac
11077
  fi
11078
  version_type=freebsd-$objformat
11079
  case $version_type in
11080
    freebsd-elf*)
11081
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11082
      need_version=no
11083
      need_lib_prefix=no
11084
      ;;
11085
    freebsd-*)
11086
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11087
      need_version=yes
11088
      ;;
11089
  esac
11090
  shlibpath_var=LD_LIBRARY_PATH
11091
  case $host_os in
11092
  freebsd2*)
11093
    shlibpath_overrides_runpath=yes
11094
    ;;
11095
  freebsd3.[01]* | freebsdelf3.[01]*)
11096
    shlibpath_overrides_runpath=yes
11097
    hardcode_into_libs=yes
11098
    ;;
11099
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11100
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11101
    shlibpath_overrides_runpath=no
11102
    hardcode_into_libs=yes
11103
    ;;
11104
  *) # from 4.6 on, and DragonFly
11105
    shlibpath_overrides_runpath=yes
11106
    hardcode_into_libs=yes
11107
    ;;
11108
  esac
11109
  ;;
11110
 
11111
gnu*)
11112
  version_type=linux
11113
  need_lib_prefix=no
11114
  need_version=no
11115
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11116
  soname_spec='${libname}${release}${shared_ext}$major'
11117
  shlibpath_var=LD_LIBRARY_PATH
11118
  hardcode_into_libs=yes
11119
  ;;
11120
 
11121
hpux9* | hpux10* | hpux11*)
11122
  # Give a soname corresponding to the major version so that dld.sl refuses to
11123
  # link against other versions.
11124
  version_type=sunos
11125
  need_lib_prefix=no
11126
  need_version=no
11127
  case $host_cpu in
11128
  ia64*)
11129
    shrext_cmds='.so'
11130
    hardcode_into_libs=yes
11131
    dynamic_linker="$host_os dld.so"
11132
    shlibpath_var=LD_LIBRARY_PATH
11133
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11134
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11135
    soname_spec='${libname}${release}${shared_ext}$major'
11136
    if test "X$HPUX_IA64_MODE" = X32; then
11137
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11138
    else
11139
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11140
    fi
11141
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11142
    ;;
11143
  hppa*64*)
11144
    shrext_cmds='.sl'
11145
    hardcode_into_libs=yes
11146
    dynamic_linker="$host_os dld.sl"
11147
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11148
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11149
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11150
    soname_spec='${libname}${release}${shared_ext}$major'
11151
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11152
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11153
    ;;
11154
  *)
11155
    shrext_cmds='.sl'
11156
    dynamic_linker="$host_os dld.sl"
11157
    shlibpath_var=SHLIB_PATH
11158
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11159
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11160
    soname_spec='${libname}${release}${shared_ext}$major'
11161
    ;;
11162
  esac
11163
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11164
  postinstall_cmds='chmod 555 $lib'
11165
  ;;
11166
 
11167
interix[3-9]*)
11168
  version_type=linux
11169
  need_lib_prefix=no
11170
  need_version=no
11171
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11172
  soname_spec='${libname}${release}${shared_ext}$major'
11173
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11174
  shlibpath_var=LD_LIBRARY_PATH
11175
  shlibpath_overrides_runpath=no
11176
  hardcode_into_libs=yes
11177
  ;;
11178
 
11179
irix5* | irix6* | nonstopux*)
11180
  case $host_os in
11181
    nonstopux*) version_type=nonstopux ;;
11182
    *)
11183
        if test "$lt_cv_prog_gnu_ld" = yes; then
11184
                version_type=linux
11185
        else
11186
                version_type=irix
11187
        fi ;;
11188
  esac
11189
  need_lib_prefix=no
11190
  need_version=no
11191
  soname_spec='${libname}${release}${shared_ext}$major'
11192
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11193
  case $host_os in
11194
  irix5* | nonstopux*)
11195
    libsuff= shlibsuff=
11196
    ;;
11197
  *)
11198
    case $LD in # libtool.m4 will add one of these switches to LD
11199
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11200
      libsuff= shlibsuff= libmagic=32-bit;;
11201
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11202
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11203
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11204
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11205
    *) libsuff= shlibsuff= libmagic=never-match;;
11206
    esac
11207
    ;;
11208
  esac
11209
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11210
  shlibpath_overrides_runpath=no
11211
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11212
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11213
  hardcode_into_libs=yes
11214
  ;;
11215
 
11216
# No shared lib support for Linux oldld, aout, or coff.
11217
linux*oldld* | linux*aout* | linux*coff*)
11218
  dynamic_linker=no
11219
  ;;
11220
 
11221
# This must be Linux ELF.
11222
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11223
  version_type=linux
11224
  need_lib_prefix=no
11225
  need_version=no
11226
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11227
  soname_spec='${libname}${release}${shared_ext}$major'
11228
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11229
  shlibpath_var=LD_LIBRARY_PATH
11230
  shlibpath_overrides_runpath=no
11231
 
11232
  # Some binutils ld are patched to set DT_RUNPATH
11233
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
11234
  $as_echo_n "(cached) " >&6
11235
else
11236
  lt_cv_shlibpath_overrides_runpath=no
11237
    save_LDFLAGS=$LDFLAGS
11238
    save_libdir=$libdir
11239
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11240
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11241
    cat >conftest.$ac_ext <<_ACEOF
11242
/* confdefs.h.  */
11243
_ACEOF
11244
cat confdefs.h >>conftest.$ac_ext
11245
cat >>conftest.$ac_ext <<_ACEOF
11246
/* end confdefs.h.  */
11247
 
11248
int
11249
main ()
11250
{
11251
 
11252
  ;
11253
  return 0;
11254
}
11255
_ACEOF
11256
rm -f conftest.$ac_objext conftest$ac_exeext
11257
if { (ac_try="$ac_link"
11258
case "(($ac_try" in
11259
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11260
  *) ac_try_echo=$ac_try;;
11261
esac
11262
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11263
$as_echo "$ac_try_echo") >&5
11264
  (eval "$ac_link") 2>conftest.er1
11265
  ac_status=$?
11266
  grep -v '^ *+' conftest.er1 >conftest.err
11267
  rm -f conftest.er1
11268
  cat conftest.err >&5
11269
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270
  (exit $ac_status); } && {
11271
         test -z "$ac_c_werror_flag" ||
11272
         test ! -s conftest.err
11273
       } && test -s conftest$ac_exeext && {
11274
         test "$cross_compiling" = yes ||
11275
         $as_test_x conftest$ac_exeext
11276
       }; then
11277
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11278
  lt_cv_shlibpath_overrides_runpath=yes
11279
fi
11280
 
11281
else
11282
  $as_echo "$as_me: failed program was:" >&5
11283
sed 's/^/| /' conftest.$ac_ext >&5
11284
 
11285
 
11286
fi
11287
 
11288
rm -rf conftest.dSYM
11289
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11290
      conftest$ac_exeext conftest.$ac_ext
11291
    LDFLAGS=$save_LDFLAGS
11292
    libdir=$save_libdir
11293
 
11294
fi
11295
 
11296
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11297
 
11298
  # This implies no fast_install, which is unacceptable.
11299
  # Some rework will be needed to allow for fast_install
11300
  # before this can be enabled.
11301
  hardcode_into_libs=yes
11302
 
11303
  # Append ld.so.conf contents to the search path
11304
  if test -f /etc/ld.so.conf; then
11305
    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' ' '`
11306
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11307
  fi
11308
 
11309
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11310
  # powerpc, because MkLinux only supported shared libraries with the
11311
  # GNU dynamic linker.  Since this was broken with cross compilers,
11312
  # most powerpc-linux boxes support dynamic linking these days and
11313
  # people can always --disable-shared, the test was removed, and we
11314
  # assume the GNU/Linux dynamic linker is in use.
11315
  dynamic_linker='GNU/Linux ld.so'
11316
  ;;
11317
 
11318
netbsd*)
11319
  version_type=sunos
11320
  need_lib_prefix=no
11321
  need_version=no
11322
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11323
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11324
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11325
    dynamic_linker='NetBSD (a.out) ld.so'
11326
  else
11327
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11328
    soname_spec='${libname}${release}${shared_ext}$major'
11329
    dynamic_linker='NetBSD ld.elf_so'
11330
  fi
11331
  shlibpath_var=LD_LIBRARY_PATH
11332
  shlibpath_overrides_runpath=yes
11333
  hardcode_into_libs=yes
11334
  ;;
11335
 
11336
newsos6)
11337
  version_type=linux
11338
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11339
  shlibpath_var=LD_LIBRARY_PATH
11340
  shlibpath_overrides_runpath=yes
11341
  ;;
11342
 
11343
*nto* | *qnx*)
11344
  version_type=qnx
11345
  need_lib_prefix=no
11346
  need_version=no
11347
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11348
  soname_spec='${libname}${release}${shared_ext}$major'
11349
  shlibpath_var=LD_LIBRARY_PATH
11350
  shlibpath_overrides_runpath=no
11351
  hardcode_into_libs=yes
11352
  dynamic_linker='ldqnx.so'
11353
  ;;
11354
 
11355
openbsd*)
11356
  version_type=sunos
11357
  sys_lib_dlsearch_path_spec="/usr/lib"
11358
  need_lib_prefix=no
11359
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11360
  case $host_os in
11361
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11362
    *)                          need_version=no  ;;
11363
  esac
11364
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11365
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11366
  shlibpath_var=LD_LIBRARY_PATH
11367
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11368
    case $host_os in
11369
      openbsd2.[89] | openbsd2.[89].*)
11370
        shlibpath_overrides_runpath=no
11371
        ;;
11372
      *)
11373
        shlibpath_overrides_runpath=yes
11374
        ;;
11375
      esac
11376
  else
11377
    shlibpath_overrides_runpath=yes
11378
  fi
11379
  ;;
11380
 
11381
os2*)
11382
  libname_spec='$name'
11383
  shrext_cmds=".dll"
11384
  need_lib_prefix=no
11385
  library_names_spec='$libname${shared_ext} $libname.a'
11386
  dynamic_linker='OS/2 ld.exe'
11387
  shlibpath_var=LIBPATH
11388
  ;;
11389
 
11390
osf3* | osf4* | osf5*)
11391
  version_type=osf
11392
  need_lib_prefix=no
11393
  need_version=no
11394
  soname_spec='${libname}${release}${shared_ext}$major'
11395
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11396
  shlibpath_var=LD_LIBRARY_PATH
11397
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11398
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11399
  ;;
11400
 
11401
rdos*)
11402
  dynamic_linker=no
11403
  ;;
11404
 
11405
solaris*)
11406
  version_type=linux
11407
  need_lib_prefix=no
11408
  need_version=no
11409
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11410
  soname_spec='${libname}${release}${shared_ext}$major'
11411
  shlibpath_var=LD_LIBRARY_PATH
11412
  shlibpath_overrides_runpath=yes
11413
  hardcode_into_libs=yes
11414
  # ldd complains unless libraries are executable
11415
  postinstall_cmds='chmod +x $lib'
11416
  ;;
11417
 
11418
sunos4*)
11419
  version_type=sunos
11420
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11421
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11422
  shlibpath_var=LD_LIBRARY_PATH
11423
  shlibpath_overrides_runpath=yes
11424
  if test "$with_gnu_ld" = yes; then
11425
    need_lib_prefix=no
11426
  fi
11427
  need_version=yes
11428
  ;;
11429
 
11430
sysv4 | sysv4.3*)
11431
  version_type=linux
11432
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11433
  soname_spec='${libname}${release}${shared_ext}$major'
11434
  shlibpath_var=LD_LIBRARY_PATH
11435
  case $host_vendor in
11436
    sni)
11437
      shlibpath_overrides_runpath=no
11438
      need_lib_prefix=no
11439
      runpath_var=LD_RUN_PATH
11440
      ;;
11441
    siemens)
11442
      need_lib_prefix=no
11443
      ;;
11444
    motorola)
11445
      need_lib_prefix=no
11446
      need_version=no
11447
      shlibpath_overrides_runpath=no
11448
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11449
      ;;
11450
  esac
11451
  ;;
11452
 
11453
sysv4*MP*)
11454
  if test -d /usr/nec ;then
11455
    version_type=linux
11456
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11457
    soname_spec='$libname${shared_ext}.$major'
11458
    shlibpath_var=LD_LIBRARY_PATH
11459
  fi
11460
  ;;
11461
 
11462
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11463
  version_type=freebsd-elf
11464
  need_lib_prefix=no
11465
  need_version=no
11466
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11467
  soname_spec='${libname}${release}${shared_ext}$major'
11468
  shlibpath_var=LD_LIBRARY_PATH
11469
  shlibpath_overrides_runpath=yes
11470
  hardcode_into_libs=yes
11471
  if test "$with_gnu_ld" = yes; then
11472
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11473
  else
11474
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11475
    case $host_os in
11476
      sco3.2v5*)
11477
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11478
        ;;
11479
    esac
11480
  fi
11481
  sys_lib_dlsearch_path_spec='/usr/lib'
11482
  ;;
11483
 
11484
tpf*)
11485
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11486
  version_type=linux
11487
  need_lib_prefix=no
11488
  need_version=no
11489
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11490
  shlibpath_var=LD_LIBRARY_PATH
11491
  shlibpath_overrides_runpath=no
11492
  hardcode_into_libs=yes
11493
  ;;
11494
 
11495
uts4*)
11496
  version_type=linux
11497
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11498
  soname_spec='${libname}${release}${shared_ext}$major'
11499
  shlibpath_var=LD_LIBRARY_PATH
11500
  ;;
11501
 
11502
*)
11503
  dynamic_linker=no
11504
  ;;
11505
esac
11506
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11507
$as_echo "$dynamic_linker" >&6; }
11508
test "$dynamic_linker" = no && can_build_shared=no
11509
 
11510
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11511
if test "$GCC" = yes; then
11512
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11513
fi
11514
 
11515
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11516
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11517
fi
11518
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11519
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11520
fi
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
 
11605
 
11606
 
11607
 
11608
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11609
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11610
hardcode_action=
11611
if test -n "$hardcode_libdir_flag_spec" ||
11612
   test -n "$runpath_var" ||
11613
   test "X$hardcode_automatic" = "Xyes" ; then
11614
 
11615
  # We can hardcode non-existent directories.
11616
  if test "$hardcode_direct" != no &&
11617
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11618
     # have to relink, otherwise we might link with an installed library
11619
     # when we should be linking with a yet-to-be-installed one
11620
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11621
     test "$hardcode_minus_L" != no; then
11622
    # Linking always hardcodes the temporary library directory.
11623
    hardcode_action=relink
11624
  else
11625
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11626
    hardcode_action=immediate
11627
  fi
11628
else
11629
  # We cannot hardcode anything, or else we can only hardcode existing
11630
  # directories.
11631
  hardcode_action=unsupported
11632
fi
11633
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11634
$as_echo "$hardcode_action" >&6; }
11635
 
11636
if test "$hardcode_action" = relink ||
11637
   test "$inherit_rpath" = yes; then
11638
  # Fast installation is not supported
11639
  enable_fast_install=no
11640
elif test "$shlibpath_overrides_runpath" = yes ||
11641
     test "$enable_shared" = no; then
11642
  # Fast installation is not necessary
11643
  enable_fast_install=needless
11644
fi
11645
 
11646
 
11647
 
11648
 
11649
 
11650
 
11651
  if test "x$enable_dlopen" != xyes; then
11652
  enable_dlopen=unknown
11653
  enable_dlopen_self=unknown
11654
  enable_dlopen_self_static=unknown
11655
else
11656
  lt_cv_dlopen=no
11657
  lt_cv_dlopen_libs=
11658
 
11659
  case $host_os in
11660
  beos*)
11661
    lt_cv_dlopen="load_add_on"
11662
    lt_cv_dlopen_libs=
11663
    lt_cv_dlopen_self=yes
11664
    ;;
11665
 
11666
  mingw* | pw32* | cegcc*)
11667
    lt_cv_dlopen="LoadLibrary"
11668
    lt_cv_dlopen_libs=
11669
    ;;
11670
 
11671
  cygwin*)
11672
    lt_cv_dlopen="dlopen"
11673
    lt_cv_dlopen_libs=
11674
    ;;
11675
 
11676
  darwin*)
11677
  # if libdl is installed we need to link against it
11678
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11679
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11680
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11681
  $as_echo_n "(cached) " >&6
11682
else
11683
  ac_check_lib_save_LIBS=$LIBS
11684
LIBS="-ldl  $LIBS"
11685
cat >conftest.$ac_ext <<_ACEOF
11686
/* confdefs.h.  */
11687
_ACEOF
11688
cat confdefs.h >>conftest.$ac_ext
11689
cat >>conftest.$ac_ext <<_ACEOF
11690
/* end confdefs.h.  */
11691
 
11692
/* Override any GCC internal prototype to avoid an error.
11693
   Use char because int might match the return type of a GCC
11694
   builtin and then its argument prototype would still apply.  */
11695
#ifdef __cplusplus
11696
extern "C"
11697
#endif
11698
char dlopen ();
11699
int
11700
main ()
11701
{
11702
return dlopen ();
11703
  ;
11704
  return 0;
11705
}
11706
_ACEOF
11707
rm -f conftest.$ac_objext conftest$ac_exeext
11708
if { (ac_try="$ac_link"
11709
case "(($ac_try" in
11710
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11711
  *) ac_try_echo=$ac_try;;
11712
esac
11713
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11714
$as_echo "$ac_try_echo") >&5
11715
  (eval "$ac_link") 2>conftest.er1
11716
  ac_status=$?
11717
  grep -v '^ *+' conftest.er1 >conftest.err
11718
  rm -f conftest.er1
11719
  cat conftest.err >&5
11720
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721
  (exit $ac_status); } && {
11722
         test -z "$ac_c_werror_flag" ||
11723
         test ! -s conftest.err
11724
       } && test -s conftest$ac_exeext && {
11725
         test "$cross_compiling" = yes ||
11726
         $as_test_x conftest$ac_exeext
11727
       }; then
11728
  ac_cv_lib_dl_dlopen=yes
11729
else
11730
  $as_echo "$as_me: failed program was:" >&5
11731
sed 's/^/| /' conftest.$ac_ext >&5
11732
 
11733
        ac_cv_lib_dl_dlopen=no
11734
fi
11735
 
11736
rm -rf conftest.dSYM
11737
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11738
      conftest$ac_exeext conftest.$ac_ext
11739
LIBS=$ac_check_lib_save_LIBS
11740
fi
11741
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11742
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11743
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11744
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11745
else
11746
 
11747
    lt_cv_dlopen="dyld"
11748
    lt_cv_dlopen_libs=
11749
    lt_cv_dlopen_self=yes
11750
 
11751
fi
11752
 
11753
    ;;
11754
 
11755
  *)
11756
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11757
$as_echo_n "checking for shl_load... " >&6; }
11758
if test "${ac_cv_func_shl_load+set}" = set; then
11759
  $as_echo_n "(cached) " >&6
11760
else
11761
  cat >conftest.$ac_ext <<_ACEOF
11762
/* confdefs.h.  */
11763
_ACEOF
11764
cat confdefs.h >>conftest.$ac_ext
11765
cat >>conftest.$ac_ext <<_ACEOF
11766
/* end confdefs.h.  */
11767
/* Define shl_load to an innocuous variant, in case  declares shl_load.
11768
   For example, HP-UX 11i  declares gettimeofday.  */
11769
#define shl_load innocuous_shl_load
11770
 
11771
/* System header to define __stub macros and hopefully few prototypes,
11772
    which can conflict with char shl_load (); below.
11773
    Prefer  to  if __STDC__ is defined, since
11774
     exists even on freestanding compilers.  */
11775
 
11776
#ifdef __STDC__
11777
# include 
11778
#else
11779
# include 
11780
#endif
11781
 
11782
#undef shl_load
11783
 
11784
/* Override any GCC internal prototype to avoid an error.
11785
   Use char because int might match the return type of a GCC
11786
   builtin and then its argument prototype would still apply.  */
11787
#ifdef __cplusplus
11788
extern "C"
11789
#endif
11790
char shl_load ();
11791
/* The GNU C library defines this for functions which it implements
11792
    to always fail with ENOSYS.  Some functions are actually named
11793
    something starting with __ and the normal name is an alias.  */
11794
#if defined __stub_shl_load || defined __stub___shl_load
11795
choke me
11796
#endif
11797
 
11798
int
11799
main ()
11800
{
11801
return shl_load ();
11802
  ;
11803
  return 0;
11804
}
11805
_ACEOF
11806
rm -f conftest.$ac_objext conftest$ac_exeext
11807
if { (ac_try="$ac_link"
11808
case "(($ac_try" in
11809
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11810
  *) ac_try_echo=$ac_try;;
11811
esac
11812
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11813
$as_echo "$ac_try_echo") >&5
11814
  (eval "$ac_link") 2>conftest.er1
11815
  ac_status=$?
11816
  grep -v '^ *+' conftest.er1 >conftest.err
11817
  rm -f conftest.er1
11818
  cat conftest.err >&5
11819
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820
  (exit $ac_status); } && {
11821
         test -z "$ac_c_werror_flag" ||
11822
         test ! -s conftest.err
11823
       } && test -s conftest$ac_exeext && {
11824
         test "$cross_compiling" = yes ||
11825
         $as_test_x conftest$ac_exeext
11826
       }; then
11827
  ac_cv_func_shl_load=yes
11828
else
11829
  $as_echo "$as_me: failed program was:" >&5
11830
sed 's/^/| /' conftest.$ac_ext >&5
11831
 
11832
        ac_cv_func_shl_load=no
11833
fi
11834
 
11835
rm -rf conftest.dSYM
11836
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11837
      conftest$ac_exeext conftest.$ac_ext
11838
fi
11839
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11840
$as_echo "$ac_cv_func_shl_load" >&6; }
11841
if test "x$ac_cv_func_shl_load" = x""yes; then
11842
  lt_cv_dlopen="shl_load"
11843
else
11844
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11845
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11846
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11847
  $as_echo_n "(cached) " >&6
11848
else
11849
  ac_check_lib_save_LIBS=$LIBS
11850
LIBS="-ldld  $LIBS"
11851
cat >conftest.$ac_ext <<_ACEOF
11852
/* confdefs.h.  */
11853
_ACEOF
11854
cat confdefs.h >>conftest.$ac_ext
11855
cat >>conftest.$ac_ext <<_ACEOF
11856
/* end confdefs.h.  */
11857
 
11858
/* Override any GCC internal prototype to avoid an error.
11859
   Use char because int might match the return type of a GCC
11860
   builtin and then its argument prototype would still apply.  */
11861
#ifdef __cplusplus
11862
extern "C"
11863
#endif
11864
char shl_load ();
11865
int
11866
main ()
11867
{
11868
return shl_load ();
11869
  ;
11870
  return 0;
11871
}
11872
_ACEOF
11873
rm -f conftest.$ac_objext conftest$ac_exeext
11874
if { (ac_try="$ac_link"
11875
case "(($ac_try" in
11876
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11877
  *) ac_try_echo=$ac_try;;
11878
esac
11879
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11880
$as_echo "$ac_try_echo") >&5
11881
  (eval "$ac_link") 2>conftest.er1
11882
  ac_status=$?
11883
  grep -v '^ *+' conftest.er1 >conftest.err
11884
  rm -f conftest.er1
11885
  cat conftest.err >&5
11886
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887
  (exit $ac_status); } && {
11888
         test -z "$ac_c_werror_flag" ||
11889
         test ! -s conftest.err
11890
       } && test -s conftest$ac_exeext && {
11891
         test "$cross_compiling" = yes ||
11892
         $as_test_x conftest$ac_exeext
11893
       }; then
11894
  ac_cv_lib_dld_shl_load=yes
11895
else
11896
  $as_echo "$as_me: failed program was:" >&5
11897
sed 's/^/| /' conftest.$ac_ext >&5
11898
 
11899
        ac_cv_lib_dld_shl_load=no
11900
fi
11901
 
11902
rm -rf conftest.dSYM
11903
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11904
      conftest$ac_exeext conftest.$ac_ext
11905
LIBS=$ac_check_lib_save_LIBS
11906
fi
11907
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11908
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11909
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11910
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11911
else
11912
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11913
$as_echo_n "checking for dlopen... " >&6; }
11914
if test "${ac_cv_func_dlopen+set}" = set; then
11915
  $as_echo_n "(cached) " >&6
11916
else
11917
  cat >conftest.$ac_ext <<_ACEOF
11918
/* confdefs.h.  */
11919
_ACEOF
11920
cat confdefs.h >>conftest.$ac_ext
11921
cat >>conftest.$ac_ext <<_ACEOF
11922
/* end confdefs.h.  */
11923
/* Define dlopen to an innocuous variant, in case  declares dlopen.
11924
   For example, HP-UX 11i  declares gettimeofday.  */
11925
#define dlopen innocuous_dlopen
11926
 
11927
/* System header to define __stub macros and hopefully few prototypes,
11928
    which can conflict with char dlopen (); below.
11929
    Prefer  to  if __STDC__ is defined, since
11930
     exists even on freestanding compilers.  */
11931
 
11932
#ifdef __STDC__
11933
# include 
11934
#else
11935
# include 
11936
#endif
11937
 
11938
#undef dlopen
11939
 
11940
/* Override any GCC internal prototype to avoid an error.
11941
   Use char because int might match the return type of a GCC
11942
   builtin and then its argument prototype would still apply.  */
11943
#ifdef __cplusplus
11944
extern "C"
11945
#endif
11946
char dlopen ();
11947
/* The GNU C library defines this for functions which it implements
11948
    to always fail with ENOSYS.  Some functions are actually named
11949
    something starting with __ and the normal name is an alias.  */
11950
#if defined __stub_dlopen || defined __stub___dlopen
11951
choke me
11952
#endif
11953
 
11954
int
11955
main ()
11956
{
11957
return dlopen ();
11958
  ;
11959
  return 0;
11960
}
11961
_ACEOF
11962
rm -f conftest.$ac_objext conftest$ac_exeext
11963
if { (ac_try="$ac_link"
11964
case "(($ac_try" in
11965
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11966
  *) ac_try_echo=$ac_try;;
11967
esac
11968
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11969
$as_echo "$ac_try_echo") >&5
11970
  (eval "$ac_link") 2>conftest.er1
11971
  ac_status=$?
11972
  grep -v '^ *+' conftest.er1 >conftest.err
11973
  rm -f conftest.er1
11974
  cat conftest.err >&5
11975
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976
  (exit $ac_status); } && {
11977
         test -z "$ac_c_werror_flag" ||
11978
         test ! -s conftest.err
11979
       } && test -s conftest$ac_exeext && {
11980
         test "$cross_compiling" = yes ||
11981
         $as_test_x conftest$ac_exeext
11982
       }; then
11983
  ac_cv_func_dlopen=yes
11984
else
11985
  $as_echo "$as_me: failed program was:" >&5
11986
sed 's/^/| /' conftest.$ac_ext >&5
11987
 
11988
        ac_cv_func_dlopen=no
11989
fi
11990
 
11991
rm -rf conftest.dSYM
11992
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11993
      conftest$ac_exeext conftest.$ac_ext
11994
fi
11995
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11996
$as_echo "$ac_cv_func_dlopen" >&6; }
11997
if test "x$ac_cv_func_dlopen" = x""yes; then
11998
  lt_cv_dlopen="dlopen"
11999
else
12000
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12001
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12002
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12003
  $as_echo_n "(cached) " >&6
12004
else
12005
  ac_check_lib_save_LIBS=$LIBS
12006
LIBS="-ldl  $LIBS"
12007
cat >conftest.$ac_ext <<_ACEOF
12008
/* confdefs.h.  */
12009
_ACEOF
12010
cat confdefs.h >>conftest.$ac_ext
12011
cat >>conftest.$ac_ext <<_ACEOF
12012
/* end confdefs.h.  */
12013
 
12014
/* Override any GCC internal prototype to avoid an error.
12015
   Use char because int might match the return type of a GCC
12016
   builtin and then its argument prototype would still apply.  */
12017
#ifdef __cplusplus
12018
extern "C"
12019
#endif
12020
char dlopen ();
12021
int
12022
main ()
12023
{
12024
return dlopen ();
12025
  ;
12026
  return 0;
12027
}
12028
_ACEOF
12029
rm -f conftest.$ac_objext conftest$ac_exeext
12030
if { (ac_try="$ac_link"
12031
case "(($ac_try" in
12032
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12033
  *) ac_try_echo=$ac_try;;
12034
esac
12035
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12036
$as_echo "$ac_try_echo") >&5
12037
  (eval "$ac_link") 2>conftest.er1
12038
  ac_status=$?
12039
  grep -v '^ *+' conftest.er1 >conftest.err
12040
  rm -f conftest.er1
12041
  cat conftest.err >&5
12042
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043
  (exit $ac_status); } && {
12044
         test -z "$ac_c_werror_flag" ||
12045
         test ! -s conftest.err
12046
       } && test -s conftest$ac_exeext && {
12047
         test "$cross_compiling" = yes ||
12048
         $as_test_x conftest$ac_exeext
12049
       }; then
12050
  ac_cv_lib_dl_dlopen=yes
12051
else
12052
  $as_echo "$as_me: failed program was:" >&5
12053
sed 's/^/| /' conftest.$ac_ext >&5
12054
 
12055
        ac_cv_lib_dl_dlopen=no
12056
fi
12057
 
12058
rm -rf conftest.dSYM
12059
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12060
      conftest$ac_exeext conftest.$ac_ext
12061
LIBS=$ac_check_lib_save_LIBS
12062
fi
12063
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12064
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12065
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
12066
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12067
else
12068
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12069
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12070
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12071
  $as_echo_n "(cached) " >&6
12072
else
12073
  ac_check_lib_save_LIBS=$LIBS
12074
LIBS="-lsvld  $LIBS"
12075
cat >conftest.$ac_ext <<_ACEOF
12076
/* confdefs.h.  */
12077
_ACEOF
12078
cat confdefs.h >>conftest.$ac_ext
12079
cat >>conftest.$ac_ext <<_ACEOF
12080
/* end confdefs.h.  */
12081
 
12082
/* Override any GCC internal prototype to avoid an error.
12083
   Use char because int might match the return type of a GCC
12084
   builtin and then its argument prototype would still apply.  */
12085
#ifdef __cplusplus
12086
extern "C"
12087
#endif
12088
char dlopen ();
12089
int
12090
main ()
12091
{
12092
return dlopen ();
12093
  ;
12094
  return 0;
12095
}
12096
_ACEOF
12097
rm -f conftest.$ac_objext conftest$ac_exeext
12098
if { (ac_try="$ac_link"
12099
case "(($ac_try" in
12100
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12101
  *) ac_try_echo=$ac_try;;
12102
esac
12103
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12104
$as_echo "$ac_try_echo") >&5
12105
  (eval "$ac_link") 2>conftest.er1
12106
  ac_status=$?
12107
  grep -v '^ *+' conftest.er1 >conftest.err
12108
  rm -f conftest.er1
12109
  cat conftest.err >&5
12110
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111
  (exit $ac_status); } && {
12112
         test -z "$ac_c_werror_flag" ||
12113
         test ! -s conftest.err
12114
       } && test -s conftest$ac_exeext && {
12115
         test "$cross_compiling" = yes ||
12116
         $as_test_x conftest$ac_exeext
12117
       }; then
12118
  ac_cv_lib_svld_dlopen=yes
12119
else
12120
  $as_echo "$as_me: failed program was:" >&5
12121
sed 's/^/| /' conftest.$ac_ext >&5
12122
 
12123
        ac_cv_lib_svld_dlopen=no
12124
fi
12125
 
12126
rm -rf conftest.dSYM
12127
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12128
      conftest$ac_exeext conftest.$ac_ext
12129
LIBS=$ac_check_lib_save_LIBS
12130
fi
12131
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12132
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12133
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12134
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12135
else
12136
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12137
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12138
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12139
  $as_echo_n "(cached) " >&6
12140
else
12141
  ac_check_lib_save_LIBS=$LIBS
12142
LIBS="-ldld  $LIBS"
12143
cat >conftest.$ac_ext <<_ACEOF
12144
/* confdefs.h.  */
12145
_ACEOF
12146
cat confdefs.h >>conftest.$ac_ext
12147
cat >>conftest.$ac_ext <<_ACEOF
12148
/* end confdefs.h.  */
12149
 
12150
/* Override any GCC internal prototype to avoid an error.
12151
   Use char because int might match the return type of a GCC
12152
   builtin and then its argument prototype would still apply.  */
12153
#ifdef __cplusplus
12154
extern "C"
12155
#endif
12156
char dld_link ();
12157
int
12158
main ()
12159
{
12160
return dld_link ();
12161
  ;
12162
  return 0;
12163
}
12164
_ACEOF
12165
rm -f conftest.$ac_objext conftest$ac_exeext
12166
if { (ac_try="$ac_link"
12167
case "(($ac_try" in
12168
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12169
  *) ac_try_echo=$ac_try;;
12170
esac
12171
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12172
$as_echo "$ac_try_echo") >&5
12173
  (eval "$ac_link") 2>conftest.er1
12174
  ac_status=$?
12175
  grep -v '^ *+' conftest.er1 >conftest.err
12176
  rm -f conftest.er1
12177
  cat conftest.err >&5
12178
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179
  (exit $ac_status); } && {
12180
         test -z "$ac_c_werror_flag" ||
12181
         test ! -s conftest.err
12182
       } && test -s conftest$ac_exeext && {
12183
         test "$cross_compiling" = yes ||
12184
         $as_test_x conftest$ac_exeext
12185
       }; then
12186
  ac_cv_lib_dld_dld_link=yes
12187
else
12188
  $as_echo "$as_me: failed program was:" >&5
12189
sed 's/^/| /' conftest.$ac_ext >&5
12190
 
12191
        ac_cv_lib_dld_dld_link=no
12192
fi
12193
 
12194
rm -rf conftest.dSYM
12195
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12196
      conftest$ac_exeext conftest.$ac_ext
12197
LIBS=$ac_check_lib_save_LIBS
12198
fi
12199
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12200
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12201
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12202
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12203
fi
12204
 
12205
 
12206
fi
12207
 
12208
 
12209
fi
12210
 
12211
 
12212
fi
12213
 
12214
 
12215
fi
12216
 
12217
 
12218
fi
12219
 
12220
    ;;
12221
  esac
12222
 
12223
  if test "x$lt_cv_dlopen" != xno; then
12224
    enable_dlopen=yes
12225
  else
12226
    enable_dlopen=no
12227
  fi
12228
 
12229
  case $lt_cv_dlopen in
12230
  dlopen)
12231
    save_CPPFLAGS="$CPPFLAGS"
12232
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12233
 
12234
    save_LDFLAGS="$LDFLAGS"
12235
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12236
 
12237
    save_LIBS="$LIBS"
12238
    LIBS="$lt_cv_dlopen_libs $LIBS"
12239
 
12240
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12241
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12242
if test "${lt_cv_dlopen_self+set}" = set; then
12243
  $as_echo_n "(cached) " >&6
12244
else
12245
          if test "$cross_compiling" = yes; then :
12246
  lt_cv_dlopen_self=cross
12247
else
12248
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12249
  lt_status=$lt_dlunknown
12250
  cat > conftest.$ac_ext <<_LT_EOF
12251
#line 12251 "configure"
12252
#include "confdefs.h"
12253
 
12254
#if HAVE_DLFCN_H
12255
#include 
12256
#endif
12257
 
12258
#include 
12259
 
12260
#ifdef RTLD_GLOBAL
12261
#  define LT_DLGLOBAL           RTLD_GLOBAL
12262
#else
12263
#  ifdef DL_GLOBAL
12264
#    define LT_DLGLOBAL         DL_GLOBAL
12265
#  else
12266
#    define LT_DLGLOBAL         0
12267
#  endif
12268
#endif
12269
 
12270
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12271
   find out it does not work in some platform. */
12272
#ifndef LT_DLLAZY_OR_NOW
12273
#  ifdef RTLD_LAZY
12274
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12275
#  else
12276
#    ifdef DL_LAZY
12277
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12278
#    else
12279
#      ifdef RTLD_NOW
12280
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12281
#      else
12282
#        ifdef DL_NOW
12283
#          define LT_DLLAZY_OR_NOW      DL_NOW
12284
#        else
12285
#          define LT_DLLAZY_OR_NOW      0
12286
#        endif
12287
#      endif
12288
#    endif
12289
#  endif
12290
#endif
12291
 
12292
void fnord() { int i=42;}
12293
int main ()
12294
{
12295
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12296
  int status = $lt_dlunknown;
12297
 
12298
  if (self)
12299
    {
12300
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12301
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12302
      /* dlclose (self); */
12303
    }
12304
  else
12305
    puts (dlerror ());
12306
 
12307
  return status;
12308
}
12309
_LT_EOF
12310
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12311
  (eval $ac_link) 2>&5
12312
  ac_status=$?
12313
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12314
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12315
    (./conftest; exit; ) >&5 2>/dev/null
12316
    lt_status=$?
12317
    case x$lt_status in
12318
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12319
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12320
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12321
    esac
12322
  else :
12323
    # compilation failed
12324
    lt_cv_dlopen_self=no
12325
  fi
12326
fi
12327
rm -fr conftest*
12328
 
12329
 
12330
fi
12331
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12332
$as_echo "$lt_cv_dlopen_self" >&6; }
12333
 
12334
    if test "x$lt_cv_dlopen_self" = xyes; then
12335
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12336
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12337
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12338
if test "${lt_cv_dlopen_self_static+set}" = set; then
12339
  $as_echo_n "(cached) " >&6
12340
else
12341
          if test "$cross_compiling" = yes; then :
12342
  lt_cv_dlopen_self_static=cross
12343
else
12344
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12345
  lt_status=$lt_dlunknown
12346
  cat > conftest.$ac_ext <<_LT_EOF
12347
#line 12347 "configure"
12348
#include "confdefs.h"
12349
 
12350
#if HAVE_DLFCN_H
12351
#include 
12352
#endif
12353
 
12354
#include 
12355
 
12356
#ifdef RTLD_GLOBAL
12357
#  define LT_DLGLOBAL           RTLD_GLOBAL
12358
#else
12359
#  ifdef DL_GLOBAL
12360
#    define LT_DLGLOBAL         DL_GLOBAL
12361
#  else
12362
#    define LT_DLGLOBAL         0
12363
#  endif
12364
#endif
12365
 
12366
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12367
   find out it does not work in some platform. */
12368
#ifndef LT_DLLAZY_OR_NOW
12369
#  ifdef RTLD_LAZY
12370
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12371
#  else
12372
#    ifdef DL_LAZY
12373
#      define LT_DLLAZY_OR_NOW          DL_LAZY
12374
#    else
12375
#      ifdef RTLD_NOW
12376
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
12377
#      else
12378
#        ifdef DL_NOW
12379
#          define LT_DLLAZY_OR_NOW      DL_NOW
12380
#        else
12381
#          define LT_DLLAZY_OR_NOW      0
12382
#        endif
12383
#      endif
12384
#    endif
12385
#  endif
12386
#endif
12387
 
12388
void fnord() { int i=42;}
12389
int main ()
12390
{
12391
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12392
  int status = $lt_dlunknown;
12393
 
12394
  if (self)
12395
    {
12396
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12397
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12398
      /* dlclose (self); */
12399
    }
12400
  else
12401
    puts (dlerror ());
12402
 
12403
  return status;
12404
}
12405
_LT_EOF
12406
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12407
  (eval $ac_link) 2>&5
12408
  ac_status=$?
12409
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12411
    (./conftest; exit; ) >&5 2>/dev/null
12412
    lt_status=$?
12413
    case x$lt_status in
12414
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12415
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12416
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12417
    esac
12418
  else :
12419
    # compilation failed
12420
    lt_cv_dlopen_self_static=no
12421
  fi
12422
fi
12423
rm -fr conftest*
12424
 
12425
 
12426
fi
12427
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12428
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12429
    fi
12430
 
12431
    CPPFLAGS="$save_CPPFLAGS"
12432
    LDFLAGS="$save_LDFLAGS"
12433
    LIBS="$save_LIBS"
12434
    ;;
12435
  esac
12436
 
12437
  case $lt_cv_dlopen_self in
12438
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12439
  *) enable_dlopen_self=unknown ;;
12440
  esac
12441
 
12442
  case $lt_cv_dlopen_self_static in
12443
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12444
  *) enable_dlopen_self_static=unknown ;;
12445
  esac
12446
fi
12447
 
12448
 
12449
 
12450
 
12451
 
12452
 
12453
 
12454
 
12455
 
12456
 
12457
 
12458
 
12459
 
12460
 
12461
 
12462
 
12463
 
12464
striplib=
12465
old_striplib=
12466
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12467
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12468
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12469
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12470
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12471
  { $as_echo "$as_me:$LINENO: result: yes" >&5
12472
$as_echo "yes" >&6; }
12473
else
12474
# FIXME - insert some real tests, host_os isn't really good enough
12475
  case $host_os in
12476
  darwin*)
12477
    if test -n "$STRIP" ; then
12478
      striplib="$STRIP -x"
12479
      old_striplib="$STRIP -S"
12480
      { $as_echo "$as_me:$LINENO: result: yes" >&5
12481
$as_echo "yes" >&6; }
12482
    else
12483
      { $as_echo "$as_me:$LINENO: result: no" >&5
12484
$as_echo "no" >&6; }
12485
    fi
12486
    ;;
12487
  *)
12488
    { $as_echo "$as_me:$LINENO: result: no" >&5
12489
$as_echo "no" >&6; }
12490
    ;;
12491
  esac
12492
fi
12493
 
12494
 
12495
 
12496
 
12497
 
12498
 
12499
 
12500
 
12501
 
12502
 
12503
 
12504
 
12505
  # Report which library types will actually be built
12506
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12507
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12508
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12509
$as_echo "$can_build_shared" >&6; }
12510
 
12511
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12512
$as_echo_n "checking whether to build shared libraries... " >&6; }
12513
  test "$can_build_shared" = "no" && enable_shared=no
12514
 
12515
  # On AIX, shared libraries and static libraries use the same namespace, and
12516
  # are all built from PIC.
12517
  case $host_os in
12518
  aix3*)
12519
    test "$enable_shared" = yes && enable_static=no
12520
    if test -n "$RANLIB"; then
12521
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12522
      postinstall_cmds='$RANLIB $lib'
12523
    fi
12524
    ;;
12525
 
12526
  aix[4-9]*)
12527
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12528
      test "$enable_shared" = yes && enable_static=no
12529
    fi
12530
    ;;
12531
  esac
12532
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12533
$as_echo "$enable_shared" >&6; }
12534
 
12535
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12536
$as_echo_n "checking whether to build static libraries... " >&6; }
12537
  # Make sure either enable_shared or enable_static is yes.
12538
  test "$enable_shared" = yes || enable_static=yes
12539
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12540
$as_echo "$enable_static" >&6; }
12541
 
12542
 
12543
 
12544
 
12545
fi
12546
ac_ext=c
12547
ac_cpp='$CPP $CPPFLAGS'
12548
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12549
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12550
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12551
 
12552
CC="$lt_save_CC"
12553
 
12554
 
12555
 
12556
 
12557
 
12558
 
12559
 
12560
 
12561
 
12562
 
12563
 
12564
 
12565
 
12566
        ac_config_commands="$ac_config_commands libtool"
12567
 
12568
 
12569
 
12570
 
12571
# Only expand once:
12572
 
12573
 
12574
fi
12575
 
12576
machlib=
12577
 
12578
if test -n "${libm_machine_dir}"; then
12579
  case ${libm_machine_dir} in
12580
        i386)
12581
 
12582
subdirs="$subdirs i386"
12583
 ;;
12584
        spu) subdirs="$subdirs spu"
12585
 ;;
12586
  esac;
12587
  if test "${use_libtool}" = "yes"; then
12588
    machlib=${libm_machine_dir}/lib${libm_machine_dir}.${aext}
12589
  else
12590
    machlib=${libm_machine_dir}/lib.${aext}
12591
  fi
12592
fi
12593
 
12594
 
12595
 
12596
 
12597
 if test x${libm_machine_dir} != x; then
12598
  HAVE_LIBM_MACHINE_DIR_TRUE=
12599
  HAVE_LIBM_MACHINE_DIR_FALSE='#'
12600
else
12601
  HAVE_LIBM_MACHINE_DIR_TRUE='#'
12602
  HAVE_LIBM_MACHINE_DIR_FALSE=
12603
fi
12604
 
12605
ac_config_files="$ac_config_files Makefile"
12606
 
12607
cat >confcache <<\_ACEOF
12608
# This file is a shell script that caches the results of configure
12609
# tests run on this system so they can be shared between configure
12610
# scripts and configure runs, see configure's option --config-cache.
12611
# It is not useful on other systems.  If it contains results you don't
12612
# want to keep, you may remove or edit it.
12613
#
12614
# config.status only pays attention to the cache file if you give it
12615
# the --recheck option to rerun configure.
12616
#
12617
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12618
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12619
# following values.
12620
 
12621
_ACEOF
12622
 
12623
# The following way of writing the cache mishandles newlines in values,
12624
# but we know of no workaround that is simple, portable, and efficient.
12625
# So, we kill variables containing newlines.
12626
# Ultrix sh set writes to stderr and can't be redirected directly,
12627
# and sets the high bit in the cache file unless we assign to the vars.
12628
(
12629
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12630
    eval ac_val=\$$ac_var
12631
    case $ac_val in #(
12632
    *${as_nl}*)
12633
      case $ac_var in #(
12634
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12635
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12636
      esac
12637
      case $ac_var in #(
12638
      _ | IFS | as_nl) ;; #(
12639
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12640
      *) $as_unset $ac_var ;;
12641
      esac ;;
12642
    esac
12643
  done
12644
 
12645
  (set) 2>&1 |
12646
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12647
    *${as_nl}ac_space=\ *)
12648
      # `set' does not quote correctly, so add quotes (double-quote
12649
      # substitution turns \\\\ into \\, and sed turns \\ into \).
12650
      sed -n \
12651
        "s/'/'\\\\''/g;
12652
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12653
      ;; #(
12654
    *)
12655
      # `set' quotes correctly as required by POSIX, so do not add quotes.
12656
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12657
      ;;
12658
    esac |
12659
    sort
12660
) |
12661
  sed '
12662
     /^ac_cv_env_/b end
12663
     t clear
12664
     :clear
12665
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12666
     t end
12667
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12668
     :end' >>confcache
12669
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12670
  if test -w "$cache_file"; then
12671
    test "x$cache_file" != "x/dev/null" &&
12672
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12673
$as_echo "$as_me: updating cache $cache_file" >&6;}
12674
    cat confcache >$cache_file
12675
  else
12676
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12677
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12678
  fi
12679
fi
12680
rm -f confcache
12681
 
12682
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12683
# Let make expand exec_prefix.
12684
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12685
 
12686
# Transform confdefs.h into DEFS.
12687
# Protect against shell expansion while executing Makefile rules.
12688
# Protect against Makefile macro expansion.
12689
#
12690
# If the first sed substitution is executed (which looks for macros that
12691
# take arguments), then branch to the quote section.  Otherwise,
12692
# look for a macro that doesn't take arguments.
12693
ac_script='
12694
:mline
12695
/\\$/{
12696
 N
12697
 s,\\\n,,
12698
 b mline
12699
}
12700
t clear
12701
:clear
12702
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
12703
t quote
12704
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
12705
t quote
12706
b any
12707
:quote
12708
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12709
s/\[/\\&/g
12710
s/\]/\\&/g
12711
s/\$/$$/g
12712
H
12713
:any
12714
${
12715
        g
12716
        s/^\n//
12717
        s/\n/ /g
12718
        p
12719
}
12720
'
12721
DEFS=`sed -n "$ac_script" confdefs.h`
12722
 
12723
 
12724
ac_libobjs=
12725
ac_ltlibobjs=
12726
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12727
  # 1. Remove the extension, and $U if already installed.
12728
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12729
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12730
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12731
  #    will be set to the directory where LIBOBJS objects are built.
12732
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12733
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12734
done
12735
LIBOBJS=$ac_libobjs
12736
 
12737
LTLIBOBJS=$ac_ltlibobjs
12738
 
12739
 
12740
if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
12741
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
12742
Usually this means the macro was only invoked conditionally." >&5
12743
$as_echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
12744
Usually this means the macro was only invoked conditionally." >&2;}
12745
   { (exit 1); exit 1; }; }
12746
fi
12747
 if test -n "$EXEEXT"; then
12748
  am__EXEEXT_TRUE=
12749
  am__EXEEXT_FALSE='#'
12750
else
12751
  am__EXEEXT_TRUE='#'
12752
  am__EXEEXT_FALSE=
12753
fi
12754
 
12755
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12756
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12757
Usually this means the macro was only invoked conditionally." >&5
12758
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12759
Usually this means the macro was only invoked conditionally." >&2;}
12760
   { (exit 1); exit 1; }; }
12761
fi
12762
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12763
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12764
Usually this means the macro was only invoked conditionally." >&5
12765
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12766
Usually this means the macro was only invoked conditionally." >&2;}
12767
   { (exit 1); exit 1; }; }
12768
fi
12769
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12770
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12771
Usually this means the macro was only invoked conditionally." >&5
12772
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12773
Usually this means the macro was only invoked conditionally." >&2;}
12774
   { (exit 1); exit 1; }; }
12775
fi
12776
if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
12777
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
12778
Usually this means the macro was only invoked conditionally." >&5
12779
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
12780
Usually this means the macro was only invoked conditionally." >&2;}
12781
   { (exit 1); exit 1; }; }
12782
fi
12783
if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
12784
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
12785
Usually this means the macro was only invoked conditionally." >&5
12786
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
12787
Usually this means the macro was only invoked conditionally." >&2;}
12788
   { (exit 1); exit 1; }; }
12789
fi
12790
if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
12791
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
12792
Usually this means the macro was only invoked conditionally." >&5
12793
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
12794
Usually this means the macro was only invoked conditionally." >&2;}
12795
   { (exit 1); exit 1; }; }
12796
fi
12797
if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
12798
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
12799
Usually this means the macro was only invoked conditionally." >&5
12800
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
12801
Usually this means the macro was only invoked conditionally." >&2;}
12802
   { (exit 1); exit 1; }; }
12803
fi
12804
if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
12805
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
12806
Usually this means the macro was only invoked conditionally." >&5
12807
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
12808
Usually this means the macro was only invoked conditionally." >&2;}
12809
   { (exit 1); exit 1; }; }
12810
fi
12811
if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
12812
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
12813
Usually this means the macro was only invoked conditionally." >&5
12814
$as_echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
12815
Usually this means the macro was only invoked conditionally." >&2;}
12816
   { (exit 1); exit 1; }; }
12817
fi
12818
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12819
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12820
Usually this means the macro was only invoked conditionally." >&5
12821
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12822
Usually this means the macro was only invoked conditionally." >&2;}
12823
   { (exit 1); exit 1; }; }
12824
fi
12825
if test -z "${HAVE_LIBM_MACHINE_DIR_TRUE}" && test -z "${HAVE_LIBM_MACHINE_DIR_FALSE}"; then
12826
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_LIBM_MACHINE_DIR\" was never defined.
12827
Usually this means the macro was only invoked conditionally." >&5
12828
$as_echo "$as_me: error: conditional \"HAVE_LIBM_MACHINE_DIR\" was never defined.
12829
Usually this means the macro was only invoked conditionally." >&2;}
12830
   { (exit 1); exit 1; }; }
12831
fi
12832
 
12833
: ${CONFIG_STATUS=./config.status}
12834
ac_write_fail=0
12835
ac_clean_files_save=$ac_clean_files
12836
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12837
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12838
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12839
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12840
#! $SHELL
12841
# Generated by $as_me.
12842
# Run this file to recreate the current configuration.
12843
# Compiler output produced by configure, useful for debugging
12844
# configure, is in config.log if it exists.
12845
 
12846
debug=false
12847
ac_cs_recheck=false
12848
ac_cs_silent=false
12849
SHELL=\${CONFIG_SHELL-$SHELL}
12850
_ACEOF
12851
 
12852
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12853
## --------------------- ##
12854
## M4sh Initialization.  ##
12855
## --------------------- ##
12856
 
12857
# Be more Bourne compatible
12858
DUALCASE=1; export DUALCASE # for MKS sh
12859
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12860
  emulate sh
12861
  NULLCMD=:
12862
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12863
  # is contrary to our usage.  Disable this feature.
12864
  alias -g '${1+"$@"}'='"$@"'
12865
  setopt NO_GLOB_SUBST
12866
else
12867
  case `(set -o) 2>/dev/null` in
12868
  *posix*) set -o posix ;;
12869
esac
12870
 
12871
fi
12872
 
12873
 
12874
 
12875
 
12876
# PATH needs CR
12877
# Avoid depending upon Character Ranges.
12878
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12879
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12880
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12881
as_cr_digits='0123456789'
12882
as_cr_alnum=$as_cr_Letters$as_cr_digits
12883
 
12884
as_nl='
12885
'
12886
export as_nl
12887
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12888
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12889
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12890
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12891
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12892
  as_echo='printf %s\n'
12893
  as_echo_n='printf %s'
12894
else
12895
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12896
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12897
    as_echo_n='/usr/ucb/echo -n'
12898
  else
12899
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12900
    as_echo_n_body='eval
12901
      arg=$1;
12902
      case $arg in
12903
      *"$as_nl"*)
12904
        expr "X$arg" : "X\\(.*\\)$as_nl";
12905
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12906
      esac;
12907
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12908
    '
12909
    export as_echo_n_body
12910
    as_echo_n='sh -c $as_echo_n_body as_echo'
12911
  fi
12912
  export as_echo_body
12913
  as_echo='sh -c $as_echo_body as_echo'
12914
fi
12915
 
12916
# The user is always right.
12917
if test "${PATH_SEPARATOR+set}" != set; then
12918
  PATH_SEPARATOR=:
12919
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12920
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12921
      PATH_SEPARATOR=';'
12922
  }
12923
fi
12924
 
12925
# Support unset when possible.
12926
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12927
  as_unset=unset
12928
else
12929
  as_unset=false
12930
fi
12931
 
12932
 
12933
# IFS
12934
# We need space, tab and new line, in precisely that order.  Quoting is
12935
# there to prevent editors from complaining about space-tab.
12936
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12937
# splitting by setting IFS to empty value.)
12938
IFS=" ""        $as_nl"
12939
 
12940
# Find who we are.  Look in the path if we contain no directory separator.
12941
case $0 in
12942
  *[\\/]* ) as_myself=$0 ;;
12943
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12944
for as_dir in $PATH
12945
do
12946
  IFS=$as_save_IFS
12947
  test -z "$as_dir" && as_dir=.
12948
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12949
done
12950
IFS=$as_save_IFS
12951
 
12952
     ;;
12953
esac
12954
# We did not find ourselves, most probably we were run as `sh COMMAND'
12955
# in which case we are not to be found in the path.
12956
if test "x$as_myself" = x; then
12957
  as_myself=$0
12958
fi
12959
if test ! -f "$as_myself"; then
12960
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12961
  { (exit 1); exit 1; }
12962
fi
12963
 
12964
# Work around bugs in pre-3.0 UWIN ksh.
12965
for as_var in ENV MAIL MAILPATH
12966
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12967
done
12968
PS1='$ '
12969
PS2='> '
12970
PS4='+ '
12971
 
12972
# NLS nuisances.
12973
LC_ALL=C
12974
export LC_ALL
12975
LANGUAGE=C
12976
export LANGUAGE
12977
 
12978
# Required to use basename.
12979
if expr a : '\(a\)' >/dev/null 2>&1 &&
12980
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12981
  as_expr=expr
12982
else
12983
  as_expr=false
12984
fi
12985
 
12986
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12987
  as_basename=basename
12988
else
12989
  as_basename=false
12990
fi
12991
 
12992
 
12993
# Name of the executable.
12994
as_me=`$as_basename -- "$0" ||
12995
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12996
         X"$0" : 'X\(//\)$' \| \
12997
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12998
$as_echo X/"$0" |
12999
    sed '/^.*\/\([^/][^/]*\)\/*$/{
13000
            s//\1/
13001
            q
13002
          }
13003
          /^X\/\(\/\/\)$/{
13004
            s//\1/
13005
            q
13006
          }
13007
          /^X\/\(\/\).*/{
13008
            s//\1/
13009
            q
13010
          }
13011
          s/.*/./; q'`
13012
 
13013
# CDPATH.
13014
$as_unset CDPATH
13015
 
13016
 
13017
 
13018
  as_lineno_1=$LINENO
13019
  as_lineno_2=$LINENO
13020
  test "x$as_lineno_1" != "x$as_lineno_2" &&
13021
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13022
 
13023
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13024
  # uniformly replaced by the line number.  The first 'sed' inserts a
13025
  # line-number line after each line using $LINENO; the second 'sed'
13026
  # does the real work.  The second script uses 'N' to pair each
13027
  # line-number line with the line containing $LINENO, and appends
13028
  # trailing '-' during substitution so that $LINENO is not a special
13029
  # case at line end.
13030
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13031
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
13032
  # E. McMahon (1931-1989) for sed's syntax.  :-)
13033
  sed -n '
13034
    p
13035
    /[$]LINENO/=
13036
  ' <$as_myself |
13037
    sed '
13038
      s/[$]LINENO.*/&-/
13039
      t lineno
13040
      b
13041
      :lineno
13042
      N
13043
      :loop
13044
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13045
      t loop
13046
      s/-\n.*//
13047
    ' >$as_me.lineno &&
13048
  chmod +x "$as_me.lineno" ||
13049
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13050
   { (exit 1); exit 1; }; }
13051
 
13052
  # Don't try to exec as it changes $[0], causing all sort of problems
13053
  # (the dirname of $[0] is not the place where we might find the
13054
  # original and so on.  Autoconf is especially sensitive to this).
13055
  . "./$as_me.lineno"
13056
  # Exit status is that of the last command.
13057
  exit
13058
}
13059
 
13060
 
13061
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13062
  as_dirname=dirname
13063
else
13064
  as_dirname=false
13065
fi
13066
 
13067
ECHO_C= ECHO_N= ECHO_T=
13068
case `echo -n x` in
13069
-n*)
13070
  case `echo 'x\c'` in
13071
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13072
  *)   ECHO_C='\c';;
13073
  esac;;
13074
*)
13075
  ECHO_N='-n';;
13076
esac
13077
if expr a : '\(a\)' >/dev/null 2>&1 &&
13078
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13079
  as_expr=expr
13080
else
13081
  as_expr=false
13082
fi
13083
 
13084
rm -f conf$$ conf$$.exe conf$$.file
13085
if test -d conf$$.dir; then
13086
  rm -f conf$$.dir/conf$$.file
13087
else
13088
  rm -f conf$$.dir
13089
  mkdir conf$$.dir 2>/dev/null
13090
fi
13091
if (echo >conf$$.file) 2>/dev/null; then
13092
  if ln -s conf$$.file conf$$ 2>/dev/null; then
13093
    as_ln_s='ln -s'
13094
    # ... but there are two gotchas:
13095
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13096
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13097
    # In both cases, we have to default to `cp -p'.
13098
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13099
      as_ln_s='cp -p'
13100
  elif ln conf$$.file conf$$ 2>/dev/null; then
13101
    as_ln_s=ln
13102
  else
13103
    as_ln_s='cp -p'
13104
  fi
13105
else
13106
  as_ln_s='cp -p'
13107
fi
13108
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13109
rmdir conf$$.dir 2>/dev/null
13110
 
13111
if mkdir -p . 2>/dev/null; then
13112
  as_mkdir_p=:
13113
else
13114
  test -d ./-p && rmdir ./-p
13115
  as_mkdir_p=false
13116
fi
13117
 
13118
if test -x / >/dev/null 2>&1; then
13119
  as_test_x='test -x'
13120
else
13121
  if ls -dL / >/dev/null 2>&1; then
13122
    as_ls_L_option=L
13123
  else
13124
    as_ls_L_option=
13125
  fi
13126
  as_test_x='
13127
    eval sh -c '\''
13128
      if test -d "$1"; then
13129
        test -d "$1/.";
13130
      else
13131
        case $1 in
13132
        -*)set "./$1";;
13133
        esac;
13134
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13135
        ???[sx]*):;;*)false;;esac;fi
13136
    '\'' sh
13137
  '
13138
fi
13139
as_executable_p=$as_test_x
13140
 
13141
# Sed expression to map a string onto a valid CPP name.
13142
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13143
 
13144
# Sed expression to map a string onto a valid variable name.
13145
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13146
 
13147
 
13148
exec 6>&1
13149
 
13150
# Save the log message, to keep $[0] and so on meaningful, and to
13151
# report actual input values of CONFIG_FILES etc. instead of their
13152
# values after options handling.
13153
ac_log="
13154
This file was extended by newlib $as_me 1.18.0, which was
13155
generated by GNU Autoconf 2.63.  Invocation command line was
13156
 
13157
  CONFIG_FILES    = $CONFIG_FILES
13158
  CONFIG_HEADERS  = $CONFIG_HEADERS
13159
  CONFIG_LINKS    = $CONFIG_LINKS
13160
  CONFIG_COMMANDS = $CONFIG_COMMANDS
13161
  $ $0 $@
13162
 
13163
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13164
"
13165
 
13166
_ACEOF
13167
 
13168
case $ac_config_files in *"
13169
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13170
esac
13171
 
13172
 
13173
 
13174
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13175
# Files that config.status was made for.
13176
config_files="$ac_config_files"
13177
config_commands="$ac_config_commands"
13178
 
13179
_ACEOF
13180
 
13181
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13182
ac_cs_usage="\
13183
\`$as_me' instantiates files from templates according to the
13184
current configuration.
13185
 
13186
Usage: $0 [OPTION]... [FILE]...
13187
 
13188
  -h, --help       print this help, then exit
13189
  -V, --version    print version number and configuration settings, then exit
13190
  -q, --quiet, --silent
13191
                   do not print progress messages
13192
  -d, --debug      don't remove temporary files
13193
      --recheck    update $as_me by reconfiguring in the same conditions
13194
      --file=FILE[:TEMPLATE]
13195
                   instantiate the configuration file FILE
13196
 
13197
Configuration files:
13198
$config_files
13199
 
13200
Configuration commands:
13201
$config_commands
13202
 
13203
Report bugs to ."
13204
 
13205
_ACEOF
13206
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13207
ac_cs_version="\\
13208
newlib config.status 1.18.0
13209
configured by $0, generated by GNU Autoconf 2.63,
13210
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13211
 
13212
Copyright (C) 2008 Free Software Foundation, Inc.
13213
This config.status script is free software; the Free Software Foundation
13214
gives unlimited permission to copy, distribute and modify it."
13215
 
13216
ac_pwd='$ac_pwd'
13217
srcdir='$srcdir'
13218
INSTALL='$INSTALL'
13219
MKDIR_P='$MKDIR_P'
13220
AWK='$AWK'
13221
test -n "\$AWK" || AWK=awk
13222
_ACEOF
13223
 
13224
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13225
# The default lists apply if the user does not specify any file.
13226
ac_need_defaults=:
13227
while test $# != 0
13228
do
13229
  case $1 in
13230
  --*=*)
13231
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13232
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13233
    ac_shift=:
13234
    ;;
13235
  *)
13236
    ac_option=$1
13237
    ac_optarg=$2
13238
    ac_shift=shift
13239
    ;;
13240
  esac
13241
 
13242
  case $ac_option in
13243
  # Handling of the options.
13244
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13245
    ac_cs_recheck=: ;;
13246
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13247
    $as_echo "$ac_cs_version"; exit ;;
13248
  --debug | --debu | --deb | --de | --d | -d )
13249
    debug=: ;;
13250
  --file | --fil | --fi | --f )
13251
    $ac_shift
13252
    case $ac_optarg in
13253
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13254
    esac
13255
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13256
    ac_need_defaults=false;;
13257
  --he | --h |  --help | --hel | -h )
13258
    $as_echo "$ac_cs_usage"; exit ;;
13259
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13260
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13261
    ac_cs_silent=: ;;
13262
 
13263
  # This is an error.
13264
  -*) { $as_echo "$as_me: error: unrecognized option: $1
13265
Try \`$0 --help' for more information." >&2
13266
   { (exit 1); exit 1; }; } ;;
13267
 
13268
  *) ac_config_targets="$ac_config_targets $1"
13269
     ac_need_defaults=false ;;
13270
 
13271
  esac
13272
  shift
13273
done
13274
 
13275
ac_configure_extra_args=
13276
 
13277
if $ac_cs_silent; then
13278
  exec 6>/dev/null
13279
  ac_configure_extra_args="$ac_configure_extra_args --silent"
13280
fi
13281
 
13282
_ACEOF
13283
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13284
if \$ac_cs_recheck; then
13285
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13286
  shift
13287
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13288
  CONFIG_SHELL='$SHELL'
13289
  export CONFIG_SHELL
13290
  exec "\$@"
13291
fi
13292
 
13293
_ACEOF
13294
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13295
exec 5>>config.log
13296
{
13297
  echo
13298
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13299
## Running $as_me. ##
13300
_ASBOX
13301
  $as_echo "$ac_log"
13302
} >&5
13303
 
13304
_ACEOF
13305
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13306
#
13307
# INIT-COMMANDS
13308
#
13309
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13310
 
13311
 
13312
# The HP-UX ksh and POSIX shell print the target directory to stdout
13313
# if CDPATH is set.
13314
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13315
 
13316
sed_quote_subst='$sed_quote_subst'
13317
double_quote_subst='$double_quote_subst'
13318
delay_variable_subst='$delay_variable_subst'
13319
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13320
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13321
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
13322
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13323
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13324
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13325
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13326
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13327
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13328
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13329
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13330
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13331
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13332
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13333
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13334
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13335
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13336
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13337
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13338
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13339
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13340
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13341
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13342
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13343
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13344
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13345
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13346
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13347
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13348
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13349
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13350
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13351
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13352
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13353
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13354
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13355
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13356
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13357
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13358
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13359
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13360
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13361
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13362
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13363
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13364
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13365
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"`'
13366
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"`'
13367
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13368
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13369
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13370
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13371
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13372
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13373
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13374
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13375
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13376
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13377
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13378
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13379
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13380
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13381
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13382
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13383
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13384
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13385
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13386
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13387
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13388
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13389
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13390
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13391
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13392
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13393
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13394
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13395
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13396
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13397
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13398
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13399
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13400
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13401
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13402
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13403
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13404
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13405
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13406
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13407
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13408
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13409
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13410
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13411
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13412
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13413
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13414
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13415
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13416
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13417
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13418
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13419
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13420
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13421
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13422
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13423
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13424
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13425
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13426
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13427
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13428
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13429
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13430
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13431
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13432
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13433
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13434
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13435
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13436
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13437
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13438
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13439
 
13440
LTCC='$LTCC'
13441
LTCFLAGS='$LTCFLAGS'
13442
compiler='$compiler_DEFAULT'
13443
 
13444
# Quote evaled strings.
13445
for var in SED \
13446
GREP \
13447
EGREP \
13448
FGREP \
13449
LD \
13450
NM \
13451
LN_S \
13452
lt_SP2NL \
13453
lt_NL2SP \
13454
reload_flag \
13455
deplibs_check_method \
13456
file_magic_cmd \
13457
AR \
13458
AR_FLAGS \
13459
STRIP \
13460
RANLIB \
13461
CC \
13462
CFLAGS \
13463
compiler \
13464
lt_cv_sys_global_symbol_pipe \
13465
lt_cv_sys_global_symbol_to_cdecl \
13466
lt_cv_sys_global_symbol_to_c_name_address \
13467
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13468
SHELL \
13469
ECHO \
13470
lt_prog_compiler_no_builtin_flag \
13471
lt_prog_compiler_wl \
13472
lt_prog_compiler_pic \
13473
lt_prog_compiler_static \
13474
lt_cv_prog_compiler_c_o \
13475
need_locks \
13476
DSYMUTIL \
13477
NMEDIT \
13478
LIPO \
13479
OTOOL \
13480
OTOOL64 \
13481
shrext_cmds \
13482
export_dynamic_flag_spec \
13483
whole_archive_flag_spec \
13484
compiler_needs_object \
13485
with_gnu_ld \
13486
allow_undefined_flag \
13487
no_undefined_flag \
13488
hardcode_libdir_flag_spec \
13489
hardcode_libdir_flag_spec_ld \
13490
hardcode_libdir_separator \
13491
fix_srcfile_path \
13492
exclude_expsyms \
13493
include_expsyms \
13494
file_list_spec \
13495
variables_saved_for_relink \
13496
libname_spec \
13497
library_names_spec \
13498
soname_spec \
13499
finish_eval \
13500
old_striplib \
13501
striplib; do
13502
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13503
    *[\\\\\\\`\\"\\\$]*)
13504
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13505
      ;;
13506
    *)
13507
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13508
      ;;
13509
    esac
13510
done
13511
 
13512
# Double-quote double-evaled strings.
13513
for var in reload_cmds \
13514
old_postinstall_cmds \
13515
old_postuninstall_cmds \
13516
old_archive_cmds \
13517
extract_expsyms_cmds \
13518
old_archive_from_new_cmds \
13519
old_archive_from_expsyms_cmds \
13520
archive_cmds \
13521
archive_expsym_cmds \
13522
module_cmds \
13523
module_expsym_cmds \
13524
export_symbols_cmds \
13525
prelink_cmds \
13526
postinstall_cmds \
13527
postuninstall_cmds \
13528
finish_cmds \
13529
sys_lib_search_path_spec \
13530
sys_lib_dlsearch_path_spec; do
13531
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13532
    *[\\\\\\\`\\"\\\$]*)
13533
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13534
      ;;
13535
    *)
13536
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13537
      ;;
13538
    esac
13539
done
13540
 
13541
# Fix-up fallback echo if it was mangled by the above quoting rules.
13542
case \$lt_ECHO in
13543
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13544
  ;;
13545
esac
13546
 
13547
ac_aux_dir='$ac_aux_dir'
13548
xsi_shell='$xsi_shell'
13549
lt_shell_append='$lt_shell_append'
13550
 
13551
# See if we are running on zsh, and set the options which allow our
13552
# commands through without removal of \ escapes INIT.
13553
if test -n "\${ZSH_VERSION+set}" ; then
13554
   setopt NO_GLOB_SUBST
13555
fi
13556
 
13557
 
13558
    PACKAGE='$PACKAGE'
13559
    VERSION='$VERSION'
13560
    TIMESTAMP='$TIMESTAMP'
13561
    RM='$RM'
13562
    ofile='$ofile'
13563
 
13564
 
13565
 
13566
 
13567
_ACEOF
13568
 
13569
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13570
 
13571
# Handling of arguments.
13572
for ac_config_target in $ac_config_targets
13573
do
13574
  case $ac_config_target in
13575
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13576
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13577
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13578
 
13579
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13580
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13581
   { (exit 1); exit 1; }; };;
13582
  esac
13583
done
13584
 
13585
 
13586
# If the user did not use the arguments to specify the items to instantiate,
13587
# then the envvar interface is used.  Set only those that are not.
13588
# We use the long form for the default assignment because of an extremely
13589
# bizarre bug on SunOS 4.1.3.
13590
if $ac_need_defaults; then
13591
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13592
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13593
fi
13594
 
13595
# Have a temporary directory for convenience.  Make it in the build tree
13596
# simply because there is no reason against having it here, and in addition,
13597
# creating and moving files from /tmp can sometimes cause problems.
13598
# Hook for its removal unless debugging.
13599
# Note that there is a small window in which the directory will not be cleaned:
13600
# after its creation but before its name has been assigned to `$tmp'.
13601
$debug ||
13602
{
13603
  tmp=
13604
  trap 'exit_status=$?
13605
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13606
' 0
13607
  trap '{ (exit 1); exit 1; }' 1 2 13 15
13608
}
13609
# Create a (secure) tmp directory for tmp files.
13610
 
13611
{
13612
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13613
  test -n "$tmp" && test -d "$tmp"
13614
}  ||
13615
{
13616
  tmp=./conf$$-$RANDOM
13617
  (umask 077 && mkdir "$tmp")
13618
} ||
13619
{
13620
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
13621
   { (exit 1); exit 1; }
13622
}
13623
 
13624
# Set up the scripts for CONFIG_FILES section.
13625
# No need to generate them if there are no CONFIG_FILES.
13626
# This happens for instance with `./config.status config.h'.
13627
if test -n "$CONFIG_FILES"; then
13628
 
13629
 
13630
ac_cr='
'
13631
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
13632
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13633
  ac_cs_awk_cr='\\r'
13634
else
13635
  ac_cs_awk_cr=$ac_cr
13636
fi
13637
13638
 
13639
_ACEOF
13640
13641
 
13642
 
13643
  echo "cat >conf$$subs.awk <<_ACEOF" &&
13644
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13645
  echo "_ACEOF"
13646
} >conf$$subs.sh ||
13647
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13648
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13649
   { (exit 1); exit 1; }; }
13650
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13651
ac_delim='%!_!# '
13652
for ac_last_try in false false false false false :; do
13653
  . ./conf$$subs.sh ||
13654
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13655
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13656
   { (exit 1); exit 1; }; }
13657
13658
 
13659
  if test $ac_delim_n = $ac_delim_num; then
13660
    break
13661
  elif $ac_last_try; then
13662
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13663
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13664
   { (exit 1); exit 1; }; }
13665
  else
13666
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13667
  fi
13668
done
13669
rm -f conf$$subs.sh
13670
13671
 
13672
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13673
_ACEOF
13674
sed -n '
13675
h
13676
s/^/S["/; s/!.*/"]=/
13677
p
13678
g
13679
s/^[^!]*!//
13680
:repl
13681
t repl
13682
s/'"$ac_delim"'$//
13683
t delim
13684
:nl
13685
h
13686
s/\(.\{148\}\).*/\1/
13687
t more1
13688
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13689
p
13690
n
13691
b repl
13692
:more1
13693
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13694
p
13695
g
13696
s/.\{148\}//
13697
t nl
13698
:delim
13699
h
13700
s/\(.\{148\}\).*/\1/
13701
t more2
13702
s/["\\]/\\&/g; s/^/"/; s/$/"/
13703
p
13704
b
13705
:more2
13706
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13707
p
13708
g
13709
s/.\{148\}//
13710
t delim
13711
' 
13712
/^[^""]/{
13713
  N
13714
  s/\n//
13715
}
13716
' >>$CONFIG_STATUS || ac_write_fail=1
13717
rm -f conf$$subs.awk
13718
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13719
_ACAWK
13720
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13721
  for (key in S) S_is_set[key] = 1
13722
  FS = ""
13723
13724
 
13725
{
13726
  line = $ 0
13727
  nfields = split(line, field, "@")
13728
  substed = 0
13729
  len = length(field[1])
13730
  for (i = 2; i < nfields; i++) {
13731
    key = field[i]
13732
    keylen = length(key)
13733
    if (S_is_set[key]) {
13734
      value = S[key]
13735
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13736
      len += length(value) + length(field[++i])
13737
      substed = 1
13738
    } else
13739
      len += 1 + keylen
13740
  }
13741
13742
 
13743
}
13744
13745
 
13746
_ACEOF
13747
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13748
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13749
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13750
else
13751
  cat
13752
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13753
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
13754
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
13755
   { (exit 1); exit 1; }; }
13756
_ACEOF
13757
13758
 
13759
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13760
# trailing colons and then remove the whole line if VPATH becomes empty
13761
# (actually we leave an empty line to preserve line numbers).
13762
if test "x$srcdir" = x.; then
13763
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
13764
s/:*\$(srcdir):*/:/
13765
s/:*\${srcdir}:*/:/
13766
s/:*@srcdir@:*/:/
13767
s/^\([^=]*=[     ]*\):*/\1/
13768
s/:*$//
13769
s/^[^=]*=[       ]*$//
13770
}'
13771
fi
13772
13773
 
13774
fi # test -n "$CONFIG_FILES"
13775
13776
 
13777
 
13778
shift
13779
for ac_tag
13780
do
13781
  case $ac_tag in
13782
  :[FHLC]) ac_mode=$ac_tag; continue;;
13783
  esac
13784
  case $ac_mode$ac_tag in
13785
  :[FHL]*:*);;
13786
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13787
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13788
   { (exit 1); exit 1; }; };;
13789
  :[FH]-) ac_tag=-:-;;
13790
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13791
  esac
13792
  ac_save_IFS=$IFS
13793
  IFS=:
13794
  set x $ac_tag
13795
  IFS=$ac_save_IFS
13796
  shift
13797
  ac_file=$1
13798
  shift
13799
13800
 
13801
  :L) ac_source=$1;;
13802
  :[FH])
13803
    ac_file_inputs=
13804
    for ac_f
13805
    do
13806
      case $ac_f in
13807
      -) ac_f="$tmp/stdin";;
13808
      *) # Look for the file first in the build tree, then in the source tree
13809
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
13810
         # because $ac_f cannot contain `:'.
13811
         test -f "$ac_f" ||
13812
           case $ac_f in
13813
           [\\/$]*) false;;
13814
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13815
           esac ||
13816
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13817
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13818
   { (exit 1); exit 1; }; };;
13819
      esac
13820
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13821
      ac_file_inputs="$ac_file_inputs '$ac_f'"
13822
    done
13823
13824
 
13825
    # use $as_me), people would be surprised to read:
13826
    #    /* config.h.  Generated by config.status.  */
13827
    configure_input='Generated from '`
13828
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13829
        `' by configure.'
13830
    if test x"$ac_file" != x-; then
13831
      configure_input="$ac_file.  $configure_input"
13832
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13833
$as_echo "$as_me: creating $ac_file" >&6;}
13834
    fi
13835
    # Neutralize special characters interpreted by sed in replacement strings.
13836
    case $configure_input in #(
13837
    *\&* | *\|* | *\\* )
13838
       ac_sed_conf_input=`$as_echo "$configure_input" |
13839
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13840
    *) ac_sed_conf_input=$configure_input;;
13841
    esac
13842
13843
 
13844
    *:-:* | *:-) cat >"$tmp/stdin" \
13845
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13846
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13847
   { (exit 1); exit 1; }; } ;;
13848
    esac
13849
    ;;
13850
  esac
13851
13852
 
13853
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13854
         X"$ac_file" : 'X\(//\)[^/]' \| \
13855
         X"$ac_file" : 'X\(//\)$' \| \
13856
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13857
$as_echo X"$ac_file" |
13858
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13859
            s//\1/
13860
            q
13861
          }
13862
          /^X\(\/\/\)[^/].*/{
13863
            s//\1/
13864
            q
13865
          }
13866
          /^X\(\/\/\)$/{
13867
            s//\1/
13868
            q
13869
          }
13870
          /^X\(\/\).*/{
13871
            s//\1/
13872
            q
13873
          }
13874
          s/.*/./; q'`
13875
  { as_dir="$ac_dir"
13876
  case $as_dir in #(
13877
  -*) as_dir=./$as_dir;;
13878
  esac
13879
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13880
    as_dirs=
13881
    while :; do
13882
      case $as_dir in #(
13883
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13884
      *) as_qdir=$as_dir;;
13885
      esac
13886
      as_dirs="'$as_qdir' $as_dirs"
13887
      as_dir=`$as_dirname -- "$as_dir" ||
13888
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13889
         X"$as_dir" : 'X\(//\)[^/]' \| \
13890
         X"$as_dir" : 'X\(//\)$' \| \
13891
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13892
$as_echo X"$as_dir" |
13893
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13894
            s//\1/
13895
            q
13896
          }
13897
          /^X\(\/\/\)[^/].*/{
13898
            s//\1/
13899
            q
13900
          }
13901
          /^X\(\/\/\)$/{
13902
            s//\1/
13903
            q
13904
          }
13905
          /^X\(\/\).*/{
13906
            s//\1/
13907
            q
13908
          }
13909
          s/.*/./; q'`
13910
      test -d "$as_dir" && break
13911
    done
13912
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13913
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13914
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13915
   { (exit 1); exit 1; }; }; }
13916
  ac_builddir=.
13917
13918
 
13919
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13920
*)
13921
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13922
  # A ".." for each directory in $ac_dir_suffix.
13923
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13924
  case $ac_top_builddir_sub in
13925
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13926
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13927
  esac ;;
13928
esac
13929
ac_abs_top_builddir=$ac_pwd
13930
ac_abs_builddir=$ac_pwd$ac_dir_suffix
13931
# for backward compatibility:
13932
ac_top_builddir=$ac_top_build_prefix
13933
13934
 
13935
  .)  # We are building in place.
13936
    ac_srcdir=.
13937
    ac_top_srcdir=$ac_top_builddir_sub
13938
    ac_abs_top_srcdir=$ac_pwd ;;
13939
  [\\/]* | ?:[\\/]* )  # Absolute name.
13940
    ac_srcdir=$srcdir$ac_dir_suffix;
13941
    ac_top_srcdir=$srcdir
13942
    ac_abs_top_srcdir=$srcdir ;;
13943
  *) # Relative name.
13944
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13945
    ac_top_srcdir=$ac_top_build_prefix$srcdir
13946
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13947
esac
13948
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13949
13950
 
13951
 
13952
  :F)
13953
  #
13954
  # CONFIG_FILE
13955
  #
13956
13957
 
13958
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13959
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13960
  esac
13961
  ac_MKDIR_P=$MKDIR_P
13962
  case $MKDIR_P in
13963
  [\\/$]* | ?:[\\/]* ) ;;
13964
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13965
  esac
13966
_ACEOF
13967
13968
 
13969
# If the template does not know about datarootdir, expand it.
13970
# FIXME: This hack should be removed a few years after 2.60.
13971
ac_datarootdir_hack=; ac_datarootdir_seen=
13972
13973
 
13974
/datarootdir/ {
13975
  p
13976
  q
13977
}
13978
/@datadir@/p
13979
/@docdir@/p
13980
/@infodir@/p
13981
/@localedir@/p
13982
/@mandir@/p
13983
'
13984
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13985
*datarootdir*) ac_datarootdir_seen=yes;;
13986
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13987
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13988
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13989
_ACEOF
13990
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13991
  ac_datarootdir_hack='
13992
  s&@datadir@&$datadir&g
13993
  s&@docdir@&$docdir&g
13994
  s&@infodir@&$infodir&g
13995
  s&@localedir@&$localedir&g
13996
  s&@mandir@&$mandir&g
13997
    s&\\\${datarootdir}&$datarootdir&g' ;;
13998
esac
13999
_ACEOF
14000
14001
 
14002
# Shell code in configure.ac might set extrasub.
14003
# FIXME: do we really want to maintain this feature?
14004
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14005
ac_sed_extra="$ac_vpsub
14006
$extrasub
14007
_ACEOF
14008
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14009
:t
14010
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14011
s|@configure_input@|$ac_sed_conf_input|;t t
14012
s&@top_builddir@&$ac_top_builddir_sub&;t t
14013
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14014
s&@srcdir@&$ac_srcdir&;t t
14015
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14016
s&@top_srcdir@&$ac_top_srcdir&;t t
14017
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14018
s&@builddir@&$ac_builddir&;t t
14019
s&@abs_builddir@&$ac_abs_builddir&;t t
14020
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14021
s&@INSTALL@&$ac_INSTALL&;t t
14022
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14023
$ac_datarootdir_hack
14024
"
14025
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14026
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14027
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14028
   { (exit 1); exit 1; }; }
14029
14030
 
14031
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14032
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14033
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14034
which seems to be undefined.  Please make sure it is defined." >&5
14035
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14036
which seems to be undefined.  Please make sure it is defined." >&2;}
14037
14038
 
14039
  case $ac_file in
14040
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14041
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14042
  esac \
14043
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14044
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14045
   { (exit 1); exit 1; }; }
14046
 ;;
14047
14048
 
14049
 
14050
$as_echo "$as_me: executing $ac_file commands" >&6;}
14051
 ;;
14052
  esac
14053
14054
 
14055
 
14056
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14057
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14058
  # are listed without --file.  Let's play safe and only enable the eval
14059
  # if we detect the quoting.
14060
  case $CONFIG_FILES in
14061
  *\'*) eval set x "$CONFIG_FILES" ;;
14062
  *)   set x $CONFIG_FILES ;;
14063
  esac
14064
  shift
14065
  for mf
14066
  do
14067
    # Strip MF so we end up with the name of the file.
14068
    mf=`echo "$mf" | sed -e 's/:.*$//'`
14069
    # Check whether this is an Automake generated Makefile or not.
14070
    # We used to match only the files named `Makefile.in', but
14071
    # some people rename them; so instead we look at the file content.
14072
    # Grep'ing the first line is not enough: some people post-process
14073
    # each Makefile.in and add a new line on top of each file to say so.
14074
    # Grep'ing the whole file is not good either: AIX grep has a line
14075
    # limit of 2048, but all sed's we know have understand at least 4000.
14076
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14077
      dirpart=`$as_dirname -- "$mf" ||
14078
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14079
         X"$mf" : 'X\(//\)[^/]' \| \
14080
         X"$mf" : 'X\(//\)$' \| \
14081
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14082
$as_echo X"$mf" |
14083
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14084
            s//\1/
14085
            q
14086
          }
14087
          /^X\(\/\/\)[^/].*/{
14088
            s//\1/
14089
            q
14090
          }
14091
          /^X\(\/\/\)$/{
14092
            s//\1/
14093
            q
14094
          }
14095
          /^X\(\/\).*/{
14096
            s//\1/
14097
            q
14098
          }
14099
          s/.*/./; q'`
14100
    else
14101
      continue
14102
    fi
14103
    # Extract the definition of DEPDIR, am__include, and am__quote
14104
    # from the Makefile without running `make'.
14105
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14106
    test -z "$DEPDIR" && continue
14107
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14108
    test -z "am__include" && continue
14109
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14110
    # When using ansi2knr, U may be empty or an underscore; expand it
14111
    U=`sed -n 's/^U = //p' < "$mf"`
14112
    # Find all dependency output files, they are included files with
14113
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14114
    # simplest approach to changing $(DEPDIR) to its actual value in the
14115
    # expansion.
14116
    for file in `sed -n "
14117
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14118
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14119
      # Make sure the directory exists.
14120
      test -f "$dirpart/$file" && continue
14121
      fdir=`$as_dirname -- "$file" ||
14122
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14123
         X"$file" : 'X\(//\)[^/]' \| \
14124
         X"$file" : 'X\(//\)$' \| \
14125
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14126
$as_echo X"$file" |
14127
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14128
            s//\1/
14129
            q
14130
          }
14131
          /^X\(\/\/\)[^/].*/{
14132
            s//\1/
14133
            q
14134
          }
14135
          /^X\(\/\/\)$/{
14136
            s//\1/
14137
            q
14138
          }
14139
          /^X\(\/\).*/{
14140
            s//\1/
14141
            q
14142
          }
14143
          s/.*/./; q'`
14144
      { as_dir=$dirpart/$fdir
14145
  case $as_dir in #(
14146
  -*) as_dir=./$as_dir;;
14147
  esac
14148
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14149
    as_dirs=
14150
    while :; do
14151
      case $as_dir in #(
14152
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14153
      *) as_qdir=$as_dir;;
14154
      esac
14155
      as_dirs="'$as_qdir' $as_dirs"
14156
      as_dir=`$as_dirname -- "$as_dir" ||
14157
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14158
         X"$as_dir" : 'X\(//\)[^/]' \| \
14159
         X"$as_dir" : 'X\(//\)$' \| \
14160
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14161
$as_echo X"$as_dir" |
14162
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14163
            s//\1/
14164
            q
14165
          }
14166
          /^X\(\/\/\)[^/].*/{
14167
            s//\1/
14168
            q
14169
          }
14170
          /^X\(\/\/\)$/{
14171
            s//\1/
14172
            q
14173
          }
14174
          /^X\(\/\).*/{
14175
            s//\1/
14176
            q
14177
          }
14178
          s/.*/./; q'`
14179
      test -d "$as_dir" && break
14180
    done
14181
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14182
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14183
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14184
   { (exit 1); exit 1; }; }; }
14185
      # echo "creating $dirpart/$file"
14186
      echo '# dummy' > "$dirpart/$file"
14187
    done
14188
  done
14189
}
14190
 ;;
14191
    "libtool":C)
14192
14193
 
14194
    # commands through without removal of \ escapes.
14195
    if test -n "${ZSH_VERSION+set}" ; then
14196
      setopt NO_GLOB_SUBST
14197
    fi
14198
14199
 
14200
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14201
    $RM "$cfgfile"
14202
14203
 
14204
#! $SHELL
14205
14206
 
14207
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14208
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14209
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14210
#
14211
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14212
#                 2006, 2007, 2008 Free Software Foundation, Inc.
14213
#   Written by Gordon Matzigkeit, 1996
14214
#
14215
#   This file is part of GNU Libtool.
14216
#
14217
# GNU Libtool is free software; you can redistribute it and/or
14218
# modify it under the terms of the GNU General Public License as
14219
# published by the Free Software Foundation; either version 2 of
14220
# the License, or (at your option) any later version.
14221
#
14222
# As a special exception to the GNU General Public License,
14223
# if you distribute this file as part of a program or library that
14224
# is built using GNU Libtool, you may include this file under the
14225
# same distribution terms that you use for the rest of that program.
14226
#
14227
# GNU Libtool is distributed in the hope that it will be useful,
14228
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14229
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14230
# GNU General Public License for more details.
14231
#
14232
# You should have received a copy of the GNU General Public License
14233
# along with GNU Libtool; see the file COPYING.  If not, a copy
14234
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14235
# obtained by writing to the Free Software Foundation, Inc.,
14236
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14237
14238
 
14239
 
14240
available_tags=""
14241
14242
 
14243
14244
 
14245
SED=$lt_SED
14246
14247
 
14248
Xsed="\$SED -e 1s/^X//"
14249
14250
 
14251
AS=$AS
14252
14253
 
14254
DLLTOOL=$DLLTOOL
14255
14256
 
14257
OBJDUMP=$OBJDUMP
14258
14259
 
14260
macro_version=$macro_version
14261
macro_revision=$macro_revision
14262
14263
 
14264
build_libtool_libs=$enable_shared
14265
14266
 
14267
build_old_libs=$enable_static
14268
14269
 
14270
pic_mode=$pic_mode
14271
14272
 
14273
fast_install=$enable_fast_install
14274
14275
 
14276
host_alias=$host_alias
14277
host=$host
14278
host_os=$host_os
14279
14280
 
14281
build_alias=$build_alias
14282
build=$build
14283
build_os=$build_os
14284
14285
 
14286
GREP=$lt_GREP
14287
14288
 
14289
EGREP=$lt_EGREP
14290
14291
 
14292
FGREP=$lt_FGREP
14293
14294
 
14295
NM=$lt_NM
14296
14297
 
14298
LN_S=$lt_LN_S
14299
14300
 
14301
max_cmd_len=$max_cmd_len
14302
14303
 
14304
objext=$ac_objext
14305
14306
 
14307
exeext=$exeext
14308
14309
 
14310
lt_unset=$lt_unset
14311
14312
 
14313
SP2NL=$lt_lt_SP2NL
14314
14315
 
14316
NL2SP=$lt_lt_NL2SP
14317
14318
 
14319
reload_flag=$lt_reload_flag
14320
reload_cmds=$lt_reload_cmds
14321
14322
 
14323
deplibs_check_method=$lt_deplibs_check_method
14324
14325
 
14326
file_magic_cmd=$lt_file_magic_cmd
14327
14328
 
14329
AR=$lt_AR
14330
AR_FLAGS=$lt_AR_FLAGS
14331
14332
 
14333
STRIP=$lt_STRIP
14334
14335
 
14336
RANLIB=$lt_RANLIB
14337
old_postinstall_cmds=$lt_old_postinstall_cmds
14338
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14339
14340
 
14341
LTCC=$lt_CC
14342
14343
 
14344
LTCFLAGS=$lt_CFLAGS
14345
14346
 
14347
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14348
14349
 
14350
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14351
14352
 
14353
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14354
14355
 
14356
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14357
14358
 
14359
objdir=$objdir
14360
14361
 
14362
SHELL=$lt_SHELL
14363
14364
 
14365
ECHO=$lt_ECHO
14366
14367
 
14368
MAGIC_CMD=$MAGIC_CMD
14369
14370
 
14371
need_locks=$lt_need_locks
14372
14373
 
14374
DSYMUTIL=$lt_DSYMUTIL
14375
14376
 
14377
NMEDIT=$lt_NMEDIT
14378
14379
 
14380
LIPO=$lt_LIPO
14381
14382
 
14383
OTOOL=$lt_OTOOL
14384
14385
 
14386
OTOOL64=$lt_OTOOL64
14387
14388
 
14389
libext=$libext
14390
14391
 
14392
shrext_cmds=$lt_shrext_cmds
14393
14394
 
14395
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14396
14397
 
14398
# restored at link time.
14399
variables_saved_for_relink=$lt_variables_saved_for_relink
14400
14401
 
14402
need_lib_prefix=$need_lib_prefix
14403
14404
 
14405
need_version=$need_version
14406
14407
 
14408
version_type=$version_type
14409
14410
 
14411
runpath_var=$runpath_var
14412
14413
 
14414
shlibpath_var=$shlibpath_var
14415
14416
 
14417
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14418
14419
 
14420
libname_spec=$lt_libname_spec
14421
14422
 
14423
# The last name is the one that the linker finds with -lNAME
14424
library_names_spec=$lt_library_names_spec
14425
14426
 
14427
soname_spec=$lt_soname_spec
14428
14429
 
14430
postinstall_cmds=$lt_postinstall_cmds
14431
14432
 
14433
postuninstall_cmds=$lt_postuninstall_cmds
14434
14435
 
14436
finish_cmds=$lt_finish_cmds
14437
14438
 
14439
# not shown.
14440
finish_eval=$lt_finish_eval
14441
14442
 
14443
hardcode_into_libs=$hardcode_into_libs
14444
14445
 
14446
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14447
14448
 
14449
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14450
14451
 
14452
dlopen_support=$enable_dlopen
14453
14454
 
14455
dlopen_self=$enable_dlopen_self
14456
14457
 
14458
dlopen_self_static=$enable_dlopen_self_static
14459
14460
 
14461
old_striplib=$lt_old_striplib
14462
striplib=$lt_striplib
14463
14464
 
14465
 
14466
LD=$lt_LD
14467
14468
 
14469
old_archive_cmds=$lt_old_archive_cmds
14470
14471
 
14472
CC=$lt_compiler
14473
14474
 
14475
with_gcc=$GCC
14476
14477
 
14478
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14479
14480
 
14481
wl=$lt_lt_prog_compiler_wl
14482
14483
 
14484
pic_flag=$lt_lt_prog_compiler_pic
14485
14486
 
14487
link_static_flag=$lt_lt_prog_compiler_static
14488
14489
 
14490
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14491
14492
 
14493
build_libtool_need_lc=$archive_cmds_need_lc
14494
14495
 
14496
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14497
14498
 
14499
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14500
14501
 
14502
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14503
14504
 
14505
compiler_needs_object=$lt_compiler_needs_object
14506
14507
 
14508
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14509
14510
 
14511
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14512
14513
 
14514
archive_cmds=$lt_archive_cmds
14515
archive_expsym_cmds=$lt_archive_expsym_cmds
14516
14517
 
14518
# a shared archive.
14519
module_cmds=$lt_module_cmds
14520
module_expsym_cmds=$lt_module_expsym_cmds
14521
14522
 
14523
with_gnu_ld=$lt_with_gnu_ld
14524
14525
 
14526
allow_undefined_flag=$lt_allow_undefined_flag
14527
14528
 
14529
no_undefined_flag=$lt_no_undefined_flag
14530
14531
 
14532
# This must work even if \$libdir does not exist
14533
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14534
14535
 
14536
# during linking.  This must work even if \$libdir does not exist.
14537
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14538
14539
 
14540
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14541
14542
 
14543
# DIR into the resulting binary.
14544
hardcode_direct=$hardcode_direct
14545
14546
 
14547
# DIR into the resulting binary and the resulting library dependency is
14548
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14549
# library is relocated.
14550
hardcode_direct_absolute=$hardcode_direct_absolute
14551
14552
 
14553
# into the resulting binary.
14554
hardcode_minus_L=$hardcode_minus_L
14555
14556
 
14557
# into the resulting binary.
14558
hardcode_shlibpath_var=$hardcode_shlibpath_var
14559
14560
 
14561
# into the library and all subsequent libraries and executables linked
14562
# against it.
14563
hardcode_automatic=$hardcode_automatic
14564
14565
 
14566
# to runtime path list.
14567
inherit_rpath=$inherit_rpath
14568
14569
 
14570
link_all_deplibs=$link_all_deplibs
14571
14572
 
14573
fix_srcfile_path=$lt_fix_srcfile_path
14574
14575
 
14576
always_export_symbols=$always_export_symbols
14577
14578
 
14579
export_symbols_cmds=$lt_export_symbols_cmds
14580
14581
 
14582
exclude_expsyms=$lt_exclude_expsyms
14583
14584
 
14585
include_expsyms=$lt_include_expsyms
14586
14587
 
14588
prelink_cmds=$lt_prelink_cmds
14589
14590
 
14591
file_list_spec=$lt_file_list_spec
14592
14593
 
14594
hardcode_action=$hardcode_action
14595
14596
 
14597
14598
 
14599
14600
 
14601
  aix3*)
14602
    cat <<\_LT_EOF >> "$cfgfile"
14603
# AIX sometimes has problems with the GCC collect2 program.  For some
14604
# reason, if we set the COLLECT_NAMES environment variable, the problems
14605
# vanish in a puff of smoke.
14606
if test "X${COLLECT_NAMES+set}" != Xset; then
14607
  COLLECT_NAMES=
14608
  export COLLECT_NAMES
14609
fi
14610
_LT_EOF
14611
    ;;
14612
  esac
14613
14614
 
14615
 
14616
14617
 
14618
 
14619
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14620
  # text mode, it properly converts lines to CR/LF.  This bash problem
14621
  # is reportedly fixed, but why not run on old versions too?
14622
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14623
    || (rm -f "$cfgfile"; exit 1)
14624
14625
 
14626
  yes)
14627
    cat << \_LT_EOF >> "$cfgfile"
14628
14629
 
14630
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14631
# otherwise set result to NONDIR_REPLACEMENT.
14632
func_dirname ()
14633
{
14634
  case ${1} in
14635
    */*) func_dirname_result="${1%/*}${2}" ;;
14636
    *  ) func_dirname_result="${3}" ;;
14637
  esac
14638
}
14639
14640
 
14641
func_basename ()
14642
{
14643
  func_basename_result="${1##*/}"
14644
}
14645
14646
 
14647
# perform func_basename and func_dirname in a single function
14648
# call:
14649
#   dirname:  Compute the dirname of FILE.  If nonempty,
14650
#             add APPEND to the result, otherwise set result
14651
#             to NONDIR_REPLACEMENT.
14652
#             value returned in "$func_dirname_result"
14653
#   basename: Compute filename of FILE.
14654
#             value retuned in "$func_basename_result"
14655
# Implementation must be kept synchronized with func_dirname
14656
# and func_basename. For efficiency, we do not delegate to
14657
# those functions but instead duplicate the functionality here.
14658
func_dirname_and_basename ()
14659
{
14660
  case ${1} in
14661
    */*) func_dirname_result="${1%/*}${2}" ;;
14662
    *  ) func_dirname_result="${3}" ;;
14663
  esac
14664
  func_basename_result="${1##*/}"
14665
}
14666
14667
 
14668
# strip PREFIX and SUFFIX off of NAME.
14669
# PREFIX and SUFFIX must not contain globbing or regex special
14670
# characters, hashes, percent signs, but SUFFIX may contain a leading
14671
# dot (in which case that matches only a dot).
14672
func_stripname ()
14673
{
14674
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14675
  # positional parameters, so assign one to ordinary parameter first.
14676
  func_stripname_result=${3}
14677
  func_stripname_result=${func_stripname_result#"${1}"}
14678
  func_stripname_result=${func_stripname_result%"${2}"}
14679
}
14680
14681
 
14682
func_opt_split ()
14683
{
14684
  func_opt_split_opt=${1%%=*}
14685
  func_opt_split_arg=${1#*=}
14686
}
14687
14688
 
14689
func_lo2o ()
14690
{
14691
  case ${1} in
14692
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14693
    *)    func_lo2o_result=${1} ;;
14694
  esac
14695
}
14696
14697
 
14698
func_xform ()
14699
{
14700
  func_xform_result=${1%.*}.lo
14701
}
14702
14703
 
14704
func_arith ()
14705
{
14706
  func_arith_result=$(( $* ))
14707
}
14708
14709
 
14710
# STRING may not start with a hyphen.
14711
func_len ()
14712
{
14713
  func_len_result=${#1}
14714
}
14715
14716
 
14717
    ;;
14718
  *) # Bourne compatible functions.
14719
    cat << \_LT_EOF >> "$cfgfile"
14720
14721
 
14722
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14723
# otherwise set result to NONDIR_REPLACEMENT.
14724
func_dirname ()
14725
{
14726
  # Extract subdirectory from the argument.
14727
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14728
  if test "X$func_dirname_result" = "X${1}"; then
14729
    func_dirname_result="${3}"
14730
  else
14731
    func_dirname_result="$func_dirname_result${2}"
14732
  fi
14733
}
14734
14735
 
14736
func_basename ()
14737
{
14738
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14739
}
14740
14741
 
14742
 
14743
# strip PREFIX and SUFFIX off of NAME.
14744
# PREFIX and SUFFIX must not contain globbing or regex special
14745
# characters, hashes, percent signs, but SUFFIX may contain a leading
14746
# dot (in which case that matches only a dot).
14747
# func_strip_suffix prefix name
14748
func_stripname ()
14749
{
14750
  case ${2} in
14751
    .*) func_stripname_result=`$ECHO "X${3}" \
14752
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14753
    *)  func_stripname_result=`$ECHO "X${3}" \
14754
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14755
  esac
14756
}
14757
14758
 
14759
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14760
my_sed_long_arg='1s/^-[^=]*=//'
14761
14762
 
14763
func_opt_split ()
14764
{
14765
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14766
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14767
}
14768
14769
 
14770
func_lo2o ()
14771
{
14772
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14773
}
14774
14775
 
14776
func_xform ()
14777
{
14778
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14779
}
14780
14781
 
14782
func_arith ()
14783
{
14784
  func_arith_result=`expr "$@"`
14785
}
14786
14787
 
14788
# STRING may not start with a hyphen.
14789
func_len ()
14790
{
14791
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14792
}
14793
14794
 
14795
esac
14796
14797
 
14798
  yes)
14799
    cat << \_LT_EOF >> "$cfgfile"
14800
14801
 
14802
# Append VALUE to the end of shell variable VAR.
14803
func_append ()
14804
{
14805
  eval "$1+=\$2"
14806
}
14807
_LT_EOF
14808
    ;;
14809
  *)
14810
    cat << \_LT_EOF >> "$cfgfile"
14811
14812
 
14813
# Append VALUE to the end of shell variable VAR.
14814
func_append ()
14815
{
14816
  eval "$1=\$$1\$2"
14817
}
14818
14819
 
14820
    ;;
14821
  esac
14822
14823
 
14824
 
14825
    || (rm -f "$cfgfile"; exit 1)
14826
14827
 
14828
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14829
  chmod +x "$ofile"
14830
14831
 
14832
14833
 
14834
done # for ac_tag
14835
14836
 
14837
 
14838
_ACEOF
14839
chmod +x $CONFIG_STATUS
14840
ac_clean_files=$ac_clean_files_save
14841
14842
 
14843
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14844
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14845
   { (exit 1); exit 1; }; }
14846
14847
 
14848
 
14849
# config.status does its own redirection, appending to config.log.
14850
# Unfortunately, on DOS this fails, as config.log is still kept open
14851
# by configure, so config.status won't be able to write to it; its
14852
# output is simply discarded.  So we exec the FD to /dev/null,
14853
# effectively closing config.log, so it can be properly (re)opened and
14854
# appended to by config.status.  When coming back to configure, we
14855
# need to make the FD available again.
14856
if test "$no_create" != yes; then
14857
  ac_cs_success=:
14858
  ac_config_status_args=
14859
  test "$silent" = yes &&
14860
    ac_config_status_args="$ac_config_status_args --quiet"
14861
  exec 5>/dev/null
14862
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14863
  exec 5>>config.log
14864
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14865
  # would make configure fail if this is the last instruction.
14866
  $ac_cs_success || { (exit 1); exit 1; }
14867
fi
14868
14869
 
14870
# CONFIG_SUBDIRS section.
14871
#
14872
if test "$no_recursion" != yes; then
14873
14874
 
14875
  # so they do not pile up.
14876
  ac_sub_configure_args=
14877
  ac_prev=
14878
  eval "set x $ac_configure_args"
14879
  shift
14880
  for ac_arg
14881
  do
14882
    if test -n "$ac_prev"; then
14883
      ac_prev=
14884
      continue
14885
    fi
14886
    case $ac_arg in
14887
    -cache-file | --cache-file | --cache-fil | --cache-fi \
14888
    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
14889
      ac_prev=cache_file ;;
14890
    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
14891
    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
14892
    | --c=*)
14893
      ;;
14894
    --config-cache | -C)
14895
      ;;
14896
    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
14897
      ac_prev=srcdir ;;
14898
    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
14899
      ;;
14900
    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
14901
      ac_prev=prefix ;;
14902
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
14903
      ;;
14904
    --disable-option-checking)
14905
      ;;
14906
    *)
14907
      case $ac_arg in
14908
      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14909
      esac
14910
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
14911
    esac
14912
  done
14913
14914
 
14915
  # in subdir configurations.
14916
  ac_arg="--prefix=$prefix"
14917
  case $ac_arg in
14918
  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14919
  esac
14920
  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
14921
14922
 
14923
  if test "$silent" = yes; then
14924
    ac_sub_configure_args="--silent $ac_sub_configure_args"
14925
  fi
14926
14927
 
14928
  # different subdirs can have different --enable and --with options.
14929
  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
14930
14931
 
14932
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
14933
14934
 
14935
    # parts of a large source tree are present.
14936
    test -d "$srcdir/$ac_dir" || continue
14937
14938
 
14939
    $as_echo "$as_me:$LINENO: $ac_msg" >&5
14940
    $as_echo "$ac_msg" >&6
14941
    { as_dir="$ac_dir"
14942
  case $as_dir in #(
14943
  -*) as_dir=./$as_dir;;
14944
  esac
14945
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14946
    as_dirs=
14947
    while :; do
14948
      case $as_dir in #(
14949
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14950
      *) as_qdir=$as_dir;;
14951
      esac
14952
      as_dirs="'$as_qdir' $as_dirs"
14953
      as_dir=`$as_dirname -- "$as_dir" ||
14954
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14955
         X"$as_dir" : 'X\(//\)[^/]' \| \
14956
         X"$as_dir" : 'X\(//\)$' \| \
14957
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14958
$as_echo X"$as_dir" |
14959
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14960
            s//\1/
14961
            q
14962
          }
14963
          /^X\(\/\/\)[^/].*/{
14964
            s//\1/
14965
            q
14966
          }
14967
          /^X\(\/\/\)$/{
14968
            s//\1/
14969
            q
14970
          }
14971
          /^X\(\/\).*/{
14972
            s//\1/
14973
            q
14974
          }
14975
          s/.*/./; q'`
14976
      test -d "$as_dir" && break
14977
    done
14978
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14979
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14980
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14981
   { (exit 1); exit 1; }; }; }
14982
    ac_builddir=.
14983
14984
 
14985
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14986
*)
14987
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14988
  # A ".." for each directory in $ac_dir_suffix.
14989
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14990
  case $ac_top_builddir_sub in
14991
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14992
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14993
  esac ;;
14994
esac
14995
ac_abs_top_builddir=$ac_pwd
14996
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14997
# for backward compatibility:
14998
ac_top_builddir=$ac_top_build_prefix
14999
15000
 
15001
  .)  # We are building in place.
15002
    ac_srcdir=.
15003
    ac_top_srcdir=$ac_top_builddir_sub
15004
    ac_abs_top_srcdir=$ac_pwd ;;
15005
  [\\/]* | ?:[\\/]* )  # Absolute name.
15006
    ac_srcdir=$srcdir$ac_dir_suffix;
15007
    ac_top_srcdir=$srcdir
15008
    ac_abs_top_srcdir=$srcdir ;;
15009
  *) # Relative name.
15010
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15011
    ac_top_srcdir=$ac_top_build_prefix$srcdir
15012
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15013
esac
15014
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15015
15016
 
15017
 
15018
15019
 
15020
    if test -f "$ac_srcdir/configure.gnu"; then
15021
      ac_sub_configure=$ac_srcdir/configure.gnu
15022
    elif test -f "$ac_srcdir/configure"; then
15023
      ac_sub_configure=$ac_srcdir/configure
15024
    elif test -f "$ac_srcdir/configure.in"; then
15025
      # This should be Cygnus configure.
15026
      ac_sub_configure=$ac_aux_dir/configure
15027
    else
15028
      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
15029
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15030
      ac_sub_configure=
15031
    fi
15032
15033
 
15034
    if test -n "$ac_sub_configure"; then
15035
      # Make the cache file name correct relative to the subdirectory.
15036
      case $cache_file in
15037
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15038
      *) # Relative name.
15039
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15040
      esac
15041
15042
 
15043
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15044
      # The eval makes quoting arguments work.
15045
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15046
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15047
        { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
15048
$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
15049
   { (exit 1); exit 1; }; }
15050
    fi
15051
15052
 
15053
  done
15054
fi
15055
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15056
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15057
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15058
fi
15059
15060
 
15061
 
15062
 
15063
 

powered by: WebSVN 2.1.0

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