Moved icons of Palette prefs editor to the usual place.
[AROS.git] / features
blobc797e6182867d6a020894ffd7d85502d555fe525
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 OBJEXT
638 EXEEXT
639 ac_ct_CC
640 CPPFLAGS
641 LDFLAGS
642 CFLAGS
644 target_alias
645 host_alias
646 build_alias
647 LIBS
648 ECHO_T
649 ECHO_N
650 ECHO_C
651 DEFS
652 mandir
653 localedir
654 libdir
655 psdir
656 pdfdir
657 dvidir
658 htmldir
659 infodir
660 docdir
661 oldincludedir
662 includedir
663 localstatedir
664 sharedstatedir
665 sysconfdir
666 datadir
667 datarootdir
668 libexecdir
669 sbindir
670 bindir
671 program_transform_name
672 prefix
673 exec_prefix
674 PACKAGE_URL
675 PACKAGE_BUGREPORT
676 PACKAGE_STRING
677 PACKAGE_VERSION
678 PACKAGE_TARNAME
679 PACKAGE_NAME
680 PATH_SEPARATOR
681 SHELL'
682 ac_subst_files=''
683 ac_user_opts='
684 enable_option_checking
685 with_config_dir
687 ac_precious_vars='build_alias
688 host_alias
689 target_alias
691 CFLAGS
692 LDFLAGS
693 LIBS
694 CPPFLAGS'
697 # Initialize some variables set by options.
698 ac_init_help=
699 ac_init_version=false
700 ac_unrecognized_opts=
701 ac_unrecognized_sep=
702 # The variables have the same names as the options, with
703 # dashes changed to underlines.
704 cache_file=/dev/null
705 exec_prefix=NONE
706 no_create=
707 no_recursion=
708 prefix=NONE
709 program_prefix=NONE
710 program_suffix=NONE
711 program_transform_name=s,x,x,
712 silent=
713 site=
714 srcdir=
715 verbose=
716 x_includes=NONE
717 x_libraries=NONE
719 # Installation directory options.
720 # These are left unexpanded so users can "make install exec_prefix=/foo"
721 # and all the variables that are supposed to be based on exec_prefix
722 # by default will actually change.
723 # Use braces instead of parens because sh, perl, etc. also accept them.
724 # (The list follows the same order as the GNU Coding Standards.)
725 bindir='${exec_prefix}/bin'
726 sbindir='${exec_prefix}/sbin'
727 libexecdir='${exec_prefix}/libexec'
728 datarootdir='${prefix}/share'
729 datadir='${datarootdir}'
730 sysconfdir='${prefix}/etc'
731 sharedstatedir='${prefix}/com'
732 localstatedir='${prefix}/var'
733 includedir='${prefix}/include'
734 oldincludedir='/usr/include'
735 docdir='${datarootdir}/doc/${PACKAGE}'
736 infodir='${datarootdir}/info'
737 htmldir='${docdir}'
738 dvidir='${docdir}'
739 pdfdir='${docdir}'
740 psdir='${docdir}'
741 libdir='${exec_prefix}/lib'
742 localedir='${datarootdir}/locale'
743 mandir='${datarootdir}/man'
745 ac_prev=
746 ac_dashdash=
747 for ac_option
749 # If the previous option needs an argument, assign it.
750 if test -n "$ac_prev"; then
751 eval $ac_prev=\$ac_option
752 ac_prev=
753 continue
756 case $ac_option in
757 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758 *=) ac_optarg= ;;
759 *) ac_optarg=yes ;;
760 esac
762 # Accept the important Cygnus configure options, so we can diagnose typos.
764 case $ac_dashdash$ac_option in
766 ac_dashdash=yes ;;
768 -bindir | --bindir | --bindi | --bind | --bin | --bi)
769 ac_prev=bindir ;;
770 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
771 bindir=$ac_optarg ;;
773 -build | --build | --buil | --bui | --bu)
774 ac_prev=build_alias ;;
775 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
776 build_alias=$ac_optarg ;;
778 -cache-file | --cache-file | --cache-fil | --cache-fi \
779 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
780 ac_prev=cache_file ;;
781 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
782 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
783 cache_file=$ac_optarg ;;
785 --config-cache | -C)
786 cache_file=config.cache ;;
788 -datadir | --datadir | --datadi | --datad)
789 ac_prev=datadir ;;
790 -datadir=* | --datadir=* | --datadi=* | --datad=*)
791 datadir=$ac_optarg ;;
793 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
794 | --dataroo | --dataro | --datar)
795 ac_prev=datarootdir ;;
796 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
797 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
798 datarootdir=$ac_optarg ;;
800 -disable-* | --disable-*)
801 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
802 # Reject names that are not valid shell variable names.
803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
804 as_fn_error $? "invalid feature name: $ac_useropt"
805 ac_useropt_orig=$ac_useropt
806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
807 case $ac_user_opts in
809 "enable_$ac_useropt"
810 "*) ;;
811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
812 ac_unrecognized_sep=', ';;
813 esac
814 eval enable_$ac_useropt=no ;;
816 -docdir | --docdir | --docdi | --doc | --do)
817 ac_prev=docdir ;;
818 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
819 docdir=$ac_optarg ;;
821 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
822 ac_prev=dvidir ;;
823 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
824 dvidir=$ac_optarg ;;
826 -enable-* | --enable-*)
827 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
828 # Reject names that are not valid shell variable names.
829 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
830 as_fn_error $? "invalid feature name: $ac_useropt"
831 ac_useropt_orig=$ac_useropt
832 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833 case $ac_user_opts in
835 "enable_$ac_useropt"
836 "*) ;;
837 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
838 ac_unrecognized_sep=', ';;
839 esac
840 eval enable_$ac_useropt=\$ac_optarg ;;
842 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
843 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
844 | --exec | --exe | --ex)
845 ac_prev=exec_prefix ;;
846 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
847 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
848 | --exec=* | --exe=* | --ex=*)
849 exec_prefix=$ac_optarg ;;
851 -gas | --gas | --ga | --g)
852 # Obsolete; use --with-gas.
853 with_gas=yes ;;
855 -help | --help | --hel | --he | -h)
856 ac_init_help=long ;;
857 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
858 ac_init_help=recursive ;;
859 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
860 ac_init_help=short ;;
862 -host | --host | --hos | --ho)
863 ac_prev=host_alias ;;
864 -host=* | --host=* | --hos=* | --ho=*)
865 host_alias=$ac_optarg ;;
867 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
868 ac_prev=htmldir ;;
869 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
870 | --ht=*)
871 htmldir=$ac_optarg ;;
873 -includedir | --includedir | --includedi | --included | --include \
874 | --includ | --inclu | --incl | --inc)
875 ac_prev=includedir ;;
876 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
877 | --includ=* | --inclu=* | --incl=* | --inc=*)
878 includedir=$ac_optarg ;;
880 -infodir | --infodir | --infodi | --infod | --info | --inf)
881 ac_prev=infodir ;;
882 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
883 infodir=$ac_optarg ;;
885 -libdir | --libdir | --libdi | --libd)
886 ac_prev=libdir ;;
887 -libdir=* | --libdir=* | --libdi=* | --libd=*)
888 libdir=$ac_optarg ;;
890 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
891 | --libexe | --libex | --libe)
892 ac_prev=libexecdir ;;
893 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
894 | --libexe=* | --libex=* | --libe=*)
895 libexecdir=$ac_optarg ;;
897 -localedir | --localedir | --localedi | --localed | --locale)
898 ac_prev=localedir ;;
899 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
900 localedir=$ac_optarg ;;
902 -localstatedir | --localstatedir | --localstatedi | --localstated \
903 | --localstate | --localstat | --localsta | --localst | --locals)
904 ac_prev=localstatedir ;;
905 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
906 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
907 localstatedir=$ac_optarg ;;
909 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
910 ac_prev=mandir ;;
911 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
912 mandir=$ac_optarg ;;
914 -nfp | --nfp | --nf)
915 # Obsolete; use --without-fp.
916 with_fp=no ;;
918 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
919 | --no-cr | --no-c | -n)
920 no_create=yes ;;
922 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
923 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
924 no_recursion=yes ;;
926 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
927 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
928 | --oldin | --oldi | --old | --ol | --o)
929 ac_prev=oldincludedir ;;
930 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
931 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
932 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
933 oldincludedir=$ac_optarg ;;
935 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
936 ac_prev=prefix ;;
937 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
938 prefix=$ac_optarg ;;
940 -program-prefix | --program-prefix | --program-prefi | --program-pref \
941 | --program-pre | --program-pr | --program-p)
942 ac_prev=program_prefix ;;
943 -program-prefix=* | --program-prefix=* | --program-prefi=* \
944 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
945 program_prefix=$ac_optarg ;;
947 -program-suffix | --program-suffix | --program-suffi | --program-suff \
948 | --program-suf | --program-su | --program-s)
949 ac_prev=program_suffix ;;
950 -program-suffix=* | --program-suffix=* | --program-suffi=* \
951 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
952 program_suffix=$ac_optarg ;;
954 -program-transform-name | --program-transform-name \
955 | --program-transform-nam | --program-transform-na \
956 | --program-transform-n | --program-transform- \
957 | --program-transform | --program-transfor \
958 | --program-transfo | --program-transf \
959 | --program-trans | --program-tran \
960 | --progr-tra | --program-tr | --program-t)
961 ac_prev=program_transform_name ;;
962 -program-transform-name=* | --program-transform-name=* \
963 | --program-transform-nam=* | --program-transform-na=* \
964 | --program-transform-n=* | --program-transform-=* \
965 | --program-transform=* | --program-transfor=* \
966 | --program-transfo=* | --program-transf=* \
967 | --program-trans=* | --program-tran=* \
968 | --progr-tra=* | --program-tr=* | --program-t=*)
969 program_transform_name=$ac_optarg ;;
971 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
972 ac_prev=pdfdir ;;
973 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
974 pdfdir=$ac_optarg ;;
976 -psdir | --psdir | --psdi | --psd | --ps)
977 ac_prev=psdir ;;
978 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
979 psdir=$ac_optarg ;;
981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
982 | -silent | --silent | --silen | --sile | --sil)
983 silent=yes ;;
985 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
986 ac_prev=sbindir ;;
987 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
988 | --sbi=* | --sb=*)
989 sbindir=$ac_optarg ;;
991 -sharedstatedir | --sharedstatedir | --sharedstatedi \
992 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
993 | --sharedst | --shareds | --shared | --share | --shar \
994 | --sha | --sh)
995 ac_prev=sharedstatedir ;;
996 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
997 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
998 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
999 | --sha=* | --sh=*)
1000 sharedstatedir=$ac_optarg ;;
1002 -site | --site | --sit)
1003 ac_prev=site ;;
1004 -site=* | --site=* | --sit=*)
1005 site=$ac_optarg ;;
1007 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1008 ac_prev=srcdir ;;
1009 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1010 srcdir=$ac_optarg ;;
1012 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1013 | --syscon | --sysco | --sysc | --sys | --sy)
1014 ac_prev=sysconfdir ;;
1015 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1016 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1017 sysconfdir=$ac_optarg ;;
1019 -target | --target | --targe | --targ | --tar | --ta | --t)
1020 ac_prev=target_alias ;;
1021 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1022 target_alias=$ac_optarg ;;
1024 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1025 verbose=yes ;;
1027 -version | --version | --versio | --versi | --vers | -V)
1028 ac_init_version=: ;;
1030 -with-* | --with-*)
1031 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1034 as_fn_error $? "invalid package name: $ac_useropt"
1035 ac_useropt_orig=$ac_useropt
1036 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1039 "with_$ac_useropt"
1040 "*) ;;
1041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1042 ac_unrecognized_sep=', ';;
1043 esac
1044 eval with_$ac_useropt=\$ac_optarg ;;
1046 -without-* | --without-*)
1047 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1048 # Reject names that are not valid shell variable names.
1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1050 as_fn_error $? "invalid package name: $ac_useropt"
1051 ac_useropt_orig=$ac_useropt
1052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053 case $ac_user_opts in
1055 "with_$ac_useropt"
1056 "*) ;;
1057 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1058 ac_unrecognized_sep=', ';;
1059 esac
1060 eval with_$ac_useropt=no ;;
1062 --x)
1063 # Obsolete; use --with-x.
1064 with_x=yes ;;
1066 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1067 | --x-incl | --x-inc | --x-in | --x-i)
1068 ac_prev=x_includes ;;
1069 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1070 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1071 x_includes=$ac_optarg ;;
1073 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1074 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1075 ac_prev=x_libraries ;;
1076 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1077 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1078 x_libraries=$ac_optarg ;;
1080 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1081 Try \`$0 --help' for more information"
1084 *=*)
1085 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1086 # Reject names that are not valid shell variable names.
1087 case $ac_envvar in #(
1088 '' | [0-9]* | *[!_$as_cr_alnum]* )
1089 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1090 esac
1091 eval $ac_envvar=\$ac_optarg
1092 export $ac_envvar ;;
1095 # FIXME: should be removed in autoconf 3.0.
1096 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1097 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1098 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1099 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1102 esac
1103 done
1105 if test -n "$ac_prev"; then
1106 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1107 as_fn_error $? "missing argument to $ac_option"
1110 if test -n "$ac_unrecognized_opts"; then
1111 case $enable_option_checking in
1112 no) ;;
1113 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1114 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1115 esac
1118 # Check all directory arguments for consistency.
1119 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1120 datadir sysconfdir sharedstatedir localstatedir includedir \
1121 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1122 libdir localedir mandir
1124 eval ac_val=\$$ac_var
1125 # Remove trailing slashes.
1126 case $ac_val in
1127 */ )
1128 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1129 eval $ac_var=\$ac_val;;
1130 esac
1131 # Be sure to have absolute directory names.
1132 case $ac_val in
1133 [\\/$]* | ?:[\\/]* ) continue;;
1134 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1135 esac
1136 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1137 done
1139 # There might be people who depend on the old broken behavior: `$host'
1140 # used to hold the argument of --host etc.
1141 # FIXME: To remove some day.
1142 build=$build_alias
1143 host=$host_alias
1144 target=$target_alias
1146 # FIXME: To remove some day.
1147 if test "x$host_alias" != x; then
1148 if test "x$build_alias" = x; then
1149 cross_compiling=maybe
1150 elif test "x$build_alias" != "x$host_alias"; then
1151 cross_compiling=yes
1155 ac_tool_prefix=
1156 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1158 test "$silent" = yes && exec 6>/dev/null
1161 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1162 ac_ls_di=`ls -di .` &&
1163 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1164 as_fn_error $? "working directory cannot be determined"
1165 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1166 as_fn_error $? "pwd does not report name of working directory"
1169 # Find the source files, if location was not specified.
1170 if test -z "$srcdir"; then
1171 ac_srcdir_defaulted=yes
1172 # Try the directory containing this script, then the parent directory.
1173 ac_confdir=`$as_dirname -- "$as_myself" ||
1174 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1175 X"$as_myself" : 'X\(//\)[^/]' \| \
1176 X"$as_myself" : 'X\(//\)$' \| \
1177 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1178 $as_echo X"$as_myself" |
1179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1180 s//\1/
1183 /^X\(\/\/\)[^/].*/{
1184 s//\1/
1187 /^X\(\/\/\)$/{
1188 s//\1/
1191 /^X\(\/\).*/{
1192 s//\1/
1195 s/.*/./; q'`
1196 srcdir=$ac_confdir
1197 if test ! -r "$srcdir/$ac_unique_file"; then
1198 srcdir=..
1200 else
1201 ac_srcdir_defaulted=no
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1205 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1207 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1208 ac_abs_confdir=`(
1209 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1210 pwd)`
1211 # When building in place, set srcdir=.
1212 if test "$ac_abs_confdir" = "$ac_pwd"; then
1213 srcdir=.
1215 # Remove unnecessary trailing slashes from srcdir.
1216 # Double slashes in file names in object file debugging info
1217 # mess up M-x gdb in Emacs.
1218 case $srcdir in
1219 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1220 esac
1221 for ac_var in $ac_precious_vars; do
1222 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1223 eval ac_env_${ac_var}_value=\$${ac_var}
1224 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1225 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1226 done
1229 # Report the --help message.
1231 if test "$ac_init_help" = "long"; then
1232 # Omit some internal or obsolete options to make the list less imposing.
1233 # This message is too long to be a string in the A/UX 3.1 sh.
1234 cat <<_ACEOF
1235 \`configure' configures this package to adapt to many kinds of systems.
1237 Usage: $0 [OPTION]... [VAR=VALUE]...
1239 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1240 VAR=VALUE. See below for descriptions of some of the useful variables.
1242 Defaults for the options are specified in brackets.
1244 Configuration:
1245 -h, --help display this help and exit
1246 --help=short display options specific to this package
1247 --help=recursive display the short help of all the included packages
1248 -V, --version display version information and exit
1249 -q, --quiet, --silent do not print \`checking ...' messages
1250 --cache-file=FILE cache test results in FILE [disabled]
1251 -C, --config-cache alias for \`--cache-file=config.cache'
1252 -n, --no-create do not create output files
1253 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1255 Installation directories:
1256 --prefix=PREFIX install architecture-independent files in PREFIX
1257 [$ac_default_prefix]
1258 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1259 [PREFIX]
1261 By default, \`make install' will install all the files in
1262 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1263 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1264 for instance \`--prefix=\$HOME'.
1266 For better control, use the options below.
1268 Fine tuning of the installation directories:
1269 --bindir=DIR user executables [EPREFIX/bin]
1270 --sbindir=DIR system admin executables [EPREFIX/sbin]
1271 --libexecdir=DIR program executables [EPREFIX/libexec]
1272 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1273 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1274 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1275 --libdir=DIR object code libraries [EPREFIX/lib]
1276 --includedir=DIR C header files [PREFIX/include]
1277 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1278 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1279 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1280 --infodir=DIR info documentation [DATAROOTDIR/info]
1281 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1282 --mandir=DIR man documentation [DATAROOTDIR/man]
1283 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1284 --htmldir=DIR html documentation [DOCDIR]
1285 --dvidir=DIR dvi documentation [DOCDIR]
1286 --pdfdir=DIR pdf documentation [DOCDIR]
1287 --psdir=DIR ps documentation [DOCDIR]
1288 _ACEOF
1290 cat <<\_ACEOF
1291 _ACEOF
1294 if test -n "$ac_init_help"; then
1296 cat <<\_ACEOF
1298 Optional Packages:
1299 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1300 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1301 --with-config-dir=VERSION
1302 Location of generated target config files
1304 Some influential environment variables:
1305 CC C compiler command
1306 CFLAGS C compiler flags
1307 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1308 nonstandard directory <lib dir>
1309 LIBS libraries to pass to the linker, e.g. -l<library>
1310 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1311 you have headers in a nonstandard directory <include dir>
1313 Use these variables to override the choices made by `configure' or to help
1314 it to find libraries and programs with nonstandard names/locations.
1316 Report bugs to the package provider.
1317 _ACEOF
1318 ac_status=$?
1321 if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1326 continue
1327 ac_builddir=.
1329 case "$ac_dir" in
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1338 esac ;;
1339 esac
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1345 case $srcdir in
1346 .) # We are building in place.
1347 ac_srcdir=.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1354 *) # Relative name.
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1358 esac
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1364 echo &&
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1367 echo &&
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1369 else
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1371 fi || ac_status=$?
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1373 done
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1378 cat <<\_ACEOF
1379 configure
1380 generated by GNU Autoconf 2.69
1382 Copyright (C) 2012 Free Software Foundation, Inc.
1383 This configure script is free software; the Free Software Foundation
1384 gives unlimited permission to copy, distribute and modify it.
1385 _ACEOF
1386 exit
1389 ## ------------------------ ##
1390 ## Autoconf initialization. ##
1391 ## ------------------------ ##
1393 # ac_fn_c_try_compile LINENO
1394 # --------------------------
1395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1396 ac_fn_c_try_compile ()
1398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399 rm -f conftest.$ac_objext
1400 if { { ac_try="$ac_compile"
1401 case "(($ac_try" in
1402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1403 *) ac_try_echo=$ac_try;;
1404 esac
1405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406 $as_echo "$ac_try_echo"; } >&5
1407 (eval "$ac_compile") 2>conftest.err
1408 ac_status=$?
1409 if test -s conftest.err; then
1410 grep -v '^ *+' conftest.err >conftest.er1
1411 cat conftest.er1 >&5
1412 mv -f conftest.er1 conftest.err
1414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415 test $ac_status = 0; } && {
1416 test -z "$ac_c_werror_flag" ||
1417 test ! -s conftest.err
1418 } && test -s conftest.$ac_objext; then :
1419 ac_retval=0
1420 else
1421 $as_echo "$as_me: failed program was:" >&5
1422 sed 's/^/| /' conftest.$ac_ext >&5
1424 ac_retval=1
1426 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1427 as_fn_set_status $ac_retval
1429 } # ac_fn_c_try_compile
1430 cat >config.log <<_ACEOF
1431 This file contains any messages produced by compilers while
1432 running configure, to aid debugging if configure makes a mistake.
1434 It was created by $as_me, which was
1435 generated by GNU Autoconf 2.69. Invocation command line was
1437 $ $0 $@
1439 _ACEOF
1440 exec 5>>config.log
1442 cat <<_ASUNAME
1443 ## --------- ##
1444 ## Platform. ##
1445 ## --------- ##
1447 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1448 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1449 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1450 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1451 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1453 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1454 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1456 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1457 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1458 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1459 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1460 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1461 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1462 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1464 _ASUNAME
1466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1467 for as_dir in $PATH
1469 IFS=$as_save_IFS
1470 test -z "$as_dir" && as_dir=.
1471 $as_echo "PATH: $as_dir"
1472 done
1473 IFS=$as_save_IFS
1475 } >&5
1477 cat >&5 <<_ACEOF
1480 ## ----------- ##
1481 ## Core tests. ##
1482 ## ----------- ##
1484 _ACEOF
1487 # Keep a trace of the command line.
1488 # Strip out --no-create and --no-recursion so they do not pile up.
1489 # Strip out --silent because we don't want to record it for future runs.
1490 # Also quote any args containing shell meta-characters.
1491 # Make two passes to allow for proper duplicate-argument suppression.
1492 ac_configure_args=
1493 ac_configure_args0=
1494 ac_configure_args1=
1495 ac_must_keep_next=false
1496 for ac_pass in 1 2
1498 for ac_arg
1500 case $ac_arg in
1501 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1503 | -silent | --silent | --silen | --sile | --sil)
1504 continue ;;
1505 *\'*)
1506 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1507 esac
1508 case $ac_pass in
1509 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1511 as_fn_append ac_configure_args1 " '$ac_arg'"
1512 if test $ac_must_keep_next = true; then
1513 ac_must_keep_next=false # Got value, back to normal.
1514 else
1515 case $ac_arg in
1516 *=* | --config-cache | -C | -disable-* | --disable-* \
1517 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1518 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1519 | -with-* | --with-* | -without-* | --without-* | --x)
1520 case "$ac_configure_args0 " in
1521 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1522 esac
1524 -* ) ac_must_keep_next=true ;;
1525 esac
1527 as_fn_append ac_configure_args " '$ac_arg'"
1529 esac
1530 done
1531 done
1532 { ac_configure_args0=; unset ac_configure_args0;}
1533 { ac_configure_args1=; unset ac_configure_args1;}
1535 # When interrupted or exit'd, cleanup temporary files, and complete
1536 # config.log. We remove comments because anyway the quotes in there
1537 # would cause problems or look ugly.
1538 # WARNING: Use '\'' to represent an apostrophe within the trap.
1539 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1540 trap 'exit_status=$?
1541 # Save into config.log some information that might help in debugging.
1543 echo
1545 $as_echo "## ---------------- ##
1546 ## Cache variables. ##
1547 ## ---------------- ##"
1548 echo
1549 # The following way of writing the cache mishandles newlines in values,
1551 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1552 eval ac_val=\$$ac_var
1553 case $ac_val in #(
1554 *${as_nl}*)
1555 case $ac_var in #(
1556 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1557 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1558 esac
1559 case $ac_var in #(
1560 _ | IFS | as_nl) ;; #(
1561 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1562 *) { eval $ac_var=; unset $ac_var;} ;;
1563 esac ;;
1564 esac
1565 done
1566 (set) 2>&1 |
1567 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1568 *${as_nl}ac_space=\ *)
1569 sed -n \
1570 "s/'\''/'\''\\\\'\'''\''/g;
1571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1572 ;; #(
1574 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1576 esac |
1577 sort
1579 echo
1581 $as_echo "## ----------------- ##
1582 ## Output variables. ##
1583 ## ----------------- ##"
1584 echo
1585 for ac_var in $ac_subst_vars
1587 eval ac_val=\$$ac_var
1588 case $ac_val in
1589 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1590 esac
1591 $as_echo "$ac_var='\''$ac_val'\''"
1592 done | sort
1593 echo
1595 if test -n "$ac_subst_files"; then
1596 $as_echo "## ------------------- ##
1597 ## File substitutions. ##
1598 ## ------------------- ##"
1599 echo
1600 for ac_var in $ac_subst_files
1602 eval ac_val=\$$ac_var
1603 case $ac_val in
1604 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1605 esac
1606 $as_echo "$ac_var='\''$ac_val'\''"
1607 done | sort
1608 echo
1611 if test -s confdefs.h; then
1612 $as_echo "## ----------- ##
1613 ## confdefs.h. ##
1614 ## ----------- ##"
1615 echo
1616 cat confdefs.h
1617 echo
1619 test "$ac_signal" != 0 &&
1620 $as_echo "$as_me: caught signal $ac_signal"
1621 $as_echo "$as_me: exit $exit_status"
1622 } >&5
1623 rm -f core *.core core.conftest.* &&
1624 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1625 exit $exit_status
1627 for ac_signal in 1 2 13 15; do
1628 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1629 done
1630 ac_signal=0
1632 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1633 rm -f -r conftest* confdefs.h
1635 $as_echo "/* confdefs.h */" > confdefs.h
1637 # Predefined preprocessor variables.
1639 cat >>confdefs.h <<_ACEOF
1640 #define PACKAGE_NAME "$PACKAGE_NAME"
1641 _ACEOF
1643 cat >>confdefs.h <<_ACEOF
1644 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1645 _ACEOF
1647 cat >>confdefs.h <<_ACEOF
1648 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1649 _ACEOF
1651 cat >>confdefs.h <<_ACEOF
1652 #define PACKAGE_STRING "$PACKAGE_STRING"
1653 _ACEOF
1655 cat >>confdefs.h <<_ACEOF
1656 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1657 _ACEOF
1659 cat >>confdefs.h <<_ACEOF
1660 #define PACKAGE_URL "$PACKAGE_URL"
1661 _ACEOF
1664 # Let the site file select an alternate cache file if it wants to.
1665 # Prefer an explicitly selected file to automatically selected ones.
1666 ac_site_file1=NONE
1667 ac_site_file2=NONE
1668 if test -n "$CONFIG_SITE"; then
1669 # We do not want a PATH search for config.site.
1670 case $CONFIG_SITE in #((
1671 -*) ac_site_file1=./$CONFIG_SITE;;
1672 */*) ac_site_file1=$CONFIG_SITE;;
1673 *) ac_site_file1=./$CONFIG_SITE;;
1674 esac
1675 elif test "x$prefix" != xNONE; then
1676 ac_site_file1=$prefix/share/config.site
1677 ac_site_file2=$prefix/etc/config.site
1678 else
1679 ac_site_file1=$ac_default_prefix/share/config.site
1680 ac_site_file2=$ac_default_prefix/etc/config.site
1682 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1684 test "x$ac_site_file" = xNONE && continue
1685 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1687 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1688 sed 's/^/| /' "$ac_site_file" >&5
1689 . "$ac_site_file" \
1690 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1692 as_fn_error $? "failed to load site script $ac_site_file
1693 See \`config.log' for more details" "$LINENO" 5; }
1695 done
1697 if test -r "$cache_file"; then
1698 # Some versions of bash will fail to source /dev/null (special files
1699 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1700 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1702 $as_echo "$as_me: loading cache $cache_file" >&6;}
1703 case $cache_file in
1704 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1705 *) . "./$cache_file";;
1706 esac
1708 else
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1710 $as_echo "$as_me: creating cache $cache_file" >&6;}
1711 >$cache_file
1714 # Check that the precious variables saved in the cache have kept the same
1715 # value.
1716 ac_cache_corrupted=false
1717 for ac_var in $ac_precious_vars; do
1718 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1719 eval ac_new_set=\$ac_env_${ac_var}_set
1720 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1721 eval ac_new_val=\$ac_env_${ac_var}_value
1722 case $ac_old_set,$ac_new_set in
1723 set,)
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1725 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1726 ac_cache_corrupted=: ;;
1727 ,set)
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1729 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1730 ac_cache_corrupted=: ;;
1731 ,);;
1733 if test "x$ac_old_val" != "x$ac_new_val"; then
1734 # differences in whitespace do not lead to failure.
1735 ac_old_val_w=`echo x $ac_old_val`
1736 ac_new_val_w=`echo x $ac_new_val`
1737 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1739 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1740 ac_cache_corrupted=:
1741 else
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1743 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1744 eval $ac_var=\$ac_old_val
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1747 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1749 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1750 fi;;
1751 esac
1752 # Pass precious variables to config.status.
1753 if test "$ac_new_set" = set; then
1754 case $ac_new_val in
1755 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1756 *) ac_arg=$ac_var=$ac_new_val ;;
1757 esac
1758 case " $ac_configure_args " in
1759 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1760 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1761 esac
1763 done
1764 if $ac_cache_corrupted; then
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1768 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1769 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1771 ## -------------------- ##
1772 ## Main body of script. ##
1773 ## -------------------- ##
1775 ac_ext=c
1776 ac_cpp='$CPP $CPPFLAGS'
1777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1783 ac_aux_dir=
1784 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1785 if test -f "$ac_dir/install-sh"; then
1786 ac_aux_dir=$ac_dir
1787 ac_install_sh="$ac_aux_dir/install-sh -c"
1788 break
1789 elif test -f "$ac_dir/install.sh"; then
1790 ac_aux_dir=$ac_dir
1791 ac_install_sh="$ac_aux_dir/install.sh -c"
1792 break
1793 elif test -f "$ac_dir/shtool"; then
1794 ac_aux_dir=$ac_dir
1795 ac_install_sh="$ac_aux_dir/shtool install -c"
1796 break
1798 done
1799 if test -z "$ac_aux_dir"; then
1800 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
1803 # These three variables are undocumented and unsupported,
1804 # and are intended to be withdrawn in a future Autoconf release.
1805 # They can cause serious problems if a builder's source tree is in a directory
1806 # whose full name contains unusual characters.
1807 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1808 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1809 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1813 # Don't know where else to put this...
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
1815 $as_echo_n "checking building AROS in... " >&6; }
1816 AROS_BUILDDIR=`${PWDCMD-pwd}`
1817 AROS_BUILDDIR_UNIX=${PWD}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
1819 $as_echo "$AROS_BUILDDIR" >&6; }
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
1822 $as_echo_n "checking AROS source in... " >&6; }
1823 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1824 SRCDIR=${srcpwd}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
1826 $as_echo "$SRCDIR" >&6; }
1828 NOLINKFLAGS="-nostdlib -nostartfiles"
1829 LDFLAGS=$NOLINKFLAGS
1830 # The first step is to find the binaries.
1831 ac_ext=c
1832 ac_cpp='$CPP $CPPFLAGS'
1833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1836 if test -n "$ac_tool_prefix"; then
1837 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1838 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1840 $as_echo_n "checking for $ac_word... " >&6; }
1841 if ${ac_cv_prog_CC+:} false; then :
1842 $as_echo_n "(cached) " >&6
1843 else
1844 if test -n "$CC"; then
1845 ac_cv_prog_CC="$CC" # Let the user override the test.
1846 else
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 for as_dir in $PATH
1850 IFS=$as_save_IFS
1851 test -z "$as_dir" && as_dir=.
1852 for ac_exec_ext in '' $ac_executable_extensions; do
1853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1856 break 2
1858 done
1859 done
1860 IFS=$as_save_IFS
1864 CC=$ac_cv_prog_CC
1865 if test -n "$CC"; then
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1867 $as_echo "$CC" >&6; }
1868 else
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1870 $as_echo "no" >&6; }
1875 if test -z "$ac_cv_prog_CC"; then
1876 ac_ct_CC=$CC
1877 # Extract the first word of "gcc", so it can be a program name with args.
1878 set dummy gcc; ac_word=$2
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1880 $as_echo_n "checking for $ac_word... " >&6; }
1881 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1882 $as_echo_n "(cached) " >&6
1883 else
1884 if test -n "$ac_ct_CC"; then
1885 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1886 else
1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1888 for as_dir in $PATH
1890 IFS=$as_save_IFS
1891 test -z "$as_dir" && as_dir=.
1892 for ac_exec_ext in '' $ac_executable_extensions; do
1893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1894 ac_cv_prog_ac_ct_CC="gcc"
1895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1896 break 2
1898 done
1899 done
1900 IFS=$as_save_IFS
1904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1905 if test -n "$ac_ct_CC"; then
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1907 $as_echo "$ac_ct_CC" >&6; }
1908 else
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1910 $as_echo "no" >&6; }
1913 if test "x$ac_ct_CC" = x; then
1914 CC=""
1915 else
1916 case $cross_compiling:$ac_tool_warned in
1917 yes:)
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1920 ac_tool_warned=yes ;;
1921 esac
1922 CC=$ac_ct_CC
1924 else
1925 CC="$ac_cv_prog_CC"
1928 if test -z "$CC"; then
1929 if test -n "$ac_tool_prefix"; then
1930 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1931 set dummy ${ac_tool_prefix}cc; ac_word=$2
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1933 $as_echo_n "checking for $ac_word... " >&6; }
1934 if ${ac_cv_prog_CC+:} false; then :
1935 $as_echo_n "(cached) " >&6
1936 else
1937 if test -n "$CC"; then
1938 ac_cv_prog_CC="$CC" # Let the user override the test.
1939 else
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 for as_dir in $PATH
1943 IFS=$as_save_IFS
1944 test -z "$as_dir" && as_dir=.
1945 for ac_exec_ext in '' $ac_executable_extensions; do
1946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947 ac_cv_prog_CC="${ac_tool_prefix}cc"
1948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 break 2
1951 done
1952 done
1953 IFS=$as_save_IFS
1957 CC=$ac_cv_prog_CC
1958 if test -n "$CC"; then
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1960 $as_echo "$CC" >&6; }
1961 else
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1963 $as_echo "no" >&6; }
1969 if test -z "$CC"; then
1970 # Extract the first word of "cc", so it can be a program name with args.
1971 set dummy cc; ac_word=$2
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1973 $as_echo_n "checking for $ac_word... " >&6; }
1974 if ${ac_cv_prog_CC+:} false; then :
1975 $as_echo_n "(cached) " >&6
1976 else
1977 if test -n "$CC"; then
1978 ac_cv_prog_CC="$CC" # Let the user override the test.
1979 else
1980 ac_prog_rejected=no
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 for as_dir in $PATH
1984 IFS=$as_save_IFS
1985 test -z "$as_dir" && as_dir=.
1986 for ac_exec_ext in '' $ac_executable_extensions; do
1987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1988 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1989 ac_prog_rejected=yes
1990 continue
1992 ac_cv_prog_CC="cc"
1993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1994 break 2
1996 done
1997 done
1998 IFS=$as_save_IFS
2000 if test $ac_prog_rejected = yes; then
2001 # We found a bogon in the path, so make sure we never use it.
2002 set dummy $ac_cv_prog_CC
2003 shift
2004 if test $# != 0; then
2005 # We chose a different compiler from the bogus one.
2006 # However, it has the same basename, so the bogon will be chosen
2007 # first if we set CC to just the basename; use the full file name.
2008 shift
2009 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2014 CC=$ac_cv_prog_CC
2015 if test -n "$CC"; then
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2017 $as_echo "$CC" >&6; }
2018 else
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2020 $as_echo "no" >&6; }
2025 if test -z "$CC"; then
2026 if test -n "$ac_tool_prefix"; then
2027 for ac_prog in cl.exe
2029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2030 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032 $as_echo_n "checking for $ac_word... " >&6; }
2033 if ${ac_cv_prog_CC+:} false; then :
2034 $as_echo_n "(cached) " >&6
2035 else
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC="$CC" # Let the user override the test.
2038 else
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 for as_dir in $PATH
2042 IFS=$as_save_IFS
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 break 2
2050 done
2051 done
2052 IFS=$as_save_IFS
2056 CC=$ac_cv_prog_CC
2057 if test -n "$CC"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2059 $as_echo "$CC" >&6; }
2060 else
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062 $as_echo "no" >&6; }
2066 test -n "$CC" && break
2067 done
2069 if test -z "$CC"; then
2070 ac_ct_CC=$CC
2071 for ac_prog in cl.exe
2073 # Extract the first word of "$ac_prog", so it can be a program name with args.
2074 set dummy $ac_prog; ac_word=$2
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2076 $as_echo_n "checking for $ac_word... " >&6; }
2077 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2078 $as_echo_n "(cached) " >&6
2079 else
2080 if test -n "$ac_ct_CC"; then
2081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2082 else
2083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 for as_dir in $PATH
2086 IFS=$as_save_IFS
2087 test -z "$as_dir" && as_dir=.
2088 for ac_exec_ext in '' $ac_executable_extensions; do
2089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_ac_ct_CC="$ac_prog"
2091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 break 2
2094 done
2095 done
2096 IFS=$as_save_IFS
2100 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2101 if test -n "$ac_ct_CC"; then
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2103 $as_echo "$ac_ct_CC" >&6; }
2104 else
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2106 $as_echo "no" >&6; }
2110 test -n "$ac_ct_CC" && break
2111 done
2113 if test "x$ac_ct_CC" = x; then
2114 CC=""
2115 else
2116 case $cross_compiling:$ac_tool_warned in
2117 yes:)
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2120 ac_tool_warned=yes ;;
2121 esac
2122 CC=$ac_ct_CC
2129 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2131 as_fn_error $? "no acceptable C compiler found in \$PATH
2132 See \`config.log' for more details" "$LINENO" 5; }
2134 # Provide some information about the compiler.
2135 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2136 set X $ac_compile
2137 ac_compiler=$2
2138 for ac_option in --version -v -V -qversion; do
2139 { { ac_try="$ac_compiler $ac_option >&5"
2140 case "(($ac_try" in
2141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2142 *) ac_try_echo=$ac_try;;
2143 esac
2144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2145 $as_echo "$ac_try_echo"; } >&5
2146 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2147 ac_status=$?
2148 if test -s conftest.err; then
2149 sed '10a\
2150 ... rest of stderr output deleted ...
2151 10q' conftest.err >conftest.er1
2152 cat conftest.er1 >&5
2154 rm -f conftest.er1 conftest.err
2155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2156 test $ac_status = 0; }
2157 done
2159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160 /* end confdefs.h. */
2163 main ()
2167 return 0;
2169 _ACEOF
2170 ac_clean_files_save=$ac_clean_files
2171 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2172 # Try to create an executable without -o first, disregard a.out.
2173 # It will help us diagnose broken compilers, and finding out an intuition
2174 # of exeext.
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2176 $as_echo_n "checking whether the C compiler works... " >&6; }
2177 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2179 # The possible output files:
2180 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2182 ac_rmfiles=
2183 for ac_file in $ac_files
2185 case $ac_file in
2186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2187 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2188 esac
2189 done
2190 rm -f $ac_rmfiles
2192 if { { ac_try="$ac_link_default"
2193 case "(($ac_try" in
2194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2195 *) ac_try_echo=$ac_try;;
2196 esac
2197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2198 $as_echo "$ac_try_echo"; } >&5
2199 (eval "$ac_link_default") 2>&5
2200 ac_status=$?
2201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2202 test $ac_status = 0; }; then :
2203 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2204 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2205 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2206 # so that the user can short-circuit this test for compilers unknown to
2207 # Autoconf.
2208 for ac_file in $ac_files ''
2210 test -f "$ac_file" || continue
2211 case $ac_file in
2212 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2214 [ab].out )
2215 # We found the default executable, but exeext='' is most
2216 # certainly right.
2217 break;;
2218 *.* )
2219 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2220 then :; else
2221 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2223 # We set ac_cv_exeext here because the later test for it is not
2224 # safe: cross compilers may not add the suffix if given an `-o'
2225 # argument, so we may need to know it at that point already.
2226 # Even if this section looks crufty: it has the advantage of
2227 # actually working.
2228 break;;
2230 break;;
2231 esac
2232 done
2233 test "$ac_cv_exeext" = no && ac_cv_exeext=
2235 else
2236 ac_file=''
2238 if test -z "$ac_file"; then :
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2240 $as_echo "no" >&6; }
2241 $as_echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.$ac_ext >&5
2244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2246 as_fn_error 77 "C compiler cannot create executables
2247 See \`config.log' for more details" "$LINENO" 5; }
2248 else
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2250 $as_echo "yes" >&6; }
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2253 $as_echo_n "checking for C compiler default output file name... " >&6; }
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2255 $as_echo "$ac_file" >&6; }
2256 ac_exeext=$ac_cv_exeext
2258 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2259 ac_clean_files=$ac_clean_files_save
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2261 $as_echo_n "checking for suffix of executables... " >&6; }
2262 if { { ac_try="$ac_link"
2263 case "(($ac_try" in
2264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2265 *) ac_try_echo=$ac_try;;
2266 esac
2267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2268 $as_echo "$ac_try_echo"; } >&5
2269 (eval "$ac_link") 2>&5
2270 ac_status=$?
2271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2272 test $ac_status = 0; }; then :
2273 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2274 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2275 # work properly (i.e., refer to `conftest.exe'), while it won't with
2276 # `rm'.
2277 for ac_file in conftest.exe conftest conftest.*; do
2278 test -f "$ac_file" || continue
2279 case $ac_file in
2280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2281 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2282 break;;
2283 * ) break;;
2284 esac
2285 done
2286 else
2287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2289 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2290 See \`config.log' for more details" "$LINENO" 5; }
2292 rm -f conftest conftest$ac_cv_exeext
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2294 $as_echo "$ac_cv_exeext" >&6; }
2296 rm -f conftest.$ac_ext
2297 EXEEXT=$ac_cv_exeext
2298 ac_exeext=$EXEEXT
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2301 #include <stdio.h>
2303 main ()
2305 FILE *f = fopen ("conftest.out", "w");
2306 return ferror (f) || fclose (f) != 0;
2309 return 0;
2311 _ACEOF
2312 ac_clean_files="$ac_clean_files conftest.out"
2313 # Check that the compiler produces executables we can run. If not, either
2314 # the compiler is broken, or we cross compile.
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2316 $as_echo_n "checking whether we are cross compiling... " >&6; }
2317 if test "$cross_compiling" != yes; then
2318 { { ac_try="$ac_link"
2319 case "(($ac_try" in
2320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2321 *) ac_try_echo=$ac_try;;
2322 esac
2323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2324 $as_echo "$ac_try_echo"; } >&5
2325 (eval "$ac_link") 2>&5
2326 ac_status=$?
2327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2328 test $ac_status = 0; }
2329 if { ac_try='./conftest$ac_cv_exeext'
2330 { { case "(($ac_try" in
2331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2333 esac
2334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2335 $as_echo "$ac_try_echo"; } >&5
2336 (eval "$ac_try") 2>&5
2337 ac_status=$?
2338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2339 test $ac_status = 0; }; }; then
2340 cross_compiling=no
2341 else
2342 if test "$cross_compiling" = maybe; then
2343 cross_compiling=yes
2344 else
2345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2347 as_fn_error $? "cannot run C compiled programs.
2348 If you meant to cross compile, use \`--host'.
2349 See \`config.log' for more details" "$LINENO" 5; }
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2354 $as_echo "$cross_compiling" >&6; }
2356 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2357 ac_clean_files=$ac_clean_files_save
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2359 $as_echo_n "checking for suffix of object files... " >&6; }
2360 if ${ac_cv_objext+:} false; then :
2361 $as_echo_n "(cached) " >&6
2362 else
2363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2364 /* end confdefs.h. */
2367 main ()
2371 return 0;
2373 _ACEOF
2374 rm -f conftest.o conftest.obj
2375 if { { ac_try="$ac_compile"
2376 case "(($ac_try" in
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2379 esac
2380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2381 $as_echo "$ac_try_echo"; } >&5
2382 (eval "$ac_compile") 2>&5
2383 ac_status=$?
2384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2385 test $ac_status = 0; }; then :
2386 for ac_file in conftest.o conftest.obj conftest.*; do
2387 test -f "$ac_file" || continue;
2388 case $ac_file in
2389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2390 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2391 break;;
2392 esac
2393 done
2394 else
2395 $as_echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.$ac_ext >&5
2398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2400 as_fn_error $? "cannot compute suffix of object files: cannot compile
2401 See \`config.log' for more details" "$LINENO" 5; }
2403 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2406 $as_echo "$ac_cv_objext" >&6; }
2407 OBJEXT=$ac_cv_objext
2408 ac_objext=$OBJEXT
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2410 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2411 if ${ac_cv_c_compiler_gnu+:} false; then :
2412 $as_echo_n "(cached) " >&6
2413 else
2414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2415 /* end confdefs.h. */
2418 main ()
2420 #ifndef __GNUC__
2421 choke me
2422 #endif
2425 return 0;
2427 _ACEOF
2428 if ac_fn_c_try_compile "$LINENO"; then :
2429 ac_compiler_gnu=yes
2430 else
2431 ac_compiler_gnu=no
2433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2434 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2438 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2439 if test $ac_compiler_gnu = yes; then
2440 GCC=yes
2441 else
2442 GCC=
2444 ac_test_CFLAGS=${CFLAGS+set}
2445 ac_save_CFLAGS=$CFLAGS
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2447 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2448 if ${ac_cv_prog_cc_g+:} false; then :
2449 $as_echo_n "(cached) " >&6
2450 else
2451 ac_save_c_werror_flag=$ac_c_werror_flag
2452 ac_c_werror_flag=yes
2453 ac_cv_prog_cc_g=no
2454 CFLAGS="-g"
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2459 main ()
2463 return 0;
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2467 ac_cv_prog_cc_g=yes
2468 else
2469 CFLAGS=""
2470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2471 /* end confdefs.h. */
2474 main ()
2478 return 0;
2480 _ACEOF
2481 if ac_fn_c_try_compile "$LINENO"; then :
2483 else
2484 ac_c_werror_flag=$ac_save_c_werror_flag
2485 CFLAGS="-g"
2486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2487 /* end confdefs.h. */
2490 main ()
2494 return 0;
2496 _ACEOF
2497 if ac_fn_c_try_compile "$LINENO"; then :
2498 ac_cv_prog_cc_g=yes
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505 ac_c_werror_flag=$ac_save_c_werror_flag
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2508 $as_echo "$ac_cv_prog_cc_g" >&6; }
2509 if test "$ac_test_CFLAGS" = set; then
2510 CFLAGS=$ac_save_CFLAGS
2511 elif test $ac_cv_prog_cc_g = yes; then
2512 if test "$GCC" = yes; then
2513 CFLAGS="-g -O2"
2514 else
2515 CFLAGS="-g"
2517 else
2518 if test "$GCC" = yes; then
2519 CFLAGS="-O2"
2520 else
2521 CFLAGS=
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2525 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2526 if ${ac_cv_prog_cc_c89+:} false; then :
2527 $as_echo_n "(cached) " >&6
2528 else
2529 ac_cv_prog_cc_c89=no
2530 ac_save_CC=$CC
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2533 #include <stdarg.h>
2534 #include <stdio.h>
2535 struct stat;
2536 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2537 struct buf { int x; };
2538 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2539 static char *e (p, i)
2540 char **p;
2541 int i;
2543 return p[i];
2545 static char *f (char * (*g) (char **, int), char **p, ...)
2547 char *s;
2548 va_list v;
2549 va_start (v,p);
2550 s = g (p, va_arg (v,int));
2551 va_end (v);
2552 return s;
2555 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2556 function prototypes and stuff, but not '\xHH' hex character constants.
2557 These don't provoke an error unfortunately, instead are silently treated
2558 as 'x'. The following induces an error, until -std is added to get
2559 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2560 array size at least. It's necessary to write '\x00'==0 to get something
2561 that's true only with -std. */
2562 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2564 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2565 inside strings and character constants. */
2566 #define FOO(x) 'x'
2567 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2569 int test (int i, double x);
2570 struct s1 {int (*f) (int a);};
2571 struct s2 {int (*f) (double a);};
2572 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2573 int argc;
2574 char **argv;
2576 main ()
2578 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2580 return 0;
2582 _ACEOF
2583 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2584 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2586 CC="$ac_save_CC $ac_arg"
2587 if ac_fn_c_try_compile "$LINENO"; then :
2588 ac_cv_prog_cc_c89=$ac_arg
2590 rm -f core conftest.err conftest.$ac_objext
2591 test "x$ac_cv_prog_cc_c89" != "xno" && break
2592 done
2593 rm -f conftest.$ac_ext
2594 CC=$ac_save_CC
2597 # AC_CACHE_VAL
2598 case "x$ac_cv_prog_cc_c89" in
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2601 $as_echo "none needed" >&6; } ;;
2602 xno)
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2604 $as_echo "unsupported" >&6; } ;;
2606 CC="$CC $ac_cv_prog_cc_c89"
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2608 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2609 esac
2610 if test "x$ac_cv_prog_cc_c89" != xno; then :
2614 ac_ext=c
2615 ac_cpp='$CPP $CPPFLAGS'
2616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2622 $as_echo_n "checking target config location... " >&6; }
2624 # Check whether --with-config-dir was given.
2625 if test "${with_config_dir+set}" = set; then :
2626 withval=$with_config_dir; targetcfg_dir="$withval"
2627 else
2628 targetcfg_dir=""
2631 if test "$targetcfg_dir" = ""; then
2632 as_fn_error $? "missing config directory!" "$LINENO" 5
2633 else
2634 aros_targetcfg_dir="$targetcfg_dir"
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2637 $as_echo "$aros_targetcfg_dir" >&6; }
2639 #-----------------------------------------------------------------------------
2641 # Check if the target compiler supports some options used for delinting:
2642 # -Wunused-but-set-variable
2643 # -Wstrict-aliasing
2644 # -Warray-bounds
2645 # -Wenum-compare
2646 # -Wstrict-prototypes
2647 # -Wstrict-overflow
2648 # -Wformat-security
2649 # -Wmisleading-indentation
2650 # -Wnonnull-compare
2651 # -Wunused
2652 # -Wunused-value
2653 # -Wunused-variable
2654 # -Wunused-function
2655 # -Wuninitialized
2656 # -Wmaybe-uninitialized
2657 # -Wimplicit-function-declaration
2658 # -Wformat
2659 # -Wparentheses
2660 # -Wchar-subscripts
2661 # -Wendif-labels
2662 # -Wformat-contains-nul
2663 # -Wimplicit-int
2664 # -Waggressive-loop-optimizations
2665 # -Wcpp
2666 # -Wswitch
2667 # -Wdiscarded-qualifiers
2668 # -Wsequence-point
2669 # -Wunknown-pragmas
2670 # -Wdiscarded-array-qualifiers
2671 # -Wint-conversion
2672 # -Wint-to-pointer-cast
2673 # -Wpointer-to-int-cast
2674 # -Wunused-const-variable
2675 # -Wwrite-strings
2676 # -Wcomment
2677 # -Wincompatible-pointer-types
2678 # -Wbool-compare
2679 # -Wlogical-not-parentheses
2680 # -Wpointer-sign
2681 # -Wshift-overflow
2682 # -Wframe-address
2683 # -Wdeprecated-declarations
2684 # -Wsign-compare
2685 # -Wattributes
2686 # -Woverflow
2687 # -Wunused-local-typedefs
2688 # -Wmissing-braces
2689 # -Wconversion-null
2690 # -Wnarrowing
2691 # -Wvolatile-register-var
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2694 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2695 CFLAGS=-Wunused-but-set-variable
2697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2701 main ()
2705 return 0;
2707 _ACEOF
2708 if ac_fn_c_try_compile "$LINENO"; then :
2709 aros_unused_but_set_variable="yes"
2710 else
2711 aros_unused_but_set_variable="no"
2713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2715 $as_echo "$aros_unused_but_set_variable" >&6; }
2716 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2717 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2721 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2722 CFLAGS=-Wstrict-aliasing
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2727 main ()
2731 return 0;
2733 _ACEOF
2734 if ac_fn_c_try_compile "$LINENO"; then :
2735 aros_strict_aliasing="yes"
2736 else
2737 aros_strict_aliasing="no"
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2741 $as_echo "$aros_strict_aliasing" >&6; }
2742 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2743 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2747 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2748 CFLAGS=-Warray-bounds
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2753 main ()
2757 return 0;
2759 _ACEOF
2760 if ac_fn_c_try_compile "$LINENO"; then :
2761 aros_array_bounds="yes"
2762 else
2763 aros_array_bounds="no"
2765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2767 $as_echo "$aros_array_bounds" >&6; }
2768 if test "x-$aros_array_bounds" = "x-yes" ; then
2769 aros_cflags_array_bounds=-Wno-array-bounds
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2773 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2774 CFLAGS=-Wenum-compare
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2779 main ()
2783 return 0;
2785 _ACEOF
2786 if ac_fn_c_try_compile "$LINENO"; then :
2787 aros_enum_compare="yes"
2788 else
2789 aros_enum_compare="no"
2791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2793 $as_echo "$aros_enum_compare" >&6; }
2794 if test "x-$aros_enum_compare" = "x-yes" ; then
2795 aros_cflags_enum_compare=-Wno-enum-compare
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2799 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2800 CFLAGS=-Wstrict-prototypes
2801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2802 /* end confdefs.h. */
2805 main ()
2809 return 0;
2811 _ACEOF
2812 if ac_fn_c_try_compile "$LINENO"; then :
2813 aros_strict_prototypes="yes"
2814 else
2815 aros_strict_prototypes="no"
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
2819 $as_echo "$aros_strict_prototypes" >&6; }
2820 if test "x-$aros_strict_prototypes" = "x-yes" ; then
2821 aros_cflags_strict_prototypes=-Wno-strict-prototypes
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
2825 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
2826 CFLAGS=-Wstrict-overflow
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2831 main ()
2835 return 0;
2837 _ACEOF
2838 if ac_fn_c_try_compile "$LINENO"; then :
2839 aros_strict_overflow="yes"
2840 else
2841 aros_strict_overflow="no"
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
2845 $as_echo "$aros_strict_overflow" >&6; }
2846 if test "x-$aros_strict_overflow" = "x-yes" ; then
2847 aros_cflags_strict_overflow=-Wno-strict-overflow
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
2851 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
2852 CFLAGS=-Wformat-security
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2857 main ()
2861 return 0;
2863 _ACEOF
2864 if ac_fn_c_try_compile "$LINENO"; then :
2865 aros_format_security="yes"
2866 else
2867 aros_format_security="no"
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
2871 $as_echo "$aros_format_security" >&6; }
2872 if test "x-$aros_format_security" = "x-yes" ; then
2873 aros_cflags_format_security=-Wno-format-security
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
2877 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
2878 CFLAGS=-Wmisleading-indentation
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2883 main ()
2887 return 0;
2889 _ACEOF
2890 if ac_fn_c_try_compile "$LINENO"; then :
2891 aros_misleading_indentation="yes"
2892 else
2893 aros_misleading_indentation="no"
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
2897 $as_echo "$aros_misleading_indentation" >&6; }
2898 if test "x-$aros_misleading_indentation" = "x-yes" ; then
2899 aros_cflags_misleading_indentation=-Wno-misleading-indentation
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
2903 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
2904 CFLAGS=-Wnonnull-compare
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2909 main ()
2913 return 0;
2915 _ACEOF
2916 if ac_fn_c_try_compile "$LINENO"; then :
2917 aros_nonnull_compare="yes"
2918 else
2919 aros_nonnull_compare="no"
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
2923 $as_echo "$aros_nonnull_compare" >&6; }
2924 if test "x-$aros_nonnull_compare" = "x-yes" ; then
2925 aros_cflags_nonnull_compare=-Wno-nonnull-compare
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
2929 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
2930 CFLAGS=-Wunused
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2935 main ()
2939 return 0;
2941 _ACEOF
2942 if ac_fn_c_try_compile "$LINENO"; then :
2943 aros_unused="yes"
2944 else
2945 aros_unused="no"
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
2949 $as_echo "$aros_unused" >&6; }
2950 if test "x-$aros_unused" = "x-yes" ; then
2951 aros_cflags_unused=-Wno-unused
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
2955 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
2956 CFLAGS=-Wunused-value
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2961 main ()
2965 return 0;
2967 _ACEOF
2968 if ac_fn_c_try_compile "$LINENO"; then :
2969 aros_unused_value="yes"
2970 else
2971 aros_unused_value="no"
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
2975 $as_echo "$aros_unused_value" >&6; }
2976 if test "x-$aros_unused_value" = "x-yes" ; then
2977 aros_cflags_unused_value=-Wno-unused-value
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
2981 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
2982 CFLAGS=-Wunused-variable
2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984 /* end confdefs.h. */
2987 main ()
2991 return 0;
2993 _ACEOF
2994 if ac_fn_c_try_compile "$LINENO"; then :
2995 aros_unused_variable="yes"
2996 else
2997 aros_unused_variable="no"
2999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
3001 $as_echo "$aros_unused_variable" >&6; }
3002 if test "x-$aros_unused_variable" = "x-yes" ; then
3003 aros_cflags_unused_variable=-Wno-unused-variable
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3007 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3008 CFLAGS=-Wunused-function
3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 /* end confdefs.h. */
3013 main ()
3017 return 0;
3019 _ACEOF
3020 if ac_fn_c_try_compile "$LINENO"; then :
3021 aros_unused_function="yes"
3022 else
3023 aros_unused_function="no"
3025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3027 $as_echo "$aros_unused_function" >&6; }
3028 if test "x-$aros_unused_function" = "x-yes" ; then
3029 aros_cflags_unused_function=-Wno-unused-function
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3033 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3034 CFLAGS=-Wuninitialized
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3039 main ()
3043 return 0;
3045 _ACEOF
3046 if ac_fn_c_try_compile "$LINENO"; then :
3047 aros_uninitialized="yes"
3048 else
3049 aros_uninitialized="no"
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3053 $as_echo "$aros_uninitialized" >&6; }
3054 if test "x-$aros_uninitialized" = "x-yes" ; then
3055 aros_cflags_uninitialized=-Wno-uninitialized
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3059 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3060 CFLAGS=-Wmaybe-uninitialized
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3065 main ()
3069 return 0;
3071 _ACEOF
3072 if ac_fn_c_try_compile "$LINENO"; then :
3073 aros_maybe_uninitialized="yes"
3074 else
3075 aros_maybe_uninitialized="no"
3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3079 $as_echo "$aros_maybe_uninitialized" >&6; }
3080 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3081 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3085 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3086 CFLAGS=-Wimplicit-function-declaration
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3091 main ()
3095 return 0;
3097 _ACEOF
3098 if ac_fn_c_try_compile "$LINENO"; then :
3099 aros_implicit_function_declaration="yes"
3100 else
3101 aros_implicit_function_declaration="no"
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3105 $as_echo "$aros_implicit_function_declaration" >&6; }
3106 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3107 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3111 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3112 CFLAGS=-Wformat
3113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114 /* end confdefs.h. */
3117 main ()
3121 return 0;
3123 _ACEOF
3124 if ac_fn_c_try_compile "$LINENO"; then :
3125 aros_format="yes"
3126 else
3127 aros_format="no"
3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3131 $as_echo "$aros_format" >&6; }
3132 if test "x-$aros_format" = "x-yes" ; then
3133 aros_cflags_format=-Wno-format
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3137 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3138 CFLAGS=-Wparentheses
3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3143 main ()
3147 return 0;
3149 _ACEOF
3150 if ac_fn_c_try_compile "$LINENO"; then :
3151 aros_parentheses="yes"
3152 else
3153 aros_parentheses="no"
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3157 $as_echo "$aros_parentheses" >&6; }
3158 if test "x-$aros_parentheses" = "x-yes" ; then
3159 aros_cflags_parentheses=-Wno-parentheses
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3163 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3164 CFLAGS=-Wchar-subscripts
3165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166 /* end confdefs.h. */
3169 main ()
3173 return 0;
3175 _ACEOF
3176 if ac_fn_c_try_compile "$LINENO"; then :
3177 aros_char_subscripts="yes"
3178 else
3179 aros_char_subscripts="no"
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3183 $as_echo "$aros_char_subscripts" >&6; }
3184 if test "x-$aros_char_subscripts" = "x-yes" ; then
3185 aros_cflags_char_subscripts=-Wno-char-subscripts
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3189 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3190 CFLAGS=-Wendif-labels
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3195 main ()
3199 return 0;
3201 _ACEOF
3202 if ac_fn_c_try_compile "$LINENO"; then :
3203 aros_endif_labels="yes"
3204 else
3205 aros_endif_labels="no"
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3209 $as_echo "$aros_endif_labels" >&6; }
3210 if test "x-$aros_endif_labels" = "x-yes" ; then
3211 aros_cflags_endif_labels=-Wno-endif-labels
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3215 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3216 CFLAGS=-Wformat-contains-nul
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3221 main ()
3225 return 0;
3227 _ACEOF
3228 if ac_fn_c_try_compile "$LINENO"; then :
3229 aros_format_contains_nul="yes"
3230 else
3231 aros_format_contains_nul="no"
3233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3235 $as_echo "$aros_format_contains_nul" >&6; }
3236 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3237 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3241 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3242 CFLAGS=-Wimplicit-int
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3247 main ()
3251 return 0;
3253 _ACEOF
3254 if ac_fn_c_try_compile "$LINENO"; then :
3255 aros_implicit_int="yes"
3256 else
3257 aros_implicit_int="no"
3259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3261 $as_echo "$aros_implicit_int" >&6; }
3262 if test "x-$aros_implicit_int" = "x-yes" ; then
3263 aros_cflags_implicit_int=-Wno-implicit-int
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3267 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3268 CFLAGS=-Waggressive-loop-optimizations
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3273 main ()
3277 return 0;
3279 _ACEOF
3280 if ac_fn_c_try_compile "$LINENO"; then :
3281 aros_aggressive_loop_optimizations="yes"
3282 else
3283 aros_aggressive_loop_optimizations="no"
3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3287 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3288 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3289 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3293 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3294 CFLAGS=-Wcpp
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3299 main ()
3303 return 0;
3305 _ACEOF
3306 if ac_fn_c_try_compile "$LINENO"; then :
3307 aros_cpp="yes"
3308 else
3309 aros_cpp="no"
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3313 $as_echo "$aros_cpp" >&6; }
3314 if test "x-$aros_cpp" = "x-yes" ; then
3315 aros_cflags_cpp=-Wno-cpp
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3319 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3320 CFLAGS=-Wswitch
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3325 main ()
3329 return 0;
3331 _ACEOF
3332 if ac_fn_c_try_compile "$LINENO"; then :
3333 aros_switch="yes"
3334 else
3335 aros_switch="no"
3337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3339 $as_echo "$aros_switch" >&6; }
3340 if test "x-$aros_switch" = "x-yes" ; then
3341 aros_cflags_switch=-Wno-switch
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3345 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3346 CFLAGS=-Wdiscarded-qualifiers
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3351 main ()
3355 return 0;
3357 _ACEOF
3358 if ac_fn_c_try_compile "$LINENO"; then :
3359 aros_discarded_qualifiers="yes"
3360 else
3361 aros_discarded_qualifiers="no"
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3365 $as_echo "$aros_discarded_qualifiers" >&6; }
3366 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3367 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3371 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3372 CFLAGS=-Wsequence-point
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3377 main ()
3381 return 0;
3383 _ACEOF
3384 if ac_fn_c_try_compile "$LINENO"; then :
3385 aros_sequence_point="yes"
3386 else
3387 aros_sequence_point="no"
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3391 $as_echo "$aros_sequence_point" >&6; }
3392 if test "x-$aros_sequence_point" = "x-yes" ; then
3393 aros_cflags_sequence_point=-Wno-sequence-point
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3397 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3398 CFLAGS=-Wunknown-pragmas
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3403 main ()
3407 return 0;
3409 _ACEOF
3410 if ac_fn_c_try_compile "$LINENO"; then :
3411 aros_unknown_pragmas="yes"
3412 else
3413 aros_unknown_pragmas="no"
3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3417 $as_echo "$aros_unknown_pragmas" >&6; }
3418 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3419 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3423 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3424 CFLAGS=-Wdiscarded-array-qualifiers
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3429 main ()
3433 return 0;
3435 _ACEOF
3436 if ac_fn_c_try_compile "$LINENO"; then :
3437 aros_discarded_array_qualifiers="yes"
3438 else
3439 aros_discarded_array_qualifiers="no"
3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3443 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3444 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3445 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3449 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3450 CFLAGS=-Wint-conversion
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3455 main ()
3459 return 0;
3461 _ACEOF
3462 if ac_fn_c_try_compile "$LINENO"; then :
3463 aros_int_conversion="yes"
3464 else
3465 aros_int_conversion="no"
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3469 $as_echo "$aros_int_conversion" >&6; }
3470 if test "x-$aros_int_conversion" = "x-yes" ; then
3471 aros_cflags_int_conversion=-Wno-int-conversion
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3475 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3476 CFLAGS=-Wint-to-pointer-cast
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3481 main ()
3485 return 0;
3487 _ACEOF
3488 if ac_fn_c_try_compile "$LINENO"; then :
3489 aros_int_to_pointer_cast="yes"
3490 else
3491 aros_int_to_pointer_cast="no"
3493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3495 $as_echo "$aros_int_to_pointer_cast" >&6; }
3496 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3497 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3501 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3502 CFLAGS=-Wpointer-to-int-cast
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3507 main ()
3511 return 0;
3513 _ACEOF
3514 if ac_fn_c_try_compile "$LINENO"; then :
3515 aros_pointer_to_int_cast="yes"
3516 else
3517 aros_pointer_to_int_cast="no"
3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3521 $as_echo "$aros_pointer_to_int_cast" >&6; }
3522 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3523 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3527 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3528 CFLAGS=-Wunused-const-variable
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3533 main ()
3537 return 0;
3539 _ACEOF
3540 if ac_fn_c_try_compile "$LINENO"; then :
3541 aros_unused_const_variable="yes"
3542 else
3543 aros_unused_const_variable="no"
3545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3547 $as_echo "$aros_unused_const_variable" >&6; }
3548 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3549 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3553 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3554 CFLAGS=-Wwrite-strings
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3559 main ()
3563 return 0;
3565 _ACEOF
3566 if ac_fn_c_try_compile "$LINENO"; then :
3567 aros_write_strings="yes"
3568 else
3569 aros_write_strings="no"
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3573 $as_echo "$aros_write_strings" >&6; }
3574 if test "x-$aros_write_strings" = "x-yes" ; then
3575 aros_cflags_write_strings=-Wno-write-strings
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3579 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3580 CFLAGS=-Wcomment
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3585 main ()
3589 return 0;
3591 _ACEOF
3592 if ac_fn_c_try_compile "$LINENO"; then :
3593 aros_comment="yes"
3594 else
3595 aros_comment="no"
3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3599 $as_echo "$aros_comment" >&6; }
3600 if test "x-$aros_comment" = "x-yes" ; then
3601 aros_cflags_comment=-Wno-comment
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3605 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3606 CFLAGS=-Wincompatible-pointer-types
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h. */
3611 main ()
3615 return 0;
3617 _ACEOF
3618 if ac_fn_c_try_compile "$LINENO"; then :
3619 aros_incompatible_pointer_types="yes"
3620 else
3621 aros_incompatible_pointer_types="no"
3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3625 $as_echo "$aros_incompatible_pointer_types" >&6; }
3626 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3627 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3631 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3632 CFLAGS=-Wbool-compare
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3637 main ()
3641 return 0;
3643 _ACEOF
3644 if ac_fn_c_try_compile "$LINENO"; then :
3645 aros_bool_compare="yes"
3646 else
3647 aros_bool_compare="no"
3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3651 $as_echo "$aros_bool_compare" >&6; }
3652 if test "x-$aros_bool_compare" = "x-yes" ; then
3653 aros_cflags_bool_compare=-Wno-bool-compare
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3657 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3658 CFLAGS=-Wlogical-not-parentheses
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3663 main ()
3667 return 0;
3669 _ACEOF
3670 if ac_fn_c_try_compile "$LINENO"; then :
3671 aros_logical_not_parentheses="yes"
3672 else
3673 aros_logical_not_parentheses="no"
3675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3677 $as_echo "$aros_logical_not_parentheses" >&6; }
3678 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3679 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3683 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3684 CFLAGS=-Wpointer-sign
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3689 main ()
3693 return 0;
3695 _ACEOF
3696 if ac_fn_c_try_compile "$LINENO"; then :
3697 aros_pointer_sign="yes"
3698 else
3699 aros_pointer_sign="no"
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3703 $as_echo "$aros_pointer_sign" >&6; }
3704 if test "x-$aros_pointer_sign" = "x-yes" ; then
3705 aros_cflags_pointer_sign=-Wno-pointer-sign
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3709 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3710 CFLAGS=-Wshift-overflow
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3715 main ()
3719 return 0;
3721 _ACEOF
3722 if ac_fn_c_try_compile "$LINENO"; then :
3723 aros_shift_overflow="yes"
3724 else
3725 aros_shift_overflow="no"
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3729 $as_echo "$aros_shift_overflow" >&6; }
3730 if test "x-$aros_shift_overflow" = "x-yes" ; then
3731 aros_cflags_shift_overflow=-Wno-shift-overflow
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3735 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3736 CFLAGS=-Wframe-address
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3741 main ()
3745 return 0;
3747 _ACEOF
3748 if ac_fn_c_try_compile "$LINENO"; then :
3749 aros_frame_address="yes"
3750 else
3751 aros_frame_address="no"
3753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3755 $as_echo "$aros_frame_address" >&6; }
3756 if test "x-$aros_frame_address" = "x-yes" ; then
3757 aros_cflags_frame_address=-Wno-frame-address
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3761 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3762 CFLAGS=-Wdeprecated-declarations
3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3767 main ()
3771 return 0;
3773 _ACEOF
3774 if ac_fn_c_try_compile "$LINENO"; then :
3775 aros_deprecated_declarations="yes"
3776 else
3777 aros_deprecated_declarations="no"
3779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
3781 $as_echo "$aros_deprecated_declarations" >&6; }
3782 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
3783 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
3787 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
3788 CFLAGS=-Wsign-compare
3789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3790 /* end confdefs.h. */
3793 main ()
3797 return 0;
3799 _ACEOF
3800 if ac_fn_c_try_compile "$LINENO"; then :
3801 aros_sign_compare="yes"
3802 else
3803 aros_sign_compare="no"
3805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
3807 $as_echo "$aros_sign_compare" >&6; }
3808 if test "x-$aros_sign_compare" = "x-yes" ; then
3809 aros_cflags_sign_compare=-Wno-sign-compare
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
3813 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
3814 CFLAGS=-Wattributes
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3819 main ()
3823 return 0;
3825 _ACEOF
3826 if ac_fn_c_try_compile "$LINENO"; then :
3827 aros_attributes="yes"
3828 else
3829 aros_attributes="no"
3831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
3833 $as_echo "$aros_attributes" >&6; }
3834 if test "x-$aros_attributes" = "x-yes" ; then
3835 aros_cflags_attributes=-Wno-attributes
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
3839 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
3840 CFLAGS=-Woverflow
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3845 main ()
3849 return 0;
3851 _ACEOF
3852 if ac_fn_c_try_compile "$LINENO"; then :
3853 aros_overflow="yes"
3854 else
3855 aros_overflow="no"
3857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
3859 $as_echo "$aros_overflow" >&6; }
3860 if test "x-$aros_overflow" = "x-yes" ; then
3861 aros_cflags_overflow=-Wno-overflow
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
3865 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
3866 CFLAGS=-Wunused-local-typedefs
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3871 main ()
3875 return 0;
3877 _ACEOF
3878 if ac_fn_c_try_compile "$LINENO"; then :
3879 aros_unused_local_typedefs="yes"
3880 else
3881 aros_unused_local_typedefs="no"
3883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
3885 $as_echo "$aros_unused_local_typedefs" >&6; }
3886 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
3887 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
3891 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
3892 CFLAGS=-Wmissing-braces
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3897 main ()
3901 return 0;
3903 _ACEOF
3904 if ac_fn_c_try_compile "$LINENO"; then :
3905 aros_missing_braces="yes"
3906 else
3907 aros_missing_braces="no"
3909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
3911 $as_echo "$aros_missing_braces" >&6; }
3912 if test "x-$aros_missing_braces" = "x-yes" ; then
3913 aros_cflags_missing_braces=-Wno-missing-braces
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
3917 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
3918 CFLAGS=-Wconversion-null
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3923 main ()
3927 return 0;
3929 _ACEOF
3930 if ac_fn_c_try_compile "$LINENO"; then :
3931 aros_conversion_null="yes"
3932 else
3933 aros_conversion_null="no"
3935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
3937 $as_echo "$aros_conversion_null" >&6; }
3938 if test "x-$aros_conversion_null" = "x-yes" ; then
3939 aros_cflags_conversion_null=-Wno-conversion-null
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
3943 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
3944 CFLAGS=-Wnarrowing
3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3949 main ()
3953 return 0;
3955 _ACEOF
3956 if ac_fn_c_try_compile "$LINENO"; then :
3957 aros_narrowing="yes"
3958 else
3959 aros_narrowing="no"
3961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
3963 $as_echo "$aros_narrowing" >&6; }
3964 if test "x-$aros_narrowing" = "x-yes" ; then
3965 aros_cflags_narrowing=-Wno-narrowing
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
3969 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
3970 CFLAGS=-Wvolatile-register-var
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3975 main ()
3979 return 0;
3981 _ACEOF
3982 if ac_fn_c_try_compile "$LINENO"; then :
3983 aros_volatile_register_var="yes"
3984 else
3985 aros_volatile_register_var="no"
3987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
3989 $as_echo "$aros_volatile_register_var" >&6; }
3990 if test "x-$aros_volatile_register_var" = "x-yes" ; then
3991 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4045 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in"
4048 cat >confcache <<\_ACEOF
4049 # This file is a shell script that caches the results of configure
4050 # tests run on this system so they can be shared between configure
4051 # scripts and configure runs, see configure's option --config-cache.
4052 # It is not useful on other systems. If it contains results you don't
4053 # want to keep, you may remove or edit it.
4055 # config.status only pays attention to the cache file if you give it
4056 # the --recheck option to rerun configure.
4058 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4059 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4060 # following values.
4062 _ACEOF
4064 # The following way of writing the cache mishandles newlines in values,
4065 # but we know of no workaround that is simple, portable, and efficient.
4066 # So, we kill variables containing newlines.
4067 # Ultrix sh set writes to stderr and can't be redirected directly,
4068 # and sets the high bit in the cache file unless we assign to the vars.
4070 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4071 eval ac_val=\$$ac_var
4072 case $ac_val in #(
4073 *${as_nl}*)
4074 case $ac_var in #(
4075 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4076 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4077 esac
4078 case $ac_var in #(
4079 _ | IFS | as_nl) ;; #(
4080 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4081 *) { eval $ac_var=; unset $ac_var;} ;;
4082 esac ;;
4083 esac
4084 done
4086 (set) 2>&1 |
4087 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4088 *${as_nl}ac_space=\ *)
4089 # `set' does not quote correctly, so add quotes: double-quote
4090 # substitution turns \\\\ into \\, and sed turns \\ into \.
4091 sed -n \
4092 "s/'/'\\\\''/g;
4093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4094 ;; #(
4096 # `set' quotes correctly as required by POSIX, so do not add quotes.
4097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4099 esac |
4100 sort
4102 sed '
4103 /^ac_cv_env_/b end
4104 t clear
4105 :clear
4106 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4107 t end
4108 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4109 :end' >>confcache
4110 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4111 if test -w "$cache_file"; then
4112 if test "x$cache_file" != "x/dev/null"; then
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4114 $as_echo "$as_me: updating cache $cache_file" >&6;}
4115 if test ! -f "$cache_file" || test -h "$cache_file"; then
4116 cat confcache >"$cache_file"
4117 else
4118 case $cache_file in #(
4119 */* | ?:*)
4120 mv -f confcache "$cache_file"$$ &&
4121 mv -f "$cache_file"$$ "$cache_file" ;; #(
4123 mv -f confcache "$cache_file" ;;
4124 esac
4127 else
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4129 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4132 rm -f confcache
4134 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4135 # Let make expand exec_prefix.
4136 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4138 # Transform confdefs.h into DEFS.
4139 # Protect against shell expansion while executing Makefile rules.
4140 # Protect against Makefile macro expansion.
4142 # If the first sed substitution is executed (which looks for macros that
4143 # take arguments), then branch to the quote section. Otherwise,
4144 # look for a macro that doesn't take arguments.
4145 ac_script='
4146 :mline
4147 /\\$/{
4149 s,\\\n,,
4150 b mline
4152 t clear
4153 :clear
4154 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4155 t quote
4156 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4157 t quote
4158 b any
4159 :quote
4160 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4161 s/\[/\\&/g
4162 s/\]/\\&/g
4163 s/\$/$$/g
4165 :any
4168 s/^\n//
4169 s/\n/ /g
4173 DEFS=`sed -n "$ac_script" confdefs.h`
4176 ac_libobjs=
4177 ac_ltlibobjs=
4179 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4180 # 1. Remove the extension, and $U if already installed.
4181 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4182 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4183 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4184 # will be set to the directory where LIBOBJS objects are built.
4185 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4186 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4187 done
4188 LIBOBJS=$ac_libobjs
4190 LTLIBOBJS=$ac_ltlibobjs
4194 : "${CONFIG_STATUS=./config.status}"
4195 ac_write_fail=0
4196 ac_clean_files_save=$ac_clean_files
4197 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4199 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4200 as_write_fail=0
4201 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4202 #! $SHELL
4203 # Generated by $as_me.
4204 # Run this file to recreate the current configuration.
4205 # Compiler output produced by configure, useful for debugging
4206 # configure, is in config.log if it exists.
4208 debug=false
4209 ac_cs_recheck=false
4210 ac_cs_silent=false
4212 SHELL=\${CONFIG_SHELL-$SHELL}
4213 export SHELL
4214 _ASEOF
4215 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4216 ## -------------------- ##
4217 ## M4sh Initialization. ##
4218 ## -------------------- ##
4220 # Be more Bourne compatible
4221 DUALCASE=1; export DUALCASE # for MKS sh
4222 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4223 emulate sh
4224 NULLCMD=:
4225 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4226 # is contrary to our usage. Disable this feature.
4227 alias -g '${1+"$@"}'='"$@"'
4228 setopt NO_GLOB_SUBST
4229 else
4230 case `(set -o) 2>/dev/null` in #(
4231 *posix*) :
4232 set -o posix ;; #(
4233 *) :
4235 esac
4239 as_nl='
4241 export as_nl
4242 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4243 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4244 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4245 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4246 # Prefer a ksh shell builtin over an external printf program on Solaris,
4247 # but without wasting forks for bash or zsh.
4248 if test -z "$BASH_VERSION$ZSH_VERSION" \
4249 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4250 as_echo='print -r --'
4251 as_echo_n='print -rn --'
4252 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4253 as_echo='printf %s\n'
4254 as_echo_n='printf %s'
4255 else
4256 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4257 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4258 as_echo_n='/usr/ucb/echo -n'
4259 else
4260 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4261 as_echo_n_body='eval
4262 arg=$1;
4263 case $arg in #(
4264 *"$as_nl"*)
4265 expr "X$arg" : "X\\(.*\\)$as_nl";
4266 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4267 esac;
4268 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4270 export as_echo_n_body
4271 as_echo_n='sh -c $as_echo_n_body as_echo'
4273 export as_echo_body
4274 as_echo='sh -c $as_echo_body as_echo'
4277 # The user is always right.
4278 if test "${PATH_SEPARATOR+set}" != set; then
4279 PATH_SEPARATOR=:
4280 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4281 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4282 PATH_SEPARATOR=';'
4287 # IFS
4288 # We need space, tab and new line, in precisely that order. Quoting is
4289 # there to prevent editors from complaining about space-tab.
4290 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4291 # splitting by setting IFS to empty value.)
4292 IFS=" "" $as_nl"
4294 # Find who we are. Look in the path if we contain no directory separator.
4295 as_myself=
4296 case $0 in #((
4297 *[\\/]* ) as_myself=$0 ;;
4298 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4299 for as_dir in $PATH
4301 IFS=$as_save_IFS
4302 test -z "$as_dir" && as_dir=.
4303 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4304 done
4305 IFS=$as_save_IFS
4308 esac
4309 # We did not find ourselves, most probably we were run as `sh COMMAND'
4310 # in which case we are not to be found in the path.
4311 if test "x$as_myself" = x; then
4312 as_myself=$0
4314 if test ! -f "$as_myself"; then
4315 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4316 exit 1
4319 # Unset variables that we do not need and which cause bugs (e.g. in
4320 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4321 # suppresses any "Segmentation fault" message there. '((' could
4322 # trigger a bug in pdksh 5.2.14.
4323 for as_var in BASH_ENV ENV MAIL MAILPATH
4324 do eval test x\${$as_var+set} = xset \
4325 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4326 done
4327 PS1='$ '
4328 PS2='> '
4329 PS4='+ '
4331 # NLS nuisances.
4332 LC_ALL=C
4333 export LC_ALL
4334 LANGUAGE=C
4335 export LANGUAGE
4337 # CDPATH.
4338 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4341 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4342 # ----------------------------------------
4343 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4344 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4345 # script with STATUS, using 1 if that was 0.
4346 as_fn_error ()
4348 as_status=$1; test $as_status -eq 0 && as_status=1
4349 if test "$4"; then
4350 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4351 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4353 $as_echo "$as_me: error: $2" >&2
4354 as_fn_exit $as_status
4355 } # as_fn_error
4358 # as_fn_set_status STATUS
4359 # -----------------------
4360 # Set $? to STATUS, without forking.
4361 as_fn_set_status ()
4363 return $1
4364 } # as_fn_set_status
4366 # as_fn_exit STATUS
4367 # -----------------
4368 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4369 as_fn_exit ()
4371 set +e
4372 as_fn_set_status $1
4373 exit $1
4374 } # as_fn_exit
4376 # as_fn_unset VAR
4377 # ---------------
4378 # Portably unset VAR.
4379 as_fn_unset ()
4381 { eval $1=; unset $1;}
4383 as_unset=as_fn_unset
4384 # as_fn_append VAR VALUE
4385 # ----------------------
4386 # Append the text in VALUE to the end of the definition contained in VAR. Take
4387 # advantage of any shell optimizations that allow amortized linear growth over
4388 # repeated appends, instead of the typical quadratic growth present in naive
4389 # implementations.
4390 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4391 eval 'as_fn_append ()
4393 eval $1+=\$2
4395 else
4396 as_fn_append ()
4398 eval $1=\$$1\$2
4400 fi # as_fn_append
4402 # as_fn_arith ARG...
4403 # ------------------
4404 # Perform arithmetic evaluation on the ARGs, and store the result in the
4405 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4406 # must be portable across $(()) and expr.
4407 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4408 eval 'as_fn_arith ()
4410 as_val=$(( $* ))
4412 else
4413 as_fn_arith ()
4415 as_val=`expr "$@" || test $? -eq 1`
4417 fi # as_fn_arith
4420 if expr a : '\(a\)' >/dev/null 2>&1 &&
4421 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4422 as_expr=expr
4423 else
4424 as_expr=false
4427 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4428 as_basename=basename
4429 else
4430 as_basename=false
4433 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4434 as_dirname=dirname
4435 else
4436 as_dirname=false
4439 as_me=`$as_basename -- "$0" ||
4440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4441 X"$0" : 'X\(//\)$' \| \
4442 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4443 $as_echo X/"$0" |
4444 sed '/^.*\/\([^/][^/]*\)\/*$/{
4445 s//\1/
4448 /^X\/\(\/\/\)$/{
4449 s//\1/
4452 /^X\/\(\/\).*/{
4453 s//\1/
4456 s/.*/./; q'`
4458 # Avoid depending upon Character Ranges.
4459 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4460 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4461 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4462 as_cr_digits='0123456789'
4463 as_cr_alnum=$as_cr_Letters$as_cr_digits
4465 ECHO_C= ECHO_N= ECHO_T=
4466 case `echo -n x` in #(((((
4467 -n*)
4468 case `echo 'xy\c'` in
4469 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4470 xy) ECHO_C='\c';;
4471 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4472 ECHO_T=' ';;
4473 esac;;
4475 ECHO_N='-n';;
4476 esac
4478 rm -f conf$$ conf$$.exe conf$$.file
4479 if test -d conf$$.dir; then
4480 rm -f conf$$.dir/conf$$.file
4481 else
4482 rm -f conf$$.dir
4483 mkdir conf$$.dir 2>/dev/null
4485 if (echo >conf$$.file) 2>/dev/null; then
4486 if ln -s conf$$.file conf$$ 2>/dev/null; then
4487 as_ln_s='ln -s'
4488 # ... but there are two gotchas:
4489 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4490 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4491 # In both cases, we have to default to `cp -pR'.
4492 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4493 as_ln_s='cp -pR'
4494 elif ln conf$$.file conf$$ 2>/dev/null; then
4495 as_ln_s=ln
4496 else
4497 as_ln_s='cp -pR'
4499 else
4500 as_ln_s='cp -pR'
4502 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4503 rmdir conf$$.dir 2>/dev/null
4506 # as_fn_mkdir_p
4507 # -------------
4508 # Create "$as_dir" as a directory, including parents if necessary.
4509 as_fn_mkdir_p ()
4512 case $as_dir in #(
4513 -*) as_dir=./$as_dir;;
4514 esac
4515 test -d "$as_dir" || eval $as_mkdir_p || {
4516 as_dirs=
4517 while :; do
4518 case $as_dir in #(
4519 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4520 *) as_qdir=$as_dir;;
4521 esac
4522 as_dirs="'$as_qdir' $as_dirs"
4523 as_dir=`$as_dirname -- "$as_dir" ||
4524 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4525 X"$as_dir" : 'X\(//\)[^/]' \| \
4526 X"$as_dir" : 'X\(//\)$' \| \
4527 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4528 $as_echo X"$as_dir" |
4529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4530 s//\1/
4533 /^X\(\/\/\)[^/].*/{
4534 s//\1/
4537 /^X\(\/\/\)$/{
4538 s//\1/
4541 /^X\(\/\).*/{
4542 s//\1/
4545 s/.*/./; q'`
4546 test -d "$as_dir" && break
4547 done
4548 test -z "$as_dirs" || eval "mkdir $as_dirs"
4549 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4552 } # as_fn_mkdir_p
4553 if mkdir -p . 2>/dev/null; then
4554 as_mkdir_p='mkdir -p "$as_dir"'
4555 else
4556 test -d ./-p && rmdir ./-p
4557 as_mkdir_p=false
4561 # as_fn_executable_p FILE
4562 # -----------------------
4563 # Test if FILE is an executable regular file.
4564 as_fn_executable_p ()
4566 test -f "$1" && test -x "$1"
4567 } # as_fn_executable_p
4568 as_test_x='test -x'
4569 as_executable_p=as_fn_executable_p
4571 # Sed expression to map a string onto a valid CPP name.
4572 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4574 # Sed expression to map a string onto a valid variable name.
4575 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4578 exec 6>&1
4579 ## ----------------------------------- ##
4580 ## Main body of $CONFIG_STATUS script. ##
4581 ## ----------------------------------- ##
4582 _ASEOF
4583 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4586 # Save the log message, to keep $0 and so on meaningful, and to
4587 # report actual input values of CONFIG_FILES etc. instead of their
4588 # values after options handling.
4589 ac_log="
4590 This file was extended by $as_me, which was
4591 generated by GNU Autoconf 2.69. Invocation command line was
4593 CONFIG_FILES = $CONFIG_FILES
4594 CONFIG_HEADERS = $CONFIG_HEADERS
4595 CONFIG_LINKS = $CONFIG_LINKS
4596 CONFIG_COMMANDS = $CONFIG_COMMANDS
4597 $ $0 $@
4599 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4602 _ACEOF
4604 case $ac_config_files in *"
4605 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4606 esac
4610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4611 # Files that config.status was made for.
4612 config_files="$ac_config_files"
4614 _ACEOF
4616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4617 ac_cs_usage="\
4618 \`$as_me' instantiates files and other configuration actions
4619 from templates according to the current configuration. Unless the files
4620 and actions are specified as TAGs, all are instantiated by default.
4622 Usage: $0 [OPTION]... [TAG]...
4624 -h, --help print this help, then exit
4625 -V, --version print version number and configuration settings, then exit
4626 --config print configuration, then exit
4627 -q, --quiet, --silent
4628 do not print progress messages
4629 -d, --debug don't remove temporary files
4630 --recheck update $as_me by reconfiguring in the same conditions
4631 --file=FILE[:TEMPLATE]
4632 instantiate the configuration file FILE
4634 Configuration files:
4635 $config_files
4637 Report bugs to the package provider."
4639 _ACEOF
4640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4641 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4642 ac_cs_version="\\
4643 config.status
4644 configured by $0, generated by GNU Autoconf 2.69,
4645 with options \\"\$ac_cs_config\\"
4647 Copyright (C) 2012 Free Software Foundation, Inc.
4648 This config.status script is free software; the Free Software Foundation
4649 gives unlimited permission to copy, distribute and modify it."
4651 ac_pwd='$ac_pwd'
4652 srcdir='$srcdir'
4653 test -n "\$AWK" || AWK=awk
4654 _ACEOF
4656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4657 # The default lists apply if the user does not specify any file.
4658 ac_need_defaults=:
4659 while test $# != 0
4661 case $1 in
4662 --*=?*)
4663 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4664 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4665 ac_shift=:
4667 --*=)
4668 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4669 ac_optarg=
4670 ac_shift=:
4673 ac_option=$1
4674 ac_optarg=$2
4675 ac_shift=shift
4677 esac
4679 case $ac_option in
4680 # Handling of the options.
4681 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4682 ac_cs_recheck=: ;;
4683 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4684 $as_echo "$ac_cs_version"; exit ;;
4685 --config | --confi | --conf | --con | --co | --c )
4686 $as_echo "$ac_cs_config"; exit ;;
4687 --debug | --debu | --deb | --de | --d | -d )
4688 debug=: ;;
4689 --file | --fil | --fi | --f )
4690 $ac_shift
4691 case $ac_optarg in
4692 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4693 '') as_fn_error $? "missing file argument" ;;
4694 esac
4695 as_fn_append CONFIG_FILES " '$ac_optarg'"
4696 ac_need_defaults=false;;
4697 --he | --h | --help | --hel | -h )
4698 $as_echo "$ac_cs_usage"; exit ;;
4699 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4700 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4701 ac_cs_silent=: ;;
4703 # This is an error.
4704 -*) as_fn_error $? "unrecognized option: \`$1'
4705 Try \`$0 --help' for more information." ;;
4707 *) as_fn_append ac_config_targets " $1"
4708 ac_need_defaults=false ;;
4710 esac
4711 shift
4712 done
4714 ac_configure_extra_args=
4716 if $ac_cs_silent; then
4717 exec 6>/dev/null
4718 ac_configure_extra_args="$ac_configure_extra_args --silent"
4721 _ACEOF
4722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4723 if \$ac_cs_recheck; then
4724 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4725 shift
4726 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4727 CONFIG_SHELL='$SHELL'
4728 export CONFIG_SHELL
4729 exec "\$@"
4732 _ACEOF
4733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4734 exec 5>>config.log
4736 echo
4737 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4738 ## Running $as_me. ##
4739 _ASBOX
4740 $as_echo "$ac_log"
4741 } >&5
4743 _ACEOF
4744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4745 _ACEOF
4747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4749 # Handling of arguments.
4750 for ac_config_target in $ac_config_targets
4752 case $ac_config_target in
4753 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in" ;;
4755 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4756 esac
4757 done
4760 # If the user did not use the arguments to specify the items to instantiate,
4761 # then the envvar interface is used. Set only those that are not.
4762 # We use the long form for the default assignment because of an extremely
4763 # bizarre bug on SunOS 4.1.3.
4764 if $ac_need_defaults; then
4765 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4768 # Have a temporary directory for convenience. Make it in the build tree
4769 # simply because there is no reason against having it here, and in addition,
4770 # creating and moving files from /tmp can sometimes cause problems.
4771 # Hook for its removal unless debugging.
4772 # Note that there is a small window in which the directory will not be cleaned:
4773 # after its creation but before its name has been assigned to `$tmp'.
4774 $debug ||
4776 tmp= ac_tmp=
4777 trap 'exit_status=$?
4778 : "${ac_tmp:=$tmp}"
4779 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4781 trap 'as_fn_exit 1' 1 2 13 15
4783 # Create a (secure) tmp directory for tmp files.
4786 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4787 test -d "$tmp"
4788 } ||
4790 tmp=./conf$$-$RANDOM
4791 (umask 077 && mkdir "$tmp")
4792 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4793 ac_tmp=$tmp
4795 # Set up the scripts for CONFIG_FILES section.
4796 # No need to generate them if there are no CONFIG_FILES.
4797 # This happens for instance with `./config.status config.h'.
4798 if test -n "$CONFIG_FILES"; then
4801 ac_cr=`echo X | tr X '\015'`
4802 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4803 # But we know of no other shell where ac_cr would be empty at this
4804 # point, so we can use a bashism as a fallback.
4805 if test "x$ac_cr" = x; then
4806 eval ac_cr=\$\'\\r\'
4808 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4809 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4810 ac_cs_awk_cr='\\r'
4811 else
4812 ac_cs_awk_cr=$ac_cr
4815 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4816 _ACEOF
4820 echo "cat >conf$$subs.awk <<_ACEOF" &&
4821 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4822 echo "_ACEOF"
4823 } >conf$$subs.sh ||
4824 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4825 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4826 ac_delim='%!_!# '
4827 for ac_last_try in false false false false false :; do
4828 . ./conf$$subs.sh ||
4829 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4831 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4832 if test $ac_delim_n = $ac_delim_num; then
4833 break
4834 elif $ac_last_try; then
4835 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4836 else
4837 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4839 done
4840 rm -f conf$$subs.sh
4842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4843 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4844 _ACEOF
4845 sed -n '
4847 s/^/S["/; s/!.*/"]=/
4850 s/^[^!]*!//
4851 :repl
4852 t repl
4853 s/'"$ac_delim"'$//
4854 t delim
4857 s/\(.\{148\}\)..*/\1/
4858 t more1
4859 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4862 b repl
4863 :more1
4864 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4867 s/.\{148\}//
4868 t nl
4869 :delim
4871 s/\(.\{148\}\)..*/\1/
4872 t more2
4873 s/["\\]/\\&/g; s/^/"/; s/$/"/
4876 :more2
4877 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4880 s/.\{148\}//
4881 t delim
4882 ' <conf$$subs.awk | sed '
4883 /^[^""]/{
4885 s/\n//
4887 ' >>$CONFIG_STATUS || ac_write_fail=1
4888 rm -f conf$$subs.awk
4889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4890 _ACAWK
4891 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4892 for (key in S) S_is_set[key] = 1
4893 FS = "\a"
4897 line = $ 0
4898 nfields = split(line, field, "@")
4899 substed = 0
4900 len = length(field[1])
4901 for (i = 2; i < nfields; i++) {
4902 key = field[i]
4903 keylen = length(key)
4904 if (S_is_set[key]) {
4905 value = S[key]
4906 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4907 len += length(value) + length(field[++i])
4908 substed = 1
4909 } else
4910 len += 1 + keylen
4913 print line
4916 _ACAWK
4917 _ACEOF
4918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4919 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4920 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4921 else
4923 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4924 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4925 _ACEOF
4927 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4928 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4929 # trailing colons and then remove the whole line if VPATH becomes empty
4930 # (actually we leave an empty line to preserve line numbers).
4931 if test "x$srcdir" = x.; then
4932 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4934 s///
4935 s/^/:/
4936 s/[ ]*$/:/
4937 s/:\$(srcdir):/:/g
4938 s/:\${srcdir}:/:/g
4939 s/:@srcdir@:/:/g
4940 s/^:*//
4941 s/:*$//
4943 s/\(=[ ]*\).*/\1/
4945 s/\n//
4946 s/^[^=]*=[ ]*$//
4950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4951 fi # test -n "$CONFIG_FILES"
4954 eval set X " :F $CONFIG_FILES "
4955 shift
4956 for ac_tag
4958 case $ac_tag in
4959 :[FHLC]) ac_mode=$ac_tag; continue;;
4960 esac
4961 case $ac_mode$ac_tag in
4962 :[FHL]*:*);;
4963 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4964 :[FH]-) ac_tag=-:-;;
4965 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4966 esac
4967 ac_save_IFS=$IFS
4968 IFS=:
4969 set x $ac_tag
4970 IFS=$ac_save_IFS
4971 shift
4972 ac_file=$1
4973 shift
4975 case $ac_mode in
4976 :L) ac_source=$1;;
4977 :[FH])
4978 ac_file_inputs=
4979 for ac_f
4981 case $ac_f in
4982 -) ac_f="$ac_tmp/stdin";;
4983 *) # Look for the file first in the build tree, then in the source tree
4984 # (if the path is not absolute). The absolute path cannot be DOS-style,
4985 # because $ac_f cannot contain `:'.
4986 test -f "$ac_f" ||
4987 case $ac_f in
4988 [\\/$]*) false;;
4989 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4990 esac ||
4991 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4992 esac
4993 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4994 as_fn_append ac_file_inputs " '$ac_f'"
4995 done
4997 # Let's still pretend it is `configure' which instantiates (i.e., don't
4998 # use $as_me), people would be surprised to read:
4999 # /* config.h. Generated by config.status. */
5000 configure_input='Generated from '`
5001 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5002 `' by configure.'
5003 if test x"$ac_file" != x-; then
5004 configure_input="$ac_file. $configure_input"
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5006 $as_echo "$as_me: creating $ac_file" >&6;}
5008 # Neutralize special characters interpreted by sed in replacement strings.
5009 case $configure_input in #(
5010 *\&* | *\|* | *\\* )
5011 ac_sed_conf_input=`$as_echo "$configure_input" |
5012 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5013 *) ac_sed_conf_input=$configure_input;;
5014 esac
5016 case $ac_tag in
5017 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5018 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5019 esac
5021 esac
5023 ac_dir=`$as_dirname -- "$ac_file" ||
5024 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5025 X"$ac_file" : 'X\(//\)[^/]' \| \
5026 X"$ac_file" : 'X\(//\)$' \| \
5027 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5028 $as_echo X"$ac_file" |
5029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5030 s//\1/
5033 /^X\(\/\/\)[^/].*/{
5034 s//\1/
5037 /^X\(\/\/\)$/{
5038 s//\1/
5041 /^X\(\/\).*/{
5042 s//\1/
5045 s/.*/./; q'`
5046 as_dir="$ac_dir"; as_fn_mkdir_p
5047 ac_builddir=.
5049 case "$ac_dir" in
5050 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5052 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5053 # A ".." for each directory in $ac_dir_suffix.
5054 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5055 case $ac_top_builddir_sub in
5056 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5057 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5058 esac ;;
5059 esac
5060 ac_abs_top_builddir=$ac_pwd
5061 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5062 # for backward compatibility:
5063 ac_top_builddir=$ac_top_build_prefix
5065 case $srcdir in
5066 .) # We are building in place.
5067 ac_srcdir=.
5068 ac_top_srcdir=$ac_top_builddir_sub
5069 ac_abs_top_srcdir=$ac_pwd ;;
5070 [\\/]* | ?:[\\/]* ) # Absolute name.
5071 ac_srcdir=$srcdir$ac_dir_suffix;
5072 ac_top_srcdir=$srcdir
5073 ac_abs_top_srcdir=$srcdir ;;
5074 *) # Relative name.
5075 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5076 ac_top_srcdir=$ac_top_build_prefix$srcdir
5077 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5078 esac
5079 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5082 case $ac_mode in
5085 # CONFIG_FILE
5088 _ACEOF
5090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5091 # If the template does not know about datarootdir, expand it.
5092 # FIXME: This hack should be removed a few years after 2.60.
5093 ac_datarootdir_hack=; ac_datarootdir_seen=
5094 ac_sed_dataroot='
5095 /datarootdir/ {
5099 /@datadir@/p
5100 /@docdir@/p
5101 /@infodir@/p
5102 /@localedir@/p
5103 /@mandir@/p'
5104 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5105 *datarootdir*) ac_datarootdir_seen=yes;;
5106 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5108 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5109 _ACEOF
5110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5111 ac_datarootdir_hack='
5112 s&@datadir@&$datadir&g
5113 s&@docdir@&$docdir&g
5114 s&@infodir@&$infodir&g
5115 s&@localedir@&$localedir&g
5116 s&@mandir@&$mandir&g
5117 s&\\\${datarootdir}&$datarootdir&g' ;;
5118 esac
5119 _ACEOF
5121 # Neutralize VPATH when `$srcdir' = `.'.
5122 # Shell code in configure.ac might set extrasub.
5123 # FIXME: do we really want to maintain this feature?
5124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5125 ac_sed_extra="$ac_vpsub
5126 $extrasub
5127 _ACEOF
5128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5130 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5131 s|@configure_input@|$ac_sed_conf_input|;t t
5132 s&@top_builddir@&$ac_top_builddir_sub&;t t
5133 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5134 s&@srcdir@&$ac_srcdir&;t t
5135 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5136 s&@top_srcdir@&$ac_top_srcdir&;t t
5137 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5138 s&@builddir@&$ac_builddir&;t t
5139 s&@abs_builddir@&$ac_abs_builddir&;t t
5140 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5141 $ac_datarootdir_hack
5143 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5144 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5146 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5147 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5148 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5149 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5151 which seems to be undefined. Please make sure it is defined" >&5
5152 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5153 which seems to be undefined. Please make sure it is defined" >&2;}
5155 rm -f "$ac_tmp/stdin"
5156 case $ac_file in
5157 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5158 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5159 esac \
5160 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5165 esac
5167 done # for ac_tag
5170 as_fn_exit 0
5171 _ACEOF
5172 ac_clean_files=$ac_clean_files_save
5174 test $ac_write_fail = 0 ||
5175 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5178 # configure is writing to config.log, and then calls config.status.
5179 # config.status does its own redirection, appending to config.log.
5180 # Unfortunately, on DOS this fails, as config.log is still kept open
5181 # by configure, so config.status won't be able to write to it; its
5182 # output is simply discarded. So we exec the FD to /dev/null,
5183 # effectively closing config.log, so it can be properly (re)opened and
5184 # appended to by config.status. When coming back to configure, we
5185 # need to make the FD available again.
5186 if test "$no_create" != yes; then
5187 ac_cs_success=:
5188 ac_config_status_args=
5189 test "$silent" = yes &&
5190 ac_config_status_args="$ac_config_status_args --quiet"
5191 exec 5>/dev/null
5192 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5193 exec 5>>config.log
5194 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5195 # would make configure fail if this is the last instruction.
5196 $ac_cs_success || as_fn_exit 1
5198 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5200 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}