source: rtems/configure @ 98e4ebf5

4.104.114.84.95
Last change on this file since 98e4ebf5 was 8cd3748, checked in by Joel Sherrill <joel.sherrill@…>, on 09/21/97 at 17:44:14

Removed duplicate listing of install in MTARGETS.

Add monitor test.

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