Updated. Searching for files and executing them by
[AROS.git] / features
blob3bb122ddfad87061b25185ba2d0e9871e019f27b
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_narrowing
588 aros_cflags_conversion_null
589 aros_cflags_missing_braces
590 aros_cflags_unused_local_typedefs
591 aros_cflags_overflow
592 aros_cflags_attributes
593 aros_cflags_sign_compare
594 aros_cflags_deprecated_declarations
595 aros_cflags_frame_address
596 aros_cflags_shift_overflow
597 aros_cflags_pointer_sign
598 aros_cflags_logical_not_parentheses
599 aros_cflags_bool_compare
600 aros_cflags_incompatible_pointer_types
601 aros_cflags_comment
602 aros_cflags_write_strings
603 aros_cflags_unused_const_variable
604 aros_cflags_pointer_to_int_cast
605 aros_cflags_int_to_pointer_cast
606 aros_cflags_int_conversion
607 aros_cflags_discarded_array_qualifiers
608 aros_cflags_unknown_pragmas
609 aros_cflags_sequence_point
610 aros_cflags_discarded_qualifiers
611 aros_cflags_switch
612 aros_cflags_cpp
613 aros_cflags_aggressive_loop_optimizations
614 aros_cflags_implicit_int
615 aros_cflags_format_contains_nul
616 aros_cflags_endif_labels
617 aros_cflags_char_subscripts
618 aros_cflags_parentheses
619 aros_cflags_format
620 aros_cflags_implicit_function_declaration
621 aros_cflags_maybe_uninitialized
622 aros_cflags_uninitialized
623 aros_cflags_unused_function
624 aros_cflags_unused_variable
625 aros_cflags_unused_value
626 aros_cflags_unused
627 aros_cflags_nonnull_compare
628 aros_cflags_misleading_indentation
629 aros_cflags_format_security
630 aros_cflags_strict_overflow
631 aros_cflags_strict_prototypes
632 aros_cflags_enum_compare
633 aros_cflags_array_bounds
634 aros_cflags_strict_aliasing
635 aros_cflags_unused_but_set_variable
636 OBJEXT
637 EXEEXT
638 ac_ct_CC
639 CPPFLAGS
640 LDFLAGS
641 CFLAGS
643 target_alias
644 host_alias
645 build_alias
646 LIBS
647 ECHO_T
648 ECHO_N
649 ECHO_C
650 DEFS
651 mandir
652 localedir
653 libdir
654 psdir
655 pdfdir
656 dvidir
657 htmldir
658 infodir
659 docdir
660 oldincludedir
661 includedir
662 localstatedir
663 sharedstatedir
664 sysconfdir
665 datadir
666 datarootdir
667 libexecdir
668 sbindir
669 bindir
670 program_transform_name
671 prefix
672 exec_prefix
673 PACKAGE_URL
674 PACKAGE_BUGREPORT
675 PACKAGE_STRING
676 PACKAGE_VERSION
677 PACKAGE_TARNAME
678 PACKAGE_NAME
679 PATH_SEPARATOR
680 SHELL'
681 ac_subst_files=''
682 ac_user_opts='
683 enable_option_checking
684 with_config_dir
686 ac_precious_vars='build_alias
687 host_alias
688 target_alias
690 CFLAGS
691 LDFLAGS
692 LIBS
693 CPPFLAGS'
696 # Initialize some variables set by options.
697 ac_init_help=
698 ac_init_version=false
699 ac_unrecognized_opts=
700 ac_unrecognized_sep=
701 # The variables have the same names as the options, with
702 # dashes changed to underlines.
703 cache_file=/dev/null
704 exec_prefix=NONE
705 no_create=
706 no_recursion=
707 prefix=NONE
708 program_prefix=NONE
709 program_suffix=NONE
710 program_transform_name=s,x,x,
711 silent=
712 site=
713 srcdir=
714 verbose=
715 x_includes=NONE
716 x_libraries=NONE
718 # Installation directory options.
719 # These are left unexpanded so users can "make install exec_prefix=/foo"
720 # and all the variables that are supposed to be based on exec_prefix
721 # by default will actually change.
722 # Use braces instead of parens because sh, perl, etc. also accept them.
723 # (The list follows the same order as the GNU Coding Standards.)
724 bindir='${exec_prefix}/bin'
725 sbindir='${exec_prefix}/sbin'
726 libexecdir='${exec_prefix}/libexec'
727 datarootdir='${prefix}/share'
728 datadir='${datarootdir}'
729 sysconfdir='${prefix}/etc'
730 sharedstatedir='${prefix}/com'
731 localstatedir='${prefix}/var'
732 includedir='${prefix}/include'
733 oldincludedir='/usr/include'
734 docdir='${datarootdir}/doc/${PACKAGE}'
735 infodir='${datarootdir}/info'
736 htmldir='${docdir}'
737 dvidir='${docdir}'
738 pdfdir='${docdir}'
739 psdir='${docdir}'
740 libdir='${exec_prefix}/lib'
741 localedir='${datarootdir}/locale'
742 mandir='${datarootdir}/man'
744 ac_prev=
745 ac_dashdash=
746 for ac_option
748 # If the previous option needs an argument, assign it.
749 if test -n "$ac_prev"; then
750 eval $ac_prev=\$ac_option
751 ac_prev=
752 continue
755 case $ac_option in
756 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
757 *=) ac_optarg= ;;
758 *) ac_optarg=yes ;;
759 esac
761 # Accept the important Cygnus configure options, so we can diagnose typos.
763 case $ac_dashdash$ac_option in
765 ac_dashdash=yes ;;
767 -bindir | --bindir | --bindi | --bind | --bin | --bi)
768 ac_prev=bindir ;;
769 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
770 bindir=$ac_optarg ;;
772 -build | --build | --buil | --bui | --bu)
773 ac_prev=build_alias ;;
774 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
775 build_alias=$ac_optarg ;;
777 -cache-file | --cache-file | --cache-fil | --cache-fi \
778 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
779 ac_prev=cache_file ;;
780 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
781 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
782 cache_file=$ac_optarg ;;
784 --config-cache | -C)
785 cache_file=config.cache ;;
787 -datadir | --datadir | --datadi | --datad)
788 ac_prev=datadir ;;
789 -datadir=* | --datadir=* | --datadi=* | --datad=*)
790 datadir=$ac_optarg ;;
792 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
793 | --dataroo | --dataro | --datar)
794 ac_prev=datarootdir ;;
795 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
796 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
797 datarootdir=$ac_optarg ;;
799 -disable-* | --disable-*)
800 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
801 # Reject names that are not valid shell variable names.
802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
803 as_fn_error $? "invalid feature name: $ac_useropt"
804 ac_useropt_orig=$ac_useropt
805 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
806 case $ac_user_opts in
808 "enable_$ac_useropt"
809 "*) ;;
810 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
811 ac_unrecognized_sep=', ';;
812 esac
813 eval enable_$ac_useropt=no ;;
815 -docdir | --docdir | --docdi | --doc | --do)
816 ac_prev=docdir ;;
817 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
818 docdir=$ac_optarg ;;
820 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
821 ac_prev=dvidir ;;
822 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
823 dvidir=$ac_optarg ;;
825 -enable-* | --enable-*)
826 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
827 # Reject names that are not valid shell variable names.
828 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
829 as_fn_error $? "invalid feature name: $ac_useropt"
830 ac_useropt_orig=$ac_useropt
831 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
832 case $ac_user_opts in
834 "enable_$ac_useropt"
835 "*) ;;
836 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
837 ac_unrecognized_sep=', ';;
838 esac
839 eval enable_$ac_useropt=\$ac_optarg ;;
841 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
842 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
843 | --exec | --exe | --ex)
844 ac_prev=exec_prefix ;;
845 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
846 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
847 | --exec=* | --exe=* | --ex=*)
848 exec_prefix=$ac_optarg ;;
850 -gas | --gas | --ga | --g)
851 # Obsolete; use --with-gas.
852 with_gas=yes ;;
854 -help | --help | --hel | --he | -h)
855 ac_init_help=long ;;
856 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
857 ac_init_help=recursive ;;
858 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
859 ac_init_help=short ;;
861 -host | --host | --hos | --ho)
862 ac_prev=host_alias ;;
863 -host=* | --host=* | --hos=* | --ho=*)
864 host_alias=$ac_optarg ;;
866 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
867 ac_prev=htmldir ;;
868 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
869 | --ht=*)
870 htmldir=$ac_optarg ;;
872 -includedir | --includedir | --includedi | --included | --include \
873 | --includ | --inclu | --incl | --inc)
874 ac_prev=includedir ;;
875 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
876 | --includ=* | --inclu=* | --incl=* | --inc=*)
877 includedir=$ac_optarg ;;
879 -infodir | --infodir | --infodi | --infod | --info | --inf)
880 ac_prev=infodir ;;
881 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
882 infodir=$ac_optarg ;;
884 -libdir | --libdir | --libdi | --libd)
885 ac_prev=libdir ;;
886 -libdir=* | --libdir=* | --libdi=* | --libd=*)
887 libdir=$ac_optarg ;;
889 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
890 | --libexe | --libex | --libe)
891 ac_prev=libexecdir ;;
892 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
893 | --libexe=* | --libex=* | --libe=*)
894 libexecdir=$ac_optarg ;;
896 -localedir | --localedir | --localedi | --localed | --locale)
897 ac_prev=localedir ;;
898 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
899 localedir=$ac_optarg ;;
901 -localstatedir | --localstatedir | --localstatedi | --localstated \
902 | --localstate | --localstat | --localsta | --localst | --locals)
903 ac_prev=localstatedir ;;
904 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
905 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
906 localstatedir=$ac_optarg ;;
908 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
909 ac_prev=mandir ;;
910 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
911 mandir=$ac_optarg ;;
913 -nfp | --nfp | --nf)
914 # Obsolete; use --without-fp.
915 with_fp=no ;;
917 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
918 | --no-cr | --no-c | -n)
919 no_create=yes ;;
921 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
922 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
923 no_recursion=yes ;;
925 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
926 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
927 | --oldin | --oldi | --old | --ol | --o)
928 ac_prev=oldincludedir ;;
929 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
930 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
931 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
932 oldincludedir=$ac_optarg ;;
934 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
935 ac_prev=prefix ;;
936 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
937 prefix=$ac_optarg ;;
939 -program-prefix | --program-prefix | --program-prefi | --program-pref \
940 | --program-pre | --program-pr | --program-p)
941 ac_prev=program_prefix ;;
942 -program-prefix=* | --program-prefix=* | --program-prefi=* \
943 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
944 program_prefix=$ac_optarg ;;
946 -program-suffix | --program-suffix | --program-suffi | --program-suff \
947 | --program-suf | --program-su | --program-s)
948 ac_prev=program_suffix ;;
949 -program-suffix=* | --program-suffix=* | --program-suffi=* \
950 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
951 program_suffix=$ac_optarg ;;
953 -program-transform-name | --program-transform-name \
954 | --program-transform-nam | --program-transform-na \
955 | --program-transform-n | --program-transform- \
956 | --program-transform | --program-transfor \
957 | --program-transfo | --program-transf \
958 | --program-trans | --program-tran \
959 | --progr-tra | --program-tr | --program-t)
960 ac_prev=program_transform_name ;;
961 -program-transform-name=* | --program-transform-name=* \
962 | --program-transform-nam=* | --program-transform-na=* \
963 | --program-transform-n=* | --program-transform-=* \
964 | --program-transform=* | --program-transfor=* \
965 | --program-transfo=* | --program-transf=* \
966 | --program-trans=* | --program-tran=* \
967 | --progr-tra=* | --program-tr=* | --program-t=*)
968 program_transform_name=$ac_optarg ;;
970 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
971 ac_prev=pdfdir ;;
972 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
973 pdfdir=$ac_optarg ;;
975 -psdir | --psdir | --psdi | --psd | --ps)
976 ac_prev=psdir ;;
977 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
978 psdir=$ac_optarg ;;
980 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
981 | -silent | --silent | --silen | --sile | --sil)
982 silent=yes ;;
984 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
985 ac_prev=sbindir ;;
986 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
987 | --sbi=* | --sb=*)
988 sbindir=$ac_optarg ;;
990 -sharedstatedir | --sharedstatedir | --sharedstatedi \
991 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
992 | --sharedst | --shareds | --shared | --share | --shar \
993 | --sha | --sh)
994 ac_prev=sharedstatedir ;;
995 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
996 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
997 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
998 | --sha=* | --sh=*)
999 sharedstatedir=$ac_optarg ;;
1001 -site | --site | --sit)
1002 ac_prev=site ;;
1003 -site=* | --site=* | --sit=*)
1004 site=$ac_optarg ;;
1006 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1007 ac_prev=srcdir ;;
1008 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1009 srcdir=$ac_optarg ;;
1011 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1012 | --syscon | --sysco | --sysc | --sys | --sy)
1013 ac_prev=sysconfdir ;;
1014 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1015 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1016 sysconfdir=$ac_optarg ;;
1018 -target | --target | --targe | --targ | --tar | --ta | --t)
1019 ac_prev=target_alias ;;
1020 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1021 target_alias=$ac_optarg ;;
1023 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1024 verbose=yes ;;
1026 -version | --version | --versio | --versi | --vers | -V)
1027 ac_init_version=: ;;
1029 -with-* | --with-*)
1030 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1033 as_fn_error $? "invalid package name: $ac_useropt"
1034 ac_useropt_orig=$ac_useropt
1035 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036 case $ac_user_opts in
1038 "with_$ac_useropt"
1039 "*) ;;
1040 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1041 ac_unrecognized_sep=', ';;
1042 esac
1043 eval with_$ac_useropt=\$ac_optarg ;;
1045 -without-* | --without-*)
1046 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error $? "invalid package name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "with_$ac_useropt"
1055 "*) ;;
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1058 esac
1059 eval with_$ac_useropt=no ;;
1061 --x)
1062 # Obsolete; use --with-x.
1063 with_x=yes ;;
1065 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1066 | --x-incl | --x-inc | --x-in | --x-i)
1067 ac_prev=x_includes ;;
1068 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1069 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1070 x_includes=$ac_optarg ;;
1072 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1073 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1074 ac_prev=x_libraries ;;
1075 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1076 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1077 x_libraries=$ac_optarg ;;
1079 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1080 Try \`$0 --help' for more information"
1083 *=*)
1084 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1085 # Reject names that are not valid shell variable names.
1086 case $ac_envvar in #(
1087 '' | [0-9]* | *[!_$as_cr_alnum]* )
1088 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1089 esac
1090 eval $ac_envvar=\$ac_optarg
1091 export $ac_envvar ;;
1094 # FIXME: should be removed in autoconf 3.0.
1095 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1096 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1097 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1098 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1101 esac
1102 done
1104 if test -n "$ac_prev"; then
1105 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1106 as_fn_error $? "missing argument to $ac_option"
1109 if test -n "$ac_unrecognized_opts"; then
1110 case $enable_option_checking in
1111 no) ;;
1112 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1113 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1114 esac
1117 # Check all directory arguments for consistency.
1118 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1119 datadir sysconfdir sharedstatedir localstatedir includedir \
1120 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1121 libdir localedir mandir
1123 eval ac_val=\$$ac_var
1124 # Remove trailing slashes.
1125 case $ac_val in
1126 */ )
1127 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1128 eval $ac_var=\$ac_val;;
1129 esac
1130 # Be sure to have absolute directory names.
1131 case $ac_val in
1132 [\\/$]* | ?:[\\/]* ) continue;;
1133 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1134 esac
1135 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1136 done
1138 # There might be people who depend on the old broken behavior: `$host'
1139 # used to hold the argument of --host etc.
1140 # FIXME: To remove some day.
1141 build=$build_alias
1142 host=$host_alias
1143 target=$target_alias
1145 # FIXME: To remove some day.
1146 if test "x$host_alias" != x; then
1147 if test "x$build_alias" = x; then
1148 cross_compiling=maybe
1149 elif test "x$build_alias" != "x$host_alias"; then
1150 cross_compiling=yes
1154 ac_tool_prefix=
1155 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1157 test "$silent" = yes && exec 6>/dev/null
1160 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1161 ac_ls_di=`ls -di .` &&
1162 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1163 as_fn_error $? "working directory cannot be determined"
1164 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1165 as_fn_error $? "pwd does not report name of working directory"
1168 # Find the source files, if location was not specified.
1169 if test -z "$srcdir"; then
1170 ac_srcdir_defaulted=yes
1171 # Try the directory containing this script, then the parent directory.
1172 ac_confdir=`$as_dirname -- "$as_myself" ||
1173 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1174 X"$as_myself" : 'X\(//\)[^/]' \| \
1175 X"$as_myself" : 'X\(//\)$' \| \
1176 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1177 $as_echo X"$as_myself" |
1178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1179 s//\1/
1182 /^X\(\/\/\)[^/].*/{
1183 s//\1/
1186 /^X\(\/\/\)$/{
1187 s//\1/
1190 /^X\(\/\).*/{
1191 s//\1/
1194 s/.*/./; q'`
1195 srcdir=$ac_confdir
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1197 srcdir=..
1199 else
1200 ac_srcdir_defaulted=no
1202 if test ! -r "$srcdir/$ac_unique_file"; then
1203 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1204 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1206 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1207 ac_abs_confdir=`(
1208 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1209 pwd)`
1210 # When building in place, set srcdir=.
1211 if test "$ac_abs_confdir" = "$ac_pwd"; then
1212 srcdir=.
1214 # Remove unnecessary trailing slashes from srcdir.
1215 # Double slashes in file names in object file debugging info
1216 # mess up M-x gdb in Emacs.
1217 case $srcdir in
1218 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1219 esac
1220 for ac_var in $ac_precious_vars; do
1221 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1222 eval ac_env_${ac_var}_value=\$${ac_var}
1223 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1224 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1225 done
1228 # Report the --help message.
1230 if test "$ac_init_help" = "long"; then
1231 # Omit some internal or obsolete options to make the list less imposing.
1232 # This message is too long to be a string in the A/UX 3.1 sh.
1233 cat <<_ACEOF
1234 \`configure' configures this package to adapt to many kinds of systems.
1236 Usage: $0 [OPTION]... [VAR=VALUE]...
1238 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1239 VAR=VALUE. See below for descriptions of some of the useful variables.
1241 Defaults for the options are specified in brackets.
1243 Configuration:
1244 -h, --help display this help and exit
1245 --help=short display options specific to this package
1246 --help=recursive display the short help of all the included packages
1247 -V, --version display version information and exit
1248 -q, --quiet, --silent do not print \`checking ...' messages
1249 --cache-file=FILE cache test results in FILE [disabled]
1250 -C, --config-cache alias for \`--cache-file=config.cache'
1251 -n, --no-create do not create output files
1252 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1254 Installation directories:
1255 --prefix=PREFIX install architecture-independent files in PREFIX
1256 [$ac_default_prefix]
1257 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1258 [PREFIX]
1260 By default, \`make install' will install all the files in
1261 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1262 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1263 for instance \`--prefix=\$HOME'.
1265 For better control, use the options below.
1267 Fine tuning of the installation directories:
1268 --bindir=DIR user executables [EPREFIX/bin]
1269 --sbindir=DIR system admin executables [EPREFIX/sbin]
1270 --libexecdir=DIR program executables [EPREFIX/libexec]
1271 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1272 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1273 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1274 --libdir=DIR object code libraries [EPREFIX/lib]
1275 --includedir=DIR C header files [PREFIX/include]
1276 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1277 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1278 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1279 --infodir=DIR info documentation [DATAROOTDIR/info]
1280 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1281 --mandir=DIR man documentation [DATAROOTDIR/man]
1282 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1283 --htmldir=DIR html documentation [DOCDIR]
1284 --dvidir=DIR dvi documentation [DOCDIR]
1285 --pdfdir=DIR pdf documentation [DOCDIR]
1286 --psdir=DIR ps documentation [DOCDIR]
1287 _ACEOF
1289 cat <<\_ACEOF
1290 _ACEOF
1293 if test -n "$ac_init_help"; then
1295 cat <<\_ACEOF
1297 Optional Packages:
1298 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1299 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1300 --with-config-dir=VERSION
1301 Location of generated target config files
1303 Some influential environment variables:
1304 CC C compiler command
1305 CFLAGS C compiler flags
1306 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1307 nonstandard directory <lib dir>
1308 LIBS libraries to pass to the linker, e.g. -l<library>
1309 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1310 you have headers in a nonstandard directory <include dir>
1312 Use these variables to override the choices made by `configure' or to help
1313 it to find libraries and programs with nonstandard names/locations.
1315 Report bugs to the package provider.
1316 _ACEOF
1317 ac_status=$?
1320 if test "$ac_init_help" = "recursive"; then
1321 # If there are subdirs, report their specific --help.
1322 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1323 test -d "$ac_dir" ||
1324 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1325 continue
1326 ac_builddir=.
1328 case "$ac_dir" in
1329 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1332 # A ".." for each directory in $ac_dir_suffix.
1333 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1334 case $ac_top_builddir_sub in
1335 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1337 esac ;;
1338 esac
1339 ac_abs_top_builddir=$ac_pwd
1340 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1341 # for backward compatibility:
1342 ac_top_builddir=$ac_top_build_prefix
1344 case $srcdir in
1345 .) # We are building in place.
1346 ac_srcdir=.
1347 ac_top_srcdir=$ac_top_builddir_sub
1348 ac_abs_top_srcdir=$ac_pwd ;;
1349 [\\/]* | ?:[\\/]* ) # Absolute name.
1350 ac_srcdir=$srcdir$ac_dir_suffix;
1351 ac_top_srcdir=$srcdir
1352 ac_abs_top_srcdir=$srcdir ;;
1353 *) # Relative name.
1354 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1355 ac_top_srcdir=$ac_top_build_prefix$srcdir
1356 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1357 esac
1358 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1360 cd "$ac_dir" || { ac_status=$?; continue; }
1361 # Check for guested configure.
1362 if test -f "$ac_srcdir/configure.gnu"; then
1363 echo &&
1364 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1365 elif test -f "$ac_srcdir/configure"; then
1366 echo &&
1367 $SHELL "$ac_srcdir/configure" --help=recursive
1368 else
1369 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1370 fi || ac_status=$?
1371 cd "$ac_pwd" || { ac_status=$?; break; }
1372 done
1375 test -n "$ac_init_help" && exit $ac_status
1376 if $ac_init_version; then
1377 cat <<\_ACEOF
1378 configure
1379 generated by GNU Autoconf 2.69
1381 Copyright (C) 2012 Free Software Foundation, Inc.
1382 This configure script is free software; the Free Software Foundation
1383 gives unlimited permission to copy, distribute and modify it.
1384 _ACEOF
1385 exit
1388 ## ------------------------ ##
1389 ## Autoconf initialization. ##
1390 ## ------------------------ ##
1392 # ac_fn_c_try_compile LINENO
1393 # --------------------------
1394 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1395 ac_fn_c_try_compile ()
1397 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1398 rm -f conftest.$ac_objext
1399 if { { ac_try="$ac_compile"
1400 case "(($ac_try" in
1401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1402 *) ac_try_echo=$ac_try;;
1403 esac
1404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1405 $as_echo "$ac_try_echo"; } >&5
1406 (eval "$ac_compile") 2>conftest.err
1407 ac_status=$?
1408 if test -s conftest.err; then
1409 grep -v '^ *+' conftest.err >conftest.er1
1410 cat conftest.er1 >&5
1411 mv -f conftest.er1 conftest.err
1413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1414 test $ac_status = 0; } && {
1415 test -z "$ac_c_werror_flag" ||
1416 test ! -s conftest.err
1417 } && test -s conftest.$ac_objext; then :
1418 ac_retval=0
1419 else
1420 $as_echo "$as_me: failed program was:" >&5
1421 sed 's/^/| /' conftest.$ac_ext >&5
1423 ac_retval=1
1425 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1426 as_fn_set_status $ac_retval
1428 } # ac_fn_c_try_compile
1429 cat >config.log <<_ACEOF
1430 This file contains any messages produced by compilers while
1431 running configure, to aid debugging if configure makes a mistake.
1433 It was created by $as_me, which was
1434 generated by GNU Autoconf 2.69. Invocation command line was
1436 $ $0 $@
1438 _ACEOF
1439 exec 5>>config.log
1441 cat <<_ASUNAME
1442 ## --------- ##
1443 ## Platform. ##
1444 ## --------- ##
1446 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1447 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1448 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1449 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1450 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1452 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1453 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1455 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1456 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1457 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1458 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1459 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1460 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1461 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1463 _ASUNAME
1465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1466 for as_dir in $PATH
1468 IFS=$as_save_IFS
1469 test -z "$as_dir" && as_dir=.
1470 $as_echo "PATH: $as_dir"
1471 done
1472 IFS=$as_save_IFS
1474 } >&5
1476 cat >&5 <<_ACEOF
1479 ## ----------- ##
1480 ## Core tests. ##
1481 ## ----------- ##
1483 _ACEOF
1486 # Keep a trace of the command line.
1487 # Strip out --no-create and --no-recursion so they do not pile up.
1488 # Strip out --silent because we don't want to record it for future runs.
1489 # Also quote any args containing shell meta-characters.
1490 # Make two passes to allow for proper duplicate-argument suppression.
1491 ac_configure_args=
1492 ac_configure_args0=
1493 ac_configure_args1=
1494 ac_must_keep_next=false
1495 for ac_pass in 1 2
1497 for ac_arg
1499 case $ac_arg in
1500 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1502 | -silent | --silent | --silen | --sile | --sil)
1503 continue ;;
1504 *\'*)
1505 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1506 esac
1507 case $ac_pass in
1508 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1510 as_fn_append ac_configure_args1 " '$ac_arg'"
1511 if test $ac_must_keep_next = true; then
1512 ac_must_keep_next=false # Got value, back to normal.
1513 else
1514 case $ac_arg in
1515 *=* | --config-cache | -C | -disable-* | --disable-* \
1516 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1517 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1518 | -with-* | --with-* | -without-* | --without-* | --x)
1519 case "$ac_configure_args0 " in
1520 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1521 esac
1523 -* ) ac_must_keep_next=true ;;
1524 esac
1526 as_fn_append ac_configure_args " '$ac_arg'"
1528 esac
1529 done
1530 done
1531 { ac_configure_args0=; unset ac_configure_args0;}
1532 { ac_configure_args1=; unset ac_configure_args1;}
1534 # When interrupted or exit'd, cleanup temporary files, and complete
1535 # config.log. We remove comments because anyway the quotes in there
1536 # would cause problems or look ugly.
1537 # WARNING: Use '\'' to represent an apostrophe within the trap.
1538 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1539 trap 'exit_status=$?
1540 # Save into config.log some information that might help in debugging.
1542 echo
1544 $as_echo "## ---------------- ##
1545 ## Cache variables. ##
1546 ## ---------------- ##"
1547 echo
1548 # The following way of writing the cache mishandles newlines in values,
1550 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1551 eval ac_val=\$$ac_var
1552 case $ac_val in #(
1553 *${as_nl}*)
1554 case $ac_var in #(
1555 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1556 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1557 esac
1558 case $ac_var in #(
1559 _ | IFS | as_nl) ;; #(
1560 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1561 *) { eval $ac_var=; unset $ac_var;} ;;
1562 esac ;;
1563 esac
1564 done
1565 (set) 2>&1 |
1566 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1567 *${as_nl}ac_space=\ *)
1568 sed -n \
1569 "s/'\''/'\''\\\\'\'''\''/g;
1570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1571 ;; #(
1573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1575 esac |
1576 sort
1578 echo
1580 $as_echo "## ----------------- ##
1581 ## Output variables. ##
1582 ## ----------------- ##"
1583 echo
1584 for ac_var in $ac_subst_vars
1586 eval ac_val=\$$ac_var
1587 case $ac_val in
1588 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1589 esac
1590 $as_echo "$ac_var='\''$ac_val'\''"
1591 done | sort
1592 echo
1594 if test -n "$ac_subst_files"; then
1595 $as_echo "## ------------------- ##
1596 ## File substitutions. ##
1597 ## ------------------- ##"
1598 echo
1599 for ac_var in $ac_subst_files
1601 eval ac_val=\$$ac_var
1602 case $ac_val in
1603 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1604 esac
1605 $as_echo "$ac_var='\''$ac_val'\''"
1606 done | sort
1607 echo
1610 if test -s confdefs.h; then
1611 $as_echo "## ----------- ##
1612 ## confdefs.h. ##
1613 ## ----------- ##"
1614 echo
1615 cat confdefs.h
1616 echo
1618 test "$ac_signal" != 0 &&
1619 $as_echo "$as_me: caught signal $ac_signal"
1620 $as_echo "$as_me: exit $exit_status"
1621 } >&5
1622 rm -f core *.core core.conftest.* &&
1623 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1624 exit $exit_status
1626 for ac_signal in 1 2 13 15; do
1627 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1628 done
1629 ac_signal=0
1631 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1632 rm -f -r conftest* confdefs.h
1634 $as_echo "/* confdefs.h */" > confdefs.h
1636 # Predefined preprocessor variables.
1638 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE_NAME "$PACKAGE_NAME"
1640 _ACEOF
1642 cat >>confdefs.h <<_ACEOF
1643 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1644 _ACEOF
1646 cat >>confdefs.h <<_ACEOF
1647 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1648 _ACEOF
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_STRING "$PACKAGE_STRING"
1652 _ACEOF
1654 cat >>confdefs.h <<_ACEOF
1655 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1656 _ACEOF
1658 cat >>confdefs.h <<_ACEOF
1659 #define PACKAGE_URL "$PACKAGE_URL"
1660 _ACEOF
1663 # Let the site file select an alternate cache file if it wants to.
1664 # Prefer an explicitly selected file to automatically selected ones.
1665 ac_site_file1=NONE
1666 ac_site_file2=NONE
1667 if test -n "$CONFIG_SITE"; then
1668 # We do not want a PATH search for config.site.
1669 case $CONFIG_SITE in #((
1670 -*) ac_site_file1=./$CONFIG_SITE;;
1671 */*) ac_site_file1=$CONFIG_SITE;;
1672 *) ac_site_file1=./$CONFIG_SITE;;
1673 esac
1674 elif test "x$prefix" != xNONE; then
1675 ac_site_file1=$prefix/share/config.site
1676 ac_site_file2=$prefix/etc/config.site
1677 else
1678 ac_site_file1=$ac_default_prefix/share/config.site
1679 ac_site_file2=$ac_default_prefix/etc/config.site
1681 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1683 test "x$ac_site_file" = xNONE && continue
1684 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1686 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1687 sed 's/^/| /' "$ac_site_file" >&5
1688 . "$ac_site_file" \
1689 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1691 as_fn_error $? "failed to load site script $ac_site_file
1692 See \`config.log' for more details" "$LINENO" 5; }
1694 done
1696 if test -r "$cache_file"; then
1697 # Some versions of bash will fail to source /dev/null (special files
1698 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1699 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1701 $as_echo "$as_me: loading cache $cache_file" >&6;}
1702 case $cache_file in
1703 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1704 *) . "./$cache_file";;
1705 esac
1707 else
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1709 $as_echo "$as_me: creating cache $cache_file" >&6;}
1710 >$cache_file
1713 # Check that the precious variables saved in the cache have kept the same
1714 # value.
1715 ac_cache_corrupted=false
1716 for ac_var in $ac_precious_vars; do
1717 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1718 eval ac_new_set=\$ac_env_${ac_var}_set
1719 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1720 eval ac_new_val=\$ac_env_${ac_var}_value
1721 case $ac_old_set,$ac_new_set in
1722 set,)
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1724 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1725 ac_cache_corrupted=: ;;
1726 ,set)
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1728 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1729 ac_cache_corrupted=: ;;
1730 ,);;
1732 if test "x$ac_old_val" != "x$ac_new_val"; then
1733 # differences in whitespace do not lead to failure.
1734 ac_old_val_w=`echo x $ac_old_val`
1735 ac_new_val_w=`echo x $ac_new_val`
1736 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1738 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1739 ac_cache_corrupted=:
1740 else
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1742 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1743 eval $ac_var=\$ac_old_val
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1746 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1748 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1749 fi;;
1750 esac
1751 # Pass precious variables to config.status.
1752 if test "$ac_new_set" = set; then
1753 case $ac_new_val in
1754 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1755 *) ac_arg=$ac_var=$ac_new_val ;;
1756 esac
1757 case " $ac_configure_args " in
1758 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1759 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1760 esac
1762 done
1763 if $ac_cache_corrupted; then
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1767 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1768 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1770 ## -------------------- ##
1771 ## Main body of script. ##
1772 ## -------------------- ##
1774 ac_ext=c
1775 ac_cpp='$CPP $CPPFLAGS'
1776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1782 ac_aux_dir=
1783 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1784 if test -f "$ac_dir/install-sh"; then
1785 ac_aux_dir=$ac_dir
1786 ac_install_sh="$ac_aux_dir/install-sh -c"
1787 break
1788 elif test -f "$ac_dir/install.sh"; then
1789 ac_aux_dir=$ac_dir
1790 ac_install_sh="$ac_aux_dir/install.sh -c"
1791 break
1792 elif test -f "$ac_dir/shtool"; then
1793 ac_aux_dir=$ac_dir
1794 ac_install_sh="$ac_aux_dir/shtool install -c"
1795 break
1797 done
1798 if test -z "$ac_aux_dir"; then
1799 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
1802 # These three variables are undocumented and unsupported,
1803 # and are intended to be withdrawn in a future Autoconf release.
1804 # They can cause serious problems if a builder's source tree is in a directory
1805 # whose full name contains unusual characters.
1806 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1807 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1808 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1812 # Don't know where else to put this...
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
1814 $as_echo_n "checking building AROS in... " >&6; }
1815 AROS_BUILDDIR=`${PWDCMD-pwd}`
1816 AROS_BUILDDIR_UNIX=${PWD}
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
1818 $as_echo "$AROS_BUILDDIR" >&6; }
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
1821 $as_echo_n "checking AROS source in... " >&6; }
1822 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1823 SRCDIR=${srcpwd}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
1825 $as_echo "$SRCDIR" >&6; }
1827 NOLINKFLAGS="-nostdlib -nostartfiles"
1828 LDFLAGS=$NOLINKFLAGS
1829 # The first step is to find the binaries.
1830 ac_ext=c
1831 ac_cpp='$CPP $CPPFLAGS'
1832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1835 if test -n "$ac_tool_prefix"; then
1836 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1837 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1839 $as_echo_n "checking for $ac_word... " >&6; }
1840 if ${ac_cv_prog_CC+:} false; then :
1841 $as_echo_n "(cached) " >&6
1842 else
1843 if test -n "$CC"; then
1844 ac_cv_prog_CC="$CC" # Let the user override the test.
1845 else
1846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 for as_dir in $PATH
1849 IFS=$as_save_IFS
1850 test -z "$as_dir" && as_dir=.
1851 for ac_exec_ext in '' $ac_executable_extensions; do
1852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1853 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1855 break 2
1857 done
1858 done
1859 IFS=$as_save_IFS
1863 CC=$ac_cv_prog_CC
1864 if test -n "$CC"; then
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1866 $as_echo "$CC" >&6; }
1867 else
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1869 $as_echo "no" >&6; }
1874 if test -z "$ac_cv_prog_CC"; then
1875 ac_ct_CC=$CC
1876 # Extract the first word of "gcc", so it can be a program name with args.
1877 set dummy gcc; ac_word=$2
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1879 $as_echo_n "checking for $ac_word... " >&6; }
1880 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1881 $as_echo_n "(cached) " >&6
1882 else
1883 if test -n "$ac_ct_CC"; then
1884 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1885 else
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 for as_dir in $PATH
1889 IFS=$as_save_IFS
1890 test -z "$as_dir" && as_dir=.
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 ac_cv_prog_ac_ct_CC="gcc"
1894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1895 break 2
1897 done
1898 done
1899 IFS=$as_save_IFS
1903 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1904 if test -n "$ac_ct_CC"; then
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1906 $as_echo "$ac_ct_CC" >&6; }
1907 else
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1909 $as_echo "no" >&6; }
1912 if test "x$ac_ct_CC" = x; then
1913 CC=""
1914 else
1915 case $cross_compiling:$ac_tool_warned in
1916 yes:)
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1919 ac_tool_warned=yes ;;
1920 esac
1921 CC=$ac_ct_CC
1923 else
1924 CC="$ac_cv_prog_CC"
1927 if test -z "$CC"; then
1928 if test -n "$ac_tool_prefix"; then
1929 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1930 set dummy ${ac_tool_prefix}cc; ac_word=$2
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1932 $as_echo_n "checking for $ac_word... " >&6; }
1933 if ${ac_cv_prog_CC+:} false; then :
1934 $as_echo_n "(cached) " >&6
1935 else
1936 if test -n "$CC"; then
1937 ac_cv_prog_CC="$CC" # Let the user override the test.
1938 else
1939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940 for as_dir in $PATH
1942 IFS=$as_save_IFS
1943 test -z "$as_dir" && as_dir=.
1944 for ac_exec_ext in '' $ac_executable_extensions; do
1945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1946 ac_cv_prog_CC="${ac_tool_prefix}cc"
1947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1948 break 2
1950 done
1951 done
1952 IFS=$as_save_IFS
1956 CC=$ac_cv_prog_CC
1957 if test -n "$CC"; then
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1959 $as_echo "$CC" >&6; }
1960 else
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1962 $as_echo "no" >&6; }
1968 if test -z "$CC"; then
1969 # Extract the first word of "cc", so it can be a program name with args.
1970 set dummy cc; ac_word=$2
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1972 $as_echo_n "checking for $ac_word... " >&6; }
1973 if ${ac_cv_prog_CC+:} false; then :
1974 $as_echo_n "(cached) " >&6
1975 else
1976 if test -n "$CC"; then
1977 ac_cv_prog_CC="$CC" # Let the user override the test.
1978 else
1979 ac_prog_rejected=no
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 for as_dir in $PATH
1983 IFS=$as_save_IFS
1984 test -z "$as_dir" && as_dir=.
1985 for ac_exec_ext in '' $ac_executable_extensions; do
1986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1987 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1988 ac_prog_rejected=yes
1989 continue
1991 ac_cv_prog_CC="cc"
1992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 break 2
1995 done
1996 done
1997 IFS=$as_save_IFS
1999 if test $ac_prog_rejected = yes; then
2000 # We found a bogon in the path, so make sure we never use it.
2001 set dummy $ac_cv_prog_CC
2002 shift
2003 if test $# != 0; then
2004 # We chose a different compiler from the bogus one.
2005 # However, it has the same basename, so the bogon will be chosen
2006 # first if we set CC to just the basename; use the full file name.
2007 shift
2008 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2013 CC=$ac_cv_prog_CC
2014 if test -n "$CC"; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2016 $as_echo "$CC" >&6; }
2017 else
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2019 $as_echo "no" >&6; }
2024 if test -z "$CC"; then
2025 if test -n "$ac_tool_prefix"; then
2026 for ac_prog in cl.exe
2028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2029 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2031 $as_echo_n "checking for $ac_word... " >&6; }
2032 if ${ac_cv_prog_CC+:} false; then :
2033 $as_echo_n "(cached) " >&6
2034 else
2035 if test -n "$CC"; then
2036 ac_cv_prog_CC="$CC" # Let the user override the test.
2037 else
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 for as_dir in $PATH
2041 IFS=$as_save_IFS
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2045 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 break 2
2049 done
2050 done
2051 IFS=$as_save_IFS
2055 CC=$ac_cv_prog_CC
2056 if test -n "$CC"; then
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2058 $as_echo "$CC" >&6; }
2059 else
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2061 $as_echo "no" >&6; }
2065 test -n "$CC" && break
2066 done
2068 if test -z "$CC"; then
2069 ac_ct_CC=$CC
2070 for ac_prog in cl.exe
2072 # Extract the first word of "$ac_prog", so it can be a program name with args.
2073 set dummy $ac_prog; ac_word=$2
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2075 $as_echo_n "checking for $ac_word... " >&6; }
2076 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2077 $as_echo_n "(cached) " >&6
2078 else
2079 if test -n "$ac_ct_CC"; then
2080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2081 else
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083 for as_dir in $PATH
2085 IFS=$as_save_IFS
2086 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2089 ac_cv_prog_ac_ct_CC="$ac_prog"
2090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2091 break 2
2093 done
2094 done
2095 IFS=$as_save_IFS
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2102 $as_echo "$ac_ct_CC" >&6; }
2103 else
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2105 $as_echo "no" >&6; }
2109 test -n "$ac_ct_CC" && break
2110 done
2112 if test "x$ac_ct_CC" = x; then
2113 CC=""
2114 else
2115 case $cross_compiling:$ac_tool_warned in
2116 yes:)
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2119 ac_tool_warned=yes ;;
2120 esac
2121 CC=$ac_ct_CC
2128 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2130 as_fn_error $? "no acceptable C compiler found in \$PATH
2131 See \`config.log' for more details" "$LINENO" 5; }
2133 # Provide some information about the compiler.
2134 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2135 set X $ac_compile
2136 ac_compiler=$2
2137 for ac_option in --version -v -V -qversion; do
2138 { { ac_try="$ac_compiler $ac_option >&5"
2139 case "(($ac_try" in
2140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2141 *) ac_try_echo=$ac_try;;
2142 esac
2143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 $as_echo "$ac_try_echo"; } >&5
2145 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2146 ac_status=$?
2147 if test -s conftest.err; then
2148 sed '10a\
2149 ... rest of stderr output deleted ...
2150 10q' conftest.err >conftest.er1
2151 cat conftest.er1 >&5
2153 rm -f conftest.er1 conftest.err
2154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2155 test $ac_status = 0; }
2156 done
2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2159 /* end confdefs.h. */
2162 main ()
2166 return 0;
2168 _ACEOF
2169 ac_clean_files_save=$ac_clean_files
2170 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2171 # Try to create an executable without -o first, disregard a.out.
2172 # It will help us diagnose broken compilers, and finding out an intuition
2173 # of exeext.
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2175 $as_echo_n "checking whether the C compiler works... " >&6; }
2176 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2178 # The possible output files:
2179 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2181 ac_rmfiles=
2182 for ac_file in $ac_files
2184 case $ac_file in
2185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2186 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2187 esac
2188 done
2189 rm -f $ac_rmfiles
2191 if { { ac_try="$ac_link_default"
2192 case "(($ac_try" in
2193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2194 *) ac_try_echo=$ac_try;;
2195 esac
2196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2197 $as_echo "$ac_try_echo"; } >&5
2198 (eval "$ac_link_default") 2>&5
2199 ac_status=$?
2200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2201 test $ac_status = 0; }; then :
2202 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2203 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2204 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2205 # so that the user can short-circuit this test for compilers unknown to
2206 # Autoconf.
2207 for ac_file in $ac_files ''
2209 test -f "$ac_file" || continue
2210 case $ac_file in
2211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2213 [ab].out )
2214 # We found the default executable, but exeext='' is most
2215 # certainly right.
2216 break;;
2217 *.* )
2218 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2219 then :; else
2220 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2222 # We set ac_cv_exeext here because the later test for it is not
2223 # safe: cross compilers may not add the suffix if given an `-o'
2224 # argument, so we may need to know it at that point already.
2225 # Even if this section looks crufty: it has the advantage of
2226 # actually working.
2227 break;;
2229 break;;
2230 esac
2231 done
2232 test "$ac_cv_exeext" = no && ac_cv_exeext=
2234 else
2235 ac_file=''
2237 if test -z "$ac_file"; then :
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2239 $as_echo "no" >&6; }
2240 $as_echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.$ac_ext >&5
2243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2245 as_fn_error 77 "C compiler cannot create executables
2246 See \`config.log' for more details" "$LINENO" 5; }
2247 else
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2249 $as_echo "yes" >&6; }
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2252 $as_echo_n "checking for C compiler default output file name... " >&6; }
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2254 $as_echo "$ac_file" >&6; }
2255 ac_exeext=$ac_cv_exeext
2257 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2258 ac_clean_files=$ac_clean_files_save
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2260 $as_echo_n "checking for suffix of executables... " >&6; }
2261 if { { ac_try="$ac_link"
2262 case "(($ac_try" in
2263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2264 *) ac_try_echo=$ac_try;;
2265 esac
2266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2267 $as_echo "$ac_try_echo"; } >&5
2268 (eval "$ac_link") 2>&5
2269 ac_status=$?
2270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2271 test $ac_status = 0; }; then :
2272 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2273 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2274 # work properly (i.e., refer to `conftest.exe'), while it won't with
2275 # `rm'.
2276 for ac_file in conftest.exe conftest conftest.*; do
2277 test -f "$ac_file" || continue
2278 case $ac_file in
2279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2280 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2281 break;;
2282 * ) break;;
2283 esac
2284 done
2285 else
2286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2288 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2289 See \`config.log' for more details" "$LINENO" 5; }
2291 rm -f conftest conftest$ac_cv_exeext
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2293 $as_echo "$ac_cv_exeext" >&6; }
2295 rm -f conftest.$ac_ext
2296 EXEEXT=$ac_cv_exeext
2297 ac_exeext=$EXEEXT
2298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2299 /* end confdefs.h. */
2300 #include <stdio.h>
2302 main ()
2304 FILE *f = fopen ("conftest.out", "w");
2305 return ferror (f) || fclose (f) != 0;
2308 return 0;
2310 _ACEOF
2311 ac_clean_files="$ac_clean_files conftest.out"
2312 # Check that the compiler produces executables we can run. If not, either
2313 # the compiler is broken, or we cross compile.
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2315 $as_echo_n "checking whether we are cross compiling... " >&6; }
2316 if test "$cross_compiling" != yes; then
2317 { { ac_try="$ac_link"
2318 case "(($ac_try" in
2319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2320 *) ac_try_echo=$ac_try;;
2321 esac
2322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2323 $as_echo "$ac_try_echo"; } >&5
2324 (eval "$ac_link") 2>&5
2325 ac_status=$?
2326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2327 test $ac_status = 0; }
2328 if { ac_try='./conftest$ac_cv_exeext'
2329 { { case "(($ac_try" in
2330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2331 *) ac_try_echo=$ac_try;;
2332 esac
2333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2334 $as_echo "$ac_try_echo"; } >&5
2335 (eval "$ac_try") 2>&5
2336 ac_status=$?
2337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2338 test $ac_status = 0; }; }; then
2339 cross_compiling=no
2340 else
2341 if test "$cross_compiling" = maybe; then
2342 cross_compiling=yes
2343 else
2344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2346 as_fn_error $? "cannot run C compiled programs.
2347 If you meant to cross compile, use \`--host'.
2348 See \`config.log' for more details" "$LINENO" 5; }
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2353 $as_echo "$cross_compiling" >&6; }
2355 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2356 ac_clean_files=$ac_clean_files_save
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2358 $as_echo_n "checking for suffix of object files... " >&6; }
2359 if ${ac_cv_objext+:} false; then :
2360 $as_echo_n "(cached) " >&6
2361 else
2362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2363 /* end confdefs.h. */
2366 main ()
2370 return 0;
2372 _ACEOF
2373 rm -f conftest.o conftest.obj
2374 if { { ac_try="$ac_compile"
2375 case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2378 esac
2379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2380 $as_echo "$ac_try_echo"; } >&5
2381 (eval "$ac_compile") 2>&5
2382 ac_status=$?
2383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2384 test $ac_status = 0; }; then :
2385 for ac_file in conftest.o conftest.obj conftest.*; do
2386 test -f "$ac_file" || continue;
2387 case $ac_file in
2388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2389 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2390 break;;
2391 esac
2392 done
2393 else
2394 $as_echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.$ac_ext >&5
2397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2399 as_fn_error $? "cannot compute suffix of object files: cannot compile
2400 See \`config.log' for more details" "$LINENO" 5; }
2402 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2405 $as_echo "$ac_cv_objext" >&6; }
2406 OBJEXT=$ac_cv_objext
2407 ac_objext=$OBJEXT
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2409 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2410 if ${ac_cv_c_compiler_gnu+:} false; then :
2411 $as_echo_n "(cached) " >&6
2412 else
2413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h. */
2417 main ()
2419 #ifndef __GNUC__
2420 choke me
2421 #endif
2424 return 0;
2426 _ACEOF
2427 if ac_fn_c_try_compile "$LINENO"; then :
2428 ac_compiler_gnu=yes
2429 else
2430 ac_compiler_gnu=no
2432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2433 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2437 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2438 if test $ac_compiler_gnu = yes; then
2439 GCC=yes
2440 else
2441 GCC=
2443 ac_test_CFLAGS=${CFLAGS+set}
2444 ac_save_CFLAGS=$CFLAGS
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2446 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2447 if ${ac_cv_prog_cc_g+:} false; then :
2448 $as_echo_n "(cached) " >&6
2449 else
2450 ac_save_c_werror_flag=$ac_c_werror_flag
2451 ac_c_werror_flag=yes
2452 ac_cv_prog_cc_g=no
2453 CFLAGS="-g"
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2458 main ()
2462 return 0;
2464 _ACEOF
2465 if ac_fn_c_try_compile "$LINENO"; then :
2466 ac_cv_prog_cc_g=yes
2467 else
2468 CFLAGS=""
2469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2470 /* end confdefs.h. */
2473 main ()
2477 return 0;
2479 _ACEOF
2480 if ac_fn_c_try_compile "$LINENO"; then :
2482 else
2483 ac_c_werror_flag=$ac_save_c_werror_flag
2484 CFLAGS="-g"
2485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2486 /* end confdefs.h. */
2489 main ()
2493 return 0;
2495 _ACEOF
2496 if ac_fn_c_try_compile "$LINENO"; then :
2497 ac_cv_prog_cc_g=yes
2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504 ac_c_werror_flag=$ac_save_c_werror_flag
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2507 $as_echo "$ac_cv_prog_cc_g" >&6; }
2508 if test "$ac_test_CFLAGS" = set; then
2509 CFLAGS=$ac_save_CFLAGS
2510 elif test $ac_cv_prog_cc_g = yes; then
2511 if test "$GCC" = yes; then
2512 CFLAGS="-g -O2"
2513 else
2514 CFLAGS="-g"
2516 else
2517 if test "$GCC" = yes; then
2518 CFLAGS="-O2"
2519 else
2520 CFLAGS=
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2524 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2525 if ${ac_cv_prog_cc_c89+:} false; then :
2526 $as_echo_n "(cached) " >&6
2527 else
2528 ac_cv_prog_cc_c89=no
2529 ac_save_CC=$CC
2530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2531 /* end confdefs.h. */
2532 #include <stdarg.h>
2533 #include <stdio.h>
2534 struct stat;
2535 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2536 struct buf { int x; };
2537 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2538 static char *e (p, i)
2539 char **p;
2540 int i;
2542 return p[i];
2544 static char *f (char * (*g) (char **, int), char **p, ...)
2546 char *s;
2547 va_list v;
2548 va_start (v,p);
2549 s = g (p, va_arg (v,int));
2550 va_end (v);
2551 return s;
2554 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2555 function prototypes and stuff, but not '\xHH' hex character constants.
2556 These don't provoke an error unfortunately, instead are silently treated
2557 as 'x'. The following induces an error, until -std is added to get
2558 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2559 array size at least. It's necessary to write '\x00'==0 to get something
2560 that's true only with -std. */
2561 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2563 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2564 inside strings and character constants. */
2565 #define FOO(x) 'x'
2566 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2568 int test (int i, double x);
2569 struct s1 {int (*f) (int a);};
2570 struct s2 {int (*f) (double a);};
2571 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2572 int argc;
2573 char **argv;
2575 main ()
2577 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2579 return 0;
2581 _ACEOF
2582 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2583 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2585 CC="$ac_save_CC $ac_arg"
2586 if ac_fn_c_try_compile "$LINENO"; then :
2587 ac_cv_prog_cc_c89=$ac_arg
2589 rm -f core conftest.err conftest.$ac_objext
2590 test "x$ac_cv_prog_cc_c89" != "xno" && break
2591 done
2592 rm -f conftest.$ac_ext
2593 CC=$ac_save_CC
2596 # AC_CACHE_VAL
2597 case "x$ac_cv_prog_cc_c89" in
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2600 $as_echo "none needed" >&6; } ;;
2601 xno)
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2603 $as_echo "unsupported" >&6; } ;;
2605 CC="$CC $ac_cv_prog_cc_c89"
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2607 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2608 esac
2609 if test "x$ac_cv_prog_cc_c89" != xno; then :
2613 ac_ext=c
2614 ac_cpp='$CPP $CPPFLAGS'
2615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2621 $as_echo_n "checking target config location... " >&6; }
2623 # Check whether --with-config-dir was given.
2624 if test "${with_config_dir+set}" = set; then :
2625 withval=$with_config_dir; targetcfg_dir="$withval"
2626 else
2627 targetcfg_dir=""
2630 if test "$targetcfg_dir" = ""; then
2631 as_fn_error $? "missing config directory!" "$LINENO" 5
2632 else
2633 aros_targetcfg_dir="$targetcfg_dir"
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2636 $as_echo "$aros_targetcfg_dir" >&6; }
2638 #-----------------------------------------------------------------------------
2640 # Check if the target compiler supports some options used for delinting:
2641 # -Wunused-but-set-variable
2642 # -Wstrict-aliasing
2643 # -Warray-bounds
2644 # -Wenum-compare
2645 # -Wstrict-prototypes
2646 # -Wstrict-overflow
2647 # -Wformat-security
2648 # -Wmisleading-indentation
2649 # -Wnonnull-compare
2650 # -Wunused
2651 # -Wunused-value
2652 # -Wunused-variable
2653 # -Wunused-function
2654 # -Wuninitialized
2655 # -Wmaybe-uninitialized
2656 # -Wimplicit-function-declaration
2657 # -Wformat
2658 # -Wparentheses
2659 # -Wchar-subscripts
2660 # -Wendif-labels
2661 # -Wformat-contains-nul
2662 # -Wimplicit-int
2663 # -Waggressive-loop-optimizations
2664 # -Wcpp
2665 # -Wswitch
2666 # -Wdiscarded-qualifiers
2667 # -Wsequence-point
2668 # -Wunknown-pragmas
2669 # -Wdiscarded-array-qualifiers
2670 # -Wint-conversion
2671 # -Wint-to-pointer-cast
2672 # -Wpointer-to-int-cast
2673 # -Wunused-const-variable
2674 # -Wwrite-strings
2675 # -Wcomment
2676 # -Wincompatible-pointer-types
2677 # -Wbool-compare
2678 # -Wlogical-not-parentheses
2679 # -Wpointer-sign
2680 # -Wshift-overflow
2681 # -Wframe-address
2682 # -Wdeprecated-declarations
2683 # -Wsign-compare
2684 # -Wattributes
2685 # -Woverflow
2686 # -Wunused-local-typedefs
2687 # -Wmissing-braces
2688 # -Wconversion-null
2689 # -Wnarrowing
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2692 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2693 CFLAGS=-Wunused-but-set-variable
2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2699 main ()
2703 return 0;
2705 _ACEOF
2706 if ac_fn_c_try_compile "$LINENO"; then :
2707 aros_unused_but_set_variable="yes"
2708 else
2709 aros_unused_but_set_variable="no"
2711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2713 $as_echo "$aros_unused_but_set_variable" >&6; }
2714 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2715 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2719 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2720 CFLAGS=-Wstrict-aliasing
2721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h. */
2725 main ()
2729 return 0;
2731 _ACEOF
2732 if ac_fn_c_try_compile "$LINENO"; then :
2733 aros_strict_aliasing="yes"
2734 else
2735 aros_strict_aliasing="no"
2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2739 $as_echo "$aros_strict_aliasing" >&6; }
2740 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2741 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2745 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2746 CFLAGS=-Warray-bounds
2747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2748 /* end confdefs.h. */
2751 main ()
2755 return 0;
2757 _ACEOF
2758 if ac_fn_c_try_compile "$LINENO"; then :
2759 aros_array_bounds="yes"
2760 else
2761 aros_array_bounds="no"
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2765 $as_echo "$aros_array_bounds" >&6; }
2766 if test "x-$aros_array_bounds" = "x-yes" ; then
2767 aros_cflags_array_bounds=-Wno-array-bounds
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2771 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2772 CFLAGS=-Wenum-compare
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2777 main ()
2781 return 0;
2783 _ACEOF
2784 if ac_fn_c_try_compile "$LINENO"; then :
2785 aros_enum_compare="yes"
2786 else
2787 aros_enum_compare="no"
2789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2791 $as_echo "$aros_enum_compare" >&6; }
2792 if test "x-$aros_enum_compare" = "x-yes" ; then
2793 aros_cflags_enum_compare=-Wno-enum-compare
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2797 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2798 CFLAGS=-Wstrict-prototypes
2799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2800 /* end confdefs.h. */
2803 main ()
2807 return 0;
2809 _ACEOF
2810 if ac_fn_c_try_compile "$LINENO"; then :
2811 aros_strict_prototypes="yes"
2812 else
2813 aros_strict_prototypes="no"
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
2817 $as_echo "$aros_strict_prototypes" >&6; }
2818 if test "x-$aros_strict_prototypes" = "x-yes" ; then
2819 aros_cflags_strict_prototypes=-Wno-strict-prototypes
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
2823 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
2824 CFLAGS=-Wstrict-overflow
2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2826 /* end confdefs.h. */
2829 main ()
2833 return 0;
2835 _ACEOF
2836 if ac_fn_c_try_compile "$LINENO"; then :
2837 aros_strict_overflow="yes"
2838 else
2839 aros_strict_overflow="no"
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
2843 $as_echo "$aros_strict_overflow" >&6; }
2844 if test "x-$aros_strict_overflow" = "x-yes" ; then
2845 aros_cflags_strict_overflow=-Wno-strict-overflow
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
2849 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
2850 CFLAGS=-Wformat-security
2851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2852 /* end confdefs.h. */
2855 main ()
2859 return 0;
2861 _ACEOF
2862 if ac_fn_c_try_compile "$LINENO"; then :
2863 aros_format_security="yes"
2864 else
2865 aros_format_security="no"
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
2869 $as_echo "$aros_format_security" >&6; }
2870 if test "x-$aros_format_security" = "x-yes" ; then
2871 aros_cflags_format_security=-Wno-format-security
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
2875 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
2876 CFLAGS=-Wmisleading-indentation
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2881 main ()
2885 return 0;
2887 _ACEOF
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889 aros_misleading_indentation="yes"
2890 else
2891 aros_misleading_indentation="no"
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
2895 $as_echo "$aros_misleading_indentation" >&6; }
2896 if test "x-$aros_misleading_indentation" = "x-yes" ; then
2897 aros_cflags_misleading_indentation=-Wno-misleading-indentation
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
2901 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
2902 CFLAGS=-Wnonnull-compare
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2907 main ()
2911 return 0;
2913 _ACEOF
2914 if ac_fn_c_try_compile "$LINENO"; then :
2915 aros_nonnull_compare="yes"
2916 else
2917 aros_nonnull_compare="no"
2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
2921 $as_echo "$aros_nonnull_compare" >&6; }
2922 if test "x-$aros_nonnull_compare" = "x-yes" ; then
2923 aros_cflags_nonnull_compare=-Wno-nonnull-compare
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
2927 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
2928 CFLAGS=-Wunused
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2933 main ()
2937 return 0;
2939 _ACEOF
2940 if ac_fn_c_try_compile "$LINENO"; then :
2941 aros_unused="yes"
2942 else
2943 aros_unused="no"
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
2947 $as_echo "$aros_unused" >&6; }
2948 if test "x-$aros_unused" = "x-yes" ; then
2949 aros_cflags_unused=-Wno-unused
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
2953 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
2954 CFLAGS=-Wunused-value
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2959 main ()
2963 return 0;
2965 _ACEOF
2966 if ac_fn_c_try_compile "$LINENO"; then :
2967 aros_unused_value="yes"
2968 else
2969 aros_unused_value="no"
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
2973 $as_echo "$aros_unused_value" >&6; }
2974 if test "x-$aros_unused_value" = "x-yes" ; then
2975 aros_cflags_unused_value=-Wno-unused-value
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
2979 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
2980 CFLAGS=-Wunused-variable
2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2982 /* end confdefs.h. */
2985 main ()
2989 return 0;
2991 _ACEOF
2992 if ac_fn_c_try_compile "$LINENO"; then :
2993 aros_unused_variable="yes"
2994 else
2995 aros_unused_variable="no"
2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
2999 $as_echo "$aros_unused_variable" >&6; }
3000 if test "x-$aros_unused_variable" = "x-yes" ; then
3001 aros_cflags_unused_variable=-Wno-unused-variable
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
3005 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
3006 CFLAGS=-Wunused-function
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3011 main ()
3015 return 0;
3017 _ACEOF
3018 if ac_fn_c_try_compile "$LINENO"; then :
3019 aros_unused_function="yes"
3020 else
3021 aros_unused_function="no"
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3025 $as_echo "$aros_unused_function" >&6; }
3026 if test "x-$aros_unused_function" = "x-yes" ; then
3027 aros_cflags_unused_function=-Wno-unused-function
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3031 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3032 CFLAGS=-Wuninitialized
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3037 main ()
3041 return 0;
3043 _ACEOF
3044 if ac_fn_c_try_compile "$LINENO"; then :
3045 aros_uninitialized="yes"
3046 else
3047 aros_uninitialized="no"
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3051 $as_echo "$aros_uninitialized" >&6; }
3052 if test "x-$aros_uninitialized" = "x-yes" ; then
3053 aros_cflags_uninitialized=-Wno-uninitialized
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3057 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3058 CFLAGS=-Wmaybe-uninitialized
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3063 main ()
3067 return 0;
3069 _ACEOF
3070 if ac_fn_c_try_compile "$LINENO"; then :
3071 aros_maybe_uninitialized="yes"
3072 else
3073 aros_maybe_uninitialized="no"
3075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3077 $as_echo "$aros_maybe_uninitialized" >&6; }
3078 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3079 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3083 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3084 CFLAGS=-Wimplicit-function-declaration
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3089 main ()
3093 return 0;
3095 _ACEOF
3096 if ac_fn_c_try_compile "$LINENO"; then :
3097 aros_implicit_function_declaration="yes"
3098 else
3099 aros_implicit_function_declaration="no"
3101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3103 $as_echo "$aros_implicit_function_declaration" >&6; }
3104 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3105 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3109 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3110 CFLAGS=-Wformat
3111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112 /* end confdefs.h. */
3115 main ()
3119 return 0;
3121 _ACEOF
3122 if ac_fn_c_try_compile "$LINENO"; then :
3123 aros_format="yes"
3124 else
3125 aros_format="no"
3127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3129 $as_echo "$aros_format" >&6; }
3130 if test "x-$aros_format" = "x-yes" ; then
3131 aros_cflags_format=-Wno-format
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3135 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3136 CFLAGS=-Wparentheses
3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3141 main ()
3145 return 0;
3147 _ACEOF
3148 if ac_fn_c_try_compile "$LINENO"; then :
3149 aros_parentheses="yes"
3150 else
3151 aros_parentheses="no"
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3155 $as_echo "$aros_parentheses" >&6; }
3156 if test "x-$aros_parentheses" = "x-yes" ; then
3157 aros_cflags_parentheses=-Wno-parentheses
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3161 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3162 CFLAGS=-Wchar-subscripts
3163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h. */
3167 main ()
3171 return 0;
3173 _ACEOF
3174 if ac_fn_c_try_compile "$LINENO"; then :
3175 aros_char_subscripts="yes"
3176 else
3177 aros_char_subscripts="no"
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3181 $as_echo "$aros_char_subscripts" >&6; }
3182 if test "x-$aros_char_subscripts" = "x-yes" ; then
3183 aros_cflags_char_subscripts=-Wno-char-subscripts
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3187 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3188 CFLAGS=-Wendif-labels
3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h. */
3193 main ()
3197 return 0;
3199 _ACEOF
3200 if ac_fn_c_try_compile "$LINENO"; then :
3201 aros_endif_labels="yes"
3202 else
3203 aros_endif_labels="no"
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3207 $as_echo "$aros_endif_labels" >&6; }
3208 if test "x-$aros_endif_labels" = "x-yes" ; then
3209 aros_cflags_endif_labels=-Wno-endif-labels
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3213 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3214 CFLAGS=-Wformat-contains-nul
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3219 main ()
3223 return 0;
3225 _ACEOF
3226 if ac_fn_c_try_compile "$LINENO"; then :
3227 aros_format_contains_nul="yes"
3228 else
3229 aros_format_contains_nul="no"
3231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3233 $as_echo "$aros_format_contains_nul" >&6; }
3234 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3235 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3239 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3240 CFLAGS=-Wimplicit-int
3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3242 /* end confdefs.h. */
3245 main ()
3249 return 0;
3251 _ACEOF
3252 if ac_fn_c_try_compile "$LINENO"; then :
3253 aros_implicit_int="yes"
3254 else
3255 aros_implicit_int="no"
3257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3259 $as_echo "$aros_implicit_int" >&6; }
3260 if test "x-$aros_implicit_int" = "x-yes" ; then
3261 aros_cflags_implicit_int=-Wno-implicit-int
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3265 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3266 CFLAGS=-Waggressive-loop-optimizations
3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268 /* end confdefs.h. */
3271 main ()
3275 return 0;
3277 _ACEOF
3278 if ac_fn_c_try_compile "$LINENO"; then :
3279 aros_aggressive_loop_optimizations="yes"
3280 else
3281 aros_aggressive_loop_optimizations="no"
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3285 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3286 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3287 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3291 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3292 CFLAGS=-Wcpp
3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3297 main ()
3301 return 0;
3303 _ACEOF
3304 if ac_fn_c_try_compile "$LINENO"; then :
3305 aros_cpp="yes"
3306 else
3307 aros_cpp="no"
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3311 $as_echo "$aros_cpp" >&6; }
3312 if test "x-$aros_cpp" = "x-yes" ; then
3313 aros_cflags_cpp=-Wno-cpp
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3317 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3318 CFLAGS=-Wswitch
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3323 main ()
3327 return 0;
3329 _ACEOF
3330 if ac_fn_c_try_compile "$LINENO"; then :
3331 aros_switch="yes"
3332 else
3333 aros_switch="no"
3335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3337 $as_echo "$aros_switch" >&6; }
3338 if test "x-$aros_switch" = "x-yes" ; then
3339 aros_cflags_switch=-Wno-switch
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3343 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3344 CFLAGS=-Wdiscarded-qualifiers
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3349 main ()
3353 return 0;
3355 _ACEOF
3356 if ac_fn_c_try_compile "$LINENO"; then :
3357 aros_discarded_qualifiers="yes"
3358 else
3359 aros_discarded_qualifiers="no"
3361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3363 $as_echo "$aros_discarded_qualifiers" >&6; }
3364 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3365 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3369 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3370 CFLAGS=-Wsequence-point
3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372 /* end confdefs.h. */
3375 main ()
3379 return 0;
3381 _ACEOF
3382 if ac_fn_c_try_compile "$LINENO"; then :
3383 aros_sequence_point="yes"
3384 else
3385 aros_sequence_point="no"
3387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3389 $as_echo "$aros_sequence_point" >&6; }
3390 if test "x-$aros_sequence_point" = "x-yes" ; then
3391 aros_cflags_sequence_point=-Wno-sequence-point
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3395 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3396 CFLAGS=-Wunknown-pragmas
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3401 main ()
3405 return 0;
3407 _ACEOF
3408 if ac_fn_c_try_compile "$LINENO"; then :
3409 aros_unknown_pragmas="yes"
3410 else
3411 aros_unknown_pragmas="no"
3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3415 $as_echo "$aros_unknown_pragmas" >&6; }
3416 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3417 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3421 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3422 CFLAGS=-Wdiscarded-array-qualifiers
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3427 main ()
3431 return 0;
3433 _ACEOF
3434 if ac_fn_c_try_compile "$LINENO"; then :
3435 aros_discarded_array_qualifiers="yes"
3436 else
3437 aros_discarded_array_qualifiers="no"
3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3441 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3442 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3443 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3447 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3448 CFLAGS=-Wint-conversion
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3453 main ()
3457 return 0;
3459 _ACEOF
3460 if ac_fn_c_try_compile "$LINENO"; then :
3461 aros_int_conversion="yes"
3462 else
3463 aros_int_conversion="no"
3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3467 $as_echo "$aros_int_conversion" >&6; }
3468 if test "x-$aros_int_conversion" = "x-yes" ; then
3469 aros_cflags_int_conversion=-Wno-int-conversion
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3473 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3474 CFLAGS=-Wint-to-pointer-cast
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h. */
3479 main ()
3483 return 0;
3485 _ACEOF
3486 if ac_fn_c_try_compile "$LINENO"; then :
3487 aros_int_to_pointer_cast="yes"
3488 else
3489 aros_int_to_pointer_cast="no"
3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3493 $as_echo "$aros_int_to_pointer_cast" >&6; }
3494 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3495 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3499 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3500 CFLAGS=-Wpointer-to-int-cast
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3505 main ()
3509 return 0;
3511 _ACEOF
3512 if ac_fn_c_try_compile "$LINENO"; then :
3513 aros_pointer_to_int_cast="yes"
3514 else
3515 aros_pointer_to_int_cast="no"
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3519 $as_echo "$aros_pointer_to_int_cast" >&6; }
3520 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3521 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3525 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3526 CFLAGS=-Wunused-const-variable
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3531 main ()
3535 return 0;
3537 _ACEOF
3538 if ac_fn_c_try_compile "$LINENO"; then :
3539 aros_unused_const_variable="yes"
3540 else
3541 aros_unused_const_variable="no"
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3545 $as_echo "$aros_unused_const_variable" >&6; }
3546 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3547 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3551 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3552 CFLAGS=-Wwrite-strings
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3557 main ()
3561 return 0;
3563 _ACEOF
3564 if ac_fn_c_try_compile "$LINENO"; then :
3565 aros_write_strings="yes"
3566 else
3567 aros_write_strings="no"
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3571 $as_echo "$aros_write_strings" >&6; }
3572 if test "x-$aros_write_strings" = "x-yes" ; then
3573 aros_cflags_write_strings=-Wno-write-strings
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3577 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3578 CFLAGS=-Wcomment
3579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580 /* end confdefs.h. */
3583 main ()
3587 return 0;
3589 _ACEOF
3590 if ac_fn_c_try_compile "$LINENO"; then :
3591 aros_comment="yes"
3592 else
3593 aros_comment="no"
3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3597 $as_echo "$aros_comment" >&6; }
3598 if test "x-$aros_comment" = "x-yes" ; then
3599 aros_cflags_comment=-Wno-comment
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3603 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3604 CFLAGS=-Wincompatible-pointer-types
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3609 main ()
3613 return 0;
3615 _ACEOF
3616 if ac_fn_c_try_compile "$LINENO"; then :
3617 aros_incompatible_pointer_types="yes"
3618 else
3619 aros_incompatible_pointer_types="no"
3621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3623 $as_echo "$aros_incompatible_pointer_types" >&6; }
3624 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3625 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3629 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3630 CFLAGS=-Wbool-compare
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3635 main ()
3639 return 0;
3641 _ACEOF
3642 if ac_fn_c_try_compile "$LINENO"; then :
3643 aros_bool_compare="yes"
3644 else
3645 aros_bool_compare="no"
3647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3649 $as_echo "$aros_bool_compare" >&6; }
3650 if test "x-$aros_bool_compare" = "x-yes" ; then
3651 aros_cflags_bool_compare=-Wno-bool-compare
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3655 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3656 CFLAGS=-Wlogical-not-parentheses
3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3661 main ()
3665 return 0;
3667 _ACEOF
3668 if ac_fn_c_try_compile "$LINENO"; then :
3669 aros_logical_not_parentheses="yes"
3670 else
3671 aros_logical_not_parentheses="no"
3673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3675 $as_echo "$aros_logical_not_parentheses" >&6; }
3676 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3677 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3681 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3682 CFLAGS=-Wpointer-sign
3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3684 /* end confdefs.h. */
3687 main ()
3691 return 0;
3693 _ACEOF
3694 if ac_fn_c_try_compile "$LINENO"; then :
3695 aros_pointer_sign="yes"
3696 else
3697 aros_pointer_sign="no"
3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3701 $as_echo "$aros_pointer_sign" >&6; }
3702 if test "x-$aros_pointer_sign" = "x-yes" ; then
3703 aros_cflags_pointer_sign=-Wno-pointer-sign
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3707 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3708 CFLAGS=-Wshift-overflow
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3713 main ()
3717 return 0;
3719 _ACEOF
3720 if ac_fn_c_try_compile "$LINENO"; then :
3721 aros_shift_overflow="yes"
3722 else
3723 aros_shift_overflow="no"
3725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3727 $as_echo "$aros_shift_overflow" >&6; }
3728 if test "x-$aros_shift_overflow" = "x-yes" ; then
3729 aros_cflags_shift_overflow=-Wno-shift-overflow
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3733 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3734 CFLAGS=-Wframe-address
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3739 main ()
3743 return 0;
3745 _ACEOF
3746 if ac_fn_c_try_compile "$LINENO"; then :
3747 aros_frame_address="yes"
3748 else
3749 aros_frame_address="no"
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3753 $as_echo "$aros_frame_address" >&6; }
3754 if test "x-$aros_frame_address" = "x-yes" ; then
3755 aros_cflags_frame_address=-Wno-frame-address
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3759 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3760 CFLAGS=-Wdeprecated-declarations
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3765 main ()
3769 return 0;
3771 _ACEOF
3772 if ac_fn_c_try_compile "$LINENO"; then :
3773 aros_deprecated_declarations="yes"
3774 else
3775 aros_deprecated_declarations="no"
3777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
3779 $as_echo "$aros_deprecated_declarations" >&6; }
3780 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
3781 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsign-compare" >&5
3785 $as_echo_n "checking whether ${CC} accepts -Wsign-compare... " >&6; }
3786 CFLAGS=-Wsign-compare
3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788 /* end confdefs.h. */
3791 main ()
3795 return 0;
3797 _ACEOF
3798 if ac_fn_c_try_compile "$LINENO"; then :
3799 aros_sign_compare="yes"
3800 else
3801 aros_sign_compare="no"
3803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sign_compare" >&5
3805 $as_echo "$aros_sign_compare" >&6; }
3806 if test "x-$aros_sign_compare" = "x-yes" ; then
3807 aros_cflags_sign_compare=-Wno-sign-compare
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wattributes" >&5
3811 $as_echo_n "checking whether ${CC} accepts -Wattributes... " >&6; }
3812 CFLAGS=-Wattributes
3813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3814 /* end confdefs.h. */
3817 main ()
3821 return 0;
3823 _ACEOF
3824 if ac_fn_c_try_compile "$LINENO"; then :
3825 aros_attributes="yes"
3826 else
3827 aros_attributes="no"
3829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_attributes" >&5
3831 $as_echo "$aros_attributes" >&6; }
3832 if test "x-$aros_attributes" = "x-yes" ; then
3833 aros_cflags_attributes=-Wno-attributes
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Woverflow" >&5
3837 $as_echo_n "checking whether ${CC} accepts -Woverflow... " >&6; }
3838 CFLAGS=-Woverflow
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3843 main ()
3847 return 0;
3849 _ACEOF
3850 if ac_fn_c_try_compile "$LINENO"; then :
3851 aros_overflow="yes"
3852 else
3853 aros_overflow="no"
3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_overflow" >&5
3857 $as_echo "$aros_overflow" >&6; }
3858 if test "x-$aros_overflow" = "x-yes" ; then
3859 aros_cflags_overflow=-Wno-overflow
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-local-typedefs" >&5
3863 $as_echo_n "checking whether ${CC} accepts -Wunused-local-typedefs... " >&6; }
3864 CFLAGS=-Wunused-local-typedefs
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3869 main ()
3873 return 0;
3875 _ACEOF
3876 if ac_fn_c_try_compile "$LINENO"; then :
3877 aros_unused_local_typedefs="yes"
3878 else
3879 aros_unused_local_typedefs="no"
3881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_local_typedefs" >&5
3883 $as_echo "$aros_unused_local_typedefs" >&6; }
3884 if test "x-$aros_unused_local_typedefs" = "x-yes" ; then
3885 aros_cflags_unused_local_typedefs=-Wno-unused-local-typedefs
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmissing-braces" >&5
3889 $as_echo_n "checking whether ${CC} accepts -Wmissing-braces... " >&6; }
3890 CFLAGS=-Wmissing-braces
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3895 main ()
3899 return 0;
3901 _ACEOF
3902 if ac_fn_c_try_compile "$LINENO"; then :
3903 aros_missing_braces="yes"
3904 else
3905 aros_missing_braces="no"
3907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_missing_braces" >&5
3909 $as_echo "$aros_missing_braces" >&6; }
3910 if test "x-$aros_missing_braces" = "x-yes" ; then
3911 aros_cflags_missing_braces=-Wno-missing-braces
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wconversion-null" >&5
3915 $as_echo_n "checking whether ${CC} accepts -Wconversion-null... " >&6; }
3916 CFLAGS=-Wconversion-null
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3921 main ()
3925 return 0;
3927 _ACEOF
3928 if ac_fn_c_try_compile "$LINENO"; then :
3929 aros_conversion_null="yes"
3930 else
3931 aros_conversion_null="no"
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_conversion_null" >&5
3935 $as_echo "$aros_conversion_null" >&6; }
3936 if test "x-$aros_conversion_null" = "x-yes" ; then
3937 aros_cflags_conversion_null=-Wno-conversion-null
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnarrowing" >&5
3941 $as_echo_n "checking whether ${CC} accepts -Wnarrowing... " >&6; }
3942 CFLAGS=-Wnarrowing
3943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3944 /* end confdefs.h. */
3947 main ()
3951 return 0;
3953 _ACEOF
3954 if ac_fn_c_try_compile "$LINENO"; then :
3955 aros_narrowing="yes"
3956 else
3957 aros_narrowing="no"
3959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_narrowing" >&5
3961 $as_echo "$aros_narrowing" >&6; }
3962 if test "x-$aros_narrowing" = "x-yes" ; then
3963 aros_cflags_narrowing=-Wno-narrowing
4016 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in"
4019 cat >confcache <<\_ACEOF
4020 # This file is a shell script that caches the results of configure
4021 # tests run on this system so they can be shared between configure
4022 # scripts and configure runs, see configure's option --config-cache.
4023 # It is not useful on other systems. If it contains results you don't
4024 # want to keep, you may remove or edit it.
4026 # config.status only pays attention to the cache file if you give it
4027 # the --recheck option to rerun configure.
4029 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4030 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4031 # following values.
4033 _ACEOF
4035 # The following way of writing the cache mishandles newlines in values,
4036 # but we know of no workaround that is simple, portable, and efficient.
4037 # So, we kill variables containing newlines.
4038 # Ultrix sh set writes to stderr and can't be redirected directly,
4039 # and sets the high bit in the cache file unless we assign to the vars.
4041 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4042 eval ac_val=\$$ac_var
4043 case $ac_val in #(
4044 *${as_nl}*)
4045 case $ac_var in #(
4046 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4047 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4048 esac
4049 case $ac_var in #(
4050 _ | IFS | as_nl) ;; #(
4051 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4052 *) { eval $ac_var=; unset $ac_var;} ;;
4053 esac ;;
4054 esac
4055 done
4057 (set) 2>&1 |
4058 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4059 *${as_nl}ac_space=\ *)
4060 # `set' does not quote correctly, so add quotes: double-quote
4061 # substitution turns \\\\ into \\, and sed turns \\ into \.
4062 sed -n \
4063 "s/'/'\\\\''/g;
4064 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4065 ;; #(
4067 # `set' quotes correctly as required by POSIX, so do not add quotes.
4068 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4070 esac |
4071 sort
4073 sed '
4074 /^ac_cv_env_/b end
4075 t clear
4076 :clear
4077 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4078 t end
4079 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4080 :end' >>confcache
4081 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4082 if test -w "$cache_file"; then
4083 if test "x$cache_file" != "x/dev/null"; then
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4085 $as_echo "$as_me: updating cache $cache_file" >&6;}
4086 if test ! -f "$cache_file" || test -h "$cache_file"; then
4087 cat confcache >"$cache_file"
4088 else
4089 case $cache_file in #(
4090 */* | ?:*)
4091 mv -f confcache "$cache_file"$$ &&
4092 mv -f "$cache_file"$$ "$cache_file" ;; #(
4094 mv -f confcache "$cache_file" ;;
4095 esac
4098 else
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4100 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4103 rm -f confcache
4105 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4106 # Let make expand exec_prefix.
4107 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4109 # Transform confdefs.h into DEFS.
4110 # Protect against shell expansion while executing Makefile rules.
4111 # Protect against Makefile macro expansion.
4113 # If the first sed substitution is executed (which looks for macros that
4114 # take arguments), then branch to the quote section. Otherwise,
4115 # look for a macro that doesn't take arguments.
4116 ac_script='
4117 :mline
4118 /\\$/{
4120 s,\\\n,,
4121 b mline
4123 t clear
4124 :clear
4125 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4126 t quote
4127 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4128 t quote
4129 b any
4130 :quote
4131 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4132 s/\[/\\&/g
4133 s/\]/\\&/g
4134 s/\$/$$/g
4136 :any
4139 s/^\n//
4140 s/\n/ /g
4144 DEFS=`sed -n "$ac_script" confdefs.h`
4147 ac_libobjs=
4148 ac_ltlibobjs=
4150 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4151 # 1. Remove the extension, and $U if already installed.
4152 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4153 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4154 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4155 # will be set to the directory where LIBOBJS objects are built.
4156 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4157 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4158 done
4159 LIBOBJS=$ac_libobjs
4161 LTLIBOBJS=$ac_ltlibobjs
4165 : "${CONFIG_STATUS=./config.status}"
4166 ac_write_fail=0
4167 ac_clean_files_save=$ac_clean_files
4168 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4170 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4171 as_write_fail=0
4172 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4173 #! $SHELL
4174 # Generated by $as_me.
4175 # Run this file to recreate the current configuration.
4176 # Compiler output produced by configure, useful for debugging
4177 # configure, is in config.log if it exists.
4179 debug=false
4180 ac_cs_recheck=false
4181 ac_cs_silent=false
4183 SHELL=\${CONFIG_SHELL-$SHELL}
4184 export SHELL
4185 _ASEOF
4186 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4187 ## -------------------- ##
4188 ## M4sh Initialization. ##
4189 ## -------------------- ##
4191 # Be more Bourne compatible
4192 DUALCASE=1; export DUALCASE # for MKS sh
4193 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4194 emulate sh
4195 NULLCMD=:
4196 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4197 # is contrary to our usage. Disable this feature.
4198 alias -g '${1+"$@"}'='"$@"'
4199 setopt NO_GLOB_SUBST
4200 else
4201 case `(set -o) 2>/dev/null` in #(
4202 *posix*) :
4203 set -o posix ;; #(
4204 *) :
4206 esac
4210 as_nl='
4212 export as_nl
4213 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4214 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4215 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4216 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4217 # Prefer a ksh shell builtin over an external printf program on Solaris,
4218 # but without wasting forks for bash or zsh.
4219 if test -z "$BASH_VERSION$ZSH_VERSION" \
4220 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4221 as_echo='print -r --'
4222 as_echo_n='print -rn --'
4223 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4224 as_echo='printf %s\n'
4225 as_echo_n='printf %s'
4226 else
4227 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4228 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4229 as_echo_n='/usr/ucb/echo -n'
4230 else
4231 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4232 as_echo_n_body='eval
4233 arg=$1;
4234 case $arg in #(
4235 *"$as_nl"*)
4236 expr "X$arg" : "X\\(.*\\)$as_nl";
4237 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4238 esac;
4239 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4241 export as_echo_n_body
4242 as_echo_n='sh -c $as_echo_n_body as_echo'
4244 export as_echo_body
4245 as_echo='sh -c $as_echo_body as_echo'
4248 # The user is always right.
4249 if test "${PATH_SEPARATOR+set}" != set; then
4250 PATH_SEPARATOR=:
4251 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4252 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4253 PATH_SEPARATOR=';'
4258 # IFS
4259 # We need space, tab and new line, in precisely that order. Quoting is
4260 # there to prevent editors from complaining about space-tab.
4261 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4262 # splitting by setting IFS to empty value.)
4263 IFS=" "" $as_nl"
4265 # Find who we are. Look in the path if we contain no directory separator.
4266 as_myself=
4267 case $0 in #((
4268 *[\\/]* ) as_myself=$0 ;;
4269 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270 for as_dir in $PATH
4272 IFS=$as_save_IFS
4273 test -z "$as_dir" && as_dir=.
4274 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4275 done
4276 IFS=$as_save_IFS
4279 esac
4280 # We did not find ourselves, most probably we were run as `sh COMMAND'
4281 # in which case we are not to be found in the path.
4282 if test "x$as_myself" = x; then
4283 as_myself=$0
4285 if test ! -f "$as_myself"; then
4286 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4287 exit 1
4290 # Unset variables that we do not need and which cause bugs (e.g. in
4291 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4292 # suppresses any "Segmentation fault" message there. '((' could
4293 # trigger a bug in pdksh 5.2.14.
4294 for as_var in BASH_ENV ENV MAIL MAILPATH
4295 do eval test x\${$as_var+set} = xset \
4296 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4297 done
4298 PS1='$ '
4299 PS2='> '
4300 PS4='+ '
4302 # NLS nuisances.
4303 LC_ALL=C
4304 export LC_ALL
4305 LANGUAGE=C
4306 export LANGUAGE
4308 # CDPATH.
4309 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4312 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4313 # ----------------------------------------
4314 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4315 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4316 # script with STATUS, using 1 if that was 0.
4317 as_fn_error ()
4319 as_status=$1; test $as_status -eq 0 && as_status=1
4320 if test "$4"; then
4321 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4322 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4324 $as_echo "$as_me: error: $2" >&2
4325 as_fn_exit $as_status
4326 } # as_fn_error
4329 # as_fn_set_status STATUS
4330 # -----------------------
4331 # Set $? to STATUS, without forking.
4332 as_fn_set_status ()
4334 return $1
4335 } # as_fn_set_status
4337 # as_fn_exit STATUS
4338 # -----------------
4339 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4340 as_fn_exit ()
4342 set +e
4343 as_fn_set_status $1
4344 exit $1
4345 } # as_fn_exit
4347 # as_fn_unset VAR
4348 # ---------------
4349 # Portably unset VAR.
4350 as_fn_unset ()
4352 { eval $1=; unset $1;}
4354 as_unset=as_fn_unset
4355 # as_fn_append VAR VALUE
4356 # ----------------------
4357 # Append the text in VALUE to the end of the definition contained in VAR. Take
4358 # advantage of any shell optimizations that allow amortized linear growth over
4359 # repeated appends, instead of the typical quadratic growth present in naive
4360 # implementations.
4361 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4362 eval 'as_fn_append ()
4364 eval $1+=\$2
4366 else
4367 as_fn_append ()
4369 eval $1=\$$1\$2
4371 fi # as_fn_append
4373 # as_fn_arith ARG...
4374 # ------------------
4375 # Perform arithmetic evaluation on the ARGs, and store the result in the
4376 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4377 # must be portable across $(()) and expr.
4378 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4379 eval 'as_fn_arith ()
4381 as_val=$(( $* ))
4383 else
4384 as_fn_arith ()
4386 as_val=`expr "$@" || test $? -eq 1`
4388 fi # as_fn_arith
4391 if expr a : '\(a\)' >/dev/null 2>&1 &&
4392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4393 as_expr=expr
4394 else
4395 as_expr=false
4398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4399 as_basename=basename
4400 else
4401 as_basename=false
4404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4405 as_dirname=dirname
4406 else
4407 as_dirname=false
4410 as_me=`$as_basename -- "$0" ||
4411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4412 X"$0" : 'X\(//\)$' \| \
4413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4414 $as_echo X/"$0" |
4415 sed '/^.*\/\([^/][^/]*\)\/*$/{
4416 s//\1/
4419 /^X\/\(\/\/\)$/{
4420 s//\1/
4423 /^X\/\(\/\).*/{
4424 s//\1/
4427 s/.*/./; q'`
4429 # Avoid depending upon Character Ranges.
4430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4433 as_cr_digits='0123456789'
4434 as_cr_alnum=$as_cr_Letters$as_cr_digits
4436 ECHO_C= ECHO_N= ECHO_T=
4437 case `echo -n x` in #(((((
4438 -n*)
4439 case `echo 'xy\c'` in
4440 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4441 xy) ECHO_C='\c';;
4442 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4443 ECHO_T=' ';;
4444 esac;;
4446 ECHO_N='-n';;
4447 esac
4449 rm -f conf$$ conf$$.exe conf$$.file
4450 if test -d conf$$.dir; then
4451 rm -f conf$$.dir/conf$$.file
4452 else
4453 rm -f conf$$.dir
4454 mkdir conf$$.dir 2>/dev/null
4456 if (echo >conf$$.file) 2>/dev/null; then
4457 if ln -s conf$$.file conf$$ 2>/dev/null; then
4458 as_ln_s='ln -s'
4459 # ... but there are two gotchas:
4460 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4461 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4462 # In both cases, we have to default to `cp -pR'.
4463 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4464 as_ln_s='cp -pR'
4465 elif ln conf$$.file conf$$ 2>/dev/null; then
4466 as_ln_s=ln
4467 else
4468 as_ln_s='cp -pR'
4470 else
4471 as_ln_s='cp -pR'
4473 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4474 rmdir conf$$.dir 2>/dev/null
4477 # as_fn_mkdir_p
4478 # -------------
4479 # Create "$as_dir" as a directory, including parents if necessary.
4480 as_fn_mkdir_p ()
4483 case $as_dir in #(
4484 -*) as_dir=./$as_dir;;
4485 esac
4486 test -d "$as_dir" || eval $as_mkdir_p || {
4487 as_dirs=
4488 while :; do
4489 case $as_dir in #(
4490 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4491 *) as_qdir=$as_dir;;
4492 esac
4493 as_dirs="'$as_qdir' $as_dirs"
4494 as_dir=`$as_dirname -- "$as_dir" ||
4495 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4496 X"$as_dir" : 'X\(//\)[^/]' \| \
4497 X"$as_dir" : 'X\(//\)$' \| \
4498 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4499 $as_echo X"$as_dir" |
4500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4501 s//\1/
4504 /^X\(\/\/\)[^/].*/{
4505 s//\1/
4508 /^X\(\/\/\)$/{
4509 s//\1/
4512 /^X\(\/\).*/{
4513 s//\1/
4516 s/.*/./; q'`
4517 test -d "$as_dir" && break
4518 done
4519 test -z "$as_dirs" || eval "mkdir $as_dirs"
4520 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4523 } # as_fn_mkdir_p
4524 if mkdir -p . 2>/dev/null; then
4525 as_mkdir_p='mkdir -p "$as_dir"'
4526 else
4527 test -d ./-p && rmdir ./-p
4528 as_mkdir_p=false
4532 # as_fn_executable_p FILE
4533 # -----------------------
4534 # Test if FILE is an executable regular file.
4535 as_fn_executable_p ()
4537 test -f "$1" && test -x "$1"
4538 } # as_fn_executable_p
4539 as_test_x='test -x'
4540 as_executable_p=as_fn_executable_p
4542 # Sed expression to map a string onto a valid CPP name.
4543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4545 # Sed expression to map a string onto a valid variable name.
4546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4549 exec 6>&1
4550 ## ----------------------------------- ##
4551 ## Main body of $CONFIG_STATUS script. ##
4552 ## ----------------------------------- ##
4553 _ASEOF
4554 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4557 # Save the log message, to keep $0 and so on meaningful, and to
4558 # report actual input values of CONFIG_FILES etc. instead of their
4559 # values after options handling.
4560 ac_log="
4561 This file was extended by $as_me, which was
4562 generated by GNU Autoconf 2.69. Invocation command line was
4564 CONFIG_FILES = $CONFIG_FILES
4565 CONFIG_HEADERS = $CONFIG_HEADERS
4566 CONFIG_LINKS = $CONFIG_LINKS
4567 CONFIG_COMMANDS = $CONFIG_COMMANDS
4568 $ $0 $@
4570 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4573 _ACEOF
4575 case $ac_config_files in *"
4576 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4577 esac
4581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4582 # Files that config.status was made for.
4583 config_files="$ac_config_files"
4585 _ACEOF
4587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4588 ac_cs_usage="\
4589 \`$as_me' instantiates files and other configuration actions
4590 from templates according to the current configuration. Unless the files
4591 and actions are specified as TAGs, all are instantiated by default.
4593 Usage: $0 [OPTION]... [TAG]...
4595 -h, --help print this help, then exit
4596 -V, --version print version number and configuration settings, then exit
4597 --config print configuration, then exit
4598 -q, --quiet, --silent
4599 do not print progress messages
4600 -d, --debug don't remove temporary files
4601 --recheck update $as_me by reconfiguring in the same conditions
4602 --file=FILE[:TEMPLATE]
4603 instantiate the configuration file FILE
4605 Configuration files:
4606 $config_files
4608 Report bugs to the package provider."
4610 _ACEOF
4611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4612 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4613 ac_cs_version="\\
4614 config.status
4615 configured by $0, generated by GNU Autoconf 2.69,
4616 with options \\"\$ac_cs_config\\"
4618 Copyright (C) 2012 Free Software Foundation, Inc.
4619 This config.status script is free software; the Free Software Foundation
4620 gives unlimited permission to copy, distribute and modify it."
4622 ac_pwd='$ac_pwd'
4623 srcdir='$srcdir'
4624 test -n "\$AWK" || AWK=awk
4625 _ACEOF
4627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4628 # The default lists apply if the user does not specify any file.
4629 ac_need_defaults=:
4630 while test $# != 0
4632 case $1 in
4633 --*=?*)
4634 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4635 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4636 ac_shift=:
4638 --*=)
4639 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4640 ac_optarg=
4641 ac_shift=:
4644 ac_option=$1
4645 ac_optarg=$2
4646 ac_shift=shift
4648 esac
4650 case $ac_option in
4651 # Handling of the options.
4652 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4653 ac_cs_recheck=: ;;
4654 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4655 $as_echo "$ac_cs_version"; exit ;;
4656 --config | --confi | --conf | --con | --co | --c )
4657 $as_echo "$ac_cs_config"; exit ;;
4658 --debug | --debu | --deb | --de | --d | -d )
4659 debug=: ;;
4660 --file | --fil | --fi | --f )
4661 $ac_shift
4662 case $ac_optarg in
4663 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4664 '') as_fn_error $? "missing file argument" ;;
4665 esac
4666 as_fn_append CONFIG_FILES " '$ac_optarg'"
4667 ac_need_defaults=false;;
4668 --he | --h | --help | --hel | -h )
4669 $as_echo "$ac_cs_usage"; exit ;;
4670 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4671 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4672 ac_cs_silent=: ;;
4674 # This is an error.
4675 -*) as_fn_error $? "unrecognized option: \`$1'
4676 Try \`$0 --help' for more information." ;;
4678 *) as_fn_append ac_config_targets " $1"
4679 ac_need_defaults=false ;;
4681 esac
4682 shift
4683 done
4685 ac_configure_extra_args=
4687 if $ac_cs_silent; then
4688 exec 6>/dev/null
4689 ac_configure_extra_args="$ac_configure_extra_args --silent"
4692 _ACEOF
4693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4694 if \$ac_cs_recheck; then
4695 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4696 shift
4697 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4698 CONFIG_SHELL='$SHELL'
4699 export CONFIG_SHELL
4700 exec "\$@"
4703 _ACEOF
4704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4705 exec 5>>config.log
4707 echo
4708 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4709 ## Running $as_me. ##
4710 _ASBOX
4711 $as_echo "$ac_log"
4712 } >&5
4714 _ACEOF
4715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4716 _ACEOF
4718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4720 # Handling of arguments.
4721 for ac_config_target in $ac_config_targets
4723 case $ac_config_target in
4724 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in" ;;
4726 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4727 esac
4728 done
4731 # If the user did not use the arguments to specify the items to instantiate,
4732 # then the envvar interface is used. Set only those that are not.
4733 # We use the long form for the default assignment because of an extremely
4734 # bizarre bug on SunOS 4.1.3.
4735 if $ac_need_defaults; then
4736 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4739 # Have a temporary directory for convenience. Make it in the build tree
4740 # simply because there is no reason against having it here, and in addition,
4741 # creating and moving files from /tmp can sometimes cause problems.
4742 # Hook for its removal unless debugging.
4743 # Note that there is a small window in which the directory will not be cleaned:
4744 # after its creation but before its name has been assigned to `$tmp'.
4745 $debug ||
4747 tmp= ac_tmp=
4748 trap 'exit_status=$?
4749 : "${ac_tmp:=$tmp}"
4750 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4752 trap 'as_fn_exit 1' 1 2 13 15
4754 # Create a (secure) tmp directory for tmp files.
4757 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4758 test -d "$tmp"
4759 } ||
4761 tmp=./conf$$-$RANDOM
4762 (umask 077 && mkdir "$tmp")
4763 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4764 ac_tmp=$tmp
4766 # Set up the scripts for CONFIG_FILES section.
4767 # No need to generate them if there are no CONFIG_FILES.
4768 # This happens for instance with `./config.status config.h'.
4769 if test -n "$CONFIG_FILES"; then
4772 ac_cr=`echo X | tr X '\015'`
4773 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4774 # But we know of no other shell where ac_cr would be empty at this
4775 # point, so we can use a bashism as a fallback.
4776 if test "x$ac_cr" = x; then
4777 eval ac_cr=\$\'\\r\'
4779 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4780 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4781 ac_cs_awk_cr='\\r'
4782 else
4783 ac_cs_awk_cr=$ac_cr
4786 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4787 _ACEOF
4791 echo "cat >conf$$subs.awk <<_ACEOF" &&
4792 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4793 echo "_ACEOF"
4794 } >conf$$subs.sh ||
4795 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4796 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4797 ac_delim='%!_!# '
4798 for ac_last_try in false false false false false :; do
4799 . ./conf$$subs.sh ||
4800 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4802 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4803 if test $ac_delim_n = $ac_delim_num; then
4804 break
4805 elif $ac_last_try; then
4806 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4807 else
4808 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4810 done
4811 rm -f conf$$subs.sh
4813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4814 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4815 _ACEOF
4816 sed -n '
4818 s/^/S["/; s/!.*/"]=/
4821 s/^[^!]*!//
4822 :repl
4823 t repl
4824 s/'"$ac_delim"'$//
4825 t delim
4828 s/\(.\{148\}\)..*/\1/
4829 t more1
4830 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4833 b repl
4834 :more1
4835 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4838 s/.\{148\}//
4839 t nl
4840 :delim
4842 s/\(.\{148\}\)..*/\1/
4843 t more2
4844 s/["\\]/\\&/g; s/^/"/; s/$/"/
4847 :more2
4848 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4851 s/.\{148\}//
4852 t delim
4853 ' <conf$$subs.awk | sed '
4854 /^[^""]/{
4856 s/\n//
4858 ' >>$CONFIG_STATUS || ac_write_fail=1
4859 rm -f conf$$subs.awk
4860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4861 _ACAWK
4862 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4863 for (key in S) S_is_set[key] = 1
4864 FS = "\a"
4868 line = $ 0
4869 nfields = split(line, field, "@")
4870 substed = 0
4871 len = length(field[1])
4872 for (i = 2; i < nfields; i++) {
4873 key = field[i]
4874 keylen = length(key)
4875 if (S_is_set[key]) {
4876 value = S[key]
4877 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4878 len += length(value) + length(field[++i])
4879 substed = 1
4880 } else
4881 len += 1 + keylen
4884 print line
4887 _ACAWK
4888 _ACEOF
4889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4890 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4891 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4892 else
4894 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4895 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4896 _ACEOF
4898 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4899 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4900 # trailing colons and then remove the whole line if VPATH becomes empty
4901 # (actually we leave an empty line to preserve line numbers).
4902 if test "x$srcdir" = x.; then
4903 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4905 s///
4906 s/^/:/
4907 s/[ ]*$/:/
4908 s/:\$(srcdir):/:/g
4909 s/:\${srcdir}:/:/g
4910 s/:@srcdir@:/:/g
4911 s/^:*//
4912 s/:*$//
4914 s/\(=[ ]*\).*/\1/
4916 s/\n//
4917 s/^[^=]*=[ ]*$//
4921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4922 fi # test -n "$CONFIG_FILES"
4925 eval set X " :F $CONFIG_FILES "
4926 shift
4927 for ac_tag
4929 case $ac_tag in
4930 :[FHLC]) ac_mode=$ac_tag; continue;;
4931 esac
4932 case $ac_mode$ac_tag in
4933 :[FHL]*:*);;
4934 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4935 :[FH]-) ac_tag=-:-;;
4936 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4937 esac
4938 ac_save_IFS=$IFS
4939 IFS=:
4940 set x $ac_tag
4941 IFS=$ac_save_IFS
4942 shift
4943 ac_file=$1
4944 shift
4946 case $ac_mode in
4947 :L) ac_source=$1;;
4948 :[FH])
4949 ac_file_inputs=
4950 for ac_f
4952 case $ac_f in
4953 -) ac_f="$ac_tmp/stdin";;
4954 *) # Look for the file first in the build tree, then in the source tree
4955 # (if the path is not absolute). The absolute path cannot be DOS-style,
4956 # because $ac_f cannot contain `:'.
4957 test -f "$ac_f" ||
4958 case $ac_f in
4959 [\\/$]*) false;;
4960 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4961 esac ||
4962 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4963 esac
4964 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4965 as_fn_append ac_file_inputs " '$ac_f'"
4966 done
4968 # Let's still pretend it is `configure' which instantiates (i.e., don't
4969 # use $as_me), people would be surprised to read:
4970 # /* config.h. Generated by config.status. */
4971 configure_input='Generated from '`
4972 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4973 `' by configure.'
4974 if test x"$ac_file" != x-; then
4975 configure_input="$ac_file. $configure_input"
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4977 $as_echo "$as_me: creating $ac_file" >&6;}
4979 # Neutralize special characters interpreted by sed in replacement strings.
4980 case $configure_input in #(
4981 *\&* | *\|* | *\\* )
4982 ac_sed_conf_input=`$as_echo "$configure_input" |
4983 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4984 *) ac_sed_conf_input=$configure_input;;
4985 esac
4987 case $ac_tag in
4988 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4989 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4990 esac
4992 esac
4994 ac_dir=`$as_dirname -- "$ac_file" ||
4995 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4996 X"$ac_file" : 'X\(//\)[^/]' \| \
4997 X"$ac_file" : 'X\(//\)$' \| \
4998 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4999 $as_echo X"$ac_file" |
5000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5001 s//\1/
5004 /^X\(\/\/\)[^/].*/{
5005 s//\1/
5008 /^X\(\/\/\)$/{
5009 s//\1/
5012 /^X\(\/\).*/{
5013 s//\1/
5016 s/.*/./; q'`
5017 as_dir="$ac_dir"; as_fn_mkdir_p
5018 ac_builddir=.
5020 case "$ac_dir" in
5021 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5023 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5024 # A ".." for each directory in $ac_dir_suffix.
5025 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5026 case $ac_top_builddir_sub in
5027 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5028 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5029 esac ;;
5030 esac
5031 ac_abs_top_builddir=$ac_pwd
5032 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5033 # for backward compatibility:
5034 ac_top_builddir=$ac_top_build_prefix
5036 case $srcdir in
5037 .) # We are building in place.
5038 ac_srcdir=.
5039 ac_top_srcdir=$ac_top_builddir_sub
5040 ac_abs_top_srcdir=$ac_pwd ;;
5041 [\\/]* | ?:[\\/]* ) # Absolute name.
5042 ac_srcdir=$srcdir$ac_dir_suffix;
5043 ac_top_srcdir=$srcdir
5044 ac_abs_top_srcdir=$srcdir ;;
5045 *) # Relative name.
5046 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5047 ac_top_srcdir=$ac_top_build_prefix$srcdir
5048 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5049 esac
5050 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5053 case $ac_mode in
5056 # CONFIG_FILE
5059 _ACEOF
5061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5062 # If the template does not know about datarootdir, expand it.
5063 # FIXME: This hack should be removed a few years after 2.60.
5064 ac_datarootdir_hack=; ac_datarootdir_seen=
5065 ac_sed_dataroot='
5066 /datarootdir/ {
5070 /@datadir@/p
5071 /@docdir@/p
5072 /@infodir@/p
5073 /@localedir@/p
5074 /@mandir@/p'
5075 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5076 *datarootdir*) ac_datarootdir_seen=yes;;
5077 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5079 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5080 _ACEOF
5081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5082 ac_datarootdir_hack='
5083 s&@datadir@&$datadir&g
5084 s&@docdir@&$docdir&g
5085 s&@infodir@&$infodir&g
5086 s&@localedir@&$localedir&g
5087 s&@mandir@&$mandir&g
5088 s&\\\${datarootdir}&$datarootdir&g' ;;
5089 esac
5090 _ACEOF
5092 # Neutralize VPATH when `$srcdir' = `.'.
5093 # Shell code in configure.ac might set extrasub.
5094 # FIXME: do we really want to maintain this feature?
5095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5096 ac_sed_extra="$ac_vpsub
5097 $extrasub
5098 _ACEOF
5099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5101 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5102 s|@configure_input@|$ac_sed_conf_input|;t t
5103 s&@top_builddir@&$ac_top_builddir_sub&;t t
5104 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5105 s&@srcdir@&$ac_srcdir&;t t
5106 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5107 s&@top_srcdir@&$ac_top_srcdir&;t t
5108 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5109 s&@builddir@&$ac_builddir&;t t
5110 s&@abs_builddir@&$ac_abs_builddir&;t t
5111 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5112 $ac_datarootdir_hack
5114 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5115 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5117 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5118 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5119 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5120 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5122 which seems to be undefined. Please make sure it is defined" >&5
5123 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5124 which seems to be undefined. Please make sure it is defined" >&2;}
5126 rm -f "$ac_tmp/stdin"
5127 case $ac_file in
5128 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5129 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5130 esac \
5131 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5136 esac
5138 done # for ac_tag
5141 as_fn_exit 0
5142 _ACEOF
5143 ac_clean_files=$ac_clean_files_save
5145 test $ac_write_fail = 0 ||
5146 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5149 # configure is writing to config.log, and then calls config.status.
5150 # config.status does its own redirection, appending to config.log.
5151 # Unfortunately, on DOS this fails, as config.log is still kept open
5152 # by configure, so config.status won't be able to write to it; its
5153 # output is simply discarded. So we exec the FD to /dev/null,
5154 # effectively closing config.log, so it can be properly (re)opened and
5155 # appended to by config.status. When coming back to configure, we
5156 # need to make the FD available again.
5157 if test "$no_create" != yes; then
5158 ac_cs_success=:
5159 ac_config_status_args=
5160 test "$silent" = yes &&
5161 ac_config_status_args="$ac_config_status_args --quiet"
5162 exec 5>/dev/null
5163 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5164 exec 5>>config.log
5165 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5166 # would make configure fail if this is the last instruction.
5167 $ac_cs_success || as_fn_exit 1
5169 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5171 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}