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

Subversion Repositories or1k

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

powered by: WebSVN 2.1.0

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