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

Subversion Repositories or1k

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

powered by: WebSVN 2.1.0

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