OpenCores
URL https://opencores.org/ocsvn/hf-risc/hf-risc/trunk

Subversion Repositories hf-risc

[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [newlib/] [newlib/] [libc/] [machine/] [riscv/] [configure] - Blame information for rev 13

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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