compiler/pthread: implement pthread_detach and pthread_getschedparam
[AROS.git] / features
blobe13f20fb29f0c461865ed5250cc44b5fb9ea700d
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_deprecated_declarations
588 aros_cflags_frame_address
589 aros_cflags_shift_overflow
590 aros_cflags_pointer_sign
591 aros_cflags_logical_not_parentheses
592 aros_cflags_bool_compare
593 aros_cflags_incompatible_pointer_types
594 aros_cflags_comment
595 aros_cflags_write_strings
596 aros_cflags_unused_const_variable
597 aros_cflags_pointer_to_int_cast
598 aros_cflags_int_to_pointer_cast
599 aros_cflags_int_conversion
600 aros_cflags_discarded_array_qualifiers
601 aros_cflags_unknown_pragmas
602 aros_cflags_sequence_point
603 aros_cflags_discarded_qualifiers
604 aros_cflags_switch
605 aros_cflags_cpp
606 aros_cflags_aggressive_loop_optimizations
607 aros_cflags_implicit_int
608 aros_cflags_format_contains_nul
609 aros_cflags_endif_labels
610 aros_cflags_char_subscripts
611 aros_cflags_parentheses
612 aros_cflags_format
613 aros_cflags_implicit_function_declaration
614 aros_cflags_maybe_uninitialized
615 aros_cflags_uninitialized
616 aros_cflags_unused_function
617 aros_cflags_unused_variable
618 aros_cflags_unused_value
619 aros_cflags_unused
620 aros_cflags_nonnull_compare
621 aros_cflags_misleading_indentation
622 aros_cflags_format_security
623 aros_cflags_strict_overflow
624 aros_cflags_strict_prototypes
625 aros_cflags_enum_compare
626 aros_cflags_array_bounds
627 aros_cflags_strict_aliasing
628 aros_cflags_unused_but_set_variable
629 OBJEXT
630 EXEEXT
631 ac_ct_CC
632 CPPFLAGS
633 LDFLAGS
634 CFLAGS
636 target_alias
637 host_alias
638 build_alias
639 LIBS
640 ECHO_T
641 ECHO_N
642 ECHO_C
643 DEFS
644 mandir
645 localedir
646 libdir
647 psdir
648 pdfdir
649 dvidir
650 htmldir
651 infodir
652 docdir
653 oldincludedir
654 includedir
655 localstatedir
656 sharedstatedir
657 sysconfdir
658 datadir
659 datarootdir
660 libexecdir
661 sbindir
662 bindir
663 program_transform_name
664 prefix
665 exec_prefix
666 PACKAGE_URL
667 PACKAGE_BUGREPORT
668 PACKAGE_STRING
669 PACKAGE_VERSION
670 PACKAGE_TARNAME
671 PACKAGE_NAME
672 PATH_SEPARATOR
673 SHELL'
674 ac_subst_files=''
675 ac_user_opts='
676 enable_option_checking
677 with_config_dir
679 ac_precious_vars='build_alias
680 host_alias
681 target_alias
683 CFLAGS
684 LDFLAGS
685 LIBS
686 CPPFLAGS'
689 # Initialize some variables set by options.
690 ac_init_help=
691 ac_init_version=false
692 ac_unrecognized_opts=
693 ac_unrecognized_sep=
694 # The variables have the same names as the options, with
695 # dashes changed to underlines.
696 cache_file=/dev/null
697 exec_prefix=NONE
698 no_create=
699 no_recursion=
700 prefix=NONE
701 program_prefix=NONE
702 program_suffix=NONE
703 program_transform_name=s,x,x,
704 silent=
705 site=
706 srcdir=
707 verbose=
708 x_includes=NONE
709 x_libraries=NONE
711 # Installation directory options.
712 # These are left unexpanded so users can "make install exec_prefix=/foo"
713 # and all the variables that are supposed to be based on exec_prefix
714 # by default will actually change.
715 # Use braces instead of parens because sh, perl, etc. also accept them.
716 # (The list follows the same order as the GNU Coding Standards.)
717 bindir='${exec_prefix}/bin'
718 sbindir='${exec_prefix}/sbin'
719 libexecdir='${exec_prefix}/libexec'
720 datarootdir='${prefix}/share'
721 datadir='${datarootdir}'
722 sysconfdir='${prefix}/etc'
723 sharedstatedir='${prefix}/com'
724 localstatedir='${prefix}/var'
725 includedir='${prefix}/include'
726 oldincludedir='/usr/include'
727 docdir='${datarootdir}/doc/${PACKAGE}'
728 infodir='${datarootdir}/info'
729 htmldir='${docdir}'
730 dvidir='${docdir}'
731 pdfdir='${docdir}'
732 psdir='${docdir}'
733 libdir='${exec_prefix}/lib'
734 localedir='${datarootdir}/locale'
735 mandir='${datarootdir}/man'
737 ac_prev=
738 ac_dashdash=
739 for ac_option
741 # If the previous option needs an argument, assign it.
742 if test -n "$ac_prev"; then
743 eval $ac_prev=\$ac_option
744 ac_prev=
745 continue
748 case $ac_option in
749 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
750 *=) ac_optarg= ;;
751 *) ac_optarg=yes ;;
752 esac
754 # Accept the important Cygnus configure options, so we can diagnose typos.
756 case $ac_dashdash$ac_option in
758 ac_dashdash=yes ;;
760 -bindir | --bindir | --bindi | --bind | --bin | --bi)
761 ac_prev=bindir ;;
762 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
763 bindir=$ac_optarg ;;
765 -build | --build | --buil | --bui | --bu)
766 ac_prev=build_alias ;;
767 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
768 build_alias=$ac_optarg ;;
770 -cache-file | --cache-file | --cache-fil | --cache-fi \
771 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
772 ac_prev=cache_file ;;
773 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
774 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
775 cache_file=$ac_optarg ;;
777 --config-cache | -C)
778 cache_file=config.cache ;;
780 -datadir | --datadir | --datadi | --datad)
781 ac_prev=datadir ;;
782 -datadir=* | --datadir=* | --datadi=* | --datad=*)
783 datadir=$ac_optarg ;;
785 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
786 | --dataroo | --dataro | --datar)
787 ac_prev=datarootdir ;;
788 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
789 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
790 datarootdir=$ac_optarg ;;
792 -disable-* | --disable-*)
793 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
794 # Reject names that are not valid shell variable names.
795 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
796 as_fn_error $? "invalid feature name: $ac_useropt"
797 ac_useropt_orig=$ac_useropt
798 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
799 case $ac_user_opts in
801 "enable_$ac_useropt"
802 "*) ;;
803 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
804 ac_unrecognized_sep=', ';;
805 esac
806 eval enable_$ac_useropt=no ;;
808 -docdir | --docdir | --docdi | --doc | --do)
809 ac_prev=docdir ;;
810 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
811 docdir=$ac_optarg ;;
813 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
814 ac_prev=dvidir ;;
815 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
816 dvidir=$ac_optarg ;;
818 -enable-* | --enable-*)
819 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
820 # Reject names that are not valid shell variable names.
821 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
822 as_fn_error $? "invalid feature name: $ac_useropt"
823 ac_useropt_orig=$ac_useropt
824 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
825 case $ac_user_opts in
827 "enable_$ac_useropt"
828 "*) ;;
829 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
830 ac_unrecognized_sep=', ';;
831 esac
832 eval enable_$ac_useropt=\$ac_optarg ;;
834 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
835 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
836 | --exec | --exe | --ex)
837 ac_prev=exec_prefix ;;
838 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
839 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
840 | --exec=* | --exe=* | --ex=*)
841 exec_prefix=$ac_optarg ;;
843 -gas | --gas | --ga | --g)
844 # Obsolete; use --with-gas.
845 with_gas=yes ;;
847 -help | --help | --hel | --he | -h)
848 ac_init_help=long ;;
849 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
850 ac_init_help=recursive ;;
851 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
852 ac_init_help=short ;;
854 -host | --host | --hos | --ho)
855 ac_prev=host_alias ;;
856 -host=* | --host=* | --hos=* | --ho=*)
857 host_alias=$ac_optarg ;;
859 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
860 ac_prev=htmldir ;;
861 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
862 | --ht=*)
863 htmldir=$ac_optarg ;;
865 -includedir | --includedir | --includedi | --included | --include \
866 | --includ | --inclu | --incl | --inc)
867 ac_prev=includedir ;;
868 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
869 | --includ=* | --inclu=* | --incl=* | --inc=*)
870 includedir=$ac_optarg ;;
872 -infodir | --infodir | --infodi | --infod | --info | --inf)
873 ac_prev=infodir ;;
874 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
875 infodir=$ac_optarg ;;
877 -libdir | --libdir | --libdi | --libd)
878 ac_prev=libdir ;;
879 -libdir=* | --libdir=* | --libdi=* | --libd=*)
880 libdir=$ac_optarg ;;
882 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
883 | --libexe | --libex | --libe)
884 ac_prev=libexecdir ;;
885 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
886 | --libexe=* | --libex=* | --libe=*)
887 libexecdir=$ac_optarg ;;
889 -localedir | --localedir | --localedi | --localed | --locale)
890 ac_prev=localedir ;;
891 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
892 localedir=$ac_optarg ;;
894 -localstatedir | --localstatedir | --localstatedi | --localstated \
895 | --localstate | --localstat | --localsta | --localst | --locals)
896 ac_prev=localstatedir ;;
897 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
898 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
899 localstatedir=$ac_optarg ;;
901 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
902 ac_prev=mandir ;;
903 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
904 mandir=$ac_optarg ;;
906 -nfp | --nfp | --nf)
907 # Obsolete; use --without-fp.
908 with_fp=no ;;
910 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
911 | --no-cr | --no-c | -n)
912 no_create=yes ;;
914 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
915 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
916 no_recursion=yes ;;
918 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
919 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
920 | --oldin | --oldi | --old | --ol | --o)
921 ac_prev=oldincludedir ;;
922 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
923 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
924 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
925 oldincludedir=$ac_optarg ;;
927 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
928 ac_prev=prefix ;;
929 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
930 prefix=$ac_optarg ;;
932 -program-prefix | --program-prefix | --program-prefi | --program-pref \
933 | --program-pre | --program-pr | --program-p)
934 ac_prev=program_prefix ;;
935 -program-prefix=* | --program-prefix=* | --program-prefi=* \
936 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
937 program_prefix=$ac_optarg ;;
939 -program-suffix | --program-suffix | --program-suffi | --program-suff \
940 | --program-suf | --program-su | --program-s)
941 ac_prev=program_suffix ;;
942 -program-suffix=* | --program-suffix=* | --program-suffi=* \
943 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
944 program_suffix=$ac_optarg ;;
946 -program-transform-name | --program-transform-name \
947 | --program-transform-nam | --program-transform-na \
948 | --program-transform-n | --program-transform- \
949 | --program-transform | --program-transfor \
950 | --program-transfo | --program-transf \
951 | --program-trans | --program-tran \
952 | --progr-tra | --program-tr | --program-t)
953 ac_prev=program_transform_name ;;
954 -program-transform-name=* | --program-transform-name=* \
955 | --program-transform-nam=* | --program-transform-na=* \
956 | --program-transform-n=* | --program-transform-=* \
957 | --program-transform=* | --program-transfor=* \
958 | --program-transfo=* | --program-transf=* \
959 | --program-trans=* | --program-tran=* \
960 | --progr-tra=* | --program-tr=* | --program-t=*)
961 program_transform_name=$ac_optarg ;;
963 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
964 ac_prev=pdfdir ;;
965 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
966 pdfdir=$ac_optarg ;;
968 -psdir | --psdir | --psdi | --psd | --ps)
969 ac_prev=psdir ;;
970 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
971 psdir=$ac_optarg ;;
973 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
974 | -silent | --silent | --silen | --sile | --sil)
975 silent=yes ;;
977 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
978 ac_prev=sbindir ;;
979 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
980 | --sbi=* | --sb=*)
981 sbindir=$ac_optarg ;;
983 -sharedstatedir | --sharedstatedir | --sharedstatedi \
984 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
985 | --sharedst | --shareds | --shared | --share | --shar \
986 | --sha | --sh)
987 ac_prev=sharedstatedir ;;
988 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
989 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
990 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
991 | --sha=* | --sh=*)
992 sharedstatedir=$ac_optarg ;;
994 -site | --site | --sit)
995 ac_prev=site ;;
996 -site=* | --site=* | --sit=*)
997 site=$ac_optarg ;;
999 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1000 ac_prev=srcdir ;;
1001 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1002 srcdir=$ac_optarg ;;
1004 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1005 | --syscon | --sysco | --sysc | --sys | --sy)
1006 ac_prev=sysconfdir ;;
1007 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1008 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1009 sysconfdir=$ac_optarg ;;
1011 -target | --target | --targe | --targ | --tar | --ta | --t)
1012 ac_prev=target_alias ;;
1013 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1014 target_alias=$ac_optarg ;;
1016 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1017 verbose=yes ;;
1019 -version | --version | --versio | --versi | --vers | -V)
1020 ac_init_version=: ;;
1022 -with-* | --with-*)
1023 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026 as_fn_error $? "invalid package name: $ac_useropt"
1027 ac_useropt_orig=$ac_useropt
1028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1031 "with_$ac_useropt"
1032 "*) ;;
1033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1034 ac_unrecognized_sep=', ';;
1035 esac
1036 eval with_$ac_useropt=\$ac_optarg ;;
1038 -without-* | --without-*)
1039 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error $? "invalid package name: $ac_useropt"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1047 "with_$ac_useropt"
1048 "*) ;;
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1051 esac
1052 eval with_$ac_useropt=no ;;
1054 --x)
1055 # Obsolete; use --with-x.
1056 with_x=yes ;;
1058 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1059 | --x-incl | --x-inc | --x-in | --x-i)
1060 ac_prev=x_includes ;;
1061 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1062 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1063 x_includes=$ac_optarg ;;
1065 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1066 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1067 ac_prev=x_libraries ;;
1068 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1069 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1070 x_libraries=$ac_optarg ;;
1072 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1073 Try \`$0 --help' for more information"
1076 *=*)
1077 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1078 # Reject names that are not valid shell variable names.
1079 case $ac_envvar in #(
1080 '' | [0-9]* | *[!_$as_cr_alnum]* )
1081 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1082 esac
1083 eval $ac_envvar=\$ac_optarg
1084 export $ac_envvar ;;
1087 # FIXME: should be removed in autoconf 3.0.
1088 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1089 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1090 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1091 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1094 esac
1095 done
1097 if test -n "$ac_prev"; then
1098 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1099 as_fn_error $? "missing argument to $ac_option"
1102 if test -n "$ac_unrecognized_opts"; then
1103 case $enable_option_checking in
1104 no) ;;
1105 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1106 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1107 esac
1110 # Check all directory arguments for consistency.
1111 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1112 datadir sysconfdir sharedstatedir localstatedir includedir \
1113 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1114 libdir localedir mandir
1116 eval ac_val=\$$ac_var
1117 # Remove trailing slashes.
1118 case $ac_val in
1119 */ )
1120 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1121 eval $ac_var=\$ac_val;;
1122 esac
1123 # Be sure to have absolute directory names.
1124 case $ac_val in
1125 [\\/$]* | ?:[\\/]* ) continue;;
1126 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1127 esac
1128 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1129 done
1131 # There might be people who depend on the old broken behavior: `$host'
1132 # used to hold the argument of --host etc.
1133 # FIXME: To remove some day.
1134 build=$build_alias
1135 host=$host_alias
1136 target=$target_alias
1138 # FIXME: To remove some day.
1139 if test "x$host_alias" != x; then
1140 if test "x$build_alias" = x; then
1141 cross_compiling=maybe
1142 elif test "x$build_alias" != "x$host_alias"; then
1143 cross_compiling=yes
1147 ac_tool_prefix=
1148 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1150 test "$silent" = yes && exec 6>/dev/null
1153 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1154 ac_ls_di=`ls -di .` &&
1155 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1156 as_fn_error $? "working directory cannot be determined"
1157 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1158 as_fn_error $? "pwd does not report name of working directory"
1161 # Find the source files, if location was not specified.
1162 if test -z "$srcdir"; then
1163 ac_srcdir_defaulted=yes
1164 # Try the directory containing this script, then the parent directory.
1165 ac_confdir=`$as_dirname -- "$as_myself" ||
1166 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1167 X"$as_myself" : 'X\(//\)[^/]' \| \
1168 X"$as_myself" : 'X\(//\)$' \| \
1169 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1170 $as_echo X"$as_myself" |
1171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1172 s//\1/
1175 /^X\(\/\/\)[^/].*/{
1176 s//\1/
1179 /^X\(\/\/\)$/{
1180 s//\1/
1183 /^X\(\/\).*/{
1184 s//\1/
1187 s/.*/./; q'`
1188 srcdir=$ac_confdir
1189 if test ! -r "$srcdir/$ac_unique_file"; then
1190 srcdir=..
1192 else
1193 ac_srcdir_defaulted=no
1195 if test ! -r "$srcdir/$ac_unique_file"; then
1196 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1197 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1199 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1200 ac_abs_confdir=`(
1201 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1202 pwd)`
1203 # When building in place, set srcdir=.
1204 if test "$ac_abs_confdir" = "$ac_pwd"; then
1205 srcdir=.
1207 # Remove unnecessary trailing slashes from srcdir.
1208 # Double slashes in file names in object file debugging info
1209 # mess up M-x gdb in Emacs.
1210 case $srcdir in
1211 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1212 esac
1213 for ac_var in $ac_precious_vars; do
1214 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1215 eval ac_env_${ac_var}_value=\$${ac_var}
1216 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1217 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1218 done
1221 # Report the --help message.
1223 if test "$ac_init_help" = "long"; then
1224 # Omit some internal or obsolete options to make the list less imposing.
1225 # This message is too long to be a string in the A/UX 3.1 sh.
1226 cat <<_ACEOF
1227 \`configure' configures this package to adapt to many kinds of systems.
1229 Usage: $0 [OPTION]... [VAR=VALUE]...
1231 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1232 VAR=VALUE. See below for descriptions of some of the useful variables.
1234 Defaults for the options are specified in brackets.
1236 Configuration:
1237 -h, --help display this help and exit
1238 --help=short display options specific to this package
1239 --help=recursive display the short help of all the included packages
1240 -V, --version display version information and exit
1241 -q, --quiet, --silent do not print \`checking ...' messages
1242 --cache-file=FILE cache test results in FILE [disabled]
1243 -C, --config-cache alias for \`--cache-file=config.cache'
1244 -n, --no-create do not create output files
1245 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1247 Installation directories:
1248 --prefix=PREFIX install architecture-independent files in PREFIX
1249 [$ac_default_prefix]
1250 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1251 [PREFIX]
1253 By default, \`make install' will install all the files in
1254 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1255 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1256 for instance \`--prefix=\$HOME'.
1258 For better control, use the options below.
1260 Fine tuning of the installation directories:
1261 --bindir=DIR user executables [EPREFIX/bin]
1262 --sbindir=DIR system admin executables [EPREFIX/sbin]
1263 --libexecdir=DIR program executables [EPREFIX/libexec]
1264 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1265 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1266 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1267 --libdir=DIR object code libraries [EPREFIX/lib]
1268 --includedir=DIR C header files [PREFIX/include]
1269 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1270 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1271 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1272 --infodir=DIR info documentation [DATAROOTDIR/info]
1273 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1274 --mandir=DIR man documentation [DATAROOTDIR/man]
1275 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1276 --htmldir=DIR html documentation [DOCDIR]
1277 --dvidir=DIR dvi documentation [DOCDIR]
1278 --pdfdir=DIR pdf documentation [DOCDIR]
1279 --psdir=DIR ps documentation [DOCDIR]
1280 _ACEOF
1282 cat <<\_ACEOF
1283 _ACEOF
1286 if test -n "$ac_init_help"; then
1288 cat <<\_ACEOF
1290 Optional Packages:
1291 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1292 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1293 --with-config-dir=VERSION
1294 Location of generated target config files
1296 Some influential environment variables:
1297 CC C compiler command
1298 CFLAGS C compiler flags
1299 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1300 nonstandard directory <lib dir>
1301 LIBS libraries to pass to the linker, e.g. -l<library>
1302 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1303 you have headers in a nonstandard directory <include dir>
1305 Use these variables to override the choices made by `configure' or to help
1306 it to find libraries and programs with nonstandard names/locations.
1308 Report bugs to the package provider.
1309 _ACEOF
1310 ac_status=$?
1313 if test "$ac_init_help" = "recursive"; then
1314 # If there are subdirs, report their specific --help.
1315 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1316 test -d "$ac_dir" ||
1317 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1318 continue
1319 ac_builddir=.
1321 case "$ac_dir" in
1322 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1325 # A ".." for each directory in $ac_dir_suffix.
1326 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1327 case $ac_top_builddir_sub in
1328 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1330 esac ;;
1331 esac
1332 ac_abs_top_builddir=$ac_pwd
1333 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1334 # for backward compatibility:
1335 ac_top_builddir=$ac_top_build_prefix
1337 case $srcdir in
1338 .) # We are building in place.
1339 ac_srcdir=.
1340 ac_top_srcdir=$ac_top_builddir_sub
1341 ac_abs_top_srcdir=$ac_pwd ;;
1342 [\\/]* | ?:[\\/]* ) # Absolute name.
1343 ac_srcdir=$srcdir$ac_dir_suffix;
1344 ac_top_srcdir=$srcdir
1345 ac_abs_top_srcdir=$srcdir ;;
1346 *) # Relative name.
1347 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1348 ac_top_srcdir=$ac_top_build_prefix$srcdir
1349 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1350 esac
1351 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1353 cd "$ac_dir" || { ac_status=$?; continue; }
1354 # Check for guested configure.
1355 if test -f "$ac_srcdir/configure.gnu"; then
1356 echo &&
1357 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1358 elif test -f "$ac_srcdir/configure"; then
1359 echo &&
1360 $SHELL "$ac_srcdir/configure" --help=recursive
1361 else
1362 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1363 fi || ac_status=$?
1364 cd "$ac_pwd" || { ac_status=$?; break; }
1365 done
1368 test -n "$ac_init_help" && exit $ac_status
1369 if $ac_init_version; then
1370 cat <<\_ACEOF
1371 configure
1372 generated by GNU Autoconf 2.69
1374 Copyright (C) 2012 Free Software Foundation, Inc.
1375 This configure script is free software; the Free Software Foundation
1376 gives unlimited permission to copy, distribute and modify it.
1377 _ACEOF
1378 exit
1381 ## ------------------------ ##
1382 ## Autoconf initialization. ##
1383 ## ------------------------ ##
1385 # ac_fn_c_try_compile LINENO
1386 # --------------------------
1387 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1388 ac_fn_c_try_compile ()
1390 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1391 rm -f conftest.$ac_objext
1392 if { { ac_try="$ac_compile"
1393 case "(($ac_try" in
1394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1395 *) ac_try_echo=$ac_try;;
1396 esac
1397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1398 $as_echo "$ac_try_echo"; } >&5
1399 (eval "$ac_compile") 2>conftest.err
1400 ac_status=$?
1401 if test -s conftest.err; then
1402 grep -v '^ *+' conftest.err >conftest.er1
1403 cat conftest.er1 >&5
1404 mv -f conftest.er1 conftest.err
1406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1407 test $ac_status = 0; } && {
1408 test -z "$ac_c_werror_flag" ||
1409 test ! -s conftest.err
1410 } && test -s conftest.$ac_objext; then :
1411 ac_retval=0
1412 else
1413 $as_echo "$as_me: failed program was:" >&5
1414 sed 's/^/| /' conftest.$ac_ext >&5
1416 ac_retval=1
1418 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1419 as_fn_set_status $ac_retval
1421 } # ac_fn_c_try_compile
1422 cat >config.log <<_ACEOF
1423 This file contains any messages produced by compilers while
1424 running configure, to aid debugging if configure makes a mistake.
1426 It was created by $as_me, which was
1427 generated by GNU Autoconf 2.69. Invocation command line was
1429 $ $0 $@
1431 _ACEOF
1432 exec 5>>config.log
1434 cat <<_ASUNAME
1435 ## --------- ##
1436 ## Platform. ##
1437 ## --------- ##
1439 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1440 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1441 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1442 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1443 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1445 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1446 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1448 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1449 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1450 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1451 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1452 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1453 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1454 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1456 _ASUNAME
1458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1459 for as_dir in $PATH
1461 IFS=$as_save_IFS
1462 test -z "$as_dir" && as_dir=.
1463 $as_echo "PATH: $as_dir"
1464 done
1465 IFS=$as_save_IFS
1467 } >&5
1469 cat >&5 <<_ACEOF
1472 ## ----------- ##
1473 ## Core tests. ##
1474 ## ----------- ##
1476 _ACEOF
1479 # Keep a trace of the command line.
1480 # Strip out --no-create and --no-recursion so they do not pile up.
1481 # Strip out --silent because we don't want to record it for future runs.
1482 # Also quote any args containing shell meta-characters.
1483 # Make two passes to allow for proper duplicate-argument suppression.
1484 ac_configure_args=
1485 ac_configure_args0=
1486 ac_configure_args1=
1487 ac_must_keep_next=false
1488 for ac_pass in 1 2
1490 for ac_arg
1492 case $ac_arg in
1493 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1494 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1495 | -silent | --silent | --silen | --sile | --sil)
1496 continue ;;
1497 *\'*)
1498 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1499 esac
1500 case $ac_pass in
1501 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1503 as_fn_append ac_configure_args1 " '$ac_arg'"
1504 if test $ac_must_keep_next = true; then
1505 ac_must_keep_next=false # Got value, back to normal.
1506 else
1507 case $ac_arg in
1508 *=* | --config-cache | -C | -disable-* | --disable-* \
1509 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1510 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1511 | -with-* | --with-* | -without-* | --without-* | --x)
1512 case "$ac_configure_args0 " in
1513 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1514 esac
1516 -* ) ac_must_keep_next=true ;;
1517 esac
1519 as_fn_append ac_configure_args " '$ac_arg'"
1521 esac
1522 done
1523 done
1524 { ac_configure_args0=; unset ac_configure_args0;}
1525 { ac_configure_args1=; unset ac_configure_args1;}
1527 # When interrupted or exit'd, cleanup temporary files, and complete
1528 # config.log. We remove comments because anyway the quotes in there
1529 # would cause problems or look ugly.
1530 # WARNING: Use '\'' to represent an apostrophe within the trap.
1531 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1532 trap 'exit_status=$?
1533 # Save into config.log some information that might help in debugging.
1535 echo
1537 $as_echo "## ---------------- ##
1538 ## Cache variables. ##
1539 ## ---------------- ##"
1540 echo
1541 # The following way of writing the cache mishandles newlines in values,
1543 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1544 eval ac_val=\$$ac_var
1545 case $ac_val in #(
1546 *${as_nl}*)
1547 case $ac_var in #(
1548 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1549 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1550 esac
1551 case $ac_var in #(
1552 _ | IFS | as_nl) ;; #(
1553 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1554 *) { eval $ac_var=; unset $ac_var;} ;;
1555 esac ;;
1556 esac
1557 done
1558 (set) 2>&1 |
1559 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1560 *${as_nl}ac_space=\ *)
1561 sed -n \
1562 "s/'\''/'\''\\\\'\'''\''/g;
1563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1564 ;; #(
1566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1568 esac |
1569 sort
1571 echo
1573 $as_echo "## ----------------- ##
1574 ## Output variables. ##
1575 ## ----------------- ##"
1576 echo
1577 for ac_var in $ac_subst_vars
1579 eval ac_val=\$$ac_var
1580 case $ac_val in
1581 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1582 esac
1583 $as_echo "$ac_var='\''$ac_val'\''"
1584 done | sort
1585 echo
1587 if test -n "$ac_subst_files"; then
1588 $as_echo "## ------------------- ##
1589 ## File substitutions. ##
1590 ## ------------------- ##"
1591 echo
1592 for ac_var in $ac_subst_files
1594 eval ac_val=\$$ac_var
1595 case $ac_val in
1596 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1597 esac
1598 $as_echo "$ac_var='\''$ac_val'\''"
1599 done | sort
1600 echo
1603 if test -s confdefs.h; then
1604 $as_echo "## ----------- ##
1605 ## confdefs.h. ##
1606 ## ----------- ##"
1607 echo
1608 cat confdefs.h
1609 echo
1611 test "$ac_signal" != 0 &&
1612 $as_echo "$as_me: caught signal $ac_signal"
1613 $as_echo "$as_me: exit $exit_status"
1614 } >&5
1615 rm -f core *.core core.conftest.* &&
1616 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1617 exit $exit_status
1619 for ac_signal in 1 2 13 15; do
1620 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1621 done
1622 ac_signal=0
1624 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1625 rm -f -r conftest* confdefs.h
1627 $as_echo "/* confdefs.h */" > confdefs.h
1629 # Predefined preprocessor variables.
1631 cat >>confdefs.h <<_ACEOF
1632 #define PACKAGE_NAME "$PACKAGE_NAME"
1633 _ACEOF
1635 cat >>confdefs.h <<_ACEOF
1636 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1637 _ACEOF
1639 cat >>confdefs.h <<_ACEOF
1640 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1641 _ACEOF
1643 cat >>confdefs.h <<_ACEOF
1644 #define PACKAGE_STRING "$PACKAGE_STRING"
1645 _ACEOF
1647 cat >>confdefs.h <<_ACEOF
1648 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1649 _ACEOF
1651 cat >>confdefs.h <<_ACEOF
1652 #define PACKAGE_URL "$PACKAGE_URL"
1653 _ACEOF
1656 # Let the site file select an alternate cache file if it wants to.
1657 # Prefer an explicitly selected file to automatically selected ones.
1658 ac_site_file1=NONE
1659 ac_site_file2=NONE
1660 if test -n "$CONFIG_SITE"; then
1661 # We do not want a PATH search for config.site.
1662 case $CONFIG_SITE in #((
1663 -*) ac_site_file1=./$CONFIG_SITE;;
1664 */*) ac_site_file1=$CONFIG_SITE;;
1665 *) ac_site_file1=./$CONFIG_SITE;;
1666 esac
1667 elif test "x$prefix" != xNONE; then
1668 ac_site_file1=$prefix/share/config.site
1669 ac_site_file2=$prefix/etc/config.site
1670 else
1671 ac_site_file1=$ac_default_prefix/share/config.site
1672 ac_site_file2=$ac_default_prefix/etc/config.site
1674 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1676 test "x$ac_site_file" = xNONE && continue
1677 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1679 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1680 sed 's/^/| /' "$ac_site_file" >&5
1681 . "$ac_site_file" \
1682 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1684 as_fn_error $? "failed to load site script $ac_site_file
1685 See \`config.log' for more details" "$LINENO" 5; }
1687 done
1689 if test -r "$cache_file"; then
1690 # Some versions of bash will fail to source /dev/null (special files
1691 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1692 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1694 $as_echo "$as_me: loading cache $cache_file" >&6;}
1695 case $cache_file in
1696 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1697 *) . "./$cache_file";;
1698 esac
1700 else
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1702 $as_echo "$as_me: creating cache $cache_file" >&6;}
1703 >$cache_file
1706 # Check that the precious variables saved in the cache have kept the same
1707 # value.
1708 ac_cache_corrupted=false
1709 for ac_var in $ac_precious_vars; do
1710 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1711 eval ac_new_set=\$ac_env_${ac_var}_set
1712 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1713 eval ac_new_val=\$ac_env_${ac_var}_value
1714 case $ac_old_set,$ac_new_set in
1715 set,)
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1717 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1718 ac_cache_corrupted=: ;;
1719 ,set)
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1721 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1722 ac_cache_corrupted=: ;;
1723 ,);;
1725 if test "x$ac_old_val" != "x$ac_new_val"; then
1726 # differences in whitespace do not lead to failure.
1727 ac_old_val_w=`echo x $ac_old_val`
1728 ac_new_val_w=`echo x $ac_new_val`
1729 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1731 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1732 ac_cache_corrupted=:
1733 else
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1735 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1736 eval $ac_var=\$ac_old_val
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1739 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1741 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1742 fi;;
1743 esac
1744 # Pass precious variables to config.status.
1745 if test "$ac_new_set" = set; then
1746 case $ac_new_val in
1747 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1748 *) ac_arg=$ac_var=$ac_new_val ;;
1749 esac
1750 case " $ac_configure_args " in
1751 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1752 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1753 esac
1755 done
1756 if $ac_cache_corrupted; then
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1760 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1761 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1763 ## -------------------- ##
1764 ## Main body of script. ##
1765 ## -------------------- ##
1767 ac_ext=c
1768 ac_cpp='$CPP $CPPFLAGS'
1769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1775 ac_aux_dir=
1776 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1777 if test -f "$ac_dir/install-sh"; then
1778 ac_aux_dir=$ac_dir
1779 ac_install_sh="$ac_aux_dir/install-sh -c"
1780 break
1781 elif test -f "$ac_dir/install.sh"; then
1782 ac_aux_dir=$ac_dir
1783 ac_install_sh="$ac_aux_dir/install.sh -c"
1784 break
1785 elif test -f "$ac_dir/shtool"; then
1786 ac_aux_dir=$ac_dir
1787 ac_install_sh="$ac_aux_dir/shtool install -c"
1788 break
1790 done
1791 if test -z "$ac_aux_dir"; then
1792 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
1795 # These three variables are undocumented and unsupported,
1796 # and are intended to be withdrawn in a future Autoconf release.
1797 # They can cause serious problems if a builder's source tree is in a directory
1798 # whose full name contains unusual characters.
1799 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1800 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1801 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1805 # Don't know where else to put this...
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
1807 $as_echo_n "checking building AROS in... " >&6; }
1808 AROS_BUILDDIR=`${PWDCMD-pwd}`
1809 AROS_BUILDDIR_UNIX=${PWD}
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
1811 $as_echo "$AROS_BUILDDIR" >&6; }
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
1814 $as_echo_n "checking AROS source in... " >&6; }
1815 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
1816 SRCDIR=${srcpwd}
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
1818 $as_echo "$SRCDIR" >&6; }
1820 NOLINKFLAGS="-nostdlib -nostartfiles"
1821 LDFLAGS=$NOLINKFLAGS
1822 # The first step is to find the binaries.
1823 ac_ext=c
1824 ac_cpp='$CPP $CPPFLAGS'
1825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1828 if test -n "$ac_tool_prefix"; then
1829 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1830 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1832 $as_echo_n "checking for $ac_word... " >&6; }
1833 if ${ac_cv_prog_CC+:} false; then :
1834 $as_echo_n "(cached) " >&6
1835 else
1836 if test -n "$CC"; then
1837 ac_cv_prog_CC="$CC" # Let the user override the test.
1838 else
1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 for as_dir in $PATH
1842 IFS=$as_save_IFS
1843 test -z "$as_dir" && as_dir=.
1844 for ac_exec_ext in '' $ac_executable_extensions; do
1845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1846 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1848 break 2
1850 done
1851 done
1852 IFS=$as_save_IFS
1856 CC=$ac_cv_prog_CC
1857 if test -n "$CC"; then
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1859 $as_echo "$CC" >&6; }
1860 else
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1862 $as_echo "no" >&6; }
1867 if test -z "$ac_cv_prog_CC"; then
1868 ac_ct_CC=$CC
1869 # Extract the first word of "gcc", so it can be a program name with args.
1870 set dummy gcc; ac_word=$2
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1872 $as_echo_n "checking for $ac_word... " >&6; }
1873 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1874 $as_echo_n "(cached) " >&6
1875 else
1876 if test -n "$ac_ct_CC"; then
1877 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1878 else
1879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1880 for as_dir in $PATH
1882 IFS=$as_save_IFS
1883 test -z "$as_dir" && as_dir=.
1884 for ac_exec_ext in '' $ac_executable_extensions; do
1885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1886 ac_cv_prog_ac_ct_CC="gcc"
1887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 break 2
1890 done
1891 done
1892 IFS=$as_save_IFS
1896 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1897 if test -n "$ac_ct_CC"; then
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1899 $as_echo "$ac_ct_CC" >&6; }
1900 else
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1902 $as_echo "no" >&6; }
1905 if test "x$ac_ct_CC" = x; then
1906 CC=""
1907 else
1908 case $cross_compiling:$ac_tool_warned in
1909 yes:)
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1912 ac_tool_warned=yes ;;
1913 esac
1914 CC=$ac_ct_CC
1916 else
1917 CC="$ac_cv_prog_CC"
1920 if test -z "$CC"; then
1921 if test -n "$ac_tool_prefix"; then
1922 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1923 set dummy ${ac_tool_prefix}cc; ac_word=$2
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1925 $as_echo_n "checking for $ac_word... " >&6; }
1926 if ${ac_cv_prog_CC+:} false; then :
1927 $as_echo_n "(cached) " >&6
1928 else
1929 if test -n "$CC"; then
1930 ac_cv_prog_CC="$CC" # Let the user override the test.
1931 else
1932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933 for as_dir in $PATH
1935 IFS=$as_save_IFS
1936 test -z "$as_dir" && as_dir=.
1937 for ac_exec_ext in '' $ac_executable_extensions; do
1938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939 ac_cv_prog_CC="${ac_tool_prefix}cc"
1940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 break 2
1943 done
1944 done
1945 IFS=$as_save_IFS
1949 CC=$ac_cv_prog_CC
1950 if test -n "$CC"; then
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1952 $as_echo "$CC" >&6; }
1953 else
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1955 $as_echo "no" >&6; }
1961 if test -z "$CC"; then
1962 # Extract the first word of "cc", so it can be a program name with args.
1963 set dummy cc; ac_word=$2
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1965 $as_echo_n "checking for $ac_word... " >&6; }
1966 if ${ac_cv_prog_CC+:} false; then :
1967 $as_echo_n "(cached) " >&6
1968 else
1969 if test -n "$CC"; then
1970 ac_cv_prog_CC="$CC" # Let the user override the test.
1971 else
1972 ac_prog_rejected=no
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 for as_dir in $PATH
1976 IFS=$as_save_IFS
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1980 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1981 ac_prog_rejected=yes
1982 continue
1984 ac_cv_prog_CC="cc"
1985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1986 break 2
1988 done
1989 done
1990 IFS=$as_save_IFS
1992 if test $ac_prog_rejected = yes; then
1993 # We found a bogon in the path, so make sure we never use it.
1994 set dummy $ac_cv_prog_CC
1995 shift
1996 if test $# != 0; then
1997 # We chose a different compiler from the bogus one.
1998 # However, it has the same basename, so the bogon will be chosen
1999 # first if we set CC to just the basename; use the full file name.
2000 shift
2001 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2006 CC=$ac_cv_prog_CC
2007 if test -n "$CC"; then
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2009 $as_echo "$CC" >&6; }
2010 else
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2012 $as_echo "no" >&6; }
2017 if test -z "$CC"; then
2018 if test -n "$ac_tool_prefix"; then
2019 for ac_prog in cl.exe
2021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2022 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2024 $as_echo_n "checking for $ac_word... " >&6; }
2025 if ${ac_cv_prog_CC+:} false; then :
2026 $as_echo_n "(cached) " >&6
2027 else
2028 if test -n "$CC"; then
2029 ac_cv_prog_CC="$CC" # Let the user override the test.
2030 else
2031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 for as_dir in $PATH
2034 IFS=$as_save_IFS
2035 test -z "$as_dir" && as_dir=.
2036 for ac_exec_ext in '' $ac_executable_extensions; do
2037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 break 2
2042 done
2043 done
2044 IFS=$as_save_IFS
2048 CC=$ac_cv_prog_CC
2049 if test -n "$CC"; then
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2051 $as_echo "$CC" >&6; }
2052 else
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2054 $as_echo "no" >&6; }
2058 test -n "$CC" && break
2059 done
2061 if test -z "$CC"; then
2062 ac_ct_CC=$CC
2063 for ac_prog in cl.exe
2065 # Extract the first word of "$ac_prog", so it can be a program name with args.
2066 set dummy $ac_prog; ac_word=$2
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2068 $as_echo_n "checking for $ac_word... " >&6; }
2069 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2070 $as_echo_n "(cached) " >&6
2071 else
2072 if test -n "$ac_ct_CC"; then
2073 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2082 ac_cv_prog_ac_ct_CC="$ac_prog"
2083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2086 done
2087 done
2088 IFS=$as_save_IFS
2092 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2093 if test -n "$ac_ct_CC"; then
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2095 $as_echo "$ac_ct_CC" >&6; }
2096 else
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2098 $as_echo "no" >&6; }
2102 test -n "$ac_ct_CC" && break
2103 done
2105 if test "x$ac_ct_CC" = x; then
2106 CC=""
2107 else
2108 case $cross_compiling:$ac_tool_warned in
2109 yes:)
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2112 ac_tool_warned=yes ;;
2113 esac
2114 CC=$ac_ct_CC
2121 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2123 as_fn_error $? "no acceptable C compiler found in \$PATH
2124 See \`config.log' for more details" "$LINENO" 5; }
2126 # Provide some information about the compiler.
2127 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2128 set X $ac_compile
2129 ac_compiler=$2
2130 for ac_option in --version -v -V -qversion; do
2131 { { ac_try="$ac_compiler $ac_option >&5"
2132 case "(($ac_try" in
2133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134 *) ac_try_echo=$ac_try;;
2135 esac
2136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137 $as_echo "$ac_try_echo"; } >&5
2138 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2139 ac_status=$?
2140 if test -s conftest.err; then
2141 sed '10a\
2142 ... rest of stderr output deleted ...
2143 10q' conftest.err >conftest.er1
2144 cat conftest.er1 >&5
2146 rm -f conftest.er1 conftest.err
2147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148 test $ac_status = 0; }
2149 done
2151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2155 main ()
2159 return 0;
2161 _ACEOF
2162 ac_clean_files_save=$ac_clean_files
2163 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2164 # Try to create an executable without -o first, disregard a.out.
2165 # It will help us diagnose broken compilers, and finding out an intuition
2166 # of exeext.
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2168 $as_echo_n "checking whether the C compiler works... " >&6; }
2169 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2171 # The possible output files:
2172 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2174 ac_rmfiles=
2175 for ac_file in $ac_files
2177 case $ac_file in
2178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2179 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2180 esac
2181 done
2182 rm -f $ac_rmfiles
2184 if { { ac_try="$ac_link_default"
2185 case "(($ac_try" in
2186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2187 *) ac_try_echo=$ac_try;;
2188 esac
2189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2190 $as_echo "$ac_try_echo"; } >&5
2191 (eval "$ac_link_default") 2>&5
2192 ac_status=$?
2193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2194 test $ac_status = 0; }; then :
2195 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2196 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2197 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2198 # so that the user can short-circuit this test for compilers unknown to
2199 # Autoconf.
2200 for ac_file in $ac_files ''
2202 test -f "$ac_file" || continue
2203 case $ac_file in
2204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2206 [ab].out )
2207 # We found the default executable, but exeext='' is most
2208 # certainly right.
2209 break;;
2210 *.* )
2211 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2212 then :; else
2213 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2215 # We set ac_cv_exeext here because the later test for it is not
2216 # safe: cross compilers may not add the suffix if given an `-o'
2217 # argument, so we may need to know it at that point already.
2218 # Even if this section looks crufty: it has the advantage of
2219 # actually working.
2220 break;;
2222 break;;
2223 esac
2224 done
2225 test "$ac_cv_exeext" = no && ac_cv_exeext=
2227 else
2228 ac_file=''
2230 if test -z "$ac_file"; then :
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2232 $as_echo "no" >&6; }
2233 $as_echo "$as_me: failed program was:" >&5
2234 sed 's/^/| /' conftest.$ac_ext >&5
2236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2238 as_fn_error 77 "C compiler cannot create executables
2239 See \`config.log' for more details" "$LINENO" 5; }
2240 else
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2242 $as_echo "yes" >&6; }
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2245 $as_echo_n "checking for C compiler default output file name... " >&6; }
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2247 $as_echo "$ac_file" >&6; }
2248 ac_exeext=$ac_cv_exeext
2250 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2251 ac_clean_files=$ac_clean_files_save
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2253 $as_echo_n "checking for suffix of executables... " >&6; }
2254 if { { ac_try="$ac_link"
2255 case "(($ac_try" in
2256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2257 *) ac_try_echo=$ac_try;;
2258 esac
2259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2260 $as_echo "$ac_try_echo"; } >&5
2261 (eval "$ac_link") 2>&5
2262 ac_status=$?
2263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2264 test $ac_status = 0; }; then :
2265 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2266 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2267 # work properly (i.e., refer to `conftest.exe'), while it won't with
2268 # `rm'.
2269 for ac_file in conftest.exe conftest conftest.*; do
2270 test -f "$ac_file" || continue
2271 case $ac_file in
2272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2273 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2274 break;;
2275 * ) break;;
2276 esac
2277 done
2278 else
2279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2281 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2282 See \`config.log' for more details" "$LINENO" 5; }
2284 rm -f conftest conftest$ac_cv_exeext
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2286 $as_echo "$ac_cv_exeext" >&6; }
2288 rm -f conftest.$ac_ext
2289 EXEEXT=$ac_cv_exeext
2290 ac_exeext=$EXEEXT
2291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2293 #include <stdio.h>
2295 main ()
2297 FILE *f = fopen ("conftest.out", "w");
2298 return ferror (f) || fclose (f) != 0;
2301 return 0;
2303 _ACEOF
2304 ac_clean_files="$ac_clean_files conftest.out"
2305 # Check that the compiler produces executables we can run. If not, either
2306 # the compiler is broken, or we cross compile.
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2308 $as_echo_n "checking whether we are cross compiling... " >&6; }
2309 if test "$cross_compiling" != yes; then
2310 { { ac_try="$ac_link"
2311 case "(($ac_try" in
2312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2313 *) ac_try_echo=$ac_try;;
2314 esac
2315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2316 $as_echo "$ac_try_echo"; } >&5
2317 (eval "$ac_link") 2>&5
2318 ac_status=$?
2319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2320 test $ac_status = 0; }
2321 if { ac_try='./conftest$ac_cv_exeext'
2322 { { case "(($ac_try" in
2323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2324 *) ac_try_echo=$ac_try;;
2325 esac
2326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2327 $as_echo "$ac_try_echo"; } >&5
2328 (eval "$ac_try") 2>&5
2329 ac_status=$?
2330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2331 test $ac_status = 0; }; }; then
2332 cross_compiling=no
2333 else
2334 if test "$cross_compiling" = maybe; then
2335 cross_compiling=yes
2336 else
2337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2339 as_fn_error $? "cannot run C compiled programs.
2340 If you meant to cross compile, use \`--host'.
2341 See \`config.log' for more details" "$LINENO" 5; }
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2346 $as_echo "$cross_compiling" >&6; }
2348 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2349 ac_clean_files=$ac_clean_files_save
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2351 $as_echo_n "checking for suffix of object files... " >&6; }
2352 if ${ac_cv_objext+:} false; then :
2353 $as_echo_n "(cached) " >&6
2354 else
2355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2356 /* end confdefs.h. */
2359 main ()
2363 return 0;
2365 _ACEOF
2366 rm -f conftest.o conftest.obj
2367 if { { ac_try="$ac_compile"
2368 case "(($ac_try" in
2369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2370 *) ac_try_echo=$ac_try;;
2371 esac
2372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2373 $as_echo "$ac_try_echo"; } >&5
2374 (eval "$ac_compile") 2>&5
2375 ac_status=$?
2376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2377 test $ac_status = 0; }; then :
2378 for ac_file in conftest.o conftest.obj conftest.*; do
2379 test -f "$ac_file" || continue;
2380 case $ac_file in
2381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2382 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2383 break;;
2384 esac
2385 done
2386 else
2387 $as_echo "$as_me: failed program was:" >&5
2388 sed 's/^/| /' conftest.$ac_ext >&5
2390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2392 as_fn_error $? "cannot compute suffix of object files: cannot compile
2393 See \`config.log' for more details" "$LINENO" 5; }
2395 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2398 $as_echo "$ac_cv_objext" >&6; }
2399 OBJEXT=$ac_cv_objext
2400 ac_objext=$OBJEXT
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2402 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2403 if ${ac_cv_c_compiler_gnu+:} false; then :
2404 $as_echo_n "(cached) " >&6
2405 else
2406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2407 /* end confdefs.h. */
2410 main ()
2412 #ifndef __GNUC__
2413 choke me
2414 #endif
2417 return 0;
2419 _ACEOF
2420 if ac_fn_c_try_compile "$LINENO"; then :
2421 ac_compiler_gnu=yes
2422 else
2423 ac_compiler_gnu=no
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2430 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2431 if test $ac_compiler_gnu = yes; then
2432 GCC=yes
2433 else
2434 GCC=
2436 ac_test_CFLAGS=${CFLAGS+set}
2437 ac_save_CFLAGS=$CFLAGS
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2439 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2440 if ${ac_cv_prog_cc_g+:} false; then :
2441 $as_echo_n "(cached) " >&6
2442 else
2443 ac_save_c_werror_flag=$ac_c_werror_flag
2444 ac_c_werror_flag=yes
2445 ac_cv_prog_cc_g=no
2446 CFLAGS="-g"
2447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2451 main ()
2455 return 0;
2457 _ACEOF
2458 if ac_fn_c_try_compile "$LINENO"; then :
2459 ac_cv_prog_cc_g=yes
2460 else
2461 CFLAGS=""
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2466 main ()
2470 return 0;
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2475 else
2476 ac_c_werror_flag=$ac_save_c_werror_flag
2477 CFLAGS="-g"
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2482 main ()
2486 return 0;
2488 _ACEOF
2489 if ac_fn_c_try_compile "$LINENO"; then :
2490 ac_cv_prog_cc_g=yes
2492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497 ac_c_werror_flag=$ac_save_c_werror_flag
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2500 $as_echo "$ac_cv_prog_cc_g" >&6; }
2501 if test "$ac_test_CFLAGS" = set; then
2502 CFLAGS=$ac_save_CFLAGS
2503 elif test $ac_cv_prog_cc_g = yes; then
2504 if test "$GCC" = yes; then
2505 CFLAGS="-g -O2"
2506 else
2507 CFLAGS="-g"
2509 else
2510 if test "$GCC" = yes; then
2511 CFLAGS="-O2"
2512 else
2513 CFLAGS=
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2517 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2518 if ${ac_cv_prog_cc_c89+:} false; then :
2519 $as_echo_n "(cached) " >&6
2520 else
2521 ac_cv_prog_cc_c89=no
2522 ac_save_CC=$CC
2523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2524 /* end confdefs.h. */
2525 #include <stdarg.h>
2526 #include <stdio.h>
2527 struct stat;
2528 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2529 struct buf { int x; };
2530 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2531 static char *e (p, i)
2532 char **p;
2533 int i;
2535 return p[i];
2537 static char *f (char * (*g) (char **, int), char **p, ...)
2539 char *s;
2540 va_list v;
2541 va_start (v,p);
2542 s = g (p, va_arg (v,int));
2543 va_end (v);
2544 return s;
2547 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2548 function prototypes and stuff, but not '\xHH' hex character constants.
2549 These don't provoke an error unfortunately, instead are silently treated
2550 as 'x'. The following induces an error, until -std is added to get
2551 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2552 array size at least. It's necessary to write '\x00'==0 to get something
2553 that's true only with -std. */
2554 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2556 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2557 inside strings and character constants. */
2558 #define FOO(x) 'x'
2559 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2561 int test (int i, double x);
2562 struct s1 {int (*f) (int a);};
2563 struct s2 {int (*f) (double a);};
2564 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2565 int argc;
2566 char **argv;
2568 main ()
2570 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2572 return 0;
2574 _ACEOF
2575 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2576 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2578 CC="$ac_save_CC $ac_arg"
2579 if ac_fn_c_try_compile "$LINENO"; then :
2580 ac_cv_prog_cc_c89=$ac_arg
2582 rm -f core conftest.err conftest.$ac_objext
2583 test "x$ac_cv_prog_cc_c89" != "xno" && break
2584 done
2585 rm -f conftest.$ac_ext
2586 CC=$ac_save_CC
2589 # AC_CACHE_VAL
2590 case "x$ac_cv_prog_cc_c89" in
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2593 $as_echo "none needed" >&6; } ;;
2594 xno)
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2596 $as_echo "unsupported" >&6; } ;;
2598 CC="$CC $ac_cv_prog_cc_c89"
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2600 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2601 esac
2602 if test "x$ac_cv_prog_cc_c89" != xno; then :
2606 ac_ext=c
2607 ac_cpp='$CPP $CPPFLAGS'
2608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target config location" >&5
2614 $as_echo_n "checking target config location... " >&6; }
2616 # Check whether --with-config-dir was given.
2617 if test "${with_config_dir+set}" = set; then :
2618 withval=$with_config_dir; targetcfg_dir="$withval"
2619 else
2620 targetcfg_dir=""
2623 if test "$targetcfg_dir" = ""; then
2624 as_fn_error $? "missing config directory!" "$LINENO" 5
2625 else
2626 aros_targetcfg_dir="$targetcfg_dir"
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_targetcfg_dir" >&5
2629 $as_echo "$aros_targetcfg_dir" >&6; }
2631 #-----------------------------------------------------------------------------
2633 # Check if the target compiler supports some options used for delinting:
2634 # -Wunused-but-set-variable
2635 # -Wstrict-aliasing
2636 # -Warray-bounds
2637 # -Wenum-compare
2638 # -Wstrict-prototypes
2639 # -Wstrict-overflow
2640 # -Wformat-security
2641 # -Wmisleading-indentation
2642 # -Wnonnull-compare
2643 # -Wunused
2644 # -Wunused-value
2645 # -Wunused-variable
2646 # -Wunused-function
2647 # -Wuninitialized
2648 # -Wmaybe-uninitialized
2649 # -Wimplicit-function-declaration
2650 # -Wformat
2651 # -Wparentheses
2652 # -Wchar-subscripts
2653 # -Wendif-labels
2654 # -Wformat-contains-nul
2655 # -Wimplicit-int
2656 # -Waggressive-loop-optimizations
2657 # -Wcpp
2658 # -Wswitch
2659 # -Wdiscarded-qualifiers
2660 # -Wsequence-point
2661 # -Wunknown-pragmas
2662 # -Wdiscarded-array-qualifiers
2663 # -Wint-conversion
2664 # -Wint-to-pointer-cast
2665 # -Wpointer-to-int-cast
2666 # -Wunused-const-variable
2667 # -Wwrite-strings
2668 # -Wcomment
2669 # -Wincompatible-pointer-types
2670 # -Wbool-compare
2671 # -Wlogical-not-parentheses
2672 # -Wpointer-sign
2673 # -Wshift-overflow
2674 # -Wframe-address
2675 # -Wdeprecated-declarations
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-but-set-variable" >&5
2678 $as_echo_n "checking whether ${CC} accepts -Wunused-but-set-variable... " >&6; }
2679 CFLAGS=-Wunused-but-set-variable
2681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2682 /* end confdefs.h. */
2685 main ()
2689 return 0;
2691 _ACEOF
2692 if ac_fn_c_try_compile "$LINENO"; then :
2693 aros_unused_but_set_variable="yes"
2694 else
2695 aros_unused_but_set_variable="no"
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_but_set_variable" >&5
2699 $as_echo "$aros_unused_but_set_variable" >&6; }
2700 if test "x-$aros_unused_but_set_variable" = "x-yes" ; then
2701 aros_cflags_unused_but_set_variable=-Wno-unused-but-set-variable
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-aliasing" >&5
2705 $as_echo_n "checking whether ${CC} accepts -Wstrict-aliasing... " >&6; }
2706 CFLAGS=-Wstrict-aliasing
2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2708 /* end confdefs.h. */
2711 main ()
2715 return 0;
2717 _ACEOF
2718 if ac_fn_c_try_compile "$LINENO"; then :
2719 aros_strict_aliasing="yes"
2720 else
2721 aros_strict_aliasing="no"
2723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_aliasing" >&5
2725 $as_echo "$aros_strict_aliasing" >&6; }
2726 if test "x-$aros_strict_aliasing" = "x-yes" ; then
2727 aros_cflags_strict_aliasing=-Wno-strict-aliasing
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Warray-bounds" >&5
2731 $as_echo_n "checking whether ${CC} accepts -Warray-bounds... " >&6; }
2732 CFLAGS=-Warray-bounds
2733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2734 /* end confdefs.h. */
2737 main ()
2741 return 0;
2743 _ACEOF
2744 if ac_fn_c_try_compile "$LINENO"; then :
2745 aros_array_bounds="yes"
2746 else
2747 aros_array_bounds="no"
2749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_array_bounds" >&5
2751 $as_echo "$aros_array_bounds" >&6; }
2752 if test "x-$aros_array_bounds" = "x-yes" ; then
2753 aros_cflags_array_bounds=-Wno-array-bounds
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wenum-compare" >&5
2757 $as_echo_n "checking whether ${CC} accepts -Wenum-compare... " >&6; }
2758 CFLAGS=-Wenum-compare
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2763 main ()
2767 return 0;
2769 _ACEOF
2770 if ac_fn_c_try_compile "$LINENO"; then :
2771 aros_enum_compare="yes"
2772 else
2773 aros_enum_compare="no"
2775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enum_compare" >&5
2777 $as_echo "$aros_enum_compare" >&6; }
2778 if test "x-$aros_enum_compare" = "x-yes" ; then
2779 aros_cflags_enum_compare=-Wno-enum-compare
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-prototypes" >&5
2783 $as_echo_n "checking whether ${CC} accepts -Wstrict-prototypes... " >&6; }
2784 CFLAGS=-Wstrict-prototypes
2785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2786 /* end confdefs.h. */
2789 main ()
2793 return 0;
2795 _ACEOF
2796 if ac_fn_c_try_compile "$LINENO"; then :
2797 aros_strict_prototypes="yes"
2798 else
2799 aros_strict_prototypes="no"
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_prototypes" >&5
2803 $as_echo "$aros_strict_prototypes" >&6; }
2804 if test "x-$aros_strict_prototypes" = "x-yes" ; then
2805 aros_cflags_strict_prototypes=-Wno-strict-prototypes
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wstrict-overflow" >&5
2809 $as_echo_n "checking whether ${CC} accepts -Wstrict-overflow... " >&6; }
2810 CFLAGS=-Wstrict-overflow
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2815 main ()
2819 return 0;
2821 _ACEOF
2822 if ac_fn_c_try_compile "$LINENO"; then :
2823 aros_strict_overflow="yes"
2824 else
2825 aros_strict_overflow="no"
2827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_strict_overflow" >&5
2829 $as_echo "$aros_strict_overflow" >&6; }
2830 if test "x-$aros_strict_overflow" = "x-yes" ; then
2831 aros_cflags_strict_overflow=-Wno-strict-overflow
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-security" >&5
2835 $as_echo_n "checking whether ${CC} accepts -Wformat-security... " >&6; }
2836 CFLAGS=-Wformat-security
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2841 main ()
2845 return 0;
2847 _ACEOF
2848 if ac_fn_c_try_compile "$LINENO"; then :
2849 aros_format_security="yes"
2850 else
2851 aros_format_security="no"
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_security" >&5
2855 $as_echo "$aros_format_security" >&6; }
2856 if test "x-$aros_format_security" = "x-yes" ; then
2857 aros_cflags_format_security=-Wno-format-security
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmisleading-indentation" >&5
2861 $as_echo_n "checking whether ${CC} accepts -Wmisleading-indentation... " >&6; }
2862 CFLAGS=-Wmisleading-indentation
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2867 main ()
2871 return 0;
2873 _ACEOF
2874 if ac_fn_c_try_compile "$LINENO"; then :
2875 aros_misleading_indentation="yes"
2876 else
2877 aros_misleading_indentation="no"
2879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_misleading_indentation" >&5
2881 $as_echo "$aros_misleading_indentation" >&6; }
2882 if test "x-$aros_misleading_indentation" = "x-yes" ; then
2883 aros_cflags_misleading_indentation=-Wno-misleading-indentation
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wnonnull-compare" >&5
2887 $as_echo_n "checking whether ${CC} accepts -Wnonnull-compare... " >&6; }
2888 CFLAGS=-Wnonnull-compare
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2893 main ()
2897 return 0;
2899 _ACEOF
2900 if ac_fn_c_try_compile "$LINENO"; then :
2901 aros_nonnull_compare="yes"
2902 else
2903 aros_nonnull_compare="no"
2905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nonnull_compare" >&5
2907 $as_echo "$aros_nonnull_compare" >&6; }
2908 if test "x-$aros_nonnull_compare" = "x-yes" ; then
2909 aros_cflags_nonnull_compare=-Wno-nonnull-compare
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused" >&5
2913 $as_echo_n "checking whether ${CC} accepts -Wunused... " >&6; }
2914 CFLAGS=-Wunused
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2919 main ()
2923 return 0;
2925 _ACEOF
2926 if ac_fn_c_try_compile "$LINENO"; then :
2927 aros_unused="yes"
2928 else
2929 aros_unused="no"
2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused" >&5
2933 $as_echo "$aros_unused" >&6; }
2934 if test "x-$aros_unused" = "x-yes" ; then
2935 aros_cflags_unused=-Wno-unused
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-value" >&5
2939 $as_echo_n "checking whether ${CC} accepts -Wunused-value... " >&6; }
2940 CFLAGS=-Wunused-value
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2945 main ()
2949 return 0;
2951 _ACEOF
2952 if ac_fn_c_try_compile "$LINENO"; then :
2953 aros_unused_value="yes"
2954 else
2955 aros_unused_value="no"
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_value" >&5
2959 $as_echo "$aros_unused_value" >&6; }
2960 if test "x-$aros_unused_value" = "x-yes" ; then
2961 aros_cflags_unused_value=-Wno-unused-value
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-variable" >&5
2965 $as_echo_n "checking whether ${CC} accepts -Wunused-variable... " >&6; }
2966 CFLAGS=-Wunused-variable
2967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2971 main ()
2975 return 0;
2977 _ACEOF
2978 if ac_fn_c_try_compile "$LINENO"; then :
2979 aros_unused_variable="yes"
2980 else
2981 aros_unused_variable="no"
2983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_variable" >&5
2985 $as_echo "$aros_unused_variable" >&6; }
2986 if test "x-$aros_unused_variable" = "x-yes" ; then
2987 aros_cflags_unused_variable=-Wno-unused-variable
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-function" >&5
2991 $as_echo_n "checking whether ${CC} accepts -Wunused-function... " >&6; }
2992 CFLAGS=-Wunused-function
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2997 main ()
3001 return 0;
3003 _ACEOF
3004 if ac_fn_c_try_compile "$LINENO"; then :
3005 aros_unused_function="yes"
3006 else
3007 aros_unused_function="no"
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_function" >&5
3011 $as_echo "$aros_unused_function" >&6; }
3012 if test "x-$aros_unused_function" = "x-yes" ; then
3013 aros_cflags_unused_function=-Wno-unused-function
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wuninitialized" >&5
3017 $as_echo_n "checking whether ${CC} accepts -Wuninitialized... " >&6; }
3018 CFLAGS=-Wuninitialized
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3023 main ()
3027 return 0;
3029 _ACEOF
3030 if ac_fn_c_try_compile "$LINENO"; then :
3031 aros_uninitialized="yes"
3032 else
3033 aros_uninitialized="no"
3035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_uninitialized" >&5
3037 $as_echo "$aros_uninitialized" >&6; }
3038 if test "x-$aros_uninitialized" = "x-yes" ; then
3039 aros_cflags_uninitialized=-Wno-uninitialized
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wmaybe-uninitialized" >&5
3043 $as_echo_n "checking whether ${CC} accepts -Wmaybe-uninitialized... " >&6; }
3044 CFLAGS=-Wmaybe-uninitialized
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3049 main ()
3053 return 0;
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"; then :
3057 aros_maybe_uninitialized="yes"
3058 else
3059 aros_maybe_uninitialized="no"
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_maybe_uninitialized" >&5
3063 $as_echo "$aros_maybe_uninitialized" >&6; }
3064 if test "x-$aros_maybe_uninitialized" = "x-yes" ; then
3065 aros_cflags_maybe_uninitialized=-Wno-maybe-uninitialized
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-function-declaration" >&5
3069 $as_echo_n "checking whether ${CC} accepts -Wimplicit-function-declaration... " >&6; }
3070 CFLAGS=-Wimplicit-function-declaration
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3075 main ()
3079 return 0;
3081 _ACEOF
3082 if ac_fn_c_try_compile "$LINENO"; then :
3083 aros_implicit_function_declaration="yes"
3084 else
3085 aros_implicit_function_declaration="no"
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_function_declaration" >&5
3089 $as_echo "$aros_implicit_function_declaration" >&6; }
3090 if test "x-$aros_implicit_function_declaration" = "x-yes" ; then
3091 aros_cflags_implicit_function_declaration=-Wno-implicit-function-declaration
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat" >&5
3095 $as_echo_n "checking whether ${CC} accepts -Wformat... " >&6; }
3096 CFLAGS=-Wformat
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3101 main ()
3105 return 0;
3107 _ACEOF
3108 if ac_fn_c_try_compile "$LINENO"; then :
3109 aros_format="yes"
3110 else
3111 aros_format="no"
3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format" >&5
3115 $as_echo "$aros_format" >&6; }
3116 if test "x-$aros_format" = "x-yes" ; then
3117 aros_cflags_format=-Wno-format
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wparentheses" >&5
3121 $as_echo_n "checking whether ${CC} accepts -Wparentheses... " >&6; }
3122 CFLAGS=-Wparentheses
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3127 main ()
3131 return 0;
3133 _ACEOF
3134 if ac_fn_c_try_compile "$LINENO"; then :
3135 aros_parentheses="yes"
3136 else
3137 aros_parentheses="no"
3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_parentheses" >&5
3141 $as_echo "$aros_parentheses" >&6; }
3142 if test "x-$aros_parentheses" = "x-yes" ; then
3143 aros_cflags_parentheses=-Wno-parentheses
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wchar-subscripts" >&5
3147 $as_echo_n "checking whether ${CC} accepts -Wchar-subscripts... " >&6; }
3148 CFLAGS=-Wchar-subscripts
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3153 main ()
3157 return 0;
3159 _ACEOF
3160 if ac_fn_c_try_compile "$LINENO"; then :
3161 aros_char_subscripts="yes"
3162 else
3163 aros_char_subscripts="no"
3165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_char_subscripts" >&5
3167 $as_echo "$aros_char_subscripts" >&6; }
3168 if test "x-$aros_char_subscripts" = "x-yes" ; then
3169 aros_cflags_char_subscripts=-Wno-char-subscripts
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wendif-labels" >&5
3173 $as_echo_n "checking whether ${CC} accepts -Wendif-labels... " >&6; }
3174 CFLAGS=-Wendif-labels
3175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176 /* end confdefs.h. */
3179 main ()
3183 return 0;
3185 _ACEOF
3186 if ac_fn_c_try_compile "$LINENO"; then :
3187 aros_endif_labels="yes"
3188 else
3189 aros_endif_labels="no"
3191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_endif_labels" >&5
3193 $as_echo "$aros_endif_labels" >&6; }
3194 if test "x-$aros_endif_labels" = "x-yes" ; then
3195 aros_cflags_endif_labels=-Wno-endif-labels
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wformat-contains-nul" >&5
3199 $as_echo_n "checking whether ${CC} accepts -Wformat-contains-nul... " >&6; }
3200 CFLAGS=-Wformat-contains-nul
3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3205 main ()
3209 return 0;
3211 _ACEOF
3212 if ac_fn_c_try_compile "$LINENO"; then :
3213 aros_format_contains_nul="yes"
3214 else
3215 aros_format_contains_nul="no"
3217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_format_contains_nul" >&5
3219 $as_echo "$aros_format_contains_nul" >&6; }
3220 if test "x-$aros_format_contains_nul" = "x-yes" ; then
3221 aros_cflags_format_contains_nul=-Wno-format-contains-nul
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wimplicit-int" >&5
3225 $as_echo_n "checking whether ${CC} accepts -Wimplicit-int... " >&6; }
3226 CFLAGS=-Wimplicit-int
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3231 main ()
3235 return 0;
3237 _ACEOF
3238 if ac_fn_c_try_compile "$LINENO"; then :
3239 aros_implicit_int="yes"
3240 else
3241 aros_implicit_int="no"
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_implicit_int" >&5
3245 $as_echo "$aros_implicit_int" >&6; }
3246 if test "x-$aros_implicit_int" = "x-yes" ; then
3247 aros_cflags_implicit_int=-Wno-implicit-int
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Waggressive-loop-optimizations" >&5
3251 $as_echo_n "checking whether ${CC} accepts -Waggressive-loop-optimizations... " >&6; }
3252 CFLAGS=-Waggressive-loop-optimizations
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3257 main ()
3261 return 0;
3263 _ACEOF
3264 if ac_fn_c_try_compile "$LINENO"; then :
3265 aros_aggressive_loop_optimizations="yes"
3266 else
3267 aros_aggressive_loop_optimizations="no"
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_aggressive_loop_optimizations" >&5
3271 $as_echo "$aros_aggressive_loop_optimizations" >&6; }
3272 if test "x-$aros_aggressive_loop_optimizations" = "x-yes" ; then
3273 aros_cflags_aggressive_loop_optimizations=-Wno-aggressive-loop-optimizations
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcpp" >&5
3277 $as_echo_n "checking whether ${CC} accepts -Wcpp... " >&6; }
3278 CFLAGS=-Wcpp
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3283 main ()
3287 return 0;
3289 _ACEOF
3290 if ac_fn_c_try_compile "$LINENO"; then :
3291 aros_cpp="yes"
3292 else
3293 aros_cpp="no"
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_cpp" >&5
3297 $as_echo "$aros_cpp" >&6; }
3298 if test "x-$aros_cpp" = "x-yes" ; then
3299 aros_cflags_cpp=-Wno-cpp
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wswitch" >&5
3303 $as_echo_n "checking whether ${CC} accepts -Wswitch... " >&6; }
3304 CFLAGS=-Wswitch
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3309 main ()
3313 return 0;
3315 _ACEOF
3316 if ac_fn_c_try_compile "$LINENO"; then :
3317 aros_switch="yes"
3318 else
3319 aros_switch="no"
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_switch" >&5
3323 $as_echo "$aros_switch" >&6; }
3324 if test "x-$aros_switch" = "x-yes" ; then
3325 aros_cflags_switch=-Wno-switch
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-qualifiers" >&5
3329 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-qualifiers... " >&6; }
3330 CFLAGS=-Wdiscarded-qualifiers
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3335 main ()
3339 return 0;
3341 _ACEOF
3342 if ac_fn_c_try_compile "$LINENO"; then :
3343 aros_discarded_qualifiers="yes"
3344 else
3345 aros_discarded_qualifiers="no"
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_qualifiers" >&5
3349 $as_echo "$aros_discarded_qualifiers" >&6; }
3350 if test "x-$aros_discarded_qualifiers" = "x-yes" ; then
3351 aros_cflags_discarded_qualifiers=-Wno-discarded-qualifiers
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wsequence-point" >&5
3355 $as_echo_n "checking whether ${CC} accepts -Wsequence-point... " >&6; }
3356 CFLAGS=-Wsequence-point
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3361 main ()
3365 return 0;
3367 _ACEOF
3368 if ac_fn_c_try_compile "$LINENO"; then :
3369 aros_sequence_point="yes"
3370 else
3371 aros_sequence_point="no"
3373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sequence_point" >&5
3375 $as_echo "$aros_sequence_point" >&6; }
3376 if test "x-$aros_sequence_point" = "x-yes" ; then
3377 aros_cflags_sequence_point=-Wno-sequence-point
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunknown-pragmas" >&5
3381 $as_echo_n "checking whether ${CC} accepts -Wunknown-pragmas... " >&6; }
3382 CFLAGS=-Wunknown-pragmas
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3387 main ()
3391 return 0;
3393 _ACEOF
3394 if ac_fn_c_try_compile "$LINENO"; then :
3395 aros_unknown_pragmas="yes"
3396 else
3397 aros_unknown_pragmas="no"
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unknown_pragmas" >&5
3401 $as_echo "$aros_unknown_pragmas" >&6; }
3402 if test "x-$aros_unknown_pragmas" = "x-yes" ; then
3403 aros_cflags_unknown_pragmas=-Wno-unknown-pragmas
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdiscarded-array-qualifiers" >&5
3407 $as_echo_n "checking whether ${CC} accepts -Wdiscarded-array-qualifiers... " >&6; }
3408 CFLAGS=-Wdiscarded-array-qualifiers
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3413 main ()
3417 return 0;
3419 _ACEOF
3420 if ac_fn_c_try_compile "$LINENO"; then :
3421 aros_discarded_array_qualifiers="yes"
3422 else
3423 aros_discarded_array_qualifiers="no"
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_discarded_array_qualifiers" >&5
3427 $as_echo "$aros_discarded_array_qualifiers" >&6; }
3428 if test "x-$aros_discarded_array_qualifiers" = "x-yes" ; then
3429 aros_cflags_discarded_array_qualifiers=-Wno-discarded-array-qualifiers
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-conversion" >&5
3433 $as_echo_n "checking whether ${CC} accepts -Wint-conversion... " >&6; }
3434 CFLAGS=-Wint-conversion
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3439 main ()
3443 return 0;
3445 _ACEOF
3446 if ac_fn_c_try_compile "$LINENO"; then :
3447 aros_int_conversion="yes"
3448 else
3449 aros_int_conversion="no"
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_conversion" >&5
3453 $as_echo "$aros_int_conversion" >&6; }
3454 if test "x-$aros_int_conversion" = "x-yes" ; then
3455 aros_cflags_int_conversion=-Wno-int-conversion
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wint-to-pointer-cast" >&5
3459 $as_echo_n "checking whether ${CC} accepts -Wint-to-pointer-cast... " >&6; }
3460 CFLAGS=-Wint-to-pointer-cast
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3465 main ()
3469 return 0;
3471 _ACEOF
3472 if ac_fn_c_try_compile "$LINENO"; then :
3473 aros_int_to_pointer_cast="yes"
3474 else
3475 aros_int_to_pointer_cast="no"
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_int_to_pointer_cast" >&5
3479 $as_echo "$aros_int_to_pointer_cast" >&6; }
3480 if test "x-$aros_int_to_pointer_cast" = "x-yes" ; then
3481 aros_cflags_int_to_pointer_cast=-Wno-int-to-pointer-cast
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-to-int-cast" >&5
3485 $as_echo_n "checking whether ${CC} accepts -Wpointer-to-int-cast... " >&6; }
3486 CFLAGS=-Wpointer-to-int-cast
3487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 /* end confdefs.h. */
3491 main ()
3495 return 0;
3497 _ACEOF
3498 if ac_fn_c_try_compile "$LINENO"; then :
3499 aros_pointer_to_int_cast="yes"
3500 else
3501 aros_pointer_to_int_cast="no"
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_to_int_cast" >&5
3505 $as_echo "$aros_pointer_to_int_cast" >&6; }
3506 if test "x-$aros_pointer_to_int_cast" = "x-yes" ; then
3507 aros_cflags_pointer_to_int_cast=-Wno-pointer-to-int-cast
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wunused-const-variable" >&5
3511 $as_echo_n "checking whether ${CC} accepts -Wunused-const-variable... " >&6; }
3512 CFLAGS=-Wunused-const-variable
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3517 main ()
3521 return 0;
3523 _ACEOF
3524 if ac_fn_c_try_compile "$LINENO"; then :
3525 aros_unused_const_variable="yes"
3526 else
3527 aros_unused_const_variable="no"
3529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_unused_const_variable" >&5
3531 $as_echo "$aros_unused_const_variable" >&6; }
3532 if test "x-$aros_unused_const_variable" = "x-yes" ; then
3533 aros_cflags_unused_const_variable=-Wno-unused-const-variable
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wwrite-strings" >&5
3537 $as_echo_n "checking whether ${CC} accepts -Wwrite-strings... " >&6; }
3538 CFLAGS=-Wwrite-strings
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3543 main ()
3547 return 0;
3549 _ACEOF
3550 if ac_fn_c_try_compile "$LINENO"; then :
3551 aros_write_strings="yes"
3552 else
3553 aros_write_strings="no"
3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_write_strings" >&5
3557 $as_echo "$aros_write_strings" >&6; }
3558 if test "x-$aros_write_strings" = "x-yes" ; then
3559 aros_cflags_write_strings=-Wno-write-strings
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wcomment" >&5
3563 $as_echo_n "checking whether ${CC} accepts -Wcomment... " >&6; }
3564 CFLAGS=-Wcomment
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3569 main ()
3573 return 0;
3575 _ACEOF
3576 if ac_fn_c_try_compile "$LINENO"; then :
3577 aros_comment="yes"
3578 else
3579 aros_comment="no"
3581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_comment" >&5
3583 $as_echo "$aros_comment" >&6; }
3584 if test "x-$aros_comment" = "x-yes" ; then
3585 aros_cflags_comment=-Wno-comment
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wincompatible-pointer-types" >&5
3589 $as_echo_n "checking whether ${CC} accepts -Wincompatible-pointer-types... " >&6; }
3590 CFLAGS=-Wincompatible-pointer-types
3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3595 main ()
3599 return 0;
3601 _ACEOF
3602 if ac_fn_c_try_compile "$LINENO"; then :
3603 aros_incompatible_pointer_types="yes"
3604 else
3605 aros_incompatible_pointer_types="no"
3607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_incompatible_pointer_types" >&5
3609 $as_echo "$aros_incompatible_pointer_types" >&6; }
3610 if test "x-$aros_incompatible_pointer_types" = "x-yes" ; then
3611 aros_cflags_incompatible_pointer_types=-Wno-incompatible-pointer-types
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wbool-compare" >&5
3615 $as_echo_n "checking whether ${CC} accepts -Wbool-compare... " >&6; }
3616 CFLAGS=-Wbool-compare
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3621 main ()
3625 return 0;
3627 _ACEOF
3628 if ac_fn_c_try_compile "$LINENO"; then :
3629 aros_bool_compare="yes"
3630 else
3631 aros_bool_compare="no"
3633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_bool_compare" >&5
3635 $as_echo "$aros_bool_compare" >&6; }
3636 if test "x-$aros_bool_compare" = "x-yes" ; then
3637 aros_cflags_bool_compare=-Wno-bool-compare
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wlogical-not-parentheses" >&5
3641 $as_echo_n "checking whether ${CC} accepts -Wlogical-not-parentheses... " >&6; }
3642 CFLAGS=-Wlogical-not-parentheses
3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3647 main ()
3651 return 0;
3653 _ACEOF
3654 if ac_fn_c_try_compile "$LINENO"; then :
3655 aros_logical_not_parentheses="yes"
3656 else
3657 aros_logical_not_parentheses="no"
3659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_logical_not_parentheses" >&5
3661 $as_echo "$aros_logical_not_parentheses" >&6; }
3662 if test "x-$aros_logical_not_parentheses" = "x-yes" ; then
3663 aros_cflags_logical_not_parentheses=-Wno-logical-not-parentheses
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wpointer-sign" >&5
3667 $as_echo_n "checking whether ${CC} accepts -Wpointer-sign... " >&6; }
3668 CFLAGS=-Wpointer-sign
3669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3673 main ()
3677 return 0;
3679 _ACEOF
3680 if ac_fn_c_try_compile "$LINENO"; then :
3681 aros_pointer_sign="yes"
3682 else
3683 aros_pointer_sign="no"
3685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_pointer_sign" >&5
3687 $as_echo "$aros_pointer_sign" >&6; }
3688 if test "x-$aros_pointer_sign" = "x-yes" ; then
3689 aros_cflags_pointer_sign=-Wno-pointer-sign
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wshift-overflow" >&5
3693 $as_echo_n "checking whether ${CC} accepts -Wshift-overflow... " >&6; }
3694 CFLAGS=-Wshift-overflow
3695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3699 main ()
3703 return 0;
3705 _ACEOF
3706 if ac_fn_c_try_compile "$LINENO"; then :
3707 aros_shift_overflow="yes"
3708 else
3709 aros_shift_overflow="no"
3711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_shift_overflow" >&5
3713 $as_echo "$aros_shift_overflow" >&6; }
3714 if test "x-$aros_shift_overflow" = "x-yes" ; then
3715 aros_cflags_shift_overflow=-Wno-shift-overflow
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wframe-address" >&5
3719 $as_echo_n "checking whether ${CC} accepts -Wframe-address... " >&6; }
3720 CFLAGS=-Wframe-address
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3725 main ()
3729 return 0;
3731 _ACEOF
3732 if ac_fn_c_try_compile "$LINENO"; then :
3733 aros_frame_address="yes"
3734 else
3735 aros_frame_address="no"
3737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_frame_address" >&5
3739 $as_echo "$aros_frame_address" >&6; }
3740 if test "x-$aros_frame_address" = "x-yes" ; then
3741 aros_cflags_frame_address=-Wno-frame-address
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wdeprecated-declarations" >&5
3745 $as_echo_n "checking whether ${CC} accepts -Wdeprecated-declarations... " >&6; }
3746 CFLAGS=-Wdeprecated-declarations
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3751 main ()
3755 return 0;
3757 _ACEOF
3758 if ac_fn_c_try_compile "$LINENO"; then :
3759 aros_deprecated_declarations="yes"
3760 else
3761 aros_deprecated_declarations="no"
3763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_deprecated_declarations" >&5
3765 $as_echo "$aros_deprecated_declarations" >&6; }
3766 if test "x-$aros_deprecated_declarations" = "x-yes" ; then
3767 aros_cflags_deprecated_declarations=-Wno-deprecated-declarations
3813 ac_config_files="$ac_config_files ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in"
3816 cat >confcache <<\_ACEOF
3817 # This file is a shell script that caches the results of configure
3818 # tests run on this system so they can be shared between configure
3819 # scripts and configure runs, see configure's option --config-cache.
3820 # It is not useful on other systems. If it contains results you don't
3821 # want to keep, you may remove or edit it.
3823 # config.status only pays attention to the cache file if you give it
3824 # the --recheck option to rerun configure.
3826 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3827 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3828 # following values.
3830 _ACEOF
3832 # The following way of writing the cache mishandles newlines in values,
3833 # but we know of no workaround that is simple, portable, and efficient.
3834 # So, we kill variables containing newlines.
3835 # Ultrix sh set writes to stderr and can't be redirected directly,
3836 # and sets the high bit in the cache file unless we assign to the vars.
3838 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3839 eval ac_val=\$$ac_var
3840 case $ac_val in #(
3841 *${as_nl}*)
3842 case $ac_var in #(
3843 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3844 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3845 esac
3846 case $ac_var in #(
3847 _ | IFS | as_nl) ;; #(
3848 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3849 *) { eval $ac_var=; unset $ac_var;} ;;
3850 esac ;;
3851 esac
3852 done
3854 (set) 2>&1 |
3855 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3856 *${as_nl}ac_space=\ *)
3857 # `set' does not quote correctly, so add quotes: double-quote
3858 # substitution turns \\\\ into \\, and sed turns \\ into \.
3859 sed -n \
3860 "s/'/'\\\\''/g;
3861 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3862 ;; #(
3864 # `set' quotes correctly as required by POSIX, so do not add quotes.
3865 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3867 esac |
3868 sort
3870 sed '
3871 /^ac_cv_env_/b end
3872 t clear
3873 :clear
3874 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3875 t end
3876 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3877 :end' >>confcache
3878 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3879 if test -w "$cache_file"; then
3880 if test "x$cache_file" != "x/dev/null"; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3882 $as_echo "$as_me: updating cache $cache_file" >&6;}
3883 if test ! -f "$cache_file" || test -h "$cache_file"; then
3884 cat confcache >"$cache_file"
3885 else
3886 case $cache_file in #(
3887 */* | ?:*)
3888 mv -f confcache "$cache_file"$$ &&
3889 mv -f "$cache_file"$$ "$cache_file" ;; #(
3891 mv -f confcache "$cache_file" ;;
3892 esac
3895 else
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3897 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3900 rm -f confcache
3902 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3903 # Let make expand exec_prefix.
3904 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3906 # Transform confdefs.h into DEFS.
3907 # Protect against shell expansion while executing Makefile rules.
3908 # Protect against Makefile macro expansion.
3910 # If the first sed substitution is executed (which looks for macros that
3911 # take arguments), then branch to the quote section. Otherwise,
3912 # look for a macro that doesn't take arguments.
3913 ac_script='
3914 :mline
3915 /\\$/{
3917 s,\\\n,,
3918 b mline
3920 t clear
3921 :clear
3922 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3923 t quote
3924 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3925 t quote
3926 b any
3927 :quote
3928 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3929 s/\[/\\&/g
3930 s/\]/\\&/g
3931 s/\$/$$/g
3933 :any
3936 s/^\n//
3937 s/\n/ /g
3941 DEFS=`sed -n "$ac_script" confdefs.h`
3944 ac_libobjs=
3945 ac_ltlibobjs=
3947 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3948 # 1. Remove the extension, and $U if already installed.
3949 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3950 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3951 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3952 # will be set to the directory where LIBOBJS objects are built.
3953 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3954 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3955 done
3956 LIBOBJS=$ac_libobjs
3958 LTLIBOBJS=$ac_ltlibobjs
3962 : "${CONFIG_STATUS=./config.status}"
3963 ac_write_fail=0
3964 ac_clean_files_save=$ac_clean_files
3965 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3967 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3968 as_write_fail=0
3969 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3970 #! $SHELL
3971 # Generated by $as_me.
3972 # Run this file to recreate the current configuration.
3973 # Compiler output produced by configure, useful for debugging
3974 # configure, is in config.log if it exists.
3976 debug=false
3977 ac_cs_recheck=false
3978 ac_cs_silent=false
3980 SHELL=\${CONFIG_SHELL-$SHELL}
3981 export SHELL
3982 _ASEOF
3983 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3984 ## -------------------- ##
3985 ## M4sh Initialization. ##
3986 ## -------------------- ##
3988 # Be more Bourne compatible
3989 DUALCASE=1; export DUALCASE # for MKS sh
3990 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3991 emulate sh
3992 NULLCMD=:
3993 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3994 # is contrary to our usage. Disable this feature.
3995 alias -g '${1+"$@"}'='"$@"'
3996 setopt NO_GLOB_SUBST
3997 else
3998 case `(set -o) 2>/dev/null` in #(
3999 *posix*) :
4000 set -o posix ;; #(
4001 *) :
4003 esac
4007 as_nl='
4009 export as_nl
4010 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4011 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4012 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4013 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4014 # Prefer a ksh shell builtin over an external printf program on Solaris,
4015 # but without wasting forks for bash or zsh.
4016 if test -z "$BASH_VERSION$ZSH_VERSION" \
4017 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4018 as_echo='print -r --'
4019 as_echo_n='print -rn --'
4020 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4021 as_echo='printf %s\n'
4022 as_echo_n='printf %s'
4023 else
4024 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4025 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4026 as_echo_n='/usr/ucb/echo -n'
4027 else
4028 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4029 as_echo_n_body='eval
4030 arg=$1;
4031 case $arg in #(
4032 *"$as_nl"*)
4033 expr "X$arg" : "X\\(.*\\)$as_nl";
4034 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4035 esac;
4036 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4038 export as_echo_n_body
4039 as_echo_n='sh -c $as_echo_n_body as_echo'
4041 export as_echo_body
4042 as_echo='sh -c $as_echo_body as_echo'
4045 # The user is always right.
4046 if test "${PATH_SEPARATOR+set}" != set; then
4047 PATH_SEPARATOR=:
4048 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4049 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4050 PATH_SEPARATOR=';'
4055 # IFS
4056 # We need space, tab and new line, in precisely that order. Quoting is
4057 # there to prevent editors from complaining about space-tab.
4058 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4059 # splitting by setting IFS to empty value.)
4060 IFS=" "" $as_nl"
4062 # Find who we are. Look in the path if we contain no directory separator.
4063 as_myself=
4064 case $0 in #((
4065 *[\\/]* ) as_myself=$0 ;;
4066 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4067 for as_dir in $PATH
4069 IFS=$as_save_IFS
4070 test -z "$as_dir" && as_dir=.
4071 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4072 done
4073 IFS=$as_save_IFS
4076 esac
4077 # We did not find ourselves, most probably we were run as `sh COMMAND'
4078 # in which case we are not to be found in the path.
4079 if test "x$as_myself" = x; then
4080 as_myself=$0
4082 if test ! -f "$as_myself"; then
4083 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4084 exit 1
4087 # Unset variables that we do not need and which cause bugs (e.g. in
4088 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4089 # suppresses any "Segmentation fault" message there. '((' could
4090 # trigger a bug in pdksh 5.2.14.
4091 for as_var in BASH_ENV ENV MAIL MAILPATH
4092 do eval test x\${$as_var+set} = xset \
4093 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4094 done
4095 PS1='$ '
4096 PS2='> '
4097 PS4='+ '
4099 # NLS nuisances.
4100 LC_ALL=C
4101 export LC_ALL
4102 LANGUAGE=C
4103 export LANGUAGE
4105 # CDPATH.
4106 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4109 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4110 # ----------------------------------------
4111 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4112 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4113 # script with STATUS, using 1 if that was 0.
4114 as_fn_error ()
4116 as_status=$1; test $as_status -eq 0 && as_status=1
4117 if test "$4"; then
4118 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4119 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4121 $as_echo "$as_me: error: $2" >&2
4122 as_fn_exit $as_status
4123 } # as_fn_error
4126 # as_fn_set_status STATUS
4127 # -----------------------
4128 # Set $? to STATUS, without forking.
4129 as_fn_set_status ()
4131 return $1
4132 } # as_fn_set_status
4134 # as_fn_exit STATUS
4135 # -----------------
4136 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4137 as_fn_exit ()
4139 set +e
4140 as_fn_set_status $1
4141 exit $1
4142 } # as_fn_exit
4144 # as_fn_unset VAR
4145 # ---------------
4146 # Portably unset VAR.
4147 as_fn_unset ()
4149 { eval $1=; unset $1;}
4151 as_unset=as_fn_unset
4152 # as_fn_append VAR VALUE
4153 # ----------------------
4154 # Append the text in VALUE to the end of the definition contained in VAR. Take
4155 # advantage of any shell optimizations that allow amortized linear growth over
4156 # repeated appends, instead of the typical quadratic growth present in naive
4157 # implementations.
4158 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4159 eval 'as_fn_append ()
4161 eval $1+=\$2
4163 else
4164 as_fn_append ()
4166 eval $1=\$$1\$2
4168 fi # as_fn_append
4170 # as_fn_arith ARG...
4171 # ------------------
4172 # Perform arithmetic evaluation on the ARGs, and store the result in the
4173 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4174 # must be portable across $(()) and expr.
4175 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4176 eval 'as_fn_arith ()
4178 as_val=$(( $* ))
4180 else
4181 as_fn_arith ()
4183 as_val=`expr "$@" || test $? -eq 1`
4185 fi # as_fn_arith
4188 if expr a : '\(a\)' >/dev/null 2>&1 &&
4189 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4190 as_expr=expr
4191 else
4192 as_expr=false
4195 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4196 as_basename=basename
4197 else
4198 as_basename=false
4201 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4202 as_dirname=dirname
4203 else
4204 as_dirname=false
4207 as_me=`$as_basename -- "$0" ||
4208 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4209 X"$0" : 'X\(//\)$' \| \
4210 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4211 $as_echo X/"$0" |
4212 sed '/^.*\/\([^/][^/]*\)\/*$/{
4213 s//\1/
4216 /^X\/\(\/\/\)$/{
4217 s//\1/
4220 /^X\/\(\/\).*/{
4221 s//\1/
4224 s/.*/./; q'`
4226 # Avoid depending upon Character Ranges.
4227 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4228 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4229 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4230 as_cr_digits='0123456789'
4231 as_cr_alnum=$as_cr_Letters$as_cr_digits
4233 ECHO_C= ECHO_N= ECHO_T=
4234 case `echo -n x` in #(((((
4235 -n*)
4236 case `echo 'xy\c'` in
4237 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4238 xy) ECHO_C='\c';;
4239 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4240 ECHO_T=' ';;
4241 esac;;
4243 ECHO_N='-n';;
4244 esac
4246 rm -f conf$$ conf$$.exe conf$$.file
4247 if test -d conf$$.dir; then
4248 rm -f conf$$.dir/conf$$.file
4249 else
4250 rm -f conf$$.dir
4251 mkdir conf$$.dir 2>/dev/null
4253 if (echo >conf$$.file) 2>/dev/null; then
4254 if ln -s conf$$.file conf$$ 2>/dev/null; then
4255 as_ln_s='ln -s'
4256 # ... but there are two gotchas:
4257 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4258 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4259 # In both cases, we have to default to `cp -pR'.
4260 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4261 as_ln_s='cp -pR'
4262 elif ln conf$$.file conf$$ 2>/dev/null; then
4263 as_ln_s=ln
4264 else
4265 as_ln_s='cp -pR'
4267 else
4268 as_ln_s='cp -pR'
4270 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4271 rmdir conf$$.dir 2>/dev/null
4274 # as_fn_mkdir_p
4275 # -------------
4276 # Create "$as_dir" as a directory, including parents if necessary.
4277 as_fn_mkdir_p ()
4280 case $as_dir in #(
4281 -*) as_dir=./$as_dir;;
4282 esac
4283 test -d "$as_dir" || eval $as_mkdir_p || {
4284 as_dirs=
4285 while :; do
4286 case $as_dir in #(
4287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4288 *) as_qdir=$as_dir;;
4289 esac
4290 as_dirs="'$as_qdir' $as_dirs"
4291 as_dir=`$as_dirname -- "$as_dir" ||
4292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4293 X"$as_dir" : 'X\(//\)[^/]' \| \
4294 X"$as_dir" : 'X\(//\)$' \| \
4295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4296 $as_echo X"$as_dir" |
4297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4298 s//\1/
4301 /^X\(\/\/\)[^/].*/{
4302 s//\1/
4305 /^X\(\/\/\)$/{
4306 s//\1/
4309 /^X\(\/\).*/{
4310 s//\1/
4313 s/.*/./; q'`
4314 test -d "$as_dir" && break
4315 done
4316 test -z "$as_dirs" || eval "mkdir $as_dirs"
4317 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4320 } # as_fn_mkdir_p
4321 if mkdir -p . 2>/dev/null; then
4322 as_mkdir_p='mkdir -p "$as_dir"'
4323 else
4324 test -d ./-p && rmdir ./-p
4325 as_mkdir_p=false
4329 # as_fn_executable_p FILE
4330 # -----------------------
4331 # Test if FILE is an executable regular file.
4332 as_fn_executable_p ()
4334 test -f "$1" && test -x "$1"
4335 } # as_fn_executable_p
4336 as_test_x='test -x'
4337 as_executable_p=as_fn_executable_p
4339 # Sed expression to map a string onto a valid CPP name.
4340 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4342 # Sed expression to map a string onto a valid variable name.
4343 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4346 exec 6>&1
4347 ## ----------------------------------- ##
4348 ## Main body of $CONFIG_STATUS script. ##
4349 ## ----------------------------------- ##
4350 _ASEOF
4351 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4354 # Save the log message, to keep $0 and so on meaningful, and to
4355 # report actual input values of CONFIG_FILES etc. instead of their
4356 # values after options handling.
4357 ac_log="
4358 This file was extended by $as_me, which was
4359 generated by GNU Autoconf 2.69. Invocation command line was
4361 CONFIG_FILES = $CONFIG_FILES
4362 CONFIG_HEADERS = $CONFIG_HEADERS
4363 CONFIG_LINKS = $CONFIG_LINKS
4364 CONFIG_COMMANDS = $CONFIG_COMMANDS
4365 $ $0 $@
4367 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4370 _ACEOF
4372 case $ac_config_files in *"
4373 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4374 esac
4378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4379 # Files that config.status was made for.
4380 config_files="$ac_config_files"
4382 _ACEOF
4384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4385 ac_cs_usage="\
4386 \`$as_me' instantiates files and other configuration actions
4387 from templates according to the current configuration. Unless the files
4388 and actions are specified as TAGs, all are instantiated by default.
4390 Usage: $0 [OPTION]... [TAG]...
4392 -h, --help print this help, then exit
4393 -V, --version print version number and configuration settings, then exit
4394 --config print configuration, then exit
4395 -q, --quiet, --silent
4396 do not print progress messages
4397 -d, --debug don't remove temporary files
4398 --recheck update $as_me by reconfiguring in the same conditions
4399 --file=FILE[:TEMPLATE]
4400 instantiate the configuration file FILE
4402 Configuration files:
4403 $config_files
4405 Report bugs to the package provider."
4407 _ACEOF
4408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4409 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4410 ac_cs_version="\\
4411 config.status
4412 configured by $0, generated by GNU Autoconf 2.69,
4413 with options \\"\$ac_cs_config\\"
4415 Copyright (C) 2012 Free Software Foundation, Inc.
4416 This config.status script is free software; the Free Software Foundation
4417 gives unlimited permission to copy, distribute and modify it."
4419 ac_pwd='$ac_pwd'
4420 srcdir='$srcdir'
4421 test -n "\$AWK" || AWK=awk
4422 _ACEOF
4424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4425 # The default lists apply if the user does not specify any file.
4426 ac_need_defaults=:
4427 while test $# != 0
4429 case $1 in
4430 --*=?*)
4431 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4432 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4433 ac_shift=:
4435 --*=)
4436 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4437 ac_optarg=
4438 ac_shift=:
4441 ac_option=$1
4442 ac_optarg=$2
4443 ac_shift=shift
4445 esac
4447 case $ac_option in
4448 # Handling of the options.
4449 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4450 ac_cs_recheck=: ;;
4451 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4452 $as_echo "$ac_cs_version"; exit ;;
4453 --config | --confi | --conf | --con | --co | --c )
4454 $as_echo "$ac_cs_config"; exit ;;
4455 --debug | --debu | --deb | --de | --d | -d )
4456 debug=: ;;
4457 --file | --fil | --fi | --f )
4458 $ac_shift
4459 case $ac_optarg in
4460 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4461 '') as_fn_error $? "missing file argument" ;;
4462 esac
4463 as_fn_append CONFIG_FILES " '$ac_optarg'"
4464 ac_need_defaults=false;;
4465 --he | --h | --help | --hel | -h )
4466 $as_echo "$ac_cs_usage"; exit ;;
4467 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4468 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4469 ac_cs_silent=: ;;
4471 # This is an error.
4472 -*) as_fn_error $? "unrecognized option: \`$1'
4473 Try \`$0 --help' for more information." ;;
4475 *) as_fn_append ac_config_targets " $1"
4476 ac_need_defaults=false ;;
4478 esac
4479 shift
4480 done
4482 ac_configure_extra_args=
4484 if $ac_cs_silent; then
4485 exec 6>/dev/null
4486 ac_configure_extra_args="$ac_configure_extra_args --silent"
4489 _ACEOF
4490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4491 if \$ac_cs_recheck; then
4492 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4493 shift
4494 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4495 CONFIG_SHELL='$SHELL'
4496 export CONFIG_SHELL
4497 exec "\$@"
4500 _ACEOF
4501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4502 exec 5>>config.log
4504 echo
4505 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4506 ## Running $as_me. ##
4507 _ASBOX
4508 $as_echo "$ac_log"
4509 } >&5
4511 _ACEOF
4512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4513 _ACEOF
4515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4517 # Handling of arguments.
4518 for ac_config_target in $ac_config_targets
4520 case $ac_config_target in
4521 "${aros_targetcfg_dir}/compiler.cfg") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/compiler.cfg:config/compiler.cfg.in" ;;
4523 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4524 esac
4525 done
4528 # If the user did not use the arguments to specify the items to instantiate,
4529 # then the envvar interface is used. Set only those that are not.
4530 # We use the long form for the default assignment because of an extremely
4531 # bizarre bug on SunOS 4.1.3.
4532 if $ac_need_defaults; then
4533 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4536 # Have a temporary directory for convenience. Make it in the build tree
4537 # simply because there is no reason against having it here, and in addition,
4538 # creating and moving files from /tmp can sometimes cause problems.
4539 # Hook for its removal unless debugging.
4540 # Note that there is a small window in which the directory will not be cleaned:
4541 # after its creation but before its name has been assigned to `$tmp'.
4542 $debug ||
4544 tmp= ac_tmp=
4545 trap 'exit_status=$?
4546 : "${ac_tmp:=$tmp}"
4547 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4549 trap 'as_fn_exit 1' 1 2 13 15
4551 # Create a (secure) tmp directory for tmp files.
4554 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4555 test -d "$tmp"
4556 } ||
4558 tmp=./conf$$-$RANDOM
4559 (umask 077 && mkdir "$tmp")
4560 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4561 ac_tmp=$tmp
4563 # Set up the scripts for CONFIG_FILES section.
4564 # No need to generate them if there are no CONFIG_FILES.
4565 # This happens for instance with `./config.status config.h'.
4566 if test -n "$CONFIG_FILES"; then
4569 ac_cr=`echo X | tr X '\015'`
4570 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4571 # But we know of no other shell where ac_cr would be empty at this
4572 # point, so we can use a bashism as a fallback.
4573 if test "x$ac_cr" = x; then
4574 eval ac_cr=\$\'\\r\'
4576 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4577 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4578 ac_cs_awk_cr='\\r'
4579 else
4580 ac_cs_awk_cr=$ac_cr
4583 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4584 _ACEOF
4588 echo "cat >conf$$subs.awk <<_ACEOF" &&
4589 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4590 echo "_ACEOF"
4591 } >conf$$subs.sh ||
4592 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4593 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4594 ac_delim='%!_!# '
4595 for ac_last_try in false false false false false :; do
4596 . ./conf$$subs.sh ||
4597 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4599 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4600 if test $ac_delim_n = $ac_delim_num; then
4601 break
4602 elif $ac_last_try; then
4603 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4604 else
4605 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4607 done
4608 rm -f conf$$subs.sh
4610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4611 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4612 _ACEOF
4613 sed -n '
4615 s/^/S["/; s/!.*/"]=/
4618 s/^[^!]*!//
4619 :repl
4620 t repl
4621 s/'"$ac_delim"'$//
4622 t delim
4625 s/\(.\{148\}\)..*/\1/
4626 t more1
4627 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4630 b repl
4631 :more1
4632 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4635 s/.\{148\}//
4636 t nl
4637 :delim
4639 s/\(.\{148\}\)..*/\1/
4640 t more2
4641 s/["\\]/\\&/g; s/^/"/; s/$/"/
4644 :more2
4645 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4648 s/.\{148\}//
4649 t delim
4650 ' <conf$$subs.awk | sed '
4651 /^[^""]/{
4653 s/\n//
4655 ' >>$CONFIG_STATUS || ac_write_fail=1
4656 rm -f conf$$subs.awk
4657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4658 _ACAWK
4659 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4660 for (key in S) S_is_set[key] = 1
4661 FS = "\a"
4665 line = $ 0
4666 nfields = split(line, field, "@")
4667 substed = 0
4668 len = length(field[1])
4669 for (i = 2; i < nfields; i++) {
4670 key = field[i]
4671 keylen = length(key)
4672 if (S_is_set[key]) {
4673 value = S[key]
4674 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4675 len += length(value) + length(field[++i])
4676 substed = 1
4677 } else
4678 len += 1 + keylen
4681 print line
4684 _ACAWK
4685 _ACEOF
4686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4687 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4688 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4689 else
4691 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4692 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4693 _ACEOF
4695 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4696 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4697 # trailing colons and then remove the whole line if VPATH becomes empty
4698 # (actually we leave an empty line to preserve line numbers).
4699 if test "x$srcdir" = x.; then
4700 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4702 s///
4703 s/^/:/
4704 s/[ ]*$/:/
4705 s/:\$(srcdir):/:/g
4706 s/:\${srcdir}:/:/g
4707 s/:@srcdir@:/:/g
4708 s/^:*//
4709 s/:*$//
4711 s/\(=[ ]*\).*/\1/
4713 s/\n//
4714 s/^[^=]*=[ ]*$//
4718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4719 fi # test -n "$CONFIG_FILES"
4722 eval set X " :F $CONFIG_FILES "
4723 shift
4724 for ac_tag
4726 case $ac_tag in
4727 :[FHLC]) ac_mode=$ac_tag; continue;;
4728 esac
4729 case $ac_mode$ac_tag in
4730 :[FHL]*:*);;
4731 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4732 :[FH]-) ac_tag=-:-;;
4733 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4734 esac
4735 ac_save_IFS=$IFS
4736 IFS=:
4737 set x $ac_tag
4738 IFS=$ac_save_IFS
4739 shift
4740 ac_file=$1
4741 shift
4743 case $ac_mode in
4744 :L) ac_source=$1;;
4745 :[FH])
4746 ac_file_inputs=
4747 for ac_f
4749 case $ac_f in
4750 -) ac_f="$ac_tmp/stdin";;
4751 *) # Look for the file first in the build tree, then in the source tree
4752 # (if the path is not absolute). The absolute path cannot be DOS-style,
4753 # because $ac_f cannot contain `:'.
4754 test -f "$ac_f" ||
4755 case $ac_f in
4756 [\\/$]*) false;;
4757 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4758 esac ||
4759 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4760 esac
4761 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4762 as_fn_append ac_file_inputs " '$ac_f'"
4763 done
4765 # Let's still pretend it is `configure' which instantiates (i.e., don't
4766 # use $as_me), people would be surprised to read:
4767 # /* config.h. Generated by config.status. */
4768 configure_input='Generated from '`
4769 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4770 `' by configure.'
4771 if test x"$ac_file" != x-; then
4772 configure_input="$ac_file. $configure_input"
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4774 $as_echo "$as_me: creating $ac_file" >&6;}
4776 # Neutralize special characters interpreted by sed in replacement strings.
4777 case $configure_input in #(
4778 *\&* | *\|* | *\\* )
4779 ac_sed_conf_input=`$as_echo "$configure_input" |
4780 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4781 *) ac_sed_conf_input=$configure_input;;
4782 esac
4784 case $ac_tag in
4785 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4786 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4787 esac
4789 esac
4791 ac_dir=`$as_dirname -- "$ac_file" ||
4792 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4793 X"$ac_file" : 'X\(//\)[^/]' \| \
4794 X"$ac_file" : 'X\(//\)$' \| \
4795 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4796 $as_echo X"$ac_file" |
4797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4798 s//\1/
4801 /^X\(\/\/\)[^/].*/{
4802 s//\1/
4805 /^X\(\/\/\)$/{
4806 s//\1/
4809 /^X\(\/\).*/{
4810 s//\1/
4813 s/.*/./; q'`
4814 as_dir="$ac_dir"; as_fn_mkdir_p
4815 ac_builddir=.
4817 case "$ac_dir" in
4818 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4820 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4821 # A ".." for each directory in $ac_dir_suffix.
4822 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4823 case $ac_top_builddir_sub in
4824 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4825 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4826 esac ;;
4827 esac
4828 ac_abs_top_builddir=$ac_pwd
4829 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4830 # for backward compatibility:
4831 ac_top_builddir=$ac_top_build_prefix
4833 case $srcdir in
4834 .) # We are building in place.
4835 ac_srcdir=.
4836 ac_top_srcdir=$ac_top_builddir_sub
4837 ac_abs_top_srcdir=$ac_pwd ;;
4838 [\\/]* | ?:[\\/]* ) # Absolute name.
4839 ac_srcdir=$srcdir$ac_dir_suffix;
4840 ac_top_srcdir=$srcdir
4841 ac_abs_top_srcdir=$srcdir ;;
4842 *) # Relative name.
4843 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4844 ac_top_srcdir=$ac_top_build_prefix$srcdir
4845 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4846 esac
4847 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4850 case $ac_mode in
4853 # CONFIG_FILE
4856 _ACEOF
4858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4859 # If the template does not know about datarootdir, expand it.
4860 # FIXME: This hack should be removed a few years after 2.60.
4861 ac_datarootdir_hack=; ac_datarootdir_seen=
4862 ac_sed_dataroot='
4863 /datarootdir/ {
4867 /@datadir@/p
4868 /@docdir@/p
4869 /@infodir@/p
4870 /@localedir@/p
4871 /@mandir@/p'
4872 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4873 *datarootdir*) ac_datarootdir_seen=yes;;
4874 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4876 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4877 _ACEOF
4878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4879 ac_datarootdir_hack='
4880 s&@datadir@&$datadir&g
4881 s&@docdir@&$docdir&g
4882 s&@infodir@&$infodir&g
4883 s&@localedir@&$localedir&g
4884 s&@mandir@&$mandir&g
4885 s&\\\${datarootdir}&$datarootdir&g' ;;
4886 esac
4887 _ACEOF
4889 # Neutralize VPATH when `$srcdir' = `.'.
4890 # Shell code in configure.ac might set extrasub.
4891 # FIXME: do we really want to maintain this feature?
4892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4893 ac_sed_extra="$ac_vpsub
4894 $extrasub
4895 _ACEOF
4896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4899 s|@configure_input@|$ac_sed_conf_input|;t t
4900 s&@top_builddir@&$ac_top_builddir_sub&;t t
4901 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4902 s&@srcdir@&$ac_srcdir&;t t
4903 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4904 s&@top_srcdir@&$ac_top_srcdir&;t t
4905 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4906 s&@builddir@&$ac_builddir&;t t
4907 s&@abs_builddir@&$ac_abs_builddir&;t t
4908 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4909 $ac_datarootdir_hack
4911 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4912 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4914 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4915 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4916 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4917 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4919 which seems to be undefined. Please make sure it is defined" >&5
4920 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4921 which seems to be undefined. Please make sure it is defined" >&2;}
4923 rm -f "$ac_tmp/stdin"
4924 case $ac_file in
4925 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4926 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4927 esac \
4928 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4933 esac
4935 done # for ac_tag
4938 as_fn_exit 0
4939 _ACEOF
4940 ac_clean_files=$ac_clean_files_save
4942 test $ac_write_fail = 0 ||
4943 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4946 # configure is writing to config.log, and then calls config.status.
4947 # config.status does its own redirection, appending to config.log.
4948 # Unfortunately, on DOS this fails, as config.log is still kept open
4949 # by configure, so config.status won't be able to write to it; its
4950 # output is simply discarded. So we exec the FD to /dev/null,
4951 # effectively closing config.log, so it can be properly (re)opened and
4952 # appended to by config.status. When coming back to configure, we
4953 # need to make the FD available again.
4954 if test "$no_create" != yes; then
4955 ac_cs_success=:
4956 ac_config_status_args=
4957 test "$silent" = yes &&
4958 ac_config_status_args="$ac_config_status_args --quiet"
4959 exec 5>/dev/null
4960 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4961 exec 5>>config.log
4962 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4963 # would make configure fail if this is the last instruction.
4964 $ac_cs_success || as_fn_exit 1
4966 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4968 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}