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

Subversion Repositories openrisc_me

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

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
exec 7<&0 &1
575
 
576
# Name of the host.
577
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578
# so uname gets run too.
579
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580
 
581
#
582
# Initializations.
583
#
584
ac_default_prefix=/usr/local
585
ac_clean_files=
586
ac_config_libobj_dir=.
587
LIBOBJS=
588
cross_compiling=no
589
subdirs=
590
MFLAGS=
591
MAKEFLAGS=
592
SHELL=${CONFIG_SHELL-/bin/sh}
593
 
594
# Identity of this package.
595
PACKAGE_NAME='newlib'
596
PACKAGE_TARNAME='newlib'
597
PACKAGE_VERSION='1.18.0'
598
PACKAGE_STRING='newlib 1.18.0'
599
PACKAGE_BUGREPORT=''
600
 
601
ac_unique_file="setjmp.S"
602
ac_subst_vars='LTLIBOBJS
603
LIBOBJS
604
sys_dir
605
machine_dir
606
libm_machine_dir
607
lpfx
608
aext
609
oext
610
OBJEXT
611
USE_LIBTOOL_FALSE
612
USE_LIBTOOL_TRUE
613
ELIX_LEVEL_4_FALSE
614
ELIX_LEVEL_4_TRUE
615
ELIX_LEVEL_3_FALSE
616
ELIX_LEVEL_3_TRUE
617
ELIX_LEVEL_2_FALSE
618
ELIX_LEVEL_2_TRUE
619
ELIX_LEVEL_1_FALSE
620
ELIX_LEVEL_1_TRUE
621
ELIX_LEVEL_0_FALSE
622
ELIX_LEVEL_0_TRUE
623
LDFLAGS
624
NEWLIB_CFLAGS
625
CCASFLAGS
626
CCAS
627
MAINT
628
MAINTAINER_MODE_FALSE
629
MAINTAINER_MODE_TRUE
630
READELF
631
RANLIB
632
AR
633
AS
634
am__fastdepCC_FALSE
635
am__fastdepCC_TRUE
636
CCDEPMODE
637
AMDEPBACKSLASH
638
AMDEP_FALSE
639
AMDEP_TRUE
640
am__quote
641
am__include
642
DEPDIR
643
CC
644
am__untar
645
am__tar
646
AMTAR
647
am__leading_dot
648
SET_MAKE
649
AWK
650
mkdir_p
651
MKDIR_P
652
INSTALL_STRIP_PROGRAM
653
STRIP
654
install_sh
655
MAKEINFO
656
AUTOHEADER
657
AUTOMAKE
658
AUTOCONF
659
ACLOCAL
660
VERSION
661
PACKAGE
662
CYGPATH_W
663
am__isrc
664
INSTALL_DATA
665
INSTALL_SCRIPT
666
INSTALL_PROGRAM
667
host_os
668
host_vendor
669
host_cpu
670
host
671
build_os
672
build_vendor
673
build_cpu
674
build
675
newlib_basedir
676
MAY_SUPPLY_SYSCALLS_FALSE
677
MAY_SUPPLY_SYSCALLS_TRUE
678
target_alias
679
host_alias
680
build_alias
681
LIBS
682
ECHO_T
683
ECHO_N
684
ECHO_C
685
DEFS
686
mandir
687
localedir
688
libdir
689
psdir
690
pdfdir
691
dvidir
692
htmldir
693
infodir
694
docdir
695
oldincludedir
696
includedir
697
localstatedir
698
sharedstatedir
699
sysconfdir
700
datadir
701
datarootdir
702
libexecdir
703
sbindir
704
bindir
705
program_transform_name
706
prefix
707
exec_prefix
708
PACKAGE_BUGREPORT
709
PACKAGE_STRING
710
PACKAGE_VERSION
711
PACKAGE_TARNAME
712
PACKAGE_NAME
713
PATH_SEPARATOR
714
SHELL'
715
ac_subst_files=''
716
ac_user_opts='
717
enable_option_checking
718
enable_multilib
719
enable_target_optspace
720
enable_malloc_debugging
721
enable_newlib_multithread
722
enable_newlib_iconv
723
enable_newlib_elix_level
724
enable_newlib_io_float
725
enable_newlib_supplied_syscalls
726
enable_dependency_tracking
727
enable_maintainer_mode
728
'
729
      ac_precious_vars='build_alias
730
host_alias
731
target_alias
732
CCAS
733
CCASFLAGS'
734
 
735
 
736
# Initialize some variables set by options.
737
ac_init_help=
738
ac_init_version=false
739
ac_unrecognized_opts=
740
ac_unrecognized_sep=
741
# The variables have the same names as the options, with
742
# dashes changed to underlines.
743
cache_file=/dev/null
744
exec_prefix=NONE
745
no_create=
746
no_recursion=
747
prefix=NONE
748
program_prefix=NONE
749
program_suffix=NONE
750
program_transform_name=s,x,x,
751
silent=
752
site=
753
srcdir=
754
verbose=
755
x_includes=NONE
756
x_libraries=NONE
757
 
758
# Installation directory options.
759
# These are left unexpanded so users can "make install exec_prefix=/foo"
760
# and all the variables that are supposed to be based on exec_prefix
761
# by default will actually change.
762
# Use braces instead of parens because sh, perl, etc. also accept them.
763
# (The list follows the same order as the GNU Coding Standards.)
764
bindir='${exec_prefix}/bin'
765
sbindir='${exec_prefix}/sbin'
766
libexecdir='${exec_prefix}/libexec'
767
datarootdir='${prefix}/share'
768
datadir='${datarootdir}'
769
sysconfdir='${prefix}/etc'
770
sharedstatedir='${prefix}/com'
771
localstatedir='${prefix}/var'
772
includedir='${prefix}/include'
773
oldincludedir='/usr/include'
774
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
775
infodir='${datarootdir}/info'
776
htmldir='${docdir}'
777
dvidir='${docdir}'
778
pdfdir='${docdir}'
779
psdir='${docdir}'
780
libdir='${exec_prefix}/lib'
781
localedir='${datarootdir}/locale'
782
mandir='${datarootdir}/man'
783
 
784
ac_prev=
785
ac_dashdash=
786
for ac_option
787
do
788
  # If the previous option needs an argument, assign it.
789
  if test -n "$ac_prev"; then
790
    eval $ac_prev=\$ac_option
791
    ac_prev=
792
    continue
793
  fi
794
 
795
  case $ac_option in
796
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
797
  *)    ac_optarg=yes ;;
798
  esac
799
 
800
  # Accept the important Cygnus configure options, so we can diagnose typos.
801
 
802
  case $ac_dashdash$ac_option in
803
  --)
804
    ac_dashdash=yes ;;
805
 
806
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
807
    ac_prev=bindir ;;
808
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
809
    bindir=$ac_optarg ;;
810
 
811
  -build | --build | --buil | --bui | --bu)
812
    ac_prev=build_alias ;;
813
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
814
    build_alias=$ac_optarg ;;
815
 
816
  -cache-file | --cache-file | --cache-fil | --cache-fi \
817
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
818
    ac_prev=cache_file ;;
819
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
820
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
821
    cache_file=$ac_optarg ;;
822
 
823
  --config-cache | -C)
824
    cache_file=config.cache ;;
825
 
826
  -datadir | --datadir | --datadi | --datad)
827
    ac_prev=datadir ;;
828
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
829
    datadir=$ac_optarg ;;
830
 
831
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
832
  | --dataroo | --dataro | --datar)
833
    ac_prev=datarootdir ;;
834
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
835
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
836
    datarootdir=$ac_optarg ;;
837
 
838
  -disable-* | --disable-*)
839
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
840
    # Reject names that are not valid shell variable names.
841
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
842
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
843
   { (exit 1); exit 1; }; }
844
    ac_useropt_orig=$ac_useropt
845
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
846
    case $ac_user_opts in
847
      *"
848
"enable_$ac_useropt"
849
"*) ;;
850
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
851
         ac_unrecognized_sep=', ';;
852
    esac
853
    eval enable_$ac_useropt=no ;;
854
 
855
  -docdir | --docdir | --docdi | --doc | --do)
856
    ac_prev=docdir ;;
857
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
858
    docdir=$ac_optarg ;;
859
 
860
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
861
    ac_prev=dvidir ;;
862
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
863
    dvidir=$ac_optarg ;;
864
 
865
  -enable-* | --enable-*)
866
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
867
    # Reject names that are not valid shell variable names.
868
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
870
   { (exit 1); exit 1; }; }
871
    ac_useropt_orig=$ac_useropt
872
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873
    case $ac_user_opts in
874
      *"
875
"enable_$ac_useropt"
876
"*) ;;
877
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
878
         ac_unrecognized_sep=', ';;
879
    esac
880
    eval enable_$ac_useropt=\$ac_optarg ;;
881
 
882
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
883
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
884
  | --exec | --exe | --ex)
885
    ac_prev=exec_prefix ;;
886
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
887
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
888
  | --exec=* | --exe=* | --ex=*)
889
    exec_prefix=$ac_optarg ;;
890
 
891
  -gas | --gas | --ga | --g)
892
    # Obsolete; use --with-gas.
893
    with_gas=yes ;;
894
 
895
  -help | --help | --hel | --he | -h)
896
    ac_init_help=long ;;
897
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
898
    ac_init_help=recursive ;;
899
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
900
    ac_init_help=short ;;
901
 
902
  -host | --host | --hos | --ho)
903
    ac_prev=host_alias ;;
904
  -host=* | --host=* | --hos=* | --ho=*)
905
    host_alias=$ac_optarg ;;
906
 
907
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
908
    ac_prev=htmldir ;;
909
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
910
  | --ht=*)
911
    htmldir=$ac_optarg ;;
912
 
913
  -includedir | --includedir | --includedi | --included | --include \
914
  | --includ | --inclu | --incl | --inc)
915
    ac_prev=includedir ;;
916
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
917
  | --includ=* | --inclu=* | --incl=* | --inc=*)
918
    includedir=$ac_optarg ;;
919
 
920
  -infodir | --infodir | --infodi | --infod | --info | --inf)
921
    ac_prev=infodir ;;
922
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
923
    infodir=$ac_optarg ;;
924
 
925
  -libdir | --libdir | --libdi | --libd)
926
    ac_prev=libdir ;;
927
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
928
    libdir=$ac_optarg ;;
929
 
930
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
931
  | --libexe | --libex | --libe)
932
    ac_prev=libexecdir ;;
933
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
934
  | --libexe=* | --libex=* | --libe=*)
935
    libexecdir=$ac_optarg ;;
936
 
937
  -localedir | --localedir | --localedi | --localed | --locale)
938
    ac_prev=localedir ;;
939
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
940
    localedir=$ac_optarg ;;
941
 
942
  -localstatedir | --localstatedir | --localstatedi | --localstated \
943
  | --localstate | --localstat | --localsta | --localst | --locals)
944
    ac_prev=localstatedir ;;
945
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
946
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
947
    localstatedir=$ac_optarg ;;
948
 
949
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
950
    ac_prev=mandir ;;
951
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
952
    mandir=$ac_optarg ;;
953
 
954
  -nfp | --nfp | --nf)
955
    # Obsolete; use --without-fp.
956
    with_fp=no ;;
957
 
958
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
959
  | --no-cr | --no-c | -n)
960
    no_create=yes ;;
961
 
962
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
963
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
964
    no_recursion=yes ;;
965
 
966
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
967
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
968
  | --oldin | --oldi | --old | --ol | --o)
969
    ac_prev=oldincludedir ;;
970
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
971
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
972
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
973
    oldincludedir=$ac_optarg ;;
974
 
975
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
976
    ac_prev=prefix ;;
977
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
978
    prefix=$ac_optarg ;;
979
 
980
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
981
  | --program-pre | --program-pr | --program-p)
982
    ac_prev=program_prefix ;;
983
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
984
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
985
    program_prefix=$ac_optarg ;;
986
 
987
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
988
  | --program-suf | --program-su | --program-s)
989
    ac_prev=program_suffix ;;
990
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
991
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
992
    program_suffix=$ac_optarg ;;
993
 
994
  -program-transform-name | --program-transform-name \
995
  | --program-transform-nam | --program-transform-na \
996
  | --program-transform-n | --program-transform- \
997
  | --program-transform | --program-transfor \
998
  | --program-transfo | --program-transf \
999
  | --program-trans | --program-tran \
1000
  | --progr-tra | --program-tr | --program-t)
1001
    ac_prev=program_transform_name ;;
1002
  -program-transform-name=* | --program-transform-name=* \
1003
  | --program-transform-nam=* | --program-transform-na=* \
1004
  | --program-transform-n=* | --program-transform-=* \
1005
  | --program-transform=* | --program-transfor=* \
1006
  | --program-transfo=* | --program-transf=* \
1007
  | --program-trans=* | --program-tran=* \
1008
  | --progr-tra=* | --program-tr=* | --program-t=*)
1009
    program_transform_name=$ac_optarg ;;
1010
 
1011
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1012
    ac_prev=pdfdir ;;
1013
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1014
    pdfdir=$ac_optarg ;;
1015
 
1016
  -psdir | --psdir | --psdi | --psd | --ps)
1017
    ac_prev=psdir ;;
1018
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1019
    psdir=$ac_optarg ;;
1020
 
1021
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1022
  | -silent | --silent | --silen | --sile | --sil)
1023
    silent=yes ;;
1024
 
1025
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1026
    ac_prev=sbindir ;;
1027
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1028
  | --sbi=* | --sb=*)
1029
    sbindir=$ac_optarg ;;
1030
 
1031
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1032
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1033
  | --sharedst | --shareds | --shared | --share | --shar \
1034
  | --sha | --sh)
1035
    ac_prev=sharedstatedir ;;
1036
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1037
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1038
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1039
  | --sha=* | --sh=*)
1040
    sharedstatedir=$ac_optarg ;;
1041
 
1042
  -site | --site | --sit)
1043
    ac_prev=site ;;
1044
  -site=* | --site=* | --sit=*)
1045
    site=$ac_optarg ;;
1046
 
1047
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1048
    ac_prev=srcdir ;;
1049
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1050
    srcdir=$ac_optarg ;;
1051
 
1052
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1053
  | --syscon | --sysco | --sysc | --sys | --sy)
1054
    ac_prev=sysconfdir ;;
1055
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1056
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1057
    sysconfdir=$ac_optarg ;;
1058
 
1059
  -target | --target | --targe | --targ | --tar | --ta | --t)
1060
    ac_prev=target_alias ;;
1061
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1062
    target_alias=$ac_optarg ;;
1063
 
1064
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1065
    verbose=yes ;;
1066
 
1067
  -version | --version | --versio | --versi | --vers | -V)
1068
    ac_init_version=: ;;
1069
 
1070
  -with-* | --with-*)
1071
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1072
    # Reject names that are not valid shell variable names.
1073
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1075
   { (exit 1); exit 1; }; }
1076
    ac_useropt_orig=$ac_useropt
1077
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078
    case $ac_user_opts in
1079
      *"
1080
"with_$ac_useropt"
1081
"*) ;;
1082
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1083
         ac_unrecognized_sep=', ';;
1084
    esac
1085
    eval with_$ac_useropt=\$ac_optarg ;;
1086
 
1087
  -without-* | --without-*)
1088
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1089
    # Reject names that are not valid shell variable names.
1090
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1092
   { (exit 1); exit 1; }; }
1093
    ac_useropt_orig=$ac_useropt
1094
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095
    case $ac_user_opts in
1096
      *"
1097
"with_$ac_useropt"
1098
"*) ;;
1099
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1100
         ac_unrecognized_sep=', ';;
1101
    esac
1102
    eval with_$ac_useropt=no ;;
1103
 
1104
  --x)
1105
    # Obsolete; use --with-x.
1106
    with_x=yes ;;
1107
 
1108
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1109
  | --x-incl | --x-inc | --x-in | --x-i)
1110
    ac_prev=x_includes ;;
1111
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1112
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1113
    x_includes=$ac_optarg ;;
1114
 
1115
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1116
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1117
    ac_prev=x_libraries ;;
1118
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1119
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1120
    x_libraries=$ac_optarg ;;
1121
 
1122
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1123
Try \`$0 --help' for more information." >&2
1124
   { (exit 1); exit 1; }; }
1125
    ;;
1126
 
1127
  *=*)
1128
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1129
    # Reject names that are not valid shell variable names.
1130
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1131
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1132
   { (exit 1); exit 1; }; }
1133
    eval $ac_envvar=\$ac_optarg
1134
    export $ac_envvar ;;
1135
 
1136
  *)
1137
    # FIXME: should be removed in autoconf 3.0.
1138
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1139
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1140
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1141
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1142
    ;;
1143
 
1144
  esac
1145
done
1146
 
1147
if test -n "$ac_prev"; then
1148
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1149
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1150
   { (exit 1); exit 1; }; }
1151
fi
1152
 
1153
if test -n "$ac_unrecognized_opts"; then
1154
  case $enable_option_checking in
1155
    no) ;;
1156
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1157
   { (exit 1); exit 1; }; } ;;
1158
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1159
  esac
1160
fi
1161
 
1162
# Check all directory arguments for consistency.
1163
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164
                datadir sysconfdir sharedstatedir localstatedir includedir \
1165
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166
                libdir localedir mandir
1167
do
1168
  eval ac_val=\$$ac_var
1169
  # Remove trailing slashes.
1170
  case $ac_val in
1171
    */ )
1172
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173
      eval $ac_var=\$ac_val;;
1174
  esac
1175
  # Be sure to have absolute directory names.
1176
  case $ac_val in
1177
    [\\/$]* | ?:[\\/]* )  continue;;
1178
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1179
  esac
1180
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1181
   { (exit 1); exit 1; }; }
1182
done
1183
 
1184
# There might be people who depend on the old broken behavior: `$host'
1185
# used to hold the argument of --host etc.
1186
# FIXME: To remove some day.
1187
build=$build_alias
1188
host=$host_alias
1189
target=$target_alias
1190
 
1191
# FIXME: To remove some day.
1192
if test "x$host_alias" != x; then
1193
  if test "x$build_alias" = x; then
1194
    cross_compiling=maybe
1195
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1196
    If a cross compiler is detected then cross compile mode will be used." >&2
1197
  elif test "x$build_alias" != "x$host_alias"; then
1198
    cross_compiling=yes
1199
  fi
1200
fi
1201
 
1202
ac_tool_prefix=
1203
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1204
 
1205
test "$silent" = yes && exec 6>/dev/null
1206
 
1207
 
1208
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1209
ac_ls_di=`ls -di .` &&
1210
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1211
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1212
   { (exit 1); exit 1; }; }
1213
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1214
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1215
   { (exit 1); exit 1; }; }
1216
 
1217
 
1218
# Find the source files, if location was not specified.
1219
if test -z "$srcdir"; then
1220
  ac_srcdir_defaulted=yes
1221
  # Try the directory containing this script, then the parent directory.
1222
  ac_confdir=`$as_dirname -- "$as_myself" ||
1223
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1224
         X"$as_myself" : 'X\(//\)[^/]' \| \
1225
         X"$as_myself" : 'X\(//\)$' \| \
1226
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1227
$as_echo X"$as_myself" |
1228
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1229
            s//\1/
1230
            q
1231
          }
1232
          /^X\(\/\/\)[^/].*/{
1233
            s//\1/
1234
            q
1235
          }
1236
          /^X\(\/\/\)$/{
1237
            s//\1/
1238
            q
1239
          }
1240
          /^X\(\/\).*/{
1241
            s//\1/
1242
            q
1243
          }
1244
          s/.*/./; q'`
1245
  srcdir=$ac_confdir
1246
  if test ! -r "$srcdir/$ac_unique_file"; then
1247
    srcdir=..
1248
  fi
1249
else
1250
  ac_srcdir_defaulted=no
1251
fi
1252
if test ! -r "$srcdir/$ac_unique_file"; then
1253
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1254
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1255
   { (exit 1); exit 1; }; }
1256
fi
1257
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1258
ac_abs_confdir=`(
1259
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1260
   { (exit 1); exit 1; }; }
1261
        pwd)`
1262
# When building in place, set srcdir=.
1263
if test "$ac_abs_confdir" = "$ac_pwd"; then
1264
  srcdir=.
1265
fi
1266
# Remove unnecessary trailing slashes from srcdir.
1267
# Double slashes in file names in object file debugging info
1268
# mess up M-x gdb in Emacs.
1269
case $srcdir in
1270
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271
esac
1272
for ac_var in $ac_precious_vars; do
1273
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1274
  eval ac_env_${ac_var}_value=\$${ac_var}
1275
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1276
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1277
done
1278
 
1279
#
1280
# Report the --help message.
1281
#
1282
if test "$ac_init_help" = "long"; then
1283
  # Omit some internal or obsolete options to make the list less imposing.
1284
  # This message is too long to be a string in the A/UX 3.1 sh.
1285
  cat <<_ACEOF
1286
\`configure' configures newlib 1.18.0 to adapt to many kinds of systems.
1287
 
1288
Usage: $0 [OPTION]... [VAR=VALUE]...
1289
 
1290
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1291
VAR=VALUE.  See below for descriptions of some of the useful variables.
1292
 
1293
Defaults for the options are specified in brackets.
1294
 
1295
Configuration:
1296
  -h, --help              display this help and exit
1297
      --help=short        display options specific to this package
1298
      --help=recursive    display the short help of all the included packages
1299
  -V, --version           display version information and exit
1300
  -q, --quiet, --silent   do not print \`checking...' messages
1301
      --cache-file=FILE   cache test results in FILE [disabled]
1302
  -C, --config-cache      alias for \`--cache-file=config.cache'
1303
  -n, --no-create         do not create output files
1304
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1305
 
1306
Installation directories:
1307
  --prefix=PREFIX         install architecture-independent files in PREFIX
1308
                          [$ac_default_prefix]
1309
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1310
                          [PREFIX]
1311
 
1312
By default, \`make install' will install all the files in
1313
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1314
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1315
for instance \`--prefix=\$HOME'.
1316
 
1317
For better control, use the options below.
1318
 
1319
Fine tuning of the installation directories:
1320
  --bindir=DIR            user executables [EPREFIX/bin]
1321
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1322
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1323
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1324
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1325
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1326
  --libdir=DIR            object code libraries [EPREFIX/lib]
1327
  --includedir=DIR        C header files [PREFIX/include]
1328
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1329
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1330
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1331
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1332
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1333
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1334
  --docdir=DIR            documentation root [DATAROOTDIR/doc/newlib]
1335
  --htmldir=DIR           html documentation [DOCDIR]
1336
  --dvidir=DIR            dvi documentation [DOCDIR]
1337
  --pdfdir=DIR            pdf documentation [DOCDIR]
1338
  --psdir=DIR             ps documentation [DOCDIR]
1339
_ACEOF
1340
 
1341
  cat <<\_ACEOF
1342
 
1343
Program names:
1344
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1345
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1346
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1347
 
1348
System types:
1349
  --build=BUILD     configure for building on BUILD [guessed]
1350
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1351
_ACEOF
1352
fi
1353
 
1354
if test -n "$ac_init_help"; then
1355
  case $ac_init_help in
1356
     short | recursive ) echo "Configuration of newlib 1.18.0:";;
1357
   esac
1358
  cat <<\_ACEOF
1359
 
1360
Optional Features:
1361
  --disable-option-checking  ignore unrecognized --enable/--with options
1362
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1363
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1364
  --enable-multilib         build many library versions (default)
1365
  --enable-target-optspace  optimize for space
1366
  --enable-malloc-debugging indicate malloc debugging requested
1367
  --enable-newlib-multithread        enable support for multiple threads
1368
  --enable-newlib-iconv     enable iconv library support
1369
  --enable-newlib-elix-level         supply desired elix library level (1-4)
1370
  --disable-newlib-io-float disable printf/scanf family float support
1371
  --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
1372
  --disable-dependency-tracking  speeds up one-time build
1373
  --enable-dependency-tracking   do not reject slow dependency extractors
1374
  --enable-maintainer-mode  enable make rules and dependencies not useful
1375
                          (and sometimes confusing) to the casual installer
1376
 
1377
Some influential environment variables:
1378
  CCAS        assembler compiler command (defaults to CC)
1379
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1380
 
1381
Use these variables to override the choices made by `configure' or to help
1382
it to find libraries and programs with nonstandard names/locations.
1383
 
1384
_ACEOF
1385
ac_status=$?
1386
fi
1387
 
1388
if test "$ac_init_help" = "recursive"; then
1389
  # If there are subdirs, report their specific --help.
1390
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1391
    test -d "$ac_dir" ||
1392
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1393
      continue
1394
    ac_builddir=.
1395
 
1396
case "$ac_dir" in
1397
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398
*)
1399
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1400
  # A ".." for each directory in $ac_dir_suffix.
1401
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1402
  case $ac_top_builddir_sub in
1403
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1405
  esac ;;
1406
esac
1407
ac_abs_top_builddir=$ac_pwd
1408
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1409
# for backward compatibility:
1410
ac_top_builddir=$ac_top_build_prefix
1411
 
1412
case $srcdir in
1413
  .)  # We are building in place.
1414
    ac_srcdir=.
1415
    ac_top_srcdir=$ac_top_builddir_sub
1416
    ac_abs_top_srcdir=$ac_pwd ;;
1417
  [\\/]* | ?:[\\/]* )  # Absolute name.
1418
    ac_srcdir=$srcdir$ac_dir_suffix;
1419
    ac_top_srcdir=$srcdir
1420
    ac_abs_top_srcdir=$srcdir ;;
1421
  *) # Relative name.
1422
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1423
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1424
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1425
esac
1426
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1427
 
1428
    cd "$ac_dir" || { ac_status=$?; continue; }
1429
    # Check for guested configure.
1430
    if test -f "$ac_srcdir/configure.gnu"; then
1431
      echo &&
1432
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1433
    elif test -f "$ac_srcdir/configure"; then
1434
      echo &&
1435
      $SHELL "$ac_srcdir/configure" --help=recursive
1436
    else
1437
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438
    fi || ac_status=$?
1439
    cd "$ac_pwd" || { ac_status=$?; break; }
1440
  done
1441
fi
1442
 
1443
test -n "$ac_init_help" && exit $ac_status
1444
if $ac_init_version; then
1445
  cat <<\_ACEOF
1446
newlib configure 1.18.0
1447
generated by GNU Autoconf 2.63
1448
 
1449
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1450
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1451
This configure script is free software; the Free Software Foundation
1452
gives unlimited permission to copy, distribute and modify it.
1453
_ACEOF
1454
  exit
1455
fi
1456
cat >config.log <<_ACEOF
1457
This file contains any messages produced by compilers while
1458
running configure, to aid debugging if configure makes a mistake.
1459
 
1460
It was created by newlib $as_me 1.18.0, which was
1461
generated by GNU Autoconf 2.63.  Invocation command line was
1462
 
1463
  $ $0 $@
1464
 
1465
_ACEOF
1466
exec 5>>config.log
1467
{
1468
cat <<_ASUNAME
1469
## --------- ##
1470
## Platform. ##
1471
## --------- ##
1472
 
1473
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1474
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1475
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1476
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1477
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1478
 
1479
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1480
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1481
 
1482
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1483
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1484
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1485
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1486
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1487
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1488
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1489
 
1490
_ASUNAME
1491
 
1492
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493
for as_dir in $PATH
1494
do
1495
  IFS=$as_save_IFS
1496
  test -z "$as_dir" && as_dir=.
1497
  $as_echo "PATH: $as_dir"
1498
done
1499
IFS=$as_save_IFS
1500
 
1501
} >&5
1502
 
1503
cat >&5 <<_ACEOF
1504
 
1505
 
1506
## ----------- ##
1507
## Core tests. ##
1508
## ----------- ##
1509
 
1510
_ACEOF
1511
 
1512
 
1513
# Keep a trace of the command line.
1514
# Strip out --no-create and --no-recursion so they do not pile up.
1515
# Strip out --silent because we don't want to record it for future runs.
1516
# Also quote any args containing shell meta-characters.
1517
# Make two passes to allow for proper duplicate-argument suppression.
1518
ac_configure_args=
1519
ac_configure_args0=
1520
ac_configure_args1=
1521
ac_must_keep_next=false
1522
for ac_pass in 1 2
1523
do
1524
  for ac_arg
1525
  do
1526
    case $ac_arg in
1527
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1528
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1529
    | -silent | --silent | --silen | --sile | --sil)
1530
      continue ;;
1531
    *\'*)
1532
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1533
    esac
1534
    case $ac_pass in
1535
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1536
    2)
1537
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1538
      if test $ac_must_keep_next = true; then
1539
        ac_must_keep_next=false # Got value, back to normal.
1540
      else
1541
        case $ac_arg in
1542
          *=* | --config-cache | -C | -disable-* | --disable-* \
1543
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1544
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1545
          | -with-* | --with-* | -without-* | --without-* | --x)
1546
            case "$ac_configure_args0 " in
1547
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1548
            esac
1549
            ;;
1550
          -* ) ac_must_keep_next=true ;;
1551
        esac
1552
      fi
1553
      ac_configure_args="$ac_configure_args '$ac_arg'"
1554
      ;;
1555
    esac
1556
  done
1557
done
1558
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1559
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1560
 
1561
# When interrupted or exit'd, cleanup temporary files, and complete
1562
# config.log.  We remove comments because anyway the quotes in there
1563
# would cause problems or look ugly.
1564
# WARNING: Use '\'' to represent an apostrophe within the trap.
1565
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1566
trap 'exit_status=$?
1567
  # Save into config.log some information that might help in debugging.
1568
  {
1569
    echo
1570
 
1571
    cat <<\_ASBOX
1572
## ---------------- ##
1573
## Cache variables. ##
1574
## ---------------- ##
1575
_ASBOX
1576
    echo
1577
    # The following way of writing the cache mishandles newlines in values,
1578
(
1579
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1580
    eval ac_val=\$$ac_var
1581
    case $ac_val in #(
1582
    *${as_nl}*)
1583
      case $ac_var in #(
1584
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1585
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1586
      esac
1587
      case $ac_var in #(
1588
      _ | IFS | as_nl) ;; #(
1589
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1590
      *) $as_unset $ac_var ;;
1591
      esac ;;
1592
    esac
1593
  done
1594
  (set) 2>&1 |
1595
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1596
    *${as_nl}ac_space=\ *)
1597
      sed -n \
1598
        "s/'\''/'\''\\\\'\'''\''/g;
1599
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600
      ;; #(
1601
    *)
1602
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1603
      ;;
1604
    esac |
1605
    sort
1606
)
1607
    echo
1608
 
1609
    cat <<\_ASBOX
1610
## ----------------- ##
1611
## Output variables. ##
1612
## ----------------- ##
1613
_ASBOX
1614
    echo
1615
    for ac_var in $ac_subst_vars
1616
    do
1617
      eval ac_val=\$$ac_var
1618
      case $ac_val in
1619
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1620
      esac
1621
      $as_echo "$ac_var='\''$ac_val'\''"
1622
    done | sort
1623
    echo
1624
 
1625
    if test -n "$ac_subst_files"; then
1626
      cat <<\_ASBOX
1627
## ------------------- ##
1628
## File substitutions. ##
1629
## ------------------- ##
1630
_ASBOX
1631
      echo
1632
      for ac_var in $ac_subst_files
1633
      do
1634
        eval ac_val=\$$ac_var
1635
        case $ac_val in
1636
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1637
        esac
1638
        $as_echo "$ac_var='\''$ac_val'\''"
1639
      done | sort
1640
      echo
1641
    fi
1642
 
1643
    if test -s confdefs.h; then
1644
      cat <<\_ASBOX
1645
## ----------- ##
1646
## confdefs.h. ##
1647
## ----------- ##
1648
_ASBOX
1649
      echo
1650
      cat confdefs.h
1651
      echo
1652
    fi
1653
    test "$ac_signal" != 0 &&
1654
      $as_echo "$as_me: caught signal $ac_signal"
1655
    $as_echo "$as_me: exit $exit_status"
1656
  } >&5
1657
  rm -f core *.core core.conftest.* &&
1658
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1659
    exit $exit_status
1660
' 0
1661
for ac_signal in 1 2 13 15; do
1662
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1663
done
1664
ac_signal=0
1665
 
1666
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1667
rm -f -r conftest* confdefs.h
1668
 
1669
# Predefined preprocessor variables.
1670
 
1671
cat >>confdefs.h <<_ACEOF
1672
#define PACKAGE_NAME "$PACKAGE_NAME"
1673
_ACEOF
1674
 
1675
 
1676
cat >>confdefs.h <<_ACEOF
1677
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1678
_ACEOF
1679
 
1680
 
1681
cat >>confdefs.h <<_ACEOF
1682
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1683
_ACEOF
1684
 
1685
 
1686
cat >>confdefs.h <<_ACEOF
1687
#define PACKAGE_STRING "$PACKAGE_STRING"
1688
_ACEOF
1689
 
1690
 
1691
cat >>confdefs.h <<_ACEOF
1692
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1693
_ACEOF
1694
 
1695
 
1696
# Let the site file select an alternate cache file if it wants to.
1697
# Prefer an explicitly selected file to automatically selected ones.
1698
ac_site_file1=NONE
1699
ac_site_file2=NONE
1700
if test -n "$CONFIG_SITE"; then
1701
  ac_site_file1=$CONFIG_SITE
1702
elif test "x$prefix" != xNONE; then
1703
  ac_site_file1=$prefix/share/config.site
1704
  ac_site_file2=$prefix/etc/config.site
1705
else
1706
  ac_site_file1=$ac_default_prefix/share/config.site
1707
  ac_site_file2=$ac_default_prefix/etc/config.site
1708
fi
1709
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1710
do
1711
  test "x$ac_site_file" = xNONE && continue
1712
  if test -r "$ac_site_file"; then
1713
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1714
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1715
    sed 's/^/| /' "$ac_site_file" >&5
1716
    . "$ac_site_file"
1717
  fi
1718
done
1719
 
1720
if test -r "$cache_file"; then
1721
  # Some versions of bash will fail to source /dev/null (special
1722
  # files actually), so we avoid doing that.
1723
  if test -f "$cache_file"; then
1724
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1725
$as_echo "$as_me: loading cache $cache_file" >&6;}
1726
    case $cache_file in
1727
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1728
      *)                      . "./$cache_file";;
1729
    esac
1730
  fi
1731
else
1732
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1733
$as_echo "$as_me: creating cache $cache_file" >&6;}
1734
  >$cache_file
1735
fi
1736
 
1737
# Check that the precious variables saved in the cache have kept the same
1738
# value.
1739
ac_cache_corrupted=false
1740
for ac_var in $ac_precious_vars; do
1741
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1742
  eval ac_new_set=\$ac_env_${ac_var}_set
1743
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1744
  eval ac_new_val=\$ac_env_${ac_var}_value
1745
  case $ac_old_set,$ac_new_set in
1746
    set,)
1747
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1748
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1749
      ac_cache_corrupted=: ;;
1750
    ,set)
1751
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1752
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1753
      ac_cache_corrupted=: ;;
1754
    ,);;
1755
    *)
1756
      if test "x$ac_old_val" != "x$ac_new_val"; then
1757
        # differences in whitespace do not lead to failure.
1758
        ac_old_val_w=`echo x $ac_old_val`
1759
        ac_new_val_w=`echo x $ac_new_val`
1760
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1761
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1762
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1763
          ac_cache_corrupted=:
1764
        else
1765
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1766
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1767
          eval $ac_var=\$ac_old_val
1768
        fi
1769
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1770
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1771
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1772
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1773
      fi;;
1774
  esac
1775
  # Pass precious variables to config.status.
1776
  if test "$ac_new_set" = set; then
1777
    case $ac_new_val in
1778
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1779
    *) ac_arg=$ac_var=$ac_new_val ;;
1780
    esac
1781
    case " $ac_configure_args " in
1782
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1783
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1784
    esac
1785
  fi
1786
done
1787
if $ac_cache_corrupted; then
1788
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1789
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1790
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1791
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1792
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1793
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1794
   { (exit 1); exit 1; }; }
1795
fi
1796
 
1797
 
1798
 
1799
 
1800
 
1801
 
1802
 
1803
 
1804
 
1805
 
1806
 
1807
 
1808
 
1809
 
1810
 
1811
 
1812
 
1813
 
1814
 
1815
 
1816
 
1817
 
1818
 
1819
 
1820
 
1821
ac_ext=c
1822
ac_cpp='$CPP $CPPFLAGS'
1823
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1824
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1825
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1826
 
1827
 
1828
 
1829
 
1830
ac_aux_dir=
1831
for ac_dir in ../../../.. "$srcdir"/../../../..; do
1832
  if test -f "$ac_dir/install-sh"; then
1833
    ac_aux_dir=$ac_dir
1834
    ac_install_sh="$ac_aux_dir/install-sh -c"
1835
    break
1836
  elif test -f "$ac_dir/install.sh"; then
1837
    ac_aux_dir=$ac_dir
1838
    ac_install_sh="$ac_aux_dir/install.sh -c"
1839
    break
1840
  elif test -f "$ac_dir/shtool"; then
1841
    ac_aux_dir=$ac_dir
1842
    ac_install_sh="$ac_aux_dir/shtool install -c"
1843
    break
1844
  fi
1845
done
1846
if test -z "$ac_aux_dir"; then
1847
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&5
1848
$as_echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&2;}
1849
   { (exit 1); exit 1; }; }
1850
fi
1851
 
1852
# These three variables are undocumented and unsupported,
1853
# and are intended to be withdrawn in a future Autoconf release.
1854
# They can cause serious problems if a builder's source tree is in a directory
1855
# whose full name contains unusual characters.
1856
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1857
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1858
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1859
 
1860
 
1861
 
1862
 
1863
# Make sure we can run config.sub.
1864
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1865
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1866
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1867
   { (exit 1); exit 1; }; }
1868
 
1869
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
1870
$as_echo_n "checking build system type... " >&6; }
1871
if test "${ac_cv_build+set}" = set; then
1872
  $as_echo_n "(cached) " >&6
1873
else
1874
  ac_build_alias=$build_alias
1875
test "x$ac_build_alias" = x &&
1876
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1877
test "x$ac_build_alias" = x &&
1878
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1879
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1880
   { (exit 1); exit 1; }; }
1881
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1882
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1883
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1884
   { (exit 1); exit 1; }; }
1885
 
1886
fi
1887
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1888
$as_echo "$ac_cv_build" >&6; }
1889
case $ac_cv_build in
1890
*-*-*) ;;
1891
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1892
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
1893
   { (exit 1); exit 1; }; };;
1894
esac
1895
build=$ac_cv_build
1896
ac_save_IFS=$IFS; IFS='-'
1897
set x $ac_cv_build
1898
shift
1899
build_cpu=$1
1900
build_vendor=$2
1901
shift; shift
1902
# Remember, the first character of IFS is used to create $*,
1903
# except with old shells:
1904
build_os=$*
1905
IFS=$ac_save_IFS
1906
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1907
 
1908
 
1909
am__api_version='1.11'
1910
 
1911
# Find a good install program.  We prefer a C program (faster),
1912
# so one script is as good as another.  But avoid the broken or
1913
# incompatible versions:
1914
# SysV /etc/install, /usr/sbin/install
1915
# SunOS /usr/etc/install
1916
# IRIX /sbin/install
1917
# AIX /bin/install
1918
# AmigaOS /C/install, which installs bootblocks on floppy discs
1919
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1920
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1921
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1922
# OS/2's system install, which has a completely different semantic
1923
# ./install, which can be erroneously created by make from ./install.sh.
1924
# Reject install programs that cannot install multiple files.
1925
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1926
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1927
if test -z "$INSTALL"; then
1928
if test "${ac_cv_path_install+set}" = set; then
1929
  $as_echo_n "(cached) " >&6
1930
else
1931
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932
for as_dir in $PATH
1933
do
1934
  IFS=$as_save_IFS
1935
  test -z "$as_dir" && as_dir=.
1936
  # Account for people who put trailing slashes in PATH elements.
1937
case $as_dir/ in
1938
  ./ | .// | /cC/* | \
1939
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1940
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1941
  /usr/ucb/* ) ;;
1942
  *)
1943
    # OSF1 and SCO ODT 3.0 have their own names for install.
1944
    # Don't use installbsd from OSF since it installs stuff as root
1945
    # by default.
1946
    for ac_prog in ginstall scoinst install; do
1947
      for ac_exec_ext in '' $ac_executable_extensions; do
1948
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1949
          if test $ac_prog = install &&
1950
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1951
            # AIX install.  It has an incompatible calling convention.
1952
            :
1953
          elif test $ac_prog = install &&
1954
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1955
            # program-specific install script used by HP pwplus--don't use.
1956
            :
1957
          else
1958
            rm -rf conftest.one conftest.two conftest.dir
1959
            echo one > conftest.one
1960
            echo two > conftest.two
1961
            mkdir conftest.dir
1962
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1963
              test -s conftest.one && test -s conftest.two &&
1964
              test -s conftest.dir/conftest.one &&
1965
              test -s conftest.dir/conftest.two
1966
            then
1967
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1968
              break 3
1969
            fi
1970
          fi
1971
        fi
1972
      done
1973
    done
1974
    ;;
1975
esac
1976
 
1977
done
1978
IFS=$as_save_IFS
1979
 
1980
rm -rf conftest.one conftest.two conftest.dir
1981
 
1982
fi
1983
  if test "${ac_cv_path_install+set}" = set; then
1984
    INSTALL=$ac_cv_path_install
1985
  else
1986
    # As a last resort, use the slow shell script.  Don't cache a
1987
    # value for INSTALL within a source directory, because that will
1988
    # break other packages using the cache if that directory is
1989
    # removed, or if the value is a relative name.
1990
    INSTALL=$ac_install_sh
1991
  fi
1992
fi
1993
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1994
$as_echo "$INSTALL" >&6; }
1995
 
1996
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1997
# It thinks the first close brace ends the variable substitution.
1998
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1999
 
2000
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2001
 
2002
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2003
 
2004
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2005
$as_echo_n "checking whether build environment is sane... " >&6; }
2006
# Just in case
2007
sleep 1
2008
echo timestamp > conftest.file
2009
# Reject unsafe characters in $srcdir or the absolute working directory
2010
# name.  Accept space and tab only in the latter.
2011
am_lf='
2012
'
2013
case `pwd` in
2014
  *[\\\"\#\$\&\'\`$am_lf]*)
2015
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2016
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2017
   { (exit 1); exit 1; }; };;
2018
esac
2019
case $srcdir in
2020
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2021
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2022
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2023
   { (exit 1); exit 1; }; };;
2024
esac
2025
 
2026
# Do `set' in a subshell so we don't clobber the current shell's
2027
# arguments.  Must try -L first in case configure is actually a
2028
# symlink; some systems play weird games with the mod time of symlinks
2029
# (eg FreeBSD returns the mod time of the symlink's containing
2030
# directory).
2031
if (
2032
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2033
   if test "$*" = "X"; then
2034
      # -L didn't work.
2035
      set X `ls -t "$srcdir/configure" conftest.file`
2036
   fi
2037
   rm -f conftest.file
2038
   if test "$*" != "X $srcdir/configure conftest.file" \
2039
      && test "$*" != "X conftest.file $srcdir/configure"; then
2040
 
2041
      # If neither matched, then we have a broken ls.  This can happen
2042
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2043
      # broken ls alias from the environment.  This has actually
2044
      # happened.  Such a system could not be considered "sane".
2045
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2046
alias in your environment" >&5
2047
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2048
alias in your environment" >&2;}
2049
   { (exit 1); exit 1; }; }
2050
   fi
2051
 
2052
   test "$2" = conftest.file
2053
   )
2054
then
2055
   # Ok.
2056
   :
2057
else
2058
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2059
Check your system clock" >&5
2060
$as_echo "$as_me: error: newly created file is older than distributed files!
2061
Check your system clock" >&2;}
2062
   { (exit 1); exit 1; }; }
2063
fi
2064
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2065
$as_echo "yes" >&6; }
2066
test "$program_prefix" != NONE &&
2067
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2068
# Use a double $ so make ignores it.
2069
test "$program_suffix" != NONE &&
2070
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2071
# Double any \ or $.
2072
# By default was `s,x,x', remove it if useless.
2073
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2074
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2075
 
2076
# expand $ac_aux_dir to an absolute path
2077
am_aux_dir=`cd $ac_aux_dir && pwd`
2078
 
2079
if test x"${MISSING+set}" != xset; then
2080
  case $am_aux_dir in
2081
  *\ * | *\     *)
2082
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2083
  *)
2084
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2085
  esac
2086
fi
2087
# Use eval to expand $SHELL
2088
if eval "$MISSING --run true"; then
2089
  am_missing_run="$MISSING --run "
2090
else
2091
  am_missing_run=
2092
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2093
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2094
fi
2095
 
2096
if test x"${install_sh}" != xset; then
2097
  case $am_aux_dir in
2098
  *\ * | *\     *)
2099
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2100
  *)
2101
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2102
  esac
2103
fi
2104
 
2105
# Installed binaries are usually stripped using `strip' when the user
2106
# run `make install-strip'.  However `strip' might not be the right
2107
# tool to use in cross-compilation environments, therefore Automake
2108
# will honor the `STRIP' environment variable to overrule this program.
2109
if test "$cross_compiling" != no; then
2110
  if test -n "$ac_tool_prefix"; then
2111
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2112
set dummy ${ac_tool_prefix}strip; ac_word=$2
2113
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2114
$as_echo_n "checking for $ac_word... " >&6; }
2115
if test "${ac_cv_prog_STRIP+set}" = set; then
2116
  $as_echo_n "(cached) " >&6
2117
else
2118
  if test -n "$STRIP"; then
2119
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2120
else
2121
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122
for as_dir in $PATH
2123
do
2124
  IFS=$as_save_IFS
2125
  test -z "$as_dir" && as_dir=.
2126
  for ac_exec_ext in '' $ac_executable_extensions; do
2127
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2128
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2129
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2130
    break 2
2131
  fi
2132
done
2133
done
2134
IFS=$as_save_IFS
2135
 
2136
fi
2137
fi
2138
STRIP=$ac_cv_prog_STRIP
2139
if test -n "$STRIP"; then
2140
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2141
$as_echo "$STRIP" >&6; }
2142
else
2143
  { $as_echo "$as_me:$LINENO: result: no" >&5
2144
$as_echo "no" >&6; }
2145
fi
2146
 
2147
 
2148
fi
2149
if test -z "$ac_cv_prog_STRIP"; then
2150
  ac_ct_STRIP=$STRIP
2151
  # Extract the first word of "strip", so it can be a program name with args.
2152
set dummy strip; ac_word=$2
2153
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2154
$as_echo_n "checking for $ac_word... " >&6; }
2155
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2156
  $as_echo_n "(cached) " >&6
2157
else
2158
  if test -n "$ac_ct_STRIP"; then
2159
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2160
else
2161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162
for as_dir in $PATH
2163
do
2164
  IFS=$as_save_IFS
2165
  test -z "$as_dir" && as_dir=.
2166
  for ac_exec_ext in '' $ac_executable_extensions; do
2167
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168
    ac_cv_prog_ac_ct_STRIP="strip"
2169
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170
    break 2
2171
  fi
2172
done
2173
done
2174
IFS=$as_save_IFS
2175
 
2176
fi
2177
fi
2178
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2179
if test -n "$ac_ct_STRIP"; then
2180
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2181
$as_echo "$ac_ct_STRIP" >&6; }
2182
else
2183
  { $as_echo "$as_me:$LINENO: result: no" >&5
2184
$as_echo "no" >&6; }
2185
fi
2186
 
2187
  if test "x$ac_ct_STRIP" = x; then
2188
    STRIP=":"
2189
  else
2190
    case $cross_compiling:$ac_tool_warned in
2191
yes:)
2192
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2193
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2194
ac_tool_warned=yes ;;
2195
esac
2196
    STRIP=$ac_ct_STRIP
2197
  fi
2198
else
2199
  STRIP="$ac_cv_prog_STRIP"
2200
fi
2201
 
2202
fi
2203
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2204
 
2205
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2206
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2207
if test -z "$MKDIR_P"; then
2208
  if test "${ac_cv_path_mkdir+set}" = set; then
2209
  $as_echo_n "(cached) " >&6
2210
else
2211
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2212
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2213
do
2214
  IFS=$as_save_IFS
2215
  test -z "$as_dir" && as_dir=.
2216
  for ac_prog in mkdir gmkdir; do
2217
         for ac_exec_ext in '' $ac_executable_extensions; do
2218
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2219
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2220
             'mkdir (GNU coreutils) '* | \
2221
             'mkdir (coreutils) '* | \
2222
             'mkdir (fileutils) '4.1*)
2223
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2224
               break 3;;
2225
           esac
2226
         done
2227
       done
2228
done
2229
IFS=$as_save_IFS
2230
 
2231
fi
2232
 
2233
  if test "${ac_cv_path_mkdir+set}" = set; then
2234
    MKDIR_P="$ac_cv_path_mkdir -p"
2235
  else
2236
    # As a last resort, use the slow shell script.  Don't cache a
2237
    # value for MKDIR_P within a source directory, because that will
2238
    # break other packages using the cache if that directory is
2239
    # removed, or if the value is a relative name.
2240
    test -d ./--version && rmdir ./--version
2241
    MKDIR_P="$ac_install_sh -d"
2242
  fi
2243
fi
2244
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2245
$as_echo "$MKDIR_P" >&6; }
2246
 
2247
mkdir_p="$MKDIR_P"
2248
case $mkdir_p in
2249
  [\\/$]* | ?:[\\/]*) ;;
2250
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2251
esac
2252
 
2253
for ac_prog in gawk mawk nawk awk
2254
do
2255
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2256
set dummy $ac_prog; ac_word=$2
2257
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2258
$as_echo_n "checking for $ac_word... " >&6; }
2259
if test "${ac_cv_prog_AWK+set}" = set; then
2260
  $as_echo_n "(cached) " >&6
2261
else
2262
  if test -n "$AWK"; then
2263
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2264
else
2265
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266
for as_dir in $PATH
2267
do
2268
  IFS=$as_save_IFS
2269
  test -z "$as_dir" && as_dir=.
2270
  for ac_exec_ext in '' $ac_executable_extensions; do
2271
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2272
    ac_cv_prog_AWK="$ac_prog"
2273
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274
    break 2
2275
  fi
2276
done
2277
done
2278
IFS=$as_save_IFS
2279
 
2280
fi
2281
fi
2282
AWK=$ac_cv_prog_AWK
2283
if test -n "$AWK"; then
2284
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2285
$as_echo "$AWK" >&6; }
2286
else
2287
  { $as_echo "$as_me:$LINENO: result: no" >&5
2288
$as_echo "no" >&6; }
2289
fi
2290
 
2291
 
2292
  test -n "$AWK" && break
2293
done
2294
 
2295
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2296
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2297
set x ${MAKE-make}
2298
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2299
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2300
  $as_echo_n "(cached) " >&6
2301
else
2302
  cat >conftest.make <<\_ACEOF
2303
SHELL = /bin/sh
2304
all:
2305
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2306
_ACEOF
2307
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2308
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2309
  *@@@%%%=?*=@@@%%%*)
2310
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2311
  *)
2312
    eval ac_cv_prog_make_${ac_make}_set=no;;
2313
esac
2314
rm -f conftest.make
2315
fi
2316
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2317
  { $as_echo "$as_me:$LINENO: result: yes" >&5
2318
$as_echo "yes" >&6; }
2319
  SET_MAKE=
2320
else
2321
  { $as_echo "$as_me:$LINENO: result: no" >&5
2322
$as_echo "no" >&6; }
2323
  SET_MAKE="MAKE=${MAKE-make}"
2324
fi
2325
 
2326
rm -rf .tst 2>/dev/null
2327
mkdir .tst 2>/dev/null
2328
if test -d .tst; then
2329
  am__leading_dot=.
2330
else
2331
  am__leading_dot=_
2332
fi
2333
rmdir .tst 2>/dev/null
2334
 
2335
DEPDIR="${am__leading_dot}deps"
2336
 
2337
ac_config_commands="$ac_config_commands depfiles"
2338
 
2339
 
2340
am_make=${MAKE-make}
2341
cat > confinc << 'END'
2342
am__doit:
2343
        @echo this is the am__doit target
2344
.PHONY: am__doit
2345
END
2346
# If we don't find an include directive, just comment out the code.
2347
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2348
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2349
am__include="#"
2350
am__quote=
2351
_am_result=none
2352
# First try GNU make style include.
2353
echo "include confinc" > confmf
2354
# Ignore all kinds of additional output from `make'.
2355
case `$am_make -s -f confmf 2> /dev/null` in #(
2356
*the\ am__doit\ target*)
2357
  am__include=include
2358
  am__quote=
2359
  _am_result=GNU
2360
  ;;
2361
esac
2362
# Now try BSD make style include.
2363
if test "$am__include" = "#"; then
2364
   echo '.include "confinc"' > confmf
2365
   case `$am_make -s -f confmf 2> /dev/null` in #(
2366
   *the\ am__doit\ target*)
2367
     am__include=.include
2368
     am__quote="\""
2369
     _am_result=BSD
2370
     ;;
2371
   esac
2372
fi
2373
 
2374
 
2375
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2376
$as_echo "$_am_result" >&6; }
2377
rm -f confinc confmf
2378
 
2379
# Check whether --enable-dependency-tracking was given.
2380
if test "${enable_dependency_tracking+set}" = set; then
2381
  enableval=$enable_dependency_tracking;
2382
fi
2383
 
2384
if test "x$enable_dependency_tracking" != xno; then
2385
  am_depcomp="$ac_aux_dir/depcomp"
2386
  AMDEPBACKSLASH='\'
2387
fi
2388
 if test "x$enable_dependency_tracking" != xno; then
2389
  AMDEP_TRUE=
2390
  AMDEP_FALSE='#'
2391
else
2392
  AMDEP_TRUE='#'
2393
  AMDEP_FALSE=
2394
fi
2395
 
2396
 
2397
 
2398
# Check whether --enable-multilib was given.
2399
if test "${enable_multilib+set}" = set; then
2400
  enableval=$enable_multilib; case "${enableval}" in
2401
  yes) multilib=yes ;;
2402
  no)  multilib=no ;;
2403
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
2404
$as_echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
2405
   { (exit 1); exit 1; }; } ;;
2406
 esac
2407
else
2408
  multilib=yes
2409
fi
2410
 
2411
# Check whether --enable-target-optspace was given.
2412
if test "${enable_target_optspace+set}" = set; then
2413
  enableval=$enable_target_optspace; case "${enableval}" in
2414
  yes) target_optspace=yes ;;
2415
  no)  target_optspace=no ;;
2416
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
2417
$as_echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
2418
   { (exit 1); exit 1; }; } ;;
2419
 esac
2420
else
2421
  target_optspace=
2422
fi
2423
 
2424
# Check whether --enable-malloc-debugging was given.
2425
if test "${enable_malloc_debugging+set}" = set; then
2426
  enableval=$enable_malloc_debugging; case "${enableval}" in
2427
  yes) malloc_debugging=yes ;;
2428
  no)  malloc_debugging=no ;;
2429
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
2430
$as_echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
2431
   { (exit 1); exit 1; }; } ;;
2432
 esac
2433
else
2434
  malloc_debugging=
2435
fi
2436
 
2437
# Check whether --enable-newlib-multithread was given.
2438
if test "${enable_newlib_multithread+set}" = set; then
2439
  enableval=$enable_newlib_multithread; case "${enableval}" in
2440
  yes) newlib_multithread=yes ;;
2441
  no)  newlib_multithread=no ;;
2442
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
2443
$as_echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
2444
   { (exit 1); exit 1; }; } ;;
2445
 esac
2446
else
2447
  newlib_multithread=yes
2448
fi
2449
 
2450
# Check whether --enable-newlib-iconv was given.
2451
if test "${enable_newlib_iconv+set}" = set; then
2452
  enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
2453
   case "${enableval}" in
2454
     yes) newlib_iconv=yes ;;
2455
     no)  newlib_iconv=no ;;
2456
     *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
2457
$as_echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
2458
   { (exit 1); exit 1; }; } ;;
2459
   esac
2460
 fi
2461
else
2462
  newlib_iconv=${newlib_iconv}
2463
fi
2464
 
2465
# Check whether --enable-newlib-elix-level was given.
2466
if test "${enable_newlib_elix_level+set}" = set; then
2467
  enableval=$enable_newlib_elix_level; case "${enableval}" in
2468
  0)   newlib_elix_level=0 ;;
2469
  1)   newlib_elix_level=1 ;;
2470
  2)   newlib_elix_level=2 ;;
2471
  3)   newlib_elix_level=3 ;;
2472
  4)   newlib_elix_level=4 ;;
2473
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
2474
$as_echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
2475
   { (exit 1); exit 1; }; } ;;
2476
 esac
2477
else
2478
  newlib_elix_level=0
2479
fi
2480
 
2481
# Check whether --enable-newlib-io-float was given.
2482
if test "${enable_newlib_io_float+set}" = set; then
2483
  enableval=$enable_newlib_io_float; case "${enableval}" in
2484
  yes) newlib_io_float=yes ;;
2485
  no)  newlib_io_float=no ;;
2486
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
2487
$as_echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
2488
   { (exit 1); exit 1; }; } ;;
2489
 esac
2490
else
2491
  newlib_io_float=yes
2492
fi
2493
 
2494
# Check whether --enable-newlib-supplied-syscalls was given.
2495
if test "${enable_newlib_supplied_syscalls+set}" = set; then
2496
  enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
2497
  yes) newlib_may_supply_syscalls=yes ;;
2498
  no)  newlib_may_supply_syscalls=no ;;
2499
  *)   { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
2500
$as_echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
2501
   { (exit 1); exit 1; }; } ;;
2502
 esac
2503
else
2504
  newlib_may_supply_syscalls=yes
2505
fi
2506
 
2507
 if test x${newlib_may_supply_syscalls} = xyes; then
2508
  MAY_SUPPLY_SYSCALLS_TRUE=
2509
  MAY_SUPPLY_SYSCALLS_FALSE='#'
2510
else
2511
  MAY_SUPPLY_SYSCALLS_TRUE='#'
2512
  MAY_SUPPLY_SYSCALLS_FALSE=
2513
fi
2514
 
2515
 
2516
 
2517
test -z "${with_target_subdir}" && with_target_subdir=.
2518
 
2519
if test "${srcdir}" = "."; then
2520
  if test "${with_target_subdir}" != "."; then
2521
    newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
2522
  else
2523
    newlib_basedir="${srcdir}/${with_multisrctop}../../.."
2524
  fi
2525
else
2526
  newlib_basedir="${srcdir}/../../.."
2527
fi
2528
 
2529
 
2530
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2531
$as_echo_n "checking host system type... " >&6; }
2532
if test "${ac_cv_host+set}" = set; then
2533
  $as_echo_n "(cached) " >&6
2534
else
2535
  if test "x$host_alias" = x; then
2536
  ac_cv_host=$ac_cv_build
2537
else
2538
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2539
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2540
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2541
   { (exit 1); exit 1; }; }
2542
fi
2543
 
2544
fi
2545
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2546
$as_echo "$ac_cv_host" >&6; }
2547
case $ac_cv_host in
2548
*-*-*) ;;
2549
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2550
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2551
   { (exit 1); exit 1; }; };;
2552
esac
2553
host=$ac_cv_host
2554
ac_save_IFS=$IFS; IFS='-'
2555
set x $ac_cv_host
2556
shift
2557
host_cpu=$1
2558
host_vendor=$2
2559
shift; shift
2560
# Remember, the first character of IFS is used to create $*,
2561
# except with old shells:
2562
host_os=$*
2563
IFS=$ac_save_IFS
2564
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2565
 
2566
 
2567
 
2568
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2569
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2570
  # is not polluted with repeated "-I."
2571
  am__isrc=' -I$(srcdir)'
2572
  # test to see if srcdir already configured
2573
  if test -f $srcdir/config.status; then
2574
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2575
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2576
   { (exit 1); exit 1; }; }
2577
  fi
2578
fi
2579
 
2580
# test whether we have cygpath
2581
if test -z "$CYGPATH_W"; then
2582
  if (cygpath --version) >/dev/null 2>/dev/null; then
2583
    CYGPATH_W='cygpath -w'
2584
  else
2585
    CYGPATH_W=echo
2586
  fi
2587
fi
2588
 
2589
 
2590
# Define the identity of the package.
2591
 PACKAGE='newlib'
2592
 VERSION='1.18.0'
2593
 
2594
 
2595
# Some tools Automake needs.
2596
 
2597
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2598
 
2599
 
2600
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2601
 
2602
 
2603
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2604
 
2605
 
2606
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2607
 
2608
 
2609
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2610
 
2611
# We need awk for the "check" target.  The system "awk" is bad on
2612
# some platforms.
2613
# Always define AMTAR for backward compatibility.
2614
 
2615
AMTAR=${AMTAR-"${am_missing_run}tar"}
2616
 
2617
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2618
 
2619
 
2620
 
2621
 
2622
 
2623
 
2624
# FIXME: We temporarily define our own version of AC_PROG_CC.  This is
2625
# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
2626
# are probably using a cross compiler, which will not be able to fully
2627
# link an executable.  This should really be fixed in autoconf
2628
# itself.
2629
 
2630
 
2631
 
2632
 
2633
 
2634
 
2635
 
2636
# Extract the first word of "gcc", so it can be a program name with args.
2637
set dummy gcc; ac_word=$2
2638
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2639
$as_echo_n "checking for $ac_word... " >&6; }
2640
if test "${ac_cv_prog_CC+set}" = set; then
2641
  $as_echo_n "(cached) " >&6
2642
else
2643
  if test -n "$CC"; then
2644
  ac_cv_prog_CC="$CC" # Let the user override the test.
2645
else
2646
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647
for as_dir in $PATH
2648
do
2649
  IFS=$as_save_IFS
2650
  test -z "$as_dir" && as_dir=.
2651
  for ac_exec_ext in '' $ac_executable_extensions; do
2652
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653
    ac_cv_prog_CC="gcc"
2654
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2655
    break 2
2656
  fi
2657
done
2658
done
2659
IFS=$as_save_IFS
2660
 
2661
fi
2662
fi
2663
CC=$ac_cv_prog_CC
2664
if test -n "$CC"; then
2665
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2666
$as_echo "$CC" >&6; }
2667
else
2668
  { $as_echo "$as_me:$LINENO: result: no" >&5
2669
$as_echo "no" >&6; }
2670
fi
2671
 
2672
 
2673
 
2674
depcc="$CC"   am_compiler_list=
2675
 
2676
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2677
$as_echo_n "checking dependency style of $depcc... " >&6; }
2678
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2679
  $as_echo_n "(cached) " >&6
2680
else
2681
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2682
  # We make a subdir and do the tests there.  Otherwise we can end up
2683
  # making bogus files that we don't know about and never remove.  For
2684
  # instance it was reported that on HP-UX the gcc test will end up
2685
  # making a dummy file named `D' -- because `-MD' means `put the output
2686
  # in D'.
2687
  mkdir conftest.dir
2688
  # Copy depcomp to subdir because otherwise we won't find it if we're
2689
  # using a relative directory.
2690
  cp "$am_depcomp" conftest.dir
2691
  cd conftest.dir
2692
  # We will build objects and dependencies in a subdirectory because
2693
  # it helps to detect inapplicable dependency modes.  For instance
2694
  # both Tru64's cc and ICC support -MD to output dependencies as a
2695
  # side effect of compilation, but ICC will put the dependencies in
2696
  # the current directory while Tru64 will put them in the object
2697
  # directory.
2698
  mkdir sub
2699
 
2700
  am_cv_CC_dependencies_compiler_type=none
2701
  if test "$am_compiler_list" = ""; then
2702
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2703
  fi
2704
  am__universal=false
2705
  case " $depcc " in #(
2706
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
2707
     esac
2708
 
2709
  for depmode in $am_compiler_list; do
2710
    # Setup a source with many dependencies, because some compilers
2711
    # like to wrap large dependency lists on column 80 (with \), and
2712
    # we should not choose a depcomp mode which is confused by this.
2713
    #
2714
    # We need to recreate these files for each test, as the compiler may
2715
    # overwrite some of them when testing with obscure command lines.
2716
    # This happens at least with the AIX C compiler.
2717
    : > sub/conftest.c
2718
    for i in 1 2 3 4 5 6; do
2719
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2720
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2721
      # Solaris 8's {/usr,}/bin/sh.
2722
      touch sub/conftst$i.h
2723
    done
2724
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2725
 
2726
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2727
    # mode.  It turns out that the SunPro C++ compiler does not properly
2728
    # handle `-M -o', and we need to detect this.  Also, some Intel
2729
    # versions had trouble with output in subdirs
2730
    am__obj=sub/conftest.${OBJEXT-o}
2731
    am__minus_obj="-o $am__obj"
2732
    case $depmode in
2733
    gcc)
2734
      # This depmode causes a compiler race in universal mode.
2735
      test "$am__universal" = false || continue
2736
      ;;
2737
    nosideeffect)
2738
      # after this tag, mechanisms are not by side-effect, so they'll
2739
      # only be used when explicitly requested
2740
      if test "x$enable_dependency_tracking" = xyes; then
2741
        continue
2742
      else
2743
        break
2744
      fi
2745
      ;;
2746
    msvisualcpp | msvcmsys)
2747
      # This compiler won't grok `-c -o', but also, the minuso test has
2748
      # not run yet.  These depmodes are late enough in the game, and
2749
      # so weak that their functioning should not be impacted.
2750
      am__obj=conftest.${OBJEXT-o}
2751
      am__minus_obj=
2752
      ;;
2753
    none) break ;;
2754
    esac
2755
    if depmode=$depmode \
2756
       source=sub/conftest.c object=$am__obj \
2757
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2758
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
2759
         >/dev/null 2>conftest.err &&
2760
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2761
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2762
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
2763
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2764
      # icc doesn't choke on unknown options, it will just issue warnings
2765
      # or remarks (even with -Werror).  So we grep stderr for any message
2766
      # that says an option was ignored or not supported.
2767
      # When given -MP, icc 7.0 and 7.1 complain thusly:
2768
      #   icc: Command line warning: ignoring option '-M'; no argument required
2769
      # The diagnosis changed in icc 8.0:
2770
      #   icc: Command line remark: option '-MP' not supported
2771
      if (grep 'ignoring option' conftest.err ||
2772
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2773
        am_cv_CC_dependencies_compiler_type=$depmode
2774
        break
2775
      fi
2776
    fi
2777
  done
2778
 
2779
  cd ..
2780
  rm -rf conftest.dir
2781
else
2782
  am_cv_CC_dependencies_compiler_type=none
2783
fi
2784
 
2785
fi
2786
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2787
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2788
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2789
 
2790
 if
2791
  test "x$enable_dependency_tracking" != xno \
2792
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2793
  am__fastdepCC_TRUE=
2794
  am__fastdepCC_FALSE='#'
2795
else
2796
  am__fastdepCC_TRUE='#'
2797
  am__fastdepCC_FALSE=
2798
fi
2799
 
2800
 
2801
if test -z "$CC"; then
2802
  # Extract the first word of "cc", so it can be a program name with args.
2803
set dummy cc; ac_word=$2
2804
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2805
$as_echo_n "checking for $ac_word... " >&6; }
2806
if test "${ac_cv_prog_CC+set}" = set; then
2807
  $as_echo_n "(cached) " >&6
2808
else
2809
  if test -n "$CC"; then
2810
  ac_cv_prog_CC="$CC" # Let the user override the test.
2811
else
2812
  ac_prog_rejected=no
2813
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814
for as_dir in $PATH
2815
do
2816
  IFS=$as_save_IFS
2817
  test -z "$as_dir" && as_dir=.
2818
  for ac_exec_ext in '' $ac_executable_extensions; do
2819
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2821
       ac_prog_rejected=yes
2822
       continue
2823
     fi
2824
    ac_cv_prog_CC="cc"
2825
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2826
    break 2
2827
  fi
2828
done
2829
done
2830
IFS=$as_save_IFS
2831
 
2832
if test $ac_prog_rejected = yes; then
2833
  # We found a bogon in the path, so make sure we never use it.
2834
  set dummy $ac_cv_prog_CC
2835
  shift
2836
  if test $# != 0; then
2837
    # We chose a different compiler from the bogus one.
2838
    # However, it has the same basename, so the bogon will be chosen
2839
    # first if we set CC to just the basename; use the full file name.
2840
    shift
2841
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2842
  fi
2843
fi
2844
fi
2845
fi
2846
CC=$ac_cv_prog_CC
2847
if test -n "$CC"; then
2848
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2849
$as_echo "$CC" >&6; }
2850
else
2851
  { $as_echo "$as_me:$LINENO: result: no" >&5
2852
$as_echo "no" >&6; }
2853
fi
2854
 
2855
 
2856
  test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2857
$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2858
   { (exit 1); exit 1; }; }
2859
fi
2860
 
2861
{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2862
$as_echo_n "checking whether we are using GNU C... " >&6; }
2863
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2864
  $as_echo_n "(cached) " >&6
2865
else
2866
  cat > conftest.c <
2867
#ifdef __GNUC__
2868
  yes;
2869
#endif
2870
EOF
2871
if { ac_try='${CC-cc} -E conftest.c'
2872
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2873
  (eval $ac_try) 2>&5
2874
  ac_status=$?
2875
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876
  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2877
  ac_cv_c_compiler_gnu=yes
2878
else
2879
  ac_cv_c_compiler_gnu=no
2880
fi
2881
fi
2882
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2883
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2884
 
2885
if test $ac_cv_c_compiler_gnu = yes; then
2886
  GCC=yes
2887
  ac_test_CFLAGS="${CFLAGS+set}"
2888
  ac_save_CFLAGS="$CFLAGS"
2889
  ac_test_CFLAGS=${CFLAGS+set}
2890
ac_save_CFLAGS=$CFLAGS
2891
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2892
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2893
if test "${ac_cv_prog_cc_g+set}" = set; then
2894
  $as_echo_n "(cached) " >&6
2895
else
2896
  ac_save_c_werror_flag=$ac_c_werror_flag
2897
   ac_c_werror_flag=yes
2898
   ac_cv_prog_cc_g=no
2899
   CFLAGS="-g"
2900
   cat >conftest.$ac_ext <<_ACEOF
2901
/* confdefs.h.  */
2902
_ACEOF
2903
cat confdefs.h >>conftest.$ac_ext
2904
cat >>conftest.$ac_ext <<_ACEOF
2905
/* end confdefs.h.  */
2906
 
2907
int
2908
main ()
2909
{
2910
 
2911
  ;
2912
  return 0;
2913
}
2914
_ACEOF
2915
rm -f conftest.$ac_objext
2916
if { (ac_try="$ac_compile"
2917
case "(($ac_try" in
2918
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919
  *) ac_try_echo=$ac_try;;
2920
esac
2921
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2922
$as_echo "$ac_try_echo") >&5
2923
  (eval "$ac_compile") 2>conftest.er1
2924
  ac_status=$?
2925
  grep -v '^ *+' conftest.er1 >conftest.err
2926
  rm -f conftest.er1
2927
  cat conftest.err >&5
2928
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929
  (exit $ac_status); } && {
2930
         test -z "$ac_c_werror_flag" ||
2931
         test ! -s conftest.err
2932
       } && test -s conftest.$ac_objext; then
2933
  ac_cv_prog_cc_g=yes
2934
else
2935
  $as_echo "$as_me: failed program was:" >&5
2936
sed 's/^/| /' conftest.$ac_ext >&5
2937
 
2938
        CFLAGS=""
2939
      cat >conftest.$ac_ext <<_ACEOF
2940
/* confdefs.h.  */
2941
_ACEOF
2942
cat confdefs.h >>conftest.$ac_ext
2943
cat >>conftest.$ac_ext <<_ACEOF
2944
/* end confdefs.h.  */
2945
 
2946
int
2947
main ()
2948
{
2949
 
2950
  ;
2951
  return 0;
2952
}
2953
_ACEOF
2954
rm -f conftest.$ac_objext
2955
if { (ac_try="$ac_compile"
2956
case "(($ac_try" in
2957
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958
  *) ac_try_echo=$ac_try;;
2959
esac
2960
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2961
$as_echo "$ac_try_echo") >&5
2962
  (eval "$ac_compile") 2>conftest.er1
2963
  ac_status=$?
2964
  grep -v '^ *+' conftest.er1 >conftest.err
2965
  rm -f conftest.er1
2966
  cat conftest.err >&5
2967
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968
  (exit $ac_status); } && {
2969
         test -z "$ac_c_werror_flag" ||
2970
         test ! -s conftest.err
2971
       } && test -s conftest.$ac_objext; then
2972
  :
2973
else
2974
  $as_echo "$as_me: failed program was:" >&5
2975
sed 's/^/| /' conftest.$ac_ext >&5
2976
 
2977
        ac_c_werror_flag=$ac_save_c_werror_flag
2978
         CFLAGS="-g"
2979
         cat >conftest.$ac_ext <<_ACEOF
2980
/* confdefs.h.  */
2981
_ACEOF
2982
cat confdefs.h >>conftest.$ac_ext
2983
cat >>conftest.$ac_ext <<_ACEOF
2984
/* end confdefs.h.  */
2985
 
2986
int
2987
main ()
2988
{
2989
 
2990
  ;
2991
  return 0;
2992
}
2993
_ACEOF
2994
rm -f conftest.$ac_objext
2995
if { (ac_try="$ac_compile"
2996
case "(($ac_try" in
2997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998
  *) ac_try_echo=$ac_try;;
2999
esac
3000
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3001
$as_echo "$ac_try_echo") >&5
3002
  (eval "$ac_compile") 2>conftest.er1
3003
  ac_status=$?
3004
  grep -v '^ *+' conftest.er1 >conftest.err
3005
  rm -f conftest.er1
3006
  cat conftest.err >&5
3007
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008
  (exit $ac_status); } && {
3009
         test -z "$ac_c_werror_flag" ||
3010
         test ! -s conftest.err
3011
       } && test -s conftest.$ac_objext; then
3012
  ac_cv_prog_cc_g=yes
3013
else
3014
  $as_echo "$as_me: failed program was:" >&5
3015
sed 's/^/| /' conftest.$ac_ext >&5
3016
 
3017
 
3018
fi
3019
 
3020
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3021
fi
3022
 
3023
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024
fi
3025
 
3026
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027
   ac_c_werror_flag=$ac_save_c_werror_flag
3028
fi
3029
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3030
$as_echo "$ac_cv_prog_cc_g" >&6; }
3031
if test "$ac_test_CFLAGS" = set; then
3032
  CFLAGS=$ac_save_CFLAGS
3033
elif test $ac_cv_prog_cc_g = yes; then
3034
  if test "$GCC" = yes; then
3035
    CFLAGS="-g -O2"
3036
  else
3037
    CFLAGS="-g"
3038
  fi
3039
else
3040
  if test "$GCC" = yes; then
3041
    CFLAGS="-O2"
3042
  else
3043
    CFLAGS=
3044
  fi
3045
fi
3046
  if test "$ac_test_CFLAGS" = set; then
3047
    CFLAGS="$ac_save_CFLAGS"
3048
  elif test $ac_cv_prog_cc_g = yes; then
3049
    CFLAGS="-g -O2"
3050
  else
3051
    CFLAGS="-O2"
3052
  fi
3053
else
3054
  GCC=
3055
  test "${CFLAGS+set}" = set || CFLAGS="-g"
3056
fi
3057
 
3058
 
3059
if test -n "$ac_tool_prefix"; then
3060
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3061
set dummy ${ac_tool_prefix}as; ac_word=$2
3062
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3063
$as_echo_n "checking for $ac_word... " >&6; }
3064
if test "${ac_cv_prog_AS+set}" = set; then
3065
  $as_echo_n "(cached) " >&6
3066
else
3067
  if test -n "$AS"; then
3068
  ac_cv_prog_AS="$AS" # Let the user override the test.
3069
else
3070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071
for as_dir in $PATH
3072
do
3073
  IFS=$as_save_IFS
3074
  test -z "$as_dir" && as_dir=.
3075
  for ac_exec_ext in '' $ac_executable_extensions; do
3076
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3077
    ac_cv_prog_AS="${ac_tool_prefix}as"
3078
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3079
    break 2
3080
  fi
3081
done
3082
done
3083
IFS=$as_save_IFS
3084
 
3085
fi
3086
fi
3087
AS=$ac_cv_prog_AS
3088
if test -n "$AS"; then
3089
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
3090
$as_echo "$AS" >&6; }
3091
else
3092
  { $as_echo "$as_me:$LINENO: result: no" >&5
3093
$as_echo "no" >&6; }
3094
fi
3095
 
3096
 
3097
fi
3098
if test -z "$ac_cv_prog_AS"; then
3099
  ac_ct_AS=$AS
3100
  # Extract the first word of "as", so it can be a program name with args.
3101
set dummy as; ac_word=$2
3102
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3103
$as_echo_n "checking for $ac_word... " >&6; }
3104
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3105
  $as_echo_n "(cached) " >&6
3106
else
3107
  if test -n "$ac_ct_AS"; then
3108
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3109
else
3110
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111
for as_dir in $PATH
3112
do
3113
  IFS=$as_save_IFS
3114
  test -z "$as_dir" && as_dir=.
3115
  for ac_exec_ext in '' $ac_executable_extensions; do
3116
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3117
    ac_cv_prog_ac_ct_AS="as"
3118
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3119
    break 2
3120
  fi
3121
done
3122
done
3123
IFS=$as_save_IFS
3124
 
3125
fi
3126
fi
3127
ac_ct_AS=$ac_cv_prog_ac_ct_AS
3128
if test -n "$ac_ct_AS"; then
3129
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3130
$as_echo "$ac_ct_AS" >&6; }
3131
else
3132
  { $as_echo "$as_me:$LINENO: result: no" >&5
3133
$as_echo "no" >&6; }
3134
fi
3135
 
3136
  if test "x$ac_ct_AS" = x; then
3137
    AS=""
3138
  else
3139
    case $cross_compiling:$ac_tool_warned in
3140
yes:)
3141
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3142
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3143
ac_tool_warned=yes ;;
3144
esac
3145
    AS=$ac_ct_AS
3146
  fi
3147
else
3148
  AS="$ac_cv_prog_AS"
3149
fi
3150
 
3151
if test -n "$ac_tool_prefix"; then
3152
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3153
set dummy ${ac_tool_prefix}ar; ac_word=$2
3154
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3155
$as_echo_n "checking for $ac_word... " >&6; }
3156
if test "${ac_cv_prog_AR+set}" = set; then
3157
  $as_echo_n "(cached) " >&6
3158
else
3159
  if test -n "$AR"; then
3160
  ac_cv_prog_AR="$AR" # Let the user override the test.
3161
else
3162
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163
for as_dir in $PATH
3164
do
3165
  IFS=$as_save_IFS
3166
  test -z "$as_dir" && as_dir=.
3167
  for ac_exec_ext in '' $ac_executable_extensions; do
3168
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3169
    ac_cv_prog_AR="${ac_tool_prefix}ar"
3170
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3171
    break 2
3172
  fi
3173
done
3174
done
3175
IFS=$as_save_IFS
3176
 
3177
fi
3178
fi
3179
AR=$ac_cv_prog_AR
3180
if test -n "$AR"; then
3181
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
3182
$as_echo "$AR" >&6; }
3183
else
3184
  { $as_echo "$as_me:$LINENO: result: no" >&5
3185
$as_echo "no" >&6; }
3186
fi
3187
 
3188
 
3189
fi
3190
if test -z "$ac_cv_prog_AR"; then
3191
  ac_ct_AR=$AR
3192
  # Extract the first word of "ar", so it can be a program name with args.
3193
set dummy ar; ac_word=$2
3194
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3195
$as_echo_n "checking for $ac_word... " >&6; }
3196
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3197
  $as_echo_n "(cached) " >&6
3198
else
3199
  if test -n "$ac_ct_AR"; then
3200
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3201
else
3202
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203
for as_dir in $PATH
3204
do
3205
  IFS=$as_save_IFS
3206
  test -z "$as_dir" && as_dir=.
3207
  for ac_exec_ext in '' $ac_executable_extensions; do
3208
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209
    ac_cv_prog_ac_ct_AR="ar"
3210
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3211
    break 2
3212
  fi
3213
done
3214
done
3215
IFS=$as_save_IFS
3216
 
3217
fi
3218
fi
3219
ac_ct_AR=$ac_cv_prog_ac_ct_AR
3220
if test -n "$ac_ct_AR"; then
3221
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3222
$as_echo "$ac_ct_AR" >&6; }
3223
else
3224
  { $as_echo "$as_me:$LINENO: result: no" >&5
3225
$as_echo "no" >&6; }
3226
fi
3227
 
3228
  if test "x$ac_ct_AR" = x; then
3229
    AR=""
3230
  else
3231
    case $cross_compiling:$ac_tool_warned in
3232
yes:)
3233
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3234
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3235
ac_tool_warned=yes ;;
3236
esac
3237
    AR=$ac_ct_AR
3238
  fi
3239
else
3240
  AR="$ac_cv_prog_AR"
3241
fi
3242
 
3243
if test -n "$ac_tool_prefix"; then
3244
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3245
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3246
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3247
$as_echo_n "checking for $ac_word... " >&6; }
3248
if test "${ac_cv_prog_RANLIB+set}" = set; then
3249
  $as_echo_n "(cached) " >&6
3250
else
3251
  if test -n "$RANLIB"; then
3252
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3253
else
3254
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3255
for as_dir in $PATH
3256
do
3257
  IFS=$as_save_IFS
3258
  test -z "$as_dir" && as_dir=.
3259
  for ac_exec_ext in '' $ac_executable_extensions; do
3260
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3261
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3262
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3263
    break 2
3264
  fi
3265
done
3266
done
3267
IFS=$as_save_IFS
3268
 
3269
fi
3270
fi
3271
RANLIB=$ac_cv_prog_RANLIB
3272
if test -n "$RANLIB"; then
3273
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3274
$as_echo "$RANLIB" >&6; }
3275
else
3276
  { $as_echo "$as_me:$LINENO: result: no" >&5
3277
$as_echo "no" >&6; }
3278
fi
3279
 
3280
 
3281
fi
3282
if test -z "$ac_cv_prog_RANLIB"; then
3283
  ac_ct_RANLIB=$RANLIB
3284
  # Extract the first word of "ranlib", so it can be a program name with args.
3285
set dummy ranlib; ac_word=$2
3286
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3287
$as_echo_n "checking for $ac_word... " >&6; }
3288
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3289
  $as_echo_n "(cached) " >&6
3290
else
3291
  if test -n "$ac_ct_RANLIB"; then
3292
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3293
else
3294
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295
for as_dir in $PATH
3296
do
3297
  IFS=$as_save_IFS
3298
  test -z "$as_dir" && as_dir=.
3299
  for ac_exec_ext in '' $ac_executable_extensions; do
3300
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3301
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3302
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3303
    break 2
3304
  fi
3305
done
3306
done
3307
IFS=$as_save_IFS
3308
 
3309
fi
3310
fi
3311
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3312
if test -n "$ac_ct_RANLIB"; then
3313
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3314
$as_echo "$ac_ct_RANLIB" >&6; }
3315
else
3316
  { $as_echo "$as_me:$LINENO: result: no" >&5
3317
$as_echo "no" >&6; }
3318
fi
3319
 
3320
  if test "x$ac_ct_RANLIB" = x; then
3321
    RANLIB=":"
3322
  else
3323
    case $cross_compiling:$ac_tool_warned in
3324
yes:)
3325
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3326
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3327
ac_tool_warned=yes ;;
3328
esac
3329
    RANLIB=$ac_ct_RANLIB
3330
  fi
3331
else
3332
  RANLIB="$ac_cv_prog_RANLIB"
3333
fi
3334
 
3335
if test -n "$ac_tool_prefix"; then
3336
  # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3337
set dummy ${ac_tool_prefix}readelf; ac_word=$2
3338
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3339
$as_echo_n "checking for $ac_word... " >&6; }
3340
if test "${ac_cv_prog_READELF+set}" = set; then
3341
  $as_echo_n "(cached) " >&6
3342
else
3343
  if test -n "$READELF"; then
3344
  ac_cv_prog_READELF="$READELF" # Let the user override the test.
3345
else
3346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347
for as_dir in $PATH
3348
do
3349
  IFS=$as_save_IFS
3350
  test -z "$as_dir" && as_dir=.
3351
  for ac_exec_ext in '' $ac_executable_extensions; do
3352
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3353
    ac_cv_prog_READELF="${ac_tool_prefix}readelf"
3354
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355
    break 2
3356
  fi
3357
done
3358
done
3359
IFS=$as_save_IFS
3360
 
3361
fi
3362
fi
3363
READELF=$ac_cv_prog_READELF
3364
if test -n "$READELF"; then
3365
  { $as_echo "$as_me:$LINENO: result: $READELF" >&5
3366
$as_echo "$READELF" >&6; }
3367
else
3368
  { $as_echo "$as_me:$LINENO: result: no" >&5
3369
$as_echo "no" >&6; }
3370
fi
3371
 
3372
 
3373
fi
3374
if test -z "$ac_cv_prog_READELF"; then
3375
  ac_ct_READELF=$READELF
3376
  # Extract the first word of "readelf", so it can be a program name with args.
3377
set dummy readelf; ac_word=$2
3378
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3379
$as_echo_n "checking for $ac_word... " >&6; }
3380
if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
3381
  $as_echo_n "(cached) " >&6
3382
else
3383
  if test -n "$ac_ct_READELF"; then
3384
  ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
3385
else
3386
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387
for as_dir in $PATH
3388
do
3389
  IFS=$as_save_IFS
3390
  test -z "$as_dir" && as_dir=.
3391
  for ac_exec_ext in '' $ac_executable_extensions; do
3392
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3393
    ac_cv_prog_ac_ct_READELF="readelf"
3394
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3395
    break 2
3396
  fi
3397
done
3398
done
3399
IFS=$as_save_IFS
3400
 
3401
fi
3402
fi
3403
ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
3404
if test -n "$ac_ct_READELF"; then
3405
  { $as_echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
3406
$as_echo "$ac_ct_READELF" >&6; }
3407
else
3408
  { $as_echo "$as_me:$LINENO: result: no" >&5
3409
$as_echo "no" >&6; }
3410
fi
3411
 
3412
  if test "x$ac_ct_READELF" = x; then
3413
    READELF=":"
3414
  else
3415
    case $cross_compiling:$ac_tool_warned in
3416
yes:)
3417
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3418
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3419
ac_tool_warned=yes ;;
3420
esac
3421
    READELF=$ac_ct_READELF
3422
  fi
3423
else
3424
  READELF="$ac_cv_prog_READELF"
3425
fi
3426
 
3427
 
3428
# Find a good install program.  We prefer a C program (faster),
3429
# so one script is as good as another.  But avoid the broken or
3430
# incompatible versions:
3431
# SysV /etc/install, /usr/sbin/install
3432
# SunOS /usr/etc/install
3433
# IRIX /sbin/install
3434
# AIX /bin/install
3435
# AmigaOS /C/install, which installs bootblocks on floppy discs
3436
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3437
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3438
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3439
# OS/2's system install, which has a completely different semantic
3440
# ./install, which can be erroneously created by make from ./install.sh.
3441
# Reject install programs that cannot install multiple files.
3442
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3443
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3444
if test -z "$INSTALL"; then
3445
if test "${ac_cv_path_install+set}" = set; then
3446
  $as_echo_n "(cached) " >&6
3447
else
3448
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3449
for as_dir in $PATH
3450
do
3451
  IFS=$as_save_IFS
3452
  test -z "$as_dir" && as_dir=.
3453
  # Account for people who put trailing slashes in PATH elements.
3454
case $as_dir/ in
3455
  ./ | .// | /cC/* | \
3456
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3457
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3458
  /usr/ucb/* ) ;;
3459
  *)
3460
    # OSF1 and SCO ODT 3.0 have their own names for install.
3461
    # Don't use installbsd from OSF since it installs stuff as root
3462
    # by default.
3463
    for ac_prog in ginstall scoinst install; do
3464
      for ac_exec_ext in '' $ac_executable_extensions; do
3465
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3466
          if test $ac_prog = install &&
3467
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3468
            # AIX install.  It has an incompatible calling convention.
3469
            :
3470
          elif test $ac_prog = install &&
3471
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3472
            # program-specific install script used by HP pwplus--don't use.
3473
            :
3474
          else
3475
            rm -rf conftest.one conftest.two conftest.dir
3476
            echo one > conftest.one
3477
            echo two > conftest.two
3478
            mkdir conftest.dir
3479
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3480
              test -s conftest.one && test -s conftest.two &&
3481
              test -s conftest.dir/conftest.one &&
3482
              test -s conftest.dir/conftest.two
3483
            then
3484
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3485
              break 3
3486
            fi
3487
          fi
3488
        fi
3489
      done
3490
    done
3491
    ;;
3492
esac
3493
 
3494
done
3495
IFS=$as_save_IFS
3496
 
3497
rm -rf conftest.one conftest.two conftest.dir
3498
 
3499
fi
3500
  if test "${ac_cv_path_install+set}" = set; then
3501
    INSTALL=$ac_cv_path_install
3502
  else
3503
    # As a last resort, use the slow shell script.  Don't cache a
3504
    # value for INSTALL within a source directory, because that will
3505
    # break other packages using the cache if that directory is
3506
    # removed, or if the value is a relative name.
3507
    INSTALL=$ac_install_sh
3508
  fi
3509
fi
3510
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3511
$as_echo "$INSTALL" >&6; }
3512
 
3513
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3514
# It thinks the first close brace ends the variable substitution.
3515
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3516
 
3517
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3518
 
3519
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3520
 
3521
 
3522
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13.  */
3523
ac_given_INSTALL=$INSTALL
3524
 
3525
 
3526
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3527
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3528
    # Check whether --enable-maintainer-mode was given.
3529
if test "${enable_maintainer_mode+set}" = set; then
3530
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3531
else
3532
  USE_MAINTAINER_MODE=no
3533
fi
3534
 
3535
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3536
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3537
   if test $USE_MAINTAINER_MODE = yes; then
3538
  MAINTAINER_MODE_TRUE=
3539
  MAINTAINER_MODE_FALSE='#'
3540
else
3541
  MAINTAINER_MODE_TRUE='#'
3542
  MAINTAINER_MODE_FALSE=
3543
fi
3544
 
3545
  MAINT=$MAINTAINER_MODE_TRUE
3546
 
3547
 
3548
# By default we simply use the C compiler to build assembly code.
3549
 
3550
test "${CCAS+set}" = set || CCAS=$CC
3551
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3552
 
3553
 
3554
 
3555
 
3556
# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
3557
# at least currently, we never actually build a program, so we never
3558
# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
3559
# fails, because we are probably configuring with a cross compiler
3560
# which can't create executables.  So we include AC_EXEEXT to keep
3561
# automake happy, but we don't execute it, since we don't care about
3562
# the result.
3563
if false; then
3564
 
3565
  dummy_var=1
3566
fi
3567
 
3568
. ${newlib_basedir}/configure.host
3569
 
3570
newlib_cflags="${newlib_cflags} -fno-builtin"
3571
 
3572
NEWLIB_CFLAGS=${newlib_cflags}
3573
 
3574
 
3575
LDFLAGS=${ldflags}
3576
 
3577
 
3578
 if test x${newlib_elix_level} = x0; then
3579
  ELIX_LEVEL_0_TRUE=
3580
  ELIX_LEVEL_0_FALSE='#'
3581
else
3582
  ELIX_LEVEL_0_TRUE='#'
3583
  ELIX_LEVEL_0_FALSE=
3584
fi
3585
 
3586
 if test x${newlib_elix_level} = x1; then
3587
  ELIX_LEVEL_1_TRUE=
3588
  ELIX_LEVEL_1_FALSE='#'
3589
else
3590
  ELIX_LEVEL_1_TRUE='#'
3591
  ELIX_LEVEL_1_FALSE=
3592
fi
3593
 
3594
 if test x${newlib_elix_level} = x2; then
3595
  ELIX_LEVEL_2_TRUE=
3596
  ELIX_LEVEL_2_FALSE='#'
3597
else
3598
  ELIX_LEVEL_2_TRUE='#'
3599
  ELIX_LEVEL_2_FALSE=
3600
fi
3601
 
3602
 if test x${newlib_elix_level} = x3; then
3603
  ELIX_LEVEL_3_TRUE=
3604
  ELIX_LEVEL_3_FALSE='#'
3605
else
3606
  ELIX_LEVEL_3_TRUE='#'
3607
  ELIX_LEVEL_3_FALSE=
3608
fi
3609
 
3610
 if test x${newlib_elix_level} = x4; then
3611
  ELIX_LEVEL_4_TRUE=
3612
  ELIX_LEVEL_4_FALSE='#'
3613
else
3614
  ELIX_LEVEL_4_TRUE='#'
3615
  ELIX_LEVEL_4_FALSE=
3616
fi
3617
 
3618
 
3619
 if test x${use_libtool} = xyes; then
3620
  USE_LIBTOOL_TRUE=
3621
  USE_LIBTOOL_FALSE='#'
3622
else
3623
  USE_LIBTOOL_TRUE='#'
3624
  USE_LIBTOOL_FALSE=
3625
fi
3626
 
3627
 
3628
# Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
3629
# use oext, which is set in configure.host based on the target platform.
3630
OBJEXT=${oext}
3631
 
3632
 
3633
 
3634
 
3635
 
3636
 
3637
 
3638
 
3639
 
3640
 
3641
 
3642
ac_config_files="$ac_config_files Makefile"
3643
 
3644
cat >confcache <<\_ACEOF
3645
# This file is a shell script that caches the results of configure
3646
# tests run on this system so they can be shared between configure
3647
# scripts and configure runs, see configure's option --config-cache.
3648
# It is not useful on other systems.  If it contains results you don't
3649
# want to keep, you may remove or edit it.
3650
#
3651
# config.status only pays attention to the cache file if you give it
3652
# the --recheck option to rerun configure.
3653
#
3654
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3655
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3656
# following values.
3657
 
3658
_ACEOF
3659
 
3660
# The following way of writing the cache mishandles newlines in values,
3661
# but we know of no workaround that is simple, portable, and efficient.
3662
# So, we kill variables containing newlines.
3663
# Ultrix sh set writes to stderr and can't be redirected directly,
3664
# and sets the high bit in the cache file unless we assign to the vars.
3665
(
3666
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3667
    eval ac_val=\$$ac_var
3668
    case $ac_val in #(
3669
    *${as_nl}*)
3670
      case $ac_var in #(
3671
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3672
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3673
      esac
3674
      case $ac_var in #(
3675
      _ | IFS | as_nl) ;; #(
3676
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3677
      *) $as_unset $ac_var ;;
3678
      esac ;;
3679
    esac
3680
  done
3681
 
3682
  (set) 2>&1 |
3683
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3684
    *${as_nl}ac_space=\ *)
3685
      # `set' does not quote correctly, so add quotes (double-quote
3686
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3687
      sed -n \
3688
        "s/'/'\\\\''/g;
3689
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3690
      ;; #(
3691
    *)
3692
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3693
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3694
      ;;
3695
    esac |
3696
    sort
3697
) |
3698
  sed '
3699
     /^ac_cv_env_/b end
3700
     t clear
3701
     :clear
3702
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3703
     t end
3704
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3705
     :end' >>confcache
3706
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3707
  if test -w "$cache_file"; then
3708
    test "x$cache_file" != "x/dev/null" &&
3709
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3710
$as_echo "$as_me: updating cache $cache_file" >&6;}
3711
    cat confcache >$cache_file
3712
  else
3713
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3714
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3715
  fi
3716
fi
3717
rm -f confcache
3718
 
3719
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3720
# Let make expand exec_prefix.
3721
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3722
 
3723
# Transform confdefs.h into DEFS.
3724
# Protect against shell expansion while executing Makefile rules.
3725
# Protect against Makefile macro expansion.
3726
#
3727
# If the first sed substitution is executed (which looks for macros that
3728
# take arguments), then branch to the quote section.  Otherwise,
3729
# look for a macro that doesn't take arguments.
3730
ac_script='
3731
:mline
3732
/\\$/{
3733
 N
3734
 s,\\\n,,
3735
 b mline
3736
}
3737
t clear
3738
:clear
3739
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
3740
t quote
3741
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
3742
t quote
3743
b any
3744
:quote
3745
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3746
s/\[/\\&/g
3747
s/\]/\\&/g
3748
s/\$/$$/g
3749
H
3750
:any
3751
${
3752
        g
3753
        s/^\n//
3754
        s/\n/ /g
3755
        p
3756
}
3757
'
3758
DEFS=`sed -n "$ac_script" confdefs.h`
3759
 
3760
 
3761
ac_libobjs=
3762
ac_ltlibobjs=
3763
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3764
  # 1. Remove the extension, and $U if already installed.
3765
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3766
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3767
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3768
  #    will be set to the directory where LIBOBJS objects are built.
3769
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3770
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3771
done
3772
LIBOBJS=$ac_libobjs
3773
 
3774
LTLIBOBJS=$ac_ltlibobjs
3775
 
3776
 
3777
if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
3778
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
3779
Usually this means the macro was only invoked conditionally." >&5
3780
$as_echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
3781
Usually this means the macro was only invoked conditionally." >&2;}
3782
   { (exit 1); exit 1; }; }
3783
fi
3784
 
3785
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3786
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3787
Usually this means the macro was only invoked conditionally." >&5
3788
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
3789
Usually this means the macro was only invoked conditionally." >&2;}
3790
   { (exit 1); exit 1; }; }
3791
fi
3792
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3793
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3794
Usually this means the macro was only invoked conditionally." >&5
3795
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3796
Usually this means the macro was only invoked conditionally." >&2;}
3797
   { (exit 1); exit 1; }; }
3798
fi
3799
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3800
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3801
Usually this means the macro was only invoked conditionally." >&5
3802
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3803
Usually this means the macro was only invoked conditionally." >&2;}
3804
   { (exit 1); exit 1; }; }
3805
fi
3806
if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
3807
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
3808
Usually this means the macro was only invoked conditionally." >&5
3809
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
3810
Usually this means the macro was only invoked conditionally." >&2;}
3811
   { (exit 1); exit 1; }; }
3812
fi
3813
if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
3814
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
3815
Usually this means the macro was only invoked conditionally." >&5
3816
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
3817
Usually this means the macro was only invoked conditionally." >&2;}
3818
   { (exit 1); exit 1; }; }
3819
fi
3820
if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
3821
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
3822
Usually this means the macro was only invoked conditionally." >&5
3823
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
3824
Usually this means the macro was only invoked conditionally." >&2;}
3825
   { (exit 1); exit 1; }; }
3826
fi
3827
if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
3828
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
3829
Usually this means the macro was only invoked conditionally." >&5
3830
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
3831
Usually this means the macro was only invoked conditionally." >&2;}
3832
   { (exit 1); exit 1; }; }
3833
fi
3834
if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
3835
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
3836
Usually this means the macro was only invoked conditionally." >&5
3837
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
3838
Usually this means the macro was only invoked conditionally." >&2;}
3839
   { (exit 1); exit 1; }; }
3840
fi
3841
if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
3842
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
3843
Usually this means the macro was only invoked conditionally." >&5
3844
$as_echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
3845
Usually this means the macro was only invoked conditionally." >&2;}
3846
   { (exit 1); exit 1; }; }
3847
fi
3848
 
3849
: ${CONFIG_STATUS=./config.status}
3850
ac_write_fail=0
3851
ac_clean_files_save=$ac_clean_files
3852
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3853
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3854
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3855
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3856
#! $SHELL
3857
# Generated by $as_me.
3858
# Run this file to recreate the current configuration.
3859
# Compiler output produced by configure, useful for debugging
3860
# configure, is in config.log if it exists.
3861
 
3862
debug=false
3863
ac_cs_recheck=false
3864
ac_cs_silent=false
3865
SHELL=\${CONFIG_SHELL-$SHELL}
3866
_ACEOF
3867
 
3868
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3869
## --------------------- ##
3870
## M4sh Initialization.  ##
3871
## --------------------- ##
3872
 
3873
# Be more Bourne compatible
3874
DUALCASE=1; export DUALCASE # for MKS sh
3875
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3876
  emulate sh
3877
  NULLCMD=:
3878
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3879
  # is contrary to our usage.  Disable this feature.
3880
  alias -g '${1+"$@"}'='"$@"'
3881
  setopt NO_GLOB_SUBST
3882
else
3883
  case `(set -o) 2>/dev/null` in
3884
  *posix*) set -o posix ;;
3885
esac
3886
 
3887
fi
3888
 
3889
 
3890
 
3891
 
3892
# PATH needs CR
3893
# Avoid depending upon Character Ranges.
3894
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3895
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3896
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3897
as_cr_digits='0123456789'
3898
as_cr_alnum=$as_cr_Letters$as_cr_digits
3899
 
3900
as_nl='
3901
'
3902
export as_nl
3903
# Printing a long string crashes Solaris 7 /usr/bin/printf.
3904
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3905
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3906
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3907
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3908
  as_echo='printf %s\n'
3909
  as_echo_n='printf %s'
3910
else
3911
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3912
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3913
    as_echo_n='/usr/ucb/echo -n'
3914
  else
3915
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3916
    as_echo_n_body='eval
3917
      arg=$1;
3918
      case $arg in
3919
      *"$as_nl"*)
3920
        expr "X$arg" : "X\\(.*\\)$as_nl";
3921
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3922
      esac;
3923
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3924
    '
3925
    export as_echo_n_body
3926
    as_echo_n='sh -c $as_echo_n_body as_echo'
3927
  fi
3928
  export as_echo_body
3929
  as_echo='sh -c $as_echo_body as_echo'
3930
fi
3931
 
3932
# The user is always right.
3933
if test "${PATH_SEPARATOR+set}" != set; then
3934
  PATH_SEPARATOR=:
3935
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3936
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3937
      PATH_SEPARATOR=';'
3938
  }
3939
fi
3940
 
3941
# Support unset when possible.
3942
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3943
  as_unset=unset
3944
else
3945
  as_unset=false
3946
fi
3947
 
3948
 
3949
# IFS
3950
# We need space, tab and new line, in precisely that order.  Quoting is
3951
# there to prevent editors from complaining about space-tab.
3952
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3953
# splitting by setting IFS to empty value.)
3954
IFS=" ""        $as_nl"
3955
 
3956
# Find who we are.  Look in the path if we contain no directory separator.
3957
case $0 in
3958
  *[\\/]* ) as_myself=$0 ;;
3959
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3960
for as_dir in $PATH
3961
do
3962
  IFS=$as_save_IFS
3963
  test -z "$as_dir" && as_dir=.
3964
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3965
done
3966
IFS=$as_save_IFS
3967
 
3968
     ;;
3969
esac
3970
# We did not find ourselves, most probably we were run as `sh COMMAND'
3971
# in which case we are not to be found in the path.
3972
if test "x$as_myself" = x; then
3973
  as_myself=$0
3974
fi
3975
if test ! -f "$as_myself"; then
3976
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3977
  { (exit 1); exit 1; }
3978
fi
3979
 
3980
# Work around bugs in pre-3.0 UWIN ksh.
3981
for as_var in ENV MAIL MAILPATH
3982
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3983
done
3984
PS1='$ '
3985
PS2='> '
3986
PS4='+ '
3987
 
3988
# NLS nuisances.
3989
LC_ALL=C
3990
export LC_ALL
3991
LANGUAGE=C
3992
export LANGUAGE
3993
 
3994
# Required to use basename.
3995
if expr a : '\(a\)' >/dev/null 2>&1 &&
3996
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3997
  as_expr=expr
3998
else
3999
  as_expr=false
4000
fi
4001
 
4002
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4003
  as_basename=basename
4004
else
4005
  as_basename=false
4006
fi
4007
 
4008
 
4009
# Name of the executable.
4010
as_me=`$as_basename -- "$0" ||
4011
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4012
         X"$0" : 'X\(//\)$' \| \
4013
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4014
$as_echo X/"$0" |
4015
    sed '/^.*\/\([^/][^/]*\)\/*$/{
4016
            s//\1/
4017
            q
4018
          }
4019
          /^X\/\(\/\/\)$/{
4020
            s//\1/
4021
            q
4022
          }
4023
          /^X\/\(\/\).*/{
4024
            s//\1/
4025
            q
4026
          }
4027
          s/.*/./; q'`
4028
 
4029
# CDPATH.
4030
$as_unset CDPATH
4031
 
4032
 
4033
 
4034
  as_lineno_1=$LINENO
4035
  as_lineno_2=$LINENO
4036
  test "x$as_lineno_1" != "x$as_lineno_2" &&
4037
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4038
 
4039
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4040
  # uniformly replaced by the line number.  The first 'sed' inserts a
4041
  # line-number line after each line using $LINENO; the second 'sed'
4042
  # does the real work.  The second script uses 'N' to pair each
4043
  # line-number line with the line containing $LINENO, and appends
4044
  # trailing '-' during substitution so that $LINENO is not a special
4045
  # case at line end.
4046
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4047
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
4048
  # E. McMahon (1931-1989) for sed's syntax.  :-)
4049
  sed -n '
4050
    p
4051
    /[$]LINENO/=
4052
  ' <$as_myself |
4053
    sed '
4054
      s/[$]LINENO.*/&-/
4055
      t lineno
4056
      b
4057
      :lineno
4058
      N
4059
      :loop
4060
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4061
      t loop
4062
      s/-\n.*//
4063
    ' >$as_me.lineno &&
4064
  chmod +x "$as_me.lineno" ||
4065
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4066
   { (exit 1); exit 1; }; }
4067
 
4068
  # Don't try to exec as it changes $[0], causing all sort of problems
4069
  # (the dirname of $[0] is not the place where we might find the
4070
  # original and so on.  Autoconf is especially sensitive to this).
4071
  . "./$as_me.lineno"
4072
  # Exit status is that of the last command.
4073
  exit
4074
}
4075
 
4076
 
4077
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4078
  as_dirname=dirname
4079
else
4080
  as_dirname=false
4081
fi
4082
 
4083
ECHO_C= ECHO_N= ECHO_T=
4084
case `echo -n x` in
4085
-n*)
4086
  case `echo 'x\c'` in
4087
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4088
  *)   ECHO_C='\c';;
4089
  esac;;
4090
*)
4091
  ECHO_N='-n';;
4092
esac
4093
if expr a : '\(a\)' >/dev/null 2>&1 &&
4094
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4095
  as_expr=expr
4096
else
4097
  as_expr=false
4098
fi
4099
 
4100
rm -f conf$$ conf$$.exe conf$$.file
4101
if test -d conf$$.dir; then
4102
  rm -f conf$$.dir/conf$$.file
4103
else
4104
  rm -f conf$$.dir
4105
  mkdir conf$$.dir 2>/dev/null
4106
fi
4107
if (echo >conf$$.file) 2>/dev/null; then
4108
  if ln -s conf$$.file conf$$ 2>/dev/null; then
4109
    as_ln_s='ln -s'
4110
    # ... but there are two gotchas:
4111
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4112
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4113
    # In both cases, we have to default to `cp -p'.
4114
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4115
      as_ln_s='cp -p'
4116
  elif ln conf$$.file conf$$ 2>/dev/null; then
4117
    as_ln_s=ln
4118
  else
4119
    as_ln_s='cp -p'
4120
  fi
4121
else
4122
  as_ln_s='cp -p'
4123
fi
4124
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4125
rmdir conf$$.dir 2>/dev/null
4126
 
4127
if mkdir -p . 2>/dev/null; then
4128
  as_mkdir_p=:
4129
else
4130
  test -d ./-p && rmdir ./-p
4131
  as_mkdir_p=false
4132
fi
4133
 
4134
if test -x / >/dev/null 2>&1; then
4135
  as_test_x='test -x'
4136
else
4137
  if ls -dL / >/dev/null 2>&1; then
4138
    as_ls_L_option=L
4139
  else
4140
    as_ls_L_option=
4141
  fi
4142
  as_test_x='
4143
    eval sh -c '\''
4144
      if test -d "$1"; then
4145
        test -d "$1/.";
4146
      else
4147
        case $1 in
4148
        -*)set "./$1";;
4149
        esac;
4150
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4151
        ???[sx]*):;;*)false;;esac;fi
4152
    '\'' sh
4153
  '
4154
fi
4155
as_executable_p=$as_test_x
4156
 
4157
# Sed expression to map a string onto a valid CPP name.
4158
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4159
 
4160
# Sed expression to map a string onto a valid variable name.
4161
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4162
 
4163
 
4164
exec 6>&1
4165
 
4166
# Save the log message, to keep $[0] and so on meaningful, and to
4167
# report actual input values of CONFIG_FILES etc. instead of their
4168
# values after options handling.
4169
ac_log="
4170
This file was extended by newlib $as_me 1.18.0, which was
4171
generated by GNU Autoconf 2.63.  Invocation command line was
4172
 
4173
  CONFIG_FILES    = $CONFIG_FILES
4174
  CONFIG_HEADERS  = $CONFIG_HEADERS
4175
  CONFIG_LINKS    = $CONFIG_LINKS
4176
  CONFIG_COMMANDS = $CONFIG_COMMANDS
4177
  $ $0 $@
4178
 
4179
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4180
"
4181
 
4182
_ACEOF
4183
 
4184
case $ac_config_files in *"
4185
"*) set x $ac_config_files; shift; ac_config_files=$*;;
4186
esac
4187
 
4188
 
4189
 
4190
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4191
# Files that config.status was made for.
4192
config_files="$ac_config_files"
4193
config_commands="$ac_config_commands"
4194
 
4195
_ACEOF
4196
 
4197
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4198
ac_cs_usage="\
4199
\`$as_me' instantiates files from templates according to the
4200
current configuration.
4201
 
4202
Usage: $0 [OPTION]... [FILE]...
4203
 
4204
  -h, --help       print this help, then exit
4205
  -V, --version    print version number and configuration settings, then exit
4206
  -q, --quiet, --silent
4207
                   do not print progress messages
4208
  -d, --debug      don't remove temporary files
4209
      --recheck    update $as_me by reconfiguring in the same conditions
4210
      --file=FILE[:TEMPLATE]
4211
                   instantiate the configuration file FILE
4212
 
4213
Configuration files:
4214
$config_files
4215
 
4216
Configuration commands:
4217
$config_commands
4218
 
4219
Report bugs to ."
4220
 
4221
_ACEOF
4222
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4223
ac_cs_version="\\
4224
newlib config.status 1.18.0
4225
configured by $0, generated by GNU Autoconf 2.63,
4226
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4227
 
4228
Copyright (C) 2008 Free Software Foundation, Inc.
4229
This config.status script is free software; the Free Software Foundation
4230
gives unlimited permission to copy, distribute and modify it."
4231
 
4232
ac_pwd='$ac_pwd'
4233
srcdir='$srcdir'
4234
INSTALL='$INSTALL'
4235
MKDIR_P='$MKDIR_P'
4236
AWK='$AWK'
4237
test -n "\$AWK" || AWK=awk
4238
_ACEOF
4239
 
4240
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4241
# The default lists apply if the user does not specify any file.
4242
ac_need_defaults=:
4243
while test $# != 0
4244
do
4245
  case $1 in
4246
  --*=*)
4247
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4248
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4249
    ac_shift=:
4250
    ;;
4251
  *)
4252
    ac_option=$1
4253
    ac_optarg=$2
4254
    ac_shift=shift
4255
    ;;
4256
  esac
4257
 
4258
  case $ac_option in
4259
  # Handling of the options.
4260
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4261
    ac_cs_recheck=: ;;
4262
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4263
    $as_echo "$ac_cs_version"; exit ;;
4264
  --debug | --debu | --deb | --de | --d | -d )
4265
    debug=: ;;
4266
  --file | --fil | --fi | --f )
4267
    $ac_shift
4268
    case $ac_optarg in
4269
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4270
    esac
4271
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4272
    ac_need_defaults=false;;
4273
  --he | --h |  --help | --hel | -h )
4274
    $as_echo "$ac_cs_usage"; exit ;;
4275
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4276
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4277
    ac_cs_silent=: ;;
4278
 
4279
  # This is an error.
4280
  -*) { $as_echo "$as_me: error: unrecognized option: $1
4281
Try \`$0 --help' for more information." >&2
4282
   { (exit 1); exit 1; }; } ;;
4283
 
4284
  *) ac_config_targets="$ac_config_targets $1"
4285
     ac_need_defaults=false ;;
4286
 
4287
  esac
4288
  shift
4289
done
4290
 
4291
ac_configure_extra_args=
4292
 
4293
if $ac_cs_silent; then
4294
  exec 6>/dev/null
4295
  ac_configure_extra_args="$ac_configure_extra_args --silent"
4296
fi
4297
 
4298
_ACEOF
4299
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4300
if \$ac_cs_recheck; then
4301
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4302
  shift
4303
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4304
  CONFIG_SHELL='$SHELL'
4305
  export CONFIG_SHELL
4306
  exec "\$@"
4307
fi
4308
 
4309
_ACEOF
4310
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4311
exec 5>>config.log
4312
{
4313
  echo
4314
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4315
## Running $as_me. ##
4316
_ASBOX
4317
  $as_echo "$ac_log"
4318
} >&5
4319
 
4320
_ACEOF
4321
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4322
#
4323
# INIT-COMMANDS
4324
#
4325
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4326
 
4327
_ACEOF
4328
 
4329
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4330
 
4331
# Handling of arguments.
4332
for ac_config_target in $ac_config_targets
4333
do
4334
  case $ac_config_target in
4335
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4336
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4337
 
4338
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4339
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4340
   { (exit 1); exit 1; }; };;
4341
  esac
4342
done
4343
 
4344
 
4345
# If the user did not use the arguments to specify the items to instantiate,
4346
# then the envvar interface is used.  Set only those that are not.
4347
# We use the long form for the default assignment because of an extremely
4348
# bizarre bug on SunOS 4.1.3.
4349
if $ac_need_defaults; then
4350
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4351
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4352
fi
4353
 
4354
# Have a temporary directory for convenience.  Make it in the build tree
4355
# simply because there is no reason against having it here, and in addition,
4356
# creating and moving files from /tmp can sometimes cause problems.
4357
# Hook for its removal unless debugging.
4358
# Note that there is a small window in which the directory will not be cleaned:
4359
# after its creation but before its name has been assigned to `$tmp'.
4360
$debug ||
4361
{
4362
  tmp=
4363
  trap 'exit_status=$?
4364
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4365
' 0
4366
  trap '{ (exit 1); exit 1; }' 1 2 13 15
4367
}
4368
# Create a (secure) tmp directory for tmp files.
4369
 
4370
{
4371
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4372
  test -n "$tmp" && test -d "$tmp"
4373
}  ||
4374
{
4375
  tmp=./conf$$-$RANDOM
4376
  (umask 077 && mkdir "$tmp")
4377
} ||
4378
{
4379
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
4380
   { (exit 1); exit 1; }
4381
}
4382
 
4383
# Set up the scripts for CONFIG_FILES section.
4384
# No need to generate them if there are no CONFIG_FILES.
4385
# This happens for instance with `./config.status config.h'.
4386
if test -n "$CONFIG_FILES"; then
4387
 
4388
 
4389
ac_cr='
'
4390
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
4391
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4392
  ac_cs_awk_cr='\\r'
4393
else
4394
  ac_cs_awk_cr=$ac_cr
4395
fi
4396
4397
 
4398
_ACEOF
4399
4400
 
4401
 
4402
  echo "cat >conf$$subs.awk <<_ACEOF" &&
4403
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4404
  echo "_ACEOF"
4405
} >conf$$subs.sh ||
4406
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4407
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4408
   { (exit 1); exit 1; }; }
4409
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4410
ac_delim='%!_!# '
4411
for ac_last_try in false false false false false :; do
4412
  . ./conf$$subs.sh ||
4413
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4414
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4415
   { (exit 1); exit 1; }; }
4416
4417
 
4418
  if test $ac_delim_n = $ac_delim_num; then
4419
    break
4420
  elif $ac_last_try; then
4421
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4422
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4423
   { (exit 1); exit 1; }; }
4424
  else
4425
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4426
  fi
4427
done
4428
rm -f conf$$subs.sh
4429
4430
 
4431
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4432
_ACEOF
4433
sed -n '
4434
h
4435
s/^/S["/; s/!.*/"]=/
4436
p
4437
g
4438
s/^[^!]*!//
4439
:repl
4440
t repl
4441
s/'"$ac_delim"'$//
4442
t delim
4443
:nl
4444
h
4445
s/\(.\{148\}\).*/\1/
4446
t more1
4447
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4448
p
4449
n
4450
b repl
4451
:more1
4452
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4453
p
4454
g
4455
s/.\{148\}//
4456
t nl
4457
:delim
4458
h
4459
s/\(.\{148\}\).*/\1/
4460
t more2
4461
s/["\\]/\\&/g; s/^/"/; s/$/"/
4462
p
4463
b
4464
:more2
4465
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4466
p
4467
g
4468
s/.\{148\}//
4469
t delim
4470
' 
4471
/^[^""]/{
4472
  N
4473
  s/\n//
4474
}
4475
' >>$CONFIG_STATUS || ac_write_fail=1
4476
rm -f conf$$subs.awk
4477
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4478
_ACAWK
4479
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4480
  for (key in S) S_is_set[key] = 1
4481
  FS = ""
4482
4483
 
4484
{
4485
  line = $ 0
4486
  nfields = split(line, field, "@")
4487
  substed = 0
4488
  len = length(field[1])
4489
  for (i = 2; i < nfields; i++) {
4490
    key = field[i]
4491
    keylen = length(key)
4492
    if (S_is_set[key]) {
4493
      value = S[key]
4494
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4495
      len += length(value) + length(field[++i])
4496
      substed = 1
4497
    } else
4498
      len += 1 + keylen
4499
  }
4500
4501
 
4502
}
4503
4504
 
4505
_ACEOF
4506
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4507
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4508
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4509
else
4510
  cat
4511
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4512
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4513
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
4514
   { (exit 1); exit 1; }; }
4515
_ACEOF
4516
4517
 
4518
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4519
# trailing colons and then remove the whole line if VPATH becomes empty
4520
# (actually we leave an empty line to preserve line numbers).
4521
if test "x$srcdir" = x.; then
4522
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4523
s/:*\$(srcdir):*/:/
4524
s/:*\${srcdir}:*/:/
4525
s/:*@srcdir@:*/:/
4526
s/^\([^=]*=[     ]*\):*/\1/
4527
s/:*$//
4528
s/^[^=]*=[       ]*$//
4529
}'
4530
fi
4531
4532
 
4533
fi # test -n "$CONFIG_FILES"
4534
4535
 
4536
 
4537
shift
4538
for ac_tag
4539
do
4540
  case $ac_tag in
4541
  :[FHLC]) ac_mode=$ac_tag; continue;;
4542
  esac
4543
  case $ac_mode$ac_tag in
4544
  :[FHL]*:*);;
4545
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4546
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4547
   { (exit 1); exit 1; }; };;
4548
  :[FH]-) ac_tag=-:-;;
4549
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4550
  esac
4551
  ac_save_IFS=$IFS
4552
  IFS=:
4553
  set x $ac_tag
4554
  IFS=$ac_save_IFS
4555
  shift
4556
  ac_file=$1
4557
  shift
4558
4559
 
4560
  :L) ac_source=$1;;
4561
  :[FH])
4562
    ac_file_inputs=
4563
    for ac_f
4564
    do
4565
      case $ac_f in
4566
      -) ac_f="$tmp/stdin";;
4567
      *) # Look for the file first in the build tree, then in the source tree
4568
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
4569
         # because $ac_f cannot contain `:'.
4570
         test -f "$ac_f" ||
4571
           case $ac_f in
4572
           [\\/$]*) false;;
4573
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4574
           esac ||
4575
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4576
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4577
   { (exit 1); exit 1; }; };;
4578
      esac
4579
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4580
      ac_file_inputs="$ac_file_inputs '$ac_f'"
4581
    done
4582
4583
 
4584
    # use $as_me), people would be surprised to read:
4585
    #    /* config.h.  Generated by config.status.  */
4586
    configure_input='Generated from '`
4587
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4588
        `' by configure.'
4589
    if test x"$ac_file" != x-; then
4590
      configure_input="$ac_file.  $configure_input"
4591
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4592
$as_echo "$as_me: creating $ac_file" >&6;}
4593
    fi
4594
    # Neutralize special characters interpreted by sed in replacement strings.
4595
    case $configure_input in #(
4596
    *\&* | *\|* | *\\* )
4597
       ac_sed_conf_input=`$as_echo "$configure_input" |
4598
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4599
    *) ac_sed_conf_input=$configure_input;;
4600
    esac
4601
4602
 
4603
    *:-:* | *:-) cat >"$tmp/stdin" \
4604
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4605
$as_echo "$as_me: error: could not create $ac_file" >&2;}
4606
   { (exit 1); exit 1; }; } ;;
4607
    esac
4608
    ;;
4609
  esac
4610
4611
 
4612
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4613
         X"$ac_file" : 'X\(//\)[^/]' \| \
4614
         X"$ac_file" : 'X\(//\)$' \| \
4615
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4616
$as_echo X"$ac_file" |
4617
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4618
            s//\1/
4619
            q
4620
          }
4621
          /^X\(\/\/\)[^/].*/{
4622
            s//\1/
4623
            q
4624
          }
4625
          /^X\(\/\/\)$/{
4626
            s//\1/
4627
            q
4628
          }
4629
          /^X\(\/\).*/{
4630
            s//\1/
4631
            q
4632
          }
4633
          s/.*/./; q'`
4634
  { as_dir="$ac_dir"
4635
  case $as_dir in #(
4636
  -*) as_dir=./$as_dir;;
4637
  esac
4638
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4639
    as_dirs=
4640
    while :; do
4641
      case $as_dir in #(
4642
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4643
      *) as_qdir=$as_dir;;
4644
      esac
4645
      as_dirs="'$as_qdir' $as_dirs"
4646
      as_dir=`$as_dirname -- "$as_dir" ||
4647
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4648
         X"$as_dir" : 'X\(//\)[^/]' \| \
4649
         X"$as_dir" : 'X\(//\)$' \| \
4650
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4651
$as_echo X"$as_dir" |
4652
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4653
            s//\1/
4654
            q
4655
          }
4656
          /^X\(\/\/\)[^/].*/{
4657
            s//\1/
4658
            q
4659
          }
4660
          /^X\(\/\/\)$/{
4661
            s//\1/
4662
            q
4663
          }
4664
          /^X\(\/\).*/{
4665
            s//\1/
4666
            q
4667
          }
4668
          s/.*/./; q'`
4669
      test -d "$as_dir" && break
4670
    done
4671
    test -z "$as_dirs" || eval "mkdir $as_dirs"
4672
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4673
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4674
   { (exit 1); exit 1; }; }; }
4675
  ac_builddir=.
4676
4677
 
4678
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4679
*)
4680
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4681
  # A ".." for each directory in $ac_dir_suffix.
4682
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4683
  case $ac_top_builddir_sub in
4684
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4685
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4686
  esac ;;
4687
esac
4688
ac_abs_top_builddir=$ac_pwd
4689
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4690
# for backward compatibility:
4691
ac_top_builddir=$ac_top_build_prefix
4692
4693
 
4694
  .)  # We are building in place.
4695
    ac_srcdir=.
4696
    ac_top_srcdir=$ac_top_builddir_sub
4697
    ac_abs_top_srcdir=$ac_pwd ;;
4698
  [\\/]* | ?:[\\/]* )  # Absolute name.
4699
    ac_srcdir=$srcdir$ac_dir_suffix;
4700
    ac_top_srcdir=$srcdir
4701
    ac_abs_top_srcdir=$srcdir ;;
4702
  *) # Relative name.
4703
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4704
    ac_top_srcdir=$ac_top_build_prefix$srcdir
4705
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4706
esac
4707
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4708
4709
 
4710
 
4711
  :F)
4712
  #
4713
  # CONFIG_FILE
4714
  #
4715
4716
 
4717
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4718
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4719
  esac
4720
  ac_MKDIR_P=$MKDIR_P
4721
  case $MKDIR_P in
4722
  [\\/$]* | ?:[\\/]* ) ;;
4723
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4724
  esac
4725
_ACEOF
4726
4727
 
4728
# If the template does not know about datarootdir, expand it.
4729
# FIXME: This hack should be removed a few years after 2.60.
4730
ac_datarootdir_hack=; ac_datarootdir_seen=
4731
4732
 
4733
/datarootdir/ {
4734
  p
4735
  q
4736
}
4737
/@datadir@/p
4738
/@docdir@/p
4739
/@infodir@/p
4740
/@localedir@/p
4741
/@mandir@/p
4742
'
4743
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4744
*datarootdir*) ac_datarootdir_seen=yes;;
4745
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4746
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4747
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4748
_ACEOF
4749
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4750
  ac_datarootdir_hack='
4751
  s&@datadir@&$datadir&g
4752
  s&@docdir@&$docdir&g
4753
  s&@infodir@&$infodir&g
4754
  s&@localedir@&$localedir&g
4755
  s&@mandir@&$mandir&g
4756
    s&\\\${datarootdir}&$datarootdir&g' ;;
4757
esac
4758
_ACEOF
4759
4760
 
4761
# Shell code in configure.ac might set extrasub.
4762
# FIXME: do we really want to maintain this feature?
4763
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4764
ac_sed_extra="$ac_vpsub
4765
$extrasub
4766
_ACEOF
4767
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4768
:t
4769
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4770
s|@configure_input@|$ac_sed_conf_input|;t t
4771
s&@top_builddir@&$ac_top_builddir_sub&;t t
4772
s&@top_build_prefix@&$ac_top_build_prefix&;t t
4773
s&@srcdir@&$ac_srcdir&;t t
4774
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4775
s&@top_srcdir@&$ac_top_srcdir&;t t
4776
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4777
s&@builddir@&$ac_builddir&;t t
4778
s&@abs_builddir@&$ac_abs_builddir&;t t
4779
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4780
s&@INSTALL@&$ac_INSTALL&;t t
4781
s&@MKDIR_P@&$ac_MKDIR_P&;t t
4782
$ac_datarootdir_hack
4783
"
4784
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4785
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4786
$as_echo "$as_me: error: could not create $ac_file" >&2;}
4787
   { (exit 1); exit 1; }; }
4788
4789
 
4790
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4791
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4792
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4793
which seems to be undefined.  Please make sure it is defined." >&5
4794
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4795
which seems to be undefined.  Please make sure it is defined." >&2;}
4796
4797
 
4798
  case $ac_file in
4799
  -) cat "$tmp/out" && rm -f "$tmp/out";;
4800
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4801
  esac \
4802
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4803
$as_echo "$as_me: error: could not create $ac_file" >&2;}
4804
   { (exit 1); exit 1; }; }
4805
 ;;
4806
4807
 
4808
 
4809
$as_echo "$as_me: executing $ac_file commands" >&6;}
4810
 ;;
4811
  esac
4812
4813
 
4814
 
4815
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4816
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
4817
  # are listed without --file.  Let's play safe and only enable the eval
4818
  # if we detect the quoting.
4819
  case $CONFIG_FILES in
4820
  *\'*) eval set x "$CONFIG_FILES" ;;
4821
  *)   set x $CONFIG_FILES ;;
4822
  esac
4823
  shift
4824
  for mf
4825
  do
4826
    # Strip MF so we end up with the name of the file.
4827
    mf=`echo "$mf" | sed -e 's/:.*$//'`
4828
    # Check whether this is an Automake generated Makefile or not.
4829
    # We used to match only the files named `Makefile.in', but
4830
    # some people rename them; so instead we look at the file content.
4831
    # Grep'ing the first line is not enough: some people post-process
4832
    # each Makefile.in and add a new line on top of each file to say so.
4833
    # Grep'ing the whole file is not good either: AIX grep has a line
4834
    # limit of 2048, but all sed's we know have understand at least 4000.
4835
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4836
      dirpart=`$as_dirname -- "$mf" ||
4837
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4838
         X"$mf" : 'X\(//\)[^/]' \| \
4839
         X"$mf" : 'X\(//\)$' \| \
4840
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4841
$as_echo X"$mf" |
4842
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4843
            s//\1/
4844
            q
4845
          }
4846
          /^X\(\/\/\)[^/].*/{
4847
            s//\1/
4848
            q
4849
          }
4850
          /^X\(\/\/\)$/{
4851
            s//\1/
4852
            q
4853
          }
4854
          /^X\(\/\).*/{
4855
            s//\1/
4856
            q
4857
          }
4858
          s/.*/./; q'`
4859
    else
4860
      continue
4861
    fi
4862
    # Extract the definition of DEPDIR, am__include, and am__quote
4863
    # from the Makefile without running `make'.
4864
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4865
    test -z "$DEPDIR" && continue
4866
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
4867
    test -z "am__include" && continue
4868
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4869
    # When using ansi2knr, U may be empty or an underscore; expand it
4870
    U=`sed -n 's/^U = //p' < "$mf"`
4871
    # Find all dependency output files, they are included files with
4872
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
4873
    # simplest approach to changing $(DEPDIR) to its actual value in the
4874
    # expansion.
4875
    for file in `sed -n "
4876
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4877
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4878
      # Make sure the directory exists.
4879
      test -f "$dirpart/$file" && continue
4880
      fdir=`$as_dirname -- "$file" ||
4881
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4882
         X"$file" : 'X\(//\)[^/]' \| \
4883
         X"$file" : 'X\(//\)$' \| \
4884
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4885
$as_echo X"$file" |
4886
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4887
            s//\1/
4888
            q
4889
          }
4890
          /^X\(\/\/\)[^/].*/{
4891
            s//\1/
4892
            q
4893
          }
4894
          /^X\(\/\/\)$/{
4895
            s//\1/
4896
            q
4897
          }
4898
          /^X\(\/\).*/{
4899
            s//\1/
4900
            q
4901
          }
4902
          s/.*/./; q'`
4903
      { as_dir=$dirpart/$fdir
4904
  case $as_dir in #(
4905
  -*) as_dir=./$as_dir;;
4906
  esac
4907
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4908
    as_dirs=
4909
    while :; do
4910
      case $as_dir in #(
4911
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4912
      *) as_qdir=$as_dir;;
4913
      esac
4914
      as_dirs="'$as_qdir' $as_dirs"
4915
      as_dir=`$as_dirname -- "$as_dir" ||
4916
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4917
         X"$as_dir" : 'X\(//\)[^/]' \| \
4918
         X"$as_dir" : 'X\(//\)$' \| \
4919
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4920
$as_echo X"$as_dir" |
4921
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4922
            s//\1/
4923
            q
4924
          }
4925
          /^X\(\/\/\)[^/].*/{
4926
            s//\1/
4927
            q
4928
          }
4929
          /^X\(\/\/\)$/{
4930
            s//\1/
4931
            q
4932
          }
4933
          /^X\(\/\).*/{
4934
            s//\1/
4935
            q
4936
          }
4937
          s/.*/./; q'`
4938
      test -d "$as_dir" && break
4939
    done
4940
    test -z "$as_dirs" || eval "mkdir $as_dirs"
4941
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4942
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4943
   { (exit 1); exit 1; }; }; }
4944
      # echo "creating $dirpart/$file"
4945
      echo '# dummy' > "$dirpart/$file"
4946
    done
4947
  done
4948
}
4949
 ;;
4950
4951
 
4952
done # for ac_tag
4953
4954
 
4955
 
4956
_ACEOF
4957
chmod +x $CONFIG_STATUS
4958
ac_clean_files=$ac_clean_files_save
4959
4960
 
4961
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
4962
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
4963
   { (exit 1); exit 1; }; }
4964
4965
 
4966
 
4967
# config.status does its own redirection, appending to config.log.
4968
# Unfortunately, on DOS this fails, as config.log is still kept open
4969
# by configure, so config.status won't be able to write to it; its
4970
# output is simply discarded.  So we exec the FD to /dev/null,
4971
# effectively closing config.log, so it can be properly (re)opened and
4972
# appended to by config.status.  When coming back to configure, we
4973
# need to make the FD available again.
4974
if test "$no_create" != yes; then
4975
  ac_cs_success=:
4976
  ac_config_status_args=
4977
  test "$silent" = yes &&
4978
    ac_config_status_args="$ac_config_status_args --quiet"
4979
  exec 5>/dev/null
4980
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4981
  exec 5>>config.log
4982
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4983
  # would make configure fail if this is the last instruction.
4984
  $ac_cs_success || { (exit 1); exit 1; }
4985
fi
4986
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4987
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4988
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4989
fi
4990
4991
 

powered by: WebSVN 2.1.0

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