source: rtems/configure @ a50148a

4.104.114.84.95
Last change on this file since a50148a was a50148a, checked in by Joel Sherrill <joel.sherrill@…>, on 11/18/97 at 22:29:32

Merged code from Ralf Corsepius <corsepiu@…> to generate
the information in the make/os/XYZ.cfg files using autoconf.

  • Property mode set to 100644
File size: 82.6 KB
Line 
1#! /bin/sh
2
3# Guess values for system-dependent variables and create Makefiles.
4# Generated automatically using autoconf version 2.12
5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6#
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9
10# Defaults:
11ac_help=
12ac_default_prefix=/usr/local
13# Any additions from configure.in:
14ac_help="$ac_help
15  --with-cross-host=HOST      host (cygnus)"
16ac_help="$ac_help
17\
18  --enable-gmake-print-directory    enable GNU Make's print directory"
19ac_help="$ac_help
20\
21  --disable-posix                   disable posix interface"
22ac_help="$ac_help
23\
24  --disable-ka9q                disable KA9Q TCP/IP stack"
25ac_help="$ac_help
26\
27  --disable-rtems-inlines           disable RTEMS inline functions (use macros)"
28ac_help="$ac_help
29\
30  --enable-cpp                           enable C++ support, and build the rtems++ library"
31ac_help="$ac_help
32\
33  --enable-gcc28                    enable use of gcc 2.8.x features"
34ac_help="$ac_help
35\
36  --enable-libcdir=directory        set the directory for the C library"
37ac_help="$ac_help
38\
39  --disable-tests                   disable tests"
40ac_help="$ac_help
41\
42  --enable-hwapi                    enable hardware API library"
43ac_help="$ac_help
44\
45  --enable-rtemsbsp=bsp1 bsp2 ..   prefix for cross-tools"
46
47# Initialize some variables set by options.
48# The variables have the same names as the options, with
49# dashes changed to underlines.
50build=NONE
51cache_file=./config.cache
52exec_prefix=NONE
53host=NONE
54no_create=
55nonopt=NONE
56no_recursion=
57prefix=NONE
58program_prefix=NONE
59program_suffix=NONE
60program_transform_name=s,x,x,
61silent=
62site=
63srcdir=
64target=NONE
65verbose=
66x_includes=NONE
67x_libraries=NONE
68bindir='${exec_prefix}/bin'
69sbindir='${exec_prefix}/sbin'
70libexecdir='${exec_prefix}/libexec'
71datadir='${prefix}/share'
72sysconfdir='${prefix}/etc'
73sharedstatedir='${prefix}/com'
74localstatedir='${prefix}/var'
75libdir='${exec_prefix}/lib'
76includedir='${prefix}/include'
77oldincludedir='/usr/include'
78infodir='${prefix}/info'
79mandir='${prefix}/man'
80
81# Initialize some other variables.
82subdirs=
83MFLAGS= MAKEFLAGS=
84# Maximum number of lines to put in a shell here document.
85ac_max_here_lines=12
86
87ac_prev=
88for ac_option
89do
90
91  # If the previous option needs an argument, assign it.
92  if test -n "$ac_prev"; then
93    eval "$ac_prev=\$ac_option"
94    ac_prev=
95    continue
96  fi
97
98  case "$ac_option" in
99  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
100  *) ac_optarg= ;;
101  esac
102
103  # Accept the important Cygnus configure options, so we can diagnose typos.
104
105  case "$ac_option" in
106
107  -bindir | --bindir | --bindi | --bind | --bin | --bi)
108    ac_prev=bindir ;;
109  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
110    bindir="$ac_optarg" ;;
111
112  -build | --build | --buil | --bui | --bu)
113    ac_prev=build ;;
114  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
115    build="$ac_optarg" ;;
116
117  -cache-file | --cache-file | --cache-fil | --cache-fi \
118  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
119    ac_prev=cache_file ;;
120  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
121  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
122    cache_file="$ac_optarg" ;;
123
124  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
125    ac_prev=datadir ;;
126  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
127  | --da=*)
128    datadir="$ac_optarg" ;;
129
130  -disable-* | --disable-*)
131    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
132    # Reject names that are not valid shell variable names.
133    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
134      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
135    fi
136    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
137    eval "enable_${ac_feature}=no" ;;
138
139  -enable-* | --enable-*)
140    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
141    # Reject names that are not valid shell variable names.
142    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
143      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
144    fi
145    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
146    case "$ac_option" in
147      *=*) ;;
148      *) ac_optarg=yes ;;
149    esac
150    eval "enable_${ac_feature}='$ac_optarg'" ;;
151
152  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
153  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
154  | --exec | --exe | --ex)
155    ac_prev=exec_prefix ;;
156  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
157  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
158  | --exec=* | --exe=* | --ex=*)
159    exec_prefix="$ac_optarg" ;;
160
161  -gas | --gas | --ga | --g)
162    # Obsolete; use --with-gas.
163    with_gas=yes ;;
164
165  -help | --help | --hel | --he)
166    # Omit some internal or obsolete options to make the list less imposing.
167    # This message is too long to be a string in the A/UX 3.1 sh.
168    cat << EOF
169Usage: configure [options] [host]
170Options: [defaults in brackets after descriptions]
171Configuration:
172  --cache-file=FILE       cache test results in FILE
173  --help                  print this message
174  --no-create             do not create output files
175  --quiet, --silent       do not print \`checking...' messages
176  --version               print the version of autoconf that created configure
177Directory and file names:
178  --prefix=PREFIX         install architecture-independent files in PREFIX
179                          [$ac_default_prefix]
180  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
181                          [same as prefix]
182  --bindir=DIR            user executables in DIR [EPREFIX/bin]
183  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
184  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
185  --datadir=DIR           read-only architecture-independent data in DIR
186                          [PREFIX/share]
187  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
188  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
189                          [PREFIX/com]
190  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
191  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
192  --includedir=DIR        C header files in DIR [PREFIX/include]
193  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
194  --infodir=DIR           info documentation in DIR [PREFIX/info]
195  --mandir=DIR            man documentation in DIR [PREFIX/man]
196  --srcdir=DIR            find the sources in DIR [configure dir or ..]
197  --program-prefix=PREFIX prepend PREFIX to installed program names
198  --program-suffix=SUFFIX append SUFFIX to installed program names
199  --program-transform-name=PROGRAM
200                          run sed PROGRAM on installed program names
201EOF
202    cat << EOF
203Host type:
204  --build=BUILD           configure for building on BUILD [BUILD=HOST]
205  --host=HOST             configure for HOST [guessed]
206  --target=TARGET         configure for TARGET [TARGET=HOST]
207Features and packages:
208  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
209  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
210  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
211  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
212  --x-includes=DIR        X include files are in DIR
213  --x-libraries=DIR       X library files are in DIR
214EOF
215    if test -n "$ac_help"; then
216      echo "--enable and --with options recognized:$ac_help"
217    fi
218    exit 0 ;;
219
220  -host | --host | --hos | --ho)
221    ac_prev=host ;;
222  -host=* | --host=* | --hos=* | --ho=*)
223    host="$ac_optarg" ;;
224
225  -includedir | --includedir | --includedi | --included | --include \
226  | --includ | --inclu | --incl | --inc)
227    ac_prev=includedir ;;
228  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
229  | --includ=* | --inclu=* | --incl=* | --inc=*)
230    includedir="$ac_optarg" ;;
231
232  -infodir | --infodir | --infodi | --infod | --info | --inf)
233    ac_prev=infodir ;;
234  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
235    infodir="$ac_optarg" ;;
236
237  -libdir | --libdir | --libdi | --libd)
238    ac_prev=libdir ;;
239  -libdir=* | --libdir=* | --libdi=* | --libd=*)
240    libdir="$ac_optarg" ;;
241
242  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
243  | --libexe | --libex | --libe)
244    ac_prev=libexecdir ;;
245  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
246  | --libexe=* | --libex=* | --libe=*)
247    libexecdir="$ac_optarg" ;;
248
249  -localstatedir | --localstatedir | --localstatedi | --localstated \
250  | --localstate | --localstat | --localsta | --localst \
251  | --locals | --local | --loca | --loc | --lo)
252    ac_prev=localstatedir ;;
253  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
254  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
255  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
256    localstatedir="$ac_optarg" ;;
257
258  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
259    ac_prev=mandir ;;
260  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
261    mandir="$ac_optarg" ;;
262
263  -nfp | --nfp | --nf)
264    # Obsolete; use --without-fp.
265    with_fp=no ;;
266
267  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
268  | --no-cr | --no-c)
269    no_create=yes ;;
270
271  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
272  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
273    no_recursion=yes ;;
274
275  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
276  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
277  | --oldin | --oldi | --old | --ol | --o)
278    ac_prev=oldincludedir ;;
279  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
280  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
281  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
282    oldincludedir="$ac_optarg" ;;
283
284  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
285    ac_prev=prefix ;;
286  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
287    prefix="$ac_optarg" ;;
288
289  -program-prefix | --program-prefix | --program-prefi | --program-pref \
290  | --program-pre | --program-pr | --program-p)
291    ac_prev=program_prefix ;;
292  -program-prefix=* | --program-prefix=* | --program-prefi=* \
293  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
294    program_prefix="$ac_optarg" ;;
295
296  -program-suffix | --program-suffix | --program-suffi | --program-suff \
297  | --program-suf | --program-su | --program-s)
298    ac_prev=program_suffix ;;
299  -program-suffix=* | --program-suffix=* | --program-suffi=* \
300  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
301    program_suffix="$ac_optarg" ;;
302
303  -program-transform-name | --program-transform-name \
304  | --program-transform-nam | --program-transform-na \
305  | --program-transform-n | --program-transform- \
306  | --program-transform | --program-transfor \
307  | --program-transfo | --program-transf \
308  | --program-trans | --program-tran \
309  | --progr-tra | --program-tr | --program-t)
310    ac_prev=program_transform_name ;;
311  -program-transform-name=* | --program-transform-name=* \
312  | --program-transform-nam=* | --program-transform-na=* \
313  | --program-transform-n=* | --program-transform-=* \
314  | --program-transform=* | --program-transfor=* \
315  | --program-transfo=* | --program-transf=* \
316  | --program-trans=* | --program-tran=* \
317  | --progr-tra=* | --program-tr=* | --program-t=*)
318    program_transform_name="$ac_optarg" ;;
319
320  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
321  | -silent | --silent | --silen | --sile | --sil)
322    silent=yes ;;
323
324  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
325    ac_prev=sbindir ;;
326  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
327  | --sbi=* | --sb=*)
328    sbindir="$ac_optarg" ;;
329
330  -sharedstatedir | --sharedstatedir | --sharedstatedi \
331  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
332  | --sharedst | --shareds | --shared | --share | --shar \
333  | --sha | --sh)
334    ac_prev=sharedstatedir ;;
335  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
336  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
337  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
338  | --sha=* | --sh=*)
339    sharedstatedir="$ac_optarg" ;;
340
341  -site | --site | --sit)
342    ac_prev=site ;;
343  -site=* | --site=* | --sit=*)
344    site="$ac_optarg" ;;
345
346  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
347    ac_prev=srcdir ;;
348  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
349    srcdir="$ac_optarg" ;;
350
351  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
352  | --syscon | --sysco | --sysc | --sys | --sy)
353    ac_prev=sysconfdir ;;
354  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
355  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
356    sysconfdir="$ac_optarg" ;;
357
358  -target | --target | --targe | --targ | --tar | --ta | --t)
359    ac_prev=target ;;
360  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
361    target="$ac_optarg" ;;
362
363  -v | -verbose | --verbose | --verbos | --verbo | --verb)
364    verbose=yes ;;
365
366  -version | --version | --versio | --versi | --vers)
367    echo "configure generated by autoconf version 2.12"
368    exit 0 ;;
369
370  -with-* | --with-*)
371    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
372    # Reject names that are not valid shell variable names.
373    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
374      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
375    fi
376    ac_package=`echo $ac_package| sed 's/-/_/g'`
377    case "$ac_option" in
378      *=*) ;;
379      *) ac_optarg=yes ;;
380    esac
381    eval "with_${ac_package}='$ac_optarg'" ;;
382
383  -without-* | --without-*)
384    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
385    # Reject names that are not valid shell variable names.
386    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
387      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
388    fi
389    ac_package=`echo $ac_package| sed 's/-/_/g'`
390    eval "with_${ac_package}=no" ;;
391
392  --x)
393    # Obsolete; use --with-x.
394    with_x=yes ;;
395
396  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
397  | --x-incl | --x-inc | --x-in | --x-i)
398    ac_prev=x_includes ;;
399  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
400  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
401    x_includes="$ac_optarg" ;;
402
403  -x-libraries | --x-libraries | --x-librarie | --x-librari \
404  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
405    ac_prev=x_libraries ;;
406  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
407  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
408    x_libraries="$ac_optarg" ;;
409
410  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
411    ;;
412
413  *)
414    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
415      echo "configure: warning: $ac_option: invalid host type" 1>&2
416    fi
417    if test "x$nonopt" != xNONE; then
418      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
419    fi
420    nonopt="$ac_option"
421    ;;
422
423  esac
424done
425
426if test -n "$ac_prev"; then
427  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
428fi
429
430trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
431
432# File descriptor usage:
433# 0 standard input
434# 1 file creation
435# 2 errors and warnings
436# 3 some systems may open it to /dev/tty
437# 4 used on the Kubota Titan
438# 6 checking for... messages and results
439# 5 compiler messages saved in config.log
440if test "$silent" = yes; then
441  exec 6>/dev/null
442else
443  exec 6>&1
444fi
445exec 5>./config.log
446
447echo "\
448This file contains any messages produced by compilers while
449running configure, to aid debugging if configure makes a mistake.
450" 1>&5
451
452# Strip out --no-create and --no-recursion so they do not pile up.
453# Also quote any args containing shell metacharacters.
454ac_configure_args=
455for ac_arg
456do
457  case "$ac_arg" in
458  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
459  | --no-cr | --no-c) ;;
460  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
461  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
462  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
463  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
464  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
465  esac
466done
467
468# NLS nuisances.
469# Only set these to C if already set.  These must not be set unconditionally
470# because not all systems understand e.g. LANG=C (notably SCO).
471# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
472# Non-C LC_CTYPE values break the ctype check.
473if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
474if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
475if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
476if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
477
478# confdefs.h avoids OS command line length limits that DEFS can exceed.
479rm -rf conftest* confdefs.h
480# AIX cpp loses on an empty file, so make sure it contains at least a newline.
481echo > confdefs.h
482
483# A filename unique to this package, relative to the directory that
484# configure is in, which we can look for to find out if srcdir is correct.
485ac_unique_file=README
486
487# Find the source files, if location was not specified.
488if test -z "$srcdir"; then
489  ac_srcdir_defaulted=yes
490  # Try the directory containing this script, then its parent.
491  ac_prog=$0
492  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
493  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
494  srcdir=$ac_confdir
495  if test ! -r $srcdir/$ac_unique_file; then
496    srcdir=..
497  fi
498else
499  ac_srcdir_defaulted=no
500fi
501if test ! -r $srcdir/$ac_unique_file; then
502  if test "$ac_srcdir_defaulted" = yes; then
503    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
504  else
505    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
506  fi
507fi
508srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
509
510# Prefer explicitly selected file to automatically selected ones.
511if test -z "$CONFIG_SITE"; then
512  if test "x$prefix" != xNONE; then
513    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
514  else
515    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
516  fi
517fi
518for ac_site_file in $CONFIG_SITE; do
519  if test -r "$ac_site_file"; then
520    echo "loading site script $ac_site_file"
521    . "$ac_site_file"
522  fi
523done
524
525if test -r "$cache_file"; then
526  echo "loading cache $cache_file"
527  . $cache_file
528else
529  echo "creating cache $cache_file"
530  > $cache_file
531fi
532
533ac_ext=c
534# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
535ac_cpp='$CPP $CPPFLAGS'
536ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
537ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
538cross_compiling=$ac_cv_prog_cc_cross
539
540if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
541  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
542  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
543    ac_n= ac_c='
544' ac_t='        '
545  else
546    ac_n=-n ac_c= ac_t=
547  fi
548else
549  ac_n= ac_c='\c' ac_t=
550fi
551
552
553
554a29k_mk="c/src/exec/score/cpu/a29k/Makefile \
555c/src/lib/libbsp/a29k/Makefile \
556c/src/lib/libbsp/a29k/portsw/Makefile \
557c/src/lib/libbsp/a29k/portsw/console/Makefile \
558c/src/lib/libbsp/a29k/portsw/include/Makefile \
559c/src/lib/libbsp/a29k/portsw/shmsupp/Makefile \
560c/src/lib/libbsp/a29k/portsw/startup/Makefile \
561c/src/lib/libbsp/a29k/portsw/wrapup/Makefile \
562c/src/lib/start/a29k/Makefile"
563
564i386_mk="c/src/exec/score/cpu/i386/Makefile \
565c/src/lib/libbsp/i386/Makefile \
566c/src/lib/libbsp/i386/force386/Makefile \
567c/src/lib/libbsp/i386/force386/clock/Makefile \
568c/src/lib/libbsp/i386/force386/console/Makefile \
569c/src/lib/libbsp/i386/force386/include/Makefile \
570c/src/lib/libbsp/i386/force386/shmsupp/Makefile \
571c/src/lib/libbsp/i386/force386/startup/Makefile \
572c/src/lib/libbsp/i386/force386/timer/Makefile \
573c/src/lib/libbsp/i386/force386/wrapup/Makefile \
574c/src/lib/libbsp/i386/i386ex/Makefile \
575c/src/lib/libbsp/i386/i386ex/clock/Makefile \
576c/src/lib/libbsp/i386/i386ex/console/Makefile \
577c/src/lib/libbsp/i386/i386ex/include/Makefile \
578c/src/lib/libbsp/i386/i386ex/startup/Makefile \
579c/src/lib/libbsp/i386/i386ex/timer/Makefile \
580c/src/lib/libbsp/i386/i386ex/wrapup/Makefile \
581c/src/lib/start/i386/Makefile"
582
583i386_go32_mk="c/src/exec/score/cpu/i386/Makefile \
584c/src/lib/libbsp/i386/Makefile \
585c/src/lib/libbsp/i386/go32/Makefile \
586c/src/lib/libbsp/i386/go32/clock/Makefile \
587c/src/lib/libbsp/i386/go32/console/Makefile \
588c/src/lib/libbsp/i386/go32/include/Makefile \
589c/src/lib/libbsp/i386/go32/startup/Makefile \
590c/src/lib/libbsp/i386/go32/timer/Makefile \
591c/src/lib/libbsp/i386/go32/wrapup/Makefile"
592
593m68k_mk="c/src/exec/score/cpu/m68k/Makefile \
594c/src/lib/libbsp/m68k/Makefile \
595c/src/lib/libbsp/m68k/dmv152/Makefile \
596c/src/lib/libbsp/m68k/dmv152/clock/Makefile \
597c/src/lib/libbsp/m68k/dmv152/console/Makefile \
598c/src/lib/libbsp/m68k/dmv152/include/Makefile \
599c/src/lib/libbsp/m68k/dmv152/spurious/Makefile \
600c/src/lib/libbsp/m68k/dmv152/startup/Makefile \
601c/src/lib/libbsp/m68k/dmv152/timer/Makefile \
602c/src/lib/libbsp/m68k/dmv152/wrapup/Makefile \
603c/src/lib/libbsp/m68k/efi332/Makefile \
604c/src/lib/libbsp/m68k/efi332/clock/Makefile \
605c/src/lib/libbsp/m68k/efi332/console/Makefile \
606c/src/lib/libbsp/m68k/efi332/include/Makefile \
607c/src/lib/libbsp/m68k/efi332/spurious/Makefile \
608c/src/lib/libbsp/m68k/efi332/startup/Makefile \
609c/src/lib/libbsp/m68k/efi332/start332/Makefile \
610c/src/lib/libbsp/m68k/efi332/timer/Makefile \
611c/src/lib/libbsp/m68k/efi332/wrapup/Makefile \
612c/src/lib/libbsp/m68k/efi68k/Makefile \
613c/src/lib/libbsp/m68k/efi68k/clock/Makefile \
614c/src/lib/libbsp/m68k/efi68k/console/Makefile \
615c/src/lib/libbsp/m68k/efi68k/include/Makefile \
616c/src/lib/libbsp/m68k/efi68k/spurious/Makefile \
617c/src/lib/libbsp/m68k/efi68k/startup/Makefile \
618c/src/lib/libbsp/m68k/efi68k/start68k/Makefile \
619c/src/lib/libbsp/m68k/efi68k/timer/Makefile \
620c/src/lib/libbsp/m68k/efi68k/wrapup/Makefile \
621c/src/lib/libbsp/m68k/gen68302/Makefile \
622c/src/lib/libbsp/m68k/gen68302/clock/Makefile \
623c/src/lib/libbsp/m68k/gen68302/console/Makefile \
624c/src/lib/libbsp/m68k/gen68302/include/Makefile \
625c/src/lib/libbsp/m68k/gen68302/start302/Makefile \
626c/src/lib/libbsp/m68k/gen68302/startup/Makefile \
627c/src/lib/libbsp/m68k/gen68302/timer/Makefile \
628c/src/lib/libbsp/m68k/gen68302/wrapup/Makefile \
629c/src/lib/libbsp/m68k/gen68360/Makefile \
630c/src/lib/libbsp/m68k/gen68360/clock/Makefile \
631c/src/lib/libbsp/m68k/gen68360/console/Makefile \
632c/src/lib/libbsp/m68k/gen68360/include/Makefile \
633c/src/lib/libbsp/m68k/gen68360/start360/Makefile \
634c/src/lib/libbsp/m68k/gen68360/startup/Makefile \
635c/src/lib/libbsp/m68k/gen68360/timer/Makefile \
636c/src/lib/libbsp/m68k/gen68360/network/Makefile \
637c/src/lib/libbsp/m68k/gen68360/wrapup/Makefile \
638c/src/lib/libbsp/m68k/idp/Makefile \
639c/src/lib/libbsp/m68k/idp/clock/Makefile \
640c/src/lib/libbsp/m68k/idp/console/Makefile \
641c/src/lib/libbsp/m68k/idp/include/Makefile \
642c/src/lib/libbsp/m68k/idp/startup/Makefile \
643c/src/lib/libbsp/m68k/idp/timer/Makefile \
644c/src/lib/libbsp/m68k/idp/wrapup/Makefile \
645c/src/lib/libbsp/m68k/mvme136/Makefile \
646c/src/lib/libbsp/m68k/mvme136/clock/Makefile \
647c/src/lib/libbsp/m68k/mvme136/console/Makefile \
648c/src/lib/libbsp/m68k/mvme136/include/Makefile \
649c/src/lib/libbsp/m68k/mvme136/shmsupp/Makefile \
650c/src/lib/libbsp/m68k/mvme136/startup/Makefile \
651c/src/lib/libbsp/m68k/mvme136/timer/Makefile \
652c/src/lib/libbsp/m68k/mvme136/wrapup/Makefile \
653c/src/lib/libbsp/m68k/mvme147/Makefile \
654c/src/lib/libbsp/m68k/mvme147/clock/Makefile \
655c/src/lib/libbsp/m68k/mvme147/console/Makefile \
656c/src/lib/libbsp/m68k/mvme147/include/Makefile \
657c/src/lib/libbsp/m68k/mvme147/startup/Makefile \
658c/src/lib/libbsp/m68k/mvme147/timer/Makefile \
659c/src/lib/libbsp/m68k/mvme147/wrapup/Makefile \
660c/src/lib/libbsp/m68k/mvme147s/Makefile \
661c/src/lib/libbsp/m68k/mvme147s/clock/Makefile \
662c/src/lib/libbsp/m68k/mvme147s/console/Makefile \
663c/src/lib/libbsp/m68k/mvme147s/include/Makefile \
664c/src/lib/libbsp/m68k/mvme147s/shmsupp/Makefile \
665c/src/lib/libbsp/m68k/mvme147s/startup/Makefile \
666c/src/lib/libbsp/m68k/mvme147s/timer/Makefile \
667c/src/lib/libbsp/m68k/mvme147s/wrapup/Makefile \
668c/src/lib/libbsp/m68k/mvme162/Makefile \
669c/src/lib/libbsp/m68k/mvme162/clock/Makefile \
670c/src/lib/libbsp/m68k/mvme162/console/Makefile \
671c/src/lib/libbsp/m68k/mvme162/consolex/Makefile \
672c/src/lib/libbsp/m68k/mvme162/include/Makefile \
673c/src/lib/libbsp/m68k/mvme162/startup/Makefile \
674c/src/lib/libbsp/m68k/mvme162/timer/Makefile \
675c/src/lib/libbsp/m68k/mvme162/tod/Makefile \
676c/src/lib/libbsp/m68k/mvme162/tools/Makefile \
677c/src/lib/libbsp/m68k/mvme162/wrapup/Makefile \
678c/src/lib/libbsp/m68k/ods68302/Makefile \
679c/src/lib/libbsp/m68k/ods68302/clock/Makefile \
680c/src/lib/libbsp/m68k/ods68302/console/Makefile \
681c/src/lib/libbsp/m68k/ods68302/include/Makefile \
682c/src/lib/libbsp/m68k/ods68302/start302/Makefile \
683c/src/lib/libbsp/m68k/ods68302/startup/Makefile \
684c/src/lib/libbsp/m68k/ods68302/timer/Makefile \
685c/src/lib/libbsp/m68k/ods68302/wrapup/Makefile \
686c/src/lib/libcpu/m68k/Makefile \
687c/src/lib/libcpu/m68k/m68040/Makefile \
688c/src/lib/libcpu/m68k/m68040/fpsp/Makefile \
689c/src/lib/start/m68k/Makefile"
690
691no_cpu_mk="c/src/exec/score/cpu/no_cpu/Makefile \
692c/src/lib/libbsp/no_cpu/Makefile \
693c/src/lib/libbsp/no_cpu/no_bsp/Makefile \
694c/src/lib/libbsp/no_cpu/no_bsp/clock/Makefile \
695c/src/lib/libbsp/no_cpu/no_bsp/console/Makefile \
696c/src/lib/libbsp/no_cpu/no_bsp/include/Makefile \
697c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/Makefile \
698c/src/lib/libbsp/no_cpu/no_bsp/startup/Makefile \
699c/src/lib/libbsp/no_cpu/no_bsp/timer/Makefile \
700c/src/lib/libbsp/no_cpu/no_bsp/wrapup/Makefile"
701
702sparc_mk="c/src/exec/score/cpu/sparc/Makefile \
703c/src/lib/libbsp/sparc/Makefile \
704c/src/lib/libbsp/sparc/erc32/Makefile \
705c/src/lib/libbsp/sparc/erc32/clock/Makefile \
706c/src/lib/libbsp/sparc/erc32/console/Makefile \
707c/src/lib/libbsp/sparc/erc32/include/Makefile \
708c/src/lib/libbsp/sparc/erc32/startsis/Makefile \
709c/src/lib/libbsp/sparc/erc32/startup/Makefile \
710c/src/lib/libbsp/sparc/erc32/timer/Makefile \
711c/src/lib/libbsp/sparc/erc32/wrapup/Makefile \
712c/src/lib/libcpu/sparc/Makefile \
713c/src/lib/libcpu/sparc/reg_win/Makefile"
714
715hppa1_1_mk="c/src/exec/score/cpu/hppa1_1/Makefile \
716c/src/exec/score/tools/hppa1_1/Makefile \
717c/src/lib/libbsp/hppa1_1/Makefile \
718c/src/lib/libbsp/hppa1_1/pxfl/Makefile \
719c/src/lib/libbsp/hppa1_1/simhppa/Makefile \
720c/src/lib/libbsp/hppa1_1/simhppa/include/Makefile \
721c/src/lib/libbsp/hppa1_1/simhppa/shmsupp/Makefile \
722c/src/lib/libbsp/hppa1_1/simhppa/startup/Makefile \
723c/src/lib/libbsp/hppa1_1/simhppa/tools/Makefile \
724c/src/lib/libbsp/hppa1_1/simhppa/tty/Makefile \
725c/src/lib/libbsp/hppa1_1/simhppa/wrapup/Makefile \
726c/src/lib/libcpu/hppa1_1/Makefile \
727c/src/lib/libcpu/hppa1_1/clock/Makefile \
728c/src/lib/libcpu/hppa1_1/include/Makefile \
729c/src/lib/libcpu/hppa1_1/milli/Makefile \
730c/src/lib/libcpu/hppa1_1/runway/Makefile \
731c/src/lib/libcpu/hppa1_1/semaphore/Makefile \
732c/src/lib/libcpu/hppa1_1/timer/Makefile \
733c/src/lib/start/hppa1_1/Makefile"
734
735i960_mk="c/src/exec/score/cpu/i960/Makefile \
736c/src/lib/libbsp/i960/Makefile \
737c/src/lib/libbsp/i960/cvme961/Makefile \
738c/src/lib/libbsp/i960/cvme961/clock/Makefile \
739c/src/lib/libbsp/i960/cvme961/console/Makefile \
740c/src/lib/libbsp/i960/cvme961/include/Makefile \
741c/src/lib/libbsp/i960/cvme961/shmsupp/Makefile \
742c/src/lib/libbsp/i960/cvme961/startup/Makefile \
743c/src/lib/libbsp/i960/cvme961/timer/Makefile \
744c/src/lib/libbsp/i960/cvme961/wrapup/Makefile \
745c/src/lib/start/i960/Makefile"
746
747mips64orion_mk="c/src/exec/score/cpu/mips64orion/Makefile \
748c/src/lib/libbsp/mips64orion/Makefile \
749c/src/lib/libbsp/mips64orion/p4000/Makefile \
750c/src/lib/libbsp/mips64orion/p4000/console/Makefile \
751c/src/lib/libbsp/mips64orion/p4000/include/Makefile \
752c/src/lib/libbsp/mips64orion/p4000/liblnk/Makefile \
753c/src/lib/libbsp/mips64orion/p4000/startup/Makefile \
754c/src/lib/libbsp/mips64orion/p4000/wrapup/Makefile \
755c/src/lib/libcpu/mips64orion/Makefile \
756c/src/lib/libcpu/mips64orion/clock/Makefile \
757c/src/lib/libcpu/mips64orion/include/Makefile \
758c/src/lib/libcpu/mips64orion/timer/Makefile \
759c/src/lib/start/mips64orion/Makefile"
760
761powerpc_mk="c/src/exec/score/cpu/ppc/Makefile \
762c/src/lib/libbsp/ppc/Makefile \
763c/src/lib/libbsp/ppc/papyrus/Makefile \
764c/src/lib/libbsp/ppc/papyrus/dlentry/Makefile \
765c/src/lib/libbsp/ppc/papyrus/flashentry/Makefile \
766c/src/lib/libbsp/ppc/papyrus/include/Makefile \
767c/src/lib/libbsp/ppc/papyrus/startup/Makefile \
768c/src/lib/libbsp/ppc/papyrus/wrapup/Makefile \
769c/src/lib/libcpu/ppc/Makefile \
770c/src/lib/libcpu/ppc/ppc403/Makefile \
771c/src/lib/libcpu/ppc/ppc403/clock/Makefile \
772c/src/lib/libcpu/ppc/ppc403/console/Makefile \
773c/src/lib/libcpu/ppc/ppc403/include/Makefile \
774c/src/lib/libcpu/ppc/ppc403/timer/Makefile \
775c/src/lib/libcpu/ppc/ppc403/vectors/Makefile"
776
777posix_mk="c/src/exec/score/cpu/unix/Makefile \
778c/src/exec/score/tools/unix/Makefile \
779c/src/lib/libbsp/unix/Makefile \
780c/src/lib/libbsp/unix/posix/Makefile \
781c/src/lib/libbsp/unix/posix/clock/Makefile \
782c/src/lib/libbsp/unix/posix/console/Makefile \
783c/src/lib/libbsp/unix/posix/include/Makefile \
784c/src/lib/libbsp/unix/posix/shmsupp/Makefile \
785c/src/lib/libbsp/unix/posix/startup/Makefile \
786c/src/lib/libbsp/unix/posix/timer/Makefile \
787c/src/lib/libbsp/unix/posix/wrapup/Makefile"
788
789ka9q_mk="c/src/lib/libka9q/Makefile"
790
791rtemscpp_mk="c/src/lib/librtems++/Makefile"
792
793hwapi_mk="\
794c/src/lib/libhwapi/Makefile \
795c/src/lib/libhwapi/eeprom/Makefile \
796c/src/lib/libhwapi/eeprom/wrapup/Makefile \
797c/src/lib/libhwapi/eeprom/eeprom/Makefile \
798c/src/lib/libhwapi/drivers/Makefile \
799c/src/lib/libhwapi/drivers/vmebus/Makefile \
800c/src/lib/libhwapi/drivers/vmebus/dmv202/Makefile \
801c/src/lib/libhwapi/drivers/vmebus/dmv536/Makefile \
802c/src/lib/libhwapi/drivers/vmebus/dmv666/Makefile \
803c/src/lib/libhwapi/drivers/vmebus/wrapup/Makefile \
804c/src/lib/libhwapi/serial/Makefile \
805c/src/lib/libhwapi/serial/default/Makefile \
806c/src/lib/libhwapi/serial/stream/Makefile \
807c/src/lib/libhwapi/serial/template/Makefile \
808c/src/lib/libhwapi/serial/wrapup/Makefile \
809c/src/lib/libhwapi/serial/channel/Makefile \
810c/src/lib/libhwapi/discrete/Makefile \
811c/src/lib/libhwapi/discrete/tools/Makefile \
812c/src/lib/libhwapi/discrete/relay/Makefile \
813c/src/lib/libhwapi/discrete/wrapup/Makefile \
814c/src/lib/libhwapi/discrete/greycode/Makefile \
815c/src/lib/libhwapi/discrete/discrete_in/Makefile \
816c/src/lib/libhwapi/discrete/discrete_out/Makefile \
817c/src/lib/libhwapi/discrete/discrete_input/Makefile \
818c/src/lib/libhwapi/discrete/discrete_output/Makefile \
819c/src/lib/libhwapi/discrete/discrete_flag/Makefile \
820c/src/lib/libhwapi/discrete/discrete_bitfield/Makefile \
821c/src/lib/libhwapi/analog/Makefile \
822c/src/lib/libhwapi/analog/dac/Makefile \
823c/src/lib/libhwapi/analog/wrapup/Makefile \
824c/src/lib/libhwapi/analog/linear_dac/Makefile \
825c/src/lib/libhwapi/analog/linear_adc/Makefile \
826c/src/lib/libhwapi/analog/adc/Makefile \
827c/src/lib/libhwapi/wrapup/Makefile \
828c/src/lib/libhwapi/support/Makefile \
829c/src/lib/libhwapi/support/chain/Makefile \
830c/src/lib/libhwapi/support/checksum/Makefile \
831c/src/lib/libhwapi/support/wrapup/Makefile \
832c/src/lib/libhwapi/support/dumpbuf/Makefile"
833
834tests_mk="c/src/tests/libtests/Makefile \
835c/src/tests/libtests/cpuuse/Makefile \
836c/src/tests/libtests/malloctest/Makefile \
837c/src/tests/libtests/monitor/Makefile \
838c/src/tests/libtests/rtmonuse/Makefile \
839c/src/tests/libtests/stackchk/Makefile \
840c/src/tests/libtests/termios/Makefile \
841c/src/tests/libtests/rtems++/Makefile \
842c/src/tests/mptests/Makefile \
843c/src/tests/mptests/mp01/Makefile \
844c/src/tests/mptests/mp01/node1/Makefile \
845c/src/tests/mptests/mp01/node2/Makefile \
846c/src/tests/mptests/mp02/Makefile \
847c/src/tests/mptests/mp02/node1/Makefile \
848c/src/tests/mptests/mp02/node2/Makefile \
849c/src/tests/mptests/mp03/Makefile \
850c/src/tests/mptests/mp03/node1/Makefile \
851c/src/tests/mptests/mp03/node2/Makefile \
852c/src/tests/mptests/mp04/Makefile \
853c/src/tests/mptests/mp04/node1/Makefile \
854c/src/tests/mptests/mp04/node2/Makefile \
855c/src/tests/mptests/mp05/Makefile \
856c/src/tests/mptests/mp05/node1/Makefile \
857c/src/tests/mptests/mp05/node2/Makefile \
858c/src/tests/mptests/mp06/Makefile \
859c/src/tests/mptests/mp06/node1/Makefile \
860c/src/tests/mptests/mp06/node2/Makefile \
861c/src/tests/mptests/mp07/Makefile \
862c/src/tests/mptests/mp07/node1/Makefile \
863c/src/tests/mptests/mp07/node2/Makefile \
864c/src/tests/mptests/mp08/Makefile \
865c/src/tests/mptests/mp08/node1/Makefile \
866c/src/tests/mptests/mp08/node2/Makefile \
867c/src/tests/mptests/mp09/Makefile \
868c/src/tests/mptests/mp09/node1/Makefile \
869c/src/tests/mptests/mp09/node2/Makefile \
870c/src/tests/mptests/mp10/Makefile \
871c/src/tests/mptests/mp10/node1/Makefile \
872c/src/tests/mptests/mp10/node2/Makefile \
873c/src/tests/mptests/mp11/Makefile \
874c/src/tests/mptests/mp11/node1/Makefile \
875c/src/tests/mptests/mp11/node2/Makefile \
876c/src/tests/mptests/mp12/Makefile \
877c/src/tests/mptests/mp12/node1/Makefile \
878c/src/tests/mptests/mp12/node2/Makefile \
879c/src/tests/mptests/mp13/Makefile \
880c/src/tests/mptests/mp13/node1/Makefile \
881c/src/tests/mptests/mp13/node2/Makefile \
882c/src/tests/mptests/mp14/Makefile \
883c/src/tests/mptests/mp14/node1/Makefile \
884c/src/tests/mptests/mp14/node2/Makefile \
885c/src/tests/psxtests/Makefile \
886c/src/tests/psxtests/psx01/Makefile \
887c/src/tests/psxtests/psx02/Makefile \
888c/src/tests/psxtests/psx03/Makefile \
889c/src/tests/psxtests/psx04/Makefile \
890c/src/tests/psxtests/psx05/Makefile \
891c/src/tests/psxtests/psx06/Makefile \
892c/src/tests/psxtests/psx07/Makefile \
893c/src/tests/psxtests/psx08/Makefile \
894c/src/tests/psxtests/psx09/Makefile \
895c/src/tests/psxtests/psx10/Makefile \
896c/src/tests/psxtests/psx11/Makefile \
897c/src/tests/psxtests/psx12/Makefile \
898c/src/tests/psxtests/psxhdrs/Makefile \
899c/src/tests/psxtests/support/Makefile \
900c/src/tests/psxtests/support/include/Makefile \
901c/src/tests/sptests/Makefile \
902c/src/tests/sptests/sp01/Makefile \
903c/src/tests/sptests/sp02/Makefile \
904c/src/tests/sptests/sp03/Makefile \
905c/src/tests/sptests/sp04/Makefile \
906c/src/tests/sptests/sp05/Makefile \
907c/src/tests/sptests/sp06/Makefile \
908c/src/tests/sptests/sp07/Makefile \
909c/src/tests/sptests/sp08/Makefile \
910c/src/tests/sptests/sp09/Makefile \
911c/src/tests/sptests/sp11/Makefile \
912c/src/tests/sptests/sp12/Makefile \
913c/src/tests/sptests/sp13/Makefile \
914c/src/tests/sptests/sp14/Makefile \
915c/src/tests/sptests/sp15/Makefile \
916c/src/tests/sptests/sp16/Makefile \
917c/src/tests/sptests/sp17/Makefile \
918c/src/tests/sptests/sp19/Makefile \
919c/src/tests/sptests/sp20/Makefile \
920c/src/tests/sptests/sp21/Makefile \
921c/src/tests/sptests/sp22/Makefile \
922c/src/tests/sptests/sp23/Makefile \
923c/src/tests/sptests/sp24/Makefile \
924c/src/tests/sptests/sp25/Makefile \
925c/src/tests/sptests/spfatal/Makefile \
926c/src/tests/sptests/spsize/Makefile \
927c/src/tests/tmtests/Makefile \
928c/src/tests/tmtests/include/Makefile \
929c/src/tests/tmtests/tm01/Makefile \
930c/src/tests/tmtests/tm02/Makefile \
931c/src/tests/tmtests/tm03/Makefile \
932c/src/tests/tmtests/tm04/Makefile \
933c/src/tests/tmtests/tm05/Makefile \
934c/src/tests/tmtests/tm06/Makefile \
935c/src/tests/tmtests/tm07/Makefile \
936c/src/tests/tmtests/tm08/Makefile \
937c/src/tests/tmtests/tm09/Makefile \
938c/src/tests/tmtests/tm10/Makefile \
939c/src/tests/tmtests/tm11/Makefile \
940c/src/tests/tmtests/tm12/Makefile \
941c/src/tests/tmtests/tm13/Makefile \
942c/src/tests/tmtests/tm14/Makefile \
943c/src/tests/tmtests/tm15/Makefile \
944c/src/tests/tmtests/tm16/Makefile \
945c/src/tests/tmtests/tm17/Makefile \
946c/src/tests/tmtests/tm18/Makefile \
947c/src/tests/tmtests/tm19/Makefile \
948c/src/tests/tmtests/tm20/Makefile \
949c/src/tests/tmtests/tm21/Makefile \
950c/src/tests/tmtests/tm22/Makefile \
951c/src/tests/tmtests/tm23/Makefile \
952c/src/tests/tmtests/tm24/Makefile \
953c/src/tests/tmtests/tm25/Makefile \
954c/src/tests/tmtests/tm26/Makefile \
955c/src/tests/tmtests/tm27/Makefile \
956c/src/tests/tmtests/tm28/Makefile \
957c/src/tests/tmtests/tm29/Makefile \
958c/src/tests/tmtests/tmck/Makefile \
959c/src/tests/tmtests/tmoverhd/Makefile"
960
961echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
962echo "configure:963: checking whether ${MAKE-make} sets \${MAKE}" >&5
963set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
964if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
965  echo $ac_n "(cached) $ac_c" 1>&6
966else
967  cat > conftestmake <<\EOF
968all:
969        @echo 'ac_maketemp="${MAKE}"'
970EOF
971# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
972eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
973if test -n "$ac_maketemp"; then
974  eval ac_cv_prog_make_${ac_make}_set=yes
975else
976  eval ac_cv_prog_make_${ac_make}_set=no
977fi
978rm -f conftestmake
979fi
980if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
981  echo "$ac_t""yes" 1>&6
982  SET_MAKE=
983else
984  echo "$ac_t""no" 1>&6
985  SET_MAKE="MAKE=${MAKE-make}"
986fi
987
988ac_aux_dir=
989for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
990  if test -f $ac_dir/install-sh; then
991    ac_aux_dir=$ac_dir
992    ac_install_sh="$ac_aux_dir/install-sh -c"
993    break
994  elif test -f $ac_dir/install.sh; then
995    ac_aux_dir=$ac_dir
996    ac_install_sh="$ac_aux_dir/install.sh -c"
997    break
998  fi
999done
1000if test -z "$ac_aux_dir"; then
1001  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1002fi
1003ac_config_guess=$ac_aux_dir/config.guess
1004ac_config_sub=$ac_aux_dir/config.sub
1005ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1006
1007
1008# Do some error checking and defaulting for the host and target type.
1009# The inputs are:
1010#    configure --host=HOST --target=TARGET --build=BUILD NONOPT
1011#
1012# The rules are:
1013# 1. You are not allowed to specify --host, --target, and nonopt at the
1014#    same time.
1015# 2. Host defaults to nonopt.
1016# 3. If nonopt is not specified, then host defaults to the current host,
1017#    as determined by config.guess.
1018# 4. Target and build default to nonopt.
1019# 5. If nonopt is not specified, then target and build default to host.
1020
1021# The aliases save the names the user supplied, while $host etc.
1022# will get canonicalized.
1023case $host---$target---$nonopt in
1024NONE---*---* | *---NONE---* | *---*---NONE) ;;
1025*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1026esac
1027
1028
1029# Make sure we can run config.sub.
1030if $ac_config_sub sun4 >/dev/null 2>&1; then :
1031else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1032fi
1033
1034echo $ac_n "checking host system type""... $ac_c" 1>&6
1035echo "configure:1036: checking host system type" >&5
1036
1037host_alias=$host
1038case "$host_alias" in
1039NONE)
1040  case $nonopt in
1041  NONE)
1042    if host_alias=`$ac_config_guess`; then :
1043    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1044    fi ;;
1045  *) host_alias=$nonopt ;;
1046  esac ;;
1047esac
1048
1049host=`$ac_config_sub $host_alias`
1050host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1051host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1052host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1053echo "$ac_t""$host" 1>&6
1054
1055echo $ac_n "checking target system type""... $ac_c" 1>&6
1056echo "configure:1057: checking target system type" >&5
1057
1058target_alias=$target
1059case "$target_alias" in
1060NONE)
1061  case $nonopt in
1062  NONE) target_alias=$host_alias ;;
1063  *) target_alias=$nonopt ;;
1064  esac ;;
1065esac
1066
1067target=`$ac_config_sub $target_alias`
1068target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1069target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1070target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1071echo "$ac_t""$target" 1>&6
1072
1073echo $ac_n "checking build system type""... $ac_c" 1>&6
1074echo "configure:1075: checking build system type" >&5
1075
1076build_alias=$build
1077case "$build_alias" in
1078NONE)
1079  case $nonopt in
1080  NONE) build_alias=$host_alias ;;
1081  *) build_alias=$nonopt ;;
1082  esac ;;
1083esac
1084
1085build=`$ac_config_sub $build_alias`
1086build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1087build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1088build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1089echo "$ac_t""$build" 1>&6
1090
1091test "$host_alias" != "$target_alias" &&
1092  test "$program_prefix$program_suffix$program_transform_name" = \
1093    NONENONEs,x,x, &&
1094  program_prefix=${target_alias}-
1095
1096# Check whether --with-cross-host or --without-cross-host was given.
1097if test "${with_cross_host+set}" = set; then
1098  withval="$with_cross_host"
1099  \
1100host=$withval
1101fi
1102
1103
1104# Check whether --enable-gmake-print-directory or --disable-gmake-print-directory was given.
1105if test "${enable_gmake_print_directory+set}" = set; then
1106  enableval="$enable_gmake_print_directory"
1107  \
1108case "${enableval}" in
1109  yes) RTEMS_USE_OWN_PDIR=no ;;
1110  no) RTEMS_USE_OWN_PDIR=yes ;;
1111  *)  { echo "configure: error: bad value ${enableval} for gmake-print-directory option" 1>&2; exit 1; } ;;
1112esac
1113else
1114  RTEMS_USE_OWN_PDIR=yes
1115fi
1116
1117
1118# Check whether --enable-posix or --disable-posix was given.
1119if test "${enable_posix+set}" = set; then
1120  enableval="$enable_posix"
1121  \
1122case "${enableval}" in
1123  yes) RTEMS_HAS_POSIX_API=yes ;;
1124  no) RTEMS_HAS_POSIX_API=no ;;
1125  *)  { echo "configure: error: bad value ${enableval} for disable-posix option" 1>&2; exit 1; } ;;
1126esac
1127else
1128  RTEMS_HAS_POSIX_API=yes
1129fi
1130
1131
1132# Check whether --enable-ka9q or --disable-ka9q was given.
1133if test "${enable_ka9q+set}" = set; then
1134  enableval="$enable_ka9q"
1135  \
1136case "${enableval}" in
1137  yes) RTEMS_HAS_KA9Q=yes ;;
1138  no) RTEMS_HAS_KA9Q=no ;;
1139  *)  { echo "configure: error: bad value ${enableval} for disable-ka9q option" 1>&2; exit 1; } ;;
1140esac
1141else
1142  RTEMS_HAS_KA9Q=yes
1143fi
1144
1145
1146# Check whether --enable-rtems-inlines or --disable-rtems-inlines was given.
1147if test "${enable_rtems_inlines+set}" = set; then
1148  enableval="$enable_rtems_inlines"
1149  \
1150case "${enableval}" in
1151  yes) RTEMS_USE_MACROS=yes ;;
1152  no) RTEMS_USE_MACROS=no ;;
1153  *)  { echo "configure: error: bad value ${enableval} for disable-rtems-inlines option" 1>&2; exit 1; } ;;
1154esac
1155else
1156  RTEMS_USE_MACROS=no
1157fi
1158
1159
1160# Check whether --enable-cpp or --disable-cpp was given.
1161if test "${enable_cpp+set}" = set; then
1162  enableval="$enable_cpp"
1163  \
1164case "${enableval}" in
1165  yes) RTEMS_HAS_CPLUSPLUS=yes ;;
1166  no) RTEMS_HAS_CPLUSPLUS=no ;;
1167  *)  { echo "configure: error: bad value ${enableval} for enable-cpp option" 1>&2; exit 1; } ;;
1168esac
1169else
1170  RTEMS_HAS_CPLUSPLUS=no
1171fi
1172
1173
1174# Check whether --enable-gcc28 or --disable-gcc28 was given.
1175if test "${enable_gcc28+set}" = set; then
1176  enableval="$enable_gcc28"
1177  \
1178case "${enableval}" in
1179  yes) RTEMS_USE_GCC272=no ;;
1180  no) RTEMS_USE_GCC272=yes ;;
1181  *)  { echo "configure: error: bad value ${enableval} for gcc-28 option" 1>&2; exit 1; } ;;
1182esac
1183else
1184  RTEMS_USE_GCC272=yes
1185fi
1186
1187
1188# Check whether --enable-libcdir or --disable-libcdir was given.
1189if test "${enable_libcdir+set}" = set; then
1190  enableval="$enable_libcdir"
1191  \
1192 RTEMS_LIBC_DIR="${enableval}" ; \
1193test -d ${enableval} || { echo "configure: error: "$enableval is not a directory" " 1>&2; exit 1; } 
1194fi
1195
1196
1197RTEMS_PREFIX=${target_cpu}-${target_vendor}
1198
1199#
1200#  Generate the configure.host file
1201#
1202
1203
1204# Extract the first word of "cat", so it can be a program name with args.
1205set dummy cat; ac_word=$2
1206echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1207echo "configure:1208: checking for $ac_word" >&5
1208if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then
1209  echo $ac_n "(cached) $ac_c" 1>&6
1210else
1211  case "$CAT" in
1212  /*)
1213  ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
1214  ;;
1215  *)
1216  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1217  for ac_dir in $PATH; do
1218    test -z "$ac_dir" && ac_dir=.
1219    if test -f $ac_dir/$ac_word; then
1220      ac_cv_path_CAT="$ac_dir/$ac_word"
1221      break
1222    fi
1223  done
1224  IFS="$ac_save_ifs"
1225  ;;
1226esac
1227fi
1228CAT="$ac_cv_path_CAT"
1229if test -n "$CAT"; then
1230  echo "$ac_t""$CAT" 1>&6
1231else
1232  echo "$ac_t""no" 1>&6
1233fi
1234
1235# Extract the first word of "rm", so it can be a program name with args.
1236set dummy rm; ac_word=$2
1237echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1238echo "configure:1239: checking for $ac_word" >&5
1239if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
1240  echo $ac_n "(cached) $ac_c" 1>&6
1241else
1242  case "$RM" in
1243  /*)
1244  ac_cv_path_RM="$RM" # Let the user override the test with a path.
1245  ;;
1246  *)
1247  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1248  for ac_dir in $PATH; do
1249    test -z "$ac_dir" && ac_dir=.
1250    if test -f $ac_dir/$ac_word; then
1251      ac_cv_path_RM="$ac_dir/$ac_word"
1252      break
1253    fi
1254  done
1255  IFS="$ac_save_ifs"
1256  ;;
1257esac
1258fi
1259RM="$ac_cv_path_RM"
1260if test -n "$RM"; then
1261  echo "$ac_t""$RM" 1>&6
1262else
1263  echo "$ac_t""no" 1>&6
1264fi
1265
1266# Extract the first word of "cp", so it can be a program name with args.
1267set dummy cp; ac_word=$2
1268echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1269echo "configure:1270: checking for $ac_word" >&5
1270if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
1271  echo $ac_n "(cached) $ac_c" 1>&6
1272else
1273  case "$CP" in
1274  /*)
1275  ac_cv_path_CP="$CP" # Let the user override the test with a path.
1276  ;;
1277  *)
1278  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1279  for ac_dir in $PATH; do
1280    test -z "$ac_dir" && ac_dir=.
1281    if test -f $ac_dir/$ac_word; then
1282      ac_cv_path_CP="$ac_dir/$ac_word"
1283      break
1284    fi
1285  done
1286  IFS="$ac_save_ifs"
1287  ;;
1288esac
1289fi
1290CP="$ac_cv_path_CP"
1291if test -n "$CP"; then
1292  echo "$ac_t""$CP" 1>&6
1293else
1294  echo "$ac_t""no" 1>&6
1295fi
1296
1297# Extract the first word of "mv", so it can be a program name with args.
1298set dummy mv; ac_word=$2
1299echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1300echo "configure:1301: checking for $ac_word" >&5
1301if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
1302  echo $ac_n "(cached) $ac_c" 1>&6
1303else
1304  case "$MV" in
1305  /*)
1306  ac_cv_path_MV="$MV" # Let the user override the test with a path.
1307  ;;
1308  *)
1309  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1310  for ac_dir in $PATH; do
1311    test -z "$ac_dir" && ac_dir=.
1312    if test -f $ac_dir/$ac_word; then
1313      ac_cv_path_MV="$ac_dir/$ac_word"
1314      break
1315    fi
1316  done
1317  IFS="$ac_save_ifs"
1318  ;;
1319esac
1320fi
1321MV="$ac_cv_path_MV"
1322if test -n "$MV"; then
1323  echo "$ac_t""$MV" 1>&6
1324else
1325  echo "$ac_t""no" 1>&6
1326fi
1327
1328# Extract the first word of "ln", so it can be a program name with args.
1329set dummy ln; ac_word=$2
1330echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1331echo "configure:1332: checking for $ac_word" >&5
1332if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then
1333  echo $ac_n "(cached) $ac_c" 1>&6
1334else
1335  case "$LN" in
1336  /*)
1337  ac_cv_path_LN="$LN" # Let the user override the test with a path.
1338  ;;
1339  *)
1340  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1341  for ac_dir in $PATH; do
1342    test -z "$ac_dir" && ac_dir=.
1343    if test -f $ac_dir/$ac_word; then
1344      ac_cv_path_LN="$ac_dir/$ac_word"
1345      break
1346    fi
1347  done
1348  IFS="$ac_save_ifs"
1349  ;;
1350esac
1351fi
1352LN="$ac_cv_path_LN"
1353if test -n "$LN"; then
1354  echo "$ac_t""$LN" 1>&6
1355else
1356  echo "$ac_t""no" 1>&6
1357fi
1358
1359# Extract the first word of "chmod", so it can be a program name with args.
1360set dummy chmod; ac_word=$2
1361echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1362echo "configure:1363: checking for $ac_word" >&5
1363if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then
1364  echo $ac_n "(cached) $ac_c" 1>&6
1365else
1366  case "$CHMOD" in
1367  /*)
1368  ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
1369  ;;
1370  *)
1371  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1372  for ac_dir in $PATH; do
1373    test -z "$ac_dir" && ac_dir=.
1374    if test -f $ac_dir/$ac_word; then
1375      ac_cv_path_CHMOD="$ac_dir/$ac_word"
1376      break
1377    fi
1378  done
1379  IFS="$ac_save_ifs"
1380  ;;
1381esac
1382fi
1383CHMOD="$ac_cv_path_CHMOD"
1384if test -n "$CHMOD"; then
1385  echo "$ac_t""$CHMOD" 1>&6
1386else
1387  echo "$ac_t""no" 1>&6
1388fi
1389
1390# Extract the first word of "sort", so it can be a program name with args.
1391set dummy sort; ac_word=$2
1392echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1393echo "configure:1394: checking for $ac_word" >&5
1394if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then
1395  echo $ac_n "(cached) $ac_c" 1>&6
1396else
1397  case "$SORT" in
1398  /*)
1399  ac_cv_path_SORT="$SORT" # Let the user override the test with a path.
1400  ;;
1401  *)
1402  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1403  for ac_dir in $PATH; do
1404    test -z "$ac_dir" && ac_dir=.
1405    if test -f $ac_dir/$ac_word; then
1406      ac_cv_path_SORT="$ac_dir/$ac_word"
1407      break
1408    fi
1409  done
1410  IFS="$ac_save_ifs"
1411  ;;
1412esac
1413fi
1414SORT="$ac_cv_path_SORT"
1415if test -n "$SORT"; then
1416  echo "$ac_t""$SORT" 1>&6
1417else
1418  echo "$ac_t""no" 1>&6
1419fi
1420
1421
1422# Extract the first word of "mkdir", so it can be a program name with args.
1423set dummy mkdir; ac_word=$2
1424echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1425echo "configure:1426: checking for $ac_word" >&5
1426if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
1427  echo $ac_n "(cached) $ac_c" 1>&6
1428else
1429  case "$MKDIR" in
1430  /*)
1431  ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
1432  ;;
1433  *)
1434  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1435  for ac_dir in $PATH; do
1436    test -z "$ac_dir" && ac_dir=.
1437    if test -f $ac_dir/$ac_word; then
1438      ac_cv_path_MKDIR="$ac_dir/$ac_word"
1439      break
1440    fi
1441  done
1442  IFS="$ac_save_ifs"
1443  ;;
1444esac
1445fi
1446MKDIR="$ac_cv_path_MKDIR"
1447if test -n "$MKDIR"; then
1448  echo "$ac_t""$MKDIR" 1>&6
1449else
1450  echo "$ac_t""no" 1>&6
1451fi
1452
1453
1454
1455
1456echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6
1457echo "configure:1458: checking for working $MKDIR -m 0755" >&5
1458if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then
1459  echo $ac_n "(cached) $ac_c" 1>&6
1460else
1461  rm -rf conftestdata
1462if $MKDIR -m 0775 conftestdata 2>/dev/null; then
1463rtems_cv_prog_MKDIR_M="yes"
1464else
1465rtems_cv_prog_MKDIR_M="no"
1466fi
1467fi
1468rm -rf conftestdata
1469echo "$ac_t""$rtems_cv_prog_MKDIR_M" 1>&6
1470
1471
1472
1473echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6
1474echo "configure:1475: checking for working $MKDIR -p" >&5
1475if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then
1476  echo $ac_n "(cached) $ac_c" 1>&6
1477else
1478  rm -rf conftestdata
1479if $MKDIR -p conftestdata 2>/dev/null ;then
1480rtems_cv_prog_MKDIR_P="yes"
1481else
1482rtems_cv_prog_MKDIR_P="no"
1483fi
1484fi
1485rm -rf conftestdata
1486echo "$ac_t""$rtems_cv_prog_MKDIR_P" 1>&6
1487
1488test "$rtems_cv_prog_MKDIR_P" = "yes" && MKDIR="$MKDIR -p"
1489test "$rtems_cv_prog_MKDIR_M" = "yes" && MKDIR="$MKDIR -m 0755"
1490
1491# Extract the first word of "enscript", so it can be a program name with args.
1492set dummy enscript; ac_word=$2
1493echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1494echo "configure:1495: checking for $ac_word" >&5
1495if eval "test \"`echo '$''{'ac_cv_path_PR'+set}'`\" = set"; then
1496  echo $ac_n "(cached) $ac_c" 1>&6
1497else
1498  case "$PR" in
1499  /*)
1500  ac_cv_path_PR="$PR" # Let the user override the test with a path.
1501  ;;
1502  *)
1503  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1504  for ac_dir in $PATH; do
1505    test -z "$ac_dir" && ac_dir=.
1506    if test -f $ac_dir/$ac_word; then
1507      ac_cv_path_PR="$ac_dir/$ac_word"
1508      break
1509    fi
1510  done
1511  IFS="$ac_save_ifs"
1512  ;;
1513esac
1514fi
1515PR="$ac_cv_path_PR"
1516if test -n "$PR"; then
1517  echo "$ac_t""$PR" 1>&6
1518else
1519  echo "$ac_t""no" 1>&6
1520fi
1521
1522test -n "$PR" && PR="$PR -G2r"
1523
1524if test -z "$PR"; then
1525# Extract the first word of "mp", so it can be a program name with args.
1526set dummy mp; ac_word=$2
1527echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1528echo "configure:1529: checking for $ac_word" >&5
1529if eval "test \"`echo '$''{'ac_cv_path_PR'+set}'`\" = set"; then
1530  echo $ac_n "(cached) $ac_c" 1>&6
1531else
1532  case "$PR" in
1533  /*)
1534  ac_cv_path_PR="$PR" # Let the user override the test with a path.
1535  ;;
1536  *)
1537  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1538  for ac_dir in /usr/openwin$ac_dummy; do
1539    test -z "$ac_dir" && ac_dir=.
1540    if test -f $ac_dir/$ac_word; then
1541      ac_cv_path_PR="$ac_dir/$ac_word"
1542      break
1543    fi
1544  done
1545  IFS="$ac_save_ifs"
1546  ;;
1547esac
1548fi
1549PR="$ac_cv_path_PR"
1550if test -n "$PR"; then
1551  echo "$ac_t""$PR" 1>&6
1552else
1553  echo "$ac_t""no" 1>&6
1554fi
1555
1556test -n "$PR" && PR="$PR -l"
1557fi
1558
1559if test -z "$PR"; then
1560# Extract the first word of "pr", so it can be a program name with args.
1561set dummy pr; ac_word=$2
1562echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1563echo "configure:1564: checking for $ac_word" >&5
1564if eval "test \"`echo '$''{'ac_cv_path_PR'+set}'`\" = set"; then
1565  echo $ac_n "(cached) $ac_c" 1>&6
1566else
1567  case "$PR" in
1568  /*)
1569  ac_cv_path_PR="$PR" # Let the user override the test with a path.
1570  ;;
1571  *)
1572  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1573  for ac_dir in $PATH; do
1574    test -z "$ac_dir" && ac_dir=.
1575    if test -f $ac_dir/$ac_word; then
1576      ac_cv_path_PR="$ac_dir/$ac_word"
1577      break
1578    fi
1579  done
1580  IFS="$ac_save_ifs"
1581  ;;
1582esac
1583fi
1584PR="$ac_cv_path_PR"
1585if test -n "$PR"; then
1586  echo "$ac_t""$PR" 1>&6
1587else
1588  echo "$ac_t""no" 1>&6
1589fi
1590
1591fi
1592
1593if test -z "$PR"; then
1594echo "configure: warning: ***
1595    Cannot determine a suitable program for
1596    printing asci files on ps-printers
1597    Expect errors when printing files " 1>&2
1598fi
1599
1600for ac_prog in lp lpr
1601do
1602# Extract the first word of "$ac_prog", so it can be a program name with args.
1603set dummy $ac_prog; ac_word=$2
1604echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1605echo "configure:1606: checking for $ac_word" >&5
1606if eval "test \"`echo '$''{'ac_cv_path_PRINT'+set}'`\" = set"; then
1607  echo $ac_n "(cached) $ac_c" 1>&6
1608else
1609  case "$PRINT" in
1610  /*)
1611  ac_cv_path_PRINT="$PRINT" # Let the user override the test with a path.
1612  ;;
1613  *)
1614  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1615  for ac_dir in $PATH; do
1616    test -z "$ac_dir" && ac_dir=.
1617    if test -f $ac_dir/$ac_word; then
1618      ac_cv_path_PRINT="$ac_dir/$ac_word"
1619      break
1620    fi
1621  done
1622  IFS="$ac_save_ifs"
1623  ;;
1624esac
1625fi
1626PRINT="$ac_cv_path_PRINT"
1627if test -n "$PRINT"; then
1628  echo "$ac_t""$PRINT" 1>&6
1629else
1630  echo "$ac_t""no" 1>&6
1631fi
1632
1633test -n "$PRINT" && break
1634done
1635
1636
1637# Extract the first word of "touch", so it can be a program name with args.
1638set dummy touch; ac_word=$2
1639echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1640echo "configure:1641: checking for $ac_word" >&5
1641if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then
1642  echo $ac_n "(cached) $ac_c" 1>&6
1643else
1644  case "$TOUCH" in
1645  /*)
1646  ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
1647  ;;
1648  *)
1649  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1650  for ac_dir in $PATH; do
1651    test -z "$ac_dir" && ac_dir=.
1652    if test -f $ac_dir/$ac_word; then
1653      ac_cv_path_TOUCH="$ac_dir/$ac_word"
1654      break
1655    fi
1656  done
1657  IFS="$ac_save_ifs"
1658  ;;
1659esac
1660fi
1661TOUCH="$ac_cv_path_TOUCH"
1662if test -n "$TOUCH"; then
1663  echo "$ac_t""$TOUCH" 1>&6
1664else
1665  echo "$ac_t""no" 1>&6
1666fi
1667
1668# Extract the first word of "cmp", so it can be a program name with args.
1669set dummy cmp; ac_word=$2
1670echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1671echo "configure:1672: checking for $ac_word" >&5
1672if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then
1673  echo $ac_n "(cached) $ac_c" 1>&6
1674else
1675  case "$CMP" in
1676  /*)
1677  ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
1678  ;;
1679  *)
1680  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1681  for ac_dir in $PATH; do
1682    test -z "$ac_dir" && ac_dir=.
1683    if test -f $ac_dir/$ac_word; then
1684      ac_cv_path_CMP="$ac_dir/$ac_word"
1685      break
1686    fi
1687  done
1688  IFS="$ac_save_ifs"
1689  ;;
1690esac
1691fi
1692CMP="$ac_cv_path_CMP"
1693if test -n "$CMP"; then
1694  echo "$ac_t""$CMP" 1>&6
1695else
1696  echo "$ac_t""no" 1>&6
1697fi
1698
1699# Extract the first word of "dirname", so it can be a program name with args.
1700set dummy dirname; ac_word=$2
1701echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1702echo "configure:1703: checking for $ac_word" >&5
1703if eval "test \"`echo '$''{'ac_cv_path_DIRNAME'+set}'`\" = set"; then
1704  echo $ac_n "(cached) $ac_c" 1>&6
1705else
1706  case "$DIRNAME" in
1707  /*)
1708  ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
1709  ;;
1710  *)
1711  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1712  for ac_dir in $PATH; do
1713    test -z "$ac_dir" && ac_dir=.
1714    if test -f $ac_dir/$ac_word; then
1715      ac_cv_path_DIRNAME="$ac_dir/$ac_word"
1716      break
1717    fi
1718  done
1719  IFS="$ac_save_ifs"
1720  ;;
1721esac
1722fi
1723DIRNAME="$ac_cv_path_DIRNAME"
1724if test -n "$DIRNAME"; then
1725  echo "$ac_t""$DIRNAME" 1>&6
1726else
1727  echo "$ac_t""no" 1>&6
1728fi
1729
1730# Extract the first word of "basename", so it can be a program name with args.
1731set dummy basename; ac_word=$2
1732echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1733echo "configure:1734: checking for $ac_word" >&5
1734if eval "test \"`echo '$''{'ac_cv_path_BASENAME'+set}'`\" = set"; then
1735  echo $ac_n "(cached) $ac_c" 1>&6
1736else
1737  case "$BASENAME" in
1738  /*)
1739  ac_cv_path_BASENAME="$BASENAME" # Let the user override the test with a path.
1740  ;;
1741  *)
1742  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1743  for ac_dir in $PATH; do
1744    test -z "$ac_dir" && ac_dir=.
1745    if test -f $ac_dir/$ac_word; then
1746      ac_cv_path_BASENAME="$ac_dir/$ac_word"
1747      break
1748    fi
1749  done
1750  IFS="$ac_save_ifs"
1751  ;;
1752esac
1753fi
1754BASENAME="$ac_cv_path_BASENAME"
1755if test -n "$BASENAME"; then
1756  echo "$ac_t""$BASENAME" 1>&6
1757else
1758  echo "$ac_t""no" 1>&6
1759fi
1760
1761
1762# Extract the first word of "unifdef", so it can be a program name with args.
1763set dummy unifdef; ac_word=$2
1764echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1765echo "configure:1766: checking for $ac_word" >&5
1766if eval "test \"`echo '$''{'ac_cv_path_UNIFDEF'+set}'`\" = set"; then
1767  echo $ac_n "(cached) $ac_c" 1>&6
1768else
1769  case "$UNIFDEF" in
1770  /*)
1771  ac_cv_path_UNIFDEF="$UNIFDEF" # Let the user override the test with a path.
1772  ;;
1773  *)
1774  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1775  for ac_dir in $PATH; do
1776    test -z "$ac_dir" && ac_dir=.
1777    if test -f $ac_dir/$ac_word; then
1778      ac_cv_path_UNIFDEF="$ac_dir/$ac_word"
1779      break
1780    fi
1781  done
1782  IFS="$ac_save_ifs"
1783  ;;
1784esac
1785fi
1786UNIFDEF="$ac_cv_path_UNIFDEF"
1787if test -n "$UNIFDEF"; then
1788  echo "$ac_t""$UNIFDEF" 1>&6
1789else
1790  echo "$ac_t""no" 1>&6
1791fi
1792
1793# Extract the first word of "ed", so it can be a program name with args.
1794set dummy ed; ac_word=$2
1795echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1796echo "configure:1797: checking for $ac_word" >&5
1797if eval "test \"`echo '$''{'ac_cv_path_ED'+set}'`\" = set"; then
1798  echo $ac_n "(cached) $ac_c" 1>&6
1799else
1800  case "$ED" in
1801  /*)
1802  ac_cv_path_ED="$ED" # Let the user override the test with a path.
1803  ;;
1804  *)
1805  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1806  for ac_dir in $PATH; do
1807    test -z "$ac_dir" && ac_dir=.
1808    if test -f $ac_dir/$ac_word; then
1809      ac_cv_path_ED="$ac_dir/$ac_word"
1810      break
1811    fi
1812  done
1813  IFS="$ac_save_ifs"
1814  ;;
1815esac
1816fi
1817ED="$ac_cv_path_ED"
1818if test -n "$ED"; then
1819  echo "$ac_t""$ED" 1>&6
1820else
1821  echo "$ac_t""no" 1>&6
1822fi
1823
1824# Extract the first word of "sed", so it can be a program name with args.
1825set dummy sed; ac_word=$2
1826echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1827echo "configure:1828: checking for $ac_word" >&5
1828if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
1829  echo $ac_n "(cached) $ac_c" 1>&6
1830else
1831  case "$SED" in
1832  /*)
1833  ac_cv_path_SED="$SED" # Let the user override the test with a path.
1834  ;;
1835  *)
1836  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1837  for ac_dir in $PATH; do
1838    test -z "$ac_dir" && ac_dir=.
1839    if test -f $ac_dir/$ac_word; then
1840      ac_cv_path_SED="$ac_dir/$ac_word"
1841      break
1842    fi
1843  done
1844  IFS="$ac_save_ifs"
1845  ;;
1846esac
1847fi
1848SED="$ac_cv_path_SED"
1849if test -n "$SED"; then
1850  echo "$ac_t""$SED" 1>&6
1851else
1852  echo "$ac_t""no" 1>&6
1853fi
1854
1855for ac_prog in mawk gawk nawk awk
1856do
1857# Extract the first word of "$ac_prog", so it can be a program name with args.
1858set dummy $ac_prog; ac_word=$2
1859echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1860echo "configure:1861: checking for $ac_word" >&5
1861if eval "test \"`echo '$''{'ac_cv_path_AWK'+set}'`\" = set"; then
1862  echo $ac_n "(cached) $ac_c" 1>&6
1863else
1864  case "$AWK" in
1865  /*)
1866  ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
1867  ;;
1868  *)
1869  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1870  for ac_dir in $PATH; do
1871    test -z "$ac_dir" && ac_dir=.
1872    if test -f $ac_dir/$ac_word; then
1873      ac_cv_path_AWK="$ac_dir/$ac_word"
1874      break
1875    fi
1876  done
1877  IFS="$ac_save_ifs"
1878  ;;
1879esac
1880fi
1881AWK="$ac_cv_path_AWK"
1882if test -n "$AWK"; then
1883  echo "$ac_t""$AWK" 1>&6
1884else
1885  echo "$ac_t""no" 1>&6
1886fi
1887
1888test -n "$AWK" && break
1889done
1890
1891for ac_prog in gm4 m4
1892do
1893# Extract the first word of "$ac_prog", so it can be a program name with args.
1894set dummy $ac_prog; ac_word=$2
1895echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1896echo "configure:1897: checking for $ac_word" >&5
1897if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then
1898  echo $ac_n "(cached) $ac_c" 1>&6
1899else
1900  case "$M4" in
1901  /*)
1902  ac_cv_path_M4="$M4" # Let the user override the test with a path.
1903  ;;
1904  *)
1905  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1906  for ac_dir in $PATH; do
1907    test -z "$ac_dir" && ac_dir=.
1908    if test -f $ac_dir/$ac_word; then
1909      ac_cv_path_M4="$ac_dir/$ac_word"
1910      break
1911    fi
1912  done
1913  IFS="$ac_save_ifs"
1914  ;;
1915esac
1916fi
1917M4="$ac_cv_path_M4"
1918if test -n "$M4"; then
1919  echo "$ac_t""$M4" 1>&6
1920else
1921  echo "$ac_t""no" 1>&6
1922fi
1923
1924test -n "$M4" && break
1925done
1926
1927
1928# Extract the first word of "fgrep", so it can be a program name with args.
1929set dummy fgrep; ac_word=$2
1930echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1931echo "configure:1932: checking for $ac_word" >&5
1932if eval "test \"`echo '$''{'ac_cv_path_FGREP'+set}'`\" = set"; then
1933  echo $ac_n "(cached) $ac_c" 1>&6
1934else
1935  case "$FGREP" in
1936  /*)
1937  ac_cv_path_FGREP="$FGREP" # Let the user override the test with a path.
1938  ;;
1939  *)
1940  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1941  for ac_dir in $PATH; do
1942    test -z "$ac_dir" && ac_dir=.
1943    if test -f $ac_dir/$ac_word; then
1944      ac_cv_path_FGREP="$ac_dir/$ac_word"
1945      break
1946    fi
1947  done
1948  IFS="$ac_save_ifs"
1949  ;;
1950esac
1951fi
1952FGREP="$ac_cv_path_FGREP"
1953if test -n "$FGREP"; then
1954  echo "$ac_t""$FGREP" 1>&6
1955else
1956  echo "$ac_t""no" 1>&6
1957fi
1958
1959# Extract the first word of "grep", so it can be a program name with args.
1960set dummy grep; ac_word=$2
1961echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1962echo "configure:1963: checking for $ac_word" >&5
1963if eval "test \"`echo '$''{'ac_cv_path_GREP'+set}'`\" = set"; then
1964  echo $ac_n "(cached) $ac_c" 1>&6
1965else
1966  case "$GREP" in
1967  /*)
1968  ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
1969  ;;
1970  *)
1971  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1972  for ac_dir in $PATH; do
1973    test -z "$ac_dir" && ac_dir=.
1974    if test -f $ac_dir/$ac_word; then
1975      ac_cv_path_GREP="$ac_dir/$ac_word"
1976      break
1977    fi
1978  done
1979  IFS="$ac_save_ifs"
1980  ;;
1981esac
1982fi
1983GREP="$ac_cv_path_GREP"
1984if test -n "$GREP"; then
1985  echo "$ac_t""$GREP" 1>&6
1986else
1987  echo "$ac_t""no" 1>&6
1988fi
1989
1990# Extract the first word of "egrep", so it can be a program name with args.
1991set dummy egrep; ac_word=$2
1992echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1993echo "configure:1994: checking for $ac_word" >&5
1994if eval "test \"`echo '$''{'ac_cv_path_EGREP'+set}'`\" = set"; then
1995  echo $ac_n "(cached) $ac_c" 1>&6
1996else
1997  case "$EGREP" in
1998  /*)
1999  ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
2000  ;;
2001  *)
2002  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2003  for ac_dir in $PATH; do
2004    test -z "$ac_dir" && ac_dir=.
2005    if test -f $ac_dir/$ac_word; then
2006      ac_cv_path_EGREP="$ac_dir/$ac_word"
2007      break
2008    fi
2009  done
2010  IFS="$ac_save_ifs"
2011  ;;
2012esac
2013fi
2014EGREP="$ac_cv_path_EGREP"
2015if test -n "$EGREP"; then
2016  echo "$ac_t""$EGREP" 1>&6
2017else
2018  echo "$ac_t""no" 1>&6
2019fi
2020
2021
2022# Extract the first word of "catman", so it can be a program name with args.
2023set dummy catman; ac_word=$2
2024echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2025echo "configure:2026: checking for $ac_word" >&5
2026if eval "test \"`echo '$''{'ac_cv_path_CATMAN'+set}'`\" = set"; then
2027  echo $ac_n "(cached) $ac_c" 1>&6
2028else
2029  case "$CATMAN" in
2030  /*)
2031  ac_cv_path_CATMAN="$CATMAN" # Let the user override the test with a path.
2032  ;;
2033  *)
2034  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2035  for ac_dir in $PATH:/usr/etc:/etc$ac_dummy; do
2036    test -z "$ac_dir" && ac_dir=.
2037    if test -f $ac_dir/$ac_word; then
2038      ac_cv_path_CATMAN="$ac_dir/$ac_word"
2039      break
2040    fi
2041  done
2042  IFS="$ac_save_ifs"
2043  ;;
2044esac
2045fi
2046CATMAN="$ac_cv_path_CATMAN"
2047if test -n "$CATMAN"; then
2048  echo "$ac_t""$CATMAN" 1>&6
2049else
2050  echo "$ac_t""no" 1>&6
2051fi
2052
2053
2054for ac_prog in bash ksh sh
2055do
2056# Extract the first word of "$ac_prog", so it can be a program name with args.
2057set dummy $ac_prog; ac_word=$2
2058echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2059echo "configure:2060: checking for $ac_word" >&5
2060if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
2061  echo $ac_n "(cached) $ac_c" 1>&6
2062else
2063  case "$KSH" in
2064  /*)
2065  ac_cv_path_KSH="$KSH" # Let the user override the test with a path.
2066  ;;
2067  *)
2068  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2069  for ac_dir in $PATH; do
2070    test -z "$ac_dir" && ac_dir=.
2071    if test -f $ac_dir/$ac_word; then
2072      ac_cv_path_KSH="$ac_dir/$ac_word"
2073      break
2074    fi
2075  done
2076  IFS="$ac_save_ifs"
2077  ;;
2078esac
2079fi
2080KSH="$ac_cv_path_KSH"
2081if test -n "$KSH"; then
2082  echo "$ac_t""$KSH" 1>&6
2083else
2084  echo "$ac_t""no" 1>&6
2085fi
2086
2087test -n "$KSH" && break
2088done
2089
2090
2091if test -z "$KSH"; then
2092{ echo "configure: error: ***
2093    Cannot determine a usable shell bash/ksh/sh
2094    Please contact your system administrator " 1>&2; exit 1; };
2095fi
2096
2097# Extract the first word of "ident", so it can be a program name with args.
2098set dummy ident; ac_word=$2
2099echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2100echo "configure:2101: checking for $ac_word" >&5
2101if eval "test \"`echo '$''{'ac_cv_path_RCS_IDENT'+set}'`\" = set"; then
2102  echo $ac_n "(cached) $ac_c" 1>&6
2103else
2104  case "$RCS_IDENT" in
2105  /*)
2106  ac_cv_path_RCS_IDENT="$RCS_IDENT" # Let the user override the test with a path.
2107  ;;
2108  *)
2109  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2110  for ac_dir in $PATH; do
2111    test -z "$ac_dir" && ac_dir=.
2112    if test -f $ac_dir/$ac_word; then
2113      ac_cv_path_RCS_IDENT="$ac_dir/$ac_word"
2114      break
2115    fi
2116  done
2117  IFS="$ac_save_ifs"
2118  ;;
2119esac
2120fi
2121RCS_IDENT="$ac_cv_path_RCS_IDENT"
2122if test -n "$RCS_IDENT"; then
2123  echo "$ac_t""$RCS_IDENT" 1>&6
2124else
2125  echo "$ac_t""no" 1>&6
2126fi
2127
2128# Extract the first word of "co", so it can be a program name with args.
2129set dummy co; ac_word=$2
2130echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2131echo "configure:2132: checking for $ac_word" >&5
2132if eval "test \"`echo '$''{'ac_cv_path_RCS_CO'+set}'`\" = set"; then
2133  echo $ac_n "(cached) $ac_c" 1>&6
2134else
2135  case "$RCS_CO" in
2136  /*)
2137  ac_cv_path_RCS_CO="$RCS_CO" # Let the user override the test with a path.
2138  ;;
2139  *)
2140  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2141  for ac_dir in $PATH; do
2142    test -z "$ac_dir" && ac_dir=.
2143    if test -f $ac_dir/$ac_word; then
2144      ac_cv_path_RCS_CO="$ac_dir/$ac_word"
2145      break
2146    fi
2147  done
2148  IFS="$ac_save_ifs"
2149  ;;
2150esac
2151fi
2152RCS_CO="$ac_cv_path_RCS_CO"
2153if test -n "$RCS_CO"; then
2154  echo "$ac_t""$RCS_CO" 1>&6
2155else
2156  echo "$ac_t""no" 1>&6
2157fi
2158
2159
2160
2161
2162#
2163#  Target configurations are listed in alphabetical order. 
2164#  The BSPs for a target configuration are also listed in alphabetical order.
2165#
2166
2167case "${target}" in
2168  a29k-rtems*)
2169        rtems_bsp=portsw
2170        makefiles=$a29k_mk
2171        ;;
2172  # hpux unix port should go here
2173  hppa1.1-rtems*)
2174        rtems_bsp=simhppa
2175        makefiles=$hppa1_1_mk
2176        ;;
2177  i[3456]86-go32-rtems*)
2178        rtems_bsp="go32 go32_p5"
2179        makefiles=$i386_go32_mk
2180        RTEMS_HAS_POSIX_API=no
2181        ;;
2182  i[3456]86-rtems*)
2183        rtems_bsp="force386 i386ex"
2184        makefiles=$i386_mk
2185        ;;
2186  i[3456]86-pc-linux*)         # unix "simulator" port
2187        rtems_bsp=posix
2188        makefiles=$posix_mk
2189        RTEMS_HAS_POSIX_API=no
2190        ;;
2191  i960-rtems*)
2192        rtems_bsp=cvme961
2193        makefiles=$i960_mk
2194        ;;
2195  m68k-rtems*)
2196        rtems_bsp="dmv152 efi332 efi68k gen68302 gen68360 gen68360_040 idp \
2197                   mvme136 mvme147 mvme147s mvme162 mvme162lx ods68302"
2198        makefiles=$m68k_mk
2199        ;;
2200  mips64orion-rtems*)
2201        rtems_bsp="p4600 p4650"
2202        makefiles=$mips64orion_mk
2203        ;;
2204  no_cpu-rtems*)
2205        rtems_bsp=no_bsp
2206        makefiles=$no_cpu_mk
2207        RTEMS_HAS_POSIX_API=no
2208        ;;
2209  powerpc-rtems*|ppc-rtems*)
2210        rtems_bsp=papyrus
2211        makefiles=$powerpc_mk
2212        ;;
2213  sparc-sun-solaris*)             # unix "simulator" port
2214        rtems_bsp=posix
2215        makefiles=$posix_mk
2216        RTEMS_HAS_POSIX_API=no
2217        ;;
2218  sparc-rtems*)         
2219        rtems_bsp=erc32
2220        makefiles=$sparc_mk
2221        ;;
2222  *)                   
2223        rtems_bsp=no_bsp
2224        makefiles=$no_cpu_mk
2225        echo Error: RTEMS is not supported on target: $target
2226        exit 1
2227        ;;
2228esac
2229
2230
2231if [ "${program_prefix}" = "NONE" ] ; then
2232  if [ "${target}" = "${host}" ] ; then
2233    program_prefix=
2234  else
2235    program_prefix=${target}-
2236  fi
2237fi
2238
2239
2240echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
2241echo "configure:2242: checking whether ln -s works" >&5
2242if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
2243  echo $ac_n "(cached) $ac_c" 1>&6
2244else
2245  rm -f conftestdata
2246if ln -s X conftestdata 2>/dev/null
2247then
2248  rm -f conftestdata
2249  ac_cv_prog_LN_S="ln -s"
2250else
2251  ac_cv_prog_LN_S=ln
2252fi
2253fi
2254LN_S="$ac_cv_prog_LN_S"
2255if test "$ac_cv_prog_LN_S" = "ln -s"; then
2256  echo "$ac_t""yes" 1>&6
2257else
2258  echo "$ac_t""no" 1>&6
2259fi
2260
2261
2262RTEMS_BSP=$rtems_bsp
2263RTEMS_HOST=$host_os
2264RTEMS_ROOT=`cd $srcdir/c; pwd`
2265PROJECT_ROOT=`pwd;`
2266
2267# For now always generate the KA9Q TCP/IP Makefiles
2268makefiles="$makefiles $ka9q_mk $rtemscpp_mk"
2269
2270# Check whether --enable-tests or --disable-tests was given.
2271if test "${enable_tests+set}" = set; then
2272  enableval="$enable_tests"
2273  \
2274tests_mk=
2275else
2276  makefiles="${makefiles} ${tests_mk}"
2277fi
2278
2279
2280# Check whether --enable-hwapi or --disable-hwapi was given.
2281if test "${enable_hwapi+set}" = set; then
2282  enableval="$enable_hwapi"
2283  \
2284makefiles="${makefiles} ${hwapi_mk}"
2285else
2286  hwapi_mk=
2287fi
2288
2289
2290# Check whether --enable-rtemsbsp or --disable-rtemsbsp was given.
2291if test "${enable_rtemsbsp+set}" = set; then
2292  enableval="$enable_rtemsbsp"
2293  \
2294RTEMS_BSP=$enableval
2295fi
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312trap '' 1 2 15
2313cat > confcache <<\EOF
2314# This file is a shell script that caches the results of configure
2315# tests run on this system so they can be shared between configure
2316# scripts and configure runs.  It is not useful on other systems.
2317# If it contains results you don't want to keep, you may remove or edit it.
2318#
2319# By default, configure uses ./config.cache as the cache file,
2320# creating it if it does not exist already.  You can give configure
2321# the --cache-file=FILE option to use a different cache file; that is
2322# what configure does when it calls configure scripts in
2323# subdirectories, so they share the cache.
2324# Giving --cache-file=/dev/null disables caching, for debugging configure.
2325# config.status only pays attention to the cache file if you give it the
2326# --recheck option to rerun configure.
2327#
2328EOF
2329# The following way of writing the cache mishandles newlines in values,
2330# but we know of no workaround that is simple, portable, and efficient.
2331# So, don't put newlines in cache variables' values.
2332# Ultrix sh set writes to stderr and can't be redirected directly,
2333# and sets the high bit in the cache file unless we assign to the vars.
2334(set) 2>&1 |
2335  case `(ac_space=' '; set) 2>&1` in
2336  *ac_space=\ *)
2337    # `set' does not quote correctly, so add quotes (double-quote substitution
2338    # turns \\\\ into \\, and sed turns \\ into \).
2339    sed -n \
2340      -e "s/'/'\\\\''/g" \
2341      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2342    ;;
2343  *)
2344    # `set' quotes correctly as required by POSIX, so do not add quotes.
2345    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2346    ;;
2347  esac >> confcache
2348if cmp -s $cache_file confcache; then
2349  :
2350else
2351  if test -w $cache_file; then
2352    echo "updating cache $cache_file"
2353    cat confcache > $cache_file
2354  else
2355    echo "not updating unwritable cache $cache_file"
2356  fi
2357fi
2358rm -f confcache
2359
2360trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2361
2362test "x$prefix" = xNONE && prefix=$ac_default_prefix
2363# Let make expand exec_prefix.
2364test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2365
2366# Any assignment to VPATH causes Sun make to only execute
2367# the first set of double-colon rules, so remove it if not needed.
2368# If there is a colon in the path, we need to keep it.
2369if test "x$srcdir" = x.; then
2370  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
2371fi
2372
2373trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2374
2375# Transform confdefs.h into DEFS.
2376# Protect against shell expansion while executing Makefile rules.
2377# Protect against Makefile macro expansion.
2378cat > conftest.defs <<\EOF
2379s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
2380s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
2381s%\[%\\&%g
2382s%\]%\\&%g
2383s%\$%$$%g
2384EOF
2385DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
2386rm -f conftest.defs
2387
2388
2389# Without the "./", some shells look in PATH for config.status.
2390: ${CONFIG_STATUS=./config.status}
2391
2392echo creating $CONFIG_STATUS
2393rm -f $CONFIG_STATUS
2394cat > $CONFIG_STATUS <<EOF
2395#! /bin/sh
2396# Generated automatically by configure.
2397# Run this file to recreate the current configuration.
2398# This directory was configured as follows,
2399# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2400#
2401# $0 $ac_configure_args
2402#
2403# Compiler output produced by configure, useful for debugging
2404# configure, is in ./config.log if it exists.
2405
2406ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2407for ac_option
2408do
2409  case "\$ac_option" in
2410  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2411    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2412    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2413  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2414    echo "$CONFIG_STATUS generated by autoconf version 2.12"
2415    exit 0 ;;
2416  -help | --help | --hel | --he | --h)
2417    echo "\$ac_cs_usage"; exit 0 ;;
2418  *) echo "\$ac_cs_usage"; exit 1 ;;
2419  esac
2420done
2421
2422ac_given_srcdir=$srcdir
2423
2424trap 'rm -fr `echo "Makefile
2425c/Makefile
2426c/build-tools/Makefile
2427c/build-tools/os/Makefile
2428c/build-tools/os/msdos/Makefile
2429c/build-tools/scripts/Makefile
2430c/build-tools/src/Makefile
2431c/make/Makefile
2432c/make/host.cfg
2433c/make/Templates/Makefile.inc
2434c/src/Makefile
2435c/src/exec/Makefile
2436c/src/exec/posix/Makefile
2437c/src/exec/posix/base/Makefile
2438c/src/exec/posix/headers/Makefile
2439c/src/exec/posix/inline/Makefile
2440c/src/exec/posix/macros/Makefile
2441c/src/exec/posix/optman/Makefile
2442c/src/exec/posix/src/Makefile
2443c/src/exec/posix/sys/Makefile
2444c/src/exec/rtems/Makefile
2445c/src/exec/rtems/headers/Makefile
2446c/src/exec/rtems/inline/Makefile
2447c/src/exec/rtems/macros/Makefile
2448c/src/exec/rtems/optman/Makefile
2449c/src/exec/rtems/src/Makefile
2450c/src/exec/sapi/Makefile
2451c/src/exec/sapi/headers/Makefile
2452c/src/exec/sapi/inline/Makefile
2453c/src/exec/sapi/macros/Makefile
2454c/src/exec/sapi/optman/Makefile
2455c/src/exec/sapi/src/Makefile
2456c/src/exec/score/Makefile
2457c/src/exec/score/cpu/Makefile
2458c/src/exec/score/headers/Makefile
2459c/src/exec/score/inline/Makefile
2460c/src/exec/score/macros/Makefile
2461c/src/exec/score/src/Makefile
2462c/src/exec/score/tools/Makefile
2463c/src/exec/score/tools/generic/Makefile
2464c/src/exec/wrapup/Makefile
2465c/src/exec/wrapup/posix/Makefile
2466c/src/exec/wrapup/rtems/Makefile
2467c/src/lib/Makefile
2468c/src/lib/include/Makefile
2469c/src/lib/libbsp/Makefile
2470c/src/lib/libbsp/shmdr/Makefile
2471c/src/lib/libc/Makefile
2472c/src/lib/libcpu/Makefile
2473c/src/lib/libmisc/Makefile
2474c/src/lib/libmisc/assoc/Makefile
2475c/src/lib/libmisc/cpuuse/Makefile
2476c/src/lib/libmisc/error/Makefile
2477c/src/lib/libmisc/monitor/Makefile
2478c/src/lib/libmisc/rtmonuse/Makefile
2479c/src/lib/libmisc/stackchk/Makefile
2480c/src/lib/libmisc/wrapup/Makefile
2481c/src/lib/start/Makefile
2482c/src/lib/wrapup/Makefile
2483c/src/tests/Makefile
2484c/src/tests/samples/Makefile
2485c/src/tests/samples/base_mp/Makefile
2486c/src/tests/samples/base_mp/node1/Makefile
2487c/src/tests/samples/base_mp/node2/Makefile
2488c/src/tests/samples/base_sp/Makefile
2489c/src/tests/samples/cdtest/Makefile
2490c/src/tests/samples/hello/Makefile
2491c/src/tests/samples/paranoia/Makefile
2492c/src/tests/samples/ticker/Makefile
2493c/src/tests/support/Makefile
2494c/src/tests/support/include/Makefile
2495c/src/tests/support/stubdr/Makefile
2496c/src/tests/support/wrapup/Makefile
2497c/src/tests/tools/Makefile
2498c/src/tests/tools/generic/Makefile
2499c/src/tests/tools/hppa1_1/Makefile
2500c/src/tests/tools/hppa1_1/simhppa/Makefile
2501c/src/tests/tools/sparc/Makefile
2502c/src/tests/tools/sparc/erc32/Makefile
2503c/src/tests/tools/unix/Makefile
2504c/src/tests/tools/unix/posix/Makefile
2505$makefiles
2506c/update-tools/Makefile " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2507EOF
2508cat >> $CONFIG_STATUS <<EOF
2509
2510# Protect against being on the right side of a sed subst in config.status.
2511sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2512 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2513$ac_vpsub
2514$extrasub
2515s%@CFLAGS@%$CFLAGS%g
2516s%@CPPFLAGS@%$CPPFLAGS%g
2517s%@CXXFLAGS@%$CXXFLAGS%g
2518s%@DEFS@%$DEFS%g
2519s%@LDFLAGS@%$LDFLAGS%g
2520s%@LIBS@%$LIBS%g
2521s%@exec_prefix@%$exec_prefix%g
2522s%@prefix@%$prefix%g
2523s%@program_transform_name@%$program_transform_name%g
2524s%@bindir@%$bindir%g
2525s%@sbindir@%$sbindir%g
2526s%@libexecdir@%$libexecdir%g
2527s%@datadir@%$datadir%g
2528s%@sysconfdir@%$sysconfdir%g
2529s%@sharedstatedir@%$sharedstatedir%g
2530s%@localstatedir@%$localstatedir%g
2531s%@libdir@%$libdir%g
2532s%@includedir@%$includedir%g
2533s%@oldincludedir@%$oldincludedir%g
2534s%@infodir@%$infodir%g
2535s%@mandir@%$mandir%g
2536s%@SET_MAKE@%$SET_MAKE%g
2537s%@host@%$host%g
2538s%@host_alias@%$host_alias%g
2539s%@host_cpu@%$host_cpu%g
2540s%@host_vendor@%$host_vendor%g
2541s%@host_os@%$host_os%g
2542s%@target@%$target%g
2543s%@target_alias@%$target_alias%g
2544s%@target_cpu@%$target_cpu%g
2545s%@target_vendor@%$target_vendor%g
2546s%@target_os@%$target_os%g
2547s%@build@%$build%g
2548s%@build_alias@%$build_alias%g
2549s%@build_cpu@%$build_cpu%g
2550s%@build_vendor@%$build_vendor%g
2551s%@build_os@%$build_os%g
2552s%@CAT@%$CAT%g
2553s%@RM@%$RM%g
2554s%@CP@%$CP%g
2555s%@MV@%$MV%g
2556s%@LN@%$LN%g
2557s%@CHMOD@%$CHMOD%g
2558s%@SORT@%$SORT%g
2559s%@MKDIR@%$MKDIR%g
2560s%@PR@%$PR%g
2561s%@PRINT@%$PRINT%g
2562s%@TOUCH@%$TOUCH%g
2563s%@CMP@%$CMP%g
2564s%@DIRNAME@%$DIRNAME%g
2565s%@BASENAME@%$BASENAME%g
2566s%@UNIFDEF@%$UNIFDEF%g
2567s%@ED@%$ED%g
2568s%@SED@%$SED%g
2569s%@AWK@%$AWK%g
2570s%@M4@%$M4%g
2571s%@FGREP@%$FGREP%g
2572s%@GREP@%$GREP%g
2573s%@EGREP@%$EGREP%g
2574s%@CATMAN@%$CATMAN%g
2575s%@KSH@%$KSH%g
2576s%@RCS_IDENT@%$RCS_IDENT%g
2577s%@RCS_CO@%$RCS_CO%g
2578s%@LN_S@%$LN_S%g
2579s%@RTEMS_BSP@%$RTEMS_BSP%g
2580s%@RTEMS_HOST@%$RTEMS_HOST%g
2581s%@RTEMS_LIBC_DIR@%$RTEMS_LIBC_DIR%g
2582s%@RTEMS_ROOT@%$RTEMS_ROOT%g
2583s%@RTEMS_USE_OWN_PDIR@%$RTEMS_USE_OWN_PDIR%g
2584s%@RTEMS_HAS_POSIX_API@%$RTEMS_HAS_POSIX_API%g
2585s%@RTEMS_HAS_KA9Q@%$RTEMS_HAS_KA9Q%g
2586s%@RTEMS_USE_MACROS@%$RTEMS_USE_MACROS%g
2587s%@RTEMS_HAS_CPLUSPLUS@%$RTEMS_HAS_CPLUSPLUS%g
2588s%@RTEMS_USE_GCC272@%$RTEMS_USE_GCC272%g
2589s%@PROJECT_ROOT@%$PROJECT_ROOT%g
2590s%@program_prefix@%$program_prefix%g
2591
2592CEOF
2593EOF
2594
2595cat >> $CONFIG_STATUS <<\EOF
2596
2597# Split the substitutions into bite-sized pieces for seds with
2598# small command number limits, like on Digital OSF/1 and HP-UX.
2599ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2600ac_file=1 # Number of current file.
2601ac_beg=1 # First line for current file.
2602ac_end=$ac_max_sed_cmds # Line after last line for current file.
2603ac_more_lines=:
2604ac_sed_cmds=""
2605while $ac_more_lines; do
2606  if test $ac_beg -gt 1; then
2607    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2608  else
2609    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2610  fi
2611  if test ! -s conftest.s$ac_file; then
2612    ac_more_lines=false
2613    rm -f conftest.s$ac_file
2614  else
2615    if test -z "$ac_sed_cmds"; then
2616      ac_sed_cmds="sed -f conftest.s$ac_file"
2617    else
2618      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2619    fi
2620    ac_file=`expr $ac_file + 1`
2621    ac_beg=$ac_end
2622    ac_end=`expr $ac_end + $ac_max_sed_cmds`
2623  fi
2624done
2625if test -z "$ac_sed_cmds"; then
2626  ac_sed_cmds=cat
2627fi
2628EOF
2629
2630cat >> $CONFIG_STATUS <<EOF
2631
2632CONFIG_FILES=\${CONFIG_FILES-"Makefile
2633c/Makefile
2634c/build-tools/Makefile
2635c/build-tools/os/Makefile
2636c/build-tools/os/msdos/Makefile
2637c/build-tools/scripts/Makefile
2638c/build-tools/src/Makefile
2639c/make/Makefile
2640c/make/host.cfg
2641c/make/Templates/Makefile.inc
2642c/src/Makefile
2643c/src/exec/Makefile
2644c/src/exec/posix/Makefile
2645c/src/exec/posix/base/Makefile
2646c/src/exec/posix/headers/Makefile
2647c/src/exec/posix/inline/Makefile
2648c/src/exec/posix/macros/Makefile
2649c/src/exec/posix/optman/Makefile
2650c/src/exec/posix/src/Makefile
2651c/src/exec/posix/sys/Makefile
2652c/src/exec/rtems/Makefile
2653c/src/exec/rtems/headers/Makefile
2654c/src/exec/rtems/inline/Makefile
2655c/src/exec/rtems/macros/Makefile
2656c/src/exec/rtems/optman/Makefile
2657c/src/exec/rtems/src/Makefile
2658c/src/exec/sapi/Makefile
2659c/src/exec/sapi/headers/Makefile
2660c/src/exec/sapi/inline/Makefile
2661c/src/exec/sapi/macros/Makefile
2662c/src/exec/sapi/optman/Makefile
2663c/src/exec/sapi/src/Makefile
2664c/src/exec/score/Makefile
2665c/src/exec/score/cpu/Makefile
2666c/src/exec/score/headers/Makefile
2667c/src/exec/score/inline/Makefile
2668c/src/exec/score/macros/Makefile
2669c/src/exec/score/src/Makefile
2670c/src/exec/score/tools/Makefile
2671c/src/exec/score/tools/generic/Makefile
2672c/src/exec/wrapup/Makefile
2673c/src/exec/wrapup/posix/Makefile
2674c/src/exec/wrapup/rtems/Makefile
2675c/src/lib/Makefile
2676c/src/lib/include/Makefile
2677c/src/lib/libbsp/Makefile
2678c/src/lib/libbsp/shmdr/Makefile
2679c/src/lib/libc/Makefile
2680c/src/lib/libcpu/Makefile
2681c/src/lib/libmisc/Makefile
2682c/src/lib/libmisc/assoc/Makefile
2683c/src/lib/libmisc/cpuuse/Makefile
2684c/src/lib/libmisc/error/Makefile
2685c/src/lib/libmisc/monitor/Makefile
2686c/src/lib/libmisc/rtmonuse/Makefile
2687c/src/lib/libmisc/stackchk/Makefile
2688c/src/lib/libmisc/wrapup/Makefile
2689c/src/lib/start/Makefile
2690c/src/lib/wrapup/Makefile
2691c/src/tests/Makefile
2692c/src/tests/samples/Makefile
2693c/src/tests/samples/base_mp/Makefile
2694c/src/tests/samples/base_mp/node1/Makefile
2695c/src/tests/samples/base_mp/node2/Makefile
2696c/src/tests/samples/base_sp/Makefile
2697c/src/tests/samples/cdtest/Makefile
2698c/src/tests/samples/hello/Makefile
2699c/src/tests/samples/paranoia/Makefile
2700c/src/tests/samples/ticker/Makefile
2701c/src/tests/support/Makefile
2702c/src/tests/support/include/Makefile
2703c/src/tests/support/stubdr/Makefile
2704c/src/tests/support/wrapup/Makefile
2705c/src/tests/tools/Makefile
2706c/src/tests/tools/generic/Makefile
2707c/src/tests/tools/hppa1_1/Makefile
2708c/src/tests/tools/hppa1_1/simhppa/Makefile
2709c/src/tests/tools/sparc/Makefile
2710c/src/tests/tools/sparc/erc32/Makefile
2711c/src/tests/tools/unix/Makefile
2712c/src/tests/tools/unix/posix/Makefile
2713$makefiles
2714c/update-tools/Makefile "}
2715EOF
2716cat >> $CONFIG_STATUS <<\EOF
2717for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2718  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2719  case "$ac_file" in
2720  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2721       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2722  *) ac_file_in="${ac_file}.in" ;;
2723  esac
2724
2725  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2726
2727  # Remove last slash and all that follows it.  Not all systems have dirname.
2728  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2729  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2730    # The file is in a subdirectory.
2731    test ! -d "$ac_dir" && mkdir "$ac_dir"
2732    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2733    # A "../" for each directory in $ac_dir_suffix.
2734    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2735  else
2736    ac_dir_suffix= ac_dots=
2737  fi
2738
2739  case "$ac_given_srcdir" in
2740  .)  srcdir=.
2741      if test -z "$ac_dots"; then top_srcdir=.
2742      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2743  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2744  *) # Relative path.
2745    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2746    top_srcdir="$ac_dots$ac_given_srcdir" ;;
2747  esac
2748
2749
2750  echo creating "$ac_file"
2751  rm -f "$ac_file"
2752  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2753  case "$ac_file" in
2754  *Makefile*) ac_comsub="1i\\
2755# $configure_input" ;;
2756  *) ac_comsub= ;;
2757  esac
2758
2759  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2760  sed -e "$ac_comsub
2761s%@configure_input@%$configure_input%g
2762s%@srcdir@%$srcdir%g
2763s%@top_srcdir@%$top_srcdir%g
2764" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2765fi; done
2766rm -f conftest.s*
2767
2768EOF
2769cat >> $CONFIG_STATUS <<EOF
2770
2771EOF
2772cat >> $CONFIG_STATUS <<\EOF
2773
2774exit 0
2775EOF
2776chmod +x $CONFIG_STATUS
2777rm -fr confdefs* $ac_clean_files
2778test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2779
2780
2781echo
2782echo target architecture: $target_cpu.
2783echo available BSPs: $rtems_bsp.
2784echo \'make all\' will build the following BSPs: $RTEMS_BSP.
2785echo other BSPs can be built with \'make RTEMSBSP=\"bsp1 bsp2 ...\"\'
2786echo
Note: See TracBrowser for help on using the repository browser.