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 | --disable-posix disable posix interface" |
---|
22 | ac_help="$ac_help |
---|
23 | \ |
---|
24 | --disable-ka9q disable KA9Q TCP/IP stack" |
---|
25 | ac_help="$ac_help |
---|
26 | \ |
---|
27 | --disable-rtems-inlines disable 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 | --disable-tests disable tests" |
---|
40 | ac_help="$ac_help |
---|
41 | \ |
---|
42 | --enable-hwapi enable hardware API library" |
---|
43 | ac_help="$ac_help |
---|
44 | \ |
---|
45 | --enable-rtemsbsp=bsp1 bsp2 .. prefix for cross-tools" |
---|
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 | i386_mk="c/src/exec/score/cpu/i386/Makefile \ |
---|
555 | c/src/lib/libbsp/i386/Makefile \ |
---|
556 | c/src/lib/libbsp/i386/force386/Makefile \ |
---|
557 | c/src/lib/libbsp/i386/force386/clock/Makefile \ |
---|
558 | c/src/lib/libbsp/i386/force386/console/Makefile \ |
---|
559 | c/src/lib/libbsp/i386/force386/include/Makefile \ |
---|
560 | c/src/lib/libbsp/i386/force386/shmsupp/Makefile \ |
---|
561 | c/src/lib/libbsp/i386/force386/startup/Makefile \ |
---|
562 | c/src/lib/libbsp/i386/force386/timer/Makefile \ |
---|
563 | c/src/lib/libbsp/i386/force386/wrapup/Makefile \ |
---|
564 | c/src/lib/libbsp/i386/i386ex/Makefile \ |
---|
565 | c/src/lib/libbsp/i386/i386ex/clock/Makefile \ |
---|
566 | c/src/lib/libbsp/i386/i386ex/console/Makefile \ |
---|
567 | c/src/lib/libbsp/i386/i386ex/include/Makefile \ |
---|
568 | c/src/lib/libbsp/i386/i386ex/startup/Makefile \ |
---|
569 | c/src/lib/libbsp/i386/i386ex/timer/Makefile \ |
---|
570 | c/src/lib/libbsp/i386/i386ex/wrapup/Makefile \ |
---|
571 | c/src/lib/start/i386/Makefile" |
---|
572 | |
---|
573 | i386_go32_mk="c/src/exec/score/cpu/i386/Makefile \ |
---|
574 | c/src/lib/libbsp/i386/Makefile \ |
---|
575 | c/src/lib/libbsp/i386/go32/Makefile \ |
---|
576 | c/src/lib/libbsp/i386/go32/clock/Makefile \ |
---|
577 | c/src/lib/libbsp/i386/go32/console/Makefile \ |
---|
578 | c/src/lib/libbsp/i386/go32/include/Makefile \ |
---|
579 | c/src/lib/libbsp/i386/go32/startup/Makefile \ |
---|
580 | c/src/lib/libbsp/i386/go32/timer/Makefile \ |
---|
581 | c/src/lib/libbsp/i386/go32/wrapup/Makefile" |
---|
582 | |
---|
583 | ka9q_mk="c/src/lib/libka9q/Makefile" |
---|
584 | |
---|
585 | rtemscpp_mk="c/src/lib/librtems++/Makefile" |
---|
586 | |
---|
587 | hwapi_mk="\ |
---|
588 | c/src/lib/libhwapi/Makefile \ |
---|
589 | c/src/lib/libhwapi/eeprom/Makefile \ |
---|
590 | c/src/lib/libhwapi/eeprom/wrapup/Makefile \ |
---|
591 | c/src/lib/libhwapi/eeprom/eeprom/Makefile \ |
---|
592 | c/src/lib/libhwapi/drivers/Makefile \ |
---|
593 | c/src/lib/libhwapi/drivers/vmebus/Makefile \ |
---|
594 | c/src/lib/libhwapi/drivers/vmebus/dmv202/Makefile \ |
---|
595 | c/src/lib/libhwapi/drivers/vmebus/dmv536/Makefile \ |
---|
596 | c/src/lib/libhwapi/drivers/vmebus/dmv666/Makefile \ |
---|
597 | c/src/lib/libhwapi/drivers/vmebus/wrapup/Makefile \ |
---|
598 | c/src/lib/libhwapi/serial/Makefile \ |
---|
599 | c/src/lib/libhwapi/serial/default/Makefile \ |
---|
600 | c/src/lib/libhwapi/serial/stream/Makefile \ |
---|
601 | c/src/lib/libhwapi/serial/template/Makefile \ |
---|
602 | c/src/lib/libhwapi/serial/wrapup/Makefile \ |
---|
603 | c/src/lib/libhwapi/serial/channel/Makefile \ |
---|
604 | c/src/lib/libhwapi/discrete/Makefile \ |
---|
605 | c/src/lib/libhwapi/discrete/tools/Makefile \ |
---|
606 | c/src/lib/libhwapi/discrete/relay/Makefile \ |
---|
607 | c/src/lib/libhwapi/discrete/wrapup/Makefile \ |
---|
608 | c/src/lib/libhwapi/discrete/greycode/Makefile \ |
---|
609 | c/src/lib/libhwapi/discrete/discrete_in/Makefile \ |
---|
610 | c/src/lib/libhwapi/discrete/discrete_out/Makefile \ |
---|
611 | c/src/lib/libhwapi/discrete/discrete_input/Makefile \ |
---|
612 | c/src/lib/libhwapi/discrete/discrete_output/Makefile \ |
---|
613 | c/src/lib/libhwapi/discrete/discrete_flag/Makefile \ |
---|
614 | c/src/lib/libhwapi/discrete/discrete_bitfield/Makefile \ |
---|
615 | c/src/lib/libhwapi/analog/Makefile \ |
---|
616 | c/src/lib/libhwapi/analog/dac/Makefile \ |
---|
617 | c/src/lib/libhwapi/analog/wrapup/Makefile \ |
---|
618 | c/src/lib/libhwapi/analog/linear_dac/Makefile \ |
---|
619 | c/src/lib/libhwapi/analog/linear_adc/Makefile \ |
---|
620 | c/src/lib/libhwapi/analog/adc/Makefile \ |
---|
621 | c/src/lib/libhwapi/wrapup/Makefile \ |
---|
622 | c/src/lib/libhwapi/support/Makefile \ |
---|
623 | c/src/lib/libhwapi/support/chain/Makefile \ |
---|
624 | c/src/lib/libhwapi/support/checksum/Makefile \ |
---|
625 | c/src/lib/libhwapi/support/wrapup/Makefile \ |
---|
626 | c/src/lib/libhwapi/support/dumpbuf/Makefile" |
---|
627 | |
---|
628 | tests_mk="c/src/tests/libtests/Makefile \ |
---|
629 | c/src/tests/libtests/cpuuse/Makefile \ |
---|
630 | c/src/tests/libtests/malloctest/Makefile \ |
---|
631 | c/src/tests/libtests/monitor/Makefile \ |
---|
632 | c/src/tests/libtests/rtmonuse/Makefile \ |
---|
633 | c/src/tests/libtests/stackchk/Makefile \ |
---|
634 | c/src/tests/libtests/termios/Makefile \ |
---|
635 | c/src/tests/libtests/rtems++/Makefile \ |
---|
636 | c/src/tests/mptests/Makefile \ |
---|
637 | c/src/tests/mptests/mp01/Makefile \ |
---|
638 | c/src/tests/mptests/mp01/node1/Makefile \ |
---|
639 | c/src/tests/mptests/mp01/node2/Makefile \ |
---|
640 | c/src/tests/mptests/mp02/Makefile \ |
---|
641 | c/src/tests/mptests/mp02/node1/Makefile \ |
---|
642 | c/src/tests/mptests/mp02/node2/Makefile \ |
---|
643 | c/src/tests/mptests/mp03/Makefile \ |
---|
644 | c/src/tests/mptests/mp03/node1/Makefile \ |
---|
645 | c/src/tests/mptests/mp03/node2/Makefile \ |
---|
646 | c/src/tests/mptests/mp04/Makefile \ |
---|
647 | c/src/tests/mptests/mp04/node1/Makefile \ |
---|
648 | c/src/tests/mptests/mp04/node2/Makefile \ |
---|
649 | c/src/tests/mptests/mp05/Makefile \ |
---|
650 | c/src/tests/mptests/mp05/node1/Makefile \ |
---|
651 | c/src/tests/mptests/mp05/node2/Makefile \ |
---|
652 | c/src/tests/mptests/mp06/Makefile \ |
---|
653 | c/src/tests/mptests/mp06/node1/Makefile \ |
---|
654 | c/src/tests/mptests/mp06/node2/Makefile \ |
---|
655 | c/src/tests/mptests/mp07/Makefile \ |
---|
656 | c/src/tests/mptests/mp07/node1/Makefile \ |
---|
657 | c/src/tests/mptests/mp07/node2/Makefile \ |
---|
658 | c/src/tests/mptests/mp08/Makefile \ |
---|
659 | c/src/tests/mptests/mp08/node1/Makefile \ |
---|
660 | c/src/tests/mptests/mp08/node2/Makefile \ |
---|
661 | c/src/tests/mptests/mp09/Makefile \ |
---|
662 | c/src/tests/mptests/mp09/node1/Makefile \ |
---|
663 | c/src/tests/mptests/mp09/node2/Makefile \ |
---|
664 | c/src/tests/mptests/mp10/Makefile \ |
---|
665 | c/src/tests/mptests/mp10/node1/Makefile \ |
---|
666 | c/src/tests/mptests/mp10/node2/Makefile \ |
---|
667 | c/src/tests/mptests/mp11/Makefile \ |
---|
668 | c/src/tests/mptests/mp11/node1/Makefile \ |
---|
669 | c/src/tests/mptests/mp11/node2/Makefile \ |
---|
670 | c/src/tests/mptests/mp12/Makefile \ |
---|
671 | c/src/tests/mptests/mp12/node1/Makefile \ |
---|
672 | c/src/tests/mptests/mp12/node2/Makefile \ |
---|
673 | c/src/tests/mptests/mp13/Makefile \ |
---|
674 | c/src/tests/mptests/mp13/node1/Makefile \ |
---|
675 | c/src/tests/mptests/mp13/node2/Makefile \ |
---|
676 | c/src/tests/mptests/mp14/Makefile \ |
---|
677 | c/src/tests/mptests/mp14/node1/Makefile \ |
---|
678 | c/src/tests/mptests/mp14/node2/Makefile \ |
---|
679 | c/src/tests/psxtests/Makefile \ |
---|
680 | c/src/tests/psxtests/psx01/Makefile \ |
---|
681 | c/src/tests/psxtests/psx02/Makefile \ |
---|
682 | c/src/tests/psxtests/psx03/Makefile \ |
---|
683 | c/src/tests/psxtests/psx04/Makefile \ |
---|
684 | c/src/tests/psxtests/psx05/Makefile \ |
---|
685 | c/src/tests/psxtests/psx06/Makefile \ |
---|
686 | c/src/tests/psxtests/psx07/Makefile \ |
---|
687 | c/src/tests/psxtests/psx08/Makefile \ |
---|
688 | c/src/tests/psxtests/psx09/Makefile \ |
---|
689 | c/src/tests/psxtests/psx10/Makefile \ |
---|
690 | c/src/tests/psxtests/psx11/Makefile \ |
---|
691 | c/src/tests/psxtests/psx12/Makefile \ |
---|
692 | c/src/tests/psxtests/psxhdrs/Makefile \ |
---|
693 | c/src/tests/psxtests/support/Makefile \ |
---|
694 | c/src/tests/psxtests/support/include/Makefile \ |
---|
695 | c/src/tests/sptests/Makefile \ |
---|
696 | c/src/tests/sptests/sp01/Makefile \ |
---|
697 | c/src/tests/sptests/sp02/Makefile \ |
---|
698 | c/src/tests/sptests/sp03/Makefile \ |
---|
699 | c/src/tests/sptests/sp04/Makefile \ |
---|
700 | c/src/tests/sptests/sp05/Makefile \ |
---|
701 | c/src/tests/sptests/sp06/Makefile \ |
---|
702 | c/src/tests/sptests/sp07/Makefile \ |
---|
703 | c/src/tests/sptests/sp08/Makefile \ |
---|
704 | c/src/tests/sptests/sp09/Makefile \ |
---|
705 | c/src/tests/sptests/sp11/Makefile \ |
---|
706 | c/src/tests/sptests/sp12/Makefile \ |
---|
707 | c/src/tests/sptests/sp13/Makefile \ |
---|
708 | c/src/tests/sptests/sp14/Makefile \ |
---|
709 | c/src/tests/sptests/sp15/Makefile \ |
---|
710 | c/src/tests/sptests/sp16/Makefile \ |
---|
711 | c/src/tests/sptests/sp17/Makefile \ |
---|
712 | c/src/tests/sptests/sp19/Makefile \ |
---|
713 | c/src/tests/sptests/sp20/Makefile \ |
---|
714 | c/src/tests/sptests/sp21/Makefile \ |
---|
715 | c/src/tests/sptests/sp22/Makefile \ |
---|
716 | c/src/tests/sptests/sp23/Makefile \ |
---|
717 | c/src/tests/sptests/sp24/Makefile \ |
---|
718 | c/src/tests/sptests/sp25/Makefile \ |
---|
719 | c/src/tests/sptests/spfatal/Makefile \ |
---|
720 | c/src/tests/sptests/spsize/Makefile \ |
---|
721 | c/src/tests/tmtests/Makefile \ |
---|
722 | c/src/tests/tmtests/include/Makefile \ |
---|
723 | c/src/tests/tmtests/tm01/Makefile \ |
---|
724 | c/src/tests/tmtests/tm02/Makefile \ |
---|
725 | c/src/tests/tmtests/tm03/Makefile \ |
---|
726 | c/src/tests/tmtests/tm04/Makefile \ |
---|
727 | c/src/tests/tmtests/tm05/Makefile \ |
---|
728 | c/src/tests/tmtests/tm06/Makefile \ |
---|
729 | c/src/tests/tmtests/tm07/Makefile \ |
---|
730 | c/src/tests/tmtests/tm08/Makefile \ |
---|
731 | c/src/tests/tmtests/tm09/Makefile \ |
---|
732 | c/src/tests/tmtests/tm10/Makefile \ |
---|
733 | c/src/tests/tmtests/tm11/Makefile \ |
---|
734 | c/src/tests/tmtests/tm12/Makefile \ |
---|
735 | c/src/tests/tmtests/tm13/Makefile \ |
---|
736 | c/src/tests/tmtests/tm14/Makefile \ |
---|
737 | c/src/tests/tmtests/tm15/Makefile \ |
---|
738 | c/src/tests/tmtests/tm16/Makefile \ |
---|
739 | c/src/tests/tmtests/tm17/Makefile \ |
---|
740 | c/src/tests/tmtests/tm18/Makefile \ |
---|
741 | c/src/tests/tmtests/tm19/Makefile \ |
---|
742 | c/src/tests/tmtests/tm20/Makefile \ |
---|
743 | c/src/tests/tmtests/tm21/Makefile \ |
---|
744 | c/src/tests/tmtests/tm22/Makefile \ |
---|
745 | c/src/tests/tmtests/tm23/Makefile \ |
---|
746 | c/src/tests/tmtests/tm24/Makefile \ |
---|
747 | c/src/tests/tmtests/tm25/Makefile \ |
---|
748 | c/src/tests/tmtests/tm26/Makefile \ |
---|
749 | c/src/tests/tmtests/tm27/Makefile \ |
---|
750 | c/src/tests/tmtests/tm28/Makefile \ |
---|
751 | c/src/tests/tmtests/tm29/Makefile \ |
---|
752 | c/src/tests/tmtests/tmck/Makefile \ |
---|
753 | c/src/tests/tmtests/tmoverhd/Makefile" |
---|
754 | |
---|
755 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
---|
756 | echo "configure:757: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
---|
757 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
---|
758 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
---|
759 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
760 | else |
---|
761 | cat > conftestmake <<\EOF |
---|
762 | all: |
---|
763 | @echo 'ac_maketemp="${MAKE}"' |
---|
764 | EOF |
---|
765 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
766 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
---|
767 | if test -n "$ac_maketemp"; then |
---|
768 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
769 | else |
---|
770 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
771 | fi |
---|
772 | rm -f conftestmake |
---|
773 | fi |
---|
774 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
775 | echo "$ac_t""yes" 1>&6 |
---|
776 | SET_MAKE= |
---|
777 | else |
---|
778 | echo "$ac_t""no" 1>&6 |
---|
779 | SET_MAKE="MAKE=${MAKE-make}" |
---|
780 | fi |
---|
781 | |
---|
782 | ac_aux_dir= |
---|
783 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
---|
784 | if test -f $ac_dir/install-sh; then |
---|
785 | ac_aux_dir=$ac_dir |
---|
786 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
787 | break |
---|
788 | elif test -f $ac_dir/install.sh; then |
---|
789 | ac_aux_dir=$ac_dir |
---|
790 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
791 | break |
---|
792 | fi |
---|
793 | done |
---|
794 | if test -z "$ac_aux_dir"; then |
---|
795 | { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
---|
796 | fi |
---|
797 | ac_config_guess=$ac_aux_dir/config.guess |
---|
798 | ac_config_sub=$ac_aux_dir/config.sub |
---|
799 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
---|
800 | |
---|
801 | |
---|
802 | # Do some error checking and defaulting for the host and target type. |
---|
803 | # The inputs are: |
---|
804 | # configure --host=HOST --target=TARGET --build=BUILD NONOPT |
---|
805 | # |
---|
806 | # The rules are: |
---|
807 | # 1. You are not allowed to specify --host, --target, and nonopt at the |
---|
808 | # same time. |
---|
809 | # 2. Host defaults to nonopt. |
---|
810 | # 3. If nonopt is not specified, then host defaults to the current host, |
---|
811 | # as determined by config.guess. |
---|
812 | # 4. Target and build default to nonopt. |
---|
813 | # 5. If nonopt is not specified, then target and build default to host. |
---|
814 | |
---|
815 | # The aliases save the names the user supplied, while $host etc. |
---|
816 | # will get canonicalized. |
---|
817 | case $host---$target---$nonopt in |
---|
818 | NONE---*---* | *---NONE---* | *---*---NONE) ;; |
---|
819 | *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; |
---|
820 | esac |
---|
821 | |
---|
822 | |
---|
823 | # Make sure we can run config.sub. |
---|
824 | if $ac_config_sub sun4 >/dev/null 2>&1; then : |
---|
825 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
---|
826 | fi |
---|
827 | |
---|
828 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
---|
829 | echo "configure:830: checking host system type" >&5 |
---|
830 | |
---|
831 | host_alias=$host |
---|
832 | case "$host_alias" in |
---|
833 | NONE) |
---|
834 | case $nonopt in |
---|
835 | NONE) |
---|
836 | if host_alias=`$ac_config_guess`; then : |
---|
837 | else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
---|
838 | fi ;; |
---|
839 | *) host_alias=$nonopt ;; |
---|
840 | esac ;; |
---|
841 | esac |
---|
842 | |
---|
843 | host=`$ac_config_sub $host_alias` |
---|
844 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
845 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
846 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
847 | echo "$ac_t""$host" 1>&6 |
---|
848 | |
---|
849 | echo $ac_n "checking target system type""... $ac_c" 1>&6 |
---|
850 | echo "configure:851: checking target system type" >&5 |
---|
851 | |
---|
852 | target_alias=$target |
---|
853 | case "$target_alias" in |
---|
854 | NONE) |
---|
855 | case $nonopt in |
---|
856 | NONE) target_alias=$host_alias ;; |
---|
857 | *) target_alias=$nonopt ;; |
---|
858 | esac ;; |
---|
859 | esac |
---|
860 | |
---|
861 | target=`$ac_config_sub $target_alias` |
---|
862 | target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
863 | target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
864 | target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
865 | echo "$ac_t""$target" 1>&6 |
---|
866 | |
---|
867 | echo $ac_n "checking build system type""... $ac_c" 1>&6 |
---|
868 | echo "configure:869: checking build system type" >&5 |
---|
869 | |
---|
870 | build_alias=$build |
---|
871 | case "$build_alias" in |
---|
872 | NONE) |
---|
873 | case $nonopt in |
---|
874 | NONE) build_alias=$host_alias ;; |
---|
875 | *) build_alias=$nonopt ;; |
---|
876 | esac ;; |
---|
877 | esac |
---|
878 | |
---|
879 | build=`$ac_config_sub $build_alias` |
---|
880 | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
881 | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
882 | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
883 | echo "$ac_t""$build" 1>&6 |
---|
884 | |
---|
885 | test "$host_alias" != "$target_alias" && |
---|
886 | test "$program_prefix$program_suffix$program_transform_name" = \ |
---|
887 | NONENONEs,x,x, && |
---|
888 | program_prefix=${target_alias}- |
---|
889 | |
---|
890 | # Check whether --with-cross-host or --without-cross-host was given. |
---|
891 | if test "${with_cross_host+set}" = set; then |
---|
892 | withval="$with_cross_host" |
---|
893 | \ |
---|
894 | host=$withval |
---|
895 | fi |
---|
896 | |
---|
897 | |
---|
898 | # Check whether --enable-gmake-print-directory or --disable-gmake-print-directory was given. |
---|
899 | if test "${enable_gmake_print_directory+set}" = set; then |
---|
900 | enableval="$enable_gmake_print_directory" |
---|
901 | \ |
---|
902 | case "${enableval}" in |
---|
903 | yes) RTEMS_USE_OWN_PDIR=no ;; |
---|
904 | no) RTEMS_USE_OWN_PDIR=yes ;; |
---|
905 | *) { echo "configure: error: bad value ${enableval} for gmake-print-directory option" 1>&2; exit 1; } ;; |
---|
906 | esac |
---|
907 | else |
---|
908 | RTEMS_USE_OWN_PDIR=yes |
---|
909 | fi |
---|
910 | |
---|
911 | |
---|
912 | # Check whether --enable-posix or --disable-posix was given. |
---|
913 | if test "${enable_posix+set}" = set; then |
---|
914 | enableval="$enable_posix" |
---|
915 | \ |
---|
916 | case "${enableval}" in |
---|
917 | yes) RTEMS_HAS_POSIX_API=yes ;; |
---|
918 | no) RTEMS_HAS_POSIX_API=no ;; |
---|
919 | *) { echo "configure: error: bad value ${enableval} for disable-posix option" 1>&2; exit 1; } ;; |
---|
920 | esac |
---|
921 | else |
---|
922 | RTEMS_HAS_POSIX_API=yes |
---|
923 | fi |
---|
924 | |
---|
925 | |
---|
926 | # Check whether --enable-ka9q or --disable-ka9q was given. |
---|
927 | if test "${enable_ka9q+set}" = set; then |
---|
928 | enableval="$enable_ka9q" |
---|
929 | \ |
---|
930 | case "${enableval}" in |
---|
931 | yes) RTEMS_HAS_KA9Q=yes ;; |
---|
932 | no) RTEMS_HAS_KA9Q=no ;; |
---|
933 | *) { echo "configure: error: bad value ${enableval} for disable-ka9q option" 1>&2; exit 1; } ;; |
---|
934 | esac |
---|
935 | else |
---|
936 | RTEMS_HAS_KA9Q=yes |
---|
937 | fi |
---|
938 | |
---|
939 | |
---|
940 | # Check whether --enable-rtems-inlines or --disable-rtems-inlines was given. |
---|
941 | if test "${enable_rtems_inlines+set}" = set; then |
---|
942 | enableval="$enable_rtems_inlines" |
---|
943 | \ |
---|
944 | case "${enableval}" in |
---|
945 | yes) RTEMS_USE_MACROS=yes ;; |
---|
946 | no) RTEMS_USE_MACROS=no ;; |
---|
947 | *) { echo "configure: error: bad value ${enableval} for disable-rtems-inlines option" 1>&2; exit 1; } ;; |
---|
948 | esac |
---|
949 | else |
---|
950 | RTEMS_USE_MACROS=no |
---|
951 | fi |
---|
952 | |
---|
953 | |
---|
954 | # Check whether --enable-cpp or --disable-cpp was given. |
---|
955 | if test "${enable_cpp+set}" = set; then |
---|
956 | enableval="$enable_cpp" |
---|
957 | \ |
---|
958 | case "${enableval}" in |
---|
959 | yes) RTEMS_HAS_CPLUSPLUS=yes ;; |
---|
960 | no) RTEMS_HAS_CPLUSPLUS=no ;; |
---|
961 | *) { echo "configure: error: bad value ${enableval} for enable-cpp option" 1>&2; exit 1; } ;; |
---|
962 | esac |
---|
963 | else |
---|
964 | RTEMS_HAS_CPLUSPLUS=no |
---|
965 | fi |
---|
966 | |
---|
967 | |
---|
968 | # Check whether --enable-gcc28 or --disable-gcc28 was given. |
---|
969 | if test "${enable_gcc28+set}" = set; then |
---|
970 | enableval="$enable_gcc28" |
---|
971 | \ |
---|
972 | case "${enableval}" in |
---|
973 | yes) RTEMS_USE_GCC272=no ;; |
---|
974 | no) RTEMS_USE_GCC272=yes ;; |
---|
975 | *) { echo "configure: error: bad value ${enableval} for gcc-28 option" 1>&2; exit 1; } ;; |
---|
976 | esac |
---|
977 | else |
---|
978 | RTEMS_USE_GCC272=yes |
---|
979 | fi |
---|
980 | |
---|
981 | |
---|
982 | # Check whether --enable-libcdir or --disable-libcdir was given. |
---|
983 | if test "${enable_libcdir+set}" = set; then |
---|
984 | enableval="$enable_libcdir" |
---|
985 | \ |
---|
986 | RTEMS_LIBC_DIR="${enableval}" ; \ |
---|
987 | test -d ${enableval} || { echo "configure: error: "$enableval is not a directory" " 1>&2; exit 1; } |
---|
988 | fi |
---|
989 | |
---|
990 | |
---|
991 | RTEMS_PREFIX=${target_cpu}-${target_vendor} |
---|
992 | |
---|
993 | |
---|
994 | # Extract the first word of "cat", so it can be a program name with args. |
---|
995 | set dummy cat; ac_word=$2 |
---|
996 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
997 | echo "configure:998: checking for $ac_word" >&5 |
---|
998 | if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then |
---|
999 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1000 | else |
---|
1001 | case "$CAT" in |
---|
1002 | /*) |
---|
1003 | ac_cv_path_CAT="$CAT" # Let the user override the test with a path. |
---|
1004 | ;; |
---|
1005 | *) |
---|
1006 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1007 | for ac_dir in $PATH; do |
---|
1008 | test -z "$ac_dir" && ac_dir=. |
---|
1009 | if test -f $ac_dir/$ac_word; then |
---|
1010 | ac_cv_path_CAT="$ac_dir/$ac_word" |
---|
1011 | break |
---|
1012 | fi |
---|
1013 | done |
---|
1014 | IFS="$ac_save_ifs" |
---|
1015 | ;; |
---|
1016 | esac |
---|
1017 | fi |
---|
1018 | CAT="$ac_cv_path_CAT" |
---|
1019 | if test -n "$CAT"; then |
---|
1020 | echo "$ac_t""$CAT" 1>&6 |
---|
1021 | else |
---|
1022 | echo "$ac_t""no" 1>&6 |
---|
1023 | fi |
---|
1024 | |
---|
1025 | # Extract the first word of "rm", so it can be a program name with args. |
---|
1026 | set dummy rm; ac_word=$2 |
---|
1027 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1028 | echo "configure:1029: checking for $ac_word" >&5 |
---|
1029 | if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then |
---|
1030 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1031 | else |
---|
1032 | case "$RM" in |
---|
1033 | /*) |
---|
1034 | ac_cv_path_RM="$RM" # Let the user override the test with a path. |
---|
1035 | ;; |
---|
1036 | *) |
---|
1037 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1038 | for ac_dir in $PATH; do |
---|
1039 | test -z "$ac_dir" && ac_dir=. |
---|
1040 | if test -f $ac_dir/$ac_word; then |
---|
1041 | ac_cv_path_RM="$ac_dir/$ac_word" |
---|
1042 | break |
---|
1043 | fi |
---|
1044 | done |
---|
1045 | IFS="$ac_save_ifs" |
---|
1046 | ;; |
---|
1047 | esac |
---|
1048 | fi |
---|
1049 | RM="$ac_cv_path_RM" |
---|
1050 | if test -n "$RM"; then |
---|
1051 | echo "$ac_t""$RM" 1>&6 |
---|
1052 | else |
---|
1053 | echo "$ac_t""no" 1>&6 |
---|
1054 | fi |
---|
1055 | |
---|
1056 | # Extract the first word of "cp", so it can be a program name with args. |
---|
1057 | set dummy cp; ac_word=$2 |
---|
1058 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1059 | echo "configure:1060: checking for $ac_word" >&5 |
---|
1060 | if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then |
---|
1061 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1062 | else |
---|
1063 | case "$CP" in |
---|
1064 | /*) |
---|
1065 | ac_cv_path_CP="$CP" # Let the user override the test with a path. |
---|
1066 | ;; |
---|
1067 | *) |
---|
1068 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1069 | for ac_dir in $PATH; do |
---|
1070 | test -z "$ac_dir" && ac_dir=. |
---|
1071 | if test -f $ac_dir/$ac_word; then |
---|
1072 | ac_cv_path_CP="$ac_dir/$ac_word" |
---|
1073 | break |
---|
1074 | fi |
---|
1075 | done |
---|
1076 | IFS="$ac_save_ifs" |
---|
1077 | ;; |
---|
1078 | esac |
---|
1079 | fi |
---|
1080 | CP="$ac_cv_path_CP" |
---|
1081 | if test -n "$CP"; then |
---|
1082 | echo "$ac_t""$CP" 1>&6 |
---|
1083 | else |
---|
1084 | echo "$ac_t""no" 1>&6 |
---|
1085 | fi |
---|
1086 | |
---|
1087 | # Extract the first word of "mv", so it can be a program name with args. |
---|
1088 | set dummy mv; ac_word=$2 |
---|
1089 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1090 | echo "configure:1091: checking for $ac_word" >&5 |
---|
1091 | if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then |
---|
1092 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1093 | else |
---|
1094 | case "$MV" in |
---|
1095 | /*) |
---|
1096 | ac_cv_path_MV="$MV" # Let the user override the test with a path. |
---|
1097 | ;; |
---|
1098 | *) |
---|
1099 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1100 | for ac_dir in $PATH; do |
---|
1101 | test -z "$ac_dir" && ac_dir=. |
---|
1102 | if test -f $ac_dir/$ac_word; then |
---|
1103 | ac_cv_path_MV="$ac_dir/$ac_word" |
---|
1104 | break |
---|
1105 | fi |
---|
1106 | done |
---|
1107 | IFS="$ac_save_ifs" |
---|
1108 | ;; |
---|
1109 | esac |
---|
1110 | fi |
---|
1111 | MV="$ac_cv_path_MV" |
---|
1112 | if test -n "$MV"; then |
---|
1113 | echo "$ac_t""$MV" 1>&6 |
---|
1114 | else |
---|
1115 | echo "$ac_t""no" 1>&6 |
---|
1116 | fi |
---|
1117 | |
---|
1118 | # Extract the first word of "ln", so it can be a program name with args. |
---|
1119 | set dummy ln; ac_word=$2 |
---|
1120 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1121 | echo "configure:1122: checking for $ac_word" >&5 |
---|
1122 | if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then |
---|
1123 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1124 | else |
---|
1125 | case "$LN" in |
---|
1126 | /*) |
---|
1127 | ac_cv_path_LN="$LN" # Let the user override the test with a path. |
---|
1128 | ;; |
---|
1129 | *) |
---|
1130 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1131 | for ac_dir in $PATH; do |
---|
1132 | test -z "$ac_dir" && ac_dir=. |
---|
1133 | if test -f $ac_dir/$ac_word; then |
---|
1134 | ac_cv_path_LN="$ac_dir/$ac_word" |
---|
1135 | break |
---|
1136 | fi |
---|
1137 | done |
---|
1138 | IFS="$ac_save_ifs" |
---|
1139 | ;; |
---|
1140 | esac |
---|
1141 | fi |
---|
1142 | LN="$ac_cv_path_LN" |
---|
1143 | if test -n "$LN"; then |
---|
1144 | echo "$ac_t""$LN" 1>&6 |
---|
1145 | else |
---|
1146 | echo "$ac_t""no" 1>&6 |
---|
1147 | fi |
---|
1148 | |
---|
1149 | # Extract the first word of "chmod", so it can be a program name with args. |
---|
1150 | set dummy chmod; ac_word=$2 |
---|
1151 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1152 | echo "configure:1153: checking for $ac_word" >&5 |
---|
1153 | if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then |
---|
1154 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1155 | else |
---|
1156 | case "$CHMOD" in |
---|
1157 | /*) |
---|
1158 | ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path. |
---|
1159 | ;; |
---|
1160 | *) |
---|
1161 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1162 | for ac_dir in $PATH; do |
---|
1163 | test -z "$ac_dir" && ac_dir=. |
---|
1164 | if test -f $ac_dir/$ac_word; then |
---|
1165 | ac_cv_path_CHMOD="$ac_dir/$ac_word" |
---|
1166 | break |
---|
1167 | fi |
---|
1168 | done |
---|
1169 | IFS="$ac_save_ifs" |
---|
1170 | ;; |
---|
1171 | esac |
---|
1172 | fi |
---|
1173 | CHMOD="$ac_cv_path_CHMOD" |
---|
1174 | if test -n "$CHMOD"; then |
---|
1175 | echo "$ac_t""$CHMOD" 1>&6 |
---|
1176 | else |
---|
1177 | echo "$ac_t""no" 1>&6 |
---|
1178 | fi |
---|
1179 | |
---|
1180 | # Extract the first word of "sort", so it can be a program name with args. |
---|
1181 | set dummy sort; ac_word=$2 |
---|
1182 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1183 | echo "configure:1184: checking for $ac_word" >&5 |
---|
1184 | if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then |
---|
1185 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1186 | else |
---|
1187 | case "$SORT" in |
---|
1188 | /*) |
---|
1189 | ac_cv_path_SORT="$SORT" # Let the user override the test with a path. |
---|
1190 | ;; |
---|
1191 | *) |
---|
1192 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1193 | for ac_dir in $PATH; do |
---|
1194 | test -z "$ac_dir" && ac_dir=. |
---|
1195 | if test -f $ac_dir/$ac_word; then |
---|
1196 | ac_cv_path_SORT="$ac_dir/$ac_word" |
---|
1197 | break |
---|
1198 | fi |
---|
1199 | done |
---|
1200 | IFS="$ac_save_ifs" |
---|
1201 | ;; |
---|
1202 | esac |
---|
1203 | fi |
---|
1204 | SORT="$ac_cv_path_SORT" |
---|
1205 | if test -n "$SORT"; then |
---|
1206 | echo "$ac_t""$SORT" 1>&6 |
---|
1207 | else |
---|
1208 | echo "$ac_t""no" 1>&6 |
---|
1209 | fi |
---|
1210 | |
---|
1211 | |
---|
1212 | # Extract the first word of "mkdir", so it can be a program name with args. |
---|
1213 | set dummy mkdir; ac_word=$2 |
---|
1214 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1215 | echo "configure:1216: checking for $ac_word" >&5 |
---|
1216 | if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then |
---|
1217 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1218 | else |
---|
1219 | case "$MKDIR" in |
---|
1220 | /*) |
---|
1221 | ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. |
---|
1222 | ;; |
---|
1223 | *) |
---|
1224 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1225 | for ac_dir in $PATH; do |
---|
1226 | test -z "$ac_dir" && ac_dir=. |
---|
1227 | if test -f $ac_dir/$ac_word; then |
---|
1228 | ac_cv_path_MKDIR="$ac_dir/$ac_word" |
---|
1229 | break |
---|
1230 | fi |
---|
1231 | done |
---|
1232 | IFS="$ac_save_ifs" |
---|
1233 | ;; |
---|
1234 | esac |
---|
1235 | fi |
---|
1236 | MKDIR="$ac_cv_path_MKDIR" |
---|
1237 | if test -n "$MKDIR"; then |
---|
1238 | echo "$ac_t""$MKDIR" 1>&6 |
---|
1239 | else |
---|
1240 | echo "$ac_t""no" 1>&6 |
---|
1241 | fi |
---|
1242 | |
---|
1243 | |
---|
1244 | |
---|
1245 | |
---|
1246 | echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6 |
---|
1247 | echo "configure:1248: checking for working $MKDIR -m 0755" >&5 |
---|
1248 | if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then |
---|
1249 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1250 | else |
---|
1251 | rm -rf conftestdata |
---|
1252 | if $MKDIR -m 0775 conftestdata 2>/dev/null; then |
---|
1253 | rtems_cv_prog_MKDIR_M="yes" |
---|
1254 | else |
---|
1255 | rtems_cv_prog_MKDIR_M="no" |
---|
1256 | fi |
---|
1257 | fi |
---|
1258 | rm -rf conftestdata |
---|
1259 | echo "$ac_t""$rtems_cv_prog_MKDIR_M" 1>&6 |
---|
1260 | |
---|
1261 | |
---|
1262 | |
---|
1263 | echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6 |
---|
1264 | echo "configure:1265: checking for working $MKDIR -p" >&5 |
---|
1265 | if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then |
---|
1266 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1267 | else |
---|
1268 | rm -rf conftestdata |
---|
1269 | if $MKDIR -p conftestdata 2>/dev/null ;then |
---|
1270 | rtems_cv_prog_MKDIR_P="yes" |
---|
1271 | else |
---|
1272 | rtems_cv_prog_MKDIR_P="no" |
---|
1273 | fi |
---|
1274 | fi |
---|
1275 | rm -rf conftestdata |
---|
1276 | echo "$ac_t""$rtems_cv_prog_MKDIR_P" 1>&6 |
---|
1277 | |
---|
1278 | test "$rtems_cv_prog_MKDIR_P" = "yes" && MKDIR="$MKDIR -p" |
---|
1279 | test "$rtems_cv_prog_MKDIR_M" = "yes" && MKDIR="$MKDIR -m 0755" |
---|
1280 | |
---|
1281 | # Extract the first word of "enscript", so it can be a program name with args. |
---|
1282 | set dummy enscript; ac_word=$2 |
---|
1283 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1284 | echo "configure:1285: checking for $ac_word" >&5 |
---|
1285 | if eval "test \"`echo '$''{'ac_cv_path_PR'+set}'`\" = set"; then |
---|
1286 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1287 | else |
---|
1288 | case "$PR" in |
---|
1289 | /*) |
---|
1290 | ac_cv_path_PR="$PR" # Let the user override the test with a path. |
---|
1291 | ;; |
---|
1292 | *) |
---|
1293 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1294 | for ac_dir in $PATH; do |
---|
1295 | test -z "$ac_dir" && ac_dir=. |
---|
1296 | if test -f $ac_dir/$ac_word; then |
---|
1297 | ac_cv_path_PR="$ac_dir/$ac_word" |
---|
1298 | break |
---|
1299 | fi |
---|
1300 | done |
---|
1301 | IFS="$ac_save_ifs" |
---|
1302 | ;; |
---|
1303 | esac |
---|
1304 | fi |
---|
1305 | PR="$ac_cv_path_PR" |
---|
1306 | if test -n "$PR"; then |
---|
1307 | echo "$ac_t""$PR" 1>&6 |
---|
1308 | else |
---|
1309 | echo "$ac_t""no" 1>&6 |
---|
1310 | fi |
---|
1311 | |
---|
1312 | test -n "$PR" && PR="$PR -G2r" |
---|
1313 | |
---|
1314 | if test -z "$PR"; then |
---|
1315 | # Extract the first word of "mp", so it can be a program name with args. |
---|
1316 | set dummy mp; ac_word=$2 |
---|
1317 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1318 | echo "configure:1319: checking for $ac_word" >&5 |
---|
1319 | if eval "test \"`echo '$''{'ac_cv_path_PR'+set}'`\" = set"; then |
---|
1320 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1321 | else |
---|
1322 | case "$PR" in |
---|
1323 | /*) |
---|
1324 | ac_cv_path_PR="$PR" # Let the user override the test with a path. |
---|
1325 | ;; |
---|
1326 | *) |
---|
1327 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1328 | for ac_dir in /usr/openwin$ac_dummy; do |
---|
1329 | test -z "$ac_dir" && ac_dir=. |
---|
1330 | if test -f $ac_dir/$ac_word; then |
---|
1331 | ac_cv_path_PR="$ac_dir/$ac_word" |
---|
1332 | break |
---|
1333 | fi |
---|
1334 | done |
---|
1335 | IFS="$ac_save_ifs" |
---|
1336 | ;; |
---|
1337 | esac |
---|
1338 | fi |
---|
1339 | PR="$ac_cv_path_PR" |
---|
1340 | if test -n "$PR"; then |
---|
1341 | echo "$ac_t""$PR" 1>&6 |
---|
1342 | else |
---|
1343 | echo "$ac_t""no" 1>&6 |
---|
1344 | fi |
---|
1345 | |
---|
1346 | test -n "$PR" && PR="$PR -l" |
---|
1347 | fi |
---|
1348 | |
---|
1349 | if test -z "$PR"; then |
---|
1350 | # Extract the first word of "pr", so it can be a program name with args. |
---|
1351 | set dummy pr; ac_word=$2 |
---|
1352 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1353 | echo "configure:1354: checking for $ac_word" >&5 |
---|
1354 | if eval "test \"`echo '$''{'ac_cv_path_PR'+set}'`\" = set"; then |
---|
1355 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1356 | else |
---|
1357 | case "$PR" in |
---|
1358 | /*) |
---|
1359 | ac_cv_path_PR="$PR" # Let the user override the test with a path. |
---|
1360 | ;; |
---|
1361 | *) |
---|
1362 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1363 | for ac_dir in $PATH; do |
---|
1364 | test -z "$ac_dir" && ac_dir=. |
---|
1365 | if test -f $ac_dir/$ac_word; then |
---|
1366 | ac_cv_path_PR="$ac_dir/$ac_word" |
---|
1367 | break |
---|
1368 | fi |
---|
1369 | done |
---|
1370 | IFS="$ac_save_ifs" |
---|
1371 | ;; |
---|
1372 | esac |
---|
1373 | fi |
---|
1374 | PR="$ac_cv_path_PR" |
---|
1375 | if test -n "$PR"; then |
---|
1376 | echo "$ac_t""$PR" 1>&6 |
---|
1377 | else |
---|
1378 | echo "$ac_t""no" 1>&6 |
---|
1379 | fi |
---|
1380 | |
---|
1381 | fi |
---|
1382 | |
---|
1383 | if test -z "$PR"; then |
---|
1384 | echo "configure: warning: *** |
---|
1385 | Cannot determine a suitable program for |
---|
1386 | printing asci files on ps-printers |
---|
1387 | Expect errors when printing files " 1>&2 |
---|
1388 | fi |
---|
1389 | |
---|
1390 | for ac_prog in lp lpr |
---|
1391 | do |
---|
1392 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1393 | set dummy $ac_prog; ac_word=$2 |
---|
1394 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1395 | echo "configure:1396: checking for $ac_word" >&5 |
---|
1396 | if eval "test \"`echo '$''{'ac_cv_path_PRINT'+set}'`\" = set"; then |
---|
1397 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1398 | else |
---|
1399 | case "$PRINT" in |
---|
1400 | /*) |
---|
1401 | ac_cv_path_PRINT="$PRINT" # Let the user override the test with a path. |
---|
1402 | ;; |
---|
1403 | *) |
---|
1404 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1405 | for ac_dir in $PATH; do |
---|
1406 | test -z "$ac_dir" && ac_dir=. |
---|
1407 | if test -f $ac_dir/$ac_word; then |
---|
1408 | ac_cv_path_PRINT="$ac_dir/$ac_word" |
---|
1409 | break |
---|
1410 | fi |
---|
1411 | done |
---|
1412 | IFS="$ac_save_ifs" |
---|
1413 | ;; |
---|
1414 | esac |
---|
1415 | fi |
---|
1416 | PRINT="$ac_cv_path_PRINT" |
---|
1417 | if test -n "$PRINT"; then |
---|
1418 | echo "$ac_t""$PRINT" 1>&6 |
---|
1419 | else |
---|
1420 | echo "$ac_t""no" 1>&6 |
---|
1421 | fi |
---|
1422 | |
---|
1423 | test -n "$PRINT" && break |
---|
1424 | done |
---|
1425 | |
---|
1426 | |
---|
1427 | # Extract the first word of "touch", so it can be a program name with args. |
---|
1428 | set dummy touch; ac_word=$2 |
---|
1429 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1430 | echo "configure:1431: checking for $ac_word" >&5 |
---|
1431 | if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then |
---|
1432 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1433 | else |
---|
1434 | case "$TOUCH" in |
---|
1435 | /*) |
---|
1436 | ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path. |
---|
1437 | ;; |
---|
1438 | *) |
---|
1439 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1440 | for ac_dir in $PATH; do |
---|
1441 | test -z "$ac_dir" && ac_dir=. |
---|
1442 | if test -f $ac_dir/$ac_word; then |
---|
1443 | ac_cv_path_TOUCH="$ac_dir/$ac_word" |
---|
1444 | break |
---|
1445 | fi |
---|
1446 | done |
---|
1447 | IFS="$ac_save_ifs" |
---|
1448 | ;; |
---|
1449 | esac |
---|
1450 | fi |
---|
1451 | TOUCH="$ac_cv_path_TOUCH" |
---|
1452 | if test -n "$TOUCH"; then |
---|
1453 | echo "$ac_t""$TOUCH" 1>&6 |
---|
1454 | else |
---|
1455 | echo "$ac_t""no" 1>&6 |
---|
1456 | fi |
---|
1457 | |
---|
1458 | # Extract the first word of "cmp", so it can be a program name with args. |
---|
1459 | set dummy cmp; ac_word=$2 |
---|
1460 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1461 | echo "configure:1462: checking for $ac_word" >&5 |
---|
1462 | if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then |
---|
1463 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1464 | else |
---|
1465 | case "$CMP" in |
---|
1466 | /*) |
---|
1467 | ac_cv_path_CMP="$CMP" # Let the user override the test with a path. |
---|
1468 | ;; |
---|
1469 | *) |
---|
1470 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1471 | for ac_dir in $PATH; do |
---|
1472 | test -z "$ac_dir" && ac_dir=. |
---|
1473 | if test -f $ac_dir/$ac_word; then |
---|
1474 | ac_cv_path_CMP="$ac_dir/$ac_word" |
---|
1475 | break |
---|
1476 | fi |
---|
1477 | done |
---|
1478 | IFS="$ac_save_ifs" |
---|
1479 | ;; |
---|
1480 | esac |
---|
1481 | fi |
---|
1482 | CMP="$ac_cv_path_CMP" |
---|
1483 | if test -n "$CMP"; then |
---|
1484 | echo "$ac_t""$CMP" 1>&6 |
---|
1485 | else |
---|
1486 | echo "$ac_t""no" 1>&6 |
---|
1487 | fi |
---|
1488 | |
---|
1489 | # Extract the first word of "dirname", so it can be a program name with args. |
---|
1490 | set dummy dirname; ac_word=$2 |
---|
1491 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1492 | echo "configure:1493: checking for $ac_word" >&5 |
---|
1493 | if eval "test \"`echo '$''{'ac_cv_path_DIRNAME'+set}'`\" = set"; then |
---|
1494 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1495 | else |
---|
1496 | case "$DIRNAME" in |
---|
1497 | /*) |
---|
1498 | ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path. |
---|
1499 | ;; |
---|
1500 | *) |
---|
1501 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1502 | for ac_dir in $PATH; do |
---|
1503 | test -z "$ac_dir" && ac_dir=. |
---|
1504 | if test -f $ac_dir/$ac_word; then |
---|
1505 | ac_cv_path_DIRNAME="$ac_dir/$ac_word" |
---|
1506 | break |
---|
1507 | fi |
---|
1508 | done |
---|
1509 | IFS="$ac_save_ifs" |
---|
1510 | ;; |
---|
1511 | esac |
---|
1512 | fi |
---|
1513 | DIRNAME="$ac_cv_path_DIRNAME" |
---|
1514 | if test -n "$DIRNAME"; then |
---|
1515 | echo "$ac_t""$DIRNAME" 1>&6 |
---|
1516 | else |
---|
1517 | echo "$ac_t""no" 1>&6 |
---|
1518 | fi |
---|
1519 | |
---|
1520 | # Extract the first word of "basename", so it can be a program name with args. |
---|
1521 | set dummy basename; ac_word=$2 |
---|
1522 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1523 | echo "configure:1524: checking for $ac_word" >&5 |
---|
1524 | if eval "test \"`echo '$''{'ac_cv_path_BASENAME'+set}'`\" = set"; then |
---|
1525 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1526 | else |
---|
1527 | case "$BASENAME" in |
---|
1528 | /*) |
---|
1529 | ac_cv_path_BASENAME="$BASENAME" # Let the user override the test with a path. |
---|
1530 | ;; |
---|
1531 | *) |
---|
1532 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1533 | for ac_dir in $PATH; do |
---|
1534 | test -z "$ac_dir" && ac_dir=. |
---|
1535 | if test -f $ac_dir/$ac_word; then |
---|
1536 | ac_cv_path_BASENAME="$ac_dir/$ac_word" |
---|
1537 | break |
---|
1538 | fi |
---|
1539 | done |
---|
1540 | IFS="$ac_save_ifs" |
---|
1541 | ;; |
---|
1542 | esac |
---|
1543 | fi |
---|
1544 | BASENAME="$ac_cv_path_BASENAME" |
---|
1545 | if test -n "$BASENAME"; then |
---|
1546 | echo "$ac_t""$BASENAME" 1>&6 |
---|
1547 | else |
---|
1548 | echo "$ac_t""no" 1>&6 |
---|
1549 | fi |
---|
1550 | |
---|
1551 | |
---|
1552 | # Extract the first word of "unifdef", so it can be a program name with args. |
---|
1553 | set dummy unifdef; ac_word=$2 |
---|
1554 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1555 | echo "configure:1556: checking for $ac_word" >&5 |
---|
1556 | if eval "test \"`echo '$''{'ac_cv_path_UNIFDEF'+set}'`\" = set"; then |
---|
1557 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1558 | else |
---|
1559 | case "$UNIFDEF" in |
---|
1560 | /*) |
---|
1561 | ac_cv_path_UNIFDEF="$UNIFDEF" # Let the user override the test with a path. |
---|
1562 | ;; |
---|
1563 | *) |
---|
1564 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1565 | for ac_dir in $PATH; do |
---|
1566 | test -z "$ac_dir" && ac_dir=. |
---|
1567 | if test -f $ac_dir/$ac_word; then |
---|
1568 | ac_cv_path_UNIFDEF="$ac_dir/$ac_word" |
---|
1569 | break |
---|
1570 | fi |
---|
1571 | done |
---|
1572 | IFS="$ac_save_ifs" |
---|
1573 | ;; |
---|
1574 | esac |
---|
1575 | fi |
---|
1576 | UNIFDEF="$ac_cv_path_UNIFDEF" |
---|
1577 | if test -n "$UNIFDEF"; then |
---|
1578 | echo "$ac_t""$UNIFDEF" 1>&6 |
---|
1579 | else |
---|
1580 | echo "$ac_t""no" 1>&6 |
---|
1581 | fi |
---|
1582 | |
---|
1583 | # Extract the first word of "ed", so it can be a program name with args. |
---|
1584 | set dummy ed; ac_word=$2 |
---|
1585 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1586 | echo "configure:1587: checking for $ac_word" >&5 |
---|
1587 | if eval "test \"`echo '$''{'ac_cv_path_ED'+set}'`\" = set"; then |
---|
1588 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1589 | else |
---|
1590 | case "$ED" in |
---|
1591 | /*) |
---|
1592 | ac_cv_path_ED="$ED" # Let the user override the test with a path. |
---|
1593 | ;; |
---|
1594 | *) |
---|
1595 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1596 | for ac_dir in $PATH; do |
---|
1597 | test -z "$ac_dir" && ac_dir=. |
---|
1598 | if test -f $ac_dir/$ac_word; then |
---|
1599 | ac_cv_path_ED="$ac_dir/$ac_word" |
---|
1600 | break |
---|
1601 | fi |
---|
1602 | done |
---|
1603 | IFS="$ac_save_ifs" |
---|
1604 | ;; |
---|
1605 | esac |
---|
1606 | fi |
---|
1607 | ED="$ac_cv_path_ED" |
---|
1608 | if test -n "$ED"; then |
---|
1609 | echo "$ac_t""$ED" 1>&6 |
---|
1610 | else |
---|
1611 | echo "$ac_t""no" 1>&6 |
---|
1612 | fi |
---|
1613 | |
---|
1614 | # Extract the first word of "sed", so it can be a program name with args. |
---|
1615 | set dummy sed; ac_word=$2 |
---|
1616 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1617 | echo "configure:1618: checking for $ac_word" >&5 |
---|
1618 | if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then |
---|
1619 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1620 | else |
---|
1621 | case "$SED" in |
---|
1622 | /*) |
---|
1623 | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
---|
1624 | ;; |
---|
1625 | *) |
---|
1626 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1627 | for ac_dir in $PATH; do |
---|
1628 | test -z "$ac_dir" && ac_dir=. |
---|
1629 | if test -f $ac_dir/$ac_word; then |
---|
1630 | ac_cv_path_SED="$ac_dir/$ac_word" |
---|
1631 | break |
---|
1632 | fi |
---|
1633 | done |
---|
1634 | IFS="$ac_save_ifs" |
---|
1635 | ;; |
---|
1636 | esac |
---|
1637 | fi |
---|
1638 | SED="$ac_cv_path_SED" |
---|
1639 | if test -n "$SED"; then |
---|
1640 | echo "$ac_t""$SED" 1>&6 |
---|
1641 | else |
---|
1642 | echo "$ac_t""no" 1>&6 |
---|
1643 | fi |
---|
1644 | |
---|
1645 | for ac_prog in mawk gawk nawk awk |
---|
1646 | do |
---|
1647 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1648 | set dummy $ac_prog; ac_word=$2 |
---|
1649 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1650 | echo "configure:1651: checking for $ac_word" >&5 |
---|
1651 | if eval "test \"`echo '$''{'ac_cv_path_AWK'+set}'`\" = set"; then |
---|
1652 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1653 | else |
---|
1654 | case "$AWK" in |
---|
1655 | /*) |
---|
1656 | ac_cv_path_AWK="$AWK" # Let the user override the test with a path. |
---|
1657 | ;; |
---|
1658 | *) |
---|
1659 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1660 | for ac_dir in $PATH; do |
---|
1661 | test -z "$ac_dir" && ac_dir=. |
---|
1662 | if test -f $ac_dir/$ac_word; then |
---|
1663 | ac_cv_path_AWK="$ac_dir/$ac_word" |
---|
1664 | break |
---|
1665 | fi |
---|
1666 | done |
---|
1667 | IFS="$ac_save_ifs" |
---|
1668 | ;; |
---|
1669 | esac |
---|
1670 | fi |
---|
1671 | AWK="$ac_cv_path_AWK" |
---|
1672 | if test -n "$AWK"; then |
---|
1673 | echo "$ac_t""$AWK" 1>&6 |
---|
1674 | else |
---|
1675 | echo "$ac_t""no" 1>&6 |
---|
1676 | fi |
---|
1677 | |
---|
1678 | test -n "$AWK" && break |
---|
1679 | done |
---|
1680 | |
---|
1681 | for ac_prog in gm4 m4 |
---|
1682 | do |
---|
1683 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1684 | set dummy $ac_prog; ac_word=$2 |
---|
1685 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1686 | echo "configure:1687: checking for $ac_word" >&5 |
---|
1687 | if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then |
---|
1688 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1689 | else |
---|
1690 | case "$M4" in |
---|
1691 | /*) |
---|
1692 | ac_cv_path_M4="$M4" # Let the user override the test with a path. |
---|
1693 | ;; |
---|
1694 | *) |
---|
1695 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1696 | for ac_dir in $PATH; do |
---|
1697 | test -z "$ac_dir" && ac_dir=. |
---|
1698 | if test -f $ac_dir/$ac_word; then |
---|
1699 | ac_cv_path_M4="$ac_dir/$ac_word" |
---|
1700 | break |
---|
1701 | fi |
---|
1702 | done |
---|
1703 | IFS="$ac_save_ifs" |
---|
1704 | ;; |
---|
1705 | esac |
---|
1706 | fi |
---|
1707 | M4="$ac_cv_path_M4" |
---|
1708 | if test -n "$M4"; then |
---|
1709 | echo "$ac_t""$M4" 1>&6 |
---|
1710 | else |
---|
1711 | echo "$ac_t""no" 1>&6 |
---|
1712 | fi |
---|
1713 | |
---|
1714 | test -n "$M4" && break |
---|
1715 | done |
---|
1716 | |
---|
1717 | |
---|
1718 | # Extract the first word of "fgrep", so it can be a program name with args. |
---|
1719 | set dummy fgrep; ac_word=$2 |
---|
1720 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1721 | echo "configure:1722: checking for $ac_word" >&5 |
---|
1722 | if eval "test \"`echo '$''{'ac_cv_path_FGREP'+set}'`\" = set"; then |
---|
1723 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1724 | else |
---|
1725 | case "$FGREP" in |
---|
1726 | /*) |
---|
1727 | ac_cv_path_FGREP="$FGREP" # Let the user override the test with a path. |
---|
1728 | ;; |
---|
1729 | *) |
---|
1730 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1731 | for ac_dir in $PATH; do |
---|
1732 | test -z "$ac_dir" && ac_dir=. |
---|
1733 | if test -f $ac_dir/$ac_word; then |
---|
1734 | ac_cv_path_FGREP="$ac_dir/$ac_word" |
---|
1735 | break |
---|
1736 | fi |
---|
1737 | done |
---|
1738 | IFS="$ac_save_ifs" |
---|
1739 | ;; |
---|
1740 | esac |
---|
1741 | fi |
---|
1742 | FGREP="$ac_cv_path_FGREP" |
---|
1743 | if test -n "$FGREP"; then |
---|
1744 | echo "$ac_t""$FGREP" 1>&6 |
---|
1745 | else |
---|
1746 | echo "$ac_t""no" 1>&6 |
---|
1747 | fi |
---|
1748 | |
---|
1749 | # Extract the first word of "grep", so it can be a program name with args. |
---|
1750 | set dummy grep; ac_word=$2 |
---|
1751 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1752 | echo "configure:1753: checking for $ac_word" >&5 |
---|
1753 | if eval "test \"`echo '$''{'ac_cv_path_GREP'+set}'`\" = set"; then |
---|
1754 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1755 | else |
---|
1756 | case "$GREP" in |
---|
1757 | /*) |
---|
1758 | ac_cv_path_GREP="$GREP" # Let the user override the test with a path. |
---|
1759 | ;; |
---|
1760 | *) |
---|
1761 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1762 | for ac_dir in $PATH; do |
---|
1763 | test -z "$ac_dir" && ac_dir=. |
---|
1764 | if test -f $ac_dir/$ac_word; then |
---|
1765 | ac_cv_path_GREP="$ac_dir/$ac_word" |
---|
1766 | break |
---|
1767 | fi |
---|
1768 | done |
---|
1769 | IFS="$ac_save_ifs" |
---|
1770 | ;; |
---|
1771 | esac |
---|
1772 | fi |
---|
1773 | GREP="$ac_cv_path_GREP" |
---|
1774 | if test -n "$GREP"; then |
---|
1775 | echo "$ac_t""$GREP" 1>&6 |
---|
1776 | else |
---|
1777 | echo "$ac_t""no" 1>&6 |
---|
1778 | fi |
---|
1779 | |
---|
1780 | # Extract the first word of "egrep", so it can be a program name with args. |
---|
1781 | set dummy egrep; ac_word=$2 |
---|
1782 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1783 | echo "configure:1784: checking for $ac_word" >&5 |
---|
1784 | if eval "test \"`echo '$''{'ac_cv_path_EGREP'+set}'`\" = set"; then |
---|
1785 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1786 | else |
---|
1787 | case "$EGREP" in |
---|
1788 | /*) |
---|
1789 | ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path. |
---|
1790 | ;; |
---|
1791 | *) |
---|
1792 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1793 | for ac_dir in $PATH; do |
---|
1794 | test -z "$ac_dir" && ac_dir=. |
---|
1795 | if test -f $ac_dir/$ac_word; then |
---|
1796 | ac_cv_path_EGREP="$ac_dir/$ac_word" |
---|
1797 | break |
---|
1798 | fi |
---|
1799 | done |
---|
1800 | IFS="$ac_save_ifs" |
---|
1801 | ;; |
---|
1802 | esac |
---|
1803 | fi |
---|
1804 | EGREP="$ac_cv_path_EGREP" |
---|
1805 | if test -n "$EGREP"; then |
---|
1806 | echo "$ac_t""$EGREP" 1>&6 |
---|
1807 | else |
---|
1808 | echo "$ac_t""no" 1>&6 |
---|
1809 | fi |
---|
1810 | |
---|
1811 | |
---|
1812 | # Extract the first word of "catman", so it can be a program name with args. |
---|
1813 | set dummy catman; ac_word=$2 |
---|
1814 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1815 | echo "configure:1816: checking for $ac_word" >&5 |
---|
1816 | if eval "test \"`echo '$''{'ac_cv_path_CATMAN'+set}'`\" = set"; then |
---|
1817 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1818 | else |
---|
1819 | case "$CATMAN" in |
---|
1820 | /*) |
---|
1821 | ac_cv_path_CATMAN="$CATMAN" # Let the user override the test with a path. |
---|
1822 | ;; |
---|
1823 | *) |
---|
1824 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1825 | for ac_dir in $PATH:/usr/etc:/etc$ac_dummy; do |
---|
1826 | test -z "$ac_dir" && ac_dir=. |
---|
1827 | if test -f $ac_dir/$ac_word; then |
---|
1828 | ac_cv_path_CATMAN="$ac_dir/$ac_word" |
---|
1829 | break |
---|
1830 | fi |
---|
1831 | done |
---|
1832 | IFS="$ac_save_ifs" |
---|
1833 | ;; |
---|
1834 | esac |
---|
1835 | fi |
---|
1836 | CATMAN="$ac_cv_path_CATMAN" |
---|
1837 | if test -n "$CATMAN"; then |
---|
1838 | echo "$ac_t""$CATMAN" 1>&6 |
---|
1839 | else |
---|
1840 | echo "$ac_t""no" 1>&6 |
---|
1841 | fi |
---|
1842 | |
---|
1843 | |
---|
1844 | for ac_prog in bash ksh sh |
---|
1845 | do |
---|
1846 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1847 | set dummy $ac_prog; ac_word=$2 |
---|
1848 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1849 | echo "configure:1850: checking for $ac_word" >&5 |
---|
1850 | if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then |
---|
1851 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1852 | else |
---|
1853 | case "$KSH" in |
---|
1854 | /*) |
---|
1855 | ac_cv_path_KSH="$KSH" # Let the user override the test with a path. |
---|
1856 | ;; |
---|
1857 | *) |
---|
1858 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1859 | for ac_dir in $PATH; do |
---|
1860 | test -z "$ac_dir" && ac_dir=. |
---|
1861 | if test -f $ac_dir/$ac_word; then |
---|
1862 | ac_cv_path_KSH="$ac_dir/$ac_word" |
---|
1863 | break |
---|
1864 | fi |
---|
1865 | done |
---|
1866 | IFS="$ac_save_ifs" |
---|
1867 | ;; |
---|
1868 | esac |
---|
1869 | fi |
---|
1870 | KSH="$ac_cv_path_KSH" |
---|
1871 | if test -n "$KSH"; then |
---|
1872 | echo "$ac_t""$KSH" 1>&6 |
---|
1873 | else |
---|
1874 | echo "$ac_t""no" 1>&6 |
---|
1875 | fi |
---|
1876 | |
---|
1877 | test -n "$KSH" && break |
---|
1878 | done |
---|
1879 | |
---|
1880 | |
---|
1881 | if test -z "$KSH"; then |
---|
1882 | { echo "configure: error: *** |
---|
1883 | Cannot determine a usable shell bash/ksh/sh |
---|
1884 | Please contact your system administrator " 1>&2; exit 1; }; |
---|
1885 | fi |
---|
1886 | |
---|
1887 | # Extract the first word of "ident", so it can be a program name with args. |
---|
1888 | set dummy ident; ac_word=$2 |
---|
1889 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1890 | echo "configure:1891: checking for $ac_word" >&5 |
---|
1891 | if eval "test \"`echo '$''{'ac_cv_path_RCS_IDENT'+set}'`\" = set"; then |
---|
1892 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1893 | else |
---|
1894 | case "$RCS_IDENT" in |
---|
1895 | /*) |
---|
1896 | ac_cv_path_RCS_IDENT="$RCS_IDENT" # Let the user override the test with a path. |
---|
1897 | ;; |
---|
1898 | *) |
---|
1899 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1900 | for ac_dir in $PATH; do |
---|
1901 | test -z "$ac_dir" && ac_dir=. |
---|
1902 | if test -f $ac_dir/$ac_word; then |
---|
1903 | ac_cv_path_RCS_IDENT="$ac_dir/$ac_word" |
---|
1904 | break |
---|
1905 | fi |
---|
1906 | done |
---|
1907 | IFS="$ac_save_ifs" |
---|
1908 | ;; |
---|
1909 | esac |
---|
1910 | fi |
---|
1911 | RCS_IDENT="$ac_cv_path_RCS_IDENT" |
---|
1912 | if test -n "$RCS_IDENT"; then |
---|
1913 | echo "$ac_t""$RCS_IDENT" 1>&6 |
---|
1914 | else |
---|
1915 | echo "$ac_t""no" 1>&6 |
---|
1916 | fi |
---|
1917 | |
---|
1918 | # Extract the first word of "co", so it can be a program name with args. |
---|
1919 | set dummy co; ac_word=$2 |
---|
1920 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1921 | echo "configure:1922: checking for $ac_word" >&5 |
---|
1922 | if eval "test \"`echo '$''{'ac_cv_path_RCS_CO'+set}'`\" = set"; then |
---|
1923 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1924 | else |
---|
1925 | case "$RCS_CO" in |
---|
1926 | /*) |
---|
1927 | ac_cv_path_RCS_CO="$RCS_CO" # Let the user override the test with a path. |
---|
1928 | ;; |
---|
1929 | *) |
---|
1930 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1931 | for ac_dir in $PATH; do |
---|
1932 | test -z "$ac_dir" && ac_dir=. |
---|
1933 | if test -f $ac_dir/$ac_word; then |
---|
1934 | ac_cv_path_RCS_CO="$ac_dir/$ac_word" |
---|
1935 | break |
---|
1936 | fi |
---|
1937 | done |
---|
1938 | IFS="$ac_save_ifs" |
---|
1939 | ;; |
---|
1940 | esac |
---|
1941 | fi |
---|
1942 | RCS_CO="$ac_cv_path_RCS_CO" |
---|
1943 | if test -n "$RCS_CO"; then |
---|
1944 | echo "$ac_t""$RCS_CO" 1>&6 |
---|
1945 | else |
---|
1946 | echo "$ac_t""no" 1>&6 |
---|
1947 | fi |
---|
1948 | |
---|
1949 | |
---|
1950 | |
---|
1951 | |
---|
1952 | |
---|
1953 | echo "TARGET" |
---|
1954 | echo "cpu $target_cpu" |
---|
1955 | echo "os $target_os" |
---|
1956 | echo "vendor $target_vendor" |
---|
1957 | |
---|
1958 | |
---|
1959 | case "${target}" in |
---|
1960 | # hpux unix port should go here |
---|
1961 | hppa1.1-rtems*) |
---|
1962 | target_cpu=hppa1_1 |
---|
1963 | ;; |
---|
1964 | i[3456]86-go32-rtems*) |
---|
1965 | target_cpu=i386 |
---|
1966 | rtems_bsp="go32 go32_p5" |
---|
1967 | aux_makefiles=$i386_go32_mk |
---|
1968 | RTEMS_HAS_POSIX_API=no |
---|
1969 | ;; |
---|
1970 | i[3456]86-rtems*) |
---|
1971 | target_cpu=i386 |
---|
1972 | rtems_bsp="force386 i386ex" |
---|
1973 | aux_makefiles=$i386_mk |
---|
1974 | ;; |
---|
1975 | i[3456]86-pc-linux*) # unix "simulator" port |
---|
1976 | target_cpu=unix |
---|
1977 | RTEMS_HAS_POSIX_API=no |
---|
1978 | ;; |
---|
1979 | no_cpu-rtems*) |
---|
1980 | target_cpu=no_cpu |
---|
1981 | RTEMS_HAS_POSIX_API=no |
---|
1982 | ;; |
---|
1983 | powerpc-rtems*|ppc-rtems*) |
---|
1984 | target_cpu=ppc |
---|
1985 | ;; |
---|
1986 | sparc-sun-solaris*) # unix "simulator" port |
---|
1987 | target_cpu=unix |
---|
1988 | RTEMS_HAS_POSIX_API=no |
---|
1989 | ;; |
---|
1990 | *) |
---|
1991 | echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 |
---|
1992 | echo "configure:1993: checking rtems target cpu" >&5 |
---|
1993 | target_cpu=`echo $target | /usr/bin/sed 's%^\([^-]*\)-\(.*\)$%\1%'` |
---|
1994 | echo "$ac_t""$target_cpu" 1>&6 |
---|
1995 | |
---|
1996 | ;; |
---|
1997 | esac |
---|
1998 | |
---|
1999 | echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6 |
---|
2000 | echo "configure:2001: checking if cpu $target_cpu is supported" >&5 |
---|
2001 | if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then |
---|
2002 | echo "$ac_t""yes" 1>&6 |
---|
2003 | makefiles="c/src/exec/score/cpu/$target_cpu/Makefile" |
---|
2004 | else |
---|
2005 | { echo "configure: error: no" 1>&2; exit 1; } |
---|
2006 | fi |
---|
2007 | |
---|
2008 | echo $ac_n "checking for Makefiles in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6 |
---|
2009 | echo "configure:2010: checking for Makefiles in c/src/exec/score/tools/$target_cpu" >&5 |
---|
2010 | if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then |
---|
2011 | test -f $srcdir/c/src/exec/score/tools/$target_cpu/Makefile.in && \ |
---|
2012 | makefiles="$makefiles c/src/exec/score/tools/$target_cpu/Makefile" |
---|
2013 | |
---|
2014 | itemlist=`ls $srcdir/c/src/exec/score/tools/$target_cpu` |
---|
2015 | for item in $itemlist; do |
---|
2016 | if test -d "$srcdir/c/src/exec/score/tools/$target_cpu/$item"; then |
---|
2017 | test -f $srcdir/c/src/exec/score/tools/$target_cpu/$item/Makefile.in && \ |
---|
2018 | makefiles="$makefiles c/src/exec/score/tools/$target_cpu/$item/Makefile" |
---|
2019 | |
---|
2020 | item0list=`ls $srcdir/c/src/exec/score/tools/$target_cpu/$item` |
---|
2021 | for item0 in $item0list; do |
---|
2022 | if test -d "$srcdir/c/src/exec/score/tools/$target_cpu/$item/$item0"; then |
---|
2023 | test -f $srcdir/c/src/exec/score/tools/$target_cpu/$item/$item0/Makefile.in && \ |
---|
2024 | makefiles="$makefiles c/src/exec/score/tools/$target_cpu/$item/$item0/Makefile" |
---|
2025 | |
---|
2026 | |
---|
2027 | fi |
---|
2028 | done |
---|
2029 | |
---|
2030 | |
---|
2031 | fi |
---|
2032 | done |
---|
2033 | |
---|
2034 | echo "$ac_t""done" 1>&6 |
---|
2035 | else |
---|
2036 | echo "$ac_t""no" 1>&6 |
---|
2037 | fi |
---|
2038 | |
---|
2039 | |
---|
2040 | if test -n "$aux_makefiles";then |
---|
2041 | makefiles="$makefiles $aux_makefiles" |
---|
2042 | echo "MAKEFILES PRESET TO $makefiles" |
---|
2043 | else |
---|
2044 | echo $ac_n "checking for c/src/lib/libbsp/$target_cpu""... $ac_c" 1>&6 |
---|
2045 | echo "configure:2046: checking for c/src/lib/libbsp/$target_cpu" >&5 |
---|
2046 | if test -d "$srcdir/c/src/lib/libbsp/$target_cpu"; then |
---|
2047 | echo "$ac_t""yes" 1>&6 |
---|
2048 | files=`ls $srcdir/c/src/lib/libbsp/$target_cpu` |
---|
2049 | for file in $files; do |
---|
2050 | case $file in |
---|
2051 | shared*);; |
---|
2052 | Makefile*);; |
---|
2053 | READ*);; |
---|
2054 | *) rtems_bsp="$rtems_bsp $file";; |
---|
2055 | esac; |
---|
2056 | done |
---|
2057 | echo $ac_n "checking for Makefiles in c/src/lib/libbsp/$target_cpu""... $ac_c" 1>&6 |
---|
2058 | echo "configure:2059: checking for Makefiles in c/src/lib/libbsp/$target_cpu" >&5 |
---|
2059 | if test -d $srcdir/c/src/lib/libbsp/$target_cpu; then |
---|
2060 | test -f $srcdir/c/src/lib/libbsp/$target_cpu/Makefile.in && \ |
---|
2061 | makefiles="$makefiles c/src/lib/libbsp/$target_cpu/Makefile" |
---|
2062 | |
---|
2063 | itemlist=`ls $srcdir/c/src/lib/libbsp/$target_cpu` |
---|
2064 | for item in $itemlist; do |
---|
2065 | if test -d "$srcdir/c/src/lib/libbsp/$target_cpu/$item"; then |
---|
2066 | test -f $srcdir/c/src/lib/libbsp/$target_cpu/$item/Makefile.in && \ |
---|
2067 | makefiles="$makefiles c/src/lib/libbsp/$target_cpu/$item/Makefile" |
---|
2068 | |
---|
2069 | item0list=`ls $srcdir/c/src/lib/libbsp/$target_cpu/$item` |
---|
2070 | for item0 in $item0list; do |
---|
2071 | if test -d "$srcdir/c/src/lib/libbsp/$target_cpu/$item/$item0"; then |
---|
2072 | test -f $srcdir/c/src/lib/libbsp/$target_cpu/$item/$item0/Makefile.in && \ |
---|
2073 | makefiles="$makefiles c/src/lib/libbsp/$target_cpu/$item/$item0/Makefile" |
---|
2074 | |
---|
2075 | |
---|
2076 | fi |
---|
2077 | done |
---|
2078 | |
---|
2079 | |
---|
2080 | fi |
---|
2081 | done |
---|
2082 | |
---|
2083 | echo "$ac_t""done" 1>&6 |
---|
2084 | else |
---|
2085 | echo "$ac_t""no" 1>&6 |
---|
2086 | fi |
---|
2087 | |
---|
2088 | else |
---|
2089 | echo "$ac_t""no" 1>&6 |
---|
2090 | fi |
---|
2091 | |
---|
2092 | echo $ac_n "checking for Makefiles in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6 |
---|
2093 | echo "configure:2094: checking for Makefiles in c/src/lib/libcpu/$target_cpu" >&5 |
---|
2094 | if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then |
---|
2095 | test -f $srcdir/c/src/lib/libcpu/$target_cpu/Makefile.in && \ |
---|
2096 | makefiles="$makefiles c/src/lib/libcpu/$target_cpu/Makefile" |
---|
2097 | |
---|
2098 | itemlist=`ls $srcdir/c/src/lib/libcpu/$target_cpu` |
---|
2099 | for item in $itemlist; do |
---|
2100 | if test -d "$srcdir/c/src/lib/libcpu/$target_cpu/$item"; then |
---|
2101 | test -f $srcdir/c/src/lib/libcpu/$target_cpu/$item/Makefile.in && \ |
---|
2102 | makefiles="$makefiles c/src/lib/libcpu/$target_cpu/$item/Makefile" |
---|
2103 | |
---|
2104 | item0list=`ls $srcdir/c/src/lib/libcpu/$target_cpu/$item` |
---|
2105 | for item0 in $item0list; do |
---|
2106 | if test -d "$srcdir/c/src/lib/libcpu/$target_cpu/$item/$item0"; then |
---|
2107 | test -f $srcdir/c/src/lib/libcpu/$target_cpu/$item/$item0/Makefile.in && \ |
---|
2108 | makefiles="$makefiles c/src/lib/libcpu/$target_cpu/$item/$item0/Makefile" |
---|
2109 | |
---|
2110 | |
---|
2111 | fi |
---|
2112 | done |
---|
2113 | |
---|
2114 | |
---|
2115 | fi |
---|
2116 | done |
---|
2117 | |
---|
2118 | echo "$ac_t""done" 1>&6 |
---|
2119 | else |
---|
2120 | echo "$ac_t""no" 1>&6 |
---|
2121 | fi |
---|
2122 | |
---|
2123 | echo $ac_n "checking for Makefiles in c/src/lib/start/$target_cpu""... $ac_c" 1>&6 |
---|
2124 | echo "configure:2125: checking for Makefiles in c/src/lib/start/$target_cpu" >&5 |
---|
2125 | if test -d $srcdir/c/src/lib/start/$target_cpu; then |
---|
2126 | test -f $srcdir/c/src/lib/start/$target_cpu/Makefile.in && \ |
---|
2127 | makefiles="$makefiles c/src/lib/start/$target_cpu/Makefile" |
---|
2128 | |
---|
2129 | itemlist=`ls $srcdir/c/src/lib/start/$target_cpu` |
---|
2130 | for item in $itemlist; do |
---|
2131 | if test -d "$srcdir/c/src/lib/start/$target_cpu/$item"; then |
---|
2132 | test -f $srcdir/c/src/lib/start/$target_cpu/$item/Makefile.in && \ |
---|
2133 | makefiles="$makefiles c/src/lib/start/$target_cpu/$item/Makefile" |
---|
2134 | |
---|
2135 | item0list=`ls $srcdir/c/src/lib/start/$target_cpu/$item` |
---|
2136 | for item0 in $item0list; do |
---|
2137 | if test -d "$srcdir/c/src/lib/start/$target_cpu/$item/$item0"; then |
---|
2138 | test -f $srcdir/c/src/lib/start/$target_cpu/$item/$item0/Makefile.in && \ |
---|
2139 | makefiles="$makefiles c/src/lib/start/$target_cpu/$item/$item0/Makefile" |
---|
2140 | |
---|
2141 | |
---|
2142 | fi |
---|
2143 | done |
---|
2144 | |
---|
2145 | |
---|
2146 | fi |
---|
2147 | done |
---|
2148 | |
---|
2149 | echo "$ac_t""done" 1>&6 |
---|
2150 | else |
---|
2151 | echo "$ac_t""no" 1>&6 |
---|
2152 | fi |
---|
2153 | |
---|
2154 | |
---|
2155 | fi # aux_makefiles |
---|
2156 | |
---|
2157 | echo "MAKEFILES $makefiles" |
---|
2158 | |
---|
2159 | |
---|
2160 | |
---|
2161 | # |
---|
2162 | # Target configurations are listed in alphabetical order. |
---|
2163 | # The BSPs for a target configuration are also listed in alphabetical order. |
---|
2164 | # |
---|
2165 | |
---|
2166 | |
---|
2167 | if [ "${program_prefix}" = "NONE" ] ; then |
---|
2168 | if [ "${target}" = "${host}" ] ; then |
---|
2169 | program_prefix= |
---|
2170 | else |
---|
2171 | program_prefix=${target}- |
---|
2172 | fi |
---|
2173 | fi |
---|
2174 | |
---|
2175 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
---|
2176 | echo "configure:2177: checking whether ln -s works" >&5 |
---|
2177 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
---|
2178 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2179 | else |
---|
2180 | rm -f conftestdata |
---|
2181 | if ln -s X conftestdata 2>/dev/null |
---|
2182 | then |
---|
2183 | rm -f conftestdata |
---|
2184 | ac_cv_prog_LN_S="ln -s" |
---|
2185 | else |
---|
2186 | ac_cv_prog_LN_S=ln |
---|
2187 | fi |
---|
2188 | fi |
---|
2189 | LN_S="$ac_cv_prog_LN_S" |
---|
2190 | if test "$ac_cv_prog_LN_S" = "ln -s"; then |
---|
2191 | echo "$ac_t""yes" 1>&6 |
---|
2192 | else |
---|
2193 | echo "$ac_t""no" 1>&6 |
---|
2194 | fi |
---|
2195 | |
---|
2196 | |
---|
2197 | RTEMS_BSP=$rtems_bsp |
---|
2198 | RTEMS_HOST=$host_os |
---|
2199 | RTEMS_ROOT=`cd $srcdir/c; pwd` |
---|
2200 | PROJECT_ROOT=`pwd;` |
---|
2201 | |
---|
2202 | # For now always generate the KA9Q TCP/IP Makefiles |
---|
2203 | makefiles="$makefiles $ka9q_mk $rtemscpp_mk" |
---|
2204 | |
---|
2205 | # Check whether --enable-tests or --disable-tests was given. |
---|
2206 | if test "${enable_tests+set}" = set; then |
---|
2207 | enableval="$enable_tests" |
---|
2208 | \ |
---|
2209 | tests_mk= |
---|
2210 | else |
---|
2211 | makefiles="${makefiles} ${tests_mk}" |
---|
2212 | fi |
---|
2213 | |
---|
2214 | |
---|
2215 | # Check whether --enable-hwapi or --disable-hwapi was given. |
---|
2216 | if test "${enable_hwapi+set}" = set; then |
---|
2217 | enableval="$enable_hwapi" |
---|
2218 | \ |
---|
2219 | makefiles="${makefiles} ${hwapi_mk}" |
---|
2220 | else |
---|
2221 | hwapi_mk= |
---|
2222 | fi |
---|
2223 | |
---|
2224 | |
---|
2225 | # Check whether --enable-rtemsbsp or --disable-rtemsbsp was given. |
---|
2226 | if test "${enable_rtemsbsp+set}" = set; then |
---|
2227 | enableval="$enable_rtemsbsp" |
---|
2228 | \ |
---|
2229 | RTEMS_BSP=$enableval |
---|
2230 | fi |
---|
2231 | |
---|
2232 | |
---|
2233 | |
---|
2234 | |
---|
2235 | |
---|
2236 | |
---|
2237 | |
---|
2238 | |
---|
2239 | |
---|
2240 | |
---|
2241 | |
---|
2242 | |
---|
2243 | |
---|
2244 | |
---|
2245 | |
---|
2246 | |
---|
2247 | |
---|
2248 | trap '' 1 2 15 |
---|
2249 | cat > confcache <<\EOF |
---|
2250 | # This file is a shell script that caches the results of configure |
---|
2251 | # tests run on this system so they can be shared between configure |
---|
2252 | # scripts and configure runs. It is not useful on other systems. |
---|
2253 | # If it contains results you don't want to keep, you may remove or edit it. |
---|
2254 | # |
---|
2255 | # By default, configure uses ./config.cache as the cache file, |
---|
2256 | # creating it if it does not exist already. You can give configure |
---|
2257 | # the --cache-file=FILE option to use a different cache file; that is |
---|
2258 | # what configure does when it calls configure scripts in |
---|
2259 | # subdirectories, so they share the cache. |
---|
2260 | # Giving --cache-file=/dev/null disables caching, for debugging configure. |
---|
2261 | # config.status only pays attention to the cache file if you give it the |
---|
2262 | # --recheck option to rerun configure. |
---|
2263 | # |
---|
2264 | EOF |
---|
2265 | # The following way of writing the cache mishandles newlines in values, |
---|
2266 | # but we know of no workaround that is simple, portable, and efficient. |
---|
2267 | # So, don't put newlines in cache variables' values. |
---|
2268 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
2269 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
2270 | (set) 2>&1 | |
---|
2271 | case `(ac_space=' '; set) 2>&1` in |
---|
2272 | *ac_space=\ *) |
---|
2273 | # `set' does not quote correctly, so add quotes (double-quote substitution |
---|
2274 | # turns \\\\ into \\, and sed turns \\ into \). |
---|
2275 | sed -n \ |
---|
2276 | -e "s/'/'\\\\''/g" \ |
---|
2277 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
---|
2278 | ;; |
---|
2279 | *) |
---|
2280 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
2281 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
---|
2282 | ;; |
---|
2283 | esac >> confcache |
---|
2284 | if cmp -s $cache_file confcache; then |
---|
2285 | : |
---|
2286 | else |
---|
2287 | if test -w $cache_file; then |
---|
2288 | echo "updating cache $cache_file" |
---|
2289 | cat confcache > $cache_file |
---|
2290 | else |
---|
2291 | echo "not updating unwritable cache $cache_file" |
---|
2292 | fi |
---|
2293 | fi |
---|
2294 | rm -f confcache |
---|
2295 | |
---|
2296 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
2297 | |
---|
2298 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
2299 | # Let make expand exec_prefix. |
---|
2300 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
2301 | |
---|
2302 | # Any assignment to VPATH causes Sun make to only execute |
---|
2303 | # the first set of double-colon rules, so remove it if not needed. |
---|
2304 | # If there is a colon in the path, we need to keep it. |
---|
2305 | if test "x$srcdir" = x.; then |
---|
2306 | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
---|
2307 | fi |
---|
2308 | |
---|
2309 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
---|
2310 | |
---|
2311 | # Transform confdefs.h into DEFS. |
---|
2312 | # Protect against shell expansion while executing Makefile rules. |
---|
2313 | # Protect against Makefile macro expansion. |
---|
2314 | cat > conftest.defs <<\EOF |
---|
2315 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g |
---|
2316 | s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g |
---|
2317 | s%\[%\\&%g |
---|
2318 | s%\]%\\&%g |
---|
2319 | s%\$%$$%g |
---|
2320 | EOF |
---|
2321 | DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` |
---|
2322 | rm -f conftest.defs |
---|
2323 | |
---|
2324 | |
---|
2325 | # Without the "./", some shells look in PATH for config.status. |
---|
2326 | : ${CONFIG_STATUS=./config.status} |
---|
2327 | |
---|
2328 | echo creating $CONFIG_STATUS |
---|
2329 | rm -f $CONFIG_STATUS |
---|
2330 | cat > $CONFIG_STATUS <<EOF |
---|
2331 | #! /bin/sh |
---|
2332 | # Generated automatically by configure. |
---|
2333 | # Run this file to recreate the current configuration. |
---|
2334 | # This directory was configured as follows, |
---|
2335 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
---|
2336 | # |
---|
2337 | # $0 $ac_configure_args |
---|
2338 | # |
---|
2339 | # Compiler output produced by configure, useful for debugging |
---|
2340 | # configure, is in ./config.log if it exists. |
---|
2341 | |
---|
2342 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
---|
2343 | for ac_option |
---|
2344 | do |
---|
2345 | case "\$ac_option" in |
---|
2346 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
2347 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
---|
2348 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
---|
2349 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
---|
2350 | echo "$CONFIG_STATUS generated by autoconf version 2.12" |
---|
2351 | exit 0 ;; |
---|
2352 | -help | --help | --hel | --he | --h) |
---|
2353 | echo "\$ac_cs_usage"; exit 0 ;; |
---|
2354 | *) echo "\$ac_cs_usage"; exit 1 ;; |
---|
2355 | esac |
---|
2356 | done |
---|
2357 | |
---|
2358 | ac_given_srcdir=$srcdir |
---|
2359 | |
---|
2360 | trap 'rm -fr `echo "Makefile |
---|
2361 | c/Makefile |
---|
2362 | c/build-tools/Makefile |
---|
2363 | c/build-tools/os/Makefile |
---|
2364 | c/build-tools/os/msdos/Makefile |
---|
2365 | c/build-tools/scripts/Makefile |
---|
2366 | c/build-tools/src/Makefile |
---|
2367 | c/make/Makefile |
---|
2368 | c/make/host.cfg |
---|
2369 | c/make/Templates/Makefile.inc |
---|
2370 | c/src/Makefile |
---|
2371 | c/src/exec/Makefile |
---|
2372 | c/src/exec/posix/Makefile |
---|
2373 | c/src/exec/posix/base/Makefile |
---|
2374 | c/src/exec/posix/headers/Makefile |
---|
2375 | c/src/exec/posix/inline/Makefile |
---|
2376 | c/src/exec/posix/macros/Makefile |
---|
2377 | c/src/exec/posix/optman/Makefile |
---|
2378 | c/src/exec/posix/src/Makefile |
---|
2379 | c/src/exec/posix/sys/Makefile |
---|
2380 | c/src/exec/rtems/Makefile |
---|
2381 | c/src/exec/rtems/headers/Makefile |
---|
2382 | c/src/exec/rtems/inline/Makefile |
---|
2383 | c/src/exec/rtems/macros/Makefile |
---|
2384 | c/src/exec/rtems/optman/Makefile |
---|
2385 | c/src/exec/rtems/src/Makefile |
---|
2386 | c/src/exec/sapi/Makefile |
---|
2387 | c/src/exec/sapi/headers/Makefile |
---|
2388 | c/src/exec/sapi/inline/Makefile |
---|
2389 | c/src/exec/sapi/macros/Makefile |
---|
2390 | c/src/exec/sapi/optman/Makefile |
---|
2391 | c/src/exec/sapi/src/Makefile |
---|
2392 | c/src/exec/score/Makefile |
---|
2393 | c/src/exec/score/cpu/Makefile |
---|
2394 | c/src/exec/score/headers/Makefile |
---|
2395 | c/src/exec/score/inline/Makefile |
---|
2396 | c/src/exec/score/macros/Makefile |
---|
2397 | c/src/exec/score/src/Makefile |
---|
2398 | c/src/exec/score/tools/Makefile |
---|
2399 | c/src/exec/score/tools/generic/Makefile |
---|
2400 | c/src/exec/wrapup/Makefile |
---|
2401 | c/src/exec/wrapup/posix/Makefile |
---|
2402 | c/src/exec/wrapup/rtems/Makefile |
---|
2403 | c/src/lib/Makefile |
---|
2404 | c/src/lib/include/Makefile |
---|
2405 | c/src/lib/libbsp/Makefile |
---|
2406 | c/src/lib/libbsp/shmdr/Makefile |
---|
2407 | c/src/lib/libc/Makefile |
---|
2408 | c/src/lib/libcpu/Makefile |
---|
2409 | c/src/lib/libmisc/Makefile |
---|
2410 | c/src/lib/libmisc/assoc/Makefile |
---|
2411 | c/src/lib/libmisc/cpuuse/Makefile |
---|
2412 | c/src/lib/libmisc/error/Makefile |
---|
2413 | c/src/lib/libmisc/monitor/Makefile |
---|
2414 | c/src/lib/libmisc/rtmonuse/Makefile |
---|
2415 | c/src/lib/libmisc/stackchk/Makefile |
---|
2416 | c/src/lib/libmisc/wrapup/Makefile |
---|
2417 | c/src/lib/start/Makefile |
---|
2418 | c/src/lib/wrapup/Makefile |
---|
2419 | c/src/tests/Makefile |
---|
2420 | c/src/tests/samples/Makefile |
---|
2421 | c/src/tests/samples/base_mp/Makefile |
---|
2422 | c/src/tests/samples/base_mp/node1/Makefile |
---|
2423 | c/src/tests/samples/base_mp/node2/Makefile |
---|
2424 | c/src/tests/samples/base_sp/Makefile |
---|
2425 | c/src/tests/samples/cdtest/Makefile |
---|
2426 | c/src/tests/samples/hello/Makefile |
---|
2427 | c/src/tests/samples/paranoia/Makefile |
---|
2428 | c/src/tests/samples/ticker/Makefile |
---|
2429 | c/src/tests/support/Makefile |
---|
2430 | c/src/tests/support/include/Makefile |
---|
2431 | c/src/tests/support/stubdr/Makefile |
---|
2432 | c/src/tests/support/wrapup/Makefile |
---|
2433 | c/src/tests/tools/Makefile |
---|
2434 | c/src/tests/tools/generic/Makefile |
---|
2435 | c/src/tests/tools/hppa1_1/Makefile |
---|
2436 | c/src/tests/tools/hppa1_1/simhppa/Makefile |
---|
2437 | c/src/tests/tools/sparc/Makefile |
---|
2438 | c/src/tests/tools/sparc/erc32/Makefile |
---|
2439 | c/src/tests/tools/unix/Makefile |
---|
2440 | c/src/tests/tools/unix/posix/Makefile |
---|
2441 | $makefiles |
---|
2442 | c/update-tools/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
---|
2443 | EOF |
---|
2444 | cat >> $CONFIG_STATUS <<EOF |
---|
2445 | |
---|
2446 | # Protect against being on the right side of a sed subst in config.status. |
---|
2447 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
---|
2448 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
---|
2449 | $ac_vpsub |
---|
2450 | $extrasub |
---|
2451 | s%@CFLAGS@%$CFLAGS%g |
---|
2452 | s%@CPPFLAGS@%$CPPFLAGS%g |
---|
2453 | s%@CXXFLAGS@%$CXXFLAGS%g |
---|
2454 | s%@DEFS@%$DEFS%g |
---|
2455 | s%@LDFLAGS@%$LDFLAGS%g |
---|
2456 | s%@LIBS@%$LIBS%g |
---|
2457 | s%@exec_prefix@%$exec_prefix%g |
---|
2458 | s%@prefix@%$prefix%g |
---|
2459 | s%@program_transform_name@%$program_transform_name%g |
---|
2460 | s%@bindir@%$bindir%g |
---|
2461 | s%@sbindir@%$sbindir%g |
---|
2462 | s%@libexecdir@%$libexecdir%g |
---|
2463 | s%@datadir@%$datadir%g |
---|
2464 | s%@sysconfdir@%$sysconfdir%g |
---|
2465 | s%@sharedstatedir@%$sharedstatedir%g |
---|
2466 | s%@localstatedir@%$localstatedir%g |
---|
2467 | s%@libdir@%$libdir%g |
---|
2468 | s%@includedir@%$includedir%g |
---|
2469 | s%@oldincludedir@%$oldincludedir%g |
---|
2470 | s%@infodir@%$infodir%g |
---|
2471 | s%@mandir@%$mandir%g |
---|
2472 | s%@SET_MAKE@%$SET_MAKE%g |
---|
2473 | s%@host@%$host%g |
---|
2474 | s%@host_alias@%$host_alias%g |
---|
2475 | s%@host_cpu@%$host_cpu%g |
---|
2476 | s%@host_vendor@%$host_vendor%g |
---|
2477 | s%@host_os@%$host_os%g |
---|
2478 | s%@target@%$target%g |
---|
2479 | s%@target_alias@%$target_alias%g |
---|
2480 | s%@target_cpu@%$target_cpu%g |
---|
2481 | s%@target_vendor@%$target_vendor%g |
---|
2482 | s%@target_os@%$target_os%g |
---|
2483 | s%@build@%$build%g |
---|
2484 | s%@build_alias@%$build_alias%g |
---|
2485 | s%@build_cpu@%$build_cpu%g |
---|
2486 | s%@build_vendor@%$build_vendor%g |
---|
2487 | s%@build_os@%$build_os%g |
---|
2488 | s%@CAT@%$CAT%g |
---|
2489 | s%@RM@%$RM%g |
---|
2490 | s%@CP@%$CP%g |
---|
2491 | s%@MV@%$MV%g |
---|
2492 | s%@LN@%$LN%g |
---|
2493 | s%@CHMOD@%$CHMOD%g |
---|
2494 | s%@SORT@%$SORT%g |
---|
2495 | s%@MKDIR@%$MKDIR%g |
---|
2496 | s%@PR@%$PR%g |
---|
2497 | s%@PRINT@%$PRINT%g |
---|
2498 | s%@TOUCH@%$TOUCH%g |
---|
2499 | s%@CMP@%$CMP%g |
---|
2500 | s%@DIRNAME@%$DIRNAME%g |
---|
2501 | s%@BASENAME@%$BASENAME%g |
---|
2502 | s%@UNIFDEF@%$UNIFDEF%g |
---|
2503 | s%@ED@%$ED%g |
---|
2504 | s%@SED@%$SED%g |
---|
2505 | s%@AWK@%$AWK%g |
---|
2506 | s%@M4@%$M4%g |
---|
2507 | s%@FGREP@%$FGREP%g |
---|
2508 | s%@GREP@%$GREP%g |
---|
2509 | s%@EGREP@%$EGREP%g |
---|
2510 | s%@CATMAN@%$CATMAN%g |
---|
2511 | s%@KSH@%$KSH%g |
---|
2512 | s%@RCS_IDENT@%$RCS_IDENT%g |
---|
2513 | s%@RCS_CO@%$RCS_CO%g |
---|
2514 | s%@LN_S@%$LN_S%g |
---|
2515 | s%@RTEMS_BSP@%$RTEMS_BSP%g |
---|
2516 | s%@RTEMS_HOST@%$RTEMS_HOST%g |
---|
2517 | s%@RTEMS_LIBC_DIR@%$RTEMS_LIBC_DIR%g |
---|
2518 | s%@RTEMS_ROOT@%$RTEMS_ROOT%g |
---|
2519 | s%@RTEMS_USE_OWN_PDIR@%$RTEMS_USE_OWN_PDIR%g |
---|
2520 | s%@RTEMS_HAS_POSIX_API@%$RTEMS_HAS_POSIX_API%g |
---|
2521 | s%@RTEMS_HAS_KA9Q@%$RTEMS_HAS_KA9Q%g |
---|
2522 | s%@RTEMS_USE_MACROS@%$RTEMS_USE_MACROS%g |
---|
2523 | s%@RTEMS_HAS_CPLUSPLUS@%$RTEMS_HAS_CPLUSPLUS%g |
---|
2524 | s%@RTEMS_USE_GCC272@%$RTEMS_USE_GCC272%g |
---|
2525 | s%@PROJECT_ROOT@%$PROJECT_ROOT%g |
---|
2526 | s%@program_prefix@%$program_prefix%g |
---|
2527 | |
---|
2528 | CEOF |
---|
2529 | EOF |
---|
2530 | |
---|
2531 | cat >> $CONFIG_STATUS <<\EOF |
---|
2532 | |
---|
2533 | # Split the substitutions into bite-sized pieces for seds with |
---|
2534 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
2535 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
---|
2536 | ac_file=1 # Number of current file. |
---|
2537 | ac_beg=1 # First line for current file. |
---|
2538 | ac_end=$ac_max_sed_cmds # Line after last line for current file. |
---|
2539 | ac_more_lines=: |
---|
2540 | ac_sed_cmds="" |
---|
2541 | while $ac_more_lines; do |
---|
2542 | if test $ac_beg -gt 1; then |
---|
2543 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
2544 | else |
---|
2545 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
2546 | fi |
---|
2547 | if test ! -s conftest.s$ac_file; then |
---|
2548 | ac_more_lines=false |
---|
2549 | rm -f conftest.s$ac_file |
---|
2550 | else |
---|
2551 | if test -z "$ac_sed_cmds"; then |
---|
2552 | ac_sed_cmds="sed -f conftest.s$ac_file" |
---|
2553 | else |
---|
2554 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
---|
2555 | fi |
---|
2556 | ac_file=`expr $ac_file + 1` |
---|
2557 | ac_beg=$ac_end |
---|
2558 | ac_end=`expr $ac_end + $ac_max_sed_cmds` |
---|
2559 | fi |
---|
2560 | done |
---|
2561 | if test -z "$ac_sed_cmds"; then |
---|
2562 | ac_sed_cmds=cat |
---|
2563 | fi |
---|
2564 | EOF |
---|
2565 | |
---|
2566 | cat >> $CONFIG_STATUS <<EOF |
---|
2567 | |
---|
2568 | CONFIG_FILES=\${CONFIG_FILES-"Makefile |
---|
2569 | c/Makefile |
---|
2570 | c/build-tools/Makefile |
---|
2571 | c/build-tools/os/Makefile |
---|
2572 | c/build-tools/os/msdos/Makefile |
---|
2573 | c/build-tools/scripts/Makefile |
---|
2574 | c/build-tools/src/Makefile |
---|
2575 | c/make/Makefile |
---|
2576 | c/make/host.cfg |
---|
2577 | c/make/Templates/Makefile.inc |
---|
2578 | c/src/Makefile |
---|
2579 | c/src/exec/Makefile |
---|
2580 | c/src/exec/posix/Makefile |
---|
2581 | c/src/exec/posix/base/Makefile |
---|
2582 | c/src/exec/posix/headers/Makefile |
---|
2583 | c/src/exec/posix/inline/Makefile |
---|
2584 | c/src/exec/posix/macros/Makefile |
---|
2585 | c/src/exec/posix/optman/Makefile |
---|
2586 | c/src/exec/posix/src/Makefile |
---|
2587 | c/src/exec/posix/sys/Makefile |
---|
2588 | c/src/exec/rtems/Makefile |
---|
2589 | c/src/exec/rtems/headers/Makefile |
---|
2590 | c/src/exec/rtems/inline/Makefile |
---|
2591 | c/src/exec/rtems/macros/Makefile |
---|
2592 | c/src/exec/rtems/optman/Makefile |
---|
2593 | c/src/exec/rtems/src/Makefile |
---|
2594 | c/src/exec/sapi/Makefile |
---|
2595 | c/src/exec/sapi/headers/Makefile |
---|
2596 | c/src/exec/sapi/inline/Makefile |
---|
2597 | c/src/exec/sapi/macros/Makefile |
---|
2598 | c/src/exec/sapi/optman/Makefile |
---|
2599 | c/src/exec/sapi/src/Makefile |
---|
2600 | c/src/exec/score/Makefile |
---|
2601 | c/src/exec/score/cpu/Makefile |
---|
2602 | c/src/exec/score/headers/Makefile |
---|
2603 | c/src/exec/score/inline/Makefile |
---|
2604 | c/src/exec/score/macros/Makefile |
---|
2605 | c/src/exec/score/src/Makefile |
---|
2606 | c/src/exec/score/tools/Makefile |
---|
2607 | c/src/exec/score/tools/generic/Makefile |
---|
2608 | c/src/exec/wrapup/Makefile |
---|
2609 | c/src/exec/wrapup/posix/Makefile |
---|
2610 | c/src/exec/wrapup/rtems/Makefile |
---|
2611 | c/src/lib/Makefile |
---|
2612 | c/src/lib/include/Makefile |
---|
2613 | c/src/lib/libbsp/Makefile |
---|
2614 | c/src/lib/libbsp/shmdr/Makefile |
---|
2615 | c/src/lib/libc/Makefile |
---|
2616 | c/src/lib/libcpu/Makefile |
---|
2617 | c/src/lib/libmisc/Makefile |
---|
2618 | c/src/lib/libmisc/assoc/Makefile |
---|
2619 | c/src/lib/libmisc/cpuuse/Makefile |
---|
2620 | c/src/lib/libmisc/error/Makefile |
---|
2621 | c/src/lib/libmisc/monitor/Makefile |
---|
2622 | c/src/lib/libmisc/rtmonuse/Makefile |
---|
2623 | c/src/lib/libmisc/stackchk/Makefile |
---|
2624 | c/src/lib/libmisc/wrapup/Makefile |
---|
2625 | c/src/lib/start/Makefile |
---|
2626 | c/src/lib/wrapup/Makefile |
---|
2627 | c/src/tests/Makefile |
---|
2628 | c/src/tests/samples/Makefile |
---|
2629 | c/src/tests/samples/base_mp/Makefile |
---|
2630 | c/src/tests/samples/base_mp/node1/Makefile |
---|
2631 | c/src/tests/samples/base_mp/node2/Makefile |
---|
2632 | c/src/tests/samples/base_sp/Makefile |
---|
2633 | c/src/tests/samples/cdtest/Makefile |
---|
2634 | c/src/tests/samples/hello/Makefile |
---|
2635 | c/src/tests/samples/paranoia/Makefile |
---|
2636 | c/src/tests/samples/ticker/Makefile |
---|
2637 | c/src/tests/support/Makefile |
---|
2638 | c/src/tests/support/include/Makefile |
---|
2639 | c/src/tests/support/stubdr/Makefile |
---|
2640 | c/src/tests/support/wrapup/Makefile |
---|
2641 | c/src/tests/tools/Makefile |
---|
2642 | c/src/tests/tools/generic/Makefile |
---|
2643 | c/src/tests/tools/hppa1_1/Makefile |
---|
2644 | c/src/tests/tools/hppa1_1/simhppa/Makefile |
---|
2645 | c/src/tests/tools/sparc/Makefile |
---|
2646 | c/src/tests/tools/sparc/erc32/Makefile |
---|
2647 | c/src/tests/tools/unix/Makefile |
---|
2648 | c/src/tests/tools/unix/posix/Makefile |
---|
2649 | $makefiles |
---|
2650 | c/update-tools/Makefile"} |
---|
2651 | EOF |
---|
2652 | cat >> $CONFIG_STATUS <<\EOF |
---|
2653 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
---|
2654 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
2655 | case "$ac_file" in |
---|
2656 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
---|
2657 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
---|
2658 | *) ac_file_in="${ac_file}.in" ;; |
---|
2659 | esac |
---|
2660 | |
---|
2661 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
---|
2662 | |
---|
2663 | # Remove last slash and all that follows it. Not all systems have dirname. |
---|
2664 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
---|
2665 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
---|
2666 | # The file is in a subdirectory. |
---|
2667 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
---|
2668 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
---|
2669 | # A "../" for each directory in $ac_dir_suffix. |
---|
2670 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
---|
2671 | else |
---|
2672 | ac_dir_suffix= ac_dots= |
---|
2673 | fi |
---|
2674 | |
---|
2675 | case "$ac_given_srcdir" in |
---|
2676 | .) srcdir=. |
---|
2677 | if test -z "$ac_dots"; then top_srcdir=. |
---|
2678 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
---|
2679 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
---|
2680 | *) # Relative path. |
---|
2681 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
---|
2682 | top_srcdir="$ac_dots$ac_given_srcdir" ;; |
---|
2683 | esac |
---|
2684 | |
---|
2685 | |
---|
2686 | echo creating "$ac_file" |
---|
2687 | rm -f "$ac_file" |
---|
2688 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
---|
2689 | case "$ac_file" in |
---|
2690 | *Makefile*) ac_comsub="1i\\ |
---|
2691 | # $configure_input" ;; |
---|
2692 | *) ac_comsub= ;; |
---|
2693 | esac |
---|
2694 | |
---|
2695 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
---|
2696 | sed -e "$ac_comsub |
---|
2697 | s%@configure_input@%$configure_input%g |
---|
2698 | s%@srcdir@%$srcdir%g |
---|
2699 | s%@top_srcdir@%$top_srcdir%g |
---|
2700 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
---|
2701 | fi; done |
---|
2702 | rm -f conftest.s* |
---|
2703 | |
---|
2704 | EOF |
---|
2705 | cat >> $CONFIG_STATUS <<EOF |
---|
2706 | |
---|
2707 | EOF |
---|
2708 | cat >> $CONFIG_STATUS <<\EOF |
---|
2709 | |
---|
2710 | exit 0 |
---|
2711 | EOF |
---|
2712 | chmod +x $CONFIG_STATUS |
---|
2713 | rm -fr confdefs* $ac_clean_files |
---|
2714 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
---|
2715 | |
---|
2716 | |
---|
2717 | echo |
---|
2718 | echo target architecture: $target_cpu. |
---|
2719 | echo available BSPs: $rtems_bsp. |
---|
2720 | echo \'make all\' will build the following BSPs: $RTEMS_BSP. |
---|
2721 | echo other BSPs can be built with \'make RTEMSBSP=\"bsp1 bsp2 ...\"\' |
---|
2722 | echo |
---|