source: rtems/configure @ 254b4450

4.104.114.84.95
Last change on this file since 254b4450 was 254b4450, checked in by Joel Sherrill <joel.sherrill@…>, on 04/01/97 at 23:07:52

This set of changes is the build of what was required to convert to
GNU autoconf. This is the first large step in allowing an RTEMS
user to perform a one-tree build (per crossgcc FAQ) including RTEMS
in the build process. With this change RTEMS is configured in
built in the same style as the GNU tools, yet retains the basic
structure of its traditional Makefiles (ala Tony Bennett).
Jiri Gaisler (jgais@…) deserves (and received)
a big thank you for doing this.

There are still issues to be resolved but as of this commit, all target
which can be built on a linux host have been using a modified version
of the source Jiri submitted. This source was merged and most targets
built in the tree before this commit.

There are some issues which remain to be resolved but they are primarily
related to host OS dependencies, script issues, the use of gawk
for hack_specs, and the dependence on gcc snapshots. These will
be resolved.

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