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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [machine/] [spu/] [configure] - Blame information for rev 158

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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