source: rtems/configure @ 91333c2

4.104.114.84.95
Last change on this file since 91333c2 was 91333c2, checked in by Joel Sherrill <joel.sherrill@…>, on 07/31/97 at 22:04:17

Merged very large and much appreciated patch from Chris Johns
<cjohns@…>. This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.

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