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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [tests/] [mptests/] [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-mptests 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="mp01"
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-mptests'
152
PACKAGE_TARNAME='rtems-c-src-tests-mptests'
153
PACKAGE_VERSION='ss-20020807'
154
PACKAGE_STRING='rtems-c-src-tests-mptests 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
ac_env_CC_set=${CC+set}
548
ac_env_CC_value=$CC
549
ac_cv_env_CC_set=${CC+set}
550
ac_cv_env_CC_value=$CC
551
ac_env_CFLAGS_set=${CFLAGS+set}
552
ac_env_CFLAGS_value=$CFLAGS
553
ac_cv_env_CFLAGS_set=${CFLAGS+set}
554
ac_cv_env_CFLAGS_value=$CFLAGS
555
ac_env_LDFLAGS_set=${LDFLAGS+set}
556
ac_env_LDFLAGS_value=$LDFLAGS
557
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
558
ac_cv_env_LDFLAGS_value=$LDFLAGS
559
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
560
ac_env_CPPFLAGS_value=$CPPFLAGS
561
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
562
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
563
ac_env_CPP_set=${CPP+set}
564
ac_env_CPP_value=$CPP
565
ac_cv_env_CPP_set=${CPP+set}
566
ac_cv_env_CPP_value=$CPP
567
 
568
#
569
# Report the --help message.
570
#
571
if test "$ac_init_help" = "long"; then
572
  # Omit some internal or obsolete options to make the list less imposing.
573
  # This message is too long to be a string in the A/UX 3.1 sh.
574
  cat <
575
\`configure' configures rtems-c-src-tests-mptests ss-20020807 to adapt to many kinds of systems.
576
 
577
Usage: $0 [OPTION]... [VAR=VALUE]...
578
 
579
To assign environment variables (e.g., CC, CFLAGS...), specify them as
580
VAR=VALUE.  See below for descriptions of some of the useful variables.
581
 
582
Defaults for the options are specified in brackets.
583
 
584
Configuration:
585
  -h, --help              display this help and exit
586
      --help=short        display options specific to this package
587
      --help=recursive    display the short help of all the included packages
588
  -V, --version           display version information and exit
589
  -q, --quiet, --silent   do not print \`checking...' messages
590
      --cache-file=FILE   cache test results in FILE [disabled]
591
  -C, --config-cache      alias for \`--cache-file=config.cache'
592
  -n, --no-create         do not create output files
593
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
594
 
595
EOF
596
 
597
  cat <
598
Installation directories:
599
  --prefix=PREFIX         install architecture-independent files in PREFIX
600
                          [$ac_default_prefix]
601
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
602
                          [PREFIX]
603
 
604
By default, \`make install' will install all the files in
605
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
606
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
607
for instance \`--prefix=\$HOME'.
608
 
609
For better control, use the options below.
610
 
611
Fine tuning of the installation directories:
612
  --bindir=DIR           user executables [EPREFIX/bin]
613
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
614
  --libexecdir=DIR       program executables [EPREFIX/libexec]
615
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
616
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
617
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
618
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
619
  --libdir=DIR           object code libraries [EPREFIX/lib]
620
  --includedir=DIR       C header files [PREFIX/include]
621
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
622
  --infodir=DIR          info documentation [PREFIX/info]
623
  --mandir=DIR           man documentation [PREFIX/man]
624
EOF
625
 
626
  cat <<\EOF
627
 
628
Program names:
629
  --program-prefix=PREFIX            prepend PREFIX to installed program names
630
  --program-suffix=SUFFIX            append SUFFIX to installed program names
631
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
632
 
633
System types:
634
  --build=BUILD     configure for building on BUILD [guessed]
635
  --host=HOST       build programs to run on HOST [BUILD]
636
  --target=TARGET   configure for building compilers for TARGET [HOST]
637
EOF
638
fi
639
 
640
if test -n "$ac_init_help"; then
641
  case $ac_init_help in
642
     short | recursive ) echo "Configuration of rtems-c-src-tests-mptests ss-20020807:";;
643
   esac
644
  cat <<\EOF
645
 
646
Optional Features:
647
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
648
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
649
  --enable-maintainer-mode enable make rules and dependencies not useful
650
                          (and sometimes confusing) to the casual installer
651
  --enable-bare-cpu-cflags
652
                          specify a particular cpu cflag (bare bsp specific)
653
  --enable-bare-cpu-model specify a particular cpu model (bare bsp specific)
654
  --disable-dependency-tracking Speeds up one-time builds
655
  --enable-dependency-tracking  Do not reject slow dependency extractors
656
  --enable-multilib       build many library versions (default=no)
657
  --enable-multiprocessing
658
                          enable multiprocessing interface
659
 
660
Some influential environment variables:
661
  RTEMS_BSP   RTEMS_BSP to build
662
  CC          C compiler command
663
  CFLAGS      C compiler flags
664
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
665
              nonstandard directory 
666
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I if you have
667
              headers in a nonstandard directory 
668
  CPP         C preprocessor
669
 
670
Use these variables to override the choices made by `configure' or to help
671
it to find libraries and programs with nonstandard names/locations.
672
 
673
Report bugs to .
674
EOF
675
fi
676
 
677
if test "$ac_init_help" = "recursive"; then
678
  # If there are subdirs, report their specific --help.
679
  ac_popdir=`pwd`
680
  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
681
    cd $ac_subdir
682
    # A "../" for each directory in /$ac_subdir.
683
    ac_dots=`echo $ac_subdir |
684
             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
685
 
686
    case $srcdir in
687
    .) # No --srcdir option.  We are building in place.
688
      ac_sub_srcdir=$srcdir ;;
689
    [\\/]* | ?:[\\/]* ) # Absolute path.
690
      ac_sub_srcdir=$srcdir/$ac_subdir ;;
691
    *) # Relative path.
692
      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
693
    esac
694
 
695
    # Check for guested configure; otherwise get Cygnus style configure.
696
    if test -f $ac_sub_srcdir/configure.gnu; then
697
      echo
698
      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
699
    elif test -f $ac_sub_srcdir/configure; then
700
      echo
701
      $SHELL $ac_sub_srcdir/configure  --help=recursive
702
    elif test -f $ac_sub_srcdir/configure.ac ||
703
           test -f $ac_sub_srcdir/configure.in; then
704
      echo
705
      $ac_configure --help
706
    else
707
      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
708
    fi
709
    cd $ac_popdir
710
  done
711
fi
712
 
713
test -n "$ac_init_help" && exit 0
714
if $ac_init_version; then
715
  cat <<\EOF
716
rtems-c-src-tests-mptests configure ss-20020807
717
generated by GNU Autoconf 2.52
718
 
719
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
720
Free Software Foundation, Inc.
721
This configure script is free software; the Free Software Foundation
722
gives unlimited permission to copy, distribute and modify it.
723
EOF
724
  exit 0
725
fi
726
exec 5>config.log
727
cat >&5 <
728
This file contains any messages produced by compilers while
729
running configure, to aid debugging if configure makes a mistake.
730
 
731
It was created by rtems-c-src-tests-mptests $as_me ss-20020807, which was
732
generated by GNU Autoconf 2.52.  Invocation command line was
733
 
734
  $ $0 $@
735
 
736
EOF
737
{
738
cat <<_ASUNAME
739
## ---------- ##
740
## Platform.  ##
741
## ---------- ##
742
 
743
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
744
uname -m = `(uname -m) 2>/dev/null || echo unknown`
745
uname -r = `(uname -r) 2>/dev/null || echo unknown`
746
uname -s = `(uname -s) 2>/dev/null || echo unknown`
747
uname -v = `(uname -v) 2>/dev/null || echo unknown`
748
 
749
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
750
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
751
 
752
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
753
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
754
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
755
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
756
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
757
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
758
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
759
 
760
PATH = $PATH
761
 
762
_ASUNAME
763
} >&5
764
 
765
cat >&5 <
766
## ------------ ##
767
## Core tests.  ##
768
## ------------ ##
769
 
770
EOF
771
 
772
# Keep a trace of the command line.
773
# Strip out --no-create and --no-recursion so they do not pile up.
774
# Also quote any args containing shell meta-characters.
775
ac_configure_args=
776
ac_sep=
777
for ac_arg
778
do
779
  case $ac_arg in
780
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
781
  | --no-cr | --no-c) ;;
782
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
783
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
784
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
785
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
786
    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
787
    ac_sep=" " ;;
788
  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
789
     ac_sep=" " ;;
790
  esac
791
  # Get rid of the leading space.
792
done
793
 
794
# When interrupted or exit'd, cleanup temporary files, and complete
795
# config.log.  We remove comments because anyway the quotes in there
796
# would cause problems or look ugly.
797
trap 'exit_status=$?
798
  # Save into config.log some information that might help in debugging.
799
  echo >&5
800
  echo "## ----------------- ##" >&5
801
  echo "## Cache variables.  ##" >&5
802
  echo "## ----------------- ##" >&5
803
  echo >&5
804
  # The following way of writing the cache mishandles newlines in values,
805
{
806
  (set) 2>&1 |
807
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
808
    *ac_space=\ *)
809
      sed -n \
810
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
811
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
812
      ;;
813
    *)
814
      sed -n \
815
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
816
      ;;
817
    esac;
818
} >&5
819
  sed "/^$/d" confdefs.h >conftest.log
820
  if test -s conftest.log; then
821
    echo >&5
822
    echo "## ------------ ##" >&5
823
    echo "## confdefs.h.  ##" >&5
824
    echo "## ------------ ##" >&5
825
    echo >&5
826
    cat conftest.log >&5
827
  fi
828
  (echo; echo) >&5
829
  test "$ac_signal" != 0 &&
830
    echo "$as_me: caught signal $ac_signal" >&5
831
  echo "$as_me: exit $exit_status" >&5
832
  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
833
    exit $exit_status
834
     ' 0
835
for ac_signal in 1 2 13 15; do
836
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
837
done
838
ac_signal=0
839
 
840
# confdefs.h avoids OS command line length limits that DEFS can exceed.
841
rm -rf conftest* confdefs.h
842
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
843
echo >confdefs.h
844
 
845
# Let the site file select an alternate cache file if it wants to.
846
# Prefer explicitly selected file to automatically selected ones.
847
if test -z "$CONFIG_SITE"; then
848
  if test "x$prefix" != xNONE; then
849
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
850
  else
851
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
852
  fi
853
fi
854
for ac_site_file in $CONFIG_SITE; do
855
  if test -r "$ac_site_file"; then
856
    { echo "$as_me:856: loading site script $ac_site_file" >&5
857
echo "$as_me: loading site script $ac_site_file" >&6;}
858
    cat "$ac_site_file" >&5
859
    . "$ac_site_file"
860
  fi
861
done
862
 
863
if test -r "$cache_file"; then
864
  # Some versions of bash will fail to source /dev/null (special
865
  # files actually), so we avoid doing that.
866
  if test -f "$cache_file"; then
867
    { echo "$as_me:867: loading cache $cache_file" >&5
868
echo "$as_me: loading cache $cache_file" >&6;}
869
    case $cache_file in
870
      [\\/]* | ?:[\\/]* ) . $cache_file;;
871
      *)                      . ./$cache_file;;
872
    esac
873
  fi
874
else
875
  { echo "$as_me:875: creating cache $cache_file" >&5
876
echo "$as_me: creating cache $cache_file" >&6;}
877
  >$cache_file
878
fi
879
 
880
# Check that the precious variables saved in the cache have kept the same
881
# value.
882
ac_cache_corrupted=false
883
for ac_var in `(set) 2>&1 |
884
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
885
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
886
  eval ac_new_set=\$ac_env_${ac_var}_set
887
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
888
  eval ac_new_val="\$ac_env_${ac_var}_value"
889
  case $ac_old_set,$ac_new_set in
890
    set,)
891
      { echo "$as_me:891: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
892
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
893
      ac_cache_corrupted=: ;;
894
    ,set)
895
      { echo "$as_me:895: error: \`$ac_var' was not set in the previous run" >&5
896
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
897
      ac_cache_corrupted=: ;;
898
    ,);;
899
    *)
900
      if test "x$ac_old_val" != "x$ac_new_val"; then
901
        { echo "$as_me:901: error: \`$ac_var' has changed since the previous run:" >&5
902
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
903
        { echo "$as_me:903:   former value:  $ac_old_val" >&5
904
echo "$as_me:   former value:  $ac_old_val" >&2;}
905
        { echo "$as_me:905:   current value: $ac_new_val" >&5
906
echo "$as_me:   current value: $ac_new_val" >&2;}
907
        ac_cache_corrupted=:
908
      fi;;
909
  esac
910
  # Pass precious variables to config.status.  It doesn't matter if
911
  # we pass some twice (in addition to the command line arguments).
912
  if test "$ac_new_set" = set; then
913
    case $ac_new_val in
914
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
915
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
916
      ac_configure_args="$ac_configure_args '$ac_arg'"
917
      ;;
918
    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
919
       ;;
920
    esac
921
  fi
922
done
923
if $ac_cache_corrupted; then
924
  { echo "$as_me:924: error: changes in the environment can compromise the build" >&5
925
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
926
  { { echo "$as_me:926: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
927
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
928
   { (exit 1); exit 1; }; }
929
fi
930
 
931
ac_ext=c
932
ac_cpp='$CPP $CPPFLAGS'
933
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
934
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
935
ac_compiler_gnu=$ac_cv_c_compiler_gnu
936
 
937
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
938
  *c*,-n*) ECHO_N= ECHO_C='
939
' ECHO_T='      ' ;;
940
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
941
  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
942
esac
943
echo "#! $SHELL" >conftest.sh
944
echo  "exit 0"   >>conftest.sh
945
chmod +x conftest.sh
946
if { (echo "$as_me:946: PATH=\".;.\"; conftest.sh") >&5
947
  (PATH=".;."; conftest.sh) 2>&5
948
  ac_status=$?
949
  echo "$as_me:949: \$? = $ac_status" >&5
950
  (exit $ac_status); }; then
951
  ac_path_separator=';'
952
else
953
  ac_path_separator=:
954
fi
955
PATH_SEPARATOR="$ac_path_separator"
956
rm -f conftest.sh
957
 
958
for ac_prog in gmake make
959
do
960
  # Extract the first word of "$ac_prog", so it can be a program name with args.
961
set dummy $ac_prog; ac_word=$2
962
echo "$as_me:962: checking for $ac_word" >&5
963
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
964
if test "${ac_cv_prog_MAKE+set}" = set; then
965
  echo $ECHO_N "(cached) $ECHO_C" >&6
966
else
967
  if test -n "$MAKE"; then
968
  ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
969
else
970
  ac_save_IFS=$IFS; IFS=$ac_path_separator
971
ac_dummy="$PATH"
972
for ac_dir in $ac_dummy; do
973
  IFS=$ac_save_IFS
974
  test -z "$ac_dir" && ac_dir=.
975
  $as_executable_p "$ac_dir/$ac_word" || continue
976
ac_cv_prog_MAKE="$ac_prog"
977
echo "$as_me:977: found $ac_dir/$ac_word" >&5
978
break
979
done
980
 
981
fi
982
fi
983
MAKE=$ac_cv_prog_MAKE
984
if test -n "$MAKE"; then
985
  echo "$as_me:985: result: $MAKE" >&5
986
echo "${ECHO_T}$MAKE" >&6
987
else
988
  echo "$as_me:988: result: no" >&5
989
echo "${ECHO_T}no" >&6
990
fi
991
 
992
  test -n "$MAKE" && break
993
done
994
 
995
ENDIF=endif
996
 
997
RTEMS_TOPdir="../../../..";
998
 
999
test -n "$with_target_subdir" || with_target_subdir="."
1000
 
1001
if test "$with_target_subdir" = "." ; then
1002
# Native
1003
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
1004
else
1005
# Cross
1006
dots=`echo $with_target_subdir|\
1007
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
1008
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
1009
fi
1010
 
1011
if test "$with_target_subdir" = "." ; then
1012
# Native
1013
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
1014
else
1015
# Cross
1016
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
1017
fi
1018
 
1019
echo "$as_me:1019: checking for RTEMS Version" >&5
1020
echo $ECHO_N "checking for RTEMS Version... $ECHO_C" >&6
1021
if test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"; then
1022
  :
1023
else
1024
  { { echo "$as_me:1024: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&5
1025
echo "$as_me: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&2;}
1026
   { (exit 1); exit 1; }; }
1027
fi
1028
 
1029
echo "$as_me:1029: result: ss-20020807" >&5
1030
echo "${ECHO_T}ss-20020807" >&6
1031
 
1032
ac_aux_dir=
1033
for ac_dir in ../../../.. $srcdir/../../../..; do
1034
  if test -f $ac_dir/install-sh; then
1035
    ac_aux_dir=$ac_dir
1036
    ac_install_sh="$ac_aux_dir/install-sh -c"
1037
    break
1038
  elif test -f $ac_dir/install.sh; then
1039
    ac_aux_dir=$ac_dir
1040
    ac_install_sh="$ac_aux_dir/install.sh -c"
1041
    break
1042
  elif test -f $ac_dir/shtool; then
1043
    ac_aux_dir=$ac_dir
1044
    ac_install_sh="$ac_aux_dir/shtool install -c"
1045
    break
1046
  fi
1047
done
1048
if test -z "$ac_aux_dir"; then
1049
  { { echo "$as_me:1049: error: cannot find install-sh or install.sh in ../../../.. $srcdir/../../../.." >&5
1050
echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. $srcdir/../../../.." >&2;}
1051
   { (exit 1); exit 1; }; }
1052
fi
1053
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1054
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1055
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1056
 
1057
# Make sure we can run config.sub.
1058
$ac_config_sub sun4 >/dev/null 2>&1 ||
1059
  { { echo "$as_me:1059: error: cannot run $ac_config_sub" >&5
1060
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1061
   { (exit 1); exit 1; }; }
1062
 
1063
echo "$as_me:1063: checking build system type" >&5
1064
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1065
if test "${ac_cv_build+set}" = set; then
1066
  echo $ECHO_N "(cached) $ECHO_C" >&6
1067
else
1068
  ac_cv_build_alias=$build_alias
1069
test -z "$ac_cv_build_alias" &&
1070
  ac_cv_build_alias=`$ac_config_guess`
1071
test -z "$ac_cv_build_alias" &&
1072
  { { echo "$as_me:1072: error: cannot guess build type; you must specify one" >&5
1073
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1074
   { (exit 1); exit 1; }; }
1075
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1076
  { { echo "$as_me:1076: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1077
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1078
   { (exit 1); exit 1; }; }
1079
 
1080
fi
1081
echo "$as_me:1081: result: $ac_cv_build" >&5
1082
echo "${ECHO_T}$ac_cv_build" >&6
1083
build=$ac_cv_build
1084
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1085
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1086
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1087
 
1088
echo "$as_me:1088: checking host system type" >&5
1089
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1090
if test "${ac_cv_host+set}" = set; then
1091
  echo $ECHO_N "(cached) $ECHO_C" >&6
1092
else
1093
  ac_cv_host_alias=$host_alias
1094
test -z "$ac_cv_host_alias" &&
1095
  ac_cv_host_alias=$ac_cv_build_alias
1096
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1097
  { { echo "$as_me:1097: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1098
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1099
   { (exit 1); exit 1; }; }
1100
 
1101
fi
1102
echo "$as_me:1102: result: $ac_cv_host" >&5
1103
echo "${ECHO_T}$ac_cv_host" >&6
1104
host=$ac_cv_host
1105
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1106
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1107
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1108
 
1109
echo "$as_me:1109: checking target system type" >&5
1110
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1111
if test "${ac_cv_target+set}" = set; then
1112
  echo $ECHO_N "(cached) $ECHO_C" >&6
1113
else
1114
  ac_cv_target_alias=$target_alias
1115
test "x$ac_cv_target_alias" = "x" &&
1116
  ac_cv_target_alias=$ac_cv_host_alias
1117
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1118
  { { echo "$as_me:1118: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1119
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1120
   { (exit 1); exit 1; }; }
1121
 
1122
fi
1123
echo "$as_me:1123: result: $ac_cv_target" >&5
1124
echo "${ECHO_T}$ac_cv_target" >&6
1125
target=$ac_cv_target
1126
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1127
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1128
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1129
 
1130
# The aliases save the names the user supplied, while $host etc.
1131
# will get canonicalized.
1132
test -n "$target_alias" &&
1133
  test "$program_prefix$program_suffix$program_transform_name" = \
1134
    NONENONEs,x,x, &&
1135
  program_prefix=${target_alias}-
1136
echo "$as_me:1136: checking rtems target cpu" >&5
1137
echo $ECHO_N "checking rtems target cpu... $ECHO_C" >&6
1138
case "${target}" in
1139
  # hpux unix port should go here
1140
  i[34567]86-*linux*)           # unix "simulator" port
1141
        RTEMS_CPU=unix
1142
        ;;
1143
  i[34567]86-*freebsd*)         # unix "simulator" port
1144
        RTEMS_CPU=unix
1145
        ;;
1146
  i[34567]86-pc-cygwin*)        # Cygwin is just enough unix like :)
1147
        RTEMS_CPU=unix
1148
        ;;
1149
  no_cpu-*rtems*)
1150
        RTEMS_CPU=no_cpu
1151
        ;;
1152
  sparc-sun-solaris*)           # unix "simulator" port
1153
        RTEMS_CPU=unix
1154
        ;;
1155
  *)
1156
        RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
1157
        ;;
1158
esac
1159
 
1160
echo "$as_me:1160: result: $RTEMS_CPU" >&5
1161
echo "${ECHO_T}$RTEMS_CPU" >&6
1162
 
1163
am__api_version="1.6"
1164
# Find a good install program.  We prefer a C program (faster),
1165
# so one script is as good as another.  But avoid the broken or
1166
# incompatible versions:
1167
# SysV /etc/install, /usr/sbin/install
1168
# SunOS /usr/etc/install
1169
# IRIX /sbin/install
1170
# AIX /bin/install
1171
# AmigaOS /C/install, which installs bootblocks on floppy discs
1172
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1173
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1174
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1175
# ./install, which can be erroneously created by make from ./install.sh.
1176
echo "$as_me:1176: checking for a BSD compatible install" >&5
1177
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1178
if test -z "$INSTALL"; then
1179
if test "${ac_cv_path_install+set}" = set; then
1180
  echo $ECHO_N "(cached) $ECHO_C" >&6
1181
else
1182
    ac_save_IFS=$IFS; IFS=$ac_path_separator
1183
  for ac_dir in $PATH; do
1184
    IFS=$ac_save_IFS
1185
    # Account for people who put trailing slashes in PATH elements.
1186
    case $ac_dir/ in
1187
    / | ./ | .// | /cC/* \
1188
    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
1189
    | /usr/ucb/* ) ;;
1190
    *)
1191
      # OSF1 and SCO ODT 3.0 have their own names for install.
1192
      # Don't use installbsd from OSF since it installs stuff as root
1193
      # by default.
1194
      for ac_prog in ginstall scoinst install; do
1195
        if $as_executable_p "$ac_dir/$ac_prog"; then
1196
          if test $ac_prog = install &&
1197
            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1198
            # AIX install.  It has an incompatible calling convention.
1199
            :
1200
          elif test $ac_prog = install &&
1201
            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1202
            # program-specific install script used by HP pwplus--don't use.
1203
            :
1204
          else
1205
            ac_cv_path_install="$ac_dir/$ac_prog -c"
1206
            break 2
1207
          fi
1208
        fi
1209
      done
1210
      ;;
1211
    esac
1212
  done
1213
 
1214
fi
1215
  if test "${ac_cv_path_install+set}" = set; then
1216
    INSTALL=$ac_cv_path_install
1217
  else
1218
    # As a last resort, use the slow shell script.  We don't cache a
1219
    # path for INSTALL within a source directory, because that will
1220
    # break other packages using the cache if that directory is
1221
    # removed, or if the path is relative.
1222
    INSTALL=$ac_install_sh
1223
  fi
1224
fi
1225
echo "$as_me:1225: result: $INSTALL" >&5
1226
echo "${ECHO_T}$INSTALL" >&6
1227
 
1228
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1229
# It thinks the first close brace ends the variable substitution.
1230
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1231
 
1232
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1233
 
1234
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1235
 
1236
echo "$as_me:1236: checking whether build environment is sane" >&5
1237
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1238
# Just in case
1239
sleep 1
1240
echo timestamp > conftest.file
1241
# Do `set' in a subshell so we don't clobber the current shell's
1242
# arguments.  Must try -L first in case configure is actually a
1243
# symlink; some systems play weird games with the mod time of symlinks
1244
# (eg FreeBSD returns the mod time of the symlink's containing
1245
# directory).
1246
if (
1247
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1248
   if test "$*" = "X"; then
1249
      # -L didn't work.
1250
      set X `ls -t $srcdir/configure conftest.file`
1251
   fi
1252
   rm -f conftest.file
1253
   if test "$*" != "X $srcdir/configure conftest.file" \
1254
      && test "$*" != "X conftest.file $srcdir/configure"; then
1255
 
1256
      # If neither matched, then we have a broken ls.  This can happen
1257
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1258
      # broken ls alias from the environment.  This has actually
1259
      # happened.  Such a system could not be considered "sane".
1260
      { { echo "$as_me:1260: error: ls -t appears to fail.  Make sure there is not a broken
1261
alias in your environment" >&5
1262
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1263
alias in your environment" >&2;}
1264
   { (exit 1); exit 1; }; }
1265
   fi
1266
 
1267
   test "$2" = conftest.file
1268
   )
1269
then
1270
   # Ok.
1271
   :
1272
else
1273
   { { echo "$as_me:1273: error: newly created file is older than distributed files!
1274
Check your system clock" >&5
1275
echo "$as_me: error: newly created file is older than distributed files!
1276
Check your system clock" >&2;}
1277
   { (exit 1); exit 1; }; }
1278
fi
1279
echo "$as_me:1279: result: yes" >&5
1280
echo "${ECHO_T}yes" >&6
1281
test "$program_prefix" != NONE &&
1282
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1283
# Use a double $ so make ignores it.
1284
test "$program_suffix" != NONE &&
1285
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1286
# Double any \ or $.  echo might interpret backslashes.
1287
# By default was `s,x,x', remove it if useless.
1288
cat <<\_ACEOF >conftest.sed
1289
s/[\\$]/&&/g;s/;s,x,x,$//
1290
_ACEOF
1291
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1292
rm conftest.sed
1293
 
1294
# expand $ac_aux_dir to an absolute path
1295
am_aux_dir=`cd $ac_aux_dir && pwd`
1296
 
1297
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1298
# Use eval to expand $SHELL
1299
if eval "$MISSING --run true"; then
1300
  am_missing_run="$MISSING --run "
1301
else
1302
  am_missing_run=
1303
  { echo "$as_me:1303: WARNING: \`missing' script is too old or missing" >&5
1304
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1305
fi
1306
 
1307
for ac_prog in mawk gawk nawk awk
1308
do
1309
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1310
set dummy $ac_prog; ac_word=$2
1311
echo "$as_me:1311: checking for $ac_word" >&5
1312
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1313
if test "${ac_cv_prog_AWK+set}" = set; then
1314
  echo $ECHO_N "(cached) $ECHO_C" >&6
1315
else
1316
  if test -n "$AWK"; then
1317
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1318
else
1319
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1320
ac_dummy="$PATH"
1321
for ac_dir in $ac_dummy; do
1322
  IFS=$ac_save_IFS
1323
  test -z "$ac_dir" && ac_dir=.
1324
  $as_executable_p "$ac_dir/$ac_word" || continue
1325
ac_cv_prog_AWK="$ac_prog"
1326
echo "$as_me:1326: found $ac_dir/$ac_word" >&5
1327
break
1328
done
1329
 
1330
fi
1331
fi
1332
AWK=$ac_cv_prog_AWK
1333
if test -n "$AWK"; then
1334
  echo "$as_me:1334: result: $AWK" >&5
1335
echo "${ECHO_T}$AWK" >&6
1336
else
1337
  echo "$as_me:1337: result: no" >&5
1338
echo "${ECHO_T}no" >&6
1339
fi
1340
 
1341
  test -n "$AWK" && break
1342
done
1343
 
1344
echo "$as_me:1344: checking whether ${MAKE-make} sets \${MAKE}" >&5
1345
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1346
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1347
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1348
  echo $ECHO_N "(cached) $ECHO_C" >&6
1349
else
1350
  cat >conftest.make <<\EOF
1351
all:
1352
        @echo 'ac_maketemp="${MAKE}"'
1353
EOF
1354
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1355
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1356
if test -n "$ac_maketemp"; then
1357
  eval ac_cv_prog_make_${ac_make}_set=yes
1358
else
1359
  eval ac_cv_prog_make_${ac_make}_set=no
1360
fi
1361
rm -f conftest.make
1362
fi
1363
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1364
  echo "$as_me:1364: result: yes" >&5
1365
echo "${ECHO_T}yes" >&6
1366
  SET_MAKE=
1367
else
1368
  echo "$as_me:1368: result: no" >&5
1369
echo "${ECHO_T}no" >&6
1370
  SET_MAKE="MAKE=${MAKE-make}"
1371
fi
1372
 
1373
 # test to see if srcdir already configured
1374
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1375
   test -f $srcdir/config.status; then
1376
  { { echo "$as_me:1376: error: source directory already configured; run \"make distclean\" there first" >&5
1377
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1378
   { (exit 1); exit 1; }; }
1379
fi
1380
 
1381
# Define the identity of the package.
1382
 PACKAGE=rtems-c-src-tests-mptests
1383
 VERSION=ss-20020807
1384
 
1385
# Some tools Automake needs.
1386
 
1387
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1388
 
1389
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1390
 
1391
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1392
 
1393
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1394
 
1395
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1396
 
1397
AMTAR=${AMTAR-"${am_missing_run}tar"}
1398
 
1399
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1400
 
1401
# Installed binaries are usually stripped using `strip' when the user
1402
# run `make install-strip'.  However `strip' might not be the right
1403
# tool to use in cross-compilation environments, therefore Automake
1404
# will honor the `STRIP' environment variable to overrule this program.
1405
if test "$cross_compiling" != no; then
1406
  if test -n "$ac_tool_prefix"; then
1407
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1408
set dummy ${ac_tool_prefix}strip; ac_word=$2
1409
echo "$as_me:1409: checking for $ac_word" >&5
1410
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1411
if test "${ac_cv_prog_STRIP+set}" = set; then
1412
  echo $ECHO_N "(cached) $ECHO_C" >&6
1413
else
1414
  if test -n "$STRIP"; then
1415
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1416
else
1417
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1418
ac_dummy="$PATH"
1419
for ac_dir in $ac_dummy; do
1420
  IFS=$ac_save_IFS
1421
  test -z "$ac_dir" && ac_dir=.
1422
  $as_executable_p "$ac_dir/$ac_word" || continue
1423
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1424
echo "$as_me:1424: found $ac_dir/$ac_word" >&5
1425
break
1426
done
1427
 
1428
fi
1429
fi
1430
STRIP=$ac_cv_prog_STRIP
1431
if test -n "$STRIP"; then
1432
  echo "$as_me:1432: result: $STRIP" >&5
1433
echo "${ECHO_T}$STRIP" >&6
1434
else
1435
  echo "$as_me:1435: result: no" >&5
1436
echo "${ECHO_T}no" >&6
1437
fi
1438
 
1439
fi
1440
if test -z "$ac_cv_prog_STRIP"; then
1441
  ac_ct_STRIP=$STRIP
1442
  # Extract the first word of "strip", so it can be a program name with args.
1443
set dummy strip; ac_word=$2
1444
echo "$as_me:1444: checking for $ac_word" >&5
1445
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1446
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1447
  echo $ECHO_N "(cached) $ECHO_C" >&6
1448
else
1449
  if test -n "$ac_ct_STRIP"; then
1450
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1451
else
1452
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1453
ac_dummy="$PATH"
1454
for ac_dir in $ac_dummy; do
1455
  IFS=$ac_save_IFS
1456
  test -z "$ac_dir" && ac_dir=.
1457
  $as_executable_p "$ac_dir/$ac_word" || continue
1458
ac_cv_prog_ac_ct_STRIP="strip"
1459
echo "$as_me:1459: found $ac_dir/$ac_word" >&5
1460
break
1461
done
1462
 
1463
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1464
fi
1465
fi
1466
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1467
if test -n "$ac_ct_STRIP"; then
1468
  echo "$as_me:1468: result: $ac_ct_STRIP" >&5
1469
echo "${ECHO_T}$ac_ct_STRIP" >&6
1470
else
1471
  echo "$as_me:1471: result: no" >&5
1472
echo "${ECHO_T}no" >&6
1473
fi
1474
 
1475
  STRIP=$ac_ct_STRIP
1476
else
1477
  STRIP="$ac_cv_prog_STRIP"
1478
fi
1479
 
1480
fi
1481
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1482
 
1483
# We need awk for the "check" target.  The system "awk" is bad on
1484
# some platforms.
1485
 
1486
echo "$as_me:1486: checking whether to enable maintainer-specific portions of Makefiles" >&5
1487
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1488
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1489
if test "${enable_maintainer_mode+set}" = set; then
1490
  enableval="$enable_maintainer_mode"
1491
  USE_MAINTAINER_MODE=$enableval
1492
else
1493
  USE_MAINTAINER_MODE=no
1494
fi;
1495
  echo "$as_me:1495: result: $USE_MAINTAINER_MODE" >&5
1496
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1497
 
1498
if test $USE_MAINTAINER_MODE = yes; then
1499
  MAINTAINER_MODE_TRUE=
1500
  MAINTAINER_MODE_FALSE='#'
1501
else
1502
  MAINTAINER_MODE_TRUE='#'
1503
  MAINTAINER_MODE_FALSE=
1504
fi
1505
 
1506
  MAINT=$MAINTAINER_MODE_TRUE
1507
 
1508
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
1509
if test "${enable_bare_cpu_cflags+set}" = set; then
1510
  enableval="$enable_bare_cpu_cflags"
1511
  case "${enableval}" in
1512
  no) BARE_CPU_CFLAGS="" ;;
1513
  *)    BARE_CPU_CFLAGS="${enableval}" ;;
1514
esac
1515
else
1516
  BARE_CPU_CFLAGS=""
1517
fi;
1518
 
1519
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
1520
if test "${enable_bare_cpu_model+set}" = set; then
1521
  enableval="$enable_bare_cpu_model"
1522
  case "${enableval}" in
1523
  no)   BARE_CPU_MODEL="" ;;
1524
  *)    BARE_CPU_MODEL="${enableval}" ;;
1525
esac
1526
else
1527
  BARE_CPU_MODEL=""
1528
fi;
1529
 
1530
echo "$as_me:1530: checking for RTEMS_BSP" >&5
1531
echo $ECHO_N "checking for RTEMS_BSP... $ECHO_C" >&6
1532
if test "${rtems_cv_RTEMS_BSP+set}" = set; then
1533
  echo $ECHO_N "(cached) $ECHO_C" >&6
1534
else
1535
    test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
1536
 
1537
fi
1538
if test -z "$rtems_cv_RTEMS_BSP"; then
1539
  { { echo "$as_me:1539: error: Missing RTEMS_BSP" >&5
1540
echo "$as_me: error: Missing RTEMS_BSP" >&2;}
1541
   { (exit 1); exit 1; }; }
1542
fi
1543
RTEMS_BSP="$rtems_cv_RTEMS_BSP"
1544
echo "$as_me:1544: result: ${RTEMS_BSP}" >&5
1545
echo "${ECHO_T}${RTEMS_BSP}" >&6
1546
 
1547
RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
1548
 
1549
GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
1550
 
1551
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
1552
 
1553
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
1554
 
1555
RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP
1556
 
1557
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
1558
if test "${enable_bare_cpu_cflags+set}" = set; then
1559
  enableval="$enable_bare_cpu_cflags"
1560
  case "${enableval}" in
1561
  no) BARE_CPU_CFLAGS="" ;;
1562
  *)    BARE_CPU_CFLAGS="${enableval}" ;;
1563
esac
1564
else
1565
  BARE_CPU_CFLAGS=""
1566
fi;
1567
 
1568
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
1569
if test "${enable_bare_cpu_model+set}" = set; then
1570
  enableval="$enable_bare_cpu_model"
1571
  case "${enableval}" in
1572
  no)   BARE_CPU_MODEL="" ;;
1573
  *)    BARE_CPU_MODEL="${enableval}" ;;
1574
esac
1575
else
1576
  BARE_CPU_MODEL=""
1577
fi;
1578
 
1579
if false; then
1580
  MULTILIB_TRUE=
1581
  MULTILIB_FALSE='#'
1582
else
1583
  MULTILIB_TRUE='#'
1584
  MULTILIB_FALSE=
1585
fi
1586
 
1587
includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
1588
libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
1589
 
1590
bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib"
1591
 
1592
# Is this a supported CPU?
1593
echo "$as_me:1593: checking if cpu $RTEMS_CPU is supported" >&5
1594
echo $ECHO_N "checking if cpu $RTEMS_CPU is supported... $ECHO_C" >&6
1595
# FIXME: Temporary hack
1596
if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then
1597
  echo "$as_me:1597: result: yes" >&5
1598
echo "${ECHO_T}yes" >&6
1599
else
1600
  { { echo "$as_me:1600: error: no" >&5
1601
echo "$as_me: error: no" >&2;}
1602
   { (exit 1); exit 1; }; }
1603
fi
1604
 
1605
RTEMS_HOST=$host_os
1606
case "${target}" in
1607
  # hpux unix port should go here
1608
  i[34567]86-*linux*)          # unix "simulator" port
1609
        RTEMS_HOST=Linux
1610
        ;;
1611
  i[34567]86-*freebsd*)         # unix "simulator" port
1612
        RTEMS_HOST=FreeBSD
1613
        ;;
1614
  i[34567]86-pc-cygwin*)        # Cygwin is just enough unix like :)
1615
        RTEMS_HOST=Cygwin
1616
        ;;
1617
  sparc-sun-solaris*)           # unix "simulator" port
1618
        RTEMS_HOST=Solaris
1619
        ;;
1620
  *)
1621
        ;;
1622
esac
1623
 
1624
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
1625
 
1626
rm -f .deps 2>/dev/null
1627
mkdir .deps 2>/dev/null
1628
if test -d .deps; then
1629
  DEPDIR=.deps
1630
else
1631
  # MS-DOS does not allow filenames that begin with a dot.
1632
  DEPDIR=_deps
1633
fi
1634
rmdir .deps 2>/dev/null
1635
 
1636
ac_config_commands="$ac_config_commands depfiles"
1637
 
1638
am_make=${MAKE-make}
1639
cat > confinc << 'END'
1640
doit:
1641
        @echo done
1642
END
1643
# If we don't find an include directive, just comment out the code.
1644
echo "$as_me:1644: checking for style of include used by $am_make" >&5
1645
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1646
am__include="#"
1647
am__quote=
1648
_am_result=none
1649
# First try GNU make style include.
1650
echo "include confinc" > confmf
1651
# We grep out `Entering directory' and `Leaving directory'
1652
# messages which can occur if `w' ends up in MAKEFLAGS.
1653
# In particular we don't look at `^make:' because GNU make might
1654
# be invoked under some other name (usually "gmake"), in which
1655
# case it prints its new name instead of `make'.
1656
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1657
   am__include=include
1658
   am__quote=
1659
   _am_result=GNU
1660
fi
1661
# Now try BSD make style include.
1662
if test "$am__include" = "#"; then
1663
   echo '.include "confinc"' > confmf
1664
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1665
      am__include=.include
1666
      am__quote="\""
1667
      _am_result=BSD
1668
   fi
1669
fi
1670
 
1671
echo "$as_me:1671: result: $_am_result" >&5
1672
echo "${ECHO_T}$_am_result" >&6
1673
rm -f confinc confmf
1674
 
1675
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1676
if test "${enable_dependency_tracking+set}" = set; then
1677
  enableval="$enable_dependency_tracking"
1678
 
1679
fi;
1680
if test "x$enable_dependency_tracking" != xno; then
1681
  am_depcomp="$ac_aux_dir/depcomp"
1682
  AMDEPBACKSLASH='\'
1683
fi
1684
 
1685
if test "x$enable_dependency_tracking" != xno; then
1686
  AMDEP_TRUE=
1687
  AMDEP_FALSE='#'
1688
else
1689
  AMDEP_TRUE='#'
1690
  AMDEP_FALSE=
1691
fi
1692
 
1693
  if test "x$build_alias" != "x$host_alias"; then
1694
  rtems_tool_prefix=${ac_tool_prefix}
1695
fi
1696
 
1697
  # Extract the first word of "${rtems_tool_prefix}gcc", so it can be a program name with args.
1698
set dummy ${rtems_tool_prefix}gcc; ac_word=$2
1699
echo "$as_me:1699: checking for $ac_word" >&5
1700
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1701
if test "${ac_cv_prog_CC+set}" = set; then
1702
  echo $ECHO_N "(cached) $ECHO_C" >&6
1703
else
1704
  if test -n "$CC"; then
1705
  ac_cv_prog_CC="$CC" # Let the user override the test.
1706
else
1707
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1708
ac_dummy="$PATH"
1709
for ac_dir in $ac_dummy; do
1710
  IFS=$ac_save_IFS
1711
  test -z "$ac_dir" && ac_dir=.
1712
  $as_executable_p "$ac_dir/$ac_word" || continue
1713
ac_cv_prog_CC="${rtems_tool_prefix}gcc"
1714
echo "$as_me:1714: found $ac_dir/$ac_word" >&5
1715
break
1716
done
1717
 
1718
fi
1719
fi
1720
CC=$ac_cv_prog_CC
1721
if test -n "$CC"; then
1722
  echo "$as_me:1722: result: $CC" >&5
1723
echo "${ECHO_T}$CC" >&6
1724
else
1725
  echo "$as_me:1725: result: no" >&5
1726
echo "${ECHO_T}no" >&6
1727
fi
1728
 
1729
test -z "$CC" && \
1730
  { { echo "$as_me:1730: error: no acceptable cc found in \$PATH" >&5
1731
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1732
   { (exit 1); exit 1; }; }
1733
ac_ext=c
1734
ac_cpp='$CPP $CPPFLAGS'
1735
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1736
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1737
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1738
if test -n "$ac_tool_prefix"; then
1739
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1740
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1741
echo "$as_me:1741: checking for $ac_word" >&5
1742
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1743
if test "${ac_cv_prog_CC+set}" = set; then
1744
  echo $ECHO_N "(cached) $ECHO_C" >&6
1745
else
1746
  if test -n "$CC"; then
1747
  ac_cv_prog_CC="$CC" # Let the user override the test.
1748
else
1749
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1750
ac_dummy="$PATH"
1751
for ac_dir in $ac_dummy; do
1752
  IFS=$ac_save_IFS
1753
  test -z "$ac_dir" && ac_dir=.
1754
  $as_executable_p "$ac_dir/$ac_word" || continue
1755
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1756
echo "$as_me:1756: found $ac_dir/$ac_word" >&5
1757
break
1758
done
1759
 
1760
fi
1761
fi
1762
CC=$ac_cv_prog_CC
1763
if test -n "$CC"; then
1764
  echo "$as_me:1764: result: $CC" >&5
1765
echo "${ECHO_T}$CC" >&6
1766
else
1767
  echo "$as_me:1767: result: no" >&5
1768
echo "${ECHO_T}no" >&6
1769
fi
1770
 
1771
fi
1772
if test -z "$ac_cv_prog_CC"; then
1773
  ac_ct_CC=$CC
1774
  # Extract the first word of "gcc", so it can be a program name with args.
1775
set dummy gcc; ac_word=$2
1776
echo "$as_me:1776: checking for $ac_word" >&5
1777
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1778
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1779
  echo $ECHO_N "(cached) $ECHO_C" >&6
1780
else
1781
  if test -n "$ac_ct_CC"; then
1782
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1783
else
1784
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1785
ac_dummy="$PATH"
1786
for ac_dir in $ac_dummy; do
1787
  IFS=$ac_save_IFS
1788
  test -z "$ac_dir" && ac_dir=.
1789
  $as_executable_p "$ac_dir/$ac_word" || continue
1790
ac_cv_prog_ac_ct_CC="gcc"
1791
echo "$as_me:1791: found $ac_dir/$ac_word" >&5
1792
break
1793
done
1794
 
1795
fi
1796
fi
1797
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1798
if test -n "$ac_ct_CC"; then
1799
  echo "$as_me:1799: result: $ac_ct_CC" >&5
1800
echo "${ECHO_T}$ac_ct_CC" >&6
1801
else
1802
  echo "$as_me:1802: result: no" >&5
1803
echo "${ECHO_T}no" >&6
1804
fi
1805
 
1806
  CC=$ac_ct_CC
1807
else
1808
  CC="$ac_cv_prog_CC"
1809
fi
1810
 
1811
if test -z "$CC"; then
1812
  if test -n "$ac_tool_prefix"; then
1813
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1814
set dummy ${ac_tool_prefix}cc; ac_word=$2
1815
echo "$as_me:1815: checking for $ac_word" >&5
1816
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1817
if test "${ac_cv_prog_CC+set}" = set; then
1818
  echo $ECHO_N "(cached) $ECHO_C" >&6
1819
else
1820
  if test -n "$CC"; then
1821
  ac_cv_prog_CC="$CC" # Let the user override the test.
1822
else
1823
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1824
ac_dummy="$PATH"
1825
for ac_dir in $ac_dummy; do
1826
  IFS=$ac_save_IFS
1827
  test -z "$ac_dir" && ac_dir=.
1828
  $as_executable_p "$ac_dir/$ac_word" || continue
1829
ac_cv_prog_CC="${ac_tool_prefix}cc"
1830
echo "$as_me:1830: found $ac_dir/$ac_word" >&5
1831
break
1832
done
1833
 
1834
fi
1835
fi
1836
CC=$ac_cv_prog_CC
1837
if test -n "$CC"; then
1838
  echo "$as_me:1838: result: $CC" >&5
1839
echo "${ECHO_T}$CC" >&6
1840
else
1841
  echo "$as_me:1841: result: no" >&5
1842
echo "${ECHO_T}no" >&6
1843
fi
1844
 
1845
fi
1846
if test -z "$ac_cv_prog_CC"; then
1847
  ac_ct_CC=$CC
1848
  # Extract the first word of "cc", so it can be a program name with args.
1849
set dummy cc; ac_word=$2
1850
echo "$as_me:1850: checking for $ac_word" >&5
1851
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1852
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1853
  echo $ECHO_N "(cached) $ECHO_C" >&6
1854
else
1855
  if test -n "$ac_ct_CC"; then
1856
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1857
else
1858
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1859
ac_dummy="$PATH"
1860
for ac_dir in $ac_dummy; do
1861
  IFS=$ac_save_IFS
1862
  test -z "$ac_dir" && ac_dir=.
1863
  $as_executable_p "$ac_dir/$ac_word" || continue
1864
ac_cv_prog_ac_ct_CC="cc"
1865
echo "$as_me:1865: found $ac_dir/$ac_word" >&5
1866
break
1867
done
1868
 
1869
fi
1870
fi
1871
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1872
if test -n "$ac_ct_CC"; then
1873
  echo "$as_me:1873: result: $ac_ct_CC" >&5
1874
echo "${ECHO_T}$ac_ct_CC" >&6
1875
else
1876
  echo "$as_me:1876: result: no" >&5
1877
echo "${ECHO_T}no" >&6
1878
fi
1879
 
1880
  CC=$ac_ct_CC
1881
else
1882
  CC="$ac_cv_prog_CC"
1883
fi
1884
 
1885
fi
1886
if test -z "$CC"; then
1887
  # Extract the first word of "cc", so it can be a program name with args.
1888
set dummy cc; ac_word=$2
1889
echo "$as_me:1889: checking for $ac_word" >&5
1890
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891
if test "${ac_cv_prog_CC+set}" = set; then
1892
  echo $ECHO_N "(cached) $ECHO_C" >&6
1893
else
1894
  if test -n "$CC"; then
1895
  ac_cv_prog_CC="$CC" # Let the user override the test.
1896
else
1897
  ac_prog_rejected=no
1898
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1899
ac_dummy="$PATH"
1900
for ac_dir in $ac_dummy; do
1901
  IFS=$ac_save_IFS
1902
  test -z "$ac_dir" && ac_dir=.
1903
  $as_executable_p "$ac_dir/$ac_word" || continue
1904
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1905
  ac_prog_rejected=yes
1906
  continue
1907
fi
1908
ac_cv_prog_CC="cc"
1909
echo "$as_me:1909: found $ac_dir/$ac_word" >&5
1910
break
1911
done
1912
 
1913
if test $ac_prog_rejected = yes; then
1914
  # We found a bogon in the path, so make sure we never use it.
1915
  set dummy $ac_cv_prog_CC
1916
  shift
1917
  if test $# != 0; then
1918
    # We chose a different compiler from the bogus one.
1919
    # However, it has the same basename, so the bogon will be chosen
1920
    # first if we set CC to just the basename; use the full file name.
1921
    shift
1922
    set dummy "$ac_dir/$ac_word" ${1+"$@"}
1923
    shift
1924
    ac_cv_prog_CC="$@"
1925
  fi
1926
fi
1927
fi
1928
fi
1929
CC=$ac_cv_prog_CC
1930
if test -n "$CC"; then
1931
  echo "$as_me:1931: result: $CC" >&5
1932
echo "${ECHO_T}$CC" >&6
1933
else
1934
  echo "$as_me:1934: result: no" >&5
1935
echo "${ECHO_T}no" >&6
1936
fi
1937
 
1938
fi
1939
if test -z "$CC"; then
1940
  if test -n "$ac_tool_prefix"; then
1941
  for ac_prog in cl
1942
  do
1943
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1944
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1945
echo "$as_me:1945: checking for $ac_word" >&5
1946
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1947
if test "${ac_cv_prog_CC+set}" = set; then
1948
  echo $ECHO_N "(cached) $ECHO_C" >&6
1949
else
1950
  if test -n "$CC"; then
1951
  ac_cv_prog_CC="$CC" # Let the user override the test.
1952
else
1953
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1954
ac_dummy="$PATH"
1955
for ac_dir in $ac_dummy; do
1956
  IFS=$ac_save_IFS
1957
  test -z "$ac_dir" && ac_dir=.
1958
  $as_executable_p "$ac_dir/$ac_word" || continue
1959
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1960
echo "$as_me:1960: found $ac_dir/$ac_word" >&5
1961
break
1962
done
1963
 
1964
fi
1965
fi
1966
CC=$ac_cv_prog_CC
1967
if test -n "$CC"; then
1968
  echo "$as_me:1968: result: $CC" >&5
1969
echo "${ECHO_T}$CC" >&6
1970
else
1971
  echo "$as_me:1971: result: no" >&5
1972
echo "${ECHO_T}no" >&6
1973
fi
1974
 
1975
    test -n "$CC" && break
1976
  done
1977
fi
1978
if test -z "$CC"; then
1979
  ac_ct_CC=$CC
1980
  for ac_prog in cl
1981
do
1982
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1983
set dummy $ac_prog; ac_word=$2
1984
echo "$as_me:1984: checking for $ac_word" >&5
1985
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1986
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1987
  echo $ECHO_N "(cached) $ECHO_C" >&6
1988
else
1989
  if test -n "$ac_ct_CC"; then
1990
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1991
else
1992
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1993
ac_dummy="$PATH"
1994
for ac_dir in $ac_dummy; do
1995
  IFS=$ac_save_IFS
1996
  test -z "$ac_dir" && ac_dir=.
1997
  $as_executable_p "$ac_dir/$ac_word" || continue
1998
ac_cv_prog_ac_ct_CC="$ac_prog"
1999
echo "$as_me:1999: found $ac_dir/$ac_word" >&5
2000
break
2001
done
2002
 
2003
fi
2004
fi
2005
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2006
if test -n "$ac_ct_CC"; then
2007
  echo "$as_me:2007: result: $ac_ct_CC" >&5
2008
echo "${ECHO_T}$ac_ct_CC" >&6
2009
else
2010
  echo "$as_me:2010: result: no" >&5
2011
echo "${ECHO_T}no" >&6
2012
fi
2013
 
2014
  test -n "$ac_ct_CC" && break
2015
done
2016
 
2017
  CC=$ac_ct_CC
2018
fi
2019
 
2020
fi
2021
 
2022
test -z "$CC" && { { echo "$as_me:2022: error: no acceptable cc found in \$PATH" >&5
2023
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2024
   { (exit 1); exit 1; }; }
2025
 
2026
# Provide some information about the compiler.
2027
echo "$as_me:2027:" \
2028
     "checking for C compiler version" >&5
2029
ac_compiler=`set X $ac_compile; echo $2`
2030
{ (eval echo "$as_me:2030: \"$ac_compiler --version &5\"") >&5
2031
  (eval $ac_compiler --version &5) 2>&5
2032
  ac_status=$?
2033
  echo "$as_me:2033: \$? = $ac_status" >&5
2034
  (exit $ac_status); }
2035
{ (eval echo "$as_me:2035: \"$ac_compiler -v &5\"") >&5
2036
  (eval $ac_compiler -v &5) 2>&5
2037
  ac_status=$?
2038
  echo "$as_me:2038: \$? = $ac_status" >&5
2039
  (exit $ac_status); }
2040
{ (eval echo "$as_me:2040: \"$ac_compiler -V &5\"") >&5
2041
  (eval $ac_compiler -V &5) 2>&5
2042
  ac_status=$?
2043
  echo "$as_me:2043: \$? = $ac_status" >&5
2044
  (exit $ac_status); }
2045
 
2046
cat >conftest.$ac_ext <<_ACEOF
2047
#line 2047 "configure"
2048
#include "confdefs.h"
2049
 
2050
int
2051
main ()
2052
{
2053
 
2054
  ;
2055
  return 0;
2056
}
2057
_ACEOF
2058
ac_clean_files_save=$ac_clean_files
2059
ac_clean_files="$ac_clean_files a.out a.exe"
2060
# Try to create an executable without -o first, disregard a.out.
2061
# It will help us diagnose broken compilers, and finding out an intuition
2062
# of exeext.
2063
echo "$as_me:2063: checking for C compiler default output" >&5
2064
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2065
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2066
if { (eval echo "$as_me:2066: \"$ac_link_default\"") >&5
2067
  (eval $ac_link_default) 2>&5
2068
  ac_status=$?
2069
  echo "$as_me:2069: \$? = $ac_status" >&5
2070
  (exit $ac_status); }; then
2071
  # Find the output, starting from the most likely.  This scheme is
2072
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2073
# resort.
2074
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2075
                ls a.out conftest 2>/dev/null;
2076
                ls a.* conftest.* 2>/dev/null`; do
2077
  case $ac_file in
2078
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2079
    a.out ) # We found the default executable, but exeext='' is most
2080
            # certainly right.
2081
            break;;
2082
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2083
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2084
          export ac_cv_exeext
2085
          break;;
2086
    * ) break;;
2087
  esac
2088
done
2089
else
2090
  echo "$as_me: failed program was:" >&5
2091
cat conftest.$ac_ext >&5
2092
{ { echo "$as_me:2092: error: C compiler cannot create executables" >&5
2093
echo "$as_me: error: C compiler cannot create executables" >&2;}
2094
   { (exit 77); exit 77; }; }
2095
fi
2096
 
2097
ac_exeext=$ac_cv_exeext
2098
echo "$as_me:2098: result: $ac_file" >&5
2099
echo "${ECHO_T}$ac_file" >&6
2100
 
2101
# Check the compiler produces executables we can run.  If not, either
2102
# the compiler is broken, or we cross compile.
2103
echo "$as_me:2103: checking whether the C compiler works" >&5
2104
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2105
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2106
# If not cross compiling, check that we can run a simple program.
2107
if test "$cross_compiling" != yes; then
2108
  if { ac_try='./$ac_file'
2109
  { (eval echo "$as_me:2109: \"$ac_try\"") >&5
2110
  (eval $ac_try) 2>&5
2111
  ac_status=$?
2112
  echo "$as_me:2112: \$? = $ac_status" >&5
2113
  (exit $ac_status); }; }; then
2114
    cross_compiling=no
2115
  else
2116
    if test "$cross_compiling" = maybe; then
2117
        cross_compiling=yes
2118
    else
2119
        { { echo "$as_me:2119: error: cannot run C compiled programs.
2120
If you meant to cross compile, use \`--host'." >&5
2121
echo "$as_me: error: cannot run C compiled programs.
2122
If you meant to cross compile, use \`--host'." >&2;}
2123
   { (exit 1); exit 1; }; }
2124
    fi
2125
  fi
2126
fi
2127
echo "$as_me:2127: result: yes" >&5
2128
echo "${ECHO_T}yes" >&6
2129
 
2130
rm -f a.out a.exe conftest$ac_cv_exeext
2131
ac_clean_files=$ac_clean_files_save
2132
# Check the compiler produces executables we can run.  If not, either
2133
# the compiler is broken, or we cross compile.
2134
echo "$as_me:2134: checking whether we are cross compiling" >&5
2135
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2136
echo "$as_me:2136: result: $cross_compiling" >&5
2137
echo "${ECHO_T}$cross_compiling" >&6
2138
 
2139
echo "$as_me:2139: checking for executable suffix" >&5
2140
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2141
if { (eval echo "$as_me:2141: \"$ac_link\"") >&5
2142
  (eval $ac_link) 2>&5
2143
  ac_status=$?
2144
  echo "$as_me:2144: \$? = $ac_status" >&5
2145
  (exit $ac_status); }; then
2146
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2147
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2148
# work properly (i.e., refer to `conftest.exe'), while it won't with
2149
# `rm'.
2150
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2151
  case $ac_file in
2152
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2153
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2154
          export ac_cv_exeext
2155
          break;;
2156
    * ) break;;
2157
  esac
2158
done
2159
else
2160
  { { echo "$as_me:2160: error: cannot compute EXEEXT: cannot compile and link" >&5
2161
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2162
   { (exit 1); exit 1; }; }
2163
fi
2164
 
2165
rm -f conftest$ac_cv_exeext
2166
echo "$as_me:2166: result: $ac_cv_exeext" >&5
2167
echo "${ECHO_T}$ac_cv_exeext" >&6
2168
 
2169
rm -f conftest.$ac_ext
2170
EXEEXT=$ac_cv_exeext
2171
ac_exeext=$EXEEXT
2172
echo "$as_me:2172: checking for object suffix" >&5
2173
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2174
if test "${ac_cv_objext+set}" = set; then
2175
  echo $ECHO_N "(cached) $ECHO_C" >&6
2176
else
2177
  cat >conftest.$ac_ext <<_ACEOF
2178
#line 2178 "configure"
2179
#include "confdefs.h"
2180
 
2181
int
2182
main ()
2183
{
2184
 
2185
  ;
2186
  return 0;
2187
}
2188
_ACEOF
2189
rm -f conftest.o conftest.obj
2190
if { (eval echo "$as_me:2190: \"$ac_compile\"") >&5
2191
  (eval $ac_compile) 2>&5
2192
  ac_status=$?
2193
  echo "$as_me:2193: \$? = $ac_status" >&5
2194
  (exit $ac_status); }; then
2195
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2196
  case $ac_file in
2197
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2198
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2199
       break;;
2200
  esac
2201
done
2202
else
2203
  echo "$as_me: failed program was:" >&5
2204
cat conftest.$ac_ext >&5
2205
{ { echo "$as_me:2205: error: cannot compute OBJEXT: cannot compile" >&5
2206
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2207
   { (exit 1); exit 1; }; }
2208
fi
2209
 
2210
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2211
fi
2212
echo "$as_me:2212: result: $ac_cv_objext" >&5
2213
echo "${ECHO_T}$ac_cv_objext" >&6
2214
OBJEXT=$ac_cv_objext
2215
ac_objext=$OBJEXT
2216
echo "$as_me:2216: checking whether we are using the GNU C compiler" >&5
2217
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2218
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2219
  echo $ECHO_N "(cached) $ECHO_C" >&6
2220
else
2221
  cat >conftest.$ac_ext <<_ACEOF
2222
#line 2222 "configure"
2223
#include "confdefs.h"
2224
 
2225
int
2226
main ()
2227
{
2228
#ifndef __GNUC__
2229
       choke me
2230
#endif
2231
 
2232
  ;
2233
  return 0;
2234
}
2235
_ACEOF
2236
rm -f conftest.$ac_objext
2237
if { (eval echo "$as_me:2237: \"$ac_compile\"") >&5
2238
  (eval $ac_compile) 2>&5
2239
  ac_status=$?
2240
  echo "$as_me:2240: \$? = $ac_status" >&5
2241
  (exit $ac_status); } &&
2242
         { ac_try='test -s conftest.$ac_objext'
2243
  { (eval echo "$as_me:2243: \"$ac_try\"") >&5
2244
  (eval $ac_try) 2>&5
2245
  ac_status=$?
2246
  echo "$as_me:2246: \$? = $ac_status" >&5
2247
  (exit $ac_status); }; }; then
2248
  ac_compiler_gnu=yes
2249
else
2250
  echo "$as_me: failed program was:" >&5
2251
cat conftest.$ac_ext >&5
2252
ac_compiler_gnu=no
2253
fi
2254
rm -f conftest.$ac_objext conftest.$ac_ext
2255
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2256
 
2257
fi
2258
echo "$as_me:2258: result: $ac_cv_c_compiler_gnu" >&5
2259
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2260
GCC=`test $ac_compiler_gnu = yes && echo yes`
2261
ac_test_CFLAGS=${CFLAGS+set}
2262
ac_save_CFLAGS=$CFLAGS
2263
CFLAGS="-g"
2264
echo "$as_me:2264: checking whether $CC accepts -g" >&5
2265
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2266
if test "${ac_cv_prog_cc_g+set}" = set; then
2267
  echo $ECHO_N "(cached) $ECHO_C" >&6
2268
else
2269
  cat >conftest.$ac_ext <<_ACEOF
2270
#line 2270 "configure"
2271
#include "confdefs.h"
2272
 
2273
int
2274
main ()
2275
{
2276
 
2277
  ;
2278
  return 0;
2279
}
2280
_ACEOF
2281
rm -f conftest.$ac_objext
2282
if { (eval echo "$as_me:2282: \"$ac_compile\"") >&5
2283
  (eval $ac_compile) 2>&5
2284
  ac_status=$?
2285
  echo "$as_me:2285: \$? = $ac_status" >&5
2286
  (exit $ac_status); } &&
2287
         { ac_try='test -s conftest.$ac_objext'
2288
  { (eval echo "$as_me:2288: \"$ac_try\"") >&5
2289
  (eval $ac_try) 2>&5
2290
  ac_status=$?
2291
  echo "$as_me:2291: \$? = $ac_status" >&5
2292
  (exit $ac_status); }; }; then
2293
  ac_cv_prog_cc_g=yes
2294
else
2295
  echo "$as_me: failed program was:" >&5
2296
cat conftest.$ac_ext >&5
2297
ac_cv_prog_cc_g=no
2298
fi
2299
rm -f conftest.$ac_objext conftest.$ac_ext
2300
fi
2301
echo "$as_me:2301: result: $ac_cv_prog_cc_g" >&5
2302
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2303
if test "$ac_test_CFLAGS" = set; then
2304
  CFLAGS=$ac_save_CFLAGS
2305
elif test $ac_cv_prog_cc_g = yes; then
2306
  if test "$GCC" = yes; then
2307
    CFLAGS="-g -O2"
2308
  else
2309
    CFLAGS="-g"
2310
  fi
2311
else
2312
  if test "$GCC" = yes; then
2313
    CFLAGS="-O2"
2314
  else
2315
    CFLAGS=
2316
  fi
2317
fi
2318
# Some people use a C++ compiler to compile C.  Since we use `exit',
2319
# in C++ we need to declare it.  In case someone uses the same compiler
2320
# for both compiling C and C++ we need to have the C++ compiler decide
2321
# the declaration of exit, since it's the most demanding environment.
2322
cat >conftest.$ac_ext <<_ACEOF
2323
#ifndef __cplusplus
2324
  choke me
2325
#endif
2326
_ACEOF
2327
rm -f conftest.$ac_objext
2328
if { (eval echo "$as_me:2328: \"$ac_compile\"") >&5
2329
  (eval $ac_compile) 2>&5
2330
  ac_status=$?
2331
  echo "$as_me:2331: \$? = $ac_status" >&5
2332
  (exit $ac_status); } &&
2333
         { ac_try='test -s conftest.$ac_objext'
2334
  { (eval echo "$as_me:2334: \"$ac_try\"") >&5
2335
  (eval $ac_try) 2>&5
2336
  ac_status=$?
2337
  echo "$as_me:2337: \$? = $ac_status" >&5
2338
  (exit $ac_status); }; }; then
2339
  for ac_declaration in \
2340
   ''\
2341
   '#include ' \
2342
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2343
   'extern "C" void std::exit (int); using std::exit;' \
2344
   'extern "C" void exit (int) throw ();' \
2345
   'extern "C" void exit (int);' \
2346
   'void exit (int);'
2347
do
2348
  cat >conftest.$ac_ext <<_ACEOF
2349
#line 2349 "configure"
2350
#include "confdefs.h"
2351
#include 
2352
$ac_declaration
2353
int
2354
main ()
2355
{
2356
exit (42);
2357
  ;
2358
  return 0;
2359
}
2360
_ACEOF
2361
rm -f conftest.$ac_objext
2362
if { (eval echo "$as_me:2362: \"$ac_compile\"") >&5
2363
  (eval $ac_compile) 2>&5
2364
  ac_status=$?
2365
  echo "$as_me:2365: \$? = $ac_status" >&5
2366
  (exit $ac_status); } &&
2367
         { ac_try='test -s conftest.$ac_objext'
2368
  { (eval echo "$as_me:2368: \"$ac_try\"") >&5
2369
  (eval $ac_try) 2>&5
2370
  ac_status=$?
2371
  echo "$as_me:2371: \$? = $ac_status" >&5
2372
  (exit $ac_status); }; }; then
2373
  :
2374
else
2375
  echo "$as_me: failed program was:" >&5
2376
cat conftest.$ac_ext >&5
2377
continue
2378
fi
2379
rm -f conftest.$ac_objext conftest.$ac_ext
2380
  cat >conftest.$ac_ext <<_ACEOF
2381
#line 2381 "configure"
2382
#include "confdefs.h"
2383
$ac_declaration
2384
int
2385
main ()
2386
{
2387
exit (42);
2388
  ;
2389
  return 0;
2390
}
2391
_ACEOF
2392
rm -f conftest.$ac_objext
2393
if { (eval echo "$as_me:2393: \"$ac_compile\"") >&5
2394
  (eval $ac_compile) 2>&5
2395
  ac_status=$?
2396
  echo "$as_me:2396: \$? = $ac_status" >&5
2397
  (exit $ac_status); } &&
2398
         { ac_try='test -s conftest.$ac_objext'
2399
  { (eval echo "$as_me:2399: \"$ac_try\"") >&5
2400
  (eval $ac_try) 2>&5
2401
  ac_status=$?
2402
  echo "$as_me:2402: \$? = $ac_status" >&5
2403
  (exit $ac_status); }; }; then
2404
  break
2405
else
2406
  echo "$as_me: failed program was:" >&5
2407
cat conftest.$ac_ext >&5
2408
fi
2409
rm -f conftest.$ac_objext conftest.$ac_ext
2410
done
2411
rm -f conftest*
2412
if test -n "$ac_declaration"; then
2413
  echo '#ifdef __cplusplus' >>confdefs.h
2414
  echo $ac_declaration      >>confdefs.h
2415
  echo '#endif'             >>confdefs.h
2416
fi
2417
 
2418
else
2419
  echo "$as_me: failed program was:" >&5
2420
cat conftest.$ac_ext >&5
2421
fi
2422
rm -f conftest.$ac_objext conftest.$ac_ext
2423
ac_ext=c
2424
ac_cpp='$CPP $CPPFLAGS'
2425
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2426
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2427
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2428
 
2429
depcc="$CC"   am_compiler_list=
2430
 
2431
echo "$as_me:2431: checking dependency style of $depcc" >&5
2432
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2433
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2434
  echo $ECHO_N "(cached) $ECHO_C" >&6
2435
else
2436
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2437
  # We make a subdir and do the tests there.  Otherwise we can end up
2438
  # making bogus files that we don't know about and never remove.  For
2439
  # instance it was reported that on HP-UX the gcc test will end up
2440
  # making a dummy file named `D' -- because `-MD' means `put the output
2441
  # in D'.
2442
  mkdir conftest.dir
2443
  # Copy depcomp to subdir because otherwise we won't find it if we're
2444
  # using a relative directory.
2445
  cp "$am_depcomp" conftest.dir
2446
  cd conftest.dir
2447
 
2448
  am_cv_CC_dependencies_compiler_type=none
2449
  if test "$am_compiler_list" = ""; then
2450
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2451
  fi
2452
  for depmode in $am_compiler_list; do
2453
    # We need to recreate these files for each test, as the compiler may
2454
    # overwrite some of them when testing with obscure command lines.
2455
    # This happens at least with the AIX C compiler.
2456
    echo '#include "conftest.h"' > conftest.c
2457
    echo 'int i;' > conftest.h
2458
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2459
 
2460
    case $depmode in
2461
    nosideeffect)
2462
      # after this tag, mechanisms are not by side-effect, so they'll
2463
      # only be used when explicitly requested
2464
      if test "x$enable_dependency_tracking" = xyes; then
2465
        continue
2466
      else
2467
        break
2468
      fi
2469
      ;;
2470
    none) break ;;
2471
    esac
2472
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2473
    # mode.  It turns out that the SunPro C++ compiler does not properly
2474
    # handle `-M -o', and we need to detect this.
2475
    if depmode=$depmode \
2476
       source=conftest.c object=conftest.o \
2477
       depfile=conftest.Po tmpdepfile=conftest.TPo \
2478
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2479
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
2480
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2481
      am_cv_CC_dependencies_compiler_type=$depmode
2482
      break
2483
    fi
2484
  done
2485
 
2486
  cd ..
2487
  rm -rf conftest.dir
2488
else
2489
  am_cv_CC_dependencies_compiler_type=none
2490
fi
2491
 
2492
fi
2493
echo "$as_me:2493: result: $am_cv_CC_dependencies_compiler_type" >&5
2494
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2495
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2496
 
2497
ac_ext=c
2498
ac_cpp='$CPP $CPPFLAGS'
2499
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2500
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2501
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2502
echo "$as_me:2502: checking how to run the C preprocessor" >&5
2503
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2504
# On Suns, sometimes $CPP names a directory.
2505
if test -n "$CPP" && test -d "$CPP"; then
2506
  CPP=
2507
fi
2508
if test -z "$CPP"; then
2509
  if test "${ac_cv_prog_CPP+set}" = set; then
2510
  echo $ECHO_N "(cached) $ECHO_C" >&6
2511
else
2512
      # Double quotes because CPP needs to be expanded
2513
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2514
    do
2515
      ac_preproc_ok=false
2516
for ac_c_preproc_warn_flag in '' yes
2517
do
2518
  # Use a header file that comes with gcc, so configuring glibc
2519
  # with a fresh cross-compiler works.
2520
  # On the NeXT, cc -E runs the code through the compiler's parser,
2521
  # not just through cpp. "Syntax error" is here to catch this case.
2522
  cat >conftest.$ac_ext <<_ACEOF
2523
#line 2523 "configure"
2524
#include "confdefs.h"
2525
#include 
2526
                     Syntax error
2527
_ACEOF
2528
if { (eval echo "$as_me:2528: \"$ac_cpp conftest.$ac_ext\"") >&5
2529
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2530
  ac_status=$?
2531
  egrep -v '^ *\+' conftest.er1 >conftest.err
2532
  rm -f conftest.er1
2533
  cat conftest.err >&5
2534
  echo "$as_me:2534: \$? = $ac_status" >&5
2535
  (exit $ac_status); } >/dev/null; then
2536
  if test -s conftest.err; then
2537
    ac_cpp_err=$ac_c_preproc_warn_flag
2538
  else
2539
    ac_cpp_err=
2540
  fi
2541
else
2542
  ac_cpp_err=yes
2543
fi
2544
if test -z "$ac_cpp_err"; then
2545
  :
2546
else
2547
  echo "$as_me: failed program was:" >&5
2548
  cat conftest.$ac_ext >&5
2549
  # Broken: fails on valid input.
2550
continue
2551
fi
2552
rm -f conftest.err conftest.$ac_ext
2553
 
2554
  # OK, works on sane cases.  Now check whether non-existent headers
2555
  # can be detected and how.
2556
  cat >conftest.$ac_ext <<_ACEOF
2557
#line 2557 "configure"
2558
#include "confdefs.h"
2559
#include 
2560
_ACEOF
2561
if { (eval echo "$as_me:2561: \"$ac_cpp conftest.$ac_ext\"") >&5
2562
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2563
  ac_status=$?
2564
  egrep -v '^ *\+' conftest.er1 >conftest.err
2565
  rm -f conftest.er1
2566
  cat conftest.err >&5
2567
  echo "$as_me:2567: \$? = $ac_status" >&5
2568
  (exit $ac_status); } >/dev/null; then
2569
  if test -s conftest.err; then
2570
    ac_cpp_err=$ac_c_preproc_warn_flag
2571
  else
2572
    ac_cpp_err=
2573
  fi
2574
else
2575
  ac_cpp_err=yes
2576
fi
2577
if test -z "$ac_cpp_err"; then
2578
  # Broken: success on invalid input.
2579
continue
2580
else
2581
  echo "$as_me: failed program was:" >&5
2582
  cat conftest.$ac_ext >&5
2583
  # Passes both tests.
2584
ac_preproc_ok=:
2585
break
2586
fi
2587
rm -f conftest.err conftest.$ac_ext
2588
 
2589
done
2590
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2591
rm -f conftest.err conftest.$ac_ext
2592
if $ac_preproc_ok; then
2593
  break
2594
fi
2595
 
2596
    done
2597
    ac_cv_prog_CPP=$CPP
2598
 
2599
fi
2600
  CPP=$ac_cv_prog_CPP
2601
else
2602
  ac_cv_prog_CPP=$CPP
2603
fi
2604
echo "$as_me:2604: result: $CPP" >&5
2605
echo "${ECHO_T}$CPP" >&6
2606
ac_preproc_ok=false
2607
for ac_c_preproc_warn_flag in '' yes
2608
do
2609
  # Use a header file that comes with gcc, so configuring glibc
2610
  # with a fresh cross-compiler works.
2611
  # On the NeXT, cc -E runs the code through the compiler's parser,
2612
  # not just through cpp. "Syntax error" is here to catch this case.
2613
  cat >conftest.$ac_ext <<_ACEOF
2614
#line 2614 "configure"
2615
#include "confdefs.h"
2616
#include 
2617
                     Syntax error
2618
_ACEOF
2619
if { (eval echo "$as_me:2619: \"$ac_cpp conftest.$ac_ext\"") >&5
2620
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2621
  ac_status=$?
2622
  egrep -v '^ *\+' conftest.er1 >conftest.err
2623
  rm -f conftest.er1
2624
  cat conftest.err >&5
2625
  echo "$as_me:2625: \$? = $ac_status" >&5
2626
  (exit $ac_status); } >/dev/null; then
2627
  if test -s conftest.err; then
2628
    ac_cpp_err=$ac_c_preproc_warn_flag
2629
  else
2630
    ac_cpp_err=
2631
  fi
2632
else
2633
  ac_cpp_err=yes
2634
fi
2635
if test -z "$ac_cpp_err"; then
2636
  :
2637
else
2638
  echo "$as_me: failed program was:" >&5
2639
  cat conftest.$ac_ext >&5
2640
  # Broken: fails on valid input.
2641
continue
2642
fi
2643
rm -f conftest.err conftest.$ac_ext
2644
 
2645
  # OK, works on sane cases.  Now check whether non-existent headers
2646
  # can be detected and how.
2647
  cat >conftest.$ac_ext <<_ACEOF
2648
#line 2648 "configure"
2649
#include "confdefs.h"
2650
#include 
2651
_ACEOF
2652
if { (eval echo "$as_me:2652: \"$ac_cpp conftest.$ac_ext\"") >&5
2653
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2654
  ac_status=$?
2655
  egrep -v '^ *\+' conftest.er1 >conftest.err
2656
  rm -f conftest.er1
2657
  cat conftest.err >&5
2658
  echo "$as_me:2658: \$? = $ac_status" >&5
2659
  (exit $ac_status); } >/dev/null; then
2660
  if test -s conftest.err; then
2661
    ac_cpp_err=$ac_c_preproc_warn_flag
2662
  else
2663
    ac_cpp_err=
2664
  fi
2665
else
2666
  ac_cpp_err=yes
2667
fi
2668
if test -z "$ac_cpp_err"; then
2669
  # Broken: success on invalid input.
2670
continue
2671
else
2672
  echo "$as_me: failed program was:" >&5
2673
  cat conftest.$ac_ext >&5
2674
  # Passes both tests.
2675
ac_preproc_ok=:
2676
break
2677
fi
2678
rm -f conftest.err conftest.$ac_ext
2679
 
2680
done
2681
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2682
rm -f conftest.err conftest.$ac_ext
2683
if $ac_preproc_ok; then
2684
  :
2685
else
2686
  { { echo "$as_me:2686: error: C preprocessor \"$CPP\" fails sanity check" >&5
2687
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2688
   { (exit 1); exit 1; }; }
2689
fi
2690
 
2691
ac_ext=c
2692
ac_cpp='$CPP $CPPFLAGS'
2693
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2694
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2695
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2696
 
2697
if test x"$GCC" = x"yes"; then
2698
  RTEMS_USE_GCC_TRUE=
2699
  RTEMS_USE_GCC_FALSE='#'
2700
else
2701
  RTEMS_USE_GCC_TRUE='#'
2702
  RTEMS_USE_GCC_FALSE=
2703
fi
2704
 
2705
echo "$as_me:2705: checking whether $CC accepts -specs" >&5
2706
echo $ECHO_N "checking whether $CC accepts -specs... $ECHO_C" >&6
2707
if test "${rtems_cv_gcc_specs+set}" = set; then
2708
  echo $ECHO_N "(cached) $ECHO_C" >&6
2709
else
2710
 
2711
rtems_cv_gcc_specs=no
2712
if test x"$GCC" = x"yes"; then
2713
  touch confspec
2714
  echo 'void f(){}' >conftest.c
2715
  if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then
2716
    rtems_cv_gcc_specs=yes
2717
  fi
2718
fi
2719
rm -f confspec conftest*
2720
 
2721
fi
2722
echo "$as_me:2722: result: $rtems_cv_gcc_specs" >&5
2723
echo "${ECHO_T}$rtems_cv_gcc_specs" >&6
2724
 
2725
echo "$as_me:2725: checking whether $CC accepts --pipe" >&5
2726
echo $ECHO_N "checking whether $CC accepts --pipe... $ECHO_C" >&6
2727
if test "${rtems_cv_gcc_pipe+set}" = set; then
2728
  echo $ECHO_N "(cached) $ECHO_C" >&6
2729
else
2730
 
2731
rtems_cv_gcc_pipe=no
2732
if test x"$GCC" = x"yes"; then
2733
    echo 'void f(){}' >conftest.c
2734
    if test -z "`${CC} --pipe -c conftest.c 2>&1`";then
2735
      rtems_cv_gcc_pipe=yes
2736
    fi
2737
    rm -f conftest*
2738
fi
2739
 
2740
fi
2741
echo "$as_me:2741: result: $rtems_cv_gcc_pipe" >&5
2742
echo "${ECHO_T}$rtems_cv_gcc_pipe" >&6
2743
 
2744
#  if test "$rtems_cv_gcc_specs" = "no"; then
2745
#    AC_MSG_WARN([*** disabling --enable-gcc28])
2746
#      RTEMS_USE_GCC272=yes
2747
#  fi
2748
test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
2749
 
2750
if test "$GCC" = yes; then
2751
 
2752
CPPFLAGS="$CPPFLAGS -ansi -fasm"
2753
 
2754
CFLAGS="-g -Wall"
2755
fi
2756
 
2757
case $build_os in
2758
*cygwin*)     GCCSED="| sed 's%\\\\%/%g'" ;;
2759
*) ;;
2760
esac
2761
 
2762
  if test "x$build_alias" != "x$host_alias"; then
2763
  rtems_tool_prefix=${ac_tool_prefix}
2764
fi
2765
 
2766
  # Extract the first word of "${rtems_tool_prefix}ar", so it can be a program name with args.
2767
set dummy ${rtems_tool_prefix}ar; ac_word=$2
2768
echo "$as_me:2768: checking for $ac_word" >&5
2769
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2770
if test "${ac_cv_prog_AR+set}" = set; then
2771
  echo $ECHO_N "(cached) $ECHO_C" >&6
2772
else
2773
  if test -n "$AR"; then
2774
  ac_cv_prog_AR="$AR" # Let the user override the test.
2775
else
2776
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2777
ac_dummy="$PATH"
2778
for ac_dir in $ac_dummy; do
2779
  IFS=$ac_save_IFS
2780
  test -z "$ac_dir" && ac_dir=.
2781
  $as_executable_p "$ac_dir/$ac_word" || continue
2782
ac_cv_prog_AR="${rtems_tool_prefix}ar"
2783
echo "$as_me:2783: found $ac_dir/$ac_word" >&5
2784
break
2785
done
2786
 
2787
  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="no"
2788
fi
2789
fi
2790
AR=$ac_cv_prog_AR
2791
if test -n "$AR"; then
2792
  echo "$as_me:2792: result: $AR" >&5
2793
echo "${ECHO_T}$AR" >&6
2794
else
2795
  echo "$as_me:2795: result: no" >&5
2796
echo "${ECHO_T}no" >&6
2797
fi
2798
 
2799
  if test "x$build_alias" != "x$host_alias"; then
2800
  rtems_tool_prefix=${ac_tool_prefix}
2801
fi
2802
 
2803
  # Extract the first word of "${rtems_tool_prefix}as", so it can be a program name with args.
2804
set dummy ${rtems_tool_prefix}as; ac_word=$2
2805
echo "$as_me:2805: checking for $ac_word" >&5
2806
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2807
if test "${ac_cv_prog_AS+set}" = set; then
2808
  echo $ECHO_N "(cached) $ECHO_C" >&6
2809
else
2810
  if test -n "$AS"; then
2811
  ac_cv_prog_AS="$AS" # Let the user override the test.
2812
else
2813
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2814
ac_dummy="$PATH"
2815
for ac_dir in $ac_dummy; do
2816
  IFS=$ac_save_IFS
2817
  test -z "$ac_dir" && ac_dir=.
2818
  $as_executable_p "$ac_dir/$ac_word" || continue
2819
ac_cv_prog_AS="${rtems_tool_prefix}as"
2820
echo "$as_me:2820: found $ac_dir/$ac_word" >&5
2821
break
2822
done
2823
 
2824
  test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="no"
2825
fi
2826
fi
2827
AS=$ac_cv_prog_AS
2828
if test -n "$AS"; then
2829
  echo "$as_me:2829: result: $AS" >&5
2830
echo "${ECHO_T}$AS" >&6
2831
else
2832
  echo "$as_me:2832: result: no" >&5
2833
echo "${ECHO_T}no" >&6
2834
fi
2835
 
2836
  if test "x$build_alias" != "x$host_alias"; then
2837
  rtems_tool_prefix=${ac_tool_prefix}
2838
fi
2839
 
2840
  # Extract the first word of "${rtems_tool_prefix}ld", so it can be a program name with args.
2841
set dummy ${rtems_tool_prefix}ld; ac_word=$2
2842
echo "$as_me:2842: checking for $ac_word" >&5
2843
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2844
if test "${ac_cv_prog_LD+set}" = set; then
2845
  echo $ECHO_N "(cached) $ECHO_C" >&6
2846
else
2847
  if test -n "$LD"; then
2848
  ac_cv_prog_LD="$LD" # Let the user override the test.
2849
else
2850
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2851
ac_dummy="$PATH"
2852
for ac_dir in $ac_dummy; do
2853
  IFS=$ac_save_IFS
2854
  test -z "$ac_dir" && ac_dir=.
2855
  $as_executable_p "$ac_dir/$ac_word" || continue
2856
ac_cv_prog_LD="${rtems_tool_prefix}ld"
2857
echo "$as_me:2857: found $ac_dir/$ac_word" >&5
2858
break
2859
done
2860
 
2861
  test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="no"
2862
fi
2863
fi
2864
LD=$ac_cv_prog_LD
2865
if test -n "$LD"; then
2866
  echo "$as_me:2866: result: $LD" >&5
2867
echo "${ECHO_T}$LD" >&6
2868
else
2869
  echo "$as_me:2869: result: no" >&5
2870
echo "${ECHO_T}no" >&6
2871
fi
2872
 
2873
  if test "x$build_alias" != "x$host_alias"; then
2874
  rtems_tool_prefix=${ac_tool_prefix}
2875
fi
2876
 
2877
  # Extract the first word of "${rtems_tool_prefix}nm", so it can be a program name with args.
2878
set dummy ${rtems_tool_prefix}nm; ac_word=$2
2879
echo "$as_me:2879: checking for $ac_word" >&5
2880
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2881
if test "${ac_cv_prog_NM+set}" = set; then
2882
  echo $ECHO_N "(cached) $ECHO_C" >&6
2883
else
2884
  if test -n "$NM"; then
2885
  ac_cv_prog_NM="$NM" # Let the user override the test.
2886
else
2887
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2888
ac_dummy="$PATH"
2889
for ac_dir in $ac_dummy; do
2890
  IFS=$ac_save_IFS
2891
  test -z "$ac_dir" && ac_dir=.
2892
  $as_executable_p "$ac_dir/$ac_word" || continue
2893
ac_cv_prog_NM="${rtems_tool_prefix}nm"
2894
echo "$as_me:2894: found $ac_dir/$ac_word" >&5
2895
break
2896
done
2897
 
2898
  test -z "$ac_cv_prog_NM" && ac_cv_prog_NM="no"
2899
fi
2900
fi
2901
NM=$ac_cv_prog_NM
2902
if test -n "$NM"; then
2903
  echo "$as_me:2903: result: $NM" >&5
2904
echo "${ECHO_T}$NM" >&6
2905
else
2906
  echo "$as_me:2906: result: no" >&5
2907
echo "${ECHO_T}no" >&6
2908
fi
2909
 
2910
  if test "x$build_alias" != "x$host_alias"; then
2911
  rtems_tool_prefix=${ac_tool_prefix}
2912
fi
2913
 
2914
  # Extract the first word of "${rtems_tool_prefix}ranlib", so it can be a program name with args.
2915
set dummy ${rtems_tool_prefix}ranlib; ac_word=$2
2916
echo "$as_me:2916: checking for $ac_word" >&5
2917
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2918
if test "${ac_cv_prog_RANLIB+set}" = set; then
2919
  echo $ECHO_N "(cached) $ECHO_C" >&6
2920
else
2921
  if test -n "$RANLIB"; then
2922
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2923
else
2924
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2925
ac_dummy="$PATH"
2926
for ac_dir in $ac_dummy; do
2927
  IFS=$ac_save_IFS
2928
  test -z "$ac_dir" && ac_dir=.
2929
  $as_executable_p "$ac_dir/$ac_word" || continue
2930
ac_cv_prog_RANLIB="${rtems_tool_prefix}ranlib"
2931
echo "$as_me:2931: found $ac_dir/$ac_word" >&5
2932
break
2933
done
2934
 
2935
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2936
fi
2937
fi
2938
RANLIB=$ac_cv_prog_RANLIB
2939
if test -n "$RANLIB"; then
2940
  echo "$as_me:2940: result: $RANLIB" >&5
2941
echo "${ECHO_T}$RANLIB" >&6
2942
else
2943
  echo "$as_me:2943: result: no" >&5
2944
echo "${ECHO_T}no" >&6
2945
fi
2946
 
2947
  if test "x$build_alias" != "x$host_alias"; then
2948
  rtems_tool_prefix=${ac_tool_prefix}
2949
fi
2950
 
2951
  # Extract the first word of "${rtems_tool_prefix}objcopy", so it can be a program name with args.
2952
set dummy ${rtems_tool_prefix}objcopy; ac_word=$2
2953
echo "$as_me:2953: checking for $ac_word" >&5
2954
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2955
if test "${ac_cv_prog_OBJCOPY+set}" = set; then
2956
  echo $ECHO_N "(cached) $ECHO_C" >&6
2957
else
2958
  if test -n "$OBJCOPY"; then
2959
  ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
2960
else
2961
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2962
ac_dummy="$PATH"
2963
for ac_dir in $ac_dummy; do
2964
  IFS=$ac_save_IFS
2965
  test -z "$ac_dir" && ac_dir=.
2966
  $as_executable_p "$ac_dir/$ac_word" || continue
2967
ac_cv_prog_OBJCOPY="${rtems_tool_prefix}objcopy"
2968
echo "$as_me:2968: found $ac_dir/$ac_word" >&5
2969
break
2970
done
2971
 
2972
  test -z "$ac_cv_prog_OBJCOPY" && ac_cv_prog_OBJCOPY="no"
2973
fi
2974
fi
2975
OBJCOPY=$ac_cv_prog_OBJCOPY
2976
if test -n "$OBJCOPY"; then
2977
  echo "$as_me:2977: result: $OBJCOPY" >&5
2978
echo "${ECHO_T}$OBJCOPY" >&6
2979
else
2980
  echo "$as_me:2980: result: no" >&5
2981
echo "${ECHO_T}no" >&6
2982
fi
2983
 
2984
  if test "x$build_alias" != "x$host_alias"; then
2985
  rtems_tool_prefix=${ac_tool_prefix}
2986
fi
2987
 
2988
  # Extract the first word of "${rtems_tool_prefix}size", so it can be a program name with args.
2989
set dummy ${rtems_tool_prefix}size; ac_word=$2
2990
echo "$as_me:2990: checking for $ac_word" >&5
2991
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2992
if test "${ac_cv_prog_SIZE+set}" = set; then
2993
  echo $ECHO_N "(cached) $ECHO_C" >&6
2994
else
2995
  if test -n "$SIZE"; then
2996
  ac_cv_prog_SIZE="$SIZE" # Let the user override the test.
2997
else
2998
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2999
ac_dummy="$PATH"
3000
for ac_dir in $ac_dummy; do
3001
  IFS=$ac_save_IFS
3002
  test -z "$ac_dir" && ac_dir=.
3003
  $as_executable_p "$ac_dir/$ac_word" || continue
3004
ac_cv_prog_SIZE="${rtems_tool_prefix}size"
3005
echo "$as_me:3005: found $ac_dir/$ac_word" >&5
3006
break
3007
done
3008
 
3009
  test -z "$ac_cv_prog_SIZE" && ac_cv_prog_SIZE="no"
3010
fi
3011
fi
3012
SIZE=$ac_cv_prog_SIZE
3013
if test -n "$SIZE"; then
3014
  echo "$as_me:3014: result: $SIZE" >&5
3015
echo "${ECHO_T}$SIZE" >&6
3016
else
3017
  echo "$as_me:3017: result: no" >&5
3018
echo "${ECHO_T}no" >&6
3019
fi
3020
 
3021
  if test "x$build_alias" != "x$host_alias"; then
3022
  rtems_tool_prefix=${ac_tool_prefix}
3023
fi
3024
 
3025
  # Extract the first word of "${rtems_tool_prefix}strip", so it can be a program name with args.
3026
set dummy ${rtems_tool_prefix}strip; ac_word=$2
3027
echo "$as_me:3027: checking for $ac_word" >&5
3028
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3029
if test "${ac_cv_prog_STRIP+set}" = set; then
3030
  echo $ECHO_N "(cached) $ECHO_C" >&6
3031
else
3032
  if test -n "$STRIP"; then
3033
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3034
else
3035
  ac_save_IFS=$IFS; IFS=$ac_path_separator
3036
ac_dummy="$PATH"
3037
for ac_dir in $ac_dummy; do
3038
  IFS=$ac_save_IFS
3039
  test -z "$ac_dir" && ac_dir=.
3040
  $as_executable_p "$ac_dir/$ac_word" || continue
3041
ac_cv_prog_STRIP="${rtems_tool_prefix}strip"
3042
echo "$as_me:3042: found $ac_dir/$ac_word" >&5
3043
break
3044
done
3045
 
3046
  test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
3047
fi
3048
fi
3049
STRIP=$ac_cv_prog_STRIP
3050
if test -n "$STRIP"; then
3051
  echo "$as_me:3051: result: $STRIP" >&5
3052
echo "${ECHO_T}$STRIP" >&6
3053
else
3054
  echo "$as_me:3054: result: no" >&5
3055
echo "${ECHO_T}no" >&6
3056
fi
3057
 
3058
echo "$as_me:3058: checking for make/custom/$RTEMS_BSP.cfg" >&5
3059
echo $ECHO_N "checking for make/custom/$RTEMS_BSP.cfg... $ECHO_C" >&6
3060
if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then
3061
  echo "$as_me:3061: result: yes" >&5
3062
echo "${ECHO_T}yes" >&6
3063
else
3064
  { { echo "$as_me:3064: error: no" >&5
3065
echo "$as_me: error: no" >&2;}
3066
   { (exit 1); exit 1; }; }
3067
fi
3068
 
3069
# Check whether --enable-multilib or --disable-multilib was given.
3070
if test "${enable_multilib+set}" = set; then
3071
  enableval="$enable_multilib"
3072
  case "${enableval}" in
3073
  yes) multilib=yes ;;
3074
  no)  multilib=no ;;
3075
  *)   { { echo "$as_me:3075: error: bad value ${enableval} for multilib option" >&5
3076
echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
3077
   { (exit 1); exit 1; }; } ;;
3078
 esac
3079
else
3080
  multilib=no
3081
fi;
3082
 
3083
if test x"${multilib}" = x"yes"; then
3084
  MULTILIB_TRUE=
3085
  MULTILIB_FALSE='#'
3086
else
3087
  MULTILIB_TRUE='#'
3088
  MULTILIB_FALSE=
3089
fi
3090
 
3091
# Check whether --enable-multiprocessing or --disable-multiprocessing was given.
3092
if test "${enable_multiprocessing+set}" = set; then
3093
  enableval="$enable_multiprocessing"
3094
  case "${enable_multiprocessing}" in
3095
  yes) ;;
3096
  no) ;;
3097
  *)  { { echo "$as_me:3097: error: bad value ${enableval} for enable-multiprocessing option" >&5
3098
echo "$as_me: error: bad value ${enableval} for enable-multiprocessing option" >&2;}
3099
   { (exit 1); exit 1; }; } ;;
3100
esac
3101
else
3102
  enable_multiprocessing=no
3103
fi;
3104
 
3105
# account for "aliased" bsps which share source code
3106
  case $RTEMS_BSP in
3107
    simcpu32)     RTEMS_BSP_FAMILY=sim68000         ;; # BSVC CPU32 variant
3108
    c3xsim)       RTEMS_BSP_FAMILY=c4xsim           ;; # TI C3x Simulator in gdb
3109
    mcp750)       RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
3110
    mvme2307)     RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
3111
    mvme162lx)    RTEMS_BSP_FAMILY=mvme162          ;; # m68k - mvme162 board variant
3112
    gen68360_040) RTEMS_BSP_FAMILY=gen68360         ;; # m68k - 68360 in companion mode
3113
    p4600)        RTEMS_BSP_FAMILY=p4000            ;; # mips64orion - p4000 board w/IDT 4600
3114
    p4650)        RTEMS_BSP_FAMILY=p4000            ;; # mips64orion - p4000 board w/IDT 4650
3115
    mbx8*)        RTEMS_BSP_FAMILY=mbx8xx           ;; # MBX821/MBX860 board
3116
    pc386dx)      RTEMS_BSP_FAMILY=pc386            ;; # i386 - PC w/o FPU
3117
    pc486)        RTEMS_BSP_FAMILY=pc386            ;; # i386 - PC with i486DX
3118
    pc586)        RTEMS_BSP_FAMILY=pc386            ;; # i386 - PC with Pentium
3119
    pc686)        RTEMS_BSP_FAMILY=pc386            ;; # i386 - PC with PentiumPro
3120
    pck6)         RTEMS_BSP_FAMILY=pc386            ;; # i386 - PC with K6
3121
    bare*)        RTEMS_BSP_FAMILY=bare             ;; # EXP: bare-aliases
3122
    erc32nfp)     RTEMS_BSP_FAMILY=erc32            ;; # erc32 without fpu
3123
    leon1)        RTEMS_BSP_FAMILY=leon             ;; # leon without fpu
3124
    leon2)        RTEMS_BSP_FAMILY=leon             ;; # leon with fpu
3125
    simsh7032)    RTEMS_BSP_FAMILY=shsim            ;; # SH7032 simulator
3126
    simsh7045)    RTEMS_BSP_FAMILY=shsim            ;; # SH7045 simulator
3127
    *)            RTEMS_BSP_FAMILY=$RTEMS_BSP;;
3128
  esac
3129
 
3130
echo "$as_me:3130: checking if wanting multiprocessing" >&5
3131
echo $ECHO_N "checking if wanting multiprocessing... $ECHO_C" >&6
3132
if test "${rtems_cv_want_multiprocessing+set}" = set; then
3133
  echo $ECHO_N "(cached) $ECHO_C" >&6
3134
else
3135
 
3136
    if test x"$multilib" = x"no"; then
3137
  # no cpukit
3138
       rtems_cv_want_multiprocessing="$enable_multiprocessing"
3139
 
3140
else
3141
 
3142
#HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead
3143
       rtems_cv_want_multiprocessing="$enable_multiprocessing"
3144
 
3145
fi
3146
 
3147
fi
3148
echo "$as_me:3148: result: $rtems_cv_want_multiprocessing" >&5
3149
echo "${ECHO_T}$rtems_cv_want_multiprocessing" >&6
3150
 
3151
if test "$rtems_cv_want_multiprocessing" = "yes"; then
3152
 
3153
  echo "$as_me:3153: checking whether BSP supports multiprocessing" >&5
3154
echo $ECHO_N "checking whether BSP supports multiprocessing... $ECHO_C" >&6
3155
if test "${rtems_cv_HAS_MP+set}" = set; then
3156
  echo $ECHO_N "(cached) $ECHO_C" >&6
3157
else
3158
 
3159
    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
3160
        rtems_cv_HAS_MP="yes" ;
3161
    else
3162
        rtems_cv_HAS_MP="no";
3163
    fi
3164
 
3165
fi
3166
echo "$as_me:3166: result: $rtems_cv_HAS_MP" >&5
3167
echo "${ECHO_T}$rtems_cv_HAS_MP" >&6
3168
if test $rtems_cv_HAS_MP = "no"; then
3169
{ { echo "$as_me:3169: error: multiprocessing requested but not supported" >&5
3170
echo "$as_me: error: multiprocessing requested but not supported" >&2;}
3171
   { (exit 1); exit 1; }; }
3172
fi
3173
 
3174
else
3175
  rtems_cv_HAS_MP="no";
3176
fi
3177
 
3178
HAS_MP=$rtems_cv_HAS_MP
3179
 
3180
if test "$HAS_MP" = "yes"; then
3181
  HAS_MP_TRUE=
3182
  HAS_MP_FALSE='#'
3183
else
3184
  HAS_MP_TRUE='#'
3185
  HAS_MP_FALSE=
3186
fi
3187
 
3188
# Explicitly list all Makefiles here
3189
ac_config_files="$ac_config_files Makefile mp01/Makefile mp01/node1/Makefile mp01/node2/Makefile mp02/Makefile mp02/node1/Makefile mp02/node2/Makefile mp03/Makefile mp03/node1/Makefile mp03/node2/Makefile mp04/Makefile mp04/node1/Makefile mp04/node2/Makefile mp05/Makefile mp05/node1/Makefile mp05/node2/Makefile mp06/Makefile mp06/node1/Makefile mp06/node2/Makefile mp07/Makefile mp07/node1/Makefile mp07/node2/Makefile mp08/Makefile mp08/node1/Makefile mp08/node2/Makefile mp09/Makefile mp09/node1/Makefile mp09/node2/Makefile mp10/Makefile mp10/node1/Makefile mp10/node2/Makefile mp11/Makefile mp11/node1/Makefile mp11/node2/Makefile mp12/Makefile mp12/node1/Makefile mp12/node2/Makefile mp13/Makefile mp13/node1/Makefile mp13/node2/Makefile mp14/Makefile mp14/node1/Makefile mp14/node2/Makefile"
3190
 
3191
cat >confcache <<\_ACEOF
3192
# This file is a shell script that caches the results of configure
3193
# tests run on this system so they can be shared between configure
3194
# scripts and configure runs, see configure's option --config-cache.
3195
# It is not useful on other systems.  If it contains results you don't
3196
# want to keep, you may remove or edit it.
3197
#
3198
# config.status only pays attention to the cache file if you give it
3199
# the --recheck option to rerun configure.
3200
#
3201
# `ac_cv_env_foo' variables (set or unset) will be overriden when
3202
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3203
# following values.
3204
 
3205
_ACEOF
3206
 
3207
# The following way of writing the cache mishandles newlines in values,
3208
# but we know of no workaround that is simple, portable, and efficient.
3209
# So, don't put newlines in cache variables' values.
3210
# Ultrix sh set writes to stderr and can't be redirected directly,
3211
# and sets the high bit in the cache file unless we assign to the vars.
3212
{
3213
  (set) 2>&1 |
3214
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3215
    *ac_space=\ *)
3216
      # `set' does not quote correctly, so add quotes (double-quote
3217
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3218
      sed -n \
3219
        "s/'/'\\\\''/g;
3220
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3221
      ;;
3222
    *)
3223
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3224
      sed -n \
3225
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3226
      ;;
3227
    esac;
3228
} |
3229
  sed '
3230
     t clear
3231
     : clear
3232
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3233
     t end
3234
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3235
     : end' >>confcache
3236
if cmp -s $cache_file confcache; then :; else
3237
  if test -w $cache_file; then
3238
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3239
    cat confcache >$cache_file
3240
  else
3241
    echo "not updating unwritable cache $cache_file"
3242
  fi
3243
fi
3244
rm -f confcache
3245
 
3246
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3247
# Let make expand exec_prefix.
3248
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3249
 
3250
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3251
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3252
# trailing colons and then remove the whole line if VPATH becomes empty
3253
# (actually we leave an empty line to preserve line numbers).
3254
if test "x$srcdir" = x.; then
3255
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
3256
s/:*\$(srcdir):*/:/;
3257
s/:*\${srcdir}:*/:/;
3258
s/:*@srcdir@:*/:/;
3259
s/^\([^=]*=[    ]*\):*/\1/;
3260
s/:*$//;
3261
s/^[^=]*=[      ]*$//;
3262
}'
3263
fi
3264
 
3265
# Transform confdefs.h into DEFS.
3266
# Protect against shell expansion while executing Makefile rules.
3267
# Protect against Makefile macro expansion.
3268
#
3269
# If the first sed substitution is executed (which looks for macros that
3270
# take arguments), then we branch to the quote section.  Otherwise,
3271
# look for a macro that doesn't take arguments.
3272
cat >confdef2opt.sed <<\EOF
3273
t clear
3274
: clear
3275
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
3276
t quote
3277
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
3278
t quote
3279
d
3280
: quote
3281
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
3282
s,\[,\\&,g
3283
s,\],\\&,g
3284
s,\$,$$,g
3285
p
3286
EOF
3287
# We use echo to avoid assuming a particular line-breaking character.
3288
# The extra dot is to prevent the shell from consuming trailing
3289
# line-breaks from the sub-command output.  A line-break within
3290
# single-quotes doesn't work because, if this script is created in a
3291
# platform that uses two characters for line-breaks (e.g., DOS), tr
3292
# would break.
3293
ac_LF_and_DOT=`echo; echo .`
3294
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3295
rm -f confdef2opt.sed
3296
 
3297
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3298
  { { echo "$as_me:3298: error: conditional \"MAINTAINER_MODE\" was never defined.
3299
Usually this means the macro was only invoked conditionally." >&5
3300
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3301
Usually this means the macro was only invoked conditionally." >&2;}
3302
   { (exit 1); exit 1; }; }
3303
fi
3304
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
3305
  { { echo "$as_me:3305: error: conditional \"MULTILIB\" was never defined.
3306
Usually this means the macro was only invoked conditionally." >&5
3307
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
3308
Usually this means the macro was only invoked conditionally." >&2;}
3309
   { (exit 1); exit 1; }; }
3310
fi
3311
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3312
  { { echo "$as_me:3312: error: conditional \"AMDEP\" was never defined.
3313
Usually this means the macro was only invoked conditionally." >&5
3314
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3315
Usually this means the macro was only invoked conditionally." >&2;}
3316
   { (exit 1); exit 1; }; }
3317
fi
3318
if test -z "${RTEMS_USE_GCC_TRUE}" && test -z "${RTEMS_USE_GCC_FALSE}"; then
3319
  { { echo "$as_me:3319: error: conditional \"RTEMS_USE_GCC\" was never defined.
3320
Usually this means the macro was only invoked conditionally." >&5
3321
echo "$as_me: error: conditional \"RTEMS_USE_GCC\" was never defined.
3322
Usually this means the macro was only invoked conditionally." >&2;}
3323
   { (exit 1); exit 1; }; }
3324
fi
3325
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
3326
  { { echo "$as_me:3326: error: conditional \"MULTILIB\" was never defined.
3327
Usually this means the macro was only invoked conditionally." >&5
3328
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
3329
Usually this means the macro was only invoked conditionally." >&2;}
3330
   { (exit 1); exit 1; }; }
3331
fi
3332
if test -z "${HAS_MP_TRUE}" && test -z "${HAS_MP_FALSE}"; then
3333
  { { echo "$as_me:3333: error: conditional \"HAS_MP\" was never defined.
3334
Usually this means the macro was only invoked conditionally." >&5
3335
echo "$as_me: error: conditional \"HAS_MP\" was never defined.
3336
Usually this means the macro was only invoked conditionally." >&2;}
3337
   { (exit 1); exit 1; }; }
3338
fi
3339
 
3340
: ${CONFIG_STATUS=./config.status}
3341
ac_clean_files_save=$ac_clean_files
3342
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3343
{ echo "$as_me:3343: creating $CONFIG_STATUS" >&5
3344
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3345
cat >$CONFIG_STATUS <<_ACEOF
3346
#! $SHELL
3347
# Generated automatically by configure.
3348
# Run this file to recreate the current configuration.
3349
# Compiler output produced by configure, useful for debugging
3350
# configure, is in config.log if it exists.
3351
 
3352
debug=false
3353
SHELL=\${CONFIG_SHELL-$SHELL}
3354
ac_cs_invocation="\$0 \$@"
3355
 
3356
_ACEOF
3357
 
3358
cat >>$CONFIG_STATUS <<\_ACEOF
3359
# Be Bourne compatible
3360
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3361
  emulate sh
3362
  NULLCMD=:
3363
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3364
  set -o posix
3365
fi
3366
 
3367
# Name of the executable.
3368
as_me=`echo "$0" |sed 's,.*[\\/],,'`
3369
 
3370
if expr a : '\(a\)' >/dev/null 2>&1; then
3371
  as_expr=expr
3372
else
3373
  as_expr=false
3374
fi
3375
 
3376
rm -f conf$$ conf$$.exe conf$$.file
3377
echo >conf$$.file
3378
if ln -s conf$$.file conf$$ 2>/dev/null; then
3379
  # We could just check for DJGPP; but this test a) works b) is more generic
3380
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3381
  if test -f conf$$.exe; then
3382
    # Don't use ln at all; we don't have any links
3383
    as_ln_s='cp -p'
3384
  else
3385
    as_ln_s='ln -s'
3386
  fi
3387
elif ln conf$$.file conf$$ 2>/dev/null; then
3388
  as_ln_s=ln
3389
else
3390
  as_ln_s='cp -p'
3391
fi
3392
rm -f conf$$ conf$$.exe conf$$.file
3393
 
3394
as_executable_p="test -f"
3395
 
3396
# Support unset when possible.
3397
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3398
  as_unset=unset
3399
else
3400
  as_unset=false
3401
fi
3402
 
3403
# NLS nuisances.
3404
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
3405
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
3406
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
3407
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
3408
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
3409
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
3410
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
3411
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
3412
 
3413
# IFS
3414
# We need space, tab and new line, in precisely that order.
3415
as_nl='
3416
'
3417
IFS="   $as_nl"
3418
 
3419
# CDPATH.
3420
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
3421
 
3422
exec 6>&1
3423
 
3424
_ACEOF
3425
 
3426
# Files that config.status was made for.
3427
if test -n "$ac_config_files"; then
3428
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3429
fi
3430
 
3431
if test -n "$ac_config_headers"; then
3432
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3433
fi
3434
 
3435
if test -n "$ac_config_links"; then
3436
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3437
fi
3438
 
3439
if test -n "$ac_config_commands"; then
3440
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3441
fi
3442
 
3443
cat >>$CONFIG_STATUS <<\EOF
3444
 
3445
ac_cs_usage="\
3446
\`$as_me' instantiates files from templates according to the
3447
current configuration.
3448
 
3449
Usage: $0 [OPTIONS] [FILE]...
3450
 
3451
  -h, --help       print this help, then exit
3452
  -V, --version    print version number, then exit
3453
  -d, --debug      don't remove temporary files
3454
      --recheck    update $as_me by reconfiguring in the same conditions
3455
  --file=FILE[:TEMPLATE]
3456
                   instantiate the configuration file FILE
3457
 
3458
Configuration files:
3459
$config_files
3460
 
3461
Configuration commands:
3462
$config_commands
3463
 
3464
Report bugs to ."
3465
EOF
3466
 
3467
cat >>$CONFIG_STATUS <
3468
ac_cs_version="\\
3469
rtems-c-src-tests-mptests config.status ss-20020807
3470
configured by $0, generated by GNU Autoconf 2.52,
3471
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3472
 
3473
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3474
Free Software Foundation, Inc.
3475
This config.status script is free software; the Free Software Foundation
3476
gives unlimited permission to copy, distribute and modify it."
3477
srcdir=$srcdir
3478
INSTALL="$INSTALL"
3479
EOF
3480
 
3481
cat >>$CONFIG_STATUS <<\EOF
3482
# If no file are specified by the user, then we need to provide default
3483
# value.  By we need to know if files were specified by the user.
3484
ac_need_defaults=:
3485
while test $# != 0
3486
do
3487
  case $1 in
3488
  --*=*)
3489
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3490
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3491
    shift
3492
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3493
    shift
3494
    ;;
3495
  -*);;
3496
  *) # This is not an option, so the user has probably given explicit
3497
     # arguments.
3498
     ac_need_defaults=false;;
3499
  esac
3500
 
3501
  case $1 in
3502
  # Handling of the options.
3503
EOF
3504
cat >>$CONFIG_STATUS <
3505
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3506
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3507
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3508
EOF
3509
cat >>$CONFIG_STATUS <<\EOF
3510
  --version | --vers* | -V )
3511
    echo "$ac_cs_version"; exit 0 ;;
3512
  --he | --h)
3513
    # Conflict between --help and --header
3514
    { { echo "$as_me:3514: error: ambiguous option: $1
3515
Try \`$0 --help' for more information." >&5
3516
echo "$as_me: error: ambiguous option: $1
3517
Try \`$0 --help' for more information." >&2;}
3518
   { (exit 1); exit 1; }; };;
3519
  --help | --hel | -h )
3520
    echo "$ac_cs_usage"; exit 0 ;;
3521
  --debug | --d* | -d )
3522
    debug=: ;;
3523
  --file | --fil | --fi | --f )
3524
    shift
3525
    CONFIG_FILES="$CONFIG_FILES $1"
3526
    ac_need_defaults=false;;
3527
  --header | --heade | --head | --hea )
3528
    shift
3529
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
3530
    ac_need_defaults=false;;
3531
 
3532
  # This is an error.
3533
  -*) { { echo "$as_me:3533: error: unrecognized option: $1
3534
Try \`$0 --help' for more information." >&5
3535
echo "$as_me: error: unrecognized option: $1
3536
Try \`$0 --help' for more information." >&2;}
3537
   { (exit 1); exit 1; }; } ;;
3538
 
3539
  *) ac_config_targets="$ac_config_targets $1" ;;
3540
 
3541
  esac
3542
  shift
3543
done
3544
 
3545
exec 5>>config.log
3546
cat >&5 << _ACEOF
3547
 
3548
## ----------------------- ##
3549
## Running config.status.  ##
3550
## ----------------------- ##
3551
 
3552
This file was extended by $as_me (rtems-c-src-tests-mptests ss-20020807) 2.52, executed with
3553
  CONFIG_FILES    = $CONFIG_FILES
3554
  CONFIG_HEADERS  = $CONFIG_HEADERS
3555
  CONFIG_LINKS    = $CONFIG_LINKS
3556
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3557
  > $ac_cs_invocation
3558
on `(hostname || uname -n) 2>/dev/null | sed 1q`
3559
 
3560
_ACEOF
3561
EOF
3562
 
3563
cat >>$CONFIG_STATUS <
3564
#
3565
# INIT-COMMANDS section.
3566
#
3567
 
3568
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3569
 
3570
EOF
3571
 
3572
cat >>$CONFIG_STATUS <<\EOF
3573
for ac_config_target in $ac_config_targets
3574
do
3575
  case "$ac_config_target" in
3576
  # Handling of arguments.
3577
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3578
  "mp01/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp01/Makefile" ;;
3579
  "mp01/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp01/node1/Makefile" ;;
3580
  "mp01/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp01/node2/Makefile" ;;
3581
  "mp02/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp02/Makefile" ;;
3582
  "mp02/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp02/node1/Makefile" ;;
3583
  "mp02/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp02/node2/Makefile" ;;
3584
  "mp03/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp03/Makefile" ;;
3585
  "mp03/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp03/node1/Makefile" ;;
3586
  "mp03/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp03/node2/Makefile" ;;
3587
  "mp04/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp04/Makefile" ;;
3588
  "mp04/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp04/node1/Makefile" ;;
3589
  "mp04/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp04/node2/Makefile" ;;
3590
  "mp05/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp05/Makefile" ;;
3591
  "mp05/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp05/node1/Makefile" ;;
3592
  "mp05/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp05/node2/Makefile" ;;
3593
  "mp06/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp06/Makefile" ;;
3594
  "mp06/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp06/node1/Makefile" ;;
3595
  "mp06/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp06/node2/Makefile" ;;
3596
  "mp07/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp07/Makefile" ;;
3597
  "mp07/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp07/node1/Makefile" ;;
3598
  "mp07/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp07/node2/Makefile" ;;
3599
  "mp08/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp08/Makefile" ;;
3600
  "mp08/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp08/node1/Makefile" ;;
3601
  "mp08/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp08/node2/Makefile" ;;
3602
  "mp09/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp09/Makefile" ;;
3603
  "mp09/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp09/node1/Makefile" ;;
3604
  "mp09/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp09/node2/Makefile" ;;
3605
  "mp10/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp10/Makefile" ;;
3606
  "mp10/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp10/node1/Makefile" ;;
3607
  "mp10/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp10/node2/Makefile" ;;
3608
  "mp11/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp11/Makefile" ;;
3609
  "mp11/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp11/node1/Makefile" ;;
3610
  "mp11/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp11/node2/Makefile" ;;
3611
  "mp12/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp12/Makefile" ;;
3612
  "mp12/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp12/node1/Makefile" ;;
3613
  "mp12/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp12/node2/Makefile" ;;
3614
  "mp13/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp13/Makefile" ;;
3615
  "mp13/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp13/node1/Makefile" ;;
3616
  "mp13/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp13/node2/Makefile" ;;
3617
  "mp14/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp14/Makefile" ;;
3618
  "mp14/node1/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp14/node1/Makefile" ;;
3619
  "mp14/node2/Makefile" ) CONFIG_FILES="$CONFIG_FILES mp14/node2/Makefile" ;;
3620
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3621
  *) { { echo "$as_me:3621: error: invalid argument: $ac_config_target" >&5
3622
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3623
   { (exit 1); exit 1; }; };;
3624
  esac
3625
done
3626
 
3627
# If the user did not use the arguments to specify the items to instantiate,
3628
# then the envvar interface is used.  Set only those that are not.
3629
# We use the long form for the default assignment because of an extremely
3630
# bizarre bug on SunOS 4.1.3.
3631
if $ac_need_defaults; then
3632
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3633
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3634
fi
3635
 
3636
# Create a temporary directory, and hook for its removal unless debugging.
3637
$debug ||
3638
{
3639
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3640
  trap '{ (exit 1); exit 1; }' 1 2 13 15
3641
}
3642
 
3643
# Create a (secure) tmp directory for tmp files.
3644
: ${TMPDIR=/tmp}
3645
{
3646
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3647
  test -n "$tmp" && test -d "$tmp"
3648
}  ||
3649
{
3650
  tmp=$TMPDIR/cs$$-$RANDOM
3651
  (umask 077 && mkdir $tmp)
3652
} ||
3653
{
3654
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3655
   { (exit 1); exit 1; }
3656
}
3657
 
3658
EOF
3659
 
3660
cat >>$CONFIG_STATUS <
3661
 
3662
#
3663
# CONFIG_FILES section.
3664
#
3665
 
3666
# No need to generate the scripts if there are no CONFIG_FILES.
3667
# This happens for instance when ./config.status config.h
3668
if test -n "\$CONFIG_FILES"; then
3669
  # Protect against being on the right side of a sed subst in config.status.
3670
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3671
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3672
s,@SHELL@,$SHELL,;t t
3673
s,@exec_prefix@,$exec_prefix,;t t
3674
s,@prefix@,$prefix,;t t
3675
s,@program_transform_name@,$program_transform_name,;t t
3676
s,@bindir@,$bindir,;t t
3677
s,@sbindir@,$sbindir,;t t
3678
s,@libexecdir@,$libexecdir,;t t
3679
s,@datadir@,$datadir,;t t
3680
s,@sysconfdir@,$sysconfdir,;t t
3681
s,@sharedstatedir@,$sharedstatedir,;t t
3682
s,@localstatedir@,$localstatedir,;t t
3683
s,@libdir@,$libdir,;t t
3684
s,@includedir@,$includedir,;t t
3685
s,@oldincludedir@,$oldincludedir,;t t
3686
s,@infodir@,$infodir,;t t
3687
s,@mandir@,$mandir,;t t
3688
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3689
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3690
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3691
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3692
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3693
s,@build_alias@,$build_alias,;t t
3694
s,@host_alias@,$host_alias,;t t
3695
s,@target_alias@,$target_alias,;t t
3696
s,@ECHO_C@,$ECHO_C,;t t
3697
s,@ECHO_N@,$ECHO_N,;t t
3698
s,@ECHO_T@,$ECHO_T,;t t
3699
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3700
s,@DEFS@,$DEFS,;t t
3701
s,@LIBS@,$LIBS,;t t
3702
s,@MAKE@,$MAKE,;t t
3703
s,@ENDIF@,$ENDIF,;t t
3704
s,@RTEMS_TOPdir@,$RTEMS_TOPdir,;t t
3705
s,@PROJECT_TOPdir@,$PROJECT_TOPdir,;t t
3706
s,@PROJECT_ROOT@,$PROJECT_ROOT,;t t
3707
s,@build@,$build,;t t
3708
s,@build_cpu@,$build_cpu,;t t
3709
s,@build_vendor@,$build_vendor,;t t
3710
s,@build_os@,$build_os,;t t
3711
s,@host@,$host,;t t
3712
s,@host_cpu@,$host_cpu,;t t
3713
s,@host_vendor@,$host_vendor,;t t
3714
s,@host_os@,$host_os,;t t
3715
s,@target@,$target,;t t
3716
s,@target_cpu@,$target_cpu,;t t
3717
s,@target_vendor@,$target_vendor,;t t
3718
s,@target_os@,$target_os,;t t
3719
s,@RTEMS_CPU@,$RTEMS_CPU,;t t
3720
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3721
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3722
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3723
s,@PACKAGE@,$PACKAGE,;t t
3724
s,@VERSION@,$VERSION,;t t
3725
s,@ACLOCAL@,$ACLOCAL,;t t
3726
s,@AUTOCONF@,$AUTOCONF,;t t
3727
s,@AUTOMAKE@,$AUTOMAKE,;t t
3728
s,@AUTOHEADER@,$AUTOHEADER,;t t
3729
s,@MAKEINFO@,$MAKEINFO,;t t
3730
s,@AMTAR@,$AMTAR,;t t
3731
s,@install_sh@,$install_sh,;t t
3732
s,@STRIP@,$STRIP,;t t
3733
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3734
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3735
s,@AWK@,$AWK,;t t
3736
s,@SET_MAKE@,$SET_MAKE,;t t
3737
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3738
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3739
s,@MAINT@,$MAINT,;t t
3740
s,@RTEMS_BSP@,$RTEMS_BSP,;t t
3741
s,@RTEMS_BSP_SPECS@,$RTEMS_BSP_SPECS,;t t
3742
s,@GCC_SPECS@,$GCC_SPECS,;t t
3743
s,@PROJECT_INCLUDE@,$PROJECT_INCLUDE,;t t
3744
s,@PROJECT_RELEASE@,$PROJECT_RELEASE,;t t
3745
s,@RTEMS_ROOT@,$RTEMS_ROOT,;t t
3746
s,@BARE_CPU_MODEL@,$BARE_CPU_MODEL,;t t
3747
s,@BARE_CPU_CFLAGS@,$BARE_CPU_CFLAGS,;t t
3748
s,@MULTILIB_TRUE@,$MULTILIB_TRUE,;t t
3749
s,@MULTILIB_FALSE@,$MULTILIB_FALSE,;t t
3750
s,@bsplibdir@,$bsplibdir,;t t
3751
s,@RTEMS_HOST@,$RTEMS_HOST,;t t
3752
s,@PACKHEX@,$PACKHEX,;t t
3753
s,@CC@,$CC,;t t
3754
s,@CFLAGS@,$CFLAGS,;t t
3755
s,@LDFLAGS@,$LDFLAGS,;t t
3756
s,@CPPFLAGS@,$CPPFLAGS,;t t
3757
s,@ac_ct_CC@,$ac_ct_CC,;t t
3758
s,@EXEEXT@,$EXEEXT,;t t
3759
s,@OBJEXT@,$OBJEXT,;t t
3760
s,@DEPDIR@,$DEPDIR,;t t
3761
s,@am__include@,$am__include,;t t
3762
s,@am__quote@,$am__quote,;t t
3763
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3764
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3765
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3766
s,@CCDEPMODE@,$CCDEPMODE,;t t
3767
s,@CPP@,$CPP,;t t
3768
s,@RTEMS_USE_GCC_TRUE@,$RTEMS_USE_GCC_TRUE,;t t
3769
s,@RTEMS_USE_GCC_FALSE@,$RTEMS_USE_GCC_FALSE,;t t
3770
s,@GCCSED@,$GCCSED,;t t
3771
s,@AR@,$AR,;t t
3772
s,@AS@,$AS,;t t
3773
s,@LD@,$LD,;t t
3774
s,@NM@,$NM,;t t
3775
s,@RANLIB@,$RANLIB,;t t
3776
s,@OBJCOPY@,$OBJCOPY,;t t
3777
s,@SIZE@,$SIZE,;t t
3778
s,@HAS_MP@,$HAS_MP,;t t
3779
s,@CC_CFLAGS_DEFAULT@,$CC_CFLAGS_DEFAULT,;t t
3780
s,@CC_CFLAGS_DEBUG_V@,$CC_CFLAGS_DEBUG_V,;t t
3781
s,@CC_CFLAGS_PROFILE_V@,$CC_CFLAGS_PROFILE_V,;t t
3782
s,@CC_LDFLAGS_PROFILE_V@,$CC_LDFLAGS_PROFILE_V,;t t
3783
s,@HAS_MP_TRUE@,$HAS_MP_TRUE,;t t
3784
s,@HAS_MP_FALSE@,$HAS_MP_FALSE,;t t
3785
CEOF
3786
 
3787
EOF
3788
 
3789
  cat >>$CONFIG_STATUS <<\EOF
3790
  # Split the substitutions into bite-sized pieces for seds with
3791
  # small command number limits, like on Digital OSF/1 and HP-UX.
3792
  ac_max_sed_lines=48
3793
  ac_sed_frag=1 # Number of current file.
3794
  ac_beg=1 # First line for current file.
3795
  ac_end=$ac_max_sed_lines # Line after last line for current file.
3796
  ac_more_lines=:
3797
  ac_sed_cmds=
3798
  while $ac_more_lines; do
3799
    if test $ac_beg -gt 1; then
3800
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3801
    else
3802
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3803
    fi
3804
    if test ! -s $tmp/subs.frag; then
3805
      ac_more_lines=false
3806
    else
3807
      # The purpose of the label and of the branching condition is to
3808
      # speed up the sed processing (if there are no `@' at all, there
3809
      # is no need to browse any of the substitutions).
3810
      # These are the two extra sed commands mentioned above.
3811
      (echo ':t
3812
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3813
      if test -z "$ac_sed_cmds"; then
3814
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3815
      else
3816
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3817
      fi
3818
      ac_sed_frag=`expr $ac_sed_frag + 1`
3819
      ac_beg=$ac_end
3820
      ac_end=`expr $ac_end + $ac_max_sed_lines`
3821
    fi
3822
  done
3823
  if test -z "$ac_sed_cmds"; then
3824
    ac_sed_cmds=cat
3825
  fi
3826
fi # test -n "$CONFIG_FILES"
3827
 
3828
EOF
3829
cat >>$CONFIG_STATUS <<\EOF
3830
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3831
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3832
  case $ac_file in
3833
  - | *:- | *:-:* ) # input from stdin
3834
        cat >$tmp/stdin
3835
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3836
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3837
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3838
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3839
  * )   ac_file_in=$ac_file.in ;;
3840
  esac
3841
 
3842
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3843
  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3844
         X"$ac_file" : 'X\(//\)[^/]' \| \
3845
         X"$ac_file" : 'X\(//\)$' \| \
3846
         X"$ac_file" : 'X\(/\)' \| \
3847
         .     : '\(.\)' 2>/dev/null ||
3848
echo X"$ac_file" |
3849
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3850
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3851
          /^X\(\/\/\)$/{ s//\1/; q; }
3852
          /^X\(\/\).*/{ s//\1/; q; }
3853
          s/.*/./; q'`
3854
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3855
    { case "$ac_dir" in
3856
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3857
  *)                      as_incr_dir=.;;
3858
esac
3859
as_dummy="$ac_dir"
3860
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3861
  case $as_mkdir_dir in
3862
    # Skip DOS drivespec
3863
    ?:) as_incr_dir=$as_mkdir_dir ;;
3864
    *)
3865
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
3866
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3867
    ;;
3868
  esac
3869
done; }
3870
 
3871
    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3872
    # A "../" for each directory in $ac_dir_suffix.
3873
    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3874
  else
3875
    ac_dir_suffix= ac_dots=
3876
  fi
3877
 
3878
  case $srcdir in
3879
  .)  ac_srcdir=.
3880
      if test -z "$ac_dots"; then
3881
         ac_top_srcdir=.
3882
      else
3883
         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
3884
      fi ;;
3885
  [\\/]* | ?:[\\/]* )
3886
      ac_srcdir=$srcdir$ac_dir_suffix;
3887
      ac_top_srcdir=$srcdir ;;
3888
  *) # Relative path.
3889
    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
3890
    ac_top_srcdir=$ac_dots$srcdir ;;
3891
  esac
3892
 
3893
  case $INSTALL in
3894
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3895
  *) ac_INSTALL=$ac_dots$INSTALL ;;
3896
  esac
3897
 
3898
  if test x"$ac_file" != x-; then
3899
    { echo "$as_me:3899: creating $ac_file" >&5
3900
echo "$as_me: creating $ac_file" >&6;}
3901
    rm -f "$ac_file"
3902
  fi
3903
  # Let's still pretend it is `configure' which instantiates (i.e., don't
3904
  # use $as_me), people would be surprised to read:
3905
  #    /* config.h.  Generated automatically by config.status.  */
3906
  configure_input="Generated automatically from `echo $ac_file_in |
3907
                                                 sed 's,.*/,,'` by configure."
3908
 
3909
  # First look for the input files in the build tree, otherwise in the
3910
  # src tree.
3911
  ac_file_inputs=`IFS=:
3912
    for f in $ac_file_in; do
3913
      case $f in
3914
      -) echo $tmp/stdin ;;
3915
      [\\/$]*)
3916
         # Absolute (can't be DOS-style, as IFS=:)
3917
         test -f "$f" || { { echo "$as_me:3917: error: cannot find input file: $f" >&5
3918
echo "$as_me: error: cannot find input file: $f" >&2;}
3919
   { (exit 1); exit 1; }; }
3920
         echo $f;;
3921
      *) # Relative
3922
         if test -f "$f"; then
3923
           # Build tree
3924
           echo $f
3925
         elif test -f "$srcdir/$f"; then
3926
           # Source tree
3927
           echo $srcdir/$f
3928
         else
3929
           # /dev/null tree
3930
           { { echo "$as_me:3930: error: cannot find input file: $f" >&5
3931
echo "$as_me: error: cannot find input file: $f" >&2;}
3932
   { (exit 1); exit 1; }; }
3933
         fi;;
3934
      esac
3935
    done` || { (exit 1); exit 1; }
3936
EOF
3937
cat >>$CONFIG_STATUS <
3938
  sed "$ac_vpsub
3939
$extrasub
3940
EOF
3941
cat >>$CONFIG_STATUS <<\EOF
3942
:t
3943
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3944
s,@configure_input@,$configure_input,;t t
3945
s,@srcdir@,$ac_srcdir,;t t
3946
s,@top_srcdir@,$ac_top_srcdir,;t t
3947
s,@INSTALL@,$ac_INSTALL,;t t
3948
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3949
  rm -f $tmp/stdin
3950
  if test x"$ac_file" != x-; then
3951
    mv $tmp/out $ac_file
3952
  else
3953
    cat $tmp/out
3954
    rm -f $tmp/out
3955
  fi
3956
 
3957
done
3958
EOF
3959
cat >>$CONFIG_STATUS <<\EOF
3960
 
3961
#
3962
# CONFIG_COMMANDS section.
3963
#
3964
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3965
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3966
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3967
 
3968
  case $ac_dest in
3969
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3970
  # Strip MF so we end up with the name of the file.
3971
  mf=`echo "$mf" | sed -e 's/:.*$//'`
3972
  # Check whether this is an Automake generated Makefile or not.
3973
  # We used to match only the files named `Makefile.in', but
3974
  # some people rename them; so instead we look at the file content.
3975
  # Grep'ing the first line is not enough: some people post-process
3976
  # each Makefile.in and add a new line on top of each file to say so.
3977
  # So let's grep whole file.
3978
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3979
    dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3980
         X"$mf" : 'X\(//\)[^/]' \| \
3981
         X"$mf" : 'X\(//\)$' \| \
3982
         X"$mf" : 'X\(/\)' \| \
3983
         .     : '\(.\)' 2>/dev/null ||
3984
echo X"$mf" |
3985
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3986
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3987
          /^X\(\/\/\)$/{ s//\1/; q; }
3988
          /^X\(\/\).*/{ s//\1/; q; }
3989
          s/.*/./; q'`
3990
  else
3991
    continue
3992
  fi
3993
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
3994
  # Extract the definition of DEP_FILES from the Makefile without
3995
  # running `make'.
3996
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
3997
  test -z "$DEPDIR" && continue
3998
  # When using ansi2knr, U may be empty or an underscore; expand it
3999
  U=`sed -n -e '/^U = / s///p' < "$mf"`
4000
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4001
  # We invoke sed twice because it is the simplest approach to
4002
  # changing $(DEPDIR) to its actual value in the expansion.
4003
  for file in `sed -n -e '
4004
    /^DEP_FILES = .*\\\\$/ {
4005
      s/^DEP_FILES = //
4006
      :loop
4007
        s/\\\\$//
4008
        p
4009
        n
4010
        /\\\\$/ b loop
4011
      p
4012
    }
4013
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4014
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4015
    # Make sure the directory exists.
4016
    test -f "$dirpart/$file" && continue
4017
    fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4018
         X"$file" : 'X\(//\)[^/]' \| \
4019
         X"$file" : 'X\(//\)$' \| \
4020
         X"$file" : 'X\(/\)' \| \
4021
         .     : '\(.\)' 2>/dev/null ||
4022
echo X"$file" |
4023
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4024
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4025
          /^X\(\/\/\)$/{ s//\1/; q; }
4026
          /^X\(\/\).*/{ s//\1/; q; }
4027
          s/.*/./; q'`
4028
    { case $dirpart/$fdir in
4029
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4030
  *)                      as_incr_dir=.;;
4031
esac
4032
as_dummy=$dirpart/$fdir
4033
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4034
  case $as_mkdir_dir in
4035
    # Skip DOS drivespec
4036
    ?:) as_incr_dir=$as_mkdir_dir ;;
4037
    *)
4038
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
4039
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
4040
    ;;
4041
  esac
4042
done; }
4043
 
4044
    # echo "creating $dirpart/$file"
4045
    echo '# dummy' > "$dirpart/$file"
4046
  done
4047
done
4048
 ;;
4049
  esac
4050
done
4051
EOF
4052
 
4053
cat >>$CONFIG_STATUS <<\EOF
4054
 
4055
{ (exit 0); exit 0; }
4056
EOF
4057
chmod +x $CONFIG_STATUS
4058
ac_clean_files=$ac_clean_files_save
4059
 
4060
# configure is writing to config.log, and then calls config.status.
4061
# config.status does its own redirection, appending to config.log.
4062
# Unfortunately, on DOS this fails, as config.log is still kept open
4063
# by configure, so config.status won't be able to write to it; its
4064
# output is simply discarded.  So we exec the FD to /dev/null,
4065
# effectively closing config.log, so it can be properly (re)opened and
4066
# appended to by config.status.  When coming back to configure, we
4067
# need to make the FD available again.
4068
if test "$no_create" != yes; then
4069
  ac_cs_success=:
4070
  exec 5>/dev/null
4071
  $SHELL $CONFIG_STATUS || ac_cs_success=false
4072
  exec 5>>config.log
4073
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4074
  # would make configure fail if this is the last instruction.
4075
  $ac_cs_success || { (exit 1); exit 1; }
4076
fi
4077
 

powered by: WebSVN 2.1.0

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