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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [tests/] [tools/] [generic/] [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-tests-tools-generic 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="sorttimes.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-tests-tools-generic'
152
PACKAGE_TARNAME='rtems-c-src-tests-tools-generic'
153
PACKAGE_VERSION='ss-20020807'
154
PACKAGE_STRING='rtems-c-src-tests-tools-generic 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-tests-tools-generic 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-tests-tools-generic 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-tests-tools-generic 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-tests-tools-generic $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-tests-tools-generic
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
# Override the set of BSPs to be built.
1477
 
1478
echo "$as_me:1478: checking for RTEMS_BSP" >&5
1479
echo $ECHO_N "checking for RTEMS_BSP... $ECHO_C" >&6
1480
if test "${rtems_cv_RTEMS_BSP+set}" = set; then
1481
  echo $ECHO_N "(cached) $ECHO_C" >&6
1482
else
1483
    test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
1484
 
1485
fi
1486
if test -z "$rtems_cv_RTEMS_BSP"; then
1487
  { { echo "$as_me:1487: error: Missing RTEMS_BSP" >&5
1488
echo "$as_me: error: Missing RTEMS_BSP" >&2;}
1489
   { (exit 1); exit 1; }; }
1490
fi
1491
RTEMS_BSP="$rtems_cv_RTEMS_BSP"
1492
echo "$as_me:1492: result: ${RTEMS_BSP}" >&5
1493
echo "${ECHO_T}${RTEMS_BSP}" >&6
1494
 
1495
RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
1496
 
1497
GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
1498
 
1499
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
1500
 
1501
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
1502
 
1503
RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP
1504
 
1505
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
1506
if test "${enable_bare_cpu_cflags+set}" = set; then
1507
  enableval="$enable_bare_cpu_cflags"
1508
  case "${enableval}" in
1509
  no) BARE_CPU_CFLAGS="" ;;
1510
  *)    BARE_CPU_CFLAGS="${enableval}" ;;
1511
esac
1512
else
1513
  BARE_CPU_CFLAGS=""
1514
fi;
1515
 
1516
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
1517
if test "${enable_bare_cpu_model+set}" = set; then
1518
  enableval="$enable_bare_cpu_model"
1519
  case "${enableval}" in
1520
  no)   BARE_CPU_MODEL="" ;;
1521
  *)    BARE_CPU_MODEL="${enableval}" ;;
1522
esac
1523
else
1524
  BARE_CPU_MODEL=""
1525
fi;
1526
 
1527
if false; then
1528
  MULTILIB_TRUE=
1529
  MULTILIB_FALSE='#'
1530
else
1531
  MULTILIB_TRUE='#'
1532
  MULTILIB_FALSE=
1533
fi
1534
 
1535
includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
1536
libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
1537
 
1538
bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib"
1539
 
1540
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
1541
 
1542
for ac_prog in bash ksh sh
1543
do
1544
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1545
set dummy $ac_prog; ac_word=$2
1546
echo "$as_me:1546: checking for $ac_word" >&5
1547
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1548
if test "${ac_cv_path_KSH+set}" = set; then
1549
  echo $ECHO_N "(cached) $ECHO_C" >&6
1550
else
1551
  case $KSH in
1552
  [\\/]* | ?:[\\/]*)
1553
  ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
1554
  ;;
1555
  *)
1556
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1557
ac_dummy="$PATH"
1558
for ac_dir in $ac_dummy; do
1559
  IFS=$ac_save_IFS
1560
  test -z "$ac_dir" && ac_dir=.
1561
  if $as_executable_p "$ac_dir/$ac_word"; then
1562
   ac_cv_path_KSH="$ac_dir/$ac_word"
1563
   echo "$as_me:1563: found $ac_dir/$ac_word" >&5
1564
   break
1565
fi
1566
done
1567
 
1568
  ;;
1569
esac
1570
fi
1571
KSH=$ac_cv_path_KSH
1572
 
1573
if test -n "$KSH"; then
1574
  echo "$as_me:1574: result: $KSH" >&5
1575
echo "${ECHO_T}$KSH" >&6
1576
else
1577
  echo "$as_me:1577: result: no" >&5
1578
echo "${ECHO_T}no" >&6
1579
fi
1580
 
1581
  test -n "$KSH" && break
1582
done
1583
 
1584
if test -z "$KSH"; then
1585
{ { echo "$as_me:1585: error: ***
1586
    Cannot determine a usable shell bash/ksh/sh
1587
    Please contact your system administrator " >&5
1588
echo "$as_me: error: ***
1589
    Cannot determine a usable shell bash/ksh/sh
1590
    Please contact your system administrator " >&2;}
1591
   { (exit 1); exit 1; }; };
1592
fi
1593
 
1594
# Explicitly list all Makefiles here
1595
ac_config_files="$ac_config_files Makefile difftest sorttimes"
1596
 
1597
cat >confcache <<\_ACEOF
1598
# This file is a shell script that caches the results of configure
1599
# tests run on this system so they can be shared between configure
1600
# scripts and configure runs, see configure's option --config-cache.
1601
# It is not useful on other systems.  If it contains results you don't
1602
# want to keep, you may remove or edit it.
1603
#
1604
# config.status only pays attention to the cache file if you give it
1605
# the --recheck option to rerun configure.
1606
#
1607
# `ac_cv_env_foo' variables (set or unset) will be overriden when
1608
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1609
# following values.
1610
 
1611
_ACEOF
1612
 
1613
# The following way of writing the cache mishandles newlines in values,
1614
# but we know of no workaround that is simple, portable, and efficient.
1615
# So, don't put newlines in cache variables' values.
1616
# Ultrix sh set writes to stderr and can't be redirected directly,
1617
# and sets the high bit in the cache file unless we assign to the vars.
1618
{
1619
  (set) 2>&1 |
1620
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
1621
    *ac_space=\ *)
1622
      # `set' does not quote correctly, so add quotes (double-quote
1623
      # substitution turns \\\\ into \\, and sed turns \\ into \).
1624
      sed -n \
1625
        "s/'/'\\\\''/g;
1626
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1627
      ;;
1628
    *)
1629
      # `set' quotes correctly as required by POSIX, so do not add quotes.
1630
      sed -n \
1631
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1632
      ;;
1633
    esac;
1634
} |
1635
  sed '
1636
     t clear
1637
     : clear
1638
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1639
     t end
1640
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1641
     : end' >>confcache
1642
if cmp -s $cache_file confcache; then :; else
1643
  if test -w $cache_file; then
1644
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1645
    cat confcache >$cache_file
1646
  else
1647
    echo "not updating unwritable cache $cache_file"
1648
  fi
1649
fi
1650
rm -f confcache
1651
 
1652
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1653
# Let make expand exec_prefix.
1654
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1655
 
1656
# VPATH may cause trouble with some makes, so we remove $(srcdir),
1657
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1658
# trailing colons and then remove the whole line if VPATH becomes empty
1659
# (actually we leave an empty line to preserve line numbers).
1660
if test "x$srcdir" = x.; then
1661
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
1662
s/:*\$(srcdir):*/:/;
1663
s/:*\${srcdir}:*/:/;
1664
s/:*@srcdir@:*/:/;
1665
s/^\([^=]*=[    ]*\):*/\1/;
1666
s/:*$//;
1667
s/^[^=]*=[      ]*$//;
1668
}'
1669
fi
1670
 
1671
# Transform confdefs.h into DEFS.
1672
# Protect against shell expansion while executing Makefile rules.
1673
# Protect against Makefile macro expansion.
1674
#
1675
# If the first sed substitution is executed (which looks for macros that
1676
# take arguments), then we branch to the quote section.  Otherwise,
1677
# look for a macro that doesn't take arguments.
1678
cat >confdef2opt.sed <<\EOF
1679
t clear
1680
: clear
1681
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
1682
t quote
1683
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
1684
t quote
1685
d
1686
: quote
1687
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
1688
s,\[,\\&,g
1689
s,\],\\&,g
1690
s,\$,$$,g
1691
p
1692
EOF
1693
# We use echo to avoid assuming a particular line-breaking character.
1694
# The extra dot is to prevent the shell from consuming trailing
1695
# line-breaks from the sub-command output.  A line-break within
1696
# single-quotes doesn't work because, if this script is created in a
1697
# platform that uses two characters for line-breaks (e.g., DOS), tr
1698
# would break.
1699
ac_LF_and_DOT=`echo; echo .`
1700
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1701
rm -f confdef2opt.sed
1702
 
1703
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1704
  { { echo "$as_me:1704: error: conditional \"MAINTAINER_MODE\" was never defined.
1705
Usually this means the macro was only invoked conditionally." >&5
1706
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
1707
Usually this means the macro was only invoked conditionally." >&2;}
1708
   { (exit 1); exit 1; }; }
1709
fi
1710
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
1711
  { { echo "$as_me:1711: error: conditional \"MULTILIB\" was never defined.
1712
Usually this means the macro was only invoked conditionally." >&5
1713
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
1714
Usually this means the macro was only invoked conditionally." >&2;}
1715
   { (exit 1); exit 1; }; }
1716
fi
1717
 
1718
: ${CONFIG_STATUS=./config.status}
1719
ac_clean_files_save=$ac_clean_files
1720
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1721
{ echo "$as_me:1721: creating $CONFIG_STATUS" >&5
1722
echo "$as_me: creating $CONFIG_STATUS" >&6;}
1723
cat >$CONFIG_STATUS <<_ACEOF
1724
#! $SHELL
1725
# Generated automatically by configure.
1726
# Run this file to recreate the current configuration.
1727
# Compiler output produced by configure, useful for debugging
1728
# configure, is in config.log if it exists.
1729
 
1730
debug=false
1731
SHELL=\${CONFIG_SHELL-$SHELL}
1732
ac_cs_invocation="\$0 \$@"
1733
 
1734
_ACEOF
1735
 
1736
cat >>$CONFIG_STATUS <<\_ACEOF
1737
# Be Bourne compatible
1738
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1739
  emulate sh
1740
  NULLCMD=:
1741
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1742
  set -o posix
1743
fi
1744
 
1745
# Name of the executable.
1746
as_me=`echo "$0" |sed 's,.*[\\/],,'`
1747
 
1748
if expr a : '\(a\)' >/dev/null 2>&1; then
1749
  as_expr=expr
1750
else
1751
  as_expr=false
1752
fi
1753
 
1754
rm -f conf$$ conf$$.exe conf$$.file
1755
echo >conf$$.file
1756
if ln -s conf$$.file conf$$ 2>/dev/null; then
1757
  # We could just check for DJGPP; but this test a) works b) is more generic
1758
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1759
  if test -f conf$$.exe; then
1760
    # Don't use ln at all; we don't have any links
1761
    as_ln_s='cp -p'
1762
  else
1763
    as_ln_s='ln -s'
1764
  fi
1765
elif ln conf$$.file conf$$ 2>/dev/null; then
1766
  as_ln_s=ln
1767
else
1768
  as_ln_s='cp -p'
1769
fi
1770
rm -f conf$$ conf$$.exe conf$$.file
1771
 
1772
as_executable_p="test -f"
1773
 
1774
# Support unset when possible.
1775
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1776
  as_unset=unset
1777
else
1778
  as_unset=false
1779
fi
1780
 
1781
# NLS nuisances.
1782
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
1783
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
1784
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
1785
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
1786
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
1787
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
1788
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
1789
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
1790
 
1791
# IFS
1792
# We need space, tab and new line, in precisely that order.
1793
as_nl='
1794
'
1795
IFS="   $as_nl"
1796
 
1797
# CDPATH.
1798
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
1799
 
1800
exec 6>&1
1801
 
1802
_ACEOF
1803
 
1804
# Files that config.status was made for.
1805
if test -n "$ac_config_files"; then
1806
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1807
fi
1808
 
1809
if test -n "$ac_config_headers"; then
1810
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1811
fi
1812
 
1813
if test -n "$ac_config_links"; then
1814
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1815
fi
1816
 
1817
if test -n "$ac_config_commands"; then
1818
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1819
fi
1820
 
1821
cat >>$CONFIG_STATUS <<\EOF
1822
 
1823
ac_cs_usage="\
1824
\`$as_me' instantiates files from templates according to the
1825
current configuration.
1826
 
1827
Usage: $0 [OPTIONS] [FILE]...
1828
 
1829
  -h, --help       print this help, then exit
1830
  -V, --version    print version number, then exit
1831
  -d, --debug      don't remove temporary files
1832
      --recheck    update $as_me by reconfiguring in the same conditions
1833
  --file=FILE[:TEMPLATE]
1834
                   instantiate the configuration file FILE
1835
 
1836
Configuration files:
1837
$config_files
1838
 
1839
Report bugs to ."
1840
EOF
1841
 
1842
cat >>$CONFIG_STATUS <
1843
ac_cs_version="\\
1844
rtems-c-src-tests-tools-generic config.status ss-20020807
1845
configured by $0, generated by GNU Autoconf 2.52,
1846
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1847
 
1848
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1849
Free Software Foundation, Inc.
1850
This config.status script is free software; the Free Software Foundation
1851
gives unlimited permission to copy, distribute and modify it."
1852
srcdir=$srcdir
1853
INSTALL="$INSTALL"
1854
EOF
1855
 
1856
cat >>$CONFIG_STATUS <<\EOF
1857
# If no file are specified by the user, then we need to provide default
1858
# value.  By we need to know if files were specified by the user.
1859
ac_need_defaults=:
1860
while test $# != 0
1861
do
1862
  case $1 in
1863
  --*=*)
1864
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
1865
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1866
    shift
1867
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
1868
    shift
1869
    ;;
1870
  -*);;
1871
  *) # This is not an option, so the user has probably given explicit
1872
     # arguments.
1873
     ac_need_defaults=false;;
1874
  esac
1875
 
1876
  case $1 in
1877
  # Handling of the options.
1878
EOF
1879
cat >>$CONFIG_STATUS <
1880
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1881
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
1882
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
1883
EOF
1884
cat >>$CONFIG_STATUS <<\EOF
1885
  --version | --vers* | -V )
1886
    echo "$ac_cs_version"; exit 0 ;;
1887
  --he | --h)
1888
    # Conflict between --help and --header
1889
    { { echo "$as_me:1889: error: ambiguous option: $1
1890
Try \`$0 --help' for more information." >&5
1891
echo "$as_me: error: ambiguous option: $1
1892
Try \`$0 --help' for more information." >&2;}
1893
   { (exit 1); exit 1; }; };;
1894
  --help | --hel | -h )
1895
    echo "$ac_cs_usage"; exit 0 ;;
1896
  --debug | --d* | -d )
1897
    debug=: ;;
1898
  --file | --fil | --fi | --f )
1899
    shift
1900
    CONFIG_FILES="$CONFIG_FILES $1"
1901
    ac_need_defaults=false;;
1902
  --header | --heade | --head | --hea )
1903
    shift
1904
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
1905
    ac_need_defaults=false;;
1906
 
1907
  # This is an error.
1908
  -*) { { echo "$as_me:1908: error: unrecognized option: $1
1909
Try \`$0 --help' for more information." >&5
1910
echo "$as_me: error: unrecognized option: $1
1911
Try \`$0 --help' for more information." >&2;}
1912
   { (exit 1); exit 1; }; } ;;
1913
 
1914
  *) ac_config_targets="$ac_config_targets $1" ;;
1915
 
1916
  esac
1917
  shift
1918
done
1919
 
1920
exec 5>>config.log
1921
cat >&5 << _ACEOF
1922
 
1923
## ----------------------- ##
1924
## Running config.status.  ##
1925
## ----------------------- ##
1926
 
1927
This file was extended by $as_me (rtems-c-src-tests-tools-generic ss-20020807) 2.52, executed with
1928
  CONFIG_FILES    = $CONFIG_FILES
1929
  CONFIG_HEADERS  = $CONFIG_HEADERS
1930
  CONFIG_LINKS    = $CONFIG_LINKS
1931
  CONFIG_COMMANDS = $CONFIG_COMMANDS
1932
  > $ac_cs_invocation
1933
on `(hostname || uname -n) 2>/dev/null | sed 1q`
1934
 
1935
_ACEOF
1936
EOF
1937
 
1938
cat >>$CONFIG_STATUS <<\EOF
1939
for ac_config_target in $ac_config_targets
1940
do
1941
  case "$ac_config_target" in
1942
  # Handling of arguments.
1943
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1944
  "difftest" ) CONFIG_FILES="$CONFIG_FILES difftest" ;;
1945
  "sorttimes" ) CONFIG_FILES="$CONFIG_FILES sorttimes" ;;
1946
  *) { { echo "$as_me:1946: error: invalid argument: $ac_config_target" >&5
1947
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1948
   { (exit 1); exit 1; }; };;
1949
  esac
1950
done
1951
 
1952
# If the user did not use the arguments to specify the items to instantiate,
1953
# then the envvar interface is used.  Set only those that are not.
1954
# We use the long form for the default assignment because of an extremely
1955
# bizarre bug on SunOS 4.1.3.
1956
if $ac_need_defaults; then
1957
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1958
fi
1959
 
1960
# Create a temporary directory, and hook for its removal unless debugging.
1961
$debug ||
1962
{
1963
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1964
  trap '{ (exit 1); exit 1; }' 1 2 13 15
1965
}
1966
 
1967
# Create a (secure) tmp directory for tmp files.
1968
: ${TMPDIR=/tmp}
1969
{
1970
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
1971
  test -n "$tmp" && test -d "$tmp"
1972
}  ||
1973
{
1974
  tmp=$TMPDIR/cs$$-$RANDOM
1975
  (umask 077 && mkdir $tmp)
1976
} ||
1977
{
1978
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
1979
   { (exit 1); exit 1; }
1980
}
1981
 
1982
EOF
1983
 
1984
cat >>$CONFIG_STATUS <
1985
 
1986
#
1987
# CONFIG_FILES section.
1988
#
1989
 
1990
# No need to generate the scripts if there are no CONFIG_FILES.
1991
# This happens for instance when ./config.status config.h
1992
if test -n "\$CONFIG_FILES"; then
1993
  # Protect against being on the right side of a sed subst in config.status.
1994
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1995
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1996
s,@SHELL@,$SHELL,;t t
1997
s,@exec_prefix@,$exec_prefix,;t t
1998
s,@prefix@,$prefix,;t t
1999
s,@program_transform_name@,$program_transform_name,;t t
2000
s,@bindir@,$bindir,;t t
2001
s,@sbindir@,$sbindir,;t t
2002
s,@libexecdir@,$libexecdir,;t t
2003
s,@datadir@,$datadir,;t t
2004
s,@sysconfdir@,$sysconfdir,;t t
2005
s,@sharedstatedir@,$sharedstatedir,;t t
2006
s,@localstatedir@,$localstatedir,;t t
2007
s,@libdir@,$libdir,;t t
2008
s,@includedir@,$includedir,;t t
2009
s,@oldincludedir@,$oldincludedir,;t t
2010
s,@infodir@,$infodir,;t t
2011
s,@mandir@,$mandir,;t t
2012
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2013
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2014
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2015
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2016
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2017
s,@build_alias@,$build_alias,;t t
2018
s,@host_alias@,$host_alias,;t t
2019
s,@target_alias@,$target_alias,;t t
2020
s,@ECHO_C@,$ECHO_C,;t t
2021
s,@ECHO_N@,$ECHO_N,;t t
2022
s,@ECHO_T@,$ECHO_T,;t t
2023
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2024
s,@DEFS@,$DEFS,;t t
2025
s,@LIBS@,$LIBS,;t t
2026
s,@MAKE@,$MAKE,;t t
2027
s,@ENDIF@,$ENDIF,;t t
2028
s,@RTEMS_TOPdir@,$RTEMS_TOPdir,;t t
2029
s,@PROJECT_TOPdir@,$PROJECT_TOPdir,;t t
2030
s,@PROJECT_ROOT@,$PROJECT_ROOT,;t t
2031
s,@build@,$build,;t t
2032
s,@build_cpu@,$build_cpu,;t t
2033
s,@build_vendor@,$build_vendor,;t t
2034
s,@build_os@,$build_os,;t t
2035
s,@host@,$host,;t t
2036
s,@host_cpu@,$host_cpu,;t t
2037
s,@host_vendor@,$host_vendor,;t t
2038
s,@host_os@,$host_os,;t t
2039
s,@target@,$target,;t t
2040
s,@target_cpu@,$target_cpu,;t t
2041
s,@target_vendor@,$target_vendor,;t t
2042
s,@target_os@,$target_os,;t t
2043
s,@RTEMS_CPU@,$RTEMS_CPU,;t t
2044
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2045
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2046
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2047
s,@PACKAGE@,$PACKAGE,;t t
2048
s,@VERSION@,$VERSION,;t t
2049
s,@ACLOCAL@,$ACLOCAL,;t t
2050
s,@AUTOCONF@,$AUTOCONF,;t t
2051
s,@AUTOMAKE@,$AUTOMAKE,;t t
2052
s,@AUTOHEADER@,$AUTOHEADER,;t t
2053
s,@MAKEINFO@,$MAKEINFO,;t t
2054
s,@AMTAR@,$AMTAR,;t t
2055
s,@install_sh@,$install_sh,;t t
2056
s,@STRIP@,$STRIP,;t t
2057
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2058
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2059
s,@AWK@,$AWK,;t t
2060
s,@SET_MAKE@,$SET_MAKE,;t t
2061
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2062
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2063
s,@MAINT@,$MAINT,;t t
2064
s,@RTEMS_BSP@,$RTEMS_BSP,;t t
2065
s,@RTEMS_BSP_SPECS@,$RTEMS_BSP_SPECS,;t t
2066
s,@GCC_SPECS@,$GCC_SPECS,;t t
2067
s,@PROJECT_INCLUDE@,$PROJECT_INCLUDE,;t t
2068
s,@PROJECT_RELEASE@,$PROJECT_RELEASE,;t t
2069
s,@RTEMS_ROOT@,$RTEMS_ROOT,;t t
2070
s,@BARE_CPU_MODEL@,$BARE_CPU_MODEL,;t t
2071
s,@BARE_CPU_CFLAGS@,$BARE_CPU_CFLAGS,;t t
2072
s,@MULTILIB_TRUE@,$MULTILIB_TRUE,;t t
2073
s,@MULTILIB_FALSE@,$MULTILIB_FALSE,;t t
2074
s,@bsplibdir@,$bsplibdir,;t t
2075
s,@PACKHEX@,$PACKHEX,;t t
2076
s,@KSH@,$KSH,;t t
2077
CEOF
2078
 
2079
EOF
2080
 
2081
  cat >>$CONFIG_STATUS <<\EOF
2082
  # Split the substitutions into bite-sized pieces for seds with
2083
  # small command number limits, like on Digital OSF/1 and HP-UX.
2084
  ac_max_sed_lines=48
2085
  ac_sed_frag=1 # Number of current file.
2086
  ac_beg=1 # First line for current file.
2087
  ac_end=$ac_max_sed_lines # Line after last line for current file.
2088
  ac_more_lines=:
2089
  ac_sed_cmds=
2090
  while $ac_more_lines; do
2091
    if test $ac_beg -gt 1; then
2092
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2093
    else
2094
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2095
    fi
2096
    if test ! -s $tmp/subs.frag; then
2097
      ac_more_lines=false
2098
    else
2099
      # The purpose of the label and of the branching condition is to
2100
      # speed up the sed processing (if there are no `@' at all, there
2101
      # is no need to browse any of the substitutions).
2102
      # These are the two extra sed commands mentioned above.
2103
      (echo ':t
2104
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2105
      if test -z "$ac_sed_cmds"; then
2106
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2107
      else
2108
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2109
      fi
2110
      ac_sed_frag=`expr $ac_sed_frag + 1`
2111
      ac_beg=$ac_end
2112
      ac_end=`expr $ac_end + $ac_max_sed_lines`
2113
    fi
2114
  done
2115
  if test -z "$ac_sed_cmds"; then
2116
    ac_sed_cmds=cat
2117
  fi
2118
fi # test -n "$CONFIG_FILES"
2119
 
2120
EOF
2121
cat >>$CONFIG_STATUS <<\EOF
2122
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2123
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2124
  case $ac_file in
2125
  - | *:- | *:-:* ) # input from stdin
2126
        cat >$tmp/stdin
2127
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2128
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2129
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2130
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2131
  * )   ac_file_in=$ac_file.in ;;
2132
  esac
2133
 
2134
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2135
  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2136
         X"$ac_file" : 'X\(//\)[^/]' \| \
2137
         X"$ac_file" : 'X\(//\)$' \| \
2138
         X"$ac_file" : 'X\(/\)' \| \
2139
         .     : '\(.\)' 2>/dev/null ||
2140
echo X"$ac_file" |
2141
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2142
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2143
          /^X\(\/\/\)$/{ s//\1/; q; }
2144
          /^X\(\/\).*/{ s//\1/; q; }
2145
          s/.*/./; q'`
2146
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2147
    { case "$ac_dir" in
2148
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2149
  *)                      as_incr_dir=.;;
2150
esac
2151
as_dummy="$ac_dir"
2152
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2153
  case $as_mkdir_dir in
2154
    # Skip DOS drivespec
2155
    ?:) as_incr_dir=$as_mkdir_dir ;;
2156
    *)
2157
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
2158
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
2159
    ;;
2160
  esac
2161
done; }
2162
 
2163
    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
2164
    # A "../" for each directory in $ac_dir_suffix.
2165
    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
2166
  else
2167
    ac_dir_suffix= ac_dots=
2168
  fi
2169
 
2170
  case $srcdir in
2171
  .)  ac_srcdir=.
2172
      if test -z "$ac_dots"; then
2173
         ac_top_srcdir=.
2174
      else
2175
         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
2176
      fi ;;
2177
  [\\/]* | ?:[\\/]* )
2178
      ac_srcdir=$srcdir$ac_dir_suffix;
2179
      ac_top_srcdir=$srcdir ;;
2180
  *) # Relative path.
2181
    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
2182
    ac_top_srcdir=$ac_dots$srcdir ;;
2183
  esac
2184
 
2185
  case $INSTALL in
2186
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2187
  *) ac_INSTALL=$ac_dots$INSTALL ;;
2188
  esac
2189
 
2190
  if test x"$ac_file" != x-; then
2191
    { echo "$as_me:2191: creating $ac_file" >&5
2192
echo "$as_me: creating $ac_file" >&6;}
2193
    rm -f "$ac_file"
2194
  fi
2195
  # Let's still pretend it is `configure' which instantiates (i.e., don't
2196
  # use $as_me), people would be surprised to read:
2197
  #    /* config.h.  Generated automatically by config.status.  */
2198
  configure_input="Generated automatically from `echo $ac_file_in |
2199
                                                 sed 's,.*/,,'` by configure."
2200
 
2201
  # First look for the input files in the build tree, otherwise in the
2202
  # src tree.
2203
  ac_file_inputs=`IFS=:
2204
    for f in $ac_file_in; do
2205
      case $f in
2206
      -) echo $tmp/stdin ;;
2207
      [\\/$]*)
2208
         # Absolute (can't be DOS-style, as IFS=:)
2209
         test -f "$f" || { { echo "$as_me:2209: error: cannot find input file: $f" >&5
2210
echo "$as_me: error: cannot find input file: $f" >&2;}
2211
   { (exit 1); exit 1; }; }
2212
         echo $f;;
2213
      *) # Relative
2214
         if test -f "$f"; then
2215
           # Build tree
2216
           echo $f
2217
         elif test -f "$srcdir/$f"; then
2218
           # Source tree
2219
           echo $srcdir/$f
2220
         else
2221
           # /dev/null tree
2222
           { { echo "$as_me:2222: error: cannot find input file: $f" >&5
2223
echo "$as_me: error: cannot find input file: $f" >&2;}
2224
   { (exit 1); exit 1; }; }
2225
         fi;;
2226
      esac
2227
    done` || { (exit 1); exit 1; }
2228
EOF
2229
cat >>$CONFIG_STATUS <
2230
  sed "$ac_vpsub
2231
$extrasub
2232
EOF
2233
cat >>$CONFIG_STATUS <<\EOF
2234
:t
2235
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2236
s,@configure_input@,$configure_input,;t t
2237
s,@srcdir@,$ac_srcdir,;t t
2238
s,@top_srcdir@,$ac_top_srcdir,;t t
2239
s,@INSTALL@,$ac_INSTALL,;t t
2240
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2241
  rm -f $tmp/stdin
2242
  if test x"$ac_file" != x-; then
2243
    mv $tmp/out $ac_file
2244
  else
2245
    cat $tmp/out
2246
    rm -f $tmp/out
2247
  fi
2248
 
2249
done
2250
EOF
2251
 
2252
cat >>$CONFIG_STATUS <<\EOF
2253
 
2254
{ (exit 0); exit 0; }
2255
EOF
2256
chmod +x $CONFIG_STATUS
2257
ac_clean_files=$ac_clean_files_save
2258
 
2259
# configure is writing to config.log, and then calls config.status.
2260
# config.status does its own redirection, appending to config.log.
2261
# Unfortunately, on DOS this fails, as config.log is still kept open
2262
# by configure, so config.status won't be able to write to it; its
2263
# output is simply discarded.  So we exec the FD to /dev/null,
2264
# effectively closing config.log, so it can be properly (re)opened and
2265
# appended to by config.status.  When coming back to configure, we
2266
# need to make the FD available again.
2267
if test "$no_create" != yes; then
2268
  ac_cs_success=:
2269
  exec 5>/dev/null
2270
  $SHELL $CONFIG_STATUS || ac_cs_success=false
2271
  exec 5>>config.log
2272
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2273
  # would make configure fail if this is the last instruction.
2274
  $ac_cs_success || { (exit 1); exit 1; }
2275
fi
2276
 

powered by: WebSVN 2.1.0

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