comparison libgcc/configure @ 55:77e2b8dfacca gcc-4.4.5

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