1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.57 for rtems-c-src-lib-libbsp-powerpc-mvme5500 4.6.2. |
---|
4 | # |
---|
5 | # Report bugs to <rtems-bugs@OARcorp.com>. |
---|
6 | # |
---|
7 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
---|
8 | # Free Software Foundation, Inc. |
---|
9 | # This configure script is free software; the Free Software Foundation |
---|
10 | # gives unlimited permission to copy, distribute and modify it. |
---|
11 | ## --------------------- ## |
---|
12 | ## M4sh Initialization. ## |
---|
13 | ## --------------------- ## |
---|
14 | |
---|
15 | # Be Bourne compatible |
---|
16 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
17 | emulate sh |
---|
18 | NULLCMD=: |
---|
19 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
20 | # is contrary to our usage. Disable this feature. |
---|
21 | alias -g '${1+"$@"}'='"$@"' |
---|
22 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
23 | set -o posix |
---|
24 | fi |
---|
25 | |
---|
26 | # Support unset when possible. |
---|
27 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
---|
28 | as_unset=unset |
---|
29 | else |
---|
30 | as_unset=false |
---|
31 | fi |
---|
32 | |
---|
33 | |
---|
34 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
35 | $as_unset ENV MAIL MAILPATH |
---|
36 | PS1='$ ' |
---|
37 | PS2='> ' |
---|
38 | PS4='+ ' |
---|
39 | |
---|
40 | # NLS nuisances. |
---|
41 | for as_var in \ |
---|
42 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
43 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
44 | LC_TELEPHONE LC_TIME |
---|
45 | do |
---|
46 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
47 | eval $as_var=C; export $as_var |
---|
48 | else |
---|
49 | $as_unset $as_var |
---|
50 | fi |
---|
51 | done |
---|
52 | |
---|
53 | # Required to use basename. |
---|
54 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
55 | as_expr=expr |
---|
56 | else |
---|
57 | as_expr=false |
---|
58 | fi |
---|
59 | |
---|
60 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
61 | as_basename=basename |
---|
62 | else |
---|
63 | as_basename=false |
---|
64 | fi |
---|
65 | |
---|
66 | |
---|
67 | # Name of the executable. |
---|
68 | as_me=`$as_basename "$0" || |
---|
69 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
70 | X"$0" : 'X\(//\)$' \| \ |
---|
71 | X"$0" : 'X\(/\)$' \| \ |
---|
72 | . : '\(.\)' 2>/dev/null || |
---|
73 | echo X/"$0" | |
---|
74 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
75 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
76 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
77 | s/.*/./; q'` |
---|
78 | |
---|
79 | |
---|
80 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
81 | # Avoid depending upon Character Ranges. |
---|
82 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
83 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
84 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
85 | as_cr_digits='0123456789' |
---|
86 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
87 | |
---|
88 | # The user is always right. |
---|
89 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
90 | echo "#! /bin/sh" >conf$$.sh |
---|
91 | echo "exit 0" >>conf$$.sh |
---|
92 | chmod +x conf$$.sh |
---|
93 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
94 | PATH_SEPARATOR=';' |
---|
95 | else |
---|
96 | PATH_SEPARATOR=: |
---|
97 | fi |
---|
98 | rm -f conf$$.sh |
---|
99 | fi |
---|
100 | |
---|
101 | |
---|
102 | as_lineno_1=$LINENO |
---|
103 | as_lineno_2=$LINENO |
---|
104 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
105 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
106 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
107 | # Find who we are. Look in the path if we contain no path at all |
---|
108 | # relative or not. |
---|
109 | case $0 in |
---|
110 | *[\\/]* ) as_myself=$0 ;; |
---|
111 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
112 | for as_dir in $PATH |
---|
113 | do |
---|
114 | IFS=$as_save_IFS |
---|
115 | test -z "$as_dir" && as_dir=. |
---|
116 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
117 | done |
---|
118 | |
---|
119 | ;; |
---|
120 | esac |
---|
121 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
122 | # in which case we are not to be found in the path. |
---|
123 | if test "x$as_myself" = x; then |
---|
124 | as_myself=$0 |
---|
125 | fi |
---|
126 | if test ! -f "$as_myself"; then |
---|
127 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
---|
128 | { (exit 1); exit 1; }; } |
---|
129 | fi |
---|
130 | case $CONFIG_SHELL in |
---|
131 | '') |
---|
132 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
133 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
134 | do |
---|
135 | IFS=$as_save_IFS |
---|
136 | test -z "$as_dir" && as_dir=. |
---|
137 | for as_base in sh bash ksh sh5; do |
---|
138 | case $as_dir in |
---|
139 | /*) |
---|
140 | if ("$as_dir/$as_base" -c ' |
---|
141 | as_lineno_1=$LINENO |
---|
142 | as_lineno_2=$LINENO |
---|
143 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
144 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
145 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
146 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
147 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
148 | CONFIG_SHELL=$as_dir/$as_base |
---|
149 | export CONFIG_SHELL |
---|
150 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
151 | fi;; |
---|
152 | esac |
---|
153 | done |
---|
154 | done |
---|
155 | ;; |
---|
156 | esac |
---|
157 | |
---|
158 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
159 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
160 | # line-number line before each line; the second 'sed' does the real |
---|
161 | # work. The second script uses 'N' to pair each line-number line |
---|
162 | # with the numbered line, and appends trailing '-' during |
---|
163 | # substitution so that $LINENO is not a special case at line end. |
---|
164 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
165 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
166 | sed '=' <$as_myself | |
---|
167 | sed ' |
---|
168 | N |
---|
169 | s,$,-, |
---|
170 | : loop |
---|
171 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
172 | t loop |
---|
173 | s,-$,, |
---|
174 | s,^['$as_cr_digits']*\n,, |
---|
175 | ' >$as_me.lineno && |
---|
176 | chmod +x $as_me.lineno || |
---|
177 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
178 | { (exit 1); exit 1; }; } |
---|
179 | |
---|
180 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
181 | # (the dirname of $[0] is not the place where we might find the |
---|
182 | # original and so on. Autoconf is especially sensible to this). |
---|
183 | . ./$as_me.lineno |
---|
184 | # Exit status is that of the last command. |
---|
185 | exit |
---|
186 | } |
---|
187 | |
---|
188 | |
---|
189 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
190 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
191 | ' ECHO_T=' ' ;; |
---|
192 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
193 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
194 | esac |
---|
195 | |
---|
196 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
197 | as_expr=expr |
---|
198 | else |
---|
199 | as_expr=false |
---|
200 | fi |
---|
201 | |
---|
202 | rm -f conf$$ conf$$.exe conf$$.file |
---|
203 | echo >conf$$.file |
---|
204 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
205 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
206 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
207 | if test -f conf$$.exe; then |
---|
208 | # Don't use ln at all; we don't have any links |
---|
209 | as_ln_s='cp -p' |
---|
210 | else |
---|
211 | as_ln_s='ln -s' |
---|
212 | fi |
---|
213 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
214 | as_ln_s=ln |
---|
215 | else |
---|
216 | as_ln_s='cp -p' |
---|
217 | fi |
---|
218 | rm -f conf$$ conf$$.exe conf$$.file |
---|
219 | |
---|
220 | if mkdir -p . 2>/dev/null; then |
---|
221 | as_mkdir_p=: |
---|
222 | else |
---|
223 | as_mkdir_p=false |
---|
224 | fi |
---|
225 | |
---|
226 | as_executable_p="test -f" |
---|
227 | |
---|
228 | # Sed expression to map a string onto a valid CPP name. |
---|
229 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
---|
230 | |
---|
231 | # Sed expression to map a string onto a valid variable name. |
---|
232 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
---|
233 | |
---|
234 | |
---|
235 | # IFS |
---|
236 | # We need space, tab and new line, in precisely that order. |
---|
237 | as_nl=' |
---|
238 | ' |
---|
239 | IFS=" $as_nl" |
---|
240 | |
---|
241 | # CDPATH. |
---|
242 | $as_unset CDPATH |
---|
243 | |
---|
244 | |
---|
245 | # Name of the host. |
---|
246 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
247 | # so uname gets run too. |
---|
248 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
249 | |
---|
250 | exec 6>&1 |
---|
251 | |
---|
252 | # |
---|
253 | # Initializations. |
---|
254 | # |
---|
255 | ac_default_prefix=/usr/local |
---|
256 | ac_config_libobj_dir=. |
---|
257 | cross_compiling=no |
---|
258 | subdirs= |
---|
259 | MFLAGS= |
---|
260 | MAKEFLAGS= |
---|
261 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
262 | |
---|
263 | # Maximum number of lines to put in a shell here document. |
---|
264 | # This variable seems obsolete. It should probably be removed, and |
---|
265 | # only ac_max_sed_lines should be used. |
---|
266 | : ${ac_max_here_lines=38} |
---|
267 | |
---|
268 | # Identity of this package. |
---|
269 | PACKAGE_NAME='rtems-c-src-lib-libbsp-powerpc-mvme5500' |
---|
270 | PACKAGE_TARNAME='rtems-c-src-lib-libbsp-powerpc-mvme5500' |
---|
271 | PACKAGE_VERSION='4.6.2' |
---|
272 | PACKAGE_STRING='rtems-c-src-lib-libbsp-powerpc-mvme5500 4.6.2' |
---|
273 | PACKAGE_BUGREPORT='rtems-bugs@OARcorp.com' |
---|
274 | |
---|
275 | ac_unique_file="bsp_specs" |
---|
276 | ac_default_prefix=/opt/rtems-4.6 |
---|
277 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAKE ENDIF RTEMS_TOPdir PROJECT_TOPdir PROJECT_ROOT build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os RTEMS_CPU INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPU_CFLAGS CFLAGS_OPTIMIZE_V CFLAGS_DEBUG_V CFLAGS_PROFILE_V RTEMS_BSP_FAMILY RTEMS_CPU_MODEL RTEMS_BSP RTEMS_BSP_SPECS GCC_SPECS PROJECT_INCLUDE PROJECT_RELEASE RTEMS_ROOT BARE_CPU_MODEL BARE_CPU_CFLAGS MULTILIB_TRUE MULTILIB_FALSE bsplibdir RTEMS_HOST PACKHEX HAS_MP RTEMS_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP RTEMS_USE_GCC_TRUE RTEMS_USE_GCC_FALSE RTEMS_CPPFLAGS AR AS LD NM RANLIB OBJCOPY SIZE RTEMS_HAS_NETWORKING HAS_NETWORKING HAS_NETWORKING_TRUE HAS_NETWORKING_FALSE CCAS CCASFLAGS exceptions LIBOBJS LTLIBOBJS' |
---|
278 | ac_subst_files='' |
---|
279 | |
---|
280 | # Initialize some variables set by options. |
---|
281 | ac_init_help= |
---|
282 | ac_init_version=false |
---|
283 | # The variables have the same names as the options, with |
---|
284 | # dashes changed to underlines. |
---|
285 | cache_file=/dev/null |
---|
286 | exec_prefix=NONE |
---|
287 | no_create= |
---|
288 | no_recursion= |
---|
289 | prefix=NONE |
---|
290 | program_prefix=NONE |
---|
291 | program_suffix=NONE |
---|
292 | program_transform_name=s,x,x, |
---|
293 | silent= |
---|
294 | site= |
---|
295 | srcdir= |
---|
296 | verbose= |
---|
297 | x_includes=NONE |
---|
298 | x_libraries=NONE |
---|
299 | |
---|
300 | # Installation directory options. |
---|
301 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
302 | # and all the variables that are supposed to be based on exec_prefix |
---|
303 | # by default will actually change. |
---|
304 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
305 | bindir='${exec_prefix}/bin' |
---|
306 | sbindir='${exec_prefix}/sbin' |
---|
307 | libexecdir='${exec_prefix}/libexec' |
---|
308 | datadir='${prefix}/share' |
---|
309 | sysconfdir='${prefix}/etc' |
---|
310 | sharedstatedir='${prefix}/com' |
---|
311 | localstatedir='${prefix}/var' |
---|
312 | libdir='${exec_prefix}/lib' |
---|
313 | includedir='${prefix}/include' |
---|
314 | oldincludedir='/usr/include' |
---|
315 | infodir='${prefix}/info' |
---|
316 | mandir='${prefix}/man' |
---|
317 | |
---|
318 | ac_prev= |
---|
319 | for ac_option |
---|
320 | do |
---|
321 | # If the previous option needs an argument, assign it. |
---|
322 | if test -n "$ac_prev"; then |
---|
323 | eval "$ac_prev=\$ac_option" |
---|
324 | ac_prev= |
---|
325 | continue |
---|
326 | fi |
---|
327 | |
---|
328 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
---|
329 | |
---|
330 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
331 | |
---|
332 | case $ac_option in |
---|
333 | |
---|
334 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
335 | ac_prev=bindir ;; |
---|
336 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
337 | bindir=$ac_optarg ;; |
---|
338 | |
---|
339 | -build | --build | --buil | --bui | --bu) |
---|
340 | ac_prev=build_alias ;; |
---|
341 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
342 | build_alias=$ac_optarg ;; |
---|
343 | |
---|
344 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
345 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
346 | ac_prev=cache_file ;; |
---|
347 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
348 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
349 | cache_file=$ac_optarg ;; |
---|
350 | |
---|
351 | --config-cache | -C) |
---|
352 | cache_file=config.cache ;; |
---|
353 | |
---|
354 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
355 | ac_prev=datadir ;; |
---|
356 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
357 | | --da=*) |
---|
358 | datadir=$ac_optarg ;; |
---|
359 | |
---|
360 | -disable-* | --disable-*) |
---|
361 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
362 | # Reject names that are not valid shell variable names. |
---|
363 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
364 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
365 | { (exit 1); exit 1; }; } |
---|
366 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
367 | eval "enable_$ac_feature=no" ;; |
---|
368 | |
---|
369 | -enable-* | --enable-*) |
---|
370 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
371 | # Reject names that are not valid shell variable names. |
---|
372 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
373 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
374 | { (exit 1); exit 1; }; } |
---|
375 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
376 | case $ac_option in |
---|
377 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
378 | *) ac_optarg=yes ;; |
---|
379 | esac |
---|
380 | eval "enable_$ac_feature='$ac_optarg'" ;; |
---|
381 | |
---|
382 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
383 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
384 | | --exec | --exe | --ex) |
---|
385 | ac_prev=exec_prefix ;; |
---|
386 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
387 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
388 | | --exec=* | --exe=* | --ex=*) |
---|
389 | exec_prefix=$ac_optarg ;; |
---|
390 | |
---|
391 | -gas | --gas | --ga | --g) |
---|
392 | # Obsolete; use --with-gas. |
---|
393 | with_gas=yes ;; |
---|
394 | |
---|
395 | -help | --help | --hel | --he | -h) |
---|
396 | ac_init_help=long ;; |
---|
397 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
398 | ac_init_help=recursive ;; |
---|
399 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
400 | ac_init_help=short ;; |
---|
401 | |
---|
402 | -host | --host | --hos | --ho) |
---|
403 | ac_prev=host_alias ;; |
---|
404 | -host=* | --host=* | --hos=* | --ho=*) |
---|
405 | host_alias=$ac_optarg ;; |
---|
406 | |
---|
407 | -includedir | --includedir | --includedi | --included | --include \ |
---|
408 | | --includ | --inclu | --incl | --inc) |
---|
409 | ac_prev=includedir ;; |
---|
410 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
411 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
412 | includedir=$ac_optarg ;; |
---|
413 | |
---|
414 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
415 | ac_prev=infodir ;; |
---|
416 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
417 | infodir=$ac_optarg ;; |
---|
418 | |
---|
419 | -libdir | --libdir | --libdi | --libd) |
---|
420 | ac_prev=libdir ;; |
---|
421 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
422 | libdir=$ac_optarg ;; |
---|
423 | |
---|
424 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
425 | | --libexe | --libex | --libe) |
---|
426 | ac_prev=libexecdir ;; |
---|
427 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
428 | | --libexe=* | --libex=* | --libe=*) |
---|
429 | libexecdir=$ac_optarg ;; |
---|
430 | |
---|
431 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
432 | | --localstate | --localstat | --localsta | --localst \ |
---|
433 | | --locals | --local | --loca | --loc | --lo) |
---|
434 | ac_prev=localstatedir ;; |
---|
435 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
436 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
437 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
438 | localstatedir=$ac_optarg ;; |
---|
439 | |
---|
440 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
441 | ac_prev=mandir ;; |
---|
442 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
443 | mandir=$ac_optarg ;; |
---|
444 | |
---|
445 | -nfp | --nfp | --nf) |
---|
446 | # Obsolete; use --without-fp. |
---|
447 | with_fp=no ;; |
---|
448 | |
---|
449 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
450 | | --no-cr | --no-c | -n) |
---|
451 | no_create=yes ;; |
---|
452 | |
---|
453 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
454 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
455 | no_recursion=yes ;; |
---|
456 | |
---|
457 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
458 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
459 | | --oldin | --oldi | --old | --ol | --o) |
---|
460 | ac_prev=oldincludedir ;; |
---|
461 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
462 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
463 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
464 | oldincludedir=$ac_optarg ;; |
---|
465 | |
---|
466 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
467 | ac_prev=prefix ;; |
---|
468 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
469 | prefix=$ac_optarg ;; |
---|
470 | |
---|
471 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
472 | | --program-pre | --program-pr | --program-p) |
---|
473 | ac_prev=program_prefix ;; |
---|
474 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
475 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
476 | program_prefix=$ac_optarg ;; |
---|
477 | |
---|
478 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
479 | | --program-suf | --program-su | --program-s) |
---|
480 | ac_prev=program_suffix ;; |
---|
481 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
482 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
483 | program_suffix=$ac_optarg ;; |
---|
484 | |
---|
485 | -program-transform-name | --program-transform-name \ |
---|
486 | | --program-transform-nam | --program-transform-na \ |
---|
487 | | --program-transform-n | --program-transform- \ |
---|
488 | | --program-transform | --program-transfor \ |
---|
489 | | --program-transfo | --program-transf \ |
---|
490 | | --program-trans | --program-tran \ |
---|
491 | | --progr-tra | --program-tr | --program-t) |
---|
492 | ac_prev=program_transform_name ;; |
---|
493 | -program-transform-name=* | --program-transform-name=* \ |
---|
494 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
495 | | --program-transform-n=* | --program-transform-=* \ |
---|
496 | | --program-transform=* | --program-transfor=* \ |
---|
497 | | --program-transfo=* | --program-transf=* \ |
---|
498 | | --program-trans=* | --program-tran=* \ |
---|
499 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
500 | program_transform_name=$ac_optarg ;; |
---|
501 | |
---|
502 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
503 | | -silent | --silent | --silen | --sile | --sil) |
---|
504 | silent=yes ;; |
---|
505 | |
---|
506 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
507 | ac_prev=sbindir ;; |
---|
508 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
509 | | --sbi=* | --sb=*) |
---|
510 | sbindir=$ac_optarg ;; |
---|
511 | |
---|
512 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
513 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
514 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
515 | | --sha | --sh) |
---|
516 | ac_prev=sharedstatedir ;; |
---|
517 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
518 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
519 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
520 | | --sha=* | --sh=*) |
---|
521 | sharedstatedir=$ac_optarg ;; |
---|
522 | |
---|
523 | -site | --site | --sit) |
---|
524 | ac_prev=site ;; |
---|
525 | -site=* | --site=* | --sit=*) |
---|
526 | site=$ac_optarg ;; |
---|
527 | |
---|
528 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
529 | ac_prev=srcdir ;; |
---|
530 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
531 | srcdir=$ac_optarg ;; |
---|
532 | |
---|
533 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
534 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
535 | ac_prev=sysconfdir ;; |
---|
536 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
537 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
538 | sysconfdir=$ac_optarg ;; |
---|
539 | |
---|
540 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
541 | ac_prev=target_alias ;; |
---|
542 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
543 | target_alias=$ac_optarg ;; |
---|
544 | |
---|
545 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
546 | verbose=yes ;; |
---|
547 | |
---|
548 | -version | --version | --versio | --versi | --vers | -V) |
---|
549 | ac_init_version=: ;; |
---|
550 | |
---|
551 | -with-* | --with-*) |
---|
552 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
553 | # Reject names that are not valid shell variable names. |
---|
554 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
555 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
556 | { (exit 1); exit 1; }; } |
---|
557 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
558 | case $ac_option in |
---|
559 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
560 | *) ac_optarg=yes ;; |
---|
561 | esac |
---|
562 | eval "with_$ac_package='$ac_optarg'" ;; |
---|
563 | |
---|
564 | -without-* | --without-*) |
---|
565 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
566 | # Reject names that are not valid shell variable names. |
---|
567 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
568 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
569 | { (exit 1); exit 1; }; } |
---|
570 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
---|
571 | eval "with_$ac_package=no" ;; |
---|
572 | |
---|
573 | --x) |
---|
574 | # Obsolete; use --with-x. |
---|
575 | with_x=yes ;; |
---|
576 | |
---|
577 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
578 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
579 | ac_prev=x_includes ;; |
---|
580 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
581 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
582 | x_includes=$ac_optarg ;; |
---|
583 | |
---|
584 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
585 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
586 | ac_prev=x_libraries ;; |
---|
587 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
588 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
589 | x_libraries=$ac_optarg ;; |
---|
590 | |
---|
591 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
592 | Try \`$0 --help' for more information." >&2 |
---|
593 | { (exit 1); exit 1; }; } |
---|
594 | ;; |
---|
595 | |
---|
596 | *=*) |
---|
597 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
598 | # Reject names that are not valid shell variable names. |
---|
599 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
600 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
601 | { (exit 1); exit 1; }; } |
---|
602 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
---|
603 | eval "$ac_envvar='$ac_optarg'" |
---|
604 | export $ac_envvar ;; |
---|
605 | |
---|
606 | *) |
---|
607 | # FIXME: should be removed in autoconf 3.0. |
---|
608 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
609 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
610 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
611 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
612 | ;; |
---|
613 | |
---|
614 | esac |
---|
615 | done |
---|
616 | |
---|
617 | if test -n "$ac_prev"; then |
---|
618 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
619 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
620 | { (exit 1); exit 1; }; } |
---|
621 | fi |
---|
622 | |
---|
623 | # Be sure to have absolute paths. |
---|
624 | for ac_var in exec_prefix prefix |
---|
625 | do |
---|
626 | eval ac_val=$`echo $ac_var` |
---|
627 | case $ac_val in |
---|
628 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
---|
629 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
630 | { (exit 1); exit 1; }; };; |
---|
631 | esac |
---|
632 | done |
---|
633 | |
---|
634 | # Be sure to have absolute paths. |
---|
635 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
---|
636 | localstatedir libdir includedir oldincludedir infodir mandir |
---|
637 | do |
---|
638 | eval ac_val=$`echo $ac_var` |
---|
639 | case $ac_val in |
---|
640 | [\\/$]* | ?:[\\/]* ) ;; |
---|
641 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
642 | { (exit 1); exit 1; }; };; |
---|
643 | esac |
---|
644 | done |
---|
645 | |
---|
646 | # There might be people who depend on the old broken behavior: `$host' |
---|
647 | # used to hold the argument of --host etc. |
---|
648 | # FIXME: To remove some day. |
---|
649 | build=$build_alias |
---|
650 | host=$host_alias |
---|
651 | target=$target_alias |
---|
652 | |
---|
653 | # FIXME: To remove some day. |
---|
654 | if test "x$host_alias" != x; then |
---|
655 | if test "x$build_alias" = x; then |
---|
656 | cross_compiling=maybe |
---|
657 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
658 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
659 | elif test "x$build_alias" != "x$host_alias"; then |
---|
660 | cross_compiling=yes |
---|
661 | fi |
---|
662 | fi |
---|
663 | |
---|
664 | ac_tool_prefix= |
---|
665 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
666 | |
---|
667 | test "$silent" = yes && exec 6>/dev/null |
---|
668 | |
---|
669 | |
---|
670 | # Find the source files, if location was not specified. |
---|
671 | if test -z "$srcdir"; then |
---|
672 | ac_srcdir_defaulted=yes |
---|
673 | # Try the directory containing this script, then its parent. |
---|
674 | ac_confdir=`(dirname "$0") 2>/dev/null || |
---|
675 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
676 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
677 | X"$0" : 'X\(//\)$' \| \ |
---|
678 | X"$0" : 'X\(/\)' \| \ |
---|
679 | . : '\(.\)' 2>/dev/null || |
---|
680 | echo X"$0" | |
---|
681 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
682 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
683 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
684 | /^X\(\/\).*/{ s//\1/; q; } |
---|
685 | s/.*/./; q'` |
---|
686 | srcdir=$ac_confdir |
---|
687 | if test ! -r $srcdir/$ac_unique_file; then |
---|
688 | srcdir=.. |
---|
689 | fi |
---|
690 | else |
---|
691 | ac_srcdir_defaulted=no |
---|
692 | fi |
---|
693 | if test ! -r $srcdir/$ac_unique_file; then |
---|
694 | if test "$ac_srcdir_defaulted" = yes; then |
---|
695 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
---|
696 | { (exit 1); exit 1; }; } |
---|
697 | else |
---|
698 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
699 | { (exit 1); exit 1; }; } |
---|
700 | fi |
---|
701 | fi |
---|
702 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
---|
703 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
---|
704 | { (exit 1); exit 1; }; } |
---|
705 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
---|
706 | ac_env_build_alias_set=${build_alias+set} |
---|
707 | ac_env_build_alias_value=$build_alias |
---|
708 | ac_cv_env_build_alias_set=${build_alias+set} |
---|
709 | ac_cv_env_build_alias_value=$build_alias |
---|
710 | ac_env_host_alias_set=${host_alias+set} |
---|
711 | ac_env_host_alias_value=$host_alias |
---|
712 | ac_cv_env_host_alias_set=${host_alias+set} |
---|
713 | ac_cv_env_host_alias_value=$host_alias |
---|
714 | ac_env_target_alias_set=${target_alias+set} |
---|
715 | ac_env_target_alias_value=$target_alias |
---|
716 | ac_cv_env_target_alias_set=${target_alias+set} |
---|
717 | ac_cv_env_target_alias_value=$target_alias |
---|
718 | ac_env_CPU_CFLAGS_set=${CPU_CFLAGS+set} |
---|
719 | ac_env_CPU_CFLAGS_value=$CPU_CFLAGS |
---|
720 | ac_cv_env_CPU_CFLAGS_set=${CPU_CFLAGS+set} |
---|
721 | ac_cv_env_CPU_CFLAGS_value=$CPU_CFLAGS |
---|
722 | ac_env_CFLAGS_OPTIMIZE_V_set=${CFLAGS_OPTIMIZE_V+set} |
---|
723 | ac_env_CFLAGS_OPTIMIZE_V_value=$CFLAGS_OPTIMIZE_V |
---|
724 | ac_cv_env_CFLAGS_OPTIMIZE_V_set=${CFLAGS_OPTIMIZE_V+set} |
---|
725 | ac_cv_env_CFLAGS_OPTIMIZE_V_value=$CFLAGS_OPTIMIZE_V |
---|
726 | ac_env_CFLAGS_DEBUG_V_set=${CFLAGS_DEBUG_V+set} |
---|
727 | ac_env_CFLAGS_DEBUG_V_value=$CFLAGS_DEBUG_V |
---|
728 | ac_cv_env_CFLAGS_DEBUG_V_set=${CFLAGS_DEBUG_V+set} |
---|
729 | ac_cv_env_CFLAGS_DEBUG_V_value=$CFLAGS_DEBUG_V |
---|
730 | ac_env_CFLAGS_PROFILE_V_set=${CFLAGS_PROFILE_V+set} |
---|
731 | ac_env_CFLAGS_PROFILE_V_value=$CFLAGS_PROFILE_V |
---|
732 | ac_cv_env_CFLAGS_PROFILE_V_set=${CFLAGS_PROFILE_V+set} |
---|
733 | ac_cv_env_CFLAGS_PROFILE_V_value=$CFLAGS_PROFILE_V |
---|
734 | ac_env_RTEMS_BSP_FAMILY_set=${RTEMS_BSP_FAMILY+set} |
---|
735 | ac_env_RTEMS_BSP_FAMILY_value=$RTEMS_BSP_FAMILY |
---|
736 | ac_cv_env_RTEMS_BSP_FAMILY_set=${RTEMS_BSP_FAMILY+set} |
---|
737 | ac_cv_env_RTEMS_BSP_FAMILY_value=$RTEMS_BSP_FAMILY |
---|
738 | ac_env_RTEMS_CPU_MODEL_set=${RTEMS_CPU_MODEL+set} |
---|
739 | ac_env_RTEMS_CPU_MODEL_value=$RTEMS_CPU_MODEL |
---|
740 | ac_cv_env_RTEMS_CPU_MODEL_set=${RTEMS_CPU_MODEL+set} |
---|
741 | ac_cv_env_RTEMS_CPU_MODEL_value=$RTEMS_CPU_MODEL |
---|
742 | ac_env_RTEMS_BSP_set=${RTEMS_BSP+set} |
---|
743 | ac_env_RTEMS_BSP_value=$RTEMS_BSP |
---|
744 | ac_cv_env_RTEMS_BSP_set=${RTEMS_BSP+set} |
---|
745 | ac_cv_env_RTEMS_BSP_value=$RTEMS_BSP |
---|
746 | ac_env_CC_set=${CC+set} |
---|
747 | ac_env_CC_value=$CC |
---|
748 | ac_cv_env_CC_set=${CC+set} |
---|
749 | ac_cv_env_CC_value=$CC |
---|
750 | ac_env_CFLAGS_set=${CFLAGS+set} |
---|
751 | ac_env_CFLAGS_value=$CFLAGS |
---|
752 | ac_cv_env_CFLAGS_set=${CFLAGS+set} |
---|
753 | ac_cv_env_CFLAGS_value=$CFLAGS |
---|
754 | ac_env_LDFLAGS_set=${LDFLAGS+set} |
---|
755 | ac_env_LDFLAGS_value=$LDFLAGS |
---|
756 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
---|
757 | ac_cv_env_LDFLAGS_value=$LDFLAGS |
---|
758 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
759 | ac_env_CPPFLAGS_value=$CPPFLAGS |
---|
760 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
761 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
---|
762 | ac_env_CPP_set=${CPP+set} |
---|
763 | ac_env_CPP_value=$CPP |
---|
764 | ac_cv_env_CPP_set=${CPP+set} |
---|
765 | ac_cv_env_CPP_value=$CPP |
---|
766 | |
---|
767 | # |
---|
768 | # Report the --help message. |
---|
769 | # |
---|
770 | if test "$ac_init_help" = "long"; then |
---|
771 | # Omit some internal or obsolete options to make the list less imposing. |
---|
772 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
773 | cat <<_ACEOF |
---|
774 | \`configure' configures rtems-c-src-lib-libbsp-powerpc-mvme5500 4.6.2 to adapt to many kinds of systems. |
---|
775 | |
---|
776 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
777 | |
---|
778 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
779 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
780 | |
---|
781 | Defaults for the options are specified in brackets. |
---|
782 | |
---|
783 | Configuration: |
---|
784 | -h, --help display this help and exit |
---|
785 | --help=short display options specific to this package |
---|
786 | --help=recursive display the short help of all the included packages |
---|
787 | -V, --version display version information and exit |
---|
788 | -q, --quiet, --silent do not print \`checking...' messages |
---|
789 | --cache-file=FILE cache test results in FILE [disabled] |
---|
790 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
791 | -n, --no-create do not create output files |
---|
792 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
793 | |
---|
794 | _ACEOF |
---|
795 | |
---|
796 | cat <<_ACEOF |
---|
797 | Installation directories: |
---|
798 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
799 | [$ac_default_prefix] |
---|
800 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
801 | [PREFIX] |
---|
802 | |
---|
803 | By default, \`make install' will install all the files in |
---|
804 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
805 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
806 | for instance \`--prefix=\$HOME'. |
---|
807 | |
---|
808 | For better control, use the options below. |
---|
809 | |
---|
810 | Fine tuning of the installation directories: |
---|
811 | --bindir=DIR user executables [EPREFIX/bin] |
---|
812 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
813 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
814 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
---|
815 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
816 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
817 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
818 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
819 | --includedir=DIR C header files [PREFIX/include] |
---|
820 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
821 | --infodir=DIR info documentation [PREFIX/info] |
---|
822 | --mandir=DIR man documentation [PREFIX/man] |
---|
823 | _ACEOF |
---|
824 | |
---|
825 | cat <<\_ACEOF |
---|
826 | |
---|
827 | Program names: |
---|
828 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
829 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
830 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
831 | |
---|
832 | System types: |
---|
833 | --build=BUILD configure for building on BUILD [guessed] |
---|
834 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
---|
835 | --target=TARGET configure for building compilers for TARGET [HOST] |
---|
836 | _ACEOF |
---|
837 | fi |
---|
838 | |
---|
839 | if test -n "$ac_init_help"; then |
---|
840 | case $ac_init_help in |
---|
841 | short | recursive ) echo "Configuration of rtems-c-src-lib-libbsp-powerpc-mvme5500 4.6.2:";; |
---|
842 | esac |
---|
843 | cat <<\_ACEOF |
---|
844 | |
---|
845 | Optional Features: |
---|
846 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
847 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
848 | --enable-maintainer-mode enable make rules and dependencies not useful |
---|
849 | (and sometimes confusing) to the casual installer |
---|
850 | --enable-bare-cpu-cflags |
---|
851 | specify a particular cpu cflag (bare bsp specific) |
---|
852 | --enable-bare-cpu-model specify a particular cpu model (bare bsp specific) |
---|
853 | --enable-multilib build many library versions (default=no) |
---|
854 | --enable-multiprocessing |
---|
855 | enable multiprocessing interface |
---|
856 | --disable-dependency-tracking Speeds up one-time builds |
---|
857 | --enable-dependency-tracking Do not reject slow dependency extractors |
---|
858 | --enable-networking enable TCP/IP stack |
---|
859 | |
---|
860 | Some influential environment variables: |
---|
861 | CPU_CFLAGS CFLAGS specifying CPU-dependent features |
---|
862 | CFLAGS_OPTIMIZE_V |
---|
863 | CFLAGS for building the OPTIMIZE variant |
---|
864 | CFLAGS_DEBUG_V |
---|
865 | CFLAGS for building the DEBUG variant |
---|
866 | CFLAGS_PROFILE_V |
---|
867 | CFLAGS for building the PROFILE variant |
---|
868 | RTEMS_BSP_FAMILY |
---|
869 | RTEMS's BSP directory |
---|
870 | RTEMS_CPU_MODEL |
---|
871 | RTEMS's cpu model |
---|
872 | RTEMS_BSP RTEMS_BSP to build |
---|
873 | CC C compiler command |
---|
874 | CFLAGS C compiler flags |
---|
875 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
876 | nonstandard directory <lib dir> |
---|
877 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
---|
878 | headers in a nonstandard directory <include dir> |
---|
879 | CPP C preprocessor |
---|
880 | PPC_USE_DATA_CACHE |
---|
881 | If defined, then the PowerPC specific code in RTEMS will use |
---|
882 | data cache instructions to optimize the context switch code. |
---|
883 | This code can conflict with debuggers or emulators. It is known |
---|
884 | to break the Corelis PowerPC emulator with at least some |
---|
885 | combinations of PowerPC 603e revisions and emulator versions. |
---|
886 | The BSP actually contains the call that enables this. |
---|
887 | |
---|
888 | Use these variables to override the choices made by `configure' or to help |
---|
889 | it to find libraries and programs with nonstandard names/locations. |
---|
890 | |
---|
891 | Report bugs to <rtems-bugs@OARcorp.com>. |
---|
892 | _ACEOF |
---|
893 | fi |
---|
894 | |
---|
895 | if test "$ac_init_help" = "recursive"; then |
---|
896 | # If there are subdirs, report their specific --help. |
---|
897 | ac_popdir=`pwd` |
---|
898 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
899 | test -d $ac_dir || continue |
---|
900 | ac_builddir=. |
---|
901 | |
---|
902 | if test "$ac_dir" != .; then |
---|
903 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
904 | # A "../" for each directory in $ac_dir_suffix. |
---|
905 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
906 | else |
---|
907 | ac_dir_suffix= ac_top_builddir= |
---|
908 | fi |
---|
909 | |
---|
910 | case $srcdir in |
---|
911 | .) # No --srcdir option. We are building in place. |
---|
912 | ac_srcdir=. |
---|
913 | if test -z "$ac_top_builddir"; then |
---|
914 | ac_top_srcdir=. |
---|
915 | else |
---|
916 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
917 | fi ;; |
---|
918 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
919 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
920 | ac_top_srcdir=$srcdir ;; |
---|
921 | *) # Relative path. |
---|
922 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
923 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
924 | esac |
---|
925 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
---|
926 | # absolute. |
---|
927 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
---|
928 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
---|
929 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
---|
930 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
---|
931 | |
---|
932 | cd $ac_dir |
---|
933 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
934 | if test -f $ac_srcdir/configure.gnu; then |
---|
935 | echo |
---|
936 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
---|
937 | elif test -f $ac_srcdir/configure; then |
---|
938 | echo |
---|
939 | $SHELL $ac_srcdir/configure --help=recursive |
---|
940 | elif test -f $ac_srcdir/configure.ac || |
---|
941 | test -f $ac_srcdir/configure.in; then |
---|
942 | echo |
---|
943 | $ac_configure --help |
---|
944 | else |
---|
945 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
946 | fi |
---|
947 | cd $ac_popdir |
---|
948 | done |
---|
949 | fi |
---|
950 | |
---|
951 | test -n "$ac_init_help" && exit 0 |
---|
952 | if $ac_init_version; then |
---|
953 | cat <<\_ACEOF |
---|
954 | rtems-c-src-lib-libbsp-powerpc-mvme5500 configure 4.6.2 |
---|
955 | generated by GNU Autoconf 2.57 |
---|
956 | |
---|
957 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
---|
958 | Free Software Foundation, Inc. |
---|
959 | This configure script is free software; the Free Software Foundation |
---|
960 | gives unlimited permission to copy, distribute and modify it. |
---|
961 | _ACEOF |
---|
962 | exit 0 |
---|
963 | fi |
---|
964 | exec 5>config.log |
---|
965 | cat >&5 <<_ACEOF |
---|
966 | This file contains any messages produced by compilers while |
---|
967 | running configure, to aid debugging if configure makes a mistake. |
---|
968 | |
---|
969 | It was created by rtems-c-src-lib-libbsp-powerpc-mvme5500 $as_me 4.6.2, which was |
---|
970 | generated by GNU Autoconf 2.57. Invocation command line was |
---|
971 | |
---|
972 | $ $0 $@ |
---|
973 | |
---|
974 | _ACEOF |
---|
975 | { |
---|
976 | cat <<_ASUNAME |
---|
977 | ## --------- ## |
---|
978 | ## Platform. ## |
---|
979 | ## --------- ## |
---|
980 | |
---|
981 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
982 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
983 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
984 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
985 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
986 | |
---|
987 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
988 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
989 | |
---|
990 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
991 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
992 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
993 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
---|
994 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
995 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
996 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
997 | |
---|
998 | _ASUNAME |
---|
999 | |
---|
1000 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1001 | for as_dir in $PATH |
---|
1002 | do |
---|
1003 | IFS=$as_save_IFS |
---|
1004 | test -z "$as_dir" && as_dir=. |
---|
1005 | echo "PATH: $as_dir" |
---|
1006 | done |
---|
1007 | |
---|
1008 | } >&5 |
---|
1009 | |
---|
1010 | cat >&5 <<_ACEOF |
---|
1011 | |
---|
1012 | |
---|
1013 | ## ----------- ## |
---|
1014 | ## Core tests. ## |
---|
1015 | ## ----------- ## |
---|
1016 | |
---|
1017 | _ACEOF |
---|
1018 | |
---|
1019 | |
---|
1020 | # Keep a trace of the command line. |
---|
1021 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
1022 | # Strip out --silent because we don't want to record it for future runs. |
---|
1023 | # Also quote any args containing shell meta-characters. |
---|
1024 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
1025 | ac_configure_args= |
---|
1026 | ac_configure_args0= |
---|
1027 | ac_configure_args1= |
---|
1028 | ac_sep= |
---|
1029 | ac_must_keep_next=false |
---|
1030 | for ac_pass in 1 2 |
---|
1031 | do |
---|
1032 | for ac_arg |
---|
1033 | do |
---|
1034 | case $ac_arg in |
---|
1035 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
1036 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1037 | | -silent | --silent | --silen | --sile | --sil) |
---|
1038 | continue ;; |
---|
1039 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
1040 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1041 | esac |
---|
1042 | case $ac_pass in |
---|
1043 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
1044 | 2) |
---|
1045 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
1046 | if test $ac_must_keep_next = true; then |
---|
1047 | ac_must_keep_next=false # Got value, back to normal. |
---|
1048 | else |
---|
1049 | case $ac_arg in |
---|
1050 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
1051 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
1052 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
1053 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
1054 | case "$ac_configure_args0 " in |
---|
1055 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
1056 | esac |
---|
1057 | ;; |
---|
1058 | -* ) ac_must_keep_next=true ;; |
---|
1059 | esac |
---|
1060 | fi |
---|
1061 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
---|
1062 | # Get rid of the leading space. |
---|
1063 | ac_sep=" " |
---|
1064 | ;; |
---|
1065 | esac |
---|
1066 | done |
---|
1067 | done |
---|
1068 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
1069 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
1070 | |
---|
1071 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
1072 | # config.log. We remove comments because anyway the quotes in there |
---|
1073 | # would cause problems or look ugly. |
---|
1074 | # WARNING: Be sure not to use single quotes in there, as some shells, |
---|
1075 | # such as our DU 5.0 friend, will then `close' the trap. |
---|
1076 | trap 'exit_status=$? |
---|
1077 | # Save into config.log some information that might help in debugging. |
---|
1078 | { |
---|
1079 | echo |
---|
1080 | |
---|
1081 | cat <<\_ASBOX |
---|
1082 | ## ---------------- ## |
---|
1083 | ## Cache variables. ## |
---|
1084 | ## ---------------- ## |
---|
1085 | _ASBOX |
---|
1086 | echo |
---|
1087 | # The following way of writing the cache mishandles newlines in values, |
---|
1088 | { |
---|
1089 | (set) 2>&1 | |
---|
1090 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
---|
1091 | *ac_space=\ *) |
---|
1092 | sed -n \ |
---|
1093 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
---|
1094 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
---|
1095 | ;; |
---|
1096 | *) |
---|
1097 | sed -n \ |
---|
1098 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
1099 | ;; |
---|
1100 | esac; |
---|
1101 | } |
---|
1102 | echo |
---|
1103 | |
---|
1104 | cat <<\_ASBOX |
---|
1105 | ## ----------------- ## |
---|
1106 | ## Output variables. ## |
---|
1107 | ## ----------------- ## |
---|
1108 | _ASBOX |
---|
1109 | echo |
---|
1110 | for ac_var in $ac_subst_vars |
---|
1111 | do |
---|
1112 | eval ac_val=$`echo $ac_var` |
---|
1113 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1114 | done | sort |
---|
1115 | echo |
---|
1116 | |
---|
1117 | if test -n "$ac_subst_files"; then |
---|
1118 | cat <<\_ASBOX |
---|
1119 | ## ------------- ## |
---|
1120 | ## Output files. ## |
---|
1121 | ## ------------- ## |
---|
1122 | _ASBOX |
---|
1123 | echo |
---|
1124 | for ac_var in $ac_subst_files |
---|
1125 | do |
---|
1126 | eval ac_val=$`echo $ac_var` |
---|
1127 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1128 | done | sort |
---|
1129 | echo |
---|
1130 | fi |
---|
1131 | |
---|
1132 | if test -s confdefs.h; then |
---|
1133 | cat <<\_ASBOX |
---|
1134 | ## ----------- ## |
---|
1135 | ## confdefs.h. ## |
---|
1136 | ## ----------- ## |
---|
1137 | _ASBOX |
---|
1138 | echo |
---|
1139 | sed "/^$/d" confdefs.h | sort |
---|
1140 | echo |
---|
1141 | fi |
---|
1142 | test "$ac_signal" != 0 && |
---|
1143 | echo "$as_me: caught signal $ac_signal" |
---|
1144 | echo "$as_me: exit $exit_status" |
---|
1145 | } >&5 |
---|
1146 | rm -f core core.* *.core && |
---|
1147 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
---|
1148 | exit $exit_status |
---|
1149 | ' 0 |
---|
1150 | for ac_signal in 1 2 13 15; do |
---|
1151 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
1152 | done |
---|
1153 | ac_signal=0 |
---|
1154 | |
---|
1155 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1156 | rm -rf conftest* confdefs.h |
---|
1157 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
1158 | echo >confdefs.h |
---|
1159 | |
---|
1160 | # Predefined preprocessor variables. |
---|
1161 | |
---|
1162 | cat >>confdefs.h <<_ACEOF |
---|
1163 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1164 | _ACEOF |
---|
1165 | |
---|
1166 | |
---|
1167 | cat >>confdefs.h <<_ACEOF |
---|
1168 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1169 | _ACEOF |
---|
1170 | |
---|
1171 | |
---|
1172 | cat >>confdefs.h <<_ACEOF |
---|
1173 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1174 | _ACEOF |
---|
1175 | |
---|
1176 | |
---|
1177 | cat >>confdefs.h <<_ACEOF |
---|
1178 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1179 | _ACEOF |
---|
1180 | |
---|
1181 | |
---|
1182 | cat >>confdefs.h <<_ACEOF |
---|
1183 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1184 | _ACEOF |
---|
1185 | |
---|
1186 | |
---|
1187 | # Let the site file select an alternate cache file if it wants to. |
---|
1188 | # Prefer explicitly selected file to automatically selected ones. |
---|
1189 | if test -z "$CONFIG_SITE"; then |
---|
1190 | if test "x$prefix" != xNONE; then |
---|
1191 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
1192 | else |
---|
1193 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
1194 | fi |
---|
1195 | fi |
---|
1196 | for ac_site_file in $CONFIG_SITE; do |
---|
1197 | if test -r "$ac_site_file"; then |
---|
1198 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
1199 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1200 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1201 | . "$ac_site_file" |
---|
1202 | fi |
---|
1203 | done |
---|
1204 | |
---|
1205 | if test -r "$cache_file"; then |
---|
1206 | # Some versions of bash will fail to source /dev/null (special |
---|
1207 | # files actually), so we avoid doing that. |
---|
1208 | if test -f "$cache_file"; then |
---|
1209 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
1210 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
1211 | case $cache_file in |
---|
1212 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
---|
1213 | *) . ./$cache_file;; |
---|
1214 | esac |
---|
1215 | fi |
---|
1216 | else |
---|
1217 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
1218 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
1219 | >$cache_file |
---|
1220 | fi |
---|
1221 | |
---|
1222 | # Check that the precious variables saved in the cache have kept the same |
---|
1223 | # value. |
---|
1224 | ac_cache_corrupted=false |
---|
1225 | for ac_var in `(set) 2>&1 | |
---|
1226 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
---|
1227 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1228 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1229 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
---|
1230 | eval ac_new_val="\$ac_env_${ac_var}_value" |
---|
1231 | case $ac_old_set,$ac_new_set in |
---|
1232 | set,) |
---|
1233 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1234 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1235 | ac_cache_corrupted=: ;; |
---|
1236 | ,set) |
---|
1237 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1238 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1239 | ac_cache_corrupted=: ;; |
---|
1240 | ,);; |
---|
1241 | *) |
---|
1242 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1243 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1244 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1245 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
1246 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
1247 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
1248 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
1249 | ac_cache_corrupted=: |
---|
1250 | fi;; |
---|
1251 | esac |
---|
1252 | # Pass precious variables to config.status. |
---|
1253 | if test "$ac_new_set" = set; then |
---|
1254 | case $ac_new_val in |
---|
1255 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
1256 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1257 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1258 | esac |
---|
1259 | case " $ac_configure_args " in |
---|
1260 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1261 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
1262 | esac |
---|
1263 | fi |
---|
1264 | done |
---|
1265 | if $ac_cache_corrupted; then |
---|
1266 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
1267 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1268 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
1269 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
1270 | { (exit 1); exit 1; }; } |
---|
1271 | fi |
---|
1272 | |
---|
1273 | ac_ext=c |
---|
1274 | ac_cpp='$CPP $CPPFLAGS' |
---|
1275 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1276 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1277 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1278 | |
---|
1279 | |
---|
1280 | |
---|
1281 | |
---|
1282 | |
---|
1283 | |
---|
1284 | |
---|
1285 | |
---|
1286 | |
---|
1287 | |
---|
1288 | |
---|
1289 | |
---|
1290 | |
---|
1291 | |
---|
1292 | |
---|
1293 | |
---|
1294 | |
---|
1295 | |
---|
1296 | |
---|
1297 | |
---|
1298 | |
---|
1299 | |
---|
1300 | |
---|
1301 | |
---|
1302 | |
---|
1303 | |
---|
1304 | |
---|
1305 | |
---|
1306 | |
---|
1307 | |
---|
1308 | ac_aux_dir= |
---|
1309 | for ac_dir in ../../../../../.. $srcdir/../../../../../..; do |
---|
1310 | if test -f $ac_dir/install-sh; then |
---|
1311 | ac_aux_dir=$ac_dir |
---|
1312 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
1313 | break |
---|
1314 | elif test -f $ac_dir/install.sh; then |
---|
1315 | ac_aux_dir=$ac_dir |
---|
1316 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
1317 | break |
---|
1318 | elif test -f $ac_dir/shtool; then |
---|
1319 | ac_aux_dir=$ac_dir |
---|
1320 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
1321 | break |
---|
1322 | fi |
---|
1323 | done |
---|
1324 | if test -z "$ac_aux_dir"; then |
---|
1325 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../../../.. $srcdir/../../../../../.." >&5 |
---|
1326 | echo "$as_me: error: cannot find install-sh or install.sh in ../../../../../.. $srcdir/../../../../../.." >&2;} |
---|
1327 | { (exit 1); exit 1; }; } |
---|
1328 | fi |
---|
1329 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
---|
1330 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
---|
1331 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
---|
1332 | |
---|
1333 | for ac_prog in gmake make |
---|
1334 | do |
---|
1335 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1336 | set dummy $ac_prog; ac_word=$2 |
---|
1337 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1338 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1339 | if test "${ac_cv_prog_MAKE+set}" = set; then |
---|
1340 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1341 | else |
---|
1342 | if test -n "$MAKE"; then |
---|
1343 | ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
---|
1344 | else |
---|
1345 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1346 | for as_dir in $PATH |
---|
1347 | do |
---|
1348 | IFS=$as_save_IFS |
---|
1349 | test -z "$as_dir" && as_dir=. |
---|
1350 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1351 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1352 | ac_cv_prog_MAKE="$ac_prog" |
---|
1353 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1354 | break 2 |
---|
1355 | fi |
---|
1356 | done |
---|
1357 | done |
---|
1358 | |
---|
1359 | fi |
---|
1360 | fi |
---|
1361 | MAKE=$ac_cv_prog_MAKE |
---|
1362 | if test -n "$MAKE"; then |
---|
1363 | echo "$as_me:$LINENO: result: $MAKE" >&5 |
---|
1364 | echo "${ECHO_T}$MAKE" >&6 |
---|
1365 | else |
---|
1366 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1367 | echo "${ECHO_T}no" >&6 |
---|
1368 | fi |
---|
1369 | |
---|
1370 | test -n "$MAKE" && break |
---|
1371 | done |
---|
1372 | |
---|
1373 | |
---|
1374 | |
---|
1375 | |
---|
1376 | ENDIF=endif |
---|
1377 | |
---|
1378 | |
---|
1379 | RTEMS_TOPdir="../../../../../.."; |
---|
1380 | |
---|
1381 | |
---|
1382 | test -n "$with_target_subdir" || with_target_subdir="." |
---|
1383 | |
---|
1384 | if test "$with_target_subdir" = "." ; then |
---|
1385 | # Native |
---|
1386 | PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)' |
---|
1387 | else |
---|
1388 | # Cross |
---|
1389 | dots=`echo $with_target_subdir|\ |
---|
1390 | sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` |
---|
1391 | PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)' |
---|
1392 | fi |
---|
1393 | |
---|
1394 | |
---|
1395 | PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)" |
---|
1396 | |
---|
1397 | |
---|
1398 | echo "$as_me:$LINENO: checking for RTEMS Version" >&5 |
---|
1399 | echo $ECHO_N "checking for RTEMS Version... $ECHO_C" >&6 |
---|
1400 | if test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"; then |
---|
1401 | : |
---|
1402 | else |
---|
1403 | { { echo "$as_me:$LINENO: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&5 |
---|
1404 | echo "$as_me: error: Unable to find ${RTEMS_TOPdir}/aclocal/version.m4" >&2;} |
---|
1405 | { (exit 1); exit 1; }; } |
---|
1406 | fi |
---|
1407 | |
---|
1408 | echo "$as_me:$LINENO: result: 4.6.2" >&5 |
---|
1409 | echo "${ECHO_T}4.6.2" >&6 |
---|
1410 | |
---|
1411 | |
---|
1412 | # Make sure we can run config.sub. |
---|
1413 | $ac_config_sub sun4 >/dev/null 2>&1 || |
---|
1414 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
---|
1415 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
---|
1416 | { (exit 1); exit 1; }; } |
---|
1417 | |
---|
1418 | echo "$as_me:$LINENO: checking build system type" >&5 |
---|
1419 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
---|
1420 | if test "${ac_cv_build+set}" = set; then |
---|
1421 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1422 | else |
---|
1423 | ac_cv_build_alias=$build_alias |
---|
1424 | test -z "$ac_cv_build_alias" && |
---|
1425 | ac_cv_build_alias=`$ac_config_guess` |
---|
1426 | test -z "$ac_cv_build_alias" && |
---|
1427 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
---|
1428 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
---|
1429 | { (exit 1); exit 1; }; } |
---|
1430 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
---|
1431 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
---|
1432 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
---|
1433 | { (exit 1); exit 1; }; } |
---|
1434 | |
---|
1435 | fi |
---|
1436 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
---|
1437 | echo "${ECHO_T}$ac_cv_build" >&6 |
---|
1438 | build=$ac_cv_build |
---|
1439 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
1440 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
1441 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
1442 | |
---|
1443 | |
---|
1444 | echo "$as_me:$LINENO: checking host system type" >&5 |
---|
1445 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
---|
1446 | if test "${ac_cv_host+set}" = set; then |
---|
1447 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1448 | else |
---|
1449 | ac_cv_host_alias=$host_alias |
---|
1450 | test -z "$ac_cv_host_alias" && |
---|
1451 | ac_cv_host_alias=$ac_cv_build_alias |
---|
1452 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
---|
1453 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
---|
1454 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
---|
1455 | { (exit 1); exit 1; }; } |
---|
1456 | |
---|
1457 | fi |
---|
1458 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
---|
1459 | echo "${ECHO_T}$ac_cv_host" >&6 |
---|
1460 | host=$ac_cv_host |
---|
1461 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
1462 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
1463 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
1464 | |
---|
1465 | |
---|
1466 | |
---|
1467 | echo "$as_me:$LINENO: checking target system type" >&5 |
---|
1468 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 |
---|
1469 | if test "${ac_cv_target+set}" = set; then |
---|
1470 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1471 | else |
---|
1472 | ac_cv_target_alias=$target_alias |
---|
1473 | test "x$ac_cv_target_alias" = "x" && |
---|
1474 | ac_cv_target_alias=$ac_cv_host_alias |
---|
1475 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || |
---|
1476 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 |
---|
1477 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} |
---|
1478 | { (exit 1); exit 1; }; } |
---|
1479 | |
---|
1480 | fi |
---|
1481 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
---|
1482 | echo "${ECHO_T}$ac_cv_target" >&6 |
---|
1483 | target=$ac_cv_target |
---|
1484 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
1485 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
1486 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
1487 | |
---|
1488 | |
---|
1489 | # The aliases save the names the user supplied, while $host etc. |
---|
1490 | # will get canonicalized. |
---|
1491 | test -n "$target_alias" && |
---|
1492 | test "$program_prefix$program_suffix$program_transform_name" = \ |
---|
1493 | NONENONEs,x,x, && |
---|
1494 | program_prefix=${target_alias}- |
---|
1495 | echo "$as_me:$LINENO: checking rtems target cpu" >&5 |
---|
1496 | echo $ECHO_N "checking rtems target cpu... $ECHO_C" >&6 |
---|
1497 | case "${target}" in |
---|
1498 | # hpux unix port should go here |
---|
1499 | i[34567]86-*linux*) # unix "simulator" port |
---|
1500 | RTEMS_CPU=unix |
---|
1501 | ;; |
---|
1502 | i[34567]86-*freebsd*) # unix "simulator" port |
---|
1503 | RTEMS_CPU=unix |
---|
1504 | ;; |
---|
1505 | i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :) |
---|
1506 | RTEMS_CPU=unix |
---|
1507 | ;; |
---|
1508 | no_cpu-*rtems*) |
---|
1509 | RTEMS_CPU=no_cpu |
---|
1510 | ;; |
---|
1511 | sparc-sun-solaris*) # unix "simulator" port |
---|
1512 | RTEMS_CPU=unix |
---|
1513 | ;; |
---|
1514 | tic4x-*rtems*) # gcc changed the name |
---|
1515 | RTEMS_CPU=c4x |
---|
1516 | ;; |
---|
1517 | *) |
---|
1518 | RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` |
---|
1519 | ;; |
---|
1520 | esac |
---|
1521 | |
---|
1522 | echo "$as_me:$LINENO: result: $RTEMS_CPU" >&5 |
---|
1523 | echo "${ECHO_T}$RTEMS_CPU" >&6 |
---|
1524 | |
---|
1525 | am__api_version="1.7" |
---|
1526 | # Find a good install program. We prefer a C program (faster), |
---|
1527 | # so one script is as good as another. But avoid the broken or |
---|
1528 | # incompatible versions: |
---|
1529 | # SysV /etc/install, /usr/sbin/install |
---|
1530 | # SunOS /usr/etc/install |
---|
1531 | # IRIX /sbin/install |
---|
1532 | # AIX /bin/install |
---|
1533 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
1534 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
1535 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
1536 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
1537 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
1538 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
1539 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
---|
1540 | if test -z "$INSTALL"; then |
---|
1541 | if test "${ac_cv_path_install+set}" = set; then |
---|
1542 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1543 | else |
---|
1544 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1545 | for as_dir in $PATH |
---|
1546 | do |
---|
1547 | IFS=$as_save_IFS |
---|
1548 | test -z "$as_dir" && as_dir=. |
---|
1549 | # Account for people who put trailing slashes in PATH elements. |
---|
1550 | case $as_dir/ in |
---|
1551 | ./ | .// | /cC/* | \ |
---|
1552 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
1553 | /usr/ucb/* ) ;; |
---|
1554 | *) |
---|
1555 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
1556 | # Don't use installbsd from OSF since it installs stuff as root |
---|
1557 | # by default. |
---|
1558 | for ac_prog in ginstall scoinst install; do |
---|
1559 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1560 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
1561 | if test $ac_prog = install && |
---|
1562 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1563 | # AIX install. It has an incompatible calling convention. |
---|
1564 | : |
---|
1565 | elif test $ac_prog = install && |
---|
1566 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
1567 | # program-specific install script used by HP pwplus--don't use. |
---|
1568 | : |
---|
1569 | else |
---|
1570 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
1571 | break 3 |
---|
1572 | fi |
---|
1573 | fi |
---|
1574 | done |
---|
1575 | done |
---|
1576 | ;; |
---|
1577 | esac |
---|
1578 | done |
---|
1579 | |
---|
1580 | |
---|
1581 | fi |
---|
1582 | if test "${ac_cv_path_install+set}" = set; then |
---|
1583 | INSTALL=$ac_cv_path_install |
---|
1584 | else |
---|
1585 | # As a last resort, use the slow shell script. We don't cache a |
---|
1586 | # path for INSTALL within a source directory, because that will |
---|
1587 | # break other packages using the cache if that directory is |
---|
1588 | # removed, or if the path is relative. |
---|
1589 | INSTALL=$ac_install_sh |
---|
1590 | fi |
---|
1591 | fi |
---|
1592 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
1593 | echo "${ECHO_T}$INSTALL" >&6 |
---|
1594 | |
---|
1595 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
1596 | # It thinks the first close brace ends the variable substitution. |
---|
1597 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
1598 | |
---|
1599 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
1600 | |
---|
1601 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
1602 | |
---|
1603 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
---|
1604 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
---|
1605 | # Just in case |
---|
1606 | sleep 1 |
---|
1607 | echo timestamp > conftest.file |
---|
1608 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
1609 | # arguments. Must try -L first in case configure is actually a |
---|
1610 | # symlink; some systems play weird games with the mod time of symlinks |
---|
1611 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
1612 | # directory). |
---|
1613 | if ( |
---|
1614 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
---|
1615 | if test "$*" = "X"; then |
---|
1616 | # -L didn't work. |
---|
1617 | set X `ls -t $srcdir/configure conftest.file` |
---|
1618 | fi |
---|
1619 | rm -f conftest.file |
---|
1620 | if test "$*" != "X $srcdir/configure conftest.file" \ |
---|
1621 | && test "$*" != "X conftest.file $srcdir/configure"; then |
---|
1622 | |
---|
1623 | # If neither matched, then we have a broken ls. This can happen |
---|
1624 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
1625 | # broken ls alias from the environment. This has actually |
---|
1626 | # happened. Such a system could not be considered "sane". |
---|
1627 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
---|
1628 | alias in your environment" >&5 |
---|
1629 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
---|
1630 | alias in your environment" >&2;} |
---|
1631 | { (exit 1); exit 1; }; } |
---|
1632 | fi |
---|
1633 | |
---|
1634 | test "$2" = conftest.file |
---|
1635 | ) |
---|
1636 | then |
---|
1637 | # Ok. |
---|
1638 | : |
---|
1639 | else |
---|
1640 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
---|
1641 | Check your system clock" >&5 |
---|
1642 | echo "$as_me: error: newly created file is older than distributed files! |
---|
1643 | Check your system clock" >&2;} |
---|
1644 | { (exit 1); exit 1; }; } |
---|
1645 | fi |
---|
1646 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
1647 | echo "${ECHO_T}yes" >&6 |
---|
1648 | test "$program_prefix" != NONE && |
---|
1649 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
---|
1650 | # Use a double $ so make ignores it. |
---|
1651 | test "$program_suffix" != NONE && |
---|
1652 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
---|
1653 | # Double any \ or $. echo might interpret backslashes. |
---|
1654 | # By default was `s,x,x', remove it if useless. |
---|
1655 | cat <<\_ACEOF >conftest.sed |
---|
1656 | s/[\\$]/&&/g;s/;s,x,x,$// |
---|
1657 | _ACEOF |
---|
1658 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
---|
1659 | rm conftest.sed |
---|
1660 | |
---|
1661 | |
---|
1662 | # expand $ac_aux_dir to an absolute path |
---|
1663 | am_aux_dir=`cd $ac_aux_dir && pwd` |
---|
1664 | |
---|
1665 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
---|
1666 | # Use eval to expand $SHELL |
---|
1667 | if eval "$MISSING --run true"; then |
---|
1668 | am_missing_run="$MISSING --run " |
---|
1669 | else |
---|
1670 | am_missing_run= |
---|
1671 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
---|
1672 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
---|
1673 | fi |
---|
1674 | |
---|
1675 | for ac_prog in gawk mawk nawk awk |
---|
1676 | do |
---|
1677 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1678 | set dummy $ac_prog; ac_word=$2 |
---|
1679 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1680 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1681 | if test "${ac_cv_prog_AWK+set}" = set; then |
---|
1682 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1683 | else |
---|
1684 | if test -n "$AWK"; then |
---|
1685 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
1686 | else |
---|
1687 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1688 | for as_dir in $PATH |
---|
1689 | do |
---|
1690 | IFS=$as_save_IFS |
---|
1691 | test -z "$as_dir" && as_dir=. |
---|
1692 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1693 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1694 | ac_cv_prog_AWK="$ac_prog" |
---|
1695 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1696 | break 2 |
---|
1697 | fi |
---|
1698 | done |
---|
1699 | done |
---|
1700 | |
---|
1701 | fi |
---|
1702 | fi |
---|
1703 | AWK=$ac_cv_prog_AWK |
---|
1704 | if test -n "$AWK"; then |
---|
1705 | echo "$as_me:$LINENO: result: $AWK" >&5 |
---|
1706 | echo "${ECHO_T}$AWK" >&6 |
---|
1707 | else |
---|
1708 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1709 | echo "${ECHO_T}no" >&6 |
---|
1710 | fi |
---|
1711 | |
---|
1712 | test -n "$AWK" && break |
---|
1713 | done |
---|
1714 | |
---|
1715 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
1716 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
---|
1717 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
---|
1718 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
---|
1719 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1720 | else |
---|
1721 | cat >conftest.make <<\_ACEOF |
---|
1722 | all: |
---|
1723 | @echo 'ac_maketemp="$(MAKE)"' |
---|
1724 | _ACEOF |
---|
1725 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
1726 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
---|
1727 | if test -n "$ac_maketemp"; then |
---|
1728 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
1729 | else |
---|
1730 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
1731 | fi |
---|
1732 | rm -f conftest.make |
---|
1733 | fi |
---|
1734 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
1735 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
1736 | echo "${ECHO_T}yes" >&6 |
---|
1737 | SET_MAKE= |
---|
1738 | else |
---|
1739 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1740 | echo "${ECHO_T}no" >&6 |
---|
1741 | SET_MAKE="MAKE=${MAKE-make}" |
---|
1742 | fi |
---|
1743 | |
---|
1744 | # test to see if srcdir already configured |
---|
1745 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
---|
1746 | test -f $srcdir/config.status; then |
---|
1747 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
---|
1748 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
---|
1749 | { (exit 1); exit 1; }; } |
---|
1750 | fi |
---|
1751 | |
---|
1752 | # test whether we have cygpath |
---|
1753 | if test -z "$CYGPATH_W"; then |
---|
1754 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
1755 | CYGPATH_W='cygpath -w' |
---|
1756 | else |
---|
1757 | CYGPATH_W=echo |
---|
1758 | fi |
---|
1759 | fi |
---|
1760 | |
---|
1761 | |
---|
1762 | # Define the identity of the package. |
---|
1763 | PACKAGE=rtems-c-src-lib-libbsp-powerpc-mvme5500 |
---|
1764 | VERSION=4.6.2 |
---|
1765 | |
---|
1766 | |
---|
1767 | # Some tools Automake needs. |
---|
1768 | |
---|
1769 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
1770 | |
---|
1771 | |
---|
1772 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
1773 | |
---|
1774 | |
---|
1775 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
1776 | |
---|
1777 | |
---|
1778 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
1779 | |
---|
1780 | |
---|
1781 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
1782 | |
---|
1783 | |
---|
1784 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
---|
1785 | |
---|
1786 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
---|
1787 | |
---|
1788 | # Installed binaries are usually stripped using `strip' when the user |
---|
1789 | # run `make install-strip'. However `strip' might not be the right |
---|
1790 | # tool to use in cross-compilation environments, therefore Automake |
---|
1791 | # will honor the `STRIP' environment variable to overrule this program. |
---|
1792 | if test "$cross_compiling" != no; then |
---|
1793 | if test -n "$ac_tool_prefix"; then |
---|
1794 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
---|
1795 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
---|
1796 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1797 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1798 | if test "${ac_cv_prog_STRIP+set}" = set; then |
---|
1799 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1800 | else |
---|
1801 | if test -n "$STRIP"; then |
---|
1802 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
1803 | else |
---|
1804 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1805 | for as_dir in $PATH |
---|
1806 | do |
---|
1807 | IFS=$as_save_IFS |
---|
1808 | test -z "$as_dir" && as_dir=. |
---|
1809 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1810 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1811 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
---|
1812 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1813 | break 2 |
---|
1814 | fi |
---|
1815 | done |
---|
1816 | done |
---|
1817 | |
---|
1818 | fi |
---|
1819 | fi |
---|
1820 | STRIP=$ac_cv_prog_STRIP |
---|
1821 | if test -n "$STRIP"; then |
---|
1822 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
---|
1823 | echo "${ECHO_T}$STRIP" >&6 |
---|
1824 | else |
---|
1825 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1826 | echo "${ECHO_T}no" >&6 |
---|
1827 | fi |
---|
1828 | |
---|
1829 | fi |
---|
1830 | if test -z "$ac_cv_prog_STRIP"; then |
---|
1831 | ac_ct_STRIP=$STRIP |
---|
1832 | # Extract the first word of "strip", so it can be a program name with args. |
---|
1833 | set dummy strip; ac_word=$2 |
---|
1834 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1835 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1836 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
---|
1837 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1838 | else |
---|
1839 | if test -n "$ac_ct_STRIP"; then |
---|
1840 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
---|
1841 | else |
---|
1842 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1843 | for as_dir in $PATH |
---|
1844 | do |
---|
1845 | IFS=$as_save_IFS |
---|
1846 | test -z "$as_dir" && as_dir=. |
---|
1847 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1848 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1849 | ac_cv_prog_ac_ct_STRIP="strip" |
---|
1850 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1851 | break 2 |
---|
1852 | fi |
---|
1853 | done |
---|
1854 | done |
---|
1855 | |
---|
1856 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
---|
1857 | fi |
---|
1858 | fi |
---|
1859 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
---|
1860 | if test -n "$ac_ct_STRIP"; then |
---|
1861 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
---|
1862 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
---|
1863 | else |
---|
1864 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1865 | echo "${ECHO_T}no" >&6 |
---|
1866 | fi |
---|
1867 | |
---|
1868 | STRIP=$ac_ct_STRIP |
---|
1869 | else |
---|
1870 | STRIP="$ac_cv_prog_STRIP" |
---|
1871 | fi |
---|
1872 | |
---|
1873 | fi |
---|
1874 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
---|
1875 | |
---|
1876 | # We need awk for the "check" target. The system "awk" is bad on |
---|
1877 | # some platforms. |
---|
1878 | |
---|
1879 | |
---|
1880 | |
---|
1881 | |
---|
1882 | # Check whether --enable-multilib or --disable-multilib was given. |
---|
1883 | if test "${enable_multilib+set}" = set; then |
---|
1884 | enableval="$enable_multilib" |
---|
1885 | case "${enableval}" in |
---|
1886 | yes) multilib=yes ;; |
---|
1887 | no) multilib=no ;; |
---|
1888 | *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5 |
---|
1889 | echo "$as_me: error: bad value ${enableval} for multilib option" >&2;} |
---|
1890 | { (exit 1); exit 1; }; } ;; |
---|
1891 | esac |
---|
1892 | else |
---|
1893 | multilib=no |
---|
1894 | fi; |
---|
1895 | |
---|
1896 | |
---|
1897 | if test x"${multilib}" = x"yes"; then |
---|
1898 | MULTILIB_TRUE= |
---|
1899 | MULTILIB_FALSE='#' |
---|
1900 | else |
---|
1901 | MULTILIB_TRUE='#' |
---|
1902 | MULTILIB_FALSE= |
---|
1903 | fi |
---|
1904 | |
---|
1905 | |
---|
1906 | |
---|
1907 | |
---|
1908 | |
---|
1909 | # Is this a supported CPU? |
---|
1910 | echo "$as_me:$LINENO: checking if cpu $RTEMS_CPU is supported" >&5 |
---|
1911 | echo $ECHO_N "checking if cpu $RTEMS_CPU is supported... $ECHO_C" >&6 |
---|
1912 | # FIXME: Temporary hack |
---|
1913 | if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then |
---|
1914 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
1915 | echo "${ECHO_T}yes" >&6 |
---|
1916 | else |
---|
1917 | { { echo "$as_me:$LINENO: error: no" >&5 |
---|
1918 | echo "$as_me: error: no" >&2;} |
---|
1919 | { (exit 1); exit 1; }; } |
---|
1920 | fi |
---|
1921 | |
---|
1922 | |
---|
1923 | # Check whether --enable-multiprocessing or --disable-multiprocessing was given. |
---|
1924 | if test "${enable_multiprocessing+set}" = set; then |
---|
1925 | enableval="$enable_multiprocessing" |
---|
1926 | case "${enable_multiprocessing}" in |
---|
1927 | yes) ;; |
---|
1928 | no) ;; |
---|
1929 | *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for enable-multiprocessing option" >&5 |
---|
1930 | echo "$as_me: error: bad value ${enableval} for enable-multiprocessing option" >&2;} |
---|
1931 | { (exit 1); exit 1; }; } ;; |
---|
1932 | esac |
---|
1933 | else |
---|
1934 | enable_multiprocessing=no |
---|
1935 | fi; |
---|
1936 | |
---|
1937 | # account for "aliased" bsps which share source code |
---|
1938 | case $RTEMS_BSP in |
---|
1939 | simcpu32) RTEMS_BSP_FAMILY=sim68000 ;; # BSVC CPU32 variant |
---|
1940 | c3xsim) RTEMS_BSP_FAMILY=c4xsim ;; # TI C3x Simulator in gdb |
---|
1941 | mcp750) RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant |
---|
1942 | mvme2307) RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant |
---|
1943 | mtx603e) RTEMS_BSP_FAMILY=motorola_powerpc ;; # Motorola PPC board variant |
---|
1944 | mvme162lx) RTEMS_BSP_FAMILY=mvme162 ;; # m68k - mvme162 board variant |
---|
1945 | gen68360_040) RTEMS_BSP_FAMILY=gen68360 ;; # m68k - 68360 in companion mode |
---|
1946 | p4600) RTEMS_BSP_FAMILY=p4000 ;; # mips64orion - p4000 board w/IDT 4600 |
---|
1947 | p4650) RTEMS_BSP_FAMILY=p4000 ;; # mips64orion - p4000 board w/IDT 4650 |
---|
1948 | mbx8*) RTEMS_BSP_FAMILY=mbx8xx ;; # MBX821/MBX860 board |
---|
1949 | pc386dx) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC w/o FPU |
---|
1950 | pc486) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with i486DX |
---|
1951 | pc586) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with Pentium |
---|
1952 | pc686) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with PentiumPro |
---|
1953 | pck6) RTEMS_BSP_FAMILY=pc386 ;; # i386 - PC with K6 |
---|
1954 | bare*) RTEMS_BSP_FAMILY=bare ;; # EXP: bare-aliases |
---|
1955 | erc32nfp) RTEMS_BSP_FAMILY=erc32 ;; # erc32 without fpu |
---|
1956 | leon1) RTEMS_BSP_FAMILY=leon ;; # leon without fpu |
---|
1957 | leon2) RTEMS_BSP_FAMILY=leon ;; # leon with fpu |
---|
1958 | simsh7032) RTEMS_BSP_FAMILY=shsim ;; # SH7032 simulator |
---|
1959 | simsh7045) RTEMS_BSP_FAMILY=shsim ;; # SH7045 simulator |
---|
1960 | *) RTEMS_BSP_FAMILY=$RTEMS_BSP;; |
---|
1961 | esac |
---|
1962 | |
---|
1963 | |
---|
1964 | |
---|
1965 | |
---|
1966 | echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
---|
1967 | echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
---|
1968 | # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
---|
1969 | if test "${enable_maintainer_mode+set}" = set; then |
---|
1970 | enableval="$enable_maintainer_mode" |
---|
1971 | USE_MAINTAINER_MODE=$enableval |
---|
1972 | else |
---|
1973 | USE_MAINTAINER_MODE=no |
---|
1974 | fi; |
---|
1975 | echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 |
---|
1976 | echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
---|
1977 | |
---|
1978 | |
---|
1979 | if test $USE_MAINTAINER_MODE = yes; then |
---|
1980 | MAINTAINER_MODE_TRUE= |
---|
1981 | MAINTAINER_MODE_FALSE='#' |
---|
1982 | else |
---|
1983 | MAINTAINER_MODE_TRUE='#' |
---|
1984 | MAINTAINER_MODE_FALSE= |
---|
1985 | fi |
---|
1986 | |
---|
1987 | MAINT=$MAINTAINER_MODE_TRUE |
---|
1988 | |
---|
1989 | |
---|
1990 | |
---|
1991 | |
---|
1992 | |
---|
1993 | |
---|
1994 | |
---|
1995 | |
---|
1996 | |
---|
1997 | |
---|
1998 | |
---|
1999 | echo "$as_me:$LINENO: checking for RTEMS_BSP" >&5 |
---|
2000 | echo $ECHO_N "checking for RTEMS_BSP... $ECHO_C" >&6 |
---|
2001 | if test "${rtems_cv_RTEMS_BSP+set}" = set; then |
---|
2002 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2003 | else |
---|
2004 | test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP"; |
---|
2005 | |
---|
2006 | fi |
---|
2007 | if test -z "$rtems_cv_RTEMS_BSP"; then |
---|
2008 | { { echo "$as_me:$LINENO: error: Missing RTEMS_BSP" >&5 |
---|
2009 | echo "$as_me: error: Missing RTEMS_BSP" >&2;} |
---|
2010 | { (exit 1); exit 1; }; } |
---|
2011 | fi |
---|
2012 | RTEMS_BSP="$rtems_cv_RTEMS_BSP" |
---|
2013 | echo "$as_me:$LINENO: result: ${RTEMS_BSP}" >&5 |
---|
2014 | echo "${ECHO_T}${RTEMS_BSP}" >&6 |
---|
2015 | |
---|
2016 | |
---|
2017 | RTEMS_BSP_SPECS="-specs bsp_specs -qrtems" |
---|
2018 | |
---|
2019 | |
---|
2020 | GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/" |
---|
2021 | |
---|
2022 | |
---|
2023 | PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include" |
---|
2024 | |
---|
2025 | |
---|
2026 | PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP" |
---|
2027 | |
---|
2028 | |
---|
2029 | RTEMS_ROOT="\$(PROJECT_ROOT)/c/$RTEMS_BSP" |
---|
2030 | |
---|
2031 | |
---|
2032 | |
---|
2033 | # Check whether --enable-bare-cpu-cflags or --disable-bare-cpu-cflags was given. |
---|
2034 | if test "${enable_bare_cpu_cflags+set}" = set; then |
---|
2035 | enableval="$enable_bare_cpu_cflags" |
---|
2036 | case "${enableval}" in |
---|
2037 | no) BARE_CPU_CFLAGS="" ;; |
---|
2038 | *) BARE_CPU_CFLAGS="${enableval}" ;; |
---|
2039 | esac |
---|
2040 | else |
---|
2041 | BARE_CPU_CFLAGS="" |
---|
2042 | fi; |
---|
2043 | |
---|
2044 | # Check whether --enable-bare-cpu-model or --disable-bare-cpu-model was given. |
---|
2045 | if test "${enable_bare_cpu_model+set}" = set; then |
---|
2046 | enableval="$enable_bare_cpu_model" |
---|
2047 | case "${enableval}" in |
---|
2048 | no) BARE_CPU_MODEL="" ;; |
---|
2049 | *) BARE_CPU_MODEL="${enableval}" ;; |
---|
2050 | esac |
---|
2051 | else |
---|
2052 | BARE_CPU_MODEL="" |
---|
2053 | fi; |
---|
2054 | |
---|
2055 | |
---|
2056 | |
---|
2057 | |
---|
2058 | |
---|
2059 | |
---|
2060 | if false; then |
---|
2061 | MULTILIB_TRUE= |
---|
2062 | MULTILIB_FALSE='#' |
---|
2063 | else |
---|
2064 | MULTILIB_TRUE='#' |
---|
2065 | MULTILIB_FALSE= |
---|
2066 | fi |
---|
2067 | |
---|
2068 | |
---|
2069 | includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include" |
---|
2070 | libdir="\${exec_prefix}/${RTEMS_BSP}/lib" |
---|
2071 | |
---|
2072 | bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib" |
---|
2073 | |
---|
2074 | |
---|
2075 | |
---|
2076 | |
---|
2077 | |
---|
2078 | |
---|
2079 | echo "$as_me:$LINENO: checking for make/custom/$RTEMS_BSP.cfg" >&5 |
---|
2080 | echo $ECHO_N "checking for make/custom/$RTEMS_BSP.cfg... $ECHO_C" >&6 |
---|
2081 | if test -r "$srcdir/$RTEMS_TOPdir/make/custom/$RTEMS_BSP.cfg"; then |
---|
2082 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
2083 | echo "${ECHO_T}yes" >&6 |
---|
2084 | else |
---|
2085 | { { echo "$as_me:$LINENO: error: no" >&5 |
---|
2086 | echo "$as_me: error: no" >&2;} |
---|
2087 | { (exit 1); exit 1; }; } |
---|
2088 | fi |
---|
2089 | |
---|
2090 | |
---|
2091 | |
---|
2092 | |
---|
2093 | RTEMS_HOST=$host_os |
---|
2094 | case "${target}" in |
---|
2095 | # hpux unix port should go here |
---|
2096 | i[34567]86-*linux*) # unix "simulator" port |
---|
2097 | RTEMS_HOST=Linux |
---|
2098 | ;; |
---|
2099 | i[34567]86-*freebsd*) # unix "simulator" port |
---|
2100 | RTEMS_HOST=FreeBSD |
---|
2101 | ;; |
---|
2102 | i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :) |
---|
2103 | RTEMS_HOST=Cygwin |
---|
2104 | ;; |
---|
2105 | sparc-sun-solaris*) # unix "simulator" port |
---|
2106 | RTEMS_HOST=Solaris |
---|
2107 | ;; |
---|
2108 | *) |
---|
2109 | ;; |
---|
2110 | esac |
---|
2111 | |
---|
2112 | |
---|
2113 | ac_config_headers="$ac_config_headers include/bspopts.tmp:include/bspopts.h.in" |
---|
2114 | |
---|
2115 | |
---|
2116 | |
---|
2117 | PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex" |
---|
2118 | |
---|
2119 | |
---|
2120 | |
---|
2121 | |
---|
2122 | echo "$as_me:$LINENO: checking if wanting multiprocessing" >&5 |
---|
2123 | echo $ECHO_N "checking if wanting multiprocessing... $ECHO_C" >&6 |
---|
2124 | if test "${rtems_cv_want_multiprocessing+set}" = set; then |
---|
2125 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2126 | else |
---|
2127 | |
---|
2128 | if test x"$multilib" = x"no"; then |
---|
2129 | # no cpukit |
---|
2130 | rtems_cv_want_multiprocessing="$enable_multiprocessing" |
---|
2131 | |
---|
2132 | else |
---|
2133 | |
---|
2134 | #HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead |
---|
2135 | rtems_cv_want_multiprocessing="$enable_multiprocessing" |
---|
2136 | |
---|
2137 | fi |
---|
2138 | |
---|
2139 | |
---|
2140 | fi |
---|
2141 | echo "$as_me:$LINENO: result: $rtems_cv_want_multiprocessing" >&5 |
---|
2142 | echo "${ECHO_T}$rtems_cv_want_multiprocessing" >&6 |
---|
2143 | |
---|
2144 | if test "$rtems_cv_want_multiprocessing" = "yes"; then |
---|
2145 | |
---|
2146 | echo "$as_me:$LINENO: checking whether BSP supports multiprocessing" >&5 |
---|
2147 | echo $ECHO_N "checking whether BSP supports multiprocessing... $ECHO_C" >&6 |
---|
2148 | if test "${rtems_cv_HAS_MP+set}" = set; then |
---|
2149 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2150 | else |
---|
2151 | |
---|
2152 | if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then |
---|
2153 | rtems_cv_HAS_MP="yes" ; |
---|
2154 | else |
---|
2155 | rtems_cv_HAS_MP="no"; |
---|
2156 | fi |
---|
2157 | |
---|
2158 | fi |
---|
2159 | echo "$as_me:$LINENO: result: $rtems_cv_HAS_MP" >&5 |
---|
2160 | echo "${ECHO_T}$rtems_cv_HAS_MP" >&6 |
---|
2161 | if test $rtems_cv_HAS_MP = "no"; then |
---|
2162 | { { echo "$as_me:$LINENO: error: multiprocessing requested but not supported" >&5 |
---|
2163 | echo "$as_me: error: multiprocessing requested but not supported" >&2;} |
---|
2164 | { (exit 1); exit 1; }; } |
---|
2165 | fi |
---|
2166 | |
---|
2167 | else |
---|
2168 | rtems_cv_HAS_MP="no"; |
---|
2169 | fi |
---|
2170 | |
---|
2171 | |
---|
2172 | HAS_MP=$rtems_cv_HAS_MP |
---|
2173 | |
---|
2174 | |
---|
2175 | |
---|
2176 | |
---|
2177 | rm -f .deps 2>/dev/null |
---|
2178 | mkdir .deps 2>/dev/null |
---|
2179 | if test -d .deps; then |
---|
2180 | DEPDIR=.deps |
---|
2181 | else |
---|
2182 | # MS-DOS does not allow filenames that begin with a dot. |
---|
2183 | DEPDIR=_deps |
---|
2184 | fi |
---|
2185 | rmdir .deps 2>/dev/null |
---|
2186 | |
---|
2187 | |
---|
2188 | ac_config_commands="$ac_config_commands depfiles" |
---|
2189 | |
---|
2190 | |
---|
2191 | am_make=${MAKE-make} |
---|
2192 | cat > confinc << 'END' |
---|
2193 | doit: |
---|
2194 | @echo done |
---|
2195 | END |
---|
2196 | # If we don't find an include directive, just comment out the code. |
---|
2197 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
---|
2198 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
---|
2199 | am__include="#" |
---|
2200 | am__quote= |
---|
2201 | _am_result=none |
---|
2202 | # First try GNU make style include. |
---|
2203 | echo "include confinc" > confmf |
---|
2204 | # We grep out `Entering directory' and `Leaving directory' |
---|
2205 | # messages which can occur if `w' ends up in MAKEFLAGS. |
---|
2206 | # In particular we don't look at `^make:' because GNU make might |
---|
2207 | # be invoked under some other name (usually "gmake"), in which |
---|
2208 | # case it prints its new name instead of `make'. |
---|
2209 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
---|
2210 | am__include=include |
---|
2211 | am__quote= |
---|
2212 | _am_result=GNU |
---|
2213 | fi |
---|
2214 | # Now try BSD make style include. |
---|
2215 | if test "$am__include" = "#"; then |
---|
2216 | echo '.include "confinc"' > confmf |
---|
2217 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
---|
2218 | am__include=.include |
---|
2219 | am__quote="\"" |
---|
2220 | _am_result=BSD |
---|
2221 | fi |
---|
2222 | fi |
---|
2223 | |
---|
2224 | |
---|
2225 | echo "$as_me:$LINENO: result: $_am_result" >&5 |
---|
2226 | echo "${ECHO_T}$_am_result" >&6 |
---|
2227 | rm -f confinc confmf |
---|
2228 | |
---|
2229 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
---|
2230 | if test "${enable_dependency_tracking+set}" = set; then |
---|
2231 | enableval="$enable_dependency_tracking" |
---|
2232 | |
---|
2233 | fi; |
---|
2234 | if test "x$enable_dependency_tracking" != xno; then |
---|
2235 | am_depcomp="$ac_aux_dir/depcomp" |
---|
2236 | AMDEPBACKSLASH='\' |
---|
2237 | fi |
---|
2238 | |
---|
2239 | |
---|
2240 | if test "x$enable_dependency_tracking" != xno; then |
---|
2241 | AMDEP_TRUE= |
---|
2242 | AMDEP_FALSE='#' |
---|
2243 | else |
---|
2244 | AMDEP_TRUE='#' |
---|
2245 | AMDEP_FALSE= |
---|
2246 | fi |
---|
2247 | |
---|
2248 | |
---|
2249 | |
---|
2250 | |
---|
2251 | |
---|
2252 | |
---|
2253 | |
---|
2254 | if test -n "${CFLAGS}"; then |
---|
2255 | RTEMS_CFLAGS=${CFLAGS} |
---|
2256 | else |
---|
2257 | RTEMS_CFLAGS="\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g" |
---|
2258 | fi |
---|
2259 | |
---|
2260 | |
---|
2261 | |
---|
2262 | |
---|
2263 | |
---|
2264 | if test "x$build_alias" != "x$host_alias"; then |
---|
2265 | rtems_tool_prefix=${ac_tool_prefix} |
---|
2266 | fi |
---|
2267 | |
---|
2268 | # Extract the first word of "${rtems_tool_prefix}gcc", so it can be a program name with args. |
---|
2269 | set dummy ${rtems_tool_prefix}gcc; ac_word=$2 |
---|
2270 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2271 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2272 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2273 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2274 | else |
---|
2275 | if test -n "$CC"; then |
---|
2276 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2277 | else |
---|
2278 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2279 | for as_dir in $PATH |
---|
2280 | do |
---|
2281 | IFS=$as_save_IFS |
---|
2282 | test -z "$as_dir" && as_dir=. |
---|
2283 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2284 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2285 | ac_cv_prog_CC="${rtems_tool_prefix}gcc" |
---|
2286 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2287 | break 2 |
---|
2288 | fi |
---|
2289 | done |
---|
2290 | done |
---|
2291 | |
---|
2292 | fi |
---|
2293 | fi |
---|
2294 | CC=$ac_cv_prog_CC |
---|
2295 | if test -n "$CC"; then |
---|
2296 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2297 | echo "${ECHO_T}$CC" >&6 |
---|
2298 | else |
---|
2299 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2300 | echo "${ECHO_T}no" >&6 |
---|
2301 | fi |
---|
2302 | |
---|
2303 | |
---|
2304 | test -z "$CC" && \ |
---|
2305 | { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5 |
---|
2306 | echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
---|
2307 | { (exit 1); exit 1; }; } |
---|
2308 | ac_ext=c |
---|
2309 | ac_cpp='$CPP $CPPFLAGS' |
---|
2310 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2311 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2312 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2313 | if test -n "$ac_tool_prefix"; then |
---|
2314 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
2315 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
2316 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2317 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2318 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2319 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2320 | else |
---|
2321 | if test -n "$CC"; then |
---|
2322 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2323 | else |
---|
2324 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2325 | for as_dir in $PATH |
---|
2326 | do |
---|
2327 | IFS=$as_save_IFS |
---|
2328 | test -z "$as_dir" && as_dir=. |
---|
2329 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2330 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2331 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
2332 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2333 | break 2 |
---|
2334 | fi |
---|
2335 | done |
---|
2336 | done |
---|
2337 | |
---|
2338 | fi |
---|
2339 | fi |
---|
2340 | CC=$ac_cv_prog_CC |
---|
2341 | if test -n "$CC"; then |
---|
2342 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2343 | echo "${ECHO_T}$CC" >&6 |
---|
2344 | else |
---|
2345 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2346 | echo "${ECHO_T}no" >&6 |
---|
2347 | fi |
---|
2348 | |
---|
2349 | fi |
---|
2350 | if test -z "$ac_cv_prog_CC"; then |
---|
2351 | ac_ct_CC=$CC |
---|
2352 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
2353 | set dummy gcc; ac_word=$2 |
---|
2354 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2355 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2356 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2357 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2358 | else |
---|
2359 | if test -n "$ac_ct_CC"; then |
---|
2360 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2361 | else |
---|
2362 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2363 | for as_dir in $PATH |
---|
2364 | do |
---|
2365 | IFS=$as_save_IFS |
---|
2366 | test -z "$as_dir" && as_dir=. |
---|
2367 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2368 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2369 | ac_cv_prog_ac_ct_CC="gcc" |
---|
2370 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2371 | break 2 |
---|
2372 | fi |
---|
2373 | done |
---|
2374 | done |
---|
2375 | |
---|
2376 | fi |
---|
2377 | fi |
---|
2378 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2379 | if test -n "$ac_ct_CC"; then |
---|
2380 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2381 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2382 | else |
---|
2383 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2384 | echo "${ECHO_T}no" >&6 |
---|
2385 | fi |
---|
2386 | |
---|
2387 | CC=$ac_ct_CC |
---|
2388 | else |
---|
2389 | CC="$ac_cv_prog_CC" |
---|
2390 | fi |
---|
2391 | |
---|
2392 | if test -z "$CC"; then |
---|
2393 | if test -n "$ac_tool_prefix"; then |
---|
2394 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
2395 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
2396 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2397 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2398 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2399 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2400 | else |
---|
2401 | if test -n "$CC"; then |
---|
2402 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2403 | else |
---|
2404 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2405 | for as_dir in $PATH |
---|
2406 | do |
---|
2407 | IFS=$as_save_IFS |
---|
2408 | test -z "$as_dir" && as_dir=. |
---|
2409 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2410 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2411 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
2412 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2413 | break 2 |
---|
2414 | fi |
---|
2415 | done |
---|
2416 | done |
---|
2417 | |
---|
2418 | fi |
---|
2419 | fi |
---|
2420 | CC=$ac_cv_prog_CC |
---|
2421 | if test -n "$CC"; then |
---|
2422 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2423 | echo "${ECHO_T}$CC" >&6 |
---|
2424 | else |
---|
2425 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2426 | echo "${ECHO_T}no" >&6 |
---|
2427 | fi |
---|
2428 | |
---|
2429 | fi |
---|
2430 | if test -z "$ac_cv_prog_CC"; then |
---|
2431 | ac_ct_CC=$CC |
---|
2432 | # Extract the first word of "cc", so it can be a program name with args. |
---|
2433 | set dummy cc; ac_word=$2 |
---|
2434 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2435 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2436 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2437 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2438 | else |
---|
2439 | if test -n "$ac_ct_CC"; then |
---|
2440 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2441 | else |
---|
2442 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2443 | for as_dir in $PATH |
---|
2444 | do |
---|
2445 | IFS=$as_save_IFS |
---|
2446 | test -z "$as_dir" && as_dir=. |
---|
2447 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2448 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2449 | ac_cv_prog_ac_ct_CC="cc" |
---|
2450 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2451 | break 2 |
---|
2452 | fi |
---|
2453 | done |
---|
2454 | done |
---|
2455 | |
---|
2456 | fi |
---|
2457 | fi |
---|
2458 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2459 | if test -n "$ac_ct_CC"; then |
---|
2460 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2461 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2462 | else |
---|
2463 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2464 | echo "${ECHO_T}no" >&6 |
---|
2465 | fi |
---|
2466 | |
---|
2467 | CC=$ac_ct_CC |
---|
2468 | else |
---|
2469 | CC="$ac_cv_prog_CC" |
---|
2470 | fi |
---|
2471 | |
---|
2472 | fi |
---|
2473 | if test -z "$CC"; then |
---|
2474 | # Extract the first word of "cc", so it can be a program name with args. |
---|
2475 | set dummy cc; ac_word=$2 |
---|
2476 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2477 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2478 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2479 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2480 | else |
---|
2481 | if test -n "$CC"; then |
---|
2482 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2483 | else |
---|
2484 | ac_prog_rejected=no |
---|
2485 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2486 | for as_dir in $PATH |
---|
2487 | do |
---|
2488 | IFS=$as_save_IFS |
---|
2489 | test -z "$as_dir" && as_dir=. |
---|
2490 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2491 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2492 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
2493 | ac_prog_rejected=yes |
---|
2494 | continue |
---|
2495 | fi |
---|
2496 | ac_cv_prog_CC="cc" |
---|
2497 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2498 | break 2 |
---|
2499 | fi |
---|
2500 | done |
---|
2501 | done |
---|
2502 | |
---|
2503 | if test $ac_prog_rejected = yes; then |
---|
2504 | # We found a bogon in the path, so make sure we never use it. |
---|
2505 | set dummy $ac_cv_prog_CC |
---|
2506 | shift |
---|
2507 | if test $# != 0; then |
---|
2508 | # We chose a different compiler from the bogus one. |
---|
2509 | # However, it has the same basename, so the bogon will be chosen |
---|
2510 | # first if we set CC to just the basename; use the full file name. |
---|
2511 | shift |
---|
2512 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
2513 | fi |
---|
2514 | fi |
---|
2515 | fi |
---|
2516 | fi |
---|
2517 | CC=$ac_cv_prog_CC |
---|
2518 | if test -n "$CC"; then |
---|
2519 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2520 | echo "${ECHO_T}$CC" >&6 |
---|
2521 | else |
---|
2522 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2523 | echo "${ECHO_T}no" >&6 |
---|
2524 | fi |
---|
2525 | |
---|
2526 | fi |
---|
2527 | if test -z "$CC"; then |
---|
2528 | if test -n "$ac_tool_prefix"; then |
---|
2529 | for ac_prog in cl |
---|
2530 | do |
---|
2531 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
2532 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
2533 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2534 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2535 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
2536 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2537 | else |
---|
2538 | if test -n "$CC"; then |
---|
2539 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
2540 | else |
---|
2541 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2542 | for as_dir in $PATH |
---|
2543 | do |
---|
2544 | IFS=$as_save_IFS |
---|
2545 | test -z "$as_dir" && as_dir=. |
---|
2546 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2547 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2548 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
2549 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2550 | break 2 |
---|
2551 | fi |
---|
2552 | done |
---|
2553 | done |
---|
2554 | |
---|
2555 | fi |
---|
2556 | fi |
---|
2557 | CC=$ac_cv_prog_CC |
---|
2558 | if test -n "$CC"; then |
---|
2559 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2560 | echo "${ECHO_T}$CC" >&6 |
---|
2561 | else |
---|
2562 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2563 | echo "${ECHO_T}no" >&6 |
---|
2564 | fi |
---|
2565 | |
---|
2566 | test -n "$CC" && break |
---|
2567 | done |
---|
2568 | fi |
---|
2569 | if test -z "$CC"; then |
---|
2570 | ac_ct_CC=$CC |
---|
2571 | for ac_prog in cl |
---|
2572 | do |
---|
2573 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2574 | set dummy $ac_prog; ac_word=$2 |
---|
2575 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2576 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2577 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2578 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2579 | else |
---|
2580 | if test -n "$ac_ct_CC"; then |
---|
2581 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2582 | else |
---|
2583 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2584 | for as_dir in $PATH |
---|
2585 | do |
---|
2586 | IFS=$as_save_IFS |
---|
2587 | test -z "$as_dir" && as_dir=. |
---|
2588 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2589 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2590 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
2591 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2592 | break 2 |
---|
2593 | fi |
---|
2594 | done |
---|
2595 | done |
---|
2596 | |
---|
2597 | fi |
---|
2598 | fi |
---|
2599 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2600 | if test -n "$ac_ct_CC"; then |
---|
2601 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2602 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
2603 | else |
---|
2604 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2605 | echo "${ECHO_T}no" >&6 |
---|
2606 | fi |
---|
2607 | |
---|
2608 | test -n "$ac_ct_CC" && break |
---|
2609 | done |
---|
2610 | |
---|
2611 | CC=$ac_ct_CC |
---|
2612 | fi |
---|
2613 | |
---|
2614 | fi |
---|
2615 | |
---|
2616 | |
---|
2617 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
2618 | See \`config.log' for more details." >&5 |
---|
2619 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
2620 | See \`config.log' for more details." >&2;} |
---|
2621 | { (exit 1); exit 1; }; } |
---|
2622 | |
---|
2623 | # Provide some information about the compiler. |
---|
2624 | echo "$as_me:$LINENO:" \ |
---|
2625 | "checking for C compiler version" >&5 |
---|
2626 | ac_compiler=`set X $ac_compile; echo $2` |
---|
2627 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
---|
2628 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
---|
2629 | ac_status=$? |
---|
2630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2631 | (exit $ac_status); } |
---|
2632 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
---|
2633 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
---|
2634 | ac_status=$? |
---|
2635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2636 | (exit $ac_status); } |
---|
2637 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
---|
2638 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
---|
2639 | ac_status=$? |
---|
2640 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2641 | (exit $ac_status); } |
---|
2642 | |
---|
2643 | cat >conftest.$ac_ext <<_ACEOF |
---|
2644 | #line $LINENO "configure" |
---|
2645 | /* confdefs.h. */ |
---|
2646 | _ACEOF |
---|
2647 | cat confdefs.h >>conftest.$ac_ext |
---|
2648 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2649 | /* end confdefs.h. */ |
---|
2650 | |
---|
2651 | int |
---|
2652 | main () |
---|
2653 | { |
---|
2654 | |
---|
2655 | ; |
---|
2656 | return 0; |
---|
2657 | } |
---|
2658 | _ACEOF |
---|
2659 | ac_clean_files_save=$ac_clean_files |
---|
2660 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
2661 | # Try to create an executable without -o first, disregard a.out. |
---|
2662 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
2663 | # of exeext. |
---|
2664 | echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
---|
2665 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
---|
2666 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
2667 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
---|
2668 | (eval $ac_link_default) 2>&5 |
---|
2669 | ac_status=$? |
---|
2670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2671 | (exit $ac_status); }; then |
---|
2672 | # Find the output, starting from the most likely. This scheme is |
---|
2673 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
---|
2674 | # resort. |
---|
2675 | |
---|
2676 | # Be careful to initialize this variable, since it used to be cached. |
---|
2677 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
---|
2678 | ac_cv_exeext= |
---|
2679 | # b.out is created by i960 compilers. |
---|
2680 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
---|
2681 | do |
---|
2682 | test -f "$ac_file" || continue |
---|
2683 | case $ac_file in |
---|
2684 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
---|
2685 | ;; |
---|
2686 | conftest.$ac_ext ) |
---|
2687 | # This is the source file. |
---|
2688 | ;; |
---|
2689 | [ab].out ) |
---|
2690 | # We found the default executable, but exeext='' is most |
---|
2691 | # certainly right. |
---|
2692 | break;; |
---|
2693 | *.* ) |
---|
2694 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2695 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
---|
2696 | # but it would be cool to find out if it's true. Does anybody |
---|
2697 | # maintain Libtool? --akim. |
---|
2698 | export ac_cv_exeext |
---|
2699 | break;; |
---|
2700 | * ) |
---|
2701 | break;; |
---|
2702 | esac |
---|
2703 | done |
---|
2704 | else |
---|
2705 | echo "$as_me: failed program was:" >&5 |
---|
2706 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2707 | |
---|
2708 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
2709 | See \`config.log' for more details." >&5 |
---|
2710 | echo "$as_me: error: C compiler cannot create executables |
---|
2711 | See \`config.log' for more details." >&2;} |
---|
2712 | { (exit 77); exit 77; }; } |
---|
2713 | fi |
---|
2714 | |
---|
2715 | ac_exeext=$ac_cv_exeext |
---|
2716 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
2717 | echo "${ECHO_T}$ac_file" >&6 |
---|
2718 | |
---|
2719 | # Check the compiler produces executables we can run. If not, either |
---|
2720 | # the compiler is broken, or we cross compile. |
---|
2721 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
2722 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
---|
2723 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
2724 | # If not cross compiling, check that we can run a simple program. |
---|
2725 | if test "$cross_compiling" != yes; then |
---|
2726 | if { ac_try='./$ac_file' |
---|
2727 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2728 | (eval $ac_try) 2>&5 |
---|
2729 | ac_status=$? |
---|
2730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2731 | (exit $ac_status); }; }; then |
---|
2732 | cross_compiling=no |
---|
2733 | else |
---|
2734 | if test "$cross_compiling" = maybe; then |
---|
2735 | cross_compiling=yes |
---|
2736 | else |
---|
2737 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
2738 | If you meant to cross compile, use \`--host'. |
---|
2739 | See \`config.log' for more details." >&5 |
---|
2740 | echo "$as_me: error: cannot run C compiled programs. |
---|
2741 | If you meant to cross compile, use \`--host'. |
---|
2742 | See \`config.log' for more details." >&2;} |
---|
2743 | { (exit 1); exit 1; }; } |
---|
2744 | fi |
---|
2745 | fi |
---|
2746 | fi |
---|
2747 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
2748 | echo "${ECHO_T}yes" >&6 |
---|
2749 | |
---|
2750 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
2751 | ac_clean_files=$ac_clean_files_save |
---|
2752 | # Check the compiler produces executables we can run. If not, either |
---|
2753 | # the compiler is broken, or we cross compile. |
---|
2754 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
2755 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
---|
2756 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
2757 | echo "${ECHO_T}$cross_compiling" >&6 |
---|
2758 | |
---|
2759 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
2760 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
---|
2761 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
2762 | (eval $ac_link) 2>&5 |
---|
2763 | ac_status=$? |
---|
2764 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2765 | (exit $ac_status); }; then |
---|
2766 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
2767 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
2768 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
2769 | # `rm'. |
---|
2770 | for ac_file in conftest.exe conftest conftest.*; do |
---|
2771 | test -f "$ac_file" || continue |
---|
2772 | case $ac_file in |
---|
2773 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
---|
2774 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2775 | export ac_cv_exeext |
---|
2776 | break;; |
---|
2777 | * ) break;; |
---|
2778 | esac |
---|
2779 | done |
---|
2780 | else |
---|
2781 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
2782 | See \`config.log' for more details." >&5 |
---|
2783 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
2784 | See \`config.log' for more details." >&2;} |
---|
2785 | { (exit 1); exit 1; }; } |
---|
2786 | fi |
---|
2787 | |
---|
2788 | rm -f conftest$ac_cv_exeext |
---|
2789 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
2790 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
---|
2791 | |
---|
2792 | rm -f conftest.$ac_ext |
---|
2793 | EXEEXT=$ac_cv_exeext |
---|
2794 | ac_exeext=$EXEEXT |
---|
2795 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
2796 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
---|
2797 | if test "${ac_cv_objext+set}" = set; then |
---|
2798 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2799 | else |
---|
2800 | cat >conftest.$ac_ext <<_ACEOF |
---|
2801 | #line $LINENO "configure" |
---|
2802 | /* confdefs.h. */ |
---|
2803 | _ACEOF |
---|
2804 | cat confdefs.h >>conftest.$ac_ext |
---|
2805 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2806 | /* end confdefs.h. */ |
---|
2807 | |
---|
2808 | int |
---|
2809 | main () |
---|
2810 | { |
---|
2811 | |
---|
2812 | ; |
---|
2813 | return 0; |
---|
2814 | } |
---|
2815 | _ACEOF |
---|
2816 | rm -f conftest.o conftest.obj |
---|
2817 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2818 | (eval $ac_compile) 2>&5 |
---|
2819 | ac_status=$? |
---|
2820 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2821 | (exit $ac_status); }; then |
---|
2822 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
---|
2823 | case $ac_file in |
---|
2824 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
---|
2825 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
2826 | break;; |
---|
2827 | esac |
---|
2828 | done |
---|
2829 | else |
---|
2830 | echo "$as_me: failed program was:" >&5 |
---|
2831 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2832 | |
---|
2833 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
2834 | See \`config.log' for more details." >&5 |
---|
2835 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
2836 | See \`config.log' for more details." >&2;} |
---|
2837 | { (exit 1); exit 1; }; } |
---|
2838 | fi |
---|
2839 | |
---|
2840 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
2841 | fi |
---|
2842 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
2843 | echo "${ECHO_T}$ac_cv_objext" >&6 |
---|
2844 | OBJEXT=$ac_cv_objext |
---|
2845 | ac_objext=$OBJEXT |
---|
2846 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
2847 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
---|
2848 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
2849 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2850 | else |
---|
2851 | cat >conftest.$ac_ext <<_ACEOF |
---|
2852 | #line $LINENO "configure" |
---|
2853 | /* confdefs.h. */ |
---|
2854 | _ACEOF |
---|
2855 | cat confdefs.h >>conftest.$ac_ext |
---|
2856 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2857 | /* end confdefs.h. */ |
---|
2858 | |
---|
2859 | int |
---|
2860 | main () |
---|
2861 | { |
---|
2862 | #ifndef __GNUC__ |
---|
2863 | choke me |
---|
2864 | #endif |
---|
2865 | |
---|
2866 | ; |
---|
2867 | return 0; |
---|
2868 | } |
---|
2869 | _ACEOF |
---|
2870 | rm -f conftest.$ac_objext |
---|
2871 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2872 | (eval $ac_compile) 2>&5 |
---|
2873 | ac_status=$? |
---|
2874 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2875 | (exit $ac_status); } && |
---|
2876 | { ac_try='test -s conftest.$ac_objext' |
---|
2877 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2878 | (eval $ac_try) 2>&5 |
---|
2879 | ac_status=$? |
---|
2880 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2881 | (exit $ac_status); }; }; then |
---|
2882 | ac_compiler_gnu=yes |
---|
2883 | else |
---|
2884 | echo "$as_me: failed program was:" >&5 |
---|
2885 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2886 | |
---|
2887 | ac_compiler_gnu=no |
---|
2888 | fi |
---|
2889 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
2890 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
2891 | |
---|
2892 | fi |
---|
2893 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
2894 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
---|
2895 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
2896 | ac_test_CFLAGS=${CFLAGS+set} |
---|
2897 | ac_save_CFLAGS=$CFLAGS |
---|
2898 | CFLAGS="-g" |
---|
2899 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
2900 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
---|
2901 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
2902 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2903 | else |
---|
2904 | cat >conftest.$ac_ext <<_ACEOF |
---|
2905 | #line $LINENO "configure" |
---|
2906 | /* confdefs.h. */ |
---|
2907 | _ACEOF |
---|
2908 | cat confdefs.h >>conftest.$ac_ext |
---|
2909 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2910 | /* end confdefs.h. */ |
---|
2911 | |
---|
2912 | int |
---|
2913 | main () |
---|
2914 | { |
---|
2915 | |
---|
2916 | ; |
---|
2917 | return 0; |
---|
2918 | } |
---|
2919 | _ACEOF |
---|
2920 | rm -f conftest.$ac_objext |
---|
2921 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2922 | (eval $ac_compile) 2>&5 |
---|
2923 | ac_status=$? |
---|
2924 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2925 | (exit $ac_status); } && |
---|
2926 | { ac_try='test -s conftest.$ac_objext' |
---|
2927 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2928 | (eval $ac_try) 2>&5 |
---|
2929 | ac_status=$? |
---|
2930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2931 | (exit $ac_status); }; }; then |
---|
2932 | ac_cv_prog_cc_g=yes |
---|
2933 | else |
---|
2934 | echo "$as_me: failed program was:" >&5 |
---|
2935 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2936 | |
---|
2937 | ac_cv_prog_cc_g=no |
---|
2938 | fi |
---|
2939 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
2940 | fi |
---|
2941 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
2942 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
---|
2943 | if test "$ac_test_CFLAGS" = set; then |
---|
2944 | CFLAGS=$ac_save_CFLAGS |
---|
2945 | elif test $ac_cv_prog_cc_g = yes; then |
---|
2946 | if test "$GCC" = yes; then |
---|
2947 | CFLAGS="-g -O2" |
---|
2948 | else |
---|
2949 | CFLAGS="-g" |
---|
2950 | fi |
---|
2951 | else |
---|
2952 | if test "$GCC" = yes; then |
---|
2953 | CFLAGS="-O2" |
---|
2954 | else |
---|
2955 | CFLAGS= |
---|
2956 | fi |
---|
2957 | fi |
---|
2958 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
---|
2959 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
---|
2960 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
---|
2961 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2962 | else |
---|
2963 | ac_cv_prog_cc_stdc=no |
---|
2964 | ac_save_CC=$CC |
---|
2965 | cat >conftest.$ac_ext <<_ACEOF |
---|
2966 | #line $LINENO "configure" |
---|
2967 | /* confdefs.h. */ |
---|
2968 | _ACEOF |
---|
2969 | cat confdefs.h >>conftest.$ac_ext |
---|
2970 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2971 | /* end confdefs.h. */ |
---|
2972 | #include <stdarg.h> |
---|
2973 | #include <stdio.h> |
---|
2974 | #include <sys/types.h> |
---|
2975 | #include <sys/stat.h> |
---|
2976 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
2977 | struct buf { int x; }; |
---|
2978 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
2979 | static char *e (p, i) |
---|
2980 | char **p; |
---|
2981 | int i; |
---|
2982 | { |
---|
2983 | return p[i]; |
---|
2984 | } |
---|
2985 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
2986 | { |
---|
2987 | char *s; |
---|
2988 | va_list v; |
---|
2989 | va_start (v,p); |
---|
2990 | s = g (p, va_arg (v,int)); |
---|
2991 | va_end (v); |
---|
2992 | return s; |
---|
2993 | } |
---|
2994 | int test (int i, double x); |
---|
2995 | struct s1 {int (*f) (int a);}; |
---|
2996 | struct s2 {int (*f) (double a);}; |
---|
2997 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
2998 | int argc; |
---|
2999 | char **argv; |
---|
3000 | int |
---|
3001 | main () |
---|
3002 | { |
---|
3003 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
3004 | ; |
---|
3005 | return 0; |
---|
3006 | } |
---|
3007 | _ACEOF |
---|
3008 | # Don't try gcc -ansi; that turns off useful extensions and |
---|
3009 | # breaks some systems' header files. |
---|
3010 | # AIX -qlanglvl=ansi |
---|
3011 | # Ultrix and OSF/1 -std1 |
---|
3012 | # HP-UX 10.20 and later -Ae |
---|
3013 | # HP-UX older versions -Aa -D_HPUX_SOURCE |
---|
3014 | # SVR4 -Xc -D__EXTENSIONS__ |
---|
3015 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
3016 | do |
---|
3017 | CC="$ac_save_CC $ac_arg" |
---|
3018 | rm -f conftest.$ac_objext |
---|
3019 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3020 | (eval $ac_compile) 2>&5 |
---|
3021 | ac_status=$? |
---|
3022 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3023 | (exit $ac_status); } && |
---|
3024 | { ac_try='test -s conftest.$ac_objext' |
---|
3025 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3026 | (eval $ac_try) 2>&5 |
---|
3027 | ac_status=$? |
---|
3028 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3029 | (exit $ac_status); }; }; then |
---|
3030 | ac_cv_prog_cc_stdc=$ac_arg |
---|
3031 | break |
---|
3032 | else |
---|
3033 | echo "$as_me: failed program was:" >&5 |
---|
3034 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3035 | |
---|
3036 | fi |
---|
3037 | rm -f conftest.$ac_objext |
---|
3038 | done |
---|
3039 | rm -f conftest.$ac_ext conftest.$ac_objext |
---|
3040 | CC=$ac_save_CC |
---|
3041 | |
---|
3042 | fi |
---|
3043 | |
---|
3044 | case "x$ac_cv_prog_cc_stdc" in |
---|
3045 | x|xno) |
---|
3046 | echo "$as_me:$LINENO: result: none needed" >&5 |
---|
3047 | echo "${ECHO_T}none needed" >&6 ;; |
---|
3048 | *) |
---|
3049 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
---|
3050 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
---|
3051 | CC="$CC $ac_cv_prog_cc_stdc" ;; |
---|
3052 | esac |
---|
3053 | |
---|
3054 | # Some people use a C++ compiler to compile C. Since we use `exit', |
---|
3055 | # in C++ we need to declare it. In case someone uses the same compiler |
---|
3056 | # for both compiling C and C++ we need to have the C++ compiler decide |
---|
3057 | # the declaration of exit, since it's the most demanding environment. |
---|
3058 | cat >conftest.$ac_ext <<_ACEOF |
---|
3059 | #ifndef __cplusplus |
---|
3060 | choke me |
---|
3061 | #endif |
---|
3062 | _ACEOF |
---|
3063 | rm -f conftest.$ac_objext |
---|
3064 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3065 | (eval $ac_compile) 2>&5 |
---|
3066 | ac_status=$? |
---|
3067 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3068 | (exit $ac_status); } && |
---|
3069 | { ac_try='test -s conftest.$ac_objext' |
---|
3070 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3071 | (eval $ac_try) 2>&5 |
---|
3072 | ac_status=$? |
---|
3073 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3074 | (exit $ac_status); }; }; then |
---|
3075 | for ac_declaration in \ |
---|
3076 | ''\ |
---|
3077 | '#include <stdlib.h>' \ |
---|
3078 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
---|
3079 | 'extern "C" void std::exit (int); using std::exit;' \ |
---|
3080 | 'extern "C" void exit (int) throw ();' \ |
---|
3081 | 'extern "C" void exit (int);' \ |
---|
3082 | 'void exit (int);' |
---|
3083 | do |
---|
3084 | cat >conftest.$ac_ext <<_ACEOF |
---|
3085 | #line $LINENO "configure" |
---|
3086 | /* confdefs.h. */ |
---|
3087 | _ACEOF |
---|
3088 | cat confdefs.h >>conftest.$ac_ext |
---|
3089 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3090 | /* end confdefs.h. */ |
---|
3091 | #include <stdlib.h> |
---|
3092 | $ac_declaration |
---|
3093 | int |
---|
3094 | main () |
---|
3095 | { |
---|
3096 | exit (42); |
---|
3097 | ; |
---|
3098 | return 0; |
---|
3099 | } |
---|
3100 | _ACEOF |
---|
3101 | rm -f conftest.$ac_objext |
---|
3102 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3103 | (eval $ac_compile) 2>&5 |
---|
3104 | ac_status=$? |
---|
3105 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3106 | (exit $ac_status); } && |
---|
3107 | { ac_try='test -s conftest.$ac_objext' |
---|
3108 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3109 | (eval $ac_try) 2>&5 |
---|
3110 | ac_status=$? |
---|
3111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3112 | (exit $ac_status); }; }; then |
---|
3113 | : |
---|
3114 | else |
---|
3115 | echo "$as_me: failed program was:" >&5 |
---|
3116 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3117 | |
---|
3118 | continue |
---|
3119 | fi |
---|
3120 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
3121 | cat >conftest.$ac_ext <<_ACEOF |
---|
3122 | #line $LINENO "configure" |
---|
3123 | /* confdefs.h. */ |
---|
3124 | _ACEOF |
---|
3125 | cat confdefs.h >>conftest.$ac_ext |
---|
3126 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3127 | /* end confdefs.h. */ |
---|
3128 | $ac_declaration |
---|
3129 | int |
---|
3130 | main () |
---|
3131 | { |
---|
3132 | exit (42); |
---|
3133 | ; |
---|
3134 | return 0; |
---|
3135 | } |
---|
3136 | _ACEOF |
---|
3137 | rm -f conftest.$ac_objext |
---|
3138 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
3139 | (eval $ac_compile) 2>&5 |
---|
3140 | ac_status=$? |
---|
3141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3142 | (exit $ac_status); } && |
---|
3143 | { ac_try='test -s conftest.$ac_objext' |
---|
3144 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
3145 | (eval $ac_try) 2>&5 |
---|
3146 | ac_status=$? |
---|
3147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3148 | (exit $ac_status); }; }; then |
---|
3149 | break |
---|
3150 | else |
---|
3151 | echo "$as_me: failed program was:" >&5 |
---|
3152 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3153 | |
---|
3154 | fi |
---|
3155 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
3156 | done |
---|
3157 | rm -f conftest* |
---|
3158 | if test -n "$ac_declaration"; then |
---|
3159 | echo '#ifdef __cplusplus' >>confdefs.h |
---|
3160 | echo $ac_declaration >>confdefs.h |
---|
3161 | echo '#endif' >>confdefs.h |
---|
3162 | fi |
---|
3163 | |
---|
3164 | else |
---|
3165 | echo "$as_me: failed program was:" >&5 |
---|
3166 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3167 | |
---|
3168 | fi |
---|
3169 | rm -f conftest.$ac_objext conftest.$ac_ext |
---|
3170 | ac_ext=c |
---|
3171 | ac_cpp='$CPP $CPPFLAGS' |
---|
3172 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3173 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3174 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3175 | |
---|
3176 | depcc="$CC" am_compiler_list= |
---|
3177 | |
---|
3178 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
---|
3179 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
---|
3180 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
---|
3181 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3182 | else |
---|
3183 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
3184 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
3185 | # making bogus files that we don't know about and never remove. For |
---|
3186 | # instance it was reported that on HP-UX the gcc test will end up |
---|
3187 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
3188 | # in D'. |
---|
3189 | mkdir conftest.dir |
---|
3190 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
3191 | # using a relative directory. |
---|
3192 | cp "$am_depcomp" conftest.dir |
---|
3193 | cd conftest.dir |
---|
3194 | |
---|
3195 | am_cv_CC_dependencies_compiler_type=none |
---|
3196 | if test "$am_compiler_list" = ""; then |
---|
3197 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
3198 | fi |
---|
3199 | for depmode in $am_compiler_list; do |
---|
3200 | # We need to recreate these files for each test, as the compiler may |
---|
3201 | # overwrite some of them when testing with obscure command lines. |
---|
3202 | # This happens at least with the AIX C compiler. |
---|
3203 | echo '#include "conftest.h"' > conftest.c |
---|
3204 | echo 'int i;' > conftest.h |
---|
3205 | echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
---|
3206 | |
---|
3207 | case $depmode in |
---|
3208 | nosideeffect) |
---|
3209 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
3210 | # only be used when explicitly requested |
---|
3211 | if test "x$enable_dependency_tracking" = xyes; then |
---|
3212 | continue |
---|
3213 | else |
---|
3214 | break |
---|
3215 | fi |
---|
3216 | ;; |
---|
3217 | none) break ;; |
---|
3218 | esac |
---|
3219 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
3220 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
3221 | # handle `-M -o', and we need to detect this. |
---|
3222 | if depmode=$depmode \ |
---|
3223 | source=conftest.c object=conftest.o \ |
---|
3224 | depfile=conftest.Po tmpdepfile=conftest.TPo \ |
---|
3225 | $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && |
---|
3226 | grep conftest.h conftest.Po > /dev/null 2>&1 && |
---|
3227 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
3228 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
3229 | break |
---|
3230 | fi |
---|
3231 | done |
---|
3232 | |
---|
3233 | cd .. |
---|
3234 | rm -rf conftest.dir |
---|
3235 | else |
---|
3236 | am_cv_CC_dependencies_compiler_type=none |
---|
3237 | fi |
---|
3238 | |
---|
3239 | fi |
---|
3240 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
3241 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
---|
3242 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
3243 | |
---|
3244 | |
---|
3245 | |
---|
3246 | if |
---|
3247 | test "x$enable_dependency_tracking" != xno \ |
---|
3248 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
3249 | am__fastdepCC_TRUE= |
---|
3250 | am__fastdepCC_FALSE='#' |
---|
3251 | else |
---|
3252 | am__fastdepCC_TRUE='#' |
---|
3253 | am__fastdepCC_FALSE= |
---|
3254 | fi |
---|
3255 | |
---|
3256 | |
---|
3257 | ac_ext=c |
---|
3258 | ac_cpp='$CPP $CPPFLAGS' |
---|
3259 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3260 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3261 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3262 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
3263 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
---|
3264 | # On Suns, sometimes $CPP names a directory. |
---|
3265 | if test -n "$CPP" && test -d "$CPP"; then |
---|
3266 | CPP= |
---|
3267 | fi |
---|
3268 | if test -z "$CPP"; then |
---|
3269 | if test "${ac_cv_prog_CPP+set}" = set; then |
---|
3270 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3271 | else |
---|
3272 | # Double quotes because CPP needs to be expanded |
---|
3273 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
3274 | do |
---|
3275 | ac_preproc_ok=false |
---|
3276 | for ac_c_preproc_warn_flag in '' yes |
---|
3277 | do |
---|
3278 | # Use a header file that comes with gcc, so configuring glibc |
---|
3279 | # with a fresh cross-compiler works. |
---|
3280 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3281 | # <limits.h> exists even on freestanding compilers. |
---|
3282 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3283 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3284 | cat >conftest.$ac_ext <<_ACEOF |
---|
3285 | #line $LINENO "configure" |
---|
3286 | /* confdefs.h. */ |
---|
3287 | _ACEOF |
---|
3288 | cat confdefs.h >>conftest.$ac_ext |
---|
3289 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3290 | /* end confdefs.h. */ |
---|
3291 | #ifdef __STDC__ |
---|
3292 | # include <limits.h> |
---|
3293 | #else |
---|
3294 | # include <assert.h> |
---|
3295 | #endif |
---|
3296 | Syntax error |
---|
3297 | _ACEOF |
---|
3298 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3299 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3300 | ac_status=$? |
---|
3301 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3302 | rm -f conftest.er1 |
---|
3303 | cat conftest.err >&5 |
---|
3304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3305 | (exit $ac_status); } >/dev/null; then |
---|
3306 | if test -s conftest.err; then |
---|
3307 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3308 | else |
---|
3309 | ac_cpp_err= |
---|
3310 | fi |
---|
3311 | else |
---|
3312 | ac_cpp_err=yes |
---|
3313 | fi |
---|
3314 | if test -z "$ac_cpp_err"; then |
---|
3315 | : |
---|
3316 | else |
---|
3317 | echo "$as_me: failed program was:" >&5 |
---|
3318 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3319 | |
---|
3320 | # Broken: fails on valid input. |
---|
3321 | continue |
---|
3322 | fi |
---|
3323 | rm -f conftest.err conftest.$ac_ext |
---|
3324 | |
---|
3325 | # OK, works on sane cases. Now check whether non-existent headers |
---|
3326 | # can be detected and how. |
---|
3327 | cat >conftest.$ac_ext <<_ACEOF |
---|
3328 | #line $LINENO "configure" |
---|
3329 | /* confdefs.h. */ |
---|
3330 | _ACEOF |
---|
3331 | cat confdefs.h >>conftest.$ac_ext |
---|
3332 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3333 | /* end confdefs.h. */ |
---|
3334 | #include <ac_nonexistent.h> |
---|
3335 | _ACEOF |
---|
3336 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3337 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3338 | ac_status=$? |
---|
3339 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3340 | rm -f conftest.er1 |
---|
3341 | cat conftest.err >&5 |
---|
3342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3343 | (exit $ac_status); } >/dev/null; then |
---|
3344 | if test -s conftest.err; then |
---|
3345 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3346 | else |
---|
3347 | ac_cpp_err= |
---|
3348 | fi |
---|
3349 | else |
---|
3350 | ac_cpp_err=yes |
---|
3351 | fi |
---|
3352 | if test -z "$ac_cpp_err"; then |
---|
3353 | # Broken: success on invalid input. |
---|
3354 | continue |
---|
3355 | else |
---|
3356 | echo "$as_me: failed program was:" >&5 |
---|
3357 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3358 | |
---|
3359 | # Passes both tests. |
---|
3360 | ac_preproc_ok=: |
---|
3361 | break |
---|
3362 | fi |
---|
3363 | rm -f conftest.err conftest.$ac_ext |
---|
3364 | |
---|
3365 | done |
---|
3366 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3367 | rm -f conftest.err conftest.$ac_ext |
---|
3368 | if $ac_preproc_ok; then |
---|
3369 | break |
---|
3370 | fi |
---|
3371 | |
---|
3372 | done |
---|
3373 | ac_cv_prog_CPP=$CPP |
---|
3374 | |
---|
3375 | fi |
---|
3376 | CPP=$ac_cv_prog_CPP |
---|
3377 | else |
---|
3378 | ac_cv_prog_CPP=$CPP |
---|
3379 | fi |
---|
3380 | echo "$as_me:$LINENO: result: $CPP" >&5 |
---|
3381 | echo "${ECHO_T}$CPP" >&6 |
---|
3382 | ac_preproc_ok=false |
---|
3383 | for ac_c_preproc_warn_flag in '' yes |
---|
3384 | do |
---|
3385 | # Use a header file that comes with gcc, so configuring glibc |
---|
3386 | # with a fresh cross-compiler works. |
---|
3387 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3388 | # <limits.h> exists even on freestanding compilers. |
---|
3389 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3390 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3391 | cat >conftest.$ac_ext <<_ACEOF |
---|
3392 | #line $LINENO "configure" |
---|
3393 | /* confdefs.h. */ |
---|
3394 | _ACEOF |
---|
3395 | cat confdefs.h >>conftest.$ac_ext |
---|
3396 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3397 | /* end confdefs.h. */ |
---|
3398 | #ifdef __STDC__ |
---|
3399 | # include <limits.h> |
---|
3400 | #else |
---|
3401 | # include <assert.h> |
---|
3402 | #endif |
---|
3403 | Syntax error |
---|
3404 | _ACEOF |
---|
3405 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3406 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3407 | ac_status=$? |
---|
3408 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3409 | rm -f conftest.er1 |
---|
3410 | cat conftest.err >&5 |
---|
3411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3412 | (exit $ac_status); } >/dev/null; then |
---|
3413 | if test -s conftest.err; then |
---|
3414 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3415 | else |
---|
3416 | ac_cpp_err= |
---|
3417 | fi |
---|
3418 | else |
---|
3419 | ac_cpp_err=yes |
---|
3420 | fi |
---|
3421 | if test -z "$ac_cpp_err"; then |
---|
3422 | : |
---|
3423 | else |
---|
3424 | echo "$as_me: failed program was:" >&5 |
---|
3425 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3426 | |
---|
3427 | # Broken: fails on valid input. |
---|
3428 | continue |
---|
3429 | fi |
---|
3430 | rm -f conftest.err conftest.$ac_ext |
---|
3431 | |
---|
3432 | # OK, works on sane cases. Now check whether non-existent headers |
---|
3433 | # can be detected and how. |
---|
3434 | cat >conftest.$ac_ext <<_ACEOF |
---|
3435 | #line $LINENO "configure" |
---|
3436 | /* confdefs.h. */ |
---|
3437 | _ACEOF |
---|
3438 | cat confdefs.h >>conftest.$ac_ext |
---|
3439 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3440 | /* end confdefs.h. */ |
---|
3441 | #include <ac_nonexistent.h> |
---|
3442 | _ACEOF |
---|
3443 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
---|
3444 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
---|
3445 | ac_status=$? |
---|
3446 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3447 | rm -f conftest.er1 |
---|
3448 | cat conftest.err >&5 |
---|
3449 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3450 | (exit $ac_status); } >/dev/null; then |
---|
3451 | if test -s conftest.err; then |
---|
3452 | ac_cpp_err=$ac_c_preproc_warn_flag |
---|
3453 | else |
---|
3454 | ac_cpp_err= |
---|
3455 | fi |
---|
3456 | else |
---|
3457 | ac_cpp_err=yes |
---|
3458 | fi |
---|
3459 | if test -z "$ac_cpp_err"; then |
---|
3460 | # Broken: success on invalid input. |
---|
3461 | continue |
---|
3462 | else |
---|
3463 | echo "$as_me: failed program was:" >&5 |
---|
3464 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3465 | |
---|
3466 | # Passes both tests. |
---|
3467 | ac_preproc_ok=: |
---|
3468 | break |
---|
3469 | fi |
---|
3470 | rm -f conftest.err conftest.$ac_ext |
---|
3471 | |
---|
3472 | done |
---|
3473 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3474 | rm -f conftest.err conftest.$ac_ext |
---|
3475 | if $ac_preproc_ok; then |
---|
3476 | : |
---|
3477 | else |
---|
3478 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
---|
3479 | See \`config.log' for more details." >&5 |
---|
3480 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
---|
3481 | See \`config.log' for more details." >&2;} |
---|
3482 | { (exit 1); exit 1; }; } |
---|
3483 | fi |
---|
3484 | |
---|
3485 | ac_ext=c |
---|
3486 | ac_cpp='$CPP $CPPFLAGS' |
---|
3487 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3488 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3489 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3490 | |
---|
3491 | |
---|
3492 | |
---|
3493 | |
---|
3494 | if test x"$GCC" = x"yes"; then |
---|
3495 | RTEMS_USE_GCC_TRUE= |
---|
3496 | RTEMS_USE_GCC_FALSE='#' |
---|
3497 | else |
---|
3498 | RTEMS_USE_GCC_TRUE='#' |
---|
3499 | RTEMS_USE_GCC_FALSE= |
---|
3500 | fi |
---|
3501 | |
---|
3502 | |
---|
3503 | |
---|
3504 | echo "$as_me:$LINENO: checking whether $CC accepts -isystem" >&5 |
---|
3505 | echo $ECHO_N "checking whether $CC accepts -isystem... $ECHO_C" >&6 |
---|
3506 | if test "${rtems_cv_gcc_isystem+set}" = set; then |
---|
3507 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3508 | else |
---|
3509 | |
---|
3510 | rtems_cv_gcc_isystem=no |
---|
3511 | if test x"$GCC" = x"yes"; then |
---|
3512 | cat << EOF > conftest.h |
---|
3513 | int conftest123(); |
---|
3514 | EOF |
---|
3515 | cat << EOF > conftest.c |
---|
3516 | #include <conftest.h> |
---|
3517 | int conftest123() {} |
---|
3518 | EOF |
---|
3519 | if test -z "`${CC} -isystem./ -c conftest.c 2>&1`";then |
---|
3520 | rtems_cv_gcc_isystem=yes |
---|
3521 | fi |
---|
3522 | fi |
---|
3523 | rm -f conftest* |
---|
3524 | |
---|
3525 | fi |
---|
3526 | echo "$as_me:$LINENO: result: $rtems_cv_gcc_isystem" >&5 |
---|
3527 | echo "${ECHO_T}$rtems_cv_gcc_isystem" >&6 |
---|
3528 | |
---|
3529 | |
---|
3530 | echo "$as_me:$LINENO: checking whether $CC accepts --pipe" >&5 |
---|
3531 | echo $ECHO_N "checking whether $CC accepts --pipe... $ECHO_C" >&6 |
---|
3532 | if test "${rtems_cv_gcc_pipe+set}" = set; then |
---|
3533 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3534 | else |
---|
3535 | |
---|
3536 | rtems_cv_gcc_pipe=no |
---|
3537 | if test x"$GCC" = x"yes"; then |
---|
3538 | echo 'void f(){}' >conftest.c |
---|
3539 | if test -z "`${CC} --pipe -c conftest.c 2>&1`";then |
---|
3540 | rtems_cv_gcc_pipe=yes |
---|
3541 | fi |
---|
3542 | rm -f conftest* |
---|
3543 | fi |
---|
3544 | |
---|
3545 | fi |
---|
3546 | echo "$as_me:$LINENO: result: $rtems_cv_gcc_pipe" >&5 |
---|
3547 | echo "${ECHO_T}$rtems_cv_gcc_pipe" >&6 |
---|
3548 | |
---|
3549 | test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe" |
---|
3550 | |
---|
3551 | |
---|
3552 | echo "$as_me:$LINENO: checking whether $CC accepts -specs" >&5 |
---|
3553 | echo $ECHO_N "checking whether $CC accepts -specs... $ECHO_C" >&6 |
---|
3554 | if test "${rtems_cv_gcc_specs+set}" = set; then |
---|
3555 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3556 | else |
---|
3557 | |
---|
3558 | rtems_cv_gcc_specs=no |
---|
3559 | if test x"$GCC" = x"yes"; then |
---|
3560 | touch confspec |
---|
3561 | echo 'void f(){}' >conftest.c |
---|
3562 | if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then |
---|
3563 | rtems_cv_gcc_specs=yes |
---|
3564 | fi |
---|
3565 | fi |
---|
3566 | rm -f confspec conftest* |
---|
3567 | |
---|
3568 | fi |
---|
3569 | echo "$as_me:$LINENO: result: $rtems_cv_gcc_specs" >&5 |
---|
3570 | echo "${ECHO_T}$rtems_cv_gcc_specs" >&6 |
---|
3571 | |
---|
3572 | if test "$GCC" = yes; then |
---|
3573 | RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall" |
---|
3574 | RTEMS_CFLAGS="$RTEMS_CFLAGS -ansi -fasm" |
---|
3575 | fi |
---|
3576 | |
---|
3577 | if test x"$rtems_cv_gcc_isystem" = x"yes"; then |
---|
3578 | |
---|
3579 | RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)" |
---|
3580 | else |
---|
3581 | |
---|
3582 | RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)" |
---|
3583 | |
---|
3584 | fi |
---|
3585 | |
---|
3586 | |
---|
3587 | |
---|
3588 | |
---|
3589 | |
---|
3590 | if test "x$build_alias" != "x$host_alias"; then |
---|
3591 | rtems_tool_prefix=${ac_tool_prefix} |
---|
3592 | fi |
---|
3593 | |
---|
3594 | # Extract the first word of "${rtems_tool_prefix}ar", so it can be a program name with args. |
---|
3595 | set dummy ${rtems_tool_prefix}ar; ac_word=$2 |
---|
3596 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3597 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3598 | if test "${ac_cv_prog_AR+set}" = set; then |
---|
3599 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3600 | else |
---|
3601 | if test -n "$AR"; then |
---|
3602 | ac_cv_prog_AR="$AR" # Let the user override the test. |
---|
3603 | else |
---|
3604 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3605 | for as_dir in $PATH |
---|
3606 | do |
---|
3607 | IFS=$as_save_IFS |
---|
3608 | test -z "$as_dir" && as_dir=. |
---|
3609 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3610 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3611 | ac_cv_prog_AR="${rtems_tool_prefix}ar" |
---|
3612 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3613 | break 2 |
---|
3614 | fi |
---|
3615 | done |
---|
3616 | done |
---|
3617 | |
---|
3618 | test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="no" |
---|
3619 | fi |
---|
3620 | fi |
---|
3621 | AR=$ac_cv_prog_AR |
---|
3622 | if test -n "$AR"; then |
---|
3623 | echo "$as_me:$LINENO: result: $AR" >&5 |
---|
3624 | echo "${ECHO_T}$AR" >&6 |
---|
3625 | else |
---|
3626 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3627 | echo "${ECHO_T}no" >&6 |
---|
3628 | fi |
---|
3629 | |
---|
3630 | |
---|
3631 | |
---|
3632 | if test "x$build_alias" != "x$host_alias"; then |
---|
3633 | rtems_tool_prefix=${ac_tool_prefix} |
---|
3634 | fi |
---|
3635 | |
---|
3636 | # Extract the first word of "${rtems_tool_prefix}as", so it can be a program name with args. |
---|
3637 | set dummy ${rtems_tool_prefix}as; ac_word=$2 |
---|
3638 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3639 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3640 | if test "${ac_cv_prog_AS+set}" = set; then |
---|
3641 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3642 | else |
---|
3643 | if test -n "$AS"; then |
---|
3644 | ac_cv_prog_AS="$AS" # Let the user override the test. |
---|
3645 | else |
---|
3646 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3647 | for as_dir in $PATH |
---|
3648 | do |
---|
3649 | IFS=$as_save_IFS |
---|
3650 | test -z "$as_dir" && as_dir=. |
---|
3651 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3652 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3653 | ac_cv_prog_AS="${rtems_tool_prefix}as" |
---|
3654 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3655 | break 2 |
---|
3656 | fi |
---|
3657 | done |
---|
3658 | done |
---|
3659 | |
---|
3660 | test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="no" |
---|
3661 | fi |
---|
3662 | fi |
---|
3663 | AS=$ac_cv_prog_AS |
---|
3664 | if test -n "$AS"; then |
---|
3665 | echo "$as_me:$LINENO: result: $AS" >&5 |
---|
3666 | echo "${ECHO_T}$AS" >&6 |
---|
3667 | else |
---|
3668 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3669 | echo "${ECHO_T}no" >&6 |
---|
3670 | fi |
---|
3671 | |
---|
3672 | |
---|
3673 | |
---|
3674 | if test "x$build_alias" != "x$host_alias"; then |
---|
3675 | rtems_tool_prefix=${ac_tool_prefix} |
---|
3676 | fi |
---|
3677 | |
---|
3678 | # Extract the first word of "${rtems_tool_prefix}ld", so it can be a program name with args. |
---|
3679 | set dummy ${rtems_tool_prefix}ld; ac_word=$2 |
---|
3680 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3681 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3682 | if test "${ac_cv_prog_LD+set}" = set; then |
---|
3683 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3684 | else |
---|
3685 | if test -n "$LD"; then |
---|
3686 | ac_cv_prog_LD="$LD" # Let the user override the test. |
---|
3687 | else |
---|
3688 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3689 | for as_dir in $PATH |
---|
3690 | do |
---|
3691 | IFS=$as_save_IFS |
---|
3692 | test -z "$as_dir" && as_dir=. |
---|
3693 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3694 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3695 | ac_cv_prog_LD="${rtems_tool_prefix}ld" |
---|
3696 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3697 | break 2 |
---|
3698 | fi |
---|
3699 | done |
---|
3700 | done |
---|
3701 | |
---|
3702 | test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="no" |
---|
3703 | fi |
---|
3704 | fi |
---|
3705 | LD=$ac_cv_prog_LD |
---|
3706 | if test -n "$LD"; then |
---|
3707 | echo "$as_me:$LINENO: result: $LD" >&5 |
---|
3708 | echo "${ECHO_T}$LD" >&6 |
---|
3709 | else |
---|
3710 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3711 | echo "${ECHO_T}no" >&6 |
---|
3712 | fi |
---|
3713 | |
---|
3714 | |
---|
3715 | |
---|
3716 | if test "x$build_alias" != "x$host_alias"; then |
---|
3717 | rtems_tool_prefix=${ac_tool_prefix} |
---|
3718 | fi |
---|
3719 | |
---|
3720 | # Extract the first word of "${rtems_tool_prefix}nm", so it can be a program name with args. |
---|
3721 | set dummy ${rtems_tool_prefix}nm; ac_word=$2 |
---|
3722 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3723 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3724 | if test "${ac_cv_prog_NM+set}" = set; then |
---|
3725 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3726 | else |
---|
3727 | if test -n "$NM"; then |
---|
3728 | ac_cv_prog_NM="$NM" # Let the user override the test. |
---|
3729 | else |
---|
3730 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3731 | for as_dir in $PATH |
---|
3732 | do |
---|
3733 | IFS=$as_save_IFS |
---|
3734 | test -z "$as_dir" && as_dir=. |
---|
3735 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3736 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3737 | ac_cv_prog_NM="${rtems_tool_prefix}nm" |
---|
3738 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3739 | break 2 |
---|
3740 | fi |
---|
3741 | done |
---|
3742 | done |
---|
3743 | |
---|
3744 | test -z "$ac_cv_prog_NM" && ac_cv_prog_NM="no" |
---|
3745 | fi |
---|
3746 | fi |
---|
3747 | NM=$ac_cv_prog_NM |
---|
3748 | if test -n "$NM"; then |
---|
3749 | echo "$as_me:$LINENO: result: $NM" >&5 |
---|
3750 | echo "${ECHO_T}$NM" >&6 |
---|
3751 | else |
---|
3752 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3753 | echo "${ECHO_T}no" >&6 |
---|
3754 | fi |
---|
3755 | |
---|
3756 | |
---|
3757 | |
---|
3758 | |
---|
3759 | if test "x$build_alias" != "x$host_alias"; then |
---|
3760 | rtems_tool_prefix=${ac_tool_prefix} |
---|
3761 | fi |
---|
3762 | |
---|
3763 | # Extract the first word of "${rtems_tool_prefix}ranlib", so it can be a program name with args. |
---|
3764 | set dummy ${rtems_tool_prefix}ranlib; ac_word=$2 |
---|
3765 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3766 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3767 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
---|
3768 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3769 | else |
---|
3770 | if test -n "$RANLIB"; then |
---|
3771 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
---|
3772 | else |
---|
3773 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3774 | for as_dir in $PATH |
---|
3775 | do |
---|
3776 | IFS=$as_save_IFS |
---|
3777 | test -z "$as_dir" && as_dir=. |
---|
3778 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3779 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3780 | ac_cv_prog_RANLIB="${rtems_tool_prefix}ranlib" |
---|
3781 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3782 | break 2 |
---|
3783 | fi |
---|
3784 | done |
---|
3785 | done |
---|
3786 | |
---|
3787 | test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
---|
3788 | fi |
---|
3789 | fi |
---|
3790 | RANLIB=$ac_cv_prog_RANLIB |
---|
3791 | if test -n "$RANLIB"; then |
---|
3792 | echo "$as_me:$LINENO: result: $RANLIB" >&5 |
---|
3793 | echo "${ECHO_T}$RANLIB" >&6 |
---|
3794 | else |
---|
3795 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3796 | echo "${ECHO_T}no" >&6 |
---|
3797 | fi |
---|
3798 | |
---|
3799 | |
---|
3800 | |
---|
3801 | |
---|
3802 | if test "x$build_alias" != "x$host_alias"; then |
---|
3803 | rtems_tool_prefix=${ac_tool_prefix} |
---|
3804 | fi |
---|
3805 | |
---|
3806 | # Extract the first word of "${rtems_tool_prefix}objcopy", so it can be a program name with args. |
---|
3807 | set dummy ${rtems_tool_prefix}objcopy; ac_word=$2 |
---|
3808 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3809 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3810 | if test "${ac_cv_prog_OBJCOPY+set}" = set; then |
---|
3811 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3812 | else |
---|
3813 | if test -n "$OBJCOPY"; then |
---|
3814 | ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test. |
---|
3815 | else |
---|
3816 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3817 | for as_dir in $PATH |
---|
3818 | do |
---|
3819 | IFS=$as_save_IFS |
---|
3820 | test -z "$as_dir" && as_dir=. |
---|
3821 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3822 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3823 | ac_cv_prog_OBJCOPY="${rtems_tool_prefix}objcopy" |
---|
3824 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3825 | break 2 |
---|
3826 | fi |
---|
3827 | done |
---|
3828 | done |
---|
3829 | |
---|
3830 | test -z "$ac_cv_prog_OBJCOPY" && ac_cv_prog_OBJCOPY="no" |
---|
3831 | fi |
---|
3832 | fi |
---|
3833 | OBJCOPY=$ac_cv_prog_OBJCOPY |
---|
3834 | if test -n "$OBJCOPY"; then |
---|
3835 | echo "$as_me:$LINENO: result: $OBJCOPY" >&5 |
---|
3836 | echo "${ECHO_T}$OBJCOPY" >&6 |
---|
3837 | else |
---|
3838 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3839 | echo "${ECHO_T}no" >&6 |
---|
3840 | fi |
---|
3841 | |
---|
3842 | |
---|
3843 | |
---|
3844 | if test "x$build_alias" != "x$host_alias"; then |
---|
3845 | rtems_tool_prefix=${ac_tool_prefix} |
---|
3846 | fi |
---|
3847 | |
---|
3848 | # Extract the first word of "${rtems_tool_prefix}size", so it can be a program name with args. |
---|
3849 | set dummy ${rtems_tool_prefix}size; ac_word=$2 |
---|
3850 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3851 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3852 | if test "${ac_cv_prog_SIZE+set}" = set; then |
---|
3853 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3854 | else |
---|
3855 | if test -n "$SIZE"; then |
---|
3856 | ac_cv_prog_SIZE="$SIZE" # Let the user override the test. |
---|
3857 | else |
---|
3858 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3859 | for as_dir in $PATH |
---|
3860 | do |
---|
3861 | IFS=$as_save_IFS |
---|
3862 | test -z "$as_dir" && as_dir=. |
---|
3863 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3864 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3865 | ac_cv_prog_SIZE="${rtems_tool_prefix}size" |
---|
3866 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3867 | break 2 |
---|
3868 | fi |
---|
3869 | done |
---|
3870 | done |
---|
3871 | |
---|
3872 | test -z "$ac_cv_prog_SIZE" && ac_cv_prog_SIZE="no" |
---|
3873 | fi |
---|
3874 | fi |
---|
3875 | SIZE=$ac_cv_prog_SIZE |
---|
3876 | if test -n "$SIZE"; then |
---|
3877 | echo "$as_me:$LINENO: result: $SIZE" >&5 |
---|
3878 | echo "${ECHO_T}$SIZE" >&6 |
---|
3879 | else |
---|
3880 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3881 | echo "${ECHO_T}no" >&6 |
---|
3882 | fi |
---|
3883 | |
---|
3884 | |
---|
3885 | |
---|
3886 | if test "x$build_alias" != "x$host_alias"; then |
---|
3887 | rtems_tool_prefix=${ac_tool_prefix} |
---|
3888 | fi |
---|
3889 | |
---|
3890 | # Extract the first word of "${rtems_tool_prefix}strip", so it can be a program name with args. |
---|
3891 | set dummy ${rtems_tool_prefix}strip; ac_word=$2 |
---|
3892 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
3893 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
3894 | if test "${ac_cv_prog_STRIP+set}" = set; then |
---|
3895 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3896 | else |
---|
3897 | if test -n "$STRIP"; then |
---|
3898 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
3899 | else |
---|
3900 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
3901 | for as_dir in $PATH |
---|
3902 | do |
---|
3903 | IFS=$as_save_IFS |
---|
3904 | test -z "$as_dir" && as_dir=. |
---|
3905 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
3906 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
3907 | ac_cv_prog_STRIP="${rtems_tool_prefix}strip" |
---|
3908 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
3909 | break 2 |
---|
3910 | fi |
---|
3911 | done |
---|
3912 | done |
---|
3913 | |
---|
3914 | test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":" |
---|
3915 | fi |
---|
3916 | fi |
---|
3917 | STRIP=$ac_cv_prog_STRIP |
---|
3918 | if test -n "$STRIP"; then |
---|
3919 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
---|
3920 | echo "${ECHO_T}$STRIP" >&6 |
---|
3921 | else |
---|
3922 | echo "$as_me:$LINENO: result: no" >&5 |
---|
3923 | echo "${ECHO_T}no" >&6 |
---|
3924 | fi |
---|
3925 | |
---|
3926 | |
---|
3927 | |
---|
3928 | |
---|
3929 | |
---|
3930 | |
---|
3931 | # Check whether --enable-networking or --disable-networking was given. |
---|
3932 | if test "${enable_networking+set}" = set; then |
---|
3933 | enableval="$enable_networking" |
---|
3934 | case "${enableval}" in |
---|
3935 | yes) RTEMS_HAS_NETWORKING=yes ;; |
---|
3936 | no) RTEMS_HAS_NETWORKING=no ;; |
---|
3937 | *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for enable-networking option" >&5 |
---|
3938 | echo "$as_me: error: bad value ${enableval} for enable-networking option" >&2;} |
---|
3939 | { (exit 1); exit 1; }; } ;; |
---|
3940 | esac |
---|
3941 | else |
---|
3942 | RTEMS_HAS_NETWORKING=yes |
---|
3943 | fi; |
---|
3944 | |
---|
3945 | |
---|
3946 | echo "$as_me:$LINENO: checking whether BSP supports networking" >&5 |
---|
3947 | echo $ECHO_N "checking whether BSP supports networking... $ECHO_C" >&6 |
---|
3948 | if test "${rtems_cv_HAS_NETWORKING+set}" = set; then |
---|
3949 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3950 | else |
---|
3951 | case "$RTEMS_CPU" in |
---|
3952 | unix*) |
---|
3953 | rtems_cv_HAS_NETWORKING="no" |
---|
3954 | ;; |
---|
3955 | *) |
---|
3956 | if test "${RTEMS_HAS_NETWORKING}" = "yes"; then |
---|
3957 | rtems_cv_HAS_NETWORKING="yes"; |
---|
3958 | else |
---|
3959 | rtems_cv_HAS_NETWORKING="disabled"; |
---|
3960 | fi |
---|
3961 | ;; |
---|
3962 | esac |
---|
3963 | fi |
---|
3964 | echo "$as_me:$LINENO: result: $rtems_cv_HAS_NETWORKING" >&5 |
---|
3965 | echo "${ECHO_T}$rtems_cv_HAS_NETWORKING" >&6 |
---|
3966 | if test "$rtems_cv_HAS_NETWORKING" = "yes"; then |
---|
3967 | HAS_NETWORKING="yes"; |
---|
3968 | else |
---|
3969 | HAS_NETWORKING="no"; |
---|
3970 | fi |
---|
3971 | |
---|
3972 | |
---|
3973 | |
---|
3974 | if test "$HAS_NETWORKING" = "yes"; then |
---|
3975 | HAS_NETWORKING_TRUE= |
---|
3976 | HAS_NETWORKING_FALSE='#' |
---|
3977 | else |
---|
3978 | HAS_NETWORKING_TRUE='#' |
---|
3979 | HAS_NETWORKING_FALSE= |
---|
3980 | fi |
---|
3981 | |
---|
3982 | |
---|
3983 | AS=$CC |
---|
3984 | # By default we simply use the C compiler to build assembly code. |
---|
3985 | |
---|
3986 | : ${CCAS='$(CC)'} |
---|
3987 | # Set ASFLAGS if not already set. |
---|
3988 | : ${CCASFLAGS='$(CFLAGS)'} |
---|
3989 | |
---|
3990 | |
---|
3991 | |
---|
3992 | |
---|
3993 | |
---|
3994 | |
---|
3995 | |
---|
3996 | |
---|
3997 | |
---|
3998 | case ${RTEMS_BSP} in |
---|
3999 | * ) |
---|
4000 | PPC_USE_DATA_CACHE=${PPC_USE_DATA_CACHE-1} ;; |
---|
4001 | esac |
---|
4002 | if test -n "${PPC_USE_DATA_CACHE}"; then |
---|
4003 | cat >>confdefs.h <<_ACEOF |
---|
4004 | #define PPC_USE_DATA_CACHE $PPC_USE_DATA_CACHE |
---|
4005 | _ACEOF |
---|
4006 | fi |
---|
4007 | |
---|
4008 | |
---|
4009 | |
---|
4010 | # Explicitly list all Makefiles here |
---|
4011 | ac_config_files="$ac_config_files Makefile clock/Makefile console/Makefile include/Makefile pci/Makefile GT64260/Makefile network/Makefile irq/Makefile start/Makefile startup/Makefile vectors/Makefile vme/Makefile wrapup/Makefile" |
---|
4012 | |
---|
4013 | |
---|
4014 | |
---|
4015 | exceptions="new_exception_processing" |
---|
4016 | |
---|
4017 | |
---|
4018 | |
---|
4019 | |
---|
4020 | |
---|
4021 | cat >confcache <<\_ACEOF |
---|
4022 | # This file is a shell script that caches the results of configure |
---|
4023 | # tests run on this system so they can be shared between configure |
---|
4024 | # scripts and configure runs, see configure's option --config-cache. |
---|
4025 | # It is not useful on other systems. If it contains results you don't |
---|
4026 | # want to keep, you may remove or edit it. |
---|
4027 | # |
---|
4028 | # config.status only pays attention to the cache file if you give it |
---|
4029 | # the --recheck option to rerun configure. |
---|
4030 | # |
---|
4031 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
4032 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
4033 | # following values. |
---|
4034 | |
---|
4035 | _ACEOF |
---|
4036 | |
---|
4037 | # The following way of writing the cache mishandles newlines in values, |
---|
4038 | # but we know of no workaround that is simple, portable, and efficient. |
---|
4039 | # So, don't put newlines in cache variables' values. |
---|
4040 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
4041 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
4042 | { |
---|
4043 | (set) 2>&1 | |
---|
4044 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
---|
4045 | *ac_space=\ *) |
---|
4046 | # `set' does not quote correctly, so add quotes (double-quote |
---|
4047 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
4048 | sed -n \ |
---|
4049 | "s/'/'\\\\''/g; |
---|
4050 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
4051 | ;; |
---|
4052 | *) |
---|
4053 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
4054 | sed -n \ |
---|
4055 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
4056 | ;; |
---|
4057 | esac; |
---|
4058 | } | |
---|
4059 | sed ' |
---|
4060 | t clear |
---|
4061 | : clear |
---|
4062 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
4063 | t end |
---|
4064 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
4065 | : end' >>confcache |
---|
4066 | if diff $cache_file confcache >/dev/null 2>&1; then :; else |
---|
4067 | if test -w $cache_file; then |
---|
4068 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
---|
4069 | cat confcache >$cache_file |
---|
4070 | else |
---|
4071 | echo "not updating unwritable cache $cache_file" |
---|
4072 | fi |
---|
4073 | fi |
---|
4074 | rm -f confcache |
---|
4075 | |
---|
4076 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
4077 | # Let make expand exec_prefix. |
---|
4078 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
4079 | |
---|
4080 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
4081 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
4082 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
4083 | # (actually we leave an empty line to preserve line numbers). |
---|
4084 | if test "x$srcdir" = x.; then |
---|
4085 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
4086 | s/:*\$(srcdir):*/:/; |
---|
4087 | s/:*\${srcdir}:*/:/; |
---|
4088 | s/:*@srcdir@:*/:/; |
---|
4089 | s/^\([^=]*=[ ]*\):*/\1/; |
---|
4090 | s/:*$//; |
---|
4091 | s/^[^=]*=[ ]*$//; |
---|
4092 | }' |
---|
4093 | fi |
---|
4094 | |
---|
4095 | DEFS=-DHAVE_CONFIG_H |
---|
4096 | |
---|
4097 | ac_libobjs= |
---|
4098 | ac_ltlibobjs= |
---|
4099 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
4100 | # 1. Remove the extension, and $U if already installed. |
---|
4101 | ac_i=`echo "$ac_i" | |
---|
4102 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
---|
4103 | # 2. Add them. |
---|
4104 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
---|
4105 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
---|
4106 | done |
---|
4107 | LIBOBJS=$ac_libobjs |
---|
4108 | |
---|
4109 | LTLIBOBJS=$ac_ltlibobjs |
---|
4110 | |
---|
4111 | |
---|
4112 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
---|
4113 | { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. |
---|
4114 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4115 | echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. |
---|
4116 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4117 | { (exit 1); exit 1; }; } |
---|
4118 | fi |
---|
4119 | if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then |
---|
4120 | { { echo "$as_me:$LINENO: error: conditional \"MULTILIB\" was never defined. |
---|
4121 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4122 | echo "$as_me: error: conditional \"MULTILIB\" was never defined. |
---|
4123 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4124 | { (exit 1); exit 1; }; } |
---|
4125 | fi |
---|
4126 | if test -z "${MULTILIB_TRUE}" && test -z "${MULTILIB_FALSE}"; then |
---|
4127 | { { echo "$as_me:$LINENO: error: conditional \"MULTILIB\" was never defined. |
---|
4128 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4129 | echo "$as_me: error: conditional \"MULTILIB\" was never defined. |
---|
4130 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4131 | { (exit 1); exit 1; }; } |
---|
4132 | fi |
---|
4133 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
4134 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
---|
4135 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4136 | echo "$as_me: error: conditional \"AMDEP\" was never defined. |
---|
4137 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4138 | { (exit 1); exit 1; }; } |
---|
4139 | fi |
---|
4140 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
4141 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
---|
4142 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4143 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
---|
4144 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4145 | { (exit 1); exit 1; }; } |
---|
4146 | fi |
---|
4147 | if test -z "${RTEMS_USE_GCC_TRUE}" && test -z "${RTEMS_USE_GCC_FALSE}"; then |
---|
4148 | { { echo "$as_me:$LINENO: error: conditional \"RTEMS_USE_GCC\" was never defined. |
---|
4149 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4150 | echo "$as_me: error: conditional \"RTEMS_USE_GCC\" was never defined. |
---|
4151 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4152 | { (exit 1); exit 1; }; } |
---|
4153 | fi |
---|
4154 | if test -z "${HAS_NETWORKING_TRUE}" && test -z "${HAS_NETWORKING_FALSE}"; then |
---|
4155 | { { echo "$as_me:$LINENO: error: conditional \"HAS_NETWORKING\" was never defined. |
---|
4156 | Usually this means the macro was only invoked conditionally." >&5 |
---|
4157 | echo "$as_me: error: conditional \"HAS_NETWORKING\" was never defined. |
---|
4158 | Usually this means the macro was only invoked conditionally." >&2;} |
---|
4159 | { (exit 1); exit 1; }; } |
---|
4160 | fi |
---|
4161 | |
---|
4162 | : ${CONFIG_STATUS=./config.status} |
---|
4163 | ac_clean_files_save=$ac_clean_files |
---|
4164 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
4165 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
4166 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
4167 | cat >$CONFIG_STATUS <<_ACEOF |
---|
4168 | #! $SHELL |
---|
4169 | # Generated by $as_me. |
---|
4170 | # Run this file to recreate the current configuration. |
---|
4171 | # Compiler output produced by configure, useful for debugging |
---|
4172 | # configure, is in config.log if it exists. |
---|
4173 | |
---|
4174 | debug=false |
---|
4175 | ac_cs_recheck=false |
---|
4176 | ac_cs_silent=false |
---|
4177 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
4178 | _ACEOF |
---|
4179 | |
---|
4180 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4181 | ## --------------------- ## |
---|
4182 | ## M4sh Initialization. ## |
---|
4183 | ## --------------------- ## |
---|
4184 | |
---|
4185 | # Be Bourne compatible |
---|
4186 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
4187 | emulate sh |
---|
4188 | NULLCMD=: |
---|
4189 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
4190 | # is contrary to our usage. Disable this feature. |
---|
4191 | alias -g '${1+"$@"}'='"$@"' |
---|
4192 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
4193 | set -o posix |
---|
4194 | fi |
---|
4195 | |
---|
4196 | # Support unset when possible. |
---|
4197 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
---|
4198 | as_unset=unset |
---|
4199 | else |
---|
4200 | as_unset=false |
---|
4201 | fi |
---|
4202 | |
---|
4203 | |
---|
4204 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
4205 | $as_unset ENV MAIL MAILPATH |
---|
4206 | PS1='$ ' |
---|
4207 | PS2='> ' |
---|
4208 | PS4='+ ' |
---|
4209 | |
---|
4210 | # NLS nuisances. |
---|
4211 | for as_var in \ |
---|
4212 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
4213 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
4214 | LC_TELEPHONE LC_TIME |
---|
4215 | do |
---|
4216 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
4217 | eval $as_var=C; export $as_var |
---|
4218 | else |
---|
4219 | $as_unset $as_var |
---|
4220 | fi |
---|
4221 | done |
---|
4222 | |
---|
4223 | # Required to use basename. |
---|
4224 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
4225 | as_expr=expr |
---|
4226 | else |
---|
4227 | as_expr=false |
---|
4228 | fi |
---|
4229 | |
---|
4230 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
4231 | as_basename=basename |
---|
4232 | else |
---|
4233 | as_basename=false |
---|
4234 | fi |
---|
4235 | |
---|
4236 | |
---|
4237 | # Name of the executable. |
---|
4238 | as_me=`$as_basename "$0" || |
---|
4239 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
4240 | X"$0" : 'X\(//\)$' \| \ |
---|
4241 | X"$0" : 'X\(/\)$' \| \ |
---|
4242 | . : '\(.\)' 2>/dev/null || |
---|
4243 | echo X/"$0" | |
---|
4244 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
4245 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
4246 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
4247 | s/.*/./; q'` |
---|
4248 | |
---|
4249 | |
---|
4250 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
4251 | # Avoid depending upon Character Ranges. |
---|
4252 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
4253 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
4254 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
4255 | as_cr_digits='0123456789' |
---|
4256 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
4257 | |
---|
4258 | # The user is always right. |
---|
4259 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
4260 | echo "#! /bin/sh" >conf$$.sh |
---|
4261 | echo "exit 0" >>conf$$.sh |
---|
4262 | chmod +x conf$$.sh |
---|
4263 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
4264 | PATH_SEPARATOR=';' |
---|
4265 | else |
---|
4266 | PATH_SEPARATOR=: |
---|
4267 | fi |
---|
4268 | rm -f conf$$.sh |
---|
4269 | fi |
---|
4270 | |
---|
4271 | |
---|
4272 | as_lineno_1=$LINENO |
---|
4273 | as_lineno_2=$LINENO |
---|
4274 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
4275 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
4276 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
4277 | # Find who we are. Look in the path if we contain no path at all |
---|
4278 | # relative or not. |
---|
4279 | case $0 in |
---|
4280 | *[\\/]* ) as_myself=$0 ;; |
---|
4281 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4282 | for as_dir in $PATH |
---|
4283 | do |
---|
4284 | IFS=$as_save_IFS |
---|
4285 | test -z "$as_dir" && as_dir=. |
---|
4286 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
4287 | done |
---|
4288 | |
---|
4289 | ;; |
---|
4290 | esac |
---|
4291 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
4292 | # in which case we are not to be found in the path. |
---|
4293 | if test "x$as_myself" = x; then |
---|
4294 | as_myself=$0 |
---|
4295 | fi |
---|
4296 | if test ! -f "$as_myself"; then |
---|
4297 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
---|
4298 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
---|
4299 | { (exit 1); exit 1; }; } |
---|
4300 | fi |
---|
4301 | case $CONFIG_SHELL in |
---|
4302 | '') |
---|
4303 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4304 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
4305 | do |
---|
4306 | IFS=$as_save_IFS |
---|
4307 | test -z "$as_dir" && as_dir=. |
---|
4308 | for as_base in sh bash ksh sh5; do |
---|
4309 | case $as_dir in |
---|
4310 | /*) |
---|
4311 | if ("$as_dir/$as_base" -c ' |
---|
4312 | as_lineno_1=$LINENO |
---|
4313 | as_lineno_2=$LINENO |
---|
4314 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
4315 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
4316 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
4317 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
4318 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
4319 | CONFIG_SHELL=$as_dir/$as_base |
---|
4320 | export CONFIG_SHELL |
---|
4321 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
4322 | fi;; |
---|
4323 | esac |
---|
4324 | done |
---|
4325 | done |
---|
4326 | ;; |
---|
4327 | esac |
---|
4328 | |
---|
4329 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
4330 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
4331 | # line-number line before each line; the second 'sed' does the real |
---|
4332 | # work. The second script uses 'N' to pair each line-number line |
---|
4333 | # with the numbered line, and appends trailing '-' during |
---|
4334 | # substitution so that $LINENO is not a special case at line end. |
---|
4335 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
4336 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
4337 | sed '=' <$as_myself | |
---|
4338 | sed ' |
---|
4339 | N |
---|
4340 | s,$,-, |
---|
4341 | : loop |
---|
4342 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
4343 | t loop |
---|
4344 | s,-$,, |
---|
4345 | s,^['$as_cr_digits']*\n,, |
---|
4346 | ' >$as_me.lineno && |
---|
4347 | chmod +x $as_me.lineno || |
---|
4348 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
---|
4349 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
---|
4350 | { (exit 1); exit 1; }; } |
---|
4351 | |
---|
4352 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
4353 | # (the dirname of $[0] is not the place where we might find the |
---|
4354 | # original and so on. Autoconf is especially sensible to this). |
---|
4355 | . ./$as_me.lineno |
---|
4356 | # Exit status is that of the last command. |
---|
4357 | exit |
---|
4358 | } |
---|
4359 | |
---|
4360 | |
---|
4361 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
4362 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
4363 | ' ECHO_T=' ' ;; |
---|
4364 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
4365 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
4366 | esac |
---|
4367 | |
---|
4368 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
4369 | as_expr=expr |
---|
4370 | else |
---|
4371 | as_expr=false |
---|
4372 | fi |
---|
4373 | |
---|
4374 | rm -f conf$$ conf$$.exe conf$$.file |
---|
4375 | echo >conf$$.file |
---|
4376 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
4377 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
4378 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
4379 | if test -f conf$$.exe; then |
---|
4380 | # Don't use ln at all; we don't have any links |
---|
4381 | as_ln_s='cp -p' |
---|
4382 | else |
---|
4383 | as_ln_s='ln -s' |
---|
4384 | fi |
---|
4385 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
4386 | as_ln_s=ln |
---|
4387 | else |
---|
4388 | as_ln_s='cp -p' |
---|
4389 | fi |
---|
4390 | rm -f conf$$ conf$$.exe conf$$.file |
---|
4391 | |
---|
4392 | if mkdir -p . 2>/dev/null; then |
---|
4393 | as_mkdir_p=: |
---|
4394 | else |
---|
4395 | as_mkdir_p=false |
---|
4396 | fi |
---|
4397 | |
---|
4398 | as_executable_p="test -f" |
---|
4399 | |
---|
4400 | # Sed expression to map a string onto a valid CPP name. |
---|
4401 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
---|
4402 | |
---|
4403 | # Sed expression to map a string onto a valid variable name. |
---|
4404 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
---|
4405 | |
---|
4406 | |
---|
4407 | # IFS |
---|
4408 | # We need space, tab and new line, in precisely that order. |
---|
4409 | as_nl=' |
---|
4410 | ' |
---|
4411 | IFS=" $as_nl" |
---|
4412 | |
---|
4413 | # CDPATH. |
---|
4414 | $as_unset CDPATH |
---|
4415 | |
---|
4416 | exec 6>&1 |
---|
4417 | |
---|
4418 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
---|
4419 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
4420 | # values after options handling. Logging --version etc. is OK. |
---|
4421 | exec 5>>config.log |
---|
4422 | { |
---|
4423 | echo |
---|
4424 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
4425 | ## Running $as_me. ## |
---|
4426 | _ASBOX |
---|
4427 | } >&5 |
---|
4428 | cat >&5 <<_CSEOF |
---|
4429 | |
---|
4430 | This file was extended by rtems-c-src-lib-libbsp-powerpc-mvme5500 $as_me 4.6.2, which was |
---|
4431 | generated by GNU Autoconf 2.57. Invocation command line was |
---|
4432 | |
---|
4433 | CONFIG_FILES = $CONFIG_FILES |
---|
4434 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
4435 | CONFIG_LINKS = $CONFIG_LINKS |
---|
4436 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
4437 | $ $0 $@ |
---|
4438 | |
---|
4439 | _CSEOF |
---|
4440 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
---|
4441 | echo >&5 |
---|
4442 | _ACEOF |
---|
4443 | |
---|
4444 | # Files that config.status was made for. |
---|
4445 | if test -n "$ac_config_files"; then |
---|
4446 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
---|
4447 | fi |
---|
4448 | |
---|
4449 | if test -n "$ac_config_headers"; then |
---|
4450 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
---|
4451 | fi |
---|
4452 | |
---|
4453 | if test -n "$ac_config_links"; then |
---|
4454 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
---|
4455 | fi |
---|
4456 | |
---|
4457 | if test -n "$ac_config_commands"; then |
---|
4458 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
---|
4459 | fi |
---|
4460 | |
---|
4461 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4462 | |
---|
4463 | ac_cs_usage="\ |
---|
4464 | \`$as_me' instantiates files from templates according to the |
---|
4465 | current configuration. |
---|
4466 | |
---|
4467 | Usage: $0 [OPTIONS] [FILE]... |
---|
4468 | |
---|
4469 | -h, --help print this help, then exit |
---|
4470 | -V, --version print version number, then exit |
---|
4471 | -q, --quiet do not print progress messages |
---|
4472 | -d, --debug don't remove temporary files |
---|
4473 | --recheck update $as_me by reconfiguring in the same conditions |
---|
4474 | --file=FILE[:TEMPLATE] |
---|
4475 | instantiate the configuration file FILE |
---|
4476 | --header=FILE[:TEMPLATE] |
---|
4477 | instantiate the configuration header FILE |
---|
4478 | |
---|
4479 | Configuration files: |
---|
4480 | $config_files |
---|
4481 | |
---|
4482 | Configuration headers: |
---|
4483 | $config_headers |
---|
4484 | |
---|
4485 | Configuration commands: |
---|
4486 | $config_commands |
---|
4487 | |
---|
4488 | Report bugs to <bug-autoconf@gnu.org>." |
---|
4489 | _ACEOF |
---|
4490 | |
---|
4491 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4492 | ac_cs_version="\\ |
---|
4493 | rtems-c-src-lib-libbsp-powerpc-mvme5500 config.status 4.6.2 |
---|
4494 | configured by $0, generated by GNU Autoconf 2.57, |
---|
4495 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
---|
4496 | |
---|
4497 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
---|
4498 | Free Software Foundation, Inc. |
---|
4499 | This config.status script is free software; the Free Software Foundation |
---|
4500 | gives unlimited permission to copy, distribute and modify it." |
---|
4501 | srcdir=$srcdir |
---|
4502 | INSTALL="$INSTALL" |
---|
4503 | _ACEOF |
---|
4504 | |
---|
4505 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4506 | # If no file are specified by the user, then we need to provide default |
---|
4507 | # value. By we need to know if files were specified by the user. |
---|
4508 | ac_need_defaults=: |
---|
4509 | while test $# != 0 |
---|
4510 | do |
---|
4511 | case $1 in |
---|
4512 | --*=*) |
---|
4513 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
---|
4514 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
---|
4515 | ac_shift=: |
---|
4516 | ;; |
---|
4517 | -*) |
---|
4518 | ac_option=$1 |
---|
4519 | ac_optarg=$2 |
---|
4520 | ac_shift=shift |
---|
4521 | ;; |
---|
4522 | *) # This is not an option, so the user has probably given explicit |
---|
4523 | # arguments. |
---|
4524 | ac_option=$1 |
---|
4525 | ac_need_defaults=false;; |
---|
4526 | esac |
---|
4527 | |
---|
4528 | case $ac_option in |
---|
4529 | # Handling of the options. |
---|
4530 | _ACEOF |
---|
4531 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4532 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
4533 | ac_cs_recheck=: ;; |
---|
4534 | --version | --vers* | -V ) |
---|
4535 | echo "$ac_cs_version"; exit 0 ;; |
---|
4536 | --he | --h) |
---|
4537 | # Conflict between --help and --header |
---|
4538 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
---|
4539 | Try \`$0 --help' for more information." >&5 |
---|
4540 | echo "$as_me: error: ambiguous option: $1 |
---|
4541 | Try \`$0 --help' for more information." >&2;} |
---|
4542 | { (exit 1); exit 1; }; };; |
---|
4543 | --help | --hel | -h ) |
---|
4544 | echo "$ac_cs_usage"; exit 0 ;; |
---|
4545 | --debug | --d* | -d ) |
---|
4546 | debug=: ;; |
---|
4547 | --file | --fil | --fi | --f ) |
---|
4548 | $ac_shift |
---|
4549 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
4550 | ac_need_defaults=false;; |
---|
4551 | --header | --heade | --head | --hea ) |
---|
4552 | $ac_shift |
---|
4553 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
4554 | ac_need_defaults=false;; |
---|
4555 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
4556 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
4557 | ac_cs_silent=: ;; |
---|
4558 | |
---|
4559 | # This is an error. |
---|
4560 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
---|
4561 | Try \`$0 --help' for more information." >&5 |
---|
4562 | echo "$as_me: error: unrecognized option: $1 |
---|
4563 | Try \`$0 --help' for more information." >&2;} |
---|
4564 | { (exit 1); exit 1; }; } ;; |
---|
4565 | |
---|
4566 | *) ac_config_targets="$ac_config_targets $1" ;; |
---|
4567 | |
---|
4568 | esac |
---|
4569 | shift |
---|
4570 | done |
---|
4571 | |
---|
4572 | ac_configure_extra_args= |
---|
4573 | |
---|
4574 | if $ac_cs_silent; then |
---|
4575 | exec 6>/dev/null |
---|
4576 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
4577 | fi |
---|
4578 | |
---|
4579 | _ACEOF |
---|
4580 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4581 | if \$ac_cs_recheck; then |
---|
4582 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
4583 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
4584 | fi |
---|
4585 | |
---|
4586 | _ACEOF |
---|
4587 | |
---|
4588 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4589 | # |
---|
4590 | # INIT-COMMANDS section. |
---|
4591 | # |
---|
4592 | |
---|
4593 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
4594 | |
---|
4595 | _ACEOF |
---|
4596 | |
---|
4597 | |
---|
4598 | |
---|
4599 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4600 | for ac_config_target in $ac_config_targets |
---|
4601 | do |
---|
4602 | case "$ac_config_target" in |
---|
4603 | # Handling of arguments. |
---|
4604 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
4605 | "clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES clock/Makefile" ;; |
---|
4606 | "console/Makefile" ) CONFIG_FILES="$CONFIG_FILES console/Makefile" ;; |
---|
4607 | "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; |
---|
4608 | "pci/Makefile" ) CONFIG_FILES="$CONFIG_FILES pci/Makefile" ;; |
---|
4609 | "GT64260/Makefile" ) CONFIG_FILES="$CONFIG_FILES GT64260/Makefile" ;; |
---|
4610 | "network/Makefile" ) CONFIG_FILES="$CONFIG_FILES network/Makefile" ;; |
---|
4611 | "irq/Makefile" ) CONFIG_FILES="$CONFIG_FILES irq/Makefile" ;; |
---|
4612 | "start/Makefile" ) CONFIG_FILES="$CONFIG_FILES start/Makefile" ;; |
---|
4613 | "startup/Makefile" ) CONFIG_FILES="$CONFIG_FILES startup/Makefile" ;; |
---|
4614 | "vectors/Makefile" ) CONFIG_FILES="$CONFIG_FILES vectors/Makefile" ;; |
---|
4615 | "vme/Makefile" ) CONFIG_FILES="$CONFIG_FILES vme/Makefile" ;; |
---|
4616 | "wrapup/Makefile" ) CONFIG_FILES="$CONFIG_FILES wrapup/Makefile" ;; |
---|
4617 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
4618 | "include/bspopts.tmp" ) CONFIG_HEADERS="$CONFIG_HEADERS include/bspopts.tmp:include/bspopts.h.in" ;; |
---|
4619 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
4620 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
4621 | { (exit 1); exit 1; }; };; |
---|
4622 | esac |
---|
4623 | done |
---|
4624 | |
---|
4625 | # If the user did not use the arguments to specify the items to instantiate, |
---|
4626 | # then the envvar interface is used. Set only those that are not. |
---|
4627 | # We use the long form for the default assignment because of an extremely |
---|
4628 | # bizarre bug on SunOS 4.1.3. |
---|
4629 | if $ac_need_defaults; then |
---|
4630 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
4631 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
4632 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
4633 | fi |
---|
4634 | |
---|
4635 | # Have a temporary directory for convenience. Make it in the build tree |
---|
4636 | # simply because there is no reason to put it here, and in addition, |
---|
4637 | # creating and moving files from /tmp can sometimes cause problems. |
---|
4638 | # Create a temporary directory, and hook for its removal unless debugging. |
---|
4639 | $debug || |
---|
4640 | { |
---|
4641 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
---|
4642 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
4643 | } |
---|
4644 | |
---|
4645 | # Create a (secure) tmp directory for tmp files. |
---|
4646 | |
---|
4647 | { |
---|
4648 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
---|
4649 | test -n "$tmp" && test -d "$tmp" |
---|
4650 | } || |
---|
4651 | { |
---|
4652 | tmp=./confstat$$-$RANDOM |
---|
4653 | (umask 077 && mkdir $tmp) |
---|
4654 | } || |
---|
4655 | { |
---|
4656 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
4657 | { (exit 1); exit 1; } |
---|
4658 | } |
---|
4659 | |
---|
4660 | _ACEOF |
---|
4661 | |
---|
4662 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4663 | |
---|
4664 | # |
---|
4665 | # CONFIG_FILES section. |
---|
4666 | # |
---|
4667 | |
---|
4668 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
4669 | # This happens for instance when ./config.status config.h |
---|
4670 | if test -n "\$CONFIG_FILES"; then |
---|
4671 | # Protect against being on the right side of a sed subst in config.status. |
---|
4672 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
---|
4673 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
---|
4674 | s,@SHELL@,$SHELL,;t t |
---|
4675 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
---|
4676 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
---|
4677 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
---|
4678 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
---|
4679 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
---|
4680 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
---|
4681 | s,@exec_prefix@,$exec_prefix,;t t |
---|
4682 | s,@prefix@,$prefix,;t t |
---|
4683 | s,@program_transform_name@,$program_transform_name,;t t |
---|
4684 | s,@bindir@,$bindir,;t t |
---|
4685 | s,@sbindir@,$sbindir,;t t |
---|
4686 | s,@libexecdir@,$libexecdir,;t t |
---|
4687 | s,@datadir@,$datadir,;t t |
---|
4688 | s,@sysconfdir@,$sysconfdir,;t t |
---|
4689 | s,@sharedstatedir@,$sharedstatedir,;t t |
---|
4690 | s,@localstatedir@,$localstatedir,;t t |
---|
4691 | s,@libdir@,$libdir,;t t |
---|
4692 | s,@includedir@,$includedir,;t t |
---|
4693 | s,@oldincludedir@,$oldincludedir,;t t |
---|
4694 | s,@infodir@,$infodir,;t t |
---|
4695 | s,@mandir@,$mandir,;t t |
---|
4696 | s,@build_alias@,$build_alias,;t t |
---|
4697 | s,@host_alias@,$host_alias,;t t |
---|
4698 | s,@target_alias@,$target_alias,;t t |
---|
4699 | s,@DEFS@,$DEFS,;t t |
---|
4700 | s,@ECHO_C@,$ECHO_C,;t t |
---|
4701 | s,@ECHO_N@,$ECHO_N,;t t |
---|
4702 | s,@ECHO_T@,$ECHO_T,;t t |
---|
4703 | s,@LIBS@,$LIBS,;t t |
---|
4704 | s,@MAKE@,$MAKE,;t t |
---|
4705 | s,@ENDIF@,$ENDIF,;t t |
---|
4706 | s,@RTEMS_TOPdir@,$RTEMS_TOPdir,;t t |
---|
4707 | s,@PROJECT_TOPdir@,$PROJECT_TOPdir,;t t |
---|
4708 | s,@PROJECT_ROOT@,$PROJECT_ROOT,;t t |
---|
4709 | s,@build@,$build,;t t |
---|
4710 | s,@build_cpu@,$build_cpu,;t t |
---|
4711 | s,@build_vendor@,$build_vendor,;t t |
---|
4712 | s,@build_os@,$build_os,;t t |
---|
4713 | s,@host@,$host,;t t |
---|
4714 | s,@host_cpu@,$host_cpu,;t t |
---|
4715 | s,@host_vendor@,$host_vendor,;t t |
---|
4716 | s,@host_os@,$host_os,;t t |
---|
4717 | s,@target@,$target,;t t |
---|
4718 | s,@target_cpu@,$target_cpu,;t t |
---|
4719 | s,@target_vendor@,$target_vendor,;t t |
---|
4720 | s,@target_os@,$target_os,;t t |
---|
4721 | s,@RTEMS_CPU@,$RTEMS_CPU,;t t |
---|
4722 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
---|
4723 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
---|
4724 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
---|
4725 | s,@CYGPATH_W@,$CYGPATH_W,;t t |
---|
4726 | s,@PACKAGE@,$PACKAGE,;t t |
---|
4727 | s,@VERSION@,$VERSION,;t t |
---|
4728 | s,@ACLOCAL@,$ACLOCAL,;t t |
---|
4729 | s,@AUTOCONF@,$AUTOCONF,;t t |
---|
4730 | s,@AUTOMAKE@,$AUTOMAKE,;t t |
---|
4731 | s,@AUTOHEADER@,$AUTOHEADER,;t t |
---|
4732 | s,@MAKEINFO@,$MAKEINFO,;t t |
---|
4733 | s,@AMTAR@,$AMTAR,;t t |
---|
4734 | s,@install_sh@,$install_sh,;t t |
---|
4735 | s,@STRIP@,$STRIP,;t t |
---|
4736 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
---|
4737 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
---|
4738 | s,@AWK@,$AWK,;t t |
---|
4739 | s,@SET_MAKE@,$SET_MAKE,;t t |
---|
4740 | s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
---|
4741 | s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
---|
4742 | s,@MAINT@,$MAINT,;t t |
---|
4743 | s,@CPU_CFLAGS@,$CPU_CFLAGS,;t t |
---|
4744 | s,@CFLAGS_OPTIMIZE_V@,$CFLAGS_OPTIMIZE_V,;t t |
---|
4745 | s,@CFLAGS_DEBUG_V@,$CFLAGS_DEBUG_V,;t t |
---|
4746 | s,@CFLAGS_PROFILE_V@,$CFLAGS_PROFILE_V,;t t |
---|
4747 | s,@RTEMS_BSP_FAMILY@,$RTEMS_BSP_FAMILY,;t t |
---|
4748 | s,@RTEMS_CPU_MODEL@,$RTEMS_CPU_MODEL,;t t |
---|
4749 | s,@RTEMS_BSP@,$RTEMS_BSP,;t t |
---|
4750 | s,@RTEMS_BSP_SPECS@,$RTEMS_BSP_SPECS,;t t |
---|
4751 | s,@GCC_SPECS@,$GCC_SPECS,;t t |
---|
4752 | s,@PROJECT_INCLUDE@,$PROJECT_INCLUDE,;t t |
---|
4753 | s,@PROJECT_RELEASE@,$PROJECT_RELEASE,;t t |
---|
4754 | s,@RTEMS_ROOT@,$RTEMS_ROOT,;t t |
---|
4755 | s,@BARE_CPU_MODEL@,$BARE_CPU_MODEL,;t t |
---|
4756 | s,@BARE_CPU_CFLAGS@,$BARE_CPU_CFLAGS,;t t |
---|
4757 | s,@MULTILIB_TRUE@,$MULTILIB_TRUE,;t t |
---|
4758 | s,@MULTILIB_FALSE@,$MULTILIB_FALSE,;t t |
---|
4759 | s,@bsplibdir@,$bsplibdir,;t t |
---|
4760 | s,@RTEMS_HOST@,$RTEMS_HOST,;t t |
---|
4761 | s,@PACKHEX@,$PACKHEX,;t t |
---|
4762 | s,@HAS_MP@,$HAS_MP,;t t |
---|
4763 | s,@RTEMS_CFLAGS@,$RTEMS_CFLAGS,;t t |
---|
4764 | s,@CC@,$CC,;t t |
---|
4765 | s,@CFLAGS@,$CFLAGS,;t t |
---|
4766 | s,@LDFLAGS@,$LDFLAGS,;t t |
---|
4767 | s,@CPPFLAGS@,$CPPFLAGS,;t t |
---|
4768 | s,@ac_ct_CC@,$ac_ct_CC,;t t |
---|
4769 | s,@EXEEXT@,$EXEEXT,;t t |
---|
4770 | s,@OBJEXT@,$OBJEXT,;t t |
---|
4771 | s,@DEPDIR@,$DEPDIR,;t t |
---|
4772 | s,@am__include@,$am__include,;t t |
---|
4773 | s,@am__quote@,$am__quote,;t t |
---|
4774 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
---|
4775 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
---|
4776 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
---|
4777 | s,@CCDEPMODE@,$CCDEPMODE,;t t |
---|
4778 | s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
---|
4779 | s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
---|
4780 | s,@CPP@,$CPP,;t t |
---|
4781 | s,@RTEMS_USE_GCC_TRUE@,$RTEMS_USE_GCC_TRUE,;t t |
---|
4782 | s,@RTEMS_USE_GCC_FALSE@,$RTEMS_USE_GCC_FALSE,;t t |
---|
4783 | s,@RTEMS_CPPFLAGS@,$RTEMS_CPPFLAGS,;t t |
---|
4784 | s,@AR@,$AR,;t t |
---|
4785 | s,@AS@,$AS,;t t |
---|
4786 | s,@LD@,$LD,;t t |
---|
4787 | s,@NM@,$NM,;t t |
---|
4788 | s,@RANLIB@,$RANLIB,;t t |
---|
4789 | s,@OBJCOPY@,$OBJCOPY,;t t |
---|
4790 | s,@SIZE@,$SIZE,;t t |
---|
4791 | s,@RTEMS_HAS_NETWORKING@,$RTEMS_HAS_NETWORKING,;t t |
---|
4792 | s,@HAS_NETWORKING@,$HAS_NETWORKING,;t t |
---|
4793 | s,@HAS_NETWORKING_TRUE@,$HAS_NETWORKING_TRUE,;t t |
---|
4794 | s,@HAS_NETWORKING_FALSE@,$HAS_NETWORKING_FALSE,;t t |
---|
4795 | s,@CCAS@,$CCAS,;t t |
---|
4796 | s,@CCASFLAGS@,$CCASFLAGS,;t t |
---|
4797 | s,@exceptions@,$exceptions,;t t |
---|
4798 | s,@LIBOBJS@,$LIBOBJS,;t t |
---|
4799 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
---|
4800 | CEOF |
---|
4801 | |
---|
4802 | _ACEOF |
---|
4803 | |
---|
4804 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4805 | # Split the substitutions into bite-sized pieces for seds with |
---|
4806 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
4807 | ac_max_sed_lines=48 |
---|
4808 | ac_sed_frag=1 # Number of current file. |
---|
4809 | ac_beg=1 # First line for current file. |
---|
4810 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
---|
4811 | ac_more_lines=: |
---|
4812 | ac_sed_cmds= |
---|
4813 | while $ac_more_lines; do |
---|
4814 | if test $ac_beg -gt 1; then |
---|
4815 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
4816 | else |
---|
4817 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
4818 | fi |
---|
4819 | if test ! -s $tmp/subs.frag; then |
---|
4820 | ac_more_lines=false |
---|
4821 | else |
---|
4822 | # The purpose of the label and of the branching condition is to |
---|
4823 | # speed up the sed processing (if there are no `@' at all, there |
---|
4824 | # is no need to browse any of the substitutions). |
---|
4825 | # These are the two extra sed commands mentioned above. |
---|
4826 | (echo ':t |
---|
4827 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
---|
4828 | if test -z "$ac_sed_cmds"; then |
---|
4829 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
4830 | else |
---|
4831 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
4832 | fi |
---|
4833 | ac_sed_frag=`expr $ac_sed_frag + 1` |
---|
4834 | ac_beg=$ac_end |
---|
4835 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
---|
4836 | fi |
---|
4837 | done |
---|
4838 | if test -z "$ac_sed_cmds"; then |
---|
4839 | ac_sed_cmds=cat |
---|
4840 | fi |
---|
4841 | fi # test -n "$CONFIG_FILES" |
---|
4842 | |
---|
4843 | _ACEOF |
---|
4844 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4845 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
---|
4846 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
4847 | case $ac_file in |
---|
4848 | - | *:- | *:-:* ) # input from stdin |
---|
4849 | cat >$tmp/stdin |
---|
4850 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
4851 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
4852 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
4853 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
4854 | * ) ac_file_in=$ac_file.in ;; |
---|
4855 | esac |
---|
4856 | |
---|
4857 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
---|
4858 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
4859 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
4860 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
4861 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
4862 | X"$ac_file" : 'X\(/\)' \| \ |
---|
4863 | . : '\(.\)' 2>/dev/null || |
---|
4864 | echo X"$ac_file" | |
---|
4865 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
4866 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
4867 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
4868 | /^X\(\/\).*/{ s//\1/; q; } |
---|
4869 | s/.*/./; q'` |
---|
4870 | { if $as_mkdir_p; then |
---|
4871 | mkdir -p "$ac_dir" |
---|
4872 | else |
---|
4873 | as_dir="$ac_dir" |
---|
4874 | as_dirs= |
---|
4875 | while test ! -d "$as_dir"; do |
---|
4876 | as_dirs="$as_dir $as_dirs" |
---|
4877 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
4878 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
4879 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
4880 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
4881 | X"$as_dir" : 'X\(/\)' \| \ |
---|
4882 | . : '\(.\)' 2>/dev/null || |
---|
4883 | echo X"$as_dir" | |
---|
4884 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
4885 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
4886 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
4887 | /^X\(\/\).*/{ s//\1/; q; } |
---|
4888 | s/.*/./; q'` |
---|
4889 | done |
---|
4890 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
4891 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
4892 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
4893 | { (exit 1); exit 1; }; }; } |
---|
4894 | |
---|
4895 | ac_builddir=. |
---|
4896 | |
---|
4897 | if test "$ac_dir" != .; then |
---|
4898 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
4899 | # A "../" for each directory in $ac_dir_suffix. |
---|
4900 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
4901 | else |
---|
4902 | ac_dir_suffix= ac_top_builddir= |
---|
4903 | fi |
---|
4904 | |
---|
4905 | case $srcdir in |
---|
4906 | .) # No --srcdir option. We are building in place. |
---|
4907 | ac_srcdir=. |
---|
4908 | if test -z "$ac_top_builddir"; then |
---|
4909 | ac_top_srcdir=. |
---|
4910 | else |
---|
4911 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
4912 | fi ;; |
---|
4913 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
4914 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
4915 | ac_top_srcdir=$srcdir ;; |
---|
4916 | *) # Relative path. |
---|
4917 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
4918 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
4919 | esac |
---|
4920 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
---|
4921 | # absolute. |
---|
4922 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
---|
4923 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
---|
4924 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
---|
4925 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
---|
4926 | |
---|
4927 | |
---|
4928 | case $INSTALL in |
---|
4929 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
4930 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
---|
4931 | esac |
---|
4932 | |
---|
4933 | if test x"$ac_file" != x-; then |
---|
4934 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
4935 | echo "$as_me: creating $ac_file" >&6;} |
---|
4936 | rm -f "$ac_file" |
---|
4937 | fi |
---|
4938 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
4939 | # use $as_me), people would be surprised to read: |
---|
4940 | # /* config.h. Generated by config.status. */ |
---|
4941 | if test x"$ac_file" = x-; then |
---|
4942 | configure_input= |
---|
4943 | else |
---|
4944 | configure_input="$ac_file. " |
---|
4945 | fi |
---|
4946 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
---|
4947 | sed 's,.*/,,'` by configure." |
---|
4948 | |
---|
4949 | # First look for the input files in the build tree, otherwise in the |
---|
4950 | # src tree. |
---|
4951 | ac_file_inputs=`IFS=: |
---|
4952 | for f in $ac_file_in; do |
---|
4953 | case $f in |
---|
4954 | -) echo $tmp/stdin ;; |
---|
4955 | [\\/$]*) |
---|
4956 | # Absolute (can't be DOS-style, as IFS=:) |
---|
4957 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
4958 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
4959 | { (exit 1); exit 1; }; } |
---|
4960 | echo $f;; |
---|
4961 | *) # Relative |
---|
4962 | if test -f "$f"; then |
---|
4963 | # Build tree |
---|
4964 | echo $f |
---|
4965 | elif test -f "$srcdir/$f"; then |
---|
4966 | # Source tree |
---|
4967 | echo $srcdir/$f |
---|
4968 | else |
---|
4969 | # /dev/null tree |
---|
4970 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
4971 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
4972 | { (exit 1); exit 1; }; } |
---|
4973 | fi;; |
---|
4974 | esac |
---|
4975 | done` || { (exit 1); exit 1; } |
---|
4976 | _ACEOF |
---|
4977 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
4978 | sed "$ac_vpsub |
---|
4979 | $extrasub |
---|
4980 | _ACEOF |
---|
4981 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
4982 | :t |
---|
4983 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
4984 | s,@configure_input@,$configure_input,;t t |
---|
4985 | s,@srcdir@,$ac_srcdir,;t t |
---|
4986 | s,@abs_srcdir@,$ac_abs_srcdir,;t t |
---|
4987 | s,@top_srcdir@,$ac_top_srcdir,;t t |
---|
4988 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
---|
4989 | s,@builddir@,$ac_builddir,;t t |
---|
4990 | s,@abs_builddir@,$ac_abs_builddir,;t t |
---|
4991 | s,@top_builddir@,$ac_top_builddir,;t t |
---|
4992 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
---|
4993 | s,@INSTALL@,$ac_INSTALL,;t t |
---|
4994 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
---|
4995 | rm -f $tmp/stdin |
---|
4996 | if test x"$ac_file" != x-; then |
---|
4997 | mv $tmp/out $ac_file |
---|
4998 | else |
---|
4999 | cat $tmp/out |
---|
5000 | rm -f $tmp/out |
---|
5001 | fi |
---|
5002 | |
---|
5003 | done |
---|
5004 | _ACEOF |
---|
5005 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5006 | |
---|
5007 | # |
---|
5008 | # CONFIG_HEADER section. |
---|
5009 | # |
---|
5010 | |
---|
5011 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
---|
5012 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
---|
5013 | # |
---|
5014 | # ac_d sets the value in "#define NAME VALUE" lines. |
---|
5015 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
---|
5016 | ac_dB='[ ].*$,\1#\2' |
---|
5017 | ac_dC=' ' |
---|
5018 | ac_dD=',;t' |
---|
5019 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
---|
5020 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
---|
5021 | ac_uB='$,\1#\2define\3' |
---|
5022 | ac_uC=' ' |
---|
5023 | ac_uD=',;t' |
---|
5024 | |
---|
5025 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
---|
5026 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
5027 | case $ac_file in |
---|
5028 | - | *:- | *:-:* ) # input from stdin |
---|
5029 | cat >$tmp/stdin |
---|
5030 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
5031 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
5032 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
5033 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
5034 | * ) ac_file_in=$ac_file.in ;; |
---|
5035 | esac |
---|
5036 | |
---|
5037 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
5038 | echo "$as_me: creating $ac_file" >&6;} |
---|
5039 | |
---|
5040 | # First look for the input files in the build tree, otherwise in the |
---|
5041 | # src tree. |
---|
5042 | ac_file_inputs=`IFS=: |
---|
5043 | for f in $ac_file_in; do |
---|
5044 | case $f in |
---|
5045 | -) echo $tmp/stdin ;; |
---|
5046 | [\\/$]*) |
---|
5047 | # Absolute (can't be DOS-style, as IFS=:) |
---|
5048 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
5049 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
5050 | { (exit 1); exit 1; }; } |
---|
5051 | echo $f;; |
---|
5052 | *) # Relative |
---|
5053 | if test -f "$f"; then |
---|
5054 | # Build tree |
---|
5055 | echo $f |
---|
5056 | elif test -f "$srcdir/$f"; then |
---|
5057 | # Source tree |
---|
5058 | echo $srcdir/$f |
---|
5059 | else |
---|
5060 | # /dev/null tree |
---|
5061 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
5062 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
5063 | { (exit 1); exit 1; }; } |
---|
5064 | fi;; |
---|
5065 | esac |
---|
5066 | done` || { (exit 1); exit 1; } |
---|
5067 | # Remove the trailing spaces. |
---|
5068 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
---|
5069 | |
---|
5070 | _ACEOF |
---|
5071 | |
---|
5072 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
---|
5073 | # `conftest.undefs', that substitutes the proper values into |
---|
5074 | # config.h.in to produce config.h. The first handles `#define' |
---|
5075 | # templates, and the second `#undef' templates. |
---|
5076 | # And first: Protect against being on the right side of a sed subst in |
---|
5077 | # config.status. Protect against being in an unquoted here document |
---|
5078 | # in config.status. |
---|
5079 | rm -f conftest.defines conftest.undefs |
---|
5080 | # Using a here document instead of a string reduces the quoting nightmare. |
---|
5081 | # Putting comments in sed scripts is not portable. |
---|
5082 | # |
---|
5083 | # `end' is used to avoid that the second main sed command (meant for |
---|
5084 | # 0-ary CPP macros) applies to n-ary macro definitions. |
---|
5085 | # See the Autoconf documentation for `clear'. |
---|
5086 | cat >confdef2sed.sed <<\_ACEOF |
---|
5087 | s/[\\&,]/\\&/g |
---|
5088 | s,[\\$`],\\&,g |
---|
5089 | t clear |
---|
5090 | : clear |
---|
5091 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
---|
5092 | t end |
---|
5093 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
---|
5094 | : end |
---|
5095 | _ACEOF |
---|
5096 | # If some macros were called several times there might be several times |
---|
5097 | # the same #defines, which is useless. Nevertheless, we may not want to |
---|
5098 | # sort them, since we want the *last* AC-DEFINE to be honored. |
---|
5099 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
---|
5100 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
---|
5101 | rm -f confdef2sed.sed |
---|
5102 | |
---|
5103 | # This sed command replaces #undef with comments. This is necessary, for |
---|
5104 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
---|
5105 | # on some systems where configure will not decide to define it. |
---|
5106 | cat >>conftest.undefs <<\_ACEOF |
---|
5107 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
---|
5108 | _ACEOF |
---|
5109 | |
---|
5110 | # Break up conftest.defines because some shells have a limit on the size |
---|
5111 | # of here documents, and old seds have small limits too (100 cmds). |
---|
5112 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
---|
5113 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
---|
5114 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
---|
5115 | echo ' :' >>$CONFIG_STATUS |
---|
5116 | rm -f conftest.tail |
---|
5117 | while grep . conftest.defines >/dev/null |
---|
5118 | do |
---|
5119 | # Write a limited-size here document to $tmp/defines.sed. |
---|
5120 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
---|
5121 | # Speed up: don't consider the non `#define' lines. |
---|
5122 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
---|
5123 | # Work around the forget-to-reset-the-flag bug. |
---|
5124 | echo 't clr' >>$CONFIG_STATUS |
---|
5125 | echo ': clr' >>$CONFIG_STATUS |
---|
5126 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
---|
5127 | echo 'CEOF |
---|
5128 | sed -f $tmp/defines.sed $tmp/in >$tmp/out |
---|
5129 | rm -f $tmp/in |
---|
5130 | mv $tmp/out $tmp/in |
---|
5131 | ' >>$CONFIG_STATUS |
---|
5132 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
---|
5133 | rm -f conftest.defines |
---|
5134 | mv conftest.tail conftest.defines |
---|
5135 | done |
---|
5136 | rm -f conftest.defines |
---|
5137 | echo ' fi # grep' >>$CONFIG_STATUS |
---|
5138 | echo >>$CONFIG_STATUS |
---|
5139 | |
---|
5140 | # Break up conftest.undefs because some shells have a limit on the size |
---|
5141 | # of here documents, and old seds have small limits too (100 cmds). |
---|
5142 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
---|
5143 | rm -f conftest.tail |
---|
5144 | while grep . conftest.undefs >/dev/null |
---|
5145 | do |
---|
5146 | # Write a limited-size here document to $tmp/undefs.sed. |
---|
5147 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
---|
5148 | # Speed up: don't consider the non `#undef' |
---|
5149 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
---|
5150 | # Work around the forget-to-reset-the-flag bug. |
---|
5151 | echo 't clr' >>$CONFIG_STATUS |
---|
5152 | echo ': clr' >>$CONFIG_STATUS |
---|
5153 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
---|
5154 | echo 'CEOF |
---|
5155 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
---|
5156 | rm -f $tmp/in |
---|
5157 | mv $tmp/out $tmp/in |
---|
5158 | ' >>$CONFIG_STATUS |
---|
5159 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
---|
5160 | rm -f conftest.undefs |
---|
5161 | mv conftest.tail conftest.undefs |
---|
5162 | done |
---|
5163 | rm -f conftest.undefs |
---|
5164 | |
---|
5165 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5166 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
5167 | # use $as_me), people would be surprised to read: |
---|
5168 | # /* config.h. Generated by config.status. */ |
---|
5169 | if test x"$ac_file" = x-; then |
---|
5170 | echo "/* Generated by configure. */" >$tmp/config.h |
---|
5171 | else |
---|
5172 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
---|
5173 | fi |
---|
5174 | cat $tmp/in >>$tmp/config.h |
---|
5175 | rm -f $tmp/in |
---|
5176 | if test x"$ac_file" != x-; then |
---|
5177 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
---|
5178 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
---|
5179 | echo "$as_me: $ac_file is unchanged" >&6;} |
---|
5180 | else |
---|
5181 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
5182 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5183 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
5184 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
5185 | X"$ac_file" : 'X\(/\)' \| \ |
---|
5186 | . : '\(.\)' 2>/dev/null || |
---|
5187 | echo X"$ac_file" | |
---|
5188 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5189 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5190 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5191 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5192 | s/.*/./; q'` |
---|
5193 | { if $as_mkdir_p; then |
---|
5194 | mkdir -p "$ac_dir" |
---|
5195 | else |
---|
5196 | as_dir="$ac_dir" |
---|
5197 | as_dirs= |
---|
5198 | while test ! -d "$as_dir"; do |
---|
5199 | as_dirs="$as_dir $as_dirs" |
---|
5200 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
5201 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5202 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
5203 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
5204 | X"$as_dir" : 'X\(/\)' \| \ |
---|
5205 | . : '\(.\)' 2>/dev/null || |
---|
5206 | echo X"$as_dir" | |
---|
5207 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5208 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5209 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5210 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5211 | s/.*/./; q'` |
---|
5212 | done |
---|
5213 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
5214 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
5215 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
5216 | { (exit 1); exit 1; }; }; } |
---|
5217 | |
---|
5218 | rm -f $ac_file |
---|
5219 | mv $tmp/config.h $ac_file |
---|
5220 | fi |
---|
5221 | else |
---|
5222 | cat $tmp/config.h |
---|
5223 | rm -f $tmp/config.h |
---|
5224 | fi |
---|
5225 | _am_stamp_count=`expr ${_am_stamp_count-0} + 1` |
---|
5226 | echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
---|
5227 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5228 | X$ac_file : 'X\(//\)[^/]' \| \ |
---|
5229 | X$ac_file : 'X\(//\)$' \| \ |
---|
5230 | X$ac_file : 'X\(/\)' \| \ |
---|
5231 | . : '\(.\)' 2>/dev/null || |
---|
5232 | echo X$ac_file | |
---|
5233 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5234 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5235 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5236 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5237 | s/.*/./; q'`/stamp-h$_am_stamp_count |
---|
5238 | # Run the commands associated with the file. |
---|
5239 | case $ac_file in |
---|
5240 | include/bspopts.tmp ) |
---|
5241 | echo "/* BSP dependent options file */" >$tmp/config.h |
---|
5242 | echo "/* automatically generated -- DO NOT EDIT!! */" >>$tmp/config.h |
---|
5243 | echo >>$tmp/config.h |
---|
5244 | echo "#ifndef __BSP_OPTIONS_h" >>$tmp/config.h |
---|
5245 | echo "#define __BSP_OPTIONS_h" >>$tmp/config.h |
---|
5246 | echo >>$tmp/config.h |
---|
5247 | sed -e '/.*PACKAGE.*/d' include/bspopts.tmp >> $tmp/config.h |
---|
5248 | echo >>$tmp/config.h |
---|
5249 | echo "#endif" >>$tmp/config.h |
---|
5250 | if cmp -s include/bspopts.h $tmp/config.h 2>/dev/null; then |
---|
5251 | |
---|
5252 | { echo "$as_me:$LINENO: include/bspopts.h is unchanged" >&5 |
---|
5253 | echo "$as_me: include/bspopts.h is unchanged" >&6;} |
---|
5254 | rm -f $tmp/config.h |
---|
5255 | else |
---|
5256 | |
---|
5257 | { echo "$as_me:$LINENO: creating include/bspopts.h" >&5 |
---|
5258 | echo "$as_me: creating include/bspopts.h" >&6;} |
---|
5259 | rm -f include/bspopts.h |
---|
5260 | mv $tmp/config.h include/bspopts.h |
---|
5261 | |
---|
5262 | fi |
---|
5263 | |
---|
5264 | ;; |
---|
5265 | esac |
---|
5266 | done |
---|
5267 | _ACEOF |
---|
5268 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5269 | |
---|
5270 | # |
---|
5271 | # CONFIG_COMMANDS section. |
---|
5272 | # |
---|
5273 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
---|
5274 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
---|
5275 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
5276 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
---|
5277 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5278 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
---|
5279 | X"$ac_dest" : 'X\(//\)$' \| \ |
---|
5280 | X"$ac_dest" : 'X\(/\)' \| \ |
---|
5281 | . : '\(.\)' 2>/dev/null || |
---|
5282 | echo X"$ac_dest" | |
---|
5283 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5284 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5285 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5286 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5287 | s/.*/./; q'` |
---|
5288 | ac_builddir=. |
---|
5289 | |
---|
5290 | if test "$ac_dir" != .; then |
---|
5291 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
5292 | # A "../" for each directory in $ac_dir_suffix. |
---|
5293 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
5294 | else |
---|
5295 | ac_dir_suffix= ac_top_builddir= |
---|
5296 | fi |
---|
5297 | |
---|
5298 | case $srcdir in |
---|
5299 | .) # No --srcdir option. We are building in place. |
---|
5300 | ac_srcdir=. |
---|
5301 | if test -z "$ac_top_builddir"; then |
---|
5302 | ac_top_srcdir=. |
---|
5303 | else |
---|
5304 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
5305 | fi ;; |
---|
5306 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
5307 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
5308 | ac_top_srcdir=$srcdir ;; |
---|
5309 | *) # Relative path. |
---|
5310 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
5311 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
5312 | esac |
---|
5313 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
---|
5314 | # absolute. |
---|
5315 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
---|
5316 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
---|
5317 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
---|
5318 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
---|
5319 | |
---|
5320 | |
---|
5321 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
---|
5322 | echo "$as_me: executing $ac_dest commands" >&6;} |
---|
5323 | case $ac_dest in |
---|
5324 | depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
---|
5325 | # Strip MF so we end up with the name of the file. |
---|
5326 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
5327 | # Check whether this is an Automake generated Makefile or not. |
---|
5328 | # We used to match only the files named `Makefile.in', but |
---|
5329 | # some people rename them; so instead we look at the file content. |
---|
5330 | # Grep'ing the first line is not enough: some people post-process |
---|
5331 | # each Makefile.in and add a new line on top of each file to say so. |
---|
5332 | # So let's grep whole file. |
---|
5333 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
---|
5334 | dirpart=`(dirname "$mf") 2>/dev/null || |
---|
5335 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5336 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
5337 | X"$mf" : 'X\(//\)$' \| \ |
---|
5338 | X"$mf" : 'X\(/\)' \| \ |
---|
5339 | . : '\(.\)' 2>/dev/null || |
---|
5340 | echo X"$mf" | |
---|
5341 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5342 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5343 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5344 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5345 | s/.*/./; q'` |
---|
5346 | else |
---|
5347 | continue |
---|
5348 | fi |
---|
5349 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
---|
5350 | # Extract the definition of DEP_FILES from the Makefile without |
---|
5351 | # running `make'. |
---|
5352 | DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` |
---|
5353 | test -z "$DEPDIR" && continue |
---|
5354 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
5355 | U=`sed -n -e '/^U = / s///p' < "$mf"` |
---|
5356 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
---|
5357 | # We invoke sed twice because it is the simplest approach to |
---|
5358 | # changing $(DEPDIR) to its actual value in the expansion. |
---|
5359 | for file in `sed -n -e ' |
---|
5360 | /^DEP_FILES = .*\\\\$/ { |
---|
5361 | s/^DEP_FILES = // |
---|
5362 | :loop |
---|
5363 | s/\\\\$// |
---|
5364 | p |
---|
5365 | n |
---|
5366 | /\\\\$/ b loop |
---|
5367 | p |
---|
5368 | } |
---|
5369 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
---|
5370 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
5371 | # Make sure the directory exists. |
---|
5372 | test -f "$dirpart/$file" && continue |
---|
5373 | fdir=`(dirname "$file") 2>/dev/null || |
---|
5374 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5375 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
5376 | X"$file" : 'X\(//\)$' \| \ |
---|
5377 | X"$file" : 'X\(/\)' \| \ |
---|
5378 | . : '\(.\)' 2>/dev/null || |
---|
5379 | echo X"$file" | |
---|
5380 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5381 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5382 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5383 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5384 | s/.*/./; q'` |
---|
5385 | { if $as_mkdir_p; then |
---|
5386 | mkdir -p $dirpart/$fdir |
---|
5387 | else |
---|
5388 | as_dir=$dirpart/$fdir |
---|
5389 | as_dirs= |
---|
5390 | while test ! -d "$as_dir"; do |
---|
5391 | as_dirs="$as_dir $as_dirs" |
---|
5392 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
5393 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5394 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
5395 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
5396 | X"$as_dir" : 'X\(/\)' \| \ |
---|
5397 | . : '\(.\)' 2>/dev/null || |
---|
5398 | echo X"$as_dir" | |
---|
5399 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5400 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5401 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5402 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5403 | s/.*/./; q'` |
---|
5404 | done |
---|
5405 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
5406 | fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 |
---|
5407 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
---|
5408 | { (exit 1); exit 1; }; }; } |
---|
5409 | |
---|
5410 | # echo "creating $dirpart/$file" |
---|
5411 | echo '# dummy' > "$dirpart/$file" |
---|
5412 | done |
---|
5413 | done |
---|
5414 | ;; |
---|
5415 | esac |
---|
5416 | done |
---|
5417 | _ACEOF |
---|
5418 | |
---|
5419 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5420 | |
---|
5421 | { (exit 0); exit 0; } |
---|
5422 | _ACEOF |
---|
5423 | chmod +x $CONFIG_STATUS |
---|
5424 | ac_clean_files=$ac_clean_files_save |
---|
5425 | |
---|
5426 | |
---|
5427 | exceptions_subdirs="new_exception_processing" |
---|
5428 | updir=/../support |
---|
5429 | |
---|
5430 | if test "$no_recursion" != yes; then |
---|
5431 | |
---|
5432 | |
---|
5433 | |
---|
5434 | ac_sub_configure_args_prune() |
---|
5435 | { |
---|
5436 | # Remove --cache-file and --srcdir arguments so they do not pile up. |
---|
5437 | ac_sub_configure_args= |
---|
5438 | ac_prev= |
---|
5439 | for ac_arg |
---|
5440 | do |
---|
5441 | if test -n "$ac_prev"; then |
---|
5442 | ac_prev= |
---|
5443 | continue |
---|
5444 | fi |
---|
5445 | case $ac_arg in |
---|
5446 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
5447 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
5448 | ac_prev=cache_file ;; |
---|
5449 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
5450 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
---|
5451 | | --c=*) |
---|
5452 | ;; |
---|
5453 | --config-cache | -C) |
---|
5454 | ;; |
---|
5455 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
5456 | ac_prev=srcdir ;; |
---|
5457 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
5458 | ;; |
---|
5459 | |
---|
5460 | *) ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; |
---|
5461 | esac |
---|
5462 | done |
---|
5463 | export ac_sub_configure_args |
---|
5464 | } |
---|
5465 | |
---|
5466 | eval ac_sub_configure_args_prune $ac_configure_args |
---|
5467 | |
---|
5468 | |
---|
5469 | for ac_subdir in : $exceptions_subdirs; do test "x$ac_subdir" = x: && continue |
---|
5470 | |
---|
5471 | # Do not complain, so a configure script can configure whichever |
---|
5472 | # parts of a large source tree are present. |
---|
5473 | test -d $srcdir${updir}/$ac_subdir || continue |
---|
5474 | |
---|
5475 | { echo "$as_me:$LINENO: configuring in $ac_subdir" >&5 |
---|
5476 | echo "$as_me: configuring in $ac_subdir" >&6;} |
---|
5477 | case $srcdir in |
---|
5478 | .) ;; |
---|
5479 | *) { if $as_mkdir_p; then |
---|
5480 | mkdir -p "./$ac_subdir" |
---|
5481 | else |
---|
5482 | as_dir="./$ac_subdir" |
---|
5483 | as_dirs= |
---|
5484 | while test ! -d "$as_dir"; do |
---|
5485 | as_dirs="$as_dir $as_dirs" |
---|
5486 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
5487 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5488 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
5489 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
5490 | X"$as_dir" : 'X\(/\)' \| \ |
---|
5491 | . : '\(.\)' 2>/dev/null || |
---|
5492 | echo X"$as_dir" | |
---|
5493 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
5494 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
5495 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
5496 | /^X\(\/\).*/{ s//\1/; q; } |
---|
5497 | s/.*/./; q'` |
---|
5498 | done |
---|
5499 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
5500 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"./$ac_subdir\"" >&5 |
---|
5501 | echo "$as_me: error: cannot create directory \"./$ac_subdir\"" >&2;} |
---|
5502 | { (exit 1); exit 1; }; }; } |
---|
5503 | |
---|
5504 | if test -d ./$ac_subdir; then :; |
---|
5505 | else |
---|
5506 | { { echo "$as_me:$LINENO: error: cannot create \`pwd\`/$ac_subdir" >&5 |
---|
5507 | echo "$as_me: error: cannot create \`pwd\`/$ac_subdir" >&2;} |
---|
5508 | { (exit 1); exit 1; }; } |
---|
5509 | fi |
---|
5510 | ;; |
---|
5511 | esac |
---|
5512 | |
---|
5513 | ac_popdir=`pwd` |
---|
5514 | cd $ac_subdir |
---|
5515 | |
---|
5516 | # A "../" for each directory in /$ac_subdir. |
---|
5517 | ac_dots=`echo $ac_subdir | |
---|
5518 | sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` |
---|
5519 | |
---|
5520 | case $srcdir in |
---|
5521 | .) # No --srcdir option. We are building in place. |
---|
5522 | ac_sub_srcdir=$srcdir${updir} ;; |
---|
5523 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
5524 | ac_sub_srcdir=$srcdir${updir}/$ac_subdir ;; |
---|
5525 | *) # Relative path. |
---|
5526 | ac_sub_srcdir=$ac_dots$srcdir${updir}/$ac_subdir ;; |
---|
5527 | esac |
---|
5528 | |
---|
5529 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
5530 | if test -f $ac_sub_srcdir/configure.gnu; then |
---|
5531 | ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'" |
---|
5532 | elif test -f $ac_sub_srcdir/configure; then |
---|
5533 | ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'" |
---|
5534 | elif test -f $ac_sub_srcdir/configure.in; then |
---|
5535 | ac_sub_configure=$ac_configure |
---|
5536 | else |
---|
5537 | { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_subdir" >&5 |
---|
5538 | echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;} |
---|
5539 | ac_sub_configure= |
---|
5540 | fi |
---|
5541 | |
---|
5542 | # The recursion is here. |
---|
5543 | if test -n "$ac_sub_configure"; then |
---|
5544 | # Make the cache file name correct relative to the subdirectory. |
---|
5545 | case $cache_file in |
---|
5546 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
---|
5547 | *) # Relative path. |
---|
5548 | ac_sub_cache_file=$ac_dots$cache_file ;; |
---|
5549 | esac |
---|
5550 | |
---|
5551 | { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5 |
---|
5552 | echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&6;} |
---|
5553 | # The eval makes quoting arguments work. |
---|
5554 | eval $ac_sub_configure $ac_sub_configure_args \ |
---|
5555 | --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir || |
---|
5556 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_subdir" >&5 |
---|
5557 | echo "$as_me: error: $ac_sub_configure failed for $ac_subdir" >&2;} |
---|
5558 | { (exit 1); exit 1; }; } |
---|
5559 | fi |
---|
5560 | |
---|
5561 | cd "$ac_popdir" |
---|
5562 | done |
---|
5563 | fi |
---|
5564 | |
---|
5565 | |
---|
5566 | # configure is writing to config.log, and then calls config.status. |
---|
5567 | # config.status does its own redirection, appending to config.log. |
---|
5568 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
5569 | # by configure, so config.status won't be able to write to it; its |
---|
5570 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
5571 | # effectively closing config.log, so it can be properly (re)opened and |
---|
5572 | # appended to by config.status. When coming back to configure, we |
---|
5573 | # need to make the FD available again. |
---|
5574 | if test "$no_create" != yes; then |
---|
5575 | ac_cs_success=: |
---|
5576 | ac_config_status_args= |
---|
5577 | test "$silent" = yes && |
---|
5578 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
5579 | exec 5>/dev/null |
---|
5580 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
5581 | exec 5>>config.log |
---|
5582 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
5583 | # would make configure fail if this is the last instruction. |
---|
5584 | $ac_cs_success || { (exit 1); exit 1; } |
---|
5585 | fi |
---|
5586 | |
---|