Make hostlib test build again.
[AROS.git] / features
blob7e4f9b4b743bf9d3d28161dbc292d34fbab3751d
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 AROS_BUILDDIR=`${PWDCMD-pwd}`
1814 AROS_BUILDDIR_UNIX=${PWD}
1816 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1817 SRCDIR=${srcpwd}
1819 NOLINKFLAGS="-nostdlib -nostartfiles"
1820 LDFLAGS=$NOLINKFLAGS
1821 # The first step is to find the binaries.
1822 ac_ext=c
1823 ac_cpp='$CPP $CPPFLAGS'
1824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1827 if test -n "$ac_tool_prefix"; then
1828 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1829 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1831 $as_echo_n "checking for $ac_word... " >&6; }
1832 if ${ac_cv_prog_CC+:} false; then :
1833 $as_echo_n "(cached) " >&6
1834 else
1835 if test -n "$CC"; then
1836 ac_cv_prog_CC="$CC" # Let the user override the test.
1837 else
1838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839 for as_dir in $PATH
1841 IFS=$as_save_IFS
1842 test -z "$as_dir" && as_dir=.
1843 for ac_exec_ext in '' $ac_executable_extensions; do
1844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1845 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1847 break 2
1849 done
1850 done
1851 IFS=$as_save_IFS
1855 CC=$ac_cv_prog_CC
1856 if test -n "$CC"; then
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1858 $as_echo "$CC" >&6; }
1859 else
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1861 $as_echo "no" >&6; }
1866 if test -z "$ac_cv_prog_CC"; then
1867 ac_ct_CC=$CC
1868 # Extract the first word of "gcc", so it can be a program name with args.
1869 set dummy gcc; ac_word=$2
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1871 $as_echo_n "checking for $ac_word... " >&6; }
1872 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1873 $as_echo_n "(cached) " >&6
1874 else
1875 if test -n "$ac_ct_CC"; then
1876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1877 else
1878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1879 for as_dir in $PATH
1881 IFS=$as_save_IFS
1882 test -z "$as_dir" && as_dir=.
1883 for ac_exec_ext in '' $ac_executable_extensions; do
1884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1885 ac_cv_prog_ac_ct_CC="gcc"
1886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1887 break 2
1889 done
1890 done
1891 IFS=$as_save_IFS
1895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1896 if test -n "$ac_ct_CC"; then
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1898 $as_echo "$ac_ct_CC" >&6; }
1899 else
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1901 $as_echo "no" >&6; }
1904 if test "x$ac_ct_CC" = x; then
1905 CC=""
1906 else
1907 case $cross_compiling:$ac_tool_warned in
1908 yes:)
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1911 ac_tool_warned=yes ;;
1912 esac
1913 CC=$ac_ct_CC
1915 else
1916 CC="$ac_cv_prog_CC"
1919 if test -z "$CC"; then
1920 if test -n "$ac_tool_prefix"; then
1921 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1922 set dummy ${ac_tool_prefix}cc; ac_word=$2
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1924 $as_echo_n "checking for $ac_word... " >&6; }
1925 if ${ac_cv_prog_CC+:} false; then :
1926 $as_echo_n "(cached) " >&6
1927 else
1928 if test -n "$CC"; then
1929 ac_cv_prog_CC="$CC" # Let the user override the test.
1930 else
1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932 for as_dir in $PATH
1934 IFS=$as_save_IFS
1935 test -z "$as_dir" && as_dir=.
1936 for ac_exec_ext in '' $ac_executable_extensions; do
1937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1938 ac_cv_prog_CC="${ac_tool_prefix}cc"
1939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 break 2
1942 done
1943 done
1944 IFS=$as_save_IFS
1948 CC=$ac_cv_prog_CC
1949 if test -n "$CC"; then
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1951 $as_echo "$CC" >&6; }
1952 else
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1954 $as_echo "no" >&6; }
1960 if test -z "$CC"; then
1961 # Extract the first word of "cc", so it can be a program name with args.
1962 set dummy cc; ac_word=$2
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1964 $as_echo_n "checking for $ac_word... " >&6; }
1965 if ${ac_cv_prog_CC+:} false; then :
1966 $as_echo_n "(cached) " >&6
1967 else
1968 if test -n "$CC"; then
1969 ac_cv_prog_CC="$CC" # Let the user override the test.
1970 else
1971 ac_prog_rejected=no
1972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973 for as_dir in $PATH
1975 IFS=$as_save_IFS
1976 test -z "$as_dir" && as_dir=.
1977 for ac_exec_ext in '' $ac_executable_extensions; do
1978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1979 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1980 ac_prog_rejected=yes
1981 continue
1983 ac_cv_prog_CC="cc"
1984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1985 break 2
1987 done
1988 done
1989 IFS=$as_save_IFS
1991 if test $ac_prog_rejected = yes; then
1992 # We found a bogon in the path, so make sure we never use it.
1993 set dummy $ac_cv_prog_CC
1994 shift
1995 if test $# != 0; then
1996 # We chose a different compiler from the bogus one.
1997 # However, it has the same basename, so the bogon will be chosen
1998 # first if we set CC to just the basename; use the full file name.
1999 shift
2000 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2005 CC=$ac_cv_prog_CC
2006 if test -n "$CC"; then
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2008 $as_echo "$CC" >&6; }
2009 else
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2011 $as_echo "no" >&6; }
2016 if test -z "$CC"; then
2017 if test -n "$ac_tool_prefix"; then
2018 for ac_prog in cl.exe
2020 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2021 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2023 $as_echo_n "checking for $ac_word... " >&6; }
2024 if ${ac_cv_prog_CC+:} false; then :
2025 $as_echo_n "(cached) " >&6
2026 else
2027 if test -n "$CC"; then
2028 ac_cv_prog_CC="$CC" # Let the user override the test.
2029 else
2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2031 for as_dir in $PATH
2033 IFS=$as_save_IFS
2034 test -z "$as_dir" && as_dir=.
2035 for ac_exec_ext in '' $ac_executable_extensions; do
2036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2037 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2039 break 2
2041 done
2042 done
2043 IFS=$as_save_IFS
2047 CC=$ac_cv_prog_CC
2048 if test -n "$CC"; then
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2050 $as_echo "$CC" >&6; }
2051 else
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2053 $as_echo "no" >&6; }
2057 test -n "$CC" && break
2058 done
2060 if test -z "$CC"; then
2061 ac_ct_CC=$CC
2062 for ac_prog in cl.exe
2064 # Extract the first word of "$ac_prog", so it can be a program name with args.
2065 set dummy $ac_prog; ac_word=$2
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2067 $as_echo_n "checking for $ac_word... " >&6; }
2068 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2069 $as_echo_n "(cached) " >&6
2070 else
2071 if test -n "$ac_ct_CC"; then
2072 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2073 else
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2075 for as_dir in $PATH
2077 IFS=$as_save_IFS
2078 test -z "$as_dir" && as_dir=.
2079 for ac_exec_ext in '' $ac_executable_extensions; do
2080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2081 ac_cv_prog_ac_ct_CC="$ac_prog"
2082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2083 break 2
2085 done
2086 done
2087 IFS=$as_save_IFS
2091 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2092 if test -n "$ac_ct_CC"; then
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2094 $as_echo "$ac_ct_CC" >&6; }
2095 else
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2097 $as_echo "no" >&6; }
2101 test -n "$ac_ct_CC" && break
2102 done
2104 if test "x$ac_ct_CC" = x; then
2105 CC=""
2106 else
2107 case $cross_compiling:$ac_tool_warned in
2108 yes:)
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2111 ac_tool_warned=yes ;;
2112 esac
2113 CC=$ac_ct_CC
2120 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2122 as_fn_error $? "no acceptable C compiler found in \$PATH
2123 See \`config.log' for more details" "$LINENO" 5; }
2125 # Provide some information about the compiler.
2126 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2127 set X $ac_compile
2128 ac_compiler=$2
2129 for ac_option in --version -v -V -qversion; do
2130 { { ac_try="$ac_compiler $ac_option >&5"
2131 case "(($ac_try" in
2132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2133 *) ac_try_echo=$ac_try;;
2134 esac
2135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2136 $as_echo "$ac_try_echo"; } >&5
2137 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2138 ac_status=$?
2139 if test -s conftest.err; then
2140 sed '10a\
2141 ... rest of stderr output deleted ...
2142 10q' conftest.err >conftest.er1
2143 cat conftest.er1 >&5
2145 rm -f conftest.er1 conftest.err
2146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2147 test $ac_status = 0; }
2148 done
2150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h. */
2154 main ()
2158 return 0;
2160 _ACEOF
2161 ac_clean_files_save=$ac_clean_files
2162 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2163 # Try to create an executable without -o first, disregard a.out.
2164 # It will help us diagnose broken compilers, and finding out an intuition
2165 # of exeext.
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2167 $as_echo_n "checking whether the C compiler works... " >&6; }
2168 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2170 # The possible output files:
2171 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2173 ac_rmfiles=
2174 for ac_file in $ac_files
2176 case $ac_file in
2177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2178 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2179 esac
2180 done
2181 rm -f $ac_rmfiles
2183 if { { ac_try="$ac_link_default"
2184 case "(($ac_try" in
2185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2186 *) ac_try_echo=$ac_try;;
2187 esac
2188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2189 $as_echo "$ac_try_echo"; } >&5
2190 (eval "$ac_link_default") 2>&5
2191 ac_status=$?
2192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2193 test $ac_status = 0; }; then :
2194 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2195 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2196 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2197 # so that the user can short-circuit this test for compilers unknown to
2198 # Autoconf.
2199 for ac_file in $ac_files ''
2201 test -f "$ac_file" || continue
2202 case $ac_file in
2203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2205 [ab].out )
2206 # We found the default executable, but exeext='' is most
2207 # certainly right.
2208 break;;
2209 *.* )
2210 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2211 then :; else
2212 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2214 # We set ac_cv_exeext here because the later test for it is not
2215 # safe: cross compilers may not add the suffix if given an `-o'
2216 # argument, so we may need to know it at that point already.
2217 # Even if this section looks crufty: it has the advantage of
2218 # actually working.
2219 break;;
2221 break;;
2222 esac
2223 done
2224 test "$ac_cv_exeext" = no && ac_cv_exeext=
2226 else
2227 ac_file=''
2229 if test -z "$ac_file"; then :
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2231 $as_echo "no" >&6; }
2232 $as_echo "$as_me: failed program was:" >&5
2233 sed 's/^/| /' conftest.$ac_ext >&5
2235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2237 as_fn_error 77 "C compiler cannot create executables
2238 See \`config.log' for more details" "$LINENO" 5; }
2239 else
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2241 $as_echo "yes" >&6; }
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2244 $as_echo_n "checking for C compiler default output file name... " >&6; }
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2246 $as_echo "$ac_file" >&6; }
2247 ac_exeext=$ac_cv_exeext
2249 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2250 ac_clean_files=$ac_clean_files_save
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2252 $as_echo_n "checking for suffix of executables... " >&6; }
2253 if { { ac_try="$ac_link"
2254 case "(($ac_try" in
2255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2256 *) ac_try_echo=$ac_try;;
2257 esac
2258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2259 $as_echo "$ac_try_echo"; } >&5
2260 (eval "$ac_link") 2>&5
2261 ac_status=$?
2262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2263 test $ac_status = 0; }; then :
2264 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2265 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2266 # work properly (i.e., refer to `conftest.exe'), while it won't with
2267 # `rm'.
2268 for ac_file in conftest.exe conftest conftest.*; do
2269 test -f "$ac_file" || continue
2270 case $ac_file in
2271 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2272 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2273 break;;
2274 * ) break;;
2275 esac
2276 done
2277 else
2278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2280 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2281 See \`config.log' for more details" "$LINENO" 5; }
2283 rm -f conftest conftest$ac_cv_exeext
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2285 $as_echo "$ac_cv_exeext" >&6; }
2287 rm -f conftest.$ac_ext
2288 EXEEXT=$ac_cv_exeext
2289 ac_exeext=$EXEEXT
2290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2291 /* end confdefs.h. */
2292 #include <stdio.h>
2294 main ()
2296 FILE *f = fopen ("conftest.out", "w");
2297 return ferror (f) || fclose (f) != 0;
2300 return 0;
2302 _ACEOF
2303 ac_clean_files="$ac_clean_files conftest.out"
2304 # Check that the compiler produces executables we can run. If not, either
2305 # the compiler is broken, or we cross compile.
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2307 $as_echo_n "checking whether we are cross compiling... " >&6; }
2308 if test "$cross_compiling" != yes; then
2309 { { ac_try="$ac_link"
2310 case "(($ac_try" in
2311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2312 *) ac_try_echo=$ac_try;;
2313 esac
2314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2315 $as_echo "$ac_try_echo"; } >&5
2316 (eval "$ac_link") 2>&5
2317 ac_status=$?
2318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2319 test $ac_status = 0; }
2320 if { ac_try='./conftest$ac_cv_exeext'
2321 { { case "(($ac_try" in
2322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2323 *) ac_try_echo=$ac_try;;
2324 esac
2325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2326 $as_echo "$ac_try_echo"; } >&5
2327 (eval "$ac_try") 2>&5
2328 ac_status=$?
2329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2330 test $ac_status = 0; }; }; then
2331 cross_compiling=no
2332 else
2333 if test "$cross_compiling" = maybe; then
2334 cross_compiling=yes
2335 else
2336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2338 as_fn_error $? "cannot run C compiled programs.
2339 If you meant to cross compile, use \`--host'.
2340 See \`config.log' for more details" "$LINENO" 5; }
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2345 $as_echo "$cross_compiling" >&6; }
2347 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2348 ac_clean_files=$ac_clean_files_save
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2350 $as_echo_n "checking for suffix of object files... " >&6; }
2351 if ${ac_cv_objext+:} false; then :
2352 $as_echo_n "(cached) " >&6
2353 else
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2358 main ()
2362 return 0;
2364 _ACEOF
2365 rm -f conftest.o conftest.obj
2366 if { { ac_try="$ac_compile"
2367 case "(($ac_try" in
2368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2369 *) ac_try_echo=$ac_try;;
2370 esac
2371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2372 $as_echo "$ac_try_echo"; } >&5
2373 (eval "$ac_compile") 2>&5
2374 ac_status=$?
2375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2376 test $ac_status = 0; }; then :
2377 for ac_file in conftest.o conftest.obj conftest.*; do
2378 test -f "$ac_file" || continue;
2379 case $ac_file in
2380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2381 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2382 break;;
2383 esac
2384 done
2385 else
2386 $as_echo "$as_me: failed program was:" >&5
2387 sed 's/^/| /' conftest.$ac_ext >&5
2389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2391 as_fn_error $? "cannot compute suffix of object files: cannot compile
2392 See \`config.log' for more details" "$LINENO" 5; }
2394 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2397 $as_echo "$ac_cv_objext" >&6; }
2398 OBJEXT=$ac_cv_objext
2399 ac_objext=$OBJEXT
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2401 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2402 if ${ac_cv_c_compiler_gnu+:} false; then :
2403 $as_echo_n "(cached) " >&6
2404 else
2405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2406 /* end confdefs.h. */
2409 main ()
2411 #ifndef __GNUC__
2412 choke me
2413 #endif
2416 return 0;
2418 _ACEOF
2419 if ac_fn_c_try_compile "$LINENO"; then :
2420 ac_compiler_gnu=yes
2421 else
2422 ac_compiler_gnu=no
2424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2425 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2429 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2430 if test $ac_compiler_gnu = yes; then
2431 GCC=yes
2432 else
2433 GCC=
2435 ac_test_CFLAGS=${CFLAGS+set}
2436 ac_save_CFLAGS=$CFLAGS
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2438 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2439 if ${ac_cv_prog_cc_g+:} false; then :
2440 $as_echo_n "(cached) " >&6
2441 else
2442 ac_save_c_werror_flag=$ac_c_werror_flag
2443 ac_c_werror_flag=yes
2444 ac_cv_prog_cc_g=no
2445 CFLAGS="-g"
2446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2447 /* end confdefs.h. */
2450 main ()
2454 return 0;
2456 _ACEOF
2457 if ac_fn_c_try_compile "$LINENO"; then :
2458 ac_cv_prog_cc_g=yes
2459 else
2460 CFLAGS=""
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 main ()
2469 return 0;
2471 _ACEOF
2472 if ac_fn_c_try_compile "$LINENO"; then :
2474 else
2475 ac_c_werror_flag=$ac_save_c_werror_flag
2476 CFLAGS="-g"
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2481 main ()
2485 return 0;
2487 _ACEOF
2488 if ac_fn_c_try_compile "$LINENO"; then :
2489 ac_cv_prog_cc_g=yes
2491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 ac_c_werror_flag=$ac_save_c_werror_flag
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2499 $as_echo "$ac_cv_prog_cc_g" >&6; }
2500 if test "$ac_test_CFLAGS" = set; then
2501 CFLAGS=$ac_save_CFLAGS
2502 elif test $ac_cv_prog_cc_g = yes; then
2503 if test "$GCC" = yes; then
2504 CFLAGS="-g -O2"
2505 else
2506 CFLAGS="-g"
2508 else
2509 if test "$GCC" = yes; then
2510 CFLAGS="-O2"
2511 else
2512 CFLAGS=
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2516 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2517 if ${ac_cv_prog_cc_c89+:} false; then :
2518 $as_echo_n "(cached) " >&6
2519 else
2520 ac_cv_prog_cc_c89=no
2521 ac_save_CC=$CC
2522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2523 /* end confdefs.h. */
2524 #include <stdarg.h>
2525 #include <stdio.h>
2526 struct stat;
2527 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2528 struct buf { int x; };
2529 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2530 static char *e (p, i)
2531 char **p;
2532 int i;
2534 return p[i];
2536 static char *f (char * (*g) (char **, int), char **p, ...)
2538 char *s;
2539 va_list v;
2540 va_start (v,p);
2541 s = g (p, va_arg (v,int));
2542 va_end (v);
2543 return s;
2546 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2547 function prototypes and stuff, but not '\xHH' hex character constants.
2548 These don't provoke an error unfortunately, instead are silently treated
2549 as 'x'. The following induces an error, until -std is added to get
2550 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2551 array size at least. It's necessary to write '\x00'==0 to get something
2552 that's true only with -std. */
2553 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2555 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2556 inside strings and character constants. */
2557 #define FOO(x) 'x'
2558 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2560 int test (int i, double x);
2561 struct s1 {int (*f) (int a);};
2562 struct s2 {int (*f) (double a);};
2563 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2564 int argc;
2565 char **argv;
2567 main ()
2569 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2571 return 0;
2573 _ACEOF
2574 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2575 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2577 CC="$ac_save_CC $ac_arg"
2578 if ac_fn_c_try_compile "$LINENO"; then :
2579 ac_cv_prog_cc_c89=$ac_arg
2581 rm -f core conftest.err conftest.$ac_objext
2582 test "x$ac_cv_prog_cc_c89" != "xno" && break
2583 done
2584 rm -f conftest.$ac_ext
2585 CC=$ac_save_CC
2588 # AC_CACHE_VAL
2589 case "x$ac_cv_prog_cc_c89" in
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2592 $as_echo "none needed" >&6; } ;;
2593 xno)
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2595 $as_echo "unsupported" >&6; } ;;
2597 CC="$CC $ac_cv_prog_cc_c89"
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2599 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2600 esac
2601 if test "x$ac_cv_prog_cc_c89" != xno; then :
2605 ac_ext=c
2606 ac_cpp='$CPP $CPPFLAGS'
2607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2613 $as_echo_n "checking target config location... " >&6; }
2615 # Check whether --with-config-dir was given.
2616 if test "${with_config_dir+set}" = set; then :
2617 withval=$with_config_dir; targetcfg_dir="$withval"
2618 else
2619 targetcfg_dir=""
2622 if test "$targetcfg_dir" = ""; then
2623 as_fn_error $? "missing config directory!" "$LINENO" 5
2624 else
2625 aros_targetcfg_dir="$targetcfg_dir"
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2628 $as_echo "$aros_targetcfg_dir" >&6; }
2630 #-----------------------------------------------------------------------------
2632 # Check if the target compiler supports some options used for delinting:
2633 # -Wunused-but-set-variable
2634 # -Wstrict-aliasing
2635 # -Warray-bounds
2636 # -Wenum-compare
2637 # -Wstrict-prototypes
2638 # -Wstrict-overflow
2639 # -Wformat-security
2640 # -Wmisleading-indentation
2641 # -Wnonnull-compare
2642 # -Wunused
2643 # -Wunused-value
2644 # -Wunused-variable
2645 # -Wunused-function
2646 # -Wuninitialized
2647 # -Wmaybe-uninitialized
2648 # -Wimplicit-function-declaration
2649 # -Wformat
2650 # -Wparentheses
2651 # -Wchar-subscripts
2652 # -Wendif-labels
2653 # -Wformat-contains-nul
2654 # -Wimplicit-int
2655 # -Waggressive-loop-optimizations
2656 # -Wcpp
2657 # -Wswitch
2658 # -Wdiscarded-qualifiers
2659 # -Wsequence-point
2660 # -Wunknown-pragmas
2661 # -Wdiscarded-array-qualifiers
2662 # -Wint-conversion
2663 # -Wint-to-pointer-cast
2664 # -Wpointer-to-int-cast
2665 # -Wunused-const-variable
2666 # -Wwrite-strings
2667 # -Wcomment
2668 # -Wincompatible-pointer-types
2669 # -Wbool-compare
2670 # -Wlogical-not-parentheses
2671 # -Wpointer-sign
2672 # -Wshift-overflow
2673 # -Wframe-address
2674 # -Wdeprecated-declarations
2675 # -Wsign-compare
2676 # -Wattributes
2677 # -Woverflow
2678 # -Wunused-local-typedefs
2679 # -Wmissing-braces
2680 # -Wconversion-null
2681 # -Wnarrowing
2682 # -Wvolatile-register-var
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2685 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2686 CFLAGS=-Wunused-but-set-variable
2688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689 /* end confdefs.h. */
2692 main ()
2696 return 0;
2698 _ACEOF
2699 if ac_fn_c_try_compile "$LINENO"; then :
2700 aros_unused_but_set_variable="yes"
2701 else
2702 aros_unused_but_set_variable="no"
2704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2706 $as_echo "$aros_unused_but_set_variable" >&6; }
2707 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2708 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2712 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2713 CFLAGS=-Wstrict-aliasing
2714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2715 /* end confdefs.h. */
2718 main ()
2722 return 0;
2724 _ACEOF
2725 if ac_fn_c_try_compile "$LINENO"; then :
2726 aros_strict_aliasing="yes"
2727 else
2728 aros_strict_aliasing="no"
2730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2732 $as_echo "$aros_strict_aliasing" >&6; }
2733 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2734 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2738 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2739 CFLAGS=-Warray-bounds
2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741 /* end confdefs.h. */
2744 main ()
2748 return 0;
2750 _ACEOF
2751 if ac_fn_c_try_compile "$LINENO"; then :
2752 aros_array_bounds="yes"
2753 else
2754 aros_array_bounds="no"
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2758 $as_echo "$aros_array_bounds" >&6; }
2759 if test "x-$aros_array_bounds" = "x-yes" ; then
2760 aros_cflags_array_bounds=-Wno-array-bounds
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2764 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2765 CFLAGS=-Wenum-compare
2766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2767 /* end confdefs.h. */
2770 main ()
2774 return 0;
2776 _ACEOF
2777 if ac_fn_c_try_compile "$LINENO"; then :
2778 aros_enum_compare="yes"
2779 else
2780 aros_enum_compare="no"
2782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2784 $as_echo "$aros_enum_compare" >&6; }
2785 if test "x-$aros_enum_compare" = "x-yes" ; then
2786 aros_cflags_enum_compare=-Wno-enum-compare
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2790 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2791 CFLAGS=-Wstrict-prototypes
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2796 main ()
2800 return 0;
2802 _ACEOF
2803 if ac_fn_c_try_compile "$LINENO"; then :
2804 aros_strict_prototypes="yes"
2805 else
2806 aros_strict_prototypes="no"
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
2810 $as_echo "$aros_strict_prototypes" >&6; }
2811 if test "x-$aros_strict_prototypes" = "x-yes" ; then
2812 aros_cflags_strict_prototypes=-Wno-strict-prototypes
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
2816 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
2817 CFLAGS=-Wstrict-overflow
2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2819 /* end confdefs.h. */
2822 main ()
2826 return 0;
2828 _ACEOF
2829 if ac_fn_c_try_compile "$LINENO"; then :
2830 aros_strict_overflow="yes"
2831 else
2832 aros_strict_overflow="no"
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
2836 $as_echo "$aros_strict_overflow" >&6; }
2837 if test "x-$aros_strict_overflow" = "x-yes" ; then
2838 aros_cflags_strict_overflow=-Wno-strict-overflow
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
2842 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
2843 CFLAGS=-Wformat-security
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2848 main ()
2852 return 0;
2854 _ACEOF
2855 if ac_fn_c_try_compile "$LINENO"; then :
2856 aros_format_security="yes"
2857 else
2858 aros_format_security="no"
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
2862 $as_echo "$aros_format_security" >&6; }
2863 if test "x-$aros_format_security" = "x-yes" ; then
2864 aros_cflags_format_security=-Wno-format-security
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
2868 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
2869 CFLAGS=-Wmisleading-indentation
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2874 main ()
2878 return 0;
2880 _ACEOF
2881 if ac_fn_c_try_compile "$LINENO"; then :
2882 aros_misleading_indentation="yes"
2883 else
2884 aros_misleading_indentation="no"
2886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
2888 $as_echo "$aros_misleading_indentation" >&6; }
2889 if test "x-$aros_misleading_indentation" = "x-yes" ; then
2890 aros_cflags_misleading_indentation=-Wno-misleading-indentation
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
2894 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
2895 CFLAGS=-Wnonnull-compare
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2900 main ()
2904 return 0;
2906 _ACEOF
2907 if ac_fn_c_try_compile "$LINENO"; then :
2908 aros_nonnull_compare="yes"
2909 else
2910 aros_nonnull_compare="no"
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
2914 $as_echo "$aros_nonnull_compare" >&6; }
2915 if test "x-$aros_nonnull_compare" = "x-yes" ; then
2916 aros_cflags_nonnull_compare=-Wno-nonnull-compare
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
2920 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
2921 CFLAGS=-Wunused
2922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2923 /* end confdefs.h. */
2926 main ()
2930 return 0;
2932 _ACEOF
2933 if ac_fn_c_try_compile "$LINENO"; then :
2934 aros_unused="yes"
2935 else
2936 aros_unused="no"
2938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
2940 $as_echo "$aros_unused" >&6; }
2941 if test "x-$aros_unused" = "x-yes" ; then
2942 aros_cflags_unused=-Wno-unused
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
2946 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
2947 CFLAGS=-Wunused-value
2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2952 main ()
2956 return 0;
2958 _ACEOF
2959 if ac_fn_c_try_compile "$LINENO"; then :
2960 aros_unused_value="yes"
2961 else
2962 aros_unused_value="no"
2964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
2966 $as_echo "$aros_unused_value" >&6; }
2967 if test "x-$aros_unused_value" = "x-yes" ; then
2968 aros_cflags_unused_value=-Wno-unused-value
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
2972 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
2973 CFLAGS=-Wunused-variable
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2978 main ()
2982 return 0;
2984 _ACEOF
2985 if ac_fn_c_try_compile "$LINENO"; then :
2986 aros_unused_variable="yes"
2987 else
2988 aros_unused_variable="no"
2990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
2992 $as_echo "$aros_unused_variable" >&6; }
2993 if test "x-$aros_unused_variable" = "x-yes" ; then
2994 aros_cflags_unused_variable=-Wno-unused-variable
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
2998 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
2999 CFLAGS=-Wunused-function
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3004 main ()
3008 return 0;
3010 _ACEOF
3011 if ac_fn_c_try_compile "$LINENO"; then :
3012 aros_unused_function="yes"
3013 else
3014 aros_unused_function="no"
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3018 $as_echo "$aros_unused_function" >&6; }
3019 if test "x-$aros_unused_function" = "x-yes" ; then
3020 aros_cflags_unused_function=-Wno-unused-function
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3024 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3025 CFLAGS=-Wuninitialized
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3030 main ()
3034 return 0;
3036 _ACEOF
3037 if ac_fn_c_try_compile "$LINENO"; then :
3038 aros_uninitialized="yes"
3039 else
3040 aros_uninitialized="no"
3042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3044 $as_echo "$aros_uninitialized" >&6; }
3045 if test "x-$aros_uninitialized" = "x-yes" ; then
3046 aros_cflags_uninitialized=-Wno-uninitialized
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3050 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3051 CFLAGS=-Wmaybe-uninitialized
3052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3053 /* end confdefs.h. */
3056 main ()
3060 return 0;
3062 _ACEOF
3063 if ac_fn_c_try_compile "$LINENO"; then :
3064 aros_maybe_uninitialized="yes"
3065 else
3066 aros_maybe_uninitialized="no"
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3070 $as_echo "$aros_maybe_uninitialized" >&6; }
3071 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3072 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3076 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3077 CFLAGS=-Wimplicit-function-declaration
3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h. */
3082 main ()
3086 return 0;
3088 _ACEOF
3089 if ac_fn_c_try_compile "$LINENO"; then :
3090 aros_implicit_function_declaration="yes"
3091 else
3092 aros_implicit_function_declaration="no"
3094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3096 $as_echo "$aros_implicit_function_declaration" >&6; }
3097 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3098 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3102 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3103 CFLAGS=-Wformat
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3108 main ()
3112 return 0;
3114 _ACEOF
3115 if ac_fn_c_try_compile "$LINENO"; then :
3116 aros_format="yes"
3117 else
3118 aros_format="no"
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3122 $as_echo "$aros_format" >&6; }
3123 if test "x-$aros_format" = "x-yes" ; then
3124 aros_cflags_format=-Wno-format
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3128 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3129 CFLAGS=-Wparentheses
3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131 /* end confdefs.h. */
3134 main ()
3138 return 0;
3140 _ACEOF
3141 if ac_fn_c_try_compile "$LINENO"; then :
3142 aros_parentheses="yes"
3143 else
3144 aros_parentheses="no"
3146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3148 $as_echo "$aros_parentheses" >&6; }
3149 if test "x-$aros_parentheses" = "x-yes" ; then
3150 aros_cflags_parentheses=-Wno-parentheses
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3154 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3155 CFLAGS=-Wchar-subscripts
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3160 main ()
3164 return 0;
3166 _ACEOF
3167 if ac_fn_c_try_compile "$LINENO"; then :
3168 aros_char_subscripts="yes"
3169 else
3170 aros_char_subscripts="no"
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3174 $as_echo "$aros_char_subscripts" >&6; }
3175 if test "x-$aros_char_subscripts" = "x-yes" ; then
3176 aros_cflags_char_subscripts=-Wno-char-subscripts
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3180 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3181 CFLAGS=-Wendif-labels
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h. */
3186 main ()
3190 return 0;
3192 _ACEOF
3193 if ac_fn_c_try_compile "$LINENO"; then :
3194 aros_endif_labels="yes"
3195 else
3196 aros_endif_labels="no"
3198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3200 $as_echo "$aros_endif_labels" >&6; }
3201 if test "x-$aros_endif_labels" = "x-yes" ; then
3202 aros_cflags_endif_labels=-Wno-endif-labels
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3206 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3207 CFLAGS=-Wformat-contains-nul
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3212 main ()
3216 return 0;
3218 _ACEOF
3219 if ac_fn_c_try_compile "$LINENO"; then :
3220 aros_format_contains_nul="yes"
3221 else
3222 aros_format_contains_nul="no"
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3226 $as_echo "$aros_format_contains_nul" >&6; }
3227 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3228 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3232 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3233 CFLAGS=-Wimplicit-int
3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235 /* end confdefs.h. */
3238 main ()
3242 return 0;
3244 _ACEOF
3245 if ac_fn_c_try_compile "$LINENO"; then :
3246 aros_implicit_int="yes"
3247 else
3248 aros_implicit_int="no"
3250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3252 $as_echo "$aros_implicit_int" >&6; }
3253 if test "x-$aros_implicit_int" = "x-yes" ; then
3254 aros_cflags_implicit_int=-Wno-implicit-int
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3258 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3259 CFLAGS=-Waggressive-loop-optimizations
3260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261 /* end confdefs.h. */
3264 main ()
3268 return 0;
3270 _ACEOF
3271 if ac_fn_c_try_compile "$LINENO"; then :
3272 aros_aggressive_loop_optimizations="yes"
3273 else
3274 aros_aggressive_loop_optimizations="no"
3276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3278 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3279 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3280 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3284 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3285 CFLAGS=-Wcpp
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3290 main ()
3294 return 0;
3296 _ACEOF
3297 if ac_fn_c_try_compile "$LINENO"; then :
3298 aros_cpp="yes"
3299 else
3300 aros_cpp="no"
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3304 $as_echo "$aros_cpp" >&6; }
3305 if test "x-$aros_cpp" = "x-yes" ; then
3306 aros_cflags_cpp=-Wno-cpp
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3310 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3311 CFLAGS=-Wswitch
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3316 main ()
3320 return 0;
3322 _ACEOF
3323 if ac_fn_c_try_compile "$LINENO"; then :
3324 aros_switch="yes"
3325 else
3326 aros_switch="no"
3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3330 $as_echo "$aros_switch" >&6; }
3331 if test "x-$aros_switch" = "x-yes" ; then
3332 aros_cflags_switch=-Wno-switch
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3336 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3337 CFLAGS=-Wdiscarded-qualifiers
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3342 main ()
3346 return 0;
3348 _ACEOF
3349 if ac_fn_c_try_compile "$LINENO"; then :
3350 aros_discarded_qualifiers="yes"
3351 else
3352 aros_discarded_qualifiers="no"
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3356 $as_echo "$aros_discarded_qualifiers" >&6; }
3357 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3358 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3362 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3363 CFLAGS=-Wsequence-point
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3368 main ()
3372 return 0;
3374 _ACEOF
3375 if ac_fn_c_try_compile "$LINENO"; then :
3376 aros_sequence_point="yes"
3377 else
3378 aros_sequence_point="no"
3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3382 $as_echo "$aros_sequence_point" >&6; }
3383 if test "x-$aros_sequence_point" = "x-yes" ; then
3384 aros_cflags_sequence_point=-Wno-sequence-point
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3388 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3389 CFLAGS=-Wunknown-pragmas
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3394 main ()
3398 return 0;
3400 _ACEOF
3401 if ac_fn_c_try_compile "$LINENO"; then :
3402 aros_unknown_pragmas="yes"
3403 else
3404 aros_unknown_pragmas="no"
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3408 $as_echo "$aros_unknown_pragmas" >&6; }
3409 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3410 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3414 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3415 CFLAGS=-Wdiscarded-array-qualifiers
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3420 main ()
3424 return 0;
3426 _ACEOF
3427 if ac_fn_c_try_compile "$LINENO"; then :
3428 aros_discarded_array_qualifiers="yes"
3429 else
3430 aros_discarded_array_qualifiers="no"
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3434 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3435 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3436 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3440 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3441 CFLAGS=-Wint-conversion
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3446 main ()
3450 return 0;
3452 _ACEOF
3453 if ac_fn_c_try_compile "$LINENO"; then :
3454 aros_int_conversion="yes"
3455 else
3456 aros_int_conversion="no"
3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3460 $as_echo "$aros_int_conversion" >&6; }
3461 if test "x-$aros_int_conversion" = "x-yes" ; then
3462 aros_cflags_int_conversion=-Wno-int-conversion
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3466 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3467 CFLAGS=-Wint-to-pointer-cast
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3472 main ()
3476 return 0;
3478 _ACEOF
3479 if ac_fn_c_try_compile "$LINENO"; then :
3480 aros_int_to_pointer_cast="yes"
3481 else
3482 aros_int_to_pointer_cast="no"
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3486 $as_echo "$aros_int_to_pointer_cast" >&6; }
3487 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3488 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3492 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3493 CFLAGS=-Wpointer-to-int-cast
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3498 main ()
3502 return 0;
3504 _ACEOF
3505 if ac_fn_c_try_compile "$LINENO"; then :
3506 aros_pointer_to_int_cast="yes"
3507 else
3508 aros_pointer_to_int_cast="no"
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3512 $as_echo "$aros_pointer_to_int_cast" >&6; }
3513 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3514 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3518 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3519 CFLAGS=-Wunused-const-variable
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3524 main ()
3528 return 0;
3530 _ACEOF
3531 if ac_fn_c_try_compile "$LINENO"; then :
3532 aros_unused_const_variable="yes"
3533 else
3534 aros_unused_const_variable="no"
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3538 $as_echo "$aros_unused_const_variable" >&6; }
3539 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3540 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3544 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3545 CFLAGS=-Wwrite-strings
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3550 main ()
3554 return 0;
3556 _ACEOF
3557 if ac_fn_c_try_compile "$LINENO"; then :
3558 aros_write_strings="yes"
3559 else
3560 aros_write_strings="no"
3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3564 $as_echo "$aros_write_strings" >&6; }
3565 if test "x-$aros_write_strings" = "x-yes" ; then
3566 aros_cflags_write_strings=-Wno-write-strings
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3570 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3571 CFLAGS=-Wcomment
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3576 main ()
3580 return 0;
3582 _ACEOF
3583 if ac_fn_c_try_compile "$LINENO"; then :
3584 aros_comment="yes"
3585 else
3586 aros_comment="no"
3588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3590 $as_echo "$aros_comment" >&6; }
3591 if test "x-$aros_comment" = "x-yes" ; then
3592 aros_cflags_comment=-Wno-comment
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3596 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3597 CFLAGS=-Wincompatible-pointer-types
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3602 main ()
3606 return 0;
3608 _ACEOF
3609 if ac_fn_c_try_compile "$LINENO"; then :
3610 aros_incompatible_pointer_types="yes"
3611 else
3612 aros_incompatible_pointer_types="no"
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3616 $as_echo "$aros_incompatible_pointer_types" >&6; }
3617 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3618 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3622 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3623 CFLAGS=-Wbool-compare
3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3628 main ()
3632 return 0;
3634 _ACEOF
3635 if ac_fn_c_try_compile "$LINENO"; then :
3636 aros_bool_compare="yes"
3637 else
3638 aros_bool_compare="no"
3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3642 $as_echo "$aros_bool_compare" >&6; }
3643 if test "x-$aros_bool_compare" = "x-yes" ; then
3644 aros_cflags_bool_compare=-Wno-bool-compare
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3648 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3649 CFLAGS=-Wlogical-not-parentheses
3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3654 main ()
3658 return 0;
3660 _ACEOF
3661 if ac_fn_c_try_compile "$LINENO"; then :
3662 aros_logical_not_parentheses="yes"
3663 else
3664 aros_logical_not_parentheses="no"
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3668 $as_echo "$aros_logical_not_parentheses" >&6; }
3669 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3670 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3674 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3675 CFLAGS=-Wpointer-sign
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3680 main ()
3684 return 0;
3686 _ACEOF
3687 if ac_fn_c_try_compile "$LINENO"; then :
3688 aros_pointer_sign="yes"
3689 else
3690 aros_pointer_sign="no"
3692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3694 $as_echo "$aros_pointer_sign" >&6; }
3695 if test "x-$aros_pointer_sign" = "x-yes" ; then
3696 aros_cflags_pointer_sign=-Wno-pointer-sign
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3700 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3701 CFLAGS=-Wshift-overflow
3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3706 main ()
3710 return 0;
3712 _ACEOF
3713 if ac_fn_c_try_compile "$LINENO"; then :
3714 aros_shift_overflow="yes"
3715 else
3716 aros_shift_overflow="no"
3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3720 $as_echo "$aros_shift_overflow" >&6; }
3721 if test "x-$aros_shift_overflow" = "x-yes" ; then
3722 aros_cflags_shift_overflow=-Wno-shift-overflow
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3726 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3727 CFLAGS=-Wframe-address
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3732 main ()
3736 return 0;
3738 _ACEOF
3739 if ac_fn_c_try_compile "$LINENO"; then :
3740 aros_frame_address="yes"
3741 else
3742 aros_frame_address="no"
3744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3746 $as_echo "$aros_frame_address" >&6; }
3747 if test "x-$aros_frame_address" = "x-yes" ; then
3748 aros_cflags_frame_address=-Wno-frame-address
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3752 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3753 CFLAGS=-Wdeprecated-declarations
3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3758 main ()
3762 return 0;
3764 _ACEOF
3765 if ac_fn_c_try_compile "$LINENO"; then :
3766 aros_deprecated_declarations="yes"
3767 else
3768 aros_deprecated_declarations="no"
3770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
3772 $as_echo "$aros_deprecated_declarations" >&6; }
3773 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
3774 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
3778 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
3779 CFLAGS=-Wsign-compare
3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3781 /* end confdefs.h. */
3784 main ()
3788 return 0;
3790 _ACEOF
3791 if ac_fn_c_try_compile "$LINENO"; then :
3792 aros_sign_compare="yes"
3793 else
3794 aros_sign_compare="no"
3796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
3798 $as_echo "$aros_sign_compare" >&6; }
3799 if test "x-$aros_sign_compare" = "x-yes" ; then
3800 aros_cflags_sign_compare=-Wno-sign-compare
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
3804 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
3805 CFLAGS=-Wattributes
3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807 /* end confdefs.h. */
3810 main ()
3814 return 0;
3816 _ACEOF
3817 if ac_fn_c_try_compile "$LINENO"; then :
3818 aros_attributes="yes"
3819 else
3820 aros_attributes="no"
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
3824 $as_echo "$aros_attributes" >&6; }
3825 if test "x-$aros_attributes" = "x-yes" ; then
3826 aros_cflags_attributes=-Wno-attributes
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
3830 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
3831 CFLAGS=-Woverflow
3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833 /* end confdefs.h. */
3836 main ()
3840 return 0;
3842 _ACEOF
3843 if ac_fn_c_try_compile "$LINENO"; then :
3844 aros_overflow="yes"
3845 else
3846 aros_overflow="no"
3848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
3850 $as_echo "$aros_overflow" >&6; }
3851 if test "x-$aros_overflow" = "x-yes" ; then
3852 aros_cflags_overflow=-Wno-overflow
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
3856 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
3857 CFLAGS=-Wunused-local-typedefs
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3862 main ()
3866 return 0;
3868 _ACEOF
3869 if ac_fn_c_try_compile "$LINENO"; then :
3870 aros_unused_local_typedefs="yes"
3871 else
3872 aros_unused_local_typedefs="no"
3874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
3876 $as_echo "$aros_unused_local_typedefs" >&6; }
3877 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
3878 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
3882 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
3883 CFLAGS=-Wmissing-braces
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3888 main ()
3892 return 0;
3894 _ACEOF
3895 if ac_fn_c_try_compile "$LINENO"; then :
3896 aros_missing_braces="yes"
3897 else
3898 aros_missing_braces="no"
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
3902 $as_echo "$aros_missing_braces" >&6; }
3903 if test "x-$aros_missing_braces" = "x-yes" ; then
3904 aros_cflags_missing_braces=-Wno-missing-braces
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
3908 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
3909 CFLAGS=-Wconversion-null
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3914 main ()
3918 return 0;
3920 _ACEOF
3921 if ac_fn_c_try_compile "$LINENO"; then :
3922 aros_conversion_null="yes"
3923 else
3924 aros_conversion_null="no"
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
3928 $as_echo "$aros_conversion_null" >&6; }
3929 if test "x-$aros_conversion_null" = "x-yes" ; then
3930 aros_cflags_conversion_null=-Wno-conversion-null
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
3934 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
3935 CFLAGS=-Wnarrowing
3936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3940 main ()
3944 return 0;
3946 _ACEOF
3947 if ac_fn_c_try_compile "$LINENO"; then :
3948 aros_narrowing="yes"
3949 else
3950 aros_narrowing="no"
3952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
3954 $as_echo "$aros_narrowing" >&6; }
3955 if test "x-$aros_narrowing" = "x-yes" ; then
3956 aros_cflags_narrowing=-Wno-narrowing
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wvolatile-register-var" >&5
3960 $as_echo_n "checking whether ${CC} accepts -Wvolatile-register-var... " >&6; }
3961 CFLAGS=-Wvolatile-register-var
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3966 main ()
3970 return 0;
3972 _ACEOF
3973 if ac_fn_c_try_compile "$LINENO"; then :
3974 aros_volatile_register_var="yes"
3975 else
3976 aros_volatile_register_var="no"
3978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_volatile_register_var" >&5
3980 $as_echo "$aros_volatile_register_var" >&6; }
3981 if test "x-$aros_volatile_register_var" = "x-yes" ; then
3982 aros_cflags_volatile_register_var=-Wno-volatile-register-var
4036 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in"
4039 cat >confcache <<\_ACEOF
4040 # This file is a shell script that caches the results of configure
4041 # tests run on this system so they can be shared between configure
4042 # scripts and configure runs, see configure's option --config-cache.
4043 # It is not useful on other systems. If it contains results you don't
4044 # want to keep, you may remove or edit it.
4046 # config.status only pays attention to the cache file if you give it
4047 # the --recheck option to rerun configure.
4049 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4050 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4051 # following values.
4053 _ACEOF
4055 # The following way of writing the cache mishandles newlines in values,
4056 # but we know of no workaround that is simple, portable, and efficient.
4057 # So, we kill variables containing newlines.
4058 # Ultrix sh set writes to stderr and can't be redirected directly,
4059 # and sets the high bit in the cache file unless we assign to the vars.
4061 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4062 eval ac_val=\$$ac_var
4063 case $ac_val in #(
4064 *${as_nl}*)
4065 case $ac_var in #(
4066 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4067 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4068 esac
4069 case $ac_var in #(
4070 _ | IFS | as_nl) ;; #(
4071 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4072 *) { eval $ac_var=; unset $ac_var;} ;;
4073 esac ;;
4074 esac
4075 done
4077 (set) 2>&1 |
4078 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4079 *${as_nl}ac_space=\ *)
4080 # `set' does not quote correctly, so add quotes: double-quote
4081 # substitution turns \\\\ into \\, and sed turns \\ into \.
4082 sed -n \
4083 "s/'/'\\\\''/g;
4084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4085 ;; #(
4087 # `set' quotes correctly as required by POSIX, so do not add quotes.
4088 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4090 esac |
4091 sort
4093 sed '
4094 /^ac_cv_env_/b end
4095 t clear
4096 :clear
4097 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4098 t end
4099 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4100 :end' >>confcache
4101 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4102 if test -w "$cache_file"; then
4103 if test "x$cache_file" != "x/dev/null"; then
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4105 $as_echo "$as_me: updating cache $cache_file" >&6;}
4106 if test ! -f "$cache_file" || test -h "$cache_file"; then
4107 cat confcache >"$cache_file"
4108 else
4109 case $cache_file in #(
4110 */* | ?:*)
4111 mv -f confcache "$cache_file"$$ &&
4112 mv -f "$cache_file"$$ "$cache_file" ;; #(
4114 mv -f confcache "$cache_file" ;;
4115 esac
4118 else
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4120 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4123 rm -f confcache
4125 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4126 # Let make expand exec_prefix.
4127 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4129 # Transform confdefs.h into DEFS.
4130 # Protect against shell expansion while executing Makefile rules.
4131 # Protect against Makefile macro expansion.
4133 # If the first sed substitution is executed (which looks for macros that
4134 # take arguments), then branch to the quote section. Otherwise,
4135 # look for a macro that doesn't take arguments.
4136 ac_script='
4137 :mline
4138 /\\$/{
4140 s,\\\n,,
4141 b mline
4143 t clear
4144 :clear
4145 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4146 t quote
4147 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4148 t quote
4149 b any
4150 :quote
4151 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4152 s/\[/\\&/g
4153 s/\]/\\&/g
4154 s/\$/$$/g
4156 :any
4159 s/^\n//
4160 s/\n/ /g
4164 DEFS=`sed -n "$ac_script" confdefs.h`
4167 ac_libobjs=
4168 ac_ltlibobjs=
4170 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4171 # 1. Remove the extension, and $U if already installed.
4172 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4173 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4174 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4175 # will be set to the directory where LIBOBJS objects are built.
4176 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4177 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4178 done
4179 LIBOBJS=$ac_libobjs
4181 LTLIBOBJS=$ac_ltlibobjs
4185 : "${CONFIG_STATUS=./config.status}"
4186 ac_write_fail=0
4187 ac_clean_files_save=$ac_clean_files
4188 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4190 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4191 as_write_fail=0
4192 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4193 #! $SHELL
4194 # Generated by $as_me.
4195 # Run this file to recreate the current configuration.
4196 # Compiler output produced by configure, useful for debugging
4197 # configure, is in config.log if it exists.
4199 debug=false
4200 ac_cs_recheck=false
4201 ac_cs_silent=false
4203 SHELL=\${CONFIG_SHELL-$SHELL}
4204 export SHELL
4205 _ASEOF
4206 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4207 ## -------------------- ##
4208 ## M4sh Initialization. ##
4209 ## -------------------- ##
4211 # Be more Bourne compatible
4212 DUALCASE=1; export DUALCASE # for MKS sh
4213 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4214 emulate sh
4215 NULLCMD=:
4216 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4217 # is contrary to our usage. Disable this feature.
4218 alias -g '${1+"$@"}'='"$@"'
4219 setopt NO_GLOB_SUBST
4220 else
4221 case `(set -o) 2>/dev/null` in #(
4222 *posix*) :
4223 set -o posix ;; #(
4224 *) :
4226 esac
4230 as_nl='
4232 export as_nl
4233 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4234 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4235 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4236 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4237 # Prefer a ksh shell builtin over an external printf program on Solaris,
4238 # but without wasting forks for bash or zsh.
4239 if test -z "$BASH_VERSION$ZSH_VERSION" \
4240 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4241 as_echo='print -r --'
4242 as_echo_n='print -rn --'
4243 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4244 as_echo='printf %s\n'
4245 as_echo_n='printf %s'
4246 else
4247 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4248 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4249 as_echo_n='/usr/ucb/echo -n'
4250 else
4251 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4252 as_echo_n_body='eval
4253 arg=$1;
4254 case $arg in #(
4255 *"$as_nl"*)
4256 expr "X$arg" : "X\\(.*\\)$as_nl";
4257 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4258 esac;
4259 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4261 export as_echo_n_body
4262 as_echo_n='sh -c $as_echo_n_body as_echo'
4264 export as_echo_body
4265 as_echo='sh -c $as_echo_body as_echo'
4268 # The user is always right.
4269 if test "${PATH_SEPARATOR+set}" != set; then
4270 PATH_SEPARATOR=:
4271 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4272 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4273 PATH_SEPARATOR=';'
4278 # IFS
4279 # We need space, tab and new line, in precisely that order. Quoting is
4280 # there to prevent editors from complaining about space-tab.
4281 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4282 # splitting by setting IFS to empty value.)
4283 IFS=" "" $as_nl"
4285 # Find who we are. Look in the path if we contain no directory separator.
4286 as_myself=
4287 case $0 in #((
4288 *[\\/]* ) as_myself=$0 ;;
4289 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 for as_dir in $PATH
4292 IFS=$as_save_IFS
4293 test -z "$as_dir" && as_dir=.
4294 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4295 done
4296 IFS=$as_save_IFS
4299 esac
4300 # We did not find ourselves, most probably we were run as `sh COMMAND'
4301 # in which case we are not to be found in the path.
4302 if test "x$as_myself" = x; then
4303 as_myself=$0
4305 if test ! -f "$as_myself"; then
4306 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4307 exit 1
4310 # Unset variables that we do not need and which cause bugs (e.g. in
4311 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4312 # suppresses any "Segmentation fault" message there. '((' could
4313 # trigger a bug in pdksh 5.2.14.
4314 for as_var in BASH_ENV ENV MAIL MAILPATH
4315 do eval test x\${$as_var+set} = xset \
4316 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4317 done
4318 PS1='$ '
4319 PS2='> '
4320 PS4='+ '
4322 # NLS nuisances.
4323 LC_ALL=C
4324 export LC_ALL
4325 LANGUAGE=C
4326 export LANGUAGE
4328 # CDPATH.
4329 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4332 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4333 # ----------------------------------------
4334 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4335 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4336 # script with STATUS, using 1 if that was 0.
4337 as_fn_error ()
4339 as_status=$1; test $as_status -eq 0 && as_status=1
4340 if test "$4"; then
4341 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4342 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4344 $as_echo "$as_me: error: $2" >&2
4345 as_fn_exit $as_status
4346 } # as_fn_error
4349 # as_fn_set_status STATUS
4350 # -----------------------
4351 # Set $? to STATUS, without forking.
4352 as_fn_set_status ()
4354 return $1
4355 } # as_fn_set_status
4357 # as_fn_exit STATUS
4358 # -----------------
4359 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4360 as_fn_exit ()
4362 set +e
4363 as_fn_set_status $1
4364 exit $1
4365 } # as_fn_exit
4367 # as_fn_unset VAR
4368 # ---------------
4369 # Portably unset VAR.
4370 as_fn_unset ()
4372 { eval $1=; unset $1;}
4374 as_unset=as_fn_unset
4375 # as_fn_append VAR VALUE
4376 # ----------------------
4377 # Append the text in VALUE to the end of the definition contained in VAR. Take
4378 # advantage of any shell optimizations that allow amortized linear growth over
4379 # repeated appends, instead of the typical quadratic growth present in naive
4380 # implementations.
4381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4382 eval 'as_fn_append ()
4384 eval $1+=\$2
4386 else
4387 as_fn_append ()
4389 eval $1=\$$1\$2
4391 fi # as_fn_append
4393 # as_fn_arith ARG...
4394 # ------------------
4395 # Perform arithmetic evaluation on the ARGs, and store the result in the
4396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4397 # must be portable across $(()) and expr.
4398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4399 eval 'as_fn_arith ()
4401 as_val=$(( $* ))
4403 else
4404 as_fn_arith ()
4406 as_val=`expr "$@" || test $? -eq 1`
4408 fi # as_fn_arith
4411 if expr a : '\(a\)' >/dev/null 2>&1 &&
4412 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4413 as_expr=expr
4414 else
4415 as_expr=false
4418 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4419 as_basename=basename
4420 else
4421 as_basename=false
4424 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4425 as_dirname=dirname
4426 else
4427 as_dirname=false
4430 as_me=`$as_basename -- "$0" ||
4431 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4432 X"$0" : 'X\(//\)$' \| \
4433 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4434 $as_echo X/"$0" |
4435 sed '/^.*\/\([^/][^/]*\)\/*$/{
4436 s//\1/
4439 /^X\/\(\/\/\)$/{
4440 s//\1/
4443 /^X\/\(\/\).*/{
4444 s//\1/
4447 s/.*/./; q'`
4449 # Avoid depending upon Character Ranges.
4450 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4451 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4452 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4453 as_cr_digits='0123456789'
4454 as_cr_alnum=$as_cr_Letters$as_cr_digits
4456 ECHO_C= ECHO_N= ECHO_T=
4457 case `echo -n x` in #(((((
4458 -n*)
4459 case `echo 'xy\c'` in
4460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4461 xy) ECHO_C='\c';;
4462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4463 ECHO_T=' ';;
4464 esac;;
4466 ECHO_N='-n';;
4467 esac
4469 rm -f conf$$ conf$$.exe conf$$.file
4470 if test -d conf$$.dir; then
4471 rm -f conf$$.dir/conf$$.file
4472 else
4473 rm -f conf$$.dir
4474 mkdir conf$$.dir 2>/dev/null
4476 if (echo >conf$$.file) 2>/dev/null; then
4477 if ln -s conf$$.file conf$$ 2>/dev/null; then
4478 as_ln_s='ln -s'
4479 # ... but there are two gotchas:
4480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4482 # In both cases, we have to default to `cp -pR'.
4483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4484 as_ln_s='cp -pR'
4485 elif ln conf$$.file conf$$ 2>/dev/null; then
4486 as_ln_s=ln
4487 else
4488 as_ln_s='cp -pR'
4490 else
4491 as_ln_s='cp -pR'
4493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4494 rmdir conf$$.dir 2>/dev/null
4497 # as_fn_mkdir_p
4498 # -------------
4499 # Create "$as_dir" as a directory, including parents if necessary.
4500 as_fn_mkdir_p ()
4503 case $as_dir in #(
4504 -*) as_dir=./$as_dir;;
4505 esac
4506 test -d "$as_dir" || eval $as_mkdir_p || {
4507 as_dirs=
4508 while :; do
4509 case $as_dir in #(
4510 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4511 *) as_qdir=$as_dir;;
4512 esac
4513 as_dirs="'$as_qdir' $as_dirs"
4514 as_dir=`$as_dirname -- "$as_dir" ||
4515 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4516 X"$as_dir" : 'X\(//\)[^/]' \| \
4517 X"$as_dir" : 'X\(//\)$' \| \
4518 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4519 $as_echo X"$as_dir" |
4520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4521 s//\1/
4524 /^X\(\/\/\)[^/].*/{
4525 s//\1/
4528 /^X\(\/\/\)$/{
4529 s//\1/
4532 /^X\(\/\).*/{
4533 s//\1/
4536 s/.*/./; q'`
4537 test -d "$as_dir" && break
4538 done
4539 test -z "$as_dirs" || eval "mkdir $as_dirs"
4540 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4543 } # as_fn_mkdir_p
4544 if mkdir -p . 2>/dev/null; then
4545 as_mkdir_p='mkdir -p "$as_dir"'
4546 else
4547 test -d ./-p && rmdir ./-p
4548 as_mkdir_p=false
4552 # as_fn_executable_p FILE
4553 # -----------------------
4554 # Test if FILE is an executable regular file.
4555 as_fn_executable_p ()
4557 test -f "$1" && test -x "$1"
4558 } # as_fn_executable_p
4559 as_test_x='test -x'
4560 as_executable_p=as_fn_executable_p
4562 # Sed expression to map a string onto a valid CPP name.
4563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4565 # Sed expression to map a string onto a valid variable name.
4566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4569 exec 6>&1
4570 ## ----------------------------------- ##
4571 ## Main body of $CONFIG_STATUS script. ##
4572 ## ----------------------------------- ##
4573 _ASEOF
4574 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4577 # Save the log message, to keep $0 and so on meaningful, and to
4578 # report actual input values of CONFIG_FILES etc. instead of their
4579 # values after options handling.
4580 ac_log="
4581 This file was extended by $as_me, which was
4582 generated by GNU Autoconf 2.69. Invocation command line was
4584 CONFIG_FILES = $CONFIG_FILES
4585 CONFIG_HEADERS = $CONFIG_HEADERS
4586 CONFIG_LINKS = $CONFIG_LINKS
4587 CONFIG_COMMANDS = $CONFIG_COMMANDS
4588 $ $0 $@
4590 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4593 _ACEOF
4595 case $ac_config_files in *"
4596 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4597 esac
4601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4602 # Files that config.status was made for.
4603 config_files="$ac_config_files"
4605 _ACEOF
4607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4608 ac_cs_usage="\
4609 \`$as_me' instantiates files and other configuration actions
4610 from templates according to the current configuration. Unless the files
4611 and actions are specified as TAGs, all are instantiated by default.
4613 Usage: $0 [OPTION]... [TAG]...
4615 -h, --help print this help, then exit
4616 -V, --version print version number and configuration settings, then exit
4617 --config print configuration, then exit
4618 -q, --quiet, --silent
4619 do not print progress messages
4620 -d, --debug don't remove temporary files
4621 --recheck update $as_me by reconfiguring in the same conditions
4622 --file=FILE[:TEMPLATE]
4623 instantiate the configuration file FILE
4625 Configuration files:
4626 $config_files
4628 Report bugs to the package provider."
4630 _ACEOF
4631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4632 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4633 ac_cs_version="\\
4634 config.status
4635 configured by $0, generated by GNU Autoconf 2.69,
4636 with options \\"\$ac_cs_config\\"
4638 Copyright (C) 2012 Free Software Foundation, Inc.
4639 This config.status script is free software; the Free Software Foundation
4640 gives unlimited permission to copy, distribute and modify it."
4642 ac_pwd='$ac_pwd'
4643 srcdir='$srcdir'
4644 test -n "\$AWK" || AWK=awk
4645 _ACEOF
4647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4648 # The default lists apply if the user does not specify any file.
4649 ac_need_defaults=:
4650 while test $# != 0
4652 case $1 in
4653 --*=?*)
4654 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4655 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4656 ac_shift=:
4658 --*=)
4659 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4660 ac_optarg=
4661 ac_shift=:
4664 ac_option=$1
4665 ac_optarg=$2
4666 ac_shift=shift
4668 esac
4670 case $ac_option in
4671 # Handling of the options.
4672 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4673 ac_cs_recheck=: ;;
4674 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4675 $as_echo "$ac_cs_version"; exit ;;
4676 --config | --confi | --conf | --con | --co | --c )
4677 $as_echo "$ac_cs_config"; exit ;;
4678 --debug | --debu | --deb | --de | --d | -d )
4679 debug=: ;;
4680 --file | --fil | --fi | --f )
4681 $ac_shift
4682 case $ac_optarg in
4683 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4684 '') as_fn_error $? "missing file argument" ;;
4685 esac
4686 as_fn_append CONFIG_FILES " '$ac_optarg'"
4687 ac_need_defaults=false;;
4688 --he | --h | --help | --hel | -h )
4689 $as_echo "$ac_cs_usage"; exit ;;
4690 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4691 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4692 ac_cs_silent=: ;;
4694 # This is an error.
4695 -*) as_fn_error $? "unrecognized option: \`$1'
4696 Try \`$0 --help' for more information." ;;
4698 *) as_fn_append ac_config_targets " $1"
4699 ac_need_defaults=false ;;
4701 esac
4702 shift
4703 done
4705 ac_configure_extra_args=
4707 if $ac_cs_silent; then
4708 exec 6>/dev/null
4709 ac_configure_extra_args="$ac_configure_extra_args --silent"
4712 _ACEOF
4713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4714 if \$ac_cs_recheck; then
4715 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4716 shift
4717 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4718 CONFIG_SHELL='$SHELL'
4719 export CONFIG_SHELL
4720 exec "\$@"
4723 _ACEOF
4724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4725 exec 5>>config.log
4727 echo
4728 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4729 ## Running $as_me. ##
4730 _ASBOX
4731 $as_echo "$ac_log"
4732 } >&5
4734 _ACEOF
4735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4736 _ACEOF
4738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4740 # Handling of arguments.
4741 for ac_config_target in $ac_config_targets
4743 case $ac_config_target in
4744 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in" ;;
4746 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4747 esac
4748 done
4751 # If the user did not use the arguments to specify the items to instantiate,
4752 # then the envvar interface is used. Set only those that are not.
4753 # We use the long form for the default assignment because of an extremely
4754 # bizarre bug on SunOS 4.1.3.
4755 if $ac_need_defaults; then
4756 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4759 # Have a temporary directory for convenience. Make it in the build tree
4760 # simply because there is no reason against having it here, and in addition,
4761 # creating and moving files from /tmp can sometimes cause problems.
4762 # Hook for its removal unless debugging.
4763 # Note that there is a small window in which the directory will not be cleaned:
4764 # after its creation but before its name has been assigned to `$tmp'.
4765 $debug ||
4767 tmp= ac_tmp=
4768 trap 'exit_status=$?
4769 : "${ac_tmp:=$tmp}"
4770 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4772 trap 'as_fn_exit 1' 1 2 13 15
4774 # Create a (secure) tmp directory for tmp files.
4777 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4778 test -d "$tmp"
4779 } ||
4781 tmp=./conf$$-$RANDOM
4782 (umask 077 && mkdir "$tmp")
4783 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4784 ac_tmp=$tmp
4786 # Set up the scripts for CONFIG_FILES section.
4787 # No need to generate them if there are no CONFIG_FILES.
4788 # This happens for instance with `./config.status config.h'.
4789 if test -n "$CONFIG_FILES"; then
4792 ac_cr=`echo X | tr X '\015'`
4793 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4794 # But we know of no other shell where ac_cr would be empty at this
4795 # point, so we can use a bashism as a fallback.
4796 if test "x$ac_cr" = x; then
4797 eval ac_cr=\$\'\\r\'
4799 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4800 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4801 ac_cs_awk_cr='\\r'
4802 else
4803 ac_cs_awk_cr=$ac_cr
4806 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4807 _ACEOF
4811 echo "cat >conf$$subs.awk <<_ACEOF" &&
4812 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4813 echo "_ACEOF"
4814 } >conf$$subs.sh ||
4815 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4816 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4817 ac_delim='%!_!# '
4818 for ac_last_try in false false false false false :; do
4819 . ./conf$$subs.sh ||
4820 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4822 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4823 if test $ac_delim_n = $ac_delim_num; then
4824 break
4825 elif $ac_last_try; then
4826 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4827 else
4828 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4830 done
4831 rm -f conf$$subs.sh
4833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4834 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4835 _ACEOF
4836 sed -n '
4838 s/^/S["/; s/!.*/"]=/
4841 s/^[^!]*!//
4842 :repl
4843 t repl
4844 s/'"$ac_delim"'$//
4845 t delim
4848 s/\(.\{148\}\)..*/\1/
4849 t more1
4850 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4853 b repl
4854 :more1
4855 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4858 s/.\{148\}//
4859 t nl
4860 :delim
4862 s/\(.\{148\}\)..*/\1/
4863 t more2
4864 s/["\\]/\\&/g; s/^/"/; s/$/"/
4867 :more2
4868 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4871 s/.\{148\}//
4872 t delim
4873 ' <conf$$subs.awk | sed '
4874 /^[^""]/{
4876 s/\n//
4878 ' >>$CONFIG_STATUS || ac_write_fail=1
4879 rm -f conf$$subs.awk
4880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4881 _ACAWK
4882 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4883 for (key in S) S_is_set[key] = 1
4884 FS = "\a"
4888 line = $ 0
4889 nfields = split(line, field, "@")
4890 substed = 0
4891 len = length(field[1])
4892 for (i = 2; i < nfields; i++) {
4893 key = field[i]
4894 keylen = length(key)
4895 if (S_is_set[key]) {
4896 value = S[key]
4897 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4898 len += length(value) + length(field[++i])
4899 substed = 1
4900 } else
4901 len += 1 + keylen
4904 print line
4907 _ACAWK
4908 _ACEOF
4909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4910 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4911 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4912 else
4914 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4915 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4916 _ACEOF
4918 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4919 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4920 # trailing colons and then remove the whole line if VPATH becomes empty
4921 # (actually we leave an empty line to preserve line numbers).
4922 if test "x$srcdir" = x.; then
4923 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4925 s///
4926 s/^/:/
4927 s/[ ]*$/:/
4928 s/:\$(srcdir):/:/g
4929 s/:\${srcdir}:/:/g
4930 s/:@srcdir@:/:/g
4931 s/^:*//
4932 s/:*$//
4934 s/\(=[ ]*\).*/\1/
4936 s/\n//
4937 s/^[^=]*=[ ]*$//
4941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4942 fi # test -n "$CONFIG_FILES"
4945 eval set X " :F $CONFIG_FILES "
4946 shift
4947 for ac_tag
4949 case $ac_tag in
4950 :[FHLC]) ac_mode=$ac_tag; continue;;
4951 esac
4952 case $ac_mode$ac_tag in
4953 :[FHL]*:*);;
4954 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4955 :[FH]-) ac_tag=-:-;;
4956 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4957 esac
4958 ac_save_IFS=$IFS
4959 IFS=:
4960 set x $ac_tag
4961 IFS=$ac_save_IFS
4962 shift
4963 ac_file=$1
4964 shift
4966 case $ac_mode in
4967 :L) ac_source=$1;;
4968 :[FH])
4969 ac_file_inputs=
4970 for ac_f
4972 case $ac_f in
4973 -) ac_f="$ac_tmp/stdin";;
4974 *) # Look for the file first in the build tree, then in the source tree
4975 # (if the path is not absolute). The absolute path cannot be DOS-style,
4976 # because $ac_f cannot contain `:'.
4977 test -f "$ac_f" ||
4978 case $ac_f in
4979 [\\/$]*) false;;
4980 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4981 esac ||
4982 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4983 esac
4984 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4985 as_fn_append ac_file_inputs " '$ac_f'"
4986 done
4988 # Let's still pretend it is `configure' which instantiates (i.e., don't
4989 # use $as_me), people would be surprised to read:
4990 # /* config.h. Generated by config.status. */
4991 configure_input='Generated from '`
4992 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4993 `' by configure.'
4994 if test x"$ac_file" != x-; then
4995 configure_input="$ac_file. $configure_input"
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4997 $as_echo "$as_me: creating $ac_file" >&6;}
4999 # Neutralize special characters interpreted by sed in replacement strings.
5000 case $configure_input in #(
5001 *\&* | *\|* | *\\* )
5002 ac_sed_conf_input=`$as_echo "$configure_input" |
5003 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5004 *) ac_sed_conf_input=$configure_input;;
5005 esac
5007 case $ac_tag in
5008 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5009 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5010 esac
5012 esac
5014 ac_dir=`$as_dirname -- "$ac_file" ||
5015 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5016 X"$ac_file" : 'X\(//\)[^/]' \| \
5017 X"$ac_file" : 'X\(//\)$' \| \
5018 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5019 $as_echo X"$ac_file" |
5020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5021 s//\1/
5024 /^X\(\/\/\)[^/].*/{
5025 s//\1/
5028 /^X\(\/\/\)$/{
5029 s//\1/
5032 /^X\(\/\).*/{
5033 s//\1/
5036 s/.*/./; q'`
5037 as_dir="$ac_dir"; as_fn_mkdir_p
5038 ac_builddir=.
5040 case "$ac_dir" in
5041 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5043 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5044 # A ".." for each directory in $ac_dir_suffix.
5045 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5046 case $ac_top_builddir_sub in
5047 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5048 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5049 esac ;;
5050 esac
5051 ac_abs_top_builddir=$ac_pwd
5052 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5053 # for backward compatibility:
5054 ac_top_builddir=$ac_top_build_prefix
5056 case $srcdir in
5057 .) # We are building in place.
5058 ac_srcdir=.
5059 ac_top_srcdir=$ac_top_builddir_sub
5060 ac_abs_top_srcdir=$ac_pwd ;;
5061 [\\/]* | ?:[\\/]* ) # Absolute name.
5062 ac_srcdir=$srcdir$ac_dir_suffix;
5063 ac_top_srcdir=$srcdir
5064 ac_abs_top_srcdir=$srcdir ;;
5065 *) # Relative name.
5066 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5067 ac_top_srcdir=$ac_top_build_prefix$srcdir
5068 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5069 esac
5070 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5073 case $ac_mode in
5076 # CONFIG_FILE
5079 _ACEOF
5081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5082 # If the template does not know about datarootdir, expand it.
5083 # FIXME: This hack should be removed a few years after 2.60.
5084 ac_datarootdir_hack=; ac_datarootdir_seen=
5085 ac_sed_dataroot='
5086 /datarootdir/ {
5090 /@datadir@/p
5091 /@docdir@/p
5092 /@infodir@/p
5093 /@localedir@/p
5094 /@mandir@/p'
5095 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5096 *datarootdir*) ac_datarootdir_seen=yes;;
5097 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5099 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5100 _ACEOF
5101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5102 ac_datarootdir_hack='
5103 s&@datadir@&$datadir&g
5104 s&@docdir@&$docdir&g
5105 s&@infodir@&$infodir&g
5106 s&@localedir@&$localedir&g
5107 s&@mandir@&$mandir&g
5108 s&\\\${datarootdir}&$datarootdir&g' ;;
5109 esac
5110 _ACEOF
5112 # Neutralize VPATH when `$srcdir' = `.'.
5113 # Shell code in configure.ac might set extrasub.
5114 # FIXME: do we really want to maintain this feature?
5115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5116 ac_sed_extra="$ac_vpsub
5117 $extrasub
5118 _ACEOF
5119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5121 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5122 s|@configure_input@|$ac_sed_conf_input|;t t
5123 s&@top_builddir@&$ac_top_builddir_sub&;t t
5124 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5125 s&@srcdir@&$ac_srcdir&;t t
5126 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5127 s&@top_srcdir@&$ac_top_srcdir&;t t
5128 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5129 s&@builddir@&$ac_builddir&;t t
5130 s&@abs_builddir@&$ac_abs_builddir&;t t
5131 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5132 $ac_datarootdir_hack
5134 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5135 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5137 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5138 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5139 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5140 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5142 which seems to be undefined. Please make sure it is defined" >&5
5143 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5144 which seems to be undefined. Please make sure it is defined" >&2;}
5146 rm -f "$ac_tmp/stdin"
5147 case $ac_file in
5148 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5149 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5150 esac \
5151 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5156 esac
5158 done # for ac_tag
5161 as_fn_exit 0
5162 _ACEOF
5163 ac_clean_files=$ac_clean_files_save
5165 test $ac_write_fail = 0 ||
5166 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5169 # configure is writing to config.log, and then calls config.status.
5170 # config.status does its own redirection, appending to config.log.
5171 # Unfortunately, on DOS this fails, as config.log is still kept open
5172 # by configure, so config.status won't be able to write to it; its
5173 # output is simply discarded. So we exec the FD to /dev/null,
5174 # effectively closing config.log, so it can be properly (re)opened and
5175 # appended to by config.status. When coming back to configure, we
5176 # need to make the FD available again.
5177 if test "$no_create" != yes; then
5178 ac_cs_success=:
5179 ac_config_status_args=
5180 test "$silent" = yes &&
5181 ac_config_status_args="$ac_config_status_args --quiet"
5182 exec 5>/dev/null
5183 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5184 exec 5>>config.log
5185 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5186 # would make configure fail if this is the last instruction.
5187 $ac_cs_success || as_fn_exit 1
5189 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5191 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}