less debug
[AROS.git] / config / features
blobcbf07e41354e14baa112ce1473e0d73957bd1df4
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
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"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
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=';'
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"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
584 ac_unique_file="../mmakefile"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 aros_nowarnflags_lto_type_mismatch
588 aros_warnflags_lto_type_mismatch
589 aros_nowarnflags_format_zero_length
590 aros_warnflags_format_zero_length
591 aros_nowarnflags_return_type
592 aros_warnflags_return_type
593 aros_nowarnflags_sizeof_pointer_memaccess
594 aros_warnflags_sizeof_pointer_memaccess
595 aros_nowarnflags_volatile_register_var
596 aros_warnflags_volatile_register_var
597 aros_nowarnflags_narrowing
598 aros_warnflags_narrowing
599 aros_nowarnflags_conversion_null
600 aros_warnflags_conversion_null
601 aros_nowarnflags_missing_braces
602 aros_warnflags_missing_braces
603 aros_nowarnflags_unused_local_typedefs
604 aros_warnflags_unused_local_typedefs
605 aros_nowarnflags_overflow
606 aros_warnflags_overflow
607 aros_nowarnflags_attributes
608 aros_warnflags_attributes
609 aros_nowarnflags_sign_compare
610 aros_warnflags_sign_compare
611 aros_nowarnflags_deprecated_declarations
612 aros_warnflags_deprecated_declarations
613 aros_nowarnflags_frame_address
614 aros_warnflags_frame_address
615 aros_nowarnflags_shift_overflow
616 aros_warnflags_shift_overflow
617 aros_nowarnflags_pointer_sign
618 aros_warnflags_pointer_sign
619 aros_nowarnflags_logical_not_parentheses
620 aros_warnflags_logical_not_parentheses
621 aros_nowarnflags_bool_compare
622 aros_warnflags_bool_compare
623 aros_nowarnflags_incompatible_pointer_types
624 aros_warnflags_incompatible_pointer_types
625 aros_nowarnflags_comment
626 aros_warnflags_comment
627 aros_nowarnflags_write_strings
628 aros_warnflags_write_strings
629 aros_nowarnflags_unused_const_variable
630 aros_warnflags_unused_const_variable
631 aros_nowarnflags_pointer_to_int_cast
632 aros_warnflags_pointer_to_int_cast
633 aros_nowarnflags_int_to_pointer_cast
634 aros_warnflags_int_to_pointer_cast
635 aros_nowarnflags_int_conversion
636 aros_warnflags_int_conversion
637 aros_nowarnflags_discarded_array_qualifiers
638 aros_warnflags_discarded_array_qualifiers
639 aros_nowarnflags_unknown_pragmas
640 aros_warnflags_unknown_pragmas
641 aros_nowarnflags_sequence_point
642 aros_warnflags_sequence_point
643 aros_nowarnflags_discarded_qualifiers
644 aros_warnflags_discarded_qualifiers
645 aros_nowarnflags_switch
646 aros_warnflags_switch
647 aros_nowarnflags_cpp
648 aros_warnflags_cpp
649 aros_nowarnflags_aggressive_loop_optimizations
650 aros_warnflags_aggressive_loop_optimizations
651 aros_nowarnflags_implicit_int
652 aros_warnflags_implicit_int
653 aros_nowarnflags_format_contains_nul
654 aros_warnflags_format_contains_nul
655 aros_nowarnflags_endif_labels
656 aros_warnflags_endif_labels
657 aros_nowarnflags_char_subscripts
658 aros_warnflags_char_subscripts
659 aros_nowarnflags_parentheses
660 aros_warnflags_parentheses
661 aros_nowarnflags_format
662 aros_warnflags_format
663 aros_nowarnflags_implicit_function_declaration
664 aros_warnflags_implicit_function_declaration
665 aros_nowarnflags_maybe_uninitialized
666 aros_warnflags_maybe_uninitialized
667 aros_nowarnflags_uninitialized
668 aros_warnflags_uninitialized
669 aros_nowarnflags_unused_parameter
670 aros_warnflags_unused_parameter
671 aros_nowarnflags_unused_function
672 aros_warnflags_unused_function
673 aros_nowarnflags_unused_variable
674 aros_warnflags_unused_variable
675 aros_nowarnflags_unused_value
676 aros_warnflags_unused_value
677 aros_nowarnflags_unused
678 aros_warnflags_unused
679 aros_nowarnflags_nonnull_compare
680 aros_warnflags_nonnull_compare
681 aros_nowarnflags_misleading_indentation
682 aros_warnflags_misleading_indentation
683 aros_nowarnflags_format_security
684 aros_warnflags_format_security
685 aros_nowarnflags_strict_overflow
686 aros_warnflags_strict_overflow
687 aros_nowarnflags_strict_prototypes
688 aros_warnflags_strict_prototypes
689 aros_nowarnflags_enum_compare
690 aros_warnflags_enum_compare
691 aros_nowarnflags_array_bounds
692 aros_warnflags_array_bounds
693 aros_nowarnflags_strict_aliasing
694 aros_warnflags_strict_aliasing
695 aros_nowarnflags_unused_but_set_variable
696 aros_warnflags_unused_but_set_variable
697 aros_nowarnflags_unknown_warning_option
698 aros_warnflags_unknown_warning_option
699 aros_nowarnflags_unused_command_line_argument
700 aros_warnflags_unused_command_line_argument
701 aros_cflags_no_red_zone
702 aros_cflags_iquote_end
703 aros_cflags_iquote
704 aros_cflags_nostrictaliasing
705 aros_cflags_strictaliasing
706 aros_cflags_unroll_loops
707 aros_cflags_peel_loops
708 aros_cflags_loop_strip_mine
709 aros_cflags_loop_interchange
710 aros_cflags_loop_block
711 aros_cflags_whole_program
712 aros_cflags_nolto
713 aros_cflags_lto
714 aros_cflags_no_builtin_floor
715 aros_cflags_fast_math
716 aros_cflags_permissive
717 OBJEXT
718 EXEEXT
719 ac_ct_CC
720 CPPFLAGS
721 LDFLAGS
722 CFLAGS
724 target_alias
725 host_alias
726 build_alias
727 LIBS
728 ECHO_T
729 ECHO_N
730 ECHO_C
731 DEFS
732 mandir
733 localedir
734 libdir
735 psdir
736 pdfdir
737 dvidir
738 htmldir
739 infodir
740 docdir
741 oldincludedir
742 includedir
743 localstatedir
744 sharedstatedir
745 sysconfdir
746 datadir
747 datarootdir
748 libexecdir
749 sbindir
750 bindir
751 program_transform_name
752 prefix
753 exec_prefix
754 PACKAGE_URL
755 PACKAGE_BUGREPORT
756 PACKAGE_STRING
757 PACKAGE_VERSION
758 PACKAGE_TARNAME
759 PACKAGE_NAME
760 PATH_SEPARATOR
761 SHELL'
762 ac_subst_files=''
763 ac_user_opts='
764 enable_option_checking
765 with_config_dir
767 ac_precious_vars='build_alias
768 host_alias
769 target_alias
771 CFLAGS
772 LDFLAGS
773 LIBS
774 CPPFLAGS'
777 # Initialize some variables set by options.
778 ac_init_help=
779 ac_init_version=false
780 ac_unrecognized_opts=
781 ac_unrecognized_sep=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
784 cache_file=/dev/null
785 exec_prefix=NONE
786 no_create=
787 no_recursion=
788 prefix=NONE
789 program_prefix=NONE
790 program_suffix=NONE
791 program_transform_name=s,x,x,
792 silent=
793 site=
794 srcdir=
795 verbose=
796 x_includes=NONE
797 x_libraries=NONE
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir='${exec_prefix}/bin'
806 sbindir='${exec_prefix}/sbin'
807 libexecdir='${exec_prefix}/libexec'
808 datarootdir='${prefix}/share'
809 datadir='${datarootdir}'
810 sysconfdir='${prefix}/etc'
811 sharedstatedir='${prefix}/com'
812 localstatedir='${prefix}/var'
813 includedir='${prefix}/include'
814 oldincludedir='/usr/include'
815 docdir='${datarootdir}/doc/${PACKAGE}'
816 infodir='${datarootdir}/info'
817 htmldir='${docdir}'
818 dvidir='${docdir}'
819 pdfdir='${docdir}'
820 psdir='${docdir}'
821 libdir='${exec_prefix}/lib'
822 localedir='${datarootdir}/locale'
823 mandir='${datarootdir}/man'
825 ac_prev=
826 ac_dashdash=
827 for ac_option
829 # If the previous option needs an argument, assign it.
830 if test -n "$ac_prev"; then
831 eval $ac_prev=\$ac_option
832 ac_prev=
833 continue
836 case $ac_option in
837 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
838 *=) ac_optarg= ;;
839 *) ac_optarg=yes ;;
840 esac
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
846 ac_dashdash=yes ;;
848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
849 ac_prev=bindir ;;
850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
851 bindir=$ac_optarg ;;
853 -build | --build | --buil | --bui | --bu)
854 ac_prev=build_alias ;;
855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856 build_alias=$ac_optarg ;;
858 -cache-file | --cache-file | --cache-fil | --cache-fi \
859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860 ac_prev=cache_file ;;
861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863 cache_file=$ac_optarg ;;
865 --config-cache | -C)
866 cache_file=config.cache ;;
868 -datadir | --datadir | --datadi | --datad)
869 ac_prev=datadir ;;
870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
871 datadir=$ac_optarg ;;
873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874 | --dataroo | --dataro | --datar)
875 ac_prev=datarootdir ;;
876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878 datarootdir=$ac_optarg ;;
880 -disable-* | --disable-*)
881 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884 as_fn_error $? "invalid feature name: $ac_useropt"
885 ac_useropt_orig=$ac_useropt
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
889 "enable_$ac_useropt"
890 "*) ;;
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep=', ';;
893 esac
894 eval enable_$ac_useropt=no ;;
896 -docdir | --docdir | --docdi | --doc | --do)
897 ac_prev=docdir ;;
898 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
899 docdir=$ac_optarg ;;
901 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
902 ac_prev=dvidir ;;
903 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
904 dvidir=$ac_optarg ;;
906 -enable-* | --enable-*)
907 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910 as_fn_error $? "invalid feature name: $ac_useropt"
911 ac_useropt_orig=$ac_useropt
912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
915 "enable_$ac_useropt"
916 "*) ;;
917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep=', ';;
919 esac
920 eval enable_$ac_useropt=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
933 with_gas=yes ;;
935 -help | --help | --hel | --he | -h)
936 ac_init_help=long ;;
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948 ac_prev=htmldir ;;
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950 | --ht=*)
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
961 ac_prev=infodir ;;
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
966 ac_prev=libdir ;;
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
968 libdir=$ac_optarg ;;
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
978 ac_prev=localedir ;;
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990 ac_prev=mandir ;;
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992 mandir=$ac_optarg ;;
994 -nfp | --nfp | --nf)
995 # Obsolete; use --without-fp.
996 with_fp=no ;;
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1000 no_create=yes ;;
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004 no_recursion=yes ;;
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016 ac_prev=prefix ;;
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052 ac_prev=pdfdir ;;
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1057 ac_prev=psdir ;;
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059 psdir=$ac_optarg ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 silent=yes ;;
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066 ac_prev=sbindir ;;
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068 | --sbi=* | --sb=*)
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1074 | --sha | --sh)
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079 | --sha=* | --sh=*)
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1083 ac_prev=site ;;
1084 -site=* | --site=* | --sit=*)
1085 site=$ac_optarg ;;
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088 ac_prev=srcdir ;;
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105 verbose=yes ;;
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1110 -with-* | --with-*)
1111 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114 as_fn_error $? "invalid package name: $ac_useropt"
1115 ac_useropt_orig=$ac_useropt
1116 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1119 "with_$ac_useropt"
1120 "*) ;;
1121 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep=', ';;
1123 esac
1124 eval with_$ac_useropt=\$ac_optarg ;;
1126 -without-* | --without-*)
1127 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130 as_fn_error $? "invalid package name: $ac_useropt"
1131 ac_useropt_orig=$ac_useropt
1132 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1135 "with_$ac_useropt"
1136 "*) ;;
1137 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep=', ';;
1139 esac
1140 eval with_$ac_useropt=no ;;
1142 --x)
1143 # Obsolete; use --with-x.
1144 with_x=yes ;;
1146 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1147 | --x-incl | --x-inc | --x-in | --x-i)
1148 ac_prev=x_includes ;;
1149 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1150 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1151 x_includes=$ac_optarg ;;
1153 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1154 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1155 ac_prev=x_libraries ;;
1156 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1157 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1158 x_libraries=$ac_optarg ;;
1160 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information"
1164 *=*)
1165 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' | [0-9]* | *[!_$as_cr_alnum]* )
1169 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1170 esac
1171 eval $ac_envvar=\$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1182 esac
1183 done
1185 if test -n "$ac_prev"; then
1186 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error $? "missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1192 no) ;;
1193 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1195 esac
1198 # Check all directory arguments for consistency.
1199 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val=\$$ac_var
1205 # Remove trailing slashes.
1206 case $ac_val in
1207 */ )
1208 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\$ac_val;;
1210 esac
1211 # Be sure to have absolute directory names.
1212 case $ac_val in
1213 [\\/$]* | ?:[\\/]* ) continue;;
1214 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1215 esac
1216 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1217 done
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1222 build=$build_alias
1223 host=$host_alias
1224 target=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x; then
1228 if test "x$build_alias" = x; then
1229 cross_compiling=maybe
1230 elif test "x$build_alias" != "x$host_alias"; then
1231 cross_compiling=yes
1235 ac_tool_prefix=
1236 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1238 test "$silent" = yes && exec 6>/dev/null
1241 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di=`ls -di .` &&
1243 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1244 as_fn_error $? "working directory cannot be determined"
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 as_fn_error $? "pwd does not report name of working directory"
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251 ac_srcdir_defaulted=yes
1252 # Try the directory containing this script, then the parent directory.
1253 ac_confdir=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
1256 X"$as_myself" : 'X\(//\)$' \| \
1257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1260 s//\1/
1263 /^X\(\/\/\)[^/].*/{
1264 s//\1/
1267 /^X\(\/\/\)$/{
1268 s//\1/
1271 /^X\(\/\).*/{
1272 s//\1/
1275 s/.*/./; q'`
1276 srcdir=$ac_confdir
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1278 srcdir=..
1280 else
1281 ac_srcdir_defaulted=no
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1285 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1288 ac_abs_confdir=`(
1289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1290 pwd)`
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1293 srcdir=.
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1298 case $srcdir in
1299 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1300 esac
1301 for ac_var in $ac_precious_vars; do
1302 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1303 eval ac_env_${ac_var}_value=\$${ac_var}
1304 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1305 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1306 done
1309 # Report the --help message.
1311 if test "$ac_init_help" = "long"; then
1312 # Omit some internal or obsolete options to make the list less imposing.
1313 # This message is too long to be a string in the A/UX 3.1 sh.
1314 cat <<_ACEOF
1315 \`configure' configures this package to adapt to many kinds of systems.
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
1322 Defaults for the options are specified in brackets.
1324 Configuration:
1325 -h, --help display this help and exit
1326 --help=short display options specific to this package
1327 --help=recursive display the short help of all the included packages
1328 -V, --version display version information and exit
1329 -q, --quiet, --silent do not print \`checking ...' messages
1330 --cache-file=FILE cache test results in FILE [disabled]
1331 -C, --config-cache alias for \`--cache-file=config.cache'
1332 -n, --no-create do not create output files
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335 Installation directories:
1336 --prefix=PREFIX install architecture-independent files in PREFIX
1337 [$ac_default_prefix]
1338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1339 [PREFIX]
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1346 For better control, use the options below.
1348 Fine tuning of the installation directories:
1349 --bindir=DIR user executables [EPREFIX/bin]
1350 --sbindir=DIR system admin executables [EPREFIX/sbin]
1351 --libexecdir=DIR program executables [EPREFIX/libexec]
1352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1355 --libdir=DIR object code libraries [EPREFIX/lib]
1356 --includedir=DIR C header files [PREFIX/include]
1357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1360 --infodir=DIR info documentation [DATAROOTDIR/info]
1361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1362 --mandir=DIR man documentation [DATAROOTDIR/man]
1363 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1364 --htmldir=DIR html documentation [DOCDIR]
1365 --dvidir=DIR dvi documentation [DOCDIR]
1366 --pdfdir=DIR pdf documentation [DOCDIR]
1367 --psdir=DIR ps documentation [DOCDIR]
1368 _ACEOF
1370 cat <<\_ACEOF
1371 _ACEOF
1374 if test -n "$ac_init_help"; then
1376 cat <<\_ACEOF
1378 Optional Packages:
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --with-config-dir=VERSION
1382 Location of generated target config files
1384 Some influential environment variables:
1385 CC C compiler command
1386 CFLAGS C compiler flags
1387 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1388 nonstandard directory <lib dir>
1389 LIBS libraries to pass to the linker, e.g. -l<library>
1390 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1391 you have headers in a nonstandard directory <include dir>
1393 Use these variables to override the choices made by `configure' or to help
1394 it to find libraries and programs with nonstandard names/locations.
1396 Report bugs to the package provider.
1397 _ACEOF
1398 ac_status=$?
1401 if test "$ac_init_help" = "recursive"; then
1402 # If there are subdirs, report their specific --help.
1403 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1404 test -d "$ac_dir" ||
1405 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1406 continue
1407 ac_builddir=.
1409 case "$ac_dir" in
1410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1418 esac ;;
1419 esac
1420 ac_abs_top_builddir=$ac_pwd
1421 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir=$ac_top_build_prefix
1425 case $srcdir in
1426 .) # We are building in place.
1427 ac_srcdir=.
1428 ac_top_srcdir=$ac_top_builddir_sub
1429 ac_abs_top_srcdir=$ac_pwd ;;
1430 [\\/]* | ?:[\\/]* ) # Absolute name.
1431 ac_srcdir=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir=$srcdir
1433 ac_abs_top_srcdir=$srcdir ;;
1434 *) # Relative name.
1435 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 esac
1439 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1441 cd "$ac_dir" || { ac_status=$?; continue; }
1442 # Check for guested configure.
1443 if test -f "$ac_srcdir/configure.gnu"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1446 elif test -f "$ac_srcdir/configure"; then
1447 echo &&
1448 $SHELL "$ac_srcdir/configure" --help=recursive
1449 else
1450 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 fi || ac_status=$?
1452 cd "$ac_pwd" || { ac_status=$?; break; }
1453 done
1456 test -n "$ac_init_help" && exit $ac_status
1457 if $ac_init_version; then
1458 cat <<\_ACEOF
1459 configure
1460 generated by GNU Autoconf 2.69
1462 Copyright (C) 2012 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1465 _ACEOF
1466 exit
1469 ## ------------------------ ##
1470 ## Autoconf initialization. ##
1471 ## ------------------------ ##
1473 # ac_fn_c_try_compile LINENO
1474 # --------------------------
1475 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1476 ac_fn_c_try_compile ()
1478 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1479 rm -f conftest.$ac_objext
1480 if { { ac_try="$ac_compile"
1481 case "(($ac_try" in
1482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1483 *) ac_try_echo=$ac_try;;
1484 esac
1485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1486 $as_echo "$ac_try_echo"; } >&5
1487 (eval "$ac_compile") 2>conftest.err
1488 ac_status=$?
1489 if test -s conftest.err; then
1490 grep -v '^ *+' conftest.err >conftest.er1
1491 cat conftest.er1 >&5
1492 mv -f conftest.er1 conftest.err
1494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1495 test $ac_status = 0; } && {
1496 test -z "$ac_c_werror_flag" ||
1497 test ! -s conftest.err
1498 } && test -s conftest.$ac_objext; then :
1499 ac_retval=0
1500 else
1501 $as_echo "$as_me: failed program was:" >&5
1502 sed 's/^/| /' conftest.$ac_ext >&5
1504 ac_retval=1
1506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1507 as_fn_set_status $ac_retval
1509 } # ac_fn_c_try_compile
1510 cat >config.log <<_ACEOF
1511 This file contains any messages produced by compilers while
1512 running configure, to aid debugging if configure makes a mistake.
1514 It was created by $as_me, which was
1515 generated by GNU Autoconf 2.69. Invocation command line was
1517 $ $0 $@
1519 _ACEOF
1520 exec 5>>config.log
1522 cat <<_ASUNAME
1523 ## --------- ##
1524 ## Platform. ##
1525 ## --------- ##
1527 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1528 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1529 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1530 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1531 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1533 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1534 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1536 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1537 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1538 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1539 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1540 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1541 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1542 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1544 _ASUNAME
1546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1547 for as_dir in $PATH
1549 IFS=$as_save_IFS
1550 test -z "$as_dir" && as_dir=.
1551 $as_echo "PATH: $as_dir"
1552 done
1553 IFS=$as_save_IFS
1555 } >&5
1557 cat >&5 <<_ACEOF
1560 ## ----------- ##
1561 ## Core tests. ##
1562 ## ----------- ##
1564 _ACEOF
1567 # Keep a trace of the command line.
1568 # Strip out --no-create and --no-recursion so they do not pile up.
1569 # Strip out --silent because we don't want to record it for future runs.
1570 # Also quote any args containing shell meta-characters.
1571 # Make two passes to allow for proper duplicate-argument suppression.
1572 ac_configure_args=
1573 ac_configure_args0=
1574 ac_configure_args1=
1575 ac_must_keep_next=false
1576 for ac_pass in 1 2
1578 for ac_arg
1580 case $ac_arg in
1581 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1582 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1583 | -silent | --silent | --silen | --sile | --sil)
1584 continue ;;
1585 *\'*)
1586 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1587 esac
1588 case $ac_pass in
1589 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1591 as_fn_append ac_configure_args1 " '$ac_arg'"
1592 if test $ac_must_keep_next = true; then
1593 ac_must_keep_next=false # Got value, back to normal.
1594 else
1595 case $ac_arg in
1596 *=* | --config-cache | -C | -disable-* | --disable-* \
1597 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1598 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1599 | -with-* | --with-* | -without-* | --without-* | --x)
1600 case "$ac_configure_args0 " in
1601 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1602 esac
1604 -* ) ac_must_keep_next=true ;;
1605 esac
1607 as_fn_append ac_configure_args " '$ac_arg'"
1609 esac
1610 done
1611 done
1612 { ac_configure_args0=; unset ac_configure_args0;}
1613 { ac_configure_args1=; unset ac_configure_args1;}
1615 # When interrupted or exit'd, cleanup temporary files, and complete
1616 # config.log. We remove comments because anyway the quotes in there
1617 # would cause problems or look ugly.
1618 # WARNING: Use '\'' to represent an apostrophe within the trap.
1619 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1620 trap 'exit_status=$?
1621 # Save into config.log some information that might help in debugging.
1623 echo
1625 $as_echo "## ---------------- ##
1626 ## Cache variables. ##
1627 ## ---------------- ##"
1628 echo
1629 # The following way of writing the cache mishandles newlines in values,
1631 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1632 eval ac_val=\$$ac_var
1633 case $ac_val in #(
1634 *${as_nl}*)
1635 case $ac_var in #(
1636 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1637 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1638 esac
1639 case $ac_var in #(
1640 _ | IFS | as_nl) ;; #(
1641 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1642 *) { eval $ac_var=; unset $ac_var;} ;;
1643 esac ;;
1644 esac
1645 done
1646 (set) 2>&1 |
1647 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1648 *${as_nl}ac_space=\ *)
1649 sed -n \
1650 "s/'\''/'\''\\\\'\'''\''/g;
1651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1652 ;; #(
1654 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1656 esac |
1657 sort
1659 echo
1661 $as_echo "## ----------------- ##
1662 ## Output variables. ##
1663 ## ----------------- ##"
1664 echo
1665 for ac_var in $ac_subst_vars
1667 eval ac_val=\$$ac_var
1668 case $ac_val in
1669 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1670 esac
1671 $as_echo "$ac_var='\''$ac_val'\''"
1672 done | sort
1673 echo
1675 if test -n "$ac_subst_files"; then
1676 $as_echo "## ------------------- ##
1677 ## File substitutions. ##
1678 ## ------------------- ##"
1679 echo
1680 for ac_var in $ac_subst_files
1682 eval ac_val=\$$ac_var
1683 case $ac_val in
1684 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1685 esac
1686 $as_echo "$ac_var='\''$ac_val'\''"
1687 done | sort
1688 echo
1691 if test -s confdefs.h; then
1692 $as_echo "## ----------- ##
1693 ## confdefs.h. ##
1694 ## ----------- ##"
1695 echo
1696 cat confdefs.h
1697 echo
1699 test "$ac_signal" != 0 &&
1700 $as_echo "$as_me: caught signal $ac_signal"
1701 $as_echo "$as_me: exit $exit_status"
1702 } >&5
1703 rm -f core *.core core.conftest.* &&
1704 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1705 exit $exit_status
1707 for ac_signal in 1 2 13 15; do
1708 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1709 done
1710 ac_signal=0
1712 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1713 rm -f -r conftest* confdefs.h
1715 $as_echo "/* confdefs.h */" > confdefs.h
1717 # Predefined preprocessor variables.
1719 cat >>confdefs.h <<_ACEOF
1720 #define PACKAGE_NAME "$PACKAGE_NAME"
1721 _ACEOF
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1725 _ACEOF
1727 cat >>confdefs.h <<_ACEOF
1728 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1729 _ACEOF
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_STRING "$PACKAGE_STRING"
1733 _ACEOF
1735 cat >>confdefs.h <<_ACEOF
1736 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1737 _ACEOF
1739 cat >>confdefs.h <<_ACEOF
1740 #define PACKAGE_URL "$PACKAGE_URL"
1741 _ACEOF
1744 # Let the site file select an alternate cache file if it wants to.
1745 # Prefer an explicitly selected file to automatically selected ones.
1746 ac_site_file1=NONE
1747 ac_site_file2=NONE
1748 if test -n "$CONFIG_SITE"; then
1749 # We do not want a PATH search for config.site.
1750 case $CONFIG_SITE in #((
1751 -*) ac_site_file1=./$CONFIG_SITE;;
1752 */*) ac_site_file1=$CONFIG_SITE;;
1753 *) ac_site_file1=./$CONFIG_SITE;;
1754 esac
1755 elif test "x$prefix" != xNONE; then
1756 ac_site_file1=$prefix/share/config.site
1757 ac_site_file2=$prefix/etc/config.site
1758 else
1759 ac_site_file1=$ac_default_prefix/share/config.site
1760 ac_site_file2=$ac_default_prefix/etc/config.site
1762 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1764 test "x$ac_site_file" = xNONE && continue
1765 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1767 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1768 sed 's/^/| /' "$ac_site_file" >&5
1769 . "$ac_site_file" \
1770 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1772 as_fn_error $? "failed to load site script $ac_site_file
1773 See \`config.log' for more details" "$LINENO" 5; }
1775 done
1777 if test -r "$cache_file"; then
1778 # Some versions of bash will fail to source /dev/null (special files
1779 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1780 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1782 $as_echo "$as_me: loading cache $cache_file" >&6;}
1783 case $cache_file in
1784 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1785 *) . "./$cache_file";;
1786 esac
1788 else
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1790 $as_echo "$as_me: creating cache $cache_file" >&6;}
1791 >$cache_file
1794 # Check that the precious variables saved in the cache have kept the same
1795 # value.
1796 ac_cache_corrupted=false
1797 for ac_var in $ac_precious_vars; do
1798 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1799 eval ac_new_set=\$ac_env_${ac_var}_set
1800 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1801 eval ac_new_val=\$ac_env_${ac_var}_value
1802 case $ac_old_set,$ac_new_set in
1803 set,)
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1805 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1806 ac_cache_corrupted=: ;;
1807 ,set)
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1809 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1810 ac_cache_corrupted=: ;;
1811 ,);;
1813 if test "x$ac_old_val" != "x$ac_new_val"; then
1814 # differences in whitespace do not lead to failure.
1815 ac_old_val_w=`echo x $ac_old_val`
1816 ac_new_val_w=`echo x $ac_new_val`
1817 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1819 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1820 ac_cache_corrupted=:
1821 else
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1823 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1824 eval $ac_var=\$ac_old_val
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1827 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1829 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1830 fi;;
1831 esac
1832 # Pass precious variables to config.status.
1833 if test "$ac_new_set" = set; then
1834 case $ac_new_val in
1835 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1836 *) ac_arg=$ac_var=$ac_new_val ;;
1837 esac
1838 case " $ac_configure_args " in
1839 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1840 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1841 esac
1843 done
1844 if $ac_cache_corrupted; then
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1848 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1849 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1851 ## -------------------- ##
1852 ## Main body of script. ##
1853 ## -------------------- ##
1855 ac_ext=c
1856 ac_cpp='$CPP $CPPFLAGS'
1857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1863 ac_aux_dir=
1864 for ac_dir in ../scripts/autoconf "$srcdir"/../scripts/autoconf; do
1865 if test -f "$ac_dir/install-sh"; then
1866 ac_aux_dir=$ac_dir
1867 ac_install_sh="$ac_aux_dir/install-sh -c"
1868 break
1869 elif test -f "$ac_dir/install.sh"; then
1870 ac_aux_dir=$ac_dir
1871 ac_install_sh="$ac_aux_dir/install.sh -c"
1872 break
1873 elif test -f "$ac_dir/shtool"; then
1874 ac_aux_dir=$ac_dir
1875 ac_install_sh="$ac_aux_dir/shtool install -c"
1876 break
1878 done
1879 if test -z "$ac_aux_dir"; then
1880 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../scripts/autoconf \"$srcdir\"/../scripts/autoconf" "$LINENO" 5
1883 # These three variables are undocumented and unsupported,
1884 # and are intended to be withdrawn in a future Autoconf release.
1885 # They can cause serious problems if a builder's source tree is in a directory
1886 # whose full name contains unusual characters.
1887 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1888 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1889 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1893 AROS_BUILDDIR=`${PWDCMD-pwd}`
1894 AROS_BUILDDIR_UNIX=${PWD}
1896 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1897 SRCDIR=${srcpwd}
1899 NOLINKFLAGS="-nostdlib -nostartfiles"
1900 LDFLAGS=$NOLINKFLAGS
1901 # The first step is to find the binaries.
1902 ac_ext=c
1903 ac_cpp='$CPP $CPPFLAGS'
1904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1907 if test -n "$ac_tool_prefix"; then
1908 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1909 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1911 $as_echo_n "checking for $ac_word... " >&6; }
1912 if ${ac_cv_prog_CC+:} false; then :
1913 $as_echo_n "(cached) " >&6
1914 else
1915 if test -n "$CC"; then
1916 ac_cv_prog_CC="$CC" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1921 IFS=$as_save_IFS
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 break 2
1929 done
1930 done
1931 IFS=$as_save_IFS
1935 CC=$ac_cv_prog_CC
1936 if test -n "$CC"; then
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1938 $as_echo "$CC" >&6; }
1939 else
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1941 $as_echo "no" >&6; }
1946 if test -z "$ac_cv_prog_CC"; then
1947 ac_ct_CC=$CC
1948 # Extract the first word of "gcc", so it can be a program name with args.
1949 set dummy gcc; ac_word=$2
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1951 $as_echo_n "checking for $ac_word... " >&6; }
1952 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1953 $as_echo_n "(cached) " >&6
1954 else
1955 if test -n "$ac_ct_CC"; then
1956 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1957 else
1958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1959 for as_dir in $PATH
1961 IFS=$as_save_IFS
1962 test -z "$as_dir" && as_dir=.
1963 for ac_exec_ext in '' $ac_executable_extensions; do
1964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1965 ac_cv_prog_ac_ct_CC="gcc"
1966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1967 break 2
1969 done
1970 done
1971 IFS=$as_save_IFS
1975 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1976 if test -n "$ac_ct_CC"; then
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1978 $as_echo "$ac_ct_CC" >&6; }
1979 else
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1981 $as_echo "no" >&6; }
1984 if test "x$ac_ct_CC" = x; then
1985 CC=""
1986 else
1987 case $cross_compiling:$ac_tool_warned in
1988 yes:)
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1991 ac_tool_warned=yes ;;
1992 esac
1993 CC=$ac_ct_CC
1995 else
1996 CC="$ac_cv_prog_CC"
1999 if test -z "$CC"; then
2000 if test -n "$ac_tool_prefix"; then
2001 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2002 set dummy ${ac_tool_prefix}cc; ac_word=$2
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2004 $as_echo_n "checking for $ac_word... " >&6; }
2005 if ${ac_cv_prog_CC+:} false; then :
2006 $as_echo_n "(cached) " >&6
2007 else
2008 if test -n "$CC"; then
2009 ac_cv_prog_CC="$CC" # Let the user override the test.
2010 else
2011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2012 for as_dir in $PATH
2014 IFS=$as_save_IFS
2015 test -z "$as_dir" && as_dir=.
2016 for ac_exec_ext in '' $ac_executable_extensions; do
2017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2018 ac_cv_prog_CC="${ac_tool_prefix}cc"
2019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2020 break 2
2022 done
2023 done
2024 IFS=$as_save_IFS
2028 CC=$ac_cv_prog_CC
2029 if test -n "$CC"; then
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2031 $as_echo "$CC" >&6; }
2032 else
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2034 $as_echo "no" >&6; }
2040 if test -z "$CC"; then
2041 # Extract the first word of "cc", so it can be a program name with args.
2042 set dummy cc; ac_word=$2
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2044 $as_echo_n "checking for $ac_word... " >&6; }
2045 if ${ac_cv_prog_CC+:} false; then :
2046 $as_echo_n "(cached) " >&6
2047 else
2048 if test -n "$CC"; then
2049 ac_cv_prog_CC="$CC" # Let the user override the test.
2050 else
2051 ac_prog_rejected=no
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2055 IFS=$as_save_IFS
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2060 ac_prog_rejected=yes
2061 continue
2063 ac_cv_prog_CC="cc"
2064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 break 2
2067 done
2068 done
2069 IFS=$as_save_IFS
2071 if test $ac_prog_rejected = yes; then
2072 # We found a bogon in the path, so make sure we never use it.
2073 set dummy $ac_cv_prog_CC
2074 shift
2075 if test $# != 0; then
2076 # We chose a different compiler from the bogus one.
2077 # However, it has the same basename, so the bogon will be chosen
2078 # first if we set CC to just the basename; use the full file name.
2079 shift
2080 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2085 CC=$ac_cv_prog_CC
2086 if test -n "$CC"; then
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2088 $as_echo "$CC" >&6; }
2089 else
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2091 $as_echo "no" >&6; }
2096 if test -z "$CC"; then
2097 if test -n "$ac_tool_prefix"; then
2098 for ac_prog in cl.exe
2100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2103 $as_echo_n "checking for $ac_word... " >&6; }
2104 if ${ac_cv_prog_CC+:} false; then :
2105 $as_echo_n "(cached) " >&6
2106 else
2107 if test -n "$CC"; then
2108 ac_cv_prog_CC="$CC" # Let the user override the test.
2109 else
2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111 for as_dir in $PATH
2113 IFS=$as_save_IFS
2114 test -z "$as_dir" && as_dir=.
2115 for ac_exec_ext in '' $ac_executable_extensions; do
2116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2117 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2119 break 2
2121 done
2122 done
2123 IFS=$as_save_IFS
2127 CC=$ac_cv_prog_CC
2128 if test -n "$CC"; then
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2130 $as_echo "$CC" >&6; }
2131 else
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2133 $as_echo "no" >&6; }
2137 test -n "$CC" && break
2138 done
2140 if test -z "$CC"; then
2141 ac_ct_CC=$CC
2142 for ac_prog in cl.exe
2144 # Extract the first word of "$ac_prog", so it can be a program name with args.
2145 set dummy $ac_prog; ac_word=$2
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2147 $as_echo_n "checking for $ac_word... " >&6; }
2148 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2149 $as_echo_n "(cached) " >&6
2150 else
2151 if test -n "$ac_ct_CC"; then
2152 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2153 else
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 for as_dir in $PATH
2157 IFS=$as_save_IFS
2158 test -z "$as_dir" && as_dir=.
2159 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2161 ac_cv_prog_ac_ct_CC="$ac_prog"
2162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2163 break 2
2165 done
2166 done
2167 IFS=$as_save_IFS
2171 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2172 if test -n "$ac_ct_CC"; then
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2174 $as_echo "$ac_ct_CC" >&6; }
2175 else
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2177 $as_echo "no" >&6; }
2181 test -n "$ac_ct_CC" && break
2182 done
2184 if test "x$ac_ct_CC" = x; then
2185 CC=""
2186 else
2187 case $cross_compiling:$ac_tool_warned in
2188 yes:)
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2191 ac_tool_warned=yes ;;
2192 esac
2193 CC=$ac_ct_CC
2200 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2202 as_fn_error $? "no acceptable C compiler found in \$PATH
2203 See \`config.log' for more details" "$LINENO" 5; }
2205 # Provide some information about the compiler.
2206 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2207 set X $ac_compile
2208 ac_compiler=$2
2209 for ac_option in --version -v -V -qversion; do
2210 { { ac_try="$ac_compiler $ac_option >&5"
2211 case "(($ac_try" in
2212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2213 *) ac_try_echo=$ac_try;;
2214 esac
2215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2216 $as_echo "$ac_try_echo"; } >&5
2217 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2218 ac_status=$?
2219 if test -s conftest.err; then
2220 sed '10a\
2221 ... rest of stderr output deleted ...
2222 10q' conftest.err >conftest.er1
2223 cat conftest.er1 >&5
2225 rm -f conftest.er1 conftest.err
2226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2227 test $ac_status = 0; }
2228 done
2230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2231 /* end confdefs.h. */
2234 main ()
2238 return 0;
2240 _ACEOF
2241 ac_clean_files_save=$ac_clean_files
2242 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2243 # Try to create an executable without -o first, disregard a.out.
2244 # It will help us diagnose broken compilers, and finding out an intuition
2245 # of exeext.
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2247 $as_echo_n "checking whether the C compiler works... " >&6; }
2248 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2250 # The possible output files:
2251 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2253 ac_rmfiles=
2254 for ac_file in $ac_files
2256 case $ac_file in
2257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2258 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2259 esac
2260 done
2261 rm -f $ac_rmfiles
2263 if { { ac_try="$ac_link_default"
2264 case "(($ac_try" in
2265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2266 *) ac_try_echo=$ac_try;;
2267 esac
2268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2269 $as_echo "$ac_try_echo"; } >&5
2270 (eval "$ac_link_default") 2>&5
2271 ac_status=$?
2272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2273 test $ac_status = 0; }; then :
2274 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2275 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2276 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2277 # so that the user can short-circuit this test for compilers unknown to
2278 # Autoconf.
2279 for ac_file in $ac_files ''
2281 test -f "$ac_file" || continue
2282 case $ac_file in
2283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2285 [ab].out )
2286 # We found the default executable, but exeext='' is most
2287 # certainly right.
2288 break;;
2289 *.* )
2290 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2291 then :; else
2292 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2294 # We set ac_cv_exeext here because the later test for it is not
2295 # safe: cross compilers may not add the suffix if given an `-o'
2296 # argument, so we may need to know it at that point already.
2297 # Even if this section looks crufty: it has the advantage of
2298 # actually working.
2299 break;;
2301 break;;
2302 esac
2303 done
2304 test "$ac_cv_exeext" = no && ac_cv_exeext=
2306 else
2307 ac_file=''
2309 if test -z "$ac_file"; then :
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2311 $as_echo "no" >&6; }
2312 $as_echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.$ac_ext >&5
2315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2317 as_fn_error 77 "C compiler cannot create executables
2318 See \`config.log' for more details" "$LINENO" 5; }
2319 else
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2321 $as_echo "yes" >&6; }
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2324 $as_echo_n "checking for C compiler default output file name... " >&6; }
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2326 $as_echo "$ac_file" >&6; }
2327 ac_exeext=$ac_cv_exeext
2329 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2330 ac_clean_files=$ac_clean_files_save
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2332 $as_echo_n "checking for suffix of executables... " >&6; }
2333 if { { ac_try="$ac_link"
2334 case "(($ac_try" in
2335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;;
2337 esac
2338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_link") 2>&5
2341 ac_status=$?
2342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2343 test $ac_status = 0; }; then :
2344 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2345 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2346 # work properly (i.e., refer to `conftest.exe'), while it won't with
2347 # `rm'.
2348 for ac_file in conftest.exe conftest conftest.*; do
2349 test -f "$ac_file" || continue
2350 case $ac_file in
2351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2352 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2353 break;;
2354 * ) break;;
2355 esac
2356 done
2357 else
2358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2360 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2361 See \`config.log' for more details" "$LINENO" 5; }
2363 rm -f conftest conftest$ac_cv_exeext
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2365 $as_echo "$ac_cv_exeext" >&6; }
2367 rm -f conftest.$ac_ext
2368 EXEEXT=$ac_cv_exeext
2369 ac_exeext=$EXEEXT
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2372 #include <stdio.h>
2374 main ()
2376 FILE *f = fopen ("conftest.out", "w");
2377 return ferror (f) || fclose (f) != 0;
2380 return 0;
2382 _ACEOF
2383 ac_clean_files="$ac_clean_files conftest.out"
2384 # Check that the compiler produces executables we can run. If not, either
2385 # the compiler is broken, or we cross compile.
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2387 $as_echo_n "checking whether we are cross compiling... " >&6; }
2388 if test "$cross_compiling" != yes; then
2389 { { ac_try="$ac_link"
2390 case "(($ac_try" in
2391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2392 *) ac_try_echo=$ac_try;;
2393 esac
2394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2395 $as_echo "$ac_try_echo"; } >&5
2396 (eval "$ac_link") 2>&5
2397 ac_status=$?
2398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2399 test $ac_status = 0; }
2400 if { ac_try='./conftest$ac_cv_exeext'
2401 { { case "(($ac_try" in
2402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2403 *) ac_try_echo=$ac_try;;
2404 esac
2405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2406 $as_echo "$ac_try_echo"; } >&5
2407 (eval "$ac_try") 2>&5
2408 ac_status=$?
2409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2410 test $ac_status = 0; }; }; then
2411 cross_compiling=no
2412 else
2413 if test "$cross_compiling" = maybe; then
2414 cross_compiling=yes
2415 else
2416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2418 as_fn_error $? "cannot run C compiled programs.
2419 If you meant to cross compile, use \`--host'.
2420 See \`config.log' for more details" "$LINENO" 5; }
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2425 $as_echo "$cross_compiling" >&6; }
2427 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2428 ac_clean_files=$ac_clean_files_save
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2430 $as_echo_n "checking for suffix of object files... " >&6; }
2431 if ${ac_cv_objext+:} false; then :
2432 $as_echo_n "(cached) " >&6
2433 else
2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2438 main ()
2442 return 0;
2444 _ACEOF
2445 rm -f conftest.o conftest.obj
2446 if { { ac_try="$ac_compile"
2447 case "(($ac_try" in
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2450 esac
2451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2452 $as_echo "$ac_try_echo"; } >&5
2453 (eval "$ac_compile") 2>&5
2454 ac_status=$?
2455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2456 test $ac_status = 0; }; then :
2457 for ac_file in conftest.o conftest.obj conftest.*; do
2458 test -f "$ac_file" || continue;
2459 case $ac_file in
2460 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2461 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2462 break;;
2463 esac
2464 done
2465 else
2466 $as_echo "$as_me: failed program was:" >&5
2467 sed 's/^/| /' conftest.$ac_ext >&5
2469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2471 as_fn_error $? "cannot compute suffix of object files: cannot compile
2472 See \`config.log' for more details" "$LINENO" 5; }
2474 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2477 $as_echo "$ac_cv_objext" >&6; }
2478 OBJEXT=$ac_cv_objext
2479 ac_objext=$OBJEXT
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2481 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2482 if ${ac_cv_c_compiler_gnu+:} false; then :
2483 $as_echo_n "(cached) " >&6
2484 else
2485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h. */
2489 main ()
2491 #ifndef __GNUC__
2492 choke me
2493 #endif
2496 return 0;
2498 _ACEOF
2499 if ac_fn_c_try_compile "$LINENO"; then :
2500 ac_compiler_gnu=yes
2501 else
2502 ac_compiler_gnu=no
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2509 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2510 if test $ac_compiler_gnu = yes; then
2511 GCC=yes
2512 else
2513 GCC=
2515 ac_test_CFLAGS=${CFLAGS+set}
2516 ac_save_CFLAGS=$CFLAGS
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2518 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2519 if ${ac_cv_prog_cc_g+:} false; then :
2520 $as_echo_n "(cached) " >&6
2521 else
2522 ac_save_c_werror_flag=$ac_c_werror_flag
2523 ac_c_werror_flag=yes
2524 ac_cv_prog_cc_g=no
2525 CFLAGS="-g"
2526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2527 /* end confdefs.h. */
2530 main ()
2534 return 0;
2536 _ACEOF
2537 if ac_fn_c_try_compile "$LINENO"; then :
2538 ac_cv_prog_cc_g=yes
2539 else
2540 CFLAGS=""
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2545 main ()
2549 return 0;
2551 _ACEOF
2552 if ac_fn_c_try_compile "$LINENO"; then :
2554 else
2555 ac_c_werror_flag=$ac_save_c_werror_flag
2556 CFLAGS="-g"
2557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2558 /* end confdefs.h. */
2561 main ()
2565 return 0;
2567 _ACEOF
2568 if ac_fn_c_try_compile "$LINENO"; then :
2569 ac_cv_prog_cc_g=yes
2571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2576 ac_c_werror_flag=$ac_save_c_werror_flag
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2579 $as_echo "$ac_cv_prog_cc_g" >&6; }
2580 if test "$ac_test_CFLAGS" = set; then
2581 CFLAGS=$ac_save_CFLAGS
2582 elif test $ac_cv_prog_cc_g = yes; then
2583 if test "$GCC" = yes; then
2584 CFLAGS="-g -O2"
2585 else
2586 CFLAGS="-g"
2588 else
2589 if test "$GCC" = yes; then
2590 CFLAGS="-O2"
2591 else
2592 CFLAGS=
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2596 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2597 if ${ac_cv_prog_cc_c89+:} false; then :
2598 $as_echo_n "(cached) " >&6
2599 else
2600 ac_cv_prog_cc_c89=no
2601 ac_save_CC=$CC
2602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2603 /* end confdefs.h. */
2604 #include <stdarg.h>
2605 #include <stdio.h>
2606 struct stat;
2607 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2608 struct buf { int x; };
2609 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2610 static char *e (p, i)
2611 char **p;
2612 int i;
2614 return p[i];
2616 static char *f (char * (*g) (char **, int), char **p, ...)
2618 char *s;
2619 va_list v;
2620 va_start (v,p);
2621 s = g (p, va_arg (v,int));
2622 va_end (v);
2623 return s;
2626 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2627 function prototypes and stuff, but not '\xHH' hex character constants.
2628 These don't provoke an error unfortunately, instead are silently treated
2629 as 'x'. The following induces an error, until -std is added to get
2630 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2631 array size at least. It's necessary to write '\x00'==0 to get something
2632 that's true only with -std. */
2633 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2635 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2636 inside strings and character constants. */
2637 #define FOO(x) 'x'
2638 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2640 int test (int i, double x);
2641 struct s1 {int (*f) (int a);};
2642 struct s2 {int (*f) (double a);};
2643 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2644 int argc;
2645 char **argv;
2647 main ()
2649 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2651 return 0;
2653 _ACEOF
2654 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2655 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2657 CC="$ac_save_CC $ac_arg"
2658 if ac_fn_c_try_compile "$LINENO"; then :
2659 ac_cv_prog_cc_c89=$ac_arg
2661 rm -f core conftest.err conftest.$ac_objext
2662 test "x$ac_cv_prog_cc_c89" != "xno" && break
2663 done
2664 rm -f conftest.$ac_ext
2665 CC=$ac_save_CC
2668 # AC_CACHE_VAL
2669 case "x$ac_cv_prog_cc_c89" in
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2672 $as_echo "none needed" >&6; } ;;
2673 xno)
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2675 $as_echo "unsupported" >&6; } ;;
2677 CC="$CC $ac_cv_prog_cc_c89"
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2679 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2680 esac
2681 if test "x$ac_cv_prog_cc_c89" != xno; then :
2685 ac_ext=c
2686 ac_cpp='$CPP $CPPFLAGS'
2687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2693 $as_echo_n "checking target config location... " >&6; }
2695 # Check whether --with-config-dir was given.
2696 if test "${with_config_dir+set}" = set; then :
2697 withval=$with_config_dir; targetcfg_dir="$withval"
2698 else
2699 targetcfg_dir=""
2702 if test "$targetcfg_dir" = ""; then
2703 as_fn_error $? "missing config directory!" "$LINENO" 5
2704 else
2705 aros_targetcfg_dir="$targetcfg_dir"
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2708 $as_echo "$aros_targetcfg_dir" >&6; }
2710 #-----------------------------------------------------------------------------
2712 # Check if the target compiler supports some features:
2713 # -fpermissive
2714 # -ffast-math
2715 # -fno-builtin-floor
2716 # -flto
2717 # -fwhole-program
2718 # -floop-block
2719 # -floop-interchange
2720 # -floop-strip-mine
2721 # -fpeel-loops
2722 # -fstrict-aliasing
2723 # -funroll-loops
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpermissive" >&5
2726 $as_echo_n "checking whether ${CC} accepts -fpermissive... " >&6; }
2727 CFLAGS=-fpermissive
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2733 main ()
2737 return 0;
2739 _ACEOF
2740 if ac_fn_c_try_compile "$LINENO"; then :
2741 aros_permissive="yes"
2742 else
2743 aros_permissive="no"
2745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_permissive" >&5
2747 $as_echo "$aros_permissive" >&6; }
2748 if test "x-$aros_permissive" = "x-yes" ; then
2749 aros_cflags_permissive=-fpermissive
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -ffast-math" >&5
2753 $as_echo_n "checking whether ${CC} accepts -ffast-math... " >&6; }
2754 CFLAGS=-ffast-math
2755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2756 /* end confdefs.h. */
2759 main ()
2763 return 0;
2765 _ACEOF
2766 if ac_fn_c_try_compile "$LINENO"; then :
2767 aros_fast_math="yes"
2768 else
2769 aros_fast_math="no"
2771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_fast_math" >&5
2773 $as_echo "$aros_fast_math" >&6; }
2774 if test "x-$aros_fast_math" = "x-yes" ; then
2775 aros_cflags_fast_math=-ffast-math
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-builtin-floor" >&5
2779 $as_echo_n "checking whether ${CC} accepts -fno-builtin-floor... " >&6; }
2780 CFLAGS=-fno-builtin-floor
2781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2785 main ()
2789 return 0;
2791 _ACEOF
2792 if ac_fn_c_try_compile "$LINENO"; then :
2793 aros_no_builtin_floor="yes"
2794 else
2795 aros_no_builtin_floor="no"
2797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_builtin_floor" >&5
2799 $as_echo "$aros_no_builtin_floor" >&6; }
2800 if test "x-$aros_no_builtin_floor" = "x-yes" ; then
2801 aros_cflags_no_builtin_floor=-fno-builtin-floor
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -flto" >&5
2805 $as_echo_n "checking whether ${CC} accepts -flto... " >&6; }
2806 CFLAGS=-flto
2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2808 /* end confdefs.h. */
2811 main ()
2815 return 0;
2817 _ACEOF
2818 if ac_fn_c_try_compile "$LINENO"; then :
2819 aros_lto="yes"
2820 else
2821 aros_lto="no"
2823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto" >&5
2825 $as_echo "$aros_lto" >&6; }
2826 if test "x-$aros_lto" = "x-yes" ; then
2827 aros_cflags_lto=-flto
2828 aros_cflags_nolto=-fno-lto
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fwhole-program" >&5
2831 $as_echo_n "checking whether ${CC} accepts -fwhole-program... " >&6; }
2832 CFLAGS=-fwhole-program
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h. */
2837 main ()
2841 return 0;
2843 _ACEOF
2844 if ac_fn_c_try_compile "$LINENO"; then :
2845 aros_whole_program="yes"
2846 else
2847 aros_whole_program="no"
2849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_whole_program" >&5
2851 $as_echo "$aros_whole_program" >&6; }
2852 if test "x-$aros_whole_program" = "x-yes" ; then
2853 aros_cflags_whole_program=-fwhole-program
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-block" >&5
2857 $as_echo_n "checking whether ${CC} accepts -floop-block... " >&6; }
2858 CFLAGS=-floop-block
2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h. */
2863 main ()
2867 return 0;
2869 _ACEOF
2870 if ac_fn_c_try_compile "$LINENO"; then :
2871 aros_loop_block="yes"
2872 else
2873 aros_loop_block="no"
2875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_block" >&5
2877 $as_echo "$aros_loop_block" >&6; }
2878 if test "x-$aros_loop_block" = "x-yes" ; then
2879 aros_cflags_loop_block=-floop-block
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-interchange" >&5
2883 $as_echo_n "checking whether ${CC} accepts -floop-interchange... " >&6; }
2884 CFLAGS=-floop-interchange
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2889 main ()
2893 return 0;
2895 _ACEOF
2896 if ac_fn_c_try_compile "$LINENO"; then :
2897 aros_loop_interchange="yes"
2898 else
2899 aros_loop_interchange="no"
2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_interchange" >&5
2903 $as_echo "$aros_loop_interchange" >&6; }
2904 if test "x-$aros_loop_interchange" = "x-yes" ; then
2905 aros_cflags_loop_interchange=-floop-interchange
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -floop-strip-mine" >&5
2909 $as_echo_n "checking whether ${CC} accepts -floop-strip-mine... " >&6; }
2910 CFLAGS=-floop-strip-mine
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2915 main ()
2919 return 0;
2921 _ACEOF
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 aros_loop_strip_mine="yes"
2924 else
2925 aros_loop_strip_mine="no"
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_loop_strip_mine" >&5
2929 $as_echo "$aros_loop_strip_mine" >&6; }
2930 if test "x-$aros_loop_strip_mine" = "x-yes" ; then
2931 aros_cflags_loop_strip_mine=-floop-strip-mine
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fpeel-loops" >&5
2936 $as_echo_n "checking whether ${CC} accepts -fpeel-loops... " >&6; }
2937 CFLAGS=-fpeel-loops
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2942 main ()
2946 return 0;
2948 _ACEOF
2949 if ac_fn_c_try_compile "$LINENO"; then :
2950 aros_peel_loops="yes"
2951 else
2952 aros_peel_loops="no"
2954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_peel_loops" >&5
2956 $as_echo "$aros_peel_loops" >&6; }
2957 if test "x-$aros_peel_loops" = "x-yes" ; then
2958 aros_cflags_peel_loops=-fpeel-loops
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -funroll-loops" >&5
2962 $as_echo_n "checking whether ${CC} accepts -funroll-loops... " >&6; }
2963 CFLAGS=-funroll-loops
2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2968 main ()
2972 return 0;
2974 _ACEOF
2975 if ac_fn_c_try_compile "$LINENO"; then :
2976 aros_unroll_loops="yes"
2977 else
2978 aros_unroll_loops="no"
2980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unroll_loops" >&5
2982 $as_echo "$aros_unroll_loops" >&6; }
2983 if test "x-$aros_unroll_loops" = "x-yes" ; then
2984 aros_cflags_unroll_loops=-funroll-loops
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstrict-aliasing" >&5
2988 $as_echo_n "checking whether ${CC} accepts -fstrict-aliasing... " >&6; }
2989 CFLAGS=-fstrict-aliasing
2990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2991 /* end confdefs.h. */
2994 main ()
2998 return 0;
3000 _ACEOF
3001 if ac_fn_c_try_compile "$LINENO"; then :
3002 aros_strict_aliasing="yes"
3003 else
3004 aros_strict_aliasing="no"
3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3008 $as_echo "$aros_strict_aliasing" >&6; }
3009 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3010 aros_cflags_strictaliasing=-fstrict-aliasing
3011 aros_cflags_nostrictaliasing=-fno-strict-aliasing
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
3015 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
3016 CFLAGS="-iquote."
3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3021 main ()
3025 return 0;
3027 _ACEOF
3028 if ac_fn_c_try_compile "$LINENO"; then :
3029 has_iquote="yes"
3030 else
3031 has_iquote="no"
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
3035 $as_echo "$has_iquote" >&6; }
3036 if test "x-$has_iquote" = "x-yes" ; then
3037 aros_cflags_iquote=-iquote
3038 aros_cflags_iquote_end=
3039 else
3040 aros_cflags_iquote=-I
3041 aros_cflags_iquote_end=-I-
3044 #-----------------------------------------------------------------------------
3046 # Check if the target compiler supports some options:
3047 # -mno-red-zone
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -mno-red-zone" >&5
3050 $as_echo_n "checking whether ${CC} accepts -mno-red-zone... " >&6; }
3051 CFLAGS=-mno-red-zone
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3056 main ()
3060 return 0;
3062 _ACEOF
3063 if ac_fn_c_try_compile "$LINENO"; then :
3064 aros_no_red_zone="yes"
3065 else
3066 aros_no_red_zone="no"
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_no_red_zone" >&5
3070 $as_echo "$aros_no_red_zone" >&6; }
3071 if test "x-$aros_no_red_zone" = "x-yes" ; then
3072 aros_cflags_no_red_zone=-mno-red-zone
3075 #-----------------------------------------------------------------------------
3077 # Check if the target compiler supports some options used for de-linting:
3078 # -Wunused-command-line-argument
3079 # -Wunknown-warning-option
3080 # -Wunused-but-set-variable
3081 # -Wstrict-aliasing
3082 # -Warray-bounds
3083 # -Wenum-compare
3084 # -Wstrict-prototypes
3085 # -Wstrict-overflow
3086 # -Wformat-security
3087 # -Wmisleading-indentation
3088 # -Wnonnull-compare
3089 # -Wunused
3090 # -Wunused-value
3091 # -Wunused-variable
3092 # -Wunused-function
3093 # -Wunused-parameter
3094 # -Wuninitialized
3095 # -Wmaybe-uninitialized
3096 # -Wimplicit-function-declaration
3097 # -Wformat
3098 # -Wparentheses
3099 # -Wchar-subscripts
3100 # -Wendif-labels
3101 # -Wformat-contains-nul
3102 # -Wimplicit-int
3103 # -Waggressive-loop-optimizations
3104 # -Wcpp
3105 # -Wswitch
3106 # -Wdiscarded-qualifiers
3107 # -Wsequence-point
3108 # -Wunknown-pragmas
3109 # -Wdiscarded-array-qualifiers
3110 # -Wint-conversion
3111 # -Wint-to-pointer-cast
3112 # -Wpointer-to-int-cast
3113 # -Wunused-const-variable
3114 # -Wwrite-strings
3115 # -Wcomment
3116 # -Wincompatible-pointer-types
3117 # -Wbool-compare
3118 # -Wlogical-not-parentheses
3119 # -Wpointer-sign
3120 # -Wshift-overflow
3121 # -Wframe-address
3122 # -Wdeprecated-declarations
3123 # -Wsign-compare
3124 # -Wattributes
3125 # -Woverflow
3126 # -Wunused-local-typedefs
3127 # -Wmissing-braces
3128 # -Wconversion-null
3129 # -Wnarrowing
3130 # -Wvolatile-register-var
3131 # -Wsizeof-pointer-memaccess
3132 # -Wreturn-type
3133 # -Wformat-zero-length
3134 # -Wlto-type-mismatch
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-command-line-argument" >&5
3137 $as_echo_n "checking whether ${CC} accepts -Wunused-command-line-argument... " >&6; }
3138 CFLAGS=-Wunused-command-line-argument
3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3143 main ()
3147 return 0;
3149 _ACEOF
3150 if ac_fn_c_try_compile "$LINENO"; then :
3151 aros_unused_command_line_argument="yes"
3152 else
3153 aros_unused_command_line_argument="no"
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_command_line_argument" >&5
3157 $as_echo "$aros_unused_command_line_argument" >&6; }
3158 if test "x-$aros_unused_command_line_argument" = "x-yes" ; then
3159 aros_warnflags_unused_command_line_argument=-Wunused-command-line-argument
3160 aros_nowarnflags_unused_command_line_argument=-Wno-unused-command-line-argument
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
3164 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
3165 CFLAGS=-Wunknown-warning-option
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3170 main ()
3174 return 0;
3176 _ACEOF
3177 if ac_fn_c_try_compile "$LINENO"; then :
3178 aros_unknown_warning_option="yes"
3179 else
3180 aros_unknown_warning_option="no"
3182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
3184 $as_echo "$aros_unknown_warning_option" >&6; }
3185 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
3186 aros_warnflags_unknown_warning_option=-Wunknown-warning-option
3187 aros_nowarnflags_unknown_warning_option=-Wno-unknown-warning-option
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
3191 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
3192 CFLAGS=-Wunused-but-set-variable
3193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194 /* end confdefs.h. */
3197 main ()
3201 return 0;
3203 _ACEOF
3204 if ac_fn_c_try_compile "$LINENO"; then :
3205 aros_unused_but_set_variable="yes"
3206 else
3207 aros_unused_but_set_variable="no"
3209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
3211 $as_echo "$aros_unused_but_set_variable" >&6; }
3212 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
3213 aros_warnflags_unused_but_set_variable=-Wunused-but-set-variable
3214 aros_nowarnflags_unused_but_set_variable=-Wno-unused-but-set-variable
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
3218 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
3219 CFLAGS=-Wstrict-aliasing
3220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221 /* end confdefs.h. */
3224 main ()
3228 return 0;
3230 _ACEOF
3231 if ac_fn_c_try_compile "$LINENO"; then :
3232 aros_strict_aliasing="yes"
3233 else
3234 aros_strict_aliasing="no"
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
3238 $as_echo "$aros_strict_aliasing" >&6; }
3239 if test "x-$aros_strict_aliasing" = "x-yes" ; then
3240 aros_warnflags_strict_aliasing=-Wstrict-aliasing
3241 aros_nowarnflags_strict_aliasing=-Wno-strict-aliasing
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
3245 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
3246 CFLAGS=-Warray-bounds
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3251 main ()
3255 return 0;
3257 _ACEOF
3258 if ac_fn_c_try_compile "$LINENO"; then :
3259 aros_array_bounds="yes"
3260 else
3261 aros_array_bounds="no"
3263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
3265 $as_echo "$aros_array_bounds" >&6; }
3266 if test "x-$aros_array_bounds" = "x-yes" ; then
3267 aros_warnflags_array_bounds=-Warray-bounds
3268 aros_nowarnflags_array_bounds=-Wno-array-bounds
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
3272 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
3273 CFLAGS=-Wenum-compare
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3278 main ()
3282 return 0;
3284 _ACEOF
3285 if ac_fn_c_try_compile "$LINENO"; then :
3286 aros_enum_compare="yes"
3287 else
3288 aros_enum_compare="no"
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
3292 $as_echo "$aros_enum_compare" >&6; }
3293 if test "x-$aros_enum_compare" = "x-yes" ; then
3294 aros_warnflags_enum_compare=-Wenum-compare
3295 aros_nowarnflags_enum_compare=-Wno-enum-compare
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
3299 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
3300 CFLAGS=-Wstrict-prototypes
3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3305 main ()
3309 return 0;
3311 _ACEOF
3312 if ac_fn_c_try_compile "$LINENO"; then :
3313 aros_strict_prototypes="yes"
3314 else
3315 aros_strict_prototypes="no"
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
3319 $as_echo "$aros_strict_prototypes" >&6; }
3320 if test "x-$aros_strict_prototypes" = "x-yes" ; then
3321 aros_warnflags_strict_prototypes=-Wstrict-prototypes
3322 aros_nowarnflags_strict_prototypes=-Wno-strict-prototypes
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
3326 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
3327 CFLAGS=-Wstrict-overflow
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3332 main ()
3336 return 0;
3338 _ACEOF
3339 if ac_fn_c_try_compile "$LINENO"; then :
3340 aros_strict_overflow="yes"
3341 else
3342 aros_strict_overflow="no"
3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
3346 $as_echo "$aros_strict_overflow" >&6; }
3347 if test "x-$aros_strict_overflow" = "x-yes" ; then
3348 aros_warnflags_strict_overflow=-Wstrict-overflow
3349 aros_nowarnflags_strict_overflow=-Wno-strict-overflow
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
3353 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
3354 CFLAGS=-Wformat-security
3355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3359 main ()
3363 return 0;
3365 _ACEOF
3366 if ac_fn_c_try_compile "$LINENO"; then :
3367 aros_format_security="yes"
3368 else
3369 aros_format_security="no"
3371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
3373 $as_echo "$aros_format_security" >&6; }
3374 if test "x-$aros_format_security" = "x-yes" ; then
3375 aros_warnflags_format_security=-Wformat-security
3376 aros_nowarnflags_format_security=-Wno-format-security
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
3380 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
3381 CFLAGS=-Wmisleading-indentation
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3386 main ()
3390 return 0;
3392 _ACEOF
3393 if ac_fn_c_try_compile "$LINENO"; then :
3394 aros_misleading_indentation="yes"
3395 else
3396 aros_misleading_indentation="no"
3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
3400 $as_echo "$aros_misleading_indentation" >&6; }
3401 if test "x-$aros_misleading_indentation" = "x-yes" ; then
3402 aros_warnflags_misleading_indentation=-Wmisleading-indentation
3403 aros_nowarnflags_misleading_indentation=-Wno-misleading-indentation
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
3407 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
3408 CFLAGS=-Wnonnull-compare
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3413 main ()
3417 return 0;
3419 _ACEOF
3420 if ac_fn_c_try_compile "$LINENO"; then :
3421 aros_nonnull_compare="yes"
3422 else
3423 aros_nonnull_compare="no"
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
3427 $as_echo "$aros_nonnull_compare" >&6; }
3428 if test "x-$aros_nonnull_compare" = "x-yes" ; then
3429 aros_warnflags_nonnull_compare=-Wnonnull-compare
3430 aros_nowarnflags_nonnull_compare=-Wno-nonnull-compare
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
3434 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
3435 CFLAGS=-Wunused
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3440 main ()
3444 return 0;
3446 _ACEOF
3447 if ac_fn_c_try_compile "$LINENO"; then :
3448 aros_unused="yes"
3449 else
3450 aros_unused="no"
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3454 $as_echo "$aros_unused" >&6; }
3455 if test "x-$aros_unused" = "x-yes" ; then
3456 aros_warnflags_unused=-Wunused
3457 aros_nowarnflags_unused=-Wno-unused
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3461 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3462 CFLAGS=-Wunused-value
3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3467 main ()
3471 return 0;
3473 _ACEOF
3474 if ac_fn_c_try_compile "$LINENO"; then :
3475 aros_unused_value="yes"
3476 else
3477 aros_unused_value="no"
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3481 $as_echo "$aros_unused_value" >&6; }
3482 if test "x-$aros_unused_value" = "x-yes" ; then
3483 aros_warnflags_unused_value=-Wunused-value
3484 aros_nowarnflags_unused_value=-Wno-unused-value
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3488 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3489 CFLAGS=-Wunused-variable
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3494 main ()
3498 return 0;
3500 _ACEOF
3501 if ac_fn_c_try_compile "$LINENO"; then :
3502 aros_unused_variable="yes"
3503 else
3504 aros_unused_variable="no"
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3508 $as_echo "$aros_unused_variable" >&6; }
3509 if test "x-$aros_unused_variable" = "x-yes" ; then
3510 aros_warnflags_unused_variable=-Wunused-variable
3511 aros_nowarnflags_unused_variable=-Wno-unused-variable
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3515 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3516 CFLAGS=-Wunused-function
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3521 main ()
3525 return 0;
3527 _ACEOF
3528 if ac_fn_c_try_compile "$LINENO"; then :
3529 aros_unused_function="yes"
3530 else
3531 aros_unused_function="no"
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3535 $as_echo "$aros_unused_function" >&6; }
3536 if test "x-$aros_unused_function" = "x-yes" ; then
3537 aros_warnflags_unused_function=-Wunused-function
3538 aros_nowarnflags_unused_function=-Wno-unused-function
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-parameter" >&5
3542 $as_echo_n "checking whether ${CC} accepts -Wunused-parameter... " >&6; }
3543 CFLAGS=-Wunused-parameter
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3548 main ()
3552 return 0;
3554 _ACEOF
3555 if ac_fn_c_try_compile "$LINENO"; then :
3556 aros_unused_parameter="yes"
3557 else
3558 aros_unused_parameter="no"
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_parameter" >&5
3562 $as_echo "$aros_unused_parameter" >&6; }
3563 if test "x-$aros_unused_parameter" = "x-yes" ; then
3564 aros_warnflags_unused_parameter=-Wunused-parameter
3565 aros_nowarnflags_unused_parameter=-Wno-unused-parameter
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3569 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3570 CFLAGS=-Wuninitialized
3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3575 main ()
3579 return 0;
3581 _ACEOF
3582 if ac_fn_c_try_compile "$LINENO"; then :
3583 aros_uninitialized="yes"
3584 else
3585 aros_uninitialized="no"
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3589 $as_echo "$aros_uninitialized" >&6; }
3590 if test "x-$aros_uninitialized" = "x-yes" ; then
3591 aros_warnflags_uninitialized=-Wuninitialized
3592 aros_nowarnflags_uninitialized=-Wno-uninitialized
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3596 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3597 CFLAGS=-Wmaybe-uninitialized
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3602 main ()
3606 return 0;
3608 _ACEOF
3609 if ac_fn_c_try_compile "$LINENO"; then :
3610 aros_maybe_uninitialized="yes"
3611 else
3612 aros_maybe_uninitialized="no"
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3616 $as_echo "$aros_maybe_uninitialized" >&6; }
3617 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3618 aros_warnflags_maybe_uninitialized=-Wmaybe-uninitialized
3619 aros_nowarnflags_maybe_uninitialized=-Wno-maybe-uninitialized
3620 else
3621 aros_warnflags_maybe_uninitialized=$aros_warnflags_uninitialized
3622 aros_nowarnflags_maybe_uninitialized=$aros_nowarnflags_uninitialized
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3626 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3627 CFLAGS=-Wimplicit-function-declaration
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3632 main ()
3636 return 0;
3638 _ACEOF
3639 if ac_fn_c_try_compile "$LINENO"; then :
3640 aros_implicit_function_declaration="yes"
3641 else
3642 aros_implicit_function_declaration="no"
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3646 $as_echo "$aros_implicit_function_declaration" >&6; }
3647 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3648 aros_warnflags_implicit_function_declaration=-Wimplicit-function-declaration
3649 aros_nowarnflags_implicit_function_declaration=-Wno-implicit-function-declaration
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3653 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3654 CFLAGS=-Wformat
3655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h. */
3659 main ()
3663 return 0;
3665 _ACEOF
3666 if ac_fn_c_try_compile "$LINENO"; then :
3667 aros_format="yes"
3668 else
3669 aros_format="no"
3671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3673 $as_echo "$aros_format" >&6; }
3674 if test "x-$aros_format" = "x-yes" ; then
3675 aros_warnflags_format=-Wformat
3676 aros_nowarnflags_format=-Wno-format
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3680 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3681 CFLAGS=-Wparentheses
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3686 main ()
3690 return 0;
3692 _ACEOF
3693 if ac_fn_c_try_compile "$LINENO"; then :
3694 aros_parentheses="yes"
3695 else
3696 aros_parentheses="no"
3698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3700 $as_echo "$aros_parentheses" >&6; }
3701 if test "x-$aros_parentheses" = "x-yes" ; then
3702 aros_warnflags_parentheses=-Wparentheses
3703 aros_nowarnflags_parentheses=-Wno-parentheses
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3707 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3708 CFLAGS=-Wchar-subscripts
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3713 main ()
3717 return 0;
3719 _ACEOF
3720 if ac_fn_c_try_compile "$LINENO"; then :
3721 aros_char_subscripts="yes"
3722 else
3723 aros_char_subscripts="no"
3725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3727 $as_echo "$aros_char_subscripts" >&6; }
3728 if test "x-$aros_char_subscripts" = "x-yes" ; then
3729 aros_warnflags_char_subscripts=-Wchar-subscripts
3730 aros_nowarnflags_char_subscripts=-Wno-char-subscripts
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3734 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3735 CFLAGS=-Wendif-labels
3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3740 main ()
3744 return 0;
3746 _ACEOF
3747 if ac_fn_c_try_compile "$LINENO"; then :
3748 aros_endif_labels="yes"
3749 else
3750 aros_endif_labels="no"
3752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3754 $as_echo "$aros_endif_labels" >&6; }
3755 if test "x-$aros_endif_labels" = "x-yes" ; then
3756 aros_warnflags_endif_labels=-Wendif-labels
3757 aros_nowarnflags_endif_labels=-Wno-endif-labels
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3761 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3762 CFLAGS=-Wformat-contains-nul
3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3767 main ()
3771 return 0;
3773 _ACEOF
3774 if ac_fn_c_try_compile "$LINENO"; then :
3775 aros_format_contains_nul="yes"
3776 else
3777 aros_format_contains_nul="no"
3779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3781 $as_echo "$aros_format_contains_nul" >&6; }
3782 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3783 aros_warnflags_format_contains_nul=-Wformat-contains-nul
3784 aros_nowarnflags_format_contains_nul=-Wno-format-contains-nul
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3788 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3789 CFLAGS=-Wimplicit-int
3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h. */
3794 main ()
3798 return 0;
3800 _ACEOF
3801 if ac_fn_c_try_compile "$LINENO"; then :
3802 aros_implicit_int="yes"
3803 else
3804 aros_implicit_int="no"
3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3808 $as_echo "$aros_implicit_int" >&6; }
3809 if test "x-$aros_implicit_int" = "x-yes" ; then
3810 aros_warnflags_implicit_int=-Wimplicit-int
3811 aros_nowarnflags_implicit_int=-Wno-implicit-int
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3815 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3816 CFLAGS=-Waggressive-loop-optimizations
3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3821 main ()
3825 return 0;
3827 _ACEOF
3828 if ac_fn_c_try_compile "$LINENO"; then :
3829 aros_aggressive_loop_optimizations="yes"
3830 else
3831 aros_aggressive_loop_optimizations="no"
3833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3835 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3836 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3837 aros_warnflags_aggressive_loop_optimizations=-Waggressive-loop-optimizations
3838 aros_nowarnflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3842 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3843 CFLAGS=-Wcpp
3844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845 /* end confdefs.h. */
3848 main ()
3852 return 0;
3854 _ACEOF
3855 if ac_fn_c_try_compile "$LINENO"; then :
3856 aros_cpp="yes"
3857 else
3858 aros_cpp="no"
3860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3862 $as_echo "$aros_cpp" >&6; }
3863 if test "x-$aros_cpp" = "x-yes" ; then
3864 aros_warnflags_cpp=-Wcpp
3865 aros_nowarnflags_cpp=-Wno-cpp
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3869 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3870 CFLAGS=-Wswitch
3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h. */
3875 main ()
3879 return 0;
3881 _ACEOF
3882 if ac_fn_c_try_compile "$LINENO"; then :
3883 aros_switch="yes"
3884 else
3885 aros_switch="no"
3887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3889 $as_echo "$aros_switch" >&6; }
3890 if test "x-$aros_switch" = "x-yes" ; then
3891 aros_warnflags_switch=-Wswitch
3892 aros_nowarnflags_switch=-Wno-switch
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3896 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3897 CFLAGS=-Wdiscarded-qualifiers
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3902 main ()
3906 return 0;
3908 _ACEOF
3909 if ac_fn_c_try_compile "$LINENO"; then :
3910 aros_discarded_qualifiers="yes"
3911 else
3912 aros_discarded_qualifiers="no"
3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3916 $as_echo "$aros_discarded_qualifiers" >&6; }
3917 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3918 aros_warnflags_discarded_qualifiers=-Wdiscarded-qualifiers
3919 aros_nowarnflags_discarded_qualifiers=-Wno-discarded-qualifiers
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3923 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3924 CFLAGS=-Wsequence-point
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3929 main ()
3933 return 0;
3935 _ACEOF
3936 if ac_fn_c_try_compile "$LINENO"; then :
3937 aros_sequence_point="yes"
3938 else
3939 aros_sequence_point="no"
3941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3943 $as_echo "$aros_sequence_point" >&6; }
3944 if test "x-$aros_sequence_point" = "x-yes" ; then
3945 aros_warnflags_sequence_point=-Wsequence-point
3946 aros_nowarnflags_sequence_point=-Wno-sequence-point
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3950 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3951 CFLAGS=-Wunknown-pragmas
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3956 main ()
3960 return 0;
3962 _ACEOF
3963 if ac_fn_c_try_compile "$LINENO"; then :
3964 aros_unknown_pragmas="yes"
3965 else
3966 aros_unknown_pragmas="no"
3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3970 $as_echo "$aros_unknown_pragmas" >&6; }
3971 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3972 aros_warnflags_unknown_pragmas=-Wunknown-pragmas
3973 aros_nowarnflags_unknown_pragmas=-Wno-unknown-pragmas
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3977 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3978 CFLAGS=-Wdiscarded-array-qualifiers
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h. */
3983 main ()
3987 return 0;
3989 _ACEOF
3990 if ac_fn_c_try_compile "$LINENO"; then :
3991 aros_discarded_array_qualifiers="yes"
3992 else
3993 aros_discarded_array_qualifiers="no"
3995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3997 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3998 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3999 aros_warnflags_discarded_array_qualifiers=-Wdiscarded-array-qualifiers
4000 aros_nowarnflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
4004 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
4005 CFLAGS=-Wint-conversion
4006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h. */
4010 main ()
4014 return 0;
4016 _ACEOF
4017 if ac_fn_c_try_compile "$LINENO"; then :
4018 aros_int_conversion="yes"
4019 else
4020 aros_int_conversion="no"
4022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
4024 $as_echo "$aros_int_conversion" >&6; }
4025 if test "x-$aros_int_conversion" = "x-yes" ; then
4026 aros_warnflags_int_conversion=-Wint-conversion
4027 aros_nowarnflags_int_conversion=-Wno-int-conversion
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
4031 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
4032 CFLAGS=-Wint-to-pointer-cast
4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4034 /* end confdefs.h. */
4037 main ()
4041 return 0;
4043 _ACEOF
4044 if ac_fn_c_try_compile "$LINENO"; then :
4045 aros_int_to_pointer_cast="yes"
4046 else
4047 aros_int_to_pointer_cast="no"
4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
4051 $as_echo "$aros_int_to_pointer_cast" >&6; }
4052 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
4053 aros_warnflags_int_to_pointer_cast=-Wint-to-pointer-cast
4054 aros_nowarnflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
4058 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
4059 CFLAGS=-Wpointer-to-int-cast
4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4064 main ()
4068 return 0;
4070 _ACEOF
4071 if ac_fn_c_try_compile "$LINENO"; then :
4072 aros_pointer_to_int_cast="yes"
4073 else
4074 aros_pointer_to_int_cast="no"
4076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
4078 $as_echo "$aros_pointer_to_int_cast" >&6; }
4079 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
4080 aros_warnflags_pointer_to_int_cast=-Wpointer-to-int-cast
4081 aros_nowarnflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
4085 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
4086 CFLAGS=-Wunused-const-variable
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4091 main ()
4095 return 0;
4097 _ACEOF
4098 if ac_fn_c_try_compile "$LINENO"; then :
4099 aros_unused_const_variable="yes"
4100 else
4101 aros_unused_const_variable="no"
4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
4105 $as_echo "$aros_unused_const_variable" >&6; }
4106 if test "x-$aros_unused_const_variable" = "x-yes" ; then
4107 aros_warnflags_unused_const_variable=-Wunused-const-variable
4108 aros_nowarnflags_unused_const_variable=-Wno-unused-const-variable
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
4112 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
4113 CFLAGS=-Wwrite-strings
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4118 main ()
4122 return 0;
4124 _ACEOF
4125 if ac_fn_c_try_compile "$LINENO"; then :
4126 aros_write_strings="yes"
4127 else
4128 aros_write_strings="no"
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
4132 $as_echo "$aros_write_strings" >&6; }
4133 if test "x-$aros_write_strings" = "x-yes" ; then
4134 aros_warnflags_write_strings=-Wwrite-strings
4135 aros_nowarnflags_write_strings=-Wno-write-strings
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
4139 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
4140 CFLAGS=-Wcomment
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4145 main ()
4149 return 0;
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 aros_comment="yes"
4154 else
4155 aros_comment="no"
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
4159 $as_echo "$aros_comment" >&6; }
4160 if test "x-$aros_comment" = "x-yes" ; then
4161 aros_warnflags_comment=-Wcomment
4162 aros_nowarnflags_comment=-Wno-comment
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
4166 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
4167 CFLAGS=-Wincompatible-pointer-types
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4172 main ()
4176 return 0;
4178 _ACEOF
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180 aros_incompatible_pointer_types="yes"
4181 else
4182 aros_incompatible_pointer_types="no"
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
4186 $as_echo "$aros_incompatible_pointer_types" >&6; }
4187 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
4188 aros_warnflags_incompatible_pointer_types=-Wincompatible-pointer-types
4189 aros_nowarnflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
4193 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
4194 CFLAGS=-Wbool-compare
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4199 main ()
4203 return 0;
4205 _ACEOF
4206 if ac_fn_c_try_compile "$LINENO"; then :
4207 aros_bool_compare="yes"
4208 else
4209 aros_bool_compare="no"
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
4213 $as_echo "$aros_bool_compare" >&6; }
4214 if test "x-$aros_bool_compare" = "x-yes" ; then
4215 aros_warnflags_bool_compare=-Wbool-compare
4216 aros_nowarnflags_bool_compare=-Wno-bool-compare
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
4220 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
4221 CFLAGS=-Wlogical-not-parentheses
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4226 main ()
4230 return 0;
4232 _ACEOF
4233 if ac_fn_c_try_compile "$LINENO"; then :
4234 aros_logical_not_parentheses="yes"
4235 else
4236 aros_logical_not_parentheses="no"
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
4240 $as_echo "$aros_logical_not_parentheses" >&6; }
4241 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
4242 aros_warnflags_logical_not_parentheses=-Wlogical-not-parentheses
4243 aros_nowarnflags_logical_not_parentheses=-Wno-logical-not-parentheses
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
4247 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
4248 CFLAGS=-Wpointer-sign
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4253 main ()
4257 return 0;
4259 _ACEOF
4260 if ac_fn_c_try_compile "$LINENO"; then :
4261 aros_pointer_sign="yes"
4262 else
4263 aros_pointer_sign="no"
4265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
4267 $as_echo "$aros_pointer_sign" >&6; }
4268 if test "x-$aros_pointer_sign" = "x-yes" ; then
4269 aros_warnflags_pointer_sign=-Wpointer-sign
4270 aros_nowarnflags_pointer_sign=-Wno-pointer-sign
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
4274 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
4275 CFLAGS=-Wshift-overflow
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4280 main ()
4284 return 0;
4286 _ACEOF
4287 if ac_fn_c_try_compile "$LINENO"; then :
4288 aros_shift_overflow="yes"
4289 else
4290 aros_shift_overflow="no"
4292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
4294 $as_echo "$aros_shift_overflow" >&6; }
4295 if test "x-$aros_shift_overflow" = "x-yes" ; then
4296 aros_warnflags_shift_overflow=-Wshift-overflow
4297 aros_nowarnflags_shift_overflow=-Wno-shift-overflow
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
4301 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
4302 CFLAGS=-Wframe-address
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4307 main ()
4311 return 0;
4313 _ACEOF
4314 if ac_fn_c_try_compile "$LINENO"; then :
4315 aros_frame_address="yes"
4316 else
4317 aros_frame_address="no"
4319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
4321 $as_echo "$aros_frame_address" >&6; }
4322 if test "x-$aros_frame_address" = "x-yes" ; then
4323 aros_warnflags_frame_address=-Wframe-address
4324 aros_nowarnflags_frame_address=-Wno-frame-address
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
4328 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
4329 CFLAGS=-Wdeprecated-declarations
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4334 main ()
4338 return 0;
4340 _ACEOF
4341 if ac_fn_c_try_compile "$LINENO"; then :
4342 aros_deprecated_declarations="yes"
4343 else
4344 aros_deprecated_declarations="no"
4346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
4348 $as_echo "$aros_deprecated_declarations" >&6; }
4349 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
4350 aros_warnflags_deprecated_declarations=-Wdeprecated-declarations
4351 aros_nowarnflags_deprecated_declarations=-Wno-deprecated-declarations
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
4355 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
4356 CFLAGS=-Wsign-compare
4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4361 main ()
4365 return 0;
4367 _ACEOF
4368 if ac_fn_c_try_compile "$LINENO"; then :
4369 aros_sign_compare="yes"
4370 else
4371 aros_sign_compare="no"
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
4375 $as_echo "$aros_sign_compare" >&6; }
4376 if test "x-$aros_sign_compare" = "x-yes" ; then
4377 aros_warnflags_sign_compare=-Wsign-compare
4378 aros_nowarnflags_sign_compare=-Wno-sign-compare
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
4382 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
4383 CFLAGS=-Wattributes
4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4388 main ()
4392 return 0;
4394 _ACEOF
4395 if ac_fn_c_try_compile "$LINENO"; then :
4396 aros_attributes="yes"
4397 else
4398 aros_attributes="no"
4400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
4402 $as_echo "$aros_attributes" >&6; }
4403 if test "x-$aros_attributes" = "x-yes" ; then
4404 aros_warnflags_attributes=-Wattributes
4405 aros_nowarnflags_attributes=-Wno-attributes
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
4409 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
4410 CFLAGS=-Woverflow
4411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4415 main ()
4419 return 0;
4421 _ACEOF
4422 if ac_fn_c_try_compile "$LINENO"; then :
4423 aros_overflow="yes"
4424 else
4425 aros_overflow="no"
4427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
4429 $as_echo "$aros_overflow" >&6; }
4430 if test "x-$aros_overflow" = "x-yes" ; then
4431 aros_warnflags_overflow=-Woverflow
4432 aros_nowarnflags_overflow=-Wno-overflow
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
4436 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
4437 CFLAGS=-Wunused-local-typedefs
4438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4442 main ()
4446 return 0;
4448 _ACEOF
4449 if ac_fn_c_try_compile "$LINENO"; then :
4450 aros_unused_local_typedefs="yes"
4451 else
4452 aros_unused_local_typedefs="no"
4454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
4456 $as_echo "$aros_unused_local_typedefs" >&6; }
4457 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
4458 aros_warnflags_unused_local_typedefs=-Wunused-local-typedefs
4459 aros_nowarnflags_unused_local_typedefs=-Wno-unused-local-typedefs
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
4463 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
4464 CFLAGS=-Wmissing-braces
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4469 main ()
4473 return 0;
4475 _ACEOF
4476 if ac_fn_c_try_compile "$LINENO"; then :
4477 aros_missing_braces="yes"
4478 else
4479 aros_missing_braces="no"
4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
4483 $as_echo "$aros_missing_braces" >&6; }
4484 if test "x-$aros_missing_braces" = "x-yes" ; then
4485 aros_warnflags_missing_braces=-Wmissing-braces
4486 aros_nowarnflags_missing_braces=-Wno-missing-braces
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
4490 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
4491 CFLAGS=-Wconversion-null
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4496 main ()
4500 return 0;
4502 _ACEOF
4503 if ac_fn_c_try_compile "$LINENO"; then :
4504 aros_conversion_null="yes"
4505 else
4506 aros_conversion_null="no"
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
4510 $as_echo "$aros_conversion_null" >&6; }
4511 if test "x-$aros_conversion_null" = "x-yes" ; then
4512 aros_warnflags_conversion_null=-Wconversion-null
4513 aros_nowarnflags_conversion_null=-Wno-conversion-null
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
4517 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
4518 CFLAGS=-Wnarrowing
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4523 main ()
4527 return 0;
4529 _ACEOF
4530 if ac_fn_c_try_compile "$LINENO"; then :
4531 aros_narrowing="yes"
4532 else
4533 aros_narrowing="no"
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4537 $as_echo "$aros_narrowing" >&6; }
4538 if test "x-$aros_narrowing" = "x-yes" ; then
4539 aros_warnflags_narrowing=-Wnarrowing
4540 aros_nowarnflags_narrowing=-Wno-narrowing
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4544 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4545 CFLAGS=-Wvolatile-register-var
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4550 main ()
4554 return 0;
4556 _ACEOF
4557 if ac_fn_c_try_compile "$LINENO"; then :
4558 aros_volatile_register_var="yes"
4559 else
4560 aros_volatile_register_var="no"
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4564 $as_echo "$aros_volatile_register_var" >&6; }
4565 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4566 aros_warnflags_volatile_register_var=-Wvolatile-register-var
4567 aros_nowarnflags_volatile_register_var=-Wno-volatile-register-var
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsizeof-pointer-memaccess" >&5
4571 $as_echo_n "checking whether ${CC} accepts -Wsizeof-pointer-memaccess... " >&6; }
4572 CFLAGS=-Wsizeof-pointer-memaccess
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4577 main ()
4581 return 0;
4583 _ACEOF
4584 if ac_fn_c_try_compile "$LINENO"; then :
4585 aros_sizeof_pointer_memaccess="yes"
4586 else
4587 aros_sizeof_pointer_memaccess="no"
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sizeof_pointer_memaccess" >&5
4591 $as_echo "$aros_sizeof_pointer_memaccess" >&6; }
4592 if test "x-$aros_sizeof_pointer_memaccess" = "x-yes" ; then
4593 aros_warnflags_sizeof_pointer_memaccess=-Wsizeof-pointer-memaccess
4594 aros_nowarnflags_sizeof_pointer_memaccess=-Wno-sizeof-pointer-memaccess
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wreturn-type" >&5
4598 $as_echo_n "checking whether ${CC} accepts -Wreturn-type... " >&6; }
4599 CFLAGS=-Wreturn-type
4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4604 main ()
4608 return 0;
4610 _ACEOF
4611 if ac_fn_c_try_compile "$LINENO"; then :
4612 aros_return_type="yes"
4613 else
4614 aros_return_type="no"
4616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_return_type" >&5
4618 $as_echo "$aros_return_type" >&6; }
4619 if test "x-$aros_return_type" = "x-yes" ; then
4620 aros_warnflags_return_type=-Wreturn-type
4621 aros_nowarnflags_return_type=-Wno-return-type
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-zero-length" >&5
4625 $as_echo_n "checking whether ${CC} accepts -Wformat-zero-length... " >&6; }
4626 CFLAGS=-Wformat-zero-length
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4631 main ()
4635 return 0;
4637 _ACEOF
4638 if ac_fn_c_try_compile "$LINENO"; then :
4639 aros_format_zero_length="yes"
4640 else
4641 aros_format_zero_length="no"
4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_zero_length" >&5
4645 $as_echo "$aros_format_zero_length" >&6; }
4646 if test "x-$aros_format_zero_length" = "x-yes" ; then
4647 aros_warnflags_format_zero_length=-Wformat-zero-length
4648 aros_nowarnflags_format_zero_length=-Wno-format-zero-length
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlto-type-mismatch" >&5
4652 $as_echo_n "checking whether ${CC} accepts -Wlto-type-mismatch... " >&6; }
4653 CFLAGS=-Wlto-type-mismatch
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4658 main ()
4662 return 0;
4664 _ACEOF
4665 if ac_fn_c_try_compile "$LINENO"; then :
4666 aros_lto_type_mismatch="yes"
4667 else
4668 aros_lto_type_mismatch="no"
4670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_lto_type_mismatch" >&5
4672 $as_echo "$aros_lto_type_mismatch" >&6; }
4673 if test "x-$aros_lto_type_mismatch" = "x-yes" ; then
4674 aros_warnflags_lto_type_mismatch=-Wlto-type-mismatch
4675 aros_nowarnflags_lto_type_mismatch=-Wno-lto-type-mismatch
4679 # export the feature flags...
4700 # export the feature options...
4705 # ...and warning flags...
4822 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in"
4825 cat >confcache <<\_ACEOF
4826 # This file is a shell script that caches the results of configure
4827 # tests run on this system so they can be shared between configure
4828 # scripts and configure runs, see configure's option --config-cache.
4829 # It is not useful on other systems. If it contains results you don't
4830 # want to keep, you may remove or edit it.
4832 # config.status only pays attention to the cache file if you give it
4833 # the --recheck option to rerun configure.
4835 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4836 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4837 # following values.
4839 _ACEOF
4841 # The following way of writing the cache mishandles newlines in values,
4842 # but we know of no workaround that is simple, portable, and efficient.
4843 # So, we kill variables containing newlines.
4844 # Ultrix sh set writes to stderr and can't be redirected directly,
4845 # and sets the high bit in the cache file unless we assign to the vars.
4847 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4848 eval ac_val=\$$ac_var
4849 case $ac_val in #(
4850 *${as_nl}*)
4851 case $ac_var in #(
4852 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4853 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4854 esac
4855 case $ac_var in #(
4856 _ | IFS | as_nl) ;; #(
4857 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4858 *) { eval $ac_var=; unset $ac_var;} ;;
4859 esac ;;
4860 esac
4861 done
4863 (set) 2>&1 |
4864 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4865 *${as_nl}ac_space=\ *)
4866 # `set' does not quote correctly, so add quotes: double-quote
4867 # substitution turns \\\\ into \\, and sed turns \\ into \.
4868 sed -n \
4869 "s/'/'\\\\''/g;
4870 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4871 ;; #(
4873 # `set' quotes correctly as required by POSIX, so do not add quotes.
4874 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4876 esac |
4877 sort
4879 sed '
4880 /^ac_cv_env_/b end
4881 t clear
4882 :clear
4883 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4884 t end
4885 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4886 :end' >>confcache
4887 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4888 if test -w "$cache_file"; then
4889 if test "x$cache_file" != "x/dev/null"; then
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4891 $as_echo "$as_me: updating cache $cache_file" >&6;}
4892 if test ! -f "$cache_file" || test -h "$cache_file"; then
4893 cat confcache >"$cache_file"
4894 else
4895 case $cache_file in #(
4896 */* | ?:*)
4897 mv -f confcache "$cache_file"$$ &&
4898 mv -f "$cache_file"$$ "$cache_file" ;; #(
4900 mv -f confcache "$cache_file" ;;
4901 esac
4904 else
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4906 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4909 rm -f confcache
4911 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4912 # Let make expand exec_prefix.
4913 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4915 # Transform confdefs.h into DEFS.
4916 # Protect against shell expansion while executing Makefile rules.
4917 # Protect against Makefile macro expansion.
4919 # If the first sed substitution is executed (which looks for macros that
4920 # take arguments), then branch to the quote section. Otherwise,
4921 # look for a macro that doesn't take arguments.
4922 ac_script='
4923 :mline
4924 /\\$/{
4926 s,\\\n,,
4927 b mline
4929 t clear
4930 :clear
4931 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4932 t quote
4933 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4934 t quote
4935 b any
4936 :quote
4937 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4938 s/\[/\\&/g
4939 s/\]/\\&/g
4940 s/\$/$$/g
4942 :any
4945 s/^\n//
4946 s/\n/ /g
4950 DEFS=`sed -n "$ac_script" confdefs.h`
4953 ac_libobjs=
4954 ac_ltlibobjs=
4956 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4957 # 1. Remove the extension, and $U if already installed.
4958 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4959 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4960 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4961 # will be set to the directory where LIBOBJS objects are built.
4962 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4963 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4964 done
4965 LIBOBJS=$ac_libobjs
4967 LTLIBOBJS=$ac_ltlibobjs
4971 : "${CONFIG_STATUS=./config.status}"
4972 ac_write_fail=0
4973 ac_clean_files_save=$ac_clean_files
4974 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4976 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4977 as_write_fail=0
4978 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4979 #! $SHELL
4980 # Generated by $as_me.
4981 # Run this file to recreate the current configuration.
4982 # Compiler output produced by configure, useful for debugging
4983 # configure, is in config.log if it exists.
4985 debug=false
4986 ac_cs_recheck=false
4987 ac_cs_silent=false
4989 SHELL=\${CONFIG_SHELL-$SHELL}
4990 export SHELL
4991 _ASEOF
4992 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4993 ## -------------------- ##
4994 ## M4sh Initialization. ##
4995 ## -------------------- ##
4997 # Be more Bourne compatible
4998 DUALCASE=1; export DUALCASE # for MKS sh
4999 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5000 emulate sh
5001 NULLCMD=:
5002 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5003 # is contrary to our usage. Disable this feature.
5004 alias -g '${1+"$@"}'='"$@"'
5005 setopt NO_GLOB_SUBST
5006 else
5007 case `(set -o) 2>/dev/null` in #(
5008 *posix*) :
5009 set -o posix ;; #(
5010 *) :
5012 esac
5016 as_nl='
5018 export as_nl
5019 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5020 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5021 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5022 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5023 # Prefer a ksh shell builtin over an external printf program on Solaris,
5024 # but without wasting forks for bash or zsh.
5025 if test -z "$BASH_VERSION$ZSH_VERSION" \
5026 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5027 as_echo='print -r --'
5028 as_echo_n='print -rn --'
5029 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5030 as_echo='printf %s\n'
5031 as_echo_n='printf %s'
5032 else
5033 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5034 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5035 as_echo_n='/usr/ucb/echo -n'
5036 else
5037 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5038 as_echo_n_body='eval
5039 arg=$1;
5040 case $arg in #(
5041 *"$as_nl"*)
5042 expr "X$arg" : "X\\(.*\\)$as_nl";
5043 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5044 esac;
5045 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5047 export as_echo_n_body
5048 as_echo_n='sh -c $as_echo_n_body as_echo'
5050 export as_echo_body
5051 as_echo='sh -c $as_echo_body as_echo'
5054 # The user is always right.
5055 if test "${PATH_SEPARATOR+set}" != set; then
5056 PATH_SEPARATOR=:
5057 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5058 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5059 PATH_SEPARATOR=';'
5064 # IFS
5065 # We need space, tab and new line, in precisely that order. Quoting is
5066 # there to prevent editors from complaining about space-tab.
5067 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5068 # splitting by setting IFS to empty value.)
5069 IFS=" "" $as_nl"
5071 # Find who we are. Look in the path if we contain no directory separator.
5072 as_myself=
5073 case $0 in #((
5074 *[\\/]* ) as_myself=$0 ;;
5075 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 for as_dir in $PATH
5078 IFS=$as_save_IFS
5079 test -z "$as_dir" && as_dir=.
5080 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5081 done
5082 IFS=$as_save_IFS
5085 esac
5086 # We did not find ourselves, most probably we were run as `sh COMMAND'
5087 # in which case we are not to be found in the path.
5088 if test "x$as_myself" = x; then
5089 as_myself=$0
5091 if test ! -f "$as_myself"; then
5092 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5093 exit 1
5096 # Unset variables that we do not need and which cause bugs (e.g. in
5097 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5098 # suppresses any "Segmentation fault" message there. '((' could
5099 # trigger a bug in pdksh 5.2.14.
5100 for as_var in BASH_ENV ENV MAIL MAILPATH
5101 do eval test x\${$as_var+set} = xset \
5102 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5103 done
5104 PS1='$ '
5105 PS2='> '
5106 PS4='+ '
5108 # NLS nuisances.
5109 LC_ALL=C
5110 export LC_ALL
5111 LANGUAGE=C
5112 export LANGUAGE
5114 # CDPATH.
5115 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5118 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5119 # ----------------------------------------
5120 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5121 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5122 # script with STATUS, using 1 if that was 0.
5123 as_fn_error ()
5125 as_status=$1; test $as_status -eq 0 && as_status=1
5126 if test "$4"; then
5127 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5128 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5130 $as_echo "$as_me: error: $2" >&2
5131 as_fn_exit $as_status
5132 } # as_fn_error
5135 # as_fn_set_status STATUS
5136 # -----------------------
5137 # Set $? to STATUS, without forking.
5138 as_fn_set_status ()
5140 return $1
5141 } # as_fn_set_status
5143 # as_fn_exit STATUS
5144 # -----------------
5145 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5146 as_fn_exit ()
5148 set +e
5149 as_fn_set_status $1
5150 exit $1
5151 } # as_fn_exit
5153 # as_fn_unset VAR
5154 # ---------------
5155 # Portably unset VAR.
5156 as_fn_unset ()
5158 { eval $1=; unset $1;}
5160 as_unset=as_fn_unset
5161 # as_fn_append VAR VALUE
5162 # ----------------------
5163 # Append the text in VALUE to the end of the definition contained in VAR. Take
5164 # advantage of any shell optimizations that allow amortized linear growth over
5165 # repeated appends, instead of the typical quadratic growth present in naive
5166 # implementations.
5167 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5168 eval 'as_fn_append ()
5170 eval $1+=\$2
5172 else
5173 as_fn_append ()
5175 eval $1=\$$1\$2
5177 fi # as_fn_append
5179 # as_fn_arith ARG...
5180 # ------------------
5181 # Perform arithmetic evaluation on the ARGs, and store the result in the
5182 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5183 # must be portable across $(()) and expr.
5184 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5185 eval 'as_fn_arith ()
5187 as_val=$(( $* ))
5189 else
5190 as_fn_arith ()
5192 as_val=`expr "$@" || test $? -eq 1`
5194 fi # as_fn_arith
5197 if expr a : '\(a\)' >/dev/null 2>&1 &&
5198 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5199 as_expr=expr
5200 else
5201 as_expr=false
5204 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5205 as_basename=basename
5206 else
5207 as_basename=false
5210 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5211 as_dirname=dirname
5212 else
5213 as_dirname=false
5216 as_me=`$as_basename -- "$0" ||
5217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5218 X"$0" : 'X\(//\)$' \| \
5219 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5220 $as_echo X/"$0" |
5221 sed '/^.*\/\([^/][^/]*\)\/*$/{
5222 s//\1/
5225 /^X\/\(\/\/\)$/{
5226 s//\1/
5229 /^X\/\(\/\).*/{
5230 s//\1/
5233 s/.*/./; q'`
5235 # Avoid depending upon Character Ranges.
5236 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5237 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5238 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5239 as_cr_digits='0123456789'
5240 as_cr_alnum=$as_cr_Letters$as_cr_digits
5242 ECHO_C= ECHO_N= ECHO_T=
5243 case `echo -n x` in #(((((
5244 -n*)
5245 case `echo 'xy\c'` in
5246 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5247 xy) ECHO_C='\c';;
5248 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5249 ECHO_T=' ';;
5250 esac;;
5252 ECHO_N='-n';;
5253 esac
5255 rm -f conf$$ conf$$.exe conf$$.file
5256 if test -d conf$$.dir; then
5257 rm -f conf$$.dir/conf$$.file
5258 else
5259 rm -f conf$$.dir
5260 mkdir conf$$.dir 2>/dev/null
5262 if (echo >conf$$.file) 2>/dev/null; then
5263 if ln -s conf$$.file conf$$ 2>/dev/null; then
5264 as_ln_s='ln -s'
5265 # ... but there are two gotchas:
5266 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5267 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5268 # In both cases, we have to default to `cp -pR'.
5269 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5270 as_ln_s='cp -pR'
5271 elif ln conf$$.file conf$$ 2>/dev/null; then
5272 as_ln_s=ln
5273 else
5274 as_ln_s='cp -pR'
5276 else
5277 as_ln_s='cp -pR'
5279 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5280 rmdir conf$$.dir 2>/dev/null
5283 # as_fn_mkdir_p
5284 # -------------
5285 # Create "$as_dir" as a directory, including parents if necessary.
5286 as_fn_mkdir_p ()
5289 case $as_dir in #(
5290 -*) as_dir=./$as_dir;;
5291 esac
5292 test -d "$as_dir" || eval $as_mkdir_p || {
5293 as_dirs=
5294 while :; do
5295 case $as_dir in #(
5296 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5297 *) as_qdir=$as_dir;;
5298 esac
5299 as_dirs="'$as_qdir' $as_dirs"
5300 as_dir=`$as_dirname -- "$as_dir" ||
5301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5302 X"$as_dir" : 'X\(//\)[^/]' \| \
5303 X"$as_dir" : 'X\(//\)$' \| \
5304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5305 $as_echo X"$as_dir" |
5306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5307 s//\1/
5310 /^X\(\/\/\)[^/].*/{
5311 s//\1/
5314 /^X\(\/\/\)$/{
5315 s//\1/
5318 /^X\(\/\).*/{
5319 s//\1/
5322 s/.*/./; q'`
5323 test -d "$as_dir" && break
5324 done
5325 test -z "$as_dirs" || eval "mkdir $as_dirs"
5326 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5329 } # as_fn_mkdir_p
5330 if mkdir -p . 2>/dev/null; then
5331 as_mkdir_p='mkdir -p "$as_dir"'
5332 else
5333 test -d ./-p && rmdir ./-p
5334 as_mkdir_p=false
5338 # as_fn_executable_p FILE
5339 # -----------------------
5340 # Test if FILE is an executable regular file.
5341 as_fn_executable_p ()
5343 test -f "$1" && test -x "$1"
5344 } # as_fn_executable_p
5345 as_test_x='test -x'
5346 as_executable_p=as_fn_executable_p
5348 # Sed expression to map a string onto a valid CPP name.
5349 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5351 # Sed expression to map a string onto a valid variable name.
5352 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5355 exec 6>&1
5356 ## ----------------------------------- ##
5357 ## Main body of $CONFIG_STATUS script. ##
5358 ## ----------------------------------- ##
5359 _ASEOF
5360 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5363 # Save the log message, to keep $0 and so on meaningful, and to
5364 # report actual input values of CONFIG_FILES etc. instead of their
5365 # values after options handling.
5366 ac_log="
5367 This file was extended by $as_me, which was
5368 generated by GNU Autoconf 2.69. Invocation command line was
5370 CONFIG_FILES = $CONFIG_FILES
5371 CONFIG_HEADERS = $CONFIG_HEADERS
5372 CONFIG_LINKS = $CONFIG_LINKS
5373 CONFIG_COMMANDS = $CONFIG_COMMANDS
5374 $ $0 $@
5376 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5379 _ACEOF
5381 case $ac_config_files in *"
5382 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5383 esac
5387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5388 # Files that config.status was made for.
5389 config_files="$ac_config_files"
5391 _ACEOF
5393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5394 ac_cs_usage="\
5395 \`$as_me' instantiates files and other configuration actions
5396 from templates according to the current configuration. Unless the files
5397 and actions are specified as TAGs, all are instantiated by default.
5399 Usage: $0 [OPTION]... [TAG]...
5401 -h, --help print this help, then exit
5402 -V, --version print version number and configuration settings, then exit
5403 --config print configuration, then exit
5404 -q, --quiet, --silent
5405 do not print progress messages
5406 -d, --debug don't remove temporary files
5407 --recheck update $as_me by reconfiguring in the same conditions
5408 --file=FILE[:TEMPLATE]
5409 instantiate the configuration file FILE
5411 Configuration files:
5412 $config_files
5414 Report bugs to the package provider."
5416 _ACEOF
5417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5418 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5419 ac_cs_version="\\
5420 config.status
5421 configured by $0, generated by GNU Autoconf 2.69,
5422 with options \\"\$ac_cs_config\\"
5424 Copyright (C) 2012 Free Software Foundation, Inc.
5425 This config.status script is free software; the Free Software Foundation
5426 gives unlimited permission to copy, distribute and modify it."
5428 ac_pwd='$ac_pwd'
5429 srcdir='$srcdir'
5430 test -n "\$AWK" || AWK=awk
5431 _ACEOF
5433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5434 # The default lists apply if the user does not specify any file.
5435 ac_need_defaults=:
5436 while test $# != 0
5438 case $1 in
5439 --*=?*)
5440 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5441 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5442 ac_shift=:
5444 --*=)
5445 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5446 ac_optarg=
5447 ac_shift=:
5450 ac_option=$1
5451 ac_optarg=$2
5452 ac_shift=shift
5454 esac
5456 case $ac_option in
5457 # Handling of the options.
5458 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5459 ac_cs_recheck=: ;;
5460 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5461 $as_echo "$ac_cs_version"; exit ;;
5462 --config | --confi | --conf | --con | --co | --c )
5463 $as_echo "$ac_cs_config"; exit ;;
5464 --debug | --debu | --deb | --de | --d | -d )
5465 debug=: ;;
5466 --file | --fil | --fi | --f )
5467 $ac_shift
5468 case $ac_optarg in
5469 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5470 '') as_fn_error $? "missing file argument" ;;
5471 esac
5472 as_fn_append CONFIG_FILES " '$ac_optarg'"
5473 ac_need_defaults=false;;
5474 --he | --h | --help | --hel | -h )
5475 $as_echo "$ac_cs_usage"; exit ;;
5476 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5477 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5478 ac_cs_silent=: ;;
5480 # This is an error.
5481 -*) as_fn_error $? "unrecognized option: \`$1'
5482 Try \`$0 --help' for more information." ;;
5484 *) as_fn_append ac_config_targets " $1"
5485 ac_need_defaults=false ;;
5487 esac
5488 shift
5489 done
5491 ac_configure_extra_args=
5493 if $ac_cs_silent; then
5494 exec 6>/dev/null
5495 ac_configure_extra_args="$ac_configure_extra_args --silent"
5498 _ACEOF
5499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5500 if \$ac_cs_recheck; then
5501 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5502 shift
5503 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5504 CONFIG_SHELL='$SHELL'
5505 export CONFIG_SHELL
5506 exec "\$@"
5509 _ACEOF
5510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5511 exec 5>>config.log
5513 echo
5514 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5515 ## Running $as_me. ##
5516 _ASBOX
5517 $as_echo "$ac_log"
5518 } >&5
5520 _ACEOF
5521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5522 _ACEOF
5524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5526 # Handling of arguments.
5527 for ac_config_target in $ac_config_targets
5529 case $ac_config_target in
5530 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:compiler.cfg.in" ;;
5532 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5533 esac
5534 done
5537 # If the user did not use the arguments to specify the items to instantiate,
5538 # then the envvar interface is used. Set only those that are not.
5539 # We use the long form for the default assignment because of an extremely
5540 # bizarre bug on SunOS 4.1.3.
5541 if $ac_need_defaults; then
5542 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5545 # Have a temporary directory for convenience. Make it in the build tree
5546 # simply because there is no reason against having it here, and in addition,
5547 # creating and moving files from /tmp can sometimes cause problems.
5548 # Hook for its removal unless debugging.
5549 # Note that there is a small window in which the directory will not be cleaned:
5550 # after its creation but before its name has been assigned to `$tmp'.
5551 $debug ||
5553 tmp= ac_tmp=
5554 trap 'exit_status=$?
5555 : "${ac_tmp:=$tmp}"
5556 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5558 trap 'as_fn_exit 1' 1 2 13 15
5560 # Create a (secure) tmp directory for tmp files.
5563 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5564 test -d "$tmp"
5565 } ||
5567 tmp=./conf$$-$RANDOM
5568 (umask 077 && mkdir "$tmp")
5569 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5570 ac_tmp=$tmp
5572 # Set up the scripts for CONFIG_FILES section.
5573 # No need to generate them if there are no CONFIG_FILES.
5574 # This happens for instance with `./config.status config.h'.
5575 if test -n "$CONFIG_FILES"; then
5578 ac_cr=`echo X | tr X '\015'`
5579 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5580 # But we know of no other shell where ac_cr would be empty at this
5581 # point, so we can use a bashism as a fallback.
5582 if test "x$ac_cr" = x; then
5583 eval ac_cr=\$\'\\r\'
5585 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5586 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5587 ac_cs_awk_cr='\\r'
5588 else
5589 ac_cs_awk_cr=$ac_cr
5592 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5593 _ACEOF
5597 echo "cat >conf$$subs.awk <<_ACEOF" &&
5598 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5599 echo "_ACEOF"
5600 } >conf$$subs.sh ||
5601 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5602 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5603 ac_delim='%!_!# '
5604 for ac_last_try in false false false false false :; do
5605 . ./conf$$subs.sh ||
5606 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5608 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5609 if test $ac_delim_n = $ac_delim_num; then
5610 break
5611 elif $ac_last_try; then
5612 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5613 else
5614 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5616 done
5617 rm -f conf$$subs.sh
5619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5620 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5621 _ACEOF
5622 sed -n '
5624 s/^/S["/; s/!.*/"]=/
5627 s/^[^!]*!//
5628 :repl
5629 t repl
5630 s/'"$ac_delim"'$//
5631 t delim
5634 s/\(.\{148\}\)..*/\1/
5635 t more1
5636 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5639 b repl
5640 :more1
5641 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5644 s/.\{148\}//
5645 t nl
5646 :delim
5648 s/\(.\{148\}\)..*/\1/
5649 t more2
5650 s/["\\]/\\&/g; s/^/"/; s/$/"/
5653 :more2
5654 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5657 s/.\{148\}//
5658 t delim
5659 ' <conf$$subs.awk | sed '
5660 /^[^""]/{
5662 s/\n//
5664 ' >>$CONFIG_STATUS || ac_write_fail=1
5665 rm -f conf$$subs.awk
5666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5667 _ACAWK
5668 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5669 for (key in S) S_is_set[key] = 1
5670 FS = "\a"
5674 line = $ 0
5675 nfields = split(line, field, "@")
5676 substed = 0
5677 len = length(field[1])
5678 for (i = 2; i < nfields; i++) {
5679 key = field[i]
5680 keylen = length(key)
5681 if (S_is_set[key]) {
5682 value = S[key]
5683 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5684 len += length(value) + length(field[++i])
5685 substed = 1
5686 } else
5687 len += 1 + keylen
5690 print line
5693 _ACAWK
5694 _ACEOF
5695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5696 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5697 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5698 else
5700 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5701 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5702 _ACEOF
5704 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5705 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5706 # trailing colons and then remove the whole line if VPATH becomes empty
5707 # (actually we leave an empty line to preserve line numbers).
5708 if test "x$srcdir" = x.; then
5709 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5711 s///
5712 s/^/:/
5713 s/[ ]*$/:/
5714 s/:\$(srcdir):/:/g
5715 s/:\${srcdir}:/:/g
5716 s/:@srcdir@:/:/g
5717 s/^:*//
5718 s/:*$//
5720 s/\(=[ ]*\).*/\1/
5722 s/\n//
5723 s/^[^=]*=[ ]*$//
5727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5728 fi # test -n "$CONFIG_FILES"
5731 eval set X " :F $CONFIG_FILES "
5732 shift
5733 for ac_tag
5735 case $ac_tag in
5736 :[FHLC]) ac_mode=$ac_tag; continue;;
5737 esac
5738 case $ac_mode$ac_tag in
5739 :[FHL]*:*);;
5740 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5741 :[FH]-) ac_tag=-:-;;
5742 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5743 esac
5744 ac_save_IFS=$IFS
5745 IFS=:
5746 set x $ac_tag
5747 IFS=$ac_save_IFS
5748 shift
5749 ac_file=$1
5750 shift
5752 case $ac_mode in
5753 :L) ac_source=$1;;
5754 :[FH])
5755 ac_file_inputs=
5756 for ac_f
5758 case $ac_f in
5759 -) ac_f="$ac_tmp/stdin";;
5760 *) # Look for the file first in the build tree, then in the source tree
5761 # (if the path is not absolute). The absolute path cannot be DOS-style,
5762 # because $ac_f cannot contain `:'.
5763 test -f "$ac_f" ||
5764 case $ac_f in
5765 [\\/$]*) false;;
5766 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5767 esac ||
5768 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5769 esac
5770 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5771 as_fn_append ac_file_inputs " '$ac_f'"
5772 done
5774 # Let's still pretend it is `configure' which instantiates (i.e., don't
5775 # use $as_me), people would be surprised to read:
5776 # /* config.h. Generated by config.status. */
5777 configure_input='Generated from '`
5778 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5779 `' by configure.'
5780 if test x"$ac_file" != x-; then
5781 configure_input="$ac_file. $configure_input"
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5783 $as_echo "$as_me: creating $ac_file" >&6;}
5785 # Neutralize special characters interpreted by sed in replacement strings.
5786 case $configure_input in #(
5787 *\&* | *\|* | *\\* )
5788 ac_sed_conf_input=`$as_echo "$configure_input" |
5789 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5790 *) ac_sed_conf_input=$configure_input;;
5791 esac
5793 case $ac_tag in
5794 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5796 esac
5798 esac
5800 ac_dir=`$as_dirname -- "$ac_file" ||
5801 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5802 X"$ac_file" : 'X\(//\)[^/]' \| \
5803 X"$ac_file" : 'X\(//\)$' \| \
5804 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5805 $as_echo X"$ac_file" |
5806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5807 s//\1/
5810 /^X\(\/\/\)[^/].*/{
5811 s//\1/
5814 /^X\(\/\/\)$/{
5815 s//\1/
5818 /^X\(\/\).*/{
5819 s//\1/
5822 s/.*/./; q'`
5823 as_dir="$ac_dir"; as_fn_mkdir_p
5824 ac_builddir=.
5826 case "$ac_dir" in
5827 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5829 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5830 # A ".." for each directory in $ac_dir_suffix.
5831 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5832 case $ac_top_builddir_sub in
5833 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5834 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5835 esac ;;
5836 esac
5837 ac_abs_top_builddir=$ac_pwd
5838 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5839 # for backward compatibility:
5840 ac_top_builddir=$ac_top_build_prefix
5842 case $srcdir in
5843 .) # We are building in place.
5844 ac_srcdir=.
5845 ac_top_srcdir=$ac_top_builddir_sub
5846 ac_abs_top_srcdir=$ac_pwd ;;
5847 [\\/]* | ?:[\\/]* ) # Absolute name.
5848 ac_srcdir=$srcdir$ac_dir_suffix;
5849 ac_top_srcdir=$srcdir
5850 ac_abs_top_srcdir=$srcdir ;;
5851 *) # Relative name.
5852 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5853 ac_top_srcdir=$ac_top_build_prefix$srcdir
5854 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5855 esac
5856 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5859 case $ac_mode in
5862 # CONFIG_FILE
5865 _ACEOF
5867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5868 # If the template does not know about datarootdir, expand it.
5869 # FIXME: This hack should be removed a few years after 2.60.
5870 ac_datarootdir_hack=; ac_datarootdir_seen=
5871 ac_sed_dataroot='
5872 /datarootdir/ {
5876 /@datadir@/p
5877 /@docdir@/p
5878 /@infodir@/p
5879 /@localedir@/p
5880 /@mandir@/p'
5881 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5882 *datarootdir*) ac_datarootdir_seen=yes;;
5883 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5885 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5886 _ACEOF
5887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5888 ac_datarootdir_hack='
5889 s&@datadir@&$datadir&g
5890 s&@docdir@&$docdir&g
5891 s&@infodir@&$infodir&g
5892 s&@localedir@&$localedir&g
5893 s&@mandir@&$mandir&g
5894 s&\\\${datarootdir}&$datarootdir&g' ;;
5895 esac
5896 _ACEOF
5898 # Neutralize VPATH when `$srcdir' = `.'.
5899 # Shell code in configure.ac might set extrasub.
5900 # FIXME: do we really want to maintain this feature?
5901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5902 ac_sed_extra="$ac_vpsub
5903 $extrasub
5904 _ACEOF
5905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5907 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5908 s|@configure_input@|$ac_sed_conf_input|;t t
5909 s&@top_builddir@&$ac_top_builddir_sub&;t t
5910 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5911 s&@srcdir@&$ac_srcdir&;t t
5912 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5913 s&@top_srcdir@&$ac_top_srcdir&;t t
5914 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5915 s&@builddir@&$ac_builddir&;t t
5916 s&@abs_builddir@&$ac_abs_builddir&;t t
5917 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5918 $ac_datarootdir_hack
5920 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5921 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5923 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5924 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5925 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5926 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5928 which seems to be undefined. Please make sure it is defined" >&5
5929 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5930 which seems to be undefined. Please make sure it is defined" >&2;}
5932 rm -f "$ac_tmp/stdin"
5933 case $ac_file in
5934 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5935 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5936 esac \
5937 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5942 esac
5944 done # for ac_tag
5947 as_fn_exit 0
5948 _ACEOF
5949 ac_clean_files=$ac_clean_files_save
5951 test $ac_write_fail = 0 ||
5952 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5955 # configure is writing to config.log, and then calls config.status.
5956 # config.status does its own redirection, appending to config.log.
5957 # Unfortunately, on DOS this fails, as config.log is still kept open
5958 # by configure, so config.status won't be able to write to it; its
5959 # output is simply discarded. So we exec the FD to /dev/null,
5960 # effectively closing config.log, so it can be properly (re)opened and
5961 # appended to by config.status. When coming back to configure, we
5962 # need to make the FD available again.
5963 if test "$no_create" != yes; then
5964 ac_cs_success=:
5965 ac_config_status_args=
5966 test "$silent" = yes &&
5967 ac_config_status_args="$ac_config_status_args --quiet"
5968 exec 5>/dev/null
5969 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5970 exec 5>>config.log
5971 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5972 # would make configure fail if this is the last instruction.
5973 $ac_cs_success || as_fn_exit 1
5975 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5977 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}