Not needed anymore because Wanderer has internal
[AROS.git] / features
blob4b3b217b60df9628f6bae387d5c98efd39cb5c17
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_iquote_end
638 aros_cflags_iquote
639 OBJEXT
640 EXEEXT
641 ac_ct_CC
642 CPPFLAGS
643 LDFLAGS
644 CFLAGS
646 target_alias
647 host_alias
648 build_alias
649 LIBS
650 ECHO_T
651 ECHO_N
652 ECHO_C
653 DEFS
654 mandir
655 localedir
656 libdir
657 psdir
658 pdfdir
659 dvidir
660 htmldir
661 infodir
662 docdir
663 oldincludedir
664 includedir
665 localstatedir
666 sharedstatedir
667 sysconfdir
668 datadir
669 datarootdir
670 libexecdir
671 sbindir
672 bindir
673 program_transform_name
674 prefix
675 exec_prefix
676 PACKAGE_URL
677 PACKAGE_BUGREPORT
678 PACKAGE_STRING
679 PACKAGE_VERSION
680 PACKAGE_TARNAME
681 PACKAGE_NAME
682 PATH_SEPARATOR
683 SHELL'
684 ac_subst_files=''
685 ac_user_opts='
686 enable_option_checking
687 with_config_dir
689 ac_precious_vars='build_alias
690 host_alias
691 target_alias
693 CFLAGS
694 LDFLAGS
695 LIBS
696 CPPFLAGS'
699 # Initialize some variables set by options.
700 ac_init_help=
701 ac_init_version=false
702 ac_unrecognized_opts=
703 ac_unrecognized_sep=
704 # The variables have the same names as the options, with
705 # dashes changed to underlines.
706 cache_file=/dev/null
707 exec_prefix=NONE
708 no_create=
709 no_recursion=
710 prefix=NONE
711 program_prefix=NONE
712 program_suffix=NONE
713 program_transform_name=s,x,x,
714 silent=
715 site=
716 srcdir=
717 verbose=
718 x_includes=NONE
719 x_libraries=NONE
721 # Installation directory options.
722 # These are left unexpanded so users can "make install exec_prefix=/foo"
723 # and all the variables that are supposed to be based on exec_prefix
724 # by default will actually change.
725 # Use braces instead of parens because sh, perl, etc. also accept them.
726 # (The list follows the same order as the GNU Coding Standards.)
727 bindir='${exec_prefix}/bin'
728 sbindir='${exec_prefix}/sbin'
729 libexecdir='${exec_prefix}/libexec'
730 datarootdir='${prefix}/share'
731 datadir='${datarootdir}'
732 sysconfdir='${prefix}/etc'
733 sharedstatedir='${prefix}/com'
734 localstatedir='${prefix}/var'
735 includedir='${prefix}/include'
736 oldincludedir='/usr/include'
737 docdir='${datarootdir}/doc/${PACKAGE}'
738 infodir='${datarootdir}/info'
739 htmldir='${docdir}'
740 dvidir='${docdir}'
741 pdfdir='${docdir}'
742 psdir='${docdir}'
743 libdir='${exec_prefix}/lib'
744 localedir='${datarootdir}/locale'
745 mandir='${datarootdir}/man'
747 ac_prev=
748 ac_dashdash=
749 for ac_option
751 # If the previous option needs an argument, assign it.
752 if test -n "$ac_prev"; then
753 eval $ac_prev=\$ac_option
754 ac_prev=
755 continue
758 case $ac_option in
759 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
760 *=) ac_optarg= ;;
761 *) ac_optarg=yes ;;
762 esac
764 # Accept the important Cygnus configure options, so we can diagnose typos.
766 case $ac_dashdash$ac_option in
768 ac_dashdash=yes ;;
770 -bindir | --bindir | --bindi | --bind | --bin | --bi)
771 ac_prev=bindir ;;
772 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
773 bindir=$ac_optarg ;;
775 -build | --build | --buil | --bui | --bu)
776 ac_prev=build_alias ;;
777 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
778 build_alias=$ac_optarg ;;
780 -cache-file | --cache-file | --cache-fil | --cache-fi \
781 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
782 ac_prev=cache_file ;;
783 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
784 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
785 cache_file=$ac_optarg ;;
787 --config-cache | -C)
788 cache_file=config.cache ;;
790 -datadir | --datadir | --datadi | --datad)
791 ac_prev=datadir ;;
792 -datadir=* | --datadir=* | --datadi=* | --datad=*)
793 datadir=$ac_optarg ;;
795 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
796 | --dataroo | --dataro | --datar)
797 ac_prev=datarootdir ;;
798 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
799 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
800 datarootdir=$ac_optarg ;;
802 -disable-* | --disable-*)
803 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
804 # Reject names that are not valid shell variable names.
805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
806 as_fn_error $? "invalid feature name: $ac_useropt"
807 ac_useropt_orig=$ac_useropt
808 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
809 case $ac_user_opts in
811 "enable_$ac_useropt"
812 "*) ;;
813 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
814 ac_unrecognized_sep=', ';;
815 esac
816 eval enable_$ac_useropt=no ;;
818 -docdir | --docdir | --docdi | --doc | --do)
819 ac_prev=docdir ;;
820 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
821 docdir=$ac_optarg ;;
823 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
824 ac_prev=dvidir ;;
825 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
826 dvidir=$ac_optarg ;;
828 -enable-* | --enable-*)
829 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
832 as_fn_error $? "invalid feature name: $ac_useropt"
833 ac_useropt_orig=$ac_useropt
834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
837 "enable_$ac_useropt"
838 "*) ;;
839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
840 ac_unrecognized_sep=', ';;
841 esac
842 eval enable_$ac_useropt=\$ac_optarg ;;
844 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
845 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
846 | --exec | --exe | --ex)
847 ac_prev=exec_prefix ;;
848 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
849 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
850 | --exec=* | --exe=* | --ex=*)
851 exec_prefix=$ac_optarg ;;
853 -gas | --gas | --ga | --g)
854 # Obsolete; use --with-gas.
855 with_gas=yes ;;
857 -help | --help | --hel | --he | -h)
858 ac_init_help=long ;;
859 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
860 ac_init_help=recursive ;;
861 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
862 ac_init_help=short ;;
864 -host | --host | --hos | --ho)
865 ac_prev=host_alias ;;
866 -host=* | --host=* | --hos=* | --ho=*)
867 host_alias=$ac_optarg ;;
869 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
870 ac_prev=htmldir ;;
871 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
872 | --ht=*)
873 htmldir=$ac_optarg ;;
875 -includedir | --includedir | --includedi | --included | --include \
876 | --includ | --inclu | --incl | --inc)
877 ac_prev=includedir ;;
878 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
879 | --includ=* | --inclu=* | --incl=* | --inc=*)
880 includedir=$ac_optarg ;;
882 -infodir | --infodir | --infodi | --infod | --info | --inf)
883 ac_prev=infodir ;;
884 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
885 infodir=$ac_optarg ;;
887 -libdir | --libdir | --libdi | --libd)
888 ac_prev=libdir ;;
889 -libdir=* | --libdir=* | --libdi=* | --libd=*)
890 libdir=$ac_optarg ;;
892 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
893 | --libexe | --libex | --libe)
894 ac_prev=libexecdir ;;
895 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
896 | --libexe=* | --libex=* | --libe=*)
897 libexecdir=$ac_optarg ;;
899 -localedir | --localedir | --localedi | --localed | --locale)
900 ac_prev=localedir ;;
901 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
902 localedir=$ac_optarg ;;
904 -localstatedir | --localstatedir | --localstatedi | --localstated \
905 | --localstate | --localstat | --localsta | --localst | --locals)
906 ac_prev=localstatedir ;;
907 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
908 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
909 localstatedir=$ac_optarg ;;
911 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
912 ac_prev=mandir ;;
913 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
914 mandir=$ac_optarg ;;
916 -nfp | --nfp | --nf)
917 # Obsolete; use --without-fp.
918 with_fp=no ;;
920 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
921 | --no-cr | --no-c | -n)
922 no_create=yes ;;
924 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
925 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
926 no_recursion=yes ;;
928 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
929 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
930 | --oldin | --oldi | --old | --ol | --o)
931 ac_prev=oldincludedir ;;
932 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
933 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
934 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
935 oldincludedir=$ac_optarg ;;
937 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
938 ac_prev=prefix ;;
939 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
940 prefix=$ac_optarg ;;
942 -program-prefix | --program-prefix | --program-prefi | --program-pref \
943 | --program-pre | --program-pr | --program-p)
944 ac_prev=program_prefix ;;
945 -program-prefix=* | --program-prefix=* | --program-prefi=* \
946 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
947 program_prefix=$ac_optarg ;;
949 -program-suffix | --program-suffix | --program-suffi | --program-suff \
950 | --program-suf | --program-su | --program-s)
951 ac_prev=program_suffix ;;
952 -program-suffix=* | --program-suffix=* | --program-suffi=* \
953 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
954 program_suffix=$ac_optarg ;;
956 -program-transform-name | --program-transform-name \
957 | --program-transform-nam | --program-transform-na \
958 | --program-transform-n | --program-transform- \
959 | --program-transform | --program-transfor \
960 | --program-transfo | --program-transf \
961 | --program-trans | --program-tran \
962 | --progr-tra | --program-tr | --program-t)
963 ac_prev=program_transform_name ;;
964 -program-transform-name=* | --program-transform-name=* \
965 | --program-transform-nam=* | --program-transform-na=* \
966 | --program-transform-n=* | --program-transform-=* \
967 | --program-transform=* | --program-transfor=* \
968 | --program-transfo=* | --program-transf=* \
969 | --program-trans=* | --program-tran=* \
970 | --progr-tra=* | --program-tr=* | --program-t=*)
971 program_transform_name=$ac_optarg ;;
973 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
974 ac_prev=pdfdir ;;
975 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
976 pdfdir=$ac_optarg ;;
978 -psdir | --psdir | --psdi | --psd | --ps)
979 ac_prev=psdir ;;
980 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
981 psdir=$ac_optarg ;;
983 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
984 | -silent | --silent | --silen | --sile | --sil)
985 silent=yes ;;
987 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
988 ac_prev=sbindir ;;
989 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
990 | --sbi=* | --sb=*)
991 sbindir=$ac_optarg ;;
993 -sharedstatedir | --sharedstatedir | --sharedstatedi \
994 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
995 | --sharedst | --shareds | --shared | --share | --shar \
996 | --sha | --sh)
997 ac_prev=sharedstatedir ;;
998 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
999 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1000 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1001 | --sha=* | --sh=*)
1002 sharedstatedir=$ac_optarg ;;
1004 -site | --site | --sit)
1005 ac_prev=site ;;
1006 -site=* | --site=* | --sit=*)
1007 site=$ac_optarg ;;
1009 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1010 ac_prev=srcdir ;;
1011 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1012 srcdir=$ac_optarg ;;
1014 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1015 | --syscon | --sysco | --sysc | --sys | --sy)
1016 ac_prev=sysconfdir ;;
1017 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1018 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1019 sysconfdir=$ac_optarg ;;
1021 -target | --target | --targe | --targ | --tar | --ta | --t)
1022 ac_prev=target_alias ;;
1023 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1024 target_alias=$ac_optarg ;;
1026 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1027 verbose=yes ;;
1029 -version | --version | --versio | --versi | --vers | -V)
1030 ac_init_version=: ;;
1032 -with-* | --with-*)
1033 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 as_fn_error $? "invalid package name: $ac_useropt"
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "with_$ac_useropt"
1042 "*) ;;
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1045 esac
1046 eval with_$ac_useropt=\$ac_optarg ;;
1048 -without-* | --without-*)
1049 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052 as_fn_error $? "invalid package name: $ac_useropt"
1053 ac_useropt_orig=$ac_useropt
1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1057 "with_$ac_useropt"
1058 "*) ;;
1059 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1060 ac_unrecognized_sep=', ';;
1061 esac
1062 eval with_$ac_useropt=no ;;
1064 --x)
1065 # Obsolete; use --with-x.
1066 with_x=yes ;;
1068 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1069 | --x-incl | --x-inc | --x-in | --x-i)
1070 ac_prev=x_includes ;;
1071 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1072 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1073 x_includes=$ac_optarg ;;
1075 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1076 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1077 ac_prev=x_libraries ;;
1078 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1079 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1080 x_libraries=$ac_optarg ;;
1082 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1083 Try \`$0 --help' for more information"
1086 *=*)
1087 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1088 # Reject names that are not valid shell variable names.
1089 case $ac_envvar in #(
1090 '' | [0-9]* | *[!_$as_cr_alnum]* )
1091 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1092 esac
1093 eval $ac_envvar=\$ac_optarg
1094 export $ac_envvar ;;
1097 # FIXME: should be removed in autoconf 3.0.
1098 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1099 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1100 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1101 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1104 esac
1105 done
1107 if test -n "$ac_prev"; then
1108 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1109 as_fn_error $? "missing argument to $ac_option"
1112 if test -n "$ac_unrecognized_opts"; then
1113 case $enable_option_checking in
1114 no) ;;
1115 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1116 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1117 esac
1120 # Check all directory arguments for consistency.
1121 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1122 datadir sysconfdir sharedstatedir localstatedir includedir \
1123 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1124 libdir localedir mandir
1126 eval ac_val=\$$ac_var
1127 # Remove trailing slashes.
1128 case $ac_val in
1129 */ )
1130 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1131 eval $ac_var=\$ac_val;;
1132 esac
1133 # Be sure to have absolute directory names.
1134 case $ac_val in
1135 [\\/$]* | ?:[\\/]* ) continue;;
1136 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1137 esac
1138 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1139 done
1141 # There might be people who depend on the old broken behavior: `$host'
1142 # used to hold the argument of --host etc.
1143 # FIXME: To remove some day.
1144 build=$build_alias
1145 host=$host_alias
1146 target=$target_alias
1148 # FIXME: To remove some day.
1149 if test "x$host_alias" != x; then
1150 if test "x$build_alias" = x; then
1151 cross_compiling=maybe
1152 elif test "x$build_alias" != "x$host_alias"; then
1153 cross_compiling=yes
1157 ac_tool_prefix=
1158 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1160 test "$silent" = yes && exec 6>/dev/null
1163 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1164 ac_ls_di=`ls -di .` &&
1165 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1166 as_fn_error $? "working directory cannot be determined"
1167 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1168 as_fn_error $? "pwd does not report name of working directory"
1171 # Find the source files, if location was not specified.
1172 if test -z "$srcdir"; then
1173 ac_srcdir_defaulted=yes
1174 # Try the directory containing this script, then the parent directory.
1175 ac_confdir=`$as_dirname -- "$as_myself" ||
1176 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1177 X"$as_myself" : 'X\(//\)[^/]' \| \
1178 X"$as_myself" : 'X\(//\)$' \| \
1179 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1180 $as_echo X"$as_myself" |
1181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1182 s//\1/
1185 /^X\(\/\/\)[^/].*/{
1186 s//\1/
1189 /^X\(\/\/\)$/{
1190 s//\1/
1193 /^X\(\/\).*/{
1194 s//\1/
1197 s/.*/./; q'`
1198 srcdir=$ac_confdir
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1200 srcdir=..
1202 else
1203 ac_srcdir_defaulted=no
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1206 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1207 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1209 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1210 ac_abs_confdir=`(
1211 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1212 pwd)`
1213 # When building in place, set srcdir=.
1214 if test "$ac_abs_confdir" = "$ac_pwd"; then
1215 srcdir=.
1217 # Remove unnecessary trailing slashes from srcdir.
1218 # Double slashes in file names in object file debugging info
1219 # mess up M-x gdb in Emacs.
1220 case $srcdir in
1221 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1222 esac
1223 for ac_var in $ac_precious_vars; do
1224 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1225 eval ac_env_${ac_var}_value=\$${ac_var}
1226 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1227 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1228 done
1231 # Report the --help message.
1233 if test "$ac_init_help" = "long"; then
1234 # Omit some internal or obsolete options to make the list less imposing.
1235 # This message is too long to be a string in the A/UX 3.1 sh.
1236 cat <<_ACEOF
1237 \`configure' configures this package to adapt to many kinds of systems.
1239 Usage: $0 [OPTION]... [VAR=VALUE]...
1241 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1242 VAR=VALUE. See below for descriptions of some of the useful variables.
1244 Defaults for the options are specified in brackets.
1246 Configuration:
1247 -h, --help display this help and exit
1248 --help=short display options specific to this package
1249 --help=recursive display the short help of all the included packages
1250 -V, --version display version information and exit
1251 -q, --quiet, --silent do not print \`checking ...' messages
1252 --cache-file=FILE cache test results in FILE [disabled]
1253 -C, --config-cache alias for \`--cache-file=config.cache'
1254 -n, --no-create do not create output files
1255 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1257 Installation directories:
1258 --prefix=PREFIX install architecture-independent files in PREFIX
1259 [$ac_default_prefix]
1260 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1261 [PREFIX]
1263 By default, \`make install' will install all the files in
1264 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1265 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1266 for instance \`--prefix=\$HOME'.
1268 For better control, use the options below.
1270 Fine tuning of the installation directories:
1271 --bindir=DIR user executables [EPREFIX/bin]
1272 --sbindir=DIR system admin executables [EPREFIX/sbin]
1273 --libexecdir=DIR program executables [EPREFIX/libexec]
1274 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1275 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1276 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1277 --libdir=DIR object code libraries [EPREFIX/lib]
1278 --includedir=DIR C header files [PREFIX/include]
1279 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1280 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1281 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1282 --infodir=DIR info documentation [DATAROOTDIR/info]
1283 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1284 --mandir=DIR man documentation [DATAROOTDIR/man]
1285 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1286 --htmldir=DIR html documentation [DOCDIR]
1287 --dvidir=DIR dvi documentation [DOCDIR]
1288 --pdfdir=DIR pdf documentation [DOCDIR]
1289 --psdir=DIR ps documentation [DOCDIR]
1290 _ACEOF
1292 cat <<\_ACEOF
1293 _ACEOF
1296 if test -n "$ac_init_help"; then
1298 cat <<\_ACEOF
1300 Optional Packages:
1301 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1302 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1303 --with-config-dir=VERSION
1304 Location of generated target config files
1306 Some influential environment variables:
1307 CC C compiler command
1308 CFLAGS C compiler flags
1309 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1310 nonstandard directory <lib dir>
1311 LIBS libraries to pass to the linker, e.g. -l<library>
1312 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1313 you have headers in a nonstandard directory <include dir>
1315 Use these variables to override the choices made by `configure' or to help
1316 it to find libraries and programs with nonstandard names/locations.
1318 Report bugs to the package provider.
1319 _ACEOF
1320 ac_status=$?
1323 if test "$ac_init_help" = "recursive"; then
1324 # If there are subdirs, report their specific --help.
1325 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1326 test -d "$ac_dir" ||
1327 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1328 continue
1329 ac_builddir=.
1331 case "$ac_dir" in
1332 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1335 # A ".." for each directory in $ac_dir_suffix.
1336 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1337 case $ac_top_builddir_sub in
1338 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1340 esac ;;
1341 esac
1342 ac_abs_top_builddir=$ac_pwd
1343 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1344 # for backward compatibility:
1345 ac_top_builddir=$ac_top_build_prefix
1347 case $srcdir in
1348 .) # We are building in place.
1349 ac_srcdir=.
1350 ac_top_srcdir=$ac_top_builddir_sub
1351 ac_abs_top_srcdir=$ac_pwd ;;
1352 [\\/]* | ?:[\\/]* ) # Absolute name.
1353 ac_srcdir=$srcdir$ac_dir_suffix;
1354 ac_top_srcdir=$srcdir
1355 ac_abs_top_srcdir=$srcdir ;;
1356 *) # Relative name.
1357 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1358 ac_top_srcdir=$ac_top_build_prefix$srcdir
1359 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1360 esac
1361 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1363 cd "$ac_dir" || { ac_status=$?; continue; }
1364 # Check for guested configure.
1365 if test -f "$ac_srcdir/configure.gnu"; then
1366 echo &&
1367 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1368 elif test -f "$ac_srcdir/configure"; then
1369 echo &&
1370 $SHELL "$ac_srcdir/configure" --help=recursive
1371 else
1372 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1373 fi || ac_status=$?
1374 cd "$ac_pwd" || { ac_status=$?; break; }
1375 done
1378 test -n "$ac_init_help" && exit $ac_status
1379 if $ac_init_version; then
1380 cat <<\_ACEOF
1381 configure
1382 generated by GNU Autoconf 2.69
1384 Copyright (C) 2012 Free Software Foundation, Inc.
1385 This configure script is free software; the Free Software Foundation
1386 gives unlimited permission to copy, distribute and modify it.
1387 _ACEOF
1388 exit
1391 ## ------------------------ ##
1392 ## Autoconf initialization. ##
1393 ## ------------------------ ##
1395 # ac_fn_c_try_compile LINENO
1396 # --------------------------
1397 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1398 ac_fn_c_try_compile ()
1400 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1401 rm -f conftest.$ac_objext
1402 if { { ac_try="$ac_compile"
1403 case "(($ac_try" in
1404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1405 *) ac_try_echo=$ac_try;;
1406 esac
1407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1408 $as_echo "$ac_try_echo"; } >&5
1409 (eval "$ac_compile") 2>conftest.err
1410 ac_status=$?
1411 if test -s conftest.err; then
1412 grep -v '^ *+' conftest.err >conftest.er1
1413 cat conftest.er1 >&5
1414 mv -f conftest.er1 conftest.err
1416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1417 test $ac_status = 0; } && {
1418 test -z "$ac_c_werror_flag" ||
1419 test ! -s conftest.err
1420 } && test -s conftest.$ac_objext; then :
1421 ac_retval=0
1422 else
1423 $as_echo "$as_me: failed program was:" >&5
1424 sed 's/^/| /' conftest.$ac_ext >&5
1426 ac_retval=1
1428 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1429 as_fn_set_status $ac_retval
1431 } # ac_fn_c_try_compile
1432 cat >config.log <<_ACEOF
1433 This file contains any messages produced by compilers while
1434 running configure, to aid debugging if configure makes a mistake.
1436 It was created by $as_me, which was
1437 generated by GNU Autoconf 2.69. Invocation command line was
1439 $ $0 $@
1441 _ACEOF
1442 exec 5>>config.log
1444 cat <<_ASUNAME
1445 ## --------- ##
1446 ## Platform. ##
1447 ## --------- ##
1449 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1450 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1451 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1452 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1453 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1455 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1456 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1458 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1459 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1460 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1461 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1462 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1463 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1464 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1466 _ASUNAME
1468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1469 for as_dir in $PATH
1471 IFS=$as_save_IFS
1472 test -z "$as_dir" && as_dir=.
1473 $as_echo "PATH: $as_dir"
1474 done
1475 IFS=$as_save_IFS
1477 } >&5
1479 cat >&5 <<_ACEOF
1482 ## ----------- ##
1483 ## Core tests. ##
1484 ## ----------- ##
1486 _ACEOF
1489 # Keep a trace of the command line.
1490 # Strip out --no-create and --no-recursion so they do not pile up.
1491 # Strip out --silent because we don't want to record it for future runs.
1492 # Also quote any args containing shell meta-characters.
1493 # Make two passes to allow for proper duplicate-argument suppression.
1494 ac_configure_args=
1495 ac_configure_args0=
1496 ac_configure_args1=
1497 ac_must_keep_next=false
1498 for ac_pass in 1 2
1500 for ac_arg
1502 case $ac_arg in
1503 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1504 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1505 | -silent | --silent | --silen | --sile | --sil)
1506 continue ;;
1507 *\'*)
1508 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1509 esac
1510 case $ac_pass in
1511 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1513 as_fn_append ac_configure_args1 " '$ac_arg'"
1514 if test $ac_must_keep_next = true; then
1515 ac_must_keep_next=false # Got value, back to normal.
1516 else
1517 case $ac_arg in
1518 *=* | --config-cache | -C | -disable-* | --disable-* \
1519 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1520 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1521 | -with-* | --with-* | -without-* | --without-* | --x)
1522 case "$ac_configure_args0 " in
1523 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1524 esac
1526 -* ) ac_must_keep_next=true ;;
1527 esac
1529 as_fn_append ac_configure_args " '$ac_arg'"
1531 esac
1532 done
1533 done
1534 { ac_configure_args0=; unset ac_configure_args0;}
1535 { ac_configure_args1=; unset ac_configure_args1;}
1537 # When interrupted or exit'd, cleanup temporary files, and complete
1538 # config.log. We remove comments because anyway the quotes in there
1539 # would cause problems or look ugly.
1540 # WARNING: Use '\'' to represent an apostrophe within the trap.
1541 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1542 trap 'exit_status=$?
1543 # Save into config.log some information that might help in debugging.
1545 echo
1547 $as_echo "## ---------------- ##
1548 ## Cache variables. ##
1549 ## ---------------- ##"
1550 echo
1551 # The following way of writing the cache mishandles newlines in values,
1553 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1554 eval ac_val=\$$ac_var
1555 case $ac_val in #(
1556 *${as_nl}*)
1557 case $ac_var in #(
1558 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1559 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1560 esac
1561 case $ac_var in #(
1562 _ | IFS | as_nl) ;; #(
1563 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1564 *) { eval $ac_var=; unset $ac_var;} ;;
1565 esac ;;
1566 esac
1567 done
1568 (set) 2>&1 |
1569 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1570 *${as_nl}ac_space=\ *)
1571 sed -n \
1572 "s/'\''/'\''\\\\'\'''\''/g;
1573 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1574 ;; #(
1576 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1578 esac |
1579 sort
1581 echo
1583 $as_echo "## ----------------- ##
1584 ## Output variables. ##
1585 ## ----------------- ##"
1586 echo
1587 for ac_var in $ac_subst_vars
1589 eval ac_val=\$$ac_var
1590 case $ac_val in
1591 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1592 esac
1593 $as_echo "$ac_var='\''$ac_val'\''"
1594 done | sort
1595 echo
1597 if test -n "$ac_subst_files"; then
1598 $as_echo "## ------------------- ##
1599 ## File substitutions. ##
1600 ## ------------------- ##"
1601 echo
1602 for ac_var in $ac_subst_files
1604 eval ac_val=\$$ac_var
1605 case $ac_val in
1606 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1607 esac
1608 $as_echo "$ac_var='\''$ac_val'\''"
1609 done | sort
1610 echo
1613 if test -s confdefs.h; then
1614 $as_echo "## ----------- ##
1615 ## confdefs.h. ##
1616 ## ----------- ##"
1617 echo
1618 cat confdefs.h
1619 echo
1621 test "$ac_signal" != 0 &&
1622 $as_echo "$as_me: caught signal $ac_signal"
1623 $as_echo "$as_me: exit $exit_status"
1624 } >&5
1625 rm -f core *.core core.conftest.* &&
1626 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1627 exit $exit_status
1629 for ac_signal in 1 2 13 15; do
1630 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1631 done
1632 ac_signal=0
1634 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1635 rm -f -r conftest* confdefs.h
1637 $as_echo "/* confdefs.h */" > confdefs.h
1639 # Predefined preprocessor variables.
1641 cat >>confdefs.h <<_ACEOF
1642 #define PACKAGE_NAME "$PACKAGE_NAME"
1643 _ACEOF
1645 cat >>confdefs.h <<_ACEOF
1646 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1647 _ACEOF
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1651 _ACEOF
1653 cat >>confdefs.h <<_ACEOF
1654 #define PACKAGE_STRING "$PACKAGE_STRING"
1655 _ACEOF
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1659 _ACEOF
1661 cat >>confdefs.h <<_ACEOF
1662 #define PACKAGE_URL "$PACKAGE_URL"
1663 _ACEOF
1666 # Let the site file select an alternate cache file if it wants to.
1667 # Prefer an explicitly selected file to automatically selected ones.
1668 ac_site_file1=NONE
1669 ac_site_file2=NONE
1670 if test -n "$CONFIG_SITE"; then
1671 # We do not want a PATH search for config.site.
1672 case $CONFIG_SITE in #((
1673 -*) ac_site_file1=./$CONFIG_SITE;;
1674 */*) ac_site_file1=$CONFIG_SITE;;
1675 *) ac_site_file1=./$CONFIG_SITE;;
1676 esac
1677 elif test "x$prefix" != xNONE; then
1678 ac_site_file1=$prefix/share/config.site
1679 ac_site_file2=$prefix/etc/config.site
1680 else
1681 ac_site_file1=$ac_default_prefix/share/config.site
1682 ac_site_file2=$ac_default_prefix/etc/config.site
1684 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1686 test "x$ac_site_file" = xNONE && continue
1687 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1689 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1690 sed 's/^/| /' "$ac_site_file" >&5
1691 . "$ac_site_file" \
1692 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1694 as_fn_error $? "failed to load site script $ac_site_file
1695 See \`config.log' for more details" "$LINENO" 5; }
1697 done
1699 if test -r "$cache_file"; then
1700 # Some versions of bash will fail to source /dev/null (special files
1701 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1702 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1704 $as_echo "$as_me: loading cache $cache_file" >&6;}
1705 case $cache_file in
1706 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1707 *) . "./$cache_file";;
1708 esac
1710 else
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1712 $as_echo "$as_me: creating cache $cache_file" >&6;}
1713 >$cache_file
1716 # Check that the precious variables saved in the cache have kept the same
1717 # value.
1718 ac_cache_corrupted=false
1719 for ac_var in $ac_precious_vars; do
1720 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1721 eval ac_new_set=\$ac_env_${ac_var}_set
1722 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1723 eval ac_new_val=\$ac_env_${ac_var}_value
1724 case $ac_old_set,$ac_new_set in
1725 set,)
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1727 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1728 ac_cache_corrupted=: ;;
1729 ,set)
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1731 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1732 ac_cache_corrupted=: ;;
1733 ,);;
1735 if test "x$ac_old_val" != "x$ac_new_val"; then
1736 # differences in whitespace do not lead to failure.
1737 ac_old_val_w=`echo x $ac_old_val`
1738 ac_new_val_w=`echo x $ac_new_val`
1739 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1741 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1742 ac_cache_corrupted=:
1743 else
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1745 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1746 eval $ac_var=\$ac_old_val
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1749 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1751 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1752 fi;;
1753 esac
1754 # Pass precious variables to config.status.
1755 if test "$ac_new_set" = set; then
1756 case $ac_new_val in
1757 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1758 *) ac_arg=$ac_var=$ac_new_val ;;
1759 esac
1760 case " $ac_configure_args " in
1761 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1762 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1763 esac
1765 done
1766 if $ac_cache_corrupted; then
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1770 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1771 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1773 ## -------------------- ##
1774 ## Main body of script. ##
1775 ## -------------------- ##
1777 ac_ext=c
1778 ac_cpp='$CPP $CPPFLAGS'
1779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1785 ac_aux_dir=
1786 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1787 if test -f "$ac_dir/install-sh"; then
1788 ac_aux_dir=$ac_dir
1789 ac_install_sh="$ac_aux_dir/install-sh -c"
1790 break
1791 elif test -f "$ac_dir/install.sh"; then
1792 ac_aux_dir=$ac_dir
1793 ac_install_sh="$ac_aux_dir/install.sh -c"
1794 break
1795 elif test -f "$ac_dir/shtool"; then
1796 ac_aux_dir=$ac_dir
1797 ac_install_sh="$ac_aux_dir/shtool install -c"
1798 break
1800 done
1801 if test -z "$ac_aux_dir"; then
1802 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
1805 # These three variables are undocumented and unsupported,
1806 # and are intended to be withdrawn in a future Autoconf release.
1807 # They can cause serious problems if a builder's source tree is in a directory
1808 # whose full name contains unusual characters.
1809 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1810 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1811 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1815 AROS_BUILDDIR=`${PWDCMD-pwd}`
1816 AROS_BUILDDIR_UNIX=${PWD}
1818 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1819 SRCDIR=${srcpwd}
1821 NOLINKFLAGS="-nostdlib -nostartfiles"
1822 LDFLAGS=$NOLINKFLAGS
1823 # The first step is to find the binaries.
1824 ac_ext=c
1825 ac_cpp='$CPP $CPPFLAGS'
1826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1829 if test -n "$ac_tool_prefix"; then
1830 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1831 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1833 $as_echo_n "checking for $ac_word... " >&6; }
1834 if ${ac_cv_prog_CC+:} false; then :
1835 $as_echo_n "(cached) " >&6
1836 else
1837 if test -n "$CC"; then
1838 ac_cv_prog_CC="$CC" # Let the user override the test.
1839 else
1840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1841 for as_dir in $PATH
1843 IFS=$as_save_IFS
1844 test -z "$as_dir" && as_dir=.
1845 for ac_exec_ext in '' $ac_executable_extensions; do
1846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1847 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1849 break 2
1851 done
1852 done
1853 IFS=$as_save_IFS
1857 CC=$ac_cv_prog_CC
1858 if test -n "$CC"; then
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1860 $as_echo "$CC" >&6; }
1861 else
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1863 $as_echo "no" >&6; }
1868 if test -z "$ac_cv_prog_CC"; then
1869 ac_ct_CC=$CC
1870 # Extract the first word of "gcc", so it can be a program name with args.
1871 set dummy gcc; ac_word=$2
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1873 $as_echo_n "checking for $ac_word... " >&6; }
1874 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1875 $as_echo_n "(cached) " >&6
1876 else
1877 if test -n "$ac_ct_CC"; then
1878 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1883 IFS=$as_save_IFS
1884 test -z "$as_dir" && as_dir=.
1885 for ac_exec_ext in '' $ac_executable_extensions; do
1886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_ac_ct_CC="gcc"
1888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 break 2
1891 done
1892 done
1893 IFS=$as_save_IFS
1897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1898 if test -n "$ac_ct_CC"; then
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1900 $as_echo "$ac_ct_CC" >&6; }
1901 else
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1903 $as_echo "no" >&6; }
1906 if test "x$ac_ct_CC" = x; then
1907 CC=""
1908 else
1909 case $cross_compiling:$ac_tool_warned in
1910 yes:)
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1913 ac_tool_warned=yes ;;
1914 esac
1915 CC=$ac_ct_CC
1917 else
1918 CC="$ac_cv_prog_CC"
1921 if test -z "$CC"; then
1922 if test -n "$ac_tool_prefix"; then
1923 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1924 set dummy ${ac_tool_prefix}cc; ac_word=$2
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1926 $as_echo_n "checking for $ac_word... " >&6; }
1927 if ${ac_cv_prog_CC+:} false; then :
1928 $as_echo_n "(cached) " >&6
1929 else
1930 if test -n "$CC"; then
1931 ac_cv_prog_CC="$CC" # Let the user override the test.
1932 else
1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1934 for as_dir in $PATH
1936 IFS=$as_save_IFS
1937 test -z "$as_dir" && as_dir=.
1938 for ac_exec_ext in '' $ac_executable_extensions; do
1939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1940 ac_cv_prog_CC="${ac_tool_prefix}cc"
1941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 break 2
1944 done
1945 done
1946 IFS=$as_save_IFS
1950 CC=$ac_cv_prog_CC
1951 if test -n "$CC"; then
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1953 $as_echo "$CC" >&6; }
1954 else
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1956 $as_echo "no" >&6; }
1962 if test -z "$CC"; then
1963 # Extract the first word of "cc", so it can be a program name with args.
1964 set dummy cc; ac_word=$2
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1966 $as_echo_n "checking for $ac_word... " >&6; }
1967 if ${ac_cv_prog_CC+:} false; then :
1968 $as_echo_n "(cached) " >&6
1969 else
1970 if test -n "$CC"; then
1971 ac_cv_prog_CC="$CC" # Let the user override the test.
1972 else
1973 ac_prog_rejected=no
1974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 for as_dir in $PATH
1977 IFS=$as_save_IFS
1978 test -z "$as_dir" && as_dir=.
1979 for ac_exec_ext in '' $ac_executable_extensions; do
1980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1981 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1982 ac_prog_rejected=yes
1983 continue
1985 ac_cv_prog_CC="cc"
1986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 break 2
1989 done
1990 done
1991 IFS=$as_save_IFS
1993 if test $ac_prog_rejected = yes; then
1994 # We found a bogon in the path, so make sure we never use it.
1995 set dummy $ac_cv_prog_CC
1996 shift
1997 if test $# != 0; then
1998 # We chose a different compiler from the bogus one.
1999 # However, it has the same basename, so the bogon will be chosen
2000 # first if we set CC to just the basename; use the full file name.
2001 shift
2002 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2007 CC=$ac_cv_prog_CC
2008 if test -n "$CC"; then
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2010 $as_echo "$CC" >&6; }
2011 else
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2013 $as_echo "no" >&6; }
2018 if test -z "$CC"; then
2019 if test -n "$ac_tool_prefix"; then
2020 for ac_prog in cl.exe
2022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2023 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2025 $as_echo_n "checking for $ac_word... " >&6; }
2026 if ${ac_cv_prog_CC+:} false; then :
2027 $as_echo_n "(cached) " >&6
2028 else
2029 if test -n "$CC"; then
2030 ac_cv_prog_CC="$CC" # Let the user override the test.
2031 else
2032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2033 for as_dir in $PATH
2035 IFS=$as_save_IFS
2036 test -z "$as_dir" && as_dir=.
2037 for ac_exec_ext in '' $ac_executable_extensions; do
2038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2039 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2041 break 2
2043 done
2044 done
2045 IFS=$as_save_IFS
2049 CC=$ac_cv_prog_CC
2050 if test -n "$CC"; then
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2052 $as_echo "$CC" >&6; }
2053 else
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2055 $as_echo "no" >&6; }
2059 test -n "$CC" && break
2060 done
2062 if test -z "$CC"; then
2063 ac_ct_CC=$CC
2064 for ac_prog in cl.exe
2066 # Extract the first word of "$ac_prog", so it can be a program name with args.
2067 set dummy $ac_prog; ac_word=$2
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2069 $as_echo_n "checking for $ac_word... " >&6; }
2070 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2071 $as_echo_n "(cached) " >&6
2072 else
2073 if test -n "$ac_ct_CC"; then
2074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2075 else
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2079 IFS=$as_save_IFS
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083 ac_cv_prog_ac_ct_CC="$ac_prog"
2084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 break 2
2087 done
2088 done
2089 IFS=$as_save_IFS
2093 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2094 if test -n "$ac_ct_CC"; then
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2096 $as_echo "$ac_ct_CC" >&6; }
2097 else
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2099 $as_echo "no" >&6; }
2103 test -n "$ac_ct_CC" && break
2104 done
2106 if test "x$ac_ct_CC" = x; then
2107 CC=""
2108 else
2109 case $cross_compiling:$ac_tool_warned in
2110 yes:)
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2113 ac_tool_warned=yes ;;
2114 esac
2115 CC=$ac_ct_CC
2122 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2124 as_fn_error $? "no acceptable C compiler found in \$PATH
2125 See \`config.log' for more details" "$LINENO" 5; }
2127 # Provide some information about the compiler.
2128 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2129 set X $ac_compile
2130 ac_compiler=$2
2131 for ac_option in --version -v -V -qversion; do
2132 { { ac_try="$ac_compiler $ac_option >&5"
2133 case "(($ac_try" in
2134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2135 *) ac_try_echo=$ac_try;;
2136 esac
2137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2138 $as_echo "$ac_try_echo"; } >&5
2139 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2140 ac_status=$?
2141 if test -s conftest.err; then
2142 sed '10a\
2143 ... rest of stderr output deleted ...
2144 10q' conftest.err >conftest.er1
2145 cat conftest.er1 >&5
2147 rm -f conftest.er1 conftest.err
2148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2149 test $ac_status = 0; }
2150 done
2152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2153 /* end confdefs.h. */
2156 main ()
2160 return 0;
2162 _ACEOF
2163 ac_clean_files_save=$ac_clean_files
2164 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2165 # Try to create an executable without -o first, disregard a.out.
2166 # It will help us diagnose broken compilers, and finding out an intuition
2167 # of exeext.
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2169 $as_echo_n "checking whether the C compiler works... " >&6; }
2170 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2172 # The possible output files:
2173 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2175 ac_rmfiles=
2176 for ac_file in $ac_files
2178 case $ac_file in
2179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2180 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2181 esac
2182 done
2183 rm -f $ac_rmfiles
2185 if { { ac_try="$ac_link_default"
2186 case "(($ac_try" in
2187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2188 *) ac_try_echo=$ac_try;;
2189 esac
2190 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2191 $as_echo "$ac_try_echo"; } >&5
2192 (eval "$ac_link_default") 2>&5
2193 ac_status=$?
2194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2195 test $ac_status = 0; }; then :
2196 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2197 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2198 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2199 # so that the user can short-circuit this test for compilers unknown to
2200 # Autoconf.
2201 for ac_file in $ac_files ''
2203 test -f "$ac_file" || continue
2204 case $ac_file in
2205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2207 [ab].out )
2208 # We found the default executable, but exeext='' is most
2209 # certainly right.
2210 break;;
2211 *.* )
2212 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2213 then :; else
2214 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2216 # We set ac_cv_exeext here because the later test for it is not
2217 # safe: cross compilers may not add the suffix if given an `-o'
2218 # argument, so we may need to know it at that point already.
2219 # Even if this section looks crufty: it has the advantage of
2220 # actually working.
2221 break;;
2223 break;;
2224 esac
2225 done
2226 test "$ac_cv_exeext" = no && ac_cv_exeext=
2228 else
2229 ac_file=''
2231 if test -z "$ac_file"; then :
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2233 $as_echo "no" >&6; }
2234 $as_echo "$as_me: failed program was:" >&5
2235 sed 's/^/| /' conftest.$ac_ext >&5
2237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2239 as_fn_error 77 "C compiler cannot create executables
2240 See \`config.log' for more details" "$LINENO" 5; }
2241 else
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2243 $as_echo "yes" >&6; }
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2246 $as_echo_n "checking for C compiler default output file name... " >&6; }
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2248 $as_echo "$ac_file" >&6; }
2249 ac_exeext=$ac_cv_exeext
2251 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2252 ac_clean_files=$ac_clean_files_save
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2254 $as_echo_n "checking for suffix of executables... " >&6; }
2255 if { { ac_try="$ac_link"
2256 case "(($ac_try" in
2257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2258 *) ac_try_echo=$ac_try;;
2259 esac
2260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2261 $as_echo "$ac_try_echo"; } >&5
2262 (eval "$ac_link") 2>&5
2263 ac_status=$?
2264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2265 test $ac_status = 0; }; then :
2266 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2267 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2268 # work properly (i.e., refer to `conftest.exe'), while it won't with
2269 # `rm'.
2270 for ac_file in conftest.exe conftest conftest.*; do
2271 test -f "$ac_file" || continue
2272 case $ac_file in
2273 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2274 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2275 break;;
2276 * ) break;;
2277 esac
2278 done
2279 else
2280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2282 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2283 See \`config.log' for more details" "$LINENO" 5; }
2285 rm -f conftest conftest$ac_cv_exeext
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2287 $as_echo "$ac_cv_exeext" >&6; }
2289 rm -f conftest.$ac_ext
2290 EXEEXT=$ac_cv_exeext
2291 ac_exeext=$EXEEXT
2292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2293 /* end confdefs.h. */
2294 #include <stdio.h>
2296 main ()
2298 FILE *f = fopen ("conftest.out", "w");
2299 return ferror (f) || fclose (f) != 0;
2302 return 0;
2304 _ACEOF
2305 ac_clean_files="$ac_clean_files conftest.out"
2306 # Check that the compiler produces executables we can run. If not, either
2307 # the compiler is broken, or we cross compile.
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2309 $as_echo_n "checking whether we are cross compiling... " >&6; }
2310 if test "$cross_compiling" != yes; then
2311 { { ac_try="$ac_link"
2312 case "(($ac_try" in
2313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2314 *) ac_try_echo=$ac_try;;
2315 esac
2316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2317 $as_echo "$ac_try_echo"; } >&5
2318 (eval "$ac_link") 2>&5
2319 ac_status=$?
2320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2321 test $ac_status = 0; }
2322 if { ac_try='./conftest$ac_cv_exeext'
2323 { { case "(($ac_try" in
2324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2325 *) ac_try_echo=$ac_try;;
2326 esac
2327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2328 $as_echo "$ac_try_echo"; } >&5
2329 (eval "$ac_try") 2>&5
2330 ac_status=$?
2331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2332 test $ac_status = 0; }; }; then
2333 cross_compiling=no
2334 else
2335 if test "$cross_compiling" = maybe; then
2336 cross_compiling=yes
2337 else
2338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2340 as_fn_error $? "cannot run C compiled programs.
2341 If you meant to cross compile, use \`--host'.
2342 See \`config.log' for more details" "$LINENO" 5; }
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2347 $as_echo "$cross_compiling" >&6; }
2349 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2350 ac_clean_files=$ac_clean_files_save
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2352 $as_echo_n "checking for suffix of object files... " >&6; }
2353 if ${ac_cv_objext+:} false; then :
2354 $as_echo_n "(cached) " >&6
2355 else
2356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2357 /* end confdefs.h. */
2360 main ()
2364 return 0;
2366 _ACEOF
2367 rm -f conftest.o conftest.obj
2368 if { { ac_try="$ac_compile"
2369 case "(($ac_try" in
2370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2371 *) ac_try_echo=$ac_try;;
2372 esac
2373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2374 $as_echo "$ac_try_echo"; } >&5
2375 (eval "$ac_compile") 2>&5
2376 ac_status=$?
2377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2378 test $ac_status = 0; }; then :
2379 for ac_file in conftest.o conftest.obj conftest.*; do
2380 test -f "$ac_file" || continue;
2381 case $ac_file in
2382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2383 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2384 break;;
2385 esac
2386 done
2387 else
2388 $as_echo "$as_me: failed program was:" >&5
2389 sed 's/^/| /' conftest.$ac_ext >&5
2391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2393 as_fn_error $? "cannot compute suffix of object files: cannot compile
2394 See \`config.log' for more details" "$LINENO" 5; }
2396 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2399 $as_echo "$ac_cv_objext" >&6; }
2400 OBJEXT=$ac_cv_objext
2401 ac_objext=$OBJEXT
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2403 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2404 if ${ac_cv_c_compiler_gnu+:} false; then :
2405 $as_echo_n "(cached) " >&6
2406 else
2407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2408 /* end confdefs.h. */
2411 main ()
2413 #ifndef __GNUC__
2414 choke me
2415 #endif
2418 return 0;
2420 _ACEOF
2421 if ac_fn_c_try_compile "$LINENO"; then :
2422 ac_compiler_gnu=yes
2423 else
2424 ac_compiler_gnu=no
2426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2427 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2431 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2432 if test $ac_compiler_gnu = yes; then
2433 GCC=yes
2434 else
2435 GCC=
2437 ac_test_CFLAGS=${CFLAGS+set}
2438 ac_save_CFLAGS=$CFLAGS
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2440 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2441 if ${ac_cv_prog_cc_g+:} false; then :
2442 $as_echo_n "(cached) " >&6
2443 else
2444 ac_save_c_werror_flag=$ac_c_werror_flag
2445 ac_c_werror_flag=yes
2446 ac_cv_prog_cc_g=no
2447 CFLAGS="-g"
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2452 main ()
2456 return 0;
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2460 ac_cv_prog_cc_g=yes
2461 else
2462 CFLAGS=""
2463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2467 main ()
2471 return 0;
2473 _ACEOF
2474 if ac_fn_c_try_compile "$LINENO"; then :
2476 else
2477 ac_c_werror_flag=$ac_save_c_werror_flag
2478 CFLAGS="-g"
2479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2480 /* end confdefs.h. */
2483 main ()
2487 return 0;
2489 _ACEOF
2490 if ac_fn_c_try_compile "$LINENO"; then :
2491 ac_cv_prog_cc_g=yes
2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2498 ac_c_werror_flag=$ac_save_c_werror_flag
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2501 $as_echo "$ac_cv_prog_cc_g" >&6; }
2502 if test "$ac_test_CFLAGS" = set; then
2503 CFLAGS=$ac_save_CFLAGS
2504 elif test $ac_cv_prog_cc_g = yes; then
2505 if test "$GCC" = yes; then
2506 CFLAGS="-g -O2"
2507 else
2508 CFLAGS="-g"
2510 else
2511 if test "$GCC" = yes; then
2512 CFLAGS="-O2"
2513 else
2514 CFLAGS=
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2518 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2519 if ${ac_cv_prog_cc_c89+:} false; then :
2520 $as_echo_n "(cached) " >&6
2521 else
2522 ac_cv_prog_cc_c89=no
2523 ac_save_CC=$CC
2524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2525 /* end confdefs.h. */
2526 #include <stdarg.h>
2527 #include <stdio.h>
2528 struct stat;
2529 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2530 struct buf { int x; };
2531 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2532 static char *e (p, i)
2533 char **p;
2534 int i;
2536 return p[i];
2538 static char *f (char * (*g) (char **, int), char **p, ...)
2540 char *s;
2541 va_list v;
2542 va_start (v,p);
2543 s = g (p, va_arg (v,int));
2544 va_end (v);
2545 return s;
2548 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2549 function prototypes and stuff, but not '\xHH' hex character constants.
2550 These don't provoke an error unfortunately, instead are silently treated
2551 as 'x'. The following induces an error, until -std is added to get
2552 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2553 array size at least. It's necessary to write '\x00'==0 to get something
2554 that's true only with -std. */
2555 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2557 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2558 inside strings and character constants. */
2559 #define FOO(x) 'x'
2560 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2562 int test (int i, double x);
2563 struct s1 {int (*f) (int a);};
2564 struct s2 {int (*f) (double a);};
2565 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2566 int argc;
2567 char **argv;
2569 main ()
2571 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2573 return 0;
2575 _ACEOF
2576 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2577 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2579 CC="$ac_save_CC $ac_arg"
2580 if ac_fn_c_try_compile "$LINENO"; then :
2581 ac_cv_prog_cc_c89=$ac_arg
2583 rm -f core conftest.err conftest.$ac_objext
2584 test "x$ac_cv_prog_cc_c89" != "xno" && break
2585 done
2586 rm -f conftest.$ac_ext
2587 CC=$ac_save_CC
2590 # AC_CACHE_VAL
2591 case "x$ac_cv_prog_cc_c89" in
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2594 $as_echo "none needed" >&6; } ;;
2595 xno)
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2597 $as_echo "unsupported" >&6; } ;;
2599 CC="$CC $ac_cv_prog_cc_c89"
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2601 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2602 esac
2603 if test "x$ac_cv_prog_cc_c89" != xno; then :
2607 ac_ext=c
2608 ac_cpp='$CPP $CPPFLAGS'
2609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2615 $as_echo_n "checking target config location... " >&6; }
2617 # Check whether --with-config-dir was given.
2618 if test "${with_config_dir+set}" = set; then :
2619 withval=$with_config_dir; targetcfg_dir="$withval"
2620 else
2621 targetcfg_dir=""
2624 if test "$targetcfg_dir" = ""; then
2625 as_fn_error $? "missing config directory!" "$LINENO" 5
2626 else
2627 aros_targetcfg_dir="$targetcfg_dir"
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2630 $as_echo "$aros_targetcfg_dir" >&6; }
2632 #-----------------------------------------------------------------------------
2634 # Check if the target compiler supports some features:
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
2637 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
2638 CFLAGS="-iquote."
2640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2641 /* end confdefs.h. */
2644 main ()
2648 return 0;
2650 _ACEOF
2651 if ac_fn_c_try_compile "$LINENO"; then :
2652 has_iquote="yes"
2653 else
2654 has_iquote="no"
2656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
2658 $as_echo "$has_iquote" >&6; }
2659 if test "x-$has_iquote" = "x-yes" ; then
2660 aros_cflags_iquote=-iquote
2661 aros_cflags_iquote_end=
2662 else
2663 aros_cflags_iquote=-I
2664 aros_cflags_iquote_end=-I-
2667 #-----------------------------------------------------------------------------
2669 # Check if the target compiler supports some options used for de-linting:
2670 # -Wunused-but-set-variable
2671 # -Wstrict-aliasing
2672 # -Warray-bounds
2673 # -Wenum-compare
2674 # -Wstrict-prototypes
2675 # -Wstrict-overflow
2676 # -Wformat-security
2677 # -Wmisleading-indentation
2678 # -Wnonnull-compare
2679 # -Wunused
2680 # -Wunused-value
2681 # -Wunused-variable
2682 # -Wunused-function
2683 # -Wuninitialized
2684 # -Wmaybe-uninitialized
2685 # -Wimplicit-function-declaration
2686 # -Wformat
2687 # -Wparentheses
2688 # -Wchar-subscripts
2689 # -Wendif-labels
2690 # -Wformat-contains-nul
2691 # -Wimplicit-int
2692 # -Waggressive-loop-optimizations
2693 # -Wcpp
2694 # -Wswitch
2695 # -Wdiscarded-qualifiers
2696 # -Wsequence-point
2697 # -Wunknown-pragmas
2698 # -Wdiscarded-array-qualifiers
2699 # -Wint-conversion
2700 # -Wint-to-pointer-cast
2701 # -Wpointer-to-int-cast
2702 # -Wunused-const-variable
2703 # -Wwrite-strings
2704 # -Wcomment
2705 # -Wincompatible-pointer-types
2706 # -Wbool-compare
2707 # -Wlogical-not-parentheses
2708 # -Wpointer-sign
2709 # -Wshift-overflow
2710 # -Wframe-address
2711 # -Wdeprecated-declarations
2712 # -Wsign-compare
2713 # -Wattributes
2714 # -Woverflow
2715 # -Wunused-local-typedefs
2716 # -Wmissing-braces
2717 # -Wconversion-null
2718 # -Wnarrowing
2719 # -Wvolatile-register-var
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2722 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2723 CFLAGS=-Wunused-but-set-variable
2724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2728 main ()
2732 return 0;
2734 _ACEOF
2735 if ac_fn_c_try_compile "$LINENO"; then :
2736 aros_unused_but_set_variable="yes"
2737 else
2738 aros_unused_but_set_variable="no"
2740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2742 $as_echo "$aros_unused_but_set_variable" >&6; }
2743 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2744 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2748 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2749 CFLAGS=-Wstrict-aliasing
2750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2754 main ()
2758 return 0;
2760 _ACEOF
2761 if ac_fn_c_try_compile "$LINENO"; then :
2762 aros_strict_aliasing="yes"
2763 else
2764 aros_strict_aliasing="no"
2766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2768 $as_echo "$aros_strict_aliasing" >&6; }
2769 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2770 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2774 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2775 CFLAGS=-Warray-bounds
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2780 main ()
2784 return 0;
2786 _ACEOF
2787 if ac_fn_c_try_compile "$LINENO"; then :
2788 aros_array_bounds="yes"
2789 else
2790 aros_array_bounds="no"
2792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2794 $as_echo "$aros_array_bounds" >&6; }
2795 if test "x-$aros_array_bounds" = "x-yes" ; then
2796 aros_cflags_array_bounds=-Wno-array-bounds
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2800 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2801 CFLAGS=-Wenum-compare
2802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2803 /* end confdefs.h. */
2806 main ()
2810 return 0;
2812 _ACEOF
2813 if ac_fn_c_try_compile "$LINENO"; then :
2814 aros_enum_compare="yes"
2815 else
2816 aros_enum_compare="no"
2818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2820 $as_echo "$aros_enum_compare" >&6; }
2821 if test "x-$aros_enum_compare" = "x-yes" ; then
2822 aros_cflags_enum_compare=-Wno-enum-compare
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2826 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2827 CFLAGS=-Wstrict-prototypes
2828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2829 /* end confdefs.h. */
2832 main ()
2836 return 0;
2838 _ACEOF
2839 if ac_fn_c_try_compile "$LINENO"; then :
2840 aros_strict_prototypes="yes"
2841 else
2842 aros_strict_prototypes="no"
2844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
2846 $as_echo "$aros_strict_prototypes" >&6; }
2847 if test "x-$aros_strict_prototypes" = "x-yes" ; then
2848 aros_cflags_strict_prototypes=-Wno-strict-prototypes
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
2852 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
2853 CFLAGS=-Wstrict-overflow
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2858 main ()
2862 return 0;
2864 _ACEOF
2865 if ac_fn_c_try_compile "$LINENO"; then :
2866 aros_strict_overflow="yes"
2867 else
2868 aros_strict_overflow="no"
2870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
2872 $as_echo "$aros_strict_overflow" >&6; }
2873 if test "x-$aros_strict_overflow" = "x-yes" ; then
2874 aros_cflags_strict_overflow=-Wno-strict-overflow
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
2878 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
2879 CFLAGS=-Wformat-security
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2884 main ()
2888 return 0;
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"; then :
2892 aros_format_security="yes"
2893 else
2894 aros_format_security="no"
2896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
2898 $as_echo "$aros_format_security" >&6; }
2899 if test "x-$aros_format_security" = "x-yes" ; then
2900 aros_cflags_format_security=-Wno-format-security
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
2904 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
2905 CFLAGS=-Wmisleading-indentation
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2910 main ()
2914 return 0;
2916 _ACEOF
2917 if ac_fn_c_try_compile "$LINENO"; then :
2918 aros_misleading_indentation="yes"
2919 else
2920 aros_misleading_indentation="no"
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
2924 $as_echo "$aros_misleading_indentation" >&6; }
2925 if test "x-$aros_misleading_indentation" = "x-yes" ; then
2926 aros_cflags_misleading_indentation=-Wno-misleading-indentation
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
2930 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
2931 CFLAGS=-Wnonnull-compare
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2936 main ()
2940 return 0;
2942 _ACEOF
2943 if ac_fn_c_try_compile "$LINENO"; then :
2944 aros_nonnull_compare="yes"
2945 else
2946 aros_nonnull_compare="no"
2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
2950 $as_echo "$aros_nonnull_compare" >&6; }
2951 if test "x-$aros_nonnull_compare" = "x-yes" ; then
2952 aros_cflags_nonnull_compare=-Wno-nonnull-compare
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
2956 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
2957 CFLAGS=-Wunused
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2962 main ()
2966 return 0;
2968 _ACEOF
2969 if ac_fn_c_try_compile "$LINENO"; then :
2970 aros_unused="yes"
2971 else
2972 aros_unused="no"
2974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
2976 $as_echo "$aros_unused" >&6; }
2977 if test "x-$aros_unused" = "x-yes" ; then
2978 aros_cflags_unused=-Wno-unused
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
2982 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
2983 CFLAGS=-Wunused-value
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2988 main ()
2992 return 0;
2994 _ACEOF
2995 if ac_fn_c_try_compile "$LINENO"; then :
2996 aros_unused_value="yes"
2997 else
2998 aros_unused_value="no"
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
3002 $as_echo "$aros_unused_value" >&6; }
3003 if test "x-$aros_unused_value" = "x-yes" ; then
3004 aros_cflags_unused_value=-Wno-unused-value
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
3008 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
3009 CFLAGS=-Wunused-variable
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3014 main ()
3018 return 0;
3020 _ACEOF
3021 if ac_fn_c_try_compile "$LINENO"; then :
3022 aros_unused_variable="yes"
3023 else
3024 aros_unused_variable="no"
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3028 $as_echo "$aros_unused_variable" >&6; }
3029 if test "x-$aros_unused_variable" = "x-yes" ; then
3030 aros_cflags_unused_variable=-Wno-unused-variable
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3034 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3035 CFLAGS=-Wunused-function
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3040 main ()
3044 return 0;
3046 _ACEOF
3047 if ac_fn_c_try_compile "$LINENO"; then :
3048 aros_unused_function="yes"
3049 else
3050 aros_unused_function="no"
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3054 $as_echo "$aros_unused_function" >&6; }
3055 if test "x-$aros_unused_function" = "x-yes" ; then
3056 aros_cflags_unused_function=-Wno-unused-function
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3060 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3061 CFLAGS=-Wuninitialized
3062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3066 main ()
3070 return 0;
3072 _ACEOF
3073 if ac_fn_c_try_compile "$LINENO"; then :
3074 aros_uninitialized="yes"
3075 else
3076 aros_uninitialized="no"
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3080 $as_echo "$aros_uninitialized" >&6; }
3081 if test "x-$aros_uninitialized" = "x-yes" ; then
3082 aros_cflags_uninitialized=-Wno-uninitialized
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3086 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3087 CFLAGS=-Wmaybe-uninitialized
3088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3089 /* end confdefs.h. */
3092 main ()
3096 return 0;
3098 _ACEOF
3099 if ac_fn_c_try_compile "$LINENO"; then :
3100 aros_maybe_uninitialized="yes"
3101 else
3102 aros_maybe_uninitialized="no"
3104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3106 $as_echo "$aros_maybe_uninitialized" >&6; }
3107 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3108 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3112 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3113 CFLAGS=-Wimplicit-function-declaration
3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3118 main ()
3122 return 0;
3124 _ACEOF
3125 if ac_fn_c_try_compile "$LINENO"; then :
3126 aros_implicit_function_declaration="yes"
3127 else
3128 aros_implicit_function_declaration="no"
3130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3132 $as_echo "$aros_implicit_function_declaration" >&6; }
3133 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3134 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3138 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3139 CFLAGS=-Wformat
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3144 main ()
3148 return 0;
3150 _ACEOF
3151 if ac_fn_c_try_compile "$LINENO"; then :
3152 aros_format="yes"
3153 else
3154 aros_format="no"
3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3158 $as_echo "$aros_format" >&6; }
3159 if test "x-$aros_format" = "x-yes" ; then
3160 aros_cflags_format=-Wno-format
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3164 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3165 CFLAGS=-Wparentheses
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3170 main ()
3174 return 0;
3176 _ACEOF
3177 if ac_fn_c_try_compile "$LINENO"; then :
3178 aros_parentheses="yes"
3179 else
3180 aros_parentheses="no"
3182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3184 $as_echo "$aros_parentheses" >&6; }
3185 if test "x-$aros_parentheses" = "x-yes" ; then
3186 aros_cflags_parentheses=-Wno-parentheses
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3190 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3191 CFLAGS=-Wchar-subscripts
3192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3193 /* end confdefs.h. */
3196 main ()
3200 return 0;
3202 _ACEOF
3203 if ac_fn_c_try_compile "$LINENO"; then :
3204 aros_char_subscripts="yes"
3205 else
3206 aros_char_subscripts="no"
3208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3210 $as_echo "$aros_char_subscripts" >&6; }
3211 if test "x-$aros_char_subscripts" = "x-yes" ; then
3212 aros_cflags_char_subscripts=-Wno-char-subscripts
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3216 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3217 CFLAGS=-Wendif-labels
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3222 main ()
3226 return 0;
3228 _ACEOF
3229 if ac_fn_c_try_compile "$LINENO"; then :
3230 aros_endif_labels="yes"
3231 else
3232 aros_endif_labels="no"
3234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3236 $as_echo "$aros_endif_labels" >&6; }
3237 if test "x-$aros_endif_labels" = "x-yes" ; then
3238 aros_cflags_endif_labels=-Wno-endif-labels
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3242 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3243 CFLAGS=-Wformat-contains-nul
3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3245 /* end confdefs.h. */
3248 main ()
3252 return 0;
3254 _ACEOF
3255 if ac_fn_c_try_compile "$LINENO"; then :
3256 aros_format_contains_nul="yes"
3257 else
3258 aros_format_contains_nul="no"
3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3262 $as_echo "$aros_format_contains_nul" >&6; }
3263 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3264 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3268 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3269 CFLAGS=-Wimplicit-int
3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3271 /* end confdefs.h. */
3274 main ()
3278 return 0;
3280 _ACEOF
3281 if ac_fn_c_try_compile "$LINENO"; then :
3282 aros_implicit_int="yes"
3283 else
3284 aros_implicit_int="no"
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3288 $as_echo "$aros_implicit_int" >&6; }
3289 if test "x-$aros_implicit_int" = "x-yes" ; then
3290 aros_cflags_implicit_int=-Wno-implicit-int
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3294 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3295 CFLAGS=-Waggressive-loop-optimizations
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3300 main ()
3304 return 0;
3306 _ACEOF
3307 if ac_fn_c_try_compile "$LINENO"; then :
3308 aros_aggressive_loop_optimizations="yes"
3309 else
3310 aros_aggressive_loop_optimizations="no"
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3314 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3315 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3316 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3320 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3321 CFLAGS=-Wcpp
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3326 main ()
3330 return 0;
3332 _ACEOF
3333 if ac_fn_c_try_compile "$LINENO"; then :
3334 aros_cpp="yes"
3335 else
3336 aros_cpp="no"
3338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3340 $as_echo "$aros_cpp" >&6; }
3341 if test "x-$aros_cpp" = "x-yes" ; then
3342 aros_cflags_cpp=-Wno-cpp
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3346 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3347 CFLAGS=-Wswitch
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3352 main ()
3356 return 0;
3358 _ACEOF
3359 if ac_fn_c_try_compile "$LINENO"; then :
3360 aros_switch="yes"
3361 else
3362 aros_switch="no"
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3366 $as_echo "$aros_switch" >&6; }
3367 if test "x-$aros_switch" = "x-yes" ; then
3368 aros_cflags_switch=-Wno-switch
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3372 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3373 CFLAGS=-Wdiscarded-qualifiers
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3378 main ()
3382 return 0;
3384 _ACEOF
3385 if ac_fn_c_try_compile "$LINENO"; then :
3386 aros_discarded_qualifiers="yes"
3387 else
3388 aros_discarded_qualifiers="no"
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3392 $as_echo "$aros_discarded_qualifiers" >&6; }
3393 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3394 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3398 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3399 CFLAGS=-Wsequence-point
3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401 /* end confdefs.h. */
3404 main ()
3408 return 0;
3410 _ACEOF
3411 if ac_fn_c_try_compile "$LINENO"; then :
3412 aros_sequence_point="yes"
3413 else
3414 aros_sequence_point="no"
3416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3418 $as_echo "$aros_sequence_point" >&6; }
3419 if test "x-$aros_sequence_point" = "x-yes" ; then
3420 aros_cflags_sequence_point=-Wno-sequence-point
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3424 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3425 CFLAGS=-Wunknown-pragmas
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3430 main ()
3434 return 0;
3436 _ACEOF
3437 if ac_fn_c_try_compile "$LINENO"; then :
3438 aros_unknown_pragmas="yes"
3439 else
3440 aros_unknown_pragmas="no"
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3444 $as_echo "$aros_unknown_pragmas" >&6; }
3445 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3446 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3450 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3451 CFLAGS=-Wdiscarded-array-qualifiers
3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */
3456 main ()
3460 return 0;
3462 _ACEOF
3463 if ac_fn_c_try_compile "$LINENO"; then :
3464 aros_discarded_array_qualifiers="yes"
3465 else
3466 aros_discarded_array_qualifiers="no"
3468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3470 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3471 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3472 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3476 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3477 CFLAGS=-Wint-conversion
3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479 /* end confdefs.h. */
3482 main ()
3486 return 0;
3488 _ACEOF
3489 if ac_fn_c_try_compile "$LINENO"; then :
3490 aros_int_conversion="yes"
3491 else
3492 aros_int_conversion="no"
3494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3496 $as_echo "$aros_int_conversion" >&6; }
3497 if test "x-$aros_int_conversion" = "x-yes" ; then
3498 aros_cflags_int_conversion=-Wno-int-conversion
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3502 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3503 CFLAGS=-Wint-to-pointer-cast
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3508 main ()
3512 return 0;
3514 _ACEOF
3515 if ac_fn_c_try_compile "$LINENO"; then :
3516 aros_int_to_pointer_cast="yes"
3517 else
3518 aros_int_to_pointer_cast="no"
3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3522 $as_echo "$aros_int_to_pointer_cast" >&6; }
3523 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3524 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3528 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3529 CFLAGS=-Wpointer-to-int-cast
3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3531 /* end confdefs.h. */
3534 main ()
3538 return 0;
3540 _ACEOF
3541 if ac_fn_c_try_compile "$LINENO"; then :
3542 aros_pointer_to_int_cast="yes"
3543 else
3544 aros_pointer_to_int_cast="no"
3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3548 $as_echo "$aros_pointer_to_int_cast" >&6; }
3549 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3550 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3554 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3555 CFLAGS=-Wunused-const-variable
3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3560 main ()
3564 return 0;
3566 _ACEOF
3567 if ac_fn_c_try_compile "$LINENO"; then :
3568 aros_unused_const_variable="yes"
3569 else
3570 aros_unused_const_variable="no"
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3574 $as_echo "$aros_unused_const_variable" >&6; }
3575 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3576 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3580 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3581 CFLAGS=-Wwrite-strings
3582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h. */
3586 main ()
3590 return 0;
3592 _ACEOF
3593 if ac_fn_c_try_compile "$LINENO"; then :
3594 aros_write_strings="yes"
3595 else
3596 aros_write_strings="no"
3598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3600 $as_echo "$aros_write_strings" >&6; }
3601 if test "x-$aros_write_strings" = "x-yes" ; then
3602 aros_cflags_write_strings=-Wno-write-strings
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3606 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3607 CFLAGS=-Wcomment
3608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3609 /* end confdefs.h. */
3612 main ()
3616 return 0;
3618 _ACEOF
3619 if ac_fn_c_try_compile "$LINENO"; then :
3620 aros_comment="yes"
3621 else
3622 aros_comment="no"
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3626 $as_echo "$aros_comment" >&6; }
3627 if test "x-$aros_comment" = "x-yes" ; then
3628 aros_cflags_comment=-Wno-comment
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3632 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3633 CFLAGS=-Wincompatible-pointer-types
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3638 main ()
3642 return 0;
3644 _ACEOF
3645 if ac_fn_c_try_compile "$LINENO"; then :
3646 aros_incompatible_pointer_types="yes"
3647 else
3648 aros_incompatible_pointer_types="no"
3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3652 $as_echo "$aros_incompatible_pointer_types" >&6; }
3653 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3654 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3658 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3659 CFLAGS=-Wbool-compare
3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3664 main ()
3668 return 0;
3670 _ACEOF
3671 if ac_fn_c_try_compile "$LINENO"; then :
3672 aros_bool_compare="yes"
3673 else
3674 aros_bool_compare="no"
3676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3678 $as_echo "$aros_bool_compare" >&6; }
3679 if test "x-$aros_bool_compare" = "x-yes" ; then
3680 aros_cflags_bool_compare=-Wno-bool-compare
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3684 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3685 CFLAGS=-Wlogical-not-parentheses
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3690 main ()
3694 return 0;
3696 _ACEOF
3697 if ac_fn_c_try_compile "$LINENO"; then :
3698 aros_logical_not_parentheses="yes"
3699 else
3700 aros_logical_not_parentheses="no"
3702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3704 $as_echo "$aros_logical_not_parentheses" >&6; }
3705 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3706 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3710 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3711 CFLAGS=-Wpointer-sign
3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3716 main ()
3720 return 0;
3722 _ACEOF
3723 if ac_fn_c_try_compile "$LINENO"; then :
3724 aros_pointer_sign="yes"
3725 else
3726 aros_pointer_sign="no"
3728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3730 $as_echo "$aros_pointer_sign" >&6; }
3731 if test "x-$aros_pointer_sign" = "x-yes" ; then
3732 aros_cflags_pointer_sign=-Wno-pointer-sign
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3736 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3737 CFLAGS=-Wshift-overflow
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3742 main ()
3746 return 0;
3748 _ACEOF
3749 if ac_fn_c_try_compile "$LINENO"; then :
3750 aros_shift_overflow="yes"
3751 else
3752 aros_shift_overflow="no"
3754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3756 $as_echo "$aros_shift_overflow" >&6; }
3757 if test "x-$aros_shift_overflow" = "x-yes" ; then
3758 aros_cflags_shift_overflow=-Wno-shift-overflow
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3762 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3763 CFLAGS=-Wframe-address
3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3768 main ()
3772 return 0;
3774 _ACEOF
3775 if ac_fn_c_try_compile "$LINENO"; then :
3776 aros_frame_address="yes"
3777 else
3778 aros_frame_address="no"
3780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3782 $as_echo "$aros_frame_address" >&6; }
3783 if test "x-$aros_frame_address" = "x-yes" ; then
3784 aros_cflags_frame_address=-Wno-frame-address
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3788 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3789 CFLAGS=-Wdeprecated-declarations
3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h. */
3794 main ()
3798 return 0;
3800 _ACEOF
3801 if ac_fn_c_try_compile "$LINENO"; then :
3802 aros_deprecated_declarations="yes"
3803 else
3804 aros_deprecated_declarations="no"
3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
3808 $as_echo "$aros_deprecated_declarations" >&6; }
3809 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
3810 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
3814 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
3815 CFLAGS=-Wsign-compare
3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817 /* end confdefs.h. */
3820 main ()
3824 return 0;
3826 _ACEOF
3827 if ac_fn_c_try_compile "$LINENO"; then :
3828 aros_sign_compare="yes"
3829 else
3830 aros_sign_compare="no"
3832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
3834 $as_echo "$aros_sign_compare" >&6; }
3835 if test "x-$aros_sign_compare" = "x-yes" ; then
3836 aros_cflags_sign_compare=-Wno-sign-compare
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
3840 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
3841 CFLAGS=-Wattributes
3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3843 /* end confdefs.h. */
3846 main ()
3850 return 0;
3852 _ACEOF
3853 if ac_fn_c_try_compile "$LINENO"; then :
3854 aros_attributes="yes"
3855 else
3856 aros_attributes="no"
3858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
3860 $as_echo "$aros_attributes" >&6; }
3861 if test "x-$aros_attributes" = "x-yes" ; then
3862 aros_cflags_attributes=-Wno-attributes
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
3866 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
3867 CFLAGS=-Woverflow
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3872 main ()
3876 return 0;
3878 _ACEOF
3879 if ac_fn_c_try_compile "$LINENO"; then :
3880 aros_overflow="yes"
3881 else
3882 aros_overflow="no"
3884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
3886 $as_echo "$aros_overflow" >&6; }
3887 if test "x-$aros_overflow" = "x-yes" ; then
3888 aros_cflags_overflow=-Wno-overflow
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
3892 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
3893 CFLAGS=-Wunused-local-typedefs
3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h. */
3898 main ()
3902 return 0;
3904 _ACEOF
3905 if ac_fn_c_try_compile "$LINENO"; then :
3906 aros_unused_local_typedefs="yes"
3907 else
3908 aros_unused_local_typedefs="no"
3910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
3912 $as_echo "$aros_unused_local_typedefs" >&6; }
3913 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
3914 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
3918 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
3919 CFLAGS=-Wmissing-braces
3920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3921 /* end confdefs.h. */
3924 main ()
3928 return 0;
3930 _ACEOF
3931 if ac_fn_c_try_compile "$LINENO"; then :
3932 aros_missing_braces="yes"
3933 else
3934 aros_missing_braces="no"
3936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
3938 $as_echo "$aros_missing_braces" >&6; }
3939 if test "x-$aros_missing_braces" = "x-yes" ; then
3940 aros_cflags_missing_braces=-Wno-missing-braces
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
3944 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
3945 CFLAGS=-Wconversion-null
3946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3947 /* end confdefs.h. */
3950 main ()
3954 return 0;
3956 _ACEOF
3957 if ac_fn_c_try_compile "$LINENO"; then :
3958 aros_conversion_null="yes"
3959 else
3960 aros_conversion_null="no"
3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
3964 $as_echo "$aros_conversion_null" >&6; }
3965 if test "x-$aros_conversion_null" = "x-yes" ; then
3966 aros_cflags_conversion_null=-Wno-conversion-null
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
3970 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
3971 CFLAGS=-Wnarrowing
3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3976 main ()
3980 return 0;
3982 _ACEOF
3983 if ac_fn_c_try_compile "$LINENO"; then :
3984 aros_narrowing="yes"
3985 else
3986 aros_narrowing="no"
3988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
3990 $as_echo "$aros_narrowing" >&6; }
3991 if test "x-$aros_narrowing" = "x-yes" ; then
3992 aros_cflags_narrowing=-Wno-narrowing
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
3996 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
3997 CFLAGS=-Wvolatile-register-var
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4002 main ()
4006 return 0;
4008 _ACEOF
4009 if ac_fn_c_try_compile "$LINENO"; then :
4010 aros_volatile_register_var="yes"
4011 else
4012 aros_volatile_register_var="no"
4014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
4016 $as_echo "$aros_volatile_register_var" >&6; }
4017 if test "x-$aros_volatile_register_var" = "x-yes" ; then
4018 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4075 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in"
4078 cat >confcache <<\_ACEOF
4079 # This file is a shell script that caches the results of configure
4080 # tests run on this system so they can be shared between configure
4081 # scripts and configure runs, see configure's option --config-cache.
4082 # It is not useful on other systems. If it contains results you don't
4083 # want to keep, you may remove or edit it.
4085 # config.status only pays attention to the cache file if you give it
4086 # the --recheck option to rerun configure.
4088 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4089 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4090 # following values.
4092 _ACEOF
4094 # The following way of writing the cache mishandles newlines in values,
4095 # but we know of no workaround that is simple, portable, and efficient.
4096 # So, we kill variables containing newlines.
4097 # Ultrix sh set writes to stderr and can't be redirected directly,
4098 # and sets the high bit in the cache file unless we assign to the vars.
4100 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4101 eval ac_val=\$$ac_var
4102 case $ac_val in #(
4103 *${as_nl}*)
4104 case $ac_var in #(
4105 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4106 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4107 esac
4108 case $ac_var in #(
4109 _ | IFS | as_nl) ;; #(
4110 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4111 *) { eval $ac_var=; unset $ac_var;} ;;
4112 esac ;;
4113 esac
4114 done
4116 (set) 2>&1 |
4117 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4118 *${as_nl}ac_space=\ *)
4119 # `set' does not quote correctly, so add quotes: double-quote
4120 # substitution turns \\\\ into \\, and sed turns \\ into \.
4121 sed -n \
4122 "s/'/'\\\\''/g;
4123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4124 ;; #(
4126 # `set' quotes correctly as required by POSIX, so do not add quotes.
4127 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4129 esac |
4130 sort
4132 sed '
4133 /^ac_cv_env_/b end
4134 t clear
4135 :clear
4136 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4137 t end
4138 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4139 :end' >>confcache
4140 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4141 if test -w "$cache_file"; then
4142 if test "x$cache_file" != "x/dev/null"; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4144 $as_echo "$as_me: updating cache $cache_file" >&6;}
4145 if test ! -f "$cache_file" || test -h "$cache_file"; then
4146 cat confcache >"$cache_file"
4147 else
4148 case $cache_file in #(
4149 */* | ?:*)
4150 mv -f confcache "$cache_file"$$ &&
4151 mv -f "$cache_file"$$ "$cache_file" ;; #(
4153 mv -f confcache "$cache_file" ;;
4154 esac
4157 else
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4159 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4162 rm -f confcache
4164 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4165 # Let make expand exec_prefix.
4166 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4168 # Transform confdefs.h into DEFS.
4169 # Protect against shell expansion while executing Makefile rules.
4170 # Protect against Makefile macro expansion.
4172 # If the first sed substitution is executed (which looks for macros that
4173 # take arguments), then branch to the quote section. Otherwise,
4174 # look for a macro that doesn't take arguments.
4175 ac_script='
4176 :mline
4177 /\\$/{
4179 s,\\\n,,
4180 b mline
4182 t clear
4183 :clear
4184 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4185 t quote
4186 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4187 t quote
4188 b any
4189 :quote
4190 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4191 s/\[/\\&/g
4192 s/\]/\\&/g
4193 s/\$/$$/g
4195 :any
4198 s/^\n//
4199 s/\n/ /g
4203 DEFS=`sed -n "$ac_script" confdefs.h`
4206 ac_libobjs=
4207 ac_ltlibobjs=
4209 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4210 # 1. Remove the extension, and $U if already installed.
4211 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4212 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4213 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4214 # will be set to the directory where LIBOBJS objects are built.
4215 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4216 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4217 done
4218 LIBOBJS=$ac_libobjs
4220 LTLIBOBJS=$ac_ltlibobjs
4224 : "${CONFIG_STATUS=./config.status}"
4225 ac_write_fail=0
4226 ac_clean_files_save=$ac_clean_files
4227 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4229 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4230 as_write_fail=0
4231 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4232 #! $SHELL
4233 # Generated by $as_me.
4234 # Run this file to recreate the current configuration.
4235 # Compiler output produced by configure, useful for debugging
4236 # configure, is in config.log if it exists.
4238 debug=false
4239 ac_cs_recheck=false
4240 ac_cs_silent=false
4242 SHELL=\${CONFIG_SHELL-$SHELL}
4243 export SHELL
4244 _ASEOF
4245 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4246 ## -------------------- ##
4247 ## M4sh Initialization. ##
4248 ## -------------------- ##
4250 # Be more Bourne compatible
4251 DUALCASE=1; export DUALCASE # for MKS sh
4252 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4253 emulate sh
4254 NULLCMD=:
4255 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4256 # is contrary to our usage. Disable this feature.
4257 alias -g '${1+"$@"}'='"$@"'
4258 setopt NO_GLOB_SUBST
4259 else
4260 case `(set -o) 2>/dev/null` in #(
4261 *posix*) :
4262 set -o posix ;; #(
4263 *) :
4265 esac
4269 as_nl='
4271 export as_nl
4272 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4273 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4274 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4275 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4276 # Prefer a ksh shell builtin over an external printf program on Solaris,
4277 # but without wasting forks for bash or zsh.
4278 if test -z "$BASH_VERSION$ZSH_VERSION" \
4279 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4280 as_echo='print -r --'
4281 as_echo_n='print -rn --'
4282 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4283 as_echo='printf %s\n'
4284 as_echo_n='printf %s'
4285 else
4286 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4287 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4288 as_echo_n='/usr/ucb/echo -n'
4289 else
4290 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4291 as_echo_n_body='eval
4292 arg=$1;
4293 case $arg in #(
4294 *"$as_nl"*)
4295 expr "X$arg" : "X\\(.*\\)$as_nl";
4296 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4297 esac;
4298 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4300 export as_echo_n_body
4301 as_echo_n='sh -c $as_echo_n_body as_echo'
4303 export as_echo_body
4304 as_echo='sh -c $as_echo_body as_echo'
4307 # The user is always right.
4308 if test "${PATH_SEPARATOR+set}" != set; then
4309 PATH_SEPARATOR=:
4310 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4311 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4312 PATH_SEPARATOR=';'
4317 # IFS
4318 # We need space, tab and new line, in precisely that order. Quoting is
4319 # there to prevent editors from complaining about space-tab.
4320 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4321 # splitting by setting IFS to empty value.)
4322 IFS=" "" $as_nl"
4324 # Find who we are. Look in the path if we contain no directory separator.
4325 as_myself=
4326 case $0 in #((
4327 *[\\/]* ) as_myself=$0 ;;
4328 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329 for as_dir in $PATH
4331 IFS=$as_save_IFS
4332 test -z "$as_dir" && as_dir=.
4333 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4334 done
4335 IFS=$as_save_IFS
4338 esac
4339 # We did not find ourselves, most probably we were run as `sh COMMAND'
4340 # in which case we are not to be found in the path.
4341 if test "x$as_myself" = x; then
4342 as_myself=$0
4344 if test ! -f "$as_myself"; then
4345 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4346 exit 1
4349 # Unset variables that we do not need and which cause bugs (e.g. in
4350 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4351 # suppresses any "Segmentation fault" message there. '((' could
4352 # trigger a bug in pdksh 5.2.14.
4353 for as_var in BASH_ENV ENV MAIL MAILPATH
4354 do eval test x\${$as_var+set} = xset \
4355 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4356 done
4357 PS1='$ '
4358 PS2='> '
4359 PS4='+ '
4361 # NLS nuisances.
4362 LC_ALL=C
4363 export LC_ALL
4364 LANGUAGE=C
4365 export LANGUAGE
4367 # CDPATH.
4368 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4372 # ----------------------------------------
4373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4375 # script with STATUS, using 1 if that was 0.
4376 as_fn_error ()
4378 as_status=$1; test $as_status -eq 0 && as_status=1
4379 if test "$4"; then
4380 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4381 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4383 $as_echo "$as_me: error: $2" >&2
4384 as_fn_exit $as_status
4385 } # as_fn_error
4388 # as_fn_set_status STATUS
4389 # -----------------------
4390 # Set $? to STATUS, without forking.
4391 as_fn_set_status ()
4393 return $1
4394 } # as_fn_set_status
4396 # as_fn_exit STATUS
4397 # -----------------
4398 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4399 as_fn_exit ()
4401 set +e
4402 as_fn_set_status $1
4403 exit $1
4404 } # as_fn_exit
4406 # as_fn_unset VAR
4407 # ---------------
4408 # Portably unset VAR.
4409 as_fn_unset ()
4411 { eval $1=; unset $1;}
4413 as_unset=as_fn_unset
4414 # as_fn_append VAR VALUE
4415 # ----------------------
4416 # Append the text in VALUE to the end of the definition contained in VAR. Take
4417 # advantage of any shell optimizations that allow amortized linear growth over
4418 # repeated appends, instead of the typical quadratic growth present in naive
4419 # implementations.
4420 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4421 eval 'as_fn_append ()
4423 eval $1+=\$2
4425 else
4426 as_fn_append ()
4428 eval $1=\$$1\$2
4430 fi # as_fn_append
4432 # as_fn_arith ARG...
4433 # ------------------
4434 # Perform arithmetic evaluation on the ARGs, and store the result in the
4435 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4436 # must be portable across $(()) and expr.
4437 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4438 eval 'as_fn_arith ()
4440 as_val=$(( $* ))
4442 else
4443 as_fn_arith ()
4445 as_val=`expr "$@" || test $? -eq 1`
4447 fi # as_fn_arith
4450 if expr a : '\(a\)' >/dev/null 2>&1 &&
4451 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4452 as_expr=expr
4453 else
4454 as_expr=false
4457 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4458 as_basename=basename
4459 else
4460 as_basename=false
4463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4464 as_dirname=dirname
4465 else
4466 as_dirname=false
4469 as_me=`$as_basename -- "$0" ||
4470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4471 X"$0" : 'X\(//\)$' \| \
4472 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4473 $as_echo X/"$0" |
4474 sed '/^.*\/\([^/][^/]*\)\/*$/{
4475 s//\1/
4478 /^X\/\(\/\/\)$/{
4479 s//\1/
4482 /^X\/\(\/\).*/{
4483 s//\1/
4486 s/.*/./; q'`
4488 # Avoid depending upon Character Ranges.
4489 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4490 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4491 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4492 as_cr_digits='0123456789'
4493 as_cr_alnum=$as_cr_Letters$as_cr_digits
4495 ECHO_C= ECHO_N= ECHO_T=
4496 case `echo -n x` in #(((((
4497 -n*)
4498 case `echo 'xy\c'` in
4499 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4500 xy) ECHO_C='\c';;
4501 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4502 ECHO_T=' ';;
4503 esac;;
4505 ECHO_N='-n';;
4506 esac
4508 rm -f conf$$ conf$$.exe conf$$.file
4509 if test -d conf$$.dir; then
4510 rm -f conf$$.dir/conf$$.file
4511 else
4512 rm -f conf$$.dir
4513 mkdir conf$$.dir 2>/dev/null
4515 if (echo >conf$$.file) 2>/dev/null; then
4516 if ln -s conf$$.file conf$$ 2>/dev/null; then
4517 as_ln_s='ln -s'
4518 # ... but there are two gotchas:
4519 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4520 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4521 # In both cases, we have to default to `cp -pR'.
4522 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4523 as_ln_s='cp -pR'
4524 elif ln conf$$.file conf$$ 2>/dev/null; then
4525 as_ln_s=ln
4526 else
4527 as_ln_s='cp -pR'
4529 else
4530 as_ln_s='cp -pR'
4532 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4533 rmdir conf$$.dir 2>/dev/null
4536 # as_fn_mkdir_p
4537 # -------------
4538 # Create "$as_dir" as a directory, including parents if necessary.
4539 as_fn_mkdir_p ()
4542 case $as_dir in #(
4543 -*) as_dir=./$as_dir;;
4544 esac
4545 test -d "$as_dir" || eval $as_mkdir_p || {
4546 as_dirs=
4547 while :; do
4548 case $as_dir in #(
4549 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4550 *) as_qdir=$as_dir;;
4551 esac
4552 as_dirs="'$as_qdir' $as_dirs"
4553 as_dir=`$as_dirname -- "$as_dir" ||
4554 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4555 X"$as_dir" : 'X\(//\)[^/]' \| \
4556 X"$as_dir" : 'X\(//\)$' \| \
4557 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4558 $as_echo X"$as_dir" |
4559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4560 s//\1/
4563 /^X\(\/\/\)[^/].*/{
4564 s//\1/
4567 /^X\(\/\/\)$/{
4568 s//\1/
4571 /^X\(\/\).*/{
4572 s//\1/
4575 s/.*/./; q'`
4576 test -d "$as_dir" && break
4577 done
4578 test -z "$as_dirs" || eval "mkdir $as_dirs"
4579 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4582 } # as_fn_mkdir_p
4583 if mkdir -p . 2>/dev/null; then
4584 as_mkdir_p='mkdir -p "$as_dir"'
4585 else
4586 test -d ./-p && rmdir ./-p
4587 as_mkdir_p=false
4591 # as_fn_executable_p FILE
4592 # -----------------------
4593 # Test if FILE is an executable regular file.
4594 as_fn_executable_p ()
4596 test -f "$1" && test -x "$1"
4597 } # as_fn_executable_p
4598 as_test_x='test -x'
4599 as_executable_p=as_fn_executable_p
4601 # Sed expression to map a string onto a valid CPP name.
4602 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4604 # Sed expression to map a string onto a valid variable name.
4605 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4608 exec 6>&1
4609 ## ----------------------------------- ##
4610 ## Main body of $CONFIG_STATUS script. ##
4611 ## ----------------------------------- ##
4612 _ASEOF
4613 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4616 # Save the log message, to keep $0 and so on meaningful, and to
4617 # report actual input values of CONFIG_FILES etc. instead of their
4618 # values after options handling.
4619 ac_log="
4620 This file was extended by $as_me, which was
4621 generated by GNU Autoconf 2.69. Invocation command line was
4623 CONFIG_FILES = $CONFIG_FILES
4624 CONFIG_HEADERS = $CONFIG_HEADERS
4625 CONFIG_LINKS = $CONFIG_LINKS
4626 CONFIG_COMMANDS = $CONFIG_COMMANDS
4627 $ $0 $@
4629 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4632 _ACEOF
4634 case $ac_config_files in *"
4635 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4636 esac
4640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4641 # Files that config.status was made for.
4642 config_files="$ac_config_files"
4644 _ACEOF
4646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4647 ac_cs_usage="\
4648 \`$as_me' instantiates files and other configuration actions
4649 from templates according to the current configuration. Unless the files
4650 and actions are specified as TAGs, all are instantiated by default.
4652 Usage: $0 [OPTION]... [TAG]...
4654 -h, --help print this help, then exit
4655 -V, --version print version number and configuration settings, then exit
4656 --config print configuration, then exit
4657 -q, --quiet, --silent
4658 do not print progress messages
4659 -d, --debug don't remove temporary files
4660 --recheck update $as_me by reconfiguring in the same conditions
4661 --file=FILE[:TEMPLATE]
4662 instantiate the configuration file FILE
4664 Configuration files:
4665 $config_files
4667 Report bugs to the package provider."
4669 _ACEOF
4670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4671 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4672 ac_cs_version="\\
4673 config.status
4674 configured by $0, generated by GNU Autoconf 2.69,
4675 with options \\"\$ac_cs_config\\"
4677 Copyright (C) 2012 Free Software Foundation, Inc.
4678 This config.status script is free software; the Free Software Foundation
4679 gives unlimited permission to copy, distribute and modify it."
4681 ac_pwd='$ac_pwd'
4682 srcdir='$srcdir'
4683 test -n "\$AWK" || AWK=awk
4684 _ACEOF
4686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4687 # The default lists apply if the user does not specify any file.
4688 ac_need_defaults=:
4689 while test $# != 0
4691 case $1 in
4692 --*=?*)
4693 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4694 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4695 ac_shift=:
4697 --*=)
4698 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4699 ac_optarg=
4700 ac_shift=:
4703 ac_option=$1
4704 ac_optarg=$2
4705 ac_shift=shift
4707 esac
4709 case $ac_option in
4710 # Handling of the options.
4711 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4712 ac_cs_recheck=: ;;
4713 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4714 $as_echo "$ac_cs_version"; exit ;;
4715 --config | --confi | --conf | --con | --co | --c )
4716 $as_echo "$ac_cs_config"; exit ;;
4717 --debug | --debu | --deb | --de | --d | -d )
4718 debug=: ;;
4719 --file | --fil | --fi | --f )
4720 $ac_shift
4721 case $ac_optarg in
4722 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4723 '') as_fn_error $? "missing file argument" ;;
4724 esac
4725 as_fn_append CONFIG_FILES " '$ac_optarg'"
4726 ac_need_defaults=false;;
4727 --he | --h | --help | --hel | -h )
4728 $as_echo "$ac_cs_usage"; exit ;;
4729 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4730 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4731 ac_cs_silent=: ;;
4733 # This is an error.
4734 -*) as_fn_error $? "unrecognized option: \`$1'
4735 Try \`$0 --help' for more information." ;;
4737 *) as_fn_append ac_config_targets " $1"
4738 ac_need_defaults=false ;;
4740 esac
4741 shift
4742 done
4744 ac_configure_extra_args=
4746 if $ac_cs_silent; then
4747 exec 6>/dev/null
4748 ac_configure_extra_args="$ac_configure_extra_args --silent"
4751 _ACEOF
4752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4753 if \$ac_cs_recheck; then
4754 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4755 shift
4756 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4757 CONFIG_SHELL='$SHELL'
4758 export CONFIG_SHELL
4759 exec "\$@"
4762 _ACEOF
4763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4764 exec 5>>config.log
4766 echo
4767 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4768 ## Running $as_me. ##
4769 _ASBOX
4770 $as_echo "$ac_log"
4771 } >&5
4773 _ACEOF
4774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4775 _ACEOF
4777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4779 # Handling of arguments.
4780 for ac_config_target in $ac_config_targets
4782 case $ac_config_target in
4783 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in" ;;
4785 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4786 esac
4787 done
4790 # If the user did not use the arguments to specify the items to instantiate,
4791 # then the envvar interface is used. Set only those that are not.
4792 # We use the long form for the default assignment because of an extremely
4793 # bizarre bug on SunOS 4.1.3.
4794 if $ac_need_defaults; then
4795 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4798 # Have a temporary directory for convenience. Make it in the build tree
4799 # simply because there is no reason against having it here, and in addition,
4800 # creating and moving files from /tmp can sometimes cause problems.
4801 # Hook for its removal unless debugging.
4802 # Note that there is a small window in which the directory will not be cleaned:
4803 # after its creation but before its name has been assigned to `$tmp'.
4804 $debug ||
4806 tmp= ac_tmp=
4807 trap 'exit_status=$?
4808 : "${ac_tmp:=$tmp}"
4809 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4811 trap 'as_fn_exit 1' 1 2 13 15
4813 # Create a (secure) tmp directory for tmp files.
4816 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4817 test -d "$tmp"
4818 } ||
4820 tmp=./conf$$-$RANDOM
4821 (umask 077 && mkdir "$tmp")
4822 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4823 ac_tmp=$tmp
4825 # Set up the scripts for CONFIG_FILES section.
4826 # No need to generate them if there are no CONFIG_FILES.
4827 # This happens for instance with `./config.status config.h'.
4828 if test -n "$CONFIG_FILES"; then
4831 ac_cr=`echo X | tr X '\015'`
4832 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4833 # But we know of no other shell where ac_cr would be empty at this
4834 # point, so we can use a bashism as a fallback.
4835 if test "x$ac_cr" = x; then
4836 eval ac_cr=\$\'\\r\'
4838 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4839 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4840 ac_cs_awk_cr='\\r'
4841 else
4842 ac_cs_awk_cr=$ac_cr
4845 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4846 _ACEOF
4850 echo "cat >conf$$subs.awk <<_ACEOF" &&
4851 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4852 echo "_ACEOF"
4853 } >conf$$subs.sh ||
4854 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4855 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4856 ac_delim='%!_!# '
4857 for ac_last_try in false false false false false :; do
4858 . ./conf$$subs.sh ||
4859 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4861 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4862 if test $ac_delim_n = $ac_delim_num; then
4863 break
4864 elif $ac_last_try; then
4865 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4866 else
4867 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4869 done
4870 rm -f conf$$subs.sh
4872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4873 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4874 _ACEOF
4875 sed -n '
4877 s/^/S["/; s/!.*/"]=/
4880 s/^[^!]*!//
4881 :repl
4882 t repl
4883 s/'"$ac_delim"'$//
4884 t delim
4887 s/\(.\{148\}\)..*/\1/
4888 t more1
4889 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4892 b repl
4893 :more1
4894 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4897 s/.\{148\}//
4898 t nl
4899 :delim
4901 s/\(.\{148\}\)..*/\1/
4902 t more2
4903 s/["\\]/\\&/g; s/^/"/; s/$/"/
4906 :more2
4907 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4910 s/.\{148\}//
4911 t delim
4912 ' <conf$$subs.awk | sed '
4913 /^[^""]/{
4915 s/\n//
4917 ' >>$CONFIG_STATUS || ac_write_fail=1
4918 rm -f conf$$subs.awk
4919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4920 _ACAWK
4921 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4922 for (key in S) S_is_set[key] = 1
4923 FS = "\a"
4927 line = $ 0
4928 nfields = split(line, field, "@")
4929 substed = 0
4930 len = length(field[1])
4931 for (i = 2; i < nfields; i++) {
4932 key = field[i]
4933 keylen = length(key)
4934 if (S_is_set[key]) {
4935 value = S[key]
4936 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4937 len += length(value) + length(field[++i])
4938 substed = 1
4939 } else
4940 len += 1 + keylen
4943 print line
4946 _ACAWK
4947 _ACEOF
4948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4949 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4950 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4951 else
4953 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4954 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4955 _ACEOF
4957 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4958 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4959 # trailing colons and then remove the whole line if VPATH becomes empty
4960 # (actually we leave an empty line to preserve line numbers).
4961 if test "x$srcdir" = x.; then
4962 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4964 s///
4965 s/^/:/
4966 s/[ ]*$/:/
4967 s/:\$(srcdir):/:/g
4968 s/:\${srcdir}:/:/g
4969 s/:@srcdir@:/:/g
4970 s/^:*//
4971 s/:*$//
4973 s/\(=[ ]*\).*/\1/
4975 s/\n//
4976 s/^[^=]*=[ ]*$//
4980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4981 fi # test -n "$CONFIG_FILES"
4984 eval set X " :F $CONFIG_FILES "
4985 shift
4986 for ac_tag
4988 case $ac_tag in
4989 :[FHLC]) ac_mode=$ac_tag; continue;;
4990 esac
4991 case $ac_mode$ac_tag in
4992 :[FHL]*:*);;
4993 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4994 :[FH]-) ac_tag=-:-;;
4995 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4996 esac
4997 ac_save_IFS=$IFS
4998 IFS=:
4999 set x $ac_tag
5000 IFS=$ac_save_IFS
5001 shift
5002 ac_file=$1
5003 shift
5005 case $ac_mode in
5006 :L) ac_source=$1;;
5007 :[FH])
5008 ac_file_inputs=
5009 for ac_f
5011 case $ac_f in
5012 -) ac_f="$ac_tmp/stdin";;
5013 *) # Look for the file first in the build tree, then in the source tree
5014 # (if the path is not absolute). The absolute path cannot be DOS-style,
5015 # because $ac_f cannot contain `:'.
5016 test -f "$ac_f" ||
5017 case $ac_f in
5018 [\\/$]*) false;;
5019 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5020 esac ||
5021 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5022 esac
5023 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5024 as_fn_append ac_file_inputs " '$ac_f'"
5025 done
5027 # Let's still pretend it is `configure' which instantiates (i.e., don't
5028 # use $as_me), people would be surprised to read:
5029 # /* config.h. Generated by config.status. */
5030 configure_input='Generated from '`
5031 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5032 `' by configure.'
5033 if test x"$ac_file" != x-; then
5034 configure_input="$ac_file. $configure_input"
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5036 $as_echo "$as_me: creating $ac_file" >&6;}
5038 # Neutralize special characters interpreted by sed in replacement strings.
5039 case $configure_input in #(
5040 *\&* | *\|* | *\\* )
5041 ac_sed_conf_input=`$as_echo "$configure_input" |
5042 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5043 *) ac_sed_conf_input=$configure_input;;
5044 esac
5046 case $ac_tag in
5047 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5048 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5049 esac
5051 esac
5053 ac_dir=`$as_dirname -- "$ac_file" ||
5054 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5055 X"$ac_file" : 'X\(//\)[^/]' \| \
5056 X"$ac_file" : 'X\(//\)$' \| \
5057 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5058 $as_echo X"$ac_file" |
5059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5060 s//\1/
5063 /^X\(\/\/\)[^/].*/{
5064 s//\1/
5067 /^X\(\/\/\)$/{
5068 s//\1/
5071 /^X\(\/\).*/{
5072 s//\1/
5075 s/.*/./; q'`
5076 as_dir="$ac_dir"; as_fn_mkdir_p
5077 ac_builddir=.
5079 case "$ac_dir" in
5080 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5082 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5083 # A ".." for each directory in $ac_dir_suffix.
5084 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5085 case $ac_top_builddir_sub in
5086 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5087 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5088 esac ;;
5089 esac
5090 ac_abs_top_builddir=$ac_pwd
5091 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5092 # for backward compatibility:
5093 ac_top_builddir=$ac_top_build_prefix
5095 case $srcdir in
5096 .) # We are building in place.
5097 ac_srcdir=.
5098 ac_top_srcdir=$ac_top_builddir_sub
5099 ac_abs_top_srcdir=$ac_pwd ;;
5100 [\\/]* | ?:[\\/]* ) # Absolute name.
5101 ac_srcdir=$srcdir$ac_dir_suffix;
5102 ac_top_srcdir=$srcdir
5103 ac_abs_top_srcdir=$srcdir ;;
5104 *) # Relative name.
5105 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5106 ac_top_srcdir=$ac_top_build_prefix$srcdir
5107 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5108 esac
5109 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5112 case $ac_mode in
5115 # CONFIG_FILE
5118 _ACEOF
5120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5121 # If the template does not know about datarootdir, expand it.
5122 # FIXME: This hack should be removed a few years after 2.60.
5123 ac_datarootdir_hack=; ac_datarootdir_seen=
5124 ac_sed_dataroot='
5125 /datarootdir/ {
5129 /@datadir@/p
5130 /@docdir@/p
5131 /@infodir@/p
5132 /@localedir@/p
5133 /@mandir@/p'
5134 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5135 *datarootdir*) ac_datarootdir_seen=yes;;
5136 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5138 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5139 _ACEOF
5140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5141 ac_datarootdir_hack='
5142 s&@datadir@&$datadir&g
5143 s&@docdir@&$docdir&g
5144 s&@infodir@&$infodir&g
5145 s&@localedir@&$localedir&g
5146 s&@mandir@&$mandir&g
5147 s&\\\${datarootdir}&$datarootdir&g' ;;
5148 esac
5149 _ACEOF
5151 # Neutralize VPATH when `$srcdir' = `.'.
5152 # Shell code in configure.ac might set extrasub.
5153 # FIXME: do we really want to maintain this feature?
5154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5155 ac_sed_extra="$ac_vpsub
5156 $extrasub
5157 _ACEOF
5158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5160 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5161 s|@configure_input@|$ac_sed_conf_input|;t t
5162 s&@top_builddir@&$ac_top_builddir_sub&;t t
5163 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5164 s&@srcdir@&$ac_srcdir&;t t
5165 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5166 s&@top_srcdir@&$ac_top_srcdir&;t t
5167 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5168 s&@builddir@&$ac_builddir&;t t
5169 s&@abs_builddir@&$ac_abs_builddir&;t t
5170 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5171 $ac_datarootdir_hack
5173 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5174 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5176 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5177 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5178 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5179 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5181 which seems to be undefined. Please make sure it is defined" >&5
5182 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5183 which seems to be undefined. Please make sure it is defined" >&2;}
5185 rm -f "$ac_tmp/stdin"
5186 case $ac_file in
5187 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5188 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5189 esac \
5190 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5195 esac
5197 done # for ac_tag
5200 as_fn_exit 0
5201 _ACEOF
5202 ac_clean_files=$ac_clean_files_save
5204 test $ac_write_fail = 0 ||
5205 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5208 # configure is writing to config.log, and then calls config.status.
5209 # config.status does its own redirection, appending to config.log.
5210 # Unfortunately, on DOS this fails, as config.log is still kept open
5211 # by configure, so config.status won't be able to write to it; its
5212 # output is simply discarded. So we exec the FD to /dev/null,
5213 # effectively closing config.log, so it can be properly (re)opened and
5214 # appended to by config.status. When coming back to configure, we
5215 # need to make the FD available again.
5216 if test "$no_create" != yes; then
5217 ac_cs_success=:
5218 ac_config_status_args=
5219 test "$silent" = yes &&
5220 ac_config_status_args="$ac_config_status_args --quiet"
5221 exec 5>/dev/null
5222 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5223 exec 5>>config.log
5224 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5225 # would make configure fail if this is the last instruction.
5226 $ac_cs_success || as_fn_exit 1
5228 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5230 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}