source: rtems/c/src/lib/libbsp/powerpc/mvme5500/configure @ 7be6ad9

4.104.114.84.95
Last change on this file since 7be6ad9 was 7be6ad9, checked in by Eric Norum <WENorum@…>, on Oct 20, 2004 at 3:21:05 PM

Add MVME550 BSP

  • Property mode set to 100644
File size: 167.4 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.57 for rtems-c-src-lib-libbsp-powerpc-mvme5500 4.6.2.
4#
5# Report bugs to <rtems-bugs@OARcorp.com>.
6#
7# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8# Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be Bourne compatible
16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17  emulate sh
18  NULLCMD=:
19  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20  # is contrary to our usage.  Disable this feature.
21  alias -g '${1+"$@"}'='"$@"'
22elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23  set -o posix
24fi
25
26# Support unset when possible.
27if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
28  as_unset=unset
29else
30  as_unset=false
31fi
32
33
34# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for as_var in \
42  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44  LC_TELEPHONE LC_TIME
45do
46  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47    eval $as_var=C; export $as_var
48  else
49    $as_unset $as_var
50  fi
51done
52
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55  as_expr=expr
56else
57  as_expr=false
58fi
59
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61  as_basename=basename
62else
63  as_basename=false
64fi
65
66
67# Name of the executable.
68as_me=`$as_basename "$0" ||
69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70         X"$0" : 'X\(//\)$' \| \
71         X"$0" : 'X\(/\)$' \| \
72         .     : '\(.\)' 2>/dev/null ||
73echo X/"$0" |
74    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75          /^X\/\(\/\/\)$/{ s//\1/; q; }
76          /^X\/\(\/\).*/{ s//\1/; q; }
77          s/.*/./; q'`
78
79
80# PATH needs CR, and LINENO needs CR and PATH.
81# Avoid depending upon Character Ranges.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88# The user is always right.
89if test "${PATH_SEPARATOR+set}" != set; then
90  echo "#! /bin/sh" >conf$$.sh
91  echo  "exit 0"   >>conf$$.sh
92  chmod +x conf$$.sh
93  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94    PATH_SEPARATOR=';'
95  else
96    PATH_SEPARATOR=:
97  fi
98  rm -f conf$$.sh
99fi
100
101
102  as_lineno_1=$LINENO
103  as_lineno_2=$LINENO
104  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105  test "x$as_lineno_1" != "x$as_lineno_2" &&
106  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107  # Find who we are.  Look in the path if we contain no path at all
108  # relative or not.
109  case $0 in
110    *[\\/]* ) as_myself=$0 ;;
111    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112for as_dir in $PATH
113do
114  IFS=$as_save_IFS
115  test -z "$as_dir" && as_dir=.
116  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
118
119       ;;
120  esac
121  # We did not find ourselves, most probably we were run as `sh COMMAND'
122  # in which case we are not to be found in the path.
123  if test "x$as_myself" = x; then
124    as_myself=$0
125  fi
126  if test ! -f "$as_myself"; then
127    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128   { (exit 1); exit 1; }; }
129  fi
130  case $CONFIG_SHELL in
131  '')
132    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do
135  IFS=$as_save_IFS
136  test -z "$as_dir" && as_dir=.
137  for as_base in sh bash ksh sh5; do
138         case $as_dir in
139         /*)
140           if ("$as_dir/$as_base" -c '
141  as_lineno_1=$LINENO
142  as_lineno_2=$LINENO
143  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144  test "x$as_lineno_1" != "x$as_lineno_2" &&
145  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148             CONFIG_SHELL=$as_dir/$as_base
149             export CONFIG_SHELL
150             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151           fi;;
152         esac
153       done
154done
155;;
156  esac
157
158  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159  # uniformly replaced by the line number.  The first 'sed' inserts a
160  # line-number line before each line; the second 'sed' does the real
161  # work.  The second script uses 'N' to pair each line-number line
162  # with the numbered line, and appends trailing '-' during
163  # substitution so that $LINENO is not a special case at line end.
164  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166  sed '=' <$as_myself |
167    sed '
168      N
169      s,$,-,
170      : loop
171      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172      t loop
173      s,-$,,
174      s,^['$as_cr_digits']*\n,,
175    ' >$as_me.lineno &&
176  chmod +x $as_me.lineno ||
177    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178   { (exit 1); exit 1; }; }
179
180  # Don't try to exec as it changes $[0], causing all sort of problems
181  # (the dirname of $[0] is not the place where we might find the
182  # original and so on.  Autoconf is especially sensible to this).
183  . ./$as_me.lineno
184  # Exit status is that of the last command.
185  exit
186}
187
188
189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190  *c*,-n*) ECHO_N= ECHO_C='
191' ECHO_T='      ' ;;
192  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194esac
195
196if expr a : '\(a\)' >/dev/null 2>&1; then
197  as_expr=expr
198else
199  as_expr=false
200fi
201
202rm -f conf$$ conf$$.exe conf$$.file
203echo >conf$$.file
204if ln -s conf$$.file conf$$ 2>/dev/null; then
205  # We could just check for DJGPP; but this test a) works b) is more generic
206  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207  if test -f conf$$.exe; then
208    # Don't use ln at all; we don't have any links
209    as_ln_s='cp -p'
210  else
211    as_ln_s='ln -s'
212  fi
213elif ln conf$$.file conf$$ 2>/dev/null; then
214  as_ln_s=ln
215else
216  as_ln_s='cp -p'
217fi
218rm -f conf$$ conf$$.exe conf$$.file
219
220if mkdir -p . 2>/dev/null; then
221  as_mkdir_p=:
222else
223  as_mkdir_p=false
224fi
225
226as_executable_p="test -f"
227
228# Sed expression to map a string onto a valid CPP name.
229as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230
231# Sed expression to map a string onto a valid variable name.
232as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233
234
235# IFS
236# We need space, tab and new line, in precisely that order.
237as_nl='
238'
239IFS="   $as_nl"
240
241# CDPATH.
242$as_unset CDPATH
243
244
245# Name of the host.
246# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247# so uname gets run too.
248ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249
250exec 6>&1
251
252#
253# Initializations.
254#
255ac_default_prefix=/usr/local
256ac_config_libobj_dir=.
257cross_compiling=no
258subdirs=
259MFLAGS=
260MAKEFLAGS=
261SHELL=${CONFIG_SHELL-/bin/sh}
262
263# Maximum number of lines to put in a shell here document.
264# This variable seems obsolete.  It should probably be removed, and
265# only ac_max_sed_lines should be used.
266: ${ac_max_here_lines=38}
267
268# Identity of this package.
269PACKAGE_NAME='rtems-c-src-lib-libbsp-powerpc-mvme5500'
270PACKAGE_TARNAME='rtems-c-src-lib-libbsp-powerpc-mvme5500'
271PACKAGE_VERSION='4.6.2'
272PACKAGE_STRING='rtems-c-src-lib-libbsp-powerpc-mvme5500 4.6.2'
273PACKAGE_BUGREPORT='rtems-bugs@OARcorp.com'
274
275ac_unique_file="bsp_specs"
276ac_default_prefix=/opt/rtems-4.6
277ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAKE ENDIF RTEMS_TOPdir PROJECT_TOPdir PROJECT_ROOT build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os RTEMS_CPU INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPU_CFLAGS CFLAGS_OPTIMIZE_V CFLAGS_DEBUG_V CFLAGS_PROFILE_V RTEMS_BSP_FAMILY RTEMS_CPU_MODEL RTEMS_BSP RTEMS_BSP_SPECS GCC_SPECS PROJECT_INCLUDE PROJECT_RELEASE RTEMS_ROOT BARE_CPU_MODEL BARE_CPU_CFLAGS MULTILIB_TRUE MULTILIB_FALSE bsplibdir RTEMS_HOST PACKHEX HAS_MP RTEMS_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP RTEMS_USE_GCC_TRUE RTEMS_USE_GCC_FALSE RTEMS_CPPFLAGS AR AS LD NM RANLIB OBJCOPY SIZE RTEMS_HAS_NETWORKING HAS_NETWORKING HAS_NETWORKING_TRUE HAS_NETWORKING_FALSE CCAS CCASFLAGS exceptions LIBOBJS LTLIBOBJS'
278ac_subst_files=''
279
280# Initialize some variables set by options.
281ac_init_help=
282ac_init_version=false
283# The variables have the same names as the options, with
284# dashes changed to underlines.
285cache_file=/dev/null
286exec_prefix=NONE
287no_create=
288no_recursion=
289prefix=NONE
290program_prefix=NONE
291program_suffix=NONE
292program_transform_name=s,x,x,
293silent=
294site=
295srcdir=
296verbose=
297x_includes=NONE
298x_libraries=NONE
299
300# Installation directory options.
301# These are left unexpanded so users can "make install exec_prefix=/foo"
302# and all the variables that are supposed to be based on exec_prefix
303# by default will actually change.
304# Use braces instead of parens because sh, perl, etc. also accept them.
305bindir='${exec_prefix}/bin'
306sbindir='${exec_prefix}/sbin'
307libexecdir='${exec_prefix}/libexec'
308datadir='${prefix}/share'
309sysconfdir='${prefix}/etc'
310sharedstatedir='${prefix}/com'
311localstatedir='${prefix}/var'
312libdir='${exec_prefix}/lib'
313includedir='${prefix}/include'
314oldincludedir='/usr/include'
315infodir='${prefix}/info'
316mandir='${prefix}/man'
317
318ac_prev=
319for ac_option
320do
321  # If the previous option needs an argument, assign it.
322  if test -n "$ac_prev"; then
323    eval "$ac_prev=\$ac_option"
324    ac_prev=
325    continue
326  fi
327
328  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329
330  # Accept the important Cygnus configure options, so we can diagnose typos.
331
332  case $ac_option in
333
334  -bindir | --bindir | --bindi | --bind | --bin | --bi)
335    ac_prev=bindir ;;
336  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337    bindir=$ac_optarg ;;
338
339  -build | --build | --buil | --bui | --bu)
340    ac_prev=build_alias ;;
341  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342    build_alias=$ac_optarg ;;
343
344  -cache-file | --cache-file | --cache-fil | --cache-fi \
345  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346    ac_prev=cache_file ;;
347  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349    cache_file=$ac_optarg ;;
350
351  --config-cache | -C)
352    cache_file=config.cache ;;
353
354  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355    ac_prev=datadir ;;
356  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357  | --da=*)
358    datadir=$ac_optarg ;;
359
360  -disable-* | --disable-*)
361    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362    # Reject names that are not valid shell variable names.
363    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365   { (exit 1); exit 1; }; }
366    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367    eval "enable_$ac_feature=no" ;;
368
369  -enable-* | --enable-*)
370    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371    # Reject names that are not valid shell variable names.
372    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374   { (exit 1); exit 1; }; }
375    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376    case $ac_option in
377      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378      *) ac_optarg=yes ;;
379    esac
380    eval "enable_$ac_feature='$ac_optarg'" ;;
381
382  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384  | --exec | --exe | --ex)
385    ac_prev=exec_prefix ;;
386  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388  | --exec=* | --exe=* | --ex=*)
389    exec_prefix=$ac_optarg ;;
390
391  -gas | --gas | --ga | --g)
392    # Obsolete; use --with-gas.
393    with_gas=yes ;;
394
395  -help | --help | --hel | --he | -h)
396    ac_init_help=long ;;
397  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398    ac_init_help=recursive ;;
399  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400    ac_init_help=short ;;
401
402  -host | --host | --hos | --ho)
403    ac_prev=host_alias ;;
404  -host=* | --host=* | --hos=* | --ho=*)
405    host_alias=$ac_optarg ;;
406
407  -includedir | --includedir | --includedi | --included | --include \
408  | --includ | --inclu | --incl | --inc)
409    ac_prev=includedir ;;
410  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411  | --includ=* | --inclu=* | --incl=* | --inc=*)
412    includedir=$ac_optarg ;;
413
414  -infodir | --infodir | --infodi | --infod | --info | --inf)
415    ac_prev=infodir ;;
416  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417    infodir=$ac_optarg ;;
418
419  -libdir | --libdir | --libdi | --libd)
420    ac_prev=libdir ;;
421  -libdir=* | --libdir=* | --libdi=* | --libd=*)
422    libdir=$ac_optarg ;;
423
424  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425  | --libexe | --libex | --libe)
426    ac_prev=libexecdir ;;
427  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428  | --libexe=* | --libex=* | --libe=*)
429    libexecdir=$ac_optarg ;;
430
431  -localstatedir | --localstatedir | --localstatedi | --localstated \
432  | --localstate | --localstat | --localsta | --localst \
433  | --locals | --local | --loca | --loc | --lo)
434    ac_prev=localstatedir ;;
435  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438    localstatedir=$ac_optarg ;;
439
440  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441    ac_prev=mandir ;;
442  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443    mandir=$ac_optarg ;;
444
445  -nfp | --nfp | --nf)
446    # Obsolete; use --without-fp.
447    with_fp=no ;;
448
449  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450  | --no-cr | --no-c | -n)
451    no_create=yes ;;
452
453  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455    no_recursion=yes ;;
456
457  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459  | --oldin | --oldi | --old | --ol | --o)
460    ac_prev=oldincludedir ;;
461  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464    oldincludedir=$ac_optarg ;;
465
466  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467    ac_prev=prefix ;;
468  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469    prefix=$ac_optarg ;;
470
471  -program-prefix | --program-prefix | --program-prefi | --program-pref \
472  | --program-pre | --program-pr | --program-p)
473    ac_prev=program_prefix ;;
474  -program-prefix=* | --program-prefix=* | --program-prefi=* \
475  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476    program_prefix=$ac_optarg ;;
477
478  -program-suffix | --program-suffix | --program-suffi | --program-suff \
479  | --program-suf | --program-su | --program-s)
480    ac_prev=program_suffix ;;
481  -program-suffix=* | --program-suffix=* | --program-suffi=* \
482  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483    program_suffix=$ac_optarg ;;
484
485  -program-transform-name | --program-transform-name \
486  | --program-transform-nam | --program-transform-na \
487  | --program-transform-n | --program-transform- \
488  | --program-transform | --program-transfor \
489  | --program-transfo | --program-transf \
490  | --program-trans | --program-tran \
491  | --progr-tra | --program-tr | --program-t)
492    ac_prev=program_transform_name ;;
493  -program-transform-name=* | --program-transform-name=* \
494  | --program-transform-nam=* | --program-transform-na=* \
495  | --program-transform-n=* | --program-transform-=* \
496  | --program-transform=* | --program-transfor=* \
497  | --program-transfo=* | --program-transf=* \
498  | --program-trans=* | --program-tran=* \
499  | --progr-tra=* | --program-tr=* | --program-t=*)
500    program_transform_name=$ac_optarg ;;
501
502  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503  | -silent | --silent | --silen | --sile | --sil)
504    silent=yes ;;
505
506  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507    ac_prev=sbindir ;;
508  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509  | --sbi=* | --sb=*)
510    sbindir=$ac_optarg ;;
511
512  -sharedstatedir | --sharedstatedir | --sharedstatedi \
513  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514  | --sharedst | --shareds | --shared | --share | --shar \
515  | --sha | --sh)
516    ac_prev=sharedstatedir ;;
517  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520  | --sha=* | --sh=*)
521    sharedstatedir=$ac_optarg ;;
522
523  -site | --site | --sit)
524    ac_prev=site ;;
525  -site=* | --site=* | --sit=*)
526    site=$ac_optarg ;;
527
528  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529    ac_prev=srcdir ;;
530  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531    srcdir=$ac_optarg ;;
532
533  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534  | --syscon | --sysco | --sysc | --sys | --sy)
535    ac_prev=sysconfdir ;;
536  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538    sysconfdir=$ac_optarg ;;
539
540  -target | --target | --targe | --targ | --tar | --ta | --t)
541    ac_prev=target_alias ;;
542  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543    target_alias=$ac_optarg ;;
544
545  -v | -verbose | --verbose | --verbos | --verbo | --verb)
546    verbose=yes ;;
547
548  -version | --version | --versio | --versi | --vers | -V)
549    ac_init_version=: ;;
550
551  -with-* | --with-*)
552    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553    # Reject names that are not valid shell variable names.
554    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555      { echo "$as_me: error: invalid package name: $ac_package" >&2
556   { (exit 1); exit 1; }; }
557    ac_package=`echo $ac_package| sed 's/-/_/g'`
558    case $ac_option in
559      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560      *) ac_optarg=yes ;;
561    esac
562    eval "with_$ac_package='$ac_optarg'" ;;
563
564  -without-* | --without-*)
565    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566    # Reject names that are not valid shell variable names.
567    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568      { echo "$as_me: error: invalid package name: $ac_package" >&2
569   { (exit 1); exit 1; }; }
570    ac_package=`echo $ac_package | sed 's/-/_/g'`
571    eval "with_$ac_package=no" ;;
572
573  --x)
574    # Obsolete; use --with-x.
575    with_x=yes ;;
576
577  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578  | --x-incl | --x-inc | --x-in | --x-i)
579    ac_prev=x_includes ;;
580  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582    x_includes=$ac_optarg ;;
583
584  -x-libraries | --x-libraries | --x-librarie | --x-librari \
585  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586    ac_prev=x_libraries ;;
587  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589    x_libraries=$ac_optarg ;;
590
591  -*) { echo "$as_me: error: unrecognized option: $ac_option
592Try \`$0 --help' for more information." >&2
593   { (exit 1); exit 1; }; }
594    ;;
595
596  *=*)
597    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598    # Reject names that are not valid shell variable names.
599    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601   { (exit 1); exit 1; }; }
602    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603    eval "$ac_envvar='$ac_optarg'"
604    export $ac_envvar ;;
605
606  *)
607    # FIXME: should be removed in autoconf 3.0.
608    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
612    ;;
613
614  esac
615done
616
617if test -n "$ac_prev"; then
618  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619  { echo "$as_me: error: missing argument to $ac_option" >&2
620   { (exit 1); exit 1; }; }
621fi
622
623# Be sure to have absolute paths.
624for ac_var in exec_prefix prefix
625do
626  eval ac_val=$`echo $ac_var`
627  case $ac_val in
628    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630   { (exit 1); exit 1; }; };;
631  esac
632done
633
634# Be sure to have absolute paths.
635for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636              localstatedir libdir includedir oldincludedir infodir mandir
637do
638  eval ac_val=$`echo $ac_var`
639  case $ac_val in
640    [\\/$]* | ?:[\\/]* ) ;;
641    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642   { (exit 1); exit 1; }; };;
643  esac
644done
645
646# There might be people who depend on the old broken behavior: `$host'
647# used to hold the argument of --host etc.
648# FIXME: To remove some day.
649build=$build_alias
650host=$host_alias
651target=$target_alias
652
653# FIXME: To remove some day.
654if test "x$host_alias" != x; then
655  if test "x$build_alias" = x; then
656    cross_compiling=maybe
657    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658    If a cross compiler is detected then cross compile mode will be used." >&2
659  elif test "x$build_alias" != "x$host_alias"; then
660    cross_compiling=yes
661  fi
662fi
663
664ac_tool_prefix=
665test -n "$host_alias" && ac_tool_prefix=$host_alias-
666
667test "$silent" = yes && exec 6>/dev/null
668
669
670# Find the source files, if location was not specified.
671if test -z "$srcdir"; then
672  ac_srcdir_defaulted=yes
673  # Try the directory containing this script, then its parent.
674  ac_confdir=`(dirname "$0") 2>/dev/null ||
675$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676         X"$0" : 'X\(//\)[^/]' \| \
677         X"$0" : 'X\(//\)$' \| \
678         X"$0" : 'X\(/\)' \| \
679         .     : '\(.\)' 2>/dev/null ||
680echo X"$0" |
681    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683          /^X\(\/\/\)$/{ s//\1/; q; }
684          /^X\(\/\).*/{ s//\1/; q; }
685          s/.*/./; q'`
686  srcdir=$ac_confdir
687  if test ! -r $srcdir/$ac_unique_file; then
688    srcdir=..
689  fi
690else
691  ac_srcdir_defaulted=no
692fi
693if test ! -r $srcdir/$ac_unique_file; then
694  if test "$ac_srcdir_defaulted" = yes; then
695    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696   { (exit 1); exit 1; }; }
697  else
698    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699   { (exit 1); exit 1; }; }
700  fi
701fi
702(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704   { (exit 1); exit 1; }; }
705srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706ac_env_build_alias_set=${build_alias+set}
707ac_env_build_alias_value=$build_alias
708ac_cv_env_build_alias_set=${build_alias+set}
709ac_cv_env_build_alias_value=$build_alias
710ac_env_host_alias_set=${host_alias+set}
711ac_env_host_alias_value=$host_alias
712ac_cv_env_host_alias_set=${host_alias+set}
713ac_cv_env_host_alias_value=$host_alias
714ac_env_target_alias_set=${target_alias+set}
715ac_env_target_alias_value=$target_alias
716ac_cv_env_target_alias_set=${target_alias+set}
717ac_cv_env_target_alias_value=$target_alias
718ac_env_CPU_CFLAGS_set=${CPU_CFLAGS+set}
719ac_env_CPU_CFLAGS_value=$CPU_CFLAGS
720ac_cv_env_CPU_CFLAGS_set=${CPU_CFLAGS+set}
721ac_cv_env_CPU_CFLAGS_value=$CPU_CFLAGS
722ac_env_CFLAGS_OPTIMIZE_V_set=${CFLAGS_OPTIMIZE_V+set}
723ac_env_CFLAGS_OPTIMIZE_V_value=$CFLAGS_OPTIMIZE_V
724ac_cv_env_CFLAGS_OPTIMIZE_V_set=${CFLAGS_OPTIMIZE_V+set}
725ac_cv_env_CFLAGS_OPTIMIZE_V_value=$CFLAGS_OPTIMIZE_V
726ac_env_CFLAGS_DEBUG_V_set=${CFLAGS_DEBUG_V+set}
727ac_env_CFLAGS_DEBUG_V_value=$CFLAGS_DEBUG_V
728ac_cv_env_CFLAGS_DEBUG_V_set=${CFLAGS_DEBUG_V+set}
729ac_cv_env_CFLAGS_DEBUG_V_value=$CFLAGS_DEBUG_V
730ac_env_CFLAGS_PROFILE_V_set=${CFLAGS_PROFILE_V+set}
731ac_env_CFLAGS_PROFILE_V_value=$CFLAGS_PROFILE_V
732ac_cv_env_CFLAGS_PROFILE_V_set=${CFLAGS_PROFILE_V+set}
733ac_cv_env_CFLAGS_PROFILE_V_value=$CFLAGS_PROFILE_V
734ac_env_RTEMS_BSP_FAMILY_set=${RTEMS_BSP_FAMILY+set}
735ac_env_RTEMS_BSP_FAMILY_value=$RTEMS_BSP_FAMILY
736ac_cv_env_RTEMS_BSP_FAMILY_set=${RTEMS_BSP_FAMILY+set}
737ac_cv_env_RTEMS_BSP_FAMILY_value=$RTEMS_BSP_FAMILY
738ac_env_RTEMS_CPU_MODEL_set=${RTEMS_CPU_MODEL+set}
739ac_env_RTEMS_CPU_MODEL_value=$RTEMS_CPU_MODEL
740ac_cv_env_RTEMS_CPU_MODEL_set=${RTEMS_CPU_MODEL+set}
741ac_cv_env_RTEMS_CPU_MODEL_value=$RTEMS_CPU_MODEL
742ac_env_RTEMS_BSP_set=${RTEMS_BSP+set}
743ac_env_RTEMS_BSP_value=$RTEMS_BSP
744ac_cv_env_RTEMS_BSP_set=${RTEMS_BSP+set}
745ac_cv_env_RTEMS_BSP_value=$RTEMS_BSP
746ac_env_CC_set=${CC+set}
747ac_env_CC_value=$CC
748ac_cv_env_CC_set=${CC+set}
749ac_cv_env_CC_value=$CC
750ac_env_CFLAGS_set=${CFLAGS+set}
751ac_env_CFLAGS_value=$CFLAGS
752ac_cv_env_CFLAGS_set=${CFLAGS+set}
753ac_cv_env_CFLAGS_value=$CFLAGS
754ac_env_LDFLAGS_set=${LDFLAGS+set}
755ac_env_LDFLAGS_value=$LDFLAGS
756ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
757ac_cv_env_LDFLAGS_value=$LDFLAGS
758ac_env_CPPFLAGS_set=${CPPFLAGS+set}
759ac_env_CPPFLAGS_value=$CPPFLAGS
760ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
761ac_cv_env_CPPFLAGS_value=$CPPFLAGS
762ac_env_CPP_set=${CPP+set}
763ac_env_CPP_value=$CPP
764ac_cv_env_CPP_set=${CPP+set}
765ac_cv_env_CPP_value=$CPP
766
767#
768# Report the --help message.
769#
770if test "$ac_init_help" = "long"; then
771  # Omit some internal or obsolete options to make the list less imposing.
772  # This message is too long to be a string in the A/UX 3.1 sh.
773  cat <<_ACEOF
774\`configure' configures rtems-c-src-lib-libbsp-powerpc-mvme5500 4.6.2 to adapt to many kinds of systems.
775
776Usage: $0 [OPTION]... [VAR=VALUE]...
777
778To assign environment variables (e.g., CC, CFLAGS...), specify them as
779VAR=VALUE.  See below for descriptions of some of the useful variables.
780
781Defaults for the options are specified in brackets.
782
783Configuration:
784  -h, --help              display this help and exit
785      --help=short        display options specific to this package
786      --help=recursive    display the short help of all the included packages
787  -V, --version           display version information and exit
788  -q, --quiet, --silent   do not print \`checking...' messages
789      --cache-file=FILE   cache test results in FILE [disabled]
790  -C, --config-cache      alias for \`--cache-file=config.cache'
791  -n, --no-create         do not create output files
792      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
793
794_ACEOF
795
796  cat <<_ACEOF
797Installation directories:
798  --prefix=PREFIX         install architecture-independent files in PREFIX
799                          [$ac_default_prefix]
800  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
801                          [PREFIX]
802
803By default, \`make install' will install all the files in
804\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
805an installation prefix other than \`$ac_default_prefix' using \`--prefix',
806for instance \`--prefix=\$HOME'.
807
808For better control, use the options below.
809
810Fine tuning of the installation directories:
811  --bindir=DIR           user executables [EPREFIX/bin]
812  --sbindir=DIR          system admin executables [EPREFIX/sbin]
813  --libexecdir=DIR       program executables [EPREFIX/libexec]
814  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
815  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
816  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
817  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
818  --libdir=DIR           object code libraries [EPREFIX/lib]
819  --includedir=DIR       C header files [PREFIX/include]
820  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
821  --infodir=DIR          info documentation [PREFIX/info]
822  --mandir=DIR           man documentation [PREFIX/man]
823_ACEOF
824
825  cat <<\_ACEOF
826
827Program names:
828  --program-prefix=PREFIX            prepend PREFIX to installed program names
829  --program-suffix=SUFFIX            append SUFFIX to installed program names
830  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
831
832System types:
833  --build=BUILD     configure for building on BUILD [guessed]
834  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
835  --target=TARGET   configure for building compilers for TARGET [HOST]
836_ACEOF
837fi
838
839if test -n "$ac_init_help"; then
840  case $ac_init_help in
841     short | recursive ) echo "Configuration of rtems-c-src-lib-libbsp-powerpc-mvme5500 4.6.2:";;
842   esac
843  cat <<\_ACEOF
844
845Optional Features:
846  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
847  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
848  --enable-maintainer-mode enable make rules and dependencies not useful
849                          (and sometimes confusing) to the casual installer
850  --enable-bare-cpu-cflags
851                          specify a particular cpu cflag (bare bsp specific)
852  --enable-bare-cpu-model specify a particular cpu model (bare bsp specific)
853  --enable-multilib       build many library versions (default=no)
854  --enable-multiprocessing
855                          enable multiprocessing interface
856  --disable-dependency-tracking Speeds up one-time builds
857  --enable-dependency-tracking  Do not reject slow dependency extractors
858  --enable-networking     enable TCP/IP stack
859
860Some influential environment variables:
861  CPU_CFLAGS  CFLAGS specifying CPU-dependent features
862  CFLAGS_OPTIMIZE_V
863              CFLAGS for building the OPTIMIZE variant
864  CFLAGS_DEBUG_V
865              CFLAGS for building the DEBUG variant
866  CFLAGS_PROFILE_V
867              CFLAGS for building the PROFILE variant
868  RTEMS_BSP_FAMILY
869              RTEMS's BSP directory
870  RTEMS_CPU_MODEL
871              RTEMS's cpu model
872  RTEMS_BSP   RTEMS_BSP to build
873  CC          C compiler command
874  CFLAGS      C compiler flags
875  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
876              nonstandard directory <lib dir>
877  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
878              headers in a nonstandard directory <include dir>
879  CPP         C preprocessor
880  PPC_USE_DATA_CACHE
881              If defined, then the PowerPC specific code in RTEMS will use
882              data cache instructions to optimize the context switch code.
883              This code can conflict with debuggers or emulators. It is known
884              to break the Corelis PowerPC emulator with at least some
885              combinations of PowerPC 603e revisions and emulator versions.
886              The BSP actually contains the call that enables this.
887
888Use these variables to override the choices made by `configure' or to help
889it to find libraries and programs with nonstandard names/locations.
890
891Report bugs to <rtems-bugs@OARcorp.com>.
892_ACEOF
893fi
894
895if test "$ac_init_help" = "recursive"; then
896  # If there are subdirs, report their specific --help.
897  ac_popdir=`pwd`
898  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
899    test -d $ac_dir || continue
900    ac_builddir=.
901
902if test "$ac_dir" != .; then
903  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904  # A "../" for each directory in $ac_dir_suffix.
905  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
906else
907  ac_dir_suffix= ac_top_builddir=
908fi
909
910case $srcdir in
911  .)  # No --srcdir option.  We are building in place.
912    ac_srcdir=.
913    if test -z "$ac_top_builddir"; then
914       ac_top_srcdir=.
915    else
916       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
917    fi ;;
918  [\\/]* | ?:[\\/]* )  # Absolute path.
919    ac_srcdir=$srcdir$ac_dir_suffix;
920    ac_top_srcdir=$srcdir ;;
921  *) # Relative path.
922    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
923    ac_top_srcdir=$ac_top_builddir$srcdir ;;
924esac
925# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
926# absolute.
927ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
928ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
929ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
930ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
931
932    cd $ac_dir
933    # Check for guested configure; otherwise get Cygnus style configure.
934    if test -f $ac_srcdir/configure.gnu; then
935      echo
936      $SHELL $ac_srcdir/configure.gnu  --help=recursive
937    elif test -f $ac_srcdir/configure; then
938      echo
939      $SHELL $ac_srcdir/configure  --help=recursive
940    elif test -f $ac_srcdir/configure.ac ||
941           test -f $ac_srcdir/configure.in; then
942      echo
943      $ac_configure --help
944    else
945      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
946    fi
947    cd $ac_popdir
948  done
949fi
950
951test -n "$ac_init_help" && exit 0
952if $ac_init_version; then
953  cat <<\_ACEOF
954rtems-c-src-lib-libbsp-powerpc-mvme5500 configure 4.6.2
955generated by GNU Autoconf 2.57
956
957Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
958Free Software Foundation, Inc.
959This configure script is free software; the Free Software Foundation
960gives unlimited permission to copy, distribute and modify it.
961_ACEOF
962  exit 0
963fi
964exec 5>config.log
965cat >&5 <<_ACEOF
966This file contains any messages produced by compilers while
967running configure, to aid debugging if configure makes a mistake.
968
969It was created by rtems-c-src-lib-libbsp-powerpc-mvme5500 $as_me 4.6.2, which was
970generated by GNU Autoconf 2.57.  Invocation command line was
971
972  $ $0 $@
973
974_ACEOF
975{
976cat <<_ASUNAME
977## --------- ##
978## Platform. ##
979## --------- ##
980
981hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
982uname -m = `(uname -m) 2>/dev/null || echo unknown`
983uname -r = `(uname -r) 2>/dev/null || echo unknown`
984uname -s = `(uname -s) 2>/dev/null || echo unknown`
985uname -v = `(uname -v) 2>/dev/null || echo unknown`
986
987/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
988/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
989
990/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
991/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
992/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
993hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
994/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
995/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
996/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
997
998_ASUNAME
999
1000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1001for as_dir in $PATH
1002do
1003  IFS=$as_save_IFS
1004  test -z "$as_dir" && as_dir=.
1005  echo "PATH: $as_dir"
1006done
1007
1008} >&5
1009
1010cat >&5 <<_ACEOF
1011
1012
1013## ----------- ##
1014## Core tests. ##
1015## ----------- ##
1016
1017_ACEOF
1018
1019
1020# Keep a trace of the command line.
1021# Strip out --no-create and --no-recursion so they do not pile up.
1022# Strip out --silent because we don't want to record it for future runs.
1023# Also quote any args containing shell meta-characters.
1024# Make two passes to allow for proper duplicate-argument suppression.
1025ac_configure_args=
1026ac_configure_args0=
1027ac_configure_args1=
1028ac_sep=
1029ac_must_keep_next=false
1030for ac_pass in 1 2
1031do
1032  for ac_arg
1033  do
1034    case $ac_arg in
1035    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1036    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1037    | -silent | --silent | --silen | --sile | --sil)
1038      continue ;;
1039    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1040      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1041    esac
1042    case $ac_pass in
1043    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1044    2)
1045      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1046      if test $ac_must_keep_next = true; then
1047        ac_must_keep_next=false # Got value, back to normal.
1048      else
1049        case $ac_arg in
1050          *=* | --config-cache | -C | -disable-* | --disable-* \
1051          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1052          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1053          | -with-* | --with-* | -without-* | --without-* | --x)
1054            case "$ac_configure_args0 " in
1055              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1056            esac
1057            ;;
1058          -* ) ac_must_keep_next=true ;;
1059        esac
1060      fi
1061      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1062      # Get rid of the leading space.
1063      ac_sep=" "
1064      ;;
1065    esac
1066  done
1067done
1068$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1069$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1070
1071# When interrupted or exit'd, cleanup temporary files, and complete
1072# config.log.  We remove comments because anyway the quotes in there
1073# would cause problems or look ugly.
1074# WARNING: Be sure not to use single quotes in there, as some shells,
1075# such as our DU 5.0 friend, will then `close' the trap.
1076trap 'exit_status=$?
1077  # Save into config.log some information that might help in debugging.
1078  {
1079    echo
1080
1081    cat <<\_ASBOX
1082## ---------------- ##
1083## Cache variables. ##
1084## ---------------- ##
1085_ASBOX
1086    echo
1087    # The following way of writing the cache mishandles newlines in values,
1088{
1089  (set) 2>&1 |
1090    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1091    *ac_space=\ *)
1092      sed -n \
1093        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1094          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1095      ;;
1096    *)
1097      sed -n \
1098        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1099      ;;
1100    esac;
1101}
1102    echo
1103
1104    cat <<\_ASBOX
1105## ----------------- ##
1106## Output variables. ##
1107## ----------------- ##
1108_ASBOX
1109    echo
1110    for ac_var in $ac_subst_vars
1111    do
1112      eval ac_val=$`echo $ac_var`
1113      echo "$ac_var='"'"'$ac_val'"'"'"
1114    done | sort
1115    echo
1116
1117    if test -n "$ac_subst_files"; then
1118      cat <<\_ASBOX
1119## ------------- ##
1120## Output files. ##
1121## ------------- ##
1122_ASBOX
1123      echo
1124      for ac_var in $ac_subst_files
1125      do
1126        eval ac_val=$`echo $ac_var`
1127        echo "$ac_var='"'"'$ac_val'"'"'"
1128      done | sort
1129      echo
1130    fi
1131
1132    if test -s confdefs.h; then
1133      cat <<\_ASBOX
1134## ----------- ##
1135## confdefs.h. ##
1136## ----------- ##
1137_ASBOX
1138      echo
1139      sed "/^$/d" confdefs.h | sort
1140      echo
1141    fi
1142    test "$ac_signal" != 0 &&
1143      echo "$as_me: caught signal $ac_signal"
1144    echo "$as_me: exit $exit_status"
1145  } >&5
1146  rm -f core core.* *.core &&
1147  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1148    exit $exit_status
1149     ' 0
1150for ac_signal in 1 2 13 15; do
1151  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1152done
1153ac_signal=0
1154
1155# confdefs.h avoids OS command line length limits that DEFS can exceed.
1156rm -rf conftest* confdefs.h
1157# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1158echo >confdefs.h
1159
1160# Predefined preprocessor variables.
1161
1162cat >>confdefs.h <<_ACEOF
1163#define PACKAGE_NAME "$PACKAGE_NAME"
1164_ACEOF
1165
1166
1167cat >>confdefs.h <<_ACEOF
1168#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1169_ACEOF
1170
1171
1172cat >>confdefs.h <<_ACEOF
1173#define PACKAGE_VERSION "$PACKAGE_VERSION"
1174_ACEOF
1175
1176
1177cat >>confdefs.h <<_ACEOF
1178#define PACKAGE_STRING "$PACKAGE_STRING"
1179_ACEOF
1180
1181
1182cat >>confdefs.h <<_ACEOF
1183#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1184_ACEOF
1185
1186
1187# Let the site file select an alternate cache file if it wants to.
1188# Prefer explicitly selected file to automatically selected ones.
1189if test -z "$CONFIG_SITE"; then
1190  if test "x$prefix" != xNONE; then
1191    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1192  else
1193    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1194  fi
1195fi
1196for ac_site_file in $CONFIG_SITE; do
1197  if test -r "$ac_site_file"; then
1198    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1199echo "$as_me: loading site script $ac_site_file" >&6;}
1200    sed 's/^/| /' "$ac_site_file" >&5
1201    . "$ac_site_file"
1202  fi
1203done
1204
1205if test -r "$cache_file"; then
1206  # Some versions of bash will fail to source /dev/null (special
1207  # files actually), so we avoid doing that.
1208  if test -f "$cache_file"; then
1209    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1210echo "$as_me: loading cache $cache_file" >&6;}
1211    case $cache_file in
1212      [\\/]* | ?:[\\/]* ) . $cache_file;;
1213      *)                      . ./$cache_file;;
1214    esac
1215  fi
1216else
1217  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1218echo "$as_me: creating cache $cache_file" >&6;}
1219  >$cache_file
1220fi
1221
1222# Check that the precious variables saved in the cache have kept the same
1223# value.
1224ac_cache_corrupted=false
1225for ac_var in `(set) 2>&1 |
1226               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1227  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1228  eval ac_new_set=\$ac_env_${ac_var}_set
1229  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1230  eval ac_new_val="\$ac_env_${ac_var}_value"
1231  case $ac_old_set,$ac_new_set in
1232    set,)
1233      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1234echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1235      ac_cache_corrupted=: ;;
1236    ,set)
1237      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1238echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1239      ac_cache_corrupted=: ;;
1240    ,);;
1241    *)
1242      if test "x$ac_old_val" != "x$ac_new_val"; then
1243        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1244echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1245        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1246echo "$as_me:   former value:  $ac_old_val" >&2;}
1247        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1248echo "$as_me:   current value: $ac_new_val" >&2;}
1249        ac_cache_corrupted=:
1250      fi;;
1251  esac
1252  # Pass precious variables to config.status.
1253  if test "$ac_new_set" = set; then
1254    case $ac_new_val in
1255    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1256      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1257    *) ac_arg=$ac_var=$ac_new_val ;;
1258    esac
1259    case " $ac_configure_args " in
1260      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1261      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1262    esac
1263  fi
1264done
1265if $ac_cache_corrupted; then
1266  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1267echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1268  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1269echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1270   { (exit 1); exit 1; }; }
1271fi
1272
1273ac_ext=c
1274ac_cpp='$CPP $CPPFLAGS'
1275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1277ac_compiler_gnu=$ac_cv_c_compiler_gnu
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308ac_aux_dir=
1309for ac_dir in ../../../../../.. $srcdir/../../../../../..; do
1310  if test -f $ac_dir/install-sh; then
1311    ac_aux_dir=$ac_dir
1312    ac_install_sh="$ac_aux_dir/install-sh -c"
1313    break
1314  elif test -f $ac_dir/install.sh; then
1315    ac_aux_dir=$ac_dir
1316    ac_install_sh="$ac_aux_dir/install.sh -c"
1317    break
1318  elif test -f $ac_dir/shtool; then
1319    ac_aux_dir=$ac_dir
1320    ac_install_sh="$ac_aux_dir/shtool install -c"
1321    break
1322  fi
1323done
1324if test -z "$ac_aux_dir"; then
1325  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../../../.. $srcdir/../../../../../.." >&5
1326echo "$as_me: error: cannot find install-sh or install.sh in ../../../../../.. $srcdir/../../../../../.." >&2;}
1327   { (exit 1); exit 1; }; }
1328fi
1329ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1330ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1331ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1332
1333for ac_prog in gmake make
1334do
1335  # Extract the first word of "$ac_prog", so it can be a program name with args.
1336set dummy $ac_prog; ac_word=$2
1337echo "$as_me:$LINENO: checking for $ac_word" >&5
1338echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1339if test "${ac_cv_prog_MAKE+set}" = set; then
1340  echo $ECHO_N "(cached) $ECHO_C" >&6
1341else
1342  if test -n "$MAKE"; then
1343  ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
1344else
1345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1346for as_dir in $PATH
1347do
1348  IFS=$as_save_IFS
1349  test -z "$as_dir" && as_dir=.
1350  for ac_exec_ext in '' $ac_executable_extensions; do
1351  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1352    ac_cv_prog_MAKE="$ac_prog"
1353    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1354    break 2
1355  fi
1356done
1357done
1358
1359fi
1360fi
1361MAKE=$ac_cv_prog_MAKE
1362if test -n "$MAKE"; then
1363  echo "$as_me:$LINENO: result: $MAKE" >&5
1364echo "${ECHO_T}$MAKE" >&6
1365else
1366  echo "$as_me:$LINENO: result: no" >&5
1367echo "${ECHO_T}no" >&6
1368fi
1369
1370  test -n "$MAKE" && break
1371done
1372
1373
1374
1375
1376ENDIF=endif
1377
1378
1379RTEMS_TOPdir="../../../../../..";
1380
1381
1382test -n "$with_target_subdir" || with_target_subdir="."
1383
1384if test "$with_target_subdir" = "." ; then
1385# Native
1386PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
1387else
1388# Cross
1389dots=`echo $with_target_subdir|\
1390sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
1391PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
1392fi
1393
1394
1395PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
1396
1397
1398echo "$as_me:$LINENO: checking for RTEMS Version" >&5
1399echo $ECHO_N "checking for RTEMS Version... $ECHO_C" >&6
1400if test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"; then
1401  :
1402else
1403  { { echo "$as_me:$LINENO: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&5
1404echo "$as_me: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&2;}
1405   { (exit 1); exit 1; }; }
1406fi
1407
1408echo "$as_me:$LINENO: result: 4.6.2" >&5
1409echo "${ECHO_T}4.6.2" >&6
1410
1411
1412# Make sure we can run config.sub.
1413$ac_config_sub sun4 >/dev/null 2>&1 ||
1414  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1415echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1416   { (exit 1); exit 1; }; }
1417
1418echo "$as_me:$LINENO: checking build system type" >&5
1419echo $ECHO_N "checking build system type... $ECHO_C" >&6
1420if test "${ac_cv_build+set}" = set; then
1421  echo $ECHO_N "(cached) $ECHO_C" >&6
1422else
1423  ac_cv_build_alias=$build_alias
1424test -z "$ac_cv_build_alias" &&
1425  ac_cv_build_alias=`$ac_config_guess`
1426test -z "$ac_cv_build_alias" &&
1427  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1428echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1429   { (exit 1); exit 1; }; }
1430ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1431  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1432echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1433   { (exit 1); exit 1; }; }
1434
1435fi
1436echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1437echo "${ECHO_T}$ac_cv_build" >&6
1438build=$ac_cv_build
1439build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1440build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1441build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1442
1443
1444echo "$as_me:$LINENO: checking host system type" >&5
1445echo $ECHO_N "checking host system type... $ECHO_C" >&6
1446if test "${ac_cv_host+set}" = set; then
1447  echo $ECHO_N "(cached) $ECHO_C" >&6
1448else
1449  ac_cv_host_alias=$host_alias
1450test -z "$ac_cv_host_alias" &&
1451  ac_cv_host_alias=$ac_cv_build_alias
1452ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1453  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1454echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1455   { (exit 1); exit 1; }; }
1456
1457fi
1458echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1459echo "${ECHO_T}$ac_cv_host" >&6
1460host=$ac_cv_host
1461host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1462host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1463host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1464
1465
1466
1467echo "$as_me:$LINENO: checking target system type" >&5
1468echo $ECHO_N "checking target system type... $ECHO_C" >&6
1469if test "${ac_cv_target+set}" = set; then
1470  echo $ECHO_N "(cached) $ECHO_C" >&6
1471else
1472  ac_cv_target_alias=$target_alias
1473test "x$ac_cv_target_alias" = "x" &&
1474  ac_cv_target_alias=$ac_cv_host_alias
1475ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1476  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1477echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1478   { (exit 1); exit 1; }; }
1479
1480fi
1481echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1482echo "${ECHO_T}$ac_cv_target" >&6
1483target=$ac_cv_target
1484target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1485target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1486target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487
1488
1489# The aliases save the names the user supplied, while $host etc.
1490# will get canonicalized.
1491test -n "$target_alias" &&
1492  test "$program_prefix$program_suffix$program_transform_name" = \
1493    NONENONEs,x,x, &&
1494  program_prefix=${target_alias}-
1495echo "$as_me:$LINENO: checking rtems target cpu" >&5
1496echo $ECHO_N "checking rtems target cpu... $ECHO_C" >&6
1497case "${target}" in
1498  # hpux unix port should go here
1499  i[34567]86-*linux*)           # unix "simulator" port
1500        RTEMS_CPU=unix
1501        ;;
1502  i[34567]86-*freebsd*)         # unix "simulator" port
1503        RTEMS_CPU=unix
1504        ;;
1505  i[34567]86-pc-cygwin*)        # Cygwin is just enough unix like :)
1506        RTEMS_CPU=unix
1507        ;;
1508  no_cpu-*rtems*)
1509        RTEMS_CPU=no_cpu
1510        ;;
1511  sparc-sun-solaris*)           # unix "simulator" port
1512        RTEMS_CPU=unix
1513        ;;
1514  tic4x-*rtems*)                # gcc changed the name
1515        RTEMS_CPU=c4x
1516        ;;
1517  *)
1518        RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
1519        ;;
1520esac
1521
1522echo "$as_me:$LINENO: result: $RTEMS_CPU" >&5
1523echo "${ECHO_T}$RTEMS_CPU" >&6
1524
1525am__api_version="1.7"
1526# Find a good install program.  We prefer a C program (faster),
1527# so one script is as good as another.  But avoid the broken or
1528# incompatible versions:
1529# SysV /etc/install, /usr/sbin/install
1530# SunOS /usr/etc/install
1531# IRIX /sbin/install
1532# AIX /bin/install
1533# AmigaOS /C/install, which installs bootblocks on floppy discs
1534# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1535# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1536# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1537# ./install, which can be erroneously created by make from ./install.sh.
1538echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1539echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1540if test -z "$INSTALL"; then
1541if test "${ac_cv_path_install+set}" = set; then
1542  echo $ECHO_N "(cached) $ECHO_C" >&6
1543else
1544  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1545for as_dir in $PATH
1546do
1547  IFS=$as_save_IFS
1548  test -z "$as_dir" && as_dir=.
1549  # Account for people who put trailing slashes in PATH elements.
1550case $as_dir/ in
1551  ./ | .// | /cC/* | \
1552  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1553  /usr/ucb/* ) ;;
1554  *)
1555    # OSF1 and SCO ODT 3.0 have their own names for install.
1556    # Don't use installbsd from OSF since it installs stuff as root
1557    # by default.
1558    for ac_prog in ginstall scoinst install; do
1559      for ac_exec_ext in '' $ac_executable_extensions; do
1560        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1561          if test $ac_prog = install &&
1562            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1563            # AIX install.  It has an incompatible calling convention.
1564            :
1565          elif test $ac_prog = install &&
1566            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1567            # program-specific install script used by HP pwplus--don't use.
1568            :
1569          else
1570            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1571            break 3
1572          fi
1573        fi
1574      done
1575    done
1576    ;;
1577esac
1578done
1579
1580
1581fi
1582  if test "${ac_cv_path_install+set}" = set; then
1583    INSTALL=$ac_cv_path_install
1584  else
1585    # As a last resort, use the slow shell script.  We don't cache a
1586    # path for INSTALL within a source directory, because that will
1587    # break other packages using the cache if that directory is
1588    # removed, or if the path is relative.
1589    INSTALL=$ac_install_sh
1590  fi
1591fi
1592echo "$as_me:$LINENO: result: $INSTALL" >&5
1593echo "${ECHO_T}$INSTALL" >&6
1594
1595# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1596# It thinks the first close brace ends the variable substitution.
1597test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1598
1599test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1600
1601test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1602
1603echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1604echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1605# Just in case
1606sleep 1
1607echo timestamp > conftest.file
1608# Do `set' in a subshell so we don't clobber the current shell's
1609# arguments.  Must try -L first in case configure is actually a
1610# symlink; some systems play weird games with the mod time of symlinks
1611# (eg FreeBSD returns the mod time of the symlink's containing
1612# directory).
1613if (
1614   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1615   if test "$*" = "X"; then
1616      # -L didn't work.
1617      set X `ls -t $srcdir/configure conftest.file`
1618   fi
1619   rm -f conftest.file
1620   if test "$*" != "X $srcdir/configure conftest.file" \
1621      && test "$*" != "X conftest.file $srcdir/configure"; then
1622
1623      # If neither matched, then we have a broken ls.  This can happen
1624      # if, for instance, CONFIG_SHELL is bash and it inherits a
1625      # broken ls alias from the environment.  This has actually
1626      # happened.  Such a system could not be considered "sane".
1627      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1628alias in your environment" >&5
1629echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1630alias in your environment" >&2;}
1631   { (exit 1); exit 1; }; }
1632   fi
1633
1634   test "$2" = conftest.file
1635   )
1636then
1637   # Ok.
1638   :
1639else
1640   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1641Check your system clock" >&5
1642echo "$as_me: error: newly created file is older than distributed files!
1643Check your system clock" >&2;}
1644   { (exit 1); exit 1; }; }
1645fi
1646echo "$as_me:$LINENO: result: yes" >&5
1647echo "${ECHO_T}yes" >&6
1648test "$program_prefix" != NONE &&
1649  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1650# Use a double $ so make ignores it.
1651test "$program_suffix" != NONE &&
1652  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1653# Double any \ or $.  echo might interpret backslashes.
1654# By default was `s,x,x', remove it if useless.
1655cat <<\_ACEOF >conftest.sed
1656s/[\\$]/&&/g;s/;s,x,x,$//
1657_ACEOF
1658program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1659rm conftest.sed
1660
1661
1662# expand $ac_aux_dir to an absolute path
1663am_aux_dir=`cd $ac_aux_dir && pwd`
1664
1665test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1666# Use eval to expand $SHELL
1667if eval "$MISSING --run true"; then
1668  am_missing_run="$MISSING --run "
1669else
1670  am_missing_run=
1671  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1672echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1673fi
1674
1675for ac_prog in gawk mawk nawk awk
1676do
1677  # Extract the first word of "$ac_prog", so it can be a program name with args.
1678set dummy $ac_prog; ac_word=$2
1679echo "$as_me:$LINENO: checking for $ac_word" >&5
1680echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681if test "${ac_cv_prog_AWK+set}" = set; then
1682  echo $ECHO_N "(cached) $ECHO_C" >&6
1683else
1684  if test -n "$AWK"; then
1685  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1686else
1687as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1688for as_dir in $PATH
1689do
1690  IFS=$as_save_IFS
1691  test -z "$as_dir" && as_dir=.
1692  for ac_exec_ext in '' $ac_executable_extensions; do
1693  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694    ac_cv_prog_AWK="$ac_prog"
1695    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1696    break 2
1697  fi
1698done
1699done
1700
1701fi
1702fi
1703AWK=$ac_cv_prog_AWK
1704if test -n "$AWK"; then
1705  echo "$as_me:$LINENO: result: $AWK" >&5
1706echo "${ECHO_T}$AWK" >&6
1707else
1708  echo "$as_me:$LINENO: result: no" >&5
1709echo "${ECHO_T}no" >&6
1710fi
1711
1712  test -n "$AWK" && break
1713done
1714
1715echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1716echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1717set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1718if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1719  echo $ECHO_N "(cached) $ECHO_C" >&6
1720else
1721  cat >conftest.make <<\_ACEOF
1722all:
1723        @echo 'ac_maketemp="$(MAKE)"'
1724_ACEOF
1725# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1726eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1727if test -n "$ac_maketemp"; then
1728  eval ac_cv_prog_make_${ac_make}_set=yes
1729else
1730  eval ac_cv_prog_make_${ac_make}_set=no
1731fi
1732rm -f conftest.make
1733fi
1734if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1735  echo "$as_me:$LINENO: result: yes" >&5
1736echo "${ECHO_T}yes" >&6
1737  SET_MAKE=
1738else
1739  echo "$as_me:$LINENO: result: no" >&5
1740echo "${ECHO_T}no" >&6
1741  SET_MAKE="MAKE=${MAKE-make}"
1742fi
1743
1744 # test to see if srcdir already configured
1745if test "`cd $srcdir && pwd`" != "`pwd`" &&
1746   test -f $srcdir/config.status; then
1747  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1748echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1749   { (exit 1); exit 1; }; }
1750fi
1751
1752# test whether we have cygpath
1753if test -z "$CYGPATH_W"; then
1754  if (cygpath --version) >/dev/null 2>/dev/null; then
1755    CYGPATH_W='cygpath -w'
1756  else
1757    CYGPATH_W=echo
1758  fi
1759fi
1760
1761
1762# Define the identity of the package.
1763 PACKAGE=rtems-c-src-lib-libbsp-powerpc-mvme5500
1764 VERSION=4.6.2
1765
1766
1767# Some tools Automake needs.
1768
1769ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1770
1771
1772AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1773
1774
1775AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1776
1777
1778AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1779
1780
1781MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1782
1783
1784AMTAR=${AMTAR-"${am_missing_run}tar"}
1785
1786install_sh=${install_sh-"$am_aux_dir/install-sh"}
1787
1788# Installed binaries are usually stripped using `strip' when the user
1789# run `make install-strip'.  However `strip' might not be the right
1790# tool to use in cross-compilation environments, therefore Automake
1791# will honor the `STRIP' environment variable to overrule this program.
1792if test "$cross_compiling" != no; then
1793  if test -n "$ac_tool_prefix"; then
1794  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1795set dummy ${ac_tool_prefix}strip; ac_word=$2
1796echo "$as_me:$LINENO: checking for $ac_word" >&5
1797echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1798if test "${ac_cv_prog_STRIP+set}" = set; then
1799  echo $ECHO_N "(cached) $ECHO_C" >&6
1800else
1801  if test -n "$STRIP"; then
1802  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1803else
1804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1805for as_dir in $PATH
1806do
1807  IFS=$as_save_IFS
1808  test -z "$as_dir" && as_dir=.
1809  for ac_exec_ext in '' $ac_executable_extensions; do
1810  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1811    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1812    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1813    break 2
1814  fi
1815done
1816done
1817
1818fi
1819fi
1820STRIP=$ac_cv_prog_STRIP
1821if test -n "$STRIP"; then
1822  echo "$as_me:$LINENO: result: $STRIP" >&5
1823echo "${ECHO_T}$STRIP" >&6
1824else
1825  echo "$as_me:$LINENO: result: no" >&5
1826echo "${ECHO_T}no" >&6
1827fi
1828
1829fi
1830if test -z "$ac_cv_prog_STRIP"; then
1831  ac_ct_STRIP=$STRIP
1832  # Extract the first word of "strip", so it can be a program name with args.
1833set dummy strip; ac_word=$2
1834echo "$as_me:$LINENO: checking for $ac_word" >&5
1835echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1836if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1837  echo $ECHO_N "(cached) $ECHO_C" >&6
1838else
1839  if test -n "$ac_ct_STRIP"; then
1840  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1841else
1842as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1843for as_dir in $PATH
1844do
1845  IFS=$as_save_IFS
1846  test -z "$as_dir" && as_dir=.
1847  for ac_exec_ext in '' $ac_executable_extensions; do
1848  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1849    ac_cv_prog_ac_ct_STRIP="strip"
1850    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1851    break 2
1852  fi
1853done
1854done
1855
1856  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1857fi
1858fi
1859ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1860if test -n "$ac_ct_STRIP"; then
1861  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1862echo "${ECHO_T}$ac_ct_STRIP" >&6
1863else
1864  echo "$as_me:$LINENO: result: no" >&5
1865echo "${ECHO_T}no" >&6
1866fi
1867
1868  STRIP=$ac_ct_STRIP
1869else
1870  STRIP="$ac_cv_prog_STRIP"
1871fi
1872
1873fi
1874INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1875
1876# We need awk for the "check" target.  The system "awk" is bad on
1877# some platforms.
1878
1879
1880
1881
1882# Check whether --enable-multilib or --disable-multilib was given.
1883if test "${enable_multilib+set}" = set; then
1884  enableval="$enable_multilib"
1885  case "${enableval}" in
1886  yes) multilib=yes ;;
1887  no)  multilib=no ;;
1888  *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1889echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1890   { (exit 1); exit 1; }; } ;;
1891 esac
1892else
1893  multilib=no
1894fi;
1895
1896
1897if test x"${multilib}" = x"yes"; then
1898  MULTILIB_TRUE=
1899  MULTILIB_FALSE='#'
1900else
1901  MULTILIB_TRUE='#'
1902  MULTILIB_FALSE=
1903fi
1904
1905
1906
1907
1908
1909# Is this a supported CPU?
1910echo "$as_me:$LINENO: checking if cpu $RTEMS_CPU is supported" >&5
1911echo $ECHO_N "checking if cpu $RTEMS_CPU is supported... $ECHO_C" >&6
1912# FIXME: Temporary hack
1913if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then
1914  echo "$as_me:$LINENO: result: yes" >&5
1915echo "${ECHO_T}yes" >&6
1916else
1917  { { echo "$as_me:$LINENO: error: no" >&5
1918echo "$as_me: error: no" >&2;}
1919   { (exit 1); exit 1; }; }
1920fi
1921
1922
1923# Check whether --enable-multiprocessing or --disable-multiprocessing was given.
1924if test "${enable_multiprocessing+set}" = set; then
1925  enableval="$enable_multiprocessing"
1926  case "${enable_multiprocessing}" in
1927  yes) ;;
1928  no) ;;
1929  *)  { { echo "$as_me:$LINENO: error: bad value ${enableval} for enable-multiprocessing option" >&5
1930echo "$as_me: error: bad value ${enableval} for enable-multiprocessing option" >&2;}
1931   { (exit 1); exit 1; }; } ;;
1932esac
1933else
1934  enable_multiprocessing=no
1935fi;
1936
1937# account for "aliased" bsps which share source code
1938  case $RTEMS_BSP in
1939    simcpu32)     RTEMS_BSP_FAMILY=sim68000         ;; # BSVC CPU32 variant
1940    c3xsim)       RTEMS_BSP_FAMILY=c4xsim           ;; # TI C3x Simulator in gdb
1941    mcp750)       RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
1942    mvme2307)     RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
1943    mtx603e)      RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
1944    mvme162lx)    RTEMS_BSP_FAMILY=mvme162          ;; # m68k - mvme162 board variant
1945    gen68360_040) RTEMS_BSP_FAMILY=gen68360         ;; # m68k - 68360 in companion mode
1946    p4600)        RTEMS_BSP_FAMILY=p4000            ;; # mips64orion - p4000 board w/IDT 4600
1947    p4650)        RTEMS_BSP_FAMILY=p4000            ;; # mips64orion - p4000 board w/IDT 4650
1948    mbx8*)        RTEMS_BSP_FAMILY=mbx8xx           ;; # MBX821/MBX860 board
1949    pc386dx)      RTEMS_BSP_FAMILY=pc386            ;; # i386 - PC w/o FPU
1950    pc486)        RTEMS_BSP_FAMILY=pc386            ;; # i386 - PC with i486DX
1951    pc586)        RTEMS_BSP_FAMILY=pc386            ;; # i386 - PC with Pentium
1952    pc686)        RTEMS_BSP_FAMILY=pc386            ;; # i386 - PC with PentiumPro
1953    pck6)         RTEMS_BSP_FAMILY=pc386            ;; # i386 - PC with K6
1954    bare*)        RTEMS_BSP_FAMILY=bare             ;; # EXP: bare-aliases
1955    erc32nfp)     RTEMS_BSP_FAMILY=erc32            ;; # erc32 without fpu
1956    leon1)        RTEMS_BSP_FAMILY=leon             ;; # leon without fpu
1957    leon2)        RTEMS_BSP_FAMILY=leon             ;; # leon with fpu
1958    simsh7032)    RTEMS_BSP_FAMILY=shsim            ;; # SH7032 simulator
1959    simsh7045)    RTEMS_BSP_FAMILY=shsim            ;; # SH7045 simulator
1960    *)            RTEMS_BSP_FAMILY=$RTEMS_BSP;;
1961  esac
1962
1963
1964
1965
1966  echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1967echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1968    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1969if test "${enable_maintainer_mode+set}" = set; then
1970  enableval="$enable_maintainer_mode"
1971  USE_MAINTAINER_MODE=$enableval
1972else
1973  USE_MAINTAINER_MODE=no
1974fi;
1975  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1976echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1977
1978
1979if test $USE_MAINTAINER_MODE = yes; then
1980  MAINTAINER_MODE_TRUE=
1981  MAINTAINER_MODE_FALSE='#'
1982else
1983  MAINTAINER_MODE_TRUE='#'
1984  MAINTAINER_MODE_FALSE=
1985fi
1986
1987  MAINT=$MAINTAINER_MODE_TRUE
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999echo "$as_me:$LINENO: checking for RTEMS_BSP" >&5
2000echo $ECHO_N "checking for RTEMS_BSP... $ECHO_C" >&6
2001if test "${rtems_cv_RTEMS_BSP+set}" = set; then
2002  echo $ECHO_N "(cached) $ECHO_C" >&6
2003else
2004    test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
2005
2006fi
2007if test -z "$rtems_cv_RTEMS_BSP"; then
2008  { { echo "$as_me:$LINENO: error: Missing RTEMS_BSP" >&5
2009echo "$as_me: error: Missing RTEMS_BSP" >&2;}
2010   { (exit 1); exit 1; }; }
2011fi
2012RTEMS_BSP="$rtems_cv_RTEMS_BSP"
2013echo "$as_me:$LINENO: result: ${RTEMS_BSP}" >&5
2014echo "${ECHO_T}${RTEMS_BSP}" >&6
2015
2016
2017RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
2018
2019
2020GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
2021
2022
2023PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
2024
2025
2026PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
2027
2028
2029RTEMS_ROOT="\$(PROJECT_ROOT)/c/$RTEMS_BSP"
2030
2031
2032
2033# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
2034if test "${enable_bare_cpu_cflags+set}" = set; then
2035  enableval="$enable_bare_cpu_cflags"
2036  case "${enableval}" in
2037  no) BARE_CPU_CFLAGS="" ;;
2038  *)    BARE_CPU_CFLAGS="${enableval}" ;;
2039esac
2040else
2041  BARE_CPU_CFLAGS=""
2042fi;
2043
2044# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
2045if test "${enable_bare_cpu_model+set}" = set; then
2046  enableval="$enable_bare_cpu_model"
2047  case "${enableval}" in
2048  no)   BARE_CPU_MODEL="" ;;
2049  *)    BARE_CPU_MODEL="${enableval}" ;;
2050esac
2051else
2052  BARE_CPU_MODEL=""
2053fi;
2054
2055
2056
2057
2058
2059
2060if false; then
2061  MULTILIB_TRUE=
2062  MULTILIB_FALSE='#'
2063else
2064  MULTILIB_TRUE='#'
2065  MULTILIB_FALSE=
2066fi
2067
2068
2069includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
2070libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
2071
2072bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib"
2073
2074
2075
2076
2077
2078
2079echo "$as_me:$LINENO: checking for make/custom/$RTEMS_BSP.cfg" >&5
2080echo $ECHO_N "checking for make/custom/$RTEMS_BSP.cfg... $ECHO_C" >&6
2081if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then
2082  echo "$as_me:$LINENO: result: yes" >&5
2083echo "${ECHO_T}yes" >&6
2084else
2085  { { echo "$as_me:$LINENO: error: no" >&5
2086echo "$as_me: error: no" >&2;}
2087   { (exit 1); exit 1; }; }
2088fi
2089
2090
2091
2092
2093RTEMS_HOST=$host_os
2094case "${target}" in
2095  # hpux unix port should go here
2096  i[34567]86-*linux*)          # unix "simulator" port
2097        RTEMS_HOST=Linux
2098        ;;
2099  i[34567]86-*freebsd*)         # unix "simulator" port
2100        RTEMS_HOST=FreeBSD
2101        ;;
2102  i[34567]86-pc-cygwin*)        # Cygwin is just enough unix like :)
2103        RTEMS_HOST=Cygwin
2104        ;;
2105  sparc-sun-solaris*)           # unix "simulator" port
2106        RTEMS_HOST=Solaris
2107        ;;
2108  *)
2109        ;;
2110esac
2111
2112
2113            ac_config_headers="$ac_config_headers include/bspopts.tmp:include/bspopts.h.in"
2114
2115
2116
2117PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
2118
2119
2120
2121
2122echo "$as_me:$LINENO: checking if wanting multiprocessing" >&5
2123echo $ECHO_N "checking if wanting multiprocessing... $ECHO_C" >&6
2124if test "${rtems_cv_want_multiprocessing+set}" = set; then
2125  echo $ECHO_N "(cached) $ECHO_C" >&6
2126else
2127
2128    if test x"$multilib" = x"no"; then
2129  # no cpukit
2130       rtems_cv_want_multiprocessing="$enable_multiprocessing"
2131
2132else
2133
2134#HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead
2135       rtems_cv_want_multiprocessing="$enable_multiprocessing"
2136
2137fi
2138
2139
2140fi
2141echo "$as_me:$LINENO: result: $rtems_cv_want_multiprocessing" >&5
2142echo "${ECHO_T}$rtems_cv_want_multiprocessing" >&6
2143
2144if test "$rtems_cv_want_multiprocessing" = "yes"; then
2145
2146  echo "$as_me:$LINENO: checking whether BSP supports multiprocessing" >&5
2147echo $ECHO_N "checking whether BSP supports multiprocessing... $ECHO_C" >&6
2148if test "${rtems_cv_HAS_MP+set}" = set; then
2149  echo $ECHO_N "(cached) $ECHO_C" >&6
2150else
2151
2152    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
2153        rtems_cv_HAS_MP="yes" ;
2154    else
2155        rtems_cv_HAS_MP="no";
2156    fi
2157
2158fi
2159echo "$as_me:$LINENO: result: $rtems_cv_HAS_MP" >&5
2160echo "${ECHO_T}$rtems_cv_HAS_MP" >&6
2161if test $rtems_cv_HAS_MP = "no"; then
2162{ { echo "$as_me:$LINENO: error: multiprocessing requested but not supported" >&5
2163echo "$as_me: error: multiprocessing requested but not supported" >&2;}
2164   { (exit 1); exit 1; }; }
2165fi
2166
2167else
2168  rtems_cv_HAS_MP="no";
2169fi
2170
2171
2172HAS_MP=$rtems_cv_HAS_MP
2173
2174
2175
2176
2177rm -f .deps 2>/dev/null
2178mkdir .deps 2>/dev/null
2179if test -d .deps; then
2180  DEPDIR=.deps
2181else
2182  # MS-DOS does not allow filenames that begin with a dot.
2183  DEPDIR=_deps
2184fi
2185rmdir .deps 2>/dev/null
2186
2187
2188          ac_config_commands="$ac_config_commands depfiles"
2189
2190
2191am_make=${MAKE-make}
2192cat > confinc << 'END'
2193doit:
2194        @echo done
2195END
2196# If we don't find an include directive, just comment out the code.
2197echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2198echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2199am__include="#"
2200am__quote=
2201_am_result=none
2202# First try GNU make style include.
2203echo "include confinc" > confmf
2204# We grep out `Entering directory' and `Leaving directory'
2205# messages which can occur if `w' ends up in MAKEFLAGS.
2206# In particular we don't look at `^make:' because GNU make might
2207# be invoked under some other name (usually "gmake"), in which
2208# case it prints its new name instead of `make'.
2209if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2210   am__include=include
2211   am__quote=
2212   _am_result=GNU
2213fi
2214# Now try BSD make style include.
2215if test "$am__include" = "#"; then
2216   echo '.include "confinc"' > confmf
2217   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2218      am__include=.include
2219      am__quote="\""
2220      _am_result=BSD
2221   fi
2222fi
2223
2224
2225echo "$as_me:$LINENO: result: $_am_result" >&5
2226echo "${ECHO_T}$_am_result" >&6
2227rm -f confinc confmf
2228
2229# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2230if test "${enable_dependency_tracking+set}" = set; then
2231  enableval="$enable_dependency_tracking"
2232
2233fi;
2234if test "x$enable_dependency_tracking" != xno; then
2235  am_depcomp="$ac_aux_dir/depcomp"
2236  AMDEPBACKSLASH='\'
2237fi
2238
2239
2240if test "x$enable_dependency_tracking" != xno; then
2241  AMDEP_TRUE=
2242  AMDEP_FALSE='#'
2243else
2244  AMDEP_TRUE='#'
2245  AMDEP_FALSE=
2246fi
2247
2248
2249
2250
2251
2252
2253
2254if test -n "${CFLAGS}"; then
2255  RTEMS_CFLAGS=${CFLAGS}
2256else
2257  RTEMS_CFLAGS="\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g"
2258fi
2259
2260
2261
2262
2263
2264  if test "x$build_alias" != "x$host_alias"; then
2265  rtems_tool_prefix=${ac_tool_prefix}
2266fi
2267
2268  # Extract the first word of "${rtems_tool_prefix}gcc", so it can be a program name with args.
2269set dummy ${rtems_tool_prefix}gcc; ac_word=$2
2270echo "$as_me:$LINENO: checking for $ac_word" >&5
2271echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2272if test "${ac_cv_prog_CC+set}" = set; then
2273  echo $ECHO_N "(cached) $ECHO_C" >&6
2274else
2275  if test -n "$CC"; then
2276  ac_cv_prog_CC="$CC" # Let the user override the test.
2277else
2278as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279for as_dir in $PATH
2280do
2281  IFS=$as_save_IFS
2282  test -z "$as_dir" && as_dir=.
2283  for ac_exec_ext in '' $ac_executable_extensions; do
2284  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285    ac_cv_prog_CC="${rtems_tool_prefix}gcc"
2286    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287    break 2
2288  fi
2289done
2290done
2291
2292fi
2293fi
2294CC=$ac_cv_prog_CC
2295if test -n "$CC"; then
2296  echo "$as_me:$LINENO: result: $CC" >&5
2297echo "${ECHO_T}$CC" >&6
2298else
2299  echo "$as_me:$LINENO: result: no" >&5
2300echo "${ECHO_T}no" >&6
2301fi
2302
2303
2304test -z "$CC" && \
2305  { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2306echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2307   { (exit 1); exit 1; }; }
2308ac_ext=c
2309ac_cpp='$CPP $CPPFLAGS'
2310ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2311ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2312ac_compiler_gnu=$ac_cv_c_compiler_gnu
2313if test -n "$ac_tool_prefix"; then
2314  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2315set dummy ${ac_tool_prefix}gcc; ac_word=$2
2316echo "$as_me:$LINENO: checking for $ac_word" >&5
2317echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2318if test "${ac_cv_prog_CC+set}" = set; then
2319  echo $ECHO_N "(cached) $ECHO_C" >&6
2320else
2321  if test -n "$CC"; then
2322  ac_cv_prog_CC="$CC" # Let the user override the test.
2323else
2324as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325for as_dir in $PATH
2326do
2327  IFS=$as_save_IFS
2328  test -z "$as_dir" && as_dir=.
2329  for ac_exec_ext in '' $ac_executable_extensions; do
2330  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2331    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2332    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333    break 2
2334  fi
2335done
2336done
2337
2338fi
2339fi
2340CC=$ac_cv_prog_CC
2341if test -n "$CC"; then
2342  echo "$as_me:$LINENO: result: $CC" >&5
2343echo "${ECHO_T}$CC" >&6
2344else
2345  echo "$as_me:$LINENO: result: no" >&5
2346echo "${ECHO_T}no" >&6
2347fi
2348
2349fi
2350if test -z "$ac_cv_prog_CC"; then
2351  ac_ct_CC=$CC
2352  # Extract the first word of "gcc", so it can be a program name with args.
2353set dummy gcc; ac_word=$2
2354echo "$as_me:$LINENO: checking for $ac_word" >&5
2355echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2356if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2357  echo $ECHO_N "(cached) $ECHO_C" >&6
2358else
2359  if test -n "$ac_ct_CC"; then
2360  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2361else
2362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363for as_dir in $PATH
2364do
2365  IFS=$as_save_IFS
2366  test -z "$as_dir" && as_dir=.
2367  for ac_exec_ext in '' $ac_executable_extensions; do
2368  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2369    ac_cv_prog_ac_ct_CC="gcc"
2370    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2371    break 2
2372  fi
2373done
2374done
2375
2376fi
2377fi
2378ac_ct_CC=$ac_cv_prog_ac_ct_CC
2379if test -n "$ac_ct_CC"; then
2380  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2381echo "${ECHO_T}$ac_ct_CC" >&6
2382else
2383  echo "$as_me:$LINENO: result: no" >&5
2384echo "${ECHO_T}no" >&6
2385fi
2386
2387  CC=$ac_ct_CC
2388else
2389  CC="$ac_cv_prog_CC"
2390fi
2391
2392if test -z "$CC"; then
2393  if test -n "$ac_tool_prefix"; then
2394  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2395set dummy ${ac_tool_prefix}cc; ac_word=$2
2396echo "$as_me:$LINENO: checking for $ac_word" >&5
2397echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2398if test "${ac_cv_prog_CC+set}" = set; then
2399  echo $ECHO_N "(cached) $ECHO_C" >&6
2400else
2401  if test -n "$CC"; then
2402  ac_cv_prog_CC="$CC" # Let the user override the test.
2403else
2404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405for as_dir in $PATH
2406do
2407  IFS=$as_save_IFS
2408  test -z "$as_dir" && as_dir=.
2409  for ac_exec_ext in '' $ac_executable_extensions; do
2410  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2411    ac_cv_prog_CC="${ac_tool_prefix}cc"
2412    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2413    break 2
2414  fi
2415done
2416done
2417
2418fi
2419fi
2420CC=$ac_cv_prog_CC
2421if test -n "$CC"; then
2422  echo "$as_me:$LINENO: result: $CC" >&5
2423echo "${ECHO_T}$CC" >&6
2424else
2425  echo "$as_me:$LINENO: result: no" >&5
2426echo "${ECHO_T}no" >&6
2427fi
2428
2429fi
2430if test -z "$ac_cv_prog_CC"; then
2431  ac_ct_CC=$CC
2432  # Extract the first word of "cc", so it can be a program name with args.
2433set dummy cc; ac_word=$2
2434echo "$as_me:$LINENO: checking for $ac_word" >&5
2435echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2436if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2437  echo $ECHO_N "(cached) $ECHO_C" >&6
2438else
2439  if test -n "$ac_ct_CC"; then
2440  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2441else
2442as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443for as_dir in $PATH
2444do
2445  IFS=$as_save_IFS
2446  test -z "$as_dir" && as_dir=.
2447  for ac_exec_ext in '' $ac_executable_extensions; do
2448  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449    ac_cv_prog_ac_ct_CC="cc"
2450    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451    break 2
2452  fi
2453done
2454done
2455
2456fi
2457fi
2458ac_ct_CC=$ac_cv_prog_ac_ct_CC
2459if test -n "$ac_ct_CC"; then
2460  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2461echo "${ECHO_T}$ac_ct_CC" >&6
2462else
2463  echo "$as_me:$LINENO: result: no" >&5
2464echo "${ECHO_T}no" >&6
2465fi
2466
2467  CC=$ac_ct_CC
2468else
2469  CC="$ac_cv_prog_CC"
2470fi
2471
2472fi
2473if test -z "$CC"; then
2474  # Extract the first word of "cc", so it can be a program name with args.
2475set dummy cc; ac_word=$2
2476echo "$as_me:$LINENO: checking for $ac_word" >&5
2477echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2478if test "${ac_cv_prog_CC+set}" = set; then
2479  echo $ECHO_N "(cached) $ECHO_C" >&6
2480else
2481  if test -n "$CC"; then
2482  ac_cv_prog_CC="$CC" # Let the user override the test.
2483else
2484  ac_prog_rejected=no
2485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486for as_dir in $PATH
2487do
2488  IFS=$as_save_IFS
2489  test -z "$as_dir" && as_dir=.
2490  for ac_exec_ext in '' $ac_executable_extensions; do
2491  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2492    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2493       ac_prog_rejected=yes
2494       continue
2495     fi
2496    ac_cv_prog_CC="cc"
2497    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2498    break 2
2499  fi
2500done
2501done
2502
2503if test $ac_prog_rejected = yes; then
2504  # We found a bogon in the path, so make sure we never use it.
2505  set dummy $ac_cv_prog_CC
2506  shift
2507  if test $# != 0; then
2508    # We chose a different compiler from the bogus one.
2509    # However, it has the same basename, so the bogon will be chosen
2510    # first if we set CC to just the basename; use the full file name.
2511    shift
2512    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2513  fi
2514fi
2515fi
2516fi
2517CC=$ac_cv_prog_CC
2518if test -n "$CC"; then
2519  echo "$as_me:$LINENO: result: $CC" >&5
2520echo "${ECHO_T}$CC" >&6
2521else
2522  echo "$as_me:$LINENO: result: no" >&5
2523echo "${ECHO_T}no" >&6
2524fi
2525
2526fi
2527if test -z "$CC"; then
2528  if test -n "$ac_tool_prefix"; then
2529  for ac_prog in cl
2530  do
2531    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2532set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2533echo "$as_me:$LINENO: checking for $ac_word" >&5
2534echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2535if test "${ac_cv_prog_CC+set}" = set; then
2536  echo $ECHO_N "(cached) $ECHO_C" >&6
2537else
2538  if test -n "$CC"; then
2539  ac_cv_prog_CC="$CC" # Let the user override the test.
2540else
2541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542for as_dir in $PATH
2543do
2544  IFS=$as_save_IFS
2545  test -z "$as_dir" && as_dir=.
2546  for ac_exec_ext in '' $ac_executable_extensions; do
2547  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2549    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2550    break 2
2551  fi
2552done
2553done
2554
2555fi
2556fi
2557CC=$ac_cv_prog_CC
2558if test -n "$CC"; then
2559  echo "$as_me:$LINENO: result: $CC" >&5
2560echo "${ECHO_T}$CC" >&6
2561else
2562  echo "$as_me:$LINENO: result: no" >&5
2563echo "${ECHO_T}no" >&6
2564fi
2565
2566    test -n "$CC" && break
2567  done
2568fi
2569if test -z "$CC"; then
2570  ac_ct_CC=$CC
2571  for ac_prog in cl
2572do
2573  # Extract the first word of "$ac_prog", so it can be a program name with args.
2574set dummy $ac_prog; ac_word=$2
2575echo "$as_me:$LINENO: checking for $ac_word" >&5
2576echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2577if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2578  echo $ECHO_N "(cached) $ECHO_C" >&6
2579else
2580  if test -n "$ac_ct_CC"; then
2581  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2582else
2583as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584for as_dir in $PATH
2585do
2586  IFS=$as_save_IFS
2587  test -z "$as_dir" && as_dir=.
2588  for ac_exec_ext in '' $ac_executable_extensions; do
2589  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2590    ac_cv_prog_ac_ct_CC="$ac_prog"
2591    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2592    break 2
2593  fi
2594done
2595done
2596
2597fi
2598fi
2599ac_ct_CC=$ac_cv_prog_ac_ct_CC
2600if test -n "$ac_ct_CC"; then
2601  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2602echo "${ECHO_T}$ac_ct_CC" >&6
2603else
2604  echo "$as_me:$LINENO: result: no" >&5
2605echo "${ECHO_T}no" >&6
2606fi
2607
2608  test -n "$ac_ct_CC" && break
2609done
2610
2611  CC=$ac_ct_CC
2612fi
2613
2614fi
2615
2616
2617test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2618See \`config.log' for more details." >&5
2619echo "$as_me: error: no acceptable C compiler found in \$PATH
2620See \`config.log' for more details." >&2;}
2621   { (exit 1); exit 1; }; }
2622
2623# Provide some information about the compiler.
2624echo "$as_me:$LINENO:" \
2625     "checking for C compiler version" >&5
2626ac_compiler=`set X $ac_compile; echo $2`
2627{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2628  (eval $ac_compiler --version </dev/null >&5) 2>&5
2629  ac_status=$?
2630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631  (exit $ac_status); }
2632{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2633  (eval $ac_compiler -v </dev/null >&5) 2>&5
2634  ac_status=$?
2635  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636  (exit $ac_status); }
2637{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2638  (eval $ac_compiler -V </dev/null >&5) 2>&5
2639  ac_status=$?
2640  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641  (exit $ac_status); }
2642
2643cat >conftest.$ac_ext <<_ACEOF
2644#line $LINENO "configure"
2645/* confdefs.h.  */
2646_ACEOF
2647cat confdefs.h >>conftest.$ac_ext
2648cat >>conftest.$ac_ext <<_ACEOF
2649/* end confdefs.h.  */
2650
2651int
2652main ()
2653{
2654
2655  ;
2656  return 0;
2657}
2658_ACEOF
2659ac_clean_files_save=$ac_clean_files
2660ac_clean_files="$ac_clean_files a.out a.exe b.out"
2661# Try to create an executable without -o first, disregard a.out.
2662# It will help us diagnose broken compilers, and finding out an intuition
2663# of exeext.
2664echo "$as_me:$LINENO: checking for C compiler default output" >&5
2665echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2666ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2667if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2668  (eval $ac_link_default) 2>&5
2669  ac_status=$?
2670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671  (exit $ac_status); }; then
2672  # Find the output, starting from the most likely.  This scheme is
2673# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2674# resort.
2675
2676# Be careful to initialize this variable, since it used to be cached.
2677# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2678ac_cv_exeext=
2679# b.out is created by i960 compilers.
2680for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2681do
2682  test -f "$ac_file" || continue
2683  case $ac_file in
2684    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2685        ;;
2686    conftest.$ac_ext )
2687        # This is the source file.
2688        ;;
2689    [ab].out )
2690        # We found the default executable, but exeext='' is most
2691        # certainly right.
2692        break;;
2693    *.* )
2694        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2695        # FIXME: I believe we export ac_cv_exeext for Libtool,
2696        # but it would be cool to find out if it's true.  Does anybody
2697        # maintain Libtool? --akim.
2698        export ac_cv_exeext
2699        break;;
2700    * )
2701        break;;
2702  esac
2703done
2704else
2705  echo "$as_me: failed program was:" >&5
2706sed 's/^/| /' conftest.$ac_ext >&5
2707
2708{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2709See \`config.log' for more details." >&5
2710echo "$as_me: error: C compiler cannot create executables
2711See \`config.log' for more details." >&2;}
2712   { (exit 77); exit 77; }; }
2713fi
2714
2715ac_exeext=$ac_cv_exeext
2716echo "$as_me:$LINENO: result: $ac_file" >&5
2717echo "${ECHO_T}$ac_file" >&6
2718
2719# Check the compiler produces executables we can run.  If not, either
2720# the compiler is broken, or we cross compile.
2721echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2722echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2723# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2724# If not cross compiling, check that we can run a simple program.
2725if test "$cross_compiling" != yes; then
2726  if { ac_try='./$ac_file'
2727  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2728  (eval $ac_try) 2>&5
2729  ac_status=$?
2730  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731  (exit $ac_status); }; }; then
2732    cross_compiling=no
2733  else
2734    if test "$cross_compiling" = maybe; then
2735        cross_compiling=yes
2736    else
2737        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2738If you meant to cross compile, use \`--host'.
2739See \`config.log' for more details." >&5
2740echo "$as_me: error: cannot run C compiled programs.
2741If you meant to cross compile, use \`--host'.
2742See \`config.log' for more details." >&2;}
2743   { (exit 1); exit 1; }; }
2744    fi
2745  fi
2746fi
2747echo "$as_me:$LINENO: result: yes" >&5
2748echo "${ECHO_T}yes" >&6
2749
2750rm -f a.out a.exe conftest$ac_cv_exeext b.out
2751ac_clean_files=$ac_clean_files_save
2752# Check the compiler produces executables we can run.  If not, either
2753# the compiler is broken, or we cross compile.
2754echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2755echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2756echo "$as_me:$LINENO: result: $cross_compiling" >&5
2757echo "${ECHO_T}$cross_compiling" >&6
2758
2759echo "$as_me:$LINENO: checking for suffix of executables" >&5
2760echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2761if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2762  (eval $ac_link) 2>&5
2763  ac_status=$?
2764  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765  (exit $ac_status); }; then
2766  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2767# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2768# work properly (i.e., refer to `conftest.exe'), while it won't with
2769# `rm'.
2770for ac_file in conftest.exe conftest conftest.*; do
2771  test -f "$ac_file" || continue
2772  case $ac_file in
2773    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2774    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2775          export ac_cv_exeext
2776          break;;
2777    * ) break;;
2778  esac
2779done
2780else
2781  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2782See \`config.log' for more details." >&5
2783echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2784See \`config.log' for more details." >&2;}
2785   { (exit 1); exit 1; }; }
2786fi
2787
2788rm -f conftest$ac_cv_exeext
2789echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2790echo "${ECHO_T}$ac_cv_exeext" >&6
2791
2792rm -f conftest.$ac_ext
2793EXEEXT=$ac_cv_exeext
2794ac_exeext=$EXEEXT
2795echo "$as_me:$LINENO: checking for suffix of object files" >&5
2796echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2797if test "${ac_cv_objext+set}" = set; then
2798  echo $ECHO_N "(cached) $ECHO_C" >&6
2799else
2800  cat >conftest.$ac_ext <<_ACEOF
2801#line $LINENO "configure"
2802/* confdefs.h.  */
2803_ACEOF
2804cat confdefs.h >>conftest.$ac_ext
2805cat >>conftest.$ac_ext <<_ACEOF
2806/* end confdefs.h.  */
2807
2808int
2809main ()
2810{
2811
2812  ;
2813  return 0;
2814}
2815_ACEOF
2816rm -f conftest.o conftest.obj
2817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2818  (eval $ac_compile) 2>&5
2819  ac_status=$?
2820  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821  (exit $ac_status); }; then
2822  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2823  case $ac_file in
2824    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2825    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2826       break;;
2827  esac
2828done
2829else
2830  echo "$as_me: failed program was:" >&5
2831sed 's/^/| /' conftest.$ac_ext >&5
2832
2833{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2834See \`config.log' for more details." >&5
2835echo "$as_me: error: cannot compute suffix of object files: cannot compile
2836See \`config.log' for more details." >&2;}
2837   { (exit 1); exit 1; }; }
2838fi
2839
2840rm -f conftest.$ac_cv_objext conftest.$ac_ext
2841fi
2842echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2843echo "${ECHO_T}$ac_cv_objext" >&6
2844OBJEXT=$ac_cv_objext
2845ac_objext=$OBJEXT
2846echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2847echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2848if test "${ac_cv_c_compiler_gnu+set}" = set; then
2849  echo $ECHO_N "(cached) $ECHO_C" >&6
2850else
2851  cat >conftest.$ac_ext <<_ACEOF
2852#line $LINENO "configure"
2853/* confdefs.h.  */
2854_ACEOF
2855cat confdefs.h >>conftest.$ac_ext
2856cat >>conftest.$ac_ext <<_ACEOF
2857/* end confdefs.h.  */
2858
2859int
2860main ()
2861{
2862#ifndef __GNUC__
2863       choke me
2864#endif
2865
2866  ;
2867  return 0;
2868}
2869_ACEOF
2870rm -f conftest.$ac_objext
2871if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2872  (eval $ac_compile) 2>&5
2873  ac_status=$?
2874  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875  (exit $ac_status); } &&
2876         { ac_try='test -s conftest.$ac_objext'
2877  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878  (eval $ac_try) 2>&5
2879  ac_status=$?
2880  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881  (exit $ac_status); }; }; then
2882  ac_compiler_gnu=yes
2883else
2884  echo "$as_me: failed program was:" >&5
2885sed 's/^/| /' conftest.$ac_ext >&5
2886
2887ac_compiler_gnu=no
2888fi
2889rm -f conftest.$ac_objext conftest.$ac_ext
2890ac_cv_c_compiler_gnu=$ac_compiler_gnu
2891
2892fi
2893echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2894echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2895GCC=`test $ac_compiler_gnu = yes && echo yes`
2896ac_test_CFLAGS=${CFLAGS+set}
2897ac_save_CFLAGS=$CFLAGS
2898CFLAGS="-g"
2899echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2900echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2901if test "${ac_cv_prog_cc_g+set}" = set; then
2902  echo $ECHO_N "(cached) $ECHO_C" >&6
2903else
2904  cat >conftest.$ac_ext <<_ACEOF
2905#line $LINENO "configure"
2906/* confdefs.h.  */
2907_ACEOF
2908cat confdefs.h >>conftest.$ac_ext
2909cat >>conftest.$ac_ext <<_ACEOF
2910/* end confdefs.h.  */
2911
2912int
2913main ()
2914{
2915
2916  ;
2917  return 0;
2918}
2919_ACEOF
2920rm -f conftest.$ac_objext
2921if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2922  (eval $ac_compile) 2>&5
2923  ac_status=$?
2924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925  (exit $ac_status); } &&
2926         { ac_try='test -s conftest.$ac_objext'
2927  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2928  (eval $ac_try) 2>&5
2929  ac_status=$?
2930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931  (exit $ac_status); }; }; then
2932  ac_cv_prog_cc_g=yes
2933else
2934  echo "$as_me: failed program was:" >&5
2935sed 's/^/| /' conftest.$ac_ext >&5
2936
2937ac_cv_prog_cc_g=no
2938fi
2939rm -f conftest.$ac_objext conftest.$ac_ext
2940fi
2941echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2942echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2943if test "$ac_test_CFLAGS" = set; then
2944  CFLAGS=$ac_save_CFLAGS
2945elif test $ac_cv_prog_cc_g = yes; then
2946  if test "$GCC" = yes; then
2947    CFLAGS="-g -O2"
2948  else
2949    CFLAGS="-g"
2950  fi
2951else
2952  if test "$GCC" = yes; then
2953    CFLAGS="-O2"
2954  else
2955    CFLAGS=
2956  fi
2957fi
2958echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2959echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2960if test "${ac_cv_prog_cc_stdc+set}" = set; then
2961  echo $ECHO_N "(cached) $ECHO_C" >&6
2962else
2963  ac_cv_prog_cc_stdc=no
2964ac_save_CC=$CC
2965cat >conftest.$ac_ext <<_ACEOF
2966#line $LINENO "configure"
2967/* confdefs.h.  */
2968_ACEOF
2969cat confdefs.h >>conftest.$ac_ext
2970cat >>conftest.$ac_ext <<_ACEOF
2971/* end confdefs.h.  */
2972#include <stdarg.h>
2973#include <stdio.h>
2974#include <sys/types.h>
2975#include <sys/stat.h>
2976/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2977struct buf { int x; };
2978FILE * (*rcsopen) (struct buf *, struct stat *, int);
2979static char *e (p, i)
2980     char **p;
2981     int i;
2982{
2983  return p[i];
2984}
2985static char *f (char * (*g) (char **, int), char **p, ...)
2986{
2987  char *s;
2988  va_list v;
2989  va_start (v,p);
2990  s = g (p, va_arg (v,int));
2991  va_end (v);
2992  return s;
2993}
2994int test (int i, double x);
2995struct s1 {int (*f) (int a);};
2996struct s2 {int (*f) (double a);};
2997int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2998int argc;
2999char **argv;
3000int
3001main ()
3002{
3003return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3004  ;
3005  return 0;
3006}
3007_ACEOF
3008# Don't try gcc -ansi; that turns off useful extensions and
3009# breaks some systems' header files.
3010# AIX                   -qlanglvl=ansi
3011# Ultrix and OSF/1      -std1
3012# HP-UX 10.20 and later -Ae
3013# HP-UX older versions  -Aa -D_HPUX_SOURCE
3014# SVR4                  -Xc -D__EXTENSIONS__
3015for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3016do
3017  CC="$ac_save_CC $ac_arg"
3018  rm -f conftest.$ac_objext
3019if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3020  (eval $ac_compile) 2>&5
3021  ac_status=$?
3022  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023  (exit $ac_status); } &&
3024         { ac_try='test -s conftest.$ac_objext'
3025  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3026  (eval $ac_try) 2>&5
3027  ac_status=$?
3028  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029  (exit $ac_status); }; }; then
3030  ac_cv_prog_cc_stdc=$ac_arg
3031break
3032else
3033  echo "$as_me: failed program was:" >&5
3034sed 's/^/| /' conftest.$ac_ext >&5
3035
3036fi
3037rm -f conftest.$ac_objext
3038done
3039rm -f conftest.$ac_ext conftest.$ac_objext
3040CC=$ac_save_CC
3041
3042fi
3043
3044case "x$ac_cv_prog_cc_stdc" in
3045  x|xno)
3046    echo "$as_me:$LINENO: result: none needed" >&5
3047echo "${ECHO_T}none needed" >&6 ;;
3048  *)
3049    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3050echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3051    CC="$CC $ac_cv_prog_cc_stdc" ;;
3052esac
3053
3054# Some people use a C++ compiler to compile C.  Since we use `exit',
3055# in C++ we need to declare it.  In case someone uses the same compiler
3056# for both compiling C and C++ we need to have the C++ compiler decide
3057# the declaration of exit, since it's the most demanding environment.
3058cat >conftest.$ac_ext <<_ACEOF
3059#ifndef __cplusplus
3060  choke me
3061#endif
3062_ACEOF
3063rm -f conftest.$ac_objext
3064if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3065  (eval $ac_compile) 2>&5
3066  ac_status=$?
3067  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068  (exit $ac_status); } &&
3069         { ac_try='test -s conftest.$ac_objext'
3070  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3071  (eval $ac_try) 2>&5
3072  ac_status=$?
3073  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074  (exit $ac_status); }; }; then
3075  for ac_declaration in \
3076   ''\
3077   '#include <stdlib.h>' \
3078   'extern "C" void std::exit (int) throw (); using std::exit;' \
3079   'extern "C" void std::exit (int); using std::exit;' \
3080   'extern "C" void exit (int) throw ();' \
3081   'extern "C" void exit (int);' \
3082   'void exit (int);'
3083do
3084  cat >conftest.$ac_ext <<_ACEOF
3085#line $LINENO "configure"
3086/* confdefs.h.  */
3087_ACEOF
3088cat confdefs.h >>conftest.$ac_ext
3089cat >>conftest.$ac_ext <<_ACEOF
3090/* end confdefs.h.  */
3091#include <stdlib.h>
3092$ac_declaration
3093int
3094main ()
3095{
3096exit (42);
3097  ;
3098  return 0;
3099}
3100_ACEOF
3101rm -f conftest.$ac_objext
3102if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3103  (eval $ac_compile) 2>&5
3104  ac_status=$?
3105  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106  (exit $ac_status); } &&
3107         { ac_try='test -s conftest.$ac_objext'
3108  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109  (eval $ac_try) 2>&5
3110  ac_status=$?
3111  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112  (exit $ac_status); }; }; then
3113  :
3114else
3115  echo "$as_me: failed program was:" >&5
3116sed 's/^/| /' conftest.$ac_ext >&5
3117
3118continue
3119fi
3120rm -f conftest.$ac_objext conftest.$ac_ext
3121  cat >conftest.$ac_ext <<_ACEOF
3122#line $LINENO "configure"
3123/* confdefs.h.  */
3124_ACEOF
3125cat confdefs.h >>conftest.$ac_ext
3126cat >>conftest.$ac_ext <<_ACEOF
3127/* end confdefs.h.  */
3128$ac_declaration
3129int
3130main ()
3131{
3132exit (42);
3133  ;
3134  return 0;
3135}
3136_ACEOF
3137rm -f conftest.$ac_objext
3138if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3139  (eval $ac_compile) 2>&5
3140  ac_status=$?
3141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142  (exit $ac_status); } &&
3143         { ac_try='test -s conftest.$ac_objext'
3144  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3145  (eval $ac_try) 2>&5
3146  ac_status=$?
3147  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148  (exit $ac_status); }; }; then
3149  break
3150else
3151  echo "$as_me: failed program was:" >&5
3152sed 's/^/| /' conftest.$ac_ext >&5
3153
3154fi
3155rm -f conftest.$ac_objext conftest.$ac_ext
3156done
3157rm -f conftest*
3158if test -n "$ac_declaration"; then
3159  echo '#ifdef __cplusplus' >>confdefs.h
3160  echo $ac_declaration      >>confdefs.h
3161  echo '#endif'             >>confdefs.h
3162fi
3163
3164else
3165  echo "$as_me: failed program was:" >&5
3166sed 's/^/| /' conftest.$ac_ext >&5
3167
3168fi
3169rm -f conftest.$ac_objext conftest.$ac_ext
3170ac_ext=c
3171ac_cpp='$CPP $CPPFLAGS'
3172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3174ac_compiler_gnu=$ac_cv_c_compiler_gnu
3175
3176depcc="$CC"   am_compiler_list=
3177
3178echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3179echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3180if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3181  echo $ECHO_N "(cached) $ECHO_C" >&6
3182else
3183  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3184  # We make a subdir and do the tests there.  Otherwise we can end up
3185  # making bogus files that we don't know about and never remove.  For
3186  # instance it was reported that on HP-UX the gcc test will end up
3187  # making a dummy file named `D' -- because `-MD' means `put the output
3188  # in D'.
3189  mkdir conftest.dir
3190  # Copy depcomp to subdir because otherwise we won't find it if we're
3191  # using a relative directory.
3192  cp "$am_depcomp" conftest.dir
3193  cd conftest.dir
3194
3195  am_cv_CC_dependencies_compiler_type=none
3196  if test "$am_compiler_list" = ""; then
3197     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3198  fi
3199  for depmode in $am_compiler_list; do
3200    # We need to recreate these files for each test, as the compiler may
3201    # overwrite some of them when testing with obscure command lines.
3202    # This happens at least with the AIX C compiler.
3203    echo '#include "conftest.h"' > conftest.c
3204    echo 'int i;' > conftest.h
3205    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3206
3207    case $depmode in
3208    nosideeffect)
3209      # after this tag, mechanisms are not by side-effect, so they'll
3210      # only be used when explicitly requested
3211      if test "x$enable_dependency_tracking" = xyes; then
3212        continue
3213      else
3214        break
3215      fi
3216      ;;
3217    none) break ;;
3218    esac
3219    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3220    # mode.  It turns out that the SunPro C++ compiler does not properly
3221    # handle `-M -o', and we need to detect this.
3222    if depmode=$depmode \
3223       source=conftest.c object=conftest.o \
3224       depfile=conftest.Po tmpdepfile=conftest.TPo \
3225       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
3226       grep conftest.h conftest.Po > /dev/null 2>&1 &&
3227       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3228      am_cv_CC_dependencies_compiler_type=$depmode
3229      break
3230    fi
3231  done
3232
3233  cd ..
3234  rm -rf conftest.dir
3235else
3236  am_cv_CC_dependencies_compiler_type=none
3237fi
3238
3239fi
3240echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3241echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3242CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3243
3244
3245
3246if
3247  test "x$enable_dependency_tracking" != xno \
3248  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3249  am__fastdepCC_TRUE=
3250  am__fastdepCC_FALSE='#'
3251else
3252  am__fastdepCC_TRUE='#'
3253  am__fastdepCC_FALSE=
3254fi
3255
3256
3257ac_ext=c
3258ac_cpp='$CPP $CPPFLAGS'
3259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3261ac_compiler_gnu=$ac_cv_c_compiler_gnu
3262echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3263echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3264# On Suns, sometimes $CPP names a directory.
3265if test -n "$CPP" && test -d "$CPP"; then
3266  CPP=
3267fi
3268if test -z "$CPP"; then
3269  if test "${ac_cv_prog_CPP+set}" = set; then
3270  echo $ECHO_N "(cached) $ECHO_C" >&6
3271else
3272      # Double quotes because CPP needs to be expanded
3273    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3274    do
3275      ac_preproc_ok=false
3276for ac_c_preproc_warn_flag in '' yes
3277do
3278  # Use a header file that comes with gcc, so configuring glibc
3279  # with a fresh cross-compiler works.
3280  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3281  # <limits.h> exists even on freestanding compilers.
3282  # On the NeXT, cc -E runs the code through the compiler's parser,
3283  # not just through cpp. "Syntax error" is here to catch this case.
3284  cat >conftest.$ac_ext <<_ACEOF
3285#line $LINENO "configure"
3286/* confdefs.h.  */
3287_ACEOF
3288cat confdefs.h >>conftest.$ac_ext
3289cat >>conftest.$ac_ext <<_ACEOF
3290/* end confdefs.h.  */
3291#ifdef __STDC__
3292# include <limits.h>
3293#else
3294# include <assert.h>
3295#endif
3296                     Syntax error
3297_ACEOF
3298if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3299  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3300  ac_status=$?
3301  grep -v '^ *+' conftest.er1 >conftest.err
3302  rm -f conftest.er1
3303  cat conftest.err >&5
3304  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305  (exit $ac_status); } >/dev/null; then
3306  if test -s conftest.err; then
3307    ac_cpp_err=$ac_c_preproc_warn_flag
3308  else
3309    ac_cpp_err=
3310  fi
3311else
3312  ac_cpp_err=yes
3313fi
3314if test -z "$ac_cpp_err"; then
3315  :
3316else
3317  echo "$as_me: failed program was:" >&5
3318sed 's/^/| /' conftest.$ac_ext >&5
3319
3320  # Broken: fails on valid input.
3321continue
3322fi
3323rm -f conftest.err conftest.$ac_ext
3324
3325  # OK, works on sane cases.  Now check whether non-existent headers
3326  # can be detected and how.
3327  cat >conftest.$ac_ext <<_ACEOF
3328#line $LINENO "configure"
3329/* confdefs.h.  */
3330_ACEOF
3331cat confdefs.h >>conftest.$ac_ext
3332cat >>conftest.$ac_ext <<_ACEOF
3333/* end confdefs.h.  */
3334#include <ac_nonexistent.h>
3335_ACEOF
3336if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3337  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3338  ac_status=$?
3339  grep -v '^ *+' conftest.er1 >conftest.err
3340  rm -f conftest.er1
3341  cat conftest.err >&5
3342  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343  (exit $ac_status); } >/dev/null; then
3344  if test -s conftest.err; then
3345    ac_cpp_err=$ac_c_preproc_warn_flag
3346  else
3347    ac_cpp_err=
3348  fi
3349else
3350  ac_cpp_err=yes
3351fi
3352if test -z "$ac_cpp_err"; then
3353  # Broken: success on invalid input.
3354continue
3355else
3356  echo "$as_me: failed program was:" >&5
3357sed 's/^/| /' conftest.$ac_ext >&5
3358
3359  # Passes both tests.
3360ac_preproc_ok=:
3361break
3362fi
3363rm -f conftest.err conftest.$ac_ext
3364
3365done
3366# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3367rm -f conftest.err conftest.$ac_ext
3368if $ac_preproc_ok; then
3369  break
3370fi
3371
3372    done
3373    ac_cv_prog_CPP=$CPP
3374
3375fi
3376  CPP=$ac_cv_prog_CPP
3377else
3378  ac_cv_prog_CPP=$CPP
3379fi
3380echo "$as_me:$LINENO: result: $CPP" >&5
3381echo "${ECHO_T}$CPP" >&6
3382ac_preproc_ok=false
3383for ac_c_preproc_warn_flag in '' yes
3384do
3385  # Use a header file that comes with gcc, so configuring glibc
3386  # with a fresh cross-compiler works.
3387  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3388  # <limits.h> exists even on freestanding compilers.
3389  # On the NeXT, cc -E runs the code through the compiler's parser,
3390  # not just through cpp. "Syntax error" is here to catch this case.
3391  cat >conftest.$ac_ext <<_ACEOF
3392#line $LINENO "configure"
3393/* confdefs.h.  */
3394_ACEOF
3395cat confdefs.h >>conftest.$ac_ext
3396cat >>conftest.$ac_ext <<_ACEOF
3397/* end confdefs.h.  */
3398#ifdef __STDC__
3399# include <limits.h>
3400#else
3401# include <assert.h>
3402#endif
3403                     Syntax error
3404_ACEOF
3405if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3406  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3407  ac_status=$?
3408  grep -v '^ *+' conftest.er1 >conftest.err
3409  rm -f conftest.er1
3410  cat conftest.err >&5
3411  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412  (exit $ac_status); } >/dev/null; then
3413  if test -s conftest.err; then
3414    ac_cpp_err=$ac_c_preproc_warn_flag
3415  else
3416    ac_cpp_err=
3417  fi
3418else
3419  ac_cpp_err=yes
3420fi
3421if test -z "$ac_cpp_err"; then
3422  :
3423else
3424  echo "$as_me: failed program was:" >&5
3425sed 's/^/| /' conftest.$ac_ext >&5
3426
3427  # Broken: fails on valid input.
3428continue
3429fi
3430rm -f conftest.err conftest.$ac_ext
3431
3432  # OK, works on sane cases.  Now check whether non-existent headers
3433  # can be detected and how.
3434  cat >conftest.$ac_ext <<_ACEOF
3435#line $LINENO "configure"
3436/* confdefs.h.  */
3437_ACEOF
3438cat confdefs.h >>conftest.$ac_ext
3439cat >>conftest.$ac_ext <<_ACEOF
3440/* end confdefs.h.  */
3441#include <ac_nonexistent.h>
3442_ACEOF
3443if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3444  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3445  ac_status=$?
3446  grep -v '^ *+' conftest.er1 >conftest.err
3447  rm -f conftest.er1
3448  cat conftest.err >&5
3449  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450  (exit $ac_status); } >/dev/null; then
3451  if test -s conftest.err; then
3452    ac_cpp_err=$ac_c_preproc_warn_flag
3453  else
3454    ac_cpp_err=
3455  fi
3456else
3457  ac_cpp_err=yes
3458fi
3459if test -z "$ac_cpp_err"; then
3460  # Broken: success on invalid input.
3461continue
3462else
3463  echo "$as_me: failed program was:" >&5
3464sed 's/^/| /' conftest.$ac_ext >&5
3465
3466  # Passes both tests.
3467ac_preproc_ok=:
3468break
3469fi
3470rm -f conftest.err conftest.$ac_ext
3471
3472done
3473# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3474rm -f conftest.err conftest.$ac_ext
3475if $ac_preproc_ok; then
3476  :
3477else
3478  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3479See \`config.log' for more details." >&5
3480echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3481See \`config.log' for more details." >&2;}
3482   { (exit 1); exit 1; }; }
3483fi
3484
3485ac_ext=c
3486ac_cpp='$CPP $CPPFLAGS'
3487ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3488ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3489ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490
3491
3492
3493
3494if test x"$GCC" = x"yes"; then
3495  RTEMS_USE_GCC_TRUE=
3496  RTEMS_USE_GCC_FALSE='#'
3497else
3498  RTEMS_USE_GCC_TRUE='#'
3499  RTEMS_USE_GCC_FALSE=
3500fi
3501
3502
3503
3504echo "$as_me:$LINENO: checking whether $CC accepts -isystem" >&5
3505echo $ECHO_N "checking whether $CC accepts -isystem... $ECHO_C" >&6
3506if test "${rtems_cv_gcc_isystem+set}" = set; then
3507  echo $ECHO_N "(cached) $ECHO_C" >&6
3508else
3509
3510rtems_cv_gcc_isystem=no
3511if test x"$GCC" = x"yes"; then
3512cat << EOF > conftest.h
3513int conftest123();
3514EOF
3515cat << EOF > conftest.c
3516#include <conftest.h>
3517int conftest123() {}
3518EOF
3519  if test -z "`${CC} -isystem./ -c conftest.c 2>&1`";then
3520    rtems_cv_gcc_isystem=yes
3521  fi
3522fi
3523rm -f conftest*
3524
3525fi
3526echo "$as_me:$LINENO: result: $rtems_cv_gcc_isystem" >&5
3527echo "${ECHO_T}$rtems_cv_gcc_isystem" >&6
3528
3529
3530echo "$as_me:$LINENO: checking whether $CC accepts --pipe" >&5
3531echo $ECHO_N "checking whether $CC accepts --pipe... $ECHO_C" >&6
3532if test "${rtems_cv_gcc_pipe+set}" = set; then
3533  echo $ECHO_N "(cached) $ECHO_C" >&6
3534else
3535
3536rtems_cv_gcc_pipe=no
3537if test x"$GCC" = x"yes"; then
3538    echo 'void f(){}' >conftest.c
3539    if test -z "`${CC} --pipe -c conftest.c 2>&1`";then
3540      rtems_cv_gcc_pipe=yes
3541    fi
3542    rm -f conftest*
3543fi
3544
3545fi
3546echo "$as_me:$LINENO: result: $rtems_cv_gcc_pipe" >&5
3547echo "${ECHO_T}$rtems_cv_gcc_pipe" >&6
3548
3549test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
3550
3551
3552echo "$as_me:$LINENO: checking whether $CC accepts -specs" >&5
3553echo $ECHO_N "checking whether $CC accepts -specs... $ECHO_C" >&6
3554if test "${rtems_cv_gcc_specs+set}" = set; then
3555  echo $ECHO_N "(cached) $ECHO_C" >&6
3556else
3557
3558rtems_cv_gcc_specs=no
3559if test x"$GCC" = x"yes"; then
3560  touch confspec
3561  echo 'void f(){}' >conftest.c
3562  if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then
3563    rtems_cv_gcc_specs=yes
3564  fi
3565fi
3566rm -f confspec conftest*
3567
3568fi
3569echo "$as_me:$LINENO: result: $rtems_cv_gcc_specs" >&5
3570echo "${ECHO_T}$rtems_cv_gcc_specs" >&6
3571
3572if test "$GCC" = yes; then
3573RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall"
3574RTEMS_CFLAGS="$RTEMS_CFLAGS -ansi -fasm"
3575fi
3576
3577if test x"$rtems_cv_gcc_isystem" = x"yes"; then
3578
3579  RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"
3580else
3581
3582  RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)"
3583
3584fi
3585
3586
3587
3588
3589
3590  if test "x$build_alias" != "x$host_alias"; then
3591  rtems_tool_prefix=${ac_tool_prefix}
3592fi
3593
3594  # Extract the first word of "${rtems_tool_prefix}ar", so it can be a program name with args.
3595set dummy ${rtems_tool_prefix}ar; ac_word=$2
3596echo "$as_me:$LINENO: checking for $ac_word" >&5
3597echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3598if test "${ac_cv_prog_AR+set}" = set; then
3599  echo $ECHO_N "(cached) $ECHO_C" >&6
3600else
3601  if test -n "$AR"; then
3602  ac_cv_prog_AR="$AR" # Let the user override the test.
3603else
3604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3605for as_dir in $PATH
3606do
3607  IFS=$as_save_IFS
3608  test -z "$as_dir" && as_dir=.
3609  for ac_exec_ext in '' $ac_executable_extensions; do
3610  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3611    ac_cv_prog_AR="${rtems_tool_prefix}ar"
3612    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3613    break 2
3614  fi
3615done
3616done
3617
3618  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="no"
3619fi
3620fi
3621AR=$ac_cv_prog_AR
3622if test -n "$AR"; then
3623  echo "$as_me:$LINENO: result: $AR" >&5
3624echo "${ECHO_T}$AR" >&6
3625else
3626  echo "$as_me:$LINENO: result: no" >&5
3627echo "${ECHO_T}no" >&6
3628fi
3629
3630
3631
3632  if test "x$build_alias" != "x$host_alias"; then
3633  rtems_tool_prefix=${ac_tool_prefix}
3634fi
3635
3636  # Extract the first word of "${rtems_tool_prefix}as", so it can be a program name with args.
3637set dummy ${rtems_tool_prefix}as; ac_word=$2
3638echo "$as_me:$LINENO: checking for $ac_word" >&5
3639echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3640if test "${ac_cv_prog_AS+set}" = set; then
3641  echo $ECHO_N "(cached) $ECHO_C" >&6
3642else
3643  if test -n "$AS"; then
3644  ac_cv_prog_AS="$AS" # Let the user override the test.
3645else
3646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647for as_dir in $PATH
3648do
3649  IFS=$as_save_IFS
3650  test -z "$as_dir" && as_dir=.
3651  for ac_exec_ext in '' $ac_executable_extensions; do
3652  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3653    ac_cv_prog_AS="${rtems_tool_prefix}as"
3654    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3655    break 2
3656  fi
3657done
3658done
3659
3660  test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="no"
3661fi
3662fi
3663AS=$ac_cv_prog_AS
3664if test -n "$AS"; then
3665  echo "$as_me:$LINENO: result: $AS" >&5
3666echo "${ECHO_T}$AS" >&6
3667else
3668  echo "$as_me:$LINENO: result: no" >&5
3669echo "${ECHO_T}no" >&6
3670fi
3671
3672
3673
3674  if test "x$build_alias" != "x$host_alias"; then
3675  rtems_tool_prefix=${ac_tool_prefix}
3676fi
3677
3678  # Extract the first word of "${rtems_tool_prefix}ld", so it can be a program name with args.
3679set dummy ${rtems_tool_prefix}ld; ac_word=$2
3680echo "$as_me:$LINENO: checking for $ac_word" >&5
3681echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3682if test "${ac_cv_prog_LD+set}" = set; then
3683  echo $ECHO_N "(cached) $ECHO_C" >&6
3684else
3685  if test -n "$LD"; then
3686  ac_cv_prog_LD="$LD" # Let the user override the test.
3687else
3688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689for as_dir in $PATH
3690do
3691  IFS=$as_save_IFS
3692  test -z "$as_dir" && as_dir=.
3693  for ac_exec_ext in '' $ac_executable_extensions; do
3694  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3695    ac_cv_prog_LD="${rtems_tool_prefix}ld"
3696    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3697    break 2
3698  fi
3699done
3700done
3701
3702  test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="no"
3703fi
3704fi
3705LD=$ac_cv_prog_LD
3706if test -n "$LD"; then
3707  echo "$as_me:$LINENO: result: $LD" >&5
3708echo "${ECHO_T}$LD" >&6
3709else
3710  echo "$as_me:$LINENO: result: no" >&5
3711echo "${ECHO_T}no" >&6
3712fi
3713
3714
3715
3716  if test "x$build_alias" != "x$host_alias"; then
3717  rtems_tool_prefix=${ac_tool_prefix}
3718fi
3719
3720  # Extract the first word of "${rtems_tool_prefix}nm", so it can be a program name with args.
3721set dummy ${rtems_tool_prefix}nm; ac_word=$2
3722echo "$as_me:$LINENO: checking for $ac_word" >&5
3723echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3724if test "${ac_cv_prog_NM+set}" = set; then
3725  echo $ECHO_N "(cached) $ECHO_C" >&6
3726else
3727  if test -n "$NM"; then
3728  ac_cv_prog_NM="$NM" # Let the user override the test.
3729else
3730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3731for as_dir in $PATH
3732do
3733  IFS=$as_save_IFS
3734  test -z "$as_dir" && as_dir=.
3735  for ac_exec_ext in '' $ac_executable_extensions; do
3736  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3737    ac_cv_prog_NM="${rtems_tool_prefix}nm"
3738    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3739    break 2
3740  fi
3741done
3742done
3743
3744  test -z "$ac_cv_prog_NM" && ac_cv_prog_NM="no"
3745fi
3746fi
3747NM=$ac_cv_prog_NM
3748if test -n "$NM"; then
3749  echo "$as_me:$LINENO: result: $NM" >&5
3750echo "${ECHO_T}$NM" >&6
3751else
3752  echo "$as_me:$LINENO: result: no" >&5
3753echo "${ECHO_T}no" >&6
3754fi
3755
3756
3757
3758
3759  if test "x$build_alias" != "x$host_alias"; then
3760  rtems_tool_prefix=${ac_tool_prefix}
3761fi
3762
3763  # Extract the first word of "${rtems_tool_prefix}ranlib", so it can be a program name with args.
3764set dummy ${rtems_tool_prefix}ranlib; ac_word=$2
3765echo "$as_me:$LINENO: checking for $ac_word" >&5
3766echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3767if test "${ac_cv_prog_RANLIB+set}" = set; then
3768  echo $ECHO_N "(cached) $ECHO_C" >&6
3769else
3770  if test -n "$RANLIB"; then
3771  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3772else
3773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3774for as_dir in $PATH
3775do
3776  IFS=$as_save_IFS
3777  test -z "$as_dir" && as_dir=.
3778  for ac_exec_ext in '' $ac_executable_extensions; do
3779  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3780    ac_cv_prog_RANLIB="${rtems_tool_prefix}ranlib"
3781    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3782    break 2
3783  fi
3784done
3785done
3786
3787  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
3788fi
3789fi
3790RANLIB=$ac_cv_prog_RANLIB
3791if test -n "$RANLIB"; then
3792  echo "$as_me:$LINENO: result: $RANLIB" >&5
3793echo "${ECHO_T}$RANLIB" >&6
3794else
3795  echo "$as_me:$LINENO: result: no" >&5
3796echo "${ECHO_T}no" >&6
3797fi
3798
3799
3800
3801
3802  if test "x$build_alias" != "x$host_alias"; then
3803  rtems_tool_prefix=${ac_tool_prefix}
3804fi
3805
3806  # Extract the first word of "${rtems_tool_prefix}objcopy", so it can be a program name with args.
3807set dummy ${rtems_tool_prefix}objcopy; ac_word=$2
3808echo "$as_me:$LINENO: checking for $ac_word" >&5
3809echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3810if test "${ac_cv_prog_OBJCOPY+set}" = set; then
3811  echo $ECHO_N "(cached) $ECHO_C" >&6
3812else
3813  if test -n "$OBJCOPY"; then
3814  ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
3815else
3816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3817for as_dir in $PATH
3818do
3819  IFS=$as_save_IFS
3820  test -z "$as_dir" && as_dir=.
3821  for ac_exec_ext in '' $ac_executable_extensions; do
3822  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3823    ac_cv_prog_OBJCOPY="${rtems_tool_prefix}objcopy"
3824    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3825    break 2
3826  fi
3827done
3828done
3829
3830  test -z "$ac_cv_prog_OBJCOPY" && ac_cv_prog_OBJCOPY="no"
3831fi
3832fi
3833OBJCOPY=$ac_cv_prog_OBJCOPY
3834if test -n "$OBJCOPY"; then
3835  echo "$as_me:$LINENO: result: $OBJCOPY" >&5
3836echo "${ECHO_T}$OBJCOPY" >&6
3837else
3838  echo "$as_me:$LINENO: result: no" >&5
3839echo "${ECHO_T}no" >&6
3840fi
3841
3842
3843
3844  if test "x$build_alias" != "x$host_alias"; then
3845  rtems_tool_prefix=${ac_tool_prefix}
3846fi
3847
3848  # Extract the first word of "${rtems_tool_prefix}size", so it can be a program name with args.
3849set dummy ${rtems_tool_prefix}size; ac_word=$2
3850echo "$as_me:$LINENO: checking for $ac_word" >&5
3851echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3852if test "${ac_cv_prog_SIZE+set}" = set; then
3853  echo $ECHO_N "(cached) $ECHO_C" >&6
3854else
3855  if test -n "$SIZE"; then
3856  ac_cv_prog_SIZE="$SIZE" # Let the user override the test.
3857else
3858as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859for as_dir in $PATH
3860do
3861  IFS=$as_save_IFS
3862  test -z "$as_dir" && as_dir=.
3863  for ac_exec_ext in '' $ac_executable_extensions; do
3864  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3865    ac_cv_prog_SIZE="${rtems_tool_prefix}size"
3866    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3867    break 2
3868  fi
3869done
3870done
3871
3872  test -z "$ac_cv_prog_SIZE" && ac_cv_prog_SIZE="no"
3873fi
3874fi
3875SIZE=$ac_cv_prog_SIZE
3876if test -n "$SIZE"; then
3877  echo "$as_me:$LINENO: result: $SIZE" >&5
3878echo "${ECHO_T}$SIZE" >&6
3879else
3880  echo "$as_me:$LINENO: result: no" >&5
3881echo "${ECHO_T}no" >&6
3882fi
3883
3884
3885
3886  if test "x$build_alias" != "x$host_alias"; then
3887  rtems_tool_prefix=${ac_tool_prefix}
3888fi
3889
3890  # Extract the first word of "${rtems_tool_prefix}strip", so it can be a program name with args.
3891set dummy ${rtems_tool_prefix}strip; ac_word=$2
3892echo "$as_me:$LINENO: checking for $ac_word" >&5
3893echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3894if test "${ac_cv_prog_STRIP+set}" = set; then
3895  echo $ECHO_N "(cached) $ECHO_C" >&6
3896else
3897  if test -n "$STRIP"; then
3898  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3899else
3900as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901for as_dir in $PATH
3902do
3903  IFS=$as_save_IFS
3904  test -z "$as_dir" && as_dir=.
3905  for ac_exec_ext in '' $ac_executable_extensions; do
3906  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3907    ac_cv_prog_STRIP="${rtems_tool_prefix}strip"
3908    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3909    break 2
3910  fi
3911done
3912done
3913
3914  test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
3915fi
3916fi
3917STRIP=$ac_cv_prog_STRIP
3918if test -n "$STRIP"; then
3919  echo "$as_me:$LINENO: result: $STRIP" >&5
3920echo "${ECHO_T}$STRIP" >&6
3921else
3922  echo "$as_me:$LINENO: result: no" >&5
3923echo "${ECHO_T}no" >&6
3924fi
3925
3926
3927
3928
3929
3930
3931# Check whether --enable-networking or --disable-networking was given.
3932if test "${enable_networking+set}" = set; then
3933  enableval="$enable_networking"
3934  case "${enableval}" in
3935  yes) RTEMS_HAS_NETWORKING=yes ;;
3936  no) RTEMS_HAS_NETWORKING=no ;;
3937  *)  { { echo "$as_me:$LINENO: error: bad value ${enableval} for enable-networking option" >&5
3938echo "$as_me: error: bad value ${enableval} for enable-networking option" >&2;}
3939   { (exit 1); exit 1; }; } ;;
3940esac
3941else
3942  RTEMS_HAS_NETWORKING=yes
3943fi;
3944
3945
3946echo "$as_me:$LINENO: checking whether BSP supports networking" >&5
3947echo $ECHO_N "checking whether BSP supports networking... $ECHO_C" >&6
3948if test "${rtems_cv_HAS_NETWORKING+set}" = set; then
3949  echo $ECHO_N "(cached) $ECHO_C" >&6
3950else
3951      case "$RTEMS_CPU" in
3952    unix*)
3953      rtems_cv_HAS_NETWORKING="no"
3954      ;;
3955    *)
3956      if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
3957        rtems_cv_HAS_NETWORKING="yes";
3958      else
3959        rtems_cv_HAS_NETWORKING="disabled";
3960      fi
3961      ;;
3962    esac
3963fi
3964echo "$as_me:$LINENO: result: $rtems_cv_HAS_NETWORKING" >&5
3965echo "${ECHO_T}$rtems_cv_HAS_NETWORKING" >&6
3966if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
3967  HAS_NETWORKING="yes";
3968else
3969  HAS_NETWORKING="no";
3970fi
3971
3972
3973
3974if test "$HAS_NETWORKING" = "yes"; then
3975  HAS_NETWORKING_TRUE=
3976  HAS_NETWORKING_FALSE='#'
3977else
3978  HAS_NETWORKING_TRUE='#'
3979  HAS_NETWORKING_FALSE=
3980fi
3981
3982
3983AS=$CC
3984# By default we simply use the C compiler to build assembly code.
3985
3986: ${CCAS='$(CC)'}
3987# Set ASFLAGS if not already set.
3988: ${CCASFLAGS='$(CFLAGS)'}
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998case ${RTEMS_BSP} in
3999* )
4000  PPC_USE_DATA_CACHE=${PPC_USE_DATA_CACHE-1} ;;
4001esac
4002if test -n "${PPC_USE_DATA_CACHE}"; then
4003cat >>confdefs.h <<_ACEOF
4004#define PPC_USE_DATA_CACHE $PPC_USE_DATA_CACHE
4005_ACEOF
4006fi
4007
4008
4009
4010# Explicitly list all Makefiles here
4011                                                                                                                                  ac_config_files="$ac_config_files Makefile clock/Makefile console/Makefile include/Makefile pci/Makefile GT64260/Makefile network/Makefile irq/Makefile start/Makefile startup/Makefile vectors/Makefile vme/Makefile wrapup/Makefile"
4012
4013
4014
4015exceptions="new_exception_processing"
4016
4017
4018
4019
4020
4021cat >confcache <<\_ACEOF
4022# This file is a shell script that caches the results of configure
4023# tests run on this system so they can be shared between configure
4024# scripts and configure runs, see configure's option --config-cache.
4025# It is not useful on other systems.  If it contains results you don't
4026# want to keep, you may remove or edit it.
4027#
4028# config.status only pays attention to the cache file if you give it
4029# the --recheck option to rerun configure.
4030#
4031# `ac_cv_env_foo' variables (set or unset) will be overridden when
4032# loading this file, other *unset* `ac_cv_foo' will be assigned the
4033# following values.
4034
4035_ACEOF
4036
4037# The following way of writing the cache mishandles newlines in values,
4038# but we know of no workaround that is simple, portable, and efficient.
4039# So, don't put newlines in cache variables' values.
4040# Ultrix sh set writes to stderr and can't be redirected directly,
4041# and sets the high bit in the cache file unless we assign to the vars.
4042{
4043  (set) 2>&1 |
4044    case `(ac_space=' '; set | grep ac_space) 2>&1` in
4045    *ac_space=\ *)
4046      # `set' does not quote correctly, so add quotes (double-quote
4047      # substitution turns \\\\ into \\, and sed turns \\ into \).
4048      sed -n \
4049        "s/'/'\\\\''/g;
4050          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4051      ;;
4052    *)
4053      # `set' quotes correctly as required by POSIX, so do not add quotes.
4054      sed -n \
4055        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4056      ;;
4057    esac;
4058} |
4059  sed '
4060     t clear
4061     : clear
4062     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4063     t end
4064     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4065     : end' >>confcache
4066if diff $cache_file confcache >/dev/null 2>&1; then :; else
4067  if test -w $cache_file; then
4068    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4069    cat confcache >$cache_file
4070  else
4071    echo "not updating unwritable cache $cache_file"
4072  fi
4073fi
4074rm -f confcache
4075
4076test "x$prefix" = xNONE && prefix=$ac_default_prefix
4077# Let make expand exec_prefix.
4078test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4079
4080# VPATH may cause trouble with some makes, so we remove $(srcdir),
4081# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4082# trailing colons and then remove the whole line if VPATH becomes empty
4083# (actually we leave an empty line to preserve line numbers).
4084if test "x$srcdir" = x.; then
4085  ac_vpsub='/^[         ]*VPATH[        ]*=/{
4086s/:*\$(srcdir):*/:/;
4087s/:*\${srcdir}:*/:/;
4088s/:*@srcdir@:*/:/;
4089s/^\([^=]*=[    ]*\):*/\1/;
4090s/:*$//;
4091s/^[^=]*=[      ]*$//;
4092}'
4093fi
4094
4095DEFS=-DHAVE_CONFIG_H
4096
4097ac_libobjs=
4098ac_ltlibobjs=
4099for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4100  # 1. Remove the extension, and $U if already installed.
4101  ac_i=`echo "$ac_i" |
4102         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4103  # 2. Add them.
4104  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4105  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4106done
4107LIBOBJS=$ac_libobjs
4108
4109LTLIBOBJS=$ac_ltlibobjs
4110
4111
4112if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4113  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4114Usually this means the macro was only invoked conditionally." >&5
4115echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4116Usually this means the macro was only invoked conditionally." >&2;}
4117   { (exit 1); exit 1; }; }
4118fi
4119if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
4120  { { echo "$as_me:$LINENO: error: conditional \"MULTILIB\" was never defined.
4121Usually this means the macro was only invoked conditionally." >&5
4122echo "$as_me: error: conditional \"MULTILIB\" was never defined.
4123Usually this means the macro was only invoked conditionally." >&2;}
4124   { (exit 1); exit 1; }; }
4125fi
4126if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
4127  { { echo "$as_me:$LINENO: error: conditional \"MULTILIB\" was never defined.
4128Usually this means the macro was only invoked conditionally." >&5
4129echo "$as_me: error: conditional \"MULTILIB\" was never defined.
4130Usually this means the macro was only invoked conditionally." >&2;}
4131   { (exit 1); exit 1; }; }
4132fi
4133if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4134  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4135Usually this means the macro was only invoked conditionally." >&5
4136echo "$as_me: error: conditional \"AMDEP\" was never defined.
4137Usually this means the macro was only invoked conditionally." >&2;}
4138   { (exit 1); exit 1; }; }
4139fi
4140if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4141  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4142Usually this means the macro was only invoked conditionally." >&5
4143echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4144Usually this means the macro was only invoked conditionally." >&2;}
4145   { (exit 1); exit 1; }; }
4146fi
4147if test -z "${RTEMS_USE_GCC_TRUE}" && test -z "${RTEMS_USE_GCC_FALSE}"; then
4148  { { echo "$as_me:$LINENO: error: conditional \"RTEMS_USE_GCC\" was never defined.
4149Usually this means the macro was only invoked conditionally." >&5
4150echo "$as_me: error: conditional \"RTEMS_USE_GCC\" was never defined.
4151Usually this means the macro was only invoked conditionally." >&2;}
4152   { (exit 1); exit 1; }; }
4153fi
4154if test -z "${HAS_NETWORKING_TRUE}" && test -z "${HAS_NETWORKING_FALSE}"; then
4155  { { echo "$as_me:$LINENO: error: conditional \"HAS_NETWORKING\" was never defined.
4156Usually this means the macro was only invoked conditionally." >&5
4157echo "$as_me: error: conditional \"HAS_NETWORKING\" was never defined.
4158Usually this means the macro was only invoked conditionally." >&2;}
4159   { (exit 1); exit 1; }; }
4160fi
4161
4162: ${CONFIG_STATUS=./config.status}
4163ac_clean_files_save=$ac_clean_files
4164ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4165{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4166echo "$as_me: creating $CONFIG_STATUS" >&6;}
4167cat >$CONFIG_STATUS <<_ACEOF
4168#! $SHELL
4169# Generated by $as_me.
4170# Run this file to recreate the current configuration.
4171# Compiler output produced by configure, useful for debugging
4172# configure, is in config.log if it exists.
4173
4174debug=false
4175ac_cs_recheck=false
4176ac_cs_silent=false
4177SHELL=\${CONFIG_SHELL-$SHELL}
4178_ACEOF
4179
4180cat >>$CONFIG_STATUS <<\_ACEOF
4181## --------------------- ##
4182## M4sh Initialization.  ##
4183## --------------------- ##
4184
4185# Be Bourne compatible
4186if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4187  emulate sh
4188  NULLCMD=:
4189  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4190  # is contrary to our usage.  Disable this feature.
4191  alias -g '${1+"$@"}'='"$@"'
4192elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4193  set -o posix
4194fi
4195
4196# Support unset when possible.
4197if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4198  as_unset=unset
4199else
4200  as_unset=false
4201fi
4202
4203
4204# Work around bugs in pre-3.0 UWIN ksh.
4205$as_unset ENV MAIL MAILPATH
4206PS1='$ '
4207PS2='> '
4208PS4='+ '
4209
4210# NLS nuisances.
4211for as_var in \
4212  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4213  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4214  LC_TELEPHONE LC_TIME
4215do
4216  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4217    eval $as_var=C; export $as_var
4218  else
4219    $as_unset $as_var
4220  fi
4221done
4222
4223# Required to use basename.
4224if expr a : '\(a\)' >/dev/null 2>&1; then
4225  as_expr=expr
4226else
4227  as_expr=false
4228fi
4229
4230if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4231  as_basename=basename
4232else
4233  as_basename=false
4234fi
4235
4236
4237# Name of the executable.
4238as_me=`$as_basename "$0" ||
4239$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4240         X"$0" : 'X\(//\)$' \| \
4241         X"$0" : 'X\(/\)$' \| \
4242         .     : '\(.\)' 2>/dev/null ||
4243echo X/"$0" |
4244    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4245          /^X\/\(\/\/\)$/{ s//\1/; q; }
4246          /^X\/\(\/\).*/{ s//\1/; q; }
4247          s/.*/./; q'`
4248
4249
4250# PATH needs CR, and LINENO needs CR and PATH.
4251# Avoid depending upon Character Ranges.
4252as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4253as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4254as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4255as_cr_digits='0123456789'
4256as_cr_alnum=$as_cr_Letters$as_cr_digits
4257
4258# The user is always right.
4259if test "${PATH_SEPARATOR+set}" != set; then
4260  echo "#! /bin/sh" >conf$$.sh
4261  echo  "exit 0"   >>conf$$.sh
4262  chmod +x conf$$.sh
4263  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4264    PATH_SEPARATOR=';'
4265  else
4266    PATH_SEPARATOR=:
4267  fi
4268  rm -f conf$$.sh
4269fi
4270
4271
4272  as_lineno_1=$LINENO
4273  as_lineno_2=$LINENO
4274  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4275  test "x$as_lineno_1" != "x$as_lineno_2" &&
4276  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4277  # Find who we are.  Look in the path if we contain no path at all
4278  # relative or not.
4279  case $0 in
4280    *[\\/]* ) as_myself=$0 ;;
4281    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282for as_dir in $PATH
4283do
4284  IFS=$as_save_IFS
4285  test -z "$as_dir" && as_dir=.
4286  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4287done
4288
4289       ;;
4290  esac
4291  # We did not find ourselves, most probably we were run as `sh COMMAND'
4292  # in which case we are not to be found in the path.
4293  if test "x$as_myself" = x; then
4294    as_myself=$0
4295  fi
4296  if test ! -f "$as_myself"; then
4297    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4298echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4299   { (exit 1); exit 1; }; }
4300  fi
4301  case $CONFIG_SHELL in
4302  '')
4303    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4304for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4305do
4306  IFS=$as_save_IFS
4307  test -z "$as_dir" && as_dir=.
4308  for as_base in sh bash ksh sh5; do
4309         case $as_dir in
4310         /*)
4311           if ("$as_dir/$as_base" -c '
4312  as_lineno_1=$LINENO
4313  as_lineno_2=$LINENO
4314  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4315  test "x$as_lineno_1" != "x$as_lineno_2" &&
4316  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4317             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4318             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4319             CONFIG_SHELL=$as_dir/$as_base
4320             export CONFIG_SHELL
4321             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4322           fi;;
4323         esac
4324       done
4325done
4326;;
4327  esac
4328
4329  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4330  # uniformly replaced by the line number.  The first 'sed' inserts a
4331  # line-number line before each line; the second 'sed' does the real
4332  # work.  The second script uses 'N' to pair each line-number line
4333  # with the numbered line, and appends trailing '-' during
4334  # substitution so that $LINENO is not a special case at line end.
4335  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4336  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4337  sed '=' <$as_myself |
4338    sed '
4339      N
4340      s,$,-,
4341      : loop
4342      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4343      t loop
4344      s,-$,,
4345      s,^['$as_cr_digits']*\n,,
4346    ' >$as_me.lineno &&
4347  chmod +x $as_me.lineno ||
4348    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4349echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4350   { (exit 1); exit 1; }; }
4351
4352  # Don't try to exec as it changes $[0], causing all sort of problems
4353  # (the dirname of $[0] is not the place where we might find the
4354  # original and so on.  Autoconf is especially sensible to this).
4355  . ./$as_me.lineno
4356  # Exit status is that of the last command.
4357  exit
4358}
4359
4360
4361case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4362  *c*,-n*) ECHO_N= ECHO_C='
4363' ECHO_T='      ' ;;
4364  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4365  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4366esac
4367
4368if expr a : '\(a\)' >/dev/null 2>&1; then
4369  as_expr=expr
4370else
4371  as_expr=false
4372fi
4373
4374rm -f conf$$ conf$$.exe conf$$.file
4375echo >conf$$.file
4376if ln -s conf$$.file conf$$ 2>/dev/null; then
4377  # We could just check for DJGPP; but this test a) works b) is more generic
4378  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4379  if test -f conf$$.exe; then
4380    # Don't use ln at all; we don't have any links
4381    as_ln_s='cp -p'
4382  else
4383    as_ln_s='ln -s'
4384  fi
4385elif ln conf$$.file conf$$ 2>/dev/null; then
4386  as_ln_s=ln
4387else
4388  as_ln_s='cp -p'
4389fi
4390rm -f conf$$ conf$$.exe conf$$.file
4391
4392if mkdir -p . 2>/dev/null; then
4393  as_mkdir_p=:
4394else
4395  as_mkdir_p=false
4396fi
4397
4398as_executable_p="test -f"
4399
4400# Sed expression to map a string onto a valid CPP name.
4401as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4402
4403# Sed expression to map a string onto a valid variable name.
4404as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4405
4406
4407# IFS
4408# We need space, tab and new line, in precisely that order.
4409as_nl='
4410'
4411IFS="   $as_nl"
4412
4413# CDPATH.
4414$as_unset CDPATH
4415
4416exec 6>&1
4417
4418# Open the log real soon, to keep \$[0] and so on meaningful, and to
4419# report actual input values of CONFIG_FILES etc. instead of their
4420# values after options handling.  Logging --version etc. is OK.
4421exec 5>>config.log
4422{
4423  echo
4424  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4425## Running $as_me. ##
4426_ASBOX
4427} >&5
4428cat >&5 <<_CSEOF
4429
4430This file was extended by rtems-c-src-lib-libbsp-powerpc-mvme5500 $as_me 4.6.2, which was
4431generated by GNU Autoconf 2.57.  Invocation command line was
4432
4433  CONFIG_FILES    = $CONFIG_FILES
4434  CONFIG_HEADERS  = $CONFIG_HEADERS
4435  CONFIG_LINKS    = $CONFIG_LINKS
4436  CONFIG_COMMANDS = $CONFIG_COMMANDS
4437  $ $0 $@
4438
4439_CSEOF
4440echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4441echo >&5
4442_ACEOF
4443
4444# Files that config.status was made for.
4445if test -n "$ac_config_files"; then
4446  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4447fi
4448
4449if test -n "$ac_config_headers"; then
4450  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4451fi
4452
4453if test -n "$ac_config_links"; then
4454  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4455fi
4456
4457if test -n "$ac_config_commands"; then
4458  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4459fi
4460
4461cat >>$CONFIG_STATUS <<\_ACEOF
4462
4463ac_cs_usage="\
4464\`$as_me' instantiates files from templates according to the
4465current configuration.
4466
4467Usage: $0 [OPTIONS] [FILE]...
4468
4469  -h, --help       print this help, then exit
4470  -V, --version    print version number, then exit
4471  -q, --quiet      do not print progress messages
4472  -d, --debug      don't remove temporary files
4473      --recheck    update $as_me by reconfiguring in the same conditions
4474  --file=FILE[:TEMPLATE]
4475                   instantiate the configuration file FILE
4476  --header=FILE[:TEMPLATE]
4477                   instantiate the configuration header FILE
4478
4479Configuration files:
4480$config_files
4481
4482Configuration headers:
4483$config_headers
4484
4485Configuration commands:
4486$config_commands
4487
4488Report bugs to <bug-autoconf@gnu.org>."
4489_ACEOF
4490
4491cat >>$CONFIG_STATUS <<_ACEOF
4492ac_cs_version="\\
4493rtems-c-src-lib-libbsp-powerpc-mvme5500 config.status 4.6.2
4494configured by $0, generated by GNU Autoconf 2.57,
4495  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4496
4497Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4498Free Software Foundation, Inc.
4499This config.status script is free software; the Free Software Foundation
4500gives unlimited permission to copy, distribute and modify it."
4501srcdir=$srcdir
4502INSTALL="$INSTALL"
4503_ACEOF
4504
4505cat >>$CONFIG_STATUS <<\_ACEOF
4506# If no file are specified by the user, then we need to provide default
4507# value.  By we need to know if files were specified by the user.
4508ac_need_defaults=:
4509while test $# != 0
4510do
4511  case $1 in
4512  --*=*)
4513    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4514    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4515    ac_shift=:
4516    ;;
4517  -*)
4518    ac_option=$1
4519    ac_optarg=$2
4520    ac_shift=shift
4521    ;;
4522  *) # This is not an option, so the user has probably given explicit
4523     # arguments.
4524     ac_option=$1
4525     ac_need_defaults=false;;
4526  esac
4527
4528  case $ac_option in
4529  # Handling of the options.
4530_ACEOF
4531cat >>$CONFIG_STATUS <<\_ACEOF
4532  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4533    ac_cs_recheck=: ;;
4534  --version | --vers* | -V )
4535    echo "$ac_cs_version"; exit 0 ;;
4536  --he | --h)
4537    # Conflict between --help and --header
4538    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4539Try \`$0 --help' for more information." >&5
4540echo "$as_me: error: ambiguous option: $1
4541Try \`$0 --help' for more information." >&2;}
4542   { (exit 1); exit 1; }; };;
4543  --help | --hel | -h )
4544    echo "$ac_cs_usage"; exit 0 ;;
4545  --debug | --d* | -d )
4546    debug=: ;;
4547  --file | --fil | --fi | --f )
4548    $ac_shift
4549    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4550    ac_need_defaults=false;;
4551  --header | --heade | --head | --hea )
4552    $ac_shift
4553    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4554    ac_need_defaults=false;;
4555  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4556  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4557    ac_cs_silent=: ;;
4558
4559  # This is an error.
4560  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4561Try \`$0 --help' for more information." >&5
4562echo "$as_me: error: unrecognized option: $1
4563Try \`$0 --help' for more information." >&2;}
4564   { (exit 1); exit 1; }; } ;;
4565
4566  *) ac_config_targets="$ac_config_targets $1" ;;
4567
4568  esac
4569  shift
4570done
4571
4572ac_configure_extra_args=
4573
4574if $ac_cs_silent; then
4575  exec 6>/dev/null
4576  ac_configure_extra_args="$ac_configure_extra_args --silent"
4577fi
4578
4579_ACEOF
4580cat >>$CONFIG_STATUS <<_ACEOF
4581if \$ac_cs_recheck; then
4582  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4583  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4584fi
4585
4586_ACEOF
4587
4588cat >>$CONFIG_STATUS <<_ACEOF
4589#
4590# INIT-COMMANDS section.
4591#
4592
4593AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4594
4595_ACEOF
4596
4597
4598
4599cat >>$CONFIG_STATUS <<\_ACEOF
4600for ac_config_target in $ac_config_targets
4601do
4602  case "$ac_config_target" in
4603  # Handling of arguments.
4604  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4605  "clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES clock/Makefile" ;;
4606  "console/Makefile" ) CONFIG_FILES="$CONFIG_FILES console/Makefile" ;;
4607  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
4608  "pci/Makefile" ) CONFIG_FILES="$CONFIG_FILES pci/Makefile" ;;
4609  "GT64260/Makefile" ) CONFIG_FILES="$CONFIG_FILES GT64260/Makefile" ;;
4610  "network/Makefile" ) CONFIG_FILES="$CONFIG_FILES network/Makefile" ;;
4611  "irq/Makefile" ) CONFIG_FILES="$CONFIG_FILES irq/Makefile" ;;
4612  "start/Makefile" ) CONFIG_FILES="$CONFIG_FILES start/Makefile" ;;
4613  "startup/Makefile" ) CONFIG_FILES="$CONFIG_FILES startup/Makefile" ;;
4614  "vectors/Makefile" ) CONFIG_FILES="$CONFIG_FILES vectors/Makefile" ;;
4615  "vme/Makefile" ) CONFIG_FILES="$CONFIG_FILES vme/Makefile" ;;
4616  "wrapup/Makefile" ) CONFIG_FILES="$CONFIG_FILES wrapup/Makefile" ;;
4617  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4618  "include/bspopts.tmp" ) CONFIG_HEADERS="$CONFIG_HEADERS include/bspopts.tmp:include/bspopts.h.in" ;;
4619  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4620echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4621   { (exit 1); exit 1; }; };;
4622  esac
4623done
4624
4625# If the user did not use the arguments to specify the items to instantiate,
4626# then the envvar interface is used.  Set only those that are not.
4627# We use the long form for the default assignment because of an extremely
4628# bizarre bug on SunOS 4.1.3.
4629if $ac_need_defaults; then
4630  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4631  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4632  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4633fi
4634
4635# Have a temporary directory for convenience.  Make it in the build tree
4636# simply because there is no reason to put it here, and in addition,
4637# creating and moving files from /tmp can sometimes cause problems.
4638# Create a temporary directory, and hook for its removal unless debugging.
4639$debug ||
4640{
4641  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4642  trap '{ (exit 1); exit 1; }' 1 2 13 15
4643}
4644
4645# Create a (secure) tmp directory for tmp files.
4646
4647{
4648  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4649  test -n "$tmp" && test -d "$tmp"
4650}  ||
4651{
4652  tmp=./confstat$$-$RANDOM
4653  (umask 077 && mkdir $tmp)
4654} ||
4655{
4656   echo "$me: cannot create a temporary directory in ." >&2
4657   { (exit 1); exit 1; }
4658}
4659
4660_ACEOF
4661
4662cat >>$CONFIG_STATUS <<_ACEOF
4663
4664#
4665# CONFIG_FILES section.
4666#
4667
4668# No need to generate the scripts if there are no CONFIG_FILES.
4669# This happens for instance when ./config.status config.h
4670if test -n "\$CONFIG_FILES"; then
4671  # Protect against being on the right side of a sed subst in config.status.
4672  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4673   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4674s,@SHELL@,$SHELL,;t t
4675s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4676s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4677s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4678s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4679s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4680s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4681s,@exec_prefix@,$exec_prefix,;t t
4682s,@prefix@,$prefix,;t t
4683s,@program_transform_name@,$program_transform_name,;t t
4684s,@bindir@,$bindir,;t t
4685s,@sbindir@,$sbindir,;t t
4686s,@libexecdir@,$libexecdir,;t t
4687s,@datadir@,$datadir,;t t
4688s,@sysconfdir@,$sysconfdir,;t t
4689s,@sharedstatedir@,$sharedstatedir,;t t
4690s,@localstatedir@,$localstatedir,;t t
4691s,@libdir@,$libdir,;t t
4692s,@includedir@,$includedir,;t t
4693s,@oldincludedir@,$oldincludedir,;t t
4694s,@infodir@,$infodir,;t t
4695s,@mandir@,$mandir,;t t
4696s,@build_alias@,$build_alias,;t t
4697s,@host_alias@,$host_alias,;t t
4698s,@target_alias@,$target_alias,;t t
4699s,@DEFS@,$DEFS,;t t
4700s,@ECHO_C@,$ECHO_C,;t t
4701s,@ECHO_N@,$ECHO_N,;t t
4702s,@ECHO_T@,$ECHO_T,;t t
4703s,@LIBS@,$LIBS,;t t
4704s,@MAKE@,$MAKE,;t t
4705s,@ENDIF@,$ENDIF,;t t
4706s,@RTEMS_TOPdir@,$RTEMS_TOPdir,;t t
4707s,@PROJECT_TOPdir@,$PROJECT_TOPdir,;t t
4708s,@PROJECT_ROOT@,$PROJECT_ROOT,;t t
4709s,@build@,$build,;t t
4710s,@build_cpu@,$build_cpu,;t t
4711s,@build_vendor@,$build_vendor,;t t
4712s,@build_os@,$build_os,;t t
4713s,@host@,$host,;t t
4714s,@host_cpu@,$host_cpu,;t t
4715s,@host_vendor@,$host_vendor,;t t
4716s,@host_os@,$host_os,;t t
4717s,@target@,$target,;t t
4718s,@target_cpu@,$target_cpu,;t t
4719s,@target_vendor@,$target_vendor,;t t
4720s,@target_os@,$target_os,;t t
4721s,@RTEMS_CPU@,$RTEMS_CPU,;t t
4722s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4723s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4724s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4725s,@CYGPATH_W@,$CYGPATH_W,;t t
4726s,@PACKAGE@,$PACKAGE,;t t
4727s,@VERSION@,$VERSION,;t t
4728s,@ACLOCAL@,$ACLOCAL,;t t
4729s,@AUTOCONF@,$AUTOCONF,;t t
4730s,@AUTOMAKE@,$AUTOMAKE,;t t
4731s,@AUTOHEADER@,$AUTOHEADER,;t t
4732s,@MAKEINFO@,$MAKEINFO,;t t
4733s,@AMTAR@,$AMTAR,;t t
4734s,@install_sh@,$install_sh,;t t
4735s,@STRIP@,$STRIP,;t t
4736s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4737s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4738s,@AWK@,$AWK,;t t
4739s,@SET_MAKE@,$SET_MAKE,;t t
4740s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4741s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4742s,@MAINT@,$MAINT,;t t
4743s,@CPU_CFLAGS@,$CPU_CFLAGS,;t t
4744s,@CFLAGS_OPTIMIZE_V@,$CFLAGS_OPTIMIZE_V,;t t
4745s,@CFLAGS_DEBUG_V@,$CFLAGS_DEBUG_V,;t t
4746s,@CFLAGS_PROFILE_V@,$CFLAGS_PROFILE_V,;t t
4747s,@RTEMS_BSP_FAMILY@,$RTEMS_BSP_FAMILY,;t t
4748s,@RTEMS_CPU_MODEL@,$RTEMS_CPU_MODEL,;t t
4749s,@RTEMS_BSP@,$RTEMS_BSP,;t t
4750s,@RTEMS_BSP_SPECS@,$RTEMS_BSP_SPECS,;t t
4751s,@GCC_SPECS@,$GCC_SPECS,;t t
4752s,@PROJECT_INCLUDE@,$PROJECT_INCLUDE,;t t
4753s,@PROJECT_RELEASE@,$PROJECT_RELEASE,;t t
4754s,@RTEMS_ROOT@,$RTEMS_ROOT,;t t
4755s,@BARE_CPU_MODEL@,$BARE_CPU_MODEL,;t t
4756s,@BARE_CPU_CFLAGS@,$BARE_CPU_CFLAGS,;t t
4757s,@MULTILIB_TRUE@,$MULTILIB_TRUE,;t t
4758s,@MULTILIB_FALSE@,$MULTILIB_FALSE,;t t
4759s,@bsplibdir@,$bsplibdir,;t t
4760s,@RTEMS_HOST@,$RTEMS_HOST,;t t
4761s,@PACKHEX@,$PACKHEX,;t t
4762s,@HAS_MP@,$HAS_MP,;t t
4763s,@RTEMS_CFLAGS@,$RTEMS_CFLAGS,;t t
4764s,@CC@,$CC,;t t
4765s,@CFLAGS@,$CFLAGS,;t t
4766s,@LDFLAGS@,$LDFLAGS,;t t
4767s,@CPPFLAGS@,$CPPFLAGS,;t t
4768s,@ac_ct_CC@,$ac_ct_CC,;t t
4769s,@EXEEXT@,$EXEEXT,;t t
4770s,@OBJEXT@,$OBJEXT,;t t
4771s,@DEPDIR@,$DEPDIR,;t t
4772s,@am__include@,$am__include,;t t
4773s,@am__quote@,$am__quote,;t t
4774s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4775s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4776s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4777s,@CCDEPMODE@,$CCDEPMODE,;t t
4778s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4779s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4780s,@CPP@,$CPP,;t t
4781s,@RTEMS_USE_GCC_TRUE@,$RTEMS_USE_GCC_TRUE,;t t
4782s,@RTEMS_USE_GCC_FALSE@,$RTEMS_USE_GCC_FALSE,;t t
4783s,@RTEMS_CPPFLAGS@,$RTEMS_CPPFLAGS,;t t
4784s,@AR@,$AR,;t t
4785s,@AS@,$AS,;t t
4786s,@LD@,$LD,;t t
4787s,@NM@,$NM,;t t
4788s,@RANLIB@,$RANLIB,;t t
4789s,@OBJCOPY@,$OBJCOPY,;t t
4790s,@SIZE@,$SIZE,;t t
4791s,@RTEMS_HAS_NETWORKING@,$RTEMS_HAS_NETWORKING,;t t
4792s,@HAS_NETWORKING@,$HAS_NETWORKING,;t t
4793s,@HAS_NETWORKING_TRUE@,$HAS_NETWORKING_TRUE,;t t
4794s,@HAS_NETWORKING_FALSE@,$HAS_NETWORKING_FALSE,;t t
4795s,@CCAS@,$CCAS,;t t
4796s,@CCASFLAGS@,$CCASFLAGS,;t t
4797s,@exceptions@,$exceptions,;t t
4798s,@LIBOBJS@,$LIBOBJS,;t t
4799s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4800CEOF
4801
4802_ACEOF
4803
4804  cat >>$CONFIG_STATUS <<\_ACEOF
4805  # Split the substitutions into bite-sized pieces for seds with
4806  # small command number limits, like on Digital OSF/1 and HP-UX.
4807  ac_max_sed_lines=48
4808  ac_sed_frag=1 # Number of current file.
4809  ac_beg=1 # First line for current file.
4810  ac_end=$ac_max_sed_lines # Line after last line for current file.
4811  ac_more_lines=:
4812  ac_sed_cmds=
4813  while $ac_more_lines; do
4814    if test $ac_beg -gt 1; then
4815      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4816    else
4817      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4818    fi
4819    if test ! -s $tmp/subs.frag; then
4820      ac_more_lines=false
4821    else
4822      # The purpose of the label and of the branching condition is to
4823      # speed up the sed processing (if there are no `@' at all, there
4824      # is no need to browse any of the substitutions).
4825      # These are the two extra sed commands mentioned above.
4826      (echo ':t
4827  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4828      if test -z "$ac_sed_cmds"; then
4829        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4830      else
4831        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4832      fi
4833      ac_sed_frag=`expr $ac_sed_frag + 1`
4834      ac_beg=$ac_end
4835      ac_end=`expr $ac_end + $ac_max_sed_lines`
4836    fi
4837  done
4838  if test -z "$ac_sed_cmds"; then
4839    ac_sed_cmds=cat
4840  fi
4841fi # test -n "$CONFIG_FILES"
4842
4843_ACEOF
4844cat >>$CONFIG_STATUS <<\_ACEOF
4845for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4846  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4847  case $ac_file in
4848  - | *:- | *:-:* ) # input from stdin
4849        cat >$tmp/stdin
4850        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4851        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4852  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4853        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4854  * )   ac_file_in=$ac_file.in ;;
4855  esac
4856
4857  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4858  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4859$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4860         X"$ac_file" : 'X\(//\)[^/]' \| \
4861         X"$ac_file" : 'X\(//\)$' \| \
4862         X"$ac_file" : 'X\(/\)' \| \
4863         .     : '\(.\)' 2>/dev/null ||
4864echo X"$ac_file" |
4865    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4866          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4867          /^X\(\/\/\)$/{ s//\1/; q; }
4868          /^X\(\/\).*/{ s//\1/; q; }
4869          s/.*/./; q'`
4870  { if $as_mkdir_p; then
4871    mkdir -p "$ac_dir"
4872  else
4873    as_dir="$ac_dir"
4874    as_dirs=
4875    while test ! -d "$as_dir"; do
4876      as_dirs="$as_dir $as_dirs"
4877      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4878$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4879         X"$as_dir" : 'X\(//\)[^/]' \| \
4880         X"$as_dir" : 'X\(//\)$' \| \
4881         X"$as_dir" : 'X\(/\)' \| \
4882         .     : '\(.\)' 2>/dev/null ||
4883echo X"$as_dir" |
4884    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4885          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4886          /^X\(\/\/\)$/{ s//\1/; q; }
4887          /^X\(\/\).*/{ s//\1/; q; }
4888          s/.*/./; q'`
4889    done
4890    test ! -n "$as_dirs" || mkdir $as_dirs
4891  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4892echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4893   { (exit 1); exit 1; }; }; }
4894
4895  ac_builddir=.
4896
4897if test "$ac_dir" != .; then
4898  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4899  # A "../" for each directory in $ac_dir_suffix.
4900  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4901else
4902  ac_dir_suffix= ac_top_builddir=
4903fi
4904
4905case $srcdir in
4906  .)  # No --srcdir option.  We are building in place.
4907    ac_srcdir=.
4908    if test -z "$ac_top_builddir"; then
4909       ac_top_srcdir=.
4910    else
4911       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4912    fi ;;
4913  [\\/]* | ?:[\\/]* )  # Absolute path.
4914    ac_srcdir=$srcdir$ac_dir_suffix;
4915    ac_top_srcdir=$srcdir ;;
4916  *) # Relative path.
4917    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4918    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4919esac
4920# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4921# absolute.
4922ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4923ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4924ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4925ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4926
4927
4928  case $INSTALL in
4929  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4930  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4931  esac
4932
4933  if test x"$ac_file" != x-; then
4934    { echo "$as_me:$LINENO: creating $ac_file" >&5
4935echo "$as_me: creating $ac_file" >&6;}
4936    rm -f "$ac_file"
4937  fi
4938  # Let's still pretend it is `configure' which instantiates (i.e., don't
4939  # use $as_me), people would be surprised to read:
4940  #    /* config.h.  Generated by config.status.  */
4941  if test x"$ac_file" = x-; then
4942    configure_input=
4943  else
4944    configure_input="$ac_file.  "
4945  fi
4946  configure_input=$configure_input"Generated from `echo $ac_file_in |
4947                                     sed 's,.*/,,'` by configure."
4948
4949  # First look for the input files in the build tree, otherwise in the
4950  # src tree.
4951  ac_file_inputs=`IFS=:
4952    for f in $ac_file_in; do
4953      case $f in
4954      -) echo $tmp/stdin ;;
4955      [\\/$]*)
4956         # Absolute (can't be DOS-style, as IFS=:)
4957         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4958echo "$as_me: error: cannot find input file: $f" >&2;}
4959   { (exit 1); exit 1; }; }
4960         echo $f;;
4961      *) # Relative
4962         if test -f "$f"; then
4963           # Build tree
4964           echo $f
4965         elif test -f "$srcdir/$f"; then
4966           # Source tree
4967           echo $srcdir/$f
4968         else
4969           # /dev/null tree
4970           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4971echo "$as_me: error: cannot find input file: $f" >&2;}
4972   { (exit 1); exit 1; }; }
4973         fi;;
4974      esac
4975    done` || { (exit 1); exit 1; }
4976_ACEOF
4977cat >>$CONFIG_STATUS <<_ACEOF
4978  sed "$ac_vpsub
4979$extrasub
4980_ACEOF
4981cat >>$CONFIG_STATUS <<\_ACEOF
4982:t
4983/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4984s,@configure_input@,$configure_input,;t t
4985s,@srcdir@,$ac_srcdir,;t t
4986s,@abs_srcdir@,$ac_abs_srcdir,;t t
4987s,@top_srcdir@,$ac_top_srcdir,;t t
4988s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4989s,@builddir@,$ac_builddir,;t t
4990s,@abs_builddir@,$ac_abs_builddir,;t t
4991s,@top_builddir@,$ac_top_builddir,;t t
4992s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4993s,@INSTALL@,$ac_INSTALL,;t t
4994" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4995  rm -f $tmp/stdin
4996  if test x"$ac_file" != x-; then
4997    mv $tmp/out $ac_file
4998  else
4999    cat $tmp/out
5000    rm -f $tmp/out
5001  fi
5002
5003done
5004_ACEOF
5005cat >>$CONFIG_STATUS <<\_ACEOF
5006
5007#
5008# CONFIG_HEADER section.
5009#
5010
5011# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5012# NAME is the cpp macro being defined and VALUE is the value it is being given.
5013#
5014# ac_d sets the value in "#define NAME VALUE" lines.
5015ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
5016ac_dB='[        ].*$,\1#\2'
5017ac_dC=' '
5018ac_dD=',;t'
5019# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5020ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5021ac_uB='$,\1#\2define\3'
5022ac_uC=' '
5023ac_uD=',;t'
5024
5025for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5026  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5027  case $ac_file in
5028  - | *:- | *:-:* ) # input from stdin
5029        cat >$tmp/stdin
5030        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5031        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5032  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5033        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5034  * )   ac_file_in=$ac_file.in ;;
5035  esac
5036
5037  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5038echo "$as_me: creating $ac_file" >&6;}
5039
5040  # First look for the input files in the build tree, otherwise in the
5041  # src tree.
5042  ac_file_inputs=`IFS=:
5043    for f in $ac_file_in; do
5044      case $f in
5045      -) echo $tmp/stdin ;;
5046      [\\/$]*)
5047         # Absolute (can't be DOS-style, as IFS=:)
5048         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5049echo "$as_me: error: cannot find input file: $f" >&2;}
5050   { (exit 1); exit 1; }; }
5051         echo $f;;
5052      *) # Relative
5053         if test -f "$f"; then
5054           # Build tree
5055           echo $f
5056         elif test -f "$srcdir/$f"; then
5057           # Source tree
5058           echo $srcdir/$f
5059         else
5060           # /dev/null tree
5061           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5062echo "$as_me: error: cannot find input file: $f" >&2;}
5063   { (exit 1); exit 1; }; }
5064         fi;;
5065      esac
5066    done` || { (exit 1); exit 1; }
5067  # Remove the trailing spaces.
5068  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
5069
5070_ACEOF
5071
5072# Transform confdefs.h into two sed scripts, `conftest.defines' and
5073# `conftest.undefs', that substitutes the proper values into
5074# config.h.in to produce config.h.  The first handles `#define'
5075# templates, and the second `#undef' templates.
5076# And first: Protect against being on the right side of a sed subst in
5077# config.status.  Protect against being in an unquoted here document
5078# in config.status.
5079rm -f conftest.defines conftest.undefs
5080# Using a here document instead of a string reduces the quoting nightmare.
5081# Putting comments in sed scripts is not portable.
5082#
5083# `end' is used to avoid that the second main sed command (meant for
5084# 0-ary CPP macros) applies to n-ary macro definitions.
5085# See the Autoconf documentation for `clear'.
5086cat >confdef2sed.sed <<\_ACEOF
5087s/[\\&,]/\\&/g
5088s,[\\$`],\\&,g
5089t clear
5090: clear
5091s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5092t end
5093s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5094: end
5095_ACEOF
5096# If some macros were called several times there might be several times
5097# the same #defines, which is useless.  Nevertheless, we may not want to
5098# sort them, since we want the *last* AC-DEFINE to be honored.
5099uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5100sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5101rm -f confdef2sed.sed
5102
5103# This sed command replaces #undef with comments.  This is necessary, for
5104# example, in the case of _POSIX_SOURCE, which is predefined and required
5105# on some systems where configure will not decide to define it.
5106cat >>conftest.undefs <<\_ACEOF
5107s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5108_ACEOF
5109
5110# Break up conftest.defines because some shells have a limit on the size
5111# of here documents, and old seds have small limits too (100 cmds).
5112echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5113echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5114echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5115echo '  :' >>$CONFIG_STATUS
5116rm -f conftest.tail
5117while grep . conftest.defines >/dev/null
5118do
5119  # Write a limited-size here document to $tmp/defines.sed.
5120  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5121  # Speed up: don't consider the non `#define' lines.
5122  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
5123  # Work around the forget-to-reset-the-flag bug.
5124  echo 't clr' >>$CONFIG_STATUS
5125  echo ': clr' >>$CONFIG_STATUS
5126  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5127  echo 'CEOF
5128  sed -f $tmp/defines.sed $tmp/in >$tmp/out
5129  rm -f $tmp/in
5130  mv $tmp/out $tmp/in
5131' >>$CONFIG_STATUS
5132  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5133  rm -f conftest.defines
5134  mv conftest.tail conftest.defines
5135done
5136rm -f conftest.defines
5137echo '  fi # grep' >>$CONFIG_STATUS
5138echo >>$CONFIG_STATUS
5139
5140# Break up conftest.undefs because some shells have a limit on the size
5141# of here documents, and old seds have small limits too (100 cmds).
5142echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
5143rm -f conftest.tail
5144while grep . conftest.undefs >/dev/null
5145do
5146  # Write a limited-size here document to $tmp/undefs.sed.
5147  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5148  # Speed up: don't consider the non `#undef'
5149  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
5150  # Work around the forget-to-reset-the-flag bug.
5151  echo 't clr' >>$CONFIG_STATUS
5152  echo ': clr' >>$CONFIG_STATUS
5153  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5154  echo 'CEOF
5155  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5156  rm -f $tmp/in
5157  mv $tmp/out $tmp/in
5158' >>$CONFIG_STATUS
5159  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5160  rm -f conftest.undefs
5161  mv conftest.tail conftest.undefs
5162done
5163rm -f conftest.undefs
5164
5165cat >>$CONFIG_STATUS <<\_ACEOF
5166  # Let's still pretend it is `configure' which instantiates (i.e., don't
5167  # use $as_me), people would be surprised to read:
5168  #    /* config.h.  Generated by config.status.  */
5169  if test x"$ac_file" = x-; then
5170    echo "/* Generated by configure.  */" >$tmp/config.h
5171  else
5172    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
5173  fi
5174  cat $tmp/in >>$tmp/config.h
5175  rm -f $tmp/in
5176  if test x"$ac_file" != x-; then
5177    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5178      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5179echo "$as_me: $ac_file is unchanged" >&6;}
5180    else
5181      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5182$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5183         X"$ac_file" : 'X\(//\)[^/]' \| \
5184         X"$ac_file" : 'X\(//\)$' \| \
5185         X"$ac_file" : 'X\(/\)' \| \
5186         .     : '\(.\)' 2>/dev/null ||
5187echo X"$ac_file" |
5188    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5189          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5190          /^X\(\/\/\)$/{ s//\1/; q; }
5191          /^X\(\/\).*/{ s//\1/; q; }
5192          s/.*/./; q'`
5193      { if $as_mkdir_p; then
5194    mkdir -p "$ac_dir"
5195  else
5196    as_dir="$ac_dir"
5197    as_dirs=
5198    while test ! -d "$as_dir"; do
5199      as_dirs="$as_dir $as_dirs"
5200      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5201$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5202         X"$as_dir" : 'X\(//\)[^/]' \| \
5203         X"$as_dir" : 'X\(//\)$' \| \
5204         X"$as_dir" : 'X\(/\)' \| \
5205         .     : '\(.\)' 2>/dev/null ||
5206echo X"$as_dir" |
5207    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5208          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5209          /^X\(\/\/\)$/{ s//\1/; q; }
5210          /^X\(\/\).*/{ s//\1/; q; }
5211          s/.*/./; q'`
5212    done
5213    test ! -n "$as_dirs" || mkdir $as_dirs
5214  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5215echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5216   { (exit 1); exit 1; }; }; }
5217
5218      rm -f $ac_file
5219      mv $tmp/config.h $ac_file
5220    fi
5221  else
5222    cat $tmp/config.h
5223    rm -f $tmp/config.h
5224  fi
5225_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
5226echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5227$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5228         X$ac_file : 'X\(//\)[^/]' \| \
5229         X$ac_file : 'X\(//\)$' \| \
5230         X$ac_file : 'X\(/\)' \| \
5231         .     : '\(.\)' 2>/dev/null ||
5232echo X$ac_file |
5233    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5234          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5235          /^X\(\/\/\)$/{ s//\1/; q; }
5236          /^X\(\/\).*/{ s//\1/; q; }
5237          s/.*/./; q'`/stamp-h$_am_stamp_count
5238  # Run the commands associated with the file.
5239  case $ac_file in
5240    include/bspopts.tmp )
5241echo "/* BSP dependent options file */"         >$tmp/config.h
5242echo "/* automatically generated -- DO NOT EDIT!! */" >>$tmp/config.h
5243echo                                                  >>$tmp/config.h
5244echo "#ifndef __BSP_OPTIONS_h"                        >>$tmp/config.h
5245echo "#define __BSP_OPTIONS_h"                        >>$tmp/config.h
5246echo                                                  >>$tmp/config.h
5247sed -e '/.*PACKAGE.*/d' include/bspopts.tmp >> $tmp/config.h
5248echo                                                  >>$tmp/config.h
5249echo "#endif"                                         >>$tmp/config.h
5250  if cmp -s include/bspopts.h $tmp/config.h 2>/dev/null; then
5251
5252    { echo "$as_me:$LINENO: include/bspopts.h is unchanged" >&5
5253echo "$as_me: include/bspopts.h is unchanged" >&6;}
5254    rm -f $tmp/config.h
5255else
5256
5257    { echo "$as_me:$LINENO: creating include/bspopts.h" >&5
5258echo "$as_me: creating include/bspopts.h" >&6;}
5259    rm -f include/bspopts.h
5260    mv $tmp/config.h include/bspopts.h
5261
5262fi
5263
5264 ;;
5265  esac
5266done
5267_ACEOF
5268cat >>$CONFIG_STATUS <<\_ACEOF
5269
5270#
5271# CONFIG_COMMANDS section.
5272#
5273for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5274  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5275  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5276  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5277$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5278         X"$ac_dest" : 'X\(//\)[^/]' \| \
5279         X"$ac_dest" : 'X\(//\)$' \| \
5280         X"$ac_dest" : 'X\(/\)' \| \
5281         .     : '\(.\)' 2>/dev/null ||
5282echo X"$ac_dest" |
5283    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5284          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5285          /^X\(\/\/\)$/{ s//\1/; q; }
5286          /^X\(\/\).*/{ s//\1/; q; }
5287          s/.*/./; q'`
5288  ac_builddir=.
5289
5290if test "$ac_dir" != .; then
5291  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5292  # A "../" for each directory in $ac_dir_suffix.
5293  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5294else
5295  ac_dir_suffix= ac_top_builddir=
5296fi
5297
5298case $srcdir in
5299  .)  # No --srcdir option.  We are building in place.
5300    ac_srcdir=.
5301    if test -z "$ac_top_builddir"; then
5302       ac_top_srcdir=.
5303    else
5304       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5305    fi ;;
5306  [\\/]* | ?:[\\/]* )  # Absolute path.
5307    ac_srcdir=$srcdir$ac_dir_suffix;
5308    ac_top_srcdir=$srcdir ;;
5309  *) # Relative path.
5310    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5311    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5312esac
5313# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5314# absolute.
5315ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5316ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5317ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5318ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5319
5320
5321  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5322echo "$as_me: executing $ac_dest commands" >&6;}
5323  case $ac_dest in
5324    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5325  # Strip MF so we end up with the name of the file.
5326  mf=`echo "$mf" | sed -e 's/:.*$//'`
5327  # Check whether this is an Automake generated Makefile or not.
5328  # We used to match only the files named `Makefile.in', but
5329  # some people rename them; so instead we look at the file content.
5330  # Grep'ing the first line is not enough: some people post-process
5331  # each Makefile.in and add a new line on top of each file to say so.
5332  # So let's grep whole file.
5333  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5334    dirpart=`(dirname "$mf") 2>/dev/null ||
5335$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5336         X"$mf" : 'X\(//\)[^/]' \| \
5337         X"$mf" : 'X\(//\)$' \| \
5338         X"$mf" : 'X\(/\)' \| \
5339         .     : '\(.\)' 2>/dev/null ||
5340echo X"$mf" |
5341    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5342          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5343          /^X\(\/\/\)$/{ s//\1/; q; }
5344          /^X\(\/\).*/{ s//\1/; q; }
5345          s/.*/./; q'`
5346  else
5347    continue
5348  fi
5349  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5350  # Extract the definition of DEP_FILES from the Makefile without
5351  # running `make'.
5352  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5353  test -z "$DEPDIR" && continue
5354  # When using ansi2knr, U may be empty or an underscore; expand it
5355  U=`sed -n -e '/^U = / s///p' < "$mf"`
5356  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5357  # We invoke sed twice because it is the simplest approach to
5358  # changing $(DEPDIR) to its actual value in the expansion.
5359  for file in `sed -n -e '
5360    /^DEP_FILES = .*\\\\$/ {
5361      s/^DEP_FILES = //
5362      :loop
5363        s/\\\\$//
5364        p
5365        n
5366        /\\\\$/ b loop
5367      p
5368    }
5369    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5370       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5371    # Make sure the directory exists.
5372    test -f "$dirpart/$file" && continue
5373    fdir=`(dirname "$file") 2>/dev/null ||
5374$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5375         X"$file" : 'X\(//\)[^/]' \| \
5376         X"$file" : 'X\(//\)$' \| \
5377         X"$file" : 'X\(/\)' \| \
5378         .     : '\(.\)' 2>/dev/null ||
5379echo X"$file" |
5380    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5381          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5382          /^X\(\/\/\)$/{ s//\1/; q; }
5383          /^X\(\/\).*/{ s//\1/; q; }
5384          s/.*/./; q'`
5385    { if $as_mkdir_p; then
5386    mkdir -p $dirpart/$fdir
5387  else
5388    as_dir=$dirpart/$fdir
5389    as_dirs=
5390    while test ! -d "$as_dir"; do
5391      as_dirs="$as_dir $as_dirs"
5392      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5393$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5394         X"$as_dir" : 'X\(//\)[^/]' \| \
5395         X"$as_dir" : 'X\(//\)$' \| \
5396         X"$as_dir" : 'X\(/\)' \| \
5397         .     : '\(.\)' 2>/dev/null ||
5398echo X"$as_dir" |
5399    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5400          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5401          /^X\(\/\/\)$/{ s//\1/; q; }
5402          /^X\(\/\).*/{ s//\1/; q; }
5403          s/.*/./; q'`
5404    done
5405    test ! -n "$as_dirs" || mkdir $as_dirs
5406  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5407echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5408   { (exit 1); exit 1; }; }; }
5409
5410    # echo "creating $dirpart/$file"
5411    echo '# dummy' > "$dirpart/$file"
5412  done
5413done
5414 ;;
5415  esac
5416done
5417_ACEOF
5418
5419cat >>$CONFIG_STATUS <<\_ACEOF
5420
5421{ (exit 0); exit 0; }
5422_ACEOF
5423chmod +x $CONFIG_STATUS
5424ac_clean_files=$ac_clean_files_save
5425
5426
5427 exceptions_subdirs="new_exception_processing"
5428 updir=/../support
5429
5430if test "$no_recursion" != yes; then
5431
5432
5433
5434ac_sub_configure_args_prune()
5435{
5436  # Remove --cache-file and --srcdir arguments so they do not pile up.
5437  ac_sub_configure_args=
5438  ac_prev=
5439  for ac_arg
5440  do
5441    if test -n "$ac_prev"; then
5442      ac_prev=
5443      continue
5444    fi
5445    case $ac_arg in
5446    -cache-file | --cache-file | --cache-fil | --cache-fi \
5447    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5448          ac_prev=cache_file ;;
5449    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5450    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
5451    | --c=*)
5452      ;;
5453    --config-cache | -C)
5454      ;;
5455    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5456          ac_prev=srcdir ;;
5457    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5458      ;;
5459
5460    *) ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
5461    esac
5462  done
5463  export ac_sub_configure_args
5464}
5465
5466eval ac_sub_configure_args_prune $ac_configure_args
5467
5468
5469  for ac_subdir in : $exceptions_subdirs; do test "x$ac_subdir" = x: && continue
5470
5471    # Do not complain, so a configure script can configure whichever
5472    # parts of a large source tree are present.
5473    test -d $srcdir${updir}/$ac_subdir || continue
5474
5475    { echo "$as_me:$LINENO: configuring in $ac_subdir" >&5
5476echo "$as_me: configuring in $ac_subdir" >&6;}
5477    case $srcdir in
5478    .) ;;
5479    *) { if $as_mkdir_p; then
5480    mkdir -p "./$ac_subdir"
5481  else
5482    as_dir="./$ac_subdir"
5483    as_dirs=
5484    while test ! -d "$as_dir"; do
5485      as_dirs="$as_dir $as_dirs"
5486      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5487$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5488         X"$as_dir" : 'X\(//\)[^/]' \| \
5489         X"$as_dir" : 'X\(//\)$' \| \
5490         X"$as_dir" : 'X\(/\)' \| \
5491         .     : '\(.\)' 2>/dev/null ||
5492echo X"$as_dir" |
5493    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5494          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5495          /^X\(\/\/\)$/{ s//\1/; q; }
5496          /^X\(\/\).*/{ s//\1/; q; }
5497          s/.*/./; q'`
5498    done
5499    test ! -n "$as_dirs" || mkdir $as_dirs
5500  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"./$ac_subdir\"" >&5
5501echo "$as_me: error: cannot create directory \"./$ac_subdir\"" >&2;}
5502   { (exit 1); exit 1; }; }; }
5503
5504       if test -d ./$ac_subdir; then :;
5505       else
5506         { { echo "$as_me:$LINENO: error: cannot create \`pwd\`/$ac_subdir" >&5
5507echo "$as_me: error: cannot create \`pwd\`/$ac_subdir" >&2;}
5508   { (exit 1); exit 1; }; }
5509       fi
5510       ;;
5511    esac
5512
5513    ac_popdir=`pwd`
5514    cd $ac_subdir
5515
5516    # A "../" for each directory in /$ac_subdir.
5517    ac_dots=`echo $ac_subdir |
5518             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
5519
5520    case $srcdir in
5521    .) # No --srcdir option.  We are building in place.
5522      ac_sub_srcdir=$srcdir${updir} ;;
5523    [\\/]* | ?:[\\/]* ) # Absolute path.
5524      ac_sub_srcdir=$srcdir${updir}/$ac_subdir ;;
5525    *) # Relative path.
5526      ac_sub_srcdir=$ac_dots$srcdir${updir}/$ac_subdir ;;
5527    esac
5528
5529    # Check for guested configure; otherwise get Cygnus style configure.
5530    if test -f $ac_sub_srcdir/configure.gnu; then
5531      ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
5532    elif test -f $ac_sub_srcdir/configure; then
5533      ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
5534    elif test -f $ac_sub_srcdir/configure.in; then
5535      ac_sub_configure=$ac_configure
5536    else
5537      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_subdir" >&5
5538echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
5539      ac_sub_configure=
5540    fi
5541
5542    # The recursion is here.
5543    if test -n "$ac_sub_configure"; then
5544      # Make the cache file name correct relative to the subdirectory.
5545      case $cache_file in
5546      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5547      *) # Relative path.
5548        ac_sub_cache_file=$ac_dots$cache_file ;;
5549      esac
5550
5551      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5
5552echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&6;}
5553      # The eval makes quoting arguments work.
5554      eval $ac_sub_configure $ac_sub_configure_args \
5555           --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
5556        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_subdir" >&5
5557echo "$as_me: error: $ac_sub_configure failed for $ac_subdir" >&2;}
5558   { (exit 1); exit 1; }; }
5559    fi
5560
5561    cd "$ac_popdir"
5562  done
5563fi
5564
5565
5566# configure is writing to config.log, and then calls config.status.
5567# config.status does its own redirection, appending to config.log.
5568# Unfortunately, on DOS this fails, as config.log is still kept open
5569# by configure, so config.status won't be able to write to it; its
5570# output is simply discarded.  So we exec the FD to /dev/null,
5571# effectively closing config.log, so it can be properly (re)opened and
5572# appended to by config.status.  When coming back to configure, we
5573# need to make the FD available again.
5574if test "$no_create" != yes; then
5575  ac_cs_success=:
5576  ac_config_status_args=
5577  test "$silent" = yes &&
5578    ac_config_status_args="$ac_config_status_args --quiet"
5579  exec 5>/dev/null
5580  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5581  exec 5>>config.log
5582  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5583  # would make configure fail if this is the last instruction.
5584  $ac_cs_success || { (exit 1); exit 1; }
5585fi
5586
Note: See TracBrowser for help on using the repository browser.