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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rtems-20020807/] [tools/] [update/] [configure] - Blame information for rev 1026

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by Autoconf 2.52 for rtems-tools-update ss-20020807.
4
#
5
# Report bugs to .
6
#
7
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8
# Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
 
12
# Avoid depending upon Character Ranges.
13
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16
as_cr_digits='0123456789'
17
as_cr_alnum=$as_cr_Letters$as_cr_digits
18
 
19
# Sed expression to map a string onto a valid variable name.
20
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
21
 
22
# Sed expression to map a string onto a valid CPP name.
23
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
24
 
25
# Be Bourne compatible
26
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27
  emulate sh
28
  NULLCMD=:
29
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30
  set -o posix
31
fi
32
 
33
# Name of the executable.
34
as_me=`echo "$0" |sed 's,.*[\\/],,'`
35
 
36
if expr a : '\(a\)' >/dev/null 2>&1; then
37
  as_expr=expr
38
else
39
  as_expr=false
40
fi
41
 
42
rm -f conf$$ conf$$.exe conf$$.file
43
echo >conf$$.file
44
if ln -s conf$$.file conf$$ 2>/dev/null; then
45
  # We could just check for DJGPP; but this test a) works b) is more generic
46
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47
  if test -f conf$$.exe; then
48
    # Don't use ln at all; we don't have any links
49
    as_ln_s='cp -p'
50
  else
51
    as_ln_s='ln -s'
52
  fi
53
elif ln conf$$.file conf$$ 2>/dev/null; then
54
  as_ln_s=ln
55
else
56
  as_ln_s='cp -p'
57
fi
58
rm -f conf$$ conf$$.exe conf$$.file
59
 
60
as_executable_p="test -f"
61
 
62
# Support unset when possible.
63
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
64
  as_unset=unset
65
else
66
  as_unset=false
67
fi
68
 
69
# NLS nuisances.
70
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
71
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
72
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
73
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
74
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
75
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
76
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
77
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
78
 
79
# IFS
80
# We need space, tab and new line, in precisely that order.
81
as_nl='
82
'
83
IFS="   $as_nl"
84
 
85
# CDPATH.
86
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
87
 
88
# Name of the host.
89
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
90
# so uname gets run too.
91
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
92
 
93
exec 6>&1
94
 
95
#
96
# Initializations.
97
#
98
ac_default_prefix=/usr/local
99
cross_compiling=no
100
subdirs=
101
MFLAGS= MAKEFLAGS=
102
SHELL=${CONFIG_SHELL-/bin/sh}
103
 
104
# Maximum number of lines to put in a shell here document.
105
# This variable seems obsolete.  It should probably be removed, and
106
# only ac_max_sed_lines should be used.
107
: ${ac_max_here_lines=38}
108
 
109
ac_unique_file="rtems-polish.sh"
110
ac_default_prefix=/opt/rtems
111
 
112
# Initialize some variables set by options.
113
ac_init_help=
114
ac_init_version=false
115
# The variables have the same names as the options, with
116
# dashes changed to underlines.
117
cache_file=/dev/null
118
exec_prefix=NONE
119
no_create=
120
no_recursion=
121
prefix=NONE
122
program_prefix=NONE
123
program_suffix=NONE
124
program_transform_name=s,x,x,
125
silent=
126
site=
127
srcdir=
128
verbose=
129
x_includes=NONE
130
x_libraries=NONE
131
 
132
# Installation directory options.
133
# These are left unexpanded so users can "make install exec_prefix=/foo"
134
# and all the variables that are supposed to be based on exec_prefix
135
# by default will actually change.
136
# Use braces instead of parens because sh, perl, etc. also accept them.
137
bindir='${exec_prefix}/bin'
138
sbindir='${exec_prefix}/sbin'
139
libexecdir='${exec_prefix}/libexec'
140
datadir='${prefix}/share'
141
sysconfdir='${prefix}/etc'
142
sharedstatedir='${prefix}/com'
143
localstatedir='${prefix}/var'
144
libdir='${exec_prefix}/lib'
145
includedir='${prefix}/include'
146
oldincludedir='/usr/include'
147
infodir='${prefix}/info'
148
mandir='${prefix}/man'
149
 
150
# Identity of this package.
151
PACKAGE_NAME='rtems-tools-update'
152
PACKAGE_TARNAME='rtems-tools-update'
153
PACKAGE_VERSION='ss-20020807'
154
PACKAGE_STRING='rtems-tools-update ss-20020807'
155
PACKAGE_BUGREPORT='rtems-bugs@OARcorp.com'
156
 
157
ac_prev=
158
for ac_option
159
do
160
  # If the previous option needs an argument, assign it.
161
  if test -n "$ac_prev"; then
162
    eval "$ac_prev=\$ac_option"
163
    ac_prev=
164
    continue
165
  fi
166
 
167
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
168
 
169
  # Accept the important Cygnus configure options, so we can diagnose typos.
170
 
171
  case $ac_option in
172
 
173
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
174
    ac_prev=bindir ;;
175
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
176
    bindir=$ac_optarg ;;
177
 
178
  -build | --build | --buil | --bui | --bu)
179
    ac_prev=build_alias ;;
180
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
181
    build_alias=$ac_optarg ;;
182
 
183
  -cache-file | --cache-file | --cache-fil | --cache-fi \
184
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
185
    ac_prev=cache_file ;;
186
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
187
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
188
    cache_file=$ac_optarg ;;
189
 
190
  --config-cache | -C)
191
    cache_file=config.cache ;;
192
 
193
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
194
    ac_prev=datadir ;;
195
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
196
  | --da=*)
197
    datadir=$ac_optarg ;;
198
 
199
  -disable-* | --disable-*)
200
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
201
    # Reject names that are not valid shell variable names.
202
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
203
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
204
   { (exit 1); exit 1; }; }
205
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
206
    eval "enable_$ac_feature=no" ;;
207
 
208
  -enable-* | --enable-*)
209
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
210
    # Reject names that are not valid shell variable names.
211
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
212
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
213
   { (exit 1); exit 1; }; }
214
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
215
    case $ac_option in
216
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
217
      *) ac_optarg=yes ;;
218
    esac
219
    eval "enable_$ac_feature='$ac_optarg'" ;;
220
 
221
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
222
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
223
  | --exec | --exe | --ex)
224
    ac_prev=exec_prefix ;;
225
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
226
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
227
  | --exec=* | --exe=* | --ex=*)
228
    exec_prefix=$ac_optarg ;;
229
 
230
  -gas | --gas | --ga | --g)
231
    # Obsolete; use --with-gas.
232
    with_gas=yes ;;
233
 
234
  -help | --help | --hel | --he | -h)
235
    ac_init_help=long ;;
236
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
237
    ac_init_help=recursive ;;
238
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
239
    ac_init_help=short ;;
240
 
241
  -host | --host | --hos | --ho)
242
    ac_prev=host_alias ;;
243
  -host=* | --host=* | --hos=* | --ho=*)
244
    host_alias=$ac_optarg ;;
245
 
246
  -includedir | --includedir | --includedi | --included | --include \
247
  | --includ | --inclu | --incl | --inc)
248
    ac_prev=includedir ;;
249
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
250
  | --includ=* | --inclu=* | --incl=* | --inc=*)
251
    includedir=$ac_optarg ;;
252
 
253
  -infodir | --infodir | --infodi | --infod | --info | --inf)
254
    ac_prev=infodir ;;
255
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
256
    infodir=$ac_optarg ;;
257
 
258
  -libdir | --libdir | --libdi | --libd)
259
    ac_prev=libdir ;;
260
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
261
    libdir=$ac_optarg ;;
262
 
263
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
264
  | --libexe | --libex | --libe)
265
    ac_prev=libexecdir ;;
266
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
267
  | --libexe=* | --libex=* | --libe=*)
268
    libexecdir=$ac_optarg ;;
269
 
270
  -localstatedir | --localstatedir | --localstatedi | --localstated \
271
  | --localstate | --localstat | --localsta | --localst \
272
  | --locals | --local | --loca | --loc | --lo)
273
    ac_prev=localstatedir ;;
274
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
275
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
276
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
277
    localstatedir=$ac_optarg ;;
278
 
279
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
280
    ac_prev=mandir ;;
281
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
282
    mandir=$ac_optarg ;;
283
 
284
  -nfp | --nfp | --nf)
285
    # Obsolete; use --without-fp.
286
    with_fp=no ;;
287
 
288
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
289
  | --no-cr | --no-c)
290
    no_create=yes ;;
291
 
292
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
293
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
294
    no_recursion=yes ;;
295
 
296
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
297
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
298
  | --oldin | --oldi | --old | --ol | --o)
299
    ac_prev=oldincludedir ;;
300
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
301
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
302
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
303
    oldincludedir=$ac_optarg ;;
304
 
305
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
306
    ac_prev=prefix ;;
307
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
308
    prefix=$ac_optarg ;;
309
 
310
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
311
  | --program-pre | --program-pr | --program-p)
312
    ac_prev=program_prefix ;;
313
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
314
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
315
    program_prefix=$ac_optarg ;;
316
 
317
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
318
  | --program-suf | --program-su | --program-s)
319
    ac_prev=program_suffix ;;
320
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
321
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
322
    program_suffix=$ac_optarg ;;
323
 
324
  -program-transform-name | --program-transform-name \
325
  | --program-transform-nam | --program-transform-na \
326
  | --program-transform-n | --program-transform- \
327
  | --program-transform | --program-transfor \
328
  | --program-transfo | --program-transf \
329
  | --program-trans | --program-tran \
330
  | --progr-tra | --program-tr | --program-t)
331
    ac_prev=program_transform_name ;;
332
  -program-transform-name=* | --program-transform-name=* \
333
  | --program-transform-nam=* | --program-transform-na=* \
334
  | --program-transform-n=* | --program-transform-=* \
335
  | --program-transform=* | --program-transfor=* \
336
  | --program-transfo=* | --program-transf=* \
337
  | --program-trans=* | --program-tran=* \
338
  | --progr-tra=* | --program-tr=* | --program-t=*)
339
    program_transform_name=$ac_optarg ;;
340
 
341
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
342
  | -silent | --silent | --silen | --sile | --sil)
343
    silent=yes ;;
344
 
345
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
346
    ac_prev=sbindir ;;
347
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
348
  | --sbi=* | --sb=*)
349
    sbindir=$ac_optarg ;;
350
 
351
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
352
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
353
  | --sharedst | --shareds | --shared | --share | --shar \
354
  | --sha | --sh)
355
    ac_prev=sharedstatedir ;;
356
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
357
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
358
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
359
  | --sha=* | --sh=*)
360
    sharedstatedir=$ac_optarg ;;
361
 
362
  -site | --site | --sit)
363
    ac_prev=site ;;
364
  -site=* | --site=* | --sit=*)
365
    site=$ac_optarg ;;
366
 
367
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
368
    ac_prev=srcdir ;;
369
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
370
    srcdir=$ac_optarg ;;
371
 
372
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
373
  | --syscon | --sysco | --sysc | --sys | --sy)
374
    ac_prev=sysconfdir ;;
375
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
376
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
377
    sysconfdir=$ac_optarg ;;
378
 
379
  -target | --target | --targe | --targ | --tar | --ta | --t)
380
    ac_prev=target_alias ;;
381
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
382
    target_alias=$ac_optarg ;;
383
 
384
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
385
    verbose=yes ;;
386
 
387
  -version | --version | --versio | --versi | --vers | -V)
388
    ac_init_version=: ;;
389
 
390
  -with-* | --with-*)
391
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
392
    # Reject names that are not valid shell variable names.
393
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
394
      { echo "$as_me: error: invalid package name: $ac_package" >&2
395
   { (exit 1); exit 1; }; }
396
    ac_package=`echo $ac_package| sed 's/-/_/g'`
397
    case $ac_option in
398
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
399
      *) ac_optarg=yes ;;
400
    esac
401
    eval "with_$ac_package='$ac_optarg'" ;;
402
 
403
  -without-* | --without-*)
404
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
405
    # Reject names that are not valid shell variable names.
406
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407
      { echo "$as_me: error: invalid package name: $ac_package" >&2
408
   { (exit 1); exit 1; }; }
409
    ac_package=`echo $ac_package | sed 's/-/_/g'`
410
    eval "with_$ac_package=no" ;;
411
 
412
  --x)
413
    # Obsolete; use --with-x.
414
    with_x=yes ;;
415
 
416
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
417
  | --x-incl | --x-inc | --x-in | --x-i)
418
    ac_prev=x_includes ;;
419
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
420
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
421
    x_includes=$ac_optarg ;;
422
 
423
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
424
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
425
    ac_prev=x_libraries ;;
426
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
427
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
428
    x_libraries=$ac_optarg ;;
429
 
430
  -*) { echo "$as_me: error: unrecognized option: $ac_option
431
Try \`$0 --help' for more information." >&2
432
   { (exit 1); exit 1; }; }
433
    ;;
434
 
435
  *=*)
436
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
437
    # Reject names that are not valid shell variable names.
438
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
439
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
440
   { (exit 1); exit 1; }; }
441
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
442
    eval "$ac_envvar='$ac_optarg'"
443
    export $ac_envvar ;;
444
 
445
  *)
446
    # FIXME: should be removed in autoconf 3.0.
447
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
448
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
449
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
450
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
451
    ;;
452
 
453
  esac
454
done
455
 
456
if test -n "$ac_prev"; then
457
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
458
  { echo "$as_me: error: missing argument to $ac_option" >&2
459
   { (exit 1); exit 1; }; }
460
fi
461
 
462
# Be sure to have absolute paths.
463
for ac_var in exec_prefix prefix
464
do
465
  eval ac_val=$`echo $ac_var`
466
  case $ac_val in
467
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
468
    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
469
   { (exit 1); exit 1; }; };;
470
  esac
471
done
472
 
473
# Be sure to have absolute paths.
474
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
475
              localstatedir libdir includedir oldincludedir infodir mandir
476
do
477
  eval ac_val=$`echo $ac_var`
478
  case $ac_val in
479
    [\\/$]* | ?:[\\/]* ) ;;
480
    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
481
   { (exit 1); exit 1; }; };;
482
  esac
483
done
484
 
485
# There might be people who depend on the old broken behavior: `$host'
486
# used to hold the argument of --host etc.
487
build=$build_alias
488
host=$host_alias
489
target=$target_alias
490
 
491
# FIXME: should be removed in autoconf 3.0.
492
if test "x$host_alias" != x; then
493
  if test "x$build_alias" = x; then
494
    cross_compiling=maybe
495
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
496
    If a cross compiler is detected then cross compile mode will be used." >&2
497
  elif test "x$build_alias" != "x$host_alias"; then
498
    cross_compiling=yes
499
  fi
500
fi
501
 
502
ac_tool_prefix=
503
test -n "$host_alias" && ac_tool_prefix=$host_alias-
504
 
505
test "$silent" = yes && exec 6>/dev/null
506
 
507
# Find the source files, if location was not specified.
508
if test -z "$srcdir"; then
509
  ac_srcdir_defaulted=yes
510
  # Try the directory containing this script, then its parent.
511
  ac_prog=$0
512
  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
513
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
514
  srcdir=$ac_confdir
515
  if test ! -r $srcdir/$ac_unique_file; then
516
    srcdir=..
517
  fi
518
else
519
  ac_srcdir_defaulted=no
520
fi
521
if test ! -r $srcdir/$ac_unique_file; then
522
  if test "$ac_srcdir_defaulted" = yes; then
523
    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
524
   { (exit 1); exit 1; }; }
525
  else
526
    { echo "$as_me: error: cannot find sources in $srcdir" >&2
527
   { (exit 1); exit 1; }; }
528
  fi
529
fi
530
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
531
ac_env_build_alias_set=${build_alias+set}
532
ac_env_build_alias_value=$build_alias
533
ac_cv_env_build_alias_set=${build_alias+set}
534
ac_cv_env_build_alias_value=$build_alias
535
ac_env_host_alias_set=${host_alias+set}
536
ac_env_host_alias_value=$host_alias
537
ac_cv_env_host_alias_set=${host_alias+set}
538
ac_cv_env_host_alias_value=$host_alias
539
ac_env_target_alias_set=${target_alias+set}
540
ac_env_target_alias_value=$target_alias
541
ac_cv_env_target_alias_set=${target_alias+set}
542
ac_cv_env_target_alias_value=$target_alias
543
 
544
#
545
# Report the --help message.
546
#
547
if test "$ac_init_help" = "long"; then
548
  # Omit some internal or obsolete options to make the list less imposing.
549
  # This message is too long to be a string in the A/UX 3.1 sh.
550
  cat <
551
\`configure' configures rtems-tools-update ss-20020807 to adapt to many kinds of systems.
552
 
553
Usage: $0 [OPTION]... [VAR=VALUE]...
554
 
555
To assign environment variables (e.g., CC, CFLAGS...), specify them as
556
VAR=VALUE.  See below for descriptions of some of the useful variables.
557
 
558
Defaults for the options are specified in brackets.
559
 
560
Configuration:
561
  -h, --help              display this help and exit
562
      --help=short        display options specific to this package
563
      --help=recursive    display the short help of all the included packages
564
  -V, --version           display version information and exit
565
  -q, --quiet, --silent   do not print \`checking...' messages
566
      --cache-file=FILE   cache test results in FILE [disabled]
567
  -C, --config-cache      alias for \`--cache-file=config.cache'
568
  -n, --no-create         do not create output files
569
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
570
 
571
EOF
572
 
573
  cat <
574
Installation directories:
575
  --prefix=PREFIX         install architecture-independent files in PREFIX
576
                          [$ac_default_prefix]
577
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
578
                          [PREFIX]
579
 
580
By default, \`make install' will install all the files in
581
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
582
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
583
for instance \`--prefix=\$HOME'.
584
 
585
For better control, use the options below.
586
 
587
Fine tuning of the installation directories:
588
  --bindir=DIR           user executables [EPREFIX/bin]
589
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
590
  --libexecdir=DIR       program executables [EPREFIX/libexec]
591
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
592
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
593
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
594
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
595
  --libdir=DIR           object code libraries [EPREFIX/lib]
596
  --includedir=DIR       C header files [PREFIX/include]
597
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
598
  --infodir=DIR          info documentation [PREFIX/info]
599
  --mandir=DIR           man documentation [PREFIX/man]
600
EOF
601
 
602
  cat <<\EOF
603
 
604
Program names:
605
  --program-prefix=PREFIX            prepend PREFIX to installed program names
606
  --program-suffix=SUFFIX            append SUFFIX to installed program names
607
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
608
 
609
System types:
610
  --build=BUILD     configure for building on BUILD [guessed]
611
  --host=HOST       build programs to run on HOST [BUILD]
612
EOF
613
fi
614
 
615
if test -n "$ac_init_help"; then
616
  case $ac_init_help in
617
     short | recursive ) echo "Configuration of rtems-tools-update ss-20020807:";;
618
   esac
619
  cat <<\EOF
620
 
621
Optional Features:
622
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
623
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
624
  --enable-maintainer-mode enable make rules and dependencies not useful
625
                          (and sometimes confusing) to the casual installer
626
 
627
Report bugs to .
628
EOF
629
fi
630
 
631
if test "$ac_init_help" = "recursive"; then
632
  # If there are subdirs, report their specific --help.
633
  ac_popdir=`pwd`
634
  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
635
    cd $ac_subdir
636
    # A "../" for each directory in /$ac_subdir.
637
    ac_dots=`echo $ac_subdir |
638
             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
639
 
640
    case $srcdir in
641
    .) # No --srcdir option.  We are building in place.
642
      ac_sub_srcdir=$srcdir ;;
643
    [\\/]* | ?:[\\/]* ) # Absolute path.
644
      ac_sub_srcdir=$srcdir/$ac_subdir ;;
645
    *) # Relative path.
646
      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
647
    esac
648
 
649
    # Check for guested configure; otherwise get Cygnus style configure.
650
    if test -f $ac_sub_srcdir/configure.gnu; then
651
      echo
652
      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
653
    elif test -f $ac_sub_srcdir/configure; then
654
      echo
655
      $SHELL $ac_sub_srcdir/configure  --help=recursive
656
    elif test -f $ac_sub_srcdir/configure.ac ||
657
           test -f $ac_sub_srcdir/configure.in; then
658
      echo
659
      $ac_configure --help
660
    else
661
      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
662
    fi
663
    cd $ac_popdir
664
  done
665
fi
666
 
667
test -n "$ac_init_help" && exit 0
668
if $ac_init_version; then
669
  cat <<\EOF
670
rtems-tools-update configure ss-20020807
671
generated by GNU Autoconf 2.52
672
 
673
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
674
Free Software Foundation, Inc.
675
This configure script is free software; the Free Software Foundation
676
gives unlimited permission to copy, distribute and modify it.
677
EOF
678
  exit 0
679
fi
680
exec 5>config.log
681
cat >&5 <
682
This file contains any messages produced by compilers while
683
running configure, to aid debugging if configure makes a mistake.
684
 
685
It was created by rtems-tools-update $as_me ss-20020807, which was
686
generated by GNU Autoconf 2.52.  Invocation command line was
687
 
688
  $ $0 $@
689
 
690
EOF
691
{
692
cat <<_ASUNAME
693
## ---------- ##
694
## Platform.  ##
695
## ---------- ##
696
 
697
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
698
uname -m = `(uname -m) 2>/dev/null || echo unknown`
699
uname -r = `(uname -r) 2>/dev/null || echo unknown`
700
uname -s = `(uname -s) 2>/dev/null || echo unknown`
701
uname -v = `(uname -v) 2>/dev/null || echo unknown`
702
 
703
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
704
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
705
 
706
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
707
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
708
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
709
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
710
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
711
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
712
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
713
 
714
PATH = $PATH
715
 
716
_ASUNAME
717
} >&5
718
 
719
cat >&5 <
720
## ------------ ##
721
## Core tests.  ##
722
## ------------ ##
723
 
724
EOF
725
 
726
# Keep a trace of the command line.
727
# Strip out --no-create and --no-recursion so they do not pile up.
728
# Also quote any args containing shell meta-characters.
729
ac_configure_args=
730
ac_sep=
731
for ac_arg
732
do
733
  case $ac_arg in
734
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
735
  | --no-cr | --no-c) ;;
736
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
737
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
738
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
739
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
740
    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
741
    ac_sep=" " ;;
742
  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
743
     ac_sep=" " ;;
744
  esac
745
  # Get rid of the leading space.
746
done
747
 
748
# When interrupted or exit'd, cleanup temporary files, and complete
749
# config.log.  We remove comments because anyway the quotes in there
750
# would cause problems or look ugly.
751
trap 'exit_status=$?
752
  # Save into config.log some information that might help in debugging.
753
  echo >&5
754
  echo "## ----------------- ##" >&5
755
  echo "## Cache variables.  ##" >&5
756
  echo "## ----------------- ##" >&5
757
  echo >&5
758
  # The following way of writing the cache mishandles newlines in values,
759
{
760
  (set) 2>&1 |
761
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
762
    *ac_space=\ *)
763
      sed -n \
764
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
765
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
766
      ;;
767
    *)
768
      sed -n \
769
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
770
      ;;
771
    esac;
772
} >&5
773
  sed "/^$/d" confdefs.h >conftest.log
774
  if test -s conftest.log; then
775
    echo >&5
776
    echo "## ------------ ##" >&5
777
    echo "## confdefs.h.  ##" >&5
778
    echo "## ------------ ##" >&5
779
    echo >&5
780
    cat conftest.log >&5
781
  fi
782
  (echo; echo) >&5
783
  test "$ac_signal" != 0 &&
784
    echo "$as_me: caught signal $ac_signal" >&5
785
  echo "$as_me: exit $exit_status" >&5
786
  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
787
    exit $exit_status
788
     ' 0
789
for ac_signal in 1 2 13 15; do
790
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
791
done
792
ac_signal=0
793
 
794
# confdefs.h avoids OS command line length limits that DEFS can exceed.
795
rm -rf conftest* confdefs.h
796
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
797
echo >confdefs.h
798
 
799
# Let the site file select an alternate cache file if it wants to.
800
# Prefer explicitly selected file to automatically selected ones.
801
if test -z "$CONFIG_SITE"; then
802
  if test "x$prefix" != xNONE; then
803
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
804
  else
805
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
806
  fi
807
fi
808
for ac_site_file in $CONFIG_SITE; do
809
  if test -r "$ac_site_file"; then
810
    { echo "$as_me:810: loading site script $ac_site_file" >&5
811
echo "$as_me: loading site script $ac_site_file" >&6;}
812
    cat "$ac_site_file" >&5
813
    . "$ac_site_file"
814
  fi
815
done
816
 
817
if test -r "$cache_file"; then
818
  # Some versions of bash will fail to source /dev/null (special
819
  # files actually), so we avoid doing that.
820
  if test -f "$cache_file"; then
821
    { echo "$as_me:821: loading cache $cache_file" >&5
822
echo "$as_me: loading cache $cache_file" >&6;}
823
    case $cache_file in
824
      [\\/]* | ?:[\\/]* ) . $cache_file;;
825
      *)                      . ./$cache_file;;
826
    esac
827
  fi
828
else
829
  { echo "$as_me:829: creating cache $cache_file" >&5
830
echo "$as_me: creating cache $cache_file" >&6;}
831
  >$cache_file
832
fi
833
 
834
# Check that the precious variables saved in the cache have kept the same
835
# value.
836
ac_cache_corrupted=false
837
for ac_var in `(set) 2>&1 |
838
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
839
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
840
  eval ac_new_set=\$ac_env_${ac_var}_set
841
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
842
  eval ac_new_val="\$ac_env_${ac_var}_value"
843
  case $ac_old_set,$ac_new_set in
844
    set,)
845
      { echo "$as_me:845: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
846
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
847
      ac_cache_corrupted=: ;;
848
    ,set)
849
      { echo "$as_me:849: error: \`$ac_var' was not set in the previous run" >&5
850
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
851
      ac_cache_corrupted=: ;;
852
    ,);;
853
    *)
854
      if test "x$ac_old_val" != "x$ac_new_val"; then
855
        { echo "$as_me:855: error: \`$ac_var' has changed since the previous run:" >&5
856
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
857
        { echo "$as_me:857:   former value:  $ac_old_val" >&5
858
echo "$as_me:   former value:  $ac_old_val" >&2;}
859
        { echo "$as_me:859:   current value: $ac_new_val" >&5
860
echo "$as_me:   current value: $ac_new_val" >&2;}
861
        ac_cache_corrupted=:
862
      fi;;
863
  esac
864
  # Pass precious variables to config.status.  It doesn't matter if
865
  # we pass some twice (in addition to the command line arguments).
866
  if test "$ac_new_set" = set; then
867
    case $ac_new_val in
868
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
869
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
870
      ac_configure_args="$ac_configure_args '$ac_arg'"
871
      ;;
872
    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
873
       ;;
874
    esac
875
  fi
876
done
877
if $ac_cache_corrupted; then
878
  { echo "$as_me:878: error: changes in the environment can compromise the build" >&5
879
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
880
  { { echo "$as_me:880: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
881
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
882
   { (exit 1); exit 1; }; }
883
fi
884
 
885
ac_ext=c
886
ac_cpp='$CPP $CPPFLAGS'
887
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
888
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
889
ac_compiler_gnu=$ac_cv_c_compiler_gnu
890
 
891
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
892
  *c*,-n*) ECHO_N= ECHO_C='
893
' ECHO_T='      ' ;;
894
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
895
  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
896
esac
897
echo "#! $SHELL" >conftest.sh
898
echo  "exit 0"   >>conftest.sh
899
chmod +x conftest.sh
900
if { (echo "$as_me:900: PATH=\".;.\"; conftest.sh") >&5
901
  (PATH=".;."; conftest.sh) 2>&5
902
  ac_status=$?
903
  echo "$as_me:903: \$? = $ac_status" >&5
904
  (exit $ac_status); }; then
905
  ac_path_separator=';'
906
else
907
  ac_path_separator=:
908
fi
909
PATH_SEPARATOR="$ac_path_separator"
910
rm -f conftest.sh
911
 
912
for ac_prog in gmake make
913
do
914
  # Extract the first word of "$ac_prog", so it can be a program name with args.
915
set dummy $ac_prog; ac_word=$2
916
echo "$as_me:916: checking for $ac_word" >&5
917
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
918
if test "${ac_cv_prog_MAKE+set}" = set; then
919
  echo $ECHO_N "(cached) $ECHO_C" >&6
920
else
921
  if test -n "$MAKE"; then
922
  ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
923
else
924
  ac_save_IFS=$IFS; IFS=$ac_path_separator
925
ac_dummy="$PATH"
926
for ac_dir in $ac_dummy; do
927
  IFS=$ac_save_IFS
928
  test -z "$ac_dir" && ac_dir=.
929
  $as_executable_p "$ac_dir/$ac_word" || continue
930
ac_cv_prog_MAKE="$ac_prog"
931
echo "$as_me:931: found $ac_dir/$ac_word" >&5
932
break
933
done
934
 
935
fi
936
fi
937
MAKE=$ac_cv_prog_MAKE
938
if test -n "$MAKE"; then
939
  echo "$as_me:939: result: $MAKE" >&5
940
echo "${ECHO_T}$MAKE" >&6
941
else
942
  echo "$as_me:942: result: no" >&5
943
echo "${ECHO_T}no" >&6
944
fi
945
 
946
  test -n "$MAKE" && break
947
done
948
 
949
ENDIF=endif
950
 
951
RTEMS_TOPdir="../..";
952
 
953
test -n "$with_target_subdir" || with_target_subdir="."
954
 
955
if test "$with_target_subdir" = "." ; then
956
# Native
957
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
958
else
959
# Cross
960
dots=`echo $with_target_subdir|\
961
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
962
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
963
fi
964
 
965
if test "$with_target_subdir" = "." ; then
966
# Native
967
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
968
else
969
# Cross
970
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
971
fi
972
 
973
echo "$as_me:973: checking for RTEMS Version" >&5
974
echo $ECHO_N "checking for RTEMS Version... $ECHO_C" >&6
975
if test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"; then
976
  :
977
else
978
  { { echo "$as_me:978: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&5
979
echo "$as_me: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&2;}
980
   { (exit 1); exit 1; }; }
981
fi
982
 
983
echo "$as_me:983: result: ss-20020807" >&5
984
echo "${ECHO_T}ss-20020807" >&6
985
 
986
ac_aux_dir=
987
for ac_dir in ../.. $srcdir/../..; do
988
  if test -f $ac_dir/install-sh; then
989
    ac_aux_dir=$ac_dir
990
    ac_install_sh="$ac_aux_dir/install-sh -c"
991
    break
992
  elif test -f $ac_dir/install.sh; then
993
    ac_aux_dir=$ac_dir
994
    ac_install_sh="$ac_aux_dir/install.sh -c"
995
    break
996
  elif test -f $ac_dir/shtool; then
997
    ac_aux_dir=$ac_dir
998
    ac_install_sh="$ac_aux_dir/shtool install -c"
999
    break
1000
  fi
1001
done
1002
if test -z "$ac_aux_dir"; then
1003
  { { echo "$as_me:1003: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1004
echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
1005
   { (exit 1); exit 1; }; }
1006
fi
1007
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1008
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1009
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1010
 
1011
# Make sure we can run config.sub.
1012
$ac_config_sub sun4 >/dev/null 2>&1 ||
1013
  { { echo "$as_me:1013: error: cannot run $ac_config_sub" >&5
1014
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1015
   { (exit 1); exit 1; }; }
1016
 
1017
echo "$as_me:1017: checking build system type" >&5
1018
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1019
if test "${ac_cv_build+set}" = set; then
1020
  echo $ECHO_N "(cached) $ECHO_C" >&6
1021
else
1022
  ac_cv_build_alias=$build_alias
1023
test -z "$ac_cv_build_alias" &&
1024
  ac_cv_build_alias=`$ac_config_guess`
1025
test -z "$ac_cv_build_alias" &&
1026
  { { echo "$as_me:1026: error: cannot guess build type; you must specify one" >&5
1027
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1028
   { (exit 1); exit 1; }; }
1029
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1030
  { { echo "$as_me:1030: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1031
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1032
   { (exit 1); exit 1; }; }
1033
 
1034
fi
1035
echo "$as_me:1035: result: $ac_cv_build" >&5
1036
echo "${ECHO_T}$ac_cv_build" >&6
1037
build=$ac_cv_build
1038
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1039
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1040
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1041
 
1042
echo "$as_me:1042: checking host system type" >&5
1043
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1044
if test "${ac_cv_host+set}" = set; then
1045
  echo $ECHO_N "(cached) $ECHO_C" >&6
1046
else
1047
  ac_cv_host_alias=$host_alias
1048
test -z "$ac_cv_host_alias" &&
1049
  ac_cv_host_alias=$ac_cv_build_alias
1050
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1051
  { { echo "$as_me:1051: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1052
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1053
   { (exit 1); exit 1; }; }
1054
 
1055
fi
1056
echo "$as_me:1056: result: $ac_cv_host" >&5
1057
echo "${ECHO_T}$ac_cv_host" >&6
1058
host=$ac_cv_host
1059
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1060
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1061
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1062
 
1063
am__api_version="1.6"
1064
# Find a good install program.  We prefer a C program (faster),
1065
# so one script is as good as another.  But avoid the broken or
1066
# incompatible versions:
1067
# SysV /etc/install, /usr/sbin/install
1068
# SunOS /usr/etc/install
1069
# IRIX /sbin/install
1070
# AIX /bin/install
1071
# AmigaOS /C/install, which installs bootblocks on floppy discs
1072
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1073
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1074
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1075
# ./install, which can be erroneously created by make from ./install.sh.
1076
echo "$as_me:1076: checking for a BSD compatible install" >&5
1077
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1078
if test -z "$INSTALL"; then
1079
if test "${ac_cv_path_install+set}" = set; then
1080
  echo $ECHO_N "(cached) $ECHO_C" >&6
1081
else
1082
    ac_save_IFS=$IFS; IFS=$ac_path_separator
1083
  for ac_dir in $PATH; do
1084
    IFS=$ac_save_IFS
1085
    # Account for people who put trailing slashes in PATH elements.
1086
    case $ac_dir/ in
1087
    / | ./ | .// | /cC/* \
1088
    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1089
    | /usr/ucb/* ) ;;
1090
    *)
1091
      # OSF1 and SCO ODT 3.0 have their own names for install.
1092
      # Don't use installbsd from OSF since it installs stuff as root
1093
      # by default.
1094
      for ac_prog in ginstall scoinst install; do
1095
        if $as_executable_p "$ac_dir/$ac_prog"; then
1096
          if test $ac_prog = install &&
1097
            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1098
            # AIX install.  It has an incompatible calling convention.
1099
            :
1100
          elif test $ac_prog = install &&
1101
            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1102
            # program-specific install script used by HP pwplus--don't use.
1103
            :
1104
          else
1105
            ac_cv_path_install="$ac_dir/$ac_prog -c"
1106
            break 2
1107
          fi
1108
        fi
1109
      done
1110
      ;;
1111
    esac
1112
  done
1113
 
1114
fi
1115
  if test "${ac_cv_path_install+set}" = set; then
1116
    INSTALL=$ac_cv_path_install
1117
  else
1118
    # As a last resort, use the slow shell script.  We don't cache a
1119
    # path for INSTALL within a source directory, because that will
1120
    # break other packages using the cache if that directory is
1121
    # removed, or if the path is relative.
1122
    INSTALL=$ac_install_sh
1123
  fi
1124
fi
1125
echo "$as_me:1125: result: $INSTALL" >&5
1126
echo "${ECHO_T}$INSTALL" >&6
1127
 
1128
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1129
# It thinks the first close brace ends the variable substitution.
1130
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1131
 
1132
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1133
 
1134
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1135
 
1136
echo "$as_me:1136: checking whether build environment is sane" >&5
1137
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1138
# Just in case
1139
sleep 1
1140
echo timestamp > conftest.file
1141
# Do `set' in a subshell so we don't clobber the current shell's
1142
# arguments.  Must try -L first in case configure is actually a
1143
# symlink; some systems play weird games with the mod time of symlinks
1144
# (eg FreeBSD returns the mod time of the symlink's containing
1145
# directory).
1146
if (
1147
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1148
   if test "$*" = "X"; then
1149
      # -L didn't work.
1150
      set X `ls -t $srcdir/configure conftest.file`
1151
   fi
1152
   rm -f conftest.file
1153
   if test "$*" != "X $srcdir/configure conftest.file" \
1154
      && test "$*" != "X conftest.file $srcdir/configure"; then
1155
 
1156
      # If neither matched, then we have a broken ls.  This can happen
1157
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1158
      # broken ls alias from the environment.  This has actually
1159
      # happened.  Such a system could not be considered "sane".
1160
      { { echo "$as_me:1160: error: ls -t appears to fail.  Make sure there is not a broken
1161
alias in your environment" >&5
1162
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1163
alias in your environment" >&2;}
1164
   { (exit 1); exit 1; }; }
1165
   fi
1166
 
1167
   test "$2" = conftest.file
1168
   )
1169
then
1170
   # Ok.
1171
   :
1172
else
1173
   { { echo "$as_me:1173: error: newly created file is older than distributed files!
1174
Check your system clock" >&5
1175
echo "$as_me: error: newly created file is older than distributed files!
1176
Check your system clock" >&2;}
1177
   { (exit 1); exit 1; }; }
1178
fi
1179
echo "$as_me:1179: result: yes" >&5
1180
echo "${ECHO_T}yes" >&6
1181
test "$program_prefix" != NONE &&
1182
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1183
# Use a double $ so make ignores it.
1184
test "$program_suffix" != NONE &&
1185
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1186
# Double any \ or $.  echo might interpret backslashes.
1187
# By default was `s,x,x', remove it if useless.
1188
cat <<\_ACEOF >conftest.sed
1189
s/[\\$]/&&/g;s/;s,x,x,$//
1190
_ACEOF
1191
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1192
rm conftest.sed
1193
 
1194
# expand $ac_aux_dir to an absolute path
1195
am_aux_dir=`cd $ac_aux_dir && pwd`
1196
 
1197
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1198
# Use eval to expand $SHELL
1199
if eval "$MISSING --run true"; then
1200
  am_missing_run="$MISSING --run "
1201
else
1202
  am_missing_run=
1203
  { echo "$as_me:1203: WARNING: \`missing' script is too old or missing" >&5
1204
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1205
fi
1206
 
1207
for ac_prog in mawk gawk nawk awk
1208
do
1209
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1210
set dummy $ac_prog; ac_word=$2
1211
echo "$as_me:1211: checking for $ac_word" >&5
1212
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1213
if test "${ac_cv_prog_AWK+set}" = set; then
1214
  echo $ECHO_N "(cached) $ECHO_C" >&6
1215
else
1216
  if test -n "$AWK"; then
1217
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1218
else
1219
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1220
ac_dummy="$PATH"
1221
for ac_dir in $ac_dummy; do
1222
  IFS=$ac_save_IFS
1223
  test -z "$ac_dir" && ac_dir=.
1224
  $as_executable_p "$ac_dir/$ac_word" || continue
1225
ac_cv_prog_AWK="$ac_prog"
1226
echo "$as_me:1226: found $ac_dir/$ac_word" >&5
1227
break
1228
done
1229
 
1230
fi
1231
fi
1232
AWK=$ac_cv_prog_AWK
1233
if test -n "$AWK"; then
1234
  echo "$as_me:1234: result: $AWK" >&5
1235
echo "${ECHO_T}$AWK" >&6
1236
else
1237
  echo "$as_me:1237: result: no" >&5
1238
echo "${ECHO_T}no" >&6
1239
fi
1240
 
1241
  test -n "$AWK" && break
1242
done
1243
 
1244
echo "$as_me:1244: checking whether ${MAKE-make} sets \${MAKE}" >&5
1245
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1246
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1247
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1248
  echo $ECHO_N "(cached) $ECHO_C" >&6
1249
else
1250
  cat >conftest.make <<\EOF
1251
all:
1252
        @echo 'ac_maketemp="${MAKE}"'
1253
EOF
1254
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1255
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1256
if test -n "$ac_maketemp"; then
1257
  eval ac_cv_prog_make_${ac_make}_set=yes
1258
else
1259
  eval ac_cv_prog_make_${ac_make}_set=no
1260
fi
1261
rm -f conftest.make
1262
fi
1263
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1264
  echo "$as_me:1264: result: yes" >&5
1265
echo "${ECHO_T}yes" >&6
1266
  SET_MAKE=
1267
else
1268
  echo "$as_me:1268: result: no" >&5
1269
echo "${ECHO_T}no" >&6
1270
  SET_MAKE="MAKE=${MAKE-make}"
1271
fi
1272
 
1273
 # test to see if srcdir already configured
1274
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1275
   test -f $srcdir/config.status; then
1276
  { { echo "$as_me:1276: error: source directory already configured; run \"make distclean\" there first" >&5
1277
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1278
   { (exit 1); exit 1; }; }
1279
fi
1280
 
1281
# Define the identity of the package.
1282
 PACKAGE=rtems-tools-update
1283
 VERSION=ss-20020807
1284
 
1285
# Some tools Automake needs.
1286
 
1287
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1288
 
1289
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1290
 
1291
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1292
 
1293
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1294
 
1295
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1296
 
1297
AMTAR=${AMTAR-"${am_missing_run}tar"}
1298
 
1299
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1300
 
1301
# Installed binaries are usually stripped using `strip' when the user
1302
# run `make install-strip'.  However `strip' might not be the right
1303
# tool to use in cross-compilation environments, therefore Automake
1304
# will honor the `STRIP' environment variable to overrule this program.
1305
if test "$cross_compiling" != no; then
1306
  if test -n "$ac_tool_prefix"; then
1307
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1308
set dummy ${ac_tool_prefix}strip; ac_word=$2
1309
echo "$as_me:1309: checking for $ac_word" >&5
1310
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1311
if test "${ac_cv_prog_STRIP+set}" = set; then
1312
  echo $ECHO_N "(cached) $ECHO_C" >&6
1313
else
1314
  if test -n "$STRIP"; then
1315
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1316
else
1317
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1318
ac_dummy="$PATH"
1319
for ac_dir in $ac_dummy; do
1320
  IFS=$ac_save_IFS
1321
  test -z "$ac_dir" && ac_dir=.
1322
  $as_executable_p "$ac_dir/$ac_word" || continue
1323
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1324
echo "$as_me:1324: found $ac_dir/$ac_word" >&5
1325
break
1326
done
1327
 
1328
fi
1329
fi
1330
STRIP=$ac_cv_prog_STRIP
1331
if test -n "$STRIP"; then
1332
  echo "$as_me:1332: result: $STRIP" >&5
1333
echo "${ECHO_T}$STRIP" >&6
1334
else
1335
  echo "$as_me:1335: result: no" >&5
1336
echo "${ECHO_T}no" >&6
1337
fi
1338
 
1339
fi
1340
if test -z "$ac_cv_prog_STRIP"; then
1341
  ac_ct_STRIP=$STRIP
1342
  # Extract the first word of "strip", so it can be a program name with args.
1343
set dummy strip; ac_word=$2
1344
echo "$as_me:1344: checking for $ac_word" >&5
1345
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1346
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1347
  echo $ECHO_N "(cached) $ECHO_C" >&6
1348
else
1349
  if test -n "$ac_ct_STRIP"; then
1350
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1351
else
1352
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1353
ac_dummy="$PATH"
1354
for ac_dir in $ac_dummy; do
1355
  IFS=$ac_save_IFS
1356
  test -z "$ac_dir" && ac_dir=.
1357
  $as_executable_p "$ac_dir/$ac_word" || continue
1358
ac_cv_prog_ac_ct_STRIP="strip"
1359
echo "$as_me:1359: found $ac_dir/$ac_word" >&5
1360
break
1361
done
1362
 
1363
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1364
fi
1365
fi
1366
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1367
if test -n "$ac_ct_STRIP"; then
1368
  echo "$as_me:1368: result: $ac_ct_STRIP" >&5
1369
echo "${ECHO_T}$ac_ct_STRIP" >&6
1370
else
1371
  echo "$as_me:1371: result: no" >&5
1372
echo "${ECHO_T}no" >&6
1373
fi
1374
 
1375
  STRIP=$ac_ct_STRIP
1376
else
1377
  STRIP="$ac_cv_prog_STRIP"
1378
fi
1379
 
1380
fi
1381
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1382
 
1383
# We need awk for the "check" target.  The system "awk" is bad on
1384
# some platforms.
1385
 
1386
echo "$as_me:1386: checking whether to enable maintainer-specific portions of Makefiles" >&5
1387
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1388
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1389
if test "${enable_maintainer_mode+set}" = set; then
1390
  enableval="$enable_maintainer_mode"
1391
  USE_MAINTAINER_MODE=$enableval
1392
else
1393
  USE_MAINTAINER_MODE=no
1394
fi;
1395
  echo "$as_me:1395: result: $USE_MAINTAINER_MODE" >&5
1396
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1397
 
1398
if test $USE_MAINTAINER_MODE = yes; then
1399
  MAINTAINER_MODE_TRUE=
1400
  MAINTAINER_MODE_FALSE='#'
1401
else
1402
  MAINTAINER_MODE_TRUE='#'
1403
  MAINTAINER_MODE_FALSE=
1404
fi
1405
 
1406
  MAINT=$MAINTAINER_MODE_TRUE
1407
 
1408
for ac_prog in bash ksh sh
1409
do
1410
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1411
set dummy $ac_prog; ac_word=$2
1412
echo "$as_me:1412: checking for $ac_word" >&5
1413
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1414
if test "${ac_cv_path_KSH+set}" = set; then
1415
  echo $ECHO_N "(cached) $ECHO_C" >&6
1416
else
1417
  case $KSH in
1418
  [\\/]* | ?:[\\/]*)
1419
  ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
1420
  ;;
1421
  *)
1422
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1423
ac_dummy="$PATH"
1424
for ac_dir in $ac_dummy; do
1425
  IFS=$ac_save_IFS
1426
  test -z "$ac_dir" && ac_dir=.
1427
  if $as_executable_p "$ac_dir/$ac_word"; then
1428
   ac_cv_path_KSH="$ac_dir/$ac_word"
1429
   echo "$as_me:1429: found $ac_dir/$ac_word" >&5
1430
   break
1431
fi
1432
done
1433
 
1434
  ;;
1435
esac
1436
fi
1437
KSH=$ac_cv_path_KSH
1438
 
1439
if test -n "$KSH"; then
1440
  echo "$as_me:1440: result: $KSH" >&5
1441
echo "${ECHO_T}$KSH" >&6
1442
else
1443
  echo "$as_me:1443: result: no" >&5
1444
echo "${ECHO_T}no" >&6
1445
fi
1446
 
1447
  test -n "$KSH" && break
1448
done
1449
 
1450
if test -z "$KSH"; then
1451
{ { echo "$as_me:1451: error: ***
1452
    Cannot determine a usable shell bash/ksh/sh
1453
    Please contact your system administrator " >&5
1454
echo "$as_me: error: ***
1455
    Cannot determine a usable shell bash/ksh/sh
1456
    Please contact your system administrator " >&2;}
1457
   { (exit 1); exit 1; }; };
1458
fi
1459
 
1460
# Extract the first word of "perl", so it can be a program name with args.
1461
set dummy perl; ac_word=$2
1462
echo "$as_me:1462: checking for $ac_word" >&5
1463
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1464
if test "${ac_cv_path_PERL+set}" = set; then
1465
  echo $ECHO_N "(cached) $ECHO_C" >&6
1466
else
1467
  case $PERL in
1468
  [\\/]* | ?:[\\/]*)
1469
  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1470
  ;;
1471
  *)
1472
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1473
ac_dummy="$PATH"
1474
for ac_dir in $ac_dummy; do
1475
  IFS=$ac_save_IFS
1476
  test -z "$ac_dir" && ac_dir=.
1477
  if $as_executable_p "$ac_dir/$ac_word"; then
1478
   ac_cv_path_PERL="$ac_dir/$ac_word"
1479
   echo "$as_me:1479: found $ac_dir/$ac_word" >&5
1480
   break
1481
fi
1482
done
1483
 
1484
  ;;
1485
esac
1486
fi
1487
PERL=$ac_cv_path_PERL
1488
 
1489
if test -n "$PERL"; then
1490
  echo "$as_me:1490: result: $PERL" >&5
1491
echo "${ECHO_T}$PERL" >&6
1492
else
1493
  echo "$as_me:1493: result: no" >&5
1494
echo "${ECHO_T}no" >&6
1495
fi
1496
 
1497
if test -z "$PERL" ; then
1498
{ echo "$as_me:1498: WARNING: ***
1499
   perl was not found
1500
   Note: Some tools will not be built." >&5
1501
echo "$as_me: WARNING: ***
1502
   perl was not found
1503
   Note: Some tools will not be built." >&2;}
1504
fi
1505
 
1506
if test -n "$PERL"; then
1507
  PERL_TRUE=
1508
  PERL_FALSE='#'
1509
else
1510
  PERL_TRUE='#'
1511
  PERL_FALSE=
1512
fi
1513
 
1514
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
1515
 
1516
# tooldir='$(exec_prefix)/'$target_alias
1517
# Temporary work-around until building in source tree is supported
1518
 
1519
tooldir='$(PROJECT_ROOT)'
1520
 
1521
project_includedir='$(tooldir)'/include
1522
 
1523
project_libdir='$(tooldir)/lib$(MULTISUBDIR)'
1524
 
1525
project_bindir='$(tooldir)/bin'
1526
 
1527
rtems_bspdir='$(prefix)/${RTEMS_BSP}'
1528
 
1529
rtems_makedir='$(prefix)/make'
1530
 
1531
# Explicitly list all Makefiles here
1532
ac_config_files="$ac_config_files Makefile"
1533
 
1534
cat >confcache <<\_ACEOF
1535
# This file is a shell script that caches the results of configure
1536
# tests run on this system so they can be shared between configure
1537
# scripts and configure runs, see configure's option --config-cache.
1538
# It is not useful on other systems.  If it contains results you don't
1539
# want to keep, you may remove or edit it.
1540
#
1541
# config.status only pays attention to the cache file if you give it
1542
# the --recheck option to rerun configure.
1543
#
1544
# `ac_cv_env_foo' variables (set or unset) will be overriden when
1545
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1546
# following values.
1547
 
1548
_ACEOF
1549
 
1550
# The following way of writing the cache mishandles newlines in values,
1551
# but we know of no workaround that is simple, portable, and efficient.
1552
# So, don't put newlines in cache variables' values.
1553
# Ultrix sh set writes to stderr and can't be redirected directly,
1554
# and sets the high bit in the cache file unless we assign to the vars.
1555
{
1556
  (set) 2>&1 |
1557
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
1558
    *ac_space=\ *)
1559
      # `set' does not quote correctly, so add quotes (double-quote
1560
      # substitution turns \\\\ into \\, and sed turns \\ into \).
1561
      sed -n \
1562
        "s/'/'\\\\''/g;
1563
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1564
      ;;
1565
    *)
1566
      # `set' quotes correctly as required by POSIX, so do not add quotes.
1567
      sed -n \
1568
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1569
      ;;
1570
    esac;
1571
} |
1572
  sed '
1573
     t clear
1574
     : clear
1575
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1576
     t end
1577
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1578
     : end' >>confcache
1579
if cmp -s $cache_file confcache; then :; else
1580
  if test -w $cache_file; then
1581
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1582
    cat confcache >$cache_file
1583
  else
1584
    echo "not updating unwritable cache $cache_file"
1585
  fi
1586
fi
1587
rm -f confcache
1588
 
1589
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1590
# Let make expand exec_prefix.
1591
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1592
 
1593
# VPATH may cause trouble with some makes, so we remove $(srcdir),
1594
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1595
# trailing colons and then remove the whole line if VPATH becomes empty
1596
# (actually we leave an empty line to preserve line numbers).
1597
if test "x$srcdir" = x.; then
1598
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
1599
s/:*\$(srcdir):*/:/;
1600
s/:*\${srcdir}:*/:/;
1601
s/:*@srcdir@:*/:/;
1602
s/^\([^=]*=[    ]*\):*/\1/;
1603
s/:*$//;
1604
s/^[^=]*=[      ]*$//;
1605
}'
1606
fi
1607
 
1608
# Transform confdefs.h into DEFS.
1609
# Protect against shell expansion while executing Makefile rules.
1610
# Protect against Makefile macro expansion.
1611
#
1612
# If the first sed substitution is executed (which looks for macros that
1613
# take arguments), then we branch to the quote section.  Otherwise,
1614
# look for a macro that doesn't take arguments.
1615
cat >confdef2opt.sed <<\EOF
1616
t clear
1617
: clear
1618
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
1619
t quote
1620
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
1621
t quote
1622
d
1623
: quote
1624
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
1625
s,\[,\\&,g
1626
s,\],\\&,g
1627
s,\$,$$,g
1628
p
1629
EOF
1630
# We use echo to avoid assuming a particular line-breaking character.
1631
# The extra dot is to prevent the shell from consuming trailing
1632
# line-breaks from the sub-command output.  A line-break within
1633
# single-quotes doesn't work because, if this script is created in a
1634
# platform that uses two characters for line-breaks (e.g., DOS), tr
1635
# would break.
1636
ac_LF_and_DOT=`echo; echo .`
1637
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1638
rm -f confdef2opt.sed
1639
 
1640
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1641
  { { echo "$as_me:1641: error: conditional \"MAINTAINER_MODE\" was never defined.
1642
Usually this means the macro was only invoked conditionally." >&5
1643
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
1644
Usually this means the macro was only invoked conditionally." >&2;}
1645
   { (exit 1); exit 1; }; }
1646
fi
1647
if test -z "${PERL_TRUE}" && test -z "${PERL_FALSE}"; then
1648
  { { echo "$as_me:1648: error: conditional \"PERL\" was never defined.
1649
Usually this means the macro was only invoked conditionally." >&5
1650
echo "$as_me: error: conditional \"PERL\" was never defined.
1651
Usually this means the macro was only invoked conditionally." >&2;}
1652
   { (exit 1); exit 1; }; }
1653
fi
1654
 
1655
: ${CONFIG_STATUS=./config.status}
1656
ac_clean_files_save=$ac_clean_files
1657
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1658
{ echo "$as_me:1658: creating $CONFIG_STATUS" >&5
1659
echo "$as_me: creating $CONFIG_STATUS" >&6;}
1660
cat >$CONFIG_STATUS <<_ACEOF
1661
#! $SHELL
1662
# Generated automatically by configure.
1663
# Run this file to recreate the current configuration.
1664
# Compiler output produced by configure, useful for debugging
1665
# configure, is in config.log if it exists.
1666
 
1667
debug=false
1668
SHELL=\${CONFIG_SHELL-$SHELL}
1669
ac_cs_invocation="\$0 \$@"
1670
 
1671
_ACEOF
1672
 
1673
cat >>$CONFIG_STATUS <<\_ACEOF
1674
# Be Bourne compatible
1675
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1676
  emulate sh
1677
  NULLCMD=:
1678
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1679
  set -o posix
1680
fi
1681
 
1682
# Name of the executable.
1683
as_me=`echo "$0" |sed 's,.*[\\/],,'`
1684
 
1685
if expr a : '\(a\)' >/dev/null 2>&1; then
1686
  as_expr=expr
1687
else
1688
  as_expr=false
1689
fi
1690
 
1691
rm -f conf$$ conf$$.exe conf$$.file
1692
echo >conf$$.file
1693
if ln -s conf$$.file conf$$ 2>/dev/null; then
1694
  # We could just check for DJGPP; but this test a) works b) is more generic
1695
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1696
  if test -f conf$$.exe; then
1697
    # Don't use ln at all; we don't have any links
1698
    as_ln_s='cp -p'
1699
  else
1700
    as_ln_s='ln -s'
1701
  fi
1702
elif ln conf$$.file conf$$ 2>/dev/null; then
1703
  as_ln_s=ln
1704
else
1705
  as_ln_s='cp -p'
1706
fi
1707
rm -f conf$$ conf$$.exe conf$$.file
1708
 
1709
as_executable_p="test -f"
1710
 
1711
# Support unset when possible.
1712
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1713
  as_unset=unset
1714
else
1715
  as_unset=false
1716
fi
1717
 
1718
# NLS nuisances.
1719
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
1720
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
1721
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
1722
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
1723
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
1724
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
1725
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
1726
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
1727
 
1728
# IFS
1729
# We need space, tab and new line, in precisely that order.
1730
as_nl='
1731
'
1732
IFS="   $as_nl"
1733
 
1734
# CDPATH.
1735
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
1736
 
1737
exec 6>&1
1738
 
1739
_ACEOF
1740
 
1741
# Files that config.status was made for.
1742
if test -n "$ac_config_files"; then
1743
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1744
fi
1745
 
1746
if test -n "$ac_config_headers"; then
1747
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1748
fi
1749
 
1750
if test -n "$ac_config_links"; then
1751
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1752
fi
1753
 
1754
if test -n "$ac_config_commands"; then
1755
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1756
fi
1757
 
1758
cat >>$CONFIG_STATUS <<\EOF
1759
 
1760
ac_cs_usage="\
1761
\`$as_me' instantiates files from templates according to the
1762
current configuration.
1763
 
1764
Usage: $0 [OPTIONS] [FILE]...
1765
 
1766
  -h, --help       print this help, then exit
1767
  -V, --version    print version number, then exit
1768
  -d, --debug      don't remove temporary files
1769
      --recheck    update $as_me by reconfiguring in the same conditions
1770
  --file=FILE[:TEMPLATE]
1771
                   instantiate the configuration file FILE
1772
 
1773
Configuration files:
1774
$config_files
1775
 
1776
Report bugs to ."
1777
EOF
1778
 
1779
cat >>$CONFIG_STATUS <
1780
ac_cs_version="\\
1781
rtems-tools-update config.status ss-20020807
1782
configured by $0, generated by GNU Autoconf 2.52,
1783
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1784
 
1785
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1786
Free Software Foundation, Inc.
1787
This config.status script is free software; the Free Software Foundation
1788
gives unlimited permission to copy, distribute and modify it."
1789
srcdir=$srcdir
1790
INSTALL="$INSTALL"
1791
EOF
1792
 
1793
cat >>$CONFIG_STATUS <<\EOF
1794
# If no file are specified by the user, then we need to provide default
1795
# value.  By we need to know if files were specified by the user.
1796
ac_need_defaults=:
1797
while test $# != 0
1798
do
1799
  case $1 in
1800
  --*=*)
1801
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
1802
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1803
    shift
1804
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
1805
    shift
1806
    ;;
1807
  -*);;
1808
  *) # This is not an option, so the user has probably given explicit
1809
     # arguments.
1810
     ac_need_defaults=false;;
1811
  esac
1812
 
1813
  case $1 in
1814
  # Handling of the options.
1815
EOF
1816
cat >>$CONFIG_STATUS <
1817
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1818
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
1819
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
1820
EOF
1821
cat >>$CONFIG_STATUS <<\EOF
1822
  --version | --vers* | -V )
1823
    echo "$ac_cs_version"; exit 0 ;;
1824
  --he | --h)
1825
    # Conflict between --help and --header
1826
    { { echo "$as_me:1826: error: ambiguous option: $1
1827
Try \`$0 --help' for more information." >&5
1828
echo "$as_me: error: ambiguous option: $1
1829
Try \`$0 --help' for more information." >&2;}
1830
   { (exit 1); exit 1; }; };;
1831
  --help | --hel | -h )
1832
    echo "$ac_cs_usage"; exit 0 ;;
1833
  --debug | --d* | -d )
1834
    debug=: ;;
1835
  --file | --fil | --fi | --f )
1836
    shift
1837
    CONFIG_FILES="$CONFIG_FILES $1"
1838
    ac_need_defaults=false;;
1839
  --header | --heade | --head | --hea )
1840
    shift
1841
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
1842
    ac_need_defaults=false;;
1843
 
1844
  # This is an error.
1845
  -*) { { echo "$as_me:1845: error: unrecognized option: $1
1846
Try \`$0 --help' for more information." >&5
1847
echo "$as_me: error: unrecognized option: $1
1848
Try \`$0 --help' for more information." >&2;}
1849
   { (exit 1); exit 1; }; } ;;
1850
 
1851
  *) ac_config_targets="$ac_config_targets $1" ;;
1852
 
1853
  esac
1854
  shift
1855
done
1856
 
1857
exec 5>>config.log
1858
cat >&5 << _ACEOF
1859
 
1860
## ----------------------- ##
1861
## Running config.status.  ##
1862
## ----------------------- ##
1863
 
1864
This file was extended by $as_me (rtems-tools-update ss-20020807) 2.52, executed with
1865
  CONFIG_FILES    = $CONFIG_FILES
1866
  CONFIG_HEADERS  = $CONFIG_HEADERS
1867
  CONFIG_LINKS    = $CONFIG_LINKS
1868
  CONFIG_COMMANDS = $CONFIG_COMMANDS
1869
  > $ac_cs_invocation
1870
on `(hostname || uname -n) 2>/dev/null | sed 1q`
1871
 
1872
_ACEOF
1873
EOF
1874
 
1875
cat >>$CONFIG_STATUS <<\EOF
1876
for ac_config_target in $ac_config_targets
1877
do
1878
  case "$ac_config_target" in
1879
  # Handling of arguments.
1880
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1881
  *) { { echo "$as_me:1881: error: invalid argument: $ac_config_target" >&5
1882
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1883
   { (exit 1); exit 1; }; };;
1884
  esac
1885
done
1886
 
1887
# If the user did not use the arguments to specify the items to instantiate,
1888
# then the envvar interface is used.  Set only those that are not.
1889
# We use the long form for the default assignment because of an extremely
1890
# bizarre bug on SunOS 4.1.3.
1891
if $ac_need_defaults; then
1892
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1893
fi
1894
 
1895
# Create a temporary directory, and hook for its removal unless debugging.
1896
$debug ||
1897
{
1898
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1899
  trap '{ (exit 1); exit 1; }' 1 2 13 15
1900
}
1901
 
1902
# Create a (secure) tmp directory for tmp files.
1903
: ${TMPDIR=/tmp}
1904
{
1905
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
1906
  test -n "$tmp" && test -d "$tmp"
1907
}  ||
1908
{
1909
  tmp=$TMPDIR/cs$$-$RANDOM
1910
  (umask 077 && mkdir $tmp)
1911
} ||
1912
{
1913
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
1914
   { (exit 1); exit 1; }
1915
}
1916
 
1917
EOF
1918
 
1919
cat >>$CONFIG_STATUS <
1920
 
1921
#
1922
# CONFIG_FILES section.
1923
#
1924
 
1925
# No need to generate the scripts if there are no CONFIG_FILES.
1926
# This happens for instance when ./config.status config.h
1927
if test -n "\$CONFIG_FILES"; then
1928
  # Protect against being on the right side of a sed subst in config.status.
1929
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1930
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1931
s,@SHELL@,$SHELL,;t t
1932
s,@exec_prefix@,$exec_prefix,;t t
1933
s,@prefix@,$prefix,;t t
1934
s,@program_transform_name@,$program_transform_name,;t t
1935
s,@bindir@,$bindir,;t t
1936
s,@sbindir@,$sbindir,;t t
1937
s,@libexecdir@,$libexecdir,;t t
1938
s,@datadir@,$datadir,;t t
1939
s,@sysconfdir@,$sysconfdir,;t t
1940
s,@sharedstatedir@,$sharedstatedir,;t t
1941
s,@localstatedir@,$localstatedir,;t t
1942
s,@libdir@,$libdir,;t t
1943
s,@includedir@,$includedir,;t t
1944
s,@oldincludedir@,$oldincludedir,;t t
1945
s,@infodir@,$infodir,;t t
1946
s,@mandir@,$mandir,;t t
1947
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1948
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1949
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1950
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1951
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1952
s,@build_alias@,$build_alias,;t t
1953
s,@host_alias@,$host_alias,;t t
1954
s,@target_alias@,$target_alias,;t t
1955
s,@ECHO_C@,$ECHO_C,;t t
1956
s,@ECHO_N@,$ECHO_N,;t t
1957
s,@ECHO_T@,$ECHO_T,;t t
1958
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1959
s,@DEFS@,$DEFS,;t t
1960
s,@LIBS@,$LIBS,;t t
1961
s,@MAKE@,$MAKE,;t t
1962
s,@ENDIF@,$ENDIF,;t t
1963
s,@RTEMS_TOPdir@,$RTEMS_TOPdir,;t t
1964
s,@PROJECT_TOPdir@,$PROJECT_TOPdir,;t t
1965
s,@PROJECT_ROOT@,$PROJECT_ROOT,;t t
1966
s,@build@,$build,;t t
1967
s,@build_cpu@,$build_cpu,;t t
1968
s,@build_vendor@,$build_vendor,;t t
1969
s,@build_os@,$build_os,;t t
1970
s,@host@,$host,;t t
1971
s,@host_cpu@,$host_cpu,;t t
1972
s,@host_vendor@,$host_vendor,;t t
1973
s,@host_os@,$host_os,;t t
1974
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
1975
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
1976
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
1977
s,@PACKAGE@,$PACKAGE,;t t
1978
s,@VERSION@,$VERSION,;t t
1979
s,@ACLOCAL@,$ACLOCAL,;t t
1980
s,@AUTOCONF@,$AUTOCONF,;t t
1981
s,@AUTOMAKE@,$AUTOMAKE,;t t
1982
s,@AUTOHEADER@,$AUTOHEADER,;t t
1983
s,@MAKEINFO@,$MAKEINFO,;t t
1984
s,@AMTAR@,$AMTAR,;t t
1985
s,@install_sh@,$install_sh,;t t
1986
s,@STRIP@,$STRIP,;t t
1987
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
1988
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
1989
s,@AWK@,$AWK,;t t
1990
s,@SET_MAKE@,$SET_MAKE,;t t
1991
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
1992
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
1993
s,@MAINT@,$MAINT,;t t
1994
s,@KSH@,$KSH,;t t
1995
s,@PERL@,$PERL,;t t
1996
s,@PERL_TRUE@,$PERL_TRUE,;t t
1997
s,@PERL_FALSE@,$PERL_FALSE,;t t
1998
s,@PACKHEX@,$PACKHEX,;t t
1999
s,@tooldir@,$tooldir,;t t
2000
s,@project_includedir@,$project_includedir,;t t
2001
s,@project_libdir@,$project_libdir,;t t
2002
s,@project_bindir@,$project_bindir,;t t
2003
s,@rtems_bspdir@,$rtems_bspdir,;t t
2004
s,@rtems_makedir@,$rtems_makedir,;t t
2005
CEOF
2006
 
2007
EOF
2008
 
2009
  cat >>$CONFIG_STATUS <<\EOF
2010
  # Split the substitutions into bite-sized pieces for seds with
2011
  # small command number limits, like on Digital OSF/1 and HP-UX.
2012
  ac_max_sed_lines=48
2013
  ac_sed_frag=1 # Number of current file.
2014
  ac_beg=1 # First line for current file.
2015
  ac_end=$ac_max_sed_lines # Line after last line for current file.
2016
  ac_more_lines=:
2017
  ac_sed_cmds=
2018
  while $ac_more_lines; do
2019
    if test $ac_beg -gt 1; then
2020
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2021
    else
2022
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2023
    fi
2024
    if test ! -s $tmp/subs.frag; then
2025
      ac_more_lines=false
2026
    else
2027
      # The purpose of the label and of the branching condition is to
2028
      # speed up the sed processing (if there are no `@' at all, there
2029
      # is no need to browse any of the substitutions).
2030
      # These are the two extra sed commands mentioned above.
2031
      (echo ':t
2032
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2033
      if test -z "$ac_sed_cmds"; then
2034
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2035
      else
2036
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2037
      fi
2038
      ac_sed_frag=`expr $ac_sed_frag + 1`
2039
      ac_beg=$ac_end
2040
      ac_end=`expr $ac_end + $ac_max_sed_lines`
2041
    fi
2042
  done
2043
  if test -z "$ac_sed_cmds"; then
2044
    ac_sed_cmds=cat
2045
  fi
2046
fi # test -n "$CONFIG_FILES"
2047
 
2048
EOF
2049
cat >>$CONFIG_STATUS <<\EOF
2050
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2051
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2052
  case $ac_file in
2053
  - | *:- | *:-:* ) # input from stdin
2054
        cat >$tmp/stdin
2055
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2056
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2057
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2058
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2059
  * )   ac_file_in=$ac_file.in ;;
2060
  esac
2061
 
2062
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2063
  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2064
         X"$ac_file" : 'X\(//\)[^/]' \| \
2065
         X"$ac_file" : 'X\(//\)$' \| \
2066
         X"$ac_file" : 'X\(/\)' \| \
2067
         .     : '\(.\)' 2>/dev/null ||
2068
echo X"$ac_file" |
2069
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2070
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2071
          /^X\(\/\/\)$/{ s//\1/; q; }
2072
          /^X\(\/\).*/{ s//\1/; q; }
2073
          s/.*/./; q'`
2074
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2075
    { case "$ac_dir" in
2076
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2077
  *)                      as_incr_dir=.;;
2078
esac
2079
as_dummy="$ac_dir"
2080
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2081
  case $as_mkdir_dir in
2082
    # Skip DOS drivespec
2083
    ?:) as_incr_dir=$as_mkdir_dir ;;
2084
    *)
2085
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
2086
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
2087
    ;;
2088
  esac
2089
done; }
2090
 
2091
    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
2092
    # A "../" for each directory in $ac_dir_suffix.
2093
    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
2094
  else
2095
    ac_dir_suffix= ac_dots=
2096
  fi
2097
 
2098
  case $srcdir in
2099
  .)  ac_srcdir=.
2100
      if test -z "$ac_dots"; then
2101
         ac_top_srcdir=.
2102
      else
2103
         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
2104
      fi ;;
2105
  [\\/]* | ?:[\\/]* )
2106
      ac_srcdir=$srcdir$ac_dir_suffix;
2107
      ac_top_srcdir=$srcdir ;;
2108
  *) # Relative path.
2109
    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
2110
    ac_top_srcdir=$ac_dots$srcdir ;;
2111
  esac
2112
 
2113
  case $INSTALL in
2114
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2115
  *) ac_INSTALL=$ac_dots$INSTALL ;;
2116
  esac
2117
 
2118
  if test x"$ac_file" != x-; then
2119
    { echo "$as_me:2119: creating $ac_file" >&5
2120
echo "$as_me: creating $ac_file" >&6;}
2121
    rm -f "$ac_file"
2122
  fi
2123
  # Let's still pretend it is `configure' which instantiates (i.e., don't
2124
  # use $as_me), people would be surprised to read:
2125
  #    /* config.h.  Generated automatically by config.status.  */
2126
  configure_input="Generated automatically from `echo $ac_file_in |
2127
                                                 sed 's,.*/,,'` by configure."
2128
 
2129
  # First look for the input files in the build tree, otherwise in the
2130
  # src tree.
2131
  ac_file_inputs=`IFS=:
2132
    for f in $ac_file_in; do
2133
      case $f in
2134
      -) echo $tmp/stdin ;;
2135
      [\\/$]*)
2136
         # Absolute (can't be DOS-style, as IFS=:)
2137
         test -f "$f" || { { echo "$as_me:2137: error: cannot find input file: $f" >&5
2138
echo "$as_me: error: cannot find input file: $f" >&2;}
2139
   { (exit 1); exit 1; }; }
2140
         echo $f;;
2141
      *) # Relative
2142
         if test -f "$f"; then
2143
           # Build tree
2144
           echo $f
2145
         elif test -f "$srcdir/$f"; then
2146
           # Source tree
2147
           echo $srcdir/$f
2148
         else
2149
           # /dev/null tree
2150
           { { echo "$as_me:2150: error: cannot find input file: $f" >&5
2151
echo "$as_me: error: cannot find input file: $f" >&2;}
2152
   { (exit 1); exit 1; }; }
2153
         fi;;
2154
      esac
2155
    done` || { (exit 1); exit 1; }
2156
EOF
2157
cat >>$CONFIG_STATUS <
2158
  sed "$ac_vpsub
2159
$extrasub
2160
EOF
2161
cat >>$CONFIG_STATUS <<\EOF
2162
:t
2163
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2164
s,@configure_input@,$configure_input,;t t
2165
s,@srcdir@,$ac_srcdir,;t t
2166
s,@top_srcdir@,$ac_top_srcdir,;t t
2167
s,@INSTALL@,$ac_INSTALL,;t t
2168
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2169
  rm -f $tmp/stdin
2170
  if test x"$ac_file" != x-; then
2171
    mv $tmp/out $ac_file
2172
  else
2173
    cat $tmp/out
2174
    rm -f $tmp/out
2175
  fi
2176
 
2177
done
2178
EOF
2179
 
2180
cat >>$CONFIG_STATUS <<\EOF
2181
 
2182
{ (exit 0); exit 0; }
2183
EOF
2184
chmod +x $CONFIG_STATUS
2185
ac_clean_files=$ac_clean_files_save
2186
 
2187
# configure is writing to config.log, and then calls config.status.
2188
# config.status does its own redirection, appending to config.log.
2189
# Unfortunately, on DOS this fails, as config.log is still kept open
2190
# by configure, so config.status won't be able to write to it; its
2191
# output is simply discarded.  So we exec the FD to /dev/null,
2192
# effectively closing config.log, so it can be properly (re)opened and
2193
# appended to by config.status.  When coming back to configure, we
2194
# need to make the FD available again.
2195
if test "$no_create" != yes; then
2196
  ac_cs_success=:
2197
  exec 5>/dev/null
2198
  $SHELL $CONFIG_STATUS || ac_cs_success=false
2199
  exec 5>>config.log
2200
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2201
  # would make configure fail if this is the last instruction.
2202
  $ac_cs_success || { (exit 1); exit 1; }
2203
fi
2204
 

powered by: WebSVN 2.1.0

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