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