source: rtems/configure @ e412bae

4.104.114.84.95
Last change on this file since e412bae was e412bae, checked in by Joel Sherrill <joel.sherrill@…>, on 04/18/97 at 12:45:32

Modifications to add --enable-libcdir and --enable-gcc28. These
trip options which allow the RTEMS makefile structure to support
both gcc 2.7.2.2 and gcc 2.8 whenever that is released.

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