1 |
1026 |
ivang |
#! /bin/sh
|
2 |
|
|
# Guess values for system-dependent variables and create Makefiles.
|
3 |
|
|
# Generated by Autoconf 2.52 for rtems-c-src-tests ss-20020807.
|
4 |
|
|
#
|
5 |
|
|
# Report bugs to .
|
6 |
|
|
#
|
7 |
|
|
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
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 |
|
|
# Avoid depending upon Character Ranges.
|
13 |
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
14 |
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
15 |
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
16 |
|
|
as_cr_digits='0123456789'
|
17 |
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
18 |
|
|
|
19 |
|
|
# Sed expression to map a string onto a valid variable name.
|
20 |
|
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
21 |
|
|
|
22 |
|
|
# Sed expression to map a string onto a valid CPP name.
|
23 |
|
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
24 |
|
|
|
25 |
|
|
# Be Bourne compatible
|
26 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
27 |
|
|
emulate sh
|
28 |
|
|
NULLCMD=:
|
29 |
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
30 |
|
|
set -o posix
|
31 |
|
|
fi
|
32 |
|
|
|
33 |
|
|
# Name of the executable.
|
34 |
|
|
as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
35 |
|
|
|
36 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
37 |
|
|
as_expr=expr
|
38 |
|
|
else
|
39 |
|
|
as_expr=false
|
40 |
|
|
fi
|
41 |
|
|
|
42 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
43 |
|
|
echo >conf$$.file
|
44 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
45 |
|
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
46 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
47 |
|
|
if test -f conf$$.exe; then
|
48 |
|
|
# Don't use ln at all; we don't have any links
|
49 |
|
|
as_ln_s='cp -p'
|
50 |
|
|
else
|
51 |
|
|
as_ln_s='ln -s'
|
52 |
|
|
fi
|
53 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
54 |
|
|
as_ln_s=ln
|
55 |
|
|
else
|
56 |
|
|
as_ln_s='cp -p'
|
57 |
|
|
fi
|
58 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
59 |
|
|
|
60 |
|
|
as_executable_p="test -f"
|
61 |
|
|
|
62 |
|
|
# Support unset when possible.
|
63 |
|
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
64 |
|
|
as_unset=unset
|
65 |
|
|
else
|
66 |
|
|
as_unset=false
|
67 |
|
|
fi
|
68 |
|
|
|
69 |
|
|
# NLS nuisances.
|
70 |
|
|
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
71 |
|
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
72 |
|
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
73 |
|
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
74 |
|
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
75 |
|
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
76 |
|
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
77 |
|
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
78 |
|
|
|
79 |
|
|
# IFS
|
80 |
|
|
# We need space, tab and new line, in precisely that order.
|
81 |
|
|
as_nl='
|
82 |
|
|
'
|
83 |
|
|
IFS=" $as_nl"
|
84 |
|
|
|
85 |
|
|
# CDPATH.
|
86 |
|
|
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
87 |
|
|
|
88 |
|
|
# Name of the host.
|
89 |
|
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
90 |
|
|
# so uname gets run too.
|
91 |
|
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
92 |
|
|
|
93 |
|
|
exec 6>&1
|
94 |
|
|
|
95 |
|
|
#
|
96 |
|
|
# Initializations.
|
97 |
|
|
#
|
98 |
|
|
ac_default_prefix=/usr/local
|
99 |
|
|
cross_compiling=no
|
100 |
|
|
subdirs=
|
101 |
|
|
MFLAGS= MAKEFLAGS=
|
102 |
|
|
SHELL=${CONFIG_SHELL-/bin/sh}
|
103 |
|
|
|
104 |
|
|
# Maximum number of lines to put in a shell here document.
|
105 |
|
|
# This variable seems obsolete. It should probably be removed, and
|
106 |
|
|
# only ac_max_sed_lines should be used.
|
107 |
|
|
: ${ac_max_here_lines=38}
|
108 |
|
|
|
109 |
|
|
ac_unique_file="samples"
|
110 |
|
|
ac_default_prefix=/opt/rtems
|
111 |
|
|
ac_subdirs_all="$ac_subdirs_all tools"
|
112 |
|
|
ac_subdirs_all="$ac_subdirs_all support"
|
113 |
|
|
ac_subdirs_all="$ac_subdirs_all samples"
|
114 |
|
|
ac_subdirs_all="$ac_subdirs_all libtests sptests"
|
115 |
|
|
ac_subdirs_all="$ac_subdirs_all mptests"
|
116 |
|
|
ac_subdirs_all="$ac_subdirs_all psxtests"
|
117 |
|
|
ac_subdirs_all="$ac_subdirs_all itrontests"
|
118 |
|
|
ac_subdirs_all="$ac_subdirs_all tmtests"
|
119 |
|
|
ac_subdirs_all="$ac_subdirs_all tmitrontests"
|
120 |
|
|
|
121 |
|
|
# Initialize some variables set by options.
|
122 |
|
|
ac_init_help=
|
123 |
|
|
ac_init_version=false
|
124 |
|
|
# The variables have the same names as the options, with
|
125 |
|
|
# dashes changed to underlines.
|
126 |
|
|
cache_file=/dev/null
|
127 |
|
|
exec_prefix=NONE
|
128 |
|
|
no_create=
|
129 |
|
|
no_recursion=
|
130 |
|
|
prefix=NONE
|
131 |
|
|
program_prefix=NONE
|
132 |
|
|
program_suffix=NONE
|
133 |
|
|
program_transform_name=s,x,x,
|
134 |
|
|
silent=
|
135 |
|
|
site=
|
136 |
|
|
srcdir=
|
137 |
|
|
verbose=
|
138 |
|
|
x_includes=NONE
|
139 |
|
|
x_libraries=NONE
|
140 |
|
|
|
141 |
|
|
# Installation directory options.
|
142 |
|
|
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
143 |
|
|
# and all the variables that are supposed to be based on exec_prefix
|
144 |
|
|
# by default will actually change.
|
145 |
|
|
# Use braces instead of parens because sh, perl, etc. also accept them.
|
146 |
|
|
bindir='${exec_prefix}/bin'
|
147 |
|
|
sbindir='${exec_prefix}/sbin'
|
148 |
|
|
libexecdir='${exec_prefix}/libexec'
|
149 |
|
|
datadir='${prefix}/share'
|
150 |
|
|
sysconfdir='${prefix}/etc'
|
151 |
|
|
sharedstatedir='${prefix}/com'
|
152 |
|
|
localstatedir='${prefix}/var'
|
153 |
|
|
libdir='${exec_prefix}/lib'
|
154 |
|
|
includedir='${prefix}/include'
|
155 |
|
|
oldincludedir='/usr/include'
|
156 |
|
|
infodir='${prefix}/info'
|
157 |
|
|
mandir='${prefix}/man'
|
158 |
|
|
|
159 |
|
|
# Identity of this package.
|
160 |
|
|
PACKAGE_NAME='rtems-c-src-tests'
|
161 |
|
|
PACKAGE_TARNAME='rtems-c-src-tests'
|
162 |
|
|
PACKAGE_VERSION='ss-20020807'
|
163 |
|
|
PACKAGE_STRING='rtems-c-src-tests ss-20020807'
|
164 |
|
|
PACKAGE_BUGREPORT='rtems-bugs@OARcorp.com'
|
165 |
|
|
|
166 |
|
|
ac_prev=
|
167 |
|
|
for ac_option
|
168 |
|
|
do
|
169 |
|
|
# If the previous option needs an argument, assign it.
|
170 |
|
|
if test -n "$ac_prev"; then
|
171 |
|
|
eval "$ac_prev=\$ac_option"
|
172 |
|
|
ac_prev=
|
173 |
|
|
continue
|
174 |
|
|
fi
|
175 |
|
|
|
176 |
|
|
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
177 |
|
|
|
178 |
|
|
# Accept the important Cygnus configure options, so we can diagnose typos.
|
179 |
|
|
|
180 |
|
|
case $ac_option in
|
181 |
|
|
|
182 |
|
|
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
183 |
|
|
ac_prev=bindir ;;
|
184 |
|
|
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
185 |
|
|
bindir=$ac_optarg ;;
|
186 |
|
|
|
187 |
|
|
-build | --build | --buil | --bui | --bu)
|
188 |
|
|
ac_prev=build_alias ;;
|
189 |
|
|
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
190 |
|
|
build_alias=$ac_optarg ;;
|
191 |
|
|
|
192 |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
193 |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
194 |
|
|
ac_prev=cache_file ;;
|
195 |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
196 |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
197 |
|
|
cache_file=$ac_optarg ;;
|
198 |
|
|
|
199 |
|
|
--config-cache | -C)
|
200 |
|
|
cache_file=config.cache ;;
|
201 |
|
|
|
202 |
|
|
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
203 |
|
|
ac_prev=datadir ;;
|
204 |
|
|
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
205 |
|
|
| --da=*)
|
206 |
|
|
datadir=$ac_optarg ;;
|
207 |
|
|
|
208 |
|
|
-disable-* | --disable-*)
|
209 |
|
|
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
210 |
|
|
# Reject names that are not valid shell variable names.
|
211 |
|
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
212 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
213 |
|
|
{ (exit 1); exit 1; }; }
|
214 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
215 |
|
|
eval "enable_$ac_feature=no" ;;
|
216 |
|
|
|
217 |
|
|
-enable-* | --enable-*)
|
218 |
|
|
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
219 |
|
|
# Reject names that are not valid shell variable names.
|
220 |
|
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
221 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
222 |
|
|
{ (exit 1); exit 1; }; }
|
223 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
224 |
|
|
case $ac_option in
|
225 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
226 |
|
|
*) ac_optarg=yes ;;
|
227 |
|
|
esac
|
228 |
|
|
eval "enable_$ac_feature='$ac_optarg'" ;;
|
229 |
|
|
|
230 |
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
231 |
|
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
232 |
|
|
| --exec | --exe | --ex)
|
233 |
|
|
ac_prev=exec_prefix ;;
|
234 |
|
|
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
235 |
|
|
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
236 |
|
|
| --exec=* | --exe=* | --ex=*)
|
237 |
|
|
exec_prefix=$ac_optarg ;;
|
238 |
|
|
|
239 |
|
|
-gas | --gas | --ga | --g)
|
240 |
|
|
# Obsolete; use --with-gas.
|
241 |
|
|
with_gas=yes ;;
|
242 |
|
|
|
243 |
|
|
-help | --help | --hel | --he | -h)
|
244 |
|
|
ac_init_help=long ;;
|
245 |
|
|
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
246 |
|
|
ac_init_help=recursive ;;
|
247 |
|
|
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
248 |
|
|
ac_init_help=short ;;
|
249 |
|
|
|
250 |
|
|
-host | --host | --hos | --ho)
|
251 |
|
|
ac_prev=host_alias ;;
|
252 |
|
|
-host=* | --host=* | --hos=* | --ho=*)
|
253 |
|
|
host_alias=$ac_optarg ;;
|
254 |
|
|
|
255 |
|
|
-includedir | --includedir | --includedi | --included | --include \
|
256 |
|
|
| --includ | --inclu | --incl | --inc)
|
257 |
|
|
ac_prev=includedir ;;
|
258 |
|
|
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
259 |
|
|
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
260 |
|
|
includedir=$ac_optarg ;;
|
261 |
|
|
|
262 |
|
|
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
263 |
|
|
ac_prev=infodir ;;
|
264 |
|
|
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
265 |
|
|
infodir=$ac_optarg ;;
|
266 |
|
|
|
267 |
|
|
-libdir | --libdir | --libdi | --libd)
|
268 |
|
|
ac_prev=libdir ;;
|
269 |
|
|
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
270 |
|
|
libdir=$ac_optarg ;;
|
271 |
|
|
|
272 |
|
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
273 |
|
|
| --libexe | --libex | --libe)
|
274 |
|
|
ac_prev=libexecdir ;;
|
275 |
|
|
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
276 |
|
|
| --libexe=* | --libex=* | --libe=*)
|
277 |
|
|
libexecdir=$ac_optarg ;;
|
278 |
|
|
|
279 |
|
|
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
280 |
|
|
| --localstate | --localstat | --localsta | --localst \
|
281 |
|
|
| --locals | --local | --loca | --loc | --lo)
|
282 |
|
|
ac_prev=localstatedir ;;
|
283 |
|
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
284 |
|
|
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
285 |
|
|
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
286 |
|
|
localstatedir=$ac_optarg ;;
|
287 |
|
|
|
288 |
|
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
289 |
|
|
ac_prev=mandir ;;
|
290 |
|
|
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
291 |
|
|
mandir=$ac_optarg ;;
|
292 |
|
|
|
293 |
|
|
-nfp | --nfp | --nf)
|
294 |
|
|
# Obsolete; use --without-fp.
|
295 |
|
|
with_fp=no ;;
|
296 |
|
|
|
297 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
298 |
|
|
| --no-cr | --no-c)
|
299 |
|
|
no_create=yes ;;
|
300 |
|
|
|
301 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
302 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
303 |
|
|
no_recursion=yes ;;
|
304 |
|
|
|
305 |
|
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
306 |
|
|
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
307 |
|
|
| --oldin | --oldi | --old | --ol | --o)
|
308 |
|
|
ac_prev=oldincludedir ;;
|
309 |
|
|
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
310 |
|
|
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
311 |
|
|
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
312 |
|
|
oldincludedir=$ac_optarg ;;
|
313 |
|
|
|
314 |
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
315 |
|
|
ac_prev=prefix ;;
|
316 |
|
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
317 |
|
|
prefix=$ac_optarg ;;
|
318 |
|
|
|
319 |
|
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
320 |
|
|
| --program-pre | --program-pr | --program-p)
|
321 |
|
|
ac_prev=program_prefix ;;
|
322 |
|
|
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
323 |
|
|
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
324 |
|
|
program_prefix=$ac_optarg ;;
|
325 |
|
|
|
326 |
|
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
327 |
|
|
| --program-suf | --program-su | --program-s)
|
328 |
|
|
ac_prev=program_suffix ;;
|
329 |
|
|
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
330 |
|
|
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
331 |
|
|
program_suffix=$ac_optarg ;;
|
332 |
|
|
|
333 |
|
|
-program-transform-name | --program-transform-name \
|
334 |
|
|
| --program-transform-nam | --program-transform-na \
|
335 |
|
|
| --program-transform-n | --program-transform- \
|
336 |
|
|
| --program-transform | --program-transfor \
|
337 |
|
|
| --program-transfo | --program-transf \
|
338 |
|
|
| --program-trans | --program-tran \
|
339 |
|
|
| --progr-tra | --program-tr | --program-t)
|
340 |
|
|
ac_prev=program_transform_name ;;
|
341 |
|
|
-program-transform-name=* | --program-transform-name=* \
|
342 |
|
|
| --program-transform-nam=* | --program-transform-na=* \
|
343 |
|
|
| --program-transform-n=* | --program-transform-=* \
|
344 |
|
|
| --program-transform=* | --program-transfor=* \
|
345 |
|
|
| --program-transfo=* | --program-transf=* \
|
346 |
|
|
| --program-trans=* | --program-tran=* \
|
347 |
|
|
| --progr-tra=* | --program-tr=* | --program-t=*)
|
348 |
|
|
program_transform_name=$ac_optarg ;;
|
349 |
|
|
|
350 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
351 |
|
|
| -silent | --silent | --silen | --sile | --sil)
|
352 |
|
|
silent=yes ;;
|
353 |
|
|
|
354 |
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
355 |
|
|
ac_prev=sbindir ;;
|
356 |
|
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
357 |
|
|
| --sbi=* | --sb=*)
|
358 |
|
|
sbindir=$ac_optarg ;;
|
359 |
|
|
|
360 |
|
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
361 |
|
|
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
362 |
|
|
| --sharedst | --shareds | --shared | --share | --shar \
|
363 |
|
|
| --sha | --sh)
|
364 |
|
|
ac_prev=sharedstatedir ;;
|
365 |
|
|
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
366 |
|
|
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
367 |
|
|
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
368 |
|
|
| --sha=* | --sh=*)
|
369 |
|
|
sharedstatedir=$ac_optarg ;;
|
370 |
|
|
|
371 |
|
|
-site | --site | --sit)
|
372 |
|
|
ac_prev=site ;;
|
373 |
|
|
-site=* | --site=* | --sit=*)
|
374 |
|
|
site=$ac_optarg ;;
|
375 |
|
|
|
376 |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
377 |
|
|
ac_prev=srcdir ;;
|
378 |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
379 |
|
|
srcdir=$ac_optarg ;;
|
380 |
|
|
|
381 |
|
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
382 |
|
|
| --syscon | --sysco | --sysc | --sys | --sy)
|
383 |
|
|
ac_prev=sysconfdir ;;
|
384 |
|
|
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
385 |
|
|
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
386 |
|
|
sysconfdir=$ac_optarg ;;
|
387 |
|
|
|
388 |
|
|
-target | --target | --targe | --targ | --tar | --ta | --t)
|
389 |
|
|
ac_prev=target_alias ;;
|
390 |
|
|
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
391 |
|
|
target_alias=$ac_optarg ;;
|
392 |
|
|
|
393 |
|
|
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
394 |
|
|
verbose=yes ;;
|
395 |
|
|
|
396 |
|
|
-version | --version | --versio | --versi | --vers | -V)
|
397 |
|
|
ac_init_version=: ;;
|
398 |
|
|
|
399 |
|
|
-with-* | --with-*)
|
400 |
|
|
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
401 |
|
|
# Reject names that are not valid shell variable names.
|
402 |
|
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
403 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
404 |
|
|
{ (exit 1); exit 1; }; }
|
405 |
|
|
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
406 |
|
|
case $ac_option in
|
407 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
408 |
|
|
*) ac_optarg=yes ;;
|
409 |
|
|
esac
|
410 |
|
|
eval "with_$ac_package='$ac_optarg'" ;;
|
411 |
|
|
|
412 |
|
|
-without-* | --without-*)
|
413 |
|
|
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
414 |
|
|
# Reject names that are not valid shell variable names.
|
415 |
|
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
416 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
417 |
|
|
{ (exit 1); exit 1; }; }
|
418 |
|
|
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
419 |
|
|
eval "with_$ac_package=no" ;;
|
420 |
|
|
|
421 |
|
|
--x)
|
422 |
|
|
# Obsolete; use --with-x.
|
423 |
|
|
with_x=yes ;;
|
424 |
|
|
|
425 |
|
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
426 |
|
|
| --x-incl | --x-inc | --x-in | --x-i)
|
427 |
|
|
ac_prev=x_includes ;;
|
428 |
|
|
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
429 |
|
|
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
430 |
|
|
x_includes=$ac_optarg ;;
|
431 |
|
|
|
432 |
|
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
433 |
|
|
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
434 |
|
|
ac_prev=x_libraries ;;
|
435 |
|
|
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
436 |
|
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
437 |
|
|
x_libraries=$ac_optarg ;;
|
438 |
|
|
|
439 |
|
|
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
440 |
|
|
Try \`$0 --help' for more information." >&2
|
441 |
|
|
{ (exit 1); exit 1; }; }
|
442 |
|
|
;;
|
443 |
|
|
|
444 |
|
|
*=*)
|
445 |
|
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
446 |
|
|
# Reject names that are not valid shell variable names.
|
447 |
|
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
448 |
|
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
449 |
|
|
{ (exit 1); exit 1; }; }
|
450 |
|
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
451 |
|
|
eval "$ac_envvar='$ac_optarg'"
|
452 |
|
|
export $ac_envvar ;;
|
453 |
|
|
|
454 |
|
|
*)
|
455 |
|
|
# FIXME: should be removed in autoconf 3.0.
|
456 |
|
|
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
457 |
|
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
458 |
|
|
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
459 |
|
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
460 |
|
|
;;
|
461 |
|
|
|
462 |
|
|
esac
|
463 |
|
|
done
|
464 |
|
|
|
465 |
|
|
if test -n "$ac_prev"; then
|
466 |
|
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
467 |
|
|
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
468 |
|
|
{ (exit 1); exit 1; }; }
|
469 |
|
|
fi
|
470 |
|
|
|
471 |
|
|
# Be sure to have absolute paths.
|
472 |
|
|
for ac_var in exec_prefix prefix
|
473 |
|
|
do
|
474 |
|
|
eval ac_val=$`echo $ac_var`
|
475 |
|
|
case $ac_val in
|
476 |
|
|
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
477 |
|
|
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
478 |
|
|
{ (exit 1); exit 1; }; };;
|
479 |
|
|
esac
|
480 |
|
|
done
|
481 |
|
|
|
482 |
|
|
# Be sure to have absolute paths.
|
483 |
|
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
484 |
|
|
localstatedir libdir includedir oldincludedir infodir mandir
|
485 |
|
|
do
|
486 |
|
|
eval ac_val=$`echo $ac_var`
|
487 |
|
|
case $ac_val in
|
488 |
|
|
[\\/$]* | ?:[\\/]* ) ;;
|
489 |
|
|
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
490 |
|
|
{ (exit 1); exit 1; }; };;
|
491 |
|
|
esac
|
492 |
|
|
done
|
493 |
|
|
|
494 |
|
|
# There might be people who depend on the old broken behavior: `$host'
|
495 |
|
|
# used to hold the argument of --host etc.
|
496 |
|
|
build=$build_alias
|
497 |
|
|
host=$host_alias
|
498 |
|
|
target=$target_alias
|
499 |
|
|
|
500 |
|
|
# FIXME: should be removed in autoconf 3.0.
|
501 |
|
|
if test "x$host_alias" != x; then
|
502 |
|
|
if test "x$build_alias" = x; then
|
503 |
|
|
cross_compiling=maybe
|
504 |
|
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
505 |
|
|
If a cross compiler is detected then cross compile mode will be used." >&2
|
506 |
|
|
elif test "x$build_alias" != "x$host_alias"; then
|
507 |
|
|
cross_compiling=yes
|
508 |
|
|
fi
|
509 |
|
|
fi
|
510 |
|
|
|
511 |
|
|
ac_tool_prefix=
|
512 |
|
|
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
513 |
|
|
|
514 |
|
|
test "$silent" = yes && exec 6>/dev/null
|
515 |
|
|
|
516 |
|
|
# Find the source files, if location was not specified.
|
517 |
|
|
if test -z "$srcdir"; then
|
518 |
|
|
ac_srcdir_defaulted=yes
|
519 |
|
|
# Try the directory containing this script, then its parent.
|
520 |
|
|
ac_prog=$0
|
521 |
|
|
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
|
522 |
|
|
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
|
523 |
|
|
srcdir=$ac_confdir
|
524 |
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
525 |
|
|
srcdir=..
|
526 |
|
|
fi
|
527 |
|
|
else
|
528 |
|
|
ac_srcdir_defaulted=no
|
529 |
|
|
fi
|
530 |
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
531 |
|
|
if test "$ac_srcdir_defaulted" = yes; then
|
532 |
|
|
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
|
533 |
|
|
{ (exit 1); exit 1; }; }
|
534 |
|
|
else
|
535 |
|
|
{ echo "$as_me: error: cannot find sources in $srcdir" >&2
|
536 |
|
|
{ (exit 1); exit 1; }; }
|
537 |
|
|
fi
|
538 |
|
|
fi
|
539 |
|
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
540 |
|
|
ac_env_build_alias_set=${build_alias+set}
|
541 |
|
|
ac_env_build_alias_value=$build_alias
|
542 |
|
|
ac_cv_env_build_alias_set=${build_alias+set}
|
543 |
|
|
ac_cv_env_build_alias_value=$build_alias
|
544 |
|
|
ac_env_host_alias_set=${host_alias+set}
|
545 |
|
|
ac_env_host_alias_value=$host_alias
|
546 |
|
|
ac_cv_env_host_alias_set=${host_alias+set}
|
547 |
|
|
ac_cv_env_host_alias_value=$host_alias
|
548 |
|
|
ac_env_target_alias_set=${target_alias+set}
|
549 |
|
|
ac_env_target_alias_value=$target_alias
|
550 |
|
|
ac_cv_env_target_alias_set=${target_alias+set}
|
551 |
|
|
ac_cv_env_target_alias_value=$target_alias
|
552 |
|
|
ac_env_RTEMS_BSP_set=${RTEMS_BSP+set}
|
553 |
|
|
ac_env_RTEMS_BSP_value=$RTEMS_BSP
|
554 |
|
|
ac_cv_env_RTEMS_BSP_set=${RTEMS_BSP+set}
|
555 |
|
|
ac_cv_env_RTEMS_BSP_value=$RTEMS_BSP
|
556 |
|
|
|
557 |
|
|
#
|
558 |
|
|
# Report the --help message.
|
559 |
|
|
#
|
560 |
|
|
if test "$ac_init_help" = "long"; then
|
561 |
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
562 |
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
563 |
|
|
cat <
|
564 |
|
|
\`configure' configures rtems-c-src-tests ss-20020807 to adapt to many kinds of systems.
|
565 |
|
|
|
566 |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
567 |
|
|
|
568 |
|
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
569 |
|
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
570 |
|
|
|
571 |
|
|
Defaults for the options are specified in brackets.
|
572 |
|
|
|
573 |
|
|
Configuration:
|
574 |
|
|
-h, --help display this help and exit
|
575 |
|
|
--help=short display options specific to this package
|
576 |
|
|
--help=recursive display the short help of all the included packages
|
577 |
|
|
-V, --version display version information and exit
|
578 |
|
|
-q, --quiet, --silent do not print \`checking...' messages
|
579 |
|
|
--cache-file=FILE cache test results in FILE [disabled]
|
580 |
|
|
-C, --config-cache alias for \`--cache-file=config.cache'
|
581 |
|
|
-n, --no-create do not create output files
|
582 |
|
|
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
583 |
|
|
|
584 |
|
|
EOF
|
585 |
|
|
|
586 |
|
|
cat <
|
587 |
|
|
Installation directories:
|
588 |
|
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
589 |
|
|
[$ac_default_prefix]
|
590 |
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
591 |
|
|
[PREFIX]
|
592 |
|
|
|
593 |
|
|
By default, \`make install' will install all the files in
|
594 |
|
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
595 |
|
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
596 |
|
|
for instance \`--prefix=\$HOME'.
|
597 |
|
|
|
598 |
|
|
For better control, use the options below.
|
599 |
|
|
|
600 |
|
|
Fine tuning of the installation directories:
|
601 |
|
|
--bindir=DIR user executables [EPREFIX/bin]
|
602 |
|
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
603 |
|
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
604 |
|
|
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
605 |
|
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
606 |
|
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
607 |
|
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
608 |
|
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
609 |
|
|
--includedir=DIR C header files [PREFIX/include]
|
610 |
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
611 |
|
|
--infodir=DIR info documentation [PREFIX/info]
|
612 |
|
|
--mandir=DIR man documentation [PREFIX/man]
|
613 |
|
|
EOF
|
614 |
|
|
|
615 |
|
|
cat <<\EOF
|
616 |
|
|
|
617 |
|
|
Program names:
|
618 |
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
619 |
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
620 |
|
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
621 |
|
|
|
622 |
|
|
System types:
|
623 |
|
|
--build=BUILD configure for building on BUILD [guessed]
|
624 |
|
|
--host=HOST build programs to run on HOST [BUILD]
|
625 |
|
|
--target=TARGET configure for building compilers for TARGET [HOST]
|
626 |
|
|
EOF
|
627 |
|
|
fi
|
628 |
|
|
|
629 |
|
|
if test -n "$ac_init_help"; then
|
630 |
|
|
case $ac_init_help in
|
631 |
|
|
short | recursive ) echo "Configuration of rtems-c-src-tests ss-20020807:";;
|
632 |
|
|
esac
|
633 |
|
|
cat <<\EOF
|
634 |
|
|
|
635 |
|
|
Optional Features:
|
636 |
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
637 |
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
638 |
|
|
--enable-maintainer-mode enable make rules and dependencies not useful
|
639 |
|
|
(and sometimes confusing) to the casual installer
|
640 |
|
|
--enable-posix enable posix interface
|
641 |
|
|
--enable-itron enable itron interface
|
642 |
|
|
--enable-networking enable TCP/IP stack
|
643 |
|
|
--enable-cxx enable C++ support and build the rtems++ library
|
644 |
|
|
--enable-bare-cpu-cflags
|
645 |
|
|
specify a particular cpu cflag (bare bsp specific)
|
646 |
|
|
--enable-bare-cpu-model specify a particular cpu model (bare bsp specific)
|
647 |
|
|
--enable-tests enable tests (default:disabled)
|
648 |
|
|
--enable-multilib build many library versions (default=no)
|
649 |
|
|
--enable-multiprocessing
|
650 |
|
|
enable multiprocessing interface
|
651 |
|
|
|
652 |
|
|
Some influential environment variables:
|
653 |
|
|
RTEMS_BSP RTEMS_BSP to build
|
654 |
|
|
|
655 |
|
|
Use these variables to override the choices made by `configure' or to help
|
656 |
|
|
it to find libraries and programs with nonstandard names/locations.
|
657 |
|
|
|
658 |
|
|
Report bugs to .
|
659 |
|
|
EOF
|
660 |
|
|
fi
|
661 |
|
|
|
662 |
|
|
if test "$ac_init_help" = "recursive"; then
|
663 |
|
|
# If there are subdirs, report their specific --help.
|
664 |
|
|
ac_popdir=`pwd`
|
665 |
|
|
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
|
666 |
|
|
cd $ac_subdir
|
667 |
|
|
# A "../" for each directory in /$ac_subdir.
|
668 |
|
|
ac_dots=`echo $ac_subdir |
|
669 |
|
|
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
|
670 |
|
|
|
671 |
|
|
case $srcdir in
|
672 |
|
|
.) # No --srcdir option. We are building in place.
|
673 |
|
|
ac_sub_srcdir=$srcdir ;;
|
674 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
675 |
|
|
ac_sub_srcdir=$srcdir/$ac_subdir ;;
|
676 |
|
|
*) # Relative path.
|
677 |
|
|
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
|
678 |
|
|
esac
|
679 |
|
|
|
680 |
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
681 |
|
|
if test -f $ac_sub_srcdir/configure.gnu; then
|
682 |
|
|
echo
|
683 |
|
|
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive
|
684 |
|
|
elif test -f $ac_sub_srcdir/configure; then
|
685 |
|
|
echo
|
686 |
|
|
$SHELL $ac_sub_srcdir/configure --help=recursive
|
687 |
|
|
elif test -f $ac_sub_srcdir/configure.ac ||
|
688 |
|
|
test -f $ac_sub_srcdir/configure.in; then
|
689 |
|
|
echo
|
690 |
|
|
$ac_configure --help
|
691 |
|
|
else
|
692 |
|
|
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
|
693 |
|
|
fi
|
694 |
|
|
cd $ac_popdir
|
695 |
|
|
done
|
696 |
|
|
fi
|
697 |
|
|
|
698 |
|
|
test -n "$ac_init_help" && exit 0
|
699 |
|
|
if $ac_init_version; then
|
700 |
|
|
cat <<\EOF
|
701 |
|
|
rtems-c-src-tests configure ss-20020807
|
702 |
|
|
generated by GNU Autoconf 2.52
|
703 |
|
|
|
704 |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
705 |
|
|
Free Software Foundation, Inc.
|
706 |
|
|
This configure script is free software; the Free Software Foundation
|
707 |
|
|
gives unlimited permission to copy, distribute and modify it.
|
708 |
|
|
EOF
|
709 |
|
|
exit 0
|
710 |
|
|
fi
|
711 |
|
|
exec 5>config.log
|
712 |
|
|
cat >&5 <
|
713 |
|
|
This file contains any messages produced by compilers while
|
714 |
|
|
running configure, to aid debugging if configure makes a mistake.
|
715 |
|
|
|
716 |
|
|
It was created by rtems-c-src-tests $as_me ss-20020807, which was
|
717 |
|
|
generated by GNU Autoconf 2.52. Invocation command line was
|
718 |
|
|
|
719 |
|
|
$ $0 $@
|
720 |
|
|
|
721 |
|
|
EOF
|
722 |
|
|
{
|
723 |
|
|
cat <<_ASUNAME
|
724 |
|
|
## ---------- ##
|
725 |
|
|
## Platform. ##
|
726 |
|
|
## ---------- ##
|
727 |
|
|
|
728 |
|
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
729 |
|
|
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
730 |
|
|
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
731 |
|
|
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
732 |
|
|
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
733 |
|
|
|
734 |
|
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
735 |
|
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
736 |
|
|
|
737 |
|
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
738 |
|
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
739 |
|
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
740 |
|
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
741 |
|
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
742 |
|
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
743 |
|
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
744 |
|
|
|
745 |
|
|
PATH = $PATH
|
746 |
|
|
|
747 |
|
|
_ASUNAME
|
748 |
|
|
} >&5
|
749 |
|
|
|
750 |
|
|
cat >&5 <
|
751 |
|
|
## ------------ ##
|
752 |
|
|
## Core tests. ##
|
753 |
|
|
## ------------ ##
|
754 |
|
|
|
755 |
|
|
EOF
|
756 |
|
|
|
757 |
|
|
# Keep a trace of the command line.
|
758 |
|
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
759 |
|
|
# Also quote any args containing shell meta-characters.
|
760 |
|
|
ac_configure_args=
|
761 |
|
|
ac_sep=
|
762 |
|
|
for ac_arg
|
763 |
|
|
do
|
764 |
|
|
case $ac_arg in
|
765 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
766 |
|
|
| --no-cr | --no-c) ;;
|
767 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
768 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
|
769 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
770 |
|
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
|
771 |
|
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
772 |
|
|
ac_sep=" " ;;
|
773 |
|
|
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
|
774 |
|
|
ac_sep=" " ;;
|
775 |
|
|
esac
|
776 |
|
|
# Get rid of the leading space.
|
777 |
|
|
done
|
778 |
|
|
|
779 |
|
|
# When interrupted or exit'd, cleanup temporary files, and complete
|
780 |
|
|
# config.log. We remove comments because anyway the quotes in there
|
781 |
|
|
# would cause problems or look ugly.
|
782 |
|
|
trap 'exit_status=$?
|
783 |
|
|
# Save into config.log some information that might help in debugging.
|
784 |
|
|
echo >&5
|
785 |
|
|
echo "## ----------------- ##" >&5
|
786 |
|
|
echo "## Cache variables. ##" >&5
|
787 |
|
|
echo "## ----------------- ##" >&5
|
788 |
|
|
echo >&5
|
789 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
790 |
|
|
{
|
791 |
|
|
(set) 2>&1 |
|
792 |
|
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
793 |
|
|
*ac_space=\ *)
|
794 |
|
|
sed -n \
|
795 |
|
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
796 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
797 |
|
|
;;
|
798 |
|
|
*)
|
799 |
|
|
sed -n \
|
800 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
801 |
|
|
;;
|
802 |
|
|
esac;
|
803 |
|
|
} >&5
|
804 |
|
|
sed "/^$/d" confdefs.h >conftest.log
|
805 |
|
|
if test -s conftest.log; then
|
806 |
|
|
echo >&5
|
807 |
|
|
echo "## ------------ ##" >&5
|
808 |
|
|
echo "## confdefs.h. ##" >&5
|
809 |
|
|
echo "## ------------ ##" >&5
|
810 |
|
|
echo >&5
|
811 |
|
|
cat conftest.log >&5
|
812 |
|
|
fi
|
813 |
|
|
(echo; echo) >&5
|
814 |
|
|
test "$ac_signal" != 0 &&
|
815 |
|
|
echo "$as_me: caught signal $ac_signal" >&5
|
816 |
|
|
echo "$as_me: exit $exit_status" >&5
|
817 |
|
|
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
|
818 |
|
|
exit $exit_status
|
819 |
|
|
' 0
|
820 |
|
|
for ac_signal in 1 2 13 15; do
|
821 |
|
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
822 |
|
|
done
|
823 |
|
|
ac_signal=0
|
824 |
|
|
|
825 |
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
826 |
|
|
rm -rf conftest* confdefs.h
|
827 |
|
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
828 |
|
|
echo >confdefs.h
|
829 |
|
|
|
830 |
|
|
# Let the site file select an alternate cache file if it wants to.
|
831 |
|
|
# Prefer explicitly selected file to automatically selected ones.
|
832 |
|
|
if test -z "$CONFIG_SITE"; then
|
833 |
|
|
if test "x$prefix" != xNONE; then
|
834 |
|
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
835 |
|
|
else
|
836 |
|
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
837 |
|
|
fi
|
838 |
|
|
fi
|
839 |
|
|
for ac_site_file in $CONFIG_SITE; do
|
840 |
|
|
if test -r "$ac_site_file"; then
|
841 |
|
|
{ echo "$as_me:841: loading site script $ac_site_file" >&5
|
842 |
|
|
echo "$as_me: loading site script $ac_site_file" >&6;}
|
843 |
|
|
cat "$ac_site_file" >&5
|
844 |
|
|
. "$ac_site_file"
|
845 |
|
|
fi
|
846 |
|
|
done
|
847 |
|
|
|
848 |
|
|
if test -r "$cache_file"; then
|
849 |
|
|
# Some versions of bash will fail to source /dev/null (special
|
850 |
|
|
# files actually), so we avoid doing that.
|
851 |
|
|
if test -f "$cache_file"; then
|
852 |
|
|
{ echo "$as_me:852: loading cache $cache_file" >&5
|
853 |
|
|
echo "$as_me: loading cache $cache_file" >&6;}
|
854 |
|
|
case $cache_file in
|
855 |
|
|
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
856 |
|
|
*) . ./$cache_file;;
|
857 |
|
|
esac
|
858 |
|
|
fi
|
859 |
|
|
else
|
860 |
|
|
{ echo "$as_me:860: creating cache $cache_file" >&5
|
861 |
|
|
echo "$as_me: creating cache $cache_file" >&6;}
|
862 |
|
|
>$cache_file
|
863 |
|
|
fi
|
864 |
|
|
|
865 |
|
|
# Check that the precious variables saved in the cache have kept the same
|
866 |
|
|
# value.
|
867 |
|
|
ac_cache_corrupted=false
|
868 |
|
|
for ac_var in `(set) 2>&1 |
|
869 |
|
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
870 |
|
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
871 |
|
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
872 |
|
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
873 |
|
|
eval ac_new_val="\$ac_env_${ac_var}_value"
|
874 |
|
|
case $ac_old_set,$ac_new_set in
|
875 |
|
|
set,)
|
876 |
|
|
{ echo "$as_me:876: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
877 |
|
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
878 |
|
|
ac_cache_corrupted=: ;;
|
879 |
|
|
,set)
|
880 |
|
|
{ echo "$as_me:880: error: \`$ac_var' was not set in the previous run" >&5
|
881 |
|
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
882 |
|
|
ac_cache_corrupted=: ;;
|
883 |
|
|
,);;
|
884 |
|
|
*)
|
885 |
|
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
886 |
|
|
{ echo "$as_me:886: error: \`$ac_var' has changed since the previous run:" >&5
|
887 |
|
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
888 |
|
|
{ echo "$as_me:888: former value: $ac_old_val" >&5
|
889 |
|
|
echo "$as_me: former value: $ac_old_val" >&2;}
|
890 |
|
|
{ echo "$as_me:890: current value: $ac_new_val" >&5
|
891 |
|
|
echo "$as_me: current value: $ac_new_val" >&2;}
|
892 |
|
|
ac_cache_corrupted=:
|
893 |
|
|
fi;;
|
894 |
|
|
esac
|
895 |
|
|
# Pass precious variables to config.status. It doesn't matter if
|
896 |
|
|
# we pass some twice (in addition to the command line arguments).
|
897 |
|
|
if test "$ac_new_set" = set; then
|
898 |
|
|
case $ac_new_val in
|
899 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
900 |
|
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
|
901 |
|
|
ac_configure_args="$ac_configure_args '$ac_arg'"
|
902 |
|
|
;;
|
903 |
|
|
*) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
|
904 |
|
|
;;
|
905 |
|
|
esac
|
906 |
|
|
fi
|
907 |
|
|
done
|
908 |
|
|
if $ac_cache_corrupted; then
|
909 |
|
|
{ echo "$as_me:909: error: changes in the environment can compromise the build" >&5
|
910 |
|
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
911 |
|
|
{ { echo "$as_me:911: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
912 |
|
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
913 |
|
|
{ (exit 1); exit 1; }; }
|
914 |
|
|
fi
|
915 |
|
|
|
916 |
|
|
ac_ext=c
|
917 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
918 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
919 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
920 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
921 |
|
|
|
922 |
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
923 |
|
|
*c*,-n*) ECHO_N= ECHO_C='
|
924 |
|
|
' ECHO_T=' ' ;;
|
925 |
|
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
926 |
|
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
927 |
|
|
esac
|
928 |
|
|
echo "#! $SHELL" >conftest.sh
|
929 |
|
|
echo "exit 0" >>conftest.sh
|
930 |
|
|
chmod +x conftest.sh
|
931 |
|
|
if { (echo "$as_me:931: PATH=\".;.\"; conftest.sh") >&5
|
932 |
|
|
(PATH=".;."; conftest.sh) 2>&5
|
933 |
|
|
ac_status=$?
|
934 |
|
|
echo "$as_me:934: \$? = $ac_status" >&5
|
935 |
|
|
(exit $ac_status); }; then
|
936 |
|
|
ac_path_separator=';'
|
937 |
|
|
else
|
938 |
|
|
ac_path_separator=:
|
939 |
|
|
fi
|
940 |
|
|
PATH_SEPARATOR="$ac_path_separator"
|
941 |
|
|
rm -f conftest.sh
|
942 |
|
|
|
943 |
|
|
for ac_prog in gmake make
|
944 |
|
|
do
|
945 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
946 |
|
|
set dummy $ac_prog; ac_word=$2
|
947 |
|
|
echo "$as_me:947: checking for $ac_word" >&5
|
948 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
949 |
|
|
if test "${ac_cv_prog_MAKE+set}" = set; then
|
950 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
951 |
|
|
else
|
952 |
|
|
if test -n "$MAKE"; then
|
953 |
|
|
ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
|
954 |
|
|
else
|
955 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
956 |
|
|
ac_dummy="$PATH"
|
957 |
|
|
for ac_dir in $ac_dummy; do
|
958 |
|
|
IFS=$ac_save_IFS
|
959 |
|
|
test -z "$ac_dir" && ac_dir=.
|
960 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
961 |
|
|
ac_cv_prog_MAKE="$ac_prog"
|
962 |
|
|
echo "$as_me:962: found $ac_dir/$ac_word" >&5
|
963 |
|
|
break
|
964 |
|
|
done
|
965 |
|
|
|
966 |
|
|
fi
|
967 |
|
|
fi
|
968 |
|
|
MAKE=$ac_cv_prog_MAKE
|
969 |
|
|
if test -n "$MAKE"; then
|
970 |
|
|
echo "$as_me:970: result: $MAKE" >&5
|
971 |
|
|
echo "${ECHO_T}$MAKE" >&6
|
972 |
|
|
else
|
973 |
|
|
echo "$as_me:973: result: no" >&5
|
974 |
|
|
echo "${ECHO_T}no" >&6
|
975 |
|
|
fi
|
976 |
|
|
|
977 |
|
|
test -n "$MAKE" && break
|
978 |
|
|
done
|
979 |
|
|
|
980 |
|
|
ENDIF=endif
|
981 |
|
|
|
982 |
|
|
RTEMS_TOPdir="../../..";
|
983 |
|
|
|
984 |
|
|
test -n "$with_target_subdir" || with_target_subdir="."
|
985 |
|
|
|
986 |
|
|
if test "$with_target_subdir" = "." ; then
|
987 |
|
|
# Native
|
988 |
|
|
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
|
989 |
|
|
else
|
990 |
|
|
# Cross
|
991 |
|
|
dots=`echo $with_target_subdir|\
|
992 |
|
|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
|
993 |
|
|
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
|
994 |
|
|
fi
|
995 |
|
|
|
996 |
|
|
if test "$with_target_subdir" = "." ; then
|
997 |
|
|
# Native
|
998 |
|
|
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
|
999 |
|
|
else
|
1000 |
|
|
# Cross
|
1001 |
|
|
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
|
1002 |
|
|
fi
|
1003 |
|
|
|
1004 |
|
|
echo "$as_me:1004: checking for RTEMS Version" >&5
|
1005 |
|
|
echo $ECHO_N "checking for RTEMS Version... $ECHO_C" >&6
|
1006 |
|
|
if test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"; then
|
1007 |
|
|
:
|
1008 |
|
|
else
|
1009 |
|
|
{ { echo "$as_me:1009: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&5
|
1010 |
|
|
echo "$as_me: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&2;}
|
1011 |
|
|
{ (exit 1); exit 1; }; }
|
1012 |
|
|
fi
|
1013 |
|
|
|
1014 |
|
|
echo "$as_me:1014: result: ss-20020807" >&5
|
1015 |
|
|
echo "${ECHO_T}ss-20020807" >&6
|
1016 |
|
|
|
1017 |
|
|
ac_aux_dir=
|
1018 |
|
|
for ac_dir in ../../.. $srcdir/../../..; do
|
1019 |
|
|
if test -f $ac_dir/install-sh; then
|
1020 |
|
|
ac_aux_dir=$ac_dir
|
1021 |
|
|
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1022 |
|
|
break
|
1023 |
|
|
elif test -f $ac_dir/install.sh; then
|
1024 |
|
|
ac_aux_dir=$ac_dir
|
1025 |
|
|
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1026 |
|
|
break
|
1027 |
|
|
elif test -f $ac_dir/shtool; then
|
1028 |
|
|
ac_aux_dir=$ac_dir
|
1029 |
|
|
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1030 |
|
|
break
|
1031 |
|
|
fi
|
1032 |
|
|
done
|
1033 |
|
|
if test -z "$ac_aux_dir"; then
|
1034 |
|
|
{ { echo "$as_me:1034: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&5
|
1035 |
|
|
echo "$as_me: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&2;}
|
1036 |
|
|
{ (exit 1); exit 1; }; }
|
1037 |
|
|
fi
|
1038 |
|
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
1039 |
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
1040 |
|
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
1041 |
|
|
|
1042 |
|
|
# Make sure we can run config.sub.
|
1043 |
|
|
$ac_config_sub sun4 >/dev/null 2>&1 ||
|
1044 |
|
|
{ { echo "$as_me:1044: error: cannot run $ac_config_sub" >&5
|
1045 |
|
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
1046 |
|
|
{ (exit 1); exit 1; }; }
|
1047 |
|
|
|
1048 |
|
|
echo "$as_me:1048: checking build system type" >&5
|
1049 |
|
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
1050 |
|
|
if test "${ac_cv_build+set}" = set; then
|
1051 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1052 |
|
|
else
|
1053 |
|
|
ac_cv_build_alias=$build_alias
|
1054 |
|
|
test -z "$ac_cv_build_alias" &&
|
1055 |
|
|
ac_cv_build_alias=`$ac_config_guess`
|
1056 |
|
|
test -z "$ac_cv_build_alias" &&
|
1057 |
|
|
{ { echo "$as_me:1057: error: cannot guess build type; you must specify one" >&5
|
1058 |
|
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
1059 |
|
|
{ (exit 1); exit 1; }; }
|
1060 |
|
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
1061 |
|
|
{ { echo "$as_me:1061: error: $ac_config_sub $ac_cv_build_alias failed." >&5
|
1062 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
|
1063 |
|
|
{ (exit 1); exit 1; }; }
|
1064 |
|
|
|
1065 |
|
|
fi
|
1066 |
|
|
echo "$as_me:1066: result: $ac_cv_build" >&5
|
1067 |
|
|
echo "${ECHO_T}$ac_cv_build" >&6
|
1068 |
|
|
build=$ac_cv_build
|
1069 |
|
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1070 |
|
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1071 |
|
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1072 |
|
|
|
1073 |
|
|
echo "$as_me:1073: checking host system type" >&5
|
1074 |
|
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
1075 |
|
|
if test "${ac_cv_host+set}" = set; then
|
1076 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1077 |
|
|
else
|
1078 |
|
|
ac_cv_host_alias=$host_alias
|
1079 |
|
|
test -z "$ac_cv_host_alias" &&
|
1080 |
|
|
ac_cv_host_alias=$ac_cv_build_alias
|
1081 |
|
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
1082 |
|
|
{ { echo "$as_me:1082: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
1083 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
1084 |
|
|
{ (exit 1); exit 1; }; }
|
1085 |
|
|
|
1086 |
|
|
fi
|
1087 |
|
|
echo "$as_me:1087: result: $ac_cv_host" >&5
|
1088 |
|
|
echo "${ECHO_T}$ac_cv_host" >&6
|
1089 |
|
|
host=$ac_cv_host
|
1090 |
|
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1091 |
|
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1092 |
|
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1093 |
|
|
|
1094 |
|
|
echo "$as_me:1094: checking target system type" >&5
|
1095 |
|
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6
|
1096 |
|
|
if test "${ac_cv_target+set}" = set; then
|
1097 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1098 |
|
|
else
|
1099 |
|
|
ac_cv_target_alias=$target_alias
|
1100 |
|
|
test "x$ac_cv_target_alias" = "x" &&
|
1101 |
|
|
ac_cv_target_alias=$ac_cv_host_alias
|
1102 |
|
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
1103 |
|
|
{ { echo "$as_me:1103: error: $ac_config_sub $ac_cv_target_alias failed" >&5
|
1104 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
|
1105 |
|
|
{ (exit 1); exit 1; }; }
|
1106 |
|
|
|
1107 |
|
|
fi
|
1108 |
|
|
echo "$as_me:1108: result: $ac_cv_target" >&5
|
1109 |
|
|
echo "${ECHO_T}$ac_cv_target" >&6
|
1110 |
|
|
target=$ac_cv_target
|
1111 |
|
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1112 |
|
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1113 |
|
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1114 |
|
|
|
1115 |
|
|
# The aliases save the names the user supplied, while $host etc.
|
1116 |
|
|
# will get canonicalized.
|
1117 |
|
|
test -n "$target_alias" &&
|
1118 |
|
|
test "$program_prefix$program_suffix$program_transform_name" = \
|
1119 |
|
|
NONENONEs,x,x, &&
|
1120 |
|
|
program_prefix=${target_alias}-
|
1121 |
|
|
echo "$as_me:1121: checking rtems target cpu" >&5
|
1122 |
|
|
echo $ECHO_N "checking rtems target cpu... $ECHO_C" >&6
|
1123 |
|
|
case "${target}" in
|
1124 |
|
|
# hpux unix port should go here
|
1125 |
|
|
i[34567]86-*linux*) # unix "simulator" port
|
1126 |
|
|
RTEMS_CPU=unix
|
1127 |
|
|
;;
|
1128 |
|
|
i[34567]86-*freebsd*) # unix "simulator" port
|
1129 |
|
|
RTEMS_CPU=unix
|
1130 |
|
|
;;
|
1131 |
|
|
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
1132 |
|
|
RTEMS_CPU=unix
|
1133 |
|
|
;;
|
1134 |
|
|
no_cpu-*rtems*)
|
1135 |
|
|
RTEMS_CPU=no_cpu
|
1136 |
|
|
;;
|
1137 |
|
|
sparc-sun-solaris*) # unix "simulator" port
|
1138 |
|
|
RTEMS_CPU=unix
|
1139 |
|
|
;;
|
1140 |
|
|
*)
|
1141 |
|
|
RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
|
1142 |
|
|
;;
|
1143 |
|
|
esac
|
1144 |
|
|
|
1145 |
|
|
echo "$as_me:1145: result: $RTEMS_CPU" >&5
|
1146 |
|
|
echo "${ECHO_T}$RTEMS_CPU" >&6
|
1147 |
|
|
|
1148 |
|
|
am__api_version="1.6"
|
1149 |
|
|
# Find a good install program. We prefer a C program (faster),
|
1150 |
|
|
# so one script is as good as another. But avoid the broken or
|
1151 |
|
|
# incompatible versions:
|
1152 |
|
|
# SysV /etc/install, /usr/sbin/install
|
1153 |
|
|
# SunOS /usr/etc/install
|
1154 |
|
|
# IRIX /sbin/install
|
1155 |
|
|
# AIX /bin/install
|
1156 |
|
|
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
1157 |
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
1158 |
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
1159 |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1160 |
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
1161 |
|
|
echo "$as_me:1161: checking for a BSD compatible install" >&5
|
1162 |
|
|
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
|
1163 |
|
|
if test -z "$INSTALL"; then
|
1164 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
1165 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1166 |
|
|
else
|
1167 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1168 |
|
|
for ac_dir in $PATH; do
|
1169 |
|
|
IFS=$ac_save_IFS
|
1170 |
|
|
# Account for people who put trailing slashes in PATH elements.
|
1171 |
|
|
case $ac_dir/ in
|
1172 |
|
|
/ | ./ | .// | /cC/* \
|
1173 |
|
|
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
|
1174 |
|
|
| /usr/ucb/* ) ;;
|
1175 |
|
|
*)
|
1176 |
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
1177 |
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
1178 |
|
|
# by default.
|
1179 |
|
|
for ac_prog in ginstall scoinst install; do
|
1180 |
|
|
if $as_executable_p "$ac_dir/$ac_prog"; then
|
1181 |
|
|
if test $ac_prog = install &&
|
1182 |
|
|
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
1183 |
|
|
# AIX install. It has an incompatible calling convention.
|
1184 |
|
|
:
|
1185 |
|
|
elif test $ac_prog = install &&
|
1186 |
|
|
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
1187 |
|
|
# program-specific install script used by HP pwplus--don't use.
|
1188 |
|
|
:
|
1189 |
|
|
else
|
1190 |
|
|
ac_cv_path_install="$ac_dir/$ac_prog -c"
|
1191 |
|
|
break 2
|
1192 |
|
|
fi
|
1193 |
|
|
fi
|
1194 |
|
|
done
|
1195 |
|
|
;;
|
1196 |
|
|
esac
|
1197 |
|
|
done
|
1198 |
|
|
|
1199 |
|
|
fi
|
1200 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
1201 |
|
|
INSTALL=$ac_cv_path_install
|
1202 |
|
|
else
|
1203 |
|
|
# As a last resort, use the slow shell script. We don't cache a
|
1204 |
|
|
# path for INSTALL within a source directory, because that will
|
1205 |
|
|
# break other packages using the cache if that directory is
|
1206 |
|
|
# removed, or if the path is relative.
|
1207 |
|
|
INSTALL=$ac_install_sh
|
1208 |
|
|
fi
|
1209 |
|
|
fi
|
1210 |
|
|
echo "$as_me:1210: result: $INSTALL" >&5
|
1211 |
|
|
echo "${ECHO_T}$INSTALL" >&6
|
1212 |
|
|
|
1213 |
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
1214 |
|
|
# It thinks the first close brace ends the variable substitution.
|
1215 |
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
1216 |
|
|
|
1217 |
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
1218 |
|
|
|
1219 |
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1220 |
|
|
|
1221 |
|
|
echo "$as_me:1221: checking whether build environment is sane" >&5
|
1222 |
|
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
1223 |
|
|
# Just in case
|
1224 |
|
|
sleep 1
|
1225 |
|
|
echo timestamp > conftest.file
|
1226 |
|
|
# Do `set' in a subshell so we don't clobber the current shell's
|
1227 |
|
|
# arguments. Must try -L first in case configure is actually a
|
1228 |
|
|
# symlink; some systems play weird games with the mod time of symlinks
|
1229 |
|
|
# (eg FreeBSD returns the mod time of the symlink's containing
|
1230 |
|
|
# directory).
|
1231 |
|
|
if (
|
1232 |
|
|
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
1233 |
|
|
if test "$*" = "X"; then
|
1234 |
|
|
# -L didn't work.
|
1235 |
|
|
set X `ls -t $srcdir/configure conftest.file`
|
1236 |
|
|
fi
|
1237 |
|
|
rm -f conftest.file
|
1238 |
|
|
if test "$*" != "X $srcdir/configure conftest.file" \
|
1239 |
|
|
&& test "$*" != "X conftest.file $srcdir/configure"; then
|
1240 |
|
|
|
1241 |
|
|
# If neither matched, then we have a broken ls. This can happen
|
1242 |
|
|
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
1243 |
|
|
# broken ls alias from the environment. This has actually
|
1244 |
|
|
# happened. Such a system could not be considered "sane".
|
1245 |
|
|
{ { echo "$as_me:1245: error: ls -t appears to fail. Make sure there is not a broken
|
1246 |
|
|
alias in your environment" >&5
|
1247 |
|
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
1248 |
|
|
alias in your environment" >&2;}
|
1249 |
|
|
{ (exit 1); exit 1; }; }
|
1250 |
|
|
fi
|
1251 |
|
|
|
1252 |
|
|
test "$2" = conftest.file
|
1253 |
|
|
)
|
1254 |
|
|
then
|
1255 |
|
|
# Ok.
|
1256 |
|
|
:
|
1257 |
|
|
else
|
1258 |
|
|
{ { echo "$as_me:1258: error: newly created file is older than distributed files!
|
1259 |
|
|
Check your system clock" >&5
|
1260 |
|
|
echo "$as_me: error: newly created file is older than distributed files!
|
1261 |
|
|
Check your system clock" >&2;}
|
1262 |
|
|
{ (exit 1); exit 1; }; }
|
1263 |
|
|
fi
|
1264 |
|
|
echo "$as_me:1264: result: yes" >&5
|
1265 |
|
|
echo "${ECHO_T}yes" >&6
|
1266 |
|
|
test "$program_prefix" != NONE &&
|
1267 |
|
|
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
1268 |
|
|
# Use a double $ so make ignores it.
|
1269 |
|
|
test "$program_suffix" != NONE &&
|
1270 |
|
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
1271 |
|
|
# Double any \ or $. echo might interpret backslashes.
|
1272 |
|
|
# By default was `s,x,x', remove it if useless.
|
1273 |
|
|
cat <<\_ACEOF >conftest.sed
|
1274 |
|
|
s/[\\$]/&&/g;s/;s,x,x,$//
|
1275 |
|
|
_ACEOF
|
1276 |
|
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
1277 |
|
|
rm conftest.sed
|
1278 |
|
|
|
1279 |
|
|
# expand $ac_aux_dir to an absolute path
|
1280 |
|
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
1281 |
|
|
|
1282 |
|
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
1283 |
|
|
# Use eval to expand $SHELL
|
1284 |
|
|
if eval "$MISSING --run true"; then
|
1285 |
|
|
am_missing_run="$MISSING --run "
|
1286 |
|
|
else
|
1287 |
|
|
am_missing_run=
|
1288 |
|
|
{ echo "$as_me:1288: WARNING: \`missing' script is too old or missing" >&5
|
1289 |
|
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
1290 |
|
|
fi
|
1291 |
|
|
|
1292 |
|
|
for ac_prog in mawk gawk nawk awk
|
1293 |
|
|
do
|
1294 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1295 |
|
|
set dummy $ac_prog; ac_word=$2
|
1296 |
|
|
echo "$as_me:1296: checking for $ac_word" >&5
|
1297 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1298 |
|
|
if test "${ac_cv_prog_AWK+set}" = set; then
|
1299 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1300 |
|
|
else
|
1301 |
|
|
if test -n "$AWK"; then
|
1302 |
|
|
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
1303 |
|
|
else
|
1304 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1305 |
|
|
ac_dummy="$PATH"
|
1306 |
|
|
for ac_dir in $ac_dummy; do
|
1307 |
|
|
IFS=$ac_save_IFS
|
1308 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1309 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1310 |
|
|
ac_cv_prog_AWK="$ac_prog"
|
1311 |
|
|
echo "$as_me:1311: found $ac_dir/$ac_word" >&5
|
1312 |
|
|
break
|
1313 |
|
|
done
|
1314 |
|
|
|
1315 |
|
|
fi
|
1316 |
|
|
fi
|
1317 |
|
|
AWK=$ac_cv_prog_AWK
|
1318 |
|
|
if test -n "$AWK"; then
|
1319 |
|
|
echo "$as_me:1319: result: $AWK" >&5
|
1320 |
|
|
echo "${ECHO_T}$AWK" >&6
|
1321 |
|
|
else
|
1322 |
|
|
echo "$as_me:1322: result: no" >&5
|
1323 |
|
|
echo "${ECHO_T}no" >&6
|
1324 |
|
|
fi
|
1325 |
|
|
|
1326 |
|
|
test -n "$AWK" && break
|
1327 |
|
|
done
|
1328 |
|
|
|
1329 |
|
|
echo "$as_me:1329: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
1330 |
|
|
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
|
1331 |
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
|
1332 |
|
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
1333 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1334 |
|
|
else
|
1335 |
|
|
cat >conftest.make <<\EOF
|
1336 |
|
|
all:
|
1337 |
|
|
@echo 'ac_maketemp="${MAKE}"'
|
1338 |
|
|
EOF
|
1339 |
|
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
1340 |
|
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
1341 |
|
|
if test -n "$ac_maketemp"; then
|
1342 |
|
|
eval ac_cv_prog_make_${ac_make}_set=yes
|
1343 |
|
|
else
|
1344 |
|
|
eval ac_cv_prog_make_${ac_make}_set=no
|
1345 |
|
|
fi
|
1346 |
|
|
rm -f conftest.make
|
1347 |
|
|
fi
|
1348 |
|
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
1349 |
|
|
echo "$as_me:1349: result: yes" >&5
|
1350 |
|
|
echo "${ECHO_T}yes" >&6
|
1351 |
|
|
SET_MAKE=
|
1352 |
|
|
else
|
1353 |
|
|
echo "$as_me:1353: result: no" >&5
|
1354 |
|
|
echo "${ECHO_T}no" >&6
|
1355 |
|
|
SET_MAKE="MAKE=${MAKE-make}"
|
1356 |
|
|
fi
|
1357 |
|
|
|
1358 |
|
|
# test to see if srcdir already configured
|
1359 |
|
|
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
1360 |
|
|
test -f $srcdir/config.status; then
|
1361 |
|
|
{ { echo "$as_me:1361: error: source directory already configured; run \"make distclean\" there first" >&5
|
1362 |
|
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
1363 |
|
|
{ (exit 1); exit 1; }; }
|
1364 |
|
|
fi
|
1365 |
|
|
|
1366 |
|
|
# Define the identity of the package.
|
1367 |
|
|
PACKAGE=rtems-c-src-tests
|
1368 |
|
|
VERSION=ss-20020807
|
1369 |
|
|
|
1370 |
|
|
# Some tools Automake needs.
|
1371 |
|
|
|
1372 |
|
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
1373 |
|
|
|
1374 |
|
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
1375 |
|
|
|
1376 |
|
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
1377 |
|
|
|
1378 |
|
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
1379 |
|
|
|
1380 |
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
1381 |
|
|
|
1382 |
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
1383 |
|
|
|
1384 |
|
|
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
1385 |
|
|
|
1386 |
|
|
# Installed binaries are usually stripped using `strip' when the user
|
1387 |
|
|
# run `make install-strip'. However `strip' might not be the right
|
1388 |
|
|
# tool to use in cross-compilation environments, therefore Automake
|
1389 |
|
|
# will honor the `STRIP' environment variable to overrule this program.
|
1390 |
|
|
if test "$cross_compiling" != no; then
|
1391 |
|
|
if test -n "$ac_tool_prefix"; then
|
1392 |
|
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
1393 |
|
|
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
1394 |
|
|
echo "$as_me:1394: checking for $ac_word" >&5
|
1395 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1396 |
|
|
if test "${ac_cv_prog_STRIP+set}" = set; then
|
1397 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1398 |
|
|
else
|
1399 |
|
|
if test -n "$STRIP"; then
|
1400 |
|
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
1401 |
|
|
else
|
1402 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1403 |
|
|
ac_dummy="$PATH"
|
1404 |
|
|
for ac_dir in $ac_dummy; do
|
1405 |
|
|
IFS=$ac_save_IFS
|
1406 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1407 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1408 |
|
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
1409 |
|
|
echo "$as_me:1409: found $ac_dir/$ac_word" >&5
|
1410 |
|
|
break
|
1411 |
|
|
done
|
1412 |
|
|
|
1413 |
|
|
fi
|
1414 |
|
|
fi
|
1415 |
|
|
STRIP=$ac_cv_prog_STRIP
|
1416 |
|
|
if test -n "$STRIP"; then
|
1417 |
|
|
echo "$as_me:1417: result: $STRIP" >&5
|
1418 |
|
|
echo "${ECHO_T}$STRIP" >&6
|
1419 |
|
|
else
|
1420 |
|
|
echo "$as_me:1420: result: no" >&5
|
1421 |
|
|
echo "${ECHO_T}no" >&6
|
1422 |
|
|
fi
|
1423 |
|
|
|
1424 |
|
|
fi
|
1425 |
|
|
if test -z "$ac_cv_prog_STRIP"; then
|
1426 |
|
|
ac_ct_STRIP=$STRIP
|
1427 |
|
|
# Extract the first word of "strip", so it can be a program name with args.
|
1428 |
|
|
set dummy strip; ac_word=$2
|
1429 |
|
|
echo "$as_me:1429: checking for $ac_word" >&5
|
1430 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1431 |
|
|
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
1432 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1433 |
|
|
else
|
1434 |
|
|
if test -n "$ac_ct_STRIP"; then
|
1435 |
|
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
1436 |
|
|
else
|
1437 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1438 |
|
|
ac_dummy="$PATH"
|
1439 |
|
|
for ac_dir in $ac_dummy; do
|
1440 |
|
|
IFS=$ac_save_IFS
|
1441 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1442 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1443 |
|
|
ac_cv_prog_ac_ct_STRIP="strip"
|
1444 |
|
|
echo "$as_me:1444: found $ac_dir/$ac_word" >&5
|
1445 |
|
|
break
|
1446 |
|
|
done
|
1447 |
|
|
|
1448 |
|
|
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
|
1449 |
|
|
fi
|
1450 |
|
|
fi
|
1451 |
|
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
1452 |
|
|
if test -n "$ac_ct_STRIP"; then
|
1453 |
|
|
echo "$as_me:1453: result: $ac_ct_STRIP" >&5
|
1454 |
|
|
echo "${ECHO_T}$ac_ct_STRIP" >&6
|
1455 |
|
|
else
|
1456 |
|
|
echo "$as_me:1456: result: no" >&5
|
1457 |
|
|
echo "${ECHO_T}no" >&6
|
1458 |
|
|
fi
|
1459 |
|
|
|
1460 |
|
|
STRIP=$ac_ct_STRIP
|
1461 |
|
|
else
|
1462 |
|
|
STRIP="$ac_cv_prog_STRIP"
|
1463 |
|
|
fi
|
1464 |
|
|
|
1465 |
|
|
fi
|
1466 |
|
|
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
1467 |
|
|
|
1468 |
|
|
# We need awk for the "check" target. The system "awk" is bad on
|
1469 |
|
|
# some platforms.
|
1470 |
|
|
|
1471 |
|
|
echo "$as_me:1471: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
1472 |
|
|
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
|
1473 |
|
|
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
1474 |
|
|
if test "${enable_maintainer_mode+set}" = set; then
|
1475 |
|
|
enableval="$enable_maintainer_mode"
|
1476 |
|
|
USE_MAINTAINER_MODE=$enableval
|
1477 |
|
|
else
|
1478 |
|
|
USE_MAINTAINER_MODE=no
|
1479 |
|
|
fi;
|
1480 |
|
|
echo "$as_me:1480: result: $USE_MAINTAINER_MODE" >&5
|
1481 |
|
|
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
|
1482 |
|
|
|
1483 |
|
|
if test $USE_MAINTAINER_MODE = yes; then
|
1484 |
|
|
MAINTAINER_MODE_TRUE=
|
1485 |
|
|
MAINTAINER_MODE_FALSE='#'
|
1486 |
|
|
else
|
1487 |
|
|
MAINTAINER_MODE_TRUE='#'
|
1488 |
|
|
MAINTAINER_MODE_FALSE=
|
1489 |
|
|
fi
|
1490 |
|
|
|
1491 |
|
|
MAINT=$MAINTAINER_MODE_TRUE
|
1492 |
|
|
|
1493 |
|
|
# Check whether --enable-posix or --disable-posix was given.
|
1494 |
|
|
if test "${enable_posix+set}" = set; then
|
1495 |
|
|
enableval="$enable_posix"
|
1496 |
|
|
case "${enableval}" in
|
1497 |
|
|
yes) RTEMS_HAS_POSIX_API=yes ;;
|
1498 |
|
|
no) RTEMS_HAS_POSIX_API=no ;;
|
1499 |
|
|
*) { { echo "$as_me:1499: error: bad value ${enableval} for enable-posix option" >&5
|
1500 |
|
|
echo "$as_me: error: bad value ${enableval} for enable-posix option" >&2;}
|
1501 |
|
|
{ (exit 1); exit 1; }; } ;;
|
1502 |
|
|
esac
|
1503 |
|
|
else
|
1504 |
|
|
RTEMS_HAS_POSIX_API=yes
|
1505 |
|
|
fi;
|
1506 |
|
|
|
1507 |
|
|
case "${host}" in
|
1508 |
|
|
# hpux unix port should go here
|
1509 |
|
|
i[34567]86-pc-linux*) # unix "simulator" port
|
1510 |
|
|
RTEMS_HAS_POSIX_API=no
|
1511 |
|
|
;;
|
1512 |
|
|
i[34567]86-*freebsd*) # unix "simulator" port
|
1513 |
|
|
RTEMS_HAS_POSIX_API=no
|
1514 |
|
|
;;
|
1515 |
|
|
no_cpu-*rtems*)
|
1516 |
|
|
RTEMS_HAS_POSIX_API=no
|
1517 |
|
|
;;
|
1518 |
|
|
sparc-sun-solaris*) # unix "simulator" port
|
1519 |
|
|
RTEMS_HAS_POSIX_API=no
|
1520 |
|
|
;;
|
1521 |
|
|
*)
|
1522 |
|
|
;;
|
1523 |
|
|
esac
|
1524 |
|
|
|
1525 |
|
|
# Check whether --enable-itron or --disable-itron was given.
|
1526 |
|
|
if test "${enable_itron+set}" = set; then
|
1527 |
|
|
enableval="$enable_itron"
|
1528 |
|
|
case "${enableval}" in
|
1529 |
|
|
yes) RTEMS_HAS_ITRON_API=yes ;;
|
1530 |
|
|
no) RTEMS_HAS_ITRON_API=no ;;
|
1531 |
|
|
*) { { echo "$as_me:1531: error: bad value ${enableval} for enable-itron option" >&5
|
1532 |
|
|
echo "$as_me: error: bad value ${enableval} for enable-itron option" >&2;}
|
1533 |
|
|
{ (exit 1); exit 1; }; } ;;
|
1534 |
|
|
esac
|
1535 |
|
|
else
|
1536 |
|
|
RTEMS_HAS_ITRON_API=yes
|
1537 |
|
|
fi;
|
1538 |
|
|
|
1539 |
|
|
case "${host}" in
|
1540 |
|
|
# hpux unix port should go here
|
1541 |
|
|
i[34567]86-pc-linux*) # unix "simulator" port
|
1542 |
|
|
RTEMS_HAS_ITRON_API=no
|
1543 |
|
|
;;
|
1544 |
|
|
i[34567]86-*freebsd*) # unix "simulator" port
|
1545 |
|
|
RTEMS_HAS_ITRON_API=no
|
1546 |
|
|
;;
|
1547 |
|
|
no_cpu-*rtems*)
|
1548 |
|
|
RTEMS_HAS_ITRON_API=no
|
1549 |
|
|
;;
|
1550 |
|
|
sparc-sun-solaris*) # unix "simulator" port
|
1551 |
|
|
RTEMS_HAS_ITRON_API=no
|
1552 |
|
|
;;
|
1553 |
|
|
*)
|
1554 |
|
|
;;
|
1555 |
|
|
esac
|
1556 |
|
|
|
1557 |
|
|
# Check whether --enable-networking or --disable-networking was given.
|
1558 |
|
|
if test "${enable_networking+set}" = set; then
|
1559 |
|
|
enableval="$enable_networking"
|
1560 |
|
|
case "${enableval}" in
|
1561 |
|
|
yes) RTEMS_HAS_NETWORKING=yes ;;
|
1562 |
|
|
no) RTEMS_HAS_NETWORKING=no ;;
|
1563 |
|
|
*) { { echo "$as_me:1563: error: bad value ${enableval} for enable-networking option" >&5
|
1564 |
|
|
echo "$as_me: error: bad value ${enableval} for enable-networking option" >&2;}
|
1565 |
|
|
{ (exit 1); exit 1; }; } ;;
|
1566 |
|
|
esac
|
1567 |
|
|
else
|
1568 |
|
|
RTEMS_HAS_NETWORKING=yes
|
1569 |
|
|
fi;
|
1570 |
|
|
|
1571 |
|
|
# Check whether --enable-cxx or --disable-cxx was given.
|
1572 |
|
|
if test "${enable_cxx+set}" = set; then
|
1573 |
|
|
enableval="$enable_cxx"
|
1574 |
|
|
case "${enableval}" in
|
1575 |
|
|
yes) RTEMS_HAS_CPLUSPLUS=yes ;;
|
1576 |
|
|
no) RTEMS_HAS_CPLUSPLUS=no ;;
|
1577 |
|
|
*) { { echo "$as_me:1577: error: bad value ${enableval} for enable-cxx option" >&5
|
1578 |
|
|
echo "$as_me: error: bad value ${enableval} for enable-cxx option" >&2;}
|
1579 |
|
|
{ (exit 1); exit 1; }; } ;;
|
1580 |
|
|
esac
|
1581 |
|
|
else
|
1582 |
|
|
RTEMS_HAS_CPLUSPLUS=no
|
1583 |
|
|
fi;
|
1584 |
|
|
|
1585 |
|
|
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
|
1586 |
|
|
if test "${enable_bare_cpu_cflags+set}" = set; then
|
1587 |
|
|
enableval="$enable_bare_cpu_cflags"
|
1588 |
|
|
case "${enableval}" in
|
1589 |
|
|
no) BARE_CPU_CFLAGS="" ;;
|
1590 |
|
|
*) BARE_CPU_CFLAGS="${enableval}" ;;
|
1591 |
|
|
esac
|
1592 |
|
|
else
|
1593 |
|
|
BARE_CPU_CFLAGS=""
|
1594 |
|
|
fi;
|
1595 |
|
|
|
1596 |
|
|
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
|
1597 |
|
|
if test "${enable_bare_cpu_model+set}" = set; then
|
1598 |
|
|
enableval="$enable_bare_cpu_model"
|
1599 |
|
|
case "${enableval}" in
|
1600 |
|
|
no) BARE_CPU_MODEL="" ;;
|
1601 |
|
|
*) BARE_CPU_MODEL="${enableval}" ;;
|
1602 |
|
|
esac
|
1603 |
|
|
else
|
1604 |
|
|
BARE_CPU_MODEL=""
|
1605 |
|
|
fi;
|
1606 |
|
|
|
1607 |
|
|
# If the tests are enabled, then find all the test suite Makefiles
|
1608 |
|
|
echo "$as_me:1608: checking if the test suites are enabled? " >&5
|
1609 |
|
|
echo $ECHO_N "checking if the test suites are enabled? ... $ECHO_C" >&6
|
1610 |
|
|
# Check whether --enable-tests or --disable-tests was given.
|
1611 |
|
|
if test "${enable_tests+set}" = set; then
|
1612 |
|
|
enableval="$enable_tests"
|
1613 |
|
|
case "${enableval}" in
|
1614 |
|
|
yes) tests_enabled=yes ;;
|
1615 |
|
|
no) tests_enabled=no ;;
|
1616 |
|
|
*) { { echo "$as_me:1616: error: bad value ${enableval} for tests option" >&5
|
1617 |
|
|
echo "$as_me: error: bad value ${enableval} for tests option" >&2;}
|
1618 |
|
|
{ (exit 1); exit 1; }; } ;;
|
1619 |
|
|
esac
|
1620 |
|
|
else
|
1621 |
|
|
tests_enabled=no
|
1622 |
|
|
fi;
|
1623 |
|
|
echo "$as_me:1623: result: $tests_enabled" >&5
|
1624 |
|
|
echo "${ECHO_T}$tests_enabled" >&6
|
1625 |
|
|
|
1626 |
|
|
echo "$as_me:1626: checking for RTEMS_BSP" >&5
|
1627 |
|
|
echo $ECHO_N "checking for RTEMS_BSP... $ECHO_C" >&6
|
1628 |
|
|
if test "${rtems_cv_RTEMS_BSP+set}" = set; then
|
1629 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1630 |
|
|
else
|
1631 |
|
|
test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
|
1632 |
|
|
|
1633 |
|
|
fi
|
1634 |
|
|
if test -z "$rtems_cv_RTEMS_BSP"; then
|
1635 |
|
|
{ { echo "$as_me:1635: error: Missing RTEMS_BSP" >&5
|
1636 |
|
|
echo "$as_me: error: Missing RTEMS_BSP" >&2;}
|
1637 |
|
|
{ (exit 1); exit 1; }; }
|
1638 |
|
|
fi
|
1639 |
|
|
RTEMS_BSP="$rtems_cv_RTEMS_BSP"
|
1640 |
|
|
echo "$as_me:1640: result: ${RTEMS_BSP}" >&5
|
1641 |
|
|
echo "${ECHO_T}${RTEMS_BSP}" >&6
|
1642 |
|
|
|
1643 |
|
|
RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
|
1644 |
|
|
|
1645 |
|
|
GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
|
1646 |
|
|
|
1647 |
|
|
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
|
1648 |
|
|
|
1649 |
|
|
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
|
1650 |
|
|
|
1651 |
|
|
RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP
|
1652 |
|
|
|
1653 |
|
|
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
|
1654 |
|
|
if test "${enable_bare_cpu_cflags+set}" = set; then
|
1655 |
|
|
enableval="$enable_bare_cpu_cflags"
|
1656 |
|
|
case "${enableval}" in
|
1657 |
|
|
no) BARE_CPU_CFLAGS="" ;;
|
1658 |
|
|
*) BARE_CPU_CFLAGS="${enableval}" ;;
|
1659 |
|
|
esac
|
1660 |
|
|
else
|
1661 |
|
|
BARE_CPU_CFLAGS=""
|
1662 |
|
|
fi;
|
1663 |
|
|
|
1664 |
|
|
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
|
1665 |
|
|
if test "${enable_bare_cpu_model+set}" = set; then
|
1666 |
|
|
enableval="$enable_bare_cpu_model"
|
1667 |
|
|
case "${enableval}" in
|
1668 |
|
|
no) BARE_CPU_MODEL="" ;;
|
1669 |
|
|
*) BARE_CPU_MODEL="${enableval}" ;;
|
1670 |
|
|
esac
|
1671 |
|
|
else
|
1672 |
|
|
BARE_CPU_MODEL=""
|
1673 |
|
|
fi;
|
1674 |
|
|
|
1675 |
|
|
if false; then
|
1676 |
|
|
MULTILIB_TRUE=
|
1677 |
|
|
MULTILIB_FALSE='#'
|
1678 |
|
|
else
|
1679 |
|
|
MULTILIB_TRUE='#'
|
1680 |
|
|
MULTILIB_FALSE=
|
1681 |
|
|
fi
|
1682 |
|
|
|
1683 |
|
|
includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
|
1684 |
|
|
libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
1685 |
|
|
|
1686 |
|
|
bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
1687 |
|
|
|
1688 |
|
|
# Is this a supported CPU?
|
1689 |
|
|
echo "$as_me:1689: checking if cpu $RTEMS_CPU is supported" >&5
|
1690 |
|
|
echo $ECHO_N "checking if cpu $RTEMS_CPU is supported... $ECHO_C" >&6
|
1691 |
|
|
# FIXME: Temporary hack
|
1692 |
|
|
if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then
|
1693 |
|
|
echo "$as_me:1693: result: yes" >&5
|
1694 |
|
|
echo "${ECHO_T}yes" >&6
|
1695 |
|
|
else
|
1696 |
|
|
{ { echo "$as_me:1696: error: no" >&5
|
1697 |
|
|
echo "$as_me: error: no" >&2;}
|
1698 |
|
|
{ (exit 1); exit 1; }; }
|
1699 |
|
|
fi
|
1700 |
|
|
|
1701 |
|
|
RTEMS_HOST=$host_os
|
1702 |
|
|
case "${target}" in
|
1703 |
|
|
# hpux unix port should go here
|
1704 |
|
|
i[34567]86-*linux*) # unix "simulator" port
|
1705 |
|
|
RTEMS_HOST=Linux
|
1706 |
|
|
;;
|
1707 |
|
|
i[34567]86-*freebsd*) # unix "simulator" port
|
1708 |
|
|
RTEMS_HOST=FreeBSD
|
1709 |
|
|
;;
|
1710 |
|
|
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
1711 |
|
|
RTEMS_HOST=Cygwin
|
1712 |
|
|
;;
|
1713 |
|
|
sparc-sun-solaris*) # unix "simulator" port
|
1714 |
|
|
RTEMS_HOST=Solaris
|
1715 |
|
|
;;
|
1716 |
|
|
*)
|
1717 |
|
|
;;
|
1718 |
|
|
esac
|
1719 |
|
|
|
1720 |
|
|
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
|
1721 |
|
|
|
1722 |
|
|
echo "$as_me:1722: checking for make/custom/$RTEMS_BSP.cfg" >&5
|
1723 |
|
|
echo $ECHO_N "checking for make/custom/$RTEMS_BSP.cfg... $ECHO_C" >&6
|
1724 |
|
|
if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then
|
1725 |
|
|
echo "$as_me:1725: result: yes" >&5
|
1726 |
|
|
echo "${ECHO_T}yes" >&6
|
1727 |
|
|
else
|
1728 |
|
|
{ { echo "$as_me:1728: error: no" >&5
|
1729 |
|
|
echo "$as_me: error: no" >&2;}
|
1730 |
|
|
{ (exit 1); exit 1; }; }
|
1731 |
|
|
fi
|
1732 |
|
|
|
1733 |
|
|
# Check whether --enable-multilib or --disable-multilib was given.
|
1734 |
|
|
if test "${enable_multilib+set}" = set; then
|
1735 |
|
|
enableval="$enable_multilib"
|
1736 |
|
|
case "${enableval}" in
|
1737 |
|
|
yes) multilib=yes ;;
|
1738 |
|
|
no) multilib=no ;;
|
1739 |
|
|
*) { { echo "$as_me:1739: error: bad value ${enableval} for multilib option" >&5
|
1740 |
|
|
echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
|
1741 |
|
|
{ (exit 1); exit 1; }; } ;;
|
1742 |
|
|
esac
|
1743 |
|
|
else
|
1744 |
|
|
multilib=no
|
1745 |
|
|
fi;
|
1746 |
|
|
|
1747 |
|
|
if test x"${multilib}" = x"yes"; then
|
1748 |
|
|
MULTILIB_TRUE=
|
1749 |
|
|
MULTILIB_FALSE='#'
|
1750 |
|
|
else
|
1751 |
|
|
MULTILIB_TRUE='#'
|
1752 |
|
|
MULTILIB_FALSE=
|
1753 |
|
|
fi
|
1754 |
|
|
|
1755 |
|
|
# Check whether --enable-multiprocessing or --disable-multiprocessing was given.
|
1756 |
|
|
if test "${enable_multiprocessing+set}" = set; then
|
1757 |
|
|
enableval="$enable_multiprocessing"
|
1758 |
|
|
case "${enable_multiprocessing}" in
|
1759 |
|
|
yes) ;;
|
1760 |
|
|
no) ;;
|
1761 |
|
|
*) { { echo "$as_me:1761: error: bad value ${enableval} for enable-multiprocessing option" >&5
|
1762 |
|
|
echo "$as_me: error: bad value ${enableval} for enable-multiprocessing option" >&2;}
|
1763 |
|
|
{ (exit 1); exit 1; }; } ;;
|
1764 |
|
|
esac
|
1765 |
|
|
else
|
1766 |
|
|
enable_multiprocessing=no
|
1767 |
|
|
fi;
|
1768 |
|
|
|
1769 |
|
|
# account for "aliased" bsps which share source code
|
1770 |
|
|
case $RTEMS_BSP in
|
1771 |
|
|
simcpu32) RTEMS_BSP_FAMILY=sim68000 ;; # BSVC CPU32 variant
|
1772 |
|
|
c3xsim) RTEMS_BSP_FAMILY=c4xsim ;; # TI C3x Simulator in gdb
|
1773 |
|
|
mcp750) RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
|
1774 |
|
|
mvme2307) RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant
|
1775 |
|
|
mvme162lx) RTEMS_BSP_FAMILY=mvme162 ;; # m68k - mvme162 board variant
|
1776 |
|
|
gen68360_040) RTEMS_BSP_FAMILY=gen68360 ;; # m68k - 68360 in companion mode
|
1777 |
|
|
p4600) RTEMS_BSP_FAMILY=p4000 ;; # mips64orion - p4000 board w/IDT 4600
|
1778 |
|
|
p4650) RTEMS_BSP_FAMILY=p4000 ;; # mips64orion - p4000 board w/IDT 4650
|
1779 |
|
|
mbx8*) RTEMS_BSP_FAMILY=mbx8xx ;; # MBX821/MBX860 board
|
1780 |
|
|
pc386dx) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC w/o FPU
|
1781 |
|
|
pc486) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with i486DX
|
1782 |
|
|
pc586) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with Pentium
|
1783 |
|
|
pc686) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with PentiumPro
|
1784 |
|
|
pck6) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with K6
|
1785 |
|
|
bare*) RTEMS_BSP_FAMILY=bare ;; # EXP: bare-aliases
|
1786 |
|
|
erc32nfp) RTEMS_BSP_FAMILY=erc32 ;; # erc32 without fpu
|
1787 |
|
|
leon1) RTEMS_BSP_FAMILY=leon ;; # leon without fpu
|
1788 |
|
|
leon2) RTEMS_BSP_FAMILY=leon ;; # leon with fpu
|
1789 |
|
|
simsh7032) RTEMS_BSP_FAMILY=shsim ;; # SH7032 simulator
|
1790 |
|
|
simsh7045) RTEMS_BSP_FAMILY=shsim ;; # SH7045 simulator
|
1791 |
|
|
*) RTEMS_BSP_FAMILY=$RTEMS_BSP;;
|
1792 |
|
|
esac
|
1793 |
|
|
|
1794 |
|
|
echo "$as_me:1794: checking if wanting multiprocessing" >&5
|
1795 |
|
|
echo $ECHO_N "checking if wanting multiprocessing... $ECHO_C" >&6
|
1796 |
|
|
if test "${rtems_cv_want_multiprocessing+set}" = set; then
|
1797 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1798 |
|
|
else
|
1799 |
|
|
|
1800 |
|
|
if test x"$multilib" = x"no"; then
|
1801 |
|
|
# no cpukit
|
1802 |
|
|
rtems_cv_want_multiprocessing="$enable_multiprocessing"
|
1803 |
|
|
|
1804 |
|
|
else
|
1805 |
|
|
|
1806 |
|
|
#HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead
|
1807 |
|
|
rtems_cv_want_multiprocessing="$enable_multiprocessing"
|
1808 |
|
|
|
1809 |
|
|
fi
|
1810 |
|
|
|
1811 |
|
|
fi
|
1812 |
|
|
echo "$as_me:1812: result: $rtems_cv_want_multiprocessing" >&5
|
1813 |
|
|
echo "${ECHO_T}$rtems_cv_want_multiprocessing" >&6
|
1814 |
|
|
|
1815 |
|
|
if test "$rtems_cv_want_multiprocessing" = "yes"; then
|
1816 |
|
|
|
1817 |
|
|
echo "$as_me:1817: checking whether BSP supports multiprocessing" >&5
|
1818 |
|
|
echo $ECHO_N "checking whether BSP supports multiprocessing... $ECHO_C" >&6
|
1819 |
|
|
if test "${rtems_cv_HAS_MP+set}" = set; then
|
1820 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1821 |
|
|
else
|
1822 |
|
|
|
1823 |
|
|
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
|
1824 |
|
|
rtems_cv_HAS_MP="yes" ;
|
1825 |
|
|
else
|
1826 |
|
|
rtems_cv_HAS_MP="no";
|
1827 |
|
|
fi
|
1828 |
|
|
|
1829 |
|
|
fi
|
1830 |
|
|
echo "$as_me:1830: result: $rtems_cv_HAS_MP" >&5
|
1831 |
|
|
echo "${ECHO_T}$rtems_cv_HAS_MP" >&6
|
1832 |
|
|
if test $rtems_cv_HAS_MP = "no"; then
|
1833 |
|
|
{ { echo "$as_me:1833: error: multiprocessing requested but not supported" >&5
|
1834 |
|
|
echo "$as_me: error: multiprocessing requested but not supported" >&2;}
|
1835 |
|
|
{ (exit 1); exit 1; }; }
|
1836 |
|
|
fi
|
1837 |
|
|
|
1838 |
|
|
else
|
1839 |
|
|
rtems_cv_HAS_MP="no";
|
1840 |
|
|
fi
|
1841 |
|
|
|
1842 |
|
|
HAS_MP=$rtems_cv_HAS_MP
|
1843 |
|
|
|
1844 |
|
|
echo "$as_me:1844: checking whether CPU supports libposix" >&5
|
1845 |
|
|
echo $ECHO_N "checking whether CPU supports libposix... $ECHO_C" >&6
|
1846 |
|
|
if test "${rtems_cv_HAS_POSIX_API+set}" = set; then
|
1847 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1848 |
|
|
else
|
1849 |
|
|
case "$RTEMS_CPU" in
|
1850 |
|
|
unix*)
|
1851 |
|
|
rtems_cv_HAS_POSIX_API="no"
|
1852 |
|
|
;;
|
1853 |
|
|
*)
|
1854 |
|
|
if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
|
1855 |
|
|
rtems_cv_HAS_POSIX_API="yes";
|
1856 |
|
|
else
|
1857 |
|
|
rtems_cv_HAS_POSIX_API="disabled";
|
1858 |
|
|
fi
|
1859 |
|
|
;;
|
1860 |
|
|
esac
|
1861 |
|
|
fi
|
1862 |
|
|
echo "$as_me:1862: result: $rtems_cv_HAS_POSIX_API" >&5
|
1863 |
|
|
echo "${ECHO_T}$rtems_cv_HAS_POSIX_API" >&6
|
1864 |
|
|
if test "$rtems_cv_HAS_POSIX_API" = "yes"; then
|
1865 |
|
|
HAS_POSIX_API="yes";
|
1866 |
|
|
else
|
1867 |
|
|
HAS_POSIX_API="no";
|
1868 |
|
|
fi
|
1869 |
|
|
|
1870 |
|
|
echo "$as_me:1870: checking whether CPU supports libitron" >&5
|
1871 |
|
|
echo $ECHO_N "checking whether CPU supports libitron... $ECHO_C" >&6
|
1872 |
|
|
if test "${rtems_cv_HAS_ITRON_API+set}" = set; then
|
1873 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1874 |
|
|
else
|
1875 |
|
|
case "$RTEMS_CPU" in
|
1876 |
|
|
unix*)
|
1877 |
|
|
rtems_cv_HAS_ITRON_API="no"
|
1878 |
|
|
;;
|
1879 |
|
|
*)
|
1880 |
|
|
if test "${RTEMS_HAS_ITRON_API}" = "yes"; then
|
1881 |
|
|
rtems_cv_HAS_ITRON_API="yes";
|
1882 |
|
|
else
|
1883 |
|
|
rtems_cv_HAS_ITRON_API="disabled";
|
1884 |
|
|
fi
|
1885 |
|
|
;;
|
1886 |
|
|
esac
|
1887 |
|
|
fi
|
1888 |
|
|
echo "$as_me:1888: result: $rtems_cv_HAS_ITRON_API" >&5
|
1889 |
|
|
echo "${ECHO_T}$rtems_cv_HAS_ITRON_API" >&6
|
1890 |
|
|
if test "$rtems_cv_HAS_ITRON_API" = "yes"; then
|
1891 |
|
|
HAS_ITRON_API="yes";
|
1892 |
|
|
else
|
1893 |
|
|
HAS_ITRON_API="no";
|
1894 |
|
|
fi
|
1895 |
|
|
|
1896 |
|
|
subdirs="$subdirs tools"
|
1897 |
|
|
|
1898 |
|
|
subdirs="$subdirs support"
|
1899 |
|
|
|
1900 |
|
|
subdirs="$subdirs samples"
|
1901 |
|
|
|
1902 |
|
|
if test "$tests_enabled" = "yes"; then
|
1903 |
|
|
# do functionality tests first, then performance tests
|
1904 |
|
|
|
1905 |
|
|
subdirs="$subdirs libtests sptests"
|
1906 |
|
|
|
1907 |
|
|
if test "$HAS_MP" = "yes"; then
|
1908 |
|
|
|
1909 |
|
|
subdirs="$subdirs mptests"
|
1910 |
|
|
|
1911 |
|
|
fi
|
1912 |
|
|
if test "$HAS_POSIX_API" = "yes"; then
|
1913 |
|
|
|
1914 |
|
|
subdirs="$subdirs psxtests"
|
1915 |
|
|
|
1916 |
|
|
fi
|
1917 |
|
|
if test "$HAS_ITRON_API" = "yes"; then
|
1918 |
|
|
|
1919 |
|
|
subdirs="$subdirs itrontests"
|
1920 |
|
|
|
1921 |
|
|
fi
|
1922 |
|
|
# Now do performance tests
|
1923 |
|
|
|
1924 |
|
|
subdirs="$subdirs tmtests"
|
1925 |
|
|
|
1926 |
|
|
if test "$HAS_ITRON_API" = "yes"; then
|
1927 |
|
|
|
1928 |
|
|
subdirs="$subdirs tmitrontests"
|
1929 |
|
|
|
1930 |
|
|
fi
|
1931 |
|
|
fi
|
1932 |
|
|
|
1933 |
|
|
# Explicitly list all Makefiles here
|
1934 |
|
|
ac_config_files="$ac_config_files Makefile"
|
1935 |
|
|
|
1936 |
|
|
cat >confcache <<\_ACEOF
|
1937 |
|
|
# This file is a shell script that caches the results of configure
|
1938 |
|
|
# tests run on this system so they can be shared between configure
|
1939 |
|
|
# scripts and configure runs, see configure's option --config-cache.
|
1940 |
|
|
# It is not useful on other systems. If it contains results you don't
|
1941 |
|
|
# want to keep, you may remove or edit it.
|
1942 |
|
|
#
|
1943 |
|
|
# config.status only pays attention to the cache file if you give it
|
1944 |
|
|
# the --recheck option to rerun configure.
|
1945 |
|
|
#
|
1946 |
|
|
# `ac_cv_env_foo' variables (set or unset) will be overriden when
|
1947 |
|
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
1948 |
|
|
# following values.
|
1949 |
|
|
|
1950 |
|
|
_ACEOF
|
1951 |
|
|
|
1952 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
1953 |
|
|
# but we know of no workaround that is simple, portable, and efficient.
|
1954 |
|
|
# So, don't put newlines in cache variables' values.
|
1955 |
|
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
1956 |
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
1957 |
|
|
{
|
1958 |
|
|
(set) 2>&1 |
|
1959 |
|
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
1960 |
|
|
*ac_space=\ *)
|
1961 |
|
|
# `set' does not quote correctly, so add quotes (double-quote
|
1962 |
|
|
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
1963 |
|
|
sed -n \
|
1964 |
|
|
"s/'/'\\\\''/g;
|
1965 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
1966 |
|
|
;;
|
1967 |
|
|
*)
|
1968 |
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
1969 |
|
|
sed -n \
|
1970 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
1971 |
|
|
;;
|
1972 |
|
|
esac;
|
1973 |
|
|
} |
|
1974 |
|
|
sed '
|
1975 |
|
|
t clear
|
1976 |
|
|
: clear
|
1977 |
|
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
1978 |
|
|
t end
|
1979 |
|
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
1980 |
|
|
: end' >>confcache
|
1981 |
|
|
if cmp -s $cache_file confcache; then :; else
|
1982 |
|
|
if test -w $cache_file; then
|
1983 |
|
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
1984 |
|
|
cat confcache >$cache_file
|
1985 |
|
|
else
|
1986 |
|
|
echo "not updating unwritable cache $cache_file"
|
1987 |
|
|
fi
|
1988 |
|
|
fi
|
1989 |
|
|
rm -f confcache
|
1990 |
|
|
|
1991 |
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
1992 |
|
|
# Let make expand exec_prefix.
|
1993 |
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
1994 |
|
|
|
1995 |
|
|
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
1996 |
|
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
1997 |
|
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
1998 |
|
|
# (actually we leave an empty line to preserve line numbers).
|
1999 |
|
|
if test "x$srcdir" = x.; then
|
2000 |
|
|
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
2001 |
|
|
s/:*\$(srcdir):*/:/;
|
2002 |
|
|
s/:*\${srcdir}:*/:/;
|
2003 |
|
|
s/:*@srcdir@:*/:/;
|
2004 |
|
|
s/^\([^=]*=[ ]*\):*/\1/;
|
2005 |
|
|
s/:*$//;
|
2006 |
|
|
s/^[^=]*=[ ]*$//;
|
2007 |
|
|
}'
|
2008 |
|
|
fi
|
2009 |
|
|
|
2010 |
|
|
# Transform confdefs.h into DEFS.
|
2011 |
|
|
# Protect against shell expansion while executing Makefile rules.
|
2012 |
|
|
# Protect against Makefile macro expansion.
|
2013 |
|
|
#
|
2014 |
|
|
# If the first sed substitution is executed (which looks for macros that
|
2015 |
|
|
# take arguments), then we branch to the quote section. Otherwise,
|
2016 |
|
|
# look for a macro that doesn't take arguments.
|
2017 |
|
|
cat >confdef2opt.sed <<\EOF
|
2018 |
|
|
t clear
|
2019 |
|
|
: clear
|
2020 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
2021 |
|
|
t quote
|
2022 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
2023 |
|
|
t quote
|
2024 |
|
|
d
|
2025 |
|
|
: quote
|
2026 |
|
|
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
2027 |
|
|
s,\[,\\&,g
|
2028 |
|
|
s,\],\\&,g
|
2029 |
|
|
s,\$,$$,g
|
2030 |
|
|
p
|
2031 |
|
|
EOF
|
2032 |
|
|
# We use echo to avoid assuming a particular line-breaking character.
|
2033 |
|
|
# The extra dot is to prevent the shell from consuming trailing
|
2034 |
|
|
# line-breaks from the sub-command output. A line-break within
|
2035 |
|
|
# single-quotes doesn't work because, if this script is created in a
|
2036 |
|
|
# platform that uses two characters for line-breaks (e.g., DOS), tr
|
2037 |
|
|
# would break.
|
2038 |
|
|
ac_LF_and_DOT=`echo; echo .`
|
2039 |
|
|
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
2040 |
|
|
rm -f confdef2opt.sed
|
2041 |
|
|
|
2042 |
|
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
|
2043 |
|
|
{ { echo "$as_me:2043: error: conditional \"MAINTAINER_MODE\" was never defined.
|
2044 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
2045 |
|
|
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
|
2046 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
2047 |
|
|
{ (exit 1); exit 1; }; }
|
2048 |
|
|
fi
|
2049 |
|
|
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
|
2050 |
|
|
{ { echo "$as_me:2050: error: conditional \"MULTILIB\" was never defined.
|
2051 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
2052 |
|
|
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
|
2053 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
2054 |
|
|
{ (exit 1); exit 1; }; }
|
2055 |
|
|
fi
|
2056 |
|
|
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
|
2057 |
|
|
{ { echo "$as_me:2057: error: conditional \"MULTILIB\" was never defined.
|
2058 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
2059 |
|
|
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
|
2060 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
2061 |
|
|
{ (exit 1); exit 1; }; }
|
2062 |
|
|
fi
|
2063 |
|
|
|
2064 |
|
|
: ${CONFIG_STATUS=./config.status}
|
2065 |
|
|
ac_clean_files_save=$ac_clean_files
|
2066 |
|
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
2067 |
|
|
{ echo "$as_me:2067: creating $CONFIG_STATUS" >&5
|
2068 |
|
|
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
2069 |
|
|
cat >$CONFIG_STATUS <<_ACEOF
|
2070 |
|
|
#! $SHELL
|
2071 |
|
|
# Generated automatically by configure.
|
2072 |
|
|
# Run this file to recreate the current configuration.
|
2073 |
|
|
# Compiler output produced by configure, useful for debugging
|
2074 |
|
|
# configure, is in config.log if it exists.
|
2075 |
|
|
|
2076 |
|
|
debug=false
|
2077 |
|
|
SHELL=\${CONFIG_SHELL-$SHELL}
|
2078 |
|
|
ac_cs_invocation="\$0 \$@"
|
2079 |
|
|
|
2080 |
|
|
_ACEOF
|
2081 |
|
|
|
2082 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
2083 |
|
|
# Be Bourne compatible
|
2084 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
2085 |
|
|
emulate sh
|
2086 |
|
|
NULLCMD=:
|
2087 |
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
2088 |
|
|
set -o posix
|
2089 |
|
|
fi
|
2090 |
|
|
|
2091 |
|
|
# Name of the executable.
|
2092 |
|
|
as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
2093 |
|
|
|
2094 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
2095 |
|
|
as_expr=expr
|
2096 |
|
|
else
|
2097 |
|
|
as_expr=false
|
2098 |
|
|
fi
|
2099 |
|
|
|
2100 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
2101 |
|
|
echo >conf$$.file
|
2102 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
2103 |
|
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
2104 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
2105 |
|
|
if test -f conf$$.exe; then
|
2106 |
|
|
# Don't use ln at all; we don't have any links
|
2107 |
|
|
as_ln_s='cp -p'
|
2108 |
|
|
else
|
2109 |
|
|
as_ln_s='ln -s'
|
2110 |
|
|
fi
|
2111 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
2112 |
|
|
as_ln_s=ln
|
2113 |
|
|
else
|
2114 |
|
|
as_ln_s='cp -p'
|
2115 |
|
|
fi
|
2116 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
2117 |
|
|
|
2118 |
|
|
as_executable_p="test -f"
|
2119 |
|
|
|
2120 |
|
|
# Support unset when possible.
|
2121 |
|
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
2122 |
|
|
as_unset=unset
|
2123 |
|
|
else
|
2124 |
|
|
as_unset=false
|
2125 |
|
|
fi
|
2126 |
|
|
|
2127 |
|
|
# NLS nuisances.
|
2128 |
|
|
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
2129 |
|
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
2130 |
|
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
2131 |
|
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
2132 |
|
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
2133 |
|
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
2134 |
|
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
2135 |
|
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
2136 |
|
|
|
2137 |
|
|
# IFS
|
2138 |
|
|
# We need space, tab and new line, in precisely that order.
|
2139 |
|
|
as_nl='
|
2140 |
|
|
'
|
2141 |
|
|
IFS=" $as_nl"
|
2142 |
|
|
|
2143 |
|
|
# CDPATH.
|
2144 |
|
|
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
2145 |
|
|
|
2146 |
|
|
exec 6>&1
|
2147 |
|
|
|
2148 |
|
|
_ACEOF
|
2149 |
|
|
|
2150 |
|
|
# Files that config.status was made for.
|
2151 |
|
|
if test -n "$ac_config_files"; then
|
2152 |
|
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
2153 |
|
|
fi
|
2154 |
|
|
|
2155 |
|
|
if test -n "$ac_config_headers"; then
|
2156 |
|
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
2157 |
|
|
fi
|
2158 |
|
|
|
2159 |
|
|
if test -n "$ac_config_links"; then
|
2160 |
|
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
2161 |
|
|
fi
|
2162 |
|
|
|
2163 |
|
|
if test -n "$ac_config_commands"; then
|
2164 |
|
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
2165 |
|
|
fi
|
2166 |
|
|
|
2167 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
2168 |
|
|
|
2169 |
|
|
ac_cs_usage="\
|
2170 |
|
|
\`$as_me' instantiates files from templates according to the
|
2171 |
|
|
current configuration.
|
2172 |
|
|
|
2173 |
|
|
Usage: $0 [OPTIONS] [FILE]...
|
2174 |
|
|
|
2175 |
|
|
-h, --help print this help, then exit
|
2176 |
|
|
-V, --version print version number, then exit
|
2177 |
|
|
-d, --debug don't remove temporary files
|
2178 |
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
2179 |
|
|
--file=FILE[:TEMPLATE]
|
2180 |
|
|
instantiate the configuration file FILE
|
2181 |
|
|
|
2182 |
|
|
Configuration files:
|
2183 |
|
|
$config_files
|
2184 |
|
|
|
2185 |
|
|
Report bugs to ."
|
2186 |
|
|
EOF
|
2187 |
|
|
|
2188 |
|
|
cat >>$CONFIG_STATUS <
|
2189 |
|
|
ac_cs_version="\\
|
2190 |
|
|
rtems-c-src-tests config.status ss-20020807
|
2191 |
|
|
configured by $0, generated by GNU Autoconf 2.52,
|
2192 |
|
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
2193 |
|
|
|
2194 |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
2195 |
|
|
Free Software Foundation, Inc.
|
2196 |
|
|
This config.status script is free software; the Free Software Foundation
|
2197 |
|
|
gives unlimited permission to copy, distribute and modify it."
|
2198 |
|
|
srcdir=$srcdir
|
2199 |
|
|
INSTALL="$INSTALL"
|
2200 |
|
|
EOF
|
2201 |
|
|
|
2202 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
2203 |
|
|
# If no file are specified by the user, then we need to provide default
|
2204 |
|
|
# value. By we need to know if files were specified by the user.
|
2205 |
|
|
ac_need_defaults=:
|
2206 |
|
|
while test $# != 0
|
2207 |
|
|
do
|
2208 |
|
|
case $1 in
|
2209 |
|
|
--*=*)
|
2210 |
|
|
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
2211 |
|
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
2212 |
|
|
shift
|
2213 |
|
|
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
|
2214 |
|
|
shift
|
2215 |
|
|
;;
|
2216 |
|
|
-*);;
|
2217 |
|
|
*) # This is not an option, so the user has probably given explicit
|
2218 |
|
|
# arguments.
|
2219 |
|
|
ac_need_defaults=false;;
|
2220 |
|
|
esac
|
2221 |
|
|
|
2222 |
|
|
case $1 in
|
2223 |
|
|
# Handling of the options.
|
2224 |
|
|
EOF
|
2225 |
|
|
cat >>$CONFIG_STATUS <
|
2226 |
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
2227 |
|
|
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
|
2228 |
|
|
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
|
2229 |
|
|
EOF
|
2230 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
2231 |
|
|
--version | --vers* | -V )
|
2232 |
|
|
echo "$ac_cs_version"; exit 0 ;;
|
2233 |
|
|
--he | --h)
|
2234 |
|
|
# Conflict between --help and --header
|
2235 |
|
|
{ { echo "$as_me:2235: error: ambiguous option: $1
|
2236 |
|
|
Try \`$0 --help' for more information." >&5
|
2237 |
|
|
echo "$as_me: error: ambiguous option: $1
|
2238 |
|
|
Try \`$0 --help' for more information." >&2;}
|
2239 |
|
|
{ (exit 1); exit 1; }; };;
|
2240 |
|
|
--help | --hel | -h )
|
2241 |
|
|
echo "$ac_cs_usage"; exit 0 ;;
|
2242 |
|
|
--debug | --d* | -d )
|
2243 |
|
|
debug=: ;;
|
2244 |
|
|
--file | --fil | --fi | --f )
|
2245 |
|
|
shift
|
2246 |
|
|
CONFIG_FILES="$CONFIG_FILES $1"
|
2247 |
|
|
ac_need_defaults=false;;
|
2248 |
|
|
--header | --heade | --head | --hea )
|
2249 |
|
|
shift
|
2250 |
|
|
CONFIG_HEADERS="$CONFIG_HEADERS $1"
|
2251 |
|
|
ac_need_defaults=false;;
|
2252 |
|
|
|
2253 |
|
|
# This is an error.
|
2254 |
|
|
-*) { { echo "$as_me:2254: error: unrecognized option: $1
|
2255 |
|
|
Try \`$0 --help' for more information." >&5
|
2256 |
|
|
echo "$as_me: error: unrecognized option: $1
|
2257 |
|
|
Try \`$0 --help' for more information." >&2;}
|
2258 |
|
|
{ (exit 1); exit 1; }; } ;;
|
2259 |
|
|
|
2260 |
|
|
*) ac_config_targets="$ac_config_targets $1" ;;
|
2261 |
|
|
|
2262 |
|
|
esac
|
2263 |
|
|
shift
|
2264 |
|
|
done
|
2265 |
|
|
|
2266 |
|
|
exec 5>>config.log
|
2267 |
|
|
cat >&5 << _ACEOF
|
2268 |
|
|
|
2269 |
|
|
## ----------------------- ##
|
2270 |
|
|
## Running config.status. ##
|
2271 |
|
|
## ----------------------- ##
|
2272 |
|
|
|
2273 |
|
|
This file was extended by $as_me (rtems-c-src-tests ss-20020807) 2.52, executed with
|
2274 |
|
|
CONFIG_FILES = $CONFIG_FILES
|
2275 |
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
2276 |
|
|
CONFIG_LINKS = $CONFIG_LINKS
|
2277 |
|
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
2278 |
|
|
> $ac_cs_invocation
|
2279 |
|
|
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
2280 |
|
|
|
2281 |
|
|
_ACEOF
|
2282 |
|
|
EOF
|
2283 |
|
|
|
2284 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
2285 |
|
|
for ac_config_target in $ac_config_targets
|
2286 |
|
|
do
|
2287 |
|
|
case "$ac_config_target" in
|
2288 |
|
|
# Handling of arguments.
|
2289 |
|
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
2290 |
|
|
*) { { echo "$as_me:2290: error: invalid argument: $ac_config_target" >&5
|
2291 |
|
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
2292 |
|
|
{ (exit 1); exit 1; }; };;
|
2293 |
|
|
esac
|
2294 |
|
|
done
|
2295 |
|
|
|
2296 |
|
|
# If the user did not use the arguments to specify the items to instantiate,
|
2297 |
|
|
# then the envvar interface is used. Set only those that are not.
|
2298 |
|
|
# We use the long form for the default assignment because of an extremely
|
2299 |
|
|
# bizarre bug on SunOS 4.1.3.
|
2300 |
|
|
if $ac_need_defaults; then
|
2301 |
|
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
2302 |
|
|
fi
|
2303 |
|
|
|
2304 |
|
|
# Create a temporary directory, and hook for its removal unless debugging.
|
2305 |
|
|
$debug ||
|
2306 |
|
|
{
|
2307 |
|
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
2308 |
|
|
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
2309 |
|
|
}
|
2310 |
|
|
|
2311 |
|
|
# Create a (secure) tmp directory for tmp files.
|
2312 |
|
|
: ${TMPDIR=/tmp}
|
2313 |
|
|
{
|
2314 |
|
|
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
|
2315 |
|
|
test -n "$tmp" && test -d "$tmp"
|
2316 |
|
|
} ||
|
2317 |
|
|
{
|
2318 |
|
|
tmp=$TMPDIR/cs$$-$RANDOM
|
2319 |
|
|
(umask 077 && mkdir $tmp)
|
2320 |
|
|
} ||
|
2321 |
|
|
{
|
2322 |
|
|
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
|
2323 |
|
|
{ (exit 1); exit 1; }
|
2324 |
|
|
}
|
2325 |
|
|
|
2326 |
|
|
EOF
|
2327 |
|
|
|
2328 |
|
|
cat >>$CONFIG_STATUS <
|
2329 |
|
|
|
2330 |
|
|
#
|
2331 |
|
|
# CONFIG_FILES section.
|
2332 |
|
|
#
|
2333 |
|
|
|
2334 |
|
|
# No need to generate the scripts if there are no CONFIG_FILES.
|
2335 |
|
|
# This happens for instance when ./config.status config.h
|
2336 |
|
|
if test -n "\$CONFIG_FILES"; then
|
2337 |
|
|
# Protect against being on the right side of a sed subst in config.status.
|
2338 |
|
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
2339 |
|
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
2340 |
|
|
s,@SHELL@,$SHELL,;t t
|
2341 |
|
|
s,@exec_prefix@,$exec_prefix,;t t
|
2342 |
|
|
s,@prefix@,$prefix,;t t
|
2343 |
|
|
s,@program_transform_name@,$program_transform_name,;t t
|
2344 |
|
|
s,@bindir@,$bindir,;t t
|
2345 |
|
|
s,@sbindir@,$sbindir,;t t
|
2346 |
|
|
s,@libexecdir@,$libexecdir,;t t
|
2347 |
|
|
s,@datadir@,$datadir,;t t
|
2348 |
|
|
s,@sysconfdir@,$sysconfdir,;t t
|
2349 |
|
|
s,@sharedstatedir@,$sharedstatedir,;t t
|
2350 |
|
|
s,@localstatedir@,$localstatedir,;t t
|
2351 |
|
|
s,@libdir@,$libdir,;t t
|
2352 |
|
|
s,@includedir@,$includedir,;t t
|
2353 |
|
|
s,@oldincludedir@,$oldincludedir,;t t
|
2354 |
|
|
s,@infodir@,$infodir,;t t
|
2355 |
|
|
s,@mandir@,$mandir,;t t
|
2356 |
|
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
2357 |
|
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
2358 |
|
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
2359 |
|
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
2360 |
|
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
2361 |
|
|
s,@build_alias@,$build_alias,;t t
|
2362 |
|
|
s,@host_alias@,$host_alias,;t t
|
2363 |
|
|
s,@target_alias@,$target_alias,;t t
|
2364 |
|
|
s,@ECHO_C@,$ECHO_C,;t t
|
2365 |
|
|
s,@ECHO_N@,$ECHO_N,;t t
|
2366 |
|
|
s,@ECHO_T@,$ECHO_T,;t t
|
2367 |
|
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
2368 |
|
|
s,@DEFS@,$DEFS,;t t
|
2369 |
|
|
s,@LIBS@,$LIBS,;t t
|
2370 |
|
|
s,@MAKE@,$MAKE,;t t
|
2371 |
|
|
s,@ENDIF@,$ENDIF,;t t
|
2372 |
|
|
s,@RTEMS_TOPdir@,$RTEMS_TOPdir,;t t
|
2373 |
|
|
s,@PROJECT_TOPdir@,$PROJECT_TOPdir,;t t
|
2374 |
|
|
s,@PROJECT_ROOT@,$PROJECT_ROOT,;t t
|
2375 |
|
|
s,@build@,$build,;t t
|
2376 |
|
|
s,@build_cpu@,$build_cpu,;t t
|
2377 |
|
|
s,@build_vendor@,$build_vendor,;t t
|
2378 |
|
|
s,@build_os@,$build_os,;t t
|
2379 |
|
|
s,@host@,$host,;t t
|
2380 |
|
|
s,@host_cpu@,$host_cpu,;t t
|
2381 |
|
|
s,@host_vendor@,$host_vendor,;t t
|
2382 |
|
|
s,@host_os@,$host_os,;t t
|
2383 |
|
|
s,@target@,$target,;t t
|
2384 |
|
|
s,@target_cpu@,$target_cpu,;t t
|
2385 |
|
|
s,@target_vendor@,$target_vendor,;t t
|
2386 |
|
|
s,@target_os@,$target_os,;t t
|
2387 |
|
|
s,@RTEMS_CPU@,$RTEMS_CPU,;t t
|
2388 |
|
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
2389 |
|
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
2390 |
|
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
2391 |
|
|
s,@PACKAGE@,$PACKAGE,;t t
|
2392 |
|
|
s,@VERSION@,$VERSION,;t t
|
2393 |
|
|
s,@ACLOCAL@,$ACLOCAL,;t t
|
2394 |
|
|
s,@AUTOCONF@,$AUTOCONF,;t t
|
2395 |
|
|
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
2396 |
|
|
s,@AUTOHEADER@,$AUTOHEADER,;t t
|
2397 |
|
|
s,@MAKEINFO@,$MAKEINFO,;t t
|
2398 |
|
|
s,@AMTAR@,$AMTAR,;t t
|
2399 |
|
|
s,@install_sh@,$install_sh,;t t
|
2400 |
|
|
s,@STRIP@,$STRIP,;t t
|
2401 |
|
|
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
|
2402 |
|
|
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
|
2403 |
|
|
s,@AWK@,$AWK,;t t
|
2404 |
|
|
s,@SET_MAKE@,$SET_MAKE,;t t
|
2405 |
|
|
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
|
2406 |
|
|
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
|
2407 |
|
|
s,@MAINT@,$MAINT,;t t
|
2408 |
|
|
s,@RTEMS_HAS_POSIX_API@,$RTEMS_HAS_POSIX_API,;t t
|
2409 |
|
|
s,@RTEMS_HAS_ITRON_API@,$RTEMS_HAS_ITRON_API,;t t
|
2410 |
|
|
s,@RTEMS_HAS_NETWORKING@,$RTEMS_HAS_NETWORKING,;t t
|
2411 |
|
|
s,@RTEMS_BSP@,$RTEMS_BSP,;t t
|
2412 |
|
|
s,@RTEMS_BSP_SPECS@,$RTEMS_BSP_SPECS,;t t
|
2413 |
|
|
s,@GCC_SPECS@,$GCC_SPECS,;t t
|
2414 |
|
|
s,@PROJECT_INCLUDE@,$PROJECT_INCLUDE,;t t
|
2415 |
|
|
s,@PROJECT_RELEASE@,$PROJECT_RELEASE,;t t
|
2416 |
|
|
s,@RTEMS_ROOT@,$RTEMS_ROOT,;t t
|
2417 |
|
|
s,@BARE_CPU_MODEL@,$BARE_CPU_MODEL,;t t
|
2418 |
|
|
s,@BARE_CPU_CFLAGS@,$BARE_CPU_CFLAGS,;t t
|
2419 |
|
|
s,@MULTILIB_TRUE@,$MULTILIB_TRUE,;t t
|
2420 |
|
|
s,@MULTILIB_FALSE@,$MULTILIB_FALSE,;t t
|
2421 |
|
|
s,@bsplibdir@,$bsplibdir,;t t
|
2422 |
|
|
s,@RTEMS_HOST@,$RTEMS_HOST,;t t
|
2423 |
|
|
s,@PACKHEX@,$PACKHEX,;t t
|
2424 |
|
|
s,@HAS_MP@,$HAS_MP,;t t
|
2425 |
|
|
s,@HAS_POSIX_API@,$HAS_POSIX_API,;t t
|
2426 |
|
|
s,@HAS_ITRON_API@,$HAS_ITRON_API,;t t
|
2427 |
|
|
s,@subdirs@,$subdirs,;t t
|
2428 |
|
|
CEOF
|
2429 |
|
|
|
2430 |
|
|
EOF
|
2431 |
|
|
|
2432 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
2433 |
|
|
# Split the substitutions into bite-sized pieces for seds with
|
2434 |
|
|
# small command number limits, like on Digital OSF/1 and HP-UX.
|
2435 |
|
|
ac_max_sed_lines=48
|
2436 |
|
|
ac_sed_frag=1 # Number of current file.
|
2437 |
|
|
ac_beg=1 # First line for current file.
|
2438 |
|
|
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
2439 |
|
|
ac_more_lines=:
|
2440 |
|
|
ac_sed_cmds=
|
2441 |
|
|
while $ac_more_lines; do
|
2442 |
|
|
if test $ac_beg -gt 1; then
|
2443 |
|
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
2444 |
|
|
else
|
2445 |
|
|
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
2446 |
|
|
fi
|
2447 |
|
|
if test ! -s $tmp/subs.frag; then
|
2448 |
|
|
ac_more_lines=false
|
2449 |
|
|
else
|
2450 |
|
|
# The purpose of the label and of the branching condition is to
|
2451 |
|
|
# speed up the sed processing (if there are no `@' at all, there
|
2452 |
|
|
# is no need to browse any of the substitutions).
|
2453 |
|
|
# These are the two extra sed commands mentioned above.
|
2454 |
|
|
(echo ':t
|
2455 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
2456 |
|
|
if test -z "$ac_sed_cmds"; then
|
2457 |
|
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
2458 |
|
|
else
|
2459 |
|
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
2460 |
|
|
fi
|
2461 |
|
|
ac_sed_frag=`expr $ac_sed_frag + 1`
|
2462 |
|
|
ac_beg=$ac_end
|
2463 |
|
|
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
2464 |
|
|
fi
|
2465 |
|
|
done
|
2466 |
|
|
if test -z "$ac_sed_cmds"; then
|
2467 |
|
|
ac_sed_cmds=cat
|
2468 |
|
|
fi
|
2469 |
|
|
fi # test -n "$CONFIG_FILES"
|
2470 |
|
|
|
2471 |
|
|
EOF
|
2472 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
2473 |
|
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
2474 |
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
2475 |
|
|
case $ac_file in
|
2476 |
|
|
- | *:- | *:-:* ) # input from stdin
|
2477 |
|
|
cat >$tmp/stdin
|
2478 |
|
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
2479 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
2480 |
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
2481 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
2482 |
|
|
* ) ac_file_in=$ac_file.in ;;
|
2483 |
|
|
esac
|
2484 |
|
|
|
2485 |
|
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
2486 |
|
|
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
2487 |
|
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
2488 |
|
|
X"$ac_file" : 'X\(//\)$' \| \
|
2489 |
|
|
X"$ac_file" : 'X\(/\)' \| \
|
2490 |
|
|
. : '\(.\)' 2>/dev/null ||
|
2491 |
|
|
echo X"$ac_file" |
|
2492 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
2493 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
2494 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
2495 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
2496 |
|
|
s/.*/./; q'`
|
2497 |
|
|
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
2498 |
|
|
{ case "$ac_dir" in
|
2499 |
|
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
2500 |
|
|
*) as_incr_dir=.;;
|
2501 |
|
|
esac
|
2502 |
|
|
as_dummy="$ac_dir"
|
2503 |
|
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
2504 |
|
|
case $as_mkdir_dir in
|
2505 |
|
|
# Skip DOS drivespec
|
2506 |
|
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
2507 |
|
|
*)
|
2508 |
|
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
2509 |
|
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
2510 |
|
|
;;
|
2511 |
|
|
esac
|
2512 |
|
|
done; }
|
2513 |
|
|
|
2514 |
|
|
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
|
2515 |
|
|
# A "../" for each directory in $ac_dir_suffix.
|
2516 |
|
|
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
|
2517 |
|
|
else
|
2518 |
|
|
ac_dir_suffix= ac_dots=
|
2519 |
|
|
fi
|
2520 |
|
|
|
2521 |
|
|
case $srcdir in
|
2522 |
|
|
.) ac_srcdir=.
|
2523 |
|
|
if test -z "$ac_dots"; then
|
2524 |
|
|
ac_top_srcdir=.
|
2525 |
|
|
else
|
2526 |
|
|
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
|
2527 |
|
|
fi ;;
|
2528 |
|
|
[\\/]* | ?:[\\/]* )
|
2529 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
2530 |
|
|
ac_top_srcdir=$srcdir ;;
|
2531 |
|
|
*) # Relative path.
|
2532 |
|
|
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
|
2533 |
|
|
ac_top_srcdir=$ac_dots$srcdir ;;
|
2534 |
|
|
esac
|
2535 |
|
|
|
2536 |
|
|
case $INSTALL in
|
2537 |
|
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
2538 |
|
|
*) ac_INSTALL=$ac_dots$INSTALL ;;
|
2539 |
|
|
esac
|
2540 |
|
|
|
2541 |
|
|
if test x"$ac_file" != x-; then
|
2542 |
|
|
{ echo "$as_me:2542: creating $ac_file" >&5
|
2543 |
|
|
echo "$as_me: creating $ac_file" >&6;}
|
2544 |
|
|
rm -f "$ac_file"
|
2545 |
|
|
fi
|
2546 |
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
2547 |
|
|
# use $as_me), people would be surprised to read:
|
2548 |
|
|
# /* config.h. Generated automatically by config.status. */
|
2549 |
|
|
configure_input="Generated automatically from `echo $ac_file_in |
|
2550 |
|
|
sed 's,.*/,,'` by configure."
|
2551 |
|
|
|
2552 |
|
|
# First look for the input files in the build tree, otherwise in the
|
2553 |
|
|
# src tree.
|
2554 |
|
|
ac_file_inputs=`IFS=:
|
2555 |
|
|
for f in $ac_file_in; do
|
2556 |
|
|
case $f in
|
2557 |
|
|
-) echo $tmp/stdin ;;
|
2558 |
|
|
[\\/$]*)
|
2559 |
|
|
# Absolute (can't be DOS-style, as IFS=:)
|
2560 |
|
|
test -f "$f" || { { echo "$as_me:2560: error: cannot find input file: $f" >&5
|
2561 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
2562 |
|
|
{ (exit 1); exit 1; }; }
|
2563 |
|
|
echo $f;;
|
2564 |
|
|
*) # Relative
|
2565 |
|
|
if test -f "$f"; then
|
2566 |
|
|
# Build tree
|
2567 |
|
|
echo $f
|
2568 |
|
|
elif test -f "$srcdir/$f"; then
|
2569 |
|
|
# Source tree
|
2570 |
|
|
echo $srcdir/$f
|
2571 |
|
|
else
|
2572 |
|
|
# /dev/null tree
|
2573 |
|
|
{ { echo "$as_me:2573: error: cannot find input file: $f" >&5
|
2574 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
2575 |
|
|
{ (exit 1); exit 1; }; }
|
2576 |
|
|
fi;;
|
2577 |
|
|
esac
|
2578 |
|
|
done` || { (exit 1); exit 1; }
|
2579 |
|
|
EOF
|
2580 |
|
|
cat >>$CONFIG_STATUS <
|
2581 |
|
|
sed "$ac_vpsub
|
2582 |
|
|
$extrasub
|
2583 |
|
|
EOF
|
2584 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
2585 |
|
|
:t
|
2586 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
2587 |
|
|
s,@configure_input@,$configure_input,;t t
|
2588 |
|
|
s,@srcdir@,$ac_srcdir,;t t
|
2589 |
|
|
s,@top_srcdir@,$ac_top_srcdir,;t t
|
2590 |
|
|
s,@INSTALL@,$ac_INSTALL,;t t
|
2591 |
|
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
2592 |
|
|
rm -f $tmp/stdin
|
2593 |
|
|
if test x"$ac_file" != x-; then
|
2594 |
|
|
mv $tmp/out $ac_file
|
2595 |
|
|
else
|
2596 |
|
|
cat $tmp/out
|
2597 |
|
|
rm -f $tmp/out
|
2598 |
|
|
fi
|
2599 |
|
|
|
2600 |
|
|
done
|
2601 |
|
|
EOF
|
2602 |
|
|
|
2603 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
2604 |
|
|
|
2605 |
|
|
{ (exit 0); exit 0; }
|
2606 |
|
|
EOF
|
2607 |
|
|
chmod +x $CONFIG_STATUS
|
2608 |
|
|
ac_clean_files=$ac_clean_files_save
|
2609 |
|
|
|
2610 |
|
|
# configure is writing to config.log, and then calls config.status.
|
2611 |
|
|
# config.status does its own redirection, appending to config.log.
|
2612 |
|
|
# Unfortunately, on DOS this fails, as config.log is still kept open
|
2613 |
|
|
# by configure, so config.status won't be able to write to it; its
|
2614 |
|
|
# output is simply discarded. So we exec the FD to /dev/null,
|
2615 |
|
|
# effectively closing config.log, so it can be properly (re)opened and
|
2616 |
|
|
# appended to by config.status. When coming back to configure, we
|
2617 |
|
|
# need to make the FD available again.
|
2618 |
|
|
if test "$no_create" != yes; then
|
2619 |
|
|
ac_cs_success=:
|
2620 |
|
|
exec 5>/dev/null
|
2621 |
|
|
$SHELL $CONFIG_STATUS || ac_cs_success=false
|
2622 |
|
|
exec 5>>config.log
|
2623 |
|
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
2624 |
|
|
# would make configure fail if this is the last instruction.
|
2625 |
|
|
$ac_cs_success || { (exit 1); exit 1; }
|
2626 |
|
|
fi
|
2627 |
|
|
|
2628 |
|
|
#
|
2629 |
|
|
# CONFIG_SUBDIRS section.
|
2630 |
|
|
#
|
2631 |
|
|
if test "$no_recursion" != yes; then
|
2632 |
|
|
|
2633 |
|
|
# Remove --cache-file and --srcdir arguments so they do not pile up.
|
2634 |
|
|
ac_sub_configure_args=
|
2635 |
|
|
ac_prev=
|
2636 |
|
|
for ac_arg in $ac_configure_args; do
|
2637 |
|
|
if test -n "$ac_prev"; then
|
2638 |
|
|
ac_prev=
|
2639 |
|
|
continue
|
2640 |
|
|
fi
|
2641 |
|
|
case $ac_arg in
|
2642 |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
2643 |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
2644 |
|
|
ac_prev=cache_file ;;
|
2645 |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
2646 |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
2647 |
|
|
| --c=*)
|
2648 |
|
|
;;
|
2649 |
|
|
--config-cache | -C)
|
2650 |
|
|
;;
|
2651 |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
2652 |
|
|
ac_prev=srcdir ;;
|
2653 |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
2654 |
|
|
;;
|
2655 |
|
|
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
|
2656 |
|
|
esac
|
2657 |
|
|
done
|
2658 |
|
|
|
2659 |
|
|
for ac_subdir in : $subdirs; do test "x$ac_subdir" = x: && continue
|
2660 |
|
|
|
2661 |
|
|
# Do not complain, so a configure script can configure whichever
|
2662 |
|
|
# parts of a large source tree are present.
|
2663 |
|
|
test -d $srcdir/$ac_subdir || continue
|
2664 |
|
|
|
2665 |
|
|
{ echo "$as_me:2665: configuring in $ac_subdir" >&5
|
2666 |
|
|
echo "$as_me: configuring in $ac_subdir" >&6;}
|
2667 |
|
|
case $srcdir in
|
2668 |
|
|
.) ;;
|
2669 |
|
|
*) { case "./$ac_subdir" in
|
2670 |
|
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
2671 |
|
|
*) as_incr_dir=.;;
|
2672 |
|
|
esac
|
2673 |
|
|
as_dummy="./$ac_subdir"
|
2674 |
|
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
2675 |
|
|
case $as_mkdir_dir in
|
2676 |
|
|
# Skip DOS drivespec
|
2677 |
|
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
2678 |
|
|
*)
|
2679 |
|
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
2680 |
|
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
2681 |
|
|
;;
|
2682 |
|
|
esac
|
2683 |
|
|
done; }
|
2684 |
|
|
|
2685 |
|
|
if test -d ./$ac_subdir; then :;
|
2686 |
|
|
else
|
2687 |
|
|
{ { echo "$as_me:2687: error: cannot create \`pwd\`/$ac_subdir" >&5
|
2688 |
|
|
echo "$as_me: error: cannot create \`pwd\`/$ac_subdir" >&2;}
|
2689 |
|
|
{ (exit 1); exit 1; }; }
|
2690 |
|
|
fi
|
2691 |
|
|
;;
|
2692 |
|
|
esac
|
2693 |
|
|
|
2694 |
|
|
ac_popdir=`pwd`
|
2695 |
|
|
cd $ac_subdir
|
2696 |
|
|
|
2697 |
|
|
# A "../" for each directory in /$ac_subdir.
|
2698 |
|
|
ac_dots=`echo $ac_subdir |
|
2699 |
|
|
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
|
2700 |
|
|
|
2701 |
|
|
case $srcdir in
|
2702 |
|
|
.) # No --srcdir option. We are building in place.
|
2703 |
|
|
ac_sub_srcdir=$srcdir ;;
|
2704 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
2705 |
|
|
ac_sub_srcdir=$srcdir/$ac_subdir ;;
|
2706 |
|
|
*) # Relative path.
|
2707 |
|
|
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
|
2708 |
|
|
esac
|
2709 |
|
|
|
2710 |
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
2711 |
|
|
if test -f $ac_sub_srcdir/configure.gnu; then
|
2712 |
|
|
ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
|
2713 |
|
|
elif test -f $ac_sub_srcdir/configure; then
|
2714 |
|
|
ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
|
2715 |
|
|
elif test -f $ac_sub_srcdir/configure.in; then
|
2716 |
|
|
ac_sub_configure=$ac_configure
|
2717 |
|
|
else
|
2718 |
|
|
{ echo "$as_me:2718: WARNING: no configuration information is in $ac_subdir" >&5
|
2719 |
|
|
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
|
2720 |
|
|
ac_sub_configure=
|
2721 |
|
|
fi
|
2722 |
|
|
|
2723 |
|
|
# The recursion is here.
|
2724 |
|
|
if test -n "$ac_sub_configure"; then
|
2725 |
|
|
# Make the cache file name correct relative to the subdirectory.
|
2726 |
|
|
case $cache_file in
|
2727 |
|
|
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
2728 |
|
|
*) # Relative path.
|
2729 |
|
|
ac_sub_cache_file=$ac_dots$cache_file ;;
|
2730 |
|
|
esac
|
2731 |
|
|
|
2732 |
|
|
{ echo "$as_me:2732: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5
|
2733 |
|
|
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&6;}
|
2734 |
|
|
# The eval makes quoting arguments work.
|
2735 |
|
|
eval $ac_sub_configure $ac_sub_configure_args \
|
2736 |
|
|
--cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
|
2737 |
|
|
{ { echo "$as_me:2737: error: $ac_sub_configure failed for $ac_subdir" >&5
|
2738 |
|
|
echo "$as_me: error: $ac_sub_configure failed for $ac_subdir" >&2;}
|
2739 |
|
|
{ (exit 1); exit 1; }; }
|
2740 |
|
|
fi
|
2741 |
|
|
|
2742 |
|
|
cd $ac_popdir
|
2743 |
|
|
done
|
2744 |
|
|
fi
|
2745 |
|
|
|