source: rtems/configure @ e2d79559

4.104.114.84.95
Last change on this file since e2d79559 was e2d79559, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 9, 1997 at 2:05:50 PM

Added ka9q tcpip stack and network driver for the gen68360. This effort
was done based on the 3.6.0 release and had to be autoconf'ed locally.
It is turned on is the bsp enables it and it is not explicitly disabled
via the configure option --disable-tcpip. As many warnings as possible
were removed locally after the code was merged. Only the gen68360
and mvme136 bsps were compiled this way.

The ka9q port and network driver were submitted by Eric Norum
(eric@…).

The network demo programs are not included in the tree at this point.

  • Property mode set to 100644
File size: 54.3 KB
Line 
1#! /bin/sh
2
3# Guess values for system-dependent variables and create Makefiles.
4# Generated automatically using autoconf version 2.12
5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6#
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9
10# Defaults:
11ac_help=
12ac_default_prefix=/usr/local
13# Any additions from configure.in:
14ac_help="$ac_help
15  --with-cross-host=HOST      host (cygnus)"
16ac_help="$ac_help
17\
18  --disable-posix                   disable posix interface"
19ac_help="$ac_help
20\
21  --disable-tcpip                   disable KA9Q TCP/IP stack"
22ac_help="$ac_help
23\
24  --disable-rtems-inlines           disable RTEMS inline functions (use macros)"
25ac_help="$ac_help
26\
27  --disable-tests                   disable tests"
28ac_help="$ac_help
29\
30  --enable-rtemsbsp=bsp1 bsp2 ..   prefix for cross-tools"
31
32# Initialize some variables set by options.
33# The variables have the same names as the options, with
34# dashes changed to underlines.
35build=NONE
36cache_file=./config.cache
37exec_prefix=NONE
38host=NONE
39no_create=
40nonopt=NONE
41no_recursion=
42prefix=NONE
43program_prefix=NONE
44program_suffix=NONE
45program_transform_name=s,x,x,
46silent=
47site=
48srcdir=
49target=NONE
50verbose=
51x_includes=NONE
52x_libraries=NONE
53bindir='${exec_prefix}/bin'
54sbindir='${exec_prefix}/sbin'
55libexecdir='${exec_prefix}/libexec'
56datadir='${prefix}/share'
57sysconfdir='${prefix}/etc'
58sharedstatedir='${prefix}/com'
59localstatedir='${prefix}/var'
60libdir='${exec_prefix}/lib'
61includedir='${prefix}/include'
62oldincludedir='/usr/include'
63infodir='${prefix}/info'
64mandir='${prefix}/man'
65
66# Initialize some other variables.
67subdirs=
68MFLAGS= MAKEFLAGS=
69# Maximum number of lines to put in a shell here document.
70ac_max_here_lines=12
71
72ac_prev=
73for ac_option
74do
75
76  # If the previous option needs an argument, assign it.
77  if test -n "$ac_prev"; then
78    eval "$ac_prev=\$ac_option"
79    ac_prev=
80    continue
81  fi
82
83  case "$ac_option" in
84  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
85  *) ac_optarg= ;;
86  esac
87
88  # Accept the important Cygnus configure options, so we can diagnose typos.
89
90  case "$ac_option" in
91
92  -bindir | --bindir | --bindi | --bind | --bin | --bi)
93    ac_prev=bindir ;;
94  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
95    bindir="$ac_optarg" ;;
96
97  -build | --build | --buil | --bui | --bu)
98    ac_prev=build ;;
99  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
100    build="$ac_optarg" ;;
101
102  -cache-file | --cache-file | --cache-fil | --cache-fi \
103  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
104    ac_prev=cache_file ;;
105  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
106  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
107    cache_file="$ac_optarg" ;;
108
109  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
110    ac_prev=datadir ;;
111  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
112  | --da=*)
113    datadir="$ac_optarg" ;;
114
115  -disable-* | --disable-*)
116    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
117    # Reject names that are not valid shell variable names.
118    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
119      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
120    fi
121    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
122    eval "enable_${ac_feature}=no" ;;
123
124  -enable-* | --enable-*)
125    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
126    # Reject names that are not valid shell variable names.
127    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
128      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
129    fi
130    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
131    case "$ac_option" in
132      *=*) ;;
133      *) ac_optarg=yes ;;
134    esac
135    eval "enable_${ac_feature}='$ac_optarg'" ;;
136
137  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
138  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
139  | --exec | --exe | --ex)
140    ac_prev=exec_prefix ;;
141  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
142  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
143  | --exec=* | --exe=* | --ex=*)
144    exec_prefix="$ac_optarg" ;;
145
146  -gas | --gas | --ga | --g)
147    # Obsolete; use --with-gas.
148    with_gas=yes ;;
149
150  -help | --help | --hel | --he)
151    # Omit some internal or obsolete options to make the list less imposing.
152    # This message is too long to be a string in the A/UX 3.1 sh.
153    cat << EOF
154Usage: configure [options] [host]
155Options: [defaults in brackets after descriptions]
156Configuration:
157  --cache-file=FILE       cache test results in FILE
158  --help                  print this message
159  --no-create             do not create output files
160  --quiet, --silent       do not print \`checking...' messages
161  --version               print the version of autoconf that created configure
162Directory and file names:
163  --prefix=PREFIX         install architecture-independent files in PREFIX
164                          [$ac_default_prefix]
165  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
166                          [same as prefix]
167  --bindir=DIR            user executables in DIR [EPREFIX/bin]
168  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
169  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
170  --datadir=DIR           read-only architecture-independent data in DIR
171                          [PREFIX/share]
172  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
173  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
174                          [PREFIX/com]
175  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
176  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
177  --includedir=DIR        C header files in DIR [PREFIX/include]
178  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
179  --infodir=DIR           info documentation in DIR [PREFIX/info]
180  --mandir=DIR            man documentation in DIR [PREFIX/man]
181  --srcdir=DIR            find the sources in DIR [configure dir or ..]
182  --program-prefix=PREFIX prepend PREFIX to installed program names
183  --program-suffix=SUFFIX append SUFFIX to installed program names
184  --program-transform-name=PROGRAM
185                          run sed PROGRAM on installed program names
186EOF
187    cat << EOF
188Host type:
189  --build=BUILD           configure for building on BUILD [BUILD=HOST]
190  --host=HOST             configure for HOST [guessed]
191  --target=TARGET         configure for TARGET [TARGET=HOST]
192Features and packages:
193  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
194  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
195  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
196  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
197  --x-includes=DIR        X include files are in DIR
198  --x-libraries=DIR       X library files are in DIR
199EOF
200    if test -n "$ac_help"; then
201      echo "--enable and --with options recognized:$ac_help"
202    fi
203    exit 0 ;;
204
205  -host | --host | --hos | --ho)
206    ac_prev=host ;;
207  -host=* | --host=* | --hos=* | --ho=*)
208    host="$ac_optarg" ;;
209
210  -includedir | --includedir | --includedi | --included | --include \
211  | --includ | --inclu | --incl | --inc)
212    ac_prev=includedir ;;
213  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
214  | --includ=* | --inclu=* | --incl=* | --inc=*)
215    includedir="$ac_optarg" ;;
216
217  -infodir | --infodir | --infodi | --infod | --info | --inf)
218    ac_prev=infodir ;;
219  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
220    infodir="$ac_optarg" ;;
221
222  -libdir | --libdir | --libdi | --libd)
223    ac_prev=libdir ;;
224  -libdir=* | --libdir=* | --libdi=* | --libd=*)
225    libdir="$ac_optarg" ;;
226
227  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
228  | --libexe | --libex | --libe)
229    ac_prev=libexecdir ;;
230  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
231  | --libexe=* | --libex=* | --libe=*)
232    libexecdir="$ac_optarg" ;;
233
234  -localstatedir | --localstatedir | --localstatedi | --localstated \
235  | --localstate | --localstat | --localsta | --localst \
236  | --locals | --local | --loca | --loc | --lo)
237    ac_prev=localstatedir ;;
238  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
239  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
240  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
241    localstatedir="$ac_optarg" ;;
242
243  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
244    ac_prev=mandir ;;
245  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
246    mandir="$ac_optarg" ;;
247
248  -nfp | --nfp | --nf)
249    # Obsolete; use --without-fp.
250    with_fp=no ;;
251
252  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
253  | --no-cr | --no-c)
254    no_create=yes ;;
255
256  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
257  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
258    no_recursion=yes ;;
259
260  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
261  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
262  | --oldin | --oldi | --old | --ol | --o)
263    ac_prev=oldincludedir ;;
264  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
265  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
266  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
267    oldincludedir="$ac_optarg" ;;
268
269  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
270    ac_prev=prefix ;;
271  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
272    prefix="$ac_optarg" ;;
273
274  -program-prefix | --program-prefix | --program-prefi | --program-pref \
275  | --program-pre | --program-pr | --program-p)
276    ac_prev=program_prefix ;;
277  -program-prefix=* | --program-prefix=* | --program-prefi=* \
278  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
279    program_prefix="$ac_optarg" ;;
280
281  -program-suffix | --program-suffix | --program-suffi | --program-suff \
282  | --program-suf | --program-su | --program-s)
283    ac_prev=program_suffix ;;
284  -program-suffix=* | --program-suffix=* | --program-suffi=* \
285  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
286    program_suffix="$ac_optarg" ;;
287
288  -program-transform-name | --program-transform-name \
289  | --program-transform-nam | --program-transform-na \
290  | --program-transform-n | --program-transform- \
291  | --program-transform | --program-transfor \
292  | --program-transfo | --program-transf \
293  | --program-trans | --program-tran \
294  | --progr-tra | --program-tr | --program-t)
295    ac_prev=program_transform_name ;;
296  -program-transform-name=* | --program-transform-name=* \
297  | --program-transform-nam=* | --program-transform-na=* \
298  | --program-transform-n=* | --program-transform-=* \
299  | --program-transform=* | --program-transfor=* \
300  | --program-transfo=* | --program-transf=* \
301  | --program-trans=* | --program-tran=* \
302  | --progr-tra=* | --program-tr=* | --program-t=*)
303    program_transform_name="$ac_optarg" ;;
304
305  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
306  | -silent | --silent | --silen | --sile | --sil)
307    silent=yes ;;
308
309  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
310    ac_prev=sbindir ;;
311  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
312  | --sbi=* | --sb=*)
313    sbindir="$ac_optarg" ;;
314
315  -sharedstatedir | --sharedstatedir | --sharedstatedi \
316  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
317  | --sharedst | --shareds | --shared | --share | --shar \
318  | --sha | --sh)
319    ac_prev=sharedstatedir ;;
320  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
321  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
322  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
323  | --sha=* | --sh=*)
324    sharedstatedir="$ac_optarg" ;;
325
326  -site | --site | --sit)
327    ac_prev=site ;;
328  -site=* | --site=* | --sit=*)
329    site="$ac_optarg" ;;
330
331  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
332    ac_prev=srcdir ;;
333  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
334    srcdir="$ac_optarg" ;;
335
336  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
337  | --syscon | --sysco | --sysc | --sys | --sy)
338    ac_prev=sysconfdir ;;
339  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
340  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
341    sysconfdir="$ac_optarg" ;;
342
343  -target | --target | --targe | --targ | --tar | --ta | --t)
344    ac_prev=target ;;
345  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
346    target="$ac_optarg" ;;
347
348  -v | -verbose | --verbose | --verbos | --verbo | --verb)
349    verbose=yes ;;
350
351  -version | --version | --versio | --versi | --vers)
352    echo "configure generated by autoconf version 2.12"
353    exit 0 ;;
354
355  -with-* | --with-*)
356    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
357    # Reject names that are not valid shell variable names.
358    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
359      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
360    fi
361    ac_package=`echo $ac_package| sed 's/-/_/g'`
362    case "$ac_option" in
363      *=*) ;;
364      *) ac_optarg=yes ;;
365    esac
366    eval "with_${ac_package}='$ac_optarg'" ;;
367
368  -without-* | --without-*)
369    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
370    # Reject names that are not valid shell variable names.
371    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
372      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
373    fi
374    ac_package=`echo $ac_package| sed 's/-/_/g'`
375    eval "with_${ac_package}=no" ;;
376
377  --x)
378    # Obsolete; use --with-x.
379    with_x=yes ;;
380
381  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
382  | --x-incl | --x-inc | --x-in | --x-i)
383    ac_prev=x_includes ;;
384  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
385  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
386    x_includes="$ac_optarg" ;;
387
388  -x-libraries | --x-libraries | --x-librarie | --x-librari \
389  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
390    ac_prev=x_libraries ;;
391  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
392  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
393    x_libraries="$ac_optarg" ;;
394
395  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
396    ;;
397
398  *)
399    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
400      echo "configure: warning: $ac_option: invalid host type" 1>&2
401    fi
402    if test "x$nonopt" != xNONE; then
403      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
404    fi
405    nonopt="$ac_option"
406    ;;
407
408  esac
409done
410
411if test -n "$ac_prev"; then
412  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
413fi
414
415trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
416
417# File descriptor usage:
418# 0 standard input
419# 1 file creation
420# 2 errors and warnings
421# 3 some systems may open it to /dev/tty
422# 4 used on the Kubota Titan
423# 6 checking for... messages and results
424# 5 compiler messages saved in config.log
425if test "$silent" = yes; then
426  exec 6>/dev/null
427else
428  exec 6>&1
429fi
430exec 5>./config.log
431
432echo "\
433This file contains any messages produced by compilers while
434running configure, to aid debugging if configure makes a mistake.
435" 1>&5
436
437# Strip out --no-create and --no-recursion so they do not pile up.
438# Also quote any args containing shell metacharacters.
439ac_configure_args=
440for ac_arg
441do
442  case "$ac_arg" in
443  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
444  | --no-cr | --no-c) ;;
445  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
446  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
447  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
448  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
449  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
450  esac
451done
452
453# NLS nuisances.
454# Only set these to C if already set.  These must not be set unconditionally
455# because not all systems understand e.g. LANG=C (notably SCO).
456# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
457# Non-C LC_CTYPE values break the ctype check.
458if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
459if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
460if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
461if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
462
463# confdefs.h avoids OS command line length limits that DEFS can exceed.
464rm -rf conftest* confdefs.h
465# AIX cpp loses on an empty file, so make sure it contains at least a newline.
466echo > confdefs.h
467
468# A filename unique to this package, relative to the directory that
469# configure is in, which we can look for to find out if srcdir is correct.
470ac_unique_file=README
471
472# Find the source files, if location was not specified.
473if test -z "$srcdir"; then
474  ac_srcdir_defaulted=yes
475  # Try the directory containing this script, then its parent.
476  ac_prog=$0
477  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
478  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
479  srcdir=$ac_confdir
480  if test ! -r $srcdir/$ac_unique_file; then
481    srcdir=..
482  fi
483else
484  ac_srcdir_defaulted=no
485fi
486if test ! -r $srcdir/$ac_unique_file; then
487  if test "$ac_srcdir_defaulted" = yes; then
488    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
489  else
490    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
491  fi
492fi
493srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
494
495# Prefer explicitly selected file to automatically selected ones.
496if test -z "$CONFIG_SITE"; then
497  if test "x$prefix" != xNONE; then
498    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
499  else
500    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
501  fi
502fi
503for ac_site_file in $CONFIG_SITE; do
504  if test -r "$ac_site_file"; then
505    echo "loading site script $ac_site_file"
506    . "$ac_site_file"
507  fi
508done
509
510if test -r "$cache_file"; then
511  echo "loading cache $cache_file"
512  . $cache_file
513else
514  echo "creating cache $cache_file"
515  > $cache_file
516fi
517
518ac_ext=c
519# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
520ac_cpp='$CPP $CPPFLAGS'
521ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
522ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
523cross_compiling=$ac_cv_prog_cc_cross
524
525if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
526  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
527  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
528    ac_n= ac_c='
529' ac_t='        '
530  else
531    ac_n=-n ac_c= ac_t=
532  fi
533else
534  ac_n= ac_c='\c' ac_t=
535fi
536
537
538
539a29k_mk="c/src/exec/score/cpu/a29k/Makefile \
540c/src/lib/libbsp/a29k/Makefile \
541c/src/lib/libbsp/a29k/portsw/Makefile \
542c/src/lib/libbsp/a29k/portsw/console/Makefile \
543c/src/lib/libbsp/a29k/portsw/include/Makefile \
544c/src/lib/libbsp/a29k/portsw/shmsupp/Makefile \
545c/src/lib/libbsp/a29k/portsw/startup/Makefile \
546c/src/lib/libbsp/a29k/portsw/wrapup/Makefile \
547c/src/lib/start/a29k/Makefile"
548
549i386_mk="c/src/exec/score/cpu/i386/Makefile \
550c/src/lib/libbsp/i386/Makefile \
551c/src/lib/libbsp/i386/force386/Makefile \
552c/src/lib/libbsp/i386/force386/clock/Makefile \
553c/src/lib/libbsp/i386/force386/console/Makefile \
554c/src/lib/libbsp/i386/force386/include/Makefile \
555c/src/lib/libbsp/i386/force386/shmsupp/Makefile \
556c/src/lib/libbsp/i386/force386/startup/Makefile \
557c/src/lib/libbsp/i386/force386/timer/Makefile \
558c/src/lib/libbsp/i386/force386/wrapup/Makefile \
559c/src/lib/libbsp/i386/i386ex/Makefile \
560c/src/lib/libbsp/i386/i386ex/clock/Makefile \
561c/src/lib/libbsp/i386/i386ex/console/Makefile \
562c/src/lib/libbsp/i386/i386ex/include/Makefile \
563c/src/lib/libbsp/i386/i386ex/startup/Makefile \
564c/src/lib/libbsp/i386/i386ex/timer/Makefile \
565c/src/lib/libbsp/i386/i386ex/wrapup/Makefile \
566c/src/lib/start/i386/Makefile"
567
568i386_go32_mk="c/src/exec/score/cpu/i386/Makefile \
569c/src/lib/libbsp/i386/Makefile \
570c/src/lib/libbsp/i386/go32/Makefile \
571c/src/lib/libbsp/i386/go32/clock/Makefile \
572c/src/lib/libbsp/i386/go32/console/Makefile \
573c/src/lib/libbsp/i386/go32/include/Makefile \
574c/src/lib/libbsp/i386/go32/startup/Makefile \
575c/src/lib/libbsp/i386/go32/timer/Makefile \
576c/src/lib/libbsp/i386/go32/wrapup/Makefile"
577
578m68k_mk="c/src/exec/score/cpu/m68k/Makefile \
579c/src/lib/libbsp/m68k/Makefile \
580c/src/lib/libbsp/m68k/dmv152/Makefile \
581c/src/lib/libbsp/m68k/dmv152/clock/Makefile \
582c/src/lib/libbsp/m68k/dmv152/console/Makefile \
583c/src/lib/libbsp/m68k/dmv152/include/Makefile \
584c/src/lib/libbsp/m68k/dmv152/spurious/Makefile \
585c/src/lib/libbsp/m68k/dmv152/startup/Makefile \
586c/src/lib/libbsp/m68k/dmv152/timer/Makefile \
587c/src/lib/libbsp/m68k/dmv152/wrapup/Makefile \
588c/src/lib/libbsp/m68k/efi332/Makefile \
589c/src/lib/libbsp/m68k/efi332/clock/Makefile \
590c/src/lib/libbsp/m68k/efi332/console/Makefile \
591c/src/lib/libbsp/m68k/efi332/include/Makefile \
592c/src/lib/libbsp/m68k/efi332/spurious/Makefile \
593c/src/lib/libbsp/m68k/efi332/startup/Makefile \
594c/src/lib/libbsp/m68k/efi332/start332/Makefile \
595c/src/lib/libbsp/m68k/efi332/timer/Makefile \
596c/src/lib/libbsp/m68k/efi332/wrapup/Makefile \
597c/src/lib/libbsp/m68k/efi68k/Makefile \
598c/src/lib/libbsp/m68k/efi68k/clock/Makefile \
599c/src/lib/libbsp/m68k/efi68k/console/Makefile \
600c/src/lib/libbsp/m68k/efi68k/include/Makefile \
601c/src/lib/libbsp/m68k/efi68k/spurious/Makefile \
602c/src/lib/libbsp/m68k/efi68k/startup/Makefile \
603c/src/lib/libbsp/m68k/efi68k/start68k/Makefile \
604c/src/lib/libbsp/m68k/efi68k/timer/Makefile \
605c/src/lib/libbsp/m68k/efi68k/wrapup/Makefile \
606c/src/lib/libbsp/m68k/gen68302/Makefile \
607c/src/lib/libbsp/m68k/gen68302/clock/Makefile \
608c/src/lib/libbsp/m68k/gen68302/console/Makefile \
609c/src/lib/libbsp/m68k/gen68302/include/Makefile \
610c/src/lib/libbsp/m68k/gen68302/start302/Makefile \
611c/src/lib/libbsp/m68k/gen68302/startup/Makefile \
612c/src/lib/libbsp/m68k/gen68302/timer/Makefile \
613c/src/lib/libbsp/m68k/gen68302/wrapup/Makefile \
614c/src/lib/libbsp/m68k/gen68360/Makefile \
615c/src/lib/libbsp/m68k/gen68360/clock/Makefile \
616c/src/lib/libbsp/m68k/gen68360/console/Makefile \
617c/src/lib/libbsp/m68k/gen68360/include/Makefile \
618c/src/lib/libbsp/m68k/gen68360/start360/Makefile \
619c/src/lib/libbsp/m68k/gen68360/startup/Makefile \
620c/src/lib/libbsp/m68k/gen68360/timer/Makefile \
621c/src/lib/libbsp/m68k/gen68360/network/Makefile \
622c/src/lib/libbsp/m68k/gen68360/wrapup/Makefile \
623c/src/lib/libbsp/m68k/idp/Makefile \
624c/src/lib/libbsp/m68k/idp/clock/Makefile \
625c/src/lib/libbsp/m68k/idp/console/Makefile \
626c/src/lib/libbsp/m68k/idp/include/Makefile \
627c/src/lib/libbsp/m68k/idp/startup/Makefile \
628c/src/lib/libbsp/m68k/idp/timer/Makefile \
629c/src/lib/libbsp/m68k/idp/wrapup/Makefile \
630c/src/lib/libbsp/m68k/mvme136/Makefile \
631c/src/lib/libbsp/m68k/mvme136/clock/Makefile \
632c/src/lib/libbsp/m68k/mvme136/console/Makefile \
633c/src/lib/libbsp/m68k/mvme136/include/Makefile \
634c/src/lib/libbsp/m68k/mvme136/shmsupp/Makefile \
635c/src/lib/libbsp/m68k/mvme136/startup/Makefile \
636c/src/lib/libbsp/m68k/mvme136/timer/Makefile \
637c/src/lib/libbsp/m68k/mvme136/wrapup/Makefile \
638c/src/lib/libbsp/m68k/mvme147/Makefile \
639c/src/lib/libbsp/m68k/mvme147/clock/Makefile \
640c/src/lib/libbsp/m68k/mvme147/console/Makefile \
641c/src/lib/libbsp/m68k/mvme147/include/Makefile \
642c/src/lib/libbsp/m68k/mvme147/startup/Makefile \
643c/src/lib/libbsp/m68k/mvme147/timer/Makefile \
644c/src/lib/libbsp/m68k/mvme147/wrapup/Makefile \
645c/src/lib/libbsp/m68k/mvme147s/Makefile \
646c/src/lib/libbsp/m68k/mvme147s/clock/Makefile \
647c/src/lib/libbsp/m68k/mvme147s/console/Makefile \
648c/src/lib/libbsp/m68k/mvme147s/include/Makefile \
649c/src/lib/libbsp/m68k/mvme147s/shmsupp/Makefile \
650c/src/lib/libbsp/m68k/mvme147s/startup/Makefile \
651c/src/lib/libbsp/m68k/mvme147s/timer/Makefile \
652c/src/lib/libbsp/m68k/mvme147s/wrapup/Makefile \
653c/src/lib/libbsp/m68k/mvme162/Makefile \
654c/src/lib/libbsp/m68k/mvme162/clock/Makefile \
655c/src/lib/libbsp/m68k/mvme162/console/Makefile \
656c/src/lib/libbsp/m68k/mvme162/include/Makefile \
657c/src/lib/libbsp/m68k/mvme162/startup/Makefile \
658c/src/lib/libbsp/m68k/mvme162/timer/Makefile \
659c/src/lib/libbsp/m68k/mvme162/tools/Makefile \
660c/src/lib/libbsp/m68k/mvme162/wrapup/Makefile \
661c/src/lib/start/m68k/Makefile"
662
663no_cpu_mk="c/src/exec/score/cpu/no_cpu/Makefile \
664c/src/lib/libbsp/no_cpu/Makefile \
665c/src/lib/libbsp/no_cpu/no_bsp/Makefile \
666c/src/lib/libbsp/no_cpu/no_bsp/clock/Makefile \
667c/src/lib/libbsp/no_cpu/no_bsp/console/Makefile \
668c/src/lib/libbsp/no_cpu/no_bsp/include/Makefile \
669c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/Makefile \
670c/src/lib/libbsp/no_cpu/no_bsp/startup/Makefile \
671c/src/lib/libbsp/no_cpu/no_bsp/timer/Makefile \
672c/src/lib/libbsp/no_cpu/no_bsp/wrapup/Makefile"
673
674sparc_mk="c/src/exec/score/cpu/sparc/Makefile \
675c/src/lib/libbsp/sparc/Makefile \
676c/src/lib/libbsp/sparc/erc32/Makefile \
677c/src/lib/libbsp/sparc/erc32/clock/Makefile \
678c/src/lib/libbsp/sparc/erc32/console/Makefile \
679c/src/lib/libbsp/sparc/erc32/include/Makefile \
680c/src/lib/libbsp/sparc/erc32/startsis/Makefile \
681c/src/lib/libbsp/sparc/erc32/startup/Makefile \
682c/src/lib/libbsp/sparc/erc32/timer/Makefile \
683c/src/lib/libbsp/sparc/erc32/wrapup/Makefile \
684c/src/lib/libcpu/sparc/Makefile \
685c/src/lib/libcpu/sparc/reg_win/Makefile"
686
687hppa1_1_mk="c/src/exec/score/cpu/hppa1_1/Makefile \
688c/src/exec/score/tools/hppa1_1/Makefile \
689c/src/lib/libbsp/hppa1_1/Makefile \
690c/src/lib/libbsp/hppa1_1/pxfl/Makefile \
691c/src/lib/libbsp/hppa1_1/simhppa/Makefile \
692c/src/lib/libbsp/hppa1_1/simhppa/include/Makefile \
693c/src/lib/libbsp/hppa1_1/simhppa/shmsupp/Makefile \
694c/src/lib/libbsp/hppa1_1/simhppa/startup/Makefile \
695c/src/lib/libbsp/hppa1_1/simhppa/tools/Makefile \
696c/src/lib/libbsp/hppa1_1/simhppa/tty/Makefile \
697c/src/lib/libbsp/hppa1_1/simhppa/wrapup/Makefile \
698c/src/lib/libcpu/hppa1_1/Makefile \
699c/src/lib/libcpu/hppa1_1/clock/Makefile \
700c/src/lib/libcpu/hppa1_1/include/Makefile \
701c/src/lib/libcpu/hppa1_1/milli/Makefile \
702c/src/lib/libcpu/hppa1_1/runway/Makefile \
703c/src/lib/libcpu/hppa1_1/semaphore/Makefile \
704c/src/lib/libcpu/hppa1_1/timer/Makefile \
705c/src/lib/start/hppa1_1/Makefile"
706
707i960_mk="c/src/exec/score/cpu/i960/Makefile \
708c/src/lib/libbsp/i960/Makefile \
709c/src/lib/libbsp/i960/cvme961/Makefile \
710c/src/lib/libbsp/i960/cvme961/clock/Makefile \
711c/src/lib/libbsp/i960/cvme961/console/Makefile \
712c/src/lib/libbsp/i960/cvme961/include/Makefile \
713c/src/lib/libbsp/i960/cvme961/shmsupp/Makefile \
714c/src/lib/libbsp/i960/cvme961/startup/Makefile \
715c/src/lib/libbsp/i960/cvme961/timer/Makefile \
716c/src/lib/libbsp/i960/cvme961/wrapup/Makefile \
717c/src/lib/start/i960/Makefile"
718
719mips64orion_mk="c/src/exec/score/cpu/mips64orion/Makefile \
720c/src/lib/libbsp/mips64orion/Makefile \
721c/src/lib/libbsp/mips64orion/p4000/Makefile \
722c/src/lib/libbsp/mips64orion/p4000/console/Makefile \
723c/src/lib/libbsp/mips64orion/p4000/include/Makefile \
724c/src/lib/libbsp/mips64orion/p4000/liblnk/Makefile \
725c/src/lib/libbsp/mips64orion/p4000/startup/Makefile \
726c/src/lib/libbsp/mips64orion/p4000/wrapup/Makefile \
727c/src/lib/libcpu/mips64orion/Makefile \
728c/src/lib/libcpu/mips64orion/clock/Makefile \
729c/src/lib/libcpu/mips64orion/include/Makefile \
730c/src/lib/libcpu/mips64orion/timer/Makefile \
731c/src/lib/start/mips64orion/Makefile"
732
733powerpc_mk="c/src/exec/score/cpu/ppc/Makefile \
734c/src/lib/libbsp/ppc/Makefile \
735c/src/lib/libbsp/ppc/papyrus/Makefile \
736c/src/lib/libbsp/ppc/papyrus/dlentry/Makefile \
737c/src/lib/libbsp/ppc/papyrus/flashentry/Makefile \
738c/src/lib/libbsp/ppc/papyrus/include/Makefile \
739c/src/lib/libbsp/ppc/papyrus/startup/Makefile \
740c/src/lib/libbsp/ppc/papyrus/wrapup/Makefile \
741c/src/lib/libcpu/ppc/Makefile \
742c/src/lib/libcpu/ppc/ppc403/Makefile \
743c/src/lib/libcpu/ppc/ppc403/clock/Makefile \
744c/src/lib/libcpu/ppc/ppc403/console/Makefile \
745c/src/lib/libcpu/ppc/ppc403/include/Makefile \
746c/src/lib/libcpu/ppc/ppc403/timer/Makefile \
747c/src/lib/libcpu/ppc/ppc403/vectors/Makefile"
748
749posix_mk="c/src/exec/score/cpu/unix/Makefile \
750c/src/exec/score/tools/unix/Makefile \
751c/src/lib/libbsp/unix/Makefile \
752c/src/lib/libbsp/unix/posix/Makefile \
753c/src/lib/libbsp/unix/posix/clock/Makefile \
754c/src/lib/libbsp/unix/posix/console/Makefile \
755c/src/lib/libbsp/unix/posix/include/Makefile \
756c/src/lib/libbsp/unix/posix/shmsupp/Makefile \
757c/src/lib/libbsp/unix/posix/startup/Makefile \
758c/src/lib/libbsp/unix/posix/timer/Makefile \
759c/src/lib/libbsp/unix/posix/wrapup/Makefile"
760
761tcpip_mk="c/src/lib/libka9q/Makefile"
762
763tests_mk="c/src/tests/Makefile \
764c/src/tests/libtests/Makefile \
765c/src/tests/libtests/malloctest/Makefile \
766c/src/tests/libtests/stackchk/Makefile \
767c/src/tests/mptests/Makefile \
768c/src/tests/mptests/mp01/Makefile \
769c/src/tests/mptests/mp01/node1/Makefile \
770c/src/tests/mptests/mp01/node2/Makefile \
771c/src/tests/mptests/mp02/Makefile \
772c/src/tests/mptests/mp02/node1/Makefile \
773c/src/tests/mptests/mp02/node2/Makefile \
774c/src/tests/mptests/mp03/Makefile \
775c/src/tests/mptests/mp03/node1/Makefile \
776c/src/tests/mptests/mp03/node2/Makefile \
777c/src/tests/mptests/mp04/Makefile \
778c/src/tests/mptests/mp04/node1/Makefile \
779c/src/tests/mptests/mp04/node2/Makefile \
780c/src/tests/mptests/mp05/Makefile \
781c/src/tests/mptests/mp05/node1/Makefile \
782c/src/tests/mptests/mp05/node2/Makefile \
783c/src/tests/mptests/mp06/Makefile \
784c/src/tests/mptests/mp06/node1/Makefile \
785c/src/tests/mptests/mp06/node2/Makefile \
786c/src/tests/mptests/mp07/Makefile \
787c/src/tests/mptests/mp07/node1/Makefile \
788c/src/tests/mptests/mp07/node2/Makefile \
789c/src/tests/mptests/mp08/Makefile \
790c/src/tests/mptests/mp08/node1/Makefile \
791c/src/tests/mptests/mp08/node2/Makefile \
792c/src/tests/mptests/mp09/Makefile \
793c/src/tests/mptests/mp09/node1/Makefile \
794c/src/tests/mptests/mp09/node2/Makefile \
795c/src/tests/mptests/mp10/Makefile \
796c/src/tests/mptests/mp10/node1/Makefile \
797c/src/tests/mptests/mp10/node2/Makefile \
798c/src/tests/mptests/mp11/Makefile \
799c/src/tests/mptests/mp11/node1/Makefile \
800c/src/tests/mptests/mp11/node2/Makefile \
801c/src/tests/mptests/mp12/Makefile \
802c/src/tests/mptests/mp12/node1/Makefile \
803c/src/tests/mptests/mp12/node2/Makefile \
804c/src/tests/mptests/mp13/Makefile \
805c/src/tests/mptests/mp13/node1/Makefile \
806c/src/tests/mptests/mp13/node2/Makefile \
807c/src/tests/mptests/mp14/Makefile \
808c/src/tests/mptests/mp14/node1/Makefile \
809c/src/tests/mptests/mp14/node2/Makefile \
810c/src/tests/psxtests/Makefile \
811c/src/tests/psxtests/psx01/Makefile \
812c/src/tests/psxtests/psx02/Makefile \
813c/src/tests/psxtests/psx03/Makefile \
814c/src/tests/psxtests/psx04/Makefile \
815c/src/tests/psxtests/psx05/Makefile \
816c/src/tests/psxtests/psx06/Makefile \
817c/src/tests/psxtests/psx07/Makefile \
818c/src/tests/psxtests/psx08/Makefile \
819c/src/tests/psxtests/psx09/Makefile \
820c/src/tests/psxtests/psx10/Makefile \
821c/src/tests/psxtests/psx11/Makefile \
822c/src/tests/psxtests/psx12/Makefile \
823c/src/tests/psxtests/psxhdrs/Makefile \
824c/src/tests/psxtests/support/Makefile \
825c/src/tests/psxtests/support/include/Makefile \
826c/src/tests/samples/Makefile \
827c/src/tests/samples/base_mp/Makefile \
828c/src/tests/samples/base_mp/node1/Makefile \
829c/src/tests/samples/base_mp/node2/Makefile \
830c/src/tests/samples/base_sp/Makefile \
831c/src/tests/samples/cdtest/Makefile \
832c/src/tests/samples/hello/Makefile \
833c/src/tests/samples/paranoia/Makefile \
834c/src/tests/samples/ticker/Makefile \
835c/src/tests/sptests/Makefile \
836c/src/tests/sptests/sp01/Makefile \
837c/src/tests/sptests/sp02/Makefile \
838c/src/tests/sptests/sp03/Makefile \
839c/src/tests/sptests/sp04/Makefile \
840c/src/tests/sptests/sp05/Makefile \
841c/src/tests/sptests/sp06/Makefile \
842c/src/tests/sptests/sp07/Makefile \
843c/src/tests/sptests/sp08/Makefile \
844c/src/tests/sptests/sp09/Makefile \
845c/src/tests/sptests/sp11/Makefile \
846c/src/tests/sptests/sp12/Makefile \
847c/src/tests/sptests/sp13/Makefile \
848c/src/tests/sptests/sp14/Makefile \
849c/src/tests/sptests/sp15/Makefile \
850c/src/tests/sptests/sp16/Makefile \
851c/src/tests/sptests/sp17/Makefile \
852c/src/tests/sptests/sp19/Makefile \
853c/src/tests/sptests/sp20/Makefile \
854c/src/tests/sptests/sp21/Makefile \
855c/src/tests/sptests/sp22/Makefile \
856c/src/tests/sptests/sp23/Makefile \
857c/src/tests/sptests/sp24/Makefile \
858c/src/tests/sptests/sp25/Makefile \
859c/src/tests/sptests/spfatal/Makefile \
860c/src/tests/sptests/spsize/Makefile \
861c/src/tests/support/Makefile \
862c/src/tests/support/include/Makefile \
863c/src/tests/support/stubdr/Makefile \
864c/src/tests/support/wrapup/Makefile \
865c/src/tests/tmtests/Makefile \
866c/src/tests/tmtests/include/Makefile \
867c/src/tests/tmtests/tm01/Makefile \
868c/src/tests/tmtests/tm02/Makefile \
869c/src/tests/tmtests/tm03/Makefile \
870c/src/tests/tmtests/tm04/Makefile \
871c/src/tests/tmtests/tm05/Makefile \
872c/src/tests/tmtests/tm06/Makefile \
873c/src/tests/tmtests/tm07/Makefile \
874c/src/tests/tmtests/tm08/Makefile \
875c/src/tests/tmtests/tm09/Makefile \
876c/src/tests/tmtests/tm10/Makefile \
877c/src/tests/tmtests/tm11/Makefile \
878c/src/tests/tmtests/tm12/Makefile \
879c/src/tests/tmtests/tm13/Makefile \
880c/src/tests/tmtests/tm14/Makefile \
881c/src/tests/tmtests/tm15/Makefile \
882c/src/tests/tmtests/tm16/Makefile \
883c/src/tests/tmtests/tm17/Makefile \
884c/src/tests/tmtests/tm18/Makefile \
885c/src/tests/tmtests/tm19/Makefile \
886c/src/tests/tmtests/tm20/Makefile \
887c/src/tests/tmtests/tm21/Makefile \
888c/src/tests/tmtests/tm22/Makefile \
889c/src/tests/tmtests/tm23/Makefile \
890c/src/tests/tmtests/tm24/Makefile \
891c/src/tests/tmtests/tm25/Makefile \
892c/src/tests/tmtests/tm26/Makefile \
893c/src/tests/tmtests/tm27/Makefile \
894c/src/tests/tmtests/tm28/Makefile \
895c/src/tests/tmtests/tm29/Makefile \
896c/src/tests/tmtests/tmck/Makefile \
897c/src/tests/tmtests/tmoverhd/Makefile \
898c/src/tests/tools/Makefile \
899c/src/tests/tools/generic/Makefile \
900c/src/tests/tools/hppa1_1/Makefile \
901c/src/tests/tools/hppa1_1/simhppa/Makefile \
902c/src/tests/tools/sparc/Makefile \
903c/src/tests/tools/sparc/erc32/Makefile \
904c/src/tests/tools/unix/Makefile \
905c/src/tests/tools/unix/posix/Makefile"
906
907echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
908echo "configure:909: checking whether ${MAKE-make} sets \${MAKE}" >&5
909set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
910if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
911  echo $ac_n "(cached) $ac_c" 1>&6
912else
913  cat > conftestmake <<\EOF
914all:
915        @echo 'ac_maketemp="${MAKE}"'
916EOF
917# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
918eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
919if test -n "$ac_maketemp"; then
920  eval ac_cv_prog_make_${ac_make}_set=yes
921else
922  eval ac_cv_prog_make_${ac_make}_set=no
923fi
924rm -f conftestmake
925fi
926if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
927  echo "$ac_t""yes" 1>&6
928  SET_MAKE=
929else
930  echo "$ac_t""no" 1>&6
931  SET_MAKE="MAKE=${MAKE-make}"
932fi
933
934ac_aux_dir=
935for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
936  if test -f $ac_dir/install-sh; then
937    ac_aux_dir=$ac_dir
938    ac_install_sh="$ac_aux_dir/install-sh -c"
939    break
940  elif test -f $ac_dir/install.sh; then
941    ac_aux_dir=$ac_dir
942    ac_install_sh="$ac_aux_dir/install.sh -c"
943    break
944  fi
945done
946if test -z "$ac_aux_dir"; then
947  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
948fi
949ac_config_guess=$ac_aux_dir/config.guess
950ac_config_sub=$ac_aux_dir/config.sub
951ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
952
953
954# Do some error checking and defaulting for the host and target type.
955# The inputs are:
956#    configure --host=HOST --target=TARGET --build=BUILD NONOPT
957#
958# The rules are:
959# 1. You are not allowed to specify --host, --target, and nonopt at the
960#    same time.
961# 2. Host defaults to nonopt.
962# 3. If nonopt is not specified, then host defaults to the current host,
963#    as determined by config.guess.
964# 4. Target and build default to nonopt.
965# 5. If nonopt is not specified, then target and build default to host.
966
967# The aliases save the names the user supplied, while $host etc.
968# will get canonicalized.
969case $host---$target---$nonopt in
970NONE---*---* | *---NONE---* | *---*---NONE) ;;
971*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
972esac
973
974
975# Make sure we can run config.sub.
976if $ac_config_sub sun4 >/dev/null 2>&1; then :
977else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
978fi
979
980echo $ac_n "checking host system type""... $ac_c" 1>&6
981echo "configure:982: checking host system type" >&5
982
983host_alias=$host
984case "$host_alias" in
985NONE)
986  case $nonopt in
987  NONE)
988    if host_alias=`$ac_config_guess`; then :
989    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
990    fi ;;
991  *) host_alias=$nonopt ;;
992  esac ;;
993esac
994
995host=`$ac_config_sub $host_alias`
996host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
997host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
998host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
999echo "$ac_t""$host" 1>&6
1000
1001echo $ac_n "checking target system type""... $ac_c" 1>&6
1002echo "configure:1003: checking target system type" >&5
1003
1004target_alias=$target
1005case "$target_alias" in
1006NONE)
1007  case $nonopt in
1008  NONE) target_alias=$host_alias ;;
1009  *) target_alias=$nonopt ;;
1010  esac ;;
1011esac
1012
1013target=`$ac_config_sub $target_alias`
1014target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1015target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1016target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1017echo "$ac_t""$target" 1>&6
1018
1019echo $ac_n "checking build system type""... $ac_c" 1>&6
1020echo "configure:1021: checking build system type" >&5
1021
1022build_alias=$build
1023case "$build_alias" in
1024NONE)
1025  case $nonopt in
1026  NONE) build_alias=$host_alias ;;
1027  *) build_alias=$nonopt ;;
1028  esac ;;
1029esac
1030
1031build=`$ac_config_sub $build_alias`
1032build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1033build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1034build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1035echo "$ac_t""$build" 1>&6
1036
1037test "$host_alias" != "$target_alias" &&
1038  test "$program_prefix$program_suffix$program_transform_name" = \
1039    NONENONEs,x,x, &&
1040  program_prefix=${target_alias}-
1041
1042# Check whether --with-cross-host or --without-cross-host was given.
1043if test "${with_cross_host+set}" = set; then
1044  withval="$with_cross_host"
1045  \
1046host=$withval
1047fi
1048
1049
1050# Check whether --enable-posix or --disable-posix was given.
1051if test "${enable_posix+set}" = set; then
1052  enableval="$enable_posix"
1053  \
1054RTEMS_HAS_POSIX_API=no
1055else
1056  RTEMS_HAS_POSIX_API=yes
1057fi
1058
1059
1060# Check whether --enable-tcpip or --disable-tcpip was given.
1061if test "${enable_tcpip+set}" = set; then
1062  enableval="$enable_tcpip"
1063  \
1064RTEMS_HAS_KA9Q=no
1065else
1066  RTEMS_HAS_KA9Q=yes
1067fi
1068
1069
1070# Check whether --enable-rtems-inlines or --disable-rtems-inlines was given.
1071if test "${enable_rtems_inlines+set}" = set; then
1072  enableval="$enable_rtems_inlines"
1073  \
1074RTEMS_USE_MACROS=yes
1075else
1076  RTEMS_USE_MACROS=no
1077fi
1078
1079
1080RTEMS_PREFIX=${target_cpu}-${target_vendor}
1081
1082#
1083#  Target configurations are listed in alphabetical order. 
1084#  The BSPs for a target configuration are also listed in alphabetical order.
1085#
1086
1087case "${target}" in
1088  a29k-rtems*)
1089        rtems_bsp=portsw
1090        makefiles=$a29k_mk
1091        ;;
1092  # hpux unix port should go here
1093  hppa1.1-rtems*)
1094        rtems_bsp=simhppa
1095        makefiles=$hppa1_1_mk
1096        ;;
1097  i[3456]86-go32-rtems*)
1098        rtems_bsp="go32 go32_p5"
1099        makefiles=$i386_go32_mk
1100        RTEMS_HAS_POSIX_API=no
1101        ;;
1102  i[3456]86-rtems*)
1103        rtems_bsp="force386 i386ex"
1104        makefiles=$i386_mk
1105        ;;
1106  i[3456]86-pc-linux*)         # unix "simulator" port
1107        rtems_bsp=posix
1108        makefiles=$posix_mk
1109        RTEMS_HAS_POSIX_API=no
1110        ;;
1111  i960-rtems*)
1112        rtems_bsp=cvme961
1113        makefiles=$i960_mk
1114        ;;
1115  m68k-rtems*)
1116        rtems_bsp="dmv152 efi332 efi68k gen68302 gen68360 idp \
1117                   mvme136 mvme147 mvme147s mvme162"
1118        makefiles=$m68k_mk
1119        ;;
1120  mips64orion-rtems*)
1121        rtems_bsp="p4600 p4650"
1122        makefiles=$mips64orion_mk
1123        ;;
1124  no_cpu-rtems*)
1125        rtems_bsp=no_bsp
1126        makefiles=$no_cpu_mk
1127        RTEMS_HAS_POSIX_API=no
1128        ;;
1129  powerpc-rtems*)
1130        rtems_bsp=papyrus
1131        makefiles=$powerpc_mk
1132        ;;
1133  sparc-sun-solaris*)             # unix "simulator" port
1134        rtems_bsp=posix
1135        makefiles=$posix_mk
1136        RTEMS_HAS_POSIX_API=no
1137        ;;
1138  sparc-rtems*)         
1139        rtems_bsp=erc32
1140        makefiles=$sparc_mk
1141        ;;
1142  *)                   
1143        rtems_bsp=no_bsp
1144        makefiles=$no_cpu_mk
1145        echo Error: RTEMS is not supported on target: $target
1146        exit 1
1147        ;;
1148esac
1149
1150# until the tcpip is made optional to build, just do this
1151makefiles="$makefiles $tcpip_mk"
1152
1153case "${host}" in
1154  *-pc-linux*)          host_os=Linux ;;
1155  sparc-sun-sunos*)     host_os=SunOS ;;
1156  sparc-sun-solaris*)   host_os=Solaris ;;
1157  *-nextstep*)          host_os=Nextstep3;;
1158  mips*-sgi-irix5*)     host_os=Irix5;;
1159  *-hp-hpux9*)          host_os=HPUX9;;
1160  *)                    host_os=none
1161                        echo RTEMS not supported on host: $host
1162                        exit 1;;
1163esac
1164
1165if [ "${program_prefix}" = "NONE" ] ; then
1166  if [ "${target}" = "${host}" ] ; then
1167    program_prefix=
1168  else
1169    program_prefix=${target}-
1170  fi
1171fi
1172
1173
1174for ac_prog in mawk gawk nawk awk
1175do
1176# Extract the first word of "$ac_prog", so it can be a program name with args.
1177set dummy $ac_prog; ac_word=$2
1178echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1179echo "configure:1180: checking for $ac_word" >&5
1180if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1181  echo $ac_n "(cached) $ac_c" 1>&6
1182else
1183  if test -n "$AWK"; then
1184  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1185else
1186  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1187  for ac_dir in $PATH; do
1188    test -z "$ac_dir" && ac_dir=.
1189    if test -f $ac_dir/$ac_word; then
1190      ac_cv_prog_AWK="$ac_prog"
1191      break
1192    fi
1193  done
1194  IFS="$ac_save_ifs"
1195fi
1196fi
1197AWK="$ac_cv_prog_AWK"
1198if test -n "$AWK"; then
1199  echo "$ac_t""$AWK" 1>&6
1200else
1201  echo "$ac_t""no" 1>&6
1202fi
1203
1204test -n "$AWK" && break
1205done
1206
1207echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1208echo "configure:1209: checking whether ln -s works" >&5
1209if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1210  echo $ac_n "(cached) $ac_c" 1>&6
1211else
1212  rm -f conftestdata
1213if ln -s X conftestdata 2>/dev/null
1214then
1215  rm -f conftestdata
1216  ac_cv_prog_LN_S="ln -s"
1217else
1218  ac_cv_prog_LN_S=ln
1219fi
1220fi
1221LN_S="$ac_cv_prog_LN_S"
1222if test "$ac_cv_prog_LN_S" = "ln -s"; then
1223  echo "$ac_t""yes" 1>&6
1224else
1225  echo "$ac_t""no" 1>&6
1226fi
1227
1228
1229RTEMS_BSP=$rtems_bsp
1230RTEMS_HOST=$host_os
1231RTEMS_ROOT=`cd $srcdir/c; pwd`
1232PROJECT_ROOT=`pwd;`
1233
1234# Check whether --enable-tests or --disable-tests was given.
1235if test "${enable_tests+set}" = set; then
1236  enableval="$enable_tests"
1237  \
1238tests_mk=
1239else
1240  makefiles="${makefiles} ${tests_mk}"
1241fi
1242
1243
1244# Check whether --enable-rtemsbsp or --disable-rtemsbsp was given.
1245if test "${enable_rtemsbsp+set}" = set; then
1246  enableval="$enable_rtemsbsp"
1247  \
1248RTEMS_BSP=$enableval
1249fi
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262trap '' 1 2 15
1263cat > confcache <<\EOF
1264# This file is a shell script that caches the results of configure
1265# tests run on this system so they can be shared between configure
1266# scripts and configure runs.  It is not useful on other systems.
1267# If it contains results you don't want to keep, you may remove or edit it.
1268#
1269# By default, configure uses ./config.cache as the cache file,
1270# creating it if it does not exist already.  You can give configure
1271# the --cache-file=FILE option to use a different cache file; that is
1272# what configure does when it calls configure scripts in
1273# subdirectories, so they share the cache.
1274# Giving --cache-file=/dev/null disables caching, for debugging configure.
1275# config.status only pays attention to the cache file if you give it the
1276# --recheck option to rerun configure.
1277#
1278EOF
1279# The following way of writing the cache mishandles newlines in values,
1280# but we know of no workaround that is simple, portable, and efficient.
1281# So, don't put newlines in cache variables' values.
1282# Ultrix sh set writes to stderr and can't be redirected directly,
1283# and sets the high bit in the cache file unless we assign to the vars.
1284(set) 2>&1 |
1285  case `(ac_space=' '; set) 2>&1` in
1286  *ac_space=\ *)
1287    # `set' does not quote correctly, so add quotes (double-quote substitution
1288    # turns \\\\ into \\, and sed turns \\ into \).
1289    sed -n \
1290      -e "s/'/'\\\\''/g" \
1291      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1292    ;;
1293  *)
1294    # `set' quotes correctly as required by POSIX, so do not add quotes.
1295    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1296    ;;
1297  esac >> confcache
1298if cmp -s $cache_file confcache; then
1299  :
1300else
1301  if test -w $cache_file; then
1302    echo "updating cache $cache_file"
1303    cat confcache > $cache_file
1304  else
1305    echo "not updating unwritable cache $cache_file"
1306  fi
1307fi
1308rm -f confcache
1309
1310trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1311
1312test "x$prefix" = xNONE && prefix=$ac_default_prefix
1313# Let make expand exec_prefix.
1314test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1315
1316# Any assignment to VPATH causes Sun make to only execute
1317# the first set of double-colon rules, so remove it if not needed.
1318# If there is a colon in the path, we need to keep it.
1319if test "x$srcdir" = x.; then
1320  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
1321fi
1322
1323trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1324
1325# Transform confdefs.h into DEFS.
1326# Protect against shell expansion while executing Makefile rules.
1327# Protect against Makefile macro expansion.
1328cat > conftest.defs <<\EOF
1329s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1330s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
1331s%\[%\\&%g
1332s%\]%\\&%g
1333s%\$%$$%g
1334EOF
1335DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1336rm -f conftest.defs
1337
1338
1339# Without the "./", some shells look in PATH for config.status.
1340: ${CONFIG_STATUS=./config.status}
1341
1342echo creating $CONFIG_STATUS
1343rm -f $CONFIG_STATUS
1344cat > $CONFIG_STATUS <<EOF
1345#! /bin/sh
1346# Generated automatically by configure.
1347# Run this file to recreate the current configuration.
1348# This directory was configured as follows,
1349# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1350#
1351# $0 $ac_configure_args
1352#
1353# Compiler output produced by configure, useful for debugging
1354# configure, is in ./config.log if it exists.
1355
1356ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1357for ac_option
1358do
1359  case "\$ac_option" in
1360  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1361    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1362    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1363  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1364    echo "$CONFIG_STATUS generated by autoconf version 2.12"
1365    exit 0 ;;
1366  -help | --help | --hel | --he | --h)
1367    echo "\$ac_cs_usage"; exit 0 ;;
1368  *) echo "\$ac_cs_usage"; exit 1 ;;
1369  esac
1370done
1371
1372ac_given_srcdir=$srcdir
1373
1374trap 'rm -fr `echo "Makefile \
1375c/Makefile \
1376c/build-tools/Makefile \
1377c/build-tools/os/Makefile \
1378c/build-tools/os/msdos/Makefile \
1379c/build-tools/scripts/Makefile \
1380c/build-tools/src/Makefile \
1381c/make/Makefile \
1382c/make/Templates/Makefile.inc \
1383c/src/Makefile \
1384c/src/exec/Makefile \
1385c/src/exec/posix/Makefile \
1386c/src/exec/posix/base/Makefile \
1387c/src/exec/posix/headers/Makefile \
1388c/src/exec/posix/inline/Makefile \
1389c/src/exec/posix/macros/Makefile \
1390c/src/exec/posix/optman/Makefile \
1391c/src/exec/posix/src/Makefile \
1392c/src/exec/posix/sys/Makefile \
1393c/src/exec/rtems/Makefile \
1394c/src/exec/rtems/headers/Makefile \
1395c/src/exec/rtems/inline/Makefile \
1396c/src/exec/rtems/macros/Makefile \
1397c/src/exec/rtems/optman/Makefile \
1398c/src/exec/rtems/src/Makefile \
1399c/src/exec/sapi/Makefile \
1400c/src/exec/sapi/headers/Makefile \
1401c/src/exec/sapi/inline/Makefile \
1402c/src/exec/sapi/macros/Makefile \
1403c/src/exec/sapi/optman/Makefile \
1404c/src/exec/sapi/src/Makefile \
1405c/src/exec/score/Makefile \
1406c/src/exec/score/cpu/Makefile \
1407c/src/exec/score/headers/Makefile \
1408c/src/exec/score/inline/Makefile \
1409c/src/exec/score/macros/Makefile \
1410c/src/exec/score/src/Makefile \
1411c/src/exec/score/tools/Makefile \
1412c/src/exec/score/tools/generic/Makefile \
1413c/src/exec/wrapup/Makefile \
1414c/src/exec/wrapup/posix/Makefile \
1415c/src/exec/wrapup/rtems/Makefile \
1416c/src/lib/Makefile \
1417c/src/lib/include/Makefile \
1418c/src/lib/libbsp/Makefile \
1419c/src/lib/libbsp/shmdr/Makefile \
1420c/src/lib/libc/Makefile \
1421c/src/lib/libcpu/Makefile \
1422c/src/lib/libmisc/Makefile \
1423c/src/lib/libmisc/assoc/Makefile \
1424c/src/lib/libmisc/error/Makefile \
1425c/src/lib/libmisc/monitor/Makefile \
1426c/src/lib/libmisc/stackchk/Makefile \
1427c/src/lib/libmisc/wrapup/Makefile \
1428c/src/lib/start/Makefile \
1429c/src/lib/wrapup/Makefile \
1430$makefiles \
1431c/update-tools/Makefile " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1432EOF
1433cat >> $CONFIG_STATUS <<EOF
1434
1435# Protect against being on the right side of a sed subst in config.status.
1436sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1437 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1438$ac_vpsub
1439$extrasub
1440s%@CFLAGS@%$CFLAGS%g
1441s%@CPPFLAGS@%$CPPFLAGS%g
1442s%@CXXFLAGS@%$CXXFLAGS%g
1443s%@DEFS@%$DEFS%g
1444s%@LDFLAGS@%$LDFLAGS%g
1445s%@LIBS@%$LIBS%g
1446s%@exec_prefix@%$exec_prefix%g
1447s%@prefix@%$prefix%g
1448s%@program_transform_name@%$program_transform_name%g
1449s%@bindir@%$bindir%g
1450s%@sbindir@%$sbindir%g
1451s%@libexecdir@%$libexecdir%g
1452s%@datadir@%$datadir%g
1453s%@sysconfdir@%$sysconfdir%g
1454s%@sharedstatedir@%$sharedstatedir%g
1455s%@localstatedir@%$localstatedir%g
1456s%@libdir@%$libdir%g
1457s%@includedir@%$includedir%g
1458s%@oldincludedir@%$oldincludedir%g
1459s%@infodir@%$infodir%g
1460s%@mandir@%$mandir%g
1461s%@SET_MAKE@%$SET_MAKE%g
1462s%@host@%$host%g
1463s%@host_alias@%$host_alias%g
1464s%@host_cpu@%$host_cpu%g
1465s%@host_vendor@%$host_vendor%g
1466s%@host_os@%$host_os%g
1467s%@target@%$target%g
1468s%@target_alias@%$target_alias%g
1469s%@target_cpu@%$target_cpu%g
1470s%@target_vendor@%$target_vendor%g
1471s%@target_os@%$target_os%g
1472s%@build@%$build%g
1473s%@build_alias@%$build_alias%g
1474s%@build_cpu@%$build_cpu%g
1475s%@build_vendor@%$build_vendor%g
1476s%@build_os@%$build_os%g
1477s%@AWK@%$AWK%g
1478s%@LN_S@%$LN_S%g
1479s%@RTEMS_BSP@%$RTEMS_BSP%g
1480s%@RTEMS_HOST@%$RTEMS_HOST%g
1481s%@RTEMS_LIBC_DIR@%$RTEMS_LIBC_DIR%g
1482s%@RTEMS_ROOT@%$RTEMS_ROOT%g
1483s%@RTEMS_HAS_POSIX_API@%$RTEMS_HAS_POSIX_API%g
1484s%@RTEMS_HAS_KA9Q@%$RTEMS_HAS_KA9Q%g
1485s%@RTEMS_USE_MACROS@%$RTEMS_USE_MACROS%g
1486s%@PROJECT_ROOT@%$PROJECT_ROOT%g
1487s%@program_prefix@%$program_prefix%g
1488
1489CEOF
1490EOF
1491
1492cat >> $CONFIG_STATUS <<\EOF
1493
1494# Split the substitutions into bite-sized pieces for seds with
1495# small command number limits, like on Digital OSF/1 and HP-UX.
1496ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1497ac_file=1 # Number of current file.
1498ac_beg=1 # First line for current file.
1499ac_end=$ac_max_sed_cmds # Line after last line for current file.
1500ac_more_lines=:
1501ac_sed_cmds=""
1502while $ac_more_lines; do
1503  if test $ac_beg -gt 1; then
1504    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1505  else
1506    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1507  fi
1508  if test ! -s conftest.s$ac_file; then
1509    ac_more_lines=false
1510    rm -f conftest.s$ac_file
1511  else
1512    if test -z "$ac_sed_cmds"; then
1513      ac_sed_cmds="sed -f conftest.s$ac_file"
1514    else
1515      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1516    fi
1517    ac_file=`expr $ac_file + 1`
1518    ac_beg=$ac_end
1519    ac_end=`expr $ac_end + $ac_max_sed_cmds`
1520  fi
1521done
1522if test -z "$ac_sed_cmds"; then
1523  ac_sed_cmds=cat
1524fi
1525EOF
1526
1527cat >> $CONFIG_STATUS <<EOF
1528
1529CONFIG_FILES=\${CONFIG_FILES-"Makefile \
1530c/Makefile \
1531c/build-tools/Makefile \
1532c/build-tools/os/Makefile \
1533c/build-tools/os/msdos/Makefile \
1534c/build-tools/scripts/Makefile \
1535c/build-tools/src/Makefile \
1536c/make/Makefile \
1537c/make/Templates/Makefile.inc \
1538c/src/Makefile \
1539c/src/exec/Makefile \
1540c/src/exec/posix/Makefile \
1541c/src/exec/posix/base/Makefile \
1542c/src/exec/posix/headers/Makefile \
1543c/src/exec/posix/inline/Makefile \
1544c/src/exec/posix/macros/Makefile \
1545c/src/exec/posix/optman/Makefile \
1546c/src/exec/posix/src/Makefile \
1547c/src/exec/posix/sys/Makefile \
1548c/src/exec/rtems/Makefile \
1549c/src/exec/rtems/headers/Makefile \
1550c/src/exec/rtems/inline/Makefile \
1551c/src/exec/rtems/macros/Makefile \
1552c/src/exec/rtems/optman/Makefile \
1553c/src/exec/rtems/src/Makefile \
1554c/src/exec/sapi/Makefile \
1555c/src/exec/sapi/headers/Makefile \
1556c/src/exec/sapi/inline/Makefile \
1557c/src/exec/sapi/macros/Makefile \
1558c/src/exec/sapi/optman/Makefile \
1559c/src/exec/sapi/src/Makefile \
1560c/src/exec/score/Makefile \
1561c/src/exec/score/cpu/Makefile \
1562c/src/exec/score/headers/Makefile \
1563c/src/exec/score/inline/Makefile \
1564c/src/exec/score/macros/Makefile \
1565c/src/exec/score/src/Makefile \
1566c/src/exec/score/tools/Makefile \
1567c/src/exec/score/tools/generic/Makefile \
1568c/src/exec/wrapup/Makefile \
1569c/src/exec/wrapup/posix/Makefile \
1570c/src/exec/wrapup/rtems/Makefile \
1571c/src/lib/Makefile \
1572c/src/lib/include/Makefile \
1573c/src/lib/libbsp/Makefile \
1574c/src/lib/libbsp/shmdr/Makefile \
1575c/src/lib/libc/Makefile \
1576c/src/lib/libcpu/Makefile \
1577c/src/lib/libmisc/Makefile \
1578c/src/lib/libmisc/assoc/Makefile \
1579c/src/lib/libmisc/error/Makefile \
1580c/src/lib/libmisc/monitor/Makefile \
1581c/src/lib/libmisc/stackchk/Makefile \
1582c/src/lib/libmisc/wrapup/Makefile \
1583c/src/lib/start/Makefile \
1584c/src/lib/wrapup/Makefile \
1585$makefiles \
1586c/update-tools/Makefile "}
1587EOF
1588cat >> $CONFIG_STATUS <<\EOF
1589for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1590  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1591  case "$ac_file" in
1592  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1593       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1594  *) ac_file_in="${ac_file}.in" ;;
1595  esac
1596
1597  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1598
1599  # Remove last slash and all that follows it.  Not all systems have dirname.
1600  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1601  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1602    # The file is in a subdirectory.
1603    test ! -d "$ac_dir" && mkdir "$ac_dir"
1604    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1605    # A "../" for each directory in $ac_dir_suffix.
1606    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1607  else
1608    ac_dir_suffix= ac_dots=
1609  fi
1610
1611  case "$ac_given_srcdir" in
1612  .)  srcdir=.
1613      if test -z "$ac_dots"; then top_srcdir=.
1614      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1615  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1616  *) # Relative path.
1617    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1618    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1619  esac
1620
1621
1622  echo creating "$ac_file"
1623  rm -f "$ac_file"
1624  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1625  case "$ac_file" in
1626  *Makefile*) ac_comsub="1i\\
1627# $configure_input" ;;
1628  *) ac_comsub= ;;
1629  esac
1630
1631  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1632  sed -e "$ac_comsub
1633s%@configure_input@%$configure_input%g
1634s%@srcdir@%$srcdir%g
1635s%@top_srcdir@%$top_srcdir%g
1636" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1637fi; done
1638rm -f conftest.s*
1639
1640EOF
1641cat >> $CONFIG_STATUS <<EOF
1642
1643EOF
1644cat >> $CONFIG_STATUS <<\EOF
1645
1646exit 0
1647EOF
1648chmod +x $CONFIG_STATUS
1649rm -fr confdefs* $ac_clean_files
1650test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1651
1652
1653echo
1654echo target architecture: $target_cpu.
1655echo available BSPs: $rtems_bsp.
1656echo \'make all\' will build the following BSPs: $RTEMS_BSP.
1657echo other BSPs can be built with \'make RTEMSBSP=\"bsp1 bsp2 ...\"\'
1658echo
Note: See TracBrowser for help on using the repository browser.