check for unknown-warning-option
[AROS.git] / features
blob6949a5e6196ed6535a3a27627de3209f3f3eac8d
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_cflags_volatile_register_var
588 aros_cflags_narrowing
589 aros_cflags_conversion_null
590 aros_cflags_missing_braces
591 aros_cflags_unused_local_typedefs
592 aros_cflags_overflow
593 aros_cflags_attributes
594 aros_cflags_sign_compare
595 aros_cflags_deprecated_declarations
596 aros_cflags_frame_address
597 aros_cflags_shift_overflow
598 aros_cflags_pointer_sign
599 aros_cflags_logical_not_parentheses
600 aros_cflags_bool_compare
601 aros_cflags_incompatible_pointer_types
602 aros_cflags_comment
603 aros_cflags_write_strings
604 aros_cflags_unused_const_variable
605 aros_cflags_pointer_to_int_cast
606 aros_cflags_int_to_pointer_cast
607 aros_cflags_int_conversion
608 aros_cflags_discarded_array_qualifiers
609 aros_cflags_unknown_pragmas
610 aros_cflags_sequence_point
611 aros_cflags_discarded_qualifiers
612 aros_cflags_switch
613 aros_cflags_cpp
614 aros_cflags_aggressive_loop_optimizations
615 aros_cflags_implicit_int
616 aros_cflags_format_contains_nul
617 aros_cflags_endif_labels
618 aros_cflags_char_subscripts
619 aros_cflags_parentheses
620 aros_cflags_format
621 aros_cflags_implicit_function_declaration
622 aros_cflags_maybe_uninitialized
623 aros_cflags_uninitialized
624 aros_cflags_unused_function
625 aros_cflags_unused_variable
626 aros_cflags_unused_value
627 aros_cflags_unused
628 aros_cflags_nonnull_compare
629 aros_cflags_misleading_indentation
630 aros_cflags_format_security
631 aros_cflags_strict_overflow
632 aros_cflags_strict_prototypes
633 aros_cflags_enum_compare
634 aros_cflags_array_bounds
635 aros_cflags_strict_aliasing
636 aros_cflags_unused_but_set_variable
637 aros_cflags_unknown_warning_option
638 aros_cflags_iquote_end
639 aros_cflags_iquote
640 OBJEXT
641 EXEEXT
642 ac_ct_CC
643 CPPFLAGS
644 LDFLAGS
645 CFLAGS
647 target_alias
648 host_alias
649 build_alias
650 LIBS
651 ECHO_T
652 ECHO_N
653 ECHO_C
654 DEFS
655 mandir
656 localedir
657 libdir
658 psdir
659 pdfdir
660 dvidir
661 htmldir
662 infodir
663 docdir
664 oldincludedir
665 includedir
666 localstatedir
667 sharedstatedir
668 sysconfdir
669 datadir
670 datarootdir
671 libexecdir
672 sbindir
673 bindir
674 program_transform_name
675 prefix
676 exec_prefix
677 PACKAGE_URL
678 PACKAGE_BUGREPORT
679 PACKAGE_STRING
680 PACKAGE_VERSION
681 PACKAGE_TARNAME
682 PACKAGE_NAME
683 PATH_SEPARATOR
684 SHELL'
685 ac_subst_files=''
686 ac_user_opts='
687 enable_option_checking
688 with_config_dir
690 ac_precious_vars='build_alias
691 host_alias
692 target_alias
694 CFLAGS
695 LDFLAGS
696 LIBS
697 CPPFLAGS'
700 # Initialize some variables set by options.
701 ac_init_help=
702 ac_init_version=false
703 ac_unrecognized_opts=
704 ac_unrecognized_sep=
705 # The variables have the same names as the options, with
706 # dashes changed to underlines.
707 cache_file=/dev/null
708 exec_prefix=NONE
709 no_create=
710 no_recursion=
711 prefix=NONE
712 program_prefix=NONE
713 program_suffix=NONE
714 program_transform_name=s,x,x,
715 silent=
716 site=
717 srcdir=
718 verbose=
719 x_includes=NONE
720 x_libraries=NONE
722 # Installation directory options.
723 # These are left unexpanded so users can "make install exec_prefix=/foo"
724 # and all the variables that are supposed to be based on exec_prefix
725 # by default will actually change.
726 # Use braces instead of parens because sh, perl, etc. also accept them.
727 # (The list follows the same order as the GNU Coding Standards.)
728 bindir='${exec_prefix}/bin'
729 sbindir='${exec_prefix}/sbin'
730 libexecdir='${exec_prefix}/libexec'
731 datarootdir='${prefix}/share'
732 datadir='${datarootdir}'
733 sysconfdir='${prefix}/etc'
734 sharedstatedir='${prefix}/com'
735 localstatedir='${prefix}/var'
736 includedir='${prefix}/include'
737 oldincludedir='/usr/include'
738 docdir='${datarootdir}/doc/${PACKAGE}'
739 infodir='${datarootdir}/info'
740 htmldir='${docdir}'
741 dvidir='${docdir}'
742 pdfdir='${docdir}'
743 psdir='${docdir}'
744 libdir='${exec_prefix}/lib'
745 localedir='${datarootdir}/locale'
746 mandir='${datarootdir}/man'
748 ac_prev=
749 ac_dashdash=
750 for ac_option
752 # If the previous option needs an argument, assign it.
753 if test -n "$ac_prev"; then
754 eval $ac_prev=\$ac_option
755 ac_prev=
756 continue
759 case $ac_option in
760 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
761 *=) ac_optarg= ;;
762 *) ac_optarg=yes ;;
763 esac
765 # Accept the important Cygnus configure options, so we can diagnose typos.
767 case $ac_dashdash$ac_option in
769 ac_dashdash=yes ;;
771 -bindir | --bindir | --bindi | --bind | --bin | --bi)
772 ac_prev=bindir ;;
773 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
774 bindir=$ac_optarg ;;
776 -build | --build | --buil | --bui | --bu)
777 ac_prev=build_alias ;;
778 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
779 build_alias=$ac_optarg ;;
781 -cache-file | --cache-file | --cache-fil | --cache-fi \
782 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
783 ac_prev=cache_file ;;
784 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
785 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
786 cache_file=$ac_optarg ;;
788 --config-cache | -C)
789 cache_file=config.cache ;;
791 -datadir | --datadir | --datadi | --datad)
792 ac_prev=datadir ;;
793 -datadir=* | --datadir=* | --datadi=* | --datad=*)
794 datadir=$ac_optarg ;;
796 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
797 | --dataroo | --dataro | --datar)
798 ac_prev=datarootdir ;;
799 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
800 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
801 datarootdir=$ac_optarg ;;
803 -disable-* | --disable-*)
804 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
805 # Reject names that are not valid shell variable names.
806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
807 as_fn_error $? "invalid feature name: $ac_useropt"
808 ac_useropt_orig=$ac_useropt
809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
810 case $ac_user_opts in
812 "enable_$ac_useropt"
813 "*) ;;
814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
815 ac_unrecognized_sep=', ';;
816 esac
817 eval enable_$ac_useropt=no ;;
819 -docdir | --docdir | --docdi | --doc | --do)
820 ac_prev=docdir ;;
821 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
822 docdir=$ac_optarg ;;
824 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
825 ac_prev=dvidir ;;
826 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
827 dvidir=$ac_optarg ;;
829 -enable-* | --enable-*)
830 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
831 # Reject names that are not valid shell variable names.
832 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
833 as_fn_error $? "invalid feature name: $ac_useropt"
834 ac_useropt_orig=$ac_useropt
835 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
836 case $ac_user_opts in
838 "enable_$ac_useropt"
839 "*) ;;
840 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
841 ac_unrecognized_sep=', ';;
842 esac
843 eval enable_$ac_useropt=\$ac_optarg ;;
845 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
846 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
847 | --exec | --exe | --ex)
848 ac_prev=exec_prefix ;;
849 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
850 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
851 | --exec=* | --exe=* | --ex=*)
852 exec_prefix=$ac_optarg ;;
854 -gas | --gas | --ga | --g)
855 # Obsolete; use --with-gas.
856 with_gas=yes ;;
858 -help | --help | --hel | --he | -h)
859 ac_init_help=long ;;
860 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
861 ac_init_help=recursive ;;
862 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
863 ac_init_help=short ;;
865 -host | --host | --hos | --ho)
866 ac_prev=host_alias ;;
867 -host=* | --host=* | --hos=* | --ho=*)
868 host_alias=$ac_optarg ;;
870 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
871 ac_prev=htmldir ;;
872 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
873 | --ht=*)
874 htmldir=$ac_optarg ;;
876 -includedir | --includedir | --includedi | --included | --include \
877 | --includ | --inclu | --incl | --inc)
878 ac_prev=includedir ;;
879 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
880 | --includ=* | --inclu=* | --incl=* | --inc=*)
881 includedir=$ac_optarg ;;
883 -infodir | --infodir | --infodi | --infod | --info | --inf)
884 ac_prev=infodir ;;
885 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
886 infodir=$ac_optarg ;;
888 -libdir | --libdir | --libdi | --libd)
889 ac_prev=libdir ;;
890 -libdir=* | --libdir=* | --libdi=* | --libd=*)
891 libdir=$ac_optarg ;;
893 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
894 | --libexe | --libex | --libe)
895 ac_prev=libexecdir ;;
896 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
897 | --libexe=* | --libex=* | --libe=*)
898 libexecdir=$ac_optarg ;;
900 -localedir | --localedir | --localedi | --localed | --locale)
901 ac_prev=localedir ;;
902 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
903 localedir=$ac_optarg ;;
905 -localstatedir | --localstatedir | --localstatedi | --localstated \
906 | --localstate | --localstat | --localsta | --localst | --locals)
907 ac_prev=localstatedir ;;
908 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
909 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
910 localstatedir=$ac_optarg ;;
912 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
913 ac_prev=mandir ;;
914 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
915 mandir=$ac_optarg ;;
917 -nfp | --nfp | --nf)
918 # Obsolete; use --without-fp.
919 with_fp=no ;;
921 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
922 | --no-cr | --no-c | -n)
923 no_create=yes ;;
925 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
926 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
927 no_recursion=yes ;;
929 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
930 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
931 | --oldin | --oldi | --old | --ol | --o)
932 ac_prev=oldincludedir ;;
933 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
934 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
935 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
936 oldincludedir=$ac_optarg ;;
938 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
939 ac_prev=prefix ;;
940 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
941 prefix=$ac_optarg ;;
943 -program-prefix | --program-prefix | --program-prefi | --program-pref \
944 | --program-pre | --program-pr | --program-p)
945 ac_prev=program_prefix ;;
946 -program-prefix=* | --program-prefix=* | --program-prefi=* \
947 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
948 program_prefix=$ac_optarg ;;
950 -program-suffix | --program-suffix | --program-suffi | --program-suff \
951 | --program-suf | --program-su | --program-s)
952 ac_prev=program_suffix ;;
953 -program-suffix=* | --program-suffix=* | --program-suffi=* \
954 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
955 program_suffix=$ac_optarg ;;
957 -program-transform-name | --program-transform-name \
958 | --program-transform-nam | --program-transform-na \
959 | --program-transform-n | --program-transform- \
960 | --program-transform | --program-transfor \
961 | --program-transfo | --program-transf \
962 | --program-trans | --program-tran \
963 | --progr-tra | --program-tr | --program-t)
964 ac_prev=program_transform_name ;;
965 -program-transform-name=* | --program-transform-name=* \
966 | --program-transform-nam=* | --program-transform-na=* \
967 | --program-transform-n=* | --program-transform-=* \
968 | --program-transform=* | --program-transfor=* \
969 | --program-transfo=* | --program-transf=* \
970 | --program-trans=* | --program-tran=* \
971 | --progr-tra=* | --program-tr=* | --program-t=*)
972 program_transform_name=$ac_optarg ;;
974 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
975 ac_prev=pdfdir ;;
976 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
977 pdfdir=$ac_optarg ;;
979 -psdir | --psdir | --psdi | --psd | --ps)
980 ac_prev=psdir ;;
981 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
982 psdir=$ac_optarg ;;
984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
985 | -silent | --silent | --silen | --sile | --sil)
986 silent=yes ;;
988 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
989 ac_prev=sbindir ;;
990 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
991 | --sbi=* | --sb=*)
992 sbindir=$ac_optarg ;;
994 -sharedstatedir | --sharedstatedir | --sharedstatedi \
995 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
996 | --sharedst | --shareds | --shared | --share | --shar \
997 | --sha | --sh)
998 ac_prev=sharedstatedir ;;
999 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1000 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1001 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1002 | --sha=* | --sh=*)
1003 sharedstatedir=$ac_optarg ;;
1005 -site | --site | --sit)
1006 ac_prev=site ;;
1007 -site=* | --site=* | --sit=*)
1008 site=$ac_optarg ;;
1010 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1011 ac_prev=srcdir ;;
1012 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1013 srcdir=$ac_optarg ;;
1015 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1016 | --syscon | --sysco | --sysc | --sys | --sy)
1017 ac_prev=sysconfdir ;;
1018 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1019 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1020 sysconfdir=$ac_optarg ;;
1022 -target | --target | --targe | --targ | --tar | --ta | --t)
1023 ac_prev=target_alias ;;
1024 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1025 target_alias=$ac_optarg ;;
1027 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1028 verbose=yes ;;
1030 -version | --version | --versio | --versi | --vers | -V)
1031 ac_init_version=: ;;
1033 -with-* | --with-*)
1034 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037 as_fn_error $? "invalid package name: $ac_useropt"
1038 ac_useropt_orig=$ac_useropt
1039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040 case $ac_user_opts in
1042 "with_$ac_useropt"
1043 "*) ;;
1044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1045 ac_unrecognized_sep=', ';;
1046 esac
1047 eval with_$ac_useropt=\$ac_optarg ;;
1049 -without-* | --without-*)
1050 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1053 as_fn_error $? "invalid package name: $ac_useropt"
1054 ac_useropt_orig=$ac_useropt
1055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056 case $ac_user_opts in
1058 "with_$ac_useropt"
1059 "*) ;;
1060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1061 ac_unrecognized_sep=', ';;
1062 esac
1063 eval with_$ac_useropt=no ;;
1065 --x)
1066 # Obsolete; use --with-x.
1067 with_x=yes ;;
1069 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1070 | --x-incl | --x-inc | --x-in | --x-i)
1071 ac_prev=x_includes ;;
1072 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1073 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1074 x_includes=$ac_optarg ;;
1076 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1077 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1078 ac_prev=x_libraries ;;
1079 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1080 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1081 x_libraries=$ac_optarg ;;
1083 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1084 Try \`$0 --help' for more information"
1087 *=*)
1088 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1089 # Reject names that are not valid shell variable names.
1090 case $ac_envvar in #(
1091 '' | [0-9]* | *[!_$as_cr_alnum]* )
1092 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1093 esac
1094 eval $ac_envvar=\$ac_optarg
1095 export $ac_envvar ;;
1098 # FIXME: should be removed in autoconf 3.0.
1099 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1100 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1101 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1102 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1105 esac
1106 done
1108 if test -n "$ac_prev"; then
1109 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1110 as_fn_error $? "missing argument to $ac_option"
1113 if test -n "$ac_unrecognized_opts"; then
1114 case $enable_option_checking in
1115 no) ;;
1116 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1117 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1118 esac
1121 # Check all directory arguments for consistency.
1122 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1123 datadir sysconfdir sharedstatedir localstatedir includedir \
1124 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1125 libdir localedir mandir
1127 eval ac_val=\$$ac_var
1128 # Remove trailing slashes.
1129 case $ac_val in
1130 */ )
1131 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1132 eval $ac_var=\$ac_val;;
1133 esac
1134 # Be sure to have absolute directory names.
1135 case $ac_val in
1136 [\\/$]* | ?:[\\/]* ) continue;;
1137 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1138 esac
1139 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1140 done
1142 # There might be people who depend on the old broken behavior: `$host'
1143 # used to hold the argument of --host etc.
1144 # FIXME: To remove some day.
1145 build=$build_alias
1146 host=$host_alias
1147 target=$target_alias
1149 # FIXME: To remove some day.
1150 if test "x$host_alias" != x; then
1151 if test "x$build_alias" = x; then
1152 cross_compiling=maybe
1153 elif test "x$build_alias" != "x$host_alias"; then
1154 cross_compiling=yes
1158 ac_tool_prefix=
1159 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1161 test "$silent" = yes && exec 6>/dev/null
1164 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1165 ac_ls_di=`ls -di .` &&
1166 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1167 as_fn_error $? "working directory cannot be determined"
1168 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1169 as_fn_error $? "pwd does not report name of working directory"
1172 # Find the source files, if location was not specified.
1173 if test -z "$srcdir"; then
1174 ac_srcdir_defaulted=yes
1175 # Try the directory containing this script, then the parent directory.
1176 ac_confdir=`$as_dirname -- "$as_myself" ||
1177 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1178 X"$as_myself" : 'X\(//\)[^/]' \| \
1179 X"$as_myself" : 'X\(//\)$' \| \
1180 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1181 $as_echo X"$as_myself" |
1182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1183 s//\1/
1186 /^X\(\/\/\)[^/].*/{
1187 s//\1/
1190 /^X\(\/\/\)$/{
1191 s//\1/
1194 /^X\(\/\).*/{
1195 s//\1/
1198 s/.*/./; q'`
1199 srcdir=$ac_confdir
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1201 srcdir=..
1203 else
1204 ac_srcdir_defaulted=no
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1207 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1208 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1210 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1211 ac_abs_confdir=`(
1212 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1213 pwd)`
1214 # When building in place, set srcdir=.
1215 if test "$ac_abs_confdir" = "$ac_pwd"; then
1216 srcdir=.
1218 # Remove unnecessary trailing slashes from srcdir.
1219 # Double slashes in file names in object file debugging info
1220 # mess up M-x gdb in Emacs.
1221 case $srcdir in
1222 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1223 esac
1224 for ac_var in $ac_precious_vars; do
1225 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1226 eval ac_env_${ac_var}_value=\$${ac_var}
1227 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1228 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1229 done
1232 # Report the --help message.
1234 if test "$ac_init_help" = "long"; then
1235 # Omit some internal or obsolete options to make the list less imposing.
1236 # This message is too long to be a string in the A/UX 3.1 sh.
1237 cat <<_ACEOF
1238 \`configure' configures this package to adapt to many kinds of systems.
1240 Usage: $0 [OPTION]... [VAR=VALUE]...
1242 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1243 VAR=VALUE. See below for descriptions of some of the useful variables.
1245 Defaults for the options are specified in brackets.
1247 Configuration:
1248 -h, --help display this help and exit
1249 --help=short display options specific to this package
1250 --help=recursive display the short help of all the included packages
1251 -V, --version display version information and exit
1252 -q, --quiet, --silent do not print \`checking ...' messages
1253 --cache-file=FILE cache test results in FILE [disabled]
1254 -C, --config-cache alias for \`--cache-file=config.cache'
1255 -n, --no-create do not create output files
1256 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1258 Installation directories:
1259 --prefix=PREFIX install architecture-independent files in PREFIX
1260 [$ac_default_prefix]
1261 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1262 [PREFIX]
1264 By default, \`make install' will install all the files in
1265 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1266 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1267 for instance \`--prefix=\$HOME'.
1269 For better control, use the options below.
1271 Fine tuning of the installation directories:
1272 --bindir=DIR user executables [EPREFIX/bin]
1273 --sbindir=DIR system admin executables [EPREFIX/sbin]
1274 --libexecdir=DIR program executables [EPREFIX/libexec]
1275 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1276 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1277 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1278 --libdir=DIR object code libraries [EPREFIX/lib]
1279 --includedir=DIR C header files [PREFIX/include]
1280 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1281 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1282 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1283 --infodir=DIR info documentation [DATAROOTDIR/info]
1284 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1285 --mandir=DIR man documentation [DATAROOTDIR/man]
1286 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1287 --htmldir=DIR html documentation [DOCDIR]
1288 --dvidir=DIR dvi documentation [DOCDIR]
1289 --pdfdir=DIR pdf documentation [DOCDIR]
1290 --psdir=DIR ps documentation [DOCDIR]
1291 _ACEOF
1293 cat <<\_ACEOF
1294 _ACEOF
1297 if test -n "$ac_init_help"; then
1299 cat <<\_ACEOF
1301 Optional Packages:
1302 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1303 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1304 --with-config-dir=VERSION
1305 Location of generated target config files
1307 Some influential environment variables:
1308 CC C compiler command
1309 CFLAGS C compiler flags
1310 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1311 nonstandard directory <lib dir>
1312 LIBS libraries to pass to the linker, e.g. -l<library>
1313 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1314 you have headers in a nonstandard directory <include dir>
1316 Use these variables to override the choices made by `configure' or to help
1317 it to find libraries and programs with nonstandard names/locations.
1319 Report bugs to the package provider.
1320 _ACEOF
1321 ac_status=$?
1324 if test "$ac_init_help" = "recursive"; then
1325 # If there are subdirs, report their specific --help.
1326 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1327 test -d "$ac_dir" ||
1328 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1329 continue
1330 ac_builddir=.
1332 case "$ac_dir" in
1333 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1336 # A ".." for each directory in $ac_dir_suffix.
1337 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1338 case $ac_top_builddir_sub in
1339 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1341 esac ;;
1342 esac
1343 ac_abs_top_builddir=$ac_pwd
1344 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1345 # for backward compatibility:
1346 ac_top_builddir=$ac_top_build_prefix
1348 case $srcdir in
1349 .) # We are building in place.
1350 ac_srcdir=.
1351 ac_top_srcdir=$ac_top_builddir_sub
1352 ac_abs_top_srcdir=$ac_pwd ;;
1353 [\\/]* | ?:[\\/]* ) # Absolute name.
1354 ac_srcdir=$srcdir$ac_dir_suffix;
1355 ac_top_srcdir=$srcdir
1356 ac_abs_top_srcdir=$srcdir ;;
1357 *) # Relative name.
1358 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1359 ac_top_srcdir=$ac_top_build_prefix$srcdir
1360 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1361 esac
1362 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1364 cd "$ac_dir" || { ac_status=$?; continue; }
1365 # Check for guested configure.
1366 if test -f "$ac_srcdir/configure.gnu"; then
1367 echo &&
1368 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1369 elif test -f "$ac_srcdir/configure"; then
1370 echo &&
1371 $SHELL "$ac_srcdir/configure" --help=recursive
1372 else
1373 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1374 fi || ac_status=$?
1375 cd "$ac_pwd" || { ac_status=$?; break; }
1376 done
1379 test -n "$ac_init_help" && exit $ac_status
1380 if $ac_init_version; then
1381 cat <<\_ACEOF
1382 configure
1383 generated by GNU Autoconf 2.69
1385 Copyright (C) 2012 Free Software Foundation, Inc.
1386 This configure script is free software; the Free Software Foundation
1387 gives unlimited permission to copy, distribute and modify it.
1388 _ACEOF
1389 exit
1392 ## ------------------------ ##
1393 ## Autoconf initialization. ##
1394 ## ------------------------ ##
1396 # ac_fn_c_try_compile LINENO
1397 # --------------------------
1398 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1399 ac_fn_c_try_compile ()
1401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1402 rm -f conftest.$ac_objext
1403 if { { ac_try="$ac_compile"
1404 case "(($ac_try" in
1405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1406 *) ac_try_echo=$ac_try;;
1407 esac
1408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1409 $as_echo "$ac_try_echo"; } >&5
1410 (eval "$ac_compile") 2>conftest.err
1411 ac_status=$?
1412 if test -s conftest.err; then
1413 grep -v '^ *+' conftest.err >conftest.er1
1414 cat conftest.er1 >&5
1415 mv -f conftest.er1 conftest.err
1417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1418 test $ac_status = 0; } && {
1419 test -z "$ac_c_werror_flag" ||
1420 test ! -s conftest.err
1421 } && test -s conftest.$ac_objext; then :
1422 ac_retval=0
1423 else
1424 $as_echo "$as_me: failed program was:" >&5
1425 sed 's/^/| /' conftest.$ac_ext >&5
1427 ac_retval=1
1429 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1430 as_fn_set_status $ac_retval
1432 } # ac_fn_c_try_compile
1433 cat >config.log <<_ACEOF
1434 This file contains any messages produced by compilers while
1435 running configure, to aid debugging if configure makes a mistake.
1437 It was created by $as_me, which was
1438 generated by GNU Autoconf 2.69. Invocation command line was
1440 $ $0 $@
1442 _ACEOF
1443 exec 5>>config.log
1445 cat <<_ASUNAME
1446 ## --------- ##
1447 ## Platform. ##
1448 ## --------- ##
1450 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1451 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1452 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1453 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1454 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1456 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1457 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1459 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1460 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1461 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1462 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1463 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1464 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1465 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1467 _ASUNAME
1469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1470 for as_dir in $PATH
1472 IFS=$as_save_IFS
1473 test -z "$as_dir" && as_dir=.
1474 $as_echo "PATH: $as_dir"
1475 done
1476 IFS=$as_save_IFS
1478 } >&5
1480 cat >&5 <<_ACEOF
1483 ## ----------- ##
1484 ## Core tests. ##
1485 ## ----------- ##
1487 _ACEOF
1490 # Keep a trace of the command line.
1491 # Strip out --no-create and --no-recursion so they do not pile up.
1492 # Strip out --silent because we don't want to record it for future runs.
1493 # Also quote any args containing shell meta-characters.
1494 # Make two passes to allow for proper duplicate-argument suppression.
1495 ac_configure_args=
1496 ac_configure_args0=
1497 ac_configure_args1=
1498 ac_must_keep_next=false
1499 for ac_pass in 1 2
1501 for ac_arg
1503 case $ac_arg in
1504 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1505 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1506 | -silent | --silent | --silen | --sile | --sil)
1507 continue ;;
1508 *\'*)
1509 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1510 esac
1511 case $ac_pass in
1512 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1514 as_fn_append ac_configure_args1 " '$ac_arg'"
1515 if test $ac_must_keep_next = true; then
1516 ac_must_keep_next=false # Got value, back to normal.
1517 else
1518 case $ac_arg in
1519 *=* | --config-cache | -C | -disable-* | --disable-* \
1520 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1521 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1522 | -with-* | --with-* | -without-* | --without-* | --x)
1523 case "$ac_configure_args0 " in
1524 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1525 esac
1527 -* ) ac_must_keep_next=true ;;
1528 esac
1530 as_fn_append ac_configure_args " '$ac_arg'"
1532 esac
1533 done
1534 done
1535 { ac_configure_args0=; unset ac_configure_args0;}
1536 { ac_configure_args1=; unset ac_configure_args1;}
1538 # When interrupted or exit'd, cleanup temporary files, and complete
1539 # config.log. We remove comments because anyway the quotes in there
1540 # would cause problems or look ugly.
1541 # WARNING: Use '\'' to represent an apostrophe within the trap.
1542 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1543 trap 'exit_status=$?
1544 # Save into config.log some information that might help in debugging.
1546 echo
1548 $as_echo "## ---------------- ##
1549 ## Cache variables. ##
1550 ## ---------------- ##"
1551 echo
1552 # The following way of writing the cache mishandles newlines in values,
1554 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1555 eval ac_val=\$$ac_var
1556 case $ac_val in #(
1557 *${as_nl}*)
1558 case $ac_var in #(
1559 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1560 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1561 esac
1562 case $ac_var in #(
1563 _ | IFS | as_nl) ;; #(
1564 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1565 *) { eval $ac_var=; unset $ac_var;} ;;
1566 esac ;;
1567 esac
1568 done
1569 (set) 2>&1 |
1570 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1571 *${as_nl}ac_space=\ *)
1572 sed -n \
1573 "s/'\''/'\''\\\\'\'''\''/g;
1574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1575 ;; #(
1577 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1579 esac |
1580 sort
1582 echo
1584 $as_echo "## ----------------- ##
1585 ## Output variables. ##
1586 ## ----------------- ##"
1587 echo
1588 for ac_var in $ac_subst_vars
1590 eval ac_val=\$$ac_var
1591 case $ac_val in
1592 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1593 esac
1594 $as_echo "$ac_var='\''$ac_val'\''"
1595 done | sort
1596 echo
1598 if test -n "$ac_subst_files"; then
1599 $as_echo "## ------------------- ##
1600 ## File substitutions. ##
1601 ## ------------------- ##"
1602 echo
1603 for ac_var in $ac_subst_files
1605 eval ac_val=\$$ac_var
1606 case $ac_val in
1607 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1608 esac
1609 $as_echo "$ac_var='\''$ac_val'\''"
1610 done | sort
1611 echo
1614 if test -s confdefs.h; then
1615 $as_echo "## ----------- ##
1616 ## confdefs.h. ##
1617 ## ----------- ##"
1618 echo
1619 cat confdefs.h
1620 echo
1622 test "$ac_signal" != 0 &&
1623 $as_echo "$as_me: caught signal $ac_signal"
1624 $as_echo "$as_me: exit $exit_status"
1625 } >&5
1626 rm -f core *.core core.conftest.* &&
1627 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1628 exit $exit_status
1630 for ac_signal in 1 2 13 15; do
1631 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1632 done
1633 ac_signal=0
1635 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1636 rm -f -r conftest* confdefs.h
1638 $as_echo "/* confdefs.h */" > confdefs.h
1640 # Predefined preprocessor variables.
1642 cat >>confdefs.h <<_ACEOF
1643 #define PACKAGE_NAME "$PACKAGE_NAME"
1644 _ACEOF
1646 cat >>confdefs.h <<_ACEOF
1647 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1648 _ACEOF
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1652 _ACEOF
1654 cat >>confdefs.h <<_ACEOF
1655 #define PACKAGE_STRING "$PACKAGE_STRING"
1656 _ACEOF
1658 cat >>confdefs.h <<_ACEOF
1659 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1660 _ACEOF
1662 cat >>confdefs.h <<_ACEOF
1663 #define PACKAGE_URL "$PACKAGE_URL"
1664 _ACEOF
1667 # Let the site file select an alternate cache file if it wants to.
1668 # Prefer an explicitly selected file to automatically selected ones.
1669 ac_site_file1=NONE
1670 ac_site_file2=NONE
1671 if test -n "$CONFIG_SITE"; then
1672 # We do not want a PATH search for config.site.
1673 case $CONFIG_SITE in #((
1674 -*) ac_site_file1=./$CONFIG_SITE;;
1675 */*) ac_site_file1=$CONFIG_SITE;;
1676 *) ac_site_file1=./$CONFIG_SITE;;
1677 esac
1678 elif test "x$prefix" != xNONE; then
1679 ac_site_file1=$prefix/share/config.site
1680 ac_site_file2=$prefix/etc/config.site
1681 else
1682 ac_site_file1=$ac_default_prefix/share/config.site
1683 ac_site_file2=$ac_default_prefix/etc/config.site
1685 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1687 test "x$ac_site_file" = xNONE && continue
1688 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1690 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1691 sed 's/^/| /' "$ac_site_file" >&5
1692 . "$ac_site_file" \
1693 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1695 as_fn_error $? "failed to load site script $ac_site_file
1696 See \`config.log' for more details" "$LINENO" 5; }
1698 done
1700 if test -r "$cache_file"; then
1701 # Some versions of bash will fail to source /dev/null (special files
1702 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1703 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1705 $as_echo "$as_me: loading cache $cache_file" >&6;}
1706 case $cache_file in
1707 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1708 *) . "./$cache_file";;
1709 esac
1711 else
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1713 $as_echo "$as_me: creating cache $cache_file" >&6;}
1714 >$cache_file
1717 # Check that the precious variables saved in the cache have kept the same
1718 # value.
1719 ac_cache_corrupted=false
1720 for ac_var in $ac_precious_vars; do
1721 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1722 eval ac_new_set=\$ac_env_${ac_var}_set
1723 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1724 eval ac_new_val=\$ac_env_${ac_var}_value
1725 case $ac_old_set,$ac_new_set in
1726 set,)
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1728 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1729 ac_cache_corrupted=: ;;
1730 ,set)
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1732 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1733 ac_cache_corrupted=: ;;
1734 ,);;
1736 if test "x$ac_old_val" != "x$ac_new_val"; then
1737 # differences in whitespace do not lead to failure.
1738 ac_old_val_w=`echo x $ac_old_val`
1739 ac_new_val_w=`echo x $ac_new_val`
1740 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1742 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1743 ac_cache_corrupted=:
1744 else
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1746 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1747 eval $ac_var=\$ac_old_val
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1750 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1752 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1753 fi;;
1754 esac
1755 # Pass precious variables to config.status.
1756 if test "$ac_new_set" = set; then
1757 case $ac_new_val in
1758 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1759 *) ac_arg=$ac_var=$ac_new_val ;;
1760 esac
1761 case " $ac_configure_args " in
1762 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1763 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1764 esac
1766 done
1767 if $ac_cache_corrupted; then
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1771 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1772 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1774 ## -------------------- ##
1775 ## Main body of script. ##
1776 ## -------------------- ##
1778 ac_ext=c
1779 ac_cpp='$CPP $CPPFLAGS'
1780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1786 ac_aux_dir=
1787 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1788 if test -f "$ac_dir/install-sh"; then
1789 ac_aux_dir=$ac_dir
1790 ac_install_sh="$ac_aux_dir/install-sh -c"
1791 break
1792 elif test -f "$ac_dir/install.sh"; then
1793 ac_aux_dir=$ac_dir
1794 ac_install_sh="$ac_aux_dir/install.sh -c"
1795 break
1796 elif test -f "$ac_dir/shtool"; then
1797 ac_aux_dir=$ac_dir
1798 ac_install_sh="$ac_aux_dir/shtool install -c"
1799 break
1801 done
1802 if test -z "$ac_aux_dir"; then
1803 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
1806 # These three variables are undocumented and unsupported,
1807 # and are intended to be withdrawn in a future Autoconf release.
1808 # They can cause serious problems if a builder's source tree is in a directory
1809 # whose full name contains unusual characters.
1810 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1811 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1812 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1816 AROS_BUILDDIR=`${PWDCMD-pwd}`
1817 AROS_BUILDDIR_UNIX=${PWD}
1819 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1820 SRCDIR=${srcpwd}
1822 NOLINKFLAGS="-nostdlib -nostartfiles"
1823 LDFLAGS=$NOLINKFLAGS
1824 # The first step is to find the binaries.
1825 ac_ext=c
1826 ac_cpp='$CPP $CPPFLAGS'
1827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1830 if test -n "$ac_tool_prefix"; then
1831 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1832 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1834 $as_echo_n "checking for $ac_word... " >&6; }
1835 if ${ac_cv_prog_CC+:} false; then :
1836 $as_echo_n "(cached) " >&6
1837 else
1838 if test -n "$CC"; then
1839 ac_cv_prog_CC="$CC" # Let the user override the test.
1840 else
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1842 for as_dir in $PATH
1844 IFS=$as_save_IFS
1845 test -z "$as_dir" && as_dir=.
1846 for ac_exec_ext in '' $ac_executable_extensions; do
1847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1848 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1850 break 2
1852 done
1853 done
1854 IFS=$as_save_IFS
1858 CC=$ac_cv_prog_CC
1859 if test -n "$CC"; then
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1861 $as_echo "$CC" >&6; }
1862 else
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1864 $as_echo "no" >&6; }
1869 if test -z "$ac_cv_prog_CC"; then
1870 ac_ct_CC=$CC
1871 # Extract the first word of "gcc", so it can be a program name with args.
1872 set dummy gcc; ac_word=$2
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1874 $as_echo_n "checking for $ac_word... " >&6; }
1875 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1876 $as_echo_n "(cached) " >&6
1877 else
1878 if test -n "$ac_ct_CC"; then
1879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1880 else
1881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1882 for as_dir in $PATH
1884 IFS=$as_save_IFS
1885 test -z "$as_dir" && as_dir=.
1886 for ac_exec_ext in '' $ac_executable_extensions; do
1887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1888 ac_cv_prog_ac_ct_CC="gcc"
1889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1890 break 2
1892 done
1893 done
1894 IFS=$as_save_IFS
1898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1899 if test -n "$ac_ct_CC"; then
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1901 $as_echo "$ac_ct_CC" >&6; }
1902 else
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1904 $as_echo "no" >&6; }
1907 if test "x$ac_ct_CC" = x; then
1908 CC=""
1909 else
1910 case $cross_compiling:$ac_tool_warned in
1911 yes:)
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1914 ac_tool_warned=yes ;;
1915 esac
1916 CC=$ac_ct_CC
1918 else
1919 CC="$ac_cv_prog_CC"
1922 if test -z "$CC"; then
1923 if test -n "$ac_tool_prefix"; then
1924 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1925 set dummy ${ac_tool_prefix}cc; ac_word=$2
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1927 $as_echo_n "checking for $ac_word... " >&6; }
1928 if ${ac_cv_prog_CC+:} false; then :
1929 $as_echo_n "(cached) " >&6
1930 else
1931 if test -n "$CC"; then
1932 ac_cv_prog_CC="$CC" # Let the user override the test.
1933 else
1934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935 for as_dir in $PATH
1937 IFS=$as_save_IFS
1938 test -z "$as_dir" && as_dir=.
1939 for ac_exec_ext in '' $ac_executable_extensions; do
1940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1941 ac_cv_prog_CC="${ac_tool_prefix}cc"
1942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1943 break 2
1945 done
1946 done
1947 IFS=$as_save_IFS
1951 CC=$ac_cv_prog_CC
1952 if test -n "$CC"; then
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1954 $as_echo "$CC" >&6; }
1955 else
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1957 $as_echo "no" >&6; }
1963 if test -z "$CC"; then
1964 # Extract the first word of "cc", so it can be a program name with args.
1965 set dummy cc; ac_word=$2
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1967 $as_echo_n "checking for $ac_word... " >&6; }
1968 if ${ac_cv_prog_CC+:} false; then :
1969 $as_echo_n "(cached) " >&6
1970 else
1971 if test -n "$CC"; then
1972 ac_cv_prog_CC="$CC" # Let the user override the test.
1973 else
1974 ac_prog_rejected=no
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 for as_dir in $PATH
1978 IFS=$as_save_IFS
1979 test -z "$as_dir" && as_dir=.
1980 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1983 ac_prog_rejected=yes
1984 continue
1986 ac_cv_prog_CC="cc"
1987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 break 2
1990 done
1991 done
1992 IFS=$as_save_IFS
1994 if test $ac_prog_rejected = yes; then
1995 # We found a bogon in the path, so make sure we never use it.
1996 set dummy $ac_cv_prog_CC
1997 shift
1998 if test $# != 0; then
1999 # We chose a different compiler from the bogus one.
2000 # However, it has the same basename, so the bogon will be chosen
2001 # first if we set CC to just the basename; use the full file name.
2002 shift
2003 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2008 CC=$ac_cv_prog_CC
2009 if test -n "$CC"; then
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2011 $as_echo "$CC" >&6; }
2012 else
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2014 $as_echo "no" >&6; }
2019 if test -z "$CC"; then
2020 if test -n "$ac_tool_prefix"; then
2021 for ac_prog in cl.exe
2023 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2024 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2026 $as_echo_n "checking for $ac_word... " >&6; }
2027 if ${ac_cv_prog_CC+:} false; then :
2028 $as_echo_n "(cached) " >&6
2029 else
2030 if test -n "$CC"; then
2031 ac_cv_prog_CC="$CC" # Let the user override the test.
2032 else
2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2034 for as_dir in $PATH
2036 IFS=$as_save_IFS
2037 test -z "$as_dir" && as_dir=.
2038 for ac_exec_ext in '' $ac_executable_extensions; do
2039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2040 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2042 break 2
2044 done
2045 done
2046 IFS=$as_save_IFS
2050 CC=$ac_cv_prog_CC
2051 if test -n "$CC"; then
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2053 $as_echo "$CC" >&6; }
2054 else
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2056 $as_echo "no" >&6; }
2060 test -n "$CC" && break
2061 done
2063 if test -z "$CC"; then
2064 ac_ct_CC=$CC
2065 for ac_prog in cl.exe
2067 # Extract the first word of "$ac_prog", so it can be a program name with args.
2068 set dummy $ac_prog; ac_word=$2
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2070 $as_echo_n "checking for $ac_word... " >&6; }
2071 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2072 $as_echo_n "(cached) " >&6
2073 else
2074 if test -n "$ac_ct_CC"; then
2075 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2076 else
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 for as_dir in $PATH
2080 IFS=$as_save_IFS
2081 test -z "$as_dir" && as_dir=.
2082 for ac_exec_ext in '' $ac_executable_extensions; do
2083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2084 ac_cv_prog_ac_ct_CC="$ac_prog"
2085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 break 2
2088 done
2089 done
2090 IFS=$as_save_IFS
2094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2095 if test -n "$ac_ct_CC"; then
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2097 $as_echo "$ac_ct_CC" >&6; }
2098 else
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2100 $as_echo "no" >&6; }
2104 test -n "$ac_ct_CC" && break
2105 done
2107 if test "x$ac_ct_CC" = x; then
2108 CC=""
2109 else
2110 case $cross_compiling:$ac_tool_warned in
2111 yes:)
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2114 ac_tool_warned=yes ;;
2115 esac
2116 CC=$ac_ct_CC
2123 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2125 as_fn_error $? "no acceptable C compiler found in \$PATH
2126 See \`config.log' for more details" "$LINENO" 5; }
2128 # Provide some information about the compiler.
2129 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2130 set X $ac_compile
2131 ac_compiler=$2
2132 for ac_option in --version -v -V -qversion; do
2133 { { ac_try="$ac_compiler $ac_option >&5"
2134 case "(($ac_try" in
2135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2136 *) ac_try_echo=$ac_try;;
2137 esac
2138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2139 $as_echo "$ac_try_echo"; } >&5
2140 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2141 ac_status=$?
2142 if test -s conftest.err; then
2143 sed '10a\
2144 ... rest of stderr output deleted ...
2145 10q' conftest.err >conftest.er1
2146 cat conftest.er1 >&5
2148 rm -f conftest.er1 conftest.err
2149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2150 test $ac_status = 0; }
2151 done
2153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h. */
2157 main ()
2161 return 0;
2163 _ACEOF
2164 ac_clean_files_save=$ac_clean_files
2165 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2166 # Try to create an executable without -o first, disregard a.out.
2167 # It will help us diagnose broken compilers, and finding out an intuition
2168 # of exeext.
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2170 $as_echo_n "checking whether the C compiler works... " >&6; }
2171 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2173 # The possible output files:
2174 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2176 ac_rmfiles=
2177 for ac_file in $ac_files
2179 case $ac_file in
2180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2181 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2182 esac
2183 done
2184 rm -f $ac_rmfiles
2186 if { { ac_try="$ac_link_default"
2187 case "(($ac_try" in
2188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2189 *) ac_try_echo=$ac_try;;
2190 esac
2191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2192 $as_echo "$ac_try_echo"; } >&5
2193 (eval "$ac_link_default") 2>&5
2194 ac_status=$?
2195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2196 test $ac_status = 0; }; then :
2197 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2198 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2199 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2200 # so that the user can short-circuit this test for compilers unknown to
2201 # Autoconf.
2202 for ac_file in $ac_files ''
2204 test -f "$ac_file" || continue
2205 case $ac_file in
2206 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2208 [ab].out )
2209 # We found the default executable, but exeext='' is most
2210 # certainly right.
2211 break;;
2212 *.* )
2213 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2214 then :; else
2215 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2217 # We set ac_cv_exeext here because the later test for it is not
2218 # safe: cross compilers may not add the suffix if given an `-o'
2219 # argument, so we may need to know it at that point already.
2220 # Even if this section looks crufty: it has the advantage of
2221 # actually working.
2222 break;;
2224 break;;
2225 esac
2226 done
2227 test "$ac_cv_exeext" = no && ac_cv_exeext=
2229 else
2230 ac_file=''
2232 if test -z "$ac_file"; then :
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2234 $as_echo "no" >&6; }
2235 $as_echo "$as_me: failed program was:" >&5
2236 sed 's/^/| /' conftest.$ac_ext >&5
2238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2240 as_fn_error 77 "C compiler cannot create executables
2241 See \`config.log' for more details" "$LINENO" 5; }
2242 else
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2244 $as_echo "yes" >&6; }
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2247 $as_echo_n "checking for C compiler default output file name... " >&6; }
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2249 $as_echo "$ac_file" >&6; }
2250 ac_exeext=$ac_cv_exeext
2252 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2253 ac_clean_files=$ac_clean_files_save
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2255 $as_echo_n "checking for suffix of executables... " >&6; }
2256 if { { ac_try="$ac_link"
2257 case "(($ac_try" in
2258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2259 *) ac_try_echo=$ac_try;;
2260 esac
2261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2262 $as_echo "$ac_try_echo"; } >&5
2263 (eval "$ac_link") 2>&5
2264 ac_status=$?
2265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2266 test $ac_status = 0; }; then :
2267 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2268 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2269 # work properly (i.e., refer to `conftest.exe'), while it won't with
2270 # `rm'.
2271 for ac_file in conftest.exe conftest conftest.*; do
2272 test -f "$ac_file" || continue
2273 case $ac_file in
2274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2275 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2276 break;;
2277 * ) break;;
2278 esac
2279 done
2280 else
2281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2283 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2284 See \`config.log' for more details" "$LINENO" 5; }
2286 rm -f conftest conftest$ac_cv_exeext
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2288 $as_echo "$ac_cv_exeext" >&6; }
2290 rm -f conftest.$ac_ext
2291 EXEEXT=$ac_cv_exeext
2292 ac_exeext=$EXEEXT
2293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2295 #include <stdio.h>
2297 main ()
2299 FILE *f = fopen ("conftest.out", "w");
2300 return ferror (f) || fclose (f) != 0;
2303 return 0;
2305 _ACEOF
2306 ac_clean_files="$ac_clean_files conftest.out"
2307 # Check that the compiler produces executables we can run. If not, either
2308 # the compiler is broken, or we cross compile.
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2310 $as_echo_n "checking whether we are cross compiling... " >&6; }
2311 if test "$cross_compiling" != yes; then
2312 { { ac_try="$ac_link"
2313 case "(($ac_try" in
2314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2315 *) ac_try_echo=$ac_try;;
2316 esac
2317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2318 $as_echo "$ac_try_echo"; } >&5
2319 (eval "$ac_link") 2>&5
2320 ac_status=$?
2321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2322 test $ac_status = 0; }
2323 if { ac_try='./conftest$ac_cv_exeext'
2324 { { case "(($ac_try" in
2325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2326 *) ac_try_echo=$ac_try;;
2327 esac
2328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2329 $as_echo "$ac_try_echo"; } >&5
2330 (eval "$ac_try") 2>&5
2331 ac_status=$?
2332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2333 test $ac_status = 0; }; }; then
2334 cross_compiling=no
2335 else
2336 if test "$cross_compiling" = maybe; then
2337 cross_compiling=yes
2338 else
2339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2341 as_fn_error $? "cannot run C compiled programs.
2342 If you meant to cross compile, use \`--host'.
2343 See \`config.log' for more details" "$LINENO" 5; }
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2348 $as_echo "$cross_compiling" >&6; }
2350 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2351 ac_clean_files=$ac_clean_files_save
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2353 $as_echo_n "checking for suffix of object files... " >&6; }
2354 if ${ac_cv_objext+:} false; then :
2355 $as_echo_n "(cached) " >&6
2356 else
2357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2358 /* end confdefs.h. */
2361 main ()
2365 return 0;
2367 _ACEOF
2368 rm -f conftest.o conftest.obj
2369 if { { ac_try="$ac_compile"
2370 case "(($ac_try" in
2371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2372 *) ac_try_echo=$ac_try;;
2373 esac
2374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2375 $as_echo "$ac_try_echo"; } >&5
2376 (eval "$ac_compile") 2>&5
2377 ac_status=$?
2378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2379 test $ac_status = 0; }; then :
2380 for ac_file in conftest.o conftest.obj conftest.*; do
2381 test -f "$ac_file" || continue;
2382 case $ac_file in
2383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2384 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2385 break;;
2386 esac
2387 done
2388 else
2389 $as_echo "$as_me: failed program was:" >&5
2390 sed 's/^/| /' conftest.$ac_ext >&5
2392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2394 as_fn_error $? "cannot compute suffix of object files: cannot compile
2395 See \`config.log' for more details" "$LINENO" 5; }
2397 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2400 $as_echo "$ac_cv_objext" >&6; }
2401 OBJEXT=$ac_cv_objext
2402 ac_objext=$OBJEXT
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2404 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2405 if ${ac_cv_c_compiler_gnu+:} false; then :
2406 $as_echo_n "(cached) " >&6
2407 else
2408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2409 /* end confdefs.h. */
2412 main ()
2414 #ifndef __GNUC__
2415 choke me
2416 #endif
2419 return 0;
2421 _ACEOF
2422 if ac_fn_c_try_compile "$LINENO"; then :
2423 ac_compiler_gnu=yes
2424 else
2425 ac_compiler_gnu=no
2427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2428 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2432 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2433 if test $ac_compiler_gnu = yes; then
2434 GCC=yes
2435 else
2436 GCC=
2438 ac_test_CFLAGS=${CFLAGS+set}
2439 ac_save_CFLAGS=$CFLAGS
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2441 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2442 if ${ac_cv_prog_cc_g+:} false; then :
2443 $as_echo_n "(cached) " >&6
2444 else
2445 ac_save_c_werror_flag=$ac_c_werror_flag
2446 ac_c_werror_flag=yes
2447 ac_cv_prog_cc_g=no
2448 CFLAGS="-g"
2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2453 main ()
2457 return 0;
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 ac_cv_prog_cc_g=yes
2462 else
2463 CFLAGS=""
2464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2468 main ()
2472 return 0;
2474 _ACEOF
2475 if ac_fn_c_try_compile "$LINENO"; then :
2477 else
2478 ac_c_werror_flag=$ac_save_c_werror_flag
2479 CFLAGS="-g"
2480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h. */
2484 main ()
2488 return 0;
2490 _ACEOF
2491 if ac_fn_c_try_compile "$LINENO"; then :
2492 ac_cv_prog_cc_g=yes
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2499 ac_c_werror_flag=$ac_save_c_werror_flag
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2502 $as_echo "$ac_cv_prog_cc_g" >&6; }
2503 if test "$ac_test_CFLAGS" = set; then
2504 CFLAGS=$ac_save_CFLAGS
2505 elif test $ac_cv_prog_cc_g = yes; then
2506 if test "$GCC" = yes; then
2507 CFLAGS="-g -O2"
2508 else
2509 CFLAGS="-g"
2511 else
2512 if test "$GCC" = yes; then
2513 CFLAGS="-O2"
2514 else
2515 CFLAGS=
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2519 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2520 if ${ac_cv_prog_cc_c89+:} false; then :
2521 $as_echo_n "(cached) " >&6
2522 else
2523 ac_cv_prog_cc_c89=no
2524 ac_save_CC=$CC
2525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2526 /* end confdefs.h. */
2527 #include <stdarg.h>
2528 #include <stdio.h>
2529 struct stat;
2530 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2531 struct buf { int x; };
2532 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2533 static char *e (p, i)
2534 char **p;
2535 int i;
2537 return p[i];
2539 static char *f (char * (*g) (char **, int), char **p, ...)
2541 char *s;
2542 va_list v;
2543 va_start (v,p);
2544 s = g (p, va_arg (v,int));
2545 va_end (v);
2546 return s;
2549 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2550 function prototypes and stuff, but not '\xHH' hex character constants.
2551 These don't provoke an error unfortunately, instead are silently treated
2552 as 'x'. The following induces an error, until -std is added to get
2553 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2554 array size at least. It's necessary to write '\x00'==0 to get something
2555 that's true only with -std. */
2556 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2558 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2559 inside strings and character constants. */
2560 #define FOO(x) 'x'
2561 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2563 int test (int i, double x);
2564 struct s1 {int (*f) (int a);};
2565 struct s2 {int (*f) (double a);};
2566 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2567 int argc;
2568 char **argv;
2570 main ()
2572 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2574 return 0;
2576 _ACEOF
2577 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2578 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2580 CC="$ac_save_CC $ac_arg"
2581 if ac_fn_c_try_compile "$LINENO"; then :
2582 ac_cv_prog_cc_c89=$ac_arg
2584 rm -f core conftest.err conftest.$ac_objext
2585 test "x$ac_cv_prog_cc_c89" != "xno" && break
2586 done
2587 rm -f conftest.$ac_ext
2588 CC=$ac_save_CC
2591 # AC_CACHE_VAL
2592 case "x$ac_cv_prog_cc_c89" in
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2595 $as_echo "none needed" >&6; } ;;
2596 xno)
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2598 $as_echo "unsupported" >&6; } ;;
2600 CC="$CC $ac_cv_prog_cc_c89"
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2602 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2603 esac
2604 if test "x$ac_cv_prog_cc_c89" != xno; then :
2608 ac_ext=c
2609 ac_cpp='$CPP $CPPFLAGS'
2610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2616 $as_echo_n "checking target config location... " >&6; }
2618 # Check whether --with-config-dir was given.
2619 if test "${with_config_dir+set}" = set; then :
2620 withval=$with_config_dir; targetcfg_dir="$withval"
2621 else
2622 targetcfg_dir=""
2625 if test "$targetcfg_dir" = ""; then
2626 as_fn_error $? "missing config directory!" "$LINENO" 5
2627 else
2628 aros_targetcfg_dir="$targetcfg_dir"
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2631 $as_echo "$aros_targetcfg_dir" >&6; }
2633 #-----------------------------------------------------------------------------
2635 # Check if the target compiler supports some features:
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2638 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2639 CFLAGS="-iquote."
2641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2642 /* end confdefs.h. */
2645 main ()
2649 return 0;
2651 _ACEOF
2652 if ac_fn_c_try_compile "$LINENO"; then :
2653 has_iquote="yes"
2654 else
2655 has_iquote="no"
2657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2659 $as_echo "$has_iquote" >&6; }
2660 if test "x-$has_iquote" = "x-yes" ; then
2661 aros_cflags_iquote=-iquote
2662 aros_cflags_iquote_end=
2663 else
2664 aros_cflags_iquote=-I
2665 aros_cflags_iquote_end=-I-
2668 #-----------------------------------------------------------------------------
2670 # Check if the target compiler supports some options used for de-linting:
2671 # -Wunknown-warning-option
2672 # -Wunused-but-set-variable
2673 # -Wstrict-aliasing
2674 # -Warray-bounds
2675 # -Wenum-compare
2676 # -Wstrict-prototypes
2677 # -Wstrict-overflow
2678 # -Wformat-security
2679 # -Wmisleading-indentation
2680 # -Wnonnull-compare
2681 # -Wunused
2682 # -Wunused-value
2683 # -Wunused-variable
2684 # -Wunused-function
2685 # -Wuninitialized
2686 # -Wmaybe-uninitialized
2687 # -Wimplicit-function-declaration
2688 # -Wformat
2689 # -Wparentheses
2690 # -Wchar-subscripts
2691 # -Wendif-labels
2692 # -Wformat-contains-nul
2693 # -Wimplicit-int
2694 # -Waggressive-loop-optimizations
2695 # -Wcpp
2696 # -Wswitch
2697 # -Wdiscarded-qualifiers
2698 # -Wsequence-point
2699 # -Wunknown-pragmas
2700 # -Wdiscarded-array-qualifiers
2701 # -Wint-conversion
2702 # -Wint-to-pointer-cast
2703 # -Wpointer-to-int-cast
2704 # -Wunused-const-variable
2705 # -Wwrite-strings
2706 # -Wcomment
2707 # -Wincompatible-pointer-types
2708 # -Wbool-compare
2709 # -Wlogical-not-parentheses
2710 # -Wpointer-sign
2711 # -Wshift-overflow
2712 # -Wframe-address
2713 # -Wdeprecated-declarations
2714 # -Wsign-compare
2715 # -Wattributes
2716 # -Woverflow
2717 # -Wunused-local-typedefs
2718 # -Wmissing-braces
2719 # -Wconversion-null
2720 # -Wnarrowing
2721 # -Wvolatile-register-var
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-warning-option" >&5
2724 $as_echo_n "checking whether ${CC} accepts -Wunknown-warning-option... " >&6; }
2725 CFLAGS=-Wunknown-warning-option
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2730 main ()
2734 return 0;
2736 _ACEOF
2737 if ac_fn_c_try_compile "$LINENO"; then :
2738 aros_unknown_warning_option="yes"
2739 else
2740 aros_unknown_warning_option="no"
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_warning_option" >&5
2744 $as_echo "$aros_unknown_warning_option" >&6; }
2745 if test "x-$aros_unknown_warning_option" = "x-yes" ; then
2746 aros_cflags_unknown_warning_option=-Wno-unknown-warning-option
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2750 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2751 CFLAGS=-Wunused-but-set-variable
2752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2753 /* end confdefs.h. */
2756 main ()
2760 return 0;
2762 _ACEOF
2763 if ac_fn_c_try_compile "$LINENO"; then :
2764 aros_unused_but_set_variable="yes"
2765 else
2766 aros_unused_but_set_variable="no"
2768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2770 $as_echo "$aros_unused_but_set_variable" >&6; }
2771 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2772 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2776 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2777 CFLAGS=-Wstrict-aliasing
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2782 main ()
2786 return 0;
2788 _ACEOF
2789 if ac_fn_c_try_compile "$LINENO"; then :
2790 aros_strict_aliasing="yes"
2791 else
2792 aros_strict_aliasing="no"
2794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2796 $as_echo "$aros_strict_aliasing" >&6; }
2797 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2798 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2802 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2803 CFLAGS=-Warray-bounds
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h. */
2808 main ()
2812 return 0;
2814 _ACEOF
2815 if ac_fn_c_try_compile "$LINENO"; then :
2816 aros_array_bounds="yes"
2817 else
2818 aros_array_bounds="no"
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2822 $as_echo "$aros_array_bounds" >&6; }
2823 if test "x-$aros_array_bounds" = "x-yes" ; then
2824 aros_cflags_array_bounds=-Wno-array-bounds
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2828 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2829 CFLAGS=-Wenum-compare
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */
2834 main ()
2838 return 0;
2840 _ACEOF
2841 if ac_fn_c_try_compile "$LINENO"; then :
2842 aros_enum_compare="yes"
2843 else
2844 aros_enum_compare="no"
2846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2848 $as_echo "$aros_enum_compare" >&6; }
2849 if test "x-$aros_enum_compare" = "x-yes" ; then
2850 aros_cflags_enum_compare=-Wno-enum-compare
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2854 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2855 CFLAGS=-Wstrict-prototypes
2856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h. */
2860 main ()
2864 return 0;
2866 _ACEOF
2867 if ac_fn_c_try_compile "$LINENO"; then :
2868 aros_strict_prototypes="yes"
2869 else
2870 aros_strict_prototypes="no"
2872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
2874 $as_echo "$aros_strict_prototypes" >&6; }
2875 if test "x-$aros_strict_prototypes" = "x-yes" ; then
2876 aros_cflags_strict_prototypes=-Wno-strict-prototypes
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
2880 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
2881 CFLAGS=-Wstrict-overflow
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2886 main ()
2890 return 0;
2892 _ACEOF
2893 if ac_fn_c_try_compile "$LINENO"; then :
2894 aros_strict_overflow="yes"
2895 else
2896 aros_strict_overflow="no"
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
2900 $as_echo "$aros_strict_overflow" >&6; }
2901 if test "x-$aros_strict_overflow" = "x-yes" ; then
2902 aros_cflags_strict_overflow=-Wno-strict-overflow
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
2906 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
2907 CFLAGS=-Wformat-security
2908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2909 /* end confdefs.h. */
2912 main ()
2916 return 0;
2918 _ACEOF
2919 if ac_fn_c_try_compile "$LINENO"; then :
2920 aros_format_security="yes"
2921 else
2922 aros_format_security="no"
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
2926 $as_echo "$aros_format_security" >&6; }
2927 if test "x-$aros_format_security" = "x-yes" ; then
2928 aros_cflags_format_security=-Wno-format-security
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
2932 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
2933 CFLAGS=-Wmisleading-indentation
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2938 main ()
2942 return 0;
2944 _ACEOF
2945 if ac_fn_c_try_compile "$LINENO"; then :
2946 aros_misleading_indentation="yes"
2947 else
2948 aros_misleading_indentation="no"
2950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
2952 $as_echo "$aros_misleading_indentation" >&6; }
2953 if test "x-$aros_misleading_indentation" = "x-yes" ; then
2954 aros_cflags_misleading_indentation=-Wno-misleading-indentation
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
2958 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
2959 CFLAGS=-Wnonnull-compare
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2964 main ()
2968 return 0;
2970 _ACEOF
2971 if ac_fn_c_try_compile "$LINENO"; then :
2972 aros_nonnull_compare="yes"
2973 else
2974 aros_nonnull_compare="no"
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
2978 $as_echo "$aros_nonnull_compare" >&6; }
2979 if test "x-$aros_nonnull_compare" = "x-yes" ; then
2980 aros_cflags_nonnull_compare=-Wno-nonnull-compare
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
2984 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
2985 CFLAGS=-Wunused
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2990 main ()
2994 return 0;
2996 _ACEOF
2997 if ac_fn_c_try_compile "$LINENO"; then :
2998 aros_unused="yes"
2999 else
3000 aros_unused="no"
3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
3004 $as_echo "$aros_unused" >&6; }
3005 if test "x-$aros_unused" = "x-yes" ; then
3006 aros_cflags_unused=-Wno-unused
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
3010 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
3011 CFLAGS=-Wunused-value
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3016 main ()
3020 return 0;
3022 _ACEOF
3023 if ac_fn_c_try_compile "$LINENO"; then :
3024 aros_unused_value="yes"
3025 else
3026 aros_unused_value="no"
3028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3030 $as_echo "$aros_unused_value" >&6; }
3031 if test "x-$aros_unused_value" = "x-yes" ; then
3032 aros_cflags_unused_value=-Wno-unused-value
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3036 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3037 CFLAGS=-Wunused-variable
3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3039 /* end confdefs.h. */
3042 main ()
3046 return 0;
3048 _ACEOF
3049 if ac_fn_c_try_compile "$LINENO"; then :
3050 aros_unused_variable="yes"
3051 else
3052 aros_unused_variable="no"
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3056 $as_echo "$aros_unused_variable" >&6; }
3057 if test "x-$aros_unused_variable" = "x-yes" ; then
3058 aros_cflags_unused_variable=-Wno-unused-variable
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3062 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3063 CFLAGS=-Wunused-function
3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3068 main ()
3072 return 0;
3074 _ACEOF
3075 if ac_fn_c_try_compile "$LINENO"; then :
3076 aros_unused_function="yes"
3077 else
3078 aros_unused_function="no"
3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3082 $as_echo "$aros_unused_function" >&6; }
3083 if test "x-$aros_unused_function" = "x-yes" ; then
3084 aros_cflags_unused_function=-Wno-unused-function
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3088 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3089 CFLAGS=-Wuninitialized
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3094 main ()
3098 return 0;
3100 _ACEOF
3101 if ac_fn_c_try_compile "$LINENO"; then :
3102 aros_uninitialized="yes"
3103 else
3104 aros_uninitialized="no"
3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3108 $as_echo "$aros_uninitialized" >&6; }
3109 if test "x-$aros_uninitialized" = "x-yes" ; then
3110 aros_cflags_uninitialized=-Wno-uninitialized
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3114 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3115 CFLAGS=-Wmaybe-uninitialized
3116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h. */
3120 main ()
3124 return 0;
3126 _ACEOF
3127 if ac_fn_c_try_compile "$LINENO"; then :
3128 aros_maybe_uninitialized="yes"
3129 else
3130 aros_maybe_uninitialized="no"
3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3134 $as_echo "$aros_maybe_uninitialized" >&6; }
3135 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3136 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3140 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3141 CFLAGS=-Wimplicit-function-declaration
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3146 main ()
3150 return 0;
3152 _ACEOF
3153 if ac_fn_c_try_compile "$LINENO"; then :
3154 aros_implicit_function_declaration="yes"
3155 else
3156 aros_implicit_function_declaration="no"
3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3160 $as_echo "$aros_implicit_function_declaration" >&6; }
3161 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3162 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3166 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3167 CFLAGS=-Wformat
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3172 main ()
3176 return 0;
3178 _ACEOF
3179 if ac_fn_c_try_compile "$LINENO"; then :
3180 aros_format="yes"
3181 else
3182 aros_format="no"
3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3186 $as_echo "$aros_format" >&6; }
3187 if test "x-$aros_format" = "x-yes" ; then
3188 aros_cflags_format=-Wno-format
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3192 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3193 CFLAGS=-Wparentheses
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h. */
3198 main ()
3202 return 0;
3204 _ACEOF
3205 if ac_fn_c_try_compile "$LINENO"; then :
3206 aros_parentheses="yes"
3207 else
3208 aros_parentheses="no"
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3212 $as_echo "$aros_parentheses" >&6; }
3213 if test "x-$aros_parentheses" = "x-yes" ; then
3214 aros_cflags_parentheses=-Wno-parentheses
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3218 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3219 CFLAGS=-Wchar-subscripts
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_char_subscripts="yes"
3233 else
3234 aros_char_subscripts="no"
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3238 $as_echo "$aros_char_subscripts" >&6; }
3239 if test "x-$aros_char_subscripts" = "x-yes" ; then
3240 aros_cflags_char_subscripts=-Wno-char-subscripts
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3244 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3245 CFLAGS=-Wendif-labels
3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h. */
3250 main ()
3254 return 0;
3256 _ACEOF
3257 if ac_fn_c_try_compile "$LINENO"; then :
3258 aros_endif_labels="yes"
3259 else
3260 aros_endif_labels="no"
3262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3264 $as_echo "$aros_endif_labels" >&6; }
3265 if test "x-$aros_endif_labels" = "x-yes" ; then
3266 aros_cflags_endif_labels=-Wno-endif-labels
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3270 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3271 CFLAGS=-Wformat-contains-nul
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3276 main ()
3280 return 0;
3282 _ACEOF
3283 if ac_fn_c_try_compile "$LINENO"; then :
3284 aros_format_contains_nul="yes"
3285 else
3286 aros_format_contains_nul="no"
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3290 $as_echo "$aros_format_contains_nul" >&6; }
3291 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3292 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3296 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3297 CFLAGS=-Wimplicit-int
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3302 main ()
3306 return 0;
3308 _ACEOF
3309 if ac_fn_c_try_compile "$LINENO"; then :
3310 aros_implicit_int="yes"
3311 else
3312 aros_implicit_int="no"
3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3316 $as_echo "$aros_implicit_int" >&6; }
3317 if test "x-$aros_implicit_int" = "x-yes" ; then
3318 aros_cflags_implicit_int=-Wno-implicit-int
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3322 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3323 CFLAGS=-Waggressive-loop-optimizations
3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325 /* end confdefs.h. */
3328 main ()
3332 return 0;
3334 _ACEOF
3335 if ac_fn_c_try_compile "$LINENO"; then :
3336 aros_aggressive_loop_optimizations="yes"
3337 else
3338 aros_aggressive_loop_optimizations="no"
3340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3342 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3343 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3344 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3348 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3349 CFLAGS=-Wcpp
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3354 main ()
3358 return 0;
3360 _ACEOF
3361 if ac_fn_c_try_compile "$LINENO"; then :
3362 aros_cpp="yes"
3363 else
3364 aros_cpp="no"
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3368 $as_echo "$aros_cpp" >&6; }
3369 if test "x-$aros_cpp" = "x-yes" ; then
3370 aros_cflags_cpp=-Wno-cpp
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3374 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3375 CFLAGS=-Wswitch
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3380 main ()
3384 return 0;
3386 _ACEOF
3387 if ac_fn_c_try_compile "$LINENO"; then :
3388 aros_switch="yes"
3389 else
3390 aros_switch="no"
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3394 $as_echo "$aros_switch" >&6; }
3395 if test "x-$aros_switch" = "x-yes" ; then
3396 aros_cflags_switch=-Wno-switch
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3400 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3401 CFLAGS=-Wdiscarded-qualifiers
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3406 main ()
3410 return 0;
3412 _ACEOF
3413 if ac_fn_c_try_compile "$LINENO"; then :
3414 aros_discarded_qualifiers="yes"
3415 else
3416 aros_discarded_qualifiers="no"
3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3420 $as_echo "$aros_discarded_qualifiers" >&6; }
3421 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3422 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3426 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3427 CFLAGS=-Wsequence-point
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3432 main ()
3436 return 0;
3438 _ACEOF
3439 if ac_fn_c_try_compile "$LINENO"; then :
3440 aros_sequence_point="yes"
3441 else
3442 aros_sequence_point="no"
3444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3446 $as_echo "$aros_sequence_point" >&6; }
3447 if test "x-$aros_sequence_point" = "x-yes" ; then
3448 aros_cflags_sequence_point=-Wno-sequence-point
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3452 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3453 CFLAGS=-Wunknown-pragmas
3454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3455 /* end confdefs.h. */
3458 main ()
3462 return 0;
3464 _ACEOF
3465 if ac_fn_c_try_compile "$LINENO"; then :
3466 aros_unknown_pragmas="yes"
3467 else
3468 aros_unknown_pragmas="no"
3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3472 $as_echo "$aros_unknown_pragmas" >&6; }
3473 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3474 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3478 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3479 CFLAGS=-Wdiscarded-array-qualifiers
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3484 main ()
3488 return 0;
3490 _ACEOF
3491 if ac_fn_c_try_compile "$LINENO"; then :
3492 aros_discarded_array_qualifiers="yes"
3493 else
3494 aros_discarded_array_qualifiers="no"
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3498 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3499 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3500 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3504 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3505 CFLAGS=-Wint-conversion
3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3510 main ()
3514 return 0;
3516 _ACEOF
3517 if ac_fn_c_try_compile "$LINENO"; then :
3518 aros_int_conversion="yes"
3519 else
3520 aros_int_conversion="no"
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3524 $as_echo "$aros_int_conversion" >&6; }
3525 if test "x-$aros_int_conversion" = "x-yes" ; then
3526 aros_cflags_int_conversion=-Wno-int-conversion
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3530 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3531 CFLAGS=-Wint-to-pointer-cast
3532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3533 /* end confdefs.h. */
3536 main ()
3540 return 0;
3542 _ACEOF
3543 if ac_fn_c_try_compile "$LINENO"; then :
3544 aros_int_to_pointer_cast="yes"
3545 else
3546 aros_int_to_pointer_cast="no"
3548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3550 $as_echo "$aros_int_to_pointer_cast" >&6; }
3551 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3552 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3556 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3557 CFLAGS=-Wpointer-to-int-cast
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3562 main ()
3566 return 0;
3568 _ACEOF
3569 if ac_fn_c_try_compile "$LINENO"; then :
3570 aros_pointer_to_int_cast="yes"
3571 else
3572 aros_pointer_to_int_cast="no"
3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3576 $as_echo "$aros_pointer_to_int_cast" >&6; }
3577 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3578 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3582 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3583 CFLAGS=-Wunused-const-variable
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3588 main ()
3592 return 0;
3594 _ACEOF
3595 if ac_fn_c_try_compile "$LINENO"; then :
3596 aros_unused_const_variable="yes"
3597 else
3598 aros_unused_const_variable="no"
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3602 $as_echo "$aros_unused_const_variable" >&6; }
3603 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3604 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3608 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3609 CFLAGS=-Wwrite-strings
3610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611 /* end confdefs.h. */
3614 main ()
3618 return 0;
3620 _ACEOF
3621 if ac_fn_c_try_compile "$LINENO"; then :
3622 aros_write_strings="yes"
3623 else
3624 aros_write_strings="no"
3626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3628 $as_echo "$aros_write_strings" >&6; }
3629 if test "x-$aros_write_strings" = "x-yes" ; then
3630 aros_cflags_write_strings=-Wno-write-strings
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3634 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3635 CFLAGS=-Wcomment
3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h. */
3640 main ()
3644 return 0;
3646 _ACEOF
3647 if ac_fn_c_try_compile "$LINENO"; then :
3648 aros_comment="yes"
3649 else
3650 aros_comment="no"
3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3654 $as_echo "$aros_comment" >&6; }
3655 if test "x-$aros_comment" = "x-yes" ; then
3656 aros_cflags_comment=-Wno-comment
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3660 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3661 CFLAGS=-Wincompatible-pointer-types
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3666 main ()
3670 return 0;
3672 _ACEOF
3673 if ac_fn_c_try_compile "$LINENO"; then :
3674 aros_incompatible_pointer_types="yes"
3675 else
3676 aros_incompatible_pointer_types="no"
3678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3680 $as_echo "$aros_incompatible_pointer_types" >&6; }
3681 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3682 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3686 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3687 CFLAGS=-Wbool-compare
3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h. */
3692 main ()
3696 return 0;
3698 _ACEOF
3699 if ac_fn_c_try_compile "$LINENO"; then :
3700 aros_bool_compare="yes"
3701 else
3702 aros_bool_compare="no"
3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3706 $as_echo "$aros_bool_compare" >&6; }
3707 if test "x-$aros_bool_compare" = "x-yes" ; then
3708 aros_cflags_bool_compare=-Wno-bool-compare
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3712 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3713 CFLAGS=-Wlogical-not-parentheses
3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715 /* end confdefs.h. */
3718 main ()
3722 return 0;
3724 _ACEOF
3725 if ac_fn_c_try_compile "$LINENO"; then :
3726 aros_logical_not_parentheses="yes"
3727 else
3728 aros_logical_not_parentheses="no"
3730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3732 $as_echo "$aros_logical_not_parentheses" >&6; }
3733 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3734 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3738 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3739 CFLAGS=-Wpointer-sign
3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3744 main ()
3748 return 0;
3750 _ACEOF
3751 if ac_fn_c_try_compile "$LINENO"; then :
3752 aros_pointer_sign="yes"
3753 else
3754 aros_pointer_sign="no"
3756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3758 $as_echo "$aros_pointer_sign" >&6; }
3759 if test "x-$aros_pointer_sign" = "x-yes" ; then
3760 aros_cflags_pointer_sign=-Wno-pointer-sign
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3764 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3765 CFLAGS=-Wshift-overflow
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3770 main ()
3774 return 0;
3776 _ACEOF
3777 if ac_fn_c_try_compile "$LINENO"; then :
3778 aros_shift_overflow="yes"
3779 else
3780 aros_shift_overflow="no"
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3784 $as_echo "$aros_shift_overflow" >&6; }
3785 if test "x-$aros_shift_overflow" = "x-yes" ; then
3786 aros_cflags_shift_overflow=-Wno-shift-overflow
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3790 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3791 CFLAGS=-Wframe-address
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3796 main ()
3800 return 0;
3802 _ACEOF
3803 if ac_fn_c_try_compile "$LINENO"; then :
3804 aros_frame_address="yes"
3805 else
3806 aros_frame_address="no"
3808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3810 $as_echo "$aros_frame_address" >&6; }
3811 if test "x-$aros_frame_address" = "x-yes" ; then
3812 aros_cflags_frame_address=-Wno-frame-address
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3816 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3817 CFLAGS=-Wdeprecated-declarations
3818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3819 /* end confdefs.h. */
3822 main ()
3826 return 0;
3828 _ACEOF
3829 if ac_fn_c_try_compile "$LINENO"; then :
3830 aros_deprecated_declarations="yes"
3831 else
3832 aros_deprecated_declarations="no"
3834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
3836 $as_echo "$aros_deprecated_declarations" >&6; }
3837 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
3838 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
3842 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
3843 CFLAGS=-Wsign-compare
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_sign_compare="yes"
3857 else
3858 aros_sign_compare="no"
3860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
3862 $as_echo "$aros_sign_compare" >&6; }
3863 if test "x-$aros_sign_compare" = "x-yes" ; then
3864 aros_cflags_sign_compare=-Wno-sign-compare
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
3868 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
3869 CFLAGS=-Wattributes
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3874 main ()
3878 return 0;
3880 _ACEOF
3881 if ac_fn_c_try_compile "$LINENO"; then :
3882 aros_attributes="yes"
3883 else
3884 aros_attributes="no"
3886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
3888 $as_echo "$aros_attributes" >&6; }
3889 if test "x-$aros_attributes" = "x-yes" ; then
3890 aros_cflags_attributes=-Wno-attributes
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
3894 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
3895 CFLAGS=-Woverflow
3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3900 main ()
3904 return 0;
3906 _ACEOF
3907 if ac_fn_c_try_compile "$LINENO"; then :
3908 aros_overflow="yes"
3909 else
3910 aros_overflow="no"
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
3914 $as_echo "$aros_overflow" >&6; }
3915 if test "x-$aros_overflow" = "x-yes" ; then
3916 aros_cflags_overflow=-Wno-overflow
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
3920 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
3921 CFLAGS=-Wunused-local-typedefs
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3926 main ()
3930 return 0;
3932 _ACEOF
3933 if ac_fn_c_try_compile "$LINENO"; then :
3934 aros_unused_local_typedefs="yes"
3935 else
3936 aros_unused_local_typedefs="no"
3938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
3940 $as_echo "$aros_unused_local_typedefs" >&6; }
3941 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
3942 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
3946 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
3947 CFLAGS=-Wmissing-braces
3948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h. */
3952 main ()
3956 return 0;
3958 _ACEOF
3959 if ac_fn_c_try_compile "$LINENO"; then :
3960 aros_missing_braces="yes"
3961 else
3962 aros_missing_braces="no"
3964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
3966 $as_echo "$aros_missing_braces" >&6; }
3967 if test "x-$aros_missing_braces" = "x-yes" ; then
3968 aros_cflags_missing_braces=-Wno-missing-braces
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
3972 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
3973 CFLAGS=-Wconversion-null
3974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h. */
3978 main ()
3982 return 0;
3984 _ACEOF
3985 if ac_fn_c_try_compile "$LINENO"; then :
3986 aros_conversion_null="yes"
3987 else
3988 aros_conversion_null="no"
3990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
3992 $as_echo "$aros_conversion_null" >&6; }
3993 if test "x-$aros_conversion_null" = "x-yes" ; then
3994 aros_cflags_conversion_null=-Wno-conversion-null
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
3998 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
3999 CFLAGS=-Wnarrowing
4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4004 main ()
4008 return 0;
4010 _ACEOF
4011 if ac_fn_c_try_compile "$LINENO"; then :
4012 aros_narrowing="yes"
4013 else
4014 aros_narrowing="no"
4016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
4018 $as_echo "$aros_narrowing" >&6; }
4019 if test "x-$aros_narrowing" = "x-yes" ; then
4020 aros_cflags_narrowing=-Wno-narrowing
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
4024 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
4025 CFLAGS=-Wvolatile-register-var
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4030 main ()
4034 return 0;
4036 _ACEOF
4037 if ac_fn_c_try_compile "$LINENO"; then :
4038 aros_volatile_register_var="yes"
4039 else
4040 aros_volatile_register_var="no"
4042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4044 $as_echo "$aros_volatile_register_var" >&6; }
4045 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4046 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4104 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in"
4107 cat >confcache <<\_ACEOF
4108 # This file is a shell script that caches the results of configure
4109 # tests run on this system so they can be shared between configure
4110 # scripts and configure runs, see configure's option --config-cache.
4111 # It is not useful on other systems. If it contains results you don't
4112 # want to keep, you may remove or edit it.
4114 # config.status only pays attention to the cache file if you give it
4115 # the --recheck option to rerun configure.
4117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4119 # following values.
4121 _ACEOF
4123 # The following way of writing the cache mishandles newlines in values,
4124 # but we know of no workaround that is simple, portable, and efficient.
4125 # So, we kill variables containing newlines.
4126 # Ultrix sh set writes to stderr and can't be redirected directly,
4127 # and sets the high bit in the cache file unless we assign to the vars.
4129 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4130 eval ac_val=\$$ac_var
4131 case $ac_val in #(
4132 *${as_nl}*)
4133 case $ac_var in #(
4134 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4135 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4136 esac
4137 case $ac_var in #(
4138 _ | IFS | as_nl) ;; #(
4139 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4140 *) { eval $ac_var=; unset $ac_var;} ;;
4141 esac ;;
4142 esac
4143 done
4145 (set) 2>&1 |
4146 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4147 *${as_nl}ac_space=\ *)
4148 # `set' does not quote correctly, so add quotes: double-quote
4149 # substitution turns \\\\ into \\, and sed turns \\ into \.
4150 sed -n \
4151 "s/'/'\\\\''/g;
4152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4153 ;; #(
4155 # `set' quotes correctly as required by POSIX, so do not add quotes.
4156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4158 esac |
4159 sort
4161 sed '
4162 /^ac_cv_env_/b end
4163 t clear
4164 :clear
4165 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4166 t end
4167 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4168 :end' >>confcache
4169 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4170 if test -w "$cache_file"; then
4171 if test "x$cache_file" != "x/dev/null"; then
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4173 $as_echo "$as_me: updating cache $cache_file" >&6;}
4174 if test ! -f "$cache_file" || test -h "$cache_file"; then
4175 cat confcache >"$cache_file"
4176 else
4177 case $cache_file in #(
4178 */* | ?:*)
4179 mv -f confcache "$cache_file"$$ &&
4180 mv -f "$cache_file"$$ "$cache_file" ;; #(
4182 mv -f confcache "$cache_file" ;;
4183 esac
4186 else
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4188 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4191 rm -f confcache
4193 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4194 # Let make expand exec_prefix.
4195 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4197 # Transform confdefs.h into DEFS.
4198 # Protect against shell expansion while executing Makefile rules.
4199 # Protect against Makefile macro expansion.
4201 # If the first sed substitution is executed (which looks for macros that
4202 # take arguments), then branch to the quote section. Otherwise,
4203 # look for a macro that doesn't take arguments.
4204 ac_script='
4205 :mline
4206 /\\$/{
4208 s,\\\n,,
4209 b mline
4211 t clear
4212 :clear
4213 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4214 t quote
4215 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4216 t quote
4217 b any
4218 :quote
4219 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4220 s/\[/\\&/g
4221 s/\]/\\&/g
4222 s/\$/$$/g
4224 :any
4227 s/^\n//
4228 s/\n/ /g
4232 DEFS=`sed -n "$ac_script" confdefs.h`
4235 ac_libobjs=
4236 ac_ltlibobjs=
4238 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4239 # 1. Remove the extension, and $U if already installed.
4240 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4241 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4242 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4243 # will be set to the directory where LIBOBJS objects are built.
4244 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4245 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4246 done
4247 LIBOBJS=$ac_libobjs
4249 LTLIBOBJS=$ac_ltlibobjs
4253 : "${CONFIG_STATUS=./config.status}"
4254 ac_write_fail=0
4255 ac_clean_files_save=$ac_clean_files
4256 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4258 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4259 as_write_fail=0
4260 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4261 #! $SHELL
4262 # Generated by $as_me.
4263 # Run this file to recreate the current configuration.
4264 # Compiler output produced by configure, useful for debugging
4265 # configure, is in config.log if it exists.
4267 debug=false
4268 ac_cs_recheck=false
4269 ac_cs_silent=false
4271 SHELL=\${CONFIG_SHELL-$SHELL}
4272 export SHELL
4273 _ASEOF
4274 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4275 ## -------------------- ##
4276 ## M4sh Initialization. ##
4277 ## -------------------- ##
4279 # Be more Bourne compatible
4280 DUALCASE=1; export DUALCASE # for MKS sh
4281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4282 emulate sh
4283 NULLCMD=:
4284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4285 # is contrary to our usage. Disable this feature.
4286 alias -g '${1+"$@"}'='"$@"'
4287 setopt NO_GLOB_SUBST
4288 else
4289 case `(set -o) 2>/dev/null` in #(
4290 *posix*) :
4291 set -o posix ;; #(
4292 *) :
4294 esac
4298 as_nl='
4300 export as_nl
4301 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4302 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4303 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4304 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4305 # Prefer a ksh shell builtin over an external printf program on Solaris,
4306 # but without wasting forks for bash or zsh.
4307 if test -z "$BASH_VERSION$ZSH_VERSION" \
4308 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4309 as_echo='print -r --'
4310 as_echo_n='print -rn --'
4311 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4312 as_echo='printf %s\n'
4313 as_echo_n='printf %s'
4314 else
4315 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4316 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4317 as_echo_n='/usr/ucb/echo -n'
4318 else
4319 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4320 as_echo_n_body='eval
4321 arg=$1;
4322 case $arg in #(
4323 *"$as_nl"*)
4324 expr "X$arg" : "X\\(.*\\)$as_nl";
4325 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4326 esac;
4327 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4329 export as_echo_n_body
4330 as_echo_n='sh -c $as_echo_n_body as_echo'
4332 export as_echo_body
4333 as_echo='sh -c $as_echo_body as_echo'
4336 # The user is always right.
4337 if test "${PATH_SEPARATOR+set}" != set; then
4338 PATH_SEPARATOR=:
4339 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4340 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4341 PATH_SEPARATOR=';'
4346 # IFS
4347 # We need space, tab and new line, in precisely that order. Quoting is
4348 # there to prevent editors from complaining about space-tab.
4349 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4350 # splitting by setting IFS to empty value.)
4351 IFS=" "" $as_nl"
4353 # Find who we are. Look in the path if we contain no directory separator.
4354 as_myself=
4355 case $0 in #((
4356 *[\\/]* ) as_myself=$0 ;;
4357 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4358 for as_dir in $PATH
4360 IFS=$as_save_IFS
4361 test -z "$as_dir" && as_dir=.
4362 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4363 done
4364 IFS=$as_save_IFS
4367 esac
4368 # We did not find ourselves, most probably we were run as `sh COMMAND'
4369 # in which case we are not to be found in the path.
4370 if test "x$as_myself" = x; then
4371 as_myself=$0
4373 if test ! -f "$as_myself"; then
4374 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4375 exit 1
4378 # Unset variables that we do not need and which cause bugs (e.g. in
4379 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4380 # suppresses any "Segmentation fault" message there. '((' could
4381 # trigger a bug in pdksh 5.2.14.
4382 for as_var in BASH_ENV ENV MAIL MAILPATH
4383 do eval test x\${$as_var+set} = xset \
4384 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4385 done
4386 PS1='$ '
4387 PS2='> '
4388 PS4='+ '
4390 # NLS nuisances.
4391 LC_ALL=C
4392 export LC_ALL
4393 LANGUAGE=C
4394 export LANGUAGE
4396 # CDPATH.
4397 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4400 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4401 # ----------------------------------------
4402 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4403 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4404 # script with STATUS, using 1 if that was 0.
4405 as_fn_error ()
4407 as_status=$1; test $as_status -eq 0 && as_status=1
4408 if test "$4"; then
4409 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4410 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4412 $as_echo "$as_me: error: $2" >&2
4413 as_fn_exit $as_status
4414 } # as_fn_error
4417 # as_fn_set_status STATUS
4418 # -----------------------
4419 # Set $? to STATUS, without forking.
4420 as_fn_set_status ()
4422 return $1
4423 } # as_fn_set_status
4425 # as_fn_exit STATUS
4426 # -----------------
4427 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4428 as_fn_exit ()
4430 set +e
4431 as_fn_set_status $1
4432 exit $1
4433 } # as_fn_exit
4435 # as_fn_unset VAR
4436 # ---------------
4437 # Portably unset VAR.
4438 as_fn_unset ()
4440 { eval $1=; unset $1;}
4442 as_unset=as_fn_unset
4443 # as_fn_append VAR VALUE
4444 # ----------------------
4445 # Append the text in VALUE to the end of the definition contained in VAR. Take
4446 # advantage of any shell optimizations that allow amortized linear growth over
4447 # repeated appends, instead of the typical quadratic growth present in naive
4448 # implementations.
4449 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4450 eval 'as_fn_append ()
4452 eval $1+=\$2
4454 else
4455 as_fn_append ()
4457 eval $1=\$$1\$2
4459 fi # as_fn_append
4461 # as_fn_arith ARG...
4462 # ------------------
4463 # Perform arithmetic evaluation on the ARGs, and store the result in the
4464 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4465 # must be portable across $(()) and expr.
4466 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4467 eval 'as_fn_arith ()
4469 as_val=$(( $* ))
4471 else
4472 as_fn_arith ()
4474 as_val=`expr "$@" || test $? -eq 1`
4476 fi # as_fn_arith
4479 if expr a : '\(a\)' >/dev/null 2>&1 &&
4480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4481 as_expr=expr
4482 else
4483 as_expr=false
4486 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4487 as_basename=basename
4488 else
4489 as_basename=false
4492 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4493 as_dirname=dirname
4494 else
4495 as_dirname=false
4498 as_me=`$as_basename -- "$0" ||
4499 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4500 X"$0" : 'X\(//\)$' \| \
4501 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4502 $as_echo X/"$0" |
4503 sed '/^.*\/\([^/][^/]*\)\/*$/{
4504 s//\1/
4507 /^X\/\(\/\/\)$/{
4508 s//\1/
4511 /^X\/\(\/\).*/{
4512 s//\1/
4515 s/.*/./; q'`
4517 # Avoid depending upon Character Ranges.
4518 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4519 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4520 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4521 as_cr_digits='0123456789'
4522 as_cr_alnum=$as_cr_Letters$as_cr_digits
4524 ECHO_C= ECHO_N= ECHO_T=
4525 case `echo -n x` in #(((((
4526 -n*)
4527 case `echo 'xy\c'` in
4528 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4529 xy) ECHO_C='\c';;
4530 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4531 ECHO_T=' ';;
4532 esac;;
4534 ECHO_N='-n';;
4535 esac
4537 rm -f conf$$ conf$$.exe conf$$.file
4538 if test -d conf$$.dir; then
4539 rm -f conf$$.dir/conf$$.file
4540 else
4541 rm -f conf$$.dir
4542 mkdir conf$$.dir 2>/dev/null
4544 if (echo >conf$$.file) 2>/dev/null; then
4545 if ln -s conf$$.file conf$$ 2>/dev/null; then
4546 as_ln_s='ln -s'
4547 # ... but there are two gotchas:
4548 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4549 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4550 # In both cases, we have to default to `cp -pR'.
4551 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4552 as_ln_s='cp -pR'
4553 elif ln conf$$.file conf$$ 2>/dev/null; then
4554 as_ln_s=ln
4555 else
4556 as_ln_s='cp -pR'
4558 else
4559 as_ln_s='cp -pR'
4561 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4562 rmdir conf$$.dir 2>/dev/null
4565 # as_fn_mkdir_p
4566 # -------------
4567 # Create "$as_dir" as a directory, including parents if necessary.
4568 as_fn_mkdir_p ()
4571 case $as_dir in #(
4572 -*) as_dir=./$as_dir;;
4573 esac
4574 test -d "$as_dir" || eval $as_mkdir_p || {
4575 as_dirs=
4576 while :; do
4577 case $as_dir in #(
4578 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4579 *) as_qdir=$as_dir;;
4580 esac
4581 as_dirs="'$as_qdir' $as_dirs"
4582 as_dir=`$as_dirname -- "$as_dir" ||
4583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4584 X"$as_dir" : 'X\(//\)[^/]' \| \
4585 X"$as_dir" : 'X\(//\)$' \| \
4586 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4587 $as_echo X"$as_dir" |
4588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4589 s//\1/
4592 /^X\(\/\/\)[^/].*/{
4593 s//\1/
4596 /^X\(\/\/\)$/{
4597 s//\1/
4600 /^X\(\/\).*/{
4601 s//\1/
4604 s/.*/./; q'`
4605 test -d "$as_dir" && break
4606 done
4607 test -z "$as_dirs" || eval "mkdir $as_dirs"
4608 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4611 } # as_fn_mkdir_p
4612 if mkdir -p . 2>/dev/null; then
4613 as_mkdir_p='mkdir -p "$as_dir"'
4614 else
4615 test -d ./-p && rmdir ./-p
4616 as_mkdir_p=false
4620 # as_fn_executable_p FILE
4621 # -----------------------
4622 # Test if FILE is an executable regular file.
4623 as_fn_executable_p ()
4625 test -f "$1" && test -x "$1"
4626 } # as_fn_executable_p
4627 as_test_x='test -x'
4628 as_executable_p=as_fn_executable_p
4630 # Sed expression to map a string onto a valid CPP name.
4631 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4633 # Sed expression to map a string onto a valid variable name.
4634 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4637 exec 6>&1
4638 ## ----------------------------------- ##
4639 ## Main body of $CONFIG_STATUS script. ##
4640 ## ----------------------------------- ##
4641 _ASEOF
4642 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4645 # Save the log message, to keep $0 and so on meaningful, and to
4646 # report actual input values of CONFIG_FILES etc. instead of their
4647 # values after options handling.
4648 ac_log="
4649 This file was extended by $as_me, which was
4650 generated by GNU Autoconf 2.69. Invocation command line was
4652 CONFIG_FILES = $CONFIG_FILES
4653 CONFIG_HEADERS = $CONFIG_HEADERS
4654 CONFIG_LINKS = $CONFIG_LINKS
4655 CONFIG_COMMANDS = $CONFIG_COMMANDS
4656 $ $0 $@
4658 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4661 _ACEOF
4663 case $ac_config_files in *"
4664 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4665 esac
4669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4670 # Files that config.status was made for.
4671 config_files="$ac_config_files"
4673 _ACEOF
4675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4676 ac_cs_usage="\
4677 \`$as_me' instantiates files and other configuration actions
4678 from templates according to the current configuration. Unless the files
4679 and actions are specified as TAGs, all are instantiated by default.
4681 Usage: $0 [OPTION]... [TAG]...
4683 -h, --help print this help, then exit
4684 -V, --version print version number and configuration settings, then exit
4685 --config print configuration, then exit
4686 -q, --quiet, --silent
4687 do not print progress messages
4688 -d, --debug don't remove temporary files
4689 --recheck update $as_me by reconfiguring in the same conditions
4690 --file=FILE[:TEMPLATE]
4691 instantiate the configuration file FILE
4693 Configuration files:
4694 $config_files
4696 Report bugs to the package provider."
4698 _ACEOF
4699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4700 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4701 ac_cs_version="\\
4702 config.status
4703 configured by $0, generated by GNU Autoconf 2.69,
4704 with options \\"\$ac_cs_config\\"
4706 Copyright (C) 2012 Free Software Foundation, Inc.
4707 This config.status script is free software; the Free Software Foundation
4708 gives unlimited permission to copy, distribute and modify it."
4710 ac_pwd='$ac_pwd'
4711 srcdir='$srcdir'
4712 test -n "\$AWK" || AWK=awk
4713 _ACEOF
4715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4716 # The default lists apply if the user does not specify any file.
4717 ac_need_defaults=:
4718 while test $# != 0
4720 case $1 in
4721 --*=?*)
4722 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4723 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4724 ac_shift=:
4726 --*=)
4727 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4728 ac_optarg=
4729 ac_shift=:
4732 ac_option=$1
4733 ac_optarg=$2
4734 ac_shift=shift
4736 esac
4738 case $ac_option in
4739 # Handling of the options.
4740 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4741 ac_cs_recheck=: ;;
4742 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4743 $as_echo "$ac_cs_version"; exit ;;
4744 --config | --confi | --conf | --con | --co | --c )
4745 $as_echo "$ac_cs_config"; exit ;;
4746 --debug | --debu | --deb | --de | --d | -d )
4747 debug=: ;;
4748 --file | --fil | --fi | --f )
4749 $ac_shift
4750 case $ac_optarg in
4751 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4752 '') as_fn_error $? "missing file argument" ;;
4753 esac
4754 as_fn_append CONFIG_FILES " '$ac_optarg'"
4755 ac_need_defaults=false;;
4756 --he | --h | --help | --hel | -h )
4757 $as_echo "$ac_cs_usage"; exit ;;
4758 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4759 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4760 ac_cs_silent=: ;;
4762 # This is an error.
4763 -*) as_fn_error $? "unrecognized option: \`$1'
4764 Try \`$0 --help' for more information." ;;
4766 *) as_fn_append ac_config_targets " $1"
4767 ac_need_defaults=false ;;
4769 esac
4770 shift
4771 done
4773 ac_configure_extra_args=
4775 if $ac_cs_silent; then
4776 exec 6>/dev/null
4777 ac_configure_extra_args="$ac_configure_extra_args --silent"
4780 _ACEOF
4781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4782 if \$ac_cs_recheck; then
4783 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4784 shift
4785 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4786 CONFIG_SHELL='$SHELL'
4787 export CONFIG_SHELL
4788 exec "\$@"
4791 _ACEOF
4792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4793 exec 5>>config.log
4795 echo
4796 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4797 ## Running $as_me. ##
4798 _ASBOX
4799 $as_echo "$ac_log"
4800 } >&5
4802 _ACEOF
4803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4804 _ACEOF
4806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4808 # Handling of arguments.
4809 for ac_config_target in $ac_config_targets
4811 case $ac_config_target in
4812 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in" ;;
4814 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4815 esac
4816 done
4819 # If the user did not use the arguments to specify the items to instantiate,
4820 # then the envvar interface is used. Set only those that are not.
4821 # We use the long form for the default assignment because of an extremely
4822 # bizarre bug on SunOS 4.1.3.
4823 if $ac_need_defaults; then
4824 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4827 # Have a temporary directory for convenience. Make it in the build tree
4828 # simply because there is no reason against having it here, and in addition,
4829 # creating and moving files from /tmp can sometimes cause problems.
4830 # Hook for its removal unless debugging.
4831 # Note that there is a small window in which the directory will not be cleaned:
4832 # after its creation but before its name has been assigned to `$tmp'.
4833 $debug ||
4835 tmp= ac_tmp=
4836 trap 'exit_status=$?
4837 : "${ac_tmp:=$tmp}"
4838 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4840 trap 'as_fn_exit 1' 1 2 13 15
4842 # Create a (secure) tmp directory for tmp files.
4845 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4846 test -d "$tmp"
4847 } ||
4849 tmp=./conf$$-$RANDOM
4850 (umask 077 && mkdir "$tmp")
4851 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4852 ac_tmp=$tmp
4854 # Set up the scripts for CONFIG_FILES section.
4855 # No need to generate them if there are no CONFIG_FILES.
4856 # This happens for instance with `./config.status config.h'.
4857 if test -n "$CONFIG_FILES"; then
4860 ac_cr=`echo X | tr X '\015'`
4861 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4862 # But we know of no other shell where ac_cr would be empty at this
4863 # point, so we can use a bashism as a fallback.
4864 if test "x$ac_cr" = x; then
4865 eval ac_cr=\$\'\\r\'
4867 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4868 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4869 ac_cs_awk_cr='\\r'
4870 else
4871 ac_cs_awk_cr=$ac_cr
4874 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4875 _ACEOF
4879 echo "cat >conf$$subs.awk <<_ACEOF" &&
4880 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4881 echo "_ACEOF"
4882 } >conf$$subs.sh ||
4883 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4884 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4885 ac_delim='%!_!# '
4886 for ac_last_try in false false false false false :; do
4887 . ./conf$$subs.sh ||
4888 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4890 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4891 if test $ac_delim_n = $ac_delim_num; then
4892 break
4893 elif $ac_last_try; then
4894 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4895 else
4896 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4898 done
4899 rm -f conf$$subs.sh
4901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4902 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4903 _ACEOF
4904 sed -n '
4906 s/^/S["/; s/!.*/"]=/
4909 s/^[^!]*!//
4910 :repl
4911 t repl
4912 s/'"$ac_delim"'$//
4913 t delim
4916 s/\(.\{148\}\)..*/\1/
4917 t more1
4918 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4921 b repl
4922 :more1
4923 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4926 s/.\{148\}//
4927 t nl
4928 :delim
4930 s/\(.\{148\}\)..*/\1/
4931 t more2
4932 s/["\\]/\\&/g; s/^/"/; s/$/"/
4935 :more2
4936 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4939 s/.\{148\}//
4940 t delim
4941 ' <conf$$subs.awk | sed '
4942 /^[^""]/{
4944 s/\n//
4946 ' >>$CONFIG_STATUS || ac_write_fail=1
4947 rm -f conf$$subs.awk
4948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4949 _ACAWK
4950 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4951 for (key in S) S_is_set[key] = 1
4952 FS = "\a"
4956 line = $ 0
4957 nfields = split(line, field, "@")
4958 substed = 0
4959 len = length(field[1])
4960 for (i = 2; i < nfields; i++) {
4961 key = field[i]
4962 keylen = length(key)
4963 if (S_is_set[key]) {
4964 value = S[key]
4965 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4966 len += length(value) + length(field[++i])
4967 substed = 1
4968 } else
4969 len += 1 + keylen
4972 print line
4975 _ACAWK
4976 _ACEOF
4977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4978 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4979 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4980 else
4982 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4983 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4984 _ACEOF
4986 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4987 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4988 # trailing colons and then remove the whole line if VPATH becomes empty
4989 # (actually we leave an empty line to preserve line numbers).
4990 if test "x$srcdir" = x.; then
4991 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4993 s///
4994 s/^/:/
4995 s/[ ]*$/:/
4996 s/:\$(srcdir):/:/g
4997 s/:\${srcdir}:/:/g
4998 s/:@srcdir@:/:/g
4999 s/^:*//
5000 s/:*$//
5002 s/\(=[ ]*\).*/\1/
5004 s/\n//
5005 s/^[^=]*=[ ]*$//
5009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5010 fi # test -n "$CONFIG_FILES"
5013 eval set X " :F $CONFIG_FILES "
5014 shift
5015 for ac_tag
5017 case $ac_tag in
5018 :[FHLC]) ac_mode=$ac_tag; continue;;
5019 esac
5020 case $ac_mode$ac_tag in
5021 :[FHL]*:*);;
5022 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5023 :[FH]-) ac_tag=-:-;;
5024 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5025 esac
5026 ac_save_IFS=$IFS
5027 IFS=:
5028 set x $ac_tag
5029 IFS=$ac_save_IFS
5030 shift
5031 ac_file=$1
5032 shift
5034 case $ac_mode in
5035 :L) ac_source=$1;;
5036 :[FH])
5037 ac_file_inputs=
5038 for ac_f
5040 case $ac_f in
5041 -) ac_f="$ac_tmp/stdin";;
5042 *) # Look for the file first in the build tree, then in the source tree
5043 # (if the path is not absolute). The absolute path cannot be DOS-style,
5044 # because $ac_f cannot contain `:'.
5045 test -f "$ac_f" ||
5046 case $ac_f in
5047 [\\/$]*) false;;
5048 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5049 esac ||
5050 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5051 esac
5052 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5053 as_fn_append ac_file_inputs " '$ac_f'"
5054 done
5056 # Let's still pretend it is `configure' which instantiates (i.e., don't
5057 # use $as_me), people would be surprised to read:
5058 # /* config.h. Generated by config.status. */
5059 configure_input='Generated from '`
5060 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5061 `' by configure.'
5062 if test x"$ac_file" != x-; then
5063 configure_input="$ac_file. $configure_input"
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5065 $as_echo "$as_me: creating $ac_file" >&6;}
5067 # Neutralize special characters interpreted by sed in replacement strings.
5068 case $configure_input in #(
5069 *\&* | *\|* | *\\* )
5070 ac_sed_conf_input=`$as_echo "$configure_input" |
5071 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5072 *) ac_sed_conf_input=$configure_input;;
5073 esac
5075 case $ac_tag in
5076 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5077 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5078 esac
5080 esac
5082 ac_dir=`$as_dirname -- "$ac_file" ||
5083 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5084 X"$ac_file" : 'X\(//\)[^/]' \| \
5085 X"$ac_file" : 'X\(//\)$' \| \
5086 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5087 $as_echo X"$ac_file" |
5088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5089 s//\1/
5092 /^X\(\/\/\)[^/].*/{
5093 s//\1/
5096 /^X\(\/\/\)$/{
5097 s//\1/
5100 /^X\(\/\).*/{
5101 s//\1/
5104 s/.*/./; q'`
5105 as_dir="$ac_dir"; as_fn_mkdir_p
5106 ac_builddir=.
5108 case "$ac_dir" in
5109 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5111 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5112 # A ".." for each directory in $ac_dir_suffix.
5113 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5114 case $ac_top_builddir_sub in
5115 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5116 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5117 esac ;;
5118 esac
5119 ac_abs_top_builddir=$ac_pwd
5120 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5121 # for backward compatibility:
5122 ac_top_builddir=$ac_top_build_prefix
5124 case $srcdir in
5125 .) # We are building in place.
5126 ac_srcdir=.
5127 ac_top_srcdir=$ac_top_builddir_sub
5128 ac_abs_top_srcdir=$ac_pwd ;;
5129 [\\/]* | ?:[\\/]* ) # Absolute name.
5130 ac_srcdir=$srcdir$ac_dir_suffix;
5131 ac_top_srcdir=$srcdir
5132 ac_abs_top_srcdir=$srcdir ;;
5133 *) # Relative name.
5134 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5135 ac_top_srcdir=$ac_top_build_prefix$srcdir
5136 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5137 esac
5138 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5141 case $ac_mode in
5144 # CONFIG_FILE
5147 _ACEOF
5149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5150 # If the template does not know about datarootdir, expand it.
5151 # FIXME: This hack should be removed a few years after 2.60.
5152 ac_datarootdir_hack=; ac_datarootdir_seen=
5153 ac_sed_dataroot='
5154 /datarootdir/ {
5158 /@datadir@/p
5159 /@docdir@/p
5160 /@infodir@/p
5161 /@localedir@/p
5162 /@mandir@/p'
5163 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5164 *datarootdir*) ac_datarootdir_seen=yes;;
5165 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5167 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5168 _ACEOF
5169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5170 ac_datarootdir_hack='
5171 s&@datadir@&$datadir&g
5172 s&@docdir@&$docdir&g
5173 s&@infodir@&$infodir&g
5174 s&@localedir@&$localedir&g
5175 s&@mandir@&$mandir&g
5176 s&\\\${datarootdir}&$datarootdir&g' ;;
5177 esac
5178 _ACEOF
5180 # Neutralize VPATH when `$srcdir' = `.'.
5181 # Shell code in configure.ac might set extrasub.
5182 # FIXME: do we really want to maintain this feature?
5183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5184 ac_sed_extra="$ac_vpsub
5185 $extrasub
5186 _ACEOF
5187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5189 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5190 s|@configure_input@|$ac_sed_conf_input|;t t
5191 s&@top_builddir@&$ac_top_builddir_sub&;t t
5192 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5193 s&@srcdir@&$ac_srcdir&;t t
5194 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5195 s&@top_srcdir@&$ac_top_srcdir&;t t
5196 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5197 s&@builddir@&$ac_builddir&;t t
5198 s&@abs_builddir@&$ac_abs_builddir&;t t
5199 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5200 $ac_datarootdir_hack
5202 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5203 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5205 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5206 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5207 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5208 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5210 which seems to be undefined. Please make sure it is defined" >&5
5211 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5212 which seems to be undefined. Please make sure it is defined" >&2;}
5214 rm -f "$ac_tmp/stdin"
5215 case $ac_file in
5216 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5217 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5218 esac \
5219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5224 esac
5226 done # for ac_tag
5229 as_fn_exit 0
5230 _ACEOF
5231 ac_clean_files=$ac_clean_files_save
5233 test $ac_write_fail = 0 ||
5234 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5237 # configure is writing to config.log, and then calls config.status.
5238 # config.status does its own redirection, appending to config.log.
5239 # Unfortunately, on DOS this fails, as config.log is still kept open
5240 # by configure, so config.status won't be able to write to it; its
5241 # output is simply discarded. So we exec the FD to /dev/null,
5242 # effectively closing config.log, so it can be properly (re)opened and
5243 # appended to by config.status. When coming back to configure, we
5244 # need to make the FD available again.
5245 if test "$no_create" != yes; then
5246 ac_cs_success=:
5247 ac_config_status_args=
5248 test "$silent" = yes &&
5249 ac_config_status_args="$ac_config_status_args --quiet"
5250 exec 5>/dev/null
5251 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5252 exec 5>>config.log
5253 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5254 # would make configure fail if this is the last instruction.
5255 $ac_cs_success || as_fn_exit 1
5257 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5259 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}