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 | --disable-posix disable posix interface" |
---|
19 | ac_help="$ac_help |
---|
20 | \ |
---|
21 | --disable-tcpip disable KA9Q TCP/IP stack" |
---|
22 | ac_help="$ac_help |
---|
23 | \ |
---|
24 | --disable-rtems-inlines disable RTEMS inline functions (use macros)" |
---|
25 | ac_help="$ac_help |
---|
26 | \ |
---|
27 | --enable-gcc28 enable use of gcc 2.8.x features" |
---|
28 | ac_help="$ac_help |
---|
29 | \ |
---|
30 | --enable-libcdir=directory set the directory for the C library" |
---|
31 | ac_help="$ac_help |
---|
32 | \ |
---|
33 | --disable-tests disable tests" |
---|
34 | ac_help="$ac_help |
---|
35 | \ |
---|
36 | --enable-hwapi enable hardware API library" |
---|
37 | ac_help="$ac_help |
---|
38 | \ |
---|
39 | --enable-rtemsbsp=bsp1 bsp2 .. prefix for cross-tools" |
---|
40 | |
---|
41 | # Initialize some variables set by options. |
---|
42 | # The variables have the same names as the options, with |
---|
43 | # dashes changed to underlines. |
---|
44 | build=NONE |
---|
45 | cache_file=./config.cache |
---|
46 | exec_prefix=NONE |
---|
47 | host=NONE |
---|
48 | no_create= |
---|
49 | nonopt=NONE |
---|
50 | no_recursion= |
---|
51 | prefix=NONE |
---|
52 | program_prefix=NONE |
---|
53 | program_suffix=NONE |
---|
54 | program_transform_name=s,x,x, |
---|
55 | silent= |
---|
56 | site= |
---|
57 | srcdir= |
---|
58 | target=NONE |
---|
59 | verbose= |
---|
60 | x_includes=NONE |
---|
61 | x_libraries=NONE |
---|
62 | bindir='${exec_prefix}/bin' |
---|
63 | sbindir='${exec_prefix}/sbin' |
---|
64 | libexecdir='${exec_prefix}/libexec' |
---|
65 | datadir='${prefix}/share' |
---|
66 | sysconfdir='${prefix}/etc' |
---|
67 | sharedstatedir='${prefix}/com' |
---|
68 | localstatedir='${prefix}/var' |
---|
69 | libdir='${exec_prefix}/lib' |
---|
70 | includedir='${prefix}/include' |
---|
71 | oldincludedir='/usr/include' |
---|
72 | infodir='${prefix}/info' |
---|
73 | mandir='${prefix}/man' |
---|
74 | |
---|
75 | # Initialize some other variables. |
---|
76 | subdirs= |
---|
77 | MFLAGS= MAKEFLAGS= |
---|
78 | # Maximum number of lines to put in a shell here document. |
---|
79 | ac_max_here_lines=12 |
---|
80 | |
---|
81 | ac_prev= |
---|
82 | for ac_option |
---|
83 | do |
---|
84 | |
---|
85 | # If the previous option needs an argument, assign it. |
---|
86 | if test -n "$ac_prev"; then |
---|
87 | eval "$ac_prev=\$ac_option" |
---|
88 | ac_prev= |
---|
89 | continue |
---|
90 | fi |
---|
91 | |
---|
92 | case "$ac_option" in |
---|
93 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
---|
94 | *) ac_optarg= ;; |
---|
95 | esac |
---|
96 | |
---|
97 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
98 | |
---|
99 | case "$ac_option" in |
---|
100 | |
---|
101 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
102 | ac_prev=bindir ;; |
---|
103 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
104 | bindir="$ac_optarg" ;; |
---|
105 | |
---|
106 | -build | --build | --buil | --bui | --bu) |
---|
107 | ac_prev=build ;; |
---|
108 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
109 | build="$ac_optarg" ;; |
---|
110 | |
---|
111 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
112 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
113 | ac_prev=cache_file ;; |
---|
114 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
115 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
116 | cache_file="$ac_optarg" ;; |
---|
117 | |
---|
118 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
119 | ac_prev=datadir ;; |
---|
120 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
121 | | --da=*) |
---|
122 | datadir="$ac_optarg" ;; |
---|
123 | |
---|
124 | -disable-* | --disable-*) |
---|
125 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
---|
126 | # Reject names that are not valid shell variable names. |
---|
127 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
128 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
129 | fi |
---|
130 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
131 | eval "enable_${ac_feature}=no" ;; |
---|
132 | |
---|
133 | -enable-* | --enable-*) |
---|
134 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
---|
135 | # Reject names that are not valid shell variable names. |
---|
136 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
137 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
138 | fi |
---|
139 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
140 | case "$ac_option" in |
---|
141 | *=*) ;; |
---|
142 | *) ac_optarg=yes ;; |
---|
143 | esac |
---|
144 | eval "enable_${ac_feature}='$ac_optarg'" ;; |
---|
145 | |
---|
146 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
147 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
148 | | --exec | --exe | --ex) |
---|
149 | ac_prev=exec_prefix ;; |
---|
150 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
151 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
152 | | --exec=* | --exe=* | --ex=*) |
---|
153 | exec_prefix="$ac_optarg" ;; |
---|
154 | |
---|
155 | -gas | --gas | --ga | --g) |
---|
156 | # Obsolete; use --with-gas. |
---|
157 | with_gas=yes ;; |
---|
158 | |
---|
159 | -help | --help | --hel | --he) |
---|
160 | # Omit some internal or obsolete options to make the list less imposing. |
---|
161 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
162 | cat << EOF |
---|
163 | Usage: configure [options] [host] |
---|
164 | Options: [defaults in brackets after descriptions] |
---|
165 | Configuration: |
---|
166 | --cache-file=FILE cache test results in FILE |
---|
167 | --help print this message |
---|
168 | --no-create do not create output files |
---|
169 | --quiet, --silent do not print \`checking...' messages |
---|
170 | --version print the version of autoconf that created configure |
---|
171 | Directory and file names: |
---|
172 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
173 | [$ac_default_prefix] |
---|
174 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
175 | [same as prefix] |
---|
176 | --bindir=DIR user executables in DIR [EPREFIX/bin] |
---|
177 | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
---|
178 | --libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
---|
179 | --datadir=DIR read-only architecture-independent data in DIR |
---|
180 | [PREFIX/share] |
---|
181 | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
---|
182 | --sharedstatedir=DIR modifiable architecture-independent data in DIR |
---|
183 | [PREFIX/com] |
---|
184 | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
---|
185 | --libdir=DIR object code libraries in DIR [EPREFIX/lib] |
---|
186 | --includedir=DIR C header files in DIR [PREFIX/include] |
---|
187 | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
---|
188 | --infodir=DIR info documentation in DIR [PREFIX/info] |
---|
189 | --mandir=DIR man documentation in DIR [PREFIX/man] |
---|
190 | --srcdir=DIR find the sources in DIR [configure dir or ..] |
---|
191 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
192 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
193 | --program-transform-name=PROGRAM |
---|
194 | run sed PROGRAM on installed program names |
---|
195 | EOF |
---|
196 | cat << EOF |
---|
197 | Host type: |
---|
198 | --build=BUILD configure for building on BUILD [BUILD=HOST] |
---|
199 | --host=HOST configure for HOST [guessed] |
---|
200 | --target=TARGET configure for TARGET [TARGET=HOST] |
---|
201 | Features and packages: |
---|
202 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
203 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
204 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
205 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
206 | --x-includes=DIR X include files are in DIR |
---|
207 | --x-libraries=DIR X library files are in DIR |
---|
208 | EOF |
---|
209 | if test -n "$ac_help"; then |
---|
210 | echo "--enable and --with options recognized:$ac_help" |
---|
211 | fi |
---|
212 | exit 0 ;; |
---|
213 | |
---|
214 | -host | --host | --hos | --ho) |
---|
215 | ac_prev=host ;; |
---|
216 | -host=* | --host=* | --hos=* | --ho=*) |
---|
217 | host="$ac_optarg" ;; |
---|
218 | |
---|
219 | -includedir | --includedir | --includedi | --included | --include \ |
---|
220 | | --includ | --inclu | --incl | --inc) |
---|
221 | ac_prev=includedir ;; |
---|
222 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
223 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
224 | includedir="$ac_optarg" ;; |
---|
225 | |
---|
226 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
227 | ac_prev=infodir ;; |
---|
228 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
229 | infodir="$ac_optarg" ;; |
---|
230 | |
---|
231 | -libdir | --libdir | --libdi | --libd) |
---|
232 | ac_prev=libdir ;; |
---|
233 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
234 | libdir="$ac_optarg" ;; |
---|
235 | |
---|
236 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
237 | | --libexe | --libex | --libe) |
---|
238 | ac_prev=libexecdir ;; |
---|
239 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
240 | | --libexe=* | --libex=* | --libe=*) |
---|
241 | libexecdir="$ac_optarg" ;; |
---|
242 | |
---|
243 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
244 | | --localstate | --localstat | --localsta | --localst \ |
---|
245 | | --locals | --local | --loca | --loc | --lo) |
---|
246 | ac_prev=localstatedir ;; |
---|
247 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
248 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
249 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
250 | localstatedir="$ac_optarg" ;; |
---|
251 | |
---|
252 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
253 | ac_prev=mandir ;; |
---|
254 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
255 | mandir="$ac_optarg" ;; |
---|
256 | |
---|
257 | -nfp | --nfp | --nf) |
---|
258 | # Obsolete; use --without-fp. |
---|
259 | with_fp=no ;; |
---|
260 | |
---|
261 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
262 | | --no-cr | --no-c) |
---|
263 | no_create=yes ;; |
---|
264 | |
---|
265 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
266 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
267 | no_recursion=yes ;; |
---|
268 | |
---|
269 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
270 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
271 | | --oldin | --oldi | --old | --ol | --o) |
---|
272 | ac_prev=oldincludedir ;; |
---|
273 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
274 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
275 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
276 | oldincludedir="$ac_optarg" ;; |
---|
277 | |
---|
278 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
279 | ac_prev=prefix ;; |
---|
280 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
281 | prefix="$ac_optarg" ;; |
---|
282 | |
---|
283 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
284 | | --program-pre | --program-pr | --program-p) |
---|
285 | ac_prev=program_prefix ;; |
---|
286 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
287 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
288 | program_prefix="$ac_optarg" ;; |
---|
289 | |
---|
290 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
291 | | --program-suf | --program-su | --program-s) |
---|
292 | ac_prev=program_suffix ;; |
---|
293 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
294 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
295 | program_suffix="$ac_optarg" ;; |
---|
296 | |
---|
297 | -program-transform-name | --program-transform-name \ |
---|
298 | | --program-transform-nam | --program-transform-na \ |
---|
299 | | --program-transform-n | --program-transform- \ |
---|
300 | | --program-transform | --program-transfor \ |
---|
301 | | --program-transfo | --program-transf \ |
---|
302 | | --program-trans | --program-tran \ |
---|
303 | | --progr-tra | --program-tr | --program-t) |
---|
304 | ac_prev=program_transform_name ;; |
---|
305 | -program-transform-name=* | --program-transform-name=* \ |
---|
306 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
307 | | --program-transform-n=* | --program-transform-=* \ |
---|
308 | | --program-transform=* | --program-transfor=* \ |
---|
309 | | --program-transfo=* | --program-transf=* \ |
---|
310 | | --program-trans=* | --program-tran=* \ |
---|
311 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
312 | program_transform_name="$ac_optarg" ;; |
---|
313 | |
---|
314 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
315 | | -silent | --silent | --silen | --sile | --sil) |
---|
316 | silent=yes ;; |
---|
317 | |
---|
318 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
319 | ac_prev=sbindir ;; |
---|
320 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
321 | | --sbi=* | --sb=*) |
---|
322 | sbindir="$ac_optarg" ;; |
---|
323 | |
---|
324 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
325 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
326 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
327 | | --sha | --sh) |
---|
328 | ac_prev=sharedstatedir ;; |
---|
329 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
330 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
331 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
332 | | --sha=* | --sh=*) |
---|
333 | sharedstatedir="$ac_optarg" ;; |
---|
334 | |
---|
335 | -site | --site | --sit) |
---|
336 | ac_prev=site ;; |
---|
337 | -site=* | --site=* | --sit=*) |
---|
338 | site="$ac_optarg" ;; |
---|
339 | |
---|
340 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
341 | ac_prev=srcdir ;; |
---|
342 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
343 | srcdir="$ac_optarg" ;; |
---|
344 | |
---|
345 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
346 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
347 | ac_prev=sysconfdir ;; |
---|
348 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
349 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
350 | sysconfdir="$ac_optarg" ;; |
---|
351 | |
---|
352 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
353 | ac_prev=target ;; |
---|
354 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
355 | target="$ac_optarg" ;; |
---|
356 | |
---|
357 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
358 | verbose=yes ;; |
---|
359 | |
---|
360 | -version | --version | --versio | --versi | --vers) |
---|
361 | echo "configure generated by autoconf version 2.12" |
---|
362 | exit 0 ;; |
---|
363 | |
---|
364 | -with-* | --with-*) |
---|
365 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
---|
366 | # Reject names that are not valid shell variable names. |
---|
367 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
368 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
369 | fi |
---|
370 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
371 | case "$ac_option" in |
---|
372 | *=*) ;; |
---|
373 | *) ac_optarg=yes ;; |
---|
374 | esac |
---|
375 | eval "with_${ac_package}='$ac_optarg'" ;; |
---|
376 | |
---|
377 | -without-* | --without-*) |
---|
378 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
---|
379 | # Reject names that are not valid shell variable names. |
---|
380 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
381 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
382 | fi |
---|
383 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
384 | eval "with_${ac_package}=no" ;; |
---|
385 | |
---|
386 | --x) |
---|
387 | # Obsolete; use --with-x. |
---|
388 | with_x=yes ;; |
---|
389 | |
---|
390 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
391 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
392 | ac_prev=x_includes ;; |
---|
393 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
394 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
395 | x_includes="$ac_optarg" ;; |
---|
396 | |
---|
397 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
398 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
399 | ac_prev=x_libraries ;; |
---|
400 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
401 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
402 | x_libraries="$ac_optarg" ;; |
---|
403 | |
---|
404 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
---|
405 | ;; |
---|
406 | |
---|
407 | *) |
---|
408 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
---|
409 | echo "configure: warning: $ac_option: invalid host type" 1>&2 |
---|
410 | fi |
---|
411 | if test "x$nonopt" != xNONE; then |
---|
412 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
---|
413 | fi |
---|
414 | nonopt="$ac_option" |
---|
415 | ;; |
---|
416 | |
---|
417 | esac |
---|
418 | done |
---|
419 | |
---|
420 | if test -n "$ac_prev"; then |
---|
421 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
---|
422 | fi |
---|
423 | |
---|
424 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
425 | |
---|
426 | # File descriptor usage: |
---|
427 | # 0 standard input |
---|
428 | # 1 file creation |
---|
429 | # 2 errors and warnings |
---|
430 | # 3 some systems may open it to /dev/tty |
---|
431 | # 4 used on the Kubota Titan |
---|
432 | # 6 checking for... messages and results |
---|
433 | # 5 compiler messages saved in config.log |
---|
434 | if test "$silent" = yes; then |
---|
435 | exec 6>/dev/null |
---|
436 | else |
---|
437 | exec 6>&1 |
---|
438 | fi |
---|
439 | exec 5>./config.log |
---|
440 | |
---|
441 | echo "\ |
---|
442 | This file contains any messages produced by compilers while |
---|
443 | running configure, to aid debugging if configure makes a mistake. |
---|
444 | " 1>&5 |
---|
445 | |
---|
446 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
447 | # Also quote any args containing shell metacharacters. |
---|
448 | ac_configure_args= |
---|
449 | for ac_arg |
---|
450 | do |
---|
451 | case "$ac_arg" in |
---|
452 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
453 | | --no-cr | --no-c) ;; |
---|
454 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
455 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
---|
456 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
---|
457 | ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
458 | *) ac_configure_args="$ac_configure_args $ac_arg" ;; |
---|
459 | esac |
---|
460 | done |
---|
461 | |
---|
462 | # NLS nuisances. |
---|
463 | # Only set these to C if already set. These must not be set unconditionally |
---|
464 | # because not all systems understand e.g. LANG=C (notably SCO). |
---|
465 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
---|
466 | # Non-C LC_CTYPE values break the ctype check. |
---|
467 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
---|
468 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
---|
469 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
---|
470 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
---|
471 | |
---|
472 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
473 | rm -rf conftest* confdefs.h |
---|
474 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
475 | echo > confdefs.h |
---|
476 | |
---|
477 | # A filename unique to this package, relative to the directory that |
---|
478 | # configure is in, which we can look for to find out if srcdir is correct. |
---|
479 | ac_unique_file=README |
---|
480 | |
---|
481 | # Find the source files, if location was not specified. |
---|
482 | if test -z "$srcdir"; then |
---|
483 | ac_srcdir_defaulted=yes |
---|
484 | # Try the directory containing this script, then its parent. |
---|
485 | ac_prog=$0 |
---|
486 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
---|
487 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
---|
488 | srcdir=$ac_confdir |
---|
489 | if test ! -r $srcdir/$ac_unique_file; then |
---|
490 | srcdir=.. |
---|
491 | fi |
---|
492 | else |
---|
493 | ac_srcdir_defaulted=no |
---|
494 | fi |
---|
495 | if test ! -r $srcdir/$ac_unique_file; then |
---|
496 | if test "$ac_srcdir_defaulted" = yes; then |
---|
497 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
---|
498 | else |
---|
499 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
---|
500 | fi |
---|
501 | fi |
---|
502 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
---|
503 | |
---|
504 | # Prefer explicitly selected file to automatically selected ones. |
---|
505 | if test -z "$CONFIG_SITE"; then |
---|
506 | if test "x$prefix" != xNONE; then |
---|
507 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
508 | else |
---|
509 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
510 | fi |
---|
511 | fi |
---|
512 | for ac_site_file in $CONFIG_SITE; do |
---|
513 | if test -r "$ac_site_file"; then |
---|
514 | echo "loading site script $ac_site_file" |
---|
515 | . "$ac_site_file" |
---|
516 | fi |
---|
517 | done |
---|
518 | |
---|
519 | if test -r "$cache_file"; then |
---|
520 | echo "loading cache $cache_file" |
---|
521 | . $cache_file |
---|
522 | else |
---|
523 | echo "creating cache $cache_file" |
---|
524 | > $cache_file |
---|
525 | fi |
---|
526 | |
---|
527 | ac_ext=c |
---|
528 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
529 | ac_cpp='$CPP $CPPFLAGS' |
---|
530 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
531 | ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
532 | cross_compiling=$ac_cv_prog_cc_cross |
---|
533 | |
---|
534 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
---|
535 | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
---|
536 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
---|
537 | ac_n= ac_c=' |
---|
538 | ' ac_t=' ' |
---|
539 | else |
---|
540 | ac_n=-n ac_c= ac_t= |
---|
541 | fi |
---|
542 | else |
---|
543 | ac_n= ac_c='\c' ac_t= |
---|
544 | fi |
---|
545 | |
---|
546 | |
---|
547 | |
---|
548 | a29k_mk="c/src/exec/score/cpu/a29k/Makefile \ |
---|
549 | c/src/lib/libbsp/a29k/Makefile \ |
---|
550 | c/src/lib/libbsp/a29k/portsw/Makefile \ |
---|
551 | c/src/lib/libbsp/a29k/portsw/console/Makefile \ |
---|
552 | c/src/lib/libbsp/a29k/portsw/include/Makefile \ |
---|
553 | c/src/lib/libbsp/a29k/portsw/shmsupp/Makefile \ |
---|
554 | c/src/lib/libbsp/a29k/portsw/startup/Makefile \ |
---|
555 | c/src/lib/libbsp/a29k/portsw/wrapup/Makefile \ |
---|
556 | c/src/lib/start/a29k/Makefile" |
---|
557 | |
---|
558 | i386_mk="c/src/exec/score/cpu/i386/Makefile \ |
---|
559 | c/src/lib/libbsp/i386/Makefile \ |
---|
560 | c/src/lib/libbsp/i386/force386/Makefile \ |
---|
561 | c/src/lib/libbsp/i386/force386/clock/Makefile \ |
---|
562 | c/src/lib/libbsp/i386/force386/console/Makefile \ |
---|
563 | c/src/lib/libbsp/i386/force386/include/Makefile \ |
---|
564 | c/src/lib/libbsp/i386/force386/shmsupp/Makefile \ |
---|
565 | c/src/lib/libbsp/i386/force386/startup/Makefile \ |
---|
566 | c/src/lib/libbsp/i386/force386/timer/Makefile \ |
---|
567 | c/src/lib/libbsp/i386/force386/wrapup/Makefile \ |
---|
568 | c/src/lib/libbsp/i386/i386ex/Makefile \ |
---|
569 | c/src/lib/libbsp/i386/i386ex/clock/Makefile \ |
---|
570 | c/src/lib/libbsp/i386/i386ex/console/Makefile \ |
---|
571 | c/src/lib/libbsp/i386/i386ex/include/Makefile \ |
---|
572 | c/src/lib/libbsp/i386/i386ex/startup/Makefile \ |
---|
573 | c/src/lib/libbsp/i386/i386ex/timer/Makefile \ |
---|
574 | c/src/lib/libbsp/i386/i386ex/wrapup/Makefile \ |
---|
575 | c/src/lib/start/i386/Makefile" |
---|
576 | |
---|
577 | i386_go32_mk="c/src/exec/score/cpu/i386/Makefile \ |
---|
578 | c/src/lib/libbsp/i386/Makefile \ |
---|
579 | c/src/lib/libbsp/i386/go32/Makefile \ |
---|
580 | c/src/lib/libbsp/i386/go32/clock/Makefile \ |
---|
581 | c/src/lib/libbsp/i386/go32/console/Makefile \ |
---|
582 | c/src/lib/libbsp/i386/go32/include/Makefile \ |
---|
583 | c/src/lib/libbsp/i386/go32/startup/Makefile \ |
---|
584 | c/src/lib/libbsp/i386/go32/timer/Makefile \ |
---|
585 | c/src/lib/libbsp/i386/go32/wrapup/Makefile" |
---|
586 | |
---|
587 | m68k_mk="c/src/exec/score/cpu/m68k/Makefile \ |
---|
588 | c/src/lib/libbsp/m68k/Makefile \ |
---|
589 | c/src/lib/libbsp/m68k/dmv152/Makefile \ |
---|
590 | c/src/lib/libbsp/m68k/dmv152/clock/Makefile \ |
---|
591 | c/src/lib/libbsp/m68k/dmv152/console/Makefile \ |
---|
592 | c/src/lib/libbsp/m68k/dmv152/include/Makefile \ |
---|
593 | c/src/lib/libbsp/m68k/dmv152/spurious/Makefile \ |
---|
594 | c/src/lib/libbsp/m68k/dmv152/startup/Makefile \ |
---|
595 | c/src/lib/libbsp/m68k/dmv152/timer/Makefile \ |
---|
596 | c/src/lib/libbsp/m68k/dmv152/wrapup/Makefile \ |
---|
597 | c/src/lib/libbsp/m68k/efi332/Makefile \ |
---|
598 | c/src/lib/libbsp/m68k/efi332/clock/Makefile \ |
---|
599 | c/src/lib/libbsp/m68k/efi332/console/Makefile \ |
---|
600 | c/src/lib/libbsp/m68k/efi332/include/Makefile \ |
---|
601 | c/src/lib/libbsp/m68k/efi332/spurious/Makefile \ |
---|
602 | c/src/lib/libbsp/m68k/efi332/startup/Makefile \ |
---|
603 | c/src/lib/libbsp/m68k/efi332/start332/Makefile \ |
---|
604 | c/src/lib/libbsp/m68k/efi332/timer/Makefile \ |
---|
605 | c/src/lib/libbsp/m68k/efi332/wrapup/Makefile \ |
---|
606 | c/src/lib/libbsp/m68k/efi68k/Makefile \ |
---|
607 | c/src/lib/libbsp/m68k/efi68k/clock/Makefile \ |
---|
608 | c/src/lib/libbsp/m68k/efi68k/console/Makefile \ |
---|
609 | c/src/lib/libbsp/m68k/efi68k/include/Makefile \ |
---|
610 | c/src/lib/libbsp/m68k/efi68k/spurious/Makefile \ |
---|
611 | c/src/lib/libbsp/m68k/efi68k/startup/Makefile \ |
---|
612 | c/src/lib/libbsp/m68k/efi68k/start68k/Makefile \ |
---|
613 | c/src/lib/libbsp/m68k/efi68k/timer/Makefile \ |
---|
614 | c/src/lib/libbsp/m68k/efi68k/wrapup/Makefile \ |
---|
615 | c/src/lib/libbsp/m68k/gen68302/Makefile \ |
---|
616 | c/src/lib/libbsp/m68k/gen68302/clock/Makefile \ |
---|
617 | c/src/lib/libbsp/m68k/gen68302/console/Makefile \ |
---|
618 | c/src/lib/libbsp/m68k/gen68302/include/Makefile \ |
---|
619 | c/src/lib/libbsp/m68k/gen68302/start302/Makefile \ |
---|
620 | c/src/lib/libbsp/m68k/gen68302/startup/Makefile \ |
---|
621 | c/src/lib/libbsp/m68k/gen68302/timer/Makefile \ |
---|
622 | c/src/lib/libbsp/m68k/gen68302/wrapup/Makefile \ |
---|
623 | c/src/lib/libbsp/m68k/gen68360/Makefile \ |
---|
624 | c/src/lib/libbsp/m68k/gen68360/clock/Makefile \ |
---|
625 | c/src/lib/libbsp/m68k/gen68360/console/Makefile \ |
---|
626 | c/src/lib/libbsp/m68k/gen68360/include/Makefile \ |
---|
627 | c/src/lib/libbsp/m68k/gen68360/start360/Makefile \ |
---|
628 | c/src/lib/libbsp/m68k/gen68360/startup/Makefile \ |
---|
629 | c/src/lib/libbsp/m68k/gen68360/timer/Makefile \ |
---|
630 | c/src/lib/libbsp/m68k/gen68360/network/Makefile \ |
---|
631 | c/src/lib/libbsp/m68k/gen68360/wrapup/Makefile \ |
---|
632 | c/src/lib/libbsp/m68k/idp/Makefile \ |
---|
633 | c/src/lib/libbsp/m68k/idp/clock/Makefile \ |
---|
634 | c/src/lib/libbsp/m68k/idp/console/Makefile \ |
---|
635 | c/src/lib/libbsp/m68k/idp/include/Makefile \ |
---|
636 | c/src/lib/libbsp/m68k/idp/startup/Makefile \ |
---|
637 | c/src/lib/libbsp/m68k/idp/timer/Makefile \ |
---|
638 | c/src/lib/libbsp/m68k/idp/wrapup/Makefile \ |
---|
639 | c/src/lib/libbsp/m68k/mvme136/Makefile \ |
---|
640 | c/src/lib/libbsp/m68k/mvme136/clock/Makefile \ |
---|
641 | c/src/lib/libbsp/m68k/mvme136/console/Makefile \ |
---|
642 | c/src/lib/libbsp/m68k/mvme136/include/Makefile \ |
---|
643 | c/src/lib/libbsp/m68k/mvme136/shmsupp/Makefile \ |
---|
644 | c/src/lib/libbsp/m68k/mvme136/startup/Makefile \ |
---|
645 | c/src/lib/libbsp/m68k/mvme136/timer/Makefile \ |
---|
646 | c/src/lib/libbsp/m68k/mvme136/wrapup/Makefile \ |
---|
647 | c/src/lib/libbsp/m68k/mvme147/Makefile \ |
---|
648 | c/src/lib/libbsp/m68k/mvme147/clock/Makefile \ |
---|
649 | c/src/lib/libbsp/m68k/mvme147/console/Makefile \ |
---|
650 | c/src/lib/libbsp/m68k/mvme147/include/Makefile \ |
---|
651 | c/src/lib/libbsp/m68k/mvme147/startup/Makefile \ |
---|
652 | c/src/lib/libbsp/m68k/mvme147/timer/Makefile \ |
---|
653 | c/src/lib/libbsp/m68k/mvme147/wrapup/Makefile \ |
---|
654 | c/src/lib/libbsp/m68k/mvme147s/Makefile \ |
---|
655 | c/src/lib/libbsp/m68k/mvme147s/clock/Makefile \ |
---|
656 | c/src/lib/libbsp/m68k/mvme147s/console/Makefile \ |
---|
657 | c/src/lib/libbsp/m68k/mvme147s/include/Makefile \ |
---|
658 | c/src/lib/libbsp/m68k/mvme147s/shmsupp/Makefile \ |
---|
659 | c/src/lib/libbsp/m68k/mvme147s/startup/Makefile \ |
---|
660 | c/src/lib/libbsp/m68k/mvme147s/timer/Makefile \ |
---|
661 | c/src/lib/libbsp/m68k/mvme147s/wrapup/Makefile \ |
---|
662 | c/src/lib/libbsp/m68k/mvme162/Makefile \ |
---|
663 | c/src/lib/libbsp/m68k/mvme162/clock/Makefile \ |
---|
664 | c/src/lib/libbsp/m68k/mvme162/console/Makefile \ |
---|
665 | c/src/lib/libbsp/m68k/mvme162/include/Makefile \ |
---|
666 | c/src/lib/libbsp/m68k/mvme162/startup/Makefile \ |
---|
667 | c/src/lib/libbsp/m68k/mvme162/timer/Makefile \ |
---|
668 | c/src/lib/libbsp/m68k/mvme162/tools/Makefile \ |
---|
669 | c/src/lib/libbsp/m68k/mvme162/wrapup/Makefile \ |
---|
670 | c/src/lib/start/m68k/Makefile" |
---|
671 | |
---|
672 | no_cpu_mk="c/src/exec/score/cpu/no_cpu/Makefile \ |
---|
673 | c/src/lib/libbsp/no_cpu/Makefile \ |
---|
674 | c/src/lib/libbsp/no_cpu/no_bsp/Makefile \ |
---|
675 | c/src/lib/libbsp/no_cpu/no_bsp/clock/Makefile \ |
---|
676 | c/src/lib/libbsp/no_cpu/no_bsp/console/Makefile \ |
---|
677 | c/src/lib/libbsp/no_cpu/no_bsp/include/Makefile \ |
---|
678 | c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/Makefile \ |
---|
679 | c/src/lib/libbsp/no_cpu/no_bsp/startup/Makefile \ |
---|
680 | c/src/lib/libbsp/no_cpu/no_bsp/timer/Makefile \ |
---|
681 | c/src/lib/libbsp/no_cpu/no_bsp/wrapup/Makefile" |
---|
682 | |
---|
683 | sparc_mk="c/src/exec/score/cpu/sparc/Makefile \ |
---|
684 | c/src/lib/libbsp/sparc/Makefile \ |
---|
685 | c/src/lib/libbsp/sparc/erc32/Makefile \ |
---|
686 | c/src/lib/libbsp/sparc/erc32/clock/Makefile \ |
---|
687 | c/src/lib/libbsp/sparc/erc32/console/Makefile \ |
---|
688 | c/src/lib/libbsp/sparc/erc32/include/Makefile \ |
---|
689 | c/src/lib/libbsp/sparc/erc32/startsis/Makefile \ |
---|
690 | c/src/lib/libbsp/sparc/erc32/startup/Makefile \ |
---|
691 | c/src/lib/libbsp/sparc/erc32/timer/Makefile \ |
---|
692 | c/src/lib/libbsp/sparc/erc32/wrapup/Makefile \ |
---|
693 | c/src/lib/libcpu/sparc/Makefile \ |
---|
694 | c/src/lib/libcpu/sparc/reg_win/Makefile" |
---|
695 | |
---|
696 | hppa1_1_mk="c/src/exec/score/cpu/hppa1_1/Makefile \ |
---|
697 | c/src/exec/score/tools/hppa1_1/Makefile \ |
---|
698 | c/src/lib/libbsp/hppa1_1/Makefile \ |
---|
699 | c/src/lib/libbsp/hppa1_1/pxfl/Makefile \ |
---|
700 | c/src/lib/libbsp/hppa1_1/simhppa/Makefile \ |
---|
701 | c/src/lib/libbsp/hppa1_1/simhppa/include/Makefile \ |
---|
702 | c/src/lib/libbsp/hppa1_1/simhppa/shmsupp/Makefile \ |
---|
703 | c/src/lib/libbsp/hppa1_1/simhppa/startup/Makefile \ |
---|
704 | c/src/lib/libbsp/hppa1_1/simhppa/tools/Makefile \ |
---|
705 | c/src/lib/libbsp/hppa1_1/simhppa/tty/Makefile \ |
---|
706 | c/src/lib/libbsp/hppa1_1/simhppa/wrapup/Makefile \ |
---|
707 | c/src/lib/libcpu/hppa1_1/Makefile \ |
---|
708 | c/src/lib/libcpu/hppa1_1/clock/Makefile \ |
---|
709 | c/src/lib/libcpu/hppa1_1/include/Makefile \ |
---|
710 | c/src/lib/libcpu/hppa1_1/milli/Makefile \ |
---|
711 | c/src/lib/libcpu/hppa1_1/runway/Makefile \ |
---|
712 | c/src/lib/libcpu/hppa1_1/semaphore/Makefile \ |
---|
713 | c/src/lib/libcpu/hppa1_1/timer/Makefile \ |
---|
714 | c/src/lib/start/hppa1_1/Makefile" |
---|
715 | |
---|
716 | i960_mk="c/src/exec/score/cpu/i960/Makefile \ |
---|
717 | c/src/lib/libbsp/i960/Makefile \ |
---|
718 | c/src/lib/libbsp/i960/cvme961/Makefile \ |
---|
719 | c/src/lib/libbsp/i960/cvme961/clock/Makefile \ |
---|
720 | c/src/lib/libbsp/i960/cvme961/console/Makefile \ |
---|
721 | c/src/lib/libbsp/i960/cvme961/include/Makefile \ |
---|
722 | c/src/lib/libbsp/i960/cvme961/shmsupp/Makefile \ |
---|
723 | c/src/lib/libbsp/i960/cvme961/startup/Makefile \ |
---|
724 | c/src/lib/libbsp/i960/cvme961/timer/Makefile \ |
---|
725 | c/src/lib/libbsp/i960/cvme961/wrapup/Makefile \ |
---|
726 | c/src/lib/start/i960/Makefile" |
---|
727 | |
---|
728 | mips64orion_mk="c/src/exec/score/cpu/mips64orion/Makefile \ |
---|
729 | c/src/lib/libbsp/mips64orion/Makefile \ |
---|
730 | c/src/lib/libbsp/mips64orion/p4000/Makefile \ |
---|
731 | c/src/lib/libbsp/mips64orion/p4000/console/Makefile \ |
---|
732 | c/src/lib/libbsp/mips64orion/p4000/include/Makefile \ |
---|
733 | c/src/lib/libbsp/mips64orion/p4000/liblnk/Makefile \ |
---|
734 | c/src/lib/libbsp/mips64orion/p4000/startup/Makefile \ |
---|
735 | c/src/lib/libbsp/mips64orion/p4000/wrapup/Makefile \ |
---|
736 | c/src/lib/libcpu/mips64orion/Makefile \ |
---|
737 | c/src/lib/libcpu/mips64orion/clock/Makefile \ |
---|
738 | c/src/lib/libcpu/mips64orion/include/Makefile \ |
---|
739 | c/src/lib/libcpu/mips64orion/timer/Makefile \ |
---|
740 | c/src/lib/start/mips64orion/Makefile" |
---|
741 | |
---|
742 | powerpc_mk="c/src/exec/score/cpu/ppc/Makefile \ |
---|
743 | c/src/lib/libbsp/ppc/Makefile \ |
---|
744 | c/src/lib/libbsp/ppc/papyrus/Makefile \ |
---|
745 | c/src/lib/libbsp/ppc/papyrus/dlentry/Makefile \ |
---|
746 | c/src/lib/libbsp/ppc/papyrus/flashentry/Makefile \ |
---|
747 | c/src/lib/libbsp/ppc/papyrus/include/Makefile \ |
---|
748 | c/src/lib/libbsp/ppc/papyrus/startup/Makefile \ |
---|
749 | c/src/lib/libbsp/ppc/papyrus/wrapup/Makefile \ |
---|
750 | c/src/lib/libcpu/ppc/Makefile \ |
---|
751 | c/src/lib/libcpu/ppc/ppc403/Makefile \ |
---|
752 | c/src/lib/libcpu/ppc/ppc403/clock/Makefile \ |
---|
753 | c/src/lib/libcpu/ppc/ppc403/console/Makefile \ |
---|
754 | c/src/lib/libcpu/ppc/ppc403/include/Makefile \ |
---|
755 | c/src/lib/libcpu/ppc/ppc403/timer/Makefile \ |
---|
756 | c/src/lib/libcpu/ppc/ppc403/vectors/Makefile" |
---|
757 | |
---|
758 | posix_mk="c/src/exec/score/cpu/unix/Makefile \ |
---|
759 | c/src/exec/score/tools/unix/Makefile \ |
---|
760 | c/src/lib/libbsp/unix/Makefile \ |
---|
761 | c/src/lib/libbsp/unix/posix/Makefile \ |
---|
762 | c/src/lib/libbsp/unix/posix/clock/Makefile \ |
---|
763 | c/src/lib/libbsp/unix/posix/console/Makefile \ |
---|
764 | c/src/lib/libbsp/unix/posix/include/Makefile \ |
---|
765 | c/src/lib/libbsp/unix/posix/shmsupp/Makefile \ |
---|
766 | c/src/lib/libbsp/unix/posix/startup/Makefile \ |
---|
767 | c/src/lib/libbsp/unix/posix/timer/Makefile \ |
---|
768 | c/src/lib/libbsp/unix/posix/wrapup/Makefile" |
---|
769 | |
---|
770 | tcpip_mk="c/src/lib/libka9q/Makefile" |
---|
771 | |
---|
772 | hwapi_mk="\ |
---|
773 | c/src/lib/libhwapi/Makefile \ |
---|
774 | c/src/lib/libhwapi/eeprom/Makefile \ |
---|
775 | c/src/lib/libhwapi/eeprom/wrapup/Makefile \ |
---|
776 | c/src/lib/libhwapi/eeprom/eeprom/Makefile \ |
---|
777 | c/src/lib/libhwapi/drivers/Makefile \ |
---|
778 | c/src/lib/libhwapi/drivers/vmebus/Makefile \ |
---|
779 | c/src/lib/libhwapi/drivers/vmebus/dmv202/Makefile \ |
---|
780 | c/src/lib/libhwapi/drivers/vmebus/dmv536/Makefile \ |
---|
781 | c/src/lib/libhwapi/drivers/vmebus/dmv666/Makefile \ |
---|
782 | c/src/lib/libhwapi/drivers/vmebus/wrapup/Makefile \ |
---|
783 | c/src/lib/libhwapi/serial/Makefile \ |
---|
784 | c/src/lib/libhwapi/serial/default/Makefile \ |
---|
785 | c/src/lib/libhwapi/serial/stream/Makefile \ |
---|
786 | c/src/lib/libhwapi/serial/template/Makefile \ |
---|
787 | c/src/lib/libhwapi/serial/wrapup/Makefile \ |
---|
788 | c/src/lib/libhwapi/serial/channel/Makefile \ |
---|
789 | c/src/lib/libhwapi/discrete/Makefile \ |
---|
790 | c/src/lib/libhwapi/discrete/tools/Makefile \ |
---|
791 | c/src/lib/libhwapi/discrete/relay/Makefile \ |
---|
792 | c/src/lib/libhwapi/discrete/wrapup/Makefile \ |
---|
793 | c/src/lib/libhwapi/discrete/greycode/Makefile \ |
---|
794 | c/src/lib/libhwapi/discrete/discrete_in/Makefile \ |
---|
795 | c/src/lib/libhwapi/discrete/discrete_out/Makefile \ |
---|
796 | c/src/lib/libhwapi/discrete/discrete_input/Makefile \ |
---|
797 | c/src/lib/libhwapi/discrete/discrete_output/Makefile \ |
---|
798 | c/src/lib/libhwapi/discrete/discrete_flag/Makefile \ |
---|
799 | c/src/lib/libhwapi/discrete/discrete_bitfield/Makefile \ |
---|
800 | c/src/lib/libhwapi/analog/Makefile \ |
---|
801 | c/src/lib/libhwapi/analog/dac/Makefile \ |
---|
802 | c/src/lib/libhwapi/analog/wrapup/Makefile \ |
---|
803 | c/src/lib/libhwapi/analog/linear_dac/Makefile \ |
---|
804 | c/src/lib/libhwapi/analog/linear_adc/Makefile \ |
---|
805 | c/src/lib/libhwapi/analog/adc/Makefile \ |
---|
806 | c/src/lib/libhwapi/wrapup/Makefile \ |
---|
807 | c/src/lib/libhwapi/support/Makefile \ |
---|
808 | c/src/lib/libhwapi/support/chain/Makefile \ |
---|
809 | c/src/lib/libhwapi/support/checksum/Makefile \ |
---|
810 | c/src/lib/libhwapi/support/wrapup/Makefile \ |
---|
811 | c/src/lib/libhwapi/support/dumpbuf/Makefile" |
---|
812 | |
---|
813 | tests_mk="c/src/tests/Makefile \ |
---|
814 | c/src/tests/libtests/Makefile \ |
---|
815 | c/src/tests/libtests/cpuuse/Makefile \ |
---|
816 | c/src/tests/libtests/malloctest/Makefile \ |
---|
817 | c/src/tests/libtests/rtmonuse/Makefile \ |
---|
818 | c/src/tests/libtests/stackchk/Makefile \ |
---|
819 | c/src/tests/mptests/Makefile \ |
---|
820 | c/src/tests/mptests/mp01/Makefile \ |
---|
821 | c/src/tests/mptests/mp01/node1/Makefile \ |
---|
822 | c/src/tests/mptests/mp01/node2/Makefile \ |
---|
823 | c/src/tests/mptests/mp02/Makefile \ |
---|
824 | c/src/tests/mptests/mp02/node1/Makefile \ |
---|
825 | c/src/tests/mptests/mp02/node2/Makefile \ |
---|
826 | c/src/tests/mptests/mp03/Makefile \ |
---|
827 | c/src/tests/mptests/mp03/node1/Makefile \ |
---|
828 | c/src/tests/mptests/mp03/node2/Makefile \ |
---|
829 | c/src/tests/mptests/mp04/Makefile \ |
---|
830 | c/src/tests/mptests/mp04/node1/Makefile \ |
---|
831 | c/src/tests/mptests/mp04/node2/Makefile \ |
---|
832 | c/src/tests/mptests/mp05/Makefile \ |
---|
833 | c/src/tests/mptests/mp05/node1/Makefile \ |
---|
834 | c/src/tests/mptests/mp05/node2/Makefile \ |
---|
835 | c/src/tests/mptests/mp06/Makefile \ |
---|
836 | c/src/tests/mptests/mp06/node1/Makefile \ |
---|
837 | c/src/tests/mptests/mp06/node2/Makefile \ |
---|
838 | c/src/tests/mptests/mp07/Makefile \ |
---|
839 | c/src/tests/mptests/mp07/node1/Makefile \ |
---|
840 | c/src/tests/mptests/mp07/node2/Makefile \ |
---|
841 | c/src/tests/mptests/mp08/Makefile \ |
---|
842 | c/src/tests/mptests/mp08/node1/Makefile \ |
---|
843 | c/src/tests/mptests/mp08/node2/Makefile \ |
---|
844 | c/src/tests/mptests/mp09/Makefile \ |
---|
845 | c/src/tests/mptests/mp09/node1/Makefile \ |
---|
846 | c/src/tests/mptests/mp09/node2/Makefile \ |
---|
847 | c/src/tests/mptests/mp10/Makefile \ |
---|
848 | c/src/tests/mptests/mp10/node1/Makefile \ |
---|
849 | c/src/tests/mptests/mp10/node2/Makefile \ |
---|
850 | c/src/tests/mptests/mp11/Makefile \ |
---|
851 | c/src/tests/mptests/mp11/node1/Makefile \ |
---|
852 | c/src/tests/mptests/mp11/node2/Makefile \ |
---|
853 | c/src/tests/mptests/mp12/Makefile \ |
---|
854 | c/src/tests/mptests/mp12/node1/Makefile \ |
---|
855 | c/src/tests/mptests/mp12/node2/Makefile \ |
---|
856 | c/src/tests/mptests/mp13/Makefile \ |
---|
857 | c/src/tests/mptests/mp13/node1/Makefile \ |
---|
858 | c/src/tests/mptests/mp13/node2/Makefile \ |
---|
859 | c/src/tests/mptests/mp14/Makefile \ |
---|
860 | c/src/tests/mptests/mp14/node1/Makefile \ |
---|
861 | c/src/tests/mptests/mp14/node2/Makefile \ |
---|
862 | c/src/tests/psxtests/Makefile \ |
---|
863 | c/src/tests/psxtests/psx01/Makefile \ |
---|
864 | c/src/tests/psxtests/psx02/Makefile \ |
---|
865 | c/src/tests/psxtests/psx03/Makefile \ |
---|
866 | c/src/tests/psxtests/psx04/Makefile \ |
---|
867 | c/src/tests/psxtests/psx05/Makefile \ |
---|
868 | c/src/tests/psxtests/psx06/Makefile \ |
---|
869 | c/src/tests/psxtests/psx07/Makefile \ |
---|
870 | c/src/tests/psxtests/psx08/Makefile \ |
---|
871 | c/src/tests/psxtests/psx09/Makefile \ |
---|
872 | c/src/tests/psxtests/psx10/Makefile \ |
---|
873 | c/src/tests/psxtests/psx11/Makefile \ |
---|
874 | c/src/tests/psxtests/psx12/Makefile \ |
---|
875 | c/src/tests/psxtests/psxhdrs/Makefile \ |
---|
876 | c/src/tests/psxtests/support/Makefile \ |
---|
877 | c/src/tests/psxtests/support/include/Makefile \ |
---|
878 | c/src/tests/samples/Makefile \ |
---|
879 | c/src/tests/samples/base_mp/Makefile \ |
---|
880 | c/src/tests/samples/base_mp/node1/Makefile \ |
---|
881 | c/src/tests/samples/base_mp/node2/Makefile \ |
---|
882 | c/src/tests/samples/base_sp/Makefile \ |
---|
883 | c/src/tests/samples/cdtest/Makefile \ |
---|
884 | c/src/tests/samples/hello/Makefile \ |
---|
885 | c/src/tests/samples/paranoia/Makefile \ |
---|
886 | c/src/tests/samples/ticker/Makefile \ |
---|
887 | c/src/tests/sptests/Makefile \ |
---|
888 | c/src/tests/sptests/sp01/Makefile \ |
---|
889 | c/src/tests/sptests/sp02/Makefile \ |
---|
890 | c/src/tests/sptests/sp03/Makefile \ |
---|
891 | c/src/tests/sptests/sp04/Makefile \ |
---|
892 | c/src/tests/sptests/sp05/Makefile \ |
---|
893 | c/src/tests/sptests/sp06/Makefile \ |
---|
894 | c/src/tests/sptests/sp07/Makefile \ |
---|
895 | c/src/tests/sptests/sp08/Makefile \ |
---|
896 | c/src/tests/sptests/sp09/Makefile \ |
---|
897 | c/src/tests/sptests/sp11/Makefile \ |
---|
898 | c/src/tests/sptests/sp12/Makefile \ |
---|
899 | c/src/tests/sptests/sp13/Makefile \ |
---|
900 | c/src/tests/sptests/sp14/Makefile \ |
---|
901 | c/src/tests/sptests/sp15/Makefile \ |
---|
902 | c/src/tests/sptests/sp16/Makefile \ |
---|
903 | c/src/tests/sptests/sp17/Makefile \ |
---|
904 | c/src/tests/sptests/sp19/Makefile \ |
---|
905 | c/src/tests/sptests/sp20/Makefile \ |
---|
906 | c/src/tests/sptests/sp21/Makefile \ |
---|
907 | c/src/tests/sptests/sp22/Makefile \ |
---|
908 | c/src/tests/sptests/sp23/Makefile \ |
---|
909 | c/src/tests/sptests/sp24/Makefile \ |
---|
910 | c/src/tests/sptests/sp25/Makefile \ |
---|
911 | c/src/tests/sptests/spfatal/Makefile \ |
---|
912 | c/src/tests/sptests/spsize/Makefile \ |
---|
913 | c/src/tests/support/Makefile \ |
---|
914 | c/src/tests/support/include/Makefile \ |
---|
915 | c/src/tests/support/stubdr/Makefile \ |
---|
916 | c/src/tests/support/wrapup/Makefile \ |
---|
917 | c/src/tests/tmtests/Makefile \ |
---|
918 | c/src/tests/tmtests/include/Makefile \ |
---|
919 | c/src/tests/tmtests/tm01/Makefile \ |
---|
920 | c/src/tests/tmtests/tm02/Makefile \ |
---|
921 | c/src/tests/tmtests/tm03/Makefile \ |
---|
922 | c/src/tests/tmtests/tm04/Makefile \ |
---|
923 | c/src/tests/tmtests/tm05/Makefile \ |
---|
924 | c/src/tests/tmtests/tm06/Makefile \ |
---|
925 | c/src/tests/tmtests/tm07/Makefile \ |
---|
926 | c/src/tests/tmtests/tm08/Makefile \ |
---|
927 | c/src/tests/tmtests/tm09/Makefile \ |
---|
928 | c/src/tests/tmtests/tm10/Makefile \ |
---|
929 | c/src/tests/tmtests/tm11/Makefile \ |
---|
930 | c/src/tests/tmtests/tm12/Makefile \ |
---|
931 | c/src/tests/tmtests/tm13/Makefile \ |
---|
932 | c/src/tests/tmtests/tm14/Makefile \ |
---|
933 | c/src/tests/tmtests/tm15/Makefile \ |
---|
934 | c/src/tests/tmtests/tm16/Makefile \ |
---|
935 | c/src/tests/tmtests/tm17/Makefile \ |
---|
936 | c/src/tests/tmtests/tm18/Makefile \ |
---|
937 | c/src/tests/tmtests/tm19/Makefile \ |
---|
938 | c/src/tests/tmtests/tm20/Makefile \ |
---|
939 | c/src/tests/tmtests/tm21/Makefile \ |
---|
940 | c/src/tests/tmtests/tm22/Makefile \ |
---|
941 | c/src/tests/tmtests/tm23/Makefile \ |
---|
942 | c/src/tests/tmtests/tm24/Makefile \ |
---|
943 | c/src/tests/tmtests/tm25/Makefile \ |
---|
944 | c/src/tests/tmtests/tm26/Makefile \ |
---|
945 | c/src/tests/tmtests/tm27/Makefile \ |
---|
946 | c/src/tests/tmtests/tm28/Makefile \ |
---|
947 | c/src/tests/tmtests/tm29/Makefile \ |
---|
948 | c/src/tests/tmtests/tmck/Makefile \ |
---|
949 | c/src/tests/tmtests/tmoverhd/Makefile \ |
---|
950 | c/src/tests/tools/Makefile \ |
---|
951 | c/src/tests/tools/generic/Makefile \ |
---|
952 | c/src/tests/tools/hppa1_1/Makefile \ |
---|
953 | c/src/tests/tools/hppa1_1/simhppa/Makefile \ |
---|
954 | c/src/tests/tools/sparc/Makefile \ |
---|
955 | c/src/tests/tools/sparc/erc32/Makefile \ |
---|
956 | c/src/tests/tools/unix/Makefile \ |
---|
957 | c/src/tests/tools/unix/posix/Makefile" |
---|
958 | |
---|
959 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
---|
960 | echo "configure:961: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
---|
961 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
---|
962 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
---|
963 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
964 | else |
---|
965 | cat > conftestmake <<\EOF |
---|
966 | all: |
---|
967 | @echo 'ac_maketemp="${MAKE}"' |
---|
968 | EOF |
---|
969 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
970 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
---|
971 | if test -n "$ac_maketemp"; then |
---|
972 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
973 | else |
---|
974 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
975 | fi |
---|
976 | rm -f conftestmake |
---|
977 | fi |
---|
978 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
979 | echo "$ac_t""yes" 1>&6 |
---|
980 | SET_MAKE= |
---|
981 | else |
---|
982 | echo "$ac_t""no" 1>&6 |
---|
983 | SET_MAKE="MAKE=${MAKE-make}" |
---|
984 | fi |
---|
985 | |
---|
986 | ac_aux_dir= |
---|
987 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
---|
988 | if test -f $ac_dir/install-sh; then |
---|
989 | ac_aux_dir=$ac_dir |
---|
990 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
991 | break |
---|
992 | elif test -f $ac_dir/install.sh; then |
---|
993 | ac_aux_dir=$ac_dir |
---|
994 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
995 | break |
---|
996 | fi |
---|
997 | done |
---|
998 | if test -z "$ac_aux_dir"; then |
---|
999 | { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
---|
1000 | fi |
---|
1001 | ac_config_guess=$ac_aux_dir/config.guess |
---|
1002 | ac_config_sub=$ac_aux_dir/config.sub |
---|
1003 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
---|
1004 | |
---|
1005 | |
---|
1006 | # Do some error checking and defaulting for the host and target type. |
---|
1007 | # The inputs are: |
---|
1008 | # configure --host=HOST --target=TARGET --build=BUILD NONOPT |
---|
1009 | # |
---|
1010 | # The rules are: |
---|
1011 | # 1. You are not allowed to specify --host, --target, and nonopt at the |
---|
1012 | # same time. |
---|
1013 | # 2. Host defaults to nonopt. |
---|
1014 | # 3. If nonopt is not specified, then host defaults to the current host, |
---|
1015 | # as determined by config.guess. |
---|
1016 | # 4. Target and build default to nonopt. |
---|
1017 | # 5. If nonopt is not specified, then target and build default to host. |
---|
1018 | |
---|
1019 | # The aliases save the names the user supplied, while $host etc. |
---|
1020 | # will get canonicalized. |
---|
1021 | case $host---$target---$nonopt in |
---|
1022 | NONE---*---* | *---NONE---* | *---*---NONE) ;; |
---|
1023 | *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; |
---|
1024 | esac |
---|
1025 | |
---|
1026 | |
---|
1027 | # Make sure we can run config.sub. |
---|
1028 | if $ac_config_sub sun4 >/dev/null 2>&1; then : |
---|
1029 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
---|
1030 | fi |
---|
1031 | |
---|
1032 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
---|
1033 | echo "configure:1034: checking host system type" >&5 |
---|
1034 | |
---|
1035 | host_alias=$host |
---|
1036 | case "$host_alias" in |
---|
1037 | NONE) |
---|
1038 | case $nonopt in |
---|
1039 | NONE) |
---|
1040 | if host_alias=`$ac_config_guess`; then : |
---|
1041 | else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
---|
1042 | fi ;; |
---|
1043 | *) host_alias=$nonopt ;; |
---|
1044 | esac ;; |
---|
1045 | esac |
---|
1046 | |
---|
1047 | host=`$ac_config_sub $host_alias` |
---|
1048 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
1049 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
1050 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
1051 | echo "$ac_t""$host" 1>&6 |
---|
1052 | |
---|
1053 | echo $ac_n "checking target system type""... $ac_c" 1>&6 |
---|
1054 | echo "configure:1055: checking target system type" >&5 |
---|
1055 | |
---|
1056 | target_alias=$target |
---|
1057 | case "$target_alias" in |
---|
1058 | NONE) |
---|
1059 | case $nonopt in |
---|
1060 | NONE) target_alias=$host_alias ;; |
---|
1061 | *) target_alias=$nonopt ;; |
---|
1062 | esac ;; |
---|
1063 | esac |
---|
1064 | |
---|
1065 | target=`$ac_config_sub $target_alias` |
---|
1066 | target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
1067 | target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
1068 | target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
1069 | echo "$ac_t""$target" 1>&6 |
---|
1070 | |
---|
1071 | echo $ac_n "checking build system type""... $ac_c" 1>&6 |
---|
1072 | echo "configure:1073: checking build system type" >&5 |
---|
1073 | |
---|
1074 | build_alias=$build |
---|
1075 | case "$build_alias" in |
---|
1076 | NONE) |
---|
1077 | case $nonopt in |
---|
1078 | NONE) build_alias=$host_alias ;; |
---|
1079 | *) build_alias=$nonopt ;; |
---|
1080 | esac ;; |
---|
1081 | esac |
---|
1082 | |
---|
1083 | build=`$ac_config_sub $build_alias` |
---|
1084 | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
1085 | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
1086 | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
1087 | echo "$ac_t""$build" 1>&6 |
---|
1088 | |
---|
1089 | test "$host_alias" != "$target_alias" && |
---|
1090 | test "$program_prefix$program_suffix$program_transform_name" = \ |
---|
1091 | NONENONEs,x,x, && |
---|
1092 | program_prefix=${target_alias}- |
---|
1093 | |
---|
1094 | # Check whether --with-cross-host or --without-cross-host was given. |
---|
1095 | if test "${with_cross_host+set}" = set; then |
---|
1096 | withval="$with_cross_host" |
---|
1097 | \ |
---|
1098 | host=$withval |
---|
1099 | fi |
---|
1100 | |
---|
1101 | |
---|
1102 | # Check whether --enable-posix or --disable-posix was given. |
---|
1103 | if test "${enable_posix+set}" = set; then |
---|
1104 | enableval="$enable_posix" |
---|
1105 | \ |
---|
1106 | RTEMS_HAS_POSIX_API=no |
---|
1107 | else |
---|
1108 | RTEMS_HAS_POSIX_API=yes |
---|
1109 | fi |
---|
1110 | |
---|
1111 | |
---|
1112 | # Check whether --enable-tcpip or --disable-tcpip was given. |
---|
1113 | if test "${enable_tcpip+set}" = set; then |
---|
1114 | enableval="$enable_tcpip" |
---|
1115 | \ |
---|
1116 | RTEMS_HAS_KA9Q=no |
---|
1117 | else |
---|
1118 | RTEMS_HAS_KA9Q=yes |
---|
1119 | fi |
---|
1120 | |
---|
1121 | |
---|
1122 | # Check whether --enable-rtems-inlines or --disable-rtems-inlines was given. |
---|
1123 | if test "${enable_rtems_inlines+set}" = set; then |
---|
1124 | enableval="$enable_rtems_inlines" |
---|
1125 | \ |
---|
1126 | RTEMS_USE_MACROS=yes |
---|
1127 | else |
---|
1128 | RTEMS_USE_MACROS=no |
---|
1129 | fi |
---|
1130 | |
---|
1131 | |
---|
1132 | # Check whether --enable-gcc28 or --disable-gcc28 was given. |
---|
1133 | if test "${enable_gcc28+set}" = set; then |
---|
1134 | enableval="$enable_gcc28" |
---|
1135 | \ |
---|
1136 | RTEMS_USE_GCC272=no |
---|
1137 | else |
---|
1138 | RTEMS_USE_GCC272=yes |
---|
1139 | fi |
---|
1140 | |
---|
1141 | |
---|
1142 | # Check whether --enable-libcdir or --disable-libcdir was given. |
---|
1143 | if test "${enable_libcdir+set}" = set; then |
---|
1144 | enableval="$enable_libcdir" |
---|
1145 | \ |
---|
1146 | RTEMS_LIBC_DIR="${enableval}" ; \ |
---|
1147 | test -d ${enableval} || { echo "configure: error: "$enableval is not a directory" " 1>&2; exit 1; } |
---|
1148 | fi |
---|
1149 | |
---|
1150 | |
---|
1151 | RTEMS_PREFIX=${target_cpu}-${target_vendor} |
---|
1152 | |
---|
1153 | # |
---|
1154 | # Target configurations are listed in alphabetical order. |
---|
1155 | # The BSPs for a target configuration are also listed in alphabetical order. |
---|
1156 | # |
---|
1157 | |
---|
1158 | case "${target}" in |
---|
1159 | a29k-rtems*) |
---|
1160 | rtems_bsp=portsw |
---|
1161 | makefiles=$a29k_mk |
---|
1162 | ;; |
---|
1163 | # hpux unix port should go here |
---|
1164 | hppa1.1-rtems*) |
---|
1165 | rtems_bsp=simhppa |
---|
1166 | makefiles=$hppa1_1_mk |
---|
1167 | ;; |
---|
1168 | i[3456]86-go32-rtems*) |
---|
1169 | rtems_bsp="go32 go32_p5" |
---|
1170 | makefiles=$i386_go32_mk |
---|
1171 | RTEMS_HAS_POSIX_API=no |
---|
1172 | ;; |
---|
1173 | i[3456]86-rtems*) |
---|
1174 | rtems_bsp="force386 i386ex" |
---|
1175 | makefiles=$i386_mk |
---|
1176 | ;; |
---|
1177 | i[3456]86-pc-linux*) # unix "simulator" port |
---|
1178 | rtems_bsp=posix |
---|
1179 | makefiles=$posix_mk |
---|
1180 | RTEMS_HAS_POSIX_API=no |
---|
1181 | ;; |
---|
1182 | i960-rtems*) |
---|
1183 | rtems_bsp=cvme961 |
---|
1184 | makefiles=$i960_mk |
---|
1185 | ;; |
---|
1186 | m68k-rtems*) |
---|
1187 | rtems_bsp="dmv152 efi332 efi68k gen68302 gen68360 gen68360_040 idp \ |
---|
1188 | mvme136 mvme147 mvme147s mvme162" |
---|
1189 | makefiles=$m68k_mk |
---|
1190 | ;; |
---|
1191 | mips64orion-rtems*) |
---|
1192 | rtems_bsp="p4600 p4650" |
---|
1193 | makefiles=$mips64orion_mk |
---|
1194 | ;; |
---|
1195 | no_cpu-rtems*) |
---|
1196 | rtems_bsp=no_bsp |
---|
1197 | makefiles=$no_cpu_mk |
---|
1198 | RTEMS_HAS_POSIX_API=no |
---|
1199 | ;; |
---|
1200 | powerpc-rtems*) |
---|
1201 | rtems_bsp=papyrus |
---|
1202 | makefiles=$powerpc_mk |
---|
1203 | ;; |
---|
1204 | sparc-sun-solaris*) # unix "simulator" port |
---|
1205 | rtems_bsp=posix |
---|
1206 | makefiles=$posix_mk |
---|
1207 | RTEMS_HAS_POSIX_API=no |
---|
1208 | ;; |
---|
1209 | sparc-rtems*) |
---|
1210 | rtems_bsp=erc32 |
---|
1211 | makefiles=$sparc_mk |
---|
1212 | ;; |
---|
1213 | *) |
---|
1214 | rtems_bsp=no_bsp |
---|
1215 | makefiles=$no_cpu_mk |
---|
1216 | echo Error: RTEMS is not supported on target: $target |
---|
1217 | exit 1 |
---|
1218 | ;; |
---|
1219 | esac |
---|
1220 | |
---|
1221 | # until the tcpip is made optional to build, just do this |
---|
1222 | makefiles="$makefiles $tcpip_mk" |
---|
1223 | |
---|
1224 | case "${host}" in |
---|
1225 | *-pc-linux*) host_os=Linux ;; |
---|
1226 | sparc-sun-sunos*) host_os=SunOS ;; |
---|
1227 | sparc-sun-solaris*) host_os=Solaris ;; |
---|
1228 | *-nextstep*) host_os=Nextstep3;; |
---|
1229 | mips*-sgi-irix5*) host_os=Irix5;; |
---|
1230 | *-hp-hpux9*) host_os=HPUX9;; |
---|
1231 | *) host_os=none |
---|
1232 | echo RTEMS not supported on host: $host |
---|
1233 | exit 1;; |
---|
1234 | esac |
---|
1235 | |
---|
1236 | if [ "${program_prefix}" = "NONE" ] ; then |
---|
1237 | if [ "${target}" = "${host}" ] ; then |
---|
1238 | program_prefix= |
---|
1239 | else |
---|
1240 | program_prefix=${target}- |
---|
1241 | fi |
---|
1242 | fi |
---|
1243 | |
---|
1244 | |
---|
1245 | for ac_prog in mawk gawk nawk awk |
---|
1246 | do |
---|
1247 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1248 | set dummy $ac_prog; ac_word=$2 |
---|
1249 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1250 | echo "configure:1251: checking for $ac_word" >&5 |
---|
1251 | if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
---|
1252 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1253 | else |
---|
1254 | if test -n "$AWK"; then |
---|
1255 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
1256 | else |
---|
1257 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1258 | for ac_dir in $PATH; do |
---|
1259 | test -z "$ac_dir" && ac_dir=. |
---|
1260 | if test -f $ac_dir/$ac_word; then |
---|
1261 | ac_cv_prog_AWK="$ac_prog" |
---|
1262 | break |
---|
1263 | fi |
---|
1264 | done |
---|
1265 | IFS="$ac_save_ifs" |
---|
1266 | fi |
---|
1267 | fi |
---|
1268 | AWK="$ac_cv_prog_AWK" |
---|
1269 | if test -n "$AWK"; then |
---|
1270 | echo "$ac_t""$AWK" 1>&6 |
---|
1271 | else |
---|
1272 | echo "$ac_t""no" 1>&6 |
---|
1273 | fi |
---|
1274 | |
---|
1275 | test -n "$AWK" && break |
---|
1276 | done |
---|
1277 | |
---|
1278 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
---|
1279 | echo "configure:1280: checking whether ln -s works" >&5 |
---|
1280 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
---|
1281 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1282 | else |
---|
1283 | rm -f conftestdata |
---|
1284 | if ln -s X conftestdata 2>/dev/null |
---|
1285 | then |
---|
1286 | rm -f conftestdata |
---|
1287 | ac_cv_prog_LN_S="ln -s" |
---|
1288 | else |
---|
1289 | ac_cv_prog_LN_S=ln |
---|
1290 | fi |
---|
1291 | fi |
---|
1292 | LN_S="$ac_cv_prog_LN_S" |
---|
1293 | if test "$ac_cv_prog_LN_S" = "ln -s"; then |
---|
1294 | echo "$ac_t""yes" 1>&6 |
---|
1295 | else |
---|
1296 | echo "$ac_t""no" 1>&6 |
---|
1297 | fi |
---|
1298 | |
---|
1299 | |
---|
1300 | RTEMS_BSP=$rtems_bsp |
---|
1301 | RTEMS_HOST=$host_os |
---|
1302 | RTEMS_ROOT=`cd $srcdir/c; pwd` |
---|
1303 | PROJECT_ROOT=`pwd;` |
---|
1304 | |
---|
1305 | # Check whether --enable-tests or --disable-tests was given. |
---|
1306 | if test "${enable_tests+set}" = set; then |
---|
1307 | enableval="$enable_tests" |
---|
1308 | \ |
---|
1309 | tests_mk= |
---|
1310 | else |
---|
1311 | makefiles="${makefiles} ${tests_mk}" |
---|
1312 | fi |
---|
1313 | |
---|
1314 | |
---|
1315 | # Check whether --enable-hwapi or --disable-hwapi was given. |
---|
1316 | if test "${enable_hwapi+set}" = set; then |
---|
1317 | enableval="$enable_hwapi" |
---|
1318 | \ |
---|
1319 | makefiles="${makefiles} ${hwapi_mk}" |
---|
1320 | else |
---|
1321 | hwapi_mk= |
---|
1322 | fi |
---|
1323 | |
---|
1324 | |
---|
1325 | # Check whether --enable-rtemsbsp or --disable-rtemsbsp was given. |
---|
1326 | if test "${enable_rtemsbsp+set}" = set; then |
---|
1327 | enableval="$enable_rtemsbsp" |
---|
1328 | \ |
---|
1329 | RTEMS_BSP=$enableval |
---|
1330 | fi |
---|
1331 | |
---|
1332 | |
---|
1333 | |
---|
1334 | |
---|
1335 | |
---|
1336 | |
---|
1337 | |
---|
1338 | |
---|
1339 | |
---|
1340 | |
---|
1341 | |
---|
1342 | |
---|
1343 | |
---|
1344 | |
---|
1345 | trap '' 1 2 15 |
---|
1346 | cat > confcache <<\EOF |
---|
1347 | # This file is a shell script that caches the results of configure |
---|
1348 | # tests run on this system so they can be shared between configure |
---|
1349 | # scripts and configure runs. It is not useful on other systems. |
---|
1350 | # If it contains results you don't want to keep, you may remove or edit it. |
---|
1351 | # |
---|
1352 | # By default, configure uses ./config.cache as the cache file, |
---|
1353 | # creating it if it does not exist already. You can give configure |
---|
1354 | # the --cache-file=FILE option to use a different cache file; that is |
---|
1355 | # what configure does when it calls configure scripts in |
---|
1356 | # subdirectories, so they share the cache. |
---|
1357 | # Giving --cache-file=/dev/null disables caching, for debugging configure. |
---|
1358 | # config.status only pays attention to the cache file if you give it the |
---|
1359 | # --recheck option to rerun configure. |
---|
1360 | # |
---|
1361 | EOF |
---|
1362 | # The following way of writing the cache mishandles newlines in values, |
---|
1363 | # but we know of no workaround that is simple, portable, and efficient. |
---|
1364 | # So, don't put newlines in cache variables' values. |
---|
1365 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
1366 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
1367 | (set) 2>&1 | |
---|
1368 | case `(ac_space=' '; set) 2>&1` in |
---|
1369 | *ac_space=\ *) |
---|
1370 | # `set' does not quote correctly, so add quotes (double-quote substitution |
---|
1371 | # turns \\\\ into \\, and sed turns \\ into \). |
---|
1372 | sed -n \ |
---|
1373 | -e "s/'/'\\\\''/g" \ |
---|
1374 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
---|
1375 | ;; |
---|
1376 | *) |
---|
1377 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
1378 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
---|
1379 | ;; |
---|
1380 | esac >> confcache |
---|
1381 | if cmp -s $cache_file confcache; then |
---|
1382 | : |
---|
1383 | else |
---|
1384 | if test -w $cache_file; then |
---|
1385 | echo "updating cache $cache_file" |
---|
1386 | cat confcache > $cache_file |
---|
1387 | else |
---|
1388 | echo "not updating unwritable cache $cache_file" |
---|
1389 | fi |
---|
1390 | fi |
---|
1391 | rm -f confcache |
---|
1392 | |
---|
1393 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
1394 | |
---|
1395 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
1396 | # Let make expand exec_prefix. |
---|
1397 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
1398 | |
---|
1399 | # Any assignment to VPATH causes Sun make to only execute |
---|
1400 | # the first set of double-colon rules, so remove it if not needed. |
---|
1401 | # If there is a colon in the path, we need to keep it. |
---|
1402 | if test "x$srcdir" = x.; then |
---|
1403 | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
---|
1404 | fi |
---|
1405 | |
---|
1406 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
---|
1407 | |
---|
1408 | # Transform confdefs.h into DEFS. |
---|
1409 | # Protect against shell expansion while executing Makefile rules. |
---|
1410 | # Protect against Makefile macro expansion. |
---|
1411 | cat > conftest.defs <<\EOF |
---|
1412 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g |
---|
1413 | s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g |
---|
1414 | s%\[%\\&%g |
---|
1415 | s%\]%\\&%g |
---|
1416 | s%\$%$$%g |
---|
1417 | EOF |
---|
1418 | DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` |
---|
1419 | rm -f conftest.defs |
---|
1420 | |
---|
1421 | |
---|
1422 | # Without the "./", some shells look in PATH for config.status. |
---|
1423 | : ${CONFIG_STATUS=./config.status} |
---|
1424 | |
---|
1425 | echo creating $CONFIG_STATUS |
---|
1426 | rm -f $CONFIG_STATUS |
---|
1427 | cat > $CONFIG_STATUS <<EOF |
---|
1428 | #! /bin/sh |
---|
1429 | # Generated automatically by configure. |
---|
1430 | # Run this file to recreate the current configuration. |
---|
1431 | # This directory was configured as follows, |
---|
1432 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
---|
1433 | # |
---|
1434 | # $0 $ac_configure_args |
---|
1435 | # |
---|
1436 | # Compiler output produced by configure, useful for debugging |
---|
1437 | # configure, is in ./config.log if it exists. |
---|
1438 | |
---|
1439 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
---|
1440 | for ac_option |
---|
1441 | do |
---|
1442 | case "\$ac_option" in |
---|
1443 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
1444 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
---|
1445 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
---|
1446 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
---|
1447 | echo "$CONFIG_STATUS generated by autoconf version 2.12" |
---|
1448 | exit 0 ;; |
---|
1449 | -help | --help | --hel | --he | --h) |
---|
1450 | echo "\$ac_cs_usage"; exit 0 ;; |
---|
1451 | *) echo "\$ac_cs_usage"; exit 1 ;; |
---|
1452 | esac |
---|
1453 | done |
---|
1454 | |
---|
1455 | ac_given_srcdir=$srcdir |
---|
1456 | |
---|
1457 | trap 'rm -fr `echo "Makefile \ |
---|
1458 | c/Makefile \ |
---|
1459 | c/build-tools/Makefile \ |
---|
1460 | c/build-tools/os/Makefile \ |
---|
1461 | c/build-tools/os/msdos/Makefile \ |
---|
1462 | c/build-tools/scripts/Makefile \ |
---|
1463 | c/build-tools/src/Makefile \ |
---|
1464 | c/make/Makefile \ |
---|
1465 | c/make/Templates/Makefile.inc \ |
---|
1466 | c/src/Makefile \ |
---|
1467 | c/src/exec/Makefile \ |
---|
1468 | c/src/exec/posix/Makefile \ |
---|
1469 | c/src/exec/posix/base/Makefile \ |
---|
1470 | c/src/exec/posix/headers/Makefile \ |
---|
1471 | c/src/exec/posix/inline/Makefile \ |
---|
1472 | c/src/exec/posix/macros/Makefile \ |
---|
1473 | c/src/exec/posix/optman/Makefile \ |
---|
1474 | c/src/exec/posix/src/Makefile \ |
---|
1475 | c/src/exec/posix/sys/Makefile \ |
---|
1476 | c/src/exec/rtems/Makefile \ |
---|
1477 | c/src/exec/rtems/headers/Makefile \ |
---|
1478 | c/src/exec/rtems/inline/Makefile \ |
---|
1479 | c/src/exec/rtems/macros/Makefile \ |
---|
1480 | c/src/exec/rtems/optman/Makefile \ |
---|
1481 | c/src/exec/rtems/src/Makefile \ |
---|
1482 | c/src/exec/sapi/Makefile \ |
---|
1483 | c/src/exec/sapi/headers/Makefile \ |
---|
1484 | c/src/exec/sapi/inline/Makefile \ |
---|
1485 | c/src/exec/sapi/macros/Makefile \ |
---|
1486 | c/src/exec/sapi/optman/Makefile \ |
---|
1487 | c/src/exec/sapi/src/Makefile \ |
---|
1488 | c/src/exec/score/Makefile \ |
---|
1489 | c/src/exec/score/cpu/Makefile \ |
---|
1490 | c/src/exec/score/headers/Makefile \ |
---|
1491 | c/src/exec/score/inline/Makefile \ |
---|
1492 | c/src/exec/score/macros/Makefile \ |
---|
1493 | c/src/exec/score/src/Makefile \ |
---|
1494 | c/src/exec/score/tools/Makefile \ |
---|
1495 | c/src/exec/score/tools/generic/Makefile \ |
---|
1496 | c/src/exec/wrapup/Makefile \ |
---|
1497 | c/src/exec/wrapup/posix/Makefile \ |
---|
1498 | c/src/exec/wrapup/rtems/Makefile \ |
---|
1499 | c/src/lib/Makefile \ |
---|
1500 | c/src/lib/include/Makefile \ |
---|
1501 | c/src/lib/libbsp/Makefile \ |
---|
1502 | c/src/lib/libbsp/shmdr/Makefile \ |
---|
1503 | c/src/lib/libc/Makefile \ |
---|
1504 | c/src/lib/libcpu/Makefile \ |
---|
1505 | c/src/lib/libmisc/Makefile \ |
---|
1506 | c/src/lib/libmisc/assoc/Makefile \ |
---|
1507 | c/src/lib/libmisc/cpuuse/Makefile \ |
---|
1508 | c/src/lib/libmisc/error/Makefile \ |
---|
1509 | c/src/lib/libmisc/monitor/Makefile \ |
---|
1510 | c/src/lib/libmisc/rtmonuse/Makefile \ |
---|
1511 | c/src/lib/libmisc/stackchk/Makefile \ |
---|
1512 | c/src/lib/libmisc/wrapup/Makefile \ |
---|
1513 | c/src/lib/start/Makefile \ |
---|
1514 | c/src/lib/wrapup/Makefile \ |
---|
1515 | $makefiles \ |
---|
1516 | c/update-tools/Makefile " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
---|
1517 | EOF |
---|
1518 | cat >> $CONFIG_STATUS <<EOF |
---|
1519 | |
---|
1520 | # Protect against being on the right side of a sed subst in config.status. |
---|
1521 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
---|
1522 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
---|
1523 | $ac_vpsub |
---|
1524 | $extrasub |
---|
1525 | s%@CFLAGS@%$CFLAGS%g |
---|
1526 | s%@CPPFLAGS@%$CPPFLAGS%g |
---|
1527 | s%@CXXFLAGS@%$CXXFLAGS%g |
---|
1528 | s%@DEFS@%$DEFS%g |
---|
1529 | s%@LDFLAGS@%$LDFLAGS%g |
---|
1530 | s%@LIBS@%$LIBS%g |
---|
1531 | s%@exec_prefix@%$exec_prefix%g |
---|
1532 | s%@prefix@%$prefix%g |
---|
1533 | s%@program_transform_name@%$program_transform_name%g |
---|
1534 | s%@bindir@%$bindir%g |
---|
1535 | s%@sbindir@%$sbindir%g |
---|
1536 | s%@libexecdir@%$libexecdir%g |
---|
1537 | s%@datadir@%$datadir%g |
---|
1538 | s%@sysconfdir@%$sysconfdir%g |
---|
1539 | s%@sharedstatedir@%$sharedstatedir%g |
---|
1540 | s%@localstatedir@%$localstatedir%g |
---|
1541 | s%@libdir@%$libdir%g |
---|
1542 | s%@includedir@%$includedir%g |
---|
1543 | s%@oldincludedir@%$oldincludedir%g |
---|
1544 | s%@infodir@%$infodir%g |
---|
1545 | s%@mandir@%$mandir%g |
---|
1546 | s%@SET_MAKE@%$SET_MAKE%g |
---|
1547 | s%@host@%$host%g |
---|
1548 | s%@host_alias@%$host_alias%g |
---|
1549 | s%@host_cpu@%$host_cpu%g |
---|
1550 | s%@host_vendor@%$host_vendor%g |
---|
1551 | s%@host_os@%$host_os%g |
---|
1552 | s%@target@%$target%g |
---|
1553 | s%@target_alias@%$target_alias%g |
---|
1554 | s%@target_cpu@%$target_cpu%g |
---|
1555 | s%@target_vendor@%$target_vendor%g |
---|
1556 | s%@target_os@%$target_os%g |
---|
1557 | s%@build@%$build%g |
---|
1558 | s%@build_alias@%$build_alias%g |
---|
1559 | s%@build_cpu@%$build_cpu%g |
---|
1560 | s%@build_vendor@%$build_vendor%g |
---|
1561 | s%@build_os@%$build_os%g |
---|
1562 | s%@AWK@%$AWK%g |
---|
1563 | s%@LN_S@%$LN_S%g |
---|
1564 | s%@RTEMS_BSP@%$RTEMS_BSP%g |
---|
1565 | s%@RTEMS_HOST@%$RTEMS_HOST%g |
---|
1566 | s%@RTEMS_LIBC_DIR@%$RTEMS_LIBC_DIR%g |
---|
1567 | s%@RTEMS_ROOT@%$RTEMS_ROOT%g |
---|
1568 | s%@RTEMS_HAS_POSIX_API@%$RTEMS_HAS_POSIX_API%g |
---|
1569 | s%@RTEMS_HAS_KA9Q@%$RTEMS_HAS_KA9Q%g |
---|
1570 | s%@RTEMS_USE_MACROS@%$RTEMS_USE_MACROS%g |
---|
1571 | s%@RTEMS_USE_GCC272@%$RTEMS_USE_GCC272%g |
---|
1572 | s%@PROJECT_ROOT@%$PROJECT_ROOT%g |
---|
1573 | s%@program_prefix@%$program_prefix%g |
---|
1574 | |
---|
1575 | CEOF |
---|
1576 | EOF |
---|
1577 | |
---|
1578 | cat >> $CONFIG_STATUS <<\EOF |
---|
1579 | |
---|
1580 | # Split the substitutions into bite-sized pieces for seds with |
---|
1581 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
1582 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
---|
1583 | ac_file=1 # Number of current file. |
---|
1584 | ac_beg=1 # First line for current file. |
---|
1585 | ac_end=$ac_max_sed_cmds # Line after last line for current file. |
---|
1586 | ac_more_lines=: |
---|
1587 | ac_sed_cmds="" |
---|
1588 | while $ac_more_lines; do |
---|
1589 | if test $ac_beg -gt 1; then |
---|
1590 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
1591 | else |
---|
1592 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
1593 | fi |
---|
1594 | if test ! -s conftest.s$ac_file; then |
---|
1595 | ac_more_lines=false |
---|
1596 | rm -f conftest.s$ac_file |
---|
1597 | else |
---|
1598 | if test -z "$ac_sed_cmds"; then |
---|
1599 | ac_sed_cmds="sed -f conftest.s$ac_file" |
---|
1600 | else |
---|
1601 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
---|
1602 | fi |
---|
1603 | ac_file=`expr $ac_file + 1` |
---|
1604 | ac_beg=$ac_end |
---|
1605 | ac_end=`expr $ac_end + $ac_max_sed_cmds` |
---|
1606 | fi |
---|
1607 | done |
---|
1608 | if test -z "$ac_sed_cmds"; then |
---|
1609 | ac_sed_cmds=cat |
---|
1610 | fi |
---|
1611 | EOF |
---|
1612 | |
---|
1613 | cat >> $CONFIG_STATUS <<EOF |
---|
1614 | |
---|
1615 | CONFIG_FILES=\${CONFIG_FILES-"Makefile \ |
---|
1616 | c/Makefile \ |
---|
1617 | c/build-tools/Makefile \ |
---|
1618 | c/build-tools/os/Makefile \ |
---|
1619 | c/build-tools/os/msdos/Makefile \ |
---|
1620 | c/build-tools/scripts/Makefile \ |
---|
1621 | c/build-tools/src/Makefile \ |
---|
1622 | c/make/Makefile \ |
---|
1623 | c/make/Templates/Makefile.inc \ |
---|
1624 | c/src/Makefile \ |
---|
1625 | c/src/exec/Makefile \ |
---|
1626 | c/src/exec/posix/Makefile \ |
---|
1627 | c/src/exec/posix/base/Makefile \ |
---|
1628 | c/src/exec/posix/headers/Makefile \ |
---|
1629 | c/src/exec/posix/inline/Makefile \ |
---|
1630 | c/src/exec/posix/macros/Makefile \ |
---|
1631 | c/src/exec/posix/optman/Makefile \ |
---|
1632 | c/src/exec/posix/src/Makefile \ |
---|
1633 | c/src/exec/posix/sys/Makefile \ |
---|
1634 | c/src/exec/rtems/Makefile \ |
---|
1635 | c/src/exec/rtems/headers/Makefile \ |
---|
1636 | c/src/exec/rtems/inline/Makefile \ |
---|
1637 | c/src/exec/rtems/macros/Makefile \ |
---|
1638 | c/src/exec/rtems/optman/Makefile \ |
---|
1639 | c/src/exec/rtems/src/Makefile \ |
---|
1640 | c/src/exec/sapi/Makefile \ |
---|
1641 | c/src/exec/sapi/headers/Makefile \ |
---|
1642 | c/src/exec/sapi/inline/Makefile \ |
---|
1643 | c/src/exec/sapi/macros/Makefile \ |
---|
1644 | c/src/exec/sapi/optman/Makefile \ |
---|
1645 | c/src/exec/sapi/src/Makefile \ |
---|
1646 | c/src/exec/score/Makefile \ |
---|
1647 | c/src/exec/score/cpu/Makefile \ |
---|
1648 | c/src/exec/score/headers/Makefile \ |
---|
1649 | c/src/exec/score/inline/Makefile \ |
---|
1650 | c/src/exec/score/macros/Makefile \ |
---|
1651 | c/src/exec/score/src/Makefile \ |
---|
1652 | c/src/exec/score/tools/Makefile \ |
---|
1653 | c/src/exec/score/tools/generic/Makefile \ |
---|
1654 | c/src/exec/wrapup/Makefile \ |
---|
1655 | c/src/exec/wrapup/posix/Makefile \ |
---|
1656 | c/src/exec/wrapup/rtems/Makefile \ |
---|
1657 | c/src/lib/Makefile \ |
---|
1658 | c/src/lib/include/Makefile \ |
---|
1659 | c/src/lib/libbsp/Makefile \ |
---|
1660 | c/src/lib/libbsp/shmdr/Makefile \ |
---|
1661 | c/src/lib/libc/Makefile \ |
---|
1662 | c/src/lib/libcpu/Makefile \ |
---|
1663 | c/src/lib/libmisc/Makefile \ |
---|
1664 | c/src/lib/libmisc/assoc/Makefile \ |
---|
1665 | c/src/lib/libmisc/cpuuse/Makefile \ |
---|
1666 | c/src/lib/libmisc/error/Makefile \ |
---|
1667 | c/src/lib/libmisc/monitor/Makefile \ |
---|
1668 | c/src/lib/libmisc/rtmonuse/Makefile \ |
---|
1669 | c/src/lib/libmisc/stackchk/Makefile \ |
---|
1670 | c/src/lib/libmisc/wrapup/Makefile \ |
---|
1671 | c/src/lib/start/Makefile \ |
---|
1672 | c/src/lib/wrapup/Makefile \ |
---|
1673 | $makefiles \ |
---|
1674 | c/update-tools/Makefile "} |
---|
1675 | EOF |
---|
1676 | cat >> $CONFIG_STATUS <<\EOF |
---|
1677 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
---|
1678 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
1679 | case "$ac_file" in |
---|
1680 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
---|
1681 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
---|
1682 | *) ac_file_in="${ac_file}.in" ;; |
---|
1683 | esac |
---|
1684 | |
---|
1685 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
---|
1686 | |
---|
1687 | # Remove last slash and all that follows it. Not all systems have dirname. |
---|
1688 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
---|
1689 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
---|
1690 | # The file is in a subdirectory. |
---|
1691 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
---|
1692 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
---|
1693 | # A "../" for each directory in $ac_dir_suffix. |
---|
1694 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
---|
1695 | else |
---|
1696 | ac_dir_suffix= ac_dots= |
---|
1697 | fi |
---|
1698 | |
---|
1699 | case "$ac_given_srcdir" in |
---|
1700 | .) srcdir=. |
---|
1701 | if test -z "$ac_dots"; then top_srcdir=. |
---|
1702 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
---|
1703 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
---|
1704 | *) # Relative path. |
---|
1705 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
---|
1706 | top_srcdir="$ac_dots$ac_given_srcdir" ;; |
---|
1707 | esac |
---|
1708 | |
---|
1709 | |
---|
1710 | echo creating "$ac_file" |
---|
1711 | rm -f "$ac_file" |
---|
1712 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
---|
1713 | case "$ac_file" in |
---|
1714 | *Makefile*) ac_comsub="1i\\ |
---|
1715 | # $configure_input" ;; |
---|
1716 | *) ac_comsub= ;; |
---|
1717 | esac |
---|
1718 | |
---|
1719 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
---|
1720 | sed -e "$ac_comsub |
---|
1721 | s%@configure_input@%$configure_input%g |
---|
1722 | s%@srcdir@%$srcdir%g |
---|
1723 | s%@top_srcdir@%$top_srcdir%g |
---|
1724 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
---|
1725 | fi; done |
---|
1726 | rm -f conftest.s* |
---|
1727 | |
---|
1728 | EOF |
---|
1729 | cat >> $CONFIG_STATUS <<EOF |
---|
1730 | |
---|
1731 | EOF |
---|
1732 | cat >> $CONFIG_STATUS <<\EOF |
---|
1733 | |
---|
1734 | exit 0 |
---|
1735 | EOF |
---|
1736 | chmod +x $CONFIG_STATUS |
---|
1737 | rm -fr confdefs* $ac_clean_files |
---|
1738 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
---|
1739 | |
---|
1740 | |
---|
1741 | echo |
---|
1742 | echo target architecture: $target_cpu. |
---|
1743 | echo available BSPs: $rtems_bsp. |
---|
1744 | echo \'make all\' will build the following BSPs: $RTEMS_BSP. |
---|
1745 | echo other BSPs can be built with \'make RTEMSBSP=\"bsp1 bsp2 ...\"\' |
---|
1746 | echo |
---|