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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [libnetworking/] [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-libnetworking 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="pppd"
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-libnetworking'
152
PACKAGE_TARNAME='rtems-c-src-libnetworking'
153
PACKAGE_VERSION='ss-20020807'
154
PACKAGE_STRING='rtems-c-src-libnetworking 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-libnetworking 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-libnetworking 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-bare-cpu-cflags
653
                          specify a particular cpu cflag (bare bsp specific)
654
  --enable-bare-cpu-model specify a particular cpu model (bare bsp specific)
655
  --enable-posix          enable posix interface
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-libnetworking 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-libnetworking $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-libnetworking
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-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
1522
if test "${enable_bare_cpu_cflags+set}" = set; then
1523
  enableval="$enable_bare_cpu_cflags"
1524
  case "${enableval}" in
1525
  no) BARE_CPU_CFLAGS="" ;;
1526
  *)    BARE_CPU_CFLAGS="${enableval}" ;;
1527
esac
1528
else
1529
  BARE_CPU_CFLAGS=""
1530
fi;
1531
 
1532
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
1533
if test "${enable_bare_cpu_model+set}" = set; then
1534
  enableval="$enable_bare_cpu_model"
1535
  case "${enableval}" in
1536
  no)   BARE_CPU_MODEL="" ;;
1537
  *)    BARE_CPU_MODEL="${enableval}" ;;
1538
esac
1539
else
1540
  BARE_CPU_MODEL=""
1541
fi;
1542
 
1543
# Check whether --enable-posix or --disable-posix was given.
1544
if test "${enable_posix+set}" = set; then
1545
  enableval="$enable_posix"
1546
  case "${enableval}" in
1547
  yes) RTEMS_HAS_POSIX_API=yes ;;
1548
  no) RTEMS_HAS_POSIX_API=no ;;
1549
  *)  { { echo "$as_me:1549: error: bad value ${enableval} for enable-posix option" >&5
1550
echo "$as_me: error: bad value ${enableval} for enable-posix option" >&2;}
1551
   { (exit 1); exit 1; }; } ;;
1552
esac
1553
else
1554
  RTEMS_HAS_POSIX_API=yes
1555
fi;
1556
 
1557
case "${host}" in
1558
  # hpux unix port should go here
1559
  i[34567]86-pc-linux*)         # unix "simulator" port
1560
        RTEMS_HAS_POSIX_API=no
1561
        ;;
1562
  i[34567]86-*freebsd*) # unix "simulator" port
1563
        RTEMS_HAS_POSIX_API=no
1564
        ;;
1565
  no_cpu-*rtems*)
1566
        RTEMS_HAS_POSIX_API=no
1567
        ;;
1568
  sparc-sun-solaris*)             # unix "simulator" port
1569
        RTEMS_HAS_POSIX_API=no
1570
        ;;
1571
  *)
1572
        ;;
1573
esac
1574
 
1575
echo "$as_me:1575: checking for RTEMS_BSP" >&5
1576
echo $ECHO_N "checking for RTEMS_BSP... $ECHO_C" >&6
1577
if test "${rtems_cv_RTEMS_BSP+set}" = set; then
1578
  echo $ECHO_N "(cached) $ECHO_C" >&6
1579
else
1580
    test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
1581
 
1582
fi
1583
if test -z "$rtems_cv_RTEMS_BSP"; then
1584
  { { echo "$as_me:1584: error: Missing RTEMS_BSP" >&5
1585
echo "$as_me: error: Missing RTEMS_BSP" >&2;}
1586
   { (exit 1); exit 1; }; }
1587
fi
1588
RTEMS_BSP="$rtems_cv_RTEMS_BSP"
1589
echo "$as_me:1589: result: ${RTEMS_BSP}" >&5
1590
echo "${ECHO_T}${RTEMS_BSP}" >&6
1591
 
1592
RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
1593
 
1594
GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
1595
 
1596
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
1597
 
1598
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
1599
 
1600
RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP
1601
 
1602
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
1603
if test "${enable_bare_cpu_cflags+set}" = set; then
1604
  enableval="$enable_bare_cpu_cflags"
1605
  case "${enableval}" in
1606
  no) BARE_CPU_CFLAGS="" ;;
1607
  *)    BARE_CPU_CFLAGS="${enableval}" ;;
1608
esac
1609
else
1610
  BARE_CPU_CFLAGS=""
1611
fi;
1612
 
1613
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
1614
if test "${enable_bare_cpu_model+set}" = set; then
1615
  enableval="$enable_bare_cpu_model"
1616
  case "${enableval}" in
1617
  no)   BARE_CPU_MODEL="" ;;
1618
  *)    BARE_CPU_MODEL="${enableval}" ;;
1619
esac
1620
else
1621
  BARE_CPU_MODEL=""
1622
fi;
1623
 
1624
if false; then
1625
  MULTILIB_TRUE=
1626
  MULTILIB_FALSE='#'
1627
else
1628
  MULTILIB_TRUE='#'
1629
  MULTILIB_FALSE=
1630
fi
1631
 
1632
includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
1633
libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
1634
 
1635
bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib"
1636
 
1637
# Is this a supported CPU?
1638
echo "$as_me:1638: checking if cpu $RTEMS_CPU is supported" >&5
1639
echo $ECHO_N "checking if cpu $RTEMS_CPU is supported... $ECHO_C" >&6
1640
# FIXME: Temporary hack
1641
if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then
1642
  echo "$as_me:1642: result: yes" >&5
1643
echo "${ECHO_T}yes" >&6
1644
else
1645
  { { echo "$as_me:1645: error: no" >&5
1646
echo "$as_me: error: no" >&2;}
1647
   { (exit 1); exit 1; }; }
1648
fi
1649
 
1650
RTEMS_HOST=$host_os
1651
case "${target}" in
1652
  # hpux unix port should go here
1653
  i[34567]86-*linux*)          # unix "simulator" port
1654
        RTEMS_HOST=Linux
1655
        ;;
1656
  i[34567]86-*freebsd*)         # unix "simulator" port
1657
        RTEMS_HOST=FreeBSD
1658
        ;;
1659
  i[34567]86-pc-cygwin*)        # Cygwin is just enough unix like :)
1660
        RTEMS_HOST=Cygwin
1661
        ;;
1662
  sparc-sun-solaris*)           # unix "simulator" port
1663
        RTEMS_HOST=Solaris
1664
        ;;
1665
  *)
1666
        ;;
1667
esac
1668
 
1669
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
1670
 
1671
rm -f .deps 2>/dev/null
1672
mkdir .deps 2>/dev/null
1673
if test -d .deps; then
1674
  DEPDIR=.deps
1675
else
1676
  # MS-DOS does not allow filenames that begin with a dot.
1677
  DEPDIR=_deps
1678
fi
1679
rmdir .deps 2>/dev/null
1680
 
1681
ac_config_commands="$ac_config_commands depfiles"
1682
 
1683
am_make=${MAKE-make}
1684
cat > confinc << 'END'
1685
doit:
1686
        @echo done
1687
END
1688
# If we don't find an include directive, just comment out the code.
1689
echo "$as_me:1689: checking for style of include used by $am_make" >&5
1690
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1691
am__include="#"
1692
am__quote=
1693
_am_result=none
1694
# First try GNU make style include.
1695
echo "include confinc" > confmf
1696
# We grep out `Entering directory' and `Leaving directory'
1697
# messages which can occur if `w' ends up in MAKEFLAGS.
1698
# In particular we don't look at `^make:' because GNU make might
1699
# be invoked under some other name (usually "gmake"), in which
1700
# case it prints its new name instead of `make'.
1701
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1702
   am__include=include
1703
   am__quote=
1704
   _am_result=GNU
1705
fi
1706
# Now try BSD make style include.
1707
if test "$am__include" = "#"; then
1708
   echo '.include "confinc"' > confmf
1709
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1710
      am__include=.include
1711
      am__quote="\""
1712
      _am_result=BSD
1713
   fi
1714
fi
1715
 
1716
echo "$as_me:1716: result: $_am_result" >&5
1717
echo "${ECHO_T}$_am_result" >&6
1718
rm -f confinc confmf
1719
 
1720
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1721
if test "${enable_dependency_tracking+set}" = set; then
1722
  enableval="$enable_dependency_tracking"
1723
 
1724
fi;
1725
if test "x$enable_dependency_tracking" != xno; then
1726
  am_depcomp="$ac_aux_dir/depcomp"
1727
  AMDEPBACKSLASH='\'
1728
fi
1729
 
1730
if test "x$enable_dependency_tracking" != xno; then
1731
  AMDEP_TRUE=
1732
  AMDEP_FALSE='#'
1733
else
1734
  AMDEP_TRUE='#'
1735
  AMDEP_FALSE=
1736
fi
1737
 
1738
  if test "x$build_alias" != "x$host_alias"; then
1739
  rtems_tool_prefix=${ac_tool_prefix}
1740
fi
1741
 
1742
  # Extract the first word of "${rtems_tool_prefix}gcc", so it can be a program name with args.
1743
set dummy ${rtems_tool_prefix}gcc; ac_word=$2
1744
echo "$as_me:1744: checking for $ac_word" >&5
1745
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1746
if test "${ac_cv_prog_CC+set}" = set; then
1747
  echo $ECHO_N "(cached) $ECHO_C" >&6
1748
else
1749
  if test -n "$CC"; then
1750
  ac_cv_prog_CC="$CC" # Let the user override the test.
1751
else
1752
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1753
ac_dummy="$PATH"
1754
for ac_dir in $ac_dummy; do
1755
  IFS=$ac_save_IFS
1756
  test -z "$ac_dir" && ac_dir=.
1757
  $as_executable_p "$ac_dir/$ac_word" || continue
1758
ac_cv_prog_CC="${rtems_tool_prefix}gcc"
1759
echo "$as_me:1759: found $ac_dir/$ac_word" >&5
1760
break
1761
done
1762
 
1763
fi
1764
fi
1765
CC=$ac_cv_prog_CC
1766
if test -n "$CC"; then
1767
  echo "$as_me:1767: result: $CC" >&5
1768
echo "${ECHO_T}$CC" >&6
1769
else
1770
  echo "$as_me:1770: result: no" >&5
1771
echo "${ECHO_T}no" >&6
1772
fi
1773
 
1774
test -z "$CC" && \
1775
  { { echo "$as_me:1775: error: no acceptable cc found in \$PATH" >&5
1776
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1777
   { (exit 1); exit 1; }; }
1778
ac_ext=c
1779
ac_cpp='$CPP $CPPFLAGS'
1780
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1781
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1782
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1783
if test -n "$ac_tool_prefix"; then
1784
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1785
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1786
echo "$as_me:1786: checking for $ac_word" >&5
1787
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1788
if test "${ac_cv_prog_CC+set}" = set; then
1789
  echo $ECHO_N "(cached) $ECHO_C" >&6
1790
else
1791
  if test -n "$CC"; then
1792
  ac_cv_prog_CC="$CC" # Let the user override the test.
1793
else
1794
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1795
ac_dummy="$PATH"
1796
for ac_dir in $ac_dummy; do
1797
  IFS=$ac_save_IFS
1798
  test -z "$ac_dir" && ac_dir=.
1799
  $as_executable_p "$ac_dir/$ac_word" || continue
1800
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1801
echo "$as_me:1801: found $ac_dir/$ac_word" >&5
1802
break
1803
done
1804
 
1805
fi
1806
fi
1807
CC=$ac_cv_prog_CC
1808
if test -n "$CC"; then
1809
  echo "$as_me:1809: result: $CC" >&5
1810
echo "${ECHO_T}$CC" >&6
1811
else
1812
  echo "$as_me:1812: result: no" >&5
1813
echo "${ECHO_T}no" >&6
1814
fi
1815
 
1816
fi
1817
if test -z "$ac_cv_prog_CC"; then
1818
  ac_ct_CC=$CC
1819
  # Extract the first word of "gcc", so it can be a program name with args.
1820
set dummy gcc; ac_word=$2
1821
echo "$as_me:1821: checking for $ac_word" >&5
1822
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1823
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1824
  echo $ECHO_N "(cached) $ECHO_C" >&6
1825
else
1826
  if test -n "$ac_ct_CC"; then
1827
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1828
else
1829
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1830
ac_dummy="$PATH"
1831
for ac_dir in $ac_dummy; do
1832
  IFS=$ac_save_IFS
1833
  test -z "$ac_dir" && ac_dir=.
1834
  $as_executable_p "$ac_dir/$ac_word" || continue
1835
ac_cv_prog_ac_ct_CC="gcc"
1836
echo "$as_me:1836: found $ac_dir/$ac_word" >&5
1837
break
1838
done
1839
 
1840
fi
1841
fi
1842
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1843
if test -n "$ac_ct_CC"; then
1844
  echo "$as_me:1844: result: $ac_ct_CC" >&5
1845
echo "${ECHO_T}$ac_ct_CC" >&6
1846
else
1847
  echo "$as_me:1847: result: no" >&5
1848
echo "${ECHO_T}no" >&6
1849
fi
1850
 
1851
  CC=$ac_ct_CC
1852
else
1853
  CC="$ac_cv_prog_CC"
1854
fi
1855
 
1856
if test -z "$CC"; then
1857
  if test -n "$ac_tool_prefix"; then
1858
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1859
set dummy ${ac_tool_prefix}cc; ac_word=$2
1860
echo "$as_me:1860: checking for $ac_word" >&5
1861
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1862
if test "${ac_cv_prog_CC+set}" = set; then
1863
  echo $ECHO_N "(cached) $ECHO_C" >&6
1864
else
1865
  if test -n "$CC"; then
1866
  ac_cv_prog_CC="$CC" # Let the user override the test.
1867
else
1868
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1869
ac_dummy="$PATH"
1870
for ac_dir in $ac_dummy; do
1871
  IFS=$ac_save_IFS
1872
  test -z "$ac_dir" && ac_dir=.
1873
  $as_executable_p "$ac_dir/$ac_word" || continue
1874
ac_cv_prog_CC="${ac_tool_prefix}cc"
1875
echo "$as_me:1875: found $ac_dir/$ac_word" >&5
1876
break
1877
done
1878
 
1879
fi
1880
fi
1881
CC=$ac_cv_prog_CC
1882
if test -n "$CC"; then
1883
  echo "$as_me:1883: result: $CC" >&5
1884
echo "${ECHO_T}$CC" >&6
1885
else
1886
  echo "$as_me:1886: result: no" >&5
1887
echo "${ECHO_T}no" >&6
1888
fi
1889
 
1890
fi
1891
if test -z "$ac_cv_prog_CC"; then
1892
  ac_ct_CC=$CC
1893
  # Extract the first word of "cc", so it can be a program name with args.
1894
set dummy cc; ac_word=$2
1895
echo "$as_me:1895: checking for $ac_word" >&5
1896
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1897
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1898
  echo $ECHO_N "(cached) $ECHO_C" >&6
1899
else
1900
  if test -n "$ac_ct_CC"; then
1901
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1902
else
1903
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1904
ac_dummy="$PATH"
1905
for ac_dir in $ac_dummy; do
1906
  IFS=$ac_save_IFS
1907
  test -z "$ac_dir" && ac_dir=.
1908
  $as_executable_p "$ac_dir/$ac_word" || continue
1909
ac_cv_prog_ac_ct_CC="cc"
1910
echo "$as_me:1910: found $ac_dir/$ac_word" >&5
1911
break
1912
done
1913
 
1914
fi
1915
fi
1916
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1917
if test -n "$ac_ct_CC"; then
1918
  echo "$as_me:1918: result: $ac_ct_CC" >&5
1919
echo "${ECHO_T}$ac_ct_CC" >&6
1920
else
1921
  echo "$as_me:1921: result: no" >&5
1922
echo "${ECHO_T}no" >&6
1923
fi
1924
 
1925
  CC=$ac_ct_CC
1926
else
1927
  CC="$ac_cv_prog_CC"
1928
fi
1929
 
1930
fi
1931
if test -z "$CC"; then
1932
  # Extract the first word of "cc", so it can be a program name with args.
1933
set dummy cc; ac_word=$2
1934
echo "$as_me:1934: checking for $ac_word" >&5
1935
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1936
if test "${ac_cv_prog_CC+set}" = set; then
1937
  echo $ECHO_N "(cached) $ECHO_C" >&6
1938
else
1939
  if test -n "$CC"; then
1940
  ac_cv_prog_CC="$CC" # Let the user override the test.
1941
else
1942
  ac_prog_rejected=no
1943
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1944
ac_dummy="$PATH"
1945
for ac_dir in $ac_dummy; do
1946
  IFS=$ac_save_IFS
1947
  test -z "$ac_dir" && ac_dir=.
1948
  $as_executable_p "$ac_dir/$ac_word" || continue
1949
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1950
  ac_prog_rejected=yes
1951
  continue
1952
fi
1953
ac_cv_prog_CC="cc"
1954
echo "$as_me:1954: found $ac_dir/$ac_word" >&5
1955
break
1956
done
1957
 
1958
if test $ac_prog_rejected = yes; then
1959
  # We found a bogon in the path, so make sure we never use it.
1960
  set dummy $ac_cv_prog_CC
1961
  shift
1962
  if test $# != 0; then
1963
    # We chose a different compiler from the bogus one.
1964
    # However, it has the same basename, so the bogon will be chosen
1965
    # first if we set CC to just the basename; use the full file name.
1966
    shift
1967
    set dummy "$ac_dir/$ac_word" ${1+"$@"}
1968
    shift
1969
    ac_cv_prog_CC="$@"
1970
  fi
1971
fi
1972
fi
1973
fi
1974
CC=$ac_cv_prog_CC
1975
if test -n "$CC"; then
1976
  echo "$as_me:1976: result: $CC" >&5
1977
echo "${ECHO_T}$CC" >&6
1978
else
1979
  echo "$as_me:1979: result: no" >&5
1980
echo "${ECHO_T}no" >&6
1981
fi
1982
 
1983
fi
1984
if test -z "$CC"; then
1985
  if test -n "$ac_tool_prefix"; then
1986
  for ac_prog in cl
1987
  do
1988
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1989
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1990
echo "$as_me:1990: checking for $ac_word" >&5
1991
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1992
if test "${ac_cv_prog_CC+set}" = set; then
1993
  echo $ECHO_N "(cached) $ECHO_C" >&6
1994
else
1995
  if test -n "$CC"; then
1996
  ac_cv_prog_CC="$CC" # Let the user override the test.
1997
else
1998
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1999
ac_dummy="$PATH"
2000
for ac_dir in $ac_dummy; do
2001
  IFS=$ac_save_IFS
2002
  test -z "$ac_dir" && ac_dir=.
2003
  $as_executable_p "$ac_dir/$ac_word" || continue
2004
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2005
echo "$as_me:2005: found $ac_dir/$ac_word" >&5
2006
break
2007
done
2008
 
2009
fi
2010
fi
2011
CC=$ac_cv_prog_CC
2012
if test -n "$CC"; then
2013
  echo "$as_me:2013: result: $CC" >&5
2014
echo "${ECHO_T}$CC" >&6
2015
else
2016
  echo "$as_me:2016: result: no" >&5
2017
echo "${ECHO_T}no" >&6
2018
fi
2019
 
2020
    test -n "$CC" && break
2021
  done
2022
fi
2023
if test -z "$CC"; then
2024
  ac_ct_CC=$CC
2025
  for ac_prog in cl
2026
do
2027
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2028
set dummy $ac_prog; ac_word=$2
2029
echo "$as_me:2029: checking for $ac_word" >&5
2030
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2031
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2032
  echo $ECHO_N "(cached) $ECHO_C" >&6
2033
else
2034
  if test -n "$ac_ct_CC"; then
2035
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2036
else
2037
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2038
ac_dummy="$PATH"
2039
for ac_dir in $ac_dummy; do
2040
  IFS=$ac_save_IFS
2041
  test -z "$ac_dir" && ac_dir=.
2042
  $as_executable_p "$ac_dir/$ac_word" || continue
2043
ac_cv_prog_ac_ct_CC="$ac_prog"
2044
echo "$as_me:2044: found $ac_dir/$ac_word" >&5
2045
break
2046
done
2047
 
2048
fi
2049
fi
2050
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2051
if test -n "$ac_ct_CC"; then
2052
  echo "$as_me:2052: result: $ac_ct_CC" >&5
2053
echo "${ECHO_T}$ac_ct_CC" >&6
2054
else
2055
  echo "$as_me:2055: result: no" >&5
2056
echo "${ECHO_T}no" >&6
2057
fi
2058
 
2059
  test -n "$ac_ct_CC" && break
2060
done
2061
 
2062
  CC=$ac_ct_CC
2063
fi
2064
 
2065
fi
2066
 
2067
test -z "$CC" && { { echo "$as_me:2067: error: no acceptable cc found in \$PATH" >&5
2068
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2069
   { (exit 1); exit 1; }; }
2070
 
2071
# Provide some information about the compiler.
2072
echo "$as_me:2072:" \
2073
     "checking for C compiler version" >&5
2074
ac_compiler=`set X $ac_compile; echo $2`
2075
{ (eval echo "$as_me:2075: \"$ac_compiler --version &5\"") >&5
2076
  (eval $ac_compiler --version &5) 2>&5
2077
  ac_status=$?
2078
  echo "$as_me:2078: \$? = $ac_status" >&5
2079
  (exit $ac_status); }
2080
{ (eval echo "$as_me:2080: \"$ac_compiler -v &5\"") >&5
2081
  (eval $ac_compiler -v &5) 2>&5
2082
  ac_status=$?
2083
  echo "$as_me:2083: \$? = $ac_status" >&5
2084
  (exit $ac_status); }
2085
{ (eval echo "$as_me:2085: \"$ac_compiler -V &5\"") >&5
2086
  (eval $ac_compiler -V &5) 2>&5
2087
  ac_status=$?
2088
  echo "$as_me:2088: \$? = $ac_status" >&5
2089
  (exit $ac_status); }
2090
 
2091
cat >conftest.$ac_ext <<_ACEOF
2092
#line 2092 "configure"
2093
#include "confdefs.h"
2094
 
2095
int
2096
main ()
2097
{
2098
 
2099
  ;
2100
  return 0;
2101
}
2102
_ACEOF
2103
ac_clean_files_save=$ac_clean_files
2104
ac_clean_files="$ac_clean_files a.out a.exe"
2105
# Try to create an executable without -o first, disregard a.out.
2106
# It will help us diagnose broken compilers, and finding out an intuition
2107
# of exeext.
2108
echo "$as_me:2108: checking for C compiler default output" >&5
2109
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2110
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2111
if { (eval echo "$as_me:2111: \"$ac_link_default\"") >&5
2112
  (eval $ac_link_default) 2>&5
2113
  ac_status=$?
2114
  echo "$as_me:2114: \$? = $ac_status" >&5
2115
  (exit $ac_status); }; then
2116
  # Find the output, starting from the most likely.  This scheme is
2117
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2118
# resort.
2119
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2120
                ls a.out conftest 2>/dev/null;
2121
                ls a.* conftest.* 2>/dev/null`; do
2122
  case $ac_file in
2123
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2124
    a.out ) # We found the default executable, but exeext='' is most
2125
            # certainly right.
2126
            break;;
2127
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2128
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2129
          export ac_cv_exeext
2130
          break;;
2131
    * ) break;;
2132
  esac
2133
done
2134
else
2135
  echo "$as_me: failed program was:" >&5
2136
cat conftest.$ac_ext >&5
2137
{ { echo "$as_me:2137: error: C compiler cannot create executables" >&5
2138
echo "$as_me: error: C compiler cannot create executables" >&2;}
2139
   { (exit 77); exit 77; }; }
2140
fi
2141
 
2142
ac_exeext=$ac_cv_exeext
2143
echo "$as_me:2143: result: $ac_file" >&5
2144
echo "${ECHO_T}$ac_file" >&6
2145
 
2146
# Check the compiler produces executables we can run.  If not, either
2147
# the compiler is broken, or we cross compile.
2148
echo "$as_me:2148: checking whether the C compiler works" >&5
2149
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2150
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2151
# If not cross compiling, check that we can run a simple program.
2152
if test "$cross_compiling" != yes; then
2153
  if { ac_try='./$ac_file'
2154
  { (eval echo "$as_me:2154: \"$ac_try\"") >&5
2155
  (eval $ac_try) 2>&5
2156
  ac_status=$?
2157
  echo "$as_me:2157: \$? = $ac_status" >&5
2158
  (exit $ac_status); }; }; then
2159
    cross_compiling=no
2160
  else
2161
    if test "$cross_compiling" = maybe; then
2162
        cross_compiling=yes
2163
    else
2164
        { { echo "$as_me:2164: error: cannot run C compiled programs.
2165
If you meant to cross compile, use \`--host'." >&5
2166
echo "$as_me: error: cannot run C compiled programs.
2167
If you meant to cross compile, use \`--host'." >&2;}
2168
   { (exit 1); exit 1; }; }
2169
    fi
2170
  fi
2171
fi
2172
echo "$as_me:2172: result: yes" >&5
2173
echo "${ECHO_T}yes" >&6
2174
 
2175
rm -f a.out a.exe conftest$ac_cv_exeext
2176
ac_clean_files=$ac_clean_files_save
2177
# Check the compiler produces executables we can run.  If not, either
2178
# the compiler is broken, or we cross compile.
2179
echo "$as_me:2179: checking whether we are cross compiling" >&5
2180
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2181
echo "$as_me:2181: result: $cross_compiling" >&5
2182
echo "${ECHO_T}$cross_compiling" >&6
2183
 
2184
echo "$as_me:2184: checking for executable suffix" >&5
2185
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2186
if { (eval echo "$as_me:2186: \"$ac_link\"") >&5
2187
  (eval $ac_link) 2>&5
2188
  ac_status=$?
2189
  echo "$as_me:2189: \$? = $ac_status" >&5
2190
  (exit $ac_status); }; then
2191
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2192
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2193
# work properly (i.e., refer to `conftest.exe'), while it won't with
2194
# `rm'.
2195
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2196
  case $ac_file in
2197
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2198
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2199
          export ac_cv_exeext
2200
          break;;
2201
    * ) break;;
2202
  esac
2203
done
2204
else
2205
  { { echo "$as_me:2205: error: cannot compute EXEEXT: cannot compile and link" >&5
2206
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2207
   { (exit 1); exit 1; }; }
2208
fi
2209
 
2210
rm -f conftest$ac_cv_exeext
2211
echo "$as_me:2211: result: $ac_cv_exeext" >&5
2212
echo "${ECHO_T}$ac_cv_exeext" >&6
2213
 
2214
rm -f conftest.$ac_ext
2215
EXEEXT=$ac_cv_exeext
2216
ac_exeext=$EXEEXT
2217
echo "$as_me:2217: checking for object suffix" >&5
2218
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2219
if test "${ac_cv_objext+set}" = set; then
2220
  echo $ECHO_N "(cached) $ECHO_C" >&6
2221
else
2222
  cat >conftest.$ac_ext <<_ACEOF
2223
#line 2223 "configure"
2224
#include "confdefs.h"
2225
 
2226
int
2227
main ()
2228
{
2229
 
2230
  ;
2231
  return 0;
2232
}
2233
_ACEOF
2234
rm -f conftest.o conftest.obj
2235
if { (eval echo "$as_me:2235: \"$ac_compile\"") >&5
2236
  (eval $ac_compile) 2>&5
2237
  ac_status=$?
2238
  echo "$as_me:2238: \$? = $ac_status" >&5
2239
  (exit $ac_status); }; then
2240
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2241
  case $ac_file in
2242
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2243
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2244
       break;;
2245
  esac
2246
done
2247
else
2248
  echo "$as_me: failed program was:" >&5
2249
cat conftest.$ac_ext >&5
2250
{ { echo "$as_me:2250: error: cannot compute OBJEXT: cannot compile" >&5
2251
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2252
   { (exit 1); exit 1; }; }
2253
fi
2254
 
2255
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2256
fi
2257
echo "$as_me:2257: result: $ac_cv_objext" >&5
2258
echo "${ECHO_T}$ac_cv_objext" >&6
2259
OBJEXT=$ac_cv_objext
2260
ac_objext=$OBJEXT
2261
echo "$as_me:2261: checking whether we are using the GNU C compiler" >&5
2262
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2263
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2264
  echo $ECHO_N "(cached) $ECHO_C" >&6
2265
else
2266
  cat >conftest.$ac_ext <<_ACEOF
2267
#line 2267 "configure"
2268
#include "confdefs.h"
2269
 
2270
int
2271
main ()
2272
{
2273
#ifndef __GNUC__
2274
       choke me
2275
#endif
2276
 
2277
  ;
2278
  return 0;
2279
}
2280
_ACEOF
2281
rm -f conftest.$ac_objext
2282
if { (eval echo "$as_me:2282: \"$ac_compile\"") >&5
2283
  (eval $ac_compile) 2>&5
2284
  ac_status=$?
2285
  echo "$as_me:2285: \$? = $ac_status" >&5
2286
  (exit $ac_status); } &&
2287
         { ac_try='test -s conftest.$ac_objext'
2288
  { (eval echo "$as_me:2288: \"$ac_try\"") >&5
2289
  (eval $ac_try) 2>&5
2290
  ac_status=$?
2291
  echo "$as_me:2291: \$? = $ac_status" >&5
2292
  (exit $ac_status); }; }; then
2293
  ac_compiler_gnu=yes
2294
else
2295
  echo "$as_me: failed program was:" >&5
2296
cat conftest.$ac_ext >&5
2297
ac_compiler_gnu=no
2298
fi
2299
rm -f conftest.$ac_objext conftest.$ac_ext
2300
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2301
 
2302
fi
2303
echo "$as_me:2303: result: $ac_cv_c_compiler_gnu" >&5
2304
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2305
GCC=`test $ac_compiler_gnu = yes && echo yes`
2306
ac_test_CFLAGS=${CFLAGS+set}
2307
ac_save_CFLAGS=$CFLAGS
2308
CFLAGS="-g"
2309
echo "$as_me:2309: checking whether $CC accepts -g" >&5
2310
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2311
if test "${ac_cv_prog_cc_g+set}" = set; then
2312
  echo $ECHO_N "(cached) $ECHO_C" >&6
2313
else
2314
  cat >conftest.$ac_ext <<_ACEOF
2315
#line 2315 "configure"
2316
#include "confdefs.h"
2317
 
2318
int
2319
main ()
2320
{
2321
 
2322
  ;
2323
  return 0;
2324
}
2325
_ACEOF
2326
rm -f conftest.$ac_objext
2327
if { (eval echo "$as_me:2327: \"$ac_compile\"") >&5
2328
  (eval $ac_compile) 2>&5
2329
  ac_status=$?
2330
  echo "$as_me:2330: \$? = $ac_status" >&5
2331
  (exit $ac_status); } &&
2332
         { ac_try='test -s conftest.$ac_objext'
2333
  { (eval echo "$as_me:2333: \"$ac_try\"") >&5
2334
  (eval $ac_try) 2>&5
2335
  ac_status=$?
2336
  echo "$as_me:2336: \$? = $ac_status" >&5
2337
  (exit $ac_status); }; }; then
2338
  ac_cv_prog_cc_g=yes
2339
else
2340
  echo "$as_me: failed program was:" >&5
2341
cat conftest.$ac_ext >&5
2342
ac_cv_prog_cc_g=no
2343
fi
2344
rm -f conftest.$ac_objext conftest.$ac_ext
2345
fi
2346
echo "$as_me:2346: result: $ac_cv_prog_cc_g" >&5
2347
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2348
if test "$ac_test_CFLAGS" = set; then
2349
  CFLAGS=$ac_save_CFLAGS
2350
elif test $ac_cv_prog_cc_g = yes; then
2351
  if test "$GCC" = yes; then
2352
    CFLAGS="-g -O2"
2353
  else
2354
    CFLAGS="-g"
2355
  fi
2356
else
2357
  if test "$GCC" = yes; then
2358
    CFLAGS="-O2"
2359
  else
2360
    CFLAGS=
2361
  fi
2362
fi
2363
# Some people use a C++ compiler to compile C.  Since we use `exit',
2364
# in C++ we need to declare it.  In case someone uses the same compiler
2365
# for both compiling C and C++ we need to have the C++ compiler decide
2366
# the declaration of exit, since it's the most demanding environment.
2367
cat >conftest.$ac_ext <<_ACEOF
2368
#ifndef __cplusplus
2369
  choke me
2370
#endif
2371
_ACEOF
2372
rm -f conftest.$ac_objext
2373
if { (eval echo "$as_me:2373: \"$ac_compile\"") >&5
2374
  (eval $ac_compile) 2>&5
2375
  ac_status=$?
2376
  echo "$as_me:2376: \$? = $ac_status" >&5
2377
  (exit $ac_status); } &&
2378
         { ac_try='test -s conftest.$ac_objext'
2379
  { (eval echo "$as_me:2379: \"$ac_try\"") >&5
2380
  (eval $ac_try) 2>&5
2381
  ac_status=$?
2382
  echo "$as_me:2382: \$? = $ac_status" >&5
2383
  (exit $ac_status); }; }; then
2384
  for ac_declaration in \
2385
   ''\
2386
   '#include ' \
2387
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2388
   'extern "C" void std::exit (int); using std::exit;' \
2389
   'extern "C" void exit (int) throw ();' \
2390
   'extern "C" void exit (int);' \
2391
   'void exit (int);'
2392
do
2393
  cat >conftest.$ac_ext <<_ACEOF
2394
#line 2394 "configure"
2395
#include "confdefs.h"
2396
#include 
2397
$ac_declaration
2398
int
2399
main ()
2400
{
2401
exit (42);
2402
  ;
2403
  return 0;
2404
}
2405
_ACEOF
2406
rm -f conftest.$ac_objext
2407
if { (eval echo "$as_me:2407: \"$ac_compile\"") >&5
2408
  (eval $ac_compile) 2>&5
2409
  ac_status=$?
2410
  echo "$as_me:2410: \$? = $ac_status" >&5
2411
  (exit $ac_status); } &&
2412
         { ac_try='test -s conftest.$ac_objext'
2413
  { (eval echo "$as_me:2413: \"$ac_try\"") >&5
2414
  (eval $ac_try) 2>&5
2415
  ac_status=$?
2416
  echo "$as_me:2416: \$? = $ac_status" >&5
2417
  (exit $ac_status); }; }; then
2418
  :
2419
else
2420
  echo "$as_me: failed program was:" >&5
2421
cat conftest.$ac_ext >&5
2422
continue
2423
fi
2424
rm -f conftest.$ac_objext conftest.$ac_ext
2425
  cat >conftest.$ac_ext <<_ACEOF
2426
#line 2426 "configure"
2427
#include "confdefs.h"
2428
$ac_declaration
2429
int
2430
main ()
2431
{
2432
exit (42);
2433
  ;
2434
  return 0;
2435
}
2436
_ACEOF
2437
rm -f conftest.$ac_objext
2438
if { (eval echo "$as_me:2438: \"$ac_compile\"") >&5
2439
  (eval $ac_compile) 2>&5
2440
  ac_status=$?
2441
  echo "$as_me:2441: \$? = $ac_status" >&5
2442
  (exit $ac_status); } &&
2443
         { ac_try='test -s conftest.$ac_objext'
2444
  { (eval echo "$as_me:2444: \"$ac_try\"") >&5
2445
  (eval $ac_try) 2>&5
2446
  ac_status=$?
2447
  echo "$as_me:2447: \$? = $ac_status" >&5
2448
  (exit $ac_status); }; }; then
2449
  break
2450
else
2451
  echo "$as_me: failed program was:" >&5
2452
cat conftest.$ac_ext >&5
2453
fi
2454
rm -f conftest.$ac_objext conftest.$ac_ext
2455
done
2456
rm -f conftest*
2457
if test -n "$ac_declaration"; then
2458
  echo '#ifdef __cplusplus' >>confdefs.h
2459
  echo $ac_declaration      >>confdefs.h
2460
  echo '#endif'             >>confdefs.h
2461
fi
2462
 
2463
else
2464
  echo "$as_me: failed program was:" >&5
2465
cat conftest.$ac_ext >&5
2466
fi
2467
rm -f conftest.$ac_objext conftest.$ac_ext
2468
ac_ext=c
2469
ac_cpp='$CPP $CPPFLAGS'
2470
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2471
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2472
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2473
 
2474
depcc="$CC"   am_compiler_list=
2475
 
2476
echo "$as_me:2476: checking dependency style of $depcc" >&5
2477
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2478
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2479
  echo $ECHO_N "(cached) $ECHO_C" >&6
2480
else
2481
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2482
  # We make a subdir and do the tests there.  Otherwise we can end up
2483
  # making bogus files that we don't know about and never remove.  For
2484
  # instance it was reported that on HP-UX the gcc test will end up
2485
  # making a dummy file named `D' -- because `-MD' means `put the output
2486
  # in D'.
2487
  mkdir conftest.dir
2488
  # Copy depcomp to subdir because otherwise we won't find it if we're
2489
  # using a relative directory.
2490
  cp "$am_depcomp" conftest.dir
2491
  cd conftest.dir
2492
 
2493
  am_cv_CC_dependencies_compiler_type=none
2494
  if test "$am_compiler_list" = ""; then
2495
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2496
  fi
2497
  for depmode in $am_compiler_list; do
2498
    # We need to recreate these files for each test, as the compiler may
2499
    # overwrite some of them when testing with obscure command lines.
2500
    # This happens at least with the AIX C compiler.
2501
    echo '#include "conftest.h"' > conftest.c
2502
    echo 'int i;' > conftest.h
2503
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2504
 
2505
    case $depmode in
2506
    nosideeffect)
2507
      # after this tag, mechanisms are not by side-effect, so they'll
2508
      # only be used when explicitly requested
2509
      if test "x$enable_dependency_tracking" = xyes; then
2510
        continue
2511
      else
2512
        break
2513
      fi
2514
      ;;
2515
    none) break ;;
2516
    esac
2517
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2518
    # mode.  It turns out that the SunPro C++ compiler does not properly
2519
    # handle `-M -o', and we need to detect this.
2520
    if depmode=$depmode \
2521
       source=conftest.c object=conftest.o \
2522
       depfile=conftest.Po tmpdepfile=conftest.TPo \
2523
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2524
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
2525
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2526
      am_cv_CC_dependencies_compiler_type=$depmode
2527
      break
2528
    fi
2529
  done
2530
 
2531
  cd ..
2532
  rm -rf conftest.dir
2533
else
2534
  am_cv_CC_dependencies_compiler_type=none
2535
fi
2536
 
2537
fi
2538
echo "$as_me:2538: result: $am_cv_CC_dependencies_compiler_type" >&5
2539
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2540
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2541
 
2542
ac_ext=c
2543
ac_cpp='$CPP $CPPFLAGS'
2544
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2545
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2546
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2547
echo "$as_me:2547: checking how to run the C preprocessor" >&5
2548
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2549
# On Suns, sometimes $CPP names a directory.
2550
if test -n "$CPP" && test -d "$CPP"; then
2551
  CPP=
2552
fi
2553
if test -z "$CPP"; then
2554
  if test "${ac_cv_prog_CPP+set}" = set; then
2555
  echo $ECHO_N "(cached) $ECHO_C" >&6
2556
else
2557
      # Double quotes because CPP needs to be expanded
2558
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2559
    do
2560
      ac_preproc_ok=false
2561
for ac_c_preproc_warn_flag in '' yes
2562
do
2563
  # Use a header file that comes with gcc, so configuring glibc
2564
  # with a fresh cross-compiler works.
2565
  # On the NeXT, cc -E runs the code through the compiler's parser,
2566
  # not just through cpp. "Syntax error" is here to catch this case.
2567
  cat >conftest.$ac_ext <<_ACEOF
2568
#line 2568 "configure"
2569
#include "confdefs.h"
2570
#include 
2571
                     Syntax error
2572
_ACEOF
2573
if { (eval echo "$as_me:2573: \"$ac_cpp conftest.$ac_ext\"") >&5
2574
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2575
  ac_status=$?
2576
  egrep -v '^ *\+' conftest.er1 >conftest.err
2577
  rm -f conftest.er1
2578
  cat conftest.err >&5
2579
  echo "$as_me:2579: \$? = $ac_status" >&5
2580
  (exit $ac_status); } >/dev/null; then
2581
  if test -s conftest.err; then
2582
    ac_cpp_err=$ac_c_preproc_warn_flag
2583
  else
2584
    ac_cpp_err=
2585
  fi
2586
else
2587
  ac_cpp_err=yes
2588
fi
2589
if test -z "$ac_cpp_err"; then
2590
  :
2591
else
2592
  echo "$as_me: failed program was:" >&5
2593
  cat conftest.$ac_ext >&5
2594
  # Broken: fails on valid input.
2595
continue
2596
fi
2597
rm -f conftest.err conftest.$ac_ext
2598
 
2599
  # OK, works on sane cases.  Now check whether non-existent headers
2600
  # can be detected and how.
2601
  cat >conftest.$ac_ext <<_ACEOF
2602
#line 2602 "configure"
2603
#include "confdefs.h"
2604
#include 
2605
_ACEOF
2606
if { (eval echo "$as_me:2606: \"$ac_cpp conftest.$ac_ext\"") >&5
2607
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2608
  ac_status=$?
2609
  egrep -v '^ *\+' conftest.er1 >conftest.err
2610
  rm -f conftest.er1
2611
  cat conftest.err >&5
2612
  echo "$as_me:2612: \$? = $ac_status" >&5
2613
  (exit $ac_status); } >/dev/null; then
2614
  if test -s conftest.err; then
2615
    ac_cpp_err=$ac_c_preproc_warn_flag
2616
  else
2617
    ac_cpp_err=
2618
  fi
2619
else
2620
  ac_cpp_err=yes
2621
fi
2622
if test -z "$ac_cpp_err"; then
2623
  # Broken: success on invalid input.
2624
continue
2625
else
2626
  echo "$as_me: failed program was:" >&5
2627
  cat conftest.$ac_ext >&5
2628
  # Passes both tests.
2629
ac_preproc_ok=:
2630
break
2631
fi
2632
rm -f conftest.err conftest.$ac_ext
2633
 
2634
done
2635
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2636
rm -f conftest.err conftest.$ac_ext
2637
if $ac_preproc_ok; then
2638
  break
2639
fi
2640
 
2641
    done
2642
    ac_cv_prog_CPP=$CPP
2643
 
2644
fi
2645
  CPP=$ac_cv_prog_CPP
2646
else
2647
  ac_cv_prog_CPP=$CPP
2648
fi
2649
echo "$as_me:2649: result: $CPP" >&5
2650
echo "${ECHO_T}$CPP" >&6
2651
ac_preproc_ok=false
2652
for ac_c_preproc_warn_flag in '' yes
2653
do
2654
  # Use a header file that comes with gcc, so configuring glibc
2655
  # with a fresh cross-compiler works.
2656
  # On the NeXT, cc -E runs the code through the compiler's parser,
2657
  # not just through cpp. "Syntax error" is here to catch this case.
2658
  cat >conftest.$ac_ext <<_ACEOF
2659
#line 2659 "configure"
2660
#include "confdefs.h"
2661
#include 
2662
                     Syntax error
2663
_ACEOF
2664
if { (eval echo "$as_me:2664: \"$ac_cpp conftest.$ac_ext\"") >&5
2665
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2666
  ac_status=$?
2667
  egrep -v '^ *\+' conftest.er1 >conftest.err
2668
  rm -f conftest.er1
2669
  cat conftest.err >&5
2670
  echo "$as_me:2670: \$? = $ac_status" >&5
2671
  (exit $ac_status); } >/dev/null; then
2672
  if test -s conftest.err; then
2673
    ac_cpp_err=$ac_c_preproc_warn_flag
2674
  else
2675
    ac_cpp_err=
2676
  fi
2677
else
2678
  ac_cpp_err=yes
2679
fi
2680
if test -z "$ac_cpp_err"; then
2681
  :
2682
else
2683
  echo "$as_me: failed program was:" >&5
2684
  cat conftest.$ac_ext >&5
2685
  # Broken: fails on valid input.
2686
continue
2687
fi
2688
rm -f conftest.err conftest.$ac_ext
2689
 
2690
  # OK, works on sane cases.  Now check whether non-existent headers
2691
  # can be detected and how.
2692
  cat >conftest.$ac_ext <<_ACEOF
2693
#line 2693 "configure"
2694
#include "confdefs.h"
2695
#include 
2696
_ACEOF
2697
if { (eval echo "$as_me:2697: \"$ac_cpp conftest.$ac_ext\"") >&5
2698
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2699
  ac_status=$?
2700
  egrep -v '^ *\+' conftest.er1 >conftest.err
2701
  rm -f conftest.er1
2702
  cat conftest.err >&5
2703
  echo "$as_me:2703: \$? = $ac_status" >&5
2704
  (exit $ac_status); } >/dev/null; then
2705
  if test -s conftest.err; then
2706
    ac_cpp_err=$ac_c_preproc_warn_flag
2707
  else
2708
    ac_cpp_err=
2709
  fi
2710
else
2711
  ac_cpp_err=yes
2712
fi
2713
if test -z "$ac_cpp_err"; then
2714
  # Broken: success on invalid input.
2715
continue
2716
else
2717
  echo "$as_me: failed program was:" >&5
2718
  cat conftest.$ac_ext >&5
2719
  # Passes both tests.
2720
ac_preproc_ok=:
2721
break
2722
fi
2723
rm -f conftest.err conftest.$ac_ext
2724
 
2725
done
2726
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2727
rm -f conftest.err conftest.$ac_ext
2728
if $ac_preproc_ok; then
2729
  :
2730
else
2731
  { { echo "$as_me:2731: error: C preprocessor \"$CPP\" fails sanity check" >&5
2732
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2733
   { (exit 1); exit 1; }; }
2734
fi
2735
 
2736
ac_ext=c
2737
ac_cpp='$CPP $CPPFLAGS'
2738
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2739
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2740
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2741
 
2742
if test x"$GCC" = x"yes"; then
2743
  RTEMS_USE_GCC_TRUE=
2744
  RTEMS_USE_GCC_FALSE='#'
2745
else
2746
  RTEMS_USE_GCC_TRUE='#'
2747
  RTEMS_USE_GCC_FALSE=
2748
fi
2749
 
2750
echo "$as_me:2750: checking whether $CC accepts -specs" >&5
2751
echo $ECHO_N "checking whether $CC accepts -specs... $ECHO_C" >&6
2752
if test "${rtems_cv_gcc_specs+set}" = set; then
2753
  echo $ECHO_N "(cached) $ECHO_C" >&6
2754
else
2755
 
2756
rtems_cv_gcc_specs=no
2757
if test x"$GCC" = x"yes"; then
2758
  touch confspec
2759
  echo 'void f(){}' >conftest.c
2760
  if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then
2761
    rtems_cv_gcc_specs=yes
2762
  fi
2763
fi
2764
rm -f confspec conftest*
2765
 
2766
fi
2767
echo "$as_me:2767: result: $rtems_cv_gcc_specs" >&5
2768
echo "${ECHO_T}$rtems_cv_gcc_specs" >&6
2769
 
2770
echo "$as_me:2770: checking whether $CC accepts --pipe" >&5
2771
echo $ECHO_N "checking whether $CC accepts --pipe... $ECHO_C" >&6
2772
if test "${rtems_cv_gcc_pipe+set}" = set; then
2773
  echo $ECHO_N "(cached) $ECHO_C" >&6
2774
else
2775
 
2776
rtems_cv_gcc_pipe=no
2777
if test x"$GCC" = x"yes"; then
2778
    echo 'void f(){}' >conftest.c
2779
    if test -z "`${CC} --pipe -c conftest.c 2>&1`";then
2780
      rtems_cv_gcc_pipe=yes
2781
    fi
2782
    rm -f conftest*
2783
fi
2784
 
2785
fi
2786
echo "$as_me:2786: result: $rtems_cv_gcc_pipe" >&5
2787
echo "${ECHO_T}$rtems_cv_gcc_pipe" >&6
2788
 
2789
#  if test "$rtems_cv_gcc_specs" = "no"; then
2790
#    AC_MSG_WARN([*** disabling --enable-gcc28])
2791
#      RTEMS_USE_GCC272=yes
2792
#  fi
2793
test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
2794
 
2795
if test "$GCC" = yes; then
2796
 
2797
CPPFLAGS="$CPPFLAGS "
2798
 
2799
CFLAGS="-g -Wall"
2800
fi
2801
 
2802
case $build_os in
2803
*cygwin*)     GCCSED="| sed 's%\\\\%/%g'" ;;
2804
*) ;;
2805
esac
2806
 
2807
  if test "x$build_alias" != "x$host_alias"; then
2808
  rtems_tool_prefix=${ac_tool_prefix}
2809
fi
2810
 
2811
  # Extract the first word of "${rtems_tool_prefix}ar", so it can be a program name with args.
2812
set dummy ${rtems_tool_prefix}ar; ac_word=$2
2813
echo "$as_me:2813: checking for $ac_word" >&5
2814
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2815
if test "${ac_cv_prog_AR+set}" = set; then
2816
  echo $ECHO_N "(cached) $ECHO_C" >&6
2817
else
2818
  if test -n "$AR"; then
2819
  ac_cv_prog_AR="$AR" # Let the user override the test.
2820
else
2821
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2822
ac_dummy="$PATH"
2823
for ac_dir in $ac_dummy; do
2824
  IFS=$ac_save_IFS
2825
  test -z "$ac_dir" && ac_dir=.
2826
  $as_executable_p "$ac_dir/$ac_word" || continue
2827
ac_cv_prog_AR="${rtems_tool_prefix}ar"
2828
echo "$as_me:2828: found $ac_dir/$ac_word" >&5
2829
break
2830
done
2831
 
2832
  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="no"
2833
fi
2834
fi
2835
AR=$ac_cv_prog_AR
2836
if test -n "$AR"; then
2837
  echo "$as_me:2837: result: $AR" >&5
2838
echo "${ECHO_T}$AR" >&6
2839
else
2840
  echo "$as_me:2840: result: no" >&5
2841
echo "${ECHO_T}no" >&6
2842
fi
2843
 
2844
  if test "x$build_alias" != "x$host_alias"; then
2845
  rtems_tool_prefix=${ac_tool_prefix}
2846
fi
2847
 
2848
  # Extract the first word of "${rtems_tool_prefix}as", so it can be a program name with args.
2849
set dummy ${rtems_tool_prefix}as; ac_word=$2
2850
echo "$as_me:2850: checking for $ac_word" >&5
2851
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2852
if test "${ac_cv_prog_AS+set}" = set; then
2853
  echo $ECHO_N "(cached) $ECHO_C" >&6
2854
else
2855
  if test -n "$AS"; then
2856
  ac_cv_prog_AS="$AS" # Let the user override the test.
2857
else
2858
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2859
ac_dummy="$PATH"
2860
for ac_dir in $ac_dummy; do
2861
  IFS=$ac_save_IFS
2862
  test -z "$ac_dir" && ac_dir=.
2863
  $as_executable_p "$ac_dir/$ac_word" || continue
2864
ac_cv_prog_AS="${rtems_tool_prefix}as"
2865
echo "$as_me:2865: found $ac_dir/$ac_word" >&5
2866
break
2867
done
2868
 
2869
  test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="no"
2870
fi
2871
fi
2872
AS=$ac_cv_prog_AS
2873
if test -n "$AS"; then
2874
  echo "$as_me:2874: result: $AS" >&5
2875
echo "${ECHO_T}$AS" >&6
2876
else
2877
  echo "$as_me:2877: result: no" >&5
2878
echo "${ECHO_T}no" >&6
2879
fi
2880
 
2881
  if test "x$build_alias" != "x$host_alias"; then
2882
  rtems_tool_prefix=${ac_tool_prefix}
2883
fi
2884
 
2885
  # Extract the first word of "${rtems_tool_prefix}ld", so it can be a program name with args.
2886
set dummy ${rtems_tool_prefix}ld; ac_word=$2
2887
echo "$as_me:2887: checking for $ac_word" >&5
2888
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2889
if test "${ac_cv_prog_LD+set}" = set; then
2890
  echo $ECHO_N "(cached) $ECHO_C" >&6
2891
else
2892
  if test -n "$LD"; then
2893
  ac_cv_prog_LD="$LD" # Let the user override the test.
2894
else
2895
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2896
ac_dummy="$PATH"
2897
for ac_dir in $ac_dummy; do
2898
  IFS=$ac_save_IFS
2899
  test -z "$ac_dir" && ac_dir=.
2900
  $as_executable_p "$ac_dir/$ac_word" || continue
2901
ac_cv_prog_LD="${rtems_tool_prefix}ld"
2902
echo "$as_me:2902: found $ac_dir/$ac_word" >&5
2903
break
2904
done
2905
 
2906
  test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="no"
2907
fi
2908
fi
2909
LD=$ac_cv_prog_LD
2910
if test -n "$LD"; then
2911
  echo "$as_me:2911: result: $LD" >&5
2912
echo "${ECHO_T}$LD" >&6
2913
else
2914
  echo "$as_me:2914: result: no" >&5
2915
echo "${ECHO_T}no" >&6
2916
fi
2917
 
2918
  if test "x$build_alias" != "x$host_alias"; then
2919
  rtems_tool_prefix=${ac_tool_prefix}
2920
fi
2921
 
2922
  # Extract the first word of "${rtems_tool_prefix}nm", so it can be a program name with args.
2923
set dummy ${rtems_tool_prefix}nm; ac_word=$2
2924
echo "$as_me:2924: checking for $ac_word" >&5
2925
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2926
if test "${ac_cv_prog_NM+set}" = set; then
2927
  echo $ECHO_N "(cached) $ECHO_C" >&6
2928
else
2929
  if test -n "$NM"; then
2930
  ac_cv_prog_NM="$NM" # Let the user override the test.
2931
else
2932
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2933
ac_dummy="$PATH"
2934
for ac_dir in $ac_dummy; do
2935
  IFS=$ac_save_IFS
2936
  test -z "$ac_dir" && ac_dir=.
2937
  $as_executable_p "$ac_dir/$ac_word" || continue
2938
ac_cv_prog_NM="${rtems_tool_prefix}nm"
2939
echo "$as_me:2939: found $ac_dir/$ac_word" >&5
2940
break
2941
done
2942
 
2943
  test -z "$ac_cv_prog_NM" && ac_cv_prog_NM="no"
2944
fi
2945
fi
2946
NM=$ac_cv_prog_NM
2947
if test -n "$NM"; then
2948
  echo "$as_me:2948: result: $NM" >&5
2949
echo "${ECHO_T}$NM" >&6
2950
else
2951
  echo "$as_me:2951: result: no" >&5
2952
echo "${ECHO_T}no" >&6
2953
fi
2954
 
2955
  if test "x$build_alias" != "x$host_alias"; then
2956
  rtems_tool_prefix=${ac_tool_prefix}
2957
fi
2958
 
2959
  # Extract the first word of "${rtems_tool_prefix}ranlib", so it can be a program name with args.
2960
set dummy ${rtems_tool_prefix}ranlib; ac_word=$2
2961
echo "$as_me:2961: checking for $ac_word" >&5
2962
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2963
if test "${ac_cv_prog_RANLIB+set}" = set; then
2964
  echo $ECHO_N "(cached) $ECHO_C" >&6
2965
else
2966
  if test -n "$RANLIB"; then
2967
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2968
else
2969
  ac_save_IFS=$IFS; IFS=$ac_path_separator
2970
ac_dummy="$PATH"
2971
for ac_dir in $ac_dummy; do
2972
  IFS=$ac_save_IFS
2973
  test -z "$ac_dir" && ac_dir=.
2974
  $as_executable_p "$ac_dir/$ac_word" || continue
2975
ac_cv_prog_RANLIB="${rtems_tool_prefix}ranlib"
2976
echo "$as_me:2976: found $ac_dir/$ac_word" >&5
2977
break
2978
done
2979
 
2980
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2981
fi
2982
fi
2983
RANLIB=$ac_cv_prog_RANLIB
2984
if test -n "$RANLIB"; then
2985
  echo "$as_me:2985: result: $RANLIB" >&5
2986
echo "${ECHO_T}$RANLIB" >&6
2987
else
2988
  echo "$as_me:2988: result: no" >&5
2989
echo "${ECHO_T}no" >&6
2990
fi
2991
 
2992
  if test "x$build_alias" != "x$host_alias"; then
2993
  rtems_tool_prefix=${ac_tool_prefix}
2994
fi
2995
 
2996
  # Extract the first word of "${rtems_tool_prefix}objcopy", so it can be a program name with args.
2997
set dummy ${rtems_tool_prefix}objcopy; ac_word=$2
2998
echo "$as_me:2998: checking for $ac_word" >&5
2999
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3000
if test "${ac_cv_prog_OBJCOPY+set}" = set; then
3001
  echo $ECHO_N "(cached) $ECHO_C" >&6
3002
else
3003
  if test -n "$OBJCOPY"; then
3004
  ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
3005
else
3006
  ac_save_IFS=$IFS; IFS=$ac_path_separator
3007
ac_dummy="$PATH"
3008
for ac_dir in $ac_dummy; do
3009
  IFS=$ac_save_IFS
3010
  test -z "$ac_dir" && ac_dir=.
3011
  $as_executable_p "$ac_dir/$ac_word" || continue
3012
ac_cv_prog_OBJCOPY="${rtems_tool_prefix}objcopy"
3013
echo "$as_me:3013: found $ac_dir/$ac_word" >&5
3014
break
3015
done
3016
 
3017
  test -z "$ac_cv_prog_OBJCOPY" && ac_cv_prog_OBJCOPY="no"
3018
fi
3019
fi
3020
OBJCOPY=$ac_cv_prog_OBJCOPY
3021
if test -n "$OBJCOPY"; then
3022
  echo "$as_me:3022: result: $OBJCOPY" >&5
3023
echo "${ECHO_T}$OBJCOPY" >&6
3024
else
3025
  echo "$as_me:3025: result: no" >&5
3026
echo "${ECHO_T}no" >&6
3027
fi
3028
 
3029
  if test "x$build_alias" != "x$host_alias"; then
3030
  rtems_tool_prefix=${ac_tool_prefix}
3031
fi
3032
 
3033
  # Extract the first word of "${rtems_tool_prefix}size", so it can be a program name with args.
3034
set dummy ${rtems_tool_prefix}size; ac_word=$2
3035
echo "$as_me:3035: checking for $ac_word" >&5
3036
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3037
if test "${ac_cv_prog_SIZE+set}" = set; then
3038
  echo $ECHO_N "(cached) $ECHO_C" >&6
3039
else
3040
  if test -n "$SIZE"; then
3041
  ac_cv_prog_SIZE="$SIZE" # Let the user override the test.
3042
else
3043
  ac_save_IFS=$IFS; IFS=$ac_path_separator
3044
ac_dummy="$PATH"
3045
for ac_dir in $ac_dummy; do
3046
  IFS=$ac_save_IFS
3047
  test -z "$ac_dir" && ac_dir=.
3048
  $as_executable_p "$ac_dir/$ac_word" || continue
3049
ac_cv_prog_SIZE="${rtems_tool_prefix}size"
3050
echo "$as_me:3050: found $ac_dir/$ac_word" >&5
3051
break
3052
done
3053
 
3054
  test -z "$ac_cv_prog_SIZE" && ac_cv_prog_SIZE="no"
3055
fi
3056
fi
3057
SIZE=$ac_cv_prog_SIZE
3058
if test -n "$SIZE"; then
3059
  echo "$as_me:3059: result: $SIZE" >&5
3060
echo "${ECHO_T}$SIZE" >&6
3061
else
3062
  echo "$as_me:3062: result: no" >&5
3063
echo "${ECHO_T}no" >&6
3064
fi
3065
 
3066
  if test "x$build_alias" != "x$host_alias"; then
3067
  rtems_tool_prefix=${ac_tool_prefix}
3068
fi
3069
 
3070
  # Extract the first word of "${rtems_tool_prefix}strip", so it can be a program name with args.
3071
set dummy ${rtems_tool_prefix}strip; ac_word=$2
3072
echo "$as_me:3072: checking for $ac_word" >&5
3073
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3074
if test "${ac_cv_prog_STRIP+set}" = set; then
3075
  echo $ECHO_N "(cached) $ECHO_C" >&6
3076
else
3077
  if test -n "$STRIP"; then
3078
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3079
else
3080
  ac_save_IFS=$IFS; IFS=$ac_path_separator
3081
ac_dummy="$PATH"
3082
for ac_dir in $ac_dummy; do
3083
  IFS=$ac_save_IFS
3084
  test -z "$ac_dir" && ac_dir=.
3085
  $as_executable_p "$ac_dir/$ac_word" || continue
3086
ac_cv_prog_STRIP="${rtems_tool_prefix}strip"
3087
echo "$as_me:3087: found $ac_dir/$ac_word" >&5
3088
break
3089
done
3090
 
3091
  test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
3092
fi
3093
fi
3094
STRIP=$ac_cv_prog_STRIP
3095
if test -n "$STRIP"; then
3096
  echo "$as_me:3096: result: $STRIP" >&5
3097
echo "${ECHO_T}$STRIP" >&6
3098
else
3099
  echo "$as_me:3099: result: no" >&5
3100
echo "${ECHO_T}no" >&6
3101
fi
3102
 
3103
echo "$as_me:3103: checking for make/custom/$RTEMS_BSP.cfg" >&5
3104
echo $ECHO_N "checking for make/custom/$RTEMS_BSP.cfg... $ECHO_C" >&6
3105
if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then
3106
  echo "$as_me:3106: result: yes" >&5
3107
echo "${ECHO_T}yes" >&6
3108
else
3109
  { { echo "$as_me:3109: error: no" >&5
3110
echo "$as_me: error: no" >&2;}
3111
   { (exit 1); exit 1; }; }
3112
fi
3113
 
3114
echo "$as_me:3114: checking whether BSP supports networking" >&5
3115
echo $ECHO_N "checking whether BSP supports networking... $ECHO_C" >&6
3116
if test "${rtems_cv_HAS_NETWORKING+set}" = set; then
3117
  echo $ECHO_N "(cached) $ECHO_C" >&6
3118
else
3119
      case "$RTEMS_CPU" in
3120
    unix*)
3121
      rtems_cv_HAS_NETWORKING="no"
3122
      ;;
3123
    *)
3124
      if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
3125
        rtems_cv_HAS_NETWORKING="yes";
3126
      else
3127
        rtems_cv_HAS_NETWORKING="disabled";
3128
      fi
3129
      ;;
3130
    esac
3131
fi
3132
echo "$as_me:3132: result: $rtems_cv_HAS_NETWORKING" >&5
3133
echo "${ECHO_T}$rtems_cv_HAS_NETWORKING" >&6
3134
if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
3135
  HAS_NETWORKING="yes";
3136
else
3137
  HAS_NETWORKING="no";
3138
fi
3139
 
3140
echo "$as_me:3140: checking whether CPU supports libposix" >&5
3141
echo $ECHO_N "checking whether CPU supports libposix... $ECHO_C" >&6
3142
if test "${rtems_cv_HAS_POSIX_API+set}" = set; then
3143
  echo $ECHO_N "(cached) $ECHO_C" >&6
3144
else
3145
      case "$RTEMS_CPU" in
3146
    unix*)
3147
      rtems_cv_HAS_POSIX_API="no"
3148
      ;;
3149
    *)
3150
      if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
3151
        rtems_cv_HAS_POSIX_API="yes";
3152
      else
3153
        rtems_cv_HAS_POSIX_API="disabled";
3154
      fi
3155
      ;;
3156
    esac
3157
fi
3158
echo "$as_me:3158: result: $rtems_cv_HAS_POSIX_API" >&5
3159
echo "${ECHO_T}$rtems_cv_HAS_POSIX_API" >&6
3160
if test "$rtems_cv_HAS_POSIX_API" = "yes"; then
3161
  HAS_POSIX_API="yes";
3162
else
3163
  HAS_POSIX_API="no";
3164
fi
3165
 
3166
if test "$HAS_POSIX_API" = "yes"; then
3167
  HAS_POSIX_TRUE=
3168
  HAS_POSIX_FALSE='#'
3169
else
3170
  HAS_POSIX_TRUE='#'
3171
  HAS_POSIX_FALSE=
3172
fi
3173
 
3174
# Explicitly list all Makefiles here
3175
ac_config_files="$ac_config_files Makefile pppd/Makefile rtems_servers/Makefile rtems_telnetd/Makefile rtems_webserver/Makefile wrapup/Makefile"
3176
 
3177
cat >confcache <<\_ACEOF
3178
# This file is a shell script that caches the results of configure
3179
# tests run on this system so they can be shared between configure
3180
# scripts and configure runs, see configure's option --config-cache.
3181
# It is not useful on other systems.  If it contains results you don't
3182
# want to keep, you may remove or edit it.
3183
#
3184
# config.status only pays attention to the cache file if you give it
3185
# the --recheck option to rerun configure.
3186
#
3187
# `ac_cv_env_foo' variables (set or unset) will be overriden when
3188
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3189
# following values.
3190
 
3191
_ACEOF
3192
 
3193
# The following way of writing the cache mishandles newlines in values,
3194
# but we know of no workaround that is simple, portable, and efficient.
3195
# So, don't put newlines in cache variables' values.
3196
# Ultrix sh set writes to stderr and can't be redirected directly,
3197
# and sets the high bit in the cache file unless we assign to the vars.
3198
{
3199
  (set) 2>&1 |
3200
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3201
    *ac_space=\ *)
3202
      # `set' does not quote correctly, so add quotes (double-quote
3203
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3204
      sed -n \
3205
        "s/'/'\\\\''/g;
3206
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3207
      ;;
3208
    *)
3209
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3210
      sed -n \
3211
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3212
      ;;
3213
    esac;
3214
} |
3215
  sed '
3216
     t clear
3217
     : clear
3218
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3219
     t end
3220
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3221
     : end' >>confcache
3222
if cmp -s $cache_file confcache; then :; else
3223
  if test -w $cache_file; then
3224
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3225
    cat confcache >$cache_file
3226
  else
3227
    echo "not updating unwritable cache $cache_file"
3228
  fi
3229
fi
3230
rm -f confcache
3231
 
3232
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3233
# Let make expand exec_prefix.
3234
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3235
 
3236
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3237
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3238
# trailing colons and then remove the whole line if VPATH becomes empty
3239
# (actually we leave an empty line to preserve line numbers).
3240
if test "x$srcdir" = x.; then
3241
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
3242
s/:*\$(srcdir):*/:/;
3243
s/:*\${srcdir}:*/:/;
3244
s/:*@srcdir@:*/:/;
3245
s/^\([^=]*=[    ]*\):*/\1/;
3246
s/:*$//;
3247
s/^[^=]*=[      ]*$//;
3248
}'
3249
fi
3250
 
3251
# Transform confdefs.h into DEFS.
3252
# Protect against shell expansion while executing Makefile rules.
3253
# Protect against Makefile macro expansion.
3254
#
3255
# If the first sed substitution is executed (which looks for macros that
3256
# take arguments), then we branch to the quote section.  Otherwise,
3257
# look for a macro that doesn't take arguments.
3258
cat >confdef2opt.sed <<\EOF
3259
t clear
3260
: clear
3261
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
3262
t quote
3263
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
3264
t quote
3265
d
3266
: quote
3267
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
3268
s,\[,\\&,g
3269
s,\],\\&,g
3270
s,\$,$$,g
3271
p
3272
EOF
3273
# We use echo to avoid assuming a particular line-breaking character.
3274
# The extra dot is to prevent the shell from consuming trailing
3275
# line-breaks from the sub-command output.  A line-break within
3276
# single-quotes doesn't work because, if this script is created in a
3277
# platform that uses two characters for line-breaks (e.g., DOS), tr
3278
# would break.
3279
ac_LF_and_DOT=`echo; echo .`
3280
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3281
rm -f confdef2opt.sed
3282
 
3283
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3284
  { { echo "$as_me:3284: error: conditional \"MAINTAINER_MODE\" was never defined.
3285
Usually this means the macro was only invoked conditionally." >&5
3286
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3287
Usually this means the macro was only invoked conditionally." >&2;}
3288
   { (exit 1); exit 1; }; }
3289
fi
3290
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
3291
  { { echo "$as_me:3291: error: conditional \"MULTILIB\" was never defined.
3292
Usually this means the macro was only invoked conditionally." >&5
3293
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
3294
Usually this means the macro was only invoked conditionally." >&2;}
3295
   { (exit 1); exit 1; }; }
3296
fi
3297
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3298
  { { echo "$as_me:3298: error: conditional \"AMDEP\" was never defined.
3299
Usually this means the macro was only invoked conditionally." >&5
3300
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3301
Usually this means the macro was only invoked conditionally." >&2;}
3302
   { (exit 1); exit 1; }; }
3303
fi
3304
if test -z "${RTEMS_USE_GCC_TRUE}" && test -z "${RTEMS_USE_GCC_FALSE}"; then
3305
  { { echo "$as_me:3305: error: conditional \"RTEMS_USE_GCC\" was never defined.
3306
Usually this means the macro was only invoked conditionally." >&5
3307
echo "$as_me: error: conditional \"RTEMS_USE_GCC\" was never defined.
3308
Usually this means the macro was only invoked conditionally." >&2;}
3309
   { (exit 1); exit 1; }; }
3310
fi
3311
if test -z "${HAS_POSIX_TRUE}" && test -z "${HAS_POSIX_FALSE}"; then
3312
  { { echo "$as_me:3312: error: conditional \"HAS_POSIX\" was never defined.
3313
Usually this means the macro was only invoked conditionally." >&5
3314
echo "$as_me: error: conditional \"HAS_POSIX\" was never defined.
3315
Usually this means the macro was only invoked conditionally." >&2;}
3316
   { (exit 1); exit 1; }; }
3317
fi
3318
 
3319
: ${CONFIG_STATUS=./config.status}
3320
ac_clean_files_save=$ac_clean_files
3321
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3322
{ echo "$as_me:3322: creating $CONFIG_STATUS" >&5
3323
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3324
cat >$CONFIG_STATUS <<_ACEOF
3325
#! $SHELL
3326
# Generated automatically by configure.
3327
# Run this file to recreate the current configuration.
3328
# Compiler output produced by configure, useful for debugging
3329
# configure, is in config.log if it exists.
3330
 
3331
debug=false
3332
SHELL=\${CONFIG_SHELL-$SHELL}
3333
ac_cs_invocation="\$0 \$@"
3334
 
3335
_ACEOF
3336
 
3337
cat >>$CONFIG_STATUS <<\_ACEOF
3338
# Be Bourne compatible
3339
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3340
  emulate sh
3341
  NULLCMD=:
3342
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3343
  set -o posix
3344
fi
3345
 
3346
# Name of the executable.
3347
as_me=`echo "$0" |sed 's,.*[\\/],,'`
3348
 
3349
if expr a : '\(a\)' >/dev/null 2>&1; then
3350
  as_expr=expr
3351
else
3352
  as_expr=false
3353
fi
3354
 
3355
rm -f conf$$ conf$$.exe conf$$.file
3356
echo >conf$$.file
3357
if ln -s conf$$.file conf$$ 2>/dev/null; then
3358
  # We could just check for DJGPP; but this test a) works b) is more generic
3359
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3360
  if test -f conf$$.exe; then
3361
    # Don't use ln at all; we don't have any links
3362
    as_ln_s='cp -p'
3363
  else
3364
    as_ln_s='ln -s'
3365
  fi
3366
elif ln conf$$.file conf$$ 2>/dev/null; then
3367
  as_ln_s=ln
3368
else
3369
  as_ln_s='cp -p'
3370
fi
3371
rm -f conf$$ conf$$.exe conf$$.file
3372
 
3373
as_executable_p="test -f"
3374
 
3375
# Support unset when possible.
3376
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3377
  as_unset=unset
3378
else
3379
  as_unset=false
3380
fi
3381
 
3382
# NLS nuisances.
3383
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
3384
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
3385
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
3386
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
3387
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
3388
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
3389
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
3390
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
3391
 
3392
# IFS
3393
# We need space, tab and new line, in precisely that order.
3394
as_nl='
3395
'
3396
IFS="   $as_nl"
3397
 
3398
# CDPATH.
3399
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
3400
 
3401
exec 6>&1
3402
 
3403
_ACEOF
3404
 
3405
# Files that config.status was made for.
3406
if test -n "$ac_config_files"; then
3407
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3408
fi
3409
 
3410
if test -n "$ac_config_headers"; then
3411
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3412
fi
3413
 
3414
if test -n "$ac_config_links"; then
3415
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3416
fi
3417
 
3418
if test -n "$ac_config_commands"; then
3419
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3420
fi
3421
 
3422
cat >>$CONFIG_STATUS <<\EOF
3423
 
3424
ac_cs_usage="\
3425
\`$as_me' instantiates files from templates according to the
3426
current configuration.
3427
 
3428
Usage: $0 [OPTIONS] [FILE]...
3429
 
3430
  -h, --help       print this help, then exit
3431
  -V, --version    print version number, then exit
3432
  -d, --debug      don't remove temporary files
3433
      --recheck    update $as_me by reconfiguring in the same conditions
3434
  --file=FILE[:TEMPLATE]
3435
                   instantiate the configuration file FILE
3436
 
3437
Configuration files:
3438
$config_files
3439
 
3440
Configuration commands:
3441
$config_commands
3442
 
3443
Report bugs to ."
3444
EOF
3445
 
3446
cat >>$CONFIG_STATUS <
3447
ac_cs_version="\\
3448
rtems-c-src-libnetworking config.status ss-20020807
3449
configured by $0, generated by GNU Autoconf 2.52,
3450
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3451
 
3452
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3453
Free Software Foundation, Inc.
3454
This config.status script is free software; the Free Software Foundation
3455
gives unlimited permission to copy, distribute and modify it."
3456
srcdir=$srcdir
3457
INSTALL="$INSTALL"
3458
EOF
3459
 
3460
cat >>$CONFIG_STATUS <<\EOF
3461
# If no file are specified by the user, then we need to provide default
3462
# value.  By we need to know if files were specified by the user.
3463
ac_need_defaults=:
3464
while test $# != 0
3465
do
3466
  case $1 in
3467
  --*=*)
3468
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3469
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3470
    shift
3471
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3472
    shift
3473
    ;;
3474
  -*);;
3475
  *) # This is not an option, so the user has probably given explicit
3476
     # arguments.
3477
     ac_need_defaults=false;;
3478
  esac
3479
 
3480
  case $1 in
3481
  # Handling of the options.
3482
EOF
3483
cat >>$CONFIG_STATUS <
3484
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3485
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3486
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3487
EOF
3488
cat >>$CONFIG_STATUS <<\EOF
3489
  --version | --vers* | -V )
3490
    echo "$ac_cs_version"; exit 0 ;;
3491
  --he | --h)
3492
    # Conflict between --help and --header
3493
    { { echo "$as_me:3493: error: ambiguous option: $1
3494
Try \`$0 --help' for more information." >&5
3495
echo "$as_me: error: ambiguous option: $1
3496
Try \`$0 --help' for more information." >&2;}
3497
   { (exit 1); exit 1; }; };;
3498
  --help | --hel | -h )
3499
    echo "$ac_cs_usage"; exit 0 ;;
3500
  --debug | --d* | -d )
3501
    debug=: ;;
3502
  --file | --fil | --fi | --f )
3503
    shift
3504
    CONFIG_FILES="$CONFIG_FILES $1"
3505
    ac_need_defaults=false;;
3506
  --header | --heade | --head | --hea )
3507
    shift
3508
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
3509
    ac_need_defaults=false;;
3510
 
3511
  # This is an error.
3512
  -*) { { echo "$as_me:3512: error: unrecognized option: $1
3513
Try \`$0 --help' for more information." >&5
3514
echo "$as_me: error: unrecognized option: $1
3515
Try \`$0 --help' for more information." >&2;}
3516
   { (exit 1); exit 1; }; } ;;
3517
 
3518
  *) ac_config_targets="$ac_config_targets $1" ;;
3519
 
3520
  esac
3521
  shift
3522
done
3523
 
3524
exec 5>>config.log
3525
cat >&5 << _ACEOF
3526
 
3527
## ----------------------- ##
3528
## Running config.status.  ##
3529
## ----------------------- ##
3530
 
3531
This file was extended by $as_me (rtems-c-src-libnetworking ss-20020807) 2.52, executed with
3532
  CONFIG_FILES    = $CONFIG_FILES
3533
  CONFIG_HEADERS  = $CONFIG_HEADERS
3534
  CONFIG_LINKS    = $CONFIG_LINKS
3535
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3536
  > $ac_cs_invocation
3537
on `(hostname || uname -n) 2>/dev/null | sed 1q`
3538
 
3539
_ACEOF
3540
EOF
3541
 
3542
cat >>$CONFIG_STATUS <
3543
#
3544
# INIT-COMMANDS section.
3545
#
3546
 
3547
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3548
 
3549
EOF
3550
 
3551
cat >>$CONFIG_STATUS <<\EOF
3552
for ac_config_target in $ac_config_targets
3553
do
3554
  case "$ac_config_target" in
3555
  # Handling of arguments.
3556
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3557
  "pppd/Makefile" ) CONFIG_FILES="$CONFIG_FILES pppd/Makefile" ;;
3558
  "rtems_servers/Makefile" ) CONFIG_FILES="$CONFIG_FILES rtems_servers/Makefile" ;;
3559
  "rtems_telnetd/Makefile" ) CONFIG_FILES="$CONFIG_FILES rtems_telnetd/Makefile" ;;
3560
  "rtems_webserver/Makefile" ) CONFIG_FILES="$CONFIG_FILES rtems_webserver/Makefile" ;;
3561
  "wrapup/Makefile" ) CONFIG_FILES="$CONFIG_FILES wrapup/Makefile" ;;
3562
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3563
  *) { { echo "$as_me:3563: error: invalid argument: $ac_config_target" >&5
3564
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3565
   { (exit 1); exit 1; }; };;
3566
  esac
3567
done
3568
 
3569
# If the user did not use the arguments to specify the items to instantiate,
3570
# then the envvar interface is used.  Set only those that are not.
3571
# We use the long form for the default assignment because of an extremely
3572
# bizarre bug on SunOS 4.1.3.
3573
if $ac_need_defaults; then
3574
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3575
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3576
fi
3577
 
3578
# Create a temporary directory, and hook for its removal unless debugging.
3579
$debug ||
3580
{
3581
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3582
  trap '{ (exit 1); exit 1; }' 1 2 13 15
3583
}
3584
 
3585
# Create a (secure) tmp directory for tmp files.
3586
: ${TMPDIR=/tmp}
3587
{
3588
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3589
  test -n "$tmp" && test -d "$tmp"
3590
}  ||
3591
{
3592
  tmp=$TMPDIR/cs$$-$RANDOM
3593
  (umask 077 && mkdir $tmp)
3594
} ||
3595
{
3596
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3597
   { (exit 1); exit 1; }
3598
}
3599
 
3600
EOF
3601
 
3602
cat >>$CONFIG_STATUS <
3603
 
3604
#
3605
# CONFIG_FILES section.
3606
#
3607
 
3608
# No need to generate the scripts if there are no CONFIG_FILES.
3609
# This happens for instance when ./config.status config.h
3610
if test -n "\$CONFIG_FILES"; then
3611
  # Protect against being on the right side of a sed subst in config.status.
3612
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3613
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3614
s,@SHELL@,$SHELL,;t t
3615
s,@exec_prefix@,$exec_prefix,;t t
3616
s,@prefix@,$prefix,;t t
3617
s,@program_transform_name@,$program_transform_name,;t t
3618
s,@bindir@,$bindir,;t t
3619
s,@sbindir@,$sbindir,;t t
3620
s,@libexecdir@,$libexecdir,;t t
3621
s,@datadir@,$datadir,;t t
3622
s,@sysconfdir@,$sysconfdir,;t t
3623
s,@sharedstatedir@,$sharedstatedir,;t t
3624
s,@localstatedir@,$localstatedir,;t t
3625
s,@libdir@,$libdir,;t t
3626
s,@includedir@,$includedir,;t t
3627
s,@oldincludedir@,$oldincludedir,;t t
3628
s,@infodir@,$infodir,;t t
3629
s,@mandir@,$mandir,;t t
3630
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3631
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3632
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3633
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3634
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3635
s,@build_alias@,$build_alias,;t t
3636
s,@host_alias@,$host_alias,;t t
3637
s,@target_alias@,$target_alias,;t t
3638
s,@ECHO_C@,$ECHO_C,;t t
3639
s,@ECHO_N@,$ECHO_N,;t t
3640
s,@ECHO_T@,$ECHO_T,;t t
3641
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3642
s,@DEFS@,$DEFS,;t t
3643
s,@LIBS@,$LIBS,;t t
3644
s,@MAKE@,$MAKE,;t t
3645
s,@ENDIF@,$ENDIF,;t t
3646
s,@RTEMS_TOPdir@,$RTEMS_TOPdir,;t t
3647
s,@PROJECT_TOPdir@,$PROJECT_TOPdir,;t t
3648
s,@PROJECT_ROOT@,$PROJECT_ROOT,;t t
3649
s,@build@,$build,;t t
3650
s,@build_cpu@,$build_cpu,;t t
3651
s,@build_vendor@,$build_vendor,;t t
3652
s,@build_os@,$build_os,;t t
3653
s,@host@,$host,;t t
3654
s,@host_cpu@,$host_cpu,;t t
3655
s,@host_vendor@,$host_vendor,;t t
3656
s,@host_os@,$host_os,;t t
3657
s,@target@,$target,;t t
3658
s,@target_cpu@,$target_cpu,;t t
3659
s,@target_vendor@,$target_vendor,;t t
3660
s,@target_os@,$target_os,;t t
3661
s,@RTEMS_CPU@,$RTEMS_CPU,;t t
3662
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3663
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3664
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3665
s,@PACKAGE@,$PACKAGE,;t t
3666
s,@VERSION@,$VERSION,;t t
3667
s,@ACLOCAL@,$ACLOCAL,;t t
3668
s,@AUTOCONF@,$AUTOCONF,;t t
3669
s,@AUTOMAKE@,$AUTOMAKE,;t t
3670
s,@AUTOHEADER@,$AUTOHEADER,;t t
3671
s,@MAKEINFO@,$MAKEINFO,;t t
3672
s,@AMTAR@,$AMTAR,;t t
3673
s,@install_sh@,$install_sh,;t t
3674
s,@STRIP@,$STRIP,;t t
3675
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3676
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3677
s,@AWK@,$AWK,;t t
3678
s,@SET_MAKE@,$SET_MAKE,;t t
3679
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3680
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3681
s,@MAINT@,$MAINT,;t t
3682
s,@RTEMS_HAS_NETWORKING@,$RTEMS_HAS_NETWORKING,;t t
3683
s,@RTEMS_HAS_POSIX_API@,$RTEMS_HAS_POSIX_API,;t t
3684
s,@RTEMS_BSP@,$RTEMS_BSP,;t t
3685
s,@RTEMS_BSP_SPECS@,$RTEMS_BSP_SPECS,;t t
3686
s,@GCC_SPECS@,$GCC_SPECS,;t t
3687
s,@PROJECT_INCLUDE@,$PROJECT_INCLUDE,;t t
3688
s,@PROJECT_RELEASE@,$PROJECT_RELEASE,;t t
3689
s,@RTEMS_ROOT@,$RTEMS_ROOT,;t t
3690
s,@BARE_CPU_MODEL@,$BARE_CPU_MODEL,;t t
3691
s,@BARE_CPU_CFLAGS@,$BARE_CPU_CFLAGS,;t t
3692
s,@MULTILIB_TRUE@,$MULTILIB_TRUE,;t t
3693
s,@MULTILIB_FALSE@,$MULTILIB_FALSE,;t t
3694
s,@bsplibdir@,$bsplibdir,;t t
3695
s,@RTEMS_HOST@,$RTEMS_HOST,;t t
3696
s,@PACKHEX@,$PACKHEX,;t t
3697
s,@CC@,$CC,;t t
3698
s,@CFLAGS@,$CFLAGS,;t t
3699
s,@LDFLAGS@,$LDFLAGS,;t t
3700
s,@CPPFLAGS@,$CPPFLAGS,;t t
3701
s,@ac_ct_CC@,$ac_ct_CC,;t t
3702
s,@EXEEXT@,$EXEEXT,;t t
3703
s,@OBJEXT@,$OBJEXT,;t t
3704
s,@DEPDIR@,$DEPDIR,;t t
3705
s,@am__include@,$am__include,;t t
3706
s,@am__quote@,$am__quote,;t t
3707
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3708
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3709
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3710
s,@CCDEPMODE@,$CCDEPMODE,;t t
3711
s,@CPP@,$CPP,;t t
3712
s,@RTEMS_USE_GCC_TRUE@,$RTEMS_USE_GCC_TRUE,;t t
3713
s,@RTEMS_USE_GCC_FALSE@,$RTEMS_USE_GCC_FALSE,;t t
3714
s,@GCCSED@,$GCCSED,;t t
3715
s,@AR@,$AR,;t t
3716
s,@AS@,$AS,;t t
3717
s,@LD@,$LD,;t t
3718
s,@NM@,$NM,;t t
3719
s,@RANLIB@,$RANLIB,;t t
3720
s,@OBJCOPY@,$OBJCOPY,;t t
3721
s,@SIZE@,$SIZE,;t t
3722
s,@HAS_NETWORKING@,$HAS_NETWORKING,;t t
3723
s,@HAS_POSIX_API@,$HAS_POSIX_API,;t t
3724
s,@HAS_POSIX_TRUE@,$HAS_POSIX_TRUE,;t t
3725
s,@HAS_POSIX_FALSE@,$HAS_POSIX_FALSE,;t t
3726
CEOF
3727
 
3728
EOF
3729
 
3730
  cat >>$CONFIG_STATUS <<\EOF
3731
  # Split the substitutions into bite-sized pieces for seds with
3732
  # small command number limits, like on Digital OSF/1 and HP-UX.
3733
  ac_max_sed_lines=48
3734
  ac_sed_frag=1 # Number of current file.
3735
  ac_beg=1 # First line for current file.
3736
  ac_end=$ac_max_sed_lines # Line after last line for current file.
3737
  ac_more_lines=:
3738
  ac_sed_cmds=
3739
  while $ac_more_lines; do
3740
    if test $ac_beg -gt 1; then
3741
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3742
    else
3743
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3744
    fi
3745
    if test ! -s $tmp/subs.frag; then
3746
      ac_more_lines=false
3747
    else
3748
      # The purpose of the label and of the branching condition is to
3749
      # speed up the sed processing (if there are no `@' at all, there
3750
      # is no need to browse any of the substitutions).
3751
      # These are the two extra sed commands mentioned above.
3752
      (echo ':t
3753
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3754
      if test -z "$ac_sed_cmds"; then
3755
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3756
      else
3757
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3758
      fi
3759
      ac_sed_frag=`expr $ac_sed_frag + 1`
3760
      ac_beg=$ac_end
3761
      ac_end=`expr $ac_end + $ac_max_sed_lines`
3762
    fi
3763
  done
3764
  if test -z "$ac_sed_cmds"; then
3765
    ac_sed_cmds=cat
3766
  fi
3767
fi # test -n "$CONFIG_FILES"
3768
 
3769
EOF
3770
cat >>$CONFIG_STATUS <<\EOF
3771
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3772
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3773
  case $ac_file in
3774
  - | *:- | *:-:* ) # input from stdin
3775
        cat >$tmp/stdin
3776
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3777
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3778
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3779
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3780
  * )   ac_file_in=$ac_file.in ;;
3781
  esac
3782
 
3783
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3784
  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3785
         X"$ac_file" : 'X\(//\)[^/]' \| \
3786
         X"$ac_file" : 'X\(//\)$' \| \
3787
         X"$ac_file" : 'X\(/\)' \| \
3788
         .     : '\(.\)' 2>/dev/null ||
3789
echo X"$ac_file" |
3790
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3791
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3792
          /^X\(\/\/\)$/{ s//\1/; q; }
3793
          /^X\(\/\).*/{ s//\1/; q; }
3794
          s/.*/./; q'`
3795
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3796
    { case "$ac_dir" in
3797
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3798
  *)                      as_incr_dir=.;;
3799
esac
3800
as_dummy="$ac_dir"
3801
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3802
  case $as_mkdir_dir in
3803
    # Skip DOS drivespec
3804
    ?:) as_incr_dir=$as_mkdir_dir ;;
3805
    *)
3806
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
3807
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3808
    ;;
3809
  esac
3810
done; }
3811
 
3812
    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3813
    # A "../" for each directory in $ac_dir_suffix.
3814
    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3815
  else
3816
    ac_dir_suffix= ac_dots=
3817
  fi
3818
 
3819
  case $srcdir in
3820
  .)  ac_srcdir=.
3821
      if test -z "$ac_dots"; then
3822
         ac_top_srcdir=.
3823
      else
3824
         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
3825
      fi ;;
3826
  [\\/]* | ?:[\\/]* )
3827
      ac_srcdir=$srcdir$ac_dir_suffix;
3828
      ac_top_srcdir=$srcdir ;;
3829
  *) # Relative path.
3830
    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
3831
    ac_top_srcdir=$ac_dots$srcdir ;;
3832
  esac
3833
 
3834
  case $INSTALL in
3835
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3836
  *) ac_INSTALL=$ac_dots$INSTALL ;;
3837
  esac
3838
 
3839
  if test x"$ac_file" != x-; then
3840
    { echo "$as_me:3840: creating $ac_file" >&5
3841
echo "$as_me: creating $ac_file" >&6;}
3842
    rm -f "$ac_file"
3843
  fi
3844
  # Let's still pretend it is `configure' which instantiates (i.e., don't
3845
  # use $as_me), people would be surprised to read:
3846
  #    /* config.h.  Generated automatically by config.status.  */
3847
  configure_input="Generated automatically from `echo $ac_file_in |
3848
                                                 sed 's,.*/,,'` by configure."
3849
 
3850
  # First look for the input files in the build tree, otherwise in the
3851
  # src tree.
3852
  ac_file_inputs=`IFS=:
3853
    for f in $ac_file_in; do
3854
      case $f in
3855
      -) echo $tmp/stdin ;;
3856
      [\\/$]*)
3857
         # Absolute (can't be DOS-style, as IFS=:)
3858
         test -f "$f" || { { echo "$as_me:3858: error: cannot find input file: $f" >&5
3859
echo "$as_me: error: cannot find input file: $f" >&2;}
3860
   { (exit 1); exit 1; }; }
3861
         echo $f;;
3862
      *) # Relative
3863
         if test -f "$f"; then
3864
           # Build tree
3865
           echo $f
3866
         elif test -f "$srcdir/$f"; then
3867
           # Source tree
3868
           echo $srcdir/$f
3869
         else
3870
           # /dev/null tree
3871
           { { echo "$as_me:3871: error: cannot find input file: $f" >&5
3872
echo "$as_me: error: cannot find input file: $f" >&2;}
3873
   { (exit 1); exit 1; }; }
3874
         fi;;
3875
      esac
3876
    done` || { (exit 1); exit 1; }
3877
EOF
3878
cat >>$CONFIG_STATUS <
3879
  sed "$ac_vpsub
3880
$extrasub
3881
EOF
3882
cat >>$CONFIG_STATUS <<\EOF
3883
:t
3884
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3885
s,@configure_input@,$configure_input,;t t
3886
s,@srcdir@,$ac_srcdir,;t t
3887
s,@top_srcdir@,$ac_top_srcdir,;t t
3888
s,@INSTALL@,$ac_INSTALL,;t t
3889
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3890
  rm -f $tmp/stdin
3891
  if test x"$ac_file" != x-; then
3892
    mv $tmp/out $ac_file
3893
  else
3894
    cat $tmp/out
3895
    rm -f $tmp/out
3896
  fi
3897
 
3898
done
3899
EOF
3900
cat >>$CONFIG_STATUS <<\EOF
3901
 
3902
#
3903
# CONFIG_COMMANDS section.
3904
#
3905
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3906
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3907
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3908
 
3909
  case $ac_dest in
3910
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3911
  # Strip MF so we end up with the name of the file.
3912
  mf=`echo "$mf" | sed -e 's/:.*$//'`
3913
  # Check whether this is an Automake generated Makefile or not.
3914
  # We used to match only the files named `Makefile.in', but
3915
  # some people rename them; so instead we look at the file content.
3916
  # Grep'ing the first line is not enough: some people post-process
3917
  # each Makefile.in and add a new line on top of each file to say so.
3918
  # So let's grep whole file.
3919
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3920
    dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3921
         X"$mf" : 'X\(//\)[^/]' \| \
3922
         X"$mf" : 'X\(//\)$' \| \
3923
         X"$mf" : 'X\(/\)' \| \
3924
         .     : '\(.\)' 2>/dev/null ||
3925
echo X"$mf" |
3926
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3927
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3928
          /^X\(\/\/\)$/{ s//\1/; q; }
3929
          /^X\(\/\).*/{ s//\1/; q; }
3930
          s/.*/./; q'`
3931
  else
3932
    continue
3933
  fi
3934
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
3935
  # Extract the definition of DEP_FILES from the Makefile without
3936
  # running `make'.
3937
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
3938
  test -z "$DEPDIR" && continue
3939
  # When using ansi2knr, U may be empty or an underscore; expand it
3940
  U=`sed -n -e '/^U = / s///p' < "$mf"`
3941
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
3942
  # We invoke sed twice because it is the simplest approach to
3943
  # changing $(DEPDIR) to its actual value in the expansion.
3944
  for file in `sed -n -e '
3945
    /^DEP_FILES = .*\\\\$/ {
3946
      s/^DEP_FILES = //
3947
      :loop
3948
        s/\\\\$//
3949
        p
3950
        n
3951
        /\\\\$/ b loop
3952
      p
3953
    }
3954
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
3955
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3956
    # Make sure the directory exists.
3957
    test -f "$dirpart/$file" && continue
3958
    fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3959
         X"$file" : 'X\(//\)[^/]' \| \
3960
         X"$file" : 'X\(//\)$' \| \
3961
         X"$file" : 'X\(/\)' \| \
3962
         .     : '\(.\)' 2>/dev/null ||
3963
echo X"$file" |
3964
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3965
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3966
          /^X\(\/\/\)$/{ s//\1/; q; }
3967
          /^X\(\/\).*/{ s//\1/; q; }
3968
          s/.*/./; q'`
3969
    { case $dirpart/$fdir in
3970
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3971
  *)                      as_incr_dir=.;;
3972
esac
3973
as_dummy=$dirpart/$fdir
3974
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3975
  case $as_mkdir_dir in
3976
    # Skip DOS drivespec
3977
    ?:) as_incr_dir=$as_mkdir_dir ;;
3978
    *)
3979
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
3980
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3981
    ;;
3982
  esac
3983
done; }
3984
 
3985
    # echo "creating $dirpart/$file"
3986
    echo '# dummy' > "$dirpart/$file"
3987
  done
3988
done
3989
 ;;
3990
  esac
3991
done
3992
EOF
3993
 
3994
cat >>$CONFIG_STATUS <<\EOF
3995
 
3996
{ (exit 0); exit 0; }
3997
EOF
3998
chmod +x $CONFIG_STATUS
3999
ac_clean_files=$ac_clean_files_save
4000
 
4001
# configure is writing to config.log, and then calls config.status.
4002
# config.status does its own redirection, appending to config.log.
4003
# Unfortunately, on DOS this fails, as config.log is still kept open
4004
# by configure, so config.status won't be able to write to it; its
4005
# output is simply discarded.  So we exec the FD to /dev/null,
4006
# effectively closing config.log, so it can be properly (re)opened and
4007
# appended to by config.status.  When coming back to configure, we
4008
# need to make the FD available again.
4009
if test "$no_create" != yes; then
4010
  ac_cs_success=:
4011
  exec 5>/dev/null
4012
  $SHELL $CONFIG_STATUS || ac_cs_success=false
4013
  exec 5>>config.log
4014
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4015
  # would make configure fail if this is the last instruction.
4016
  $ac_cs_success || { (exit 1); exit 1; }
4017
fi
4018
 

powered by: WebSVN 2.1.0

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