source: rtems/configure @ bf9ae83

4.104.114.84.95
Last change on this file since bf9ae83 was 1f0f3e35, checked in by Joel Sherrill <joel.sherrill@…>, on 05/27/97 at 23:39:29

added ka9q stack

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