source: rtems/c/src/lib/libbsp/powerpc/psim/tools/configure @ 4075af6f

4.104.114.84.95
Last change on this file since 4075af6f was 4075af6f, checked in by Joel Sherrill <joel.sherrill@…>, on 10/05/99 at 13:49:54

Regenerated.

  • Property mode set to 100644
File size: 41.7 KB
Line 
1#! /bin/sh
2
3# Guess values for system-dependent variables and create Makefiles.
4# Generated automatically using autoconf version 2.13
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-target-subdir=DIR"
16ac_help="$ac_help
17  --enable-maintainer-mode enable make rules and dependencies not useful
18                          (and sometimes confusing) to the casual installer"
19
20# Initialize some variables set by options.
21# The variables have the same names as the options, with
22# dashes changed to underlines.
23build=NONE
24cache_file=./config.cache
25exec_prefix=NONE
26host=NONE
27no_create=
28nonopt=NONE
29no_recursion=
30prefix=NONE
31program_prefix=NONE
32program_suffix=NONE
33program_transform_name=s,x,x,
34silent=
35site=
36srcdir=
37target=NONE
38verbose=
39x_includes=NONE
40x_libraries=NONE
41bindir='${exec_prefix}/bin'
42sbindir='${exec_prefix}/sbin'
43libexecdir='${exec_prefix}/libexec'
44datadir='${prefix}/share'
45sysconfdir='${prefix}/etc'
46sharedstatedir='${prefix}/com'
47localstatedir='${prefix}/var'
48libdir='${exec_prefix}/lib'
49includedir='${prefix}/include'
50oldincludedir='/usr/include'
51infodir='${prefix}/info'
52mandir='${prefix}/man'
53
54# Initialize some other variables.
55subdirs=
56MFLAGS= MAKEFLAGS=
57SHELL=${CONFIG_SHELL-/bin/sh}
58# Maximum number of lines to put in a shell here document.
59ac_max_here_lines=12
60
61ac_prev=
62for ac_option
63do
64
65  # If the previous option needs an argument, assign it.
66  if test -n "$ac_prev"; then
67    eval "$ac_prev=\$ac_option"
68    ac_prev=
69    continue
70  fi
71
72  case "$ac_option" in
73  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
74  *) ac_optarg= ;;
75  esac
76
77  # Accept the important Cygnus configure options, so we can diagnose typos.
78
79  case "$ac_option" in
80
81  -bindir | --bindir | --bindi | --bind | --bin | --bi)
82    ac_prev=bindir ;;
83  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
84    bindir="$ac_optarg" ;;
85
86  -build | --build | --buil | --bui | --bu)
87    ac_prev=build ;;
88  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
89    build="$ac_optarg" ;;
90
91  -cache-file | --cache-file | --cache-fil | --cache-fi \
92  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
93    ac_prev=cache_file ;;
94  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
95  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
96    cache_file="$ac_optarg" ;;
97
98  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
99    ac_prev=datadir ;;
100  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
101  | --da=*)
102    datadir="$ac_optarg" ;;
103
104  -disable-* | --disable-*)
105    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
106    # Reject names that are not valid shell variable names.
107    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
108      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
109    fi
110    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
111    eval "enable_${ac_feature}=no" ;;
112
113  -enable-* | --enable-*)
114    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
115    # Reject names that are not valid shell variable names.
116    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
117      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
118    fi
119    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
120    case "$ac_option" in
121      *=*) ;;
122      *) ac_optarg=yes ;;
123    esac
124    eval "enable_${ac_feature}='$ac_optarg'" ;;
125
126  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
127  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
128  | --exec | --exe | --ex)
129    ac_prev=exec_prefix ;;
130  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
131  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
132  | --exec=* | --exe=* | --ex=*)
133    exec_prefix="$ac_optarg" ;;
134
135  -gas | --gas | --ga | --g)
136    # Obsolete; use --with-gas.
137    with_gas=yes ;;
138
139  -help | --help | --hel | --he)
140    # Omit some internal or obsolete options to make the list less imposing.
141    # This message is too long to be a string in the A/UX 3.1 sh.
142    cat << EOF
143Usage: configure [options] [host]
144Options: [defaults in brackets after descriptions]
145Configuration:
146  --cache-file=FILE       cache test results in FILE
147  --help                  print this message
148  --no-create             do not create output files
149  --quiet, --silent       do not print \`checking...' messages
150  --version               print the version of autoconf that created configure
151Directory and file names:
152  --prefix=PREFIX         install architecture-independent files in PREFIX
153                          [$ac_default_prefix]
154  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
155                          [same as prefix]
156  --bindir=DIR            user executables in DIR [EPREFIX/bin]
157  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
158  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
159  --datadir=DIR           read-only architecture-independent data in DIR
160                          [PREFIX/share]
161  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
162  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
163                          [PREFIX/com]
164  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
165  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
166  --includedir=DIR        C header files in DIR [PREFIX/include]
167  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
168  --infodir=DIR           info documentation in DIR [PREFIX/info]
169  --mandir=DIR            man documentation in DIR [PREFIX/man]
170  --srcdir=DIR            find the sources in DIR [configure dir or ..]
171  --program-prefix=PREFIX prepend PREFIX to installed program names
172  --program-suffix=SUFFIX append SUFFIX to installed program names
173  --program-transform-name=PROGRAM
174                          run sed PROGRAM on installed program names
175EOF
176    cat << EOF
177Host type:
178  --build=BUILD           configure for building on BUILD [BUILD=HOST]
179  --host=HOST             configure for HOST [guessed]
180  --target=TARGET         configure for TARGET [TARGET=HOST]
181Features and packages:
182  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
183  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
184  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
185  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
186  --x-includes=DIR        X include files are in DIR
187  --x-libraries=DIR       X library files are in DIR
188EOF
189    if test -n "$ac_help"; then
190      echo "--enable and --with options recognized:$ac_help"
191    fi
192    exit 0 ;;
193
194  -host | --host | --hos | --ho)
195    ac_prev=host ;;
196  -host=* | --host=* | --hos=* | --ho=*)
197    host="$ac_optarg" ;;
198
199  -includedir | --includedir | --includedi | --included | --include \
200  | --includ | --inclu | --incl | --inc)
201    ac_prev=includedir ;;
202  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
203  | --includ=* | --inclu=* | --incl=* | --inc=*)
204    includedir="$ac_optarg" ;;
205
206  -infodir | --infodir | --infodi | --infod | --info | --inf)
207    ac_prev=infodir ;;
208  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
209    infodir="$ac_optarg" ;;
210
211  -libdir | --libdir | --libdi | --libd)
212    ac_prev=libdir ;;
213  -libdir=* | --libdir=* | --libdi=* | --libd=*)
214    libdir="$ac_optarg" ;;
215
216  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
217  | --libexe | --libex | --libe)
218    ac_prev=libexecdir ;;
219  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
220  | --libexe=* | --libex=* | --libe=*)
221    libexecdir="$ac_optarg" ;;
222
223  -localstatedir | --localstatedir | --localstatedi | --localstated \
224  | --localstate | --localstat | --localsta | --localst \
225  | --locals | --local | --loca | --loc | --lo)
226    ac_prev=localstatedir ;;
227  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
228  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
229  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
230    localstatedir="$ac_optarg" ;;
231
232  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
233    ac_prev=mandir ;;
234  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
235    mandir="$ac_optarg" ;;
236
237  -nfp | --nfp | --nf)
238    # Obsolete; use --without-fp.
239    with_fp=no ;;
240
241  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
242  | --no-cr | --no-c)
243    no_create=yes ;;
244
245  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
246  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
247    no_recursion=yes ;;
248
249  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
250  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
251  | --oldin | --oldi | --old | --ol | --o)
252    ac_prev=oldincludedir ;;
253  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
254  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
255  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
256    oldincludedir="$ac_optarg" ;;
257
258  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
259    ac_prev=prefix ;;
260  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
261    prefix="$ac_optarg" ;;
262
263  -program-prefix | --program-prefix | --program-prefi | --program-pref \
264  | --program-pre | --program-pr | --program-p)
265    ac_prev=program_prefix ;;
266  -program-prefix=* | --program-prefix=* | --program-prefi=* \
267  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
268    program_prefix="$ac_optarg" ;;
269
270  -program-suffix | --program-suffix | --program-suffi | --program-suff \
271  | --program-suf | --program-su | --program-s)
272    ac_prev=program_suffix ;;
273  -program-suffix=* | --program-suffix=* | --program-suffi=* \
274  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
275    program_suffix="$ac_optarg" ;;
276
277  -program-transform-name | --program-transform-name \
278  | --program-transform-nam | --program-transform-na \
279  | --program-transform-n | --program-transform- \
280  | --program-transform | --program-transfor \
281  | --program-transfo | --program-transf \
282  | --program-trans | --program-tran \
283  | --progr-tra | --program-tr | --program-t)
284    ac_prev=program_transform_name ;;
285  -program-transform-name=* | --program-transform-name=* \
286  | --program-transform-nam=* | --program-transform-na=* \
287  | --program-transform-n=* | --program-transform-=* \
288  | --program-transform=* | --program-transfor=* \
289  | --program-transfo=* | --program-transf=* \
290  | --program-trans=* | --program-tran=* \
291  | --progr-tra=* | --program-tr=* | --program-t=*)
292    program_transform_name="$ac_optarg" ;;
293
294  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
295  | -silent | --silent | --silen | --sile | --sil)
296    silent=yes ;;
297
298  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
299    ac_prev=sbindir ;;
300  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
301  | --sbi=* | --sb=*)
302    sbindir="$ac_optarg" ;;
303
304  -sharedstatedir | --sharedstatedir | --sharedstatedi \
305  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
306  | --sharedst | --shareds | --shared | --share | --shar \
307  | --sha | --sh)
308    ac_prev=sharedstatedir ;;
309  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
310  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
311  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
312  | --sha=* | --sh=*)
313    sharedstatedir="$ac_optarg" ;;
314
315  -site | --site | --sit)
316    ac_prev=site ;;
317  -site=* | --site=* | --sit=*)
318    site="$ac_optarg" ;;
319
320  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
321    ac_prev=srcdir ;;
322  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
323    srcdir="$ac_optarg" ;;
324
325  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
326  | --syscon | --sysco | --sysc | --sys | --sy)
327    ac_prev=sysconfdir ;;
328  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
329  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
330    sysconfdir="$ac_optarg" ;;
331
332  -target | --target | --targe | --targ | --tar | --ta | --t)
333    ac_prev=target ;;
334  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
335    target="$ac_optarg" ;;
336
337  -v | -verbose | --verbose | --verbos | --verbo | --verb)
338    verbose=yes ;;
339
340  -version | --version | --versio | --versi | --vers)
341    echo "configure generated by autoconf version 2.13"
342    exit 0 ;;
343
344  -with-* | --with-*)
345    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
346    # Reject names that are not valid shell variable names.
347    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
348      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
349    fi
350    ac_package=`echo $ac_package| sed 's/-/_/g'`
351    case "$ac_option" in
352      *=*) ;;
353      *) ac_optarg=yes ;;
354    esac
355    eval "with_${ac_package}='$ac_optarg'" ;;
356
357  -without-* | --without-*)
358    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
359    # Reject names that are not valid shell variable names.
360    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
361      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
362    fi
363    ac_package=`echo $ac_package| sed 's/-/_/g'`
364    eval "with_${ac_package}=no" ;;
365
366  --x)
367    # Obsolete; use --with-x.
368    with_x=yes ;;
369
370  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
371  | --x-incl | --x-inc | --x-in | --x-i)
372    ac_prev=x_includes ;;
373  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
374  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
375    x_includes="$ac_optarg" ;;
376
377  -x-libraries | --x-libraries | --x-librarie | --x-librari \
378  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
379    ac_prev=x_libraries ;;
380  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
381  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
382    x_libraries="$ac_optarg" ;;
383
384  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
385    ;;
386
387  *)
388    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
389      echo "configure: warning: $ac_option: invalid host type" 1>&2
390    fi
391    if test "x$nonopt" != xNONE; then
392      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
393    fi
394    nonopt="$ac_option"
395    ;;
396
397  esac
398done
399
400if test -n "$ac_prev"; then
401  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
402fi
403
404trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
405
406# File descriptor usage:
407# 0 standard input
408# 1 file creation
409# 2 errors and warnings
410# 3 some systems may open it to /dev/tty
411# 4 used on the Kubota Titan
412# 6 checking for... messages and results
413# 5 compiler messages saved in config.log
414if test "$silent" = yes; then
415  exec 6>/dev/null
416else
417  exec 6>&1
418fi
419exec 5>./config.log
420
421echo "\
422This file contains any messages produced by compilers while
423running configure, to aid debugging if configure makes a mistake.
424" 1>&5
425
426# Strip out --no-create and --no-recursion so they do not pile up.
427# Also quote any args containing shell metacharacters.
428ac_configure_args=
429for ac_arg
430do
431  case "$ac_arg" in
432  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
433  | --no-cr | --no-c) ;;
434  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
435  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
436  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
437  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
438  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
439  esac
440done
441
442# NLS nuisances.
443# Only set these to C if already set.  These must not be set unconditionally
444# because not all systems understand e.g. LANG=C (notably SCO).
445# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
446# Non-C LC_CTYPE values break the ctype check.
447if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
448if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
449if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
450if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
451
452# confdefs.h avoids OS command line length limits that DEFS can exceed.
453rm -rf conftest* confdefs.h
454# AIX cpp loses on an empty file, so make sure it contains at least a newline.
455echo > confdefs.h
456
457# A filename unique to this package, relative to the directory that
458# configure is in, which we can look for to find out if srcdir is correct.
459ac_unique_file=psim
460
461# Find the source files, if location was not specified.
462if test -z "$srcdir"; then
463  ac_srcdir_defaulted=yes
464  # Try the directory containing this script, then its parent.
465  ac_prog=$0
466  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
467  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
468  srcdir=$ac_confdir
469  if test ! -r $srcdir/$ac_unique_file; then
470    srcdir=..
471  fi
472else
473  ac_srcdir_defaulted=no
474fi
475if test ! -r $srcdir/$ac_unique_file; then
476  if test "$ac_srcdir_defaulted" = yes; then
477    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
478  else
479    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
480  fi
481fi
482srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
483
484# Prefer explicitly selected file to automatically selected ones.
485if test -z "$CONFIG_SITE"; then
486  if test "x$prefix" != xNONE; then
487    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
488  else
489    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
490  fi
491fi
492for ac_site_file in $CONFIG_SITE; do
493  if test -r "$ac_site_file"; then
494    echo "loading site script $ac_site_file"
495    . "$ac_site_file"
496  fi
497done
498
499if test -r "$cache_file"; then
500  echo "loading cache $cache_file"
501  . $cache_file
502else
503  echo "creating cache $cache_file"
504  > $cache_file
505fi
506
507ac_ext=c
508# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
509ac_cpp='$CPP $CPPFLAGS'
510ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
511ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
512cross_compiling=$ac_cv_prog_cc_cross
513
514ac_exeext=
515ac_objext=o
516if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
517  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
518  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
519    ac_n= ac_c='
520' ac_t='        '
521  else
522    ac_n=-n ac_c= ac_t=
523  fi
524else
525  ac_n= ac_c='\c' ac_t=
526fi
527
528
529
530# Check whether --with-target-subdir or --without-target-subdir was given.
531if test "${with_target_subdir+set}" = set; then
532  withval="$with_target_subdir"
533  TARGET_SUBDIR="$withval"
534else
535  TARGET_SUBDIR="."
536fi
537
538
539RTEMS_TOPdir="../../../../../../..";
540
541
542echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
543echo "configure:544: checking for RTEMS Version" >&5
544if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
545RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
546sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
547else
548{ echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
549fi
550if test -z "$RTEMS_VERSION"; then
551{ echo "configure: error: Unable to determine version" 1>&2; exit 1; }
552fi
553echo "$ac_t""$RTEMS_VERSION" 1>&6
554
555ac_aux_dir=
556for ac_dir in ../../../../../../.. $srcdir/../../../../../../..; do
557  if test -f $ac_dir/install-sh; then
558    ac_aux_dir=$ac_dir
559    ac_install_sh="$ac_aux_dir/install-sh -c"
560    break
561  elif test -f $ac_dir/install.sh; then
562    ac_aux_dir=$ac_dir
563    ac_install_sh="$ac_aux_dir/install.sh -c"
564    break
565  fi
566done
567if test -z "$ac_aux_dir"; then
568  { echo "configure: error: can not find install-sh or install.sh in ../../../../../../.. $srcdir/../../../../../../.." 1>&2; exit 1; }
569fi
570ac_config_guess=$ac_aux_dir/config.guess
571ac_config_sub=$ac_aux_dir/config.sub
572ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
573
574
575
576
577# Do some error checking and defaulting for the host and target type.
578# The inputs are:
579#    configure --host=HOST --target=TARGET --build=BUILD NONOPT
580#
581# The rules are:
582# 1. You are not allowed to specify --host, --target, and nonopt at the
583#    same time.
584# 2. Host defaults to nonopt.
585# 3. If nonopt is not specified, then host defaults to the current host,
586#    as determined by config.guess.
587# 4. Target and build default to nonopt.
588# 5. If nonopt is not specified, then target and build default to host.
589
590# The aliases save the names the user supplied, while $host etc.
591# will get canonicalized.
592case $host---$target---$nonopt in
593NONE---*---* | *---NONE---* | *---*---NONE) ;;
594*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
595esac
596
597
598# Make sure we can run config.sub.
599if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
600else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
601fi
602
603echo $ac_n "checking host system type""... $ac_c" 1>&6
604echo "configure:605: checking host system type" >&5
605
606host_alias=$host
607case "$host_alias" in
608NONE)
609  case $nonopt in
610  NONE)
611    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
612    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
613    fi ;;
614  *) host_alias=$nonopt ;;
615  esac ;;
616esac
617
618host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
619host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
620host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
621host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
622echo "$ac_t""$host" 1>&6
623
624echo $ac_n "checking target system type""... $ac_c" 1>&6
625echo "configure:626: checking target system type" >&5
626
627target_alias=$target
628case "$target_alias" in
629NONE)
630  case $nonopt in
631  NONE) target_alias=$host_alias ;;
632  *) target_alias=$nonopt ;;
633  esac ;;
634esac
635
636target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
637target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
638target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
639target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
640echo "$ac_t""$target" 1>&6
641
642echo $ac_n "checking build system type""... $ac_c" 1>&6
643echo "configure:644: checking build system type" >&5
644
645build_alias=$build
646case "$build_alias" in
647NONE)
648  case $nonopt in
649  NONE) build_alias=$host_alias ;;
650  *) build_alias=$nonopt ;;
651  esac ;;
652esac
653
654build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
655build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
656build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
657build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
658echo "$ac_t""$build" 1>&6
659
660test "$host_alias" != "$target_alias" &&
661  test "$program_prefix$program_suffix$program_transform_name" = \
662    NONENONEs,x,x, &&
663  program_prefix=${target_alias}-
664
665echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
666echo "configure:667: checking rtems target cpu" >&5
667case "${target}" in
668  # hpux unix port should go here
669  i[3456]86-go32-rtems*)
670        RTEMS_CPU=i386
671        ;;
672  i[3456]86-pc-linux*)          # unix "simulator" port
673        RTEMS_CPU=unix
674        ;;
675  i[3456]86-*freebsd2*)         # unix "simulator" port
676        RTEMS_CPU=unix
677        ;;
678  no_cpu-*rtems*)
679        RTEMS_CPU=no_cpu
680        ;;
681  sparc-sun-solaris*)           # unix "simulator" port
682        RTEMS_CPU=unix
683        ;;
684  *)
685        RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
686        ;;
687esac
688
689echo "$ac_t""$RTEMS_CPU" 1>&6
690
691
692# Find a good install program.  We prefer a C program (faster),
693# so one script is as good as another.  But avoid the broken or
694# incompatible versions:
695# SysV /etc/install, /usr/sbin/install
696# SunOS /usr/etc/install
697# IRIX /sbin/install
698# AIX /bin/install
699# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
700# AFS /usr/afsws/bin/install, which mishandles nonexistent args
701# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
702# ./install, which can be erroneously created by make from ./install.sh.
703echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
704echo "configure:705: checking for a BSD compatible install" >&5
705if test -z "$INSTALL"; then
706if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
707  echo $ac_n "(cached) $ac_c" 1>&6
708else
709    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
710  for ac_dir in $PATH; do
711    # Account for people who put trailing slashes in PATH elements.
712    case "$ac_dir/" in
713    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
714    *)
715      # OSF1 and SCO ODT 3.0 have their own names for install.
716      # Don't use installbsd from OSF since it installs stuff as root
717      # by default.
718      for ac_prog in ginstall scoinst install; do
719        if test -f $ac_dir/$ac_prog; then
720          if test $ac_prog = install &&
721            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
722            # AIX install.  It has an incompatible calling convention.
723            :
724          else
725            ac_cv_path_install="$ac_dir/$ac_prog -c"
726            break 2
727          fi
728        fi
729      done
730      ;;
731    esac
732  done
733  IFS="$ac_save_IFS"
734
735fi
736  if test "${ac_cv_path_install+set}" = set; then
737    INSTALL="$ac_cv_path_install"
738  else
739    # As a last resort, use the slow shell script.  We don't cache a
740    # path for INSTALL within a source directory, because that will
741    # break other packages using the cache if that directory is
742    # removed, or if the path is relative.
743    INSTALL="$ac_install_sh"
744  fi
745fi
746echo "$ac_t""$INSTALL" 1>&6
747
748# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
749# It thinks the first close brace ends the variable substitution.
750test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
751
752test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
753
754test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
755
756echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
757echo "configure:758: checking whether build environment is sane" >&5
758# Just in case
759sleep 1
760echo timestamp > conftestfile
761# Do `set' in a subshell so we don't clobber the current shell's
762# arguments.  Must try -L first in case configure is actually a
763# symlink; some systems play weird games with the mod time of symlinks
764# (eg FreeBSD returns the mod time of the symlink's containing
765# directory).
766if (
767   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
768   if test "$*" = "X"; then
769      # -L didn't work.
770      set X `ls -t $srcdir/configure conftestfile`
771   fi
772   if test "$*" != "X $srcdir/configure conftestfile" \
773      && test "$*" != "X conftestfile $srcdir/configure"; then
774
775      # If neither matched, then we have a broken ls.  This can happen
776      # if, for instance, CONFIG_SHELL is bash and it inherits a
777      # broken ls alias from the environment.  This has actually
778      # happened.  Such a system could not be considered "sane".
779      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
780alias in your environment" 1>&2; exit 1; }
781   fi
782
783   test "$2" = conftestfile
784   )
785then
786   # Ok.
787   :
788else
789   { echo "configure: error: newly created file is older than distributed files!
790Check your system clock" 1>&2; exit 1; }
791fi
792rm -f conftest*
793echo "$ac_t""yes" 1>&6
794if test "$program_transform_name" = s,x,x,; then
795  program_transform_name=
796else
797  # Double any \ or $.  echo might interpret backslashes.
798  cat <<\EOF_SED > conftestsed
799s,\\,\\\\,g; s,\$,$$,g
800EOF_SED
801  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
802  rm -f conftestsed
803fi
804test "$program_prefix" != NONE &&
805  program_transform_name="s,^,${program_prefix},; $program_transform_name"
806# Use a double $ so make ignores it.
807test "$program_suffix" != NONE &&
808  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
809
810# sed with no file args requires a program.
811test "$program_transform_name" = "" && program_transform_name="s,x,x,"
812
813echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
814echo "configure:815: checking whether ${MAKE-make} sets \${MAKE}" >&5
815set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
816if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
817  echo $ac_n "(cached) $ac_c" 1>&6
818else
819  cat > conftestmake <<\EOF
820all:
821        @echo 'ac_maketemp="${MAKE}"'
822EOF
823# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
824eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
825if test -n "$ac_maketemp"; then
826  eval ac_cv_prog_make_${ac_make}_set=yes
827else
828  eval ac_cv_prog_make_${ac_make}_set=no
829fi
830rm -f conftestmake
831fi
832if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
833  echo "$ac_t""yes" 1>&6
834  SET_MAKE=
835else
836  echo "$ac_t""no" 1>&6
837  SET_MAKE="MAKE=${MAKE-make}"
838fi
839
840
841
842PACKAGE=rtems-lib-libbsp-powerpc-psim-tools
843
844VERSION=$RTEMS_VERSION
845
846if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
847  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
848fi
849
850
851
852missing_dir=`cd $ac_aux_dir && pwd`
853echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
854echo "configure:855: checking for working aclocal" >&5
855# Run test in a subshell; some versions of sh will print an error if
856# an executable is not found, even if stderr is redirected.
857# Redirect stdin to placate older versions of autoconf.  Sigh.
858if (aclocal --version) < /dev/null > /dev/null 2>&1; then
859   ACLOCAL=aclocal
860   echo "$ac_t""found" 1>&6
861else
862   ACLOCAL="$missing_dir/missing aclocal"
863   echo "$ac_t""missing" 1>&6
864fi
865
866echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
867echo "configure:868: checking for working autoconf" >&5
868# Run test in a subshell; some versions of sh will print an error if
869# an executable is not found, even if stderr is redirected.
870# Redirect stdin to placate older versions of autoconf.  Sigh.
871if (autoconf --version) < /dev/null > /dev/null 2>&1; then
872   AUTOCONF=autoconf
873   echo "$ac_t""found" 1>&6
874else
875   AUTOCONF="$missing_dir/missing autoconf"
876   echo "$ac_t""missing" 1>&6
877fi
878
879echo $ac_n "checking for working automake""... $ac_c" 1>&6
880echo "configure:881: checking for working automake" >&5
881# Run test in a subshell; some versions of sh will print an error if
882# an executable is not found, even if stderr is redirected.
883# Redirect stdin to placate older versions of autoconf.  Sigh.
884if (automake --version) < /dev/null > /dev/null 2>&1; then
885   AUTOMAKE=automake
886   echo "$ac_t""found" 1>&6
887else
888   AUTOMAKE="$missing_dir/missing automake"
889   echo "$ac_t""missing" 1>&6
890fi
891
892echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
893echo "configure:894: checking for working autoheader" >&5
894# Run test in a subshell; some versions of sh will print an error if
895# an executable is not found, even if stderr is redirected.
896# Redirect stdin to placate older versions of autoconf.  Sigh.
897if (autoheader --version) < /dev/null > /dev/null 2>&1; then
898   AUTOHEADER=autoheader
899   echo "$ac_t""found" 1>&6
900else
901   AUTOHEADER="$missing_dir/missing autoheader"
902   echo "$ac_t""missing" 1>&6
903fi
904
905echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
906echo "configure:907: checking for working makeinfo" >&5
907# Run test in a subshell; some versions of sh will print an error if
908# an executable is not found, even if stderr is redirected.
909# Redirect stdin to placate older versions of autoconf.  Sigh.
910if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
911   MAKEINFO=makeinfo
912   echo "$ac_t""found" 1>&6
913else
914   MAKEINFO="$missing_dir/missing makeinfo"
915   echo "$ac_t""missing" 1>&6
916fi
917
918
919echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
920echo "configure:921: checking whether to enable maintainer-specific portions of Makefiles" >&5
921    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
922if test "${enable_maintainer_mode+set}" = set; then
923  enableval="$enable_maintainer_mode"
924  USE_MAINTAINER_MODE=$enableval
925else
926  USE_MAINTAINER_MODE=no
927fi
928
929  echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
930 
931
932if test $USE_MAINTAINER_MODE = yes; then
933  MAINTAINER_MODE_TRUE=
934  MAINTAINER_MODE_FALSE='#'
935else
936  MAINTAINER_MODE_TRUE='#'
937  MAINTAINER_MODE_FALSE=
938fi
939  MAINT=$MAINTAINER_MODE_TRUE
940 
941
942
943
944if test "$TARGET_SUBDIR" = "." ; then
945PROJECT_ROOT=$RTEMS_TOPdir/'$(top_builddir)';
946else
947PROJECT_ROOT=../$RTEMS_TOPdir/'$(top_builddir)'
948fi
949
950
951RTEMS_ROOT=$RTEMS_TOPdir/'$(top_builddir)'/c/$RTEMS_BSP
952
953
954INSTALL_CHANGE="\$(KSH) \$(PROJECT_ROOT)/tools/build/install-if-change"
955
956
957PACKHEX="\$(PROJECT_ROOT)/tools/build/packhex"
958
959
960
961# tooldir='$(exec_prefix)/'$target_alias
962# Temporary work-around until building in source tree is supported
963
964
965tooldir='$(PROJECT_ROOT)'
966
967
968project_includedir='$(tooldir)'/include
969
970
971project_libdir='$(tooldir)/lib$(MULTISUBDIR)'
972
973
974project_bindir='$(tooldir)/bin'
975
976
977rtems_bspdir='$(prefix)/${RTEMS_BSP}'
978
979rtems_makedir='$(prefix)/make'
980
981
982
983trap '' 1 2 15
984cat > confcache <<\EOF
985# This file is a shell script that caches the results of configure
986# tests run on this system so they can be shared between configure
987# scripts and configure runs.  It is not useful on other systems.
988# If it contains results you don't want to keep, you may remove or edit it.
989#
990# By default, configure uses ./config.cache as the cache file,
991# creating it if it does not exist already.  You can give configure
992# the --cache-file=FILE option to use a different cache file; that is
993# what configure does when it calls configure scripts in
994# subdirectories, so they share the cache.
995# Giving --cache-file=/dev/null disables caching, for debugging configure.
996# config.status only pays attention to the cache file if you give it the
997# --recheck option to rerun configure.
998#
999EOF
1000# The following way of writing the cache mishandles newlines in values,
1001# but we know of no workaround that is simple, portable, and efficient.
1002# So, don't put newlines in cache variables' values.
1003# Ultrix sh set writes to stderr and can't be redirected directly,
1004# and sets the high bit in the cache file unless we assign to the vars.
1005(set) 2>&1 |
1006  case `(ac_space=' '; set | grep ac_space) 2>&1` in
1007  *ac_space=\ *)
1008    # `set' does not quote correctly, so add quotes (double-quote substitution
1009    # turns \\\\ into \\, and sed turns \\ into \).
1010    sed -n \
1011      -e "s/'/'\\\\''/g" \
1012      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1013    ;;
1014  *)
1015    # `set' quotes correctly as required by POSIX, so do not add quotes.
1016    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1017    ;;
1018  esac >> confcache
1019if cmp -s $cache_file confcache; then
1020  :
1021else
1022  if test -w $cache_file; then
1023    echo "updating cache $cache_file"
1024    cat confcache > $cache_file
1025  else
1026    echo "not updating unwritable cache $cache_file"
1027  fi
1028fi
1029rm -f confcache
1030
1031trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1032
1033test "x$prefix" = xNONE && prefix=$ac_default_prefix
1034# Let make expand exec_prefix.
1035test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1036
1037# Any assignment to VPATH causes Sun make to only execute
1038# the first set of double-colon rules, so remove it if not needed.
1039# If there is a colon in the path, we need to keep it.
1040if test "x$srcdir" = x.; then
1041  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
1042fi
1043
1044trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1045
1046# Transform confdefs.h into DEFS.
1047# Protect against shell expansion while executing Makefile rules.
1048# Protect against Makefile macro expansion.
1049cat > conftest.defs <<\EOF
1050s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1051s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
1052s%\[%\\&%g
1053s%\]%\\&%g
1054s%\$%$$%g
1055EOF
1056DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1057rm -f conftest.defs
1058
1059
1060# Without the "./", some shells look in PATH for config.status.
1061: ${CONFIG_STATUS=./config.status}
1062
1063echo creating $CONFIG_STATUS
1064rm -f $CONFIG_STATUS
1065cat > $CONFIG_STATUS <<EOF
1066#! /bin/sh
1067# Generated automatically by configure.
1068# Run this file to recreate the current configuration.
1069# This directory was configured as follows,
1070# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1071#
1072# $0 $ac_configure_args
1073#
1074# Compiler output produced by configure, useful for debugging
1075# configure, is in ./config.log if it exists.
1076
1077ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1078for ac_option
1079do
1080  case "\$ac_option" in
1081  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1082    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1083    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1084  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1085    echo "$CONFIG_STATUS generated by autoconf version 2.13"
1086    exit 0 ;;
1087  -help | --help | --hel | --he | --h)
1088    echo "\$ac_cs_usage"; exit 0 ;;
1089  *) echo "\$ac_cs_usage"; exit 1 ;;
1090  esac
1091done
1092
1093ac_given_srcdir=$srcdir
1094ac_given_INSTALL="$INSTALL"
1095
1096trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1097EOF
1098cat >> $CONFIG_STATUS <<EOF
1099
1100# Protect against being on the right side of a sed subst in config.status.
1101sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1102 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1103$ac_vpsub
1104$extrasub
1105s%@SHELL@%$SHELL%g
1106s%@CFLAGS@%$CFLAGS%g
1107s%@CPPFLAGS@%$CPPFLAGS%g
1108s%@CXXFLAGS@%$CXXFLAGS%g
1109s%@FFLAGS@%$FFLAGS%g
1110s%@DEFS@%$DEFS%g
1111s%@LDFLAGS@%$LDFLAGS%g
1112s%@LIBS@%$LIBS%g
1113s%@exec_prefix@%$exec_prefix%g
1114s%@prefix@%$prefix%g
1115s%@program_transform_name@%$program_transform_name%g
1116s%@bindir@%$bindir%g
1117s%@sbindir@%$sbindir%g
1118s%@libexecdir@%$libexecdir%g
1119s%@datadir@%$datadir%g
1120s%@sysconfdir@%$sysconfdir%g
1121s%@sharedstatedir@%$sharedstatedir%g
1122s%@localstatedir@%$localstatedir%g
1123s%@libdir@%$libdir%g
1124s%@includedir@%$includedir%g
1125s%@oldincludedir@%$oldincludedir%g
1126s%@infodir@%$infodir%g
1127s%@mandir@%$mandir%g
1128s%@RTEMS_TOPdir@%$RTEMS_TOPdir%g
1129s%@host@%$host%g
1130s%@host_alias@%$host_alias%g
1131s%@host_cpu@%$host_cpu%g
1132s%@host_vendor@%$host_vendor%g
1133s%@host_os@%$host_os%g
1134s%@target@%$target%g
1135s%@target_alias@%$target_alias%g
1136s%@target_cpu@%$target_cpu%g
1137s%@target_vendor@%$target_vendor%g
1138s%@target_os@%$target_os%g
1139s%@build@%$build%g
1140s%@build_alias@%$build_alias%g
1141s%@build_cpu@%$build_cpu%g
1142s%@build_vendor@%$build_vendor%g
1143s%@build_os@%$build_os%g
1144s%@RTEMS_CPU@%$RTEMS_CPU%g
1145s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1146s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1147s%@INSTALL_DATA@%$INSTALL_DATA%g
1148s%@PACKAGE@%$PACKAGE%g
1149s%@VERSION@%$VERSION%g
1150s%@ACLOCAL@%$ACLOCAL%g
1151s%@AUTOCONF@%$AUTOCONF%g
1152s%@AUTOMAKE@%$AUTOMAKE%g
1153s%@AUTOHEADER@%$AUTOHEADER%g
1154s%@MAKEINFO@%$MAKEINFO%g
1155s%@SET_MAKE@%$SET_MAKE%g
1156s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
1157s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
1158s%@MAINT@%$MAINT%g
1159s%@PROJECT_ROOT@%$PROJECT_ROOT%g
1160s%@RTEMS_ROOT@%$RTEMS_ROOT%g
1161s%@INSTALL_CHANGE@%$INSTALL_CHANGE%g
1162s%@PACKHEX@%$PACKHEX%g
1163s%@tooldir@%$tooldir%g
1164s%@project_includedir@%$project_includedir%g
1165s%@project_libdir@%$project_libdir%g
1166s%@project_bindir@%$project_bindir%g
1167s%@rtems_bspdir@%$rtems_bspdir%g
1168s%@rtems_makedir@%$rtems_makedir%g
1169
1170CEOF
1171EOF
1172
1173cat >> $CONFIG_STATUS <<\EOF
1174
1175# Split the substitutions into bite-sized pieces for seds with
1176# small command number limits, like on Digital OSF/1 and HP-UX.
1177ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1178ac_file=1 # Number of current file.
1179ac_beg=1 # First line for current file.
1180ac_end=$ac_max_sed_cmds # Line after last line for current file.
1181ac_more_lines=:
1182ac_sed_cmds=""
1183while $ac_more_lines; do
1184  if test $ac_beg -gt 1; then
1185    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1186  else
1187    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1188  fi
1189  if test ! -s conftest.s$ac_file; then
1190    ac_more_lines=false
1191    rm -f conftest.s$ac_file
1192  else
1193    if test -z "$ac_sed_cmds"; then
1194      ac_sed_cmds="sed -f conftest.s$ac_file"
1195    else
1196      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1197    fi
1198    ac_file=`expr $ac_file + 1`
1199    ac_beg=$ac_end
1200    ac_end=`expr $ac_end + $ac_max_sed_cmds`
1201  fi
1202done
1203if test -z "$ac_sed_cmds"; then
1204  ac_sed_cmds=cat
1205fi
1206EOF
1207
1208cat >> $CONFIG_STATUS <<EOF
1209
1210CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1211EOF
1212cat >> $CONFIG_STATUS <<\EOF
1213for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1214  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1215  case "$ac_file" in
1216  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1217       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1218  *) ac_file_in="${ac_file}.in" ;;
1219  esac
1220
1221  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1222
1223  # Remove last slash and all that follows it.  Not all systems have dirname.
1224  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1225  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1226    # The file is in a subdirectory.
1227    test ! -d "$ac_dir" && mkdir "$ac_dir"
1228    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1229    # A "../" for each directory in $ac_dir_suffix.
1230    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1231  else
1232    ac_dir_suffix= ac_dots=
1233  fi
1234
1235  case "$ac_given_srcdir" in
1236  .)  srcdir=.
1237      if test -z "$ac_dots"; then top_srcdir=.
1238      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1239  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1240  *) # Relative path.
1241    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1242    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1243  esac
1244
1245  case "$ac_given_INSTALL" in
1246  [/$]*) INSTALL="$ac_given_INSTALL" ;;
1247  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1248  esac
1249
1250  echo creating "$ac_file"
1251  rm -f "$ac_file"
1252  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1253  case "$ac_file" in
1254  *Makefile*) ac_comsub="1i\\
1255# $configure_input" ;;
1256  *) ac_comsub= ;;
1257  esac
1258
1259  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1260  sed -e "$ac_comsub
1261s%@configure_input@%$configure_input%g
1262s%@srcdir@%$srcdir%g
1263s%@top_srcdir@%$top_srcdir%g
1264s%@INSTALL@%$INSTALL%g
1265" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1266fi; done
1267rm -f conftest.s*
1268
1269EOF
1270cat >> $CONFIG_STATUS <<EOF
1271
1272EOF
1273cat >> $CONFIG_STATUS <<\EOF
1274
1275exit 0
1276EOF
1277chmod +x $CONFIG_STATUS
1278rm -fr confdefs* $ac_clean_files
1279test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1280
Note: See TracBrowser for help on using the repository browser.