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