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-libchip 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="rtc"
|
110 |
|
|
ac_default_prefix=/opt/rtems
|
111 |
|
|
|
112 |
|
|
# Initialize some variables set by options.
|
113 |
|
|
ac_init_help=
|
114 |
|
|
ac_init_version=false
|
115 |
|
|
# The variables have the same names as the options, with
|
116 |
|
|
# dashes changed to underlines.
|
117 |
|
|
cache_file=/dev/null
|
118 |
|
|
exec_prefix=NONE
|
119 |
|
|
no_create=
|
120 |
|
|
no_recursion=
|
121 |
|
|
prefix=NONE
|
122 |
|
|
program_prefix=NONE
|
123 |
|
|
program_suffix=NONE
|
124 |
|
|
program_transform_name=s,x,x,
|
125 |
|
|
silent=
|
126 |
|
|
site=
|
127 |
|
|
srcdir=
|
128 |
|
|
verbose=
|
129 |
|
|
x_includes=NONE
|
130 |
|
|
x_libraries=NONE
|
131 |
|
|
|
132 |
|
|
# Installation directory options.
|
133 |
|
|
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
134 |
|
|
# and all the variables that are supposed to be based on exec_prefix
|
135 |
|
|
# by default will actually change.
|
136 |
|
|
# Use braces instead of parens because sh, perl, etc. also accept them.
|
137 |
|
|
bindir='${exec_prefix}/bin'
|
138 |
|
|
sbindir='${exec_prefix}/sbin'
|
139 |
|
|
libexecdir='${exec_prefix}/libexec'
|
140 |
|
|
datadir='${prefix}/share'
|
141 |
|
|
sysconfdir='${prefix}/etc'
|
142 |
|
|
sharedstatedir='${prefix}/com'
|
143 |
|
|
localstatedir='${prefix}/var'
|
144 |
|
|
libdir='${exec_prefix}/lib'
|
145 |
|
|
includedir='${prefix}/include'
|
146 |
|
|
oldincludedir='/usr/include'
|
147 |
|
|
infodir='${prefix}/info'
|
148 |
|
|
mandir='${prefix}/man'
|
149 |
|
|
|
150 |
|
|
# Identity of this package.
|
151 |
|
|
PACKAGE_NAME='rtems-c-src-libchip'
|
152 |
|
|
PACKAGE_TARNAME='rtems-c-src-libchip'
|
153 |
|
|
PACKAGE_VERSION='ss-20020807'
|
154 |
|
|
PACKAGE_STRING='rtems-c-src-libchip ss-20020807'
|
155 |
|
|
PACKAGE_BUGREPORT='rtems-bugs@OARcorp.com'
|
156 |
|
|
|
157 |
|
|
ac_prev=
|
158 |
|
|
for ac_option
|
159 |
|
|
do
|
160 |
|
|
# If the previous option needs an argument, assign it.
|
161 |
|
|
if test -n "$ac_prev"; then
|
162 |
|
|
eval "$ac_prev=\$ac_option"
|
163 |
|
|
ac_prev=
|
164 |
|
|
continue
|
165 |
|
|
fi
|
166 |
|
|
|
167 |
|
|
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
168 |
|
|
|
169 |
|
|
# Accept the important Cygnus configure options, so we can diagnose typos.
|
170 |
|
|
|
171 |
|
|
case $ac_option in
|
172 |
|
|
|
173 |
|
|
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
174 |
|
|
ac_prev=bindir ;;
|
175 |
|
|
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
176 |
|
|
bindir=$ac_optarg ;;
|
177 |
|
|
|
178 |
|
|
-build | --build | --buil | --bui | --bu)
|
179 |
|
|
ac_prev=build_alias ;;
|
180 |
|
|
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
181 |
|
|
build_alias=$ac_optarg ;;
|
182 |
|
|
|
183 |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
184 |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
185 |
|
|
ac_prev=cache_file ;;
|
186 |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
187 |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
188 |
|
|
cache_file=$ac_optarg ;;
|
189 |
|
|
|
190 |
|
|
--config-cache | -C)
|
191 |
|
|
cache_file=config.cache ;;
|
192 |
|
|
|
193 |
|
|
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
194 |
|
|
ac_prev=datadir ;;
|
195 |
|
|
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
196 |
|
|
| --da=*)
|
197 |
|
|
datadir=$ac_optarg ;;
|
198 |
|
|
|
199 |
|
|
-disable-* | --disable-*)
|
200 |
|
|
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
201 |
|
|
# Reject names that are not valid shell variable names.
|
202 |
|
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
203 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
204 |
|
|
{ (exit 1); exit 1; }; }
|
205 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
206 |
|
|
eval "enable_$ac_feature=no" ;;
|
207 |
|
|
|
208 |
|
|
-enable-* | --enable-*)
|
209 |
|
|
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
210 |
|
|
# Reject names that are not valid shell variable names.
|
211 |
|
|
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
212 |
|
|
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
213 |
|
|
{ (exit 1); exit 1; }; }
|
214 |
|
|
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
215 |
|
|
case $ac_option in
|
216 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
217 |
|
|
*) ac_optarg=yes ;;
|
218 |
|
|
esac
|
219 |
|
|
eval "enable_$ac_feature='$ac_optarg'" ;;
|
220 |
|
|
|
221 |
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
222 |
|
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
223 |
|
|
| --exec | --exe | --ex)
|
224 |
|
|
ac_prev=exec_prefix ;;
|
225 |
|
|
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
226 |
|
|
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
227 |
|
|
| --exec=* | --exe=* | --ex=*)
|
228 |
|
|
exec_prefix=$ac_optarg ;;
|
229 |
|
|
|
230 |
|
|
-gas | --gas | --ga | --g)
|
231 |
|
|
# Obsolete; use --with-gas.
|
232 |
|
|
with_gas=yes ;;
|
233 |
|
|
|
234 |
|
|
-help | --help | --hel | --he | -h)
|
235 |
|
|
ac_init_help=long ;;
|
236 |
|
|
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
237 |
|
|
ac_init_help=recursive ;;
|
238 |
|
|
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
239 |
|
|
ac_init_help=short ;;
|
240 |
|
|
|
241 |
|
|
-host | --host | --hos | --ho)
|
242 |
|
|
ac_prev=host_alias ;;
|
243 |
|
|
-host=* | --host=* | --hos=* | --ho=*)
|
244 |
|
|
host_alias=$ac_optarg ;;
|
245 |
|
|
|
246 |
|
|
-includedir | --includedir | --includedi | --included | --include \
|
247 |
|
|
| --includ | --inclu | --incl | --inc)
|
248 |
|
|
ac_prev=includedir ;;
|
249 |
|
|
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
250 |
|
|
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
251 |
|
|
includedir=$ac_optarg ;;
|
252 |
|
|
|
253 |
|
|
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
254 |
|
|
ac_prev=infodir ;;
|
255 |
|
|
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
256 |
|
|
infodir=$ac_optarg ;;
|
257 |
|
|
|
258 |
|
|
-libdir | --libdir | --libdi | --libd)
|
259 |
|
|
ac_prev=libdir ;;
|
260 |
|
|
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
261 |
|
|
libdir=$ac_optarg ;;
|
262 |
|
|
|
263 |
|
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
264 |
|
|
| --libexe | --libex | --libe)
|
265 |
|
|
ac_prev=libexecdir ;;
|
266 |
|
|
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
267 |
|
|
| --libexe=* | --libex=* | --libe=*)
|
268 |
|
|
libexecdir=$ac_optarg ;;
|
269 |
|
|
|
270 |
|
|
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
271 |
|
|
| --localstate | --localstat | --localsta | --localst \
|
272 |
|
|
| --locals | --local | --loca | --loc | --lo)
|
273 |
|
|
ac_prev=localstatedir ;;
|
274 |
|
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
275 |
|
|
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
276 |
|
|
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
277 |
|
|
localstatedir=$ac_optarg ;;
|
278 |
|
|
|
279 |
|
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
280 |
|
|
ac_prev=mandir ;;
|
281 |
|
|
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
282 |
|
|
mandir=$ac_optarg ;;
|
283 |
|
|
|
284 |
|
|
-nfp | --nfp | --nf)
|
285 |
|
|
# Obsolete; use --without-fp.
|
286 |
|
|
with_fp=no ;;
|
287 |
|
|
|
288 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
289 |
|
|
| --no-cr | --no-c)
|
290 |
|
|
no_create=yes ;;
|
291 |
|
|
|
292 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
293 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
294 |
|
|
no_recursion=yes ;;
|
295 |
|
|
|
296 |
|
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
297 |
|
|
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
298 |
|
|
| --oldin | --oldi | --old | --ol | --o)
|
299 |
|
|
ac_prev=oldincludedir ;;
|
300 |
|
|
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
301 |
|
|
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
302 |
|
|
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
303 |
|
|
oldincludedir=$ac_optarg ;;
|
304 |
|
|
|
305 |
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
306 |
|
|
ac_prev=prefix ;;
|
307 |
|
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
308 |
|
|
prefix=$ac_optarg ;;
|
309 |
|
|
|
310 |
|
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
311 |
|
|
| --program-pre | --program-pr | --program-p)
|
312 |
|
|
ac_prev=program_prefix ;;
|
313 |
|
|
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
314 |
|
|
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
315 |
|
|
program_prefix=$ac_optarg ;;
|
316 |
|
|
|
317 |
|
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
318 |
|
|
| --program-suf | --program-su | --program-s)
|
319 |
|
|
ac_prev=program_suffix ;;
|
320 |
|
|
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
321 |
|
|
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
322 |
|
|
program_suffix=$ac_optarg ;;
|
323 |
|
|
|
324 |
|
|
-program-transform-name | --program-transform-name \
|
325 |
|
|
| --program-transform-nam | --program-transform-na \
|
326 |
|
|
| --program-transform-n | --program-transform- \
|
327 |
|
|
| --program-transform | --program-transfor \
|
328 |
|
|
| --program-transfo | --program-transf \
|
329 |
|
|
| --program-trans | --program-tran \
|
330 |
|
|
| --progr-tra | --program-tr | --program-t)
|
331 |
|
|
ac_prev=program_transform_name ;;
|
332 |
|
|
-program-transform-name=* | --program-transform-name=* \
|
333 |
|
|
| --program-transform-nam=* | --program-transform-na=* \
|
334 |
|
|
| --program-transform-n=* | --program-transform-=* \
|
335 |
|
|
| --program-transform=* | --program-transfor=* \
|
336 |
|
|
| --program-transfo=* | --program-transf=* \
|
337 |
|
|
| --program-trans=* | --program-tran=* \
|
338 |
|
|
| --progr-tra=* | --program-tr=* | --program-t=*)
|
339 |
|
|
program_transform_name=$ac_optarg ;;
|
340 |
|
|
|
341 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
342 |
|
|
| -silent | --silent | --silen | --sile | --sil)
|
343 |
|
|
silent=yes ;;
|
344 |
|
|
|
345 |
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
346 |
|
|
ac_prev=sbindir ;;
|
347 |
|
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
348 |
|
|
| --sbi=* | --sb=*)
|
349 |
|
|
sbindir=$ac_optarg ;;
|
350 |
|
|
|
351 |
|
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
352 |
|
|
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
353 |
|
|
| --sharedst | --shareds | --shared | --share | --shar \
|
354 |
|
|
| --sha | --sh)
|
355 |
|
|
ac_prev=sharedstatedir ;;
|
356 |
|
|
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
357 |
|
|
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
358 |
|
|
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
359 |
|
|
| --sha=* | --sh=*)
|
360 |
|
|
sharedstatedir=$ac_optarg ;;
|
361 |
|
|
|
362 |
|
|
-site | --site | --sit)
|
363 |
|
|
ac_prev=site ;;
|
364 |
|
|
-site=* | --site=* | --sit=*)
|
365 |
|
|
site=$ac_optarg ;;
|
366 |
|
|
|
367 |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
368 |
|
|
ac_prev=srcdir ;;
|
369 |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
370 |
|
|
srcdir=$ac_optarg ;;
|
371 |
|
|
|
372 |
|
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
373 |
|
|
| --syscon | --sysco | --sysc | --sys | --sy)
|
374 |
|
|
ac_prev=sysconfdir ;;
|
375 |
|
|
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
376 |
|
|
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
377 |
|
|
sysconfdir=$ac_optarg ;;
|
378 |
|
|
|
379 |
|
|
-target | --target | --targe | --targ | --tar | --ta | --t)
|
380 |
|
|
ac_prev=target_alias ;;
|
381 |
|
|
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
382 |
|
|
target_alias=$ac_optarg ;;
|
383 |
|
|
|
384 |
|
|
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
385 |
|
|
verbose=yes ;;
|
386 |
|
|
|
387 |
|
|
-version | --version | --versio | --versi | --vers | -V)
|
388 |
|
|
ac_init_version=: ;;
|
389 |
|
|
|
390 |
|
|
-with-* | --with-*)
|
391 |
|
|
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
392 |
|
|
# Reject names that are not valid shell variable names.
|
393 |
|
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
394 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
395 |
|
|
{ (exit 1); exit 1; }; }
|
396 |
|
|
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
397 |
|
|
case $ac_option in
|
398 |
|
|
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
399 |
|
|
*) ac_optarg=yes ;;
|
400 |
|
|
esac
|
401 |
|
|
eval "with_$ac_package='$ac_optarg'" ;;
|
402 |
|
|
|
403 |
|
|
-without-* | --without-*)
|
404 |
|
|
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
405 |
|
|
# Reject names that are not valid shell variable names.
|
406 |
|
|
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
407 |
|
|
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
408 |
|
|
{ (exit 1); exit 1; }; }
|
409 |
|
|
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
410 |
|
|
eval "with_$ac_package=no" ;;
|
411 |
|
|
|
412 |
|
|
--x)
|
413 |
|
|
# Obsolete; use --with-x.
|
414 |
|
|
with_x=yes ;;
|
415 |
|
|
|
416 |
|
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
417 |
|
|
| --x-incl | --x-inc | --x-in | --x-i)
|
418 |
|
|
ac_prev=x_includes ;;
|
419 |
|
|
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
420 |
|
|
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
421 |
|
|
x_includes=$ac_optarg ;;
|
422 |
|
|
|
423 |
|
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
424 |
|
|
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
425 |
|
|
ac_prev=x_libraries ;;
|
426 |
|
|
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
427 |
|
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
428 |
|
|
x_libraries=$ac_optarg ;;
|
429 |
|
|
|
430 |
|
|
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
431 |
|
|
Try \`$0 --help' for more information." >&2
|
432 |
|
|
{ (exit 1); exit 1; }; }
|
433 |
|
|
;;
|
434 |
|
|
|
435 |
|
|
*=*)
|
436 |
|
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
437 |
|
|
# Reject names that are not valid shell variable names.
|
438 |
|
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
439 |
|
|
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
440 |
|
|
{ (exit 1); exit 1; }; }
|
441 |
|
|
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
442 |
|
|
eval "$ac_envvar='$ac_optarg'"
|
443 |
|
|
export $ac_envvar ;;
|
444 |
|
|
|
445 |
|
|
*)
|
446 |
|
|
# FIXME: should be removed in autoconf 3.0.
|
447 |
|
|
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
448 |
|
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
449 |
|
|
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
450 |
|
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
451 |
|
|
;;
|
452 |
|
|
|
453 |
|
|
esac
|
454 |
|
|
done
|
455 |
|
|
|
456 |
|
|
if test -n "$ac_prev"; then
|
457 |
|
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
458 |
|
|
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
459 |
|
|
{ (exit 1); exit 1; }; }
|
460 |
|
|
fi
|
461 |
|
|
|
462 |
|
|
# Be sure to have absolute paths.
|
463 |
|
|
for ac_var in exec_prefix prefix
|
464 |
|
|
do
|
465 |
|
|
eval ac_val=$`echo $ac_var`
|
466 |
|
|
case $ac_val in
|
467 |
|
|
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
468 |
|
|
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
469 |
|
|
{ (exit 1); exit 1; }; };;
|
470 |
|
|
esac
|
471 |
|
|
done
|
472 |
|
|
|
473 |
|
|
# Be sure to have absolute paths.
|
474 |
|
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
475 |
|
|
localstatedir libdir includedir oldincludedir infodir mandir
|
476 |
|
|
do
|
477 |
|
|
eval ac_val=$`echo $ac_var`
|
478 |
|
|
case $ac_val in
|
479 |
|
|
[\\/$]* | ?:[\\/]* ) ;;
|
480 |
|
|
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
481 |
|
|
{ (exit 1); exit 1; }; };;
|
482 |
|
|
esac
|
483 |
|
|
done
|
484 |
|
|
|
485 |
|
|
# There might be people who depend on the old broken behavior: `$host'
|
486 |
|
|
# used to hold the argument of --host etc.
|
487 |
|
|
build=$build_alias
|
488 |
|
|
host=$host_alias
|
489 |
|
|
target=$target_alias
|
490 |
|
|
|
491 |
|
|
# FIXME: should be removed in autoconf 3.0.
|
492 |
|
|
if test "x$host_alias" != x; then
|
493 |
|
|
if test "x$build_alias" = x; then
|
494 |
|
|
cross_compiling=maybe
|
495 |
|
|
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
496 |
|
|
If a cross compiler is detected then cross compile mode will be used." >&2
|
497 |
|
|
elif test "x$build_alias" != "x$host_alias"; then
|
498 |
|
|
cross_compiling=yes
|
499 |
|
|
fi
|
500 |
|
|
fi
|
501 |
|
|
|
502 |
|
|
ac_tool_prefix=
|
503 |
|
|
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
504 |
|
|
|
505 |
|
|
test "$silent" = yes && exec 6>/dev/null
|
506 |
|
|
|
507 |
|
|
# Find the source files, if location was not specified.
|
508 |
|
|
if test -z "$srcdir"; then
|
509 |
|
|
ac_srcdir_defaulted=yes
|
510 |
|
|
# Try the directory containing this script, then its parent.
|
511 |
|
|
ac_prog=$0
|
512 |
|
|
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
|
513 |
|
|
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
|
514 |
|
|
srcdir=$ac_confdir
|
515 |
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
516 |
|
|
srcdir=..
|
517 |
|
|
fi
|
518 |
|
|
else
|
519 |
|
|
ac_srcdir_defaulted=no
|
520 |
|
|
fi
|
521 |
|
|
if test ! -r $srcdir/$ac_unique_file; then
|
522 |
|
|
if test "$ac_srcdir_defaulted" = yes; then
|
523 |
|
|
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
|
524 |
|
|
{ (exit 1); exit 1; }; }
|
525 |
|
|
else
|
526 |
|
|
{ echo "$as_me: error: cannot find sources in $srcdir" >&2
|
527 |
|
|
{ (exit 1); exit 1; }; }
|
528 |
|
|
fi
|
529 |
|
|
fi
|
530 |
|
|
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
531 |
|
|
ac_env_build_alias_set=${build_alias+set}
|
532 |
|
|
ac_env_build_alias_value=$build_alias
|
533 |
|
|
ac_cv_env_build_alias_set=${build_alias+set}
|
534 |
|
|
ac_cv_env_build_alias_value=$build_alias
|
535 |
|
|
ac_env_host_alias_set=${host_alias+set}
|
536 |
|
|
ac_env_host_alias_value=$host_alias
|
537 |
|
|
ac_cv_env_host_alias_set=${host_alias+set}
|
538 |
|
|
ac_cv_env_host_alias_value=$host_alias
|
539 |
|
|
ac_env_target_alias_set=${target_alias+set}
|
540 |
|
|
ac_env_target_alias_value=$target_alias
|
541 |
|
|
ac_cv_env_target_alias_set=${target_alias+set}
|
542 |
|
|
ac_cv_env_target_alias_value=$target_alias
|
543 |
|
|
ac_env_RTEMS_BSP_set=${RTEMS_BSP+set}
|
544 |
|
|
ac_env_RTEMS_BSP_value=$RTEMS_BSP
|
545 |
|
|
ac_cv_env_RTEMS_BSP_set=${RTEMS_BSP+set}
|
546 |
|
|
ac_cv_env_RTEMS_BSP_value=$RTEMS_BSP
|
547 |
|
|
ac_env_CC_set=${CC+set}
|
548 |
|
|
ac_env_CC_value=$CC
|
549 |
|
|
ac_cv_env_CC_set=${CC+set}
|
550 |
|
|
ac_cv_env_CC_value=$CC
|
551 |
|
|
ac_env_CFLAGS_set=${CFLAGS+set}
|
552 |
|
|
ac_env_CFLAGS_value=$CFLAGS
|
553 |
|
|
ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
554 |
|
|
ac_cv_env_CFLAGS_value=$CFLAGS
|
555 |
|
|
ac_env_LDFLAGS_set=${LDFLAGS+set}
|
556 |
|
|
ac_env_LDFLAGS_value=$LDFLAGS
|
557 |
|
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
558 |
|
|
ac_cv_env_LDFLAGS_value=$LDFLAGS
|
559 |
|
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
560 |
|
|
ac_env_CPPFLAGS_value=$CPPFLAGS
|
561 |
|
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
562 |
|
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
563 |
|
|
ac_env_CPP_set=${CPP+set}
|
564 |
|
|
ac_env_CPP_value=$CPP
|
565 |
|
|
ac_cv_env_CPP_set=${CPP+set}
|
566 |
|
|
ac_cv_env_CPP_value=$CPP
|
567 |
|
|
|
568 |
|
|
#
|
569 |
|
|
# Report the --help message.
|
570 |
|
|
#
|
571 |
|
|
if test "$ac_init_help" = "long"; then
|
572 |
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
573 |
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
574 |
|
|
cat <
|
575 |
|
|
\`configure' configures rtems-c-src-libchip ss-20020807 to adapt to many kinds of systems.
|
576 |
|
|
|
577 |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
578 |
|
|
|
579 |
|
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
580 |
|
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
581 |
|
|
|
582 |
|
|
Defaults for the options are specified in brackets.
|
583 |
|
|
|
584 |
|
|
Configuration:
|
585 |
|
|
-h, --help display this help and exit
|
586 |
|
|
--help=short display options specific to this package
|
587 |
|
|
--help=recursive display the short help of all the included packages
|
588 |
|
|
-V, --version display version information and exit
|
589 |
|
|
-q, --quiet, --silent do not print \`checking...' messages
|
590 |
|
|
--cache-file=FILE cache test results in FILE [disabled]
|
591 |
|
|
-C, --config-cache alias for \`--cache-file=config.cache'
|
592 |
|
|
-n, --no-create do not create output files
|
593 |
|
|
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
594 |
|
|
|
595 |
|
|
EOF
|
596 |
|
|
|
597 |
|
|
cat <
|
598 |
|
|
Installation directories:
|
599 |
|
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
600 |
|
|
[$ac_default_prefix]
|
601 |
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
602 |
|
|
[PREFIX]
|
603 |
|
|
|
604 |
|
|
By default, \`make install' will install all the files in
|
605 |
|
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
606 |
|
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
607 |
|
|
for instance \`--prefix=\$HOME'.
|
608 |
|
|
|
609 |
|
|
For better control, use the options below.
|
610 |
|
|
|
611 |
|
|
Fine tuning of the installation directories:
|
612 |
|
|
--bindir=DIR user executables [EPREFIX/bin]
|
613 |
|
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
614 |
|
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
615 |
|
|
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
616 |
|
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
617 |
|
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
618 |
|
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
619 |
|
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
620 |
|
|
--includedir=DIR C header files [PREFIX/include]
|
621 |
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
622 |
|
|
--infodir=DIR info documentation [PREFIX/info]
|
623 |
|
|
--mandir=DIR man documentation [PREFIX/man]
|
624 |
|
|
EOF
|
625 |
|
|
|
626 |
|
|
cat <<\EOF
|
627 |
|
|
|
628 |
|
|
Program names:
|
629 |
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
630 |
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
631 |
|
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
632 |
|
|
|
633 |
|
|
System types:
|
634 |
|
|
--build=BUILD configure for building on BUILD [guessed]
|
635 |
|
|
--host=HOST build programs to run on HOST [BUILD]
|
636 |
|
|
--target=TARGET configure for building compilers for TARGET [HOST]
|
637 |
|
|
EOF
|
638 |
|
|
fi
|
639 |
|
|
|
640 |
|
|
if test -n "$ac_init_help"; then
|
641 |
|
|
case $ac_init_help in
|
642 |
|
|
short | recursive ) echo "Configuration of rtems-c-src-libchip ss-20020807:";;
|
643 |
|
|
esac
|
644 |
|
|
cat <<\EOF
|
645 |
|
|
|
646 |
|
|
Optional Features:
|
647 |
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
648 |
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
649 |
|
|
--enable-maintainer-mode enable make rules and dependencies not useful
|
650 |
|
|
(and sometimes confusing) to the casual installer
|
651 |
|
|
--enable-networking enable TCP/IP stack
|
652 |
|
|
--enable-bare-cpu-cflags
|
653 |
|
|
specify a particular cpu cflag (bare bsp specific)
|
654 |
|
|
--enable-bare-cpu-model specify a particular cpu model (bare bsp specific)
|
655 |
|
|
--disable-dependency-tracking Speeds up one-time builds
|
656 |
|
|
--enable-dependency-tracking Do not reject slow dependency extractors
|
657 |
|
|
|
658 |
|
|
Some influential environment variables:
|
659 |
|
|
RTEMS_BSP RTEMS_BSP to build
|
660 |
|
|
CC C compiler command
|
661 |
|
|
CFLAGS C compiler flags
|
662 |
|
|
LDFLAGS linker flags, e.g. -L if you have libraries in a
|
663 |
|
|
nonstandard directory
|
664 |
|
|
CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have
|
665 |
|
|
headers in a nonstandard directory
|
666 |
|
|
CPP C preprocessor
|
667 |
|
|
|
668 |
|
|
Use these variables to override the choices made by `configure' or to help
|
669 |
|
|
it to find libraries and programs with nonstandard names/locations.
|
670 |
|
|
|
671 |
|
|
Report bugs to .
|
672 |
|
|
EOF
|
673 |
|
|
fi
|
674 |
|
|
|
675 |
|
|
if test "$ac_init_help" = "recursive"; then
|
676 |
|
|
# If there are subdirs, report their specific --help.
|
677 |
|
|
ac_popdir=`pwd`
|
678 |
|
|
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
|
679 |
|
|
cd $ac_subdir
|
680 |
|
|
# A "../" for each directory in /$ac_subdir.
|
681 |
|
|
ac_dots=`echo $ac_subdir |
|
682 |
|
|
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
|
683 |
|
|
|
684 |
|
|
case $srcdir in
|
685 |
|
|
.) # No --srcdir option. We are building in place.
|
686 |
|
|
ac_sub_srcdir=$srcdir ;;
|
687 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute path.
|
688 |
|
|
ac_sub_srcdir=$srcdir/$ac_subdir ;;
|
689 |
|
|
*) # Relative path.
|
690 |
|
|
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
|
691 |
|
|
esac
|
692 |
|
|
|
693 |
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
694 |
|
|
if test -f $ac_sub_srcdir/configure.gnu; then
|
695 |
|
|
echo
|
696 |
|
|
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive
|
697 |
|
|
elif test -f $ac_sub_srcdir/configure; then
|
698 |
|
|
echo
|
699 |
|
|
$SHELL $ac_sub_srcdir/configure --help=recursive
|
700 |
|
|
elif test -f $ac_sub_srcdir/configure.ac ||
|
701 |
|
|
test -f $ac_sub_srcdir/configure.in; then
|
702 |
|
|
echo
|
703 |
|
|
$ac_configure --help
|
704 |
|
|
else
|
705 |
|
|
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
|
706 |
|
|
fi
|
707 |
|
|
cd $ac_popdir
|
708 |
|
|
done
|
709 |
|
|
fi
|
710 |
|
|
|
711 |
|
|
test -n "$ac_init_help" && exit 0
|
712 |
|
|
if $ac_init_version; then
|
713 |
|
|
cat <<\EOF
|
714 |
|
|
rtems-c-src-libchip configure ss-20020807
|
715 |
|
|
generated by GNU Autoconf 2.52
|
716 |
|
|
|
717 |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
718 |
|
|
Free Software Foundation, Inc.
|
719 |
|
|
This configure script is free software; the Free Software Foundation
|
720 |
|
|
gives unlimited permission to copy, distribute and modify it.
|
721 |
|
|
EOF
|
722 |
|
|
exit 0
|
723 |
|
|
fi
|
724 |
|
|
exec 5>config.log
|
725 |
|
|
cat >&5 <
|
726 |
|
|
This file contains any messages produced by compilers while
|
727 |
|
|
running configure, to aid debugging if configure makes a mistake.
|
728 |
|
|
|
729 |
|
|
It was created by rtems-c-src-libchip $as_me ss-20020807, which was
|
730 |
|
|
generated by GNU Autoconf 2.52. Invocation command line was
|
731 |
|
|
|
732 |
|
|
$ $0 $@
|
733 |
|
|
|
734 |
|
|
EOF
|
735 |
|
|
{
|
736 |
|
|
cat <<_ASUNAME
|
737 |
|
|
## ---------- ##
|
738 |
|
|
## Platform. ##
|
739 |
|
|
## ---------- ##
|
740 |
|
|
|
741 |
|
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
742 |
|
|
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
743 |
|
|
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
744 |
|
|
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
745 |
|
|
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
746 |
|
|
|
747 |
|
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
748 |
|
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
749 |
|
|
|
750 |
|
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
751 |
|
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
752 |
|
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
753 |
|
|
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
754 |
|
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
755 |
|
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
756 |
|
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
757 |
|
|
|
758 |
|
|
PATH = $PATH
|
759 |
|
|
|
760 |
|
|
_ASUNAME
|
761 |
|
|
} >&5
|
762 |
|
|
|
763 |
|
|
cat >&5 <
|
764 |
|
|
## ------------ ##
|
765 |
|
|
## Core tests. ##
|
766 |
|
|
## ------------ ##
|
767 |
|
|
|
768 |
|
|
EOF
|
769 |
|
|
|
770 |
|
|
# Keep a trace of the command line.
|
771 |
|
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
772 |
|
|
# Also quote any args containing shell meta-characters.
|
773 |
|
|
ac_configure_args=
|
774 |
|
|
ac_sep=
|
775 |
|
|
for ac_arg
|
776 |
|
|
do
|
777 |
|
|
case $ac_arg in
|
778 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
779 |
|
|
| --no-cr | --no-c) ;;
|
780 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
781 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
|
782 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
783 |
|
|
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
|
784 |
|
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
785 |
|
|
ac_sep=" " ;;
|
786 |
|
|
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
|
787 |
|
|
ac_sep=" " ;;
|
788 |
|
|
esac
|
789 |
|
|
# Get rid of the leading space.
|
790 |
|
|
done
|
791 |
|
|
|
792 |
|
|
# When interrupted or exit'd, cleanup temporary files, and complete
|
793 |
|
|
# config.log. We remove comments because anyway the quotes in there
|
794 |
|
|
# would cause problems or look ugly.
|
795 |
|
|
trap 'exit_status=$?
|
796 |
|
|
# Save into config.log some information that might help in debugging.
|
797 |
|
|
echo >&5
|
798 |
|
|
echo "## ----------------- ##" >&5
|
799 |
|
|
echo "## Cache variables. ##" >&5
|
800 |
|
|
echo "## ----------------- ##" >&5
|
801 |
|
|
echo >&5
|
802 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
803 |
|
|
{
|
804 |
|
|
(set) 2>&1 |
|
805 |
|
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
806 |
|
|
*ac_space=\ *)
|
807 |
|
|
sed -n \
|
808 |
|
|
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
809 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
810 |
|
|
;;
|
811 |
|
|
*)
|
812 |
|
|
sed -n \
|
813 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
814 |
|
|
;;
|
815 |
|
|
esac;
|
816 |
|
|
} >&5
|
817 |
|
|
sed "/^$/d" confdefs.h >conftest.log
|
818 |
|
|
if test -s conftest.log; then
|
819 |
|
|
echo >&5
|
820 |
|
|
echo "## ------------ ##" >&5
|
821 |
|
|
echo "## confdefs.h. ##" >&5
|
822 |
|
|
echo "## ------------ ##" >&5
|
823 |
|
|
echo >&5
|
824 |
|
|
cat conftest.log >&5
|
825 |
|
|
fi
|
826 |
|
|
(echo; echo) >&5
|
827 |
|
|
test "$ac_signal" != 0 &&
|
828 |
|
|
echo "$as_me: caught signal $ac_signal" >&5
|
829 |
|
|
echo "$as_me: exit $exit_status" >&5
|
830 |
|
|
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
|
831 |
|
|
exit $exit_status
|
832 |
|
|
' 0
|
833 |
|
|
for ac_signal in 1 2 13 15; do
|
834 |
|
|
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
835 |
|
|
done
|
836 |
|
|
ac_signal=0
|
837 |
|
|
|
838 |
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
839 |
|
|
rm -rf conftest* confdefs.h
|
840 |
|
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
841 |
|
|
echo >confdefs.h
|
842 |
|
|
|
843 |
|
|
# Let the site file select an alternate cache file if it wants to.
|
844 |
|
|
# Prefer explicitly selected file to automatically selected ones.
|
845 |
|
|
if test -z "$CONFIG_SITE"; then
|
846 |
|
|
if test "x$prefix" != xNONE; then
|
847 |
|
|
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
848 |
|
|
else
|
849 |
|
|
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
850 |
|
|
fi
|
851 |
|
|
fi
|
852 |
|
|
for ac_site_file in $CONFIG_SITE; do
|
853 |
|
|
if test -r "$ac_site_file"; then
|
854 |
|
|
{ echo "$as_me:854: loading site script $ac_site_file" >&5
|
855 |
|
|
echo "$as_me: loading site script $ac_site_file" >&6;}
|
856 |
|
|
cat "$ac_site_file" >&5
|
857 |
|
|
. "$ac_site_file"
|
858 |
|
|
fi
|
859 |
|
|
done
|
860 |
|
|
|
861 |
|
|
if test -r "$cache_file"; then
|
862 |
|
|
# Some versions of bash will fail to source /dev/null (special
|
863 |
|
|
# files actually), so we avoid doing that.
|
864 |
|
|
if test -f "$cache_file"; then
|
865 |
|
|
{ echo "$as_me:865: loading cache $cache_file" >&5
|
866 |
|
|
echo "$as_me: loading cache $cache_file" >&6;}
|
867 |
|
|
case $cache_file in
|
868 |
|
|
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
869 |
|
|
*) . ./$cache_file;;
|
870 |
|
|
esac
|
871 |
|
|
fi
|
872 |
|
|
else
|
873 |
|
|
{ echo "$as_me:873: creating cache $cache_file" >&5
|
874 |
|
|
echo "$as_me: creating cache $cache_file" >&6;}
|
875 |
|
|
>$cache_file
|
876 |
|
|
fi
|
877 |
|
|
|
878 |
|
|
# Check that the precious variables saved in the cache have kept the same
|
879 |
|
|
# value.
|
880 |
|
|
ac_cache_corrupted=false
|
881 |
|
|
for ac_var in `(set) 2>&1 |
|
882 |
|
|
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
883 |
|
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
884 |
|
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
885 |
|
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
886 |
|
|
eval ac_new_val="\$ac_env_${ac_var}_value"
|
887 |
|
|
case $ac_old_set,$ac_new_set in
|
888 |
|
|
set,)
|
889 |
|
|
{ echo "$as_me:889: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
890 |
|
|
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
891 |
|
|
ac_cache_corrupted=: ;;
|
892 |
|
|
,set)
|
893 |
|
|
{ echo "$as_me:893: error: \`$ac_var' was not set in the previous run" >&5
|
894 |
|
|
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
895 |
|
|
ac_cache_corrupted=: ;;
|
896 |
|
|
,);;
|
897 |
|
|
*)
|
898 |
|
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
899 |
|
|
{ echo "$as_me:899: error: \`$ac_var' has changed since the previous run:" >&5
|
900 |
|
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
901 |
|
|
{ echo "$as_me:901: former value: $ac_old_val" >&5
|
902 |
|
|
echo "$as_me: former value: $ac_old_val" >&2;}
|
903 |
|
|
{ echo "$as_me:903: current value: $ac_new_val" >&5
|
904 |
|
|
echo "$as_me: current value: $ac_new_val" >&2;}
|
905 |
|
|
ac_cache_corrupted=:
|
906 |
|
|
fi;;
|
907 |
|
|
esac
|
908 |
|
|
# Pass precious variables to config.status. It doesn't matter if
|
909 |
|
|
# we pass some twice (in addition to the command line arguments).
|
910 |
|
|
if test "$ac_new_set" = set; then
|
911 |
|
|
case $ac_new_val in
|
912 |
|
|
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
913 |
|
|
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
|
914 |
|
|
ac_configure_args="$ac_configure_args '$ac_arg'"
|
915 |
|
|
;;
|
916 |
|
|
*) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
|
917 |
|
|
;;
|
918 |
|
|
esac
|
919 |
|
|
fi
|
920 |
|
|
done
|
921 |
|
|
if $ac_cache_corrupted; then
|
922 |
|
|
{ echo "$as_me:922: error: changes in the environment can compromise the build" >&5
|
923 |
|
|
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
924 |
|
|
{ { echo "$as_me:924: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
925 |
|
|
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
926 |
|
|
{ (exit 1); exit 1; }; }
|
927 |
|
|
fi
|
928 |
|
|
|
929 |
|
|
ac_ext=c
|
930 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
931 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
932 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
933 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
934 |
|
|
|
935 |
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
936 |
|
|
*c*,-n*) ECHO_N= ECHO_C='
|
937 |
|
|
' ECHO_T=' ' ;;
|
938 |
|
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
939 |
|
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
940 |
|
|
esac
|
941 |
|
|
echo "#! $SHELL" >conftest.sh
|
942 |
|
|
echo "exit 0" >>conftest.sh
|
943 |
|
|
chmod +x conftest.sh
|
944 |
|
|
if { (echo "$as_me:944: PATH=\".;.\"; conftest.sh") >&5
|
945 |
|
|
(PATH=".;."; conftest.sh) 2>&5
|
946 |
|
|
ac_status=$?
|
947 |
|
|
echo "$as_me:947: \$? = $ac_status" >&5
|
948 |
|
|
(exit $ac_status); }; then
|
949 |
|
|
ac_path_separator=';'
|
950 |
|
|
else
|
951 |
|
|
ac_path_separator=:
|
952 |
|
|
fi
|
953 |
|
|
PATH_SEPARATOR="$ac_path_separator"
|
954 |
|
|
rm -f conftest.sh
|
955 |
|
|
|
956 |
|
|
for ac_prog in gmake make
|
957 |
|
|
do
|
958 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
959 |
|
|
set dummy $ac_prog; ac_word=$2
|
960 |
|
|
echo "$as_me:960: checking for $ac_word" >&5
|
961 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
962 |
|
|
if test "${ac_cv_prog_MAKE+set}" = set; then
|
963 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
964 |
|
|
else
|
965 |
|
|
if test -n "$MAKE"; then
|
966 |
|
|
ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
|
967 |
|
|
else
|
968 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
969 |
|
|
ac_dummy="$PATH"
|
970 |
|
|
for ac_dir in $ac_dummy; do
|
971 |
|
|
IFS=$ac_save_IFS
|
972 |
|
|
test -z "$ac_dir" && ac_dir=.
|
973 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
974 |
|
|
ac_cv_prog_MAKE="$ac_prog"
|
975 |
|
|
echo "$as_me:975: found $ac_dir/$ac_word" >&5
|
976 |
|
|
break
|
977 |
|
|
done
|
978 |
|
|
|
979 |
|
|
fi
|
980 |
|
|
fi
|
981 |
|
|
MAKE=$ac_cv_prog_MAKE
|
982 |
|
|
if test -n "$MAKE"; then
|
983 |
|
|
echo "$as_me:983: result: $MAKE" >&5
|
984 |
|
|
echo "${ECHO_T}$MAKE" >&6
|
985 |
|
|
else
|
986 |
|
|
echo "$as_me:986: result: no" >&5
|
987 |
|
|
echo "${ECHO_T}no" >&6
|
988 |
|
|
fi
|
989 |
|
|
|
990 |
|
|
test -n "$MAKE" && break
|
991 |
|
|
done
|
992 |
|
|
|
993 |
|
|
ENDIF=endif
|
994 |
|
|
|
995 |
|
|
RTEMS_TOPdir="../../..";
|
996 |
|
|
|
997 |
|
|
test -n "$with_target_subdir" || with_target_subdir="."
|
998 |
|
|
|
999 |
|
|
if test "$with_target_subdir" = "." ; then
|
1000 |
|
|
# Native
|
1001 |
|
|
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
|
1002 |
|
|
else
|
1003 |
|
|
# Cross
|
1004 |
|
|
dots=`echo $with_target_subdir|\
|
1005 |
|
|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
|
1006 |
|
|
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
|
1007 |
|
|
fi
|
1008 |
|
|
|
1009 |
|
|
if test "$with_target_subdir" = "." ; then
|
1010 |
|
|
# Native
|
1011 |
|
|
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
|
1012 |
|
|
else
|
1013 |
|
|
# Cross
|
1014 |
|
|
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
|
1015 |
|
|
fi
|
1016 |
|
|
|
1017 |
|
|
echo "$as_me:1017: checking for RTEMS Version" >&5
|
1018 |
|
|
echo $ECHO_N "checking for RTEMS Version... $ECHO_C" >&6
|
1019 |
|
|
if test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"; then
|
1020 |
|
|
:
|
1021 |
|
|
else
|
1022 |
|
|
{ { echo "$as_me:1022: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&5
|
1023 |
|
|
echo "$as_me: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&2;}
|
1024 |
|
|
{ (exit 1); exit 1; }; }
|
1025 |
|
|
fi
|
1026 |
|
|
|
1027 |
|
|
echo "$as_me:1027: result: ss-20020807" >&5
|
1028 |
|
|
echo "${ECHO_T}ss-20020807" >&6
|
1029 |
|
|
|
1030 |
|
|
ac_aux_dir=
|
1031 |
|
|
for ac_dir in ../../.. $srcdir/../../..; do
|
1032 |
|
|
if test -f $ac_dir/install-sh; then
|
1033 |
|
|
ac_aux_dir=$ac_dir
|
1034 |
|
|
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1035 |
|
|
break
|
1036 |
|
|
elif test -f $ac_dir/install.sh; then
|
1037 |
|
|
ac_aux_dir=$ac_dir
|
1038 |
|
|
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1039 |
|
|
break
|
1040 |
|
|
elif test -f $ac_dir/shtool; then
|
1041 |
|
|
ac_aux_dir=$ac_dir
|
1042 |
|
|
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1043 |
|
|
break
|
1044 |
|
|
fi
|
1045 |
|
|
done
|
1046 |
|
|
if test -z "$ac_aux_dir"; then
|
1047 |
|
|
{ { echo "$as_me:1047: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&5
|
1048 |
|
|
echo "$as_me: error: cannot find install-sh or install.sh in ../../.. $srcdir/../../.." >&2;}
|
1049 |
|
|
{ (exit 1); exit 1; }; }
|
1050 |
|
|
fi
|
1051 |
|
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
1052 |
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
1053 |
|
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
1054 |
|
|
|
1055 |
|
|
# Make sure we can run config.sub.
|
1056 |
|
|
$ac_config_sub sun4 >/dev/null 2>&1 ||
|
1057 |
|
|
{ { echo "$as_me:1057: error: cannot run $ac_config_sub" >&5
|
1058 |
|
|
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
1059 |
|
|
{ (exit 1); exit 1; }; }
|
1060 |
|
|
|
1061 |
|
|
echo "$as_me:1061: checking build system type" >&5
|
1062 |
|
|
echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
1063 |
|
|
if test "${ac_cv_build+set}" = set; then
|
1064 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1065 |
|
|
else
|
1066 |
|
|
ac_cv_build_alias=$build_alias
|
1067 |
|
|
test -z "$ac_cv_build_alias" &&
|
1068 |
|
|
ac_cv_build_alias=`$ac_config_guess`
|
1069 |
|
|
test -z "$ac_cv_build_alias" &&
|
1070 |
|
|
{ { echo "$as_me:1070: error: cannot guess build type; you must specify one" >&5
|
1071 |
|
|
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
1072 |
|
|
{ (exit 1); exit 1; }; }
|
1073 |
|
|
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
1074 |
|
|
{ { echo "$as_me:1074: error: $ac_config_sub $ac_cv_build_alias failed." >&5
|
1075 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
|
1076 |
|
|
{ (exit 1); exit 1; }; }
|
1077 |
|
|
|
1078 |
|
|
fi
|
1079 |
|
|
echo "$as_me:1079: result: $ac_cv_build" >&5
|
1080 |
|
|
echo "${ECHO_T}$ac_cv_build" >&6
|
1081 |
|
|
build=$ac_cv_build
|
1082 |
|
|
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1083 |
|
|
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1084 |
|
|
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1085 |
|
|
|
1086 |
|
|
echo "$as_me:1086: checking host system type" >&5
|
1087 |
|
|
echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
1088 |
|
|
if test "${ac_cv_host+set}" = set; then
|
1089 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1090 |
|
|
else
|
1091 |
|
|
ac_cv_host_alias=$host_alias
|
1092 |
|
|
test -z "$ac_cv_host_alias" &&
|
1093 |
|
|
ac_cv_host_alias=$ac_cv_build_alias
|
1094 |
|
|
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
1095 |
|
|
{ { echo "$as_me:1095: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
1096 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
1097 |
|
|
{ (exit 1); exit 1; }; }
|
1098 |
|
|
|
1099 |
|
|
fi
|
1100 |
|
|
echo "$as_me:1100: result: $ac_cv_host" >&5
|
1101 |
|
|
echo "${ECHO_T}$ac_cv_host" >&6
|
1102 |
|
|
host=$ac_cv_host
|
1103 |
|
|
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1104 |
|
|
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1105 |
|
|
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1106 |
|
|
|
1107 |
|
|
echo "$as_me:1107: checking target system type" >&5
|
1108 |
|
|
echo $ECHO_N "checking target system type... $ECHO_C" >&6
|
1109 |
|
|
if test "${ac_cv_target+set}" = set; then
|
1110 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1111 |
|
|
else
|
1112 |
|
|
ac_cv_target_alias=$target_alias
|
1113 |
|
|
test "x$ac_cv_target_alias" = "x" &&
|
1114 |
|
|
ac_cv_target_alias=$ac_cv_host_alias
|
1115 |
|
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
1116 |
|
|
{ { echo "$as_me:1116: error: $ac_config_sub $ac_cv_target_alias failed" >&5
|
1117 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
|
1118 |
|
|
{ (exit 1); exit 1; }; }
|
1119 |
|
|
|
1120 |
|
|
fi
|
1121 |
|
|
echo "$as_me:1121: result: $ac_cv_target" >&5
|
1122 |
|
|
echo "${ECHO_T}$ac_cv_target" >&6
|
1123 |
|
|
target=$ac_cv_target
|
1124 |
|
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1125 |
|
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1126 |
|
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1127 |
|
|
|
1128 |
|
|
# The aliases save the names the user supplied, while $host etc.
|
1129 |
|
|
# will get canonicalized.
|
1130 |
|
|
test -n "$target_alias" &&
|
1131 |
|
|
test "$program_prefix$program_suffix$program_transform_name" = \
|
1132 |
|
|
NONENONEs,x,x, &&
|
1133 |
|
|
program_prefix=${target_alias}-
|
1134 |
|
|
echo "$as_me:1134: checking rtems target cpu" >&5
|
1135 |
|
|
echo $ECHO_N "checking rtems target cpu... $ECHO_C" >&6
|
1136 |
|
|
case "${target}" in
|
1137 |
|
|
# hpux unix port should go here
|
1138 |
|
|
i[34567]86-*linux*) # unix "simulator" port
|
1139 |
|
|
RTEMS_CPU=unix
|
1140 |
|
|
;;
|
1141 |
|
|
i[34567]86-*freebsd*) # unix "simulator" port
|
1142 |
|
|
RTEMS_CPU=unix
|
1143 |
|
|
;;
|
1144 |
|
|
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
1145 |
|
|
RTEMS_CPU=unix
|
1146 |
|
|
;;
|
1147 |
|
|
no_cpu-*rtems*)
|
1148 |
|
|
RTEMS_CPU=no_cpu
|
1149 |
|
|
;;
|
1150 |
|
|
sparc-sun-solaris*) # unix "simulator" port
|
1151 |
|
|
RTEMS_CPU=unix
|
1152 |
|
|
;;
|
1153 |
|
|
*)
|
1154 |
|
|
RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
|
1155 |
|
|
;;
|
1156 |
|
|
esac
|
1157 |
|
|
|
1158 |
|
|
echo "$as_me:1158: result: $RTEMS_CPU" >&5
|
1159 |
|
|
echo "${ECHO_T}$RTEMS_CPU" >&6
|
1160 |
|
|
|
1161 |
|
|
am__api_version="1.6"
|
1162 |
|
|
# Find a good install program. We prefer a C program (faster),
|
1163 |
|
|
# so one script is as good as another. But avoid the broken or
|
1164 |
|
|
# incompatible versions:
|
1165 |
|
|
# SysV /etc/install, /usr/sbin/install
|
1166 |
|
|
# SunOS /usr/etc/install
|
1167 |
|
|
# IRIX /sbin/install
|
1168 |
|
|
# AIX /bin/install
|
1169 |
|
|
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
1170 |
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
1171 |
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
1172 |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1173 |
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
1174 |
|
|
echo "$as_me:1174: checking for a BSD compatible install" >&5
|
1175 |
|
|
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
|
1176 |
|
|
if test -z "$INSTALL"; then
|
1177 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
1178 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1179 |
|
|
else
|
1180 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1181 |
|
|
for ac_dir in $PATH; do
|
1182 |
|
|
IFS=$ac_save_IFS
|
1183 |
|
|
# Account for people who put trailing slashes in PATH elements.
|
1184 |
|
|
case $ac_dir/ in
|
1185 |
|
|
/ | ./ | .// | /cC/* \
|
1186 |
|
|
| /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
|
1187 |
|
|
| /usr/ucb/* ) ;;
|
1188 |
|
|
*)
|
1189 |
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
1190 |
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
1191 |
|
|
# by default.
|
1192 |
|
|
for ac_prog in ginstall scoinst install; do
|
1193 |
|
|
if $as_executable_p "$ac_dir/$ac_prog"; then
|
1194 |
|
|
if test $ac_prog = install &&
|
1195 |
|
|
grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
1196 |
|
|
# AIX install. It has an incompatible calling convention.
|
1197 |
|
|
:
|
1198 |
|
|
elif test $ac_prog = install &&
|
1199 |
|
|
grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
1200 |
|
|
# program-specific install script used by HP pwplus--don't use.
|
1201 |
|
|
:
|
1202 |
|
|
else
|
1203 |
|
|
ac_cv_path_install="$ac_dir/$ac_prog -c"
|
1204 |
|
|
break 2
|
1205 |
|
|
fi
|
1206 |
|
|
fi
|
1207 |
|
|
done
|
1208 |
|
|
;;
|
1209 |
|
|
esac
|
1210 |
|
|
done
|
1211 |
|
|
|
1212 |
|
|
fi
|
1213 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
1214 |
|
|
INSTALL=$ac_cv_path_install
|
1215 |
|
|
else
|
1216 |
|
|
# As a last resort, use the slow shell script. We don't cache a
|
1217 |
|
|
# path for INSTALL within a source directory, because that will
|
1218 |
|
|
# break other packages using the cache if that directory is
|
1219 |
|
|
# removed, or if the path is relative.
|
1220 |
|
|
INSTALL=$ac_install_sh
|
1221 |
|
|
fi
|
1222 |
|
|
fi
|
1223 |
|
|
echo "$as_me:1223: result: $INSTALL" >&5
|
1224 |
|
|
echo "${ECHO_T}$INSTALL" >&6
|
1225 |
|
|
|
1226 |
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
1227 |
|
|
# It thinks the first close brace ends the variable substitution.
|
1228 |
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
1229 |
|
|
|
1230 |
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
1231 |
|
|
|
1232 |
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1233 |
|
|
|
1234 |
|
|
echo "$as_me:1234: checking whether build environment is sane" >&5
|
1235 |
|
|
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
1236 |
|
|
# Just in case
|
1237 |
|
|
sleep 1
|
1238 |
|
|
echo timestamp > conftest.file
|
1239 |
|
|
# Do `set' in a subshell so we don't clobber the current shell's
|
1240 |
|
|
# arguments. Must try -L first in case configure is actually a
|
1241 |
|
|
# symlink; some systems play weird games with the mod time of symlinks
|
1242 |
|
|
# (eg FreeBSD returns the mod time of the symlink's containing
|
1243 |
|
|
# directory).
|
1244 |
|
|
if (
|
1245 |
|
|
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
1246 |
|
|
if test "$*" = "X"; then
|
1247 |
|
|
# -L didn't work.
|
1248 |
|
|
set X `ls -t $srcdir/configure conftest.file`
|
1249 |
|
|
fi
|
1250 |
|
|
rm -f conftest.file
|
1251 |
|
|
if test "$*" != "X $srcdir/configure conftest.file" \
|
1252 |
|
|
&& test "$*" != "X conftest.file $srcdir/configure"; then
|
1253 |
|
|
|
1254 |
|
|
# If neither matched, then we have a broken ls. This can happen
|
1255 |
|
|
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
1256 |
|
|
# broken ls alias from the environment. This has actually
|
1257 |
|
|
# happened. Such a system could not be considered "sane".
|
1258 |
|
|
{ { echo "$as_me:1258: error: ls -t appears to fail. Make sure there is not a broken
|
1259 |
|
|
alias in your environment" >&5
|
1260 |
|
|
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
1261 |
|
|
alias in your environment" >&2;}
|
1262 |
|
|
{ (exit 1); exit 1; }; }
|
1263 |
|
|
fi
|
1264 |
|
|
|
1265 |
|
|
test "$2" = conftest.file
|
1266 |
|
|
)
|
1267 |
|
|
then
|
1268 |
|
|
# Ok.
|
1269 |
|
|
:
|
1270 |
|
|
else
|
1271 |
|
|
{ { echo "$as_me:1271: error: newly created file is older than distributed files!
|
1272 |
|
|
Check your system clock" >&5
|
1273 |
|
|
echo "$as_me: error: newly created file is older than distributed files!
|
1274 |
|
|
Check your system clock" >&2;}
|
1275 |
|
|
{ (exit 1); exit 1; }; }
|
1276 |
|
|
fi
|
1277 |
|
|
echo "$as_me:1277: result: yes" >&5
|
1278 |
|
|
echo "${ECHO_T}yes" >&6
|
1279 |
|
|
test "$program_prefix" != NONE &&
|
1280 |
|
|
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
1281 |
|
|
# Use a double $ so make ignores it.
|
1282 |
|
|
test "$program_suffix" != NONE &&
|
1283 |
|
|
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
1284 |
|
|
# Double any \ or $. echo might interpret backslashes.
|
1285 |
|
|
# By default was `s,x,x', remove it if useless.
|
1286 |
|
|
cat <<\_ACEOF >conftest.sed
|
1287 |
|
|
s/[\\$]/&&/g;s/;s,x,x,$//
|
1288 |
|
|
_ACEOF
|
1289 |
|
|
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
1290 |
|
|
rm conftest.sed
|
1291 |
|
|
|
1292 |
|
|
# expand $ac_aux_dir to an absolute path
|
1293 |
|
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
1294 |
|
|
|
1295 |
|
|
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
1296 |
|
|
# Use eval to expand $SHELL
|
1297 |
|
|
if eval "$MISSING --run true"; then
|
1298 |
|
|
am_missing_run="$MISSING --run "
|
1299 |
|
|
else
|
1300 |
|
|
am_missing_run=
|
1301 |
|
|
{ echo "$as_me:1301: WARNING: \`missing' script is too old or missing" >&5
|
1302 |
|
|
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
1303 |
|
|
fi
|
1304 |
|
|
|
1305 |
|
|
for ac_prog in mawk gawk nawk awk
|
1306 |
|
|
do
|
1307 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1308 |
|
|
set dummy $ac_prog; ac_word=$2
|
1309 |
|
|
echo "$as_me:1309: checking for $ac_word" >&5
|
1310 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1311 |
|
|
if test "${ac_cv_prog_AWK+set}" = set; then
|
1312 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1313 |
|
|
else
|
1314 |
|
|
if test -n "$AWK"; then
|
1315 |
|
|
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
1316 |
|
|
else
|
1317 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1318 |
|
|
ac_dummy="$PATH"
|
1319 |
|
|
for ac_dir in $ac_dummy; do
|
1320 |
|
|
IFS=$ac_save_IFS
|
1321 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1322 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1323 |
|
|
ac_cv_prog_AWK="$ac_prog"
|
1324 |
|
|
echo "$as_me:1324: found $ac_dir/$ac_word" >&5
|
1325 |
|
|
break
|
1326 |
|
|
done
|
1327 |
|
|
|
1328 |
|
|
fi
|
1329 |
|
|
fi
|
1330 |
|
|
AWK=$ac_cv_prog_AWK
|
1331 |
|
|
if test -n "$AWK"; then
|
1332 |
|
|
echo "$as_me:1332: result: $AWK" >&5
|
1333 |
|
|
echo "${ECHO_T}$AWK" >&6
|
1334 |
|
|
else
|
1335 |
|
|
echo "$as_me:1335: result: no" >&5
|
1336 |
|
|
echo "${ECHO_T}no" >&6
|
1337 |
|
|
fi
|
1338 |
|
|
|
1339 |
|
|
test -n "$AWK" && break
|
1340 |
|
|
done
|
1341 |
|
|
|
1342 |
|
|
echo "$as_me:1342: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
1343 |
|
|
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
|
1344 |
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
|
1345 |
|
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
1346 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1347 |
|
|
else
|
1348 |
|
|
cat >conftest.make <<\EOF
|
1349 |
|
|
all:
|
1350 |
|
|
@echo 'ac_maketemp="${MAKE}"'
|
1351 |
|
|
EOF
|
1352 |
|
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
1353 |
|
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
1354 |
|
|
if test -n "$ac_maketemp"; then
|
1355 |
|
|
eval ac_cv_prog_make_${ac_make}_set=yes
|
1356 |
|
|
else
|
1357 |
|
|
eval ac_cv_prog_make_${ac_make}_set=no
|
1358 |
|
|
fi
|
1359 |
|
|
rm -f conftest.make
|
1360 |
|
|
fi
|
1361 |
|
|
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
1362 |
|
|
echo "$as_me:1362: result: yes" >&5
|
1363 |
|
|
echo "${ECHO_T}yes" >&6
|
1364 |
|
|
SET_MAKE=
|
1365 |
|
|
else
|
1366 |
|
|
echo "$as_me:1366: result: no" >&5
|
1367 |
|
|
echo "${ECHO_T}no" >&6
|
1368 |
|
|
SET_MAKE="MAKE=${MAKE-make}"
|
1369 |
|
|
fi
|
1370 |
|
|
|
1371 |
|
|
# test to see if srcdir already configured
|
1372 |
|
|
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
1373 |
|
|
test -f $srcdir/config.status; then
|
1374 |
|
|
{ { echo "$as_me:1374: error: source directory already configured; run \"make distclean\" there first" >&5
|
1375 |
|
|
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
1376 |
|
|
{ (exit 1); exit 1; }; }
|
1377 |
|
|
fi
|
1378 |
|
|
|
1379 |
|
|
# Define the identity of the package.
|
1380 |
|
|
PACKAGE=rtems-c-src-libchip
|
1381 |
|
|
VERSION=ss-20020807
|
1382 |
|
|
|
1383 |
|
|
# Some tools Automake needs.
|
1384 |
|
|
|
1385 |
|
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
1386 |
|
|
|
1387 |
|
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
1388 |
|
|
|
1389 |
|
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
1390 |
|
|
|
1391 |
|
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
1392 |
|
|
|
1393 |
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
1394 |
|
|
|
1395 |
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
1396 |
|
|
|
1397 |
|
|
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
1398 |
|
|
|
1399 |
|
|
# Installed binaries are usually stripped using `strip' when the user
|
1400 |
|
|
# run `make install-strip'. However `strip' might not be the right
|
1401 |
|
|
# tool to use in cross-compilation environments, therefore Automake
|
1402 |
|
|
# will honor the `STRIP' environment variable to overrule this program.
|
1403 |
|
|
if test "$cross_compiling" != no; then
|
1404 |
|
|
if test -n "$ac_tool_prefix"; then
|
1405 |
|
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
1406 |
|
|
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
1407 |
|
|
echo "$as_me:1407: checking for $ac_word" >&5
|
1408 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1409 |
|
|
if test "${ac_cv_prog_STRIP+set}" = set; then
|
1410 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1411 |
|
|
else
|
1412 |
|
|
if test -n "$STRIP"; then
|
1413 |
|
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
1414 |
|
|
else
|
1415 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1416 |
|
|
ac_dummy="$PATH"
|
1417 |
|
|
for ac_dir in $ac_dummy; do
|
1418 |
|
|
IFS=$ac_save_IFS
|
1419 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1420 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1421 |
|
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
1422 |
|
|
echo "$as_me:1422: found $ac_dir/$ac_word" >&5
|
1423 |
|
|
break
|
1424 |
|
|
done
|
1425 |
|
|
|
1426 |
|
|
fi
|
1427 |
|
|
fi
|
1428 |
|
|
STRIP=$ac_cv_prog_STRIP
|
1429 |
|
|
if test -n "$STRIP"; then
|
1430 |
|
|
echo "$as_me:1430: result: $STRIP" >&5
|
1431 |
|
|
echo "${ECHO_T}$STRIP" >&6
|
1432 |
|
|
else
|
1433 |
|
|
echo "$as_me:1433: result: no" >&5
|
1434 |
|
|
echo "${ECHO_T}no" >&6
|
1435 |
|
|
fi
|
1436 |
|
|
|
1437 |
|
|
fi
|
1438 |
|
|
if test -z "$ac_cv_prog_STRIP"; then
|
1439 |
|
|
ac_ct_STRIP=$STRIP
|
1440 |
|
|
# Extract the first word of "strip", so it can be a program name with args.
|
1441 |
|
|
set dummy strip; ac_word=$2
|
1442 |
|
|
echo "$as_me:1442: checking for $ac_word" >&5
|
1443 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1444 |
|
|
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
1445 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1446 |
|
|
else
|
1447 |
|
|
if test -n "$ac_ct_STRIP"; then
|
1448 |
|
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
1449 |
|
|
else
|
1450 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1451 |
|
|
ac_dummy="$PATH"
|
1452 |
|
|
for ac_dir in $ac_dummy; do
|
1453 |
|
|
IFS=$ac_save_IFS
|
1454 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1455 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1456 |
|
|
ac_cv_prog_ac_ct_STRIP="strip"
|
1457 |
|
|
echo "$as_me:1457: found $ac_dir/$ac_word" >&5
|
1458 |
|
|
break
|
1459 |
|
|
done
|
1460 |
|
|
|
1461 |
|
|
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
|
1462 |
|
|
fi
|
1463 |
|
|
fi
|
1464 |
|
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
1465 |
|
|
if test -n "$ac_ct_STRIP"; then
|
1466 |
|
|
echo "$as_me:1466: result: $ac_ct_STRIP" >&5
|
1467 |
|
|
echo "${ECHO_T}$ac_ct_STRIP" >&6
|
1468 |
|
|
else
|
1469 |
|
|
echo "$as_me:1469: result: no" >&5
|
1470 |
|
|
echo "${ECHO_T}no" >&6
|
1471 |
|
|
fi
|
1472 |
|
|
|
1473 |
|
|
STRIP=$ac_ct_STRIP
|
1474 |
|
|
else
|
1475 |
|
|
STRIP="$ac_cv_prog_STRIP"
|
1476 |
|
|
fi
|
1477 |
|
|
|
1478 |
|
|
fi
|
1479 |
|
|
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
1480 |
|
|
|
1481 |
|
|
# We need awk for the "check" target. The system "awk" is bad on
|
1482 |
|
|
# some platforms.
|
1483 |
|
|
|
1484 |
|
|
echo "$as_me:1484: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
1485 |
|
|
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
|
1486 |
|
|
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
1487 |
|
|
if test "${enable_maintainer_mode+set}" = set; then
|
1488 |
|
|
enableval="$enable_maintainer_mode"
|
1489 |
|
|
USE_MAINTAINER_MODE=$enableval
|
1490 |
|
|
else
|
1491 |
|
|
USE_MAINTAINER_MODE=no
|
1492 |
|
|
fi;
|
1493 |
|
|
echo "$as_me:1493: result: $USE_MAINTAINER_MODE" >&5
|
1494 |
|
|
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
|
1495 |
|
|
|
1496 |
|
|
if test $USE_MAINTAINER_MODE = yes; then
|
1497 |
|
|
MAINTAINER_MODE_TRUE=
|
1498 |
|
|
MAINTAINER_MODE_FALSE='#'
|
1499 |
|
|
else
|
1500 |
|
|
MAINTAINER_MODE_TRUE='#'
|
1501 |
|
|
MAINTAINER_MODE_FALSE=
|
1502 |
|
|
fi
|
1503 |
|
|
|
1504 |
|
|
MAINT=$MAINTAINER_MODE_TRUE
|
1505 |
|
|
|
1506 |
|
|
# Check whether --enable-networking or --disable-networking was given.
|
1507 |
|
|
if test "${enable_networking+set}" = set; then
|
1508 |
|
|
enableval="$enable_networking"
|
1509 |
|
|
case "${enableval}" in
|
1510 |
|
|
yes) RTEMS_HAS_NETWORKING=yes ;;
|
1511 |
|
|
no) RTEMS_HAS_NETWORKING=no ;;
|
1512 |
|
|
*) { { echo "$as_me:1512: error: bad value ${enableval} for enable-networking option" >&5
|
1513 |
|
|
echo "$as_me: error: bad value ${enableval} for enable-networking option" >&2;}
|
1514 |
|
|
{ (exit 1); exit 1; }; } ;;
|
1515 |
|
|
esac
|
1516 |
|
|
else
|
1517 |
|
|
RTEMS_HAS_NETWORKING=yes
|
1518 |
|
|
fi;
|
1519 |
|
|
|
1520 |
|
|
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
|
1521 |
|
|
if test "${enable_bare_cpu_cflags+set}" = set; then
|
1522 |
|
|
enableval="$enable_bare_cpu_cflags"
|
1523 |
|
|
case "${enableval}" in
|
1524 |
|
|
no) BARE_CPU_CFLAGS="" ;;
|
1525 |
|
|
*) BARE_CPU_CFLAGS="${enableval}" ;;
|
1526 |
|
|
esac
|
1527 |
|
|
else
|
1528 |
|
|
BARE_CPU_CFLAGS=""
|
1529 |
|
|
fi;
|
1530 |
|
|
|
1531 |
|
|
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
|
1532 |
|
|
if test "${enable_bare_cpu_model+set}" = set; then
|
1533 |
|
|
enableval="$enable_bare_cpu_model"
|
1534 |
|
|
case "${enableval}" in
|
1535 |
|
|
no) BARE_CPU_MODEL="" ;;
|
1536 |
|
|
*) BARE_CPU_MODEL="${enableval}" ;;
|
1537 |
|
|
esac
|
1538 |
|
|
else
|
1539 |
|
|
BARE_CPU_MODEL=""
|
1540 |
|
|
fi;
|
1541 |
|
|
|
1542 |
|
|
echo "$as_me:1542: checking for RTEMS_BSP" >&5
|
1543 |
|
|
echo $ECHO_N "checking for RTEMS_BSP... $ECHO_C" >&6
|
1544 |
|
|
if test "${rtems_cv_RTEMS_BSP+set}" = set; then
|
1545 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1546 |
|
|
else
|
1547 |
|
|
test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
|
1548 |
|
|
|
1549 |
|
|
fi
|
1550 |
|
|
if test -z "$rtems_cv_RTEMS_BSP"; then
|
1551 |
|
|
{ { echo "$as_me:1551: error: Missing RTEMS_BSP" >&5
|
1552 |
|
|
echo "$as_me: error: Missing RTEMS_BSP" >&2;}
|
1553 |
|
|
{ (exit 1); exit 1; }; }
|
1554 |
|
|
fi
|
1555 |
|
|
RTEMS_BSP="$rtems_cv_RTEMS_BSP"
|
1556 |
|
|
echo "$as_me:1556: result: ${RTEMS_BSP}" >&5
|
1557 |
|
|
echo "${ECHO_T}${RTEMS_BSP}" >&6
|
1558 |
|
|
|
1559 |
|
|
RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
|
1560 |
|
|
|
1561 |
|
|
GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
|
1562 |
|
|
|
1563 |
|
|
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
|
1564 |
|
|
|
1565 |
|
|
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
|
1566 |
|
|
|
1567 |
|
|
RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP
|
1568 |
|
|
|
1569 |
|
|
# Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given.
|
1570 |
|
|
if test "${enable_bare_cpu_cflags+set}" = set; then
|
1571 |
|
|
enableval="$enable_bare_cpu_cflags"
|
1572 |
|
|
case "${enableval}" in
|
1573 |
|
|
no) BARE_CPU_CFLAGS="" ;;
|
1574 |
|
|
*) BARE_CPU_CFLAGS="${enableval}" ;;
|
1575 |
|
|
esac
|
1576 |
|
|
else
|
1577 |
|
|
BARE_CPU_CFLAGS=""
|
1578 |
|
|
fi;
|
1579 |
|
|
|
1580 |
|
|
# Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given.
|
1581 |
|
|
if test "${enable_bare_cpu_model+set}" = set; then
|
1582 |
|
|
enableval="$enable_bare_cpu_model"
|
1583 |
|
|
case "${enableval}" in
|
1584 |
|
|
no) BARE_CPU_MODEL="" ;;
|
1585 |
|
|
*) BARE_CPU_MODEL="${enableval}" ;;
|
1586 |
|
|
esac
|
1587 |
|
|
else
|
1588 |
|
|
BARE_CPU_MODEL=""
|
1589 |
|
|
fi;
|
1590 |
|
|
|
1591 |
|
|
if false; then
|
1592 |
|
|
MULTILIB_TRUE=
|
1593 |
|
|
MULTILIB_FALSE='#'
|
1594 |
|
|
else
|
1595 |
|
|
MULTILIB_TRUE='#'
|
1596 |
|
|
MULTILIB_FALSE=
|
1597 |
|
|
fi
|
1598 |
|
|
|
1599 |
|
|
includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
|
1600 |
|
|
libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
1601 |
|
|
|
1602 |
|
|
bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
1603 |
|
|
|
1604 |
|
|
# Is this a supported CPU?
|
1605 |
|
|
echo "$as_me:1605: checking if cpu $RTEMS_CPU is supported" >&5
|
1606 |
|
|
echo $ECHO_N "checking if cpu $RTEMS_CPU is supported... $ECHO_C" >&6
|
1607 |
|
|
# FIXME: Temporary hack
|
1608 |
|
|
if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then
|
1609 |
|
|
echo "$as_me:1609: result: yes" >&5
|
1610 |
|
|
echo "${ECHO_T}yes" >&6
|
1611 |
|
|
else
|
1612 |
|
|
{ { echo "$as_me:1612: error: no" >&5
|
1613 |
|
|
echo "$as_me: error: no" >&2;}
|
1614 |
|
|
{ (exit 1); exit 1; }; }
|
1615 |
|
|
fi
|
1616 |
|
|
|
1617 |
|
|
RTEMS_HOST=$host_os
|
1618 |
|
|
case "${target}" in
|
1619 |
|
|
# hpux unix port should go here
|
1620 |
|
|
i[34567]86-*linux*) # unix "simulator" port
|
1621 |
|
|
RTEMS_HOST=Linux
|
1622 |
|
|
;;
|
1623 |
|
|
i[34567]86-*freebsd*) # unix "simulator" port
|
1624 |
|
|
RTEMS_HOST=FreeBSD
|
1625 |
|
|
;;
|
1626 |
|
|
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
1627 |
|
|
RTEMS_HOST=Cygwin
|
1628 |
|
|
;;
|
1629 |
|
|
sparc-sun-solaris*) # unix "simulator" port
|
1630 |
|
|
RTEMS_HOST=Solaris
|
1631 |
|
|
;;
|
1632 |
|
|
*)
|
1633 |
|
|
;;
|
1634 |
|
|
esac
|
1635 |
|
|
|
1636 |
|
|
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
|
1637 |
|
|
|
1638 |
|
|
rm -f .deps 2>/dev/null
|
1639 |
|
|
mkdir .deps 2>/dev/null
|
1640 |
|
|
if test -d .deps; then
|
1641 |
|
|
DEPDIR=.deps
|
1642 |
|
|
else
|
1643 |
|
|
# MS-DOS does not allow filenames that begin with a dot.
|
1644 |
|
|
DEPDIR=_deps
|
1645 |
|
|
fi
|
1646 |
|
|
rmdir .deps 2>/dev/null
|
1647 |
|
|
|
1648 |
|
|
ac_config_commands="$ac_config_commands depfiles"
|
1649 |
|
|
|
1650 |
|
|
am_make=${MAKE-make}
|
1651 |
|
|
cat > confinc << 'END'
|
1652 |
|
|
doit:
|
1653 |
|
|
@echo done
|
1654 |
|
|
END
|
1655 |
|
|
# If we don't find an include directive, just comment out the code.
|
1656 |
|
|
echo "$as_me:1656: checking for style of include used by $am_make" >&5
|
1657 |
|
|
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
|
1658 |
|
|
am__include="#"
|
1659 |
|
|
am__quote=
|
1660 |
|
|
_am_result=none
|
1661 |
|
|
# First try GNU make style include.
|
1662 |
|
|
echo "include confinc" > confmf
|
1663 |
|
|
# We grep out `Entering directory' and `Leaving directory'
|
1664 |
|
|
# messages which can occur if `w' ends up in MAKEFLAGS.
|
1665 |
|
|
# In particular we don't look at `^make:' because GNU make might
|
1666 |
|
|
# be invoked under some other name (usually "gmake"), in which
|
1667 |
|
|
# case it prints its new name instead of `make'.
|
1668 |
|
|
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
|
1669 |
|
|
am__include=include
|
1670 |
|
|
am__quote=
|
1671 |
|
|
_am_result=GNU
|
1672 |
|
|
fi
|
1673 |
|
|
# Now try BSD make style include.
|
1674 |
|
|
if test "$am__include" = "#"; then
|
1675 |
|
|
echo '.include "confinc"' > confmf
|
1676 |
|
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
1677 |
|
|
am__include=.include
|
1678 |
|
|
am__quote="\""
|
1679 |
|
|
_am_result=BSD
|
1680 |
|
|
fi
|
1681 |
|
|
fi
|
1682 |
|
|
|
1683 |
|
|
echo "$as_me:1683: result: $_am_result" >&5
|
1684 |
|
|
echo "${ECHO_T}$_am_result" >&6
|
1685 |
|
|
rm -f confinc confmf
|
1686 |
|
|
|
1687 |
|
|
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
|
1688 |
|
|
if test "${enable_dependency_tracking+set}" = set; then
|
1689 |
|
|
enableval="$enable_dependency_tracking"
|
1690 |
|
|
|
1691 |
|
|
fi;
|
1692 |
|
|
if test "x$enable_dependency_tracking" != xno; then
|
1693 |
|
|
am_depcomp="$ac_aux_dir/depcomp"
|
1694 |
|
|
AMDEPBACKSLASH='\'
|
1695 |
|
|
fi
|
1696 |
|
|
|
1697 |
|
|
if test "x$enable_dependency_tracking" != xno; then
|
1698 |
|
|
AMDEP_TRUE=
|
1699 |
|
|
AMDEP_FALSE='#'
|
1700 |
|
|
else
|
1701 |
|
|
AMDEP_TRUE='#'
|
1702 |
|
|
AMDEP_FALSE=
|
1703 |
|
|
fi
|
1704 |
|
|
|
1705 |
|
|
if test "x$build_alias" != "x$host_alias"; then
|
1706 |
|
|
rtems_tool_prefix=${ac_tool_prefix}
|
1707 |
|
|
fi
|
1708 |
|
|
|
1709 |
|
|
# Extract the first word of "${rtems_tool_prefix}gcc", so it can be a program name with args.
|
1710 |
|
|
set dummy ${rtems_tool_prefix}gcc; ac_word=$2
|
1711 |
|
|
echo "$as_me:1711: checking for $ac_word" >&5
|
1712 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1713 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1714 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1715 |
|
|
else
|
1716 |
|
|
if test -n "$CC"; then
|
1717 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1718 |
|
|
else
|
1719 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1720 |
|
|
ac_dummy="$PATH"
|
1721 |
|
|
for ac_dir in $ac_dummy; do
|
1722 |
|
|
IFS=$ac_save_IFS
|
1723 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1724 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1725 |
|
|
ac_cv_prog_CC="${rtems_tool_prefix}gcc"
|
1726 |
|
|
echo "$as_me:1726: found $ac_dir/$ac_word" >&5
|
1727 |
|
|
break
|
1728 |
|
|
done
|
1729 |
|
|
|
1730 |
|
|
fi
|
1731 |
|
|
fi
|
1732 |
|
|
CC=$ac_cv_prog_CC
|
1733 |
|
|
if test -n "$CC"; then
|
1734 |
|
|
echo "$as_me:1734: result: $CC" >&5
|
1735 |
|
|
echo "${ECHO_T}$CC" >&6
|
1736 |
|
|
else
|
1737 |
|
|
echo "$as_me:1737: result: no" >&5
|
1738 |
|
|
echo "${ECHO_T}no" >&6
|
1739 |
|
|
fi
|
1740 |
|
|
|
1741 |
|
|
test -z "$CC" && \
|
1742 |
|
|
{ { echo "$as_me:1742: error: no acceptable cc found in \$PATH" >&5
|
1743 |
|
|
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
|
1744 |
|
|
{ (exit 1); exit 1; }; }
|
1745 |
|
|
ac_ext=c
|
1746 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
1747 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
1748 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
1749 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1750 |
|
|
if test -n "$ac_tool_prefix"; then
|
1751 |
|
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
1752 |
|
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
1753 |
|
|
echo "$as_me:1753: checking for $ac_word" >&5
|
1754 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1755 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1756 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1757 |
|
|
else
|
1758 |
|
|
if test -n "$CC"; then
|
1759 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1760 |
|
|
else
|
1761 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1762 |
|
|
ac_dummy="$PATH"
|
1763 |
|
|
for ac_dir in $ac_dummy; do
|
1764 |
|
|
IFS=$ac_save_IFS
|
1765 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1766 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1767 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
1768 |
|
|
echo "$as_me:1768: found $ac_dir/$ac_word" >&5
|
1769 |
|
|
break
|
1770 |
|
|
done
|
1771 |
|
|
|
1772 |
|
|
fi
|
1773 |
|
|
fi
|
1774 |
|
|
CC=$ac_cv_prog_CC
|
1775 |
|
|
if test -n "$CC"; then
|
1776 |
|
|
echo "$as_me:1776: result: $CC" >&5
|
1777 |
|
|
echo "${ECHO_T}$CC" >&6
|
1778 |
|
|
else
|
1779 |
|
|
echo "$as_me:1779: result: no" >&5
|
1780 |
|
|
echo "${ECHO_T}no" >&6
|
1781 |
|
|
fi
|
1782 |
|
|
|
1783 |
|
|
fi
|
1784 |
|
|
if test -z "$ac_cv_prog_CC"; then
|
1785 |
|
|
ac_ct_CC=$CC
|
1786 |
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
1787 |
|
|
set dummy gcc; ac_word=$2
|
1788 |
|
|
echo "$as_me:1788: checking for $ac_word" >&5
|
1789 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1790 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1791 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1792 |
|
|
else
|
1793 |
|
|
if test -n "$ac_ct_CC"; then
|
1794 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1795 |
|
|
else
|
1796 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1797 |
|
|
ac_dummy="$PATH"
|
1798 |
|
|
for ac_dir in $ac_dummy; do
|
1799 |
|
|
IFS=$ac_save_IFS
|
1800 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1801 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1802 |
|
|
ac_cv_prog_ac_ct_CC="gcc"
|
1803 |
|
|
echo "$as_me:1803: found $ac_dir/$ac_word" >&5
|
1804 |
|
|
break
|
1805 |
|
|
done
|
1806 |
|
|
|
1807 |
|
|
fi
|
1808 |
|
|
fi
|
1809 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1810 |
|
|
if test -n "$ac_ct_CC"; then
|
1811 |
|
|
echo "$as_me:1811: result: $ac_ct_CC" >&5
|
1812 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
1813 |
|
|
else
|
1814 |
|
|
echo "$as_me:1814: result: no" >&5
|
1815 |
|
|
echo "${ECHO_T}no" >&6
|
1816 |
|
|
fi
|
1817 |
|
|
|
1818 |
|
|
CC=$ac_ct_CC
|
1819 |
|
|
else
|
1820 |
|
|
CC="$ac_cv_prog_CC"
|
1821 |
|
|
fi
|
1822 |
|
|
|
1823 |
|
|
if test -z "$CC"; then
|
1824 |
|
|
if test -n "$ac_tool_prefix"; then
|
1825 |
|
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
1826 |
|
|
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
1827 |
|
|
echo "$as_me:1827: checking for $ac_word" >&5
|
1828 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1829 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1830 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1831 |
|
|
else
|
1832 |
|
|
if test -n "$CC"; then
|
1833 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1834 |
|
|
else
|
1835 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1836 |
|
|
ac_dummy="$PATH"
|
1837 |
|
|
for ac_dir in $ac_dummy; do
|
1838 |
|
|
IFS=$ac_save_IFS
|
1839 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1840 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1841 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
1842 |
|
|
echo "$as_me:1842: found $ac_dir/$ac_word" >&5
|
1843 |
|
|
break
|
1844 |
|
|
done
|
1845 |
|
|
|
1846 |
|
|
fi
|
1847 |
|
|
fi
|
1848 |
|
|
CC=$ac_cv_prog_CC
|
1849 |
|
|
if test -n "$CC"; then
|
1850 |
|
|
echo "$as_me:1850: result: $CC" >&5
|
1851 |
|
|
echo "${ECHO_T}$CC" >&6
|
1852 |
|
|
else
|
1853 |
|
|
echo "$as_me:1853: result: no" >&5
|
1854 |
|
|
echo "${ECHO_T}no" >&6
|
1855 |
|
|
fi
|
1856 |
|
|
|
1857 |
|
|
fi
|
1858 |
|
|
if test -z "$ac_cv_prog_CC"; then
|
1859 |
|
|
ac_ct_CC=$CC
|
1860 |
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
1861 |
|
|
set dummy cc; ac_word=$2
|
1862 |
|
|
echo "$as_me:1862: checking for $ac_word" >&5
|
1863 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1864 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1865 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1866 |
|
|
else
|
1867 |
|
|
if test -n "$ac_ct_CC"; then
|
1868 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1869 |
|
|
else
|
1870 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1871 |
|
|
ac_dummy="$PATH"
|
1872 |
|
|
for ac_dir in $ac_dummy; do
|
1873 |
|
|
IFS=$ac_save_IFS
|
1874 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1875 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1876 |
|
|
ac_cv_prog_ac_ct_CC="cc"
|
1877 |
|
|
echo "$as_me:1877: found $ac_dir/$ac_word" >&5
|
1878 |
|
|
break
|
1879 |
|
|
done
|
1880 |
|
|
|
1881 |
|
|
fi
|
1882 |
|
|
fi
|
1883 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1884 |
|
|
if test -n "$ac_ct_CC"; then
|
1885 |
|
|
echo "$as_me:1885: result: $ac_ct_CC" >&5
|
1886 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
1887 |
|
|
else
|
1888 |
|
|
echo "$as_me:1888: result: no" >&5
|
1889 |
|
|
echo "${ECHO_T}no" >&6
|
1890 |
|
|
fi
|
1891 |
|
|
|
1892 |
|
|
CC=$ac_ct_CC
|
1893 |
|
|
else
|
1894 |
|
|
CC="$ac_cv_prog_CC"
|
1895 |
|
|
fi
|
1896 |
|
|
|
1897 |
|
|
fi
|
1898 |
|
|
if test -z "$CC"; then
|
1899 |
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
1900 |
|
|
set dummy cc; ac_word=$2
|
1901 |
|
|
echo "$as_me:1901: checking for $ac_word" >&5
|
1902 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1903 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1904 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1905 |
|
|
else
|
1906 |
|
|
if test -n "$CC"; then
|
1907 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1908 |
|
|
else
|
1909 |
|
|
ac_prog_rejected=no
|
1910 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1911 |
|
|
ac_dummy="$PATH"
|
1912 |
|
|
for ac_dir in $ac_dummy; do
|
1913 |
|
|
IFS=$ac_save_IFS
|
1914 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1915 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1916 |
|
|
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
|
1917 |
|
|
ac_prog_rejected=yes
|
1918 |
|
|
continue
|
1919 |
|
|
fi
|
1920 |
|
|
ac_cv_prog_CC="cc"
|
1921 |
|
|
echo "$as_me:1921: found $ac_dir/$ac_word" >&5
|
1922 |
|
|
break
|
1923 |
|
|
done
|
1924 |
|
|
|
1925 |
|
|
if test $ac_prog_rejected = yes; then
|
1926 |
|
|
# We found a bogon in the path, so make sure we never use it.
|
1927 |
|
|
set dummy $ac_cv_prog_CC
|
1928 |
|
|
shift
|
1929 |
|
|
if test $# != 0; then
|
1930 |
|
|
# We chose a different compiler from the bogus one.
|
1931 |
|
|
# However, it has the same basename, so the bogon will be chosen
|
1932 |
|
|
# first if we set CC to just the basename; use the full file name.
|
1933 |
|
|
shift
|
1934 |
|
|
set dummy "$ac_dir/$ac_word" ${1+"$@"}
|
1935 |
|
|
shift
|
1936 |
|
|
ac_cv_prog_CC="$@"
|
1937 |
|
|
fi
|
1938 |
|
|
fi
|
1939 |
|
|
fi
|
1940 |
|
|
fi
|
1941 |
|
|
CC=$ac_cv_prog_CC
|
1942 |
|
|
if test -n "$CC"; then
|
1943 |
|
|
echo "$as_me:1943: result: $CC" >&5
|
1944 |
|
|
echo "${ECHO_T}$CC" >&6
|
1945 |
|
|
else
|
1946 |
|
|
echo "$as_me:1946: result: no" >&5
|
1947 |
|
|
echo "${ECHO_T}no" >&6
|
1948 |
|
|
fi
|
1949 |
|
|
|
1950 |
|
|
fi
|
1951 |
|
|
if test -z "$CC"; then
|
1952 |
|
|
if test -n "$ac_tool_prefix"; then
|
1953 |
|
|
for ac_prog in cl
|
1954 |
|
|
do
|
1955 |
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
1956 |
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
1957 |
|
|
echo "$as_me:1957: checking for $ac_word" >&5
|
1958 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1959 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then
|
1960 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1961 |
|
|
else
|
1962 |
|
|
if test -n "$CC"; then
|
1963 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
1964 |
|
|
else
|
1965 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
1966 |
|
|
ac_dummy="$PATH"
|
1967 |
|
|
for ac_dir in $ac_dummy; do
|
1968 |
|
|
IFS=$ac_save_IFS
|
1969 |
|
|
test -z "$ac_dir" && ac_dir=.
|
1970 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
1971 |
|
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
1972 |
|
|
echo "$as_me:1972: found $ac_dir/$ac_word" >&5
|
1973 |
|
|
break
|
1974 |
|
|
done
|
1975 |
|
|
|
1976 |
|
|
fi
|
1977 |
|
|
fi
|
1978 |
|
|
CC=$ac_cv_prog_CC
|
1979 |
|
|
if test -n "$CC"; then
|
1980 |
|
|
echo "$as_me:1980: result: $CC" >&5
|
1981 |
|
|
echo "${ECHO_T}$CC" >&6
|
1982 |
|
|
else
|
1983 |
|
|
echo "$as_me:1983: result: no" >&5
|
1984 |
|
|
echo "${ECHO_T}no" >&6
|
1985 |
|
|
fi
|
1986 |
|
|
|
1987 |
|
|
test -n "$CC" && break
|
1988 |
|
|
done
|
1989 |
|
|
fi
|
1990 |
|
|
if test -z "$CC"; then
|
1991 |
|
|
ac_ct_CC=$CC
|
1992 |
|
|
for ac_prog in cl
|
1993 |
|
|
do
|
1994 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1995 |
|
|
set dummy $ac_prog; ac_word=$2
|
1996 |
|
|
echo "$as_me:1996: checking for $ac_word" >&5
|
1997 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1998 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1999 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2000 |
|
|
else
|
2001 |
|
|
if test -n "$ac_ct_CC"; then
|
2002 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
2003 |
|
|
else
|
2004 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
2005 |
|
|
ac_dummy="$PATH"
|
2006 |
|
|
for ac_dir in $ac_dummy; do
|
2007 |
|
|
IFS=$ac_save_IFS
|
2008 |
|
|
test -z "$ac_dir" && ac_dir=.
|
2009 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
2010 |
|
|
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2011 |
|
|
echo "$as_me:2011: found $ac_dir/$ac_word" >&5
|
2012 |
|
|
break
|
2013 |
|
|
done
|
2014 |
|
|
|
2015 |
|
|
fi
|
2016 |
|
|
fi
|
2017 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2018 |
|
|
if test -n "$ac_ct_CC"; then
|
2019 |
|
|
echo "$as_me:2019: result: $ac_ct_CC" >&5
|
2020 |
|
|
echo "${ECHO_T}$ac_ct_CC" >&6
|
2021 |
|
|
else
|
2022 |
|
|
echo "$as_me:2022: result: no" >&5
|
2023 |
|
|
echo "${ECHO_T}no" >&6
|
2024 |
|
|
fi
|
2025 |
|
|
|
2026 |
|
|
test -n "$ac_ct_CC" && break
|
2027 |
|
|
done
|
2028 |
|
|
|
2029 |
|
|
CC=$ac_ct_CC
|
2030 |
|
|
fi
|
2031 |
|
|
|
2032 |
|
|
fi
|
2033 |
|
|
|
2034 |
|
|
test -z "$CC" && { { echo "$as_me:2034: error: no acceptable cc found in \$PATH" >&5
|
2035 |
|
|
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
|
2036 |
|
|
{ (exit 1); exit 1; }; }
|
2037 |
|
|
|
2038 |
|
|
# Provide some information about the compiler.
|
2039 |
|
|
echo "$as_me:2039:" \
|
2040 |
|
|
"checking for C compiler version" >&5
|
2041 |
|
|
ac_compiler=`set X $ac_compile; echo $2`
|
2042 |
|
|
{ (eval echo "$as_me:2042: \"$ac_compiler --version &5\"") >&5
|
2043 |
|
|
(eval $ac_compiler --version &5) 2>&5
|
2044 |
|
|
ac_status=$?
|
2045 |
|
|
echo "$as_me:2045: \$? = $ac_status" >&5
|
2046 |
|
|
(exit $ac_status); }
|
2047 |
|
|
{ (eval echo "$as_me:2047: \"$ac_compiler -v &5\"") >&5
|
2048 |
|
|
(eval $ac_compiler -v &5) 2>&5
|
2049 |
|
|
ac_status=$?
|
2050 |
|
|
echo "$as_me:2050: \$? = $ac_status" >&5
|
2051 |
|
|
(exit $ac_status); }
|
2052 |
|
|
{ (eval echo "$as_me:2052: \"$ac_compiler -V &5\"") >&5
|
2053 |
|
|
(eval $ac_compiler -V &5) 2>&5
|
2054 |
|
|
ac_status=$?
|
2055 |
|
|
echo "$as_me:2055: \$? = $ac_status" >&5
|
2056 |
|
|
(exit $ac_status); }
|
2057 |
|
|
|
2058 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2059 |
|
|
#line 2059 "configure"
|
2060 |
|
|
#include "confdefs.h"
|
2061 |
|
|
|
2062 |
|
|
int
|
2063 |
|
|
main ()
|
2064 |
|
|
{
|
2065 |
|
|
|
2066 |
|
|
;
|
2067 |
|
|
return 0;
|
2068 |
|
|
}
|
2069 |
|
|
_ACEOF
|
2070 |
|
|
ac_clean_files_save=$ac_clean_files
|
2071 |
|
|
ac_clean_files="$ac_clean_files a.out a.exe"
|
2072 |
|
|
# Try to create an executable without -o first, disregard a.out.
|
2073 |
|
|
# It will help us diagnose broken compilers, and finding out an intuition
|
2074 |
|
|
# of exeext.
|
2075 |
|
|
echo "$as_me:2075: checking for C compiler default output" >&5
|
2076 |
|
|
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
|
2077 |
|
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2078 |
|
|
if { (eval echo "$as_me:2078: \"$ac_link_default\"") >&5
|
2079 |
|
|
(eval $ac_link_default) 2>&5
|
2080 |
|
|
ac_status=$?
|
2081 |
|
|
echo "$as_me:2081: \$? = $ac_status" >&5
|
2082 |
|
|
(exit $ac_status); }; then
|
2083 |
|
|
# Find the output, starting from the most likely. This scheme is
|
2084 |
|
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
2085 |
|
|
# resort.
|
2086 |
|
|
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
|
2087 |
|
|
ls a.out conftest 2>/dev/null;
|
2088 |
|
|
ls a.* conftest.* 2>/dev/null`; do
|
2089 |
|
|
case $ac_file in
|
2090 |
|
|
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
2091 |
|
|
a.out ) # We found the default executable, but exeext='' is most
|
2092 |
|
|
# certainly right.
|
2093 |
|
|
break;;
|
2094 |
|
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2095 |
|
|
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
|
2096 |
|
|
export ac_cv_exeext
|
2097 |
|
|
break;;
|
2098 |
|
|
* ) break;;
|
2099 |
|
|
esac
|
2100 |
|
|
done
|
2101 |
|
|
else
|
2102 |
|
|
echo "$as_me: failed program was:" >&5
|
2103 |
|
|
cat conftest.$ac_ext >&5
|
2104 |
|
|
{ { echo "$as_me:2104: error: C compiler cannot create executables" >&5
|
2105 |
|
|
echo "$as_me: error: C compiler cannot create executables" >&2;}
|
2106 |
|
|
{ (exit 77); exit 77; }; }
|
2107 |
|
|
fi
|
2108 |
|
|
|
2109 |
|
|
ac_exeext=$ac_cv_exeext
|
2110 |
|
|
echo "$as_me:2110: result: $ac_file" >&5
|
2111 |
|
|
echo "${ECHO_T}$ac_file" >&6
|
2112 |
|
|
|
2113 |
|
|
# Check the compiler produces executables we can run. If not, either
|
2114 |
|
|
# the compiler is broken, or we cross compile.
|
2115 |
|
|
echo "$as_me:2115: checking whether the C compiler works" >&5
|
2116 |
|
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
2117 |
|
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
2118 |
|
|
# If not cross compiling, check that we can run a simple program.
|
2119 |
|
|
if test "$cross_compiling" != yes; then
|
2120 |
|
|
if { ac_try='./$ac_file'
|
2121 |
|
|
{ (eval echo "$as_me:2121: \"$ac_try\"") >&5
|
2122 |
|
|
(eval $ac_try) 2>&5
|
2123 |
|
|
ac_status=$?
|
2124 |
|
|
echo "$as_me:2124: \$? = $ac_status" >&5
|
2125 |
|
|
(exit $ac_status); }; }; then
|
2126 |
|
|
cross_compiling=no
|
2127 |
|
|
else
|
2128 |
|
|
if test "$cross_compiling" = maybe; then
|
2129 |
|
|
cross_compiling=yes
|
2130 |
|
|
else
|
2131 |
|
|
{ { echo "$as_me:2131: error: cannot run C compiled programs.
|
2132 |
|
|
If you meant to cross compile, use \`--host'." >&5
|
2133 |
|
|
echo "$as_me: error: cannot run C compiled programs.
|
2134 |
|
|
If you meant to cross compile, use \`--host'." >&2;}
|
2135 |
|
|
{ (exit 1); exit 1; }; }
|
2136 |
|
|
fi
|
2137 |
|
|
fi
|
2138 |
|
|
fi
|
2139 |
|
|
echo "$as_me:2139: result: yes" >&5
|
2140 |
|
|
echo "${ECHO_T}yes" >&6
|
2141 |
|
|
|
2142 |
|
|
rm -f a.out a.exe conftest$ac_cv_exeext
|
2143 |
|
|
ac_clean_files=$ac_clean_files_save
|
2144 |
|
|
# Check the compiler produces executables we can run. If not, either
|
2145 |
|
|
# the compiler is broken, or we cross compile.
|
2146 |
|
|
echo "$as_me:2146: checking whether we are cross compiling" >&5
|
2147 |
|
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
2148 |
|
|
echo "$as_me:2148: result: $cross_compiling" >&5
|
2149 |
|
|
echo "${ECHO_T}$cross_compiling" >&6
|
2150 |
|
|
|
2151 |
|
|
echo "$as_me:2151: checking for executable suffix" >&5
|
2152 |
|
|
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
|
2153 |
|
|
if { (eval echo "$as_me:2153: \"$ac_link\"") >&5
|
2154 |
|
|
(eval $ac_link) 2>&5
|
2155 |
|
|
ac_status=$?
|
2156 |
|
|
echo "$as_me:2156: \$? = $ac_status" >&5
|
2157 |
|
|
(exit $ac_status); }; then
|
2158 |
|
|
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2159 |
|
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2160 |
|
|
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
2161 |
|
|
# `rm'.
|
2162 |
|
|
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
|
2163 |
|
|
case $ac_file in
|
2164 |
|
|
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
2165 |
|
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2166 |
|
|
export ac_cv_exeext
|
2167 |
|
|
break;;
|
2168 |
|
|
* ) break;;
|
2169 |
|
|
esac
|
2170 |
|
|
done
|
2171 |
|
|
else
|
2172 |
|
|
{ { echo "$as_me:2172: error: cannot compute EXEEXT: cannot compile and link" >&5
|
2173 |
|
|
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
|
2174 |
|
|
{ (exit 1); exit 1; }; }
|
2175 |
|
|
fi
|
2176 |
|
|
|
2177 |
|
|
rm -f conftest$ac_cv_exeext
|
2178 |
|
|
echo "$as_me:2178: result: $ac_cv_exeext" >&5
|
2179 |
|
|
echo "${ECHO_T}$ac_cv_exeext" >&6
|
2180 |
|
|
|
2181 |
|
|
rm -f conftest.$ac_ext
|
2182 |
|
|
EXEEXT=$ac_cv_exeext
|
2183 |
|
|
ac_exeext=$EXEEXT
|
2184 |
|
|
echo "$as_me:2184: checking for object suffix" >&5
|
2185 |
|
|
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
|
2186 |
|
|
if test "${ac_cv_objext+set}" = set; then
|
2187 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2188 |
|
|
else
|
2189 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2190 |
|
|
#line 2190 "configure"
|
2191 |
|
|
#include "confdefs.h"
|
2192 |
|
|
|
2193 |
|
|
int
|
2194 |
|
|
main ()
|
2195 |
|
|
{
|
2196 |
|
|
|
2197 |
|
|
;
|
2198 |
|
|
return 0;
|
2199 |
|
|
}
|
2200 |
|
|
_ACEOF
|
2201 |
|
|
rm -f conftest.o conftest.obj
|
2202 |
|
|
if { (eval echo "$as_me:2202: \"$ac_compile\"") >&5
|
2203 |
|
|
(eval $ac_compile) 2>&5
|
2204 |
|
|
ac_status=$?
|
2205 |
|
|
echo "$as_me:2205: \$? = $ac_status" >&5
|
2206 |
|
|
(exit $ac_status); }; then
|
2207 |
|
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
2208 |
|
|
case $ac_file in
|
2209 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
2210 |
|
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
2211 |
|
|
break;;
|
2212 |
|
|
esac
|
2213 |
|
|
done
|
2214 |
|
|
else
|
2215 |
|
|
echo "$as_me: failed program was:" >&5
|
2216 |
|
|
cat conftest.$ac_ext >&5
|
2217 |
|
|
{ { echo "$as_me:2217: error: cannot compute OBJEXT: cannot compile" >&5
|
2218 |
|
|
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
|
2219 |
|
|
{ (exit 1); exit 1; }; }
|
2220 |
|
|
fi
|
2221 |
|
|
|
2222 |
|
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2223 |
|
|
fi
|
2224 |
|
|
echo "$as_me:2224: result: $ac_cv_objext" >&5
|
2225 |
|
|
echo "${ECHO_T}$ac_cv_objext" >&6
|
2226 |
|
|
OBJEXT=$ac_cv_objext
|
2227 |
|
|
ac_objext=$OBJEXT
|
2228 |
|
|
echo "$as_me:2228: checking whether we are using the GNU C compiler" >&5
|
2229 |
|
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
2230 |
|
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
2231 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2232 |
|
|
else
|
2233 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2234 |
|
|
#line 2234 "configure"
|
2235 |
|
|
#include "confdefs.h"
|
2236 |
|
|
|
2237 |
|
|
int
|
2238 |
|
|
main ()
|
2239 |
|
|
{
|
2240 |
|
|
#ifndef __GNUC__
|
2241 |
|
|
choke me
|
2242 |
|
|
#endif
|
2243 |
|
|
|
2244 |
|
|
;
|
2245 |
|
|
return 0;
|
2246 |
|
|
}
|
2247 |
|
|
_ACEOF
|
2248 |
|
|
rm -f conftest.$ac_objext
|
2249 |
|
|
if { (eval echo "$as_me:2249: \"$ac_compile\"") >&5
|
2250 |
|
|
(eval $ac_compile) 2>&5
|
2251 |
|
|
ac_status=$?
|
2252 |
|
|
echo "$as_me:2252: \$? = $ac_status" >&5
|
2253 |
|
|
(exit $ac_status); } &&
|
2254 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2255 |
|
|
{ (eval echo "$as_me:2255: \"$ac_try\"") >&5
|
2256 |
|
|
(eval $ac_try) 2>&5
|
2257 |
|
|
ac_status=$?
|
2258 |
|
|
echo "$as_me:2258: \$? = $ac_status" >&5
|
2259 |
|
|
(exit $ac_status); }; }; then
|
2260 |
|
|
ac_compiler_gnu=yes
|
2261 |
|
|
else
|
2262 |
|
|
echo "$as_me: failed program was:" >&5
|
2263 |
|
|
cat conftest.$ac_ext >&5
|
2264 |
|
|
ac_compiler_gnu=no
|
2265 |
|
|
fi
|
2266 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
2267 |
|
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2268 |
|
|
|
2269 |
|
|
fi
|
2270 |
|
|
echo "$as_me:2270: result: $ac_cv_c_compiler_gnu" >&5
|
2271 |
|
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
2272 |
|
|
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
2273 |
|
|
ac_test_CFLAGS=${CFLAGS+set}
|
2274 |
|
|
ac_save_CFLAGS=$CFLAGS
|
2275 |
|
|
CFLAGS="-g"
|
2276 |
|
|
echo "$as_me:2276: checking whether $CC accepts -g" >&5
|
2277 |
|
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
2278 |
|
|
if test "${ac_cv_prog_cc_g+set}" = set; then
|
2279 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2280 |
|
|
else
|
2281 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2282 |
|
|
#line 2282 "configure"
|
2283 |
|
|
#include "confdefs.h"
|
2284 |
|
|
|
2285 |
|
|
int
|
2286 |
|
|
main ()
|
2287 |
|
|
{
|
2288 |
|
|
|
2289 |
|
|
;
|
2290 |
|
|
return 0;
|
2291 |
|
|
}
|
2292 |
|
|
_ACEOF
|
2293 |
|
|
rm -f conftest.$ac_objext
|
2294 |
|
|
if { (eval echo "$as_me:2294: \"$ac_compile\"") >&5
|
2295 |
|
|
(eval $ac_compile) 2>&5
|
2296 |
|
|
ac_status=$?
|
2297 |
|
|
echo "$as_me:2297: \$? = $ac_status" >&5
|
2298 |
|
|
(exit $ac_status); } &&
|
2299 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2300 |
|
|
{ (eval echo "$as_me:2300: \"$ac_try\"") >&5
|
2301 |
|
|
(eval $ac_try) 2>&5
|
2302 |
|
|
ac_status=$?
|
2303 |
|
|
echo "$as_me:2303: \$? = $ac_status" >&5
|
2304 |
|
|
(exit $ac_status); }; }; then
|
2305 |
|
|
ac_cv_prog_cc_g=yes
|
2306 |
|
|
else
|
2307 |
|
|
echo "$as_me: failed program was:" >&5
|
2308 |
|
|
cat conftest.$ac_ext >&5
|
2309 |
|
|
ac_cv_prog_cc_g=no
|
2310 |
|
|
fi
|
2311 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
2312 |
|
|
fi
|
2313 |
|
|
echo "$as_me:2313: result: $ac_cv_prog_cc_g" >&5
|
2314 |
|
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
2315 |
|
|
if test "$ac_test_CFLAGS" = set; then
|
2316 |
|
|
CFLAGS=$ac_save_CFLAGS
|
2317 |
|
|
elif test $ac_cv_prog_cc_g = yes; then
|
2318 |
|
|
if test "$GCC" = yes; then
|
2319 |
|
|
CFLAGS="-g -O2"
|
2320 |
|
|
else
|
2321 |
|
|
CFLAGS="-g"
|
2322 |
|
|
fi
|
2323 |
|
|
else
|
2324 |
|
|
if test "$GCC" = yes; then
|
2325 |
|
|
CFLAGS="-O2"
|
2326 |
|
|
else
|
2327 |
|
|
CFLAGS=
|
2328 |
|
|
fi
|
2329 |
|
|
fi
|
2330 |
|
|
# Some people use a C++ compiler to compile C. Since we use `exit',
|
2331 |
|
|
# in C++ we need to declare it. In case someone uses the same compiler
|
2332 |
|
|
# for both compiling C and C++ we need to have the C++ compiler decide
|
2333 |
|
|
# the declaration of exit, since it's the most demanding environment.
|
2334 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2335 |
|
|
#ifndef __cplusplus
|
2336 |
|
|
choke me
|
2337 |
|
|
#endif
|
2338 |
|
|
_ACEOF
|
2339 |
|
|
rm -f conftest.$ac_objext
|
2340 |
|
|
if { (eval echo "$as_me:2340: \"$ac_compile\"") >&5
|
2341 |
|
|
(eval $ac_compile) 2>&5
|
2342 |
|
|
ac_status=$?
|
2343 |
|
|
echo "$as_me:2343: \$? = $ac_status" >&5
|
2344 |
|
|
(exit $ac_status); } &&
|
2345 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2346 |
|
|
{ (eval echo "$as_me:2346: \"$ac_try\"") >&5
|
2347 |
|
|
(eval $ac_try) 2>&5
|
2348 |
|
|
ac_status=$?
|
2349 |
|
|
echo "$as_me:2349: \$? = $ac_status" >&5
|
2350 |
|
|
(exit $ac_status); }; }; then
|
2351 |
|
|
for ac_declaration in \
|
2352 |
|
|
''\
|
2353 |
|
|
'#include ' \
|
2354 |
|
|
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
2355 |
|
|
'extern "C" void std::exit (int); using std::exit;' \
|
2356 |
|
|
'extern "C" void exit (int) throw ();' \
|
2357 |
|
|
'extern "C" void exit (int);' \
|
2358 |
|
|
'void exit (int);'
|
2359 |
|
|
do
|
2360 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2361 |
|
|
#line 2361 "configure"
|
2362 |
|
|
#include "confdefs.h"
|
2363 |
|
|
#include
|
2364 |
|
|
$ac_declaration
|
2365 |
|
|
int
|
2366 |
|
|
main ()
|
2367 |
|
|
{
|
2368 |
|
|
exit (42);
|
2369 |
|
|
;
|
2370 |
|
|
return 0;
|
2371 |
|
|
}
|
2372 |
|
|
_ACEOF
|
2373 |
|
|
rm -f conftest.$ac_objext
|
2374 |
|
|
if { (eval echo "$as_me:2374: \"$ac_compile\"") >&5
|
2375 |
|
|
(eval $ac_compile) 2>&5
|
2376 |
|
|
ac_status=$?
|
2377 |
|
|
echo "$as_me:2377: \$? = $ac_status" >&5
|
2378 |
|
|
(exit $ac_status); } &&
|
2379 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2380 |
|
|
{ (eval echo "$as_me:2380: \"$ac_try\"") >&5
|
2381 |
|
|
(eval $ac_try) 2>&5
|
2382 |
|
|
ac_status=$?
|
2383 |
|
|
echo "$as_me:2383: \$? = $ac_status" >&5
|
2384 |
|
|
(exit $ac_status); }; }; then
|
2385 |
|
|
:
|
2386 |
|
|
else
|
2387 |
|
|
echo "$as_me: failed program was:" >&5
|
2388 |
|
|
cat conftest.$ac_ext >&5
|
2389 |
|
|
continue
|
2390 |
|
|
fi
|
2391 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
2392 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2393 |
|
|
#line 2393 "configure"
|
2394 |
|
|
#include "confdefs.h"
|
2395 |
|
|
$ac_declaration
|
2396 |
|
|
int
|
2397 |
|
|
main ()
|
2398 |
|
|
{
|
2399 |
|
|
exit (42);
|
2400 |
|
|
;
|
2401 |
|
|
return 0;
|
2402 |
|
|
}
|
2403 |
|
|
_ACEOF
|
2404 |
|
|
rm -f conftest.$ac_objext
|
2405 |
|
|
if { (eval echo "$as_me:2405: \"$ac_compile\"") >&5
|
2406 |
|
|
(eval $ac_compile) 2>&5
|
2407 |
|
|
ac_status=$?
|
2408 |
|
|
echo "$as_me:2408: \$? = $ac_status" >&5
|
2409 |
|
|
(exit $ac_status); } &&
|
2410 |
|
|
{ ac_try='test -s conftest.$ac_objext'
|
2411 |
|
|
{ (eval echo "$as_me:2411: \"$ac_try\"") >&5
|
2412 |
|
|
(eval $ac_try) 2>&5
|
2413 |
|
|
ac_status=$?
|
2414 |
|
|
echo "$as_me:2414: \$? = $ac_status" >&5
|
2415 |
|
|
(exit $ac_status); }; }; then
|
2416 |
|
|
break
|
2417 |
|
|
else
|
2418 |
|
|
echo "$as_me: failed program was:" >&5
|
2419 |
|
|
cat conftest.$ac_ext >&5
|
2420 |
|
|
fi
|
2421 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
2422 |
|
|
done
|
2423 |
|
|
rm -f conftest*
|
2424 |
|
|
if test -n "$ac_declaration"; then
|
2425 |
|
|
echo '#ifdef __cplusplus' >>confdefs.h
|
2426 |
|
|
echo $ac_declaration >>confdefs.h
|
2427 |
|
|
echo '#endif' >>confdefs.h
|
2428 |
|
|
fi
|
2429 |
|
|
|
2430 |
|
|
else
|
2431 |
|
|
echo "$as_me: failed program was:" >&5
|
2432 |
|
|
cat conftest.$ac_ext >&5
|
2433 |
|
|
fi
|
2434 |
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
2435 |
|
|
ac_ext=c
|
2436 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
2437 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2438 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2439 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2440 |
|
|
|
2441 |
|
|
depcc="$CC" am_compiler_list=
|
2442 |
|
|
|
2443 |
|
|
echo "$as_me:2443: checking dependency style of $depcc" >&5
|
2444 |
|
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
2445 |
|
|
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
2446 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2447 |
|
|
else
|
2448 |
|
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
2449 |
|
|
# We make a subdir and do the tests there. Otherwise we can end up
|
2450 |
|
|
# making bogus files that we don't know about and never remove. For
|
2451 |
|
|
# instance it was reported that on HP-UX the gcc test will end up
|
2452 |
|
|
# making a dummy file named `D' -- because `-MD' means `put the output
|
2453 |
|
|
# in D'.
|
2454 |
|
|
mkdir conftest.dir
|
2455 |
|
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
2456 |
|
|
# using a relative directory.
|
2457 |
|
|
cp "$am_depcomp" conftest.dir
|
2458 |
|
|
cd conftest.dir
|
2459 |
|
|
|
2460 |
|
|
am_cv_CC_dependencies_compiler_type=none
|
2461 |
|
|
if test "$am_compiler_list" = ""; then
|
2462 |
|
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
2463 |
|
|
fi
|
2464 |
|
|
for depmode in $am_compiler_list; do
|
2465 |
|
|
# We need to recreate these files for each test, as the compiler may
|
2466 |
|
|
# overwrite some of them when testing with obscure command lines.
|
2467 |
|
|
# This happens at least with the AIX C compiler.
|
2468 |
|
|
echo '#include "conftest.h"' > conftest.c
|
2469 |
|
|
echo 'int i;' > conftest.h
|
2470 |
|
|
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
|
2471 |
|
|
|
2472 |
|
|
case $depmode in
|
2473 |
|
|
nosideeffect)
|
2474 |
|
|
# after this tag, mechanisms are not by side-effect, so they'll
|
2475 |
|
|
# only be used when explicitly requested
|
2476 |
|
|
if test "x$enable_dependency_tracking" = xyes; then
|
2477 |
|
|
continue
|
2478 |
|
|
else
|
2479 |
|
|
break
|
2480 |
|
|
fi
|
2481 |
|
|
;;
|
2482 |
|
|
none) break ;;
|
2483 |
|
|
esac
|
2484 |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
2485 |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
2486 |
|
|
# handle `-M -o', and we need to detect this.
|
2487 |
|
|
if depmode=$depmode \
|
2488 |
|
|
source=conftest.c object=conftest.o \
|
2489 |
|
|
depfile=conftest.Po tmpdepfile=conftest.TPo \
|
2490 |
|
|
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
|
2491 |
|
|
grep conftest.h conftest.Po > /dev/null 2>&1 &&
|
2492 |
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
2493 |
|
|
am_cv_CC_dependencies_compiler_type=$depmode
|
2494 |
|
|
break
|
2495 |
|
|
fi
|
2496 |
|
|
done
|
2497 |
|
|
|
2498 |
|
|
cd ..
|
2499 |
|
|
rm -rf conftest.dir
|
2500 |
|
|
else
|
2501 |
|
|
am_cv_CC_dependencies_compiler_type=none
|
2502 |
|
|
fi
|
2503 |
|
|
|
2504 |
|
|
fi
|
2505 |
|
|
echo "$as_me:2505: result: $am_cv_CC_dependencies_compiler_type" >&5
|
2506 |
|
|
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
|
2507 |
|
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
2508 |
|
|
|
2509 |
|
|
ac_ext=c
|
2510 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
2511 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2512 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2513 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2514 |
|
|
echo "$as_me:2514: checking how to run the C preprocessor" >&5
|
2515 |
|
|
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
2516 |
|
|
# On Suns, sometimes $CPP names a directory.
|
2517 |
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
2518 |
|
|
CPP=
|
2519 |
|
|
fi
|
2520 |
|
|
if test -z "$CPP"; then
|
2521 |
|
|
if test "${ac_cv_prog_CPP+set}" = set; then
|
2522 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2523 |
|
|
else
|
2524 |
|
|
# Double quotes because CPP needs to be expanded
|
2525 |
|
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
2526 |
|
|
do
|
2527 |
|
|
ac_preproc_ok=false
|
2528 |
|
|
for ac_c_preproc_warn_flag in '' yes
|
2529 |
|
|
do
|
2530 |
|
|
# Use a header file that comes with gcc, so configuring glibc
|
2531 |
|
|
# with a fresh cross-compiler works.
|
2532 |
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2533 |
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
2534 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2535 |
|
|
#line 2535 "configure"
|
2536 |
|
|
#include "confdefs.h"
|
2537 |
|
|
#include
|
2538 |
|
|
Syntax error
|
2539 |
|
|
_ACEOF
|
2540 |
|
|
if { (eval echo "$as_me:2540: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2541 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2542 |
|
|
ac_status=$?
|
2543 |
|
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
2544 |
|
|
rm -f conftest.er1
|
2545 |
|
|
cat conftest.err >&5
|
2546 |
|
|
echo "$as_me:2546: \$? = $ac_status" >&5
|
2547 |
|
|
(exit $ac_status); } >/dev/null; then
|
2548 |
|
|
if test -s conftest.err; then
|
2549 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2550 |
|
|
else
|
2551 |
|
|
ac_cpp_err=
|
2552 |
|
|
fi
|
2553 |
|
|
else
|
2554 |
|
|
ac_cpp_err=yes
|
2555 |
|
|
fi
|
2556 |
|
|
if test -z "$ac_cpp_err"; then
|
2557 |
|
|
:
|
2558 |
|
|
else
|
2559 |
|
|
echo "$as_me: failed program was:" >&5
|
2560 |
|
|
cat conftest.$ac_ext >&5
|
2561 |
|
|
# Broken: fails on valid input.
|
2562 |
|
|
continue
|
2563 |
|
|
fi
|
2564 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2565 |
|
|
|
2566 |
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
2567 |
|
|
# can be detected and how.
|
2568 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2569 |
|
|
#line 2569 "configure"
|
2570 |
|
|
#include "confdefs.h"
|
2571 |
|
|
#include
|
2572 |
|
|
_ACEOF
|
2573 |
|
|
if { (eval echo "$as_me:2573: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2574 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2575 |
|
|
ac_status=$?
|
2576 |
|
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
2577 |
|
|
rm -f conftest.er1
|
2578 |
|
|
cat conftest.err >&5
|
2579 |
|
|
echo "$as_me:2579: \$? = $ac_status" >&5
|
2580 |
|
|
(exit $ac_status); } >/dev/null; then
|
2581 |
|
|
if test -s conftest.err; then
|
2582 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2583 |
|
|
else
|
2584 |
|
|
ac_cpp_err=
|
2585 |
|
|
fi
|
2586 |
|
|
else
|
2587 |
|
|
ac_cpp_err=yes
|
2588 |
|
|
fi
|
2589 |
|
|
if test -z "$ac_cpp_err"; then
|
2590 |
|
|
# Broken: success on invalid input.
|
2591 |
|
|
continue
|
2592 |
|
|
else
|
2593 |
|
|
echo "$as_me: failed program was:" >&5
|
2594 |
|
|
cat conftest.$ac_ext >&5
|
2595 |
|
|
# Passes both tests.
|
2596 |
|
|
ac_preproc_ok=:
|
2597 |
|
|
break
|
2598 |
|
|
fi
|
2599 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2600 |
|
|
|
2601 |
|
|
done
|
2602 |
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
2603 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2604 |
|
|
if $ac_preproc_ok; then
|
2605 |
|
|
break
|
2606 |
|
|
fi
|
2607 |
|
|
|
2608 |
|
|
done
|
2609 |
|
|
ac_cv_prog_CPP=$CPP
|
2610 |
|
|
|
2611 |
|
|
fi
|
2612 |
|
|
CPP=$ac_cv_prog_CPP
|
2613 |
|
|
else
|
2614 |
|
|
ac_cv_prog_CPP=$CPP
|
2615 |
|
|
fi
|
2616 |
|
|
echo "$as_me:2616: result: $CPP" >&5
|
2617 |
|
|
echo "${ECHO_T}$CPP" >&6
|
2618 |
|
|
ac_preproc_ok=false
|
2619 |
|
|
for ac_c_preproc_warn_flag in '' yes
|
2620 |
|
|
do
|
2621 |
|
|
# Use a header file that comes with gcc, so configuring glibc
|
2622 |
|
|
# with a fresh cross-compiler works.
|
2623 |
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2624 |
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
2625 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2626 |
|
|
#line 2626 "configure"
|
2627 |
|
|
#include "confdefs.h"
|
2628 |
|
|
#include
|
2629 |
|
|
Syntax error
|
2630 |
|
|
_ACEOF
|
2631 |
|
|
if { (eval echo "$as_me:2631: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2632 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2633 |
|
|
ac_status=$?
|
2634 |
|
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
2635 |
|
|
rm -f conftest.er1
|
2636 |
|
|
cat conftest.err >&5
|
2637 |
|
|
echo "$as_me:2637: \$? = $ac_status" >&5
|
2638 |
|
|
(exit $ac_status); } >/dev/null; then
|
2639 |
|
|
if test -s conftest.err; then
|
2640 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2641 |
|
|
else
|
2642 |
|
|
ac_cpp_err=
|
2643 |
|
|
fi
|
2644 |
|
|
else
|
2645 |
|
|
ac_cpp_err=yes
|
2646 |
|
|
fi
|
2647 |
|
|
if test -z "$ac_cpp_err"; then
|
2648 |
|
|
:
|
2649 |
|
|
else
|
2650 |
|
|
echo "$as_me: failed program was:" >&5
|
2651 |
|
|
cat conftest.$ac_ext >&5
|
2652 |
|
|
# Broken: fails on valid input.
|
2653 |
|
|
continue
|
2654 |
|
|
fi
|
2655 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2656 |
|
|
|
2657 |
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
2658 |
|
|
# can be detected and how.
|
2659 |
|
|
cat >conftest.$ac_ext <<_ACEOF
|
2660 |
|
|
#line 2660 "configure"
|
2661 |
|
|
#include "confdefs.h"
|
2662 |
|
|
#include
|
2663 |
|
|
_ACEOF
|
2664 |
|
|
if { (eval echo "$as_me:2664: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2665 |
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
2666 |
|
|
ac_status=$?
|
2667 |
|
|
egrep -v '^ *\+' conftest.er1 >conftest.err
|
2668 |
|
|
rm -f conftest.er1
|
2669 |
|
|
cat conftest.err >&5
|
2670 |
|
|
echo "$as_me:2670: \$? = $ac_status" >&5
|
2671 |
|
|
(exit $ac_status); } >/dev/null; then
|
2672 |
|
|
if test -s conftest.err; then
|
2673 |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
2674 |
|
|
else
|
2675 |
|
|
ac_cpp_err=
|
2676 |
|
|
fi
|
2677 |
|
|
else
|
2678 |
|
|
ac_cpp_err=yes
|
2679 |
|
|
fi
|
2680 |
|
|
if test -z "$ac_cpp_err"; then
|
2681 |
|
|
# Broken: success on invalid input.
|
2682 |
|
|
continue
|
2683 |
|
|
else
|
2684 |
|
|
echo "$as_me: failed program was:" >&5
|
2685 |
|
|
cat conftest.$ac_ext >&5
|
2686 |
|
|
# Passes both tests.
|
2687 |
|
|
ac_preproc_ok=:
|
2688 |
|
|
break
|
2689 |
|
|
fi
|
2690 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2691 |
|
|
|
2692 |
|
|
done
|
2693 |
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
2694 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2695 |
|
|
if $ac_preproc_ok; then
|
2696 |
|
|
:
|
2697 |
|
|
else
|
2698 |
|
|
{ { echo "$as_me:2698: error: C preprocessor \"$CPP\" fails sanity check" >&5
|
2699 |
|
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
|
2700 |
|
|
{ (exit 1); exit 1; }; }
|
2701 |
|
|
fi
|
2702 |
|
|
|
2703 |
|
|
ac_ext=c
|
2704 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
2705 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2706 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2707 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2708 |
|
|
|
2709 |
|
|
if test x"$GCC" = x"yes"; then
|
2710 |
|
|
RTEMS_USE_GCC_TRUE=
|
2711 |
|
|
RTEMS_USE_GCC_FALSE='#'
|
2712 |
|
|
else
|
2713 |
|
|
RTEMS_USE_GCC_TRUE='#'
|
2714 |
|
|
RTEMS_USE_GCC_FALSE=
|
2715 |
|
|
fi
|
2716 |
|
|
|
2717 |
|
|
echo "$as_me:2717: checking whether $CC accepts -specs" >&5
|
2718 |
|
|
echo $ECHO_N "checking whether $CC accepts -specs... $ECHO_C" >&6
|
2719 |
|
|
if test "${rtems_cv_gcc_specs+set}" = set; then
|
2720 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2721 |
|
|
else
|
2722 |
|
|
|
2723 |
|
|
rtems_cv_gcc_specs=no
|
2724 |
|
|
if test x"$GCC" = x"yes"; then
|
2725 |
|
|
touch confspec
|
2726 |
|
|
echo 'void f(){}' >conftest.c
|
2727 |
|
|
if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then
|
2728 |
|
|
rtems_cv_gcc_specs=yes
|
2729 |
|
|
fi
|
2730 |
|
|
fi
|
2731 |
|
|
rm -f confspec conftest*
|
2732 |
|
|
|
2733 |
|
|
fi
|
2734 |
|
|
echo "$as_me:2734: result: $rtems_cv_gcc_specs" >&5
|
2735 |
|
|
echo "${ECHO_T}$rtems_cv_gcc_specs" >&6
|
2736 |
|
|
|
2737 |
|
|
echo "$as_me:2737: checking whether $CC accepts --pipe" >&5
|
2738 |
|
|
echo $ECHO_N "checking whether $CC accepts --pipe... $ECHO_C" >&6
|
2739 |
|
|
if test "${rtems_cv_gcc_pipe+set}" = set; then
|
2740 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2741 |
|
|
else
|
2742 |
|
|
|
2743 |
|
|
rtems_cv_gcc_pipe=no
|
2744 |
|
|
if test x"$GCC" = x"yes"; then
|
2745 |
|
|
echo 'void f(){}' >conftest.c
|
2746 |
|
|
if test -z "`${CC} --pipe -c conftest.c 2>&1`";then
|
2747 |
|
|
rtems_cv_gcc_pipe=yes
|
2748 |
|
|
fi
|
2749 |
|
|
rm -f conftest*
|
2750 |
|
|
fi
|
2751 |
|
|
|
2752 |
|
|
fi
|
2753 |
|
|
echo "$as_me:2753: result: $rtems_cv_gcc_pipe" >&5
|
2754 |
|
|
echo "${ECHO_T}$rtems_cv_gcc_pipe" >&6
|
2755 |
|
|
|
2756 |
|
|
# if test "$rtems_cv_gcc_specs" = "no"; then
|
2757 |
|
|
# AC_MSG_WARN([*** disabling --enable-gcc28])
|
2758 |
|
|
# RTEMS_USE_GCC272=yes
|
2759 |
|
|
# fi
|
2760 |
|
|
test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
|
2761 |
|
|
|
2762 |
|
|
if test "$GCC" = yes; then
|
2763 |
|
|
|
2764 |
|
|
CPPFLAGS="$CPPFLAGS -ansi -fasm"
|
2765 |
|
|
|
2766 |
|
|
CFLAGS="-g -Wall"
|
2767 |
|
|
fi
|
2768 |
|
|
|
2769 |
|
|
case $build_os in
|
2770 |
|
|
*cygwin*) GCCSED="| sed 's%\\\\%/%g'" ;;
|
2771 |
|
|
*) ;;
|
2772 |
|
|
esac
|
2773 |
|
|
|
2774 |
|
|
if test "x$build_alias" != "x$host_alias"; then
|
2775 |
|
|
rtems_tool_prefix=${ac_tool_prefix}
|
2776 |
|
|
fi
|
2777 |
|
|
|
2778 |
|
|
# Extract the first word of "${rtems_tool_prefix}ar", so it can be a program name with args.
|
2779 |
|
|
set dummy ${rtems_tool_prefix}ar; ac_word=$2
|
2780 |
|
|
echo "$as_me:2780: checking for $ac_word" >&5
|
2781 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2782 |
|
|
if test "${ac_cv_prog_AR+set}" = set; then
|
2783 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2784 |
|
|
else
|
2785 |
|
|
if test -n "$AR"; then
|
2786 |
|
|
ac_cv_prog_AR="$AR" # Let the user override the test.
|
2787 |
|
|
else
|
2788 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
2789 |
|
|
ac_dummy="$PATH"
|
2790 |
|
|
for ac_dir in $ac_dummy; do
|
2791 |
|
|
IFS=$ac_save_IFS
|
2792 |
|
|
test -z "$ac_dir" && ac_dir=.
|
2793 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
2794 |
|
|
ac_cv_prog_AR="${rtems_tool_prefix}ar"
|
2795 |
|
|
echo "$as_me:2795: found $ac_dir/$ac_word" >&5
|
2796 |
|
|
break
|
2797 |
|
|
done
|
2798 |
|
|
|
2799 |
|
|
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="no"
|
2800 |
|
|
fi
|
2801 |
|
|
fi
|
2802 |
|
|
AR=$ac_cv_prog_AR
|
2803 |
|
|
if test -n "$AR"; then
|
2804 |
|
|
echo "$as_me:2804: result: $AR" >&5
|
2805 |
|
|
echo "${ECHO_T}$AR" >&6
|
2806 |
|
|
else
|
2807 |
|
|
echo "$as_me:2807: result: no" >&5
|
2808 |
|
|
echo "${ECHO_T}no" >&6
|
2809 |
|
|
fi
|
2810 |
|
|
|
2811 |
|
|
if test "x$build_alias" != "x$host_alias"; then
|
2812 |
|
|
rtems_tool_prefix=${ac_tool_prefix}
|
2813 |
|
|
fi
|
2814 |
|
|
|
2815 |
|
|
# Extract the first word of "${rtems_tool_prefix}as", so it can be a program name with args.
|
2816 |
|
|
set dummy ${rtems_tool_prefix}as; ac_word=$2
|
2817 |
|
|
echo "$as_me:2817: checking for $ac_word" >&5
|
2818 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2819 |
|
|
if test "${ac_cv_prog_AS+set}" = set; then
|
2820 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2821 |
|
|
else
|
2822 |
|
|
if test -n "$AS"; then
|
2823 |
|
|
ac_cv_prog_AS="$AS" # Let the user override the test.
|
2824 |
|
|
else
|
2825 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
2826 |
|
|
ac_dummy="$PATH"
|
2827 |
|
|
for ac_dir in $ac_dummy; do
|
2828 |
|
|
IFS=$ac_save_IFS
|
2829 |
|
|
test -z "$ac_dir" && ac_dir=.
|
2830 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
2831 |
|
|
ac_cv_prog_AS="${rtems_tool_prefix}as"
|
2832 |
|
|
echo "$as_me:2832: found $ac_dir/$ac_word" >&5
|
2833 |
|
|
break
|
2834 |
|
|
done
|
2835 |
|
|
|
2836 |
|
|
test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="no"
|
2837 |
|
|
fi
|
2838 |
|
|
fi
|
2839 |
|
|
AS=$ac_cv_prog_AS
|
2840 |
|
|
if test -n "$AS"; then
|
2841 |
|
|
echo "$as_me:2841: result: $AS" >&5
|
2842 |
|
|
echo "${ECHO_T}$AS" >&6
|
2843 |
|
|
else
|
2844 |
|
|
echo "$as_me:2844: result: no" >&5
|
2845 |
|
|
echo "${ECHO_T}no" >&6
|
2846 |
|
|
fi
|
2847 |
|
|
|
2848 |
|
|
if test "x$build_alias" != "x$host_alias"; then
|
2849 |
|
|
rtems_tool_prefix=${ac_tool_prefix}
|
2850 |
|
|
fi
|
2851 |
|
|
|
2852 |
|
|
# Extract the first word of "${rtems_tool_prefix}ld", so it can be a program name with args.
|
2853 |
|
|
set dummy ${rtems_tool_prefix}ld; ac_word=$2
|
2854 |
|
|
echo "$as_me:2854: checking for $ac_word" >&5
|
2855 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2856 |
|
|
if test "${ac_cv_prog_LD+set}" = set; then
|
2857 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2858 |
|
|
else
|
2859 |
|
|
if test -n "$LD"; then
|
2860 |
|
|
ac_cv_prog_LD="$LD" # Let the user override the test.
|
2861 |
|
|
else
|
2862 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
2863 |
|
|
ac_dummy="$PATH"
|
2864 |
|
|
for ac_dir in $ac_dummy; do
|
2865 |
|
|
IFS=$ac_save_IFS
|
2866 |
|
|
test -z "$ac_dir" && ac_dir=.
|
2867 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
2868 |
|
|
ac_cv_prog_LD="${rtems_tool_prefix}ld"
|
2869 |
|
|
echo "$as_me:2869: found $ac_dir/$ac_word" >&5
|
2870 |
|
|
break
|
2871 |
|
|
done
|
2872 |
|
|
|
2873 |
|
|
test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="no"
|
2874 |
|
|
fi
|
2875 |
|
|
fi
|
2876 |
|
|
LD=$ac_cv_prog_LD
|
2877 |
|
|
if test -n "$LD"; then
|
2878 |
|
|
echo "$as_me:2878: result: $LD" >&5
|
2879 |
|
|
echo "${ECHO_T}$LD" >&6
|
2880 |
|
|
else
|
2881 |
|
|
echo "$as_me:2881: result: no" >&5
|
2882 |
|
|
echo "${ECHO_T}no" >&6
|
2883 |
|
|
fi
|
2884 |
|
|
|
2885 |
|
|
if test "x$build_alias" != "x$host_alias"; then
|
2886 |
|
|
rtems_tool_prefix=${ac_tool_prefix}
|
2887 |
|
|
fi
|
2888 |
|
|
|
2889 |
|
|
# Extract the first word of "${rtems_tool_prefix}nm", so it can be a program name with args.
|
2890 |
|
|
set dummy ${rtems_tool_prefix}nm; ac_word=$2
|
2891 |
|
|
echo "$as_me:2891: checking for $ac_word" >&5
|
2892 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2893 |
|
|
if test "${ac_cv_prog_NM+set}" = set; then
|
2894 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2895 |
|
|
else
|
2896 |
|
|
if test -n "$NM"; then
|
2897 |
|
|
ac_cv_prog_NM="$NM" # Let the user override the test.
|
2898 |
|
|
else
|
2899 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
2900 |
|
|
ac_dummy="$PATH"
|
2901 |
|
|
for ac_dir in $ac_dummy; do
|
2902 |
|
|
IFS=$ac_save_IFS
|
2903 |
|
|
test -z "$ac_dir" && ac_dir=.
|
2904 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
2905 |
|
|
ac_cv_prog_NM="${rtems_tool_prefix}nm"
|
2906 |
|
|
echo "$as_me:2906: found $ac_dir/$ac_word" >&5
|
2907 |
|
|
break
|
2908 |
|
|
done
|
2909 |
|
|
|
2910 |
|
|
test -z "$ac_cv_prog_NM" && ac_cv_prog_NM="no"
|
2911 |
|
|
fi
|
2912 |
|
|
fi
|
2913 |
|
|
NM=$ac_cv_prog_NM
|
2914 |
|
|
if test -n "$NM"; then
|
2915 |
|
|
echo "$as_me:2915: result: $NM" >&5
|
2916 |
|
|
echo "${ECHO_T}$NM" >&6
|
2917 |
|
|
else
|
2918 |
|
|
echo "$as_me:2918: result: no" >&5
|
2919 |
|
|
echo "${ECHO_T}no" >&6
|
2920 |
|
|
fi
|
2921 |
|
|
|
2922 |
|
|
if test "x$build_alias" != "x$host_alias"; then
|
2923 |
|
|
rtems_tool_prefix=${ac_tool_prefix}
|
2924 |
|
|
fi
|
2925 |
|
|
|
2926 |
|
|
# Extract the first word of "${rtems_tool_prefix}ranlib", so it can be a program name with args.
|
2927 |
|
|
set dummy ${rtems_tool_prefix}ranlib; ac_word=$2
|
2928 |
|
|
echo "$as_me:2928: checking for $ac_word" >&5
|
2929 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2930 |
|
|
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
2931 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2932 |
|
|
else
|
2933 |
|
|
if test -n "$RANLIB"; then
|
2934 |
|
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
2935 |
|
|
else
|
2936 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
2937 |
|
|
ac_dummy="$PATH"
|
2938 |
|
|
for ac_dir in $ac_dummy; do
|
2939 |
|
|
IFS=$ac_save_IFS
|
2940 |
|
|
test -z "$ac_dir" && ac_dir=.
|
2941 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
2942 |
|
|
ac_cv_prog_RANLIB="${rtems_tool_prefix}ranlib"
|
2943 |
|
|
echo "$as_me:2943: found $ac_dir/$ac_word" >&5
|
2944 |
|
|
break
|
2945 |
|
|
done
|
2946 |
|
|
|
2947 |
|
|
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
|
2948 |
|
|
fi
|
2949 |
|
|
fi
|
2950 |
|
|
RANLIB=$ac_cv_prog_RANLIB
|
2951 |
|
|
if test -n "$RANLIB"; then
|
2952 |
|
|
echo "$as_me:2952: result: $RANLIB" >&5
|
2953 |
|
|
echo "${ECHO_T}$RANLIB" >&6
|
2954 |
|
|
else
|
2955 |
|
|
echo "$as_me:2955: result: no" >&5
|
2956 |
|
|
echo "${ECHO_T}no" >&6
|
2957 |
|
|
fi
|
2958 |
|
|
|
2959 |
|
|
if test "x$build_alias" != "x$host_alias"; then
|
2960 |
|
|
rtems_tool_prefix=${ac_tool_prefix}
|
2961 |
|
|
fi
|
2962 |
|
|
|
2963 |
|
|
# Extract the first word of "${rtems_tool_prefix}objcopy", so it can be a program name with args.
|
2964 |
|
|
set dummy ${rtems_tool_prefix}objcopy; ac_word=$2
|
2965 |
|
|
echo "$as_me:2965: checking for $ac_word" >&5
|
2966 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2967 |
|
|
if test "${ac_cv_prog_OBJCOPY+set}" = set; then
|
2968 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2969 |
|
|
else
|
2970 |
|
|
if test -n "$OBJCOPY"; then
|
2971 |
|
|
ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
|
2972 |
|
|
else
|
2973 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
2974 |
|
|
ac_dummy="$PATH"
|
2975 |
|
|
for ac_dir in $ac_dummy; do
|
2976 |
|
|
IFS=$ac_save_IFS
|
2977 |
|
|
test -z "$ac_dir" && ac_dir=.
|
2978 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
2979 |
|
|
ac_cv_prog_OBJCOPY="${rtems_tool_prefix}objcopy"
|
2980 |
|
|
echo "$as_me:2980: found $ac_dir/$ac_word" >&5
|
2981 |
|
|
break
|
2982 |
|
|
done
|
2983 |
|
|
|
2984 |
|
|
test -z "$ac_cv_prog_OBJCOPY" && ac_cv_prog_OBJCOPY="no"
|
2985 |
|
|
fi
|
2986 |
|
|
fi
|
2987 |
|
|
OBJCOPY=$ac_cv_prog_OBJCOPY
|
2988 |
|
|
if test -n "$OBJCOPY"; then
|
2989 |
|
|
echo "$as_me:2989: result: $OBJCOPY" >&5
|
2990 |
|
|
echo "${ECHO_T}$OBJCOPY" >&6
|
2991 |
|
|
else
|
2992 |
|
|
echo "$as_me:2992: result: no" >&5
|
2993 |
|
|
echo "${ECHO_T}no" >&6
|
2994 |
|
|
fi
|
2995 |
|
|
|
2996 |
|
|
if test "x$build_alias" != "x$host_alias"; then
|
2997 |
|
|
rtems_tool_prefix=${ac_tool_prefix}
|
2998 |
|
|
fi
|
2999 |
|
|
|
3000 |
|
|
# Extract the first word of "${rtems_tool_prefix}size", so it can be a program name with args.
|
3001 |
|
|
set dummy ${rtems_tool_prefix}size; ac_word=$2
|
3002 |
|
|
echo "$as_me:3002: checking for $ac_word" >&5
|
3003 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
3004 |
|
|
if test "${ac_cv_prog_SIZE+set}" = set; then
|
3005 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3006 |
|
|
else
|
3007 |
|
|
if test -n "$SIZE"; then
|
3008 |
|
|
ac_cv_prog_SIZE="$SIZE" # Let the user override the test.
|
3009 |
|
|
else
|
3010 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
3011 |
|
|
ac_dummy="$PATH"
|
3012 |
|
|
for ac_dir in $ac_dummy; do
|
3013 |
|
|
IFS=$ac_save_IFS
|
3014 |
|
|
test -z "$ac_dir" && ac_dir=.
|
3015 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
3016 |
|
|
ac_cv_prog_SIZE="${rtems_tool_prefix}size"
|
3017 |
|
|
echo "$as_me:3017: found $ac_dir/$ac_word" >&5
|
3018 |
|
|
break
|
3019 |
|
|
done
|
3020 |
|
|
|
3021 |
|
|
test -z "$ac_cv_prog_SIZE" && ac_cv_prog_SIZE="no"
|
3022 |
|
|
fi
|
3023 |
|
|
fi
|
3024 |
|
|
SIZE=$ac_cv_prog_SIZE
|
3025 |
|
|
if test -n "$SIZE"; then
|
3026 |
|
|
echo "$as_me:3026: result: $SIZE" >&5
|
3027 |
|
|
echo "${ECHO_T}$SIZE" >&6
|
3028 |
|
|
else
|
3029 |
|
|
echo "$as_me:3029: result: no" >&5
|
3030 |
|
|
echo "${ECHO_T}no" >&6
|
3031 |
|
|
fi
|
3032 |
|
|
|
3033 |
|
|
if test "x$build_alias" != "x$host_alias"; then
|
3034 |
|
|
rtems_tool_prefix=${ac_tool_prefix}
|
3035 |
|
|
fi
|
3036 |
|
|
|
3037 |
|
|
# Extract the first word of "${rtems_tool_prefix}strip", so it can be a program name with args.
|
3038 |
|
|
set dummy ${rtems_tool_prefix}strip; ac_word=$2
|
3039 |
|
|
echo "$as_me:3039: checking for $ac_word" >&5
|
3040 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
3041 |
|
|
if test "${ac_cv_prog_STRIP+set}" = set; then
|
3042 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3043 |
|
|
else
|
3044 |
|
|
if test -n "$STRIP"; then
|
3045 |
|
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
3046 |
|
|
else
|
3047 |
|
|
ac_save_IFS=$IFS; IFS=$ac_path_separator
|
3048 |
|
|
ac_dummy="$PATH"
|
3049 |
|
|
for ac_dir in $ac_dummy; do
|
3050 |
|
|
IFS=$ac_save_IFS
|
3051 |
|
|
test -z "$ac_dir" && ac_dir=.
|
3052 |
|
|
$as_executable_p "$ac_dir/$ac_word" || continue
|
3053 |
|
|
ac_cv_prog_STRIP="${rtems_tool_prefix}strip"
|
3054 |
|
|
echo "$as_me:3054: found $ac_dir/$ac_word" >&5
|
3055 |
|
|
break
|
3056 |
|
|
done
|
3057 |
|
|
|
3058 |
|
|
test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
|
3059 |
|
|
fi
|
3060 |
|
|
fi
|
3061 |
|
|
STRIP=$ac_cv_prog_STRIP
|
3062 |
|
|
if test -n "$STRIP"; then
|
3063 |
|
|
echo "$as_me:3063: result: $STRIP" >&5
|
3064 |
|
|
echo "${ECHO_T}$STRIP" >&6
|
3065 |
|
|
else
|
3066 |
|
|
echo "$as_me:3066: result: no" >&5
|
3067 |
|
|
echo "${ECHO_T}no" >&6
|
3068 |
|
|
fi
|
3069 |
|
|
|
3070 |
|
|
echo "$as_me:3070: checking for make/custom/$RTEMS_BSP.cfg" >&5
|
3071 |
|
|
echo $ECHO_N "checking for make/custom/$RTEMS_BSP.cfg... $ECHO_C" >&6
|
3072 |
|
|
if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then
|
3073 |
|
|
echo "$as_me:3073: result: yes" >&5
|
3074 |
|
|
echo "${ECHO_T}yes" >&6
|
3075 |
|
|
else
|
3076 |
|
|
{ { echo "$as_me:3076: error: no" >&5
|
3077 |
|
|
echo "$as_me: error: no" >&2;}
|
3078 |
|
|
{ (exit 1); exit 1; }; }
|
3079 |
|
|
fi
|
3080 |
|
|
|
3081 |
|
|
echo "$as_me:3081: checking whether BSP supports networking" >&5
|
3082 |
|
|
echo $ECHO_N "checking whether BSP supports networking... $ECHO_C" >&6
|
3083 |
|
|
if test "${rtems_cv_HAS_NETWORKING+set}" = set; then
|
3084 |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3085 |
|
|
else
|
3086 |
|
|
case "$RTEMS_CPU" in
|
3087 |
|
|
unix*)
|
3088 |
|
|
rtems_cv_HAS_NETWORKING="no"
|
3089 |
|
|
;;
|
3090 |
|
|
*)
|
3091 |
|
|
if test "${RTEMS_HAS_NETWORKING}" = "yes"; then
|
3092 |
|
|
rtems_cv_HAS_NETWORKING="yes";
|
3093 |
|
|
else
|
3094 |
|
|
rtems_cv_HAS_NETWORKING="disabled";
|
3095 |
|
|
fi
|
3096 |
|
|
;;
|
3097 |
|
|
esac
|
3098 |
|
|
fi
|
3099 |
|
|
echo "$as_me:3099: result: $rtems_cv_HAS_NETWORKING" >&5
|
3100 |
|
|
echo "${ECHO_T}$rtems_cv_HAS_NETWORKING" >&6
|
3101 |
|
|
if test "$rtems_cv_HAS_NETWORKING" = "yes"; then
|
3102 |
|
|
HAS_NETWORKING="yes";
|
3103 |
|
|
else
|
3104 |
|
|
HAS_NETWORKING="no";
|
3105 |
|
|
fi
|
3106 |
|
|
|
3107 |
|
|
# pick up all the Makefiles in required parts of the tree
|
3108 |
|
|
if test "$RTEMS_CPU" = "unix"; then
|
3109 |
|
|
## HACK: Suppress libchip for unix
|
3110 |
|
|
{ { echo "$as_me:3110: error: Can't build libchip for $RTEMS_CPU" >&5
|
3111 |
|
|
echo "$as_me: error: Can't build libchip for $RTEMS_CPU" >&2;}
|
3112 |
|
|
{ (exit 1); exit 1; }; }
|
3113 |
|
|
fi
|
3114 |
|
|
|
3115 |
|
|
if test "$host_cpu" = "sparc"; then
|
3116 |
|
|
|
3117 |
|
|
cat >>confdefs.h <
|
3118 |
|
|
#define CPU_U32_FIX 1
|
3119 |
|
|
EOF
|
3120 |
|
|
|
3121 |
|
|
fi
|
3122 |
|
|
|
3123 |
|
|
if test "$HAS_NETWORKING" = "yes"; then
|
3124 |
|
|
HAS_NETWORKING_TRUE=
|
3125 |
|
|
HAS_NETWORKING_FALSE='#'
|
3126 |
|
|
else
|
3127 |
|
|
HAS_NETWORKING_TRUE='#'
|
3128 |
|
|
HAS_NETWORKING_FALSE=
|
3129 |
|
|
fi
|
3130 |
|
|
|
3131 |
|
|
# Explicitly list all Makefiles here
|
3132 |
|
|
ac_config_files="$ac_config_files Makefile network/Makefile rtc/Makefile serial/Makefile"
|
3133 |
|
|
|
3134 |
|
|
cat >confcache <<\_ACEOF
|
3135 |
|
|
# This file is a shell script that caches the results of configure
|
3136 |
|
|
# tests run on this system so they can be shared between configure
|
3137 |
|
|
# scripts and configure runs, see configure's option --config-cache.
|
3138 |
|
|
# It is not useful on other systems. If it contains results you don't
|
3139 |
|
|
# want to keep, you may remove or edit it.
|
3140 |
|
|
#
|
3141 |
|
|
# config.status only pays attention to the cache file if you give it
|
3142 |
|
|
# the --recheck option to rerun configure.
|
3143 |
|
|
#
|
3144 |
|
|
# `ac_cv_env_foo' variables (set or unset) will be overriden when
|
3145 |
|
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
3146 |
|
|
# following values.
|
3147 |
|
|
|
3148 |
|
|
_ACEOF
|
3149 |
|
|
|
3150 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
3151 |
|
|
# but we know of no workaround that is simple, portable, and efficient.
|
3152 |
|
|
# So, don't put newlines in cache variables' values.
|
3153 |
|
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
3154 |
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
3155 |
|
|
{
|
3156 |
|
|
(set) 2>&1 |
|
3157 |
|
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
3158 |
|
|
*ac_space=\ *)
|
3159 |
|
|
# `set' does not quote correctly, so add quotes (double-quote
|
3160 |
|
|
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
3161 |
|
|
sed -n \
|
3162 |
|
|
"s/'/'\\\\''/g;
|
3163 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
3164 |
|
|
;;
|
3165 |
|
|
*)
|
3166 |
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
3167 |
|
|
sed -n \
|
3168 |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
3169 |
|
|
;;
|
3170 |
|
|
esac;
|
3171 |
|
|
} |
|
3172 |
|
|
sed '
|
3173 |
|
|
t clear
|
3174 |
|
|
: clear
|
3175 |
|
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
3176 |
|
|
t end
|
3177 |
|
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
3178 |
|
|
: end' >>confcache
|
3179 |
|
|
if cmp -s $cache_file confcache; then :; else
|
3180 |
|
|
if test -w $cache_file; then
|
3181 |
|
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
3182 |
|
|
cat confcache >$cache_file
|
3183 |
|
|
else
|
3184 |
|
|
echo "not updating unwritable cache $cache_file"
|
3185 |
|
|
fi
|
3186 |
|
|
fi
|
3187 |
|
|
rm -f confcache
|
3188 |
|
|
|
3189 |
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
3190 |
|
|
# Let make expand exec_prefix.
|
3191 |
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
3192 |
|
|
|
3193 |
|
|
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
3194 |
|
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
3195 |
|
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
3196 |
|
|
# (actually we leave an empty line to preserve line numbers).
|
3197 |
|
|
if test "x$srcdir" = x.; then
|
3198 |
|
|
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
3199 |
|
|
s/:*\$(srcdir):*/:/;
|
3200 |
|
|
s/:*\${srcdir}:*/:/;
|
3201 |
|
|
s/:*@srcdir@:*/:/;
|
3202 |
|
|
s/^\([^=]*=[ ]*\):*/\1/;
|
3203 |
|
|
s/:*$//;
|
3204 |
|
|
s/^[^=]*=[ ]*$//;
|
3205 |
|
|
}'
|
3206 |
|
|
fi
|
3207 |
|
|
|
3208 |
|
|
# Transform confdefs.h into DEFS.
|
3209 |
|
|
# Protect against shell expansion while executing Makefile rules.
|
3210 |
|
|
# Protect against Makefile macro expansion.
|
3211 |
|
|
#
|
3212 |
|
|
# If the first sed substitution is executed (which looks for macros that
|
3213 |
|
|
# take arguments), then we branch to the quote section. Otherwise,
|
3214 |
|
|
# look for a macro that doesn't take arguments.
|
3215 |
|
|
cat >confdef2opt.sed <<\EOF
|
3216 |
|
|
t clear
|
3217 |
|
|
: clear
|
3218 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
3219 |
|
|
t quote
|
3220 |
|
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
3221 |
|
|
t quote
|
3222 |
|
|
d
|
3223 |
|
|
: quote
|
3224 |
|
|
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
3225 |
|
|
s,\[,\\&,g
|
3226 |
|
|
s,\],\\&,g
|
3227 |
|
|
s,\$,$$,g
|
3228 |
|
|
p
|
3229 |
|
|
EOF
|
3230 |
|
|
# We use echo to avoid assuming a particular line-breaking character.
|
3231 |
|
|
# The extra dot is to prevent the shell from consuming trailing
|
3232 |
|
|
# line-breaks from the sub-command output. A line-break within
|
3233 |
|
|
# single-quotes doesn't work because, if this script is created in a
|
3234 |
|
|
# platform that uses two characters for line-breaks (e.g., DOS), tr
|
3235 |
|
|
# would break.
|
3236 |
|
|
ac_LF_and_DOT=`echo; echo .`
|
3237 |
|
|
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
3238 |
|
|
rm -f confdef2opt.sed
|
3239 |
|
|
|
3240 |
|
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
|
3241 |
|
|
{ { echo "$as_me:3241: error: conditional \"MAINTAINER_MODE\" was never defined.
|
3242 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
3243 |
|
|
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
|
3244 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
3245 |
|
|
{ (exit 1); exit 1; }; }
|
3246 |
|
|
fi
|
3247 |
|
|
if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then
|
3248 |
|
|
{ { echo "$as_me:3248: error: conditional \"MULTILIB\" was never defined.
|
3249 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
3250 |
|
|
echo "$as_me: error: conditional \"MULTILIB\" was never defined.
|
3251 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
3252 |
|
|
{ (exit 1); exit 1; }; }
|
3253 |
|
|
fi
|
3254 |
|
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
3255 |
|
|
{ { echo "$as_me:3255: error: conditional \"AMDEP\" was never defined.
|
3256 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
3257 |
|
|
echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
3258 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
3259 |
|
|
{ (exit 1); exit 1; }; }
|
3260 |
|
|
fi
|
3261 |
|
|
if test -z "${RTEMS_USE_GCC_TRUE}" && test -z "${RTEMS_USE_GCC_FALSE}"; then
|
3262 |
|
|
{ { echo "$as_me:3262: error: conditional \"RTEMS_USE_GCC\" was never defined.
|
3263 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
3264 |
|
|
echo "$as_me: error: conditional \"RTEMS_USE_GCC\" was never defined.
|
3265 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
3266 |
|
|
{ (exit 1); exit 1; }; }
|
3267 |
|
|
fi
|
3268 |
|
|
if test -z "${HAS_NETWORKING_TRUE}" && test -z "${HAS_NETWORKING_FALSE}"; then
|
3269 |
|
|
{ { echo "$as_me:3269: error: conditional \"HAS_NETWORKING\" was never defined.
|
3270 |
|
|
Usually this means the macro was only invoked conditionally." >&5
|
3271 |
|
|
echo "$as_me: error: conditional \"HAS_NETWORKING\" was never defined.
|
3272 |
|
|
Usually this means the macro was only invoked conditionally." >&2;}
|
3273 |
|
|
{ (exit 1); exit 1; }; }
|
3274 |
|
|
fi
|
3275 |
|
|
|
3276 |
|
|
: ${CONFIG_STATUS=./config.status}
|
3277 |
|
|
ac_clean_files_save=$ac_clean_files
|
3278 |
|
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
3279 |
|
|
{ echo "$as_me:3279: creating $CONFIG_STATUS" >&5
|
3280 |
|
|
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
3281 |
|
|
cat >$CONFIG_STATUS <<_ACEOF
|
3282 |
|
|
#! $SHELL
|
3283 |
|
|
# Generated automatically by configure.
|
3284 |
|
|
# Run this file to recreate the current configuration.
|
3285 |
|
|
# Compiler output produced by configure, useful for debugging
|
3286 |
|
|
# configure, is in config.log if it exists.
|
3287 |
|
|
|
3288 |
|
|
debug=false
|
3289 |
|
|
SHELL=\${CONFIG_SHELL-$SHELL}
|
3290 |
|
|
ac_cs_invocation="\$0 \$@"
|
3291 |
|
|
|
3292 |
|
|
_ACEOF
|
3293 |
|
|
|
3294 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
3295 |
|
|
# Be Bourne compatible
|
3296 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
3297 |
|
|
emulate sh
|
3298 |
|
|
NULLCMD=:
|
3299 |
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
3300 |
|
|
set -o posix
|
3301 |
|
|
fi
|
3302 |
|
|
|
3303 |
|
|
# Name of the executable.
|
3304 |
|
|
as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
3305 |
|
|
|
3306 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
3307 |
|
|
as_expr=expr
|
3308 |
|
|
else
|
3309 |
|
|
as_expr=false
|
3310 |
|
|
fi
|
3311 |
|
|
|
3312 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
3313 |
|
|
echo >conf$$.file
|
3314 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
3315 |
|
|
# We could just check for DJGPP; but this test a) works b) is more generic
|
3316 |
|
|
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
3317 |
|
|
if test -f conf$$.exe; then
|
3318 |
|
|
# Don't use ln at all; we don't have any links
|
3319 |
|
|
as_ln_s='cp -p'
|
3320 |
|
|
else
|
3321 |
|
|
as_ln_s='ln -s'
|
3322 |
|
|
fi
|
3323 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
3324 |
|
|
as_ln_s=ln
|
3325 |
|
|
else
|
3326 |
|
|
as_ln_s='cp -p'
|
3327 |
|
|
fi
|
3328 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
3329 |
|
|
|
3330 |
|
|
as_executable_p="test -f"
|
3331 |
|
|
|
3332 |
|
|
# Support unset when possible.
|
3333 |
|
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
3334 |
|
|
as_unset=unset
|
3335 |
|
|
else
|
3336 |
|
|
as_unset=false
|
3337 |
|
|
fi
|
3338 |
|
|
|
3339 |
|
|
# NLS nuisances.
|
3340 |
|
|
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
3341 |
|
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
3342 |
|
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
3343 |
|
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
3344 |
|
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
3345 |
|
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
3346 |
|
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
3347 |
|
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
3348 |
|
|
|
3349 |
|
|
# IFS
|
3350 |
|
|
# We need space, tab and new line, in precisely that order.
|
3351 |
|
|
as_nl='
|
3352 |
|
|
'
|
3353 |
|
|
IFS=" $as_nl"
|
3354 |
|
|
|
3355 |
|
|
# CDPATH.
|
3356 |
|
|
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
3357 |
|
|
|
3358 |
|
|
exec 6>&1
|
3359 |
|
|
|
3360 |
|
|
_ACEOF
|
3361 |
|
|
|
3362 |
|
|
# Files that config.status was made for.
|
3363 |
|
|
if test -n "$ac_config_files"; then
|
3364 |
|
|
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
3365 |
|
|
fi
|
3366 |
|
|
|
3367 |
|
|
if test -n "$ac_config_headers"; then
|
3368 |
|
|
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
3369 |
|
|
fi
|
3370 |
|
|
|
3371 |
|
|
if test -n "$ac_config_links"; then
|
3372 |
|
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
3373 |
|
|
fi
|
3374 |
|
|
|
3375 |
|
|
if test -n "$ac_config_commands"; then
|
3376 |
|
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
3377 |
|
|
fi
|
3378 |
|
|
|
3379 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3380 |
|
|
|
3381 |
|
|
ac_cs_usage="\
|
3382 |
|
|
\`$as_me' instantiates files from templates according to the
|
3383 |
|
|
current configuration.
|
3384 |
|
|
|
3385 |
|
|
Usage: $0 [OPTIONS] [FILE]...
|
3386 |
|
|
|
3387 |
|
|
-h, --help print this help, then exit
|
3388 |
|
|
-V, --version print version number, then exit
|
3389 |
|
|
-d, --debug don't remove temporary files
|
3390 |
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
3391 |
|
|
--file=FILE[:TEMPLATE]
|
3392 |
|
|
instantiate the configuration file FILE
|
3393 |
|
|
|
3394 |
|
|
Configuration files:
|
3395 |
|
|
$config_files
|
3396 |
|
|
|
3397 |
|
|
Configuration commands:
|
3398 |
|
|
$config_commands
|
3399 |
|
|
|
3400 |
|
|
Report bugs to ."
|
3401 |
|
|
EOF
|
3402 |
|
|
|
3403 |
|
|
cat >>$CONFIG_STATUS <
|
3404 |
|
|
ac_cs_version="\\
|
3405 |
|
|
rtems-c-src-libchip config.status ss-20020807
|
3406 |
|
|
configured by $0, generated by GNU Autoconf 2.52,
|
3407 |
|
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
3408 |
|
|
|
3409 |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
3410 |
|
|
Free Software Foundation, Inc.
|
3411 |
|
|
This config.status script is free software; the Free Software Foundation
|
3412 |
|
|
gives unlimited permission to copy, distribute and modify it."
|
3413 |
|
|
srcdir=$srcdir
|
3414 |
|
|
INSTALL="$INSTALL"
|
3415 |
|
|
EOF
|
3416 |
|
|
|
3417 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3418 |
|
|
# If no file are specified by the user, then we need to provide default
|
3419 |
|
|
# value. By we need to know if files were specified by the user.
|
3420 |
|
|
ac_need_defaults=:
|
3421 |
|
|
while test $# != 0
|
3422 |
|
|
do
|
3423 |
|
|
case $1 in
|
3424 |
|
|
--*=*)
|
3425 |
|
|
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
3426 |
|
|
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
3427 |
|
|
shift
|
3428 |
|
|
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
|
3429 |
|
|
shift
|
3430 |
|
|
;;
|
3431 |
|
|
-*);;
|
3432 |
|
|
*) # This is not an option, so the user has probably given explicit
|
3433 |
|
|
# arguments.
|
3434 |
|
|
ac_need_defaults=false;;
|
3435 |
|
|
esac
|
3436 |
|
|
|
3437 |
|
|
case $1 in
|
3438 |
|
|
# Handling of the options.
|
3439 |
|
|
EOF
|
3440 |
|
|
cat >>$CONFIG_STATUS <
|
3441 |
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
3442 |
|
|
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
|
3443 |
|
|
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
|
3444 |
|
|
EOF
|
3445 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3446 |
|
|
--version | --vers* | -V )
|
3447 |
|
|
echo "$ac_cs_version"; exit 0 ;;
|
3448 |
|
|
--he | --h)
|
3449 |
|
|
# Conflict between --help and --header
|
3450 |
|
|
{ { echo "$as_me:3450: error: ambiguous option: $1
|
3451 |
|
|
Try \`$0 --help' for more information." >&5
|
3452 |
|
|
echo "$as_me: error: ambiguous option: $1
|
3453 |
|
|
Try \`$0 --help' for more information." >&2;}
|
3454 |
|
|
{ (exit 1); exit 1; }; };;
|
3455 |
|
|
--help | --hel | -h )
|
3456 |
|
|
echo "$ac_cs_usage"; exit 0 ;;
|
3457 |
|
|
--debug | --d* | -d )
|
3458 |
|
|
debug=: ;;
|
3459 |
|
|
--file | --fil | --fi | --f )
|
3460 |
|
|
shift
|
3461 |
|
|
CONFIG_FILES="$CONFIG_FILES $1"
|
3462 |
|
|
ac_need_defaults=false;;
|
3463 |
|
|
--header | --heade | --head | --hea )
|
3464 |
|
|
shift
|
3465 |
|
|
CONFIG_HEADERS="$CONFIG_HEADERS $1"
|
3466 |
|
|
ac_need_defaults=false;;
|
3467 |
|
|
|
3468 |
|
|
# This is an error.
|
3469 |
|
|
-*) { { echo "$as_me:3469: error: unrecognized option: $1
|
3470 |
|
|
Try \`$0 --help' for more information." >&5
|
3471 |
|
|
echo "$as_me: error: unrecognized option: $1
|
3472 |
|
|
Try \`$0 --help' for more information." >&2;}
|
3473 |
|
|
{ (exit 1); exit 1; }; } ;;
|
3474 |
|
|
|
3475 |
|
|
*) ac_config_targets="$ac_config_targets $1" ;;
|
3476 |
|
|
|
3477 |
|
|
esac
|
3478 |
|
|
shift
|
3479 |
|
|
done
|
3480 |
|
|
|
3481 |
|
|
exec 5>>config.log
|
3482 |
|
|
cat >&5 << _ACEOF
|
3483 |
|
|
|
3484 |
|
|
## ----------------------- ##
|
3485 |
|
|
## Running config.status. ##
|
3486 |
|
|
## ----------------------- ##
|
3487 |
|
|
|
3488 |
|
|
This file was extended by $as_me (rtems-c-src-libchip ss-20020807) 2.52, executed with
|
3489 |
|
|
CONFIG_FILES = $CONFIG_FILES
|
3490 |
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
3491 |
|
|
CONFIG_LINKS = $CONFIG_LINKS
|
3492 |
|
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
3493 |
|
|
> $ac_cs_invocation
|
3494 |
|
|
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
3495 |
|
|
|
3496 |
|
|
_ACEOF
|
3497 |
|
|
EOF
|
3498 |
|
|
|
3499 |
|
|
cat >>$CONFIG_STATUS <
|
3500 |
|
|
#
|
3501 |
|
|
# INIT-COMMANDS section.
|
3502 |
|
|
#
|
3503 |
|
|
|
3504 |
|
|
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
3505 |
|
|
|
3506 |
|
|
EOF
|
3507 |
|
|
|
3508 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3509 |
|
|
for ac_config_target in $ac_config_targets
|
3510 |
|
|
do
|
3511 |
|
|
case "$ac_config_target" in
|
3512 |
|
|
# Handling of arguments.
|
3513 |
|
|
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
3514 |
|
|
"network/Makefile" ) CONFIG_FILES="$CONFIG_FILES network/Makefile" ;;
|
3515 |
|
|
"rtc/Makefile" ) CONFIG_FILES="$CONFIG_FILES rtc/Makefile" ;;
|
3516 |
|
|
"serial/Makefile" ) CONFIG_FILES="$CONFIG_FILES serial/Makefile" ;;
|
3517 |
|
|
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
3518 |
|
|
*) { { echo "$as_me:3518: error: invalid argument: $ac_config_target" >&5
|
3519 |
|
|
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
3520 |
|
|
{ (exit 1); exit 1; }; };;
|
3521 |
|
|
esac
|
3522 |
|
|
done
|
3523 |
|
|
|
3524 |
|
|
# If the user did not use the arguments to specify the items to instantiate,
|
3525 |
|
|
# then the envvar interface is used. Set only those that are not.
|
3526 |
|
|
# We use the long form for the default assignment because of an extremely
|
3527 |
|
|
# bizarre bug on SunOS 4.1.3.
|
3528 |
|
|
if $ac_need_defaults; then
|
3529 |
|
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
3530 |
|
|
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
3531 |
|
|
fi
|
3532 |
|
|
|
3533 |
|
|
# Create a temporary directory, and hook for its removal unless debugging.
|
3534 |
|
|
$debug ||
|
3535 |
|
|
{
|
3536 |
|
|
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
3537 |
|
|
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
3538 |
|
|
}
|
3539 |
|
|
|
3540 |
|
|
# Create a (secure) tmp directory for tmp files.
|
3541 |
|
|
: ${TMPDIR=/tmp}
|
3542 |
|
|
{
|
3543 |
|
|
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
|
3544 |
|
|
test -n "$tmp" && test -d "$tmp"
|
3545 |
|
|
} ||
|
3546 |
|
|
{
|
3547 |
|
|
tmp=$TMPDIR/cs$$-$RANDOM
|
3548 |
|
|
(umask 077 && mkdir $tmp)
|
3549 |
|
|
} ||
|
3550 |
|
|
{
|
3551 |
|
|
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
|
3552 |
|
|
{ (exit 1); exit 1; }
|
3553 |
|
|
}
|
3554 |
|
|
|
3555 |
|
|
EOF
|
3556 |
|
|
|
3557 |
|
|
cat >>$CONFIG_STATUS <
|
3558 |
|
|
|
3559 |
|
|
#
|
3560 |
|
|
# CONFIG_FILES section.
|
3561 |
|
|
#
|
3562 |
|
|
|
3563 |
|
|
# No need to generate the scripts if there are no CONFIG_FILES.
|
3564 |
|
|
# This happens for instance when ./config.status config.h
|
3565 |
|
|
if test -n "\$CONFIG_FILES"; then
|
3566 |
|
|
# Protect against being on the right side of a sed subst in config.status.
|
3567 |
|
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
3568 |
|
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
3569 |
|
|
s,@SHELL@,$SHELL,;t t
|
3570 |
|
|
s,@exec_prefix@,$exec_prefix,;t t
|
3571 |
|
|
s,@prefix@,$prefix,;t t
|
3572 |
|
|
s,@program_transform_name@,$program_transform_name,;t t
|
3573 |
|
|
s,@bindir@,$bindir,;t t
|
3574 |
|
|
s,@sbindir@,$sbindir,;t t
|
3575 |
|
|
s,@libexecdir@,$libexecdir,;t t
|
3576 |
|
|
s,@datadir@,$datadir,;t t
|
3577 |
|
|
s,@sysconfdir@,$sysconfdir,;t t
|
3578 |
|
|
s,@sharedstatedir@,$sharedstatedir,;t t
|
3579 |
|
|
s,@localstatedir@,$localstatedir,;t t
|
3580 |
|
|
s,@libdir@,$libdir,;t t
|
3581 |
|
|
s,@includedir@,$includedir,;t t
|
3582 |
|
|
s,@oldincludedir@,$oldincludedir,;t t
|
3583 |
|
|
s,@infodir@,$infodir,;t t
|
3584 |
|
|
s,@mandir@,$mandir,;t t
|
3585 |
|
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
3586 |
|
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
3587 |
|
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
3588 |
|
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
3589 |
|
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
3590 |
|
|
s,@build_alias@,$build_alias,;t t
|
3591 |
|
|
s,@host_alias@,$host_alias,;t t
|
3592 |
|
|
s,@target_alias@,$target_alias,;t t
|
3593 |
|
|
s,@ECHO_C@,$ECHO_C,;t t
|
3594 |
|
|
s,@ECHO_N@,$ECHO_N,;t t
|
3595 |
|
|
s,@ECHO_T@,$ECHO_T,;t t
|
3596 |
|
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
3597 |
|
|
s,@DEFS@,$DEFS,;t t
|
3598 |
|
|
s,@LIBS@,$LIBS,;t t
|
3599 |
|
|
s,@MAKE@,$MAKE,;t t
|
3600 |
|
|
s,@ENDIF@,$ENDIF,;t t
|
3601 |
|
|
s,@RTEMS_TOPdir@,$RTEMS_TOPdir,;t t
|
3602 |
|
|
s,@PROJECT_TOPdir@,$PROJECT_TOPdir,;t t
|
3603 |
|
|
s,@PROJECT_ROOT@,$PROJECT_ROOT,;t t
|
3604 |
|
|
s,@build@,$build,;t t
|
3605 |
|
|
s,@build_cpu@,$build_cpu,;t t
|
3606 |
|
|
s,@build_vendor@,$build_vendor,;t t
|
3607 |
|
|
s,@build_os@,$build_os,;t t
|
3608 |
|
|
s,@host@,$host,;t t
|
3609 |
|
|
s,@host_cpu@,$host_cpu,;t t
|
3610 |
|
|
s,@host_vendor@,$host_vendor,;t t
|
3611 |
|
|
s,@host_os@,$host_os,;t t
|
3612 |
|
|
s,@target@,$target,;t t
|
3613 |
|
|
s,@target_cpu@,$target_cpu,;t t
|
3614 |
|
|
s,@target_vendor@,$target_vendor,;t t
|
3615 |
|
|
s,@target_os@,$target_os,;t t
|
3616 |
|
|
s,@RTEMS_CPU@,$RTEMS_CPU,;t t
|
3617 |
|
|
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
3618 |
|
|
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
3619 |
|
|
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
3620 |
|
|
s,@PACKAGE@,$PACKAGE,;t t
|
3621 |
|
|
s,@VERSION@,$VERSION,;t t
|
3622 |
|
|
s,@ACLOCAL@,$ACLOCAL,;t t
|
3623 |
|
|
s,@AUTOCONF@,$AUTOCONF,;t t
|
3624 |
|
|
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
3625 |
|
|
s,@AUTOHEADER@,$AUTOHEADER,;t t
|
3626 |
|
|
s,@MAKEINFO@,$MAKEINFO,;t t
|
3627 |
|
|
s,@AMTAR@,$AMTAR,;t t
|
3628 |
|
|
s,@install_sh@,$install_sh,;t t
|
3629 |
|
|
s,@STRIP@,$STRIP,;t t
|
3630 |
|
|
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
|
3631 |
|
|
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
|
3632 |
|
|
s,@AWK@,$AWK,;t t
|
3633 |
|
|
s,@SET_MAKE@,$SET_MAKE,;t t
|
3634 |
|
|
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
|
3635 |
|
|
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
|
3636 |
|
|
s,@MAINT@,$MAINT,;t t
|
3637 |
|
|
s,@RTEMS_HAS_NETWORKING@,$RTEMS_HAS_NETWORKING,;t t
|
3638 |
|
|
s,@RTEMS_BSP@,$RTEMS_BSP,;t t
|
3639 |
|
|
s,@RTEMS_BSP_SPECS@,$RTEMS_BSP_SPECS,;t t
|
3640 |
|
|
s,@GCC_SPECS@,$GCC_SPECS,;t t
|
3641 |
|
|
s,@PROJECT_INCLUDE@,$PROJECT_INCLUDE,;t t
|
3642 |
|
|
s,@PROJECT_RELEASE@,$PROJECT_RELEASE,;t t
|
3643 |
|
|
s,@RTEMS_ROOT@,$RTEMS_ROOT,;t t
|
3644 |
|
|
s,@BARE_CPU_MODEL@,$BARE_CPU_MODEL,;t t
|
3645 |
|
|
s,@BARE_CPU_CFLAGS@,$BARE_CPU_CFLAGS,;t t
|
3646 |
|
|
s,@MULTILIB_TRUE@,$MULTILIB_TRUE,;t t
|
3647 |
|
|
s,@MULTILIB_FALSE@,$MULTILIB_FALSE,;t t
|
3648 |
|
|
s,@bsplibdir@,$bsplibdir,;t t
|
3649 |
|
|
s,@RTEMS_HOST@,$RTEMS_HOST,;t t
|
3650 |
|
|
s,@PACKHEX@,$PACKHEX,;t t
|
3651 |
|
|
s,@CC@,$CC,;t t
|
3652 |
|
|
s,@CFLAGS@,$CFLAGS,;t t
|
3653 |
|
|
s,@LDFLAGS@,$LDFLAGS,;t t
|
3654 |
|
|
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
3655 |
|
|
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
3656 |
|
|
s,@EXEEXT@,$EXEEXT,;t t
|
3657 |
|
|
s,@OBJEXT@,$OBJEXT,;t t
|
3658 |
|
|
s,@DEPDIR@,$DEPDIR,;t t
|
3659 |
|
|
s,@am__include@,$am__include,;t t
|
3660 |
|
|
s,@am__quote@,$am__quote,;t t
|
3661 |
|
|
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
|
3662 |
|
|
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
|
3663 |
|
|
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
|
3664 |
|
|
s,@CCDEPMODE@,$CCDEPMODE,;t t
|
3665 |
|
|
s,@CPP@,$CPP,;t t
|
3666 |
|
|
s,@RTEMS_USE_GCC_TRUE@,$RTEMS_USE_GCC_TRUE,;t t
|
3667 |
|
|
s,@RTEMS_USE_GCC_FALSE@,$RTEMS_USE_GCC_FALSE,;t t
|
3668 |
|
|
s,@GCCSED@,$GCCSED,;t t
|
3669 |
|
|
s,@AR@,$AR,;t t
|
3670 |
|
|
s,@AS@,$AS,;t t
|
3671 |
|
|
s,@LD@,$LD,;t t
|
3672 |
|
|
s,@NM@,$NM,;t t
|
3673 |
|
|
s,@RANLIB@,$RANLIB,;t t
|
3674 |
|
|
s,@OBJCOPY@,$OBJCOPY,;t t
|
3675 |
|
|
s,@SIZE@,$SIZE,;t t
|
3676 |
|
|
s,@HAS_NETWORKING@,$HAS_NETWORKING,;t t
|
3677 |
|
|
s,@HAS_NETWORKING_TRUE@,$HAS_NETWORKING_TRUE,;t t
|
3678 |
|
|
s,@HAS_NETWORKING_FALSE@,$HAS_NETWORKING_FALSE,;t t
|
3679 |
|
|
CEOF
|
3680 |
|
|
|
3681 |
|
|
EOF
|
3682 |
|
|
|
3683 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3684 |
|
|
# Split the substitutions into bite-sized pieces for seds with
|
3685 |
|
|
# small command number limits, like on Digital OSF/1 and HP-UX.
|
3686 |
|
|
ac_max_sed_lines=48
|
3687 |
|
|
ac_sed_frag=1 # Number of current file.
|
3688 |
|
|
ac_beg=1 # First line for current file.
|
3689 |
|
|
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
3690 |
|
|
ac_more_lines=:
|
3691 |
|
|
ac_sed_cmds=
|
3692 |
|
|
while $ac_more_lines; do
|
3693 |
|
|
if test $ac_beg -gt 1; then
|
3694 |
|
|
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
3695 |
|
|
else
|
3696 |
|
|
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
3697 |
|
|
fi
|
3698 |
|
|
if test ! -s $tmp/subs.frag; then
|
3699 |
|
|
ac_more_lines=false
|
3700 |
|
|
else
|
3701 |
|
|
# The purpose of the label and of the branching condition is to
|
3702 |
|
|
# speed up the sed processing (if there are no `@' at all, there
|
3703 |
|
|
# is no need to browse any of the substitutions).
|
3704 |
|
|
# These are the two extra sed commands mentioned above.
|
3705 |
|
|
(echo ':t
|
3706 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
3707 |
|
|
if test -z "$ac_sed_cmds"; then
|
3708 |
|
|
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
3709 |
|
|
else
|
3710 |
|
|
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
3711 |
|
|
fi
|
3712 |
|
|
ac_sed_frag=`expr $ac_sed_frag + 1`
|
3713 |
|
|
ac_beg=$ac_end
|
3714 |
|
|
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
3715 |
|
|
fi
|
3716 |
|
|
done
|
3717 |
|
|
if test -z "$ac_sed_cmds"; then
|
3718 |
|
|
ac_sed_cmds=cat
|
3719 |
|
|
fi
|
3720 |
|
|
fi # test -n "$CONFIG_FILES"
|
3721 |
|
|
|
3722 |
|
|
EOF
|
3723 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3724 |
|
|
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
3725 |
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
3726 |
|
|
case $ac_file in
|
3727 |
|
|
- | *:- | *:-:* ) # input from stdin
|
3728 |
|
|
cat >$tmp/stdin
|
3729 |
|
|
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
3730 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
3731 |
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
3732 |
|
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
3733 |
|
|
* ) ac_file_in=$ac_file.in ;;
|
3734 |
|
|
esac
|
3735 |
|
|
|
3736 |
|
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
3737 |
|
|
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3738 |
|
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
3739 |
|
|
X"$ac_file" : 'X\(//\)$' \| \
|
3740 |
|
|
X"$ac_file" : 'X\(/\)' \| \
|
3741 |
|
|
. : '\(.\)' 2>/dev/null ||
|
3742 |
|
|
echo X"$ac_file" |
|
3743 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3744 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3745 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
3746 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
3747 |
|
|
s/.*/./; q'`
|
3748 |
|
|
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
3749 |
|
|
{ case "$ac_dir" in
|
3750 |
|
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
3751 |
|
|
*) as_incr_dir=.;;
|
3752 |
|
|
esac
|
3753 |
|
|
as_dummy="$ac_dir"
|
3754 |
|
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
3755 |
|
|
case $as_mkdir_dir in
|
3756 |
|
|
# Skip DOS drivespec
|
3757 |
|
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
3758 |
|
|
*)
|
3759 |
|
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
3760 |
|
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
3761 |
|
|
;;
|
3762 |
|
|
esac
|
3763 |
|
|
done; }
|
3764 |
|
|
|
3765 |
|
|
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
|
3766 |
|
|
# A "../" for each directory in $ac_dir_suffix.
|
3767 |
|
|
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
|
3768 |
|
|
else
|
3769 |
|
|
ac_dir_suffix= ac_dots=
|
3770 |
|
|
fi
|
3771 |
|
|
|
3772 |
|
|
case $srcdir in
|
3773 |
|
|
.) ac_srcdir=.
|
3774 |
|
|
if test -z "$ac_dots"; then
|
3775 |
|
|
ac_top_srcdir=.
|
3776 |
|
|
else
|
3777 |
|
|
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
|
3778 |
|
|
fi ;;
|
3779 |
|
|
[\\/]* | ?:[\\/]* )
|
3780 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
3781 |
|
|
ac_top_srcdir=$srcdir ;;
|
3782 |
|
|
*) # Relative path.
|
3783 |
|
|
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
|
3784 |
|
|
ac_top_srcdir=$ac_dots$srcdir ;;
|
3785 |
|
|
esac
|
3786 |
|
|
|
3787 |
|
|
case $INSTALL in
|
3788 |
|
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
3789 |
|
|
*) ac_INSTALL=$ac_dots$INSTALL ;;
|
3790 |
|
|
esac
|
3791 |
|
|
|
3792 |
|
|
if test x"$ac_file" != x-; then
|
3793 |
|
|
{ echo "$as_me:3793: creating $ac_file" >&5
|
3794 |
|
|
echo "$as_me: creating $ac_file" >&6;}
|
3795 |
|
|
rm -f "$ac_file"
|
3796 |
|
|
fi
|
3797 |
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
3798 |
|
|
# use $as_me), people would be surprised to read:
|
3799 |
|
|
# /* config.h. Generated automatically by config.status. */
|
3800 |
|
|
configure_input="Generated automatically from `echo $ac_file_in |
|
3801 |
|
|
sed 's,.*/,,'` by configure."
|
3802 |
|
|
|
3803 |
|
|
# First look for the input files in the build tree, otherwise in the
|
3804 |
|
|
# src tree.
|
3805 |
|
|
ac_file_inputs=`IFS=:
|
3806 |
|
|
for f in $ac_file_in; do
|
3807 |
|
|
case $f in
|
3808 |
|
|
-) echo $tmp/stdin ;;
|
3809 |
|
|
[\\/$]*)
|
3810 |
|
|
# Absolute (can't be DOS-style, as IFS=:)
|
3811 |
|
|
test -f "$f" || { { echo "$as_me:3811: error: cannot find input file: $f" >&5
|
3812 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
3813 |
|
|
{ (exit 1); exit 1; }; }
|
3814 |
|
|
echo $f;;
|
3815 |
|
|
*) # Relative
|
3816 |
|
|
if test -f "$f"; then
|
3817 |
|
|
# Build tree
|
3818 |
|
|
echo $f
|
3819 |
|
|
elif test -f "$srcdir/$f"; then
|
3820 |
|
|
# Source tree
|
3821 |
|
|
echo $srcdir/$f
|
3822 |
|
|
else
|
3823 |
|
|
# /dev/null tree
|
3824 |
|
|
{ { echo "$as_me:3824: error: cannot find input file: $f" >&5
|
3825 |
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
3826 |
|
|
{ (exit 1); exit 1; }; }
|
3827 |
|
|
fi;;
|
3828 |
|
|
esac
|
3829 |
|
|
done` || { (exit 1); exit 1; }
|
3830 |
|
|
EOF
|
3831 |
|
|
cat >>$CONFIG_STATUS <
|
3832 |
|
|
sed "$ac_vpsub
|
3833 |
|
|
$extrasub
|
3834 |
|
|
EOF
|
3835 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3836 |
|
|
:t
|
3837 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
3838 |
|
|
s,@configure_input@,$configure_input,;t t
|
3839 |
|
|
s,@srcdir@,$ac_srcdir,;t t
|
3840 |
|
|
s,@top_srcdir@,$ac_top_srcdir,;t t
|
3841 |
|
|
s,@INSTALL@,$ac_INSTALL,;t t
|
3842 |
|
|
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
3843 |
|
|
rm -f $tmp/stdin
|
3844 |
|
|
if test x"$ac_file" != x-; then
|
3845 |
|
|
mv $tmp/out $ac_file
|
3846 |
|
|
else
|
3847 |
|
|
cat $tmp/out
|
3848 |
|
|
rm -f $tmp/out
|
3849 |
|
|
fi
|
3850 |
|
|
|
3851 |
|
|
done
|
3852 |
|
|
EOF
|
3853 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3854 |
|
|
|
3855 |
|
|
#
|
3856 |
|
|
# CONFIG_COMMANDS section.
|
3857 |
|
|
#
|
3858 |
|
|
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
3859 |
|
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
3860 |
|
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
3861 |
|
|
|
3862 |
|
|
case $ac_dest in
|
3863 |
|
|
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
3864 |
|
|
# Strip MF so we end up with the name of the file.
|
3865 |
|
|
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
3866 |
|
|
# Check whether this is an Automake generated Makefile or not.
|
3867 |
|
|
# We used to match only the files named `Makefile.in', but
|
3868 |
|
|
# some people rename them; so instead we look at the file content.
|
3869 |
|
|
# Grep'ing the first line is not enough: some people post-process
|
3870 |
|
|
# each Makefile.in and add a new line on top of each file to say so.
|
3871 |
|
|
# So let's grep whole file.
|
3872 |
|
|
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
3873 |
|
|
dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3874 |
|
|
X"$mf" : 'X\(//\)[^/]' \| \
|
3875 |
|
|
X"$mf" : 'X\(//\)$' \| \
|
3876 |
|
|
X"$mf" : 'X\(/\)' \| \
|
3877 |
|
|
. : '\(.\)' 2>/dev/null ||
|
3878 |
|
|
echo X"$mf" |
|
3879 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3880 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3881 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
3882 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
3883 |
|
|
s/.*/./; q'`
|
3884 |
|
|
else
|
3885 |
|
|
continue
|
3886 |
|
|
fi
|
3887 |
|
|
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
|
3888 |
|
|
# Extract the definition of DEP_FILES from the Makefile without
|
3889 |
|
|
# running `make'.
|
3890 |
|
|
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
3891 |
|
|
test -z "$DEPDIR" && continue
|
3892 |
|
|
# When using ansi2knr, U may be empty or an underscore; expand it
|
3893 |
|
|
U=`sed -n -e '/^U = / s///p' < "$mf"`
|
3894 |
|
|
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
|
3895 |
|
|
# We invoke sed twice because it is the simplest approach to
|
3896 |
|
|
# changing $(DEPDIR) to its actual value in the expansion.
|
3897 |
|
|
for file in `sed -n -e '
|
3898 |
|
|
/^DEP_FILES = .*\\\\$/ {
|
3899 |
|
|
s/^DEP_FILES = //
|
3900 |
|
|
:loop
|
3901 |
|
|
s/\\\\$//
|
3902 |
|
|
p
|
3903 |
|
|
n
|
3904 |
|
|
/\\\\$/ b loop
|
3905 |
|
|
p
|
3906 |
|
|
}
|
3907 |
|
|
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
|
3908 |
|
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
3909 |
|
|
# Make sure the directory exists.
|
3910 |
|
|
test -f "$dirpart/$file" && continue
|
3911 |
|
|
fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3912 |
|
|
X"$file" : 'X\(//\)[^/]' \| \
|
3913 |
|
|
X"$file" : 'X\(//\)$' \| \
|
3914 |
|
|
X"$file" : 'X\(/\)' \| \
|
3915 |
|
|
. : '\(.\)' 2>/dev/null ||
|
3916 |
|
|
echo X"$file" |
|
3917 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3918 |
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3919 |
|
|
/^X\(\/\/\)$/{ s//\1/; q; }
|
3920 |
|
|
/^X\(\/\).*/{ s//\1/; q; }
|
3921 |
|
|
s/.*/./; q'`
|
3922 |
|
|
{ case $dirpart/$fdir in
|
3923 |
|
|
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
3924 |
|
|
*) as_incr_dir=.;;
|
3925 |
|
|
esac
|
3926 |
|
|
as_dummy=$dirpart/$fdir
|
3927 |
|
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
3928 |
|
|
case $as_mkdir_dir in
|
3929 |
|
|
# Skip DOS drivespec
|
3930 |
|
|
?:) as_incr_dir=$as_mkdir_dir ;;
|
3931 |
|
|
*)
|
3932 |
|
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
3933 |
|
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
3934 |
|
|
;;
|
3935 |
|
|
esac
|
3936 |
|
|
done; }
|
3937 |
|
|
|
3938 |
|
|
# echo "creating $dirpart/$file"
|
3939 |
|
|
echo '# dummy' > "$dirpart/$file"
|
3940 |
|
|
done
|
3941 |
|
|
done
|
3942 |
|
|
;;
|
3943 |
|
|
esac
|
3944 |
|
|
done
|
3945 |
|
|
EOF
|
3946 |
|
|
|
3947 |
|
|
cat >>$CONFIG_STATUS <<\EOF
|
3948 |
|
|
|
3949 |
|
|
{ (exit 0); exit 0; }
|
3950 |
|
|
EOF
|
3951 |
|
|
chmod +x $CONFIG_STATUS
|
3952 |
|
|
ac_clean_files=$ac_clean_files_save
|
3953 |
|
|
|
3954 |
|
|
# configure is writing to config.log, and then calls config.status.
|
3955 |
|
|
# config.status does its own redirection, appending to config.log.
|
3956 |
|
|
# Unfortunately, on DOS this fails, as config.log is still kept open
|
3957 |
|
|
# by configure, so config.status won't be able to write to it; its
|
3958 |
|
|
# output is simply discarded. So we exec the FD to /dev/null,
|
3959 |
|
|
# effectively closing config.log, so it can be properly (re)opened and
|
3960 |
|
|
# appended to by config.status. When coming back to configure, we
|
3961 |
|
|
# need to make the FD available again.
|
3962 |
|
|
if test "$no_create" != yes; then
|
3963 |
|
|
ac_cs_success=:
|
3964 |
|
|
exec 5>/dev/null
|
3965 |
|
|
$SHELL $CONFIG_STATUS || ac_cs_success=false
|
3966 |
|
|
exec 5>>config.log
|
3967 |
|
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
3968 |
|
|
# would make configure fail if this is the last instruction.
|
3969 |
|
|
$ac_cs_success || { (exit 1); exit 1; }
|
3970 |
|
|
fi
|
3971 |
|
|
|