1 | #! /bin/sh |
---|
2 | |
---|
3 | # Guess values for system-dependent variables and create Makefiles. |
---|
4 | # Generated automatically using autoconf version 2.12 |
---|
5 | # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
---|
6 | # |
---|
7 | # This configure script is free software; the Free Software Foundation |
---|
8 | # gives unlimited permission to copy, distribute and modify it. |
---|
9 | |
---|
10 | # Defaults: |
---|
11 | ac_help= |
---|
12 | ac_default_prefix=/usr/local |
---|
13 | # Any additions from configure.in: |
---|
14 | ac_help="$ac_help |
---|
15 | --with-cross-host=HOST host (cygnus)" |
---|
16 | ac_help="$ac_help |
---|
17 | \ |
---|
18 | --enable-gmake-print-directory enable GNU Make's print directory" |
---|
19 | ac_help="$ac_help |
---|
20 | \ |
---|
21 | --enable-posix enable posix interface" |
---|
22 | ac_help="$ac_help |
---|
23 | \ |
---|
24 | --enable-ka9q enable KA9Q TCP/IP stack" |
---|
25 | ac_help="$ac_help |
---|
26 | \ |
---|
27 | --enable-rtems-inlines enable RTEMS inline functions (use macros)" |
---|
28 | ac_help="$ac_help |
---|
29 | \ |
---|
30 | --enable-cpp enable C++ support, and build the rtems++ library" |
---|
31 | ac_help="$ac_help |
---|
32 | \ |
---|
33 | --enable-gcc28 enable use of gcc 2.8.x features" |
---|
34 | ac_help="$ac_help |
---|
35 | \ |
---|
36 | --enable-libcdir=directory set the directory for the C library" |
---|
37 | ac_help="$ac_help |
---|
38 | \ |
---|
39 | --enable-rtemsbsp=bsp1 bsp2 .. BSPs to include in build" |
---|
40 | ac_help="$ac_help |
---|
41 | \ |
---|
42 | --enable-tests enable tests" |
---|
43 | ac_help="$ac_help |
---|
44 | \ |
---|
45 | --enable-hwapi enable hardware API library" |
---|
46 | |
---|
47 | # Initialize some variables set by options. |
---|
48 | # The variables have the same names as the options, with |
---|
49 | # dashes changed to underlines. |
---|
50 | build=NONE |
---|
51 | cache_file=./config.cache |
---|
52 | exec_prefix=NONE |
---|
53 | host=NONE |
---|
54 | no_create= |
---|
55 | nonopt=NONE |
---|
56 | no_recursion= |
---|
57 | prefix=NONE |
---|
58 | program_prefix=NONE |
---|
59 | program_suffix=NONE |
---|
60 | program_transform_name=s,x,x, |
---|
61 | silent= |
---|
62 | site= |
---|
63 | srcdir= |
---|
64 | target=NONE |
---|
65 | verbose= |
---|
66 | x_includes=NONE |
---|
67 | x_libraries=NONE |
---|
68 | bindir='${exec_prefix}/bin' |
---|
69 | sbindir='${exec_prefix}/sbin' |
---|
70 | libexecdir='${exec_prefix}/libexec' |
---|
71 | datadir='${prefix}/share' |
---|
72 | sysconfdir='${prefix}/etc' |
---|
73 | sharedstatedir='${prefix}/com' |
---|
74 | localstatedir='${prefix}/var' |
---|
75 | libdir='${exec_prefix}/lib' |
---|
76 | includedir='${prefix}/include' |
---|
77 | oldincludedir='/usr/include' |
---|
78 | infodir='${prefix}/info' |
---|
79 | mandir='${prefix}/man' |
---|
80 | |
---|
81 | # Initialize some other variables. |
---|
82 | subdirs= |
---|
83 | MFLAGS= MAKEFLAGS= |
---|
84 | # Maximum number of lines to put in a shell here document. |
---|
85 | ac_max_here_lines=12 |
---|
86 | |
---|
87 | ac_prev= |
---|
88 | for ac_option |
---|
89 | do |
---|
90 | |
---|
91 | # If the previous option needs an argument, assign it. |
---|
92 | if test -n "$ac_prev"; then |
---|
93 | eval "$ac_prev=\$ac_option" |
---|
94 | ac_prev= |
---|
95 | continue |
---|
96 | fi |
---|
97 | |
---|
98 | case "$ac_option" in |
---|
99 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
---|
100 | *) ac_optarg= ;; |
---|
101 | esac |
---|
102 | |
---|
103 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
104 | |
---|
105 | case "$ac_option" in |
---|
106 | |
---|
107 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
108 | ac_prev=bindir ;; |
---|
109 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
110 | bindir="$ac_optarg" ;; |
---|
111 | |
---|
112 | -build | --build | --buil | --bui | --bu) |
---|
113 | ac_prev=build ;; |
---|
114 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
115 | build="$ac_optarg" ;; |
---|
116 | |
---|
117 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
118 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
119 | ac_prev=cache_file ;; |
---|
120 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
121 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
122 | cache_file="$ac_optarg" ;; |
---|
123 | |
---|
124 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
125 | ac_prev=datadir ;; |
---|
126 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
127 | | --da=*) |
---|
128 | datadir="$ac_optarg" ;; |
---|
129 | |
---|
130 | -disable-* | --disable-*) |
---|
131 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
---|
132 | # Reject names that are not valid shell variable names. |
---|
133 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
134 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
135 | fi |
---|
136 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
137 | eval "enable_${ac_feature}=no" ;; |
---|
138 | |
---|
139 | -enable-* | --enable-*) |
---|
140 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
---|
141 | # Reject names that are not valid shell variable names. |
---|
142 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
143 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
144 | fi |
---|
145 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
146 | case "$ac_option" in |
---|
147 | *=*) ;; |
---|
148 | *) ac_optarg=yes ;; |
---|
149 | esac |
---|
150 | eval "enable_${ac_feature}='$ac_optarg'" ;; |
---|
151 | |
---|
152 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
153 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
154 | | --exec | --exe | --ex) |
---|
155 | ac_prev=exec_prefix ;; |
---|
156 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
157 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
158 | | --exec=* | --exe=* | --ex=*) |
---|
159 | exec_prefix="$ac_optarg" ;; |
---|
160 | |
---|
161 | -gas | --gas | --ga | --g) |
---|
162 | # Obsolete; use --with-gas. |
---|
163 | with_gas=yes ;; |
---|
164 | |
---|
165 | -help | --help | --hel | --he) |
---|
166 | # Omit some internal or obsolete options to make the list less imposing. |
---|
167 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
168 | cat << EOF |
---|
169 | Usage: configure [options] [host] |
---|
170 | Options: [defaults in brackets after descriptions] |
---|
171 | Configuration: |
---|
172 | --cache-file=FILE cache test results in FILE |
---|
173 | --help print this message |
---|
174 | --no-create do not create output files |
---|
175 | --quiet, --silent do not print \`checking...' messages |
---|
176 | --version print the version of autoconf that created configure |
---|
177 | Directory and file names: |
---|
178 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
179 | [$ac_default_prefix] |
---|
180 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
181 | [same as prefix] |
---|
182 | --bindir=DIR user executables in DIR [EPREFIX/bin] |
---|
183 | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
---|
184 | --libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
---|
185 | --datadir=DIR read-only architecture-independent data in DIR |
---|
186 | [PREFIX/share] |
---|
187 | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
---|
188 | --sharedstatedir=DIR modifiable architecture-independent data in DIR |
---|
189 | [PREFIX/com] |
---|
190 | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
---|
191 | --libdir=DIR object code libraries in DIR [EPREFIX/lib] |
---|
192 | --includedir=DIR C header files in DIR [PREFIX/include] |
---|
193 | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
---|
194 | --infodir=DIR info documentation in DIR [PREFIX/info] |
---|
195 | --mandir=DIR man documentation in DIR [PREFIX/man] |
---|
196 | --srcdir=DIR find the sources in DIR [configure dir or ..] |
---|
197 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
198 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
199 | --program-transform-name=PROGRAM |
---|
200 | run sed PROGRAM on installed program names |
---|
201 | EOF |
---|
202 | cat << EOF |
---|
203 | Host type: |
---|
204 | --build=BUILD configure for building on BUILD [BUILD=HOST] |
---|
205 | --host=HOST configure for HOST [guessed] |
---|
206 | --target=TARGET configure for TARGET [TARGET=HOST] |
---|
207 | Features and packages: |
---|
208 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
209 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
210 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
211 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
212 | --x-includes=DIR X include files are in DIR |
---|
213 | --x-libraries=DIR X library files are in DIR |
---|
214 | EOF |
---|
215 | if test -n "$ac_help"; then |
---|
216 | echo "--enable and --with options recognized:$ac_help" |
---|
217 | fi |
---|
218 | exit 0 ;; |
---|
219 | |
---|
220 | -host | --host | --hos | --ho) |
---|
221 | ac_prev=host ;; |
---|
222 | -host=* | --host=* | --hos=* | --ho=*) |
---|
223 | host="$ac_optarg" ;; |
---|
224 | |
---|
225 | -includedir | --includedir | --includedi | --included | --include \ |
---|
226 | | --includ | --inclu | --incl | --inc) |
---|
227 | ac_prev=includedir ;; |
---|
228 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
229 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
230 | includedir="$ac_optarg" ;; |
---|
231 | |
---|
232 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
233 | ac_prev=infodir ;; |
---|
234 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
235 | infodir="$ac_optarg" ;; |
---|
236 | |
---|
237 | -libdir | --libdir | --libdi | --libd) |
---|
238 | ac_prev=libdir ;; |
---|
239 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
240 | libdir="$ac_optarg" ;; |
---|
241 | |
---|
242 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
243 | | --libexe | --libex | --libe) |
---|
244 | ac_prev=libexecdir ;; |
---|
245 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
246 | | --libexe=* | --libex=* | --libe=*) |
---|
247 | libexecdir="$ac_optarg" ;; |
---|
248 | |
---|
249 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
250 | | --localstate | --localstat | --localsta | --localst \ |
---|
251 | | --locals | --local | --loca | --loc | --lo) |
---|
252 | ac_prev=localstatedir ;; |
---|
253 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
254 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
255 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
256 | localstatedir="$ac_optarg" ;; |
---|
257 | |
---|
258 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
259 | ac_prev=mandir ;; |
---|
260 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
261 | mandir="$ac_optarg" ;; |
---|
262 | |
---|
263 | -nfp | --nfp | --nf) |
---|
264 | # Obsolete; use --without-fp. |
---|
265 | with_fp=no ;; |
---|
266 | |
---|
267 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
268 | | --no-cr | --no-c) |
---|
269 | no_create=yes ;; |
---|
270 | |
---|
271 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
272 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
273 | no_recursion=yes ;; |
---|
274 | |
---|
275 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
276 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
277 | | --oldin | --oldi | --old | --ol | --o) |
---|
278 | ac_prev=oldincludedir ;; |
---|
279 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
280 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
281 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
282 | oldincludedir="$ac_optarg" ;; |
---|
283 | |
---|
284 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
285 | ac_prev=prefix ;; |
---|
286 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
287 | prefix="$ac_optarg" ;; |
---|
288 | |
---|
289 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
290 | | --program-pre | --program-pr | --program-p) |
---|
291 | ac_prev=program_prefix ;; |
---|
292 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
293 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
294 | program_prefix="$ac_optarg" ;; |
---|
295 | |
---|
296 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
297 | | --program-suf | --program-su | --program-s) |
---|
298 | ac_prev=program_suffix ;; |
---|
299 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
300 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
301 | program_suffix="$ac_optarg" ;; |
---|
302 | |
---|
303 | -program-transform-name | --program-transform-name \ |
---|
304 | | --program-transform-nam | --program-transform-na \ |
---|
305 | | --program-transform-n | --program-transform- \ |
---|
306 | | --program-transform | --program-transfor \ |
---|
307 | | --program-transfo | --program-transf \ |
---|
308 | | --program-trans | --program-tran \ |
---|
309 | | --progr-tra | --program-tr | --program-t) |
---|
310 | ac_prev=program_transform_name ;; |
---|
311 | -program-transform-name=* | --program-transform-name=* \ |
---|
312 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
313 | | --program-transform-n=* | --program-transform-=* \ |
---|
314 | | --program-transform=* | --program-transfor=* \ |
---|
315 | | --program-transfo=* | --program-transf=* \ |
---|
316 | | --program-trans=* | --program-tran=* \ |
---|
317 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
318 | program_transform_name="$ac_optarg" ;; |
---|
319 | |
---|
320 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
321 | | -silent | --silent | --silen | --sile | --sil) |
---|
322 | silent=yes ;; |
---|
323 | |
---|
324 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
325 | ac_prev=sbindir ;; |
---|
326 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
327 | | --sbi=* | --sb=*) |
---|
328 | sbindir="$ac_optarg" ;; |
---|
329 | |
---|
330 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
331 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
332 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
333 | | --sha | --sh) |
---|
334 | ac_prev=sharedstatedir ;; |
---|
335 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
336 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
337 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
338 | | --sha=* | --sh=*) |
---|
339 | sharedstatedir="$ac_optarg" ;; |
---|
340 | |
---|
341 | -site | --site | --sit) |
---|
342 | ac_prev=site ;; |
---|
343 | -site=* | --site=* | --sit=*) |
---|
344 | site="$ac_optarg" ;; |
---|
345 | |
---|
346 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
347 | ac_prev=srcdir ;; |
---|
348 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
349 | srcdir="$ac_optarg" ;; |
---|
350 | |
---|
351 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
352 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
353 | ac_prev=sysconfdir ;; |
---|
354 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
355 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
356 | sysconfdir="$ac_optarg" ;; |
---|
357 | |
---|
358 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
359 | ac_prev=target ;; |
---|
360 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
361 | target="$ac_optarg" ;; |
---|
362 | |
---|
363 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
364 | verbose=yes ;; |
---|
365 | |
---|
366 | -version | --version | --versio | --versi | --vers) |
---|
367 | echo "configure generated by autoconf version 2.12" |
---|
368 | exit 0 ;; |
---|
369 | |
---|
370 | -with-* | --with-*) |
---|
371 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
---|
372 | # Reject names that are not valid shell variable names. |
---|
373 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
374 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
375 | fi |
---|
376 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
377 | case "$ac_option" in |
---|
378 | *=*) ;; |
---|
379 | *) ac_optarg=yes ;; |
---|
380 | esac |
---|
381 | eval "with_${ac_package}='$ac_optarg'" ;; |
---|
382 | |
---|
383 | -without-* | --without-*) |
---|
384 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
---|
385 | # Reject names that are not valid shell variable names. |
---|
386 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
387 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
388 | fi |
---|
389 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
390 | eval "with_${ac_package}=no" ;; |
---|
391 | |
---|
392 | --x) |
---|
393 | # Obsolete; use --with-x. |
---|
394 | with_x=yes ;; |
---|
395 | |
---|
396 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
397 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
398 | ac_prev=x_includes ;; |
---|
399 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
400 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
401 | x_includes="$ac_optarg" ;; |
---|
402 | |
---|
403 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
404 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
405 | ac_prev=x_libraries ;; |
---|
406 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
407 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
408 | x_libraries="$ac_optarg" ;; |
---|
409 | |
---|
410 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
---|
411 | ;; |
---|
412 | |
---|
413 | *) |
---|
414 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
---|
415 | echo "configure: warning: $ac_option: invalid host type" 1>&2 |
---|
416 | fi |
---|
417 | if test "x$nonopt" != xNONE; then |
---|
418 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
---|
419 | fi |
---|
420 | nonopt="$ac_option" |
---|
421 | ;; |
---|
422 | |
---|
423 | esac |
---|
424 | done |
---|
425 | |
---|
426 | if test -n "$ac_prev"; then |
---|
427 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
---|
428 | fi |
---|
429 | |
---|
430 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
431 | |
---|
432 | # File descriptor usage: |
---|
433 | # 0 standard input |
---|
434 | # 1 file creation |
---|
435 | # 2 errors and warnings |
---|
436 | # 3 some systems may open it to /dev/tty |
---|
437 | # 4 used on the Kubota Titan |
---|
438 | # 6 checking for... messages and results |
---|
439 | # 5 compiler messages saved in config.log |
---|
440 | if test "$silent" = yes; then |
---|
441 | exec 6>/dev/null |
---|
442 | else |
---|
443 | exec 6>&1 |
---|
444 | fi |
---|
445 | exec 5>./config.log |
---|
446 | |
---|
447 | echo "\ |
---|
448 | This file contains any messages produced by compilers while |
---|
449 | running configure, to aid debugging if configure makes a mistake. |
---|
450 | " 1>&5 |
---|
451 | |
---|
452 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
453 | # Also quote any args containing shell metacharacters. |
---|
454 | ac_configure_args= |
---|
455 | for ac_arg |
---|
456 | do |
---|
457 | case "$ac_arg" in |
---|
458 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
459 | | --no-cr | --no-c) ;; |
---|
460 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
461 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
---|
462 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
---|
463 | ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
464 | *) ac_configure_args="$ac_configure_args $ac_arg" ;; |
---|
465 | esac |
---|
466 | done |
---|
467 | |
---|
468 | # NLS nuisances. |
---|
469 | # Only set these to C if already set. These must not be set unconditionally |
---|
470 | # because not all systems understand e.g. LANG=C (notably SCO). |
---|
471 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
---|
472 | # Non-C LC_CTYPE values break the ctype check. |
---|
473 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
---|
474 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
---|
475 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
---|
476 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
---|
477 | |
---|
478 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
479 | rm -rf conftest* confdefs.h |
---|
480 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
481 | echo > confdefs.h |
---|
482 | |
---|
483 | # A filename unique to this package, relative to the directory that |
---|
484 | # configure is in, which we can look for to find out if srcdir is correct. |
---|
485 | ac_unique_file=README |
---|
486 | |
---|
487 | # Find the source files, if location was not specified. |
---|
488 | if test -z "$srcdir"; then |
---|
489 | ac_srcdir_defaulted=yes |
---|
490 | # Try the directory containing this script, then its parent. |
---|
491 | ac_prog=$0 |
---|
492 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
---|
493 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
---|
494 | srcdir=$ac_confdir |
---|
495 | if test ! -r $srcdir/$ac_unique_file; then |
---|
496 | srcdir=.. |
---|
497 | fi |
---|
498 | else |
---|
499 | ac_srcdir_defaulted=no |
---|
500 | fi |
---|
501 | if test ! -r $srcdir/$ac_unique_file; then |
---|
502 | if test "$ac_srcdir_defaulted" = yes; then |
---|
503 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
---|
504 | else |
---|
505 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
---|
506 | fi |
---|
507 | fi |
---|
508 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
---|
509 | |
---|
510 | # Prefer explicitly selected file to automatically selected ones. |
---|
511 | if test -z "$CONFIG_SITE"; then |
---|
512 | if test "x$prefix" != xNONE; then |
---|
513 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
514 | else |
---|
515 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
516 | fi |
---|
517 | fi |
---|
518 | for ac_site_file in $CONFIG_SITE; do |
---|
519 | if test -r "$ac_site_file"; then |
---|
520 | echo "loading site script $ac_site_file" |
---|
521 | . "$ac_site_file" |
---|
522 | fi |
---|
523 | done |
---|
524 | |
---|
525 | if test -r "$cache_file"; then |
---|
526 | echo "loading cache $cache_file" |
---|
527 | . $cache_file |
---|
528 | else |
---|
529 | echo "creating cache $cache_file" |
---|
530 | > $cache_file |
---|
531 | fi |
---|
532 | |
---|
533 | ac_ext=c |
---|
534 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
535 | ac_cpp='$CPP $CPPFLAGS' |
---|
536 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
537 | ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
538 | cross_compiling=$ac_cv_prog_cc_cross |
---|
539 | |
---|
540 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
---|
541 | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
---|
542 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
---|
543 | ac_n= ac_c=' |
---|
544 | ' ac_t=' ' |
---|
545 | else |
---|
546 | ac_n=-n ac_c= ac_t= |
---|
547 | fi |
---|
548 | else |
---|
549 | ac_n= ac_c='\c' ac_t= |
---|
550 | fi |
---|
551 | |
---|
552 | |
---|
553 | |
---|
554 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
---|
555 | echo "configure:556: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
---|
556 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
---|
557 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
---|
558 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
559 | else |
---|
560 | cat > conftestmake <<\EOF |
---|
561 | all: |
---|
562 | @echo 'ac_maketemp="${MAKE}"' |
---|
563 | EOF |
---|
564 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
565 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
---|
566 | if test -n "$ac_maketemp"; then |
---|
567 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
568 | else |
---|
569 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
570 | fi |
---|
571 | rm -f conftestmake |
---|
572 | fi |
---|
573 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
574 | echo "$ac_t""yes" 1>&6 |
---|
575 | SET_MAKE= |
---|
576 | else |
---|
577 | echo "$ac_t""no" 1>&6 |
---|
578 | SET_MAKE="MAKE=${MAKE-make}" |
---|
579 | fi |
---|
580 | |
---|
581 | ac_aux_dir= |
---|
582 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
---|
583 | if test -f $ac_dir/install-sh; then |
---|
584 | ac_aux_dir=$ac_dir |
---|
585 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
586 | break |
---|
587 | elif test -f $ac_dir/install.sh; then |
---|
588 | ac_aux_dir=$ac_dir |
---|
589 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
590 | break |
---|
591 | fi |
---|
592 | done |
---|
593 | if test -z "$ac_aux_dir"; then |
---|
594 | { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
---|
595 | fi |
---|
596 | ac_config_guess=$ac_aux_dir/config.guess |
---|
597 | ac_config_sub=$ac_aux_dir/config.sub |
---|
598 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
---|
599 | |
---|
600 | |
---|
601 | # Do some error checking and defaulting for the host and target type. |
---|
602 | # The inputs are: |
---|
603 | # configure --host=HOST --target=TARGET --build=BUILD NONOPT |
---|
604 | # |
---|
605 | # The rules are: |
---|
606 | # 1. You are not allowed to specify --host, --target, and nonopt at the |
---|
607 | # same time. |
---|
608 | # 2. Host defaults to nonopt. |
---|
609 | # 3. If nonopt is not specified, then host defaults to the current host, |
---|
610 | # as determined by config.guess. |
---|
611 | # 4. Target and build default to nonopt. |
---|
612 | # 5. If nonopt is not specified, then target and build default to host. |
---|
613 | |
---|
614 | # The aliases save the names the user supplied, while $host etc. |
---|
615 | # will get canonicalized. |
---|
616 | case $host---$target---$nonopt in |
---|
617 | NONE---*---* | *---NONE---* | *---*---NONE) ;; |
---|
618 | *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; |
---|
619 | esac |
---|
620 | |
---|
621 | |
---|
622 | # Make sure we can run config.sub. |
---|
623 | if $ac_config_sub sun4 >/dev/null 2>&1; then : |
---|
624 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
---|
625 | fi |
---|
626 | |
---|
627 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
---|
628 | echo "configure:629: checking host system type" >&5 |
---|
629 | |
---|
630 | host_alias=$host |
---|
631 | case "$host_alias" in |
---|
632 | NONE) |
---|
633 | case $nonopt in |
---|
634 | NONE) |
---|
635 | if host_alias=`$ac_config_guess`; then : |
---|
636 | else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
---|
637 | fi ;; |
---|
638 | *) host_alias=$nonopt ;; |
---|
639 | esac ;; |
---|
640 | esac |
---|
641 | |
---|
642 | host=`$ac_config_sub $host_alias` |
---|
643 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
644 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
645 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
646 | echo "$ac_t""$host" 1>&6 |
---|
647 | |
---|
648 | echo $ac_n "checking target system type""... $ac_c" 1>&6 |
---|
649 | echo "configure:650: checking target system type" >&5 |
---|
650 | |
---|
651 | target_alias=$target |
---|
652 | case "$target_alias" in |
---|
653 | NONE) |
---|
654 | case $nonopt in |
---|
655 | NONE) target_alias=$host_alias ;; |
---|
656 | *) target_alias=$nonopt ;; |
---|
657 | esac ;; |
---|
658 | esac |
---|
659 | |
---|
660 | target=`$ac_config_sub $target_alias` |
---|
661 | target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
662 | target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
663 | target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
664 | echo "$ac_t""$target" 1>&6 |
---|
665 | |
---|
666 | echo $ac_n "checking build system type""... $ac_c" 1>&6 |
---|
667 | echo "configure:668: checking build system type" >&5 |
---|
668 | |
---|
669 | build_alias=$build |
---|
670 | case "$build_alias" in |
---|
671 | NONE) |
---|
672 | case $nonopt in |
---|
673 | NONE) build_alias=$host_alias ;; |
---|
674 | *) build_alias=$nonopt ;; |
---|
675 | esac ;; |
---|
676 | esac |
---|
677 | |
---|
678 | build=`$ac_config_sub $build_alias` |
---|
679 | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
680 | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
681 | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
682 | echo "$ac_t""$build" 1>&6 |
---|
683 | |
---|
684 | test "$host_alias" != "$target_alias" && |
---|
685 | test "$program_prefix$program_suffix$program_transform_name" = \ |
---|
686 | NONENONEs,x,x, && |
---|
687 | program_prefix=${target_alias}- |
---|
688 | |
---|
689 | # Check whether --with-cross-host or --without-cross-host was given. |
---|
690 | if test "${with_cross_host+set}" = set; then |
---|
691 | withval="$with_cross_host" |
---|
692 | \ |
---|
693 | host=$withval |
---|
694 | fi |
---|
695 | |
---|
696 | |
---|
697 | # Check whether --enable-gmake-print-directory or --disable-gmake-print-directory was given. |
---|
698 | if test "${enable_gmake_print_directory+set}" = set; then |
---|
699 | enableval="$enable_gmake_print_directory" |
---|
700 | \ |
---|
701 | case "${enableval}" in |
---|
702 | yes) RTEMS_USE_OWN_PDIR=no ;; |
---|
703 | no) RTEMS_USE_OWN_PDIR=yes ;; |
---|
704 | *) { echo "configure: error: bad value ${enableval} for gmake-print-directory option" 1>&2; exit 1; } ;; |
---|
705 | esac |
---|
706 | else |
---|
707 | RTEMS_USE_OWN_PDIR=yes |
---|
708 | fi |
---|
709 | |
---|
710 | |
---|
711 | # Check whether --enable-posix or --disable-posix was given. |
---|
712 | if test "${enable_posix+set}" = set; then |
---|
713 | enableval="$enable_posix" |
---|
714 | \ |
---|
715 | case "${enableval}" in |
---|
716 | yes) RTEMS_HAS_POSIX_API=yes ;; |
---|
717 | no) RTEMS_HAS_POSIX_API=no ;; |
---|
718 | *) { echo "configure: error: bad value ${enableval} for enable-posix option" 1>&2; exit 1; } ;; |
---|
719 | esac |
---|
720 | else |
---|
721 | RTEMS_HAS_POSIX_API=yes |
---|
722 | fi |
---|
723 | |
---|
724 | |
---|
725 | # Check whether --enable-ka9q or --disable-ka9q was given. |
---|
726 | if test "${enable_ka9q+set}" = set; then |
---|
727 | enableval="$enable_ka9q" |
---|
728 | \ |
---|
729 | case "${enableval}" in |
---|
730 | yes) RTEMS_HAS_KA9Q=yes ;; |
---|
731 | no) RTEMS_HAS_KA9Q=no ;; |
---|
732 | *) { echo "configure: error: bad value ${enableval} for enable-ka9q option" 1>&2; exit 1; } ;; |
---|
733 | esac |
---|
734 | else |
---|
735 | RTEMS_HAS_KA9Q=yes |
---|
736 | fi |
---|
737 | |
---|
738 | |
---|
739 | # Check whether --enable-rtems-inlines or --disable-rtems-inlines was given. |
---|
740 | if test "${enable_rtems_inlines+set}" = set; then |
---|
741 | enableval="$enable_rtems_inlines" |
---|
742 | \ |
---|
743 | case "${enableval}" in |
---|
744 | yes) RTEMS_USE_MACROS=no ;; |
---|
745 | no) RTEMS_USE_MACROS=yes ;; |
---|
746 | *) { echo "configure: error: bad value ${enableval} for disable-rtems-inlines option" 1>&2; exit 1; } ;; |
---|
747 | esac |
---|
748 | else |
---|
749 | RTEMS_USE_MACROS=no |
---|
750 | fi |
---|
751 | |
---|
752 | |
---|
753 | # Check whether --enable-cpp or --disable-cpp was given. |
---|
754 | if test "${enable_cpp+set}" = set; then |
---|
755 | enableval="$enable_cpp" |
---|
756 | \ |
---|
757 | case "${enableval}" in |
---|
758 | yes) RTEMS_HAS_CPLUSPLUS=yes ;; |
---|
759 | no) RTEMS_HAS_CPLUSPLUS=no ;; |
---|
760 | *) { echo "configure: error: bad value ${enableval} for enable-cpp option" 1>&2; exit 1; } ;; |
---|
761 | esac |
---|
762 | else |
---|
763 | RTEMS_HAS_CPLUSPLUS=no |
---|
764 | fi |
---|
765 | |
---|
766 | |
---|
767 | # Check whether --enable-gcc28 or --disable-gcc28 was given. |
---|
768 | if test "${enable_gcc28+set}" = set; then |
---|
769 | enableval="$enable_gcc28" |
---|
770 | \ |
---|
771 | case "${enableval}" in |
---|
772 | yes) RTEMS_USE_GCC272=no ;; |
---|
773 | no) RTEMS_USE_GCC272=yes ;; |
---|
774 | *) { echo "configure: error: bad value ${enableval} for gcc-28 option" 1>&2; exit 1; } ;; |
---|
775 | esac |
---|
776 | else |
---|
777 | RTEMS_USE_GCC272=yes |
---|
778 | fi |
---|
779 | |
---|
780 | |
---|
781 | # Check whether --enable-libcdir or --disable-libcdir was given. |
---|
782 | if test "${enable_libcdir+set}" = set; then |
---|
783 | enableval="$enable_libcdir" |
---|
784 | \ |
---|
785 | RTEMS_LIBC_DIR="${enableval}" ; \ |
---|
786 | test -d ${enableval} || { echo "configure: error: "$enableval is not a directory" " 1>&2; exit 1; } |
---|
787 | fi |
---|
788 | |
---|
789 | |
---|
790 | RTEMS_PREFIX=${target_cpu}-${target_vendor} |
---|
791 | |
---|
792 | |
---|
793 | # Extract the first word of "cat", so it can be a program name with args. |
---|
794 | set dummy cat; ac_word=$2 |
---|
795 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
796 | echo "configure:797: checking for $ac_word" >&5 |
---|
797 | if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then |
---|
798 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
799 | else |
---|
800 | case "$CAT" in |
---|
801 | /*) |
---|
802 | ac_cv_path_CAT="$CAT" # Let the user override the test with a path. |
---|
803 | ;; |
---|
804 | *) |
---|
805 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
806 | for ac_dir in $PATH; do |
---|
807 | test -z "$ac_dir" && ac_dir=. |
---|
808 | if test -f $ac_dir/$ac_word; then |
---|
809 | ac_cv_path_CAT="$ac_dir/$ac_word" |
---|
810 | break |
---|
811 | fi |
---|
812 | done |
---|
813 | IFS="$ac_save_ifs" |
---|
814 | ;; |
---|
815 | esac |
---|
816 | fi |
---|
817 | CAT="$ac_cv_path_CAT" |
---|
818 | if test -n "$CAT"; then |
---|
819 | echo "$ac_t""$CAT" 1>&6 |
---|
820 | else |
---|
821 | echo "$ac_t""no" 1>&6 |
---|
822 | fi |
---|
823 | |
---|
824 | # Extract the first word of "rm", so it can be a program name with args. |
---|
825 | set dummy rm; ac_word=$2 |
---|
826 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
827 | echo "configure:828: checking for $ac_word" >&5 |
---|
828 | if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then |
---|
829 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
830 | else |
---|
831 | case "$RM" in |
---|
832 | /*) |
---|
833 | ac_cv_path_RM="$RM" # Let the user override the test with a path. |
---|
834 | ;; |
---|
835 | *) |
---|
836 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
837 | for ac_dir in $PATH; do |
---|
838 | test -z "$ac_dir" && ac_dir=. |
---|
839 | if test -f $ac_dir/$ac_word; then |
---|
840 | ac_cv_path_RM="$ac_dir/$ac_word" |
---|
841 | break |
---|
842 | fi |
---|
843 | done |
---|
844 | IFS="$ac_save_ifs" |
---|
845 | ;; |
---|
846 | esac |
---|
847 | fi |
---|
848 | RM="$ac_cv_path_RM" |
---|
849 | if test -n "$RM"; then |
---|
850 | echo "$ac_t""$RM" 1>&6 |
---|
851 | else |
---|
852 | echo "$ac_t""no" 1>&6 |
---|
853 | fi |
---|
854 | |
---|
855 | # Extract the first word of "cp", so it can be a program name with args. |
---|
856 | set dummy cp; ac_word=$2 |
---|
857 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
858 | echo "configure:859: checking for $ac_word" >&5 |
---|
859 | if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then |
---|
860 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
861 | else |
---|
862 | case "$CP" in |
---|
863 | /*) |
---|
864 | ac_cv_path_CP="$CP" # Let the user override the test with a path. |
---|
865 | ;; |
---|
866 | *) |
---|
867 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
868 | for ac_dir in $PATH; do |
---|
869 | test -z "$ac_dir" && ac_dir=. |
---|
870 | if test -f $ac_dir/$ac_word; then |
---|
871 | ac_cv_path_CP="$ac_dir/$ac_word" |
---|
872 | break |
---|
873 | fi |
---|
874 | done |
---|
875 | IFS="$ac_save_ifs" |
---|
876 | ;; |
---|
877 | esac |
---|
878 | fi |
---|
879 | CP="$ac_cv_path_CP" |
---|
880 | if test -n "$CP"; then |
---|
881 | echo "$ac_t""$CP" 1>&6 |
---|
882 | else |
---|
883 | echo "$ac_t""no" 1>&6 |
---|
884 | fi |
---|
885 | |
---|
886 | # Extract the first word of "mv", so it can be a program name with args. |
---|
887 | set dummy mv; ac_word=$2 |
---|
888 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
889 | echo "configure:890: checking for $ac_word" >&5 |
---|
890 | if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then |
---|
891 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
892 | else |
---|
893 | case "$MV" in |
---|
894 | /*) |
---|
895 | ac_cv_path_MV="$MV" # Let the user override the test with a path. |
---|
896 | ;; |
---|
897 | *) |
---|
898 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
899 | for ac_dir in $PATH; do |
---|
900 | test -z "$ac_dir" && ac_dir=. |
---|
901 | if test -f $ac_dir/$ac_word; then |
---|
902 | ac_cv_path_MV="$ac_dir/$ac_word" |
---|
903 | break |
---|
904 | fi |
---|
905 | done |
---|
906 | IFS="$ac_save_ifs" |
---|
907 | ;; |
---|
908 | esac |
---|
909 | fi |
---|
910 | MV="$ac_cv_path_MV" |
---|
911 | if test -n "$MV"; then |
---|
912 | echo "$ac_t""$MV" 1>&6 |
---|
913 | else |
---|
914 | echo "$ac_t""no" 1>&6 |
---|
915 | fi |
---|
916 | |
---|
917 | # Extract the first word of "ln", so it can be a program name with args. |
---|
918 | set dummy ln; ac_word=$2 |
---|
919 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
920 | echo "configure:921: checking for $ac_word" >&5 |
---|
921 | if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then |
---|
922 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
923 | else |
---|
924 | case "$LN" in |
---|
925 | /*) |
---|
926 | ac_cv_path_LN="$LN" # Let the user override the test with a path. |
---|
927 | ;; |
---|
928 | *) |
---|
929 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
930 | for ac_dir in $PATH; do |
---|
931 | test -z "$ac_dir" && ac_dir=. |
---|
932 | if test -f $ac_dir/$ac_word; then |
---|
933 | ac_cv_path_LN="$ac_dir/$ac_word" |
---|
934 | break |
---|
935 | fi |
---|
936 | done |
---|
937 | IFS="$ac_save_ifs" |
---|
938 | ;; |
---|
939 | esac |
---|
940 | fi |
---|
941 | LN="$ac_cv_path_LN" |
---|
942 | if test -n "$LN"; then |
---|
943 | echo "$ac_t""$LN" 1>&6 |
---|
944 | else |
---|
945 | echo "$ac_t""no" 1>&6 |
---|
946 | fi |
---|
947 | |
---|
948 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
---|
949 | echo "configure:950: checking whether ln -s works" >&5 |
---|
950 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
---|
951 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
952 | else |
---|
953 | rm -f conftestdata |
---|
954 | if ln -s X conftestdata 2>/dev/null |
---|
955 | then |
---|
956 | rm -f conftestdata |
---|
957 | ac_cv_prog_LN_S="ln -s" |
---|
958 | else |
---|
959 | ac_cv_prog_LN_S=ln |
---|
960 | fi |
---|
961 | fi |
---|
962 | LN_S="$ac_cv_prog_LN_S" |
---|
963 | if test "$ac_cv_prog_LN_S" = "ln -s"; then |
---|
964 | echo "$ac_t""yes" 1>&6 |
---|
965 | else |
---|
966 | echo "$ac_t""no" 1>&6 |
---|
967 | fi |
---|
968 | |
---|
969 | # Extract the first word of "chmod", so it can be a program name with args. |
---|
970 | set dummy chmod; ac_word=$2 |
---|
971 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
972 | echo "configure:973: checking for $ac_word" >&5 |
---|
973 | if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then |
---|
974 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
975 | else |
---|
976 | case "$CHMOD" in |
---|
977 | /*) |
---|
978 | ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path. |
---|
979 | ;; |
---|
980 | *) |
---|
981 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
982 | for ac_dir in $PATH; do |
---|
983 | test -z "$ac_dir" && ac_dir=. |
---|
984 | if test -f $ac_dir/$ac_word; then |
---|
985 | ac_cv_path_CHMOD="$ac_dir/$ac_word" |
---|
986 | break |
---|
987 | fi |
---|
988 | done |
---|
989 | IFS="$ac_save_ifs" |
---|
990 | ;; |
---|
991 | esac |
---|
992 | fi |
---|
993 | CHMOD="$ac_cv_path_CHMOD" |
---|
994 | if test -n "$CHMOD"; then |
---|
995 | echo "$ac_t""$CHMOD" 1>&6 |
---|
996 | else |
---|
997 | echo "$ac_t""no" 1>&6 |
---|
998 | fi |
---|
999 | |
---|
1000 | # Extract the first word of "sort", so it can be a program name with args. |
---|
1001 | set dummy sort; ac_word=$2 |
---|
1002 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1003 | echo "configure:1004: checking for $ac_word" >&5 |
---|
1004 | if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then |
---|
1005 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1006 | else |
---|
1007 | case "$SORT" in |
---|
1008 | /*) |
---|
1009 | ac_cv_path_SORT="$SORT" # Let the user override the test with a path. |
---|
1010 | ;; |
---|
1011 | *) |
---|
1012 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1013 | for ac_dir in $PATH; do |
---|
1014 | test -z "$ac_dir" && ac_dir=. |
---|
1015 | if test -f $ac_dir/$ac_word; then |
---|
1016 | ac_cv_path_SORT="$ac_dir/$ac_word" |
---|
1017 | break |
---|
1018 | fi |
---|
1019 | done |
---|
1020 | IFS="$ac_save_ifs" |
---|
1021 | ;; |
---|
1022 | esac |
---|
1023 | fi |
---|
1024 | SORT="$ac_cv_path_SORT" |
---|
1025 | if test -n "$SORT"; then |
---|
1026 | echo "$ac_t""$SORT" 1>&6 |
---|
1027 | else |
---|
1028 | echo "$ac_t""no" 1>&6 |
---|
1029 | fi |
---|
1030 | |
---|
1031 | |
---|
1032 | # Extract the first word of "mkdir", so it can be a program name with args. |
---|
1033 | set dummy mkdir; ac_word=$2 |
---|
1034 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1035 | echo "configure:1036: checking for $ac_word" >&5 |
---|
1036 | if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then |
---|
1037 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1038 | else |
---|
1039 | case "$MKDIR" in |
---|
1040 | /*) |
---|
1041 | ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. |
---|
1042 | ;; |
---|
1043 | *) |
---|
1044 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1045 | for ac_dir in $PATH; do |
---|
1046 | test -z "$ac_dir" && ac_dir=. |
---|
1047 | if test -f $ac_dir/$ac_word; then |
---|
1048 | ac_cv_path_MKDIR="$ac_dir/$ac_word" |
---|
1049 | break |
---|
1050 | fi |
---|
1051 | done |
---|
1052 | IFS="$ac_save_ifs" |
---|
1053 | ;; |
---|
1054 | esac |
---|
1055 | fi |
---|
1056 | MKDIR="$ac_cv_path_MKDIR" |
---|
1057 | if test -n "$MKDIR"; then |
---|
1058 | echo "$ac_t""$MKDIR" 1>&6 |
---|
1059 | else |
---|
1060 | echo "$ac_t""no" 1>&6 |
---|
1061 | fi |
---|
1062 | |
---|
1063 | |
---|
1064 | |
---|
1065 | |
---|
1066 | echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6 |
---|
1067 | echo "configure:1068: checking for working $MKDIR -m 0755" >&5 |
---|
1068 | if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then |
---|
1069 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1070 | else |
---|
1071 | rm -rf conftestdata |
---|
1072 | if $MKDIR -m 0775 conftestdata 2>/dev/null; then |
---|
1073 | rtems_cv_prog_MKDIR_M="yes" |
---|
1074 | else |
---|
1075 | rtems_cv_prog_MKDIR_M="no" |
---|
1076 | fi |
---|
1077 | fi |
---|
1078 | rm -rf conftestdata |
---|
1079 | echo "$ac_t""$rtems_cv_prog_MKDIR_M" 1>&6 |
---|
1080 | |
---|
1081 | |
---|
1082 | |
---|
1083 | echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6 |
---|
1084 | echo "configure:1085: checking for working $MKDIR -p" >&5 |
---|
1085 | if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then |
---|
1086 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1087 | else |
---|
1088 | rm -rf conftestdata |
---|
1089 | if $MKDIR -p conftestdata 2>/dev/null ;then |
---|
1090 | rtems_cv_prog_MKDIR_P="yes" |
---|
1091 | else |
---|
1092 | rtems_cv_prog_MKDIR_P="no" |
---|
1093 | fi |
---|
1094 | fi |
---|
1095 | rm -rf conftestdata |
---|
1096 | echo "$ac_t""$rtems_cv_prog_MKDIR_P" 1>&6 |
---|
1097 | |
---|
1098 | test "$rtems_cv_prog_MKDIR_P" = "yes" && MKDIR="$MKDIR -p" |
---|
1099 | test "$rtems_cv_prog_MKDIR_M" = "yes" && MKDIR="$MKDIR -m 0755" |
---|
1100 | |
---|
1101 | # Extract the first word of "touch", so it can be a program name with args. |
---|
1102 | set dummy touch; ac_word=$2 |
---|
1103 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1104 | echo "configure:1105: checking for $ac_word" >&5 |
---|
1105 | if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then |
---|
1106 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1107 | else |
---|
1108 | case "$TOUCH" in |
---|
1109 | /*) |
---|
1110 | ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path. |
---|
1111 | ;; |
---|
1112 | *) |
---|
1113 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1114 | for ac_dir in $PATH; do |
---|
1115 | test -z "$ac_dir" && ac_dir=. |
---|
1116 | if test -f $ac_dir/$ac_word; then |
---|
1117 | ac_cv_path_TOUCH="$ac_dir/$ac_word" |
---|
1118 | break |
---|
1119 | fi |
---|
1120 | done |
---|
1121 | IFS="$ac_save_ifs" |
---|
1122 | ;; |
---|
1123 | esac |
---|
1124 | fi |
---|
1125 | TOUCH="$ac_cv_path_TOUCH" |
---|
1126 | if test -n "$TOUCH"; then |
---|
1127 | echo "$ac_t""$TOUCH" 1>&6 |
---|
1128 | else |
---|
1129 | echo "$ac_t""no" 1>&6 |
---|
1130 | fi |
---|
1131 | |
---|
1132 | # Extract the first word of "cmp", so it can be a program name with args. |
---|
1133 | set dummy cmp; ac_word=$2 |
---|
1134 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1135 | echo "configure:1136: checking for $ac_word" >&5 |
---|
1136 | if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then |
---|
1137 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1138 | else |
---|
1139 | case "$CMP" in |
---|
1140 | /*) |
---|
1141 | ac_cv_path_CMP="$CMP" # Let the user override the test with a path. |
---|
1142 | ;; |
---|
1143 | *) |
---|
1144 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1145 | for ac_dir in $PATH; do |
---|
1146 | test -z "$ac_dir" && ac_dir=. |
---|
1147 | if test -f $ac_dir/$ac_word; then |
---|
1148 | ac_cv_path_CMP="$ac_dir/$ac_word" |
---|
1149 | break |
---|
1150 | fi |
---|
1151 | done |
---|
1152 | IFS="$ac_save_ifs" |
---|
1153 | ;; |
---|
1154 | esac |
---|
1155 | fi |
---|
1156 | CMP="$ac_cv_path_CMP" |
---|
1157 | if test -n "$CMP"; then |
---|
1158 | echo "$ac_t""$CMP" 1>&6 |
---|
1159 | else |
---|
1160 | echo "$ac_t""no" 1>&6 |
---|
1161 | fi |
---|
1162 | |
---|
1163 | |
---|
1164 | # Extract the first word of "sed", so it can be a program name with args. |
---|
1165 | set dummy sed; ac_word=$2 |
---|
1166 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1167 | echo "configure:1168: checking for $ac_word" >&5 |
---|
1168 | if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then |
---|
1169 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1170 | else |
---|
1171 | case "$SED" in |
---|
1172 | /*) |
---|
1173 | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
---|
1174 | ;; |
---|
1175 | *) |
---|
1176 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1177 | for ac_dir in $PATH; do |
---|
1178 | test -z "$ac_dir" && ac_dir=. |
---|
1179 | if test -f $ac_dir/$ac_word; then |
---|
1180 | ac_cv_path_SED="$ac_dir/$ac_word" |
---|
1181 | break |
---|
1182 | fi |
---|
1183 | done |
---|
1184 | IFS="$ac_save_ifs" |
---|
1185 | ;; |
---|
1186 | esac |
---|
1187 | fi |
---|
1188 | SED="$ac_cv_path_SED" |
---|
1189 | if test -n "$SED"; then |
---|
1190 | echo "$ac_t""$SED" 1>&6 |
---|
1191 | else |
---|
1192 | echo "$ac_t""no" 1>&6 |
---|
1193 | fi |
---|
1194 | |
---|
1195 | for ac_prog in gm4 m4 |
---|
1196 | do |
---|
1197 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1198 | set dummy $ac_prog; ac_word=$2 |
---|
1199 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1200 | echo "configure:1201: checking for $ac_word" >&5 |
---|
1201 | if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then |
---|
1202 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1203 | else |
---|
1204 | case "$M4" in |
---|
1205 | /*) |
---|
1206 | ac_cv_path_M4="$M4" # Let the user override the test with a path. |
---|
1207 | ;; |
---|
1208 | *) |
---|
1209 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1210 | for ac_dir in $PATH; do |
---|
1211 | test -z "$ac_dir" && ac_dir=. |
---|
1212 | if test -f $ac_dir/$ac_word; then |
---|
1213 | ac_cv_path_M4="$ac_dir/$ac_word" |
---|
1214 | break |
---|
1215 | fi |
---|
1216 | done |
---|
1217 | IFS="$ac_save_ifs" |
---|
1218 | ;; |
---|
1219 | esac |
---|
1220 | fi |
---|
1221 | M4="$ac_cv_path_M4" |
---|
1222 | if test -n "$M4"; then |
---|
1223 | echo "$ac_t""$M4" 1>&6 |
---|
1224 | else |
---|
1225 | echo "$ac_t""no" 1>&6 |
---|
1226 | fi |
---|
1227 | |
---|
1228 | test -n "$M4" && break |
---|
1229 | done |
---|
1230 | |
---|
1231 | |
---|
1232 | for ac_prog in bash ksh sh |
---|
1233 | do |
---|
1234 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1235 | set dummy $ac_prog; ac_word=$2 |
---|
1236 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1237 | echo "configure:1238: checking for $ac_word" >&5 |
---|
1238 | if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then |
---|
1239 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1240 | else |
---|
1241 | case "$KSH" in |
---|
1242 | /*) |
---|
1243 | ac_cv_path_KSH="$KSH" # Let the user override the test with a path. |
---|
1244 | ;; |
---|
1245 | *) |
---|
1246 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1247 | for ac_dir in $PATH; do |
---|
1248 | test -z "$ac_dir" && ac_dir=. |
---|
1249 | if test -f $ac_dir/$ac_word; then |
---|
1250 | ac_cv_path_KSH="$ac_dir/$ac_word" |
---|
1251 | break |
---|
1252 | fi |
---|
1253 | done |
---|
1254 | IFS="$ac_save_ifs" |
---|
1255 | ;; |
---|
1256 | esac |
---|
1257 | fi |
---|
1258 | KSH="$ac_cv_path_KSH" |
---|
1259 | if test -n "$KSH"; then |
---|
1260 | echo "$ac_t""$KSH" 1>&6 |
---|
1261 | else |
---|
1262 | echo "$ac_t""no" 1>&6 |
---|
1263 | fi |
---|
1264 | |
---|
1265 | test -n "$KSH" && break |
---|
1266 | done |
---|
1267 | |
---|
1268 | |
---|
1269 | if test -z "$KSH"; then |
---|
1270 | { echo "configure: error: *** |
---|
1271 | Cannot determine a usable shell bash/ksh/sh |
---|
1272 | Please contact your system administrator " 1>&2; exit 1; }; |
---|
1273 | fi |
---|
1274 | |
---|
1275 | |
---|
1276 | |
---|
1277 | |
---|
1278 | |
---|
1279 | RTEMS_HOST=$host_os |
---|
1280 | |
---|
1281 | case "${target}" in |
---|
1282 | # hpux unix port should go here |
---|
1283 | hppa1.1-rtems*) |
---|
1284 | target_cpu=hppa1_1 |
---|
1285 | ;; |
---|
1286 | i[3456]86-go32-rtems*) |
---|
1287 | target_cpu=i386 |
---|
1288 | rtems_bsp="go32 go32_p5" |
---|
1289 | skip_startfiles="yes" |
---|
1290 | RTEMS_HAS_POSIX_API=no |
---|
1291 | ;; |
---|
1292 | i[3456]86-rtems*) |
---|
1293 | target_cpu=i386 |
---|
1294 | ;; |
---|
1295 | i[3456]86-pc-linux*) # unix "simulator" port |
---|
1296 | target_cpu=unix |
---|
1297 | RTEMS_HAS_POSIX_API=no |
---|
1298 | RTEMS_HOST=Linux |
---|
1299 | ;; |
---|
1300 | no_cpu-rtems*) |
---|
1301 | target_cpu=no_cpu |
---|
1302 | RTEMS_HAS_POSIX_API=no |
---|
1303 | ;; |
---|
1304 | powerpc-*tems*) |
---|
1305 | target_cpu=ppc |
---|
1306 | ;; |
---|
1307 | sparc-sun-solaris*) # unix "simulator" port |
---|
1308 | target_cpu=unix |
---|
1309 | RTEMS_HAS_POSIX_API=no |
---|
1310 | RTEMS_HOST=Solaris |
---|
1311 | ;; |
---|
1312 | *) |
---|
1313 | echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 |
---|
1314 | echo "configure:1315: checking rtems target cpu" >&5 |
---|
1315 | target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` |
---|
1316 | echo "$ac_t""$target_cpu" 1>&6 |
---|
1317 | |
---|
1318 | ;; |
---|
1319 | esac |
---|
1320 | |
---|
1321 | # Override the set of BSPs to be built. |
---|
1322 | # Check whether --enable-rtemsbsp or --disable-rtemsbsp was given. |
---|
1323 | if test "${enable_rtemsbsp+set}" = set; then |
---|
1324 | enableval="$enable_rtemsbsp" |
---|
1325 | \ |
---|
1326 | rtems_bsp=$enableval \ |
---|
1327 | |
---|
1328 | fi |
---|
1329 | |
---|
1330 | |
---|
1331 | # Is this a supported CPU? |
---|
1332 | echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6 |
---|
1333 | echo "configure:1334: checking if cpu $target_cpu is supported" >&5 |
---|
1334 | if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then |
---|
1335 | echo "$ac_t""yes" 1>&6 |
---|
1336 | makefiles="$makefiles c/src/exec/score/cpu/$target_cpu/Makefile" |
---|
1337 | else |
---|
1338 | { echo "configure: error: no" 1>&2; exit 1; } |
---|
1339 | fi |
---|
1340 | |
---|
1341 | # find all the Executive Makefiles |
---|
1342 | |
---|
1343 | echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6 |
---|
1344 | echo "configure:1345: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5 |
---|
1345 | if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then |
---|
1346 | rtems_av_save_dir=`pwd`; |
---|
1347 | cd $srcdir; |
---|
1348 | rtems_av_tmp=`find c/src/exec/score/tools/$target_cpu -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1349 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1350 | cd $rtems_av_save_dir; |
---|
1351 | echo "$ac_t""done" 1>&6 |
---|
1352 | else |
---|
1353 | echo "$ac_t""no" 1>&6 |
---|
1354 | fi |
---|
1355 | |
---|
1356 | |
---|
1357 | |
---|
1358 | echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6 |
---|
1359 | echo "configure:1360: checking for Makefile.in in c/src/exec/rtems" >&5 |
---|
1360 | if test -d $srcdir/c/src/exec/rtems; then |
---|
1361 | rtems_av_save_dir=`pwd`; |
---|
1362 | cd $srcdir; |
---|
1363 | rtems_av_tmp=`find c/src/exec/rtems -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1364 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1365 | cd $rtems_av_save_dir; |
---|
1366 | echo "$ac_t""done" 1>&6 |
---|
1367 | else |
---|
1368 | echo "$ac_t""no" 1>&6 |
---|
1369 | fi |
---|
1370 | |
---|
1371 | |
---|
1372 | |
---|
1373 | echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6 |
---|
1374 | echo "configure:1375: checking for Makefile.in in c/src/exec/sapi" >&5 |
---|
1375 | if test -d $srcdir/c/src/exec/sapi; then |
---|
1376 | rtems_av_save_dir=`pwd`; |
---|
1377 | cd $srcdir; |
---|
1378 | rtems_av_tmp=`find c/src/exec/sapi -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1379 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1380 | cd $rtems_av_save_dir; |
---|
1381 | echo "$ac_t""done" 1>&6 |
---|
1382 | else |
---|
1383 | echo "$ac_t""no" 1>&6 |
---|
1384 | fi |
---|
1385 | |
---|
1386 | |
---|
1387 | |
---|
1388 | if test "$RTEMS_HAS_POSIX_API" = "yes"; then |
---|
1389 | |
---|
1390 | echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6 |
---|
1391 | echo "configure:1392: checking for Makefile.in in c/src/exec/posix" >&5 |
---|
1392 | if test -d $srcdir/c/src/exec/posix; then |
---|
1393 | rtems_av_save_dir=`pwd`; |
---|
1394 | cd $srcdir; |
---|
1395 | rtems_av_tmp=`find c/src/exec/posix -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1396 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1397 | cd $rtems_av_save_dir; |
---|
1398 | echo "$ac_t""done" 1>&6 |
---|
1399 | else |
---|
1400 | echo "$ac_t""no" 1>&6 |
---|
1401 | fi |
---|
1402 | |
---|
1403 | |
---|
1404 | makefiles="$makefiles c/src/exec/wrapup/posix/Makefile" |
---|
1405 | fi |
---|
1406 | |
---|
1407 | # find all the Makefiles for the BSPs |
---|
1408 | if test -d "$srcdir/c/src/lib/libbsp/$target_cpu"; then |
---|
1409 | makefiles="$makefiles c/src/lib/libbsp/$target_cpu/Makefile" |
---|
1410 | |
---|
1411 | if test -z "$rtems_bsp"; then |
---|
1412 | echo $ac_n "checking for bsps""... $ac_c" 1>&6 |
---|
1413 | echo "configure:1414: checking for bsps" >&5 |
---|
1414 | files=`ls $srcdir/c/src/lib/libbsp/$target_cpu` |
---|
1415 | for file in $files; do |
---|
1416 | case $file in |
---|
1417 | shared*);; |
---|
1418 | Makefile*);; |
---|
1419 | READ*);; |
---|
1420 | CVS*);; |
---|
1421 | pxfl*);; |
---|
1422 | go32*);; # so the i386 port can pick up the other Makefiles |
---|
1423 | # Now account for BSPs with build variants |
---|
1424 | gen68360) rtems_bsp="$rtems_bsp gen68360 gen68360_040";; |
---|
1425 | p4000) rtems_bsp="$rtems_bsp p4600 p4650";; |
---|
1426 | mvme162) rtems_bsp="$rtems_bsp mvme162 mvme162lx";; |
---|
1427 | *) rtems_bsp="$rtems_bsp $file";; |
---|
1428 | esac; |
---|
1429 | done |
---|
1430 | |
---|
1431 | echo "$ac_t""$rtems_bsp" 1>&6 |
---|
1432 | fi |
---|
1433 | |
---|
1434 | # collect makefiles for each bsp |
---|
1435 | for i in $rtems_bsp; do |
---|
1436 | # make sure there is a make/custom file for the bsp |
---|
1437 | if test ! -r "$srcdir/c/make/custom/${i}.cfg"; then |
---|
1438 | { echo "configure: error: no make/custom/${i}.cfg file for BSP $i" 1>&2; exit 1; } |
---|
1439 | fi |
---|
1440 | |
---|
1441 | # account for "aliased" bsps which share source code |
---|
1442 | case $i in |
---|
1443 | mvme162lx) bspdir=mvme162 ;; # mvme162 board variant |
---|
1444 | gen68360_040) bspdir=gen68360 ;; # 68360 in companion mode |
---|
1445 | go32_p5) bspdir=go32 ;; # go32 on Pentium class CPU |
---|
1446 | p4600) bspdir=p4000 ;; # p4000 board with IDT 4600 |
---|
1447 | p4650) bspdir=p4000 ;; # p4000 board with IDT 4650 |
---|
1448 | *) bspdir=$i;; |
---|
1449 | esac |
---|
1450 | |
---|
1451 | # Is there code where there should be for this BSP? |
---|
1452 | if test -d "$srcdir/c/src/lib/libbsp/$target_cpu/$bspdir"; then |
---|
1453 | RTEMS_BSP_LIST="$RTEMS_BSP_LIST $i" |
---|
1454 | # make sure the Makefiles in a bsp directory are only done once |
---|
1455 | echo $bspdirs | grep $bspdir >/dev/null 2>&1 |
---|
1456 | if test $? -ne 0 ; then |
---|
1457 | bspdirs="$bspdirs $bspdir" |
---|
1458 | |
---|
1459 | echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$bspdir""... $ac_c" 1>&6 |
---|
1460 | echo "configure:1461: checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$bspdir" >&5 |
---|
1461 | if test -d $srcdir/c/src/lib/libbsp/$target_cpu/$bspdir; then |
---|
1462 | rtems_av_save_dir=`pwd`; |
---|
1463 | cd $srcdir; |
---|
1464 | rtems_av_tmp=`find c/src/lib/libbsp/$target_cpu/$bspdir -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1465 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1466 | cd $rtems_av_save_dir; |
---|
1467 | echo "$ac_t""done" 1>&6 |
---|
1468 | else |
---|
1469 | echo "$ac_t""no" 1>&6 |
---|
1470 | fi |
---|
1471 | |
---|
1472 | |
---|
1473 | fi |
---|
1474 | else |
---|
1475 | { echo "configure: error: unable to find libbsp directory ($bspdir) for $i" 1>&2; exit 1; } |
---|
1476 | fi |
---|
1477 | done |
---|
1478 | fi |
---|
1479 | |
---|
1480 | # find all the CPU dependent library Makefiles |
---|
1481 | |
---|
1482 | echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6 |
---|
1483 | echo "configure:1484: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5 |
---|
1484 | if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then |
---|
1485 | rtems_av_save_dir=`pwd`; |
---|
1486 | cd $srcdir; |
---|
1487 | rtems_av_tmp=`find c/src/lib/libcpu/$target_cpu -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1488 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1489 | cd $rtems_av_save_dir; |
---|
1490 | echo "$ac_t""done" 1>&6 |
---|
1491 | else |
---|
1492 | echo "$ac_t""no" 1>&6 |
---|
1493 | fi |
---|
1494 | |
---|
1495 | |
---|
1496 | |
---|
1497 | if test "$skip_startfiles" != "yes"; then |
---|
1498 | |
---|
1499 | echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6 |
---|
1500 | echo "configure:1501: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5 |
---|
1501 | if test -d $srcdir/c/src/lib/start/$target_cpu; then |
---|
1502 | rtems_av_save_dir=`pwd`; |
---|
1503 | cd $srcdir; |
---|
1504 | rtems_av_tmp=`find c/src/lib/start/$target_cpu -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1505 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1506 | cd $rtems_av_save_dir; |
---|
1507 | echo "$ac_t""done" 1>&6 |
---|
1508 | else |
---|
1509 | echo "$ac_t""no" 1>&6 |
---|
1510 | fi |
---|
1511 | |
---|
1512 | |
---|
1513 | fi |
---|
1514 | |
---|
1515 | |
---|
1516 | |
---|
1517 | # |
---|
1518 | # Target configurations are listed in alphabetical order. |
---|
1519 | # The BSPs for a target configuration are also listed in alphabetical order. |
---|
1520 | # |
---|
1521 | |
---|
1522 | |
---|
1523 | if [ "${program_prefix}" = "NONE" ] ; then |
---|
1524 | if [ "${target}" = "${host}" ] ; then |
---|
1525 | program_prefix= |
---|
1526 | else |
---|
1527 | program_prefix=${target}- |
---|
1528 | fi |
---|
1529 | fi |
---|
1530 | |
---|
1531 | RTEMS_ROOT=`cd $srcdir/c; pwd` |
---|
1532 | PROJECT_ROOT=`pwd;` |
---|
1533 | |
---|
1534 | # If the KA9Q TCP/IP stack is enabled, then find all KA9Q Makefiles |
---|
1535 | if test "$RTEMS_HAS_KA9Q" = "yes"; then |
---|
1536 | makefiles="$makefiles c/src/lib/libka9q/Makefile" |
---|
1537 | fi |
---|
1538 | |
---|
1539 | # If the C++ support is enabled, then include the Makefiles |
---|
1540 | if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then |
---|
1541 | makefiles="$makefiles c/src/lib/librtems++/Makefile" |
---|
1542 | fi |
---|
1543 | |
---|
1544 | # If the tests are enabled, then find all the test suite Makefiles |
---|
1545 | echo $ac_n "checking Are the test suites enabled? ""... $ac_c" 1>&6 |
---|
1546 | echo "configure:1547: checking Are the test suites enabled? " >&5 |
---|
1547 | tests_enabled=yes |
---|
1548 | # Check whether --enable-tests or --disable-tests was given. |
---|
1549 | if test "${enable_tests+set}" = set; then |
---|
1550 | enableval="$enable_tests" |
---|
1551 | \ |
---|
1552 | case "${enableval}" in |
---|
1553 | yes) echo "$ac_t""yes" 1>&6 ;; |
---|
1554 | no) echo "$ac_t""no" 1>&6 ; tests_enabled=no ;; |
---|
1555 | *) { echo "configure: error: bad value ${enableval} for tests option" 1>&2; exit 1; } ;; |
---|
1556 | esac |
---|
1557 | else |
---|
1558 | echo "$ac_t""yes" 1>&6 |
---|
1559 | |
---|
1560 | fi |
---|
1561 | |
---|
1562 | |
---|
1563 | if test "$tests_enabled" = "yes"; then |
---|
1564 | |
---|
1565 | echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6 |
---|
1566 | echo "configure:1567: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5 |
---|
1567 | if test -d $srcdir/c/src/tests/tools/$target_cpu; then |
---|
1568 | rtems_av_save_dir=`pwd`; |
---|
1569 | cd $srcdir; |
---|
1570 | rtems_av_tmp=`find c/src/tests/tools/$target_cpu -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1571 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1572 | cd $rtems_av_save_dir; |
---|
1573 | echo "$ac_t""done" 1>&6 |
---|
1574 | else |
---|
1575 | echo "$ac_t""no" 1>&6 |
---|
1576 | fi |
---|
1577 | |
---|
1578 | |
---|
1579 | |
---|
1580 | echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6 |
---|
1581 | echo "configure:1582: checking for Makefile.in in c/src/tests/libtests" >&5 |
---|
1582 | if test -d $srcdir/c/src/tests/libtests; then |
---|
1583 | rtems_av_save_dir=`pwd`; |
---|
1584 | cd $srcdir; |
---|
1585 | rtems_av_tmp=`find c/src/tests/libtests -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1586 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1587 | cd $rtems_av_save_dir; |
---|
1588 | echo "$ac_t""done" 1>&6 |
---|
1589 | else |
---|
1590 | echo "$ac_t""no" 1>&6 |
---|
1591 | fi |
---|
1592 | |
---|
1593 | |
---|
1594 | |
---|
1595 | echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6 |
---|
1596 | echo "configure:1597: checking for Makefile.in in c/src/tests/sptests" >&5 |
---|
1597 | if test -d $srcdir/c/src/tests/sptests; then |
---|
1598 | rtems_av_save_dir=`pwd`; |
---|
1599 | cd $srcdir; |
---|
1600 | rtems_av_tmp=`find c/src/tests/sptests -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1601 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1602 | cd $rtems_av_save_dir; |
---|
1603 | echo "$ac_t""done" 1>&6 |
---|
1604 | else |
---|
1605 | echo "$ac_t""no" 1>&6 |
---|
1606 | fi |
---|
1607 | |
---|
1608 | |
---|
1609 | |
---|
1610 | echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6 |
---|
1611 | echo "configure:1612: checking for Makefile.in in c/src/tests/tmtests" >&5 |
---|
1612 | if test -d $srcdir/c/src/tests/tmtests; then |
---|
1613 | rtems_av_save_dir=`pwd`; |
---|
1614 | cd $srcdir; |
---|
1615 | rtems_av_tmp=`find c/src/tests/tmtests -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1616 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1617 | cd $rtems_av_save_dir; |
---|
1618 | echo "$ac_t""done" 1>&6 |
---|
1619 | else |
---|
1620 | echo "$ac_t""no" 1>&6 |
---|
1621 | fi |
---|
1622 | |
---|
1623 | |
---|
1624 | |
---|
1625 | echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6 |
---|
1626 | echo "configure:1627: checking for Makefile.in in c/src/tests/mptests" >&5 |
---|
1627 | if test -d $srcdir/c/src/tests/mptests; then |
---|
1628 | rtems_av_save_dir=`pwd`; |
---|
1629 | cd $srcdir; |
---|
1630 | rtems_av_tmp=`find c/src/tests/mptests -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1631 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1632 | cd $rtems_av_save_dir; |
---|
1633 | echo "$ac_t""done" 1>&6 |
---|
1634 | else |
---|
1635 | echo "$ac_t""no" 1>&6 |
---|
1636 | fi |
---|
1637 | |
---|
1638 | |
---|
1639 | if test "$RTEMS_HAS_POSIX" = "yes"; then |
---|
1640 | |
---|
1641 | echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6 |
---|
1642 | echo "configure:1643: checking for Makefile.in in c/src/tests/psxtests" >&5 |
---|
1643 | if test -d $srcdir/c/src/tests/psxtests; then |
---|
1644 | rtems_av_save_dir=`pwd`; |
---|
1645 | cd $srcdir; |
---|
1646 | rtems_av_tmp=`find c/src/tests/psxtests -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1647 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1648 | cd $rtems_av_save_dir; |
---|
1649 | echo "$ac_t""done" 1>&6 |
---|
1650 | else |
---|
1651 | echo "$ac_t""no" 1>&6 |
---|
1652 | fi |
---|
1653 | |
---|
1654 | |
---|
1655 | fi |
---|
1656 | fi |
---|
1657 | |
---|
1658 | # If the HWAPI is enabled, the find the HWAPI Makefiles |
---|
1659 | echo $ac_n "checking Is the HWAPI enabled? ""... $ac_c" 1>&6 |
---|
1660 | echo "configure:1661: checking Is the HWAPI enabled? " >&5 |
---|
1661 | # Check whether --enable-hwapi or --disable-hwapi was given. |
---|
1662 | if test "${enable_hwapi+set}" = set; then |
---|
1663 | enableval="$enable_hwapi" |
---|
1664 | \ |
---|
1665 | case "${enableval}" in |
---|
1666 | yes) echo "$ac_t""yes" 1>&6 |
---|
1667 | if test -f ${srcdir}/c/src/lib/libhwapi/Makefile.in ; then |
---|
1668 | makefiles="$makefiles c/src/lib/libhwapi/Makefile" |
---|
1669 | |
---|
1670 | echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6 |
---|
1671 | echo "configure:1672: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5 |
---|
1672 | if test -d $srcdir/c/src/lib/libhwapi/analog; then |
---|
1673 | rtems_av_save_dir=`pwd`; |
---|
1674 | cd $srcdir; |
---|
1675 | rtems_av_tmp=`find c/src/lib/libhwapi/analog -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1676 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1677 | cd $rtems_av_save_dir; |
---|
1678 | echo "$ac_t""done" 1>&6 |
---|
1679 | else |
---|
1680 | echo "$ac_t""no" 1>&6 |
---|
1681 | fi |
---|
1682 | |
---|
1683 | |
---|
1684 | |
---|
1685 | echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6 |
---|
1686 | echo "configure:1687: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5 |
---|
1687 | if test -d $srcdir/c/src/lib/libhwapi/discrete; then |
---|
1688 | rtems_av_save_dir=`pwd`; |
---|
1689 | cd $srcdir; |
---|
1690 | rtems_av_tmp=`find c/src/lib/libhwapi/discrete -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1691 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1692 | cd $rtems_av_save_dir; |
---|
1693 | echo "$ac_t""done" 1>&6 |
---|
1694 | else |
---|
1695 | echo "$ac_t""no" 1>&6 |
---|
1696 | fi |
---|
1697 | |
---|
1698 | |
---|
1699 | |
---|
1700 | echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6 |
---|
1701 | echo "configure:1702: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5 |
---|
1702 | if test -d $srcdir/c/src/lib/libhwapi/drivers; then |
---|
1703 | rtems_av_save_dir=`pwd`; |
---|
1704 | cd $srcdir; |
---|
1705 | rtems_av_tmp=`find c/src/lib/libhwapi/drivers -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1706 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1707 | cd $rtems_av_save_dir; |
---|
1708 | echo "$ac_t""done" 1>&6 |
---|
1709 | else |
---|
1710 | echo "$ac_t""no" 1>&6 |
---|
1711 | fi |
---|
1712 | |
---|
1713 | |
---|
1714 | |
---|
1715 | echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/eeprom""... $ac_c" 1>&6 |
---|
1716 | echo "configure:1717: checking for Makefile.in in c/src/lib/libhwapi/eeprom" >&5 |
---|
1717 | if test -d $srcdir/c/src/lib/libhwapi/eeprom; then |
---|
1718 | rtems_av_save_dir=`pwd`; |
---|
1719 | cd $srcdir; |
---|
1720 | rtems_av_tmp=`find c/src/lib/libhwapi/eeprom -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1721 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1722 | cd $rtems_av_save_dir; |
---|
1723 | echo "$ac_t""done" 1>&6 |
---|
1724 | else |
---|
1725 | echo "$ac_t""no" 1>&6 |
---|
1726 | fi |
---|
1727 | |
---|
1728 | |
---|
1729 | |
---|
1730 | echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6 |
---|
1731 | echo "configure:1732: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5 |
---|
1732 | if test -d $srcdir/c/src/lib/libhwapi/serial; then |
---|
1733 | rtems_av_save_dir=`pwd`; |
---|
1734 | cd $srcdir; |
---|
1735 | rtems_av_tmp=`find c/src/lib/libhwapi/serial -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1736 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1737 | cd $rtems_av_save_dir; |
---|
1738 | echo "$ac_t""done" 1>&6 |
---|
1739 | else |
---|
1740 | echo "$ac_t""no" 1>&6 |
---|
1741 | fi |
---|
1742 | |
---|
1743 | |
---|
1744 | |
---|
1745 | echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6 |
---|
1746 | echo "configure:1747: checking for Makefile.in in c/src/lib/libhwapi/support" >&5 |
---|
1747 | if test -d $srcdir/c/src/lib/libhwapi/support; then |
---|
1748 | rtems_av_save_dir=`pwd`; |
---|
1749 | cd $srcdir; |
---|
1750 | rtems_av_tmp=`find c/src/lib/libhwapi/support -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1751 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1752 | cd $rtems_av_save_dir; |
---|
1753 | echo "$ac_t""done" 1>&6 |
---|
1754 | else |
---|
1755 | echo "$ac_t""no" 1>&6 |
---|
1756 | fi |
---|
1757 | |
---|
1758 | |
---|
1759 | |
---|
1760 | echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6 |
---|
1761 | echo "configure:1762: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5 |
---|
1762 | if test -d $srcdir/c/src/lib/libhwapi/wrapup; then |
---|
1763 | rtems_av_save_dir=`pwd`; |
---|
1764 | cd $srcdir; |
---|
1765 | rtems_av_tmp=`find c/src/lib/libhwapi/wrapup -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1766 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1767 | cd $rtems_av_save_dir; |
---|
1768 | echo "$ac_t""done" 1>&6 |
---|
1769 | else |
---|
1770 | echo "$ac_t""no" 1>&6 |
---|
1771 | fi |
---|
1772 | |
---|
1773 | |
---|
1774 | else |
---|
1775 | { echo "configure: error: No source code found for the HWAPI" 1>&2; exit 1; } |
---|
1776 | fi |
---|
1777 | ;; |
---|
1778 | no) echo "$ac_t""no" 1>&6 ;; |
---|
1779 | *) { echo "configure: error: bad value ${enableval} for hwapi option" 1>&2; exit 1; } ;; |
---|
1780 | esac |
---|
1781 | else |
---|
1782 | echo "$ac_t""no" 1>&6 |
---|
1783 | |
---|
1784 | fi |
---|
1785 | |
---|
1786 | |
---|
1787 | |
---|
1788 | |
---|
1789 | |
---|
1790 | |
---|
1791 | |
---|
1792 | |
---|
1793 | |
---|
1794 | |
---|
1795 | |
---|
1796 | |
---|
1797 | |
---|
1798 | |
---|
1799 | |
---|
1800 | |
---|
1801 | # pick up all the Makefiles in required parts of the tree |
---|
1802 | |
---|
1803 | echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6 |
---|
1804 | echo "configure:1805: checking for Makefile.in in c/build-tools" >&5 |
---|
1805 | if test -d $srcdir/c/build-tools; then |
---|
1806 | rtems_av_save_dir=`pwd`; |
---|
1807 | cd $srcdir; |
---|
1808 | rtems_av_tmp=`find c/build-tools -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1809 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1810 | cd $rtems_av_save_dir; |
---|
1811 | echo "$ac_t""done" 1>&6 |
---|
1812 | else |
---|
1813 | echo "$ac_t""no" 1>&6 |
---|
1814 | fi |
---|
1815 | |
---|
1816 | |
---|
1817 | |
---|
1818 | echo $ac_n "checking for Makefile.in in c/make""... $ac_c" 1>&6 |
---|
1819 | echo "configure:1820: checking for Makefile.in in c/make" >&5 |
---|
1820 | if test -d $srcdir/c/make; then |
---|
1821 | rtems_av_save_dir=`pwd`; |
---|
1822 | cd $srcdir; |
---|
1823 | rtems_av_tmp=`find c/make -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1824 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1825 | cd $rtems_av_save_dir; |
---|
1826 | echo "$ac_t""done" 1>&6 |
---|
1827 | else |
---|
1828 | echo "$ac_t""no" 1>&6 |
---|
1829 | fi |
---|
1830 | |
---|
1831 | |
---|
1832 | |
---|
1833 | echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6 |
---|
1834 | echo "configure:1835: checking for Makefile.in in c/src/lib/libmisc" >&5 |
---|
1835 | if test -d $srcdir/c/src/lib/libmisc; then |
---|
1836 | rtems_av_save_dir=`pwd`; |
---|
1837 | cd $srcdir; |
---|
1838 | rtems_av_tmp=`find c/src/lib/libmisc -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1839 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1840 | cd $rtems_av_save_dir; |
---|
1841 | echo "$ac_t""done" 1>&6 |
---|
1842 | else |
---|
1843 | echo "$ac_t""no" 1>&6 |
---|
1844 | fi |
---|
1845 | |
---|
1846 | |
---|
1847 | |
---|
1848 | echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6 |
---|
1849 | echo "configure:1850: checking for Makefile.in in c/src/tests/samples" >&5 |
---|
1850 | if test -d $srcdir/c/src/tests/samples; then |
---|
1851 | rtems_av_save_dir=`pwd`; |
---|
1852 | cd $srcdir; |
---|
1853 | rtems_av_tmp=`find c/src/tests/samples -name Makefile.in -print | sed 's%\.in%%' | sort`; |
---|
1854 | makefiles="$makefiles $rtems_av_tmp"; |
---|
1855 | cd $rtems_av_save_dir; |
---|
1856 | echo "$ac_t""done" 1>&6 |
---|
1857 | else |
---|
1858 | echo "$ac_t""no" 1>&6 |
---|
1859 | fi |
---|
1860 | |
---|
1861 | |
---|
1862 | |
---|
1863 | # try not to explicitly list a Makefile here |
---|
1864 | trap '' 1 2 15 |
---|
1865 | cat > confcache <<\EOF |
---|
1866 | # This file is a shell script that caches the results of configure |
---|
1867 | # tests run on this system so they can be shared between configure |
---|
1868 | # scripts and configure runs. It is not useful on other systems. |
---|
1869 | # If it contains results you don't want to keep, you may remove or edit it. |
---|
1870 | # |
---|
1871 | # By default, configure uses ./config.cache as the cache file, |
---|
1872 | # creating it if it does not exist already. You can give configure |
---|
1873 | # the --cache-file=FILE option to use a different cache file; that is |
---|
1874 | # what configure does when it calls configure scripts in |
---|
1875 | # subdirectories, so they share the cache. |
---|
1876 | # Giving --cache-file=/dev/null disables caching, for debugging configure. |
---|
1877 | # config.status only pays attention to the cache file if you give it the |
---|
1878 | # --recheck option to rerun configure. |
---|
1879 | # |
---|
1880 | EOF |
---|
1881 | # The following way of writing the cache mishandles newlines in values, |
---|
1882 | # but we know of no workaround that is simple, portable, and efficient. |
---|
1883 | # So, don't put newlines in cache variables' values. |
---|
1884 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
1885 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
1886 | (set) 2>&1 | |
---|
1887 | case `(ac_space=' '; set) 2>&1` in |
---|
1888 | *ac_space=\ *) |
---|
1889 | # `set' does not quote correctly, so add quotes (double-quote substitution |
---|
1890 | # turns \\\\ into \\, and sed turns \\ into \). |
---|
1891 | sed -n \ |
---|
1892 | -e "s/'/'\\\\''/g" \ |
---|
1893 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
---|
1894 | ;; |
---|
1895 | *) |
---|
1896 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
1897 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
---|
1898 | ;; |
---|
1899 | esac >> confcache |
---|
1900 | if cmp -s $cache_file confcache; then |
---|
1901 | : |
---|
1902 | else |
---|
1903 | if test -w $cache_file; then |
---|
1904 | echo "updating cache $cache_file" |
---|
1905 | cat confcache > $cache_file |
---|
1906 | else |
---|
1907 | echo "not updating unwritable cache $cache_file" |
---|
1908 | fi |
---|
1909 | fi |
---|
1910 | rm -f confcache |
---|
1911 | |
---|
1912 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
1913 | |
---|
1914 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
1915 | # Let make expand exec_prefix. |
---|
1916 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
1917 | |
---|
1918 | # Any assignment to VPATH causes Sun make to only execute |
---|
1919 | # the first set of double-colon rules, so remove it if not needed. |
---|
1920 | # If there is a colon in the path, we need to keep it. |
---|
1921 | if test "x$srcdir" = x.; then |
---|
1922 | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
---|
1923 | fi |
---|
1924 | |
---|
1925 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
---|
1926 | |
---|
1927 | # Transform confdefs.h into DEFS. |
---|
1928 | # Protect against shell expansion while executing Makefile rules. |
---|
1929 | # Protect against Makefile macro expansion. |
---|
1930 | cat > conftest.defs <<\EOF |
---|
1931 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g |
---|
1932 | s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g |
---|
1933 | s%\[%\\&%g |
---|
1934 | s%\]%\\&%g |
---|
1935 | s%\$%$$%g |
---|
1936 | EOF |
---|
1937 | DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` |
---|
1938 | rm -f conftest.defs |
---|
1939 | |
---|
1940 | |
---|
1941 | # Without the "./", some shells look in PATH for config.status. |
---|
1942 | : ${CONFIG_STATUS=./config.status} |
---|
1943 | |
---|
1944 | echo creating $CONFIG_STATUS |
---|
1945 | rm -f $CONFIG_STATUS |
---|
1946 | cat > $CONFIG_STATUS <<EOF |
---|
1947 | #! /bin/sh |
---|
1948 | # Generated automatically by configure. |
---|
1949 | # Run this file to recreate the current configuration. |
---|
1950 | # This directory was configured as follows, |
---|
1951 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
---|
1952 | # |
---|
1953 | # $0 $ac_configure_args |
---|
1954 | # |
---|
1955 | # Compiler output produced by configure, useful for debugging |
---|
1956 | # configure, is in ./config.log if it exists. |
---|
1957 | |
---|
1958 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
---|
1959 | for ac_option |
---|
1960 | do |
---|
1961 | case "\$ac_option" in |
---|
1962 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
1963 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
---|
1964 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
---|
1965 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
---|
1966 | echo "$CONFIG_STATUS generated by autoconf version 2.12" |
---|
1967 | exit 0 ;; |
---|
1968 | -help | --help | --hel | --he | --h) |
---|
1969 | echo "\$ac_cs_usage"; exit 0 ;; |
---|
1970 | *) echo "\$ac_cs_usage"; exit 1 ;; |
---|
1971 | esac |
---|
1972 | done |
---|
1973 | |
---|
1974 | ac_given_srcdir=$srcdir |
---|
1975 | |
---|
1976 | trap 'rm -fr `echo "Makefile |
---|
1977 | c/Makefile |
---|
1978 | c/src/Makefile |
---|
1979 | c/src/exec/Makefile |
---|
1980 | c/src/exec/score/Makefile |
---|
1981 | c/src/exec/score/cpu/Makefile |
---|
1982 | c/src/exec/score/headers/Makefile |
---|
1983 | c/src/exec/score/inline/Makefile |
---|
1984 | c/src/exec/score/src/Makefile |
---|
1985 | c/src/exec/score/tools/Makefile |
---|
1986 | c/src/exec/score/tools/generic/Makefile |
---|
1987 | c/src/exec/score/tools/generic/size_rtems |
---|
1988 | c/src/exec/wrapup/Makefile |
---|
1989 | c/src/exec/wrapup/rtems/Makefile |
---|
1990 | c/src/lib/Makefile |
---|
1991 | c/src/lib/include/Makefile |
---|
1992 | c/src/lib/libbsp/Makefile |
---|
1993 | c/src/lib/libbsp/shmdr/Makefile |
---|
1994 | c/src/lib/libc/Makefile |
---|
1995 | c/src/lib/libcpu/Makefile |
---|
1996 | c/src/lib/start/Makefile |
---|
1997 | c/src/lib/wrapup/Makefile |
---|
1998 | c/src/tests/Makefile |
---|
1999 | c/src/tests/support/Makefile |
---|
2000 | c/src/tests/support/include/Makefile |
---|
2001 | c/src/tests/support/stubdr/Makefile |
---|
2002 | c/src/tests/support/wrapup/Makefile |
---|
2003 | c/src/tests/tools/Makefile |
---|
2004 | c/src/tests/tools/generic/Makefile |
---|
2005 | $makefiles |
---|
2006 | c/make/host.cfg |
---|
2007 | c/make/target.cfg |
---|
2008 | c/make/Templates/Makefile.inc |
---|
2009 | c/update-tools/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
---|
2010 | EOF |
---|
2011 | cat >> $CONFIG_STATUS <<EOF |
---|
2012 | |
---|
2013 | # Protect against being on the right side of a sed subst in config.status. |
---|
2014 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
---|
2015 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
---|
2016 | $ac_vpsub |
---|
2017 | $extrasub |
---|
2018 | s%@CFLAGS@%$CFLAGS%g |
---|
2019 | s%@CPPFLAGS@%$CPPFLAGS%g |
---|
2020 | s%@CXXFLAGS@%$CXXFLAGS%g |
---|
2021 | s%@DEFS@%$DEFS%g |
---|
2022 | s%@LDFLAGS@%$LDFLAGS%g |
---|
2023 | s%@LIBS@%$LIBS%g |
---|
2024 | s%@exec_prefix@%$exec_prefix%g |
---|
2025 | s%@prefix@%$prefix%g |
---|
2026 | s%@program_transform_name@%$program_transform_name%g |
---|
2027 | s%@bindir@%$bindir%g |
---|
2028 | s%@sbindir@%$sbindir%g |
---|
2029 | s%@libexecdir@%$libexecdir%g |
---|
2030 | s%@datadir@%$datadir%g |
---|
2031 | s%@sysconfdir@%$sysconfdir%g |
---|
2032 | s%@sharedstatedir@%$sharedstatedir%g |
---|
2033 | s%@localstatedir@%$localstatedir%g |
---|
2034 | s%@libdir@%$libdir%g |
---|
2035 | s%@includedir@%$includedir%g |
---|
2036 | s%@oldincludedir@%$oldincludedir%g |
---|
2037 | s%@infodir@%$infodir%g |
---|
2038 | s%@mandir@%$mandir%g |
---|
2039 | s%@SET_MAKE@%$SET_MAKE%g |
---|
2040 | s%@host@%$host%g |
---|
2041 | s%@host_alias@%$host_alias%g |
---|
2042 | s%@host_cpu@%$host_cpu%g |
---|
2043 | s%@host_vendor@%$host_vendor%g |
---|
2044 | s%@host_os@%$host_os%g |
---|
2045 | s%@target@%$target%g |
---|
2046 | s%@target_alias@%$target_alias%g |
---|
2047 | s%@target_cpu@%$target_cpu%g |
---|
2048 | s%@target_vendor@%$target_vendor%g |
---|
2049 | s%@target_os@%$target_os%g |
---|
2050 | s%@build@%$build%g |
---|
2051 | s%@build_alias@%$build_alias%g |
---|
2052 | s%@build_cpu@%$build_cpu%g |
---|
2053 | s%@build_vendor@%$build_vendor%g |
---|
2054 | s%@build_os@%$build_os%g |
---|
2055 | s%@CAT@%$CAT%g |
---|
2056 | s%@RM@%$RM%g |
---|
2057 | s%@CP@%$CP%g |
---|
2058 | s%@MV@%$MV%g |
---|
2059 | s%@LN@%$LN%g |
---|
2060 | s%@LN_S@%$LN_S%g |
---|
2061 | s%@CHMOD@%$CHMOD%g |
---|
2062 | s%@SORT@%$SORT%g |
---|
2063 | s%@MKDIR@%$MKDIR%g |
---|
2064 | s%@TOUCH@%$TOUCH%g |
---|
2065 | s%@CMP@%$CMP%g |
---|
2066 | s%@SED@%$SED%g |
---|
2067 | s%@M4@%$M4%g |
---|
2068 | s%@KSH@%$KSH%g |
---|
2069 | s%@RTEMS_BSP_LIST@%$RTEMS_BSP_LIST%g |
---|
2070 | s%@RTEMS_HOST@%$RTEMS_HOST%g |
---|
2071 | s%@RTEMS_LIBC_DIR@%$RTEMS_LIBC_DIR%g |
---|
2072 | s%@RTEMS_ROOT@%$RTEMS_ROOT%g |
---|
2073 | s%@RTEMS_USE_OWN_PDIR@%$RTEMS_USE_OWN_PDIR%g |
---|
2074 | s%@RTEMS_HAS_POSIX_API@%$RTEMS_HAS_POSIX_API%g |
---|
2075 | s%@RTEMS_HAS_KA9Q@%$RTEMS_HAS_KA9Q%g |
---|
2076 | s%@RTEMS_USE_MACROS@%$RTEMS_USE_MACROS%g |
---|
2077 | s%@RTEMS_HAS_CPLUSPLUS@%$RTEMS_HAS_CPLUSPLUS%g |
---|
2078 | s%@RTEMS_USE_GCC272@%$RTEMS_USE_GCC272%g |
---|
2079 | s%@PROJECT_ROOT@%$PROJECT_ROOT%g |
---|
2080 | s%@program_prefix@%$program_prefix%g |
---|
2081 | |
---|
2082 | CEOF |
---|
2083 | EOF |
---|
2084 | |
---|
2085 | cat >> $CONFIG_STATUS <<\EOF |
---|
2086 | |
---|
2087 | # Split the substitutions into bite-sized pieces for seds with |
---|
2088 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
2089 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
---|
2090 | ac_file=1 # Number of current file. |
---|
2091 | ac_beg=1 # First line for current file. |
---|
2092 | ac_end=$ac_max_sed_cmds # Line after last line for current file. |
---|
2093 | ac_more_lines=: |
---|
2094 | ac_sed_cmds="" |
---|
2095 | while $ac_more_lines; do |
---|
2096 | if test $ac_beg -gt 1; then |
---|
2097 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
2098 | else |
---|
2099 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
2100 | fi |
---|
2101 | if test ! -s conftest.s$ac_file; then |
---|
2102 | ac_more_lines=false |
---|
2103 | rm -f conftest.s$ac_file |
---|
2104 | else |
---|
2105 | if test -z "$ac_sed_cmds"; then |
---|
2106 | ac_sed_cmds="sed -f conftest.s$ac_file" |
---|
2107 | else |
---|
2108 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
---|
2109 | fi |
---|
2110 | ac_file=`expr $ac_file + 1` |
---|
2111 | ac_beg=$ac_end |
---|
2112 | ac_end=`expr $ac_end + $ac_max_sed_cmds` |
---|
2113 | fi |
---|
2114 | done |
---|
2115 | if test -z "$ac_sed_cmds"; then |
---|
2116 | ac_sed_cmds=cat |
---|
2117 | fi |
---|
2118 | EOF |
---|
2119 | |
---|
2120 | cat >> $CONFIG_STATUS <<EOF |
---|
2121 | |
---|
2122 | CONFIG_FILES=\${CONFIG_FILES-"Makefile |
---|
2123 | c/Makefile |
---|
2124 | c/src/Makefile |
---|
2125 | c/src/exec/Makefile |
---|
2126 | c/src/exec/score/Makefile |
---|
2127 | c/src/exec/score/cpu/Makefile |
---|
2128 | c/src/exec/score/headers/Makefile |
---|
2129 | c/src/exec/score/inline/Makefile |
---|
2130 | c/src/exec/score/src/Makefile |
---|
2131 | c/src/exec/score/tools/Makefile |
---|
2132 | c/src/exec/score/tools/generic/Makefile |
---|
2133 | c/src/exec/score/tools/generic/size_rtems |
---|
2134 | c/src/exec/wrapup/Makefile |
---|
2135 | c/src/exec/wrapup/rtems/Makefile |
---|
2136 | c/src/lib/Makefile |
---|
2137 | c/src/lib/include/Makefile |
---|
2138 | c/src/lib/libbsp/Makefile |
---|
2139 | c/src/lib/libbsp/shmdr/Makefile |
---|
2140 | c/src/lib/libc/Makefile |
---|
2141 | c/src/lib/libcpu/Makefile |
---|
2142 | c/src/lib/start/Makefile |
---|
2143 | c/src/lib/wrapup/Makefile |
---|
2144 | c/src/tests/Makefile |
---|
2145 | c/src/tests/support/Makefile |
---|
2146 | c/src/tests/support/include/Makefile |
---|
2147 | c/src/tests/support/stubdr/Makefile |
---|
2148 | c/src/tests/support/wrapup/Makefile |
---|
2149 | c/src/tests/tools/Makefile |
---|
2150 | c/src/tests/tools/generic/Makefile |
---|
2151 | $makefiles |
---|
2152 | c/make/host.cfg |
---|
2153 | c/make/target.cfg |
---|
2154 | c/make/Templates/Makefile.inc |
---|
2155 | c/update-tools/Makefile"} |
---|
2156 | EOF |
---|
2157 | cat >> $CONFIG_STATUS <<\EOF |
---|
2158 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
---|
2159 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
2160 | case "$ac_file" in |
---|
2161 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
---|
2162 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
---|
2163 | *) ac_file_in="${ac_file}.in" ;; |
---|
2164 | esac |
---|
2165 | |
---|
2166 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
---|
2167 | |
---|
2168 | # Remove last slash and all that follows it. Not all systems have dirname. |
---|
2169 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
---|
2170 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
---|
2171 | # The file is in a subdirectory. |
---|
2172 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
---|
2173 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
---|
2174 | # A "../" for each directory in $ac_dir_suffix. |
---|
2175 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
---|
2176 | else |
---|
2177 | ac_dir_suffix= ac_dots= |
---|
2178 | fi |
---|
2179 | |
---|
2180 | case "$ac_given_srcdir" in |
---|
2181 | .) srcdir=. |
---|
2182 | if test -z "$ac_dots"; then top_srcdir=. |
---|
2183 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
---|
2184 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
---|
2185 | *) # Relative path. |
---|
2186 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
---|
2187 | top_srcdir="$ac_dots$ac_given_srcdir" ;; |
---|
2188 | esac |
---|
2189 | |
---|
2190 | |
---|
2191 | echo creating "$ac_file" |
---|
2192 | rm -f "$ac_file" |
---|
2193 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
---|
2194 | case "$ac_file" in |
---|
2195 | *Makefile*) ac_comsub="1i\\ |
---|
2196 | # $configure_input" ;; |
---|
2197 | *) ac_comsub= ;; |
---|
2198 | esac |
---|
2199 | |
---|
2200 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
---|
2201 | sed -e "$ac_comsub |
---|
2202 | s%@configure_input@%$configure_input%g |
---|
2203 | s%@srcdir@%$srcdir%g |
---|
2204 | s%@top_srcdir@%$top_srcdir%g |
---|
2205 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
---|
2206 | fi; done |
---|
2207 | rm -f conftest.s* |
---|
2208 | |
---|
2209 | EOF |
---|
2210 | cat >> $CONFIG_STATUS <<EOF |
---|
2211 | |
---|
2212 | EOF |
---|
2213 | cat >> $CONFIG_STATUS <<\EOF |
---|
2214 | |
---|
2215 | exit 0 |
---|
2216 | EOF |
---|
2217 | chmod +x $CONFIG_STATUS |
---|
2218 | rm -fr confdefs* $ac_clean_files |
---|
2219 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
---|
2220 | |
---|
2221 | |
---|
2222 | echo |
---|
2223 | echo target architecture: $target_cpu. |
---|
2224 | echo available BSPs: $rtems_bsp. |
---|
2225 | echo \'make all\' will build the following BSPs: $RTEMS_BSP_LIST. |
---|
2226 | echo other BSPs can be built with \'make RTEMS_BSP=\"bsp1 bsp2 ...\"\' |
---|
2227 | echo |
---|