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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rtems-20020807/] [tools/] [cpu/] [configure] - Blame information for rev 1782

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

powered by: WebSVN 2.1.0

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