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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [a29k/] [configure] - Blame information for rev 1765

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

powered by: WebSVN 2.1.0

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