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

Subversion Repositories or1k

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

powered by: WebSVN 2.1.0

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