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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [scripts-ada/] [configure] - Blame information for rev 1780

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

powered by: WebSVN 2.1.0

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