grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / devs / AHI / configure
blobef5e00662f8a8863fed5c5e11cdd3578ad974c1f
1 #! /bin/sh
2 # From configure.in Revision: 51211 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69.
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19 emulate sh
20 NULLCMD=:
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in #(
27 *posix*) :
28 set -o posix ;; #(
29 *) :
31 esac
35 as_nl='
37 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in #(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
90 # Find who we are. Look in the path if we contain no directory separator.
91 as_myself=
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 # Use a proper internal environment variable to ensure we don't fall
137 # into an infinite loop, continuously re-executing ourselves.
138 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
139 _as_can_reexec=no; export _as_can_reexec;
140 # We cannot yet assume a decent shell, so we have to provide a
141 # neutralization value for shells without unset; and this also
142 # works around shells that cannot unset nonexistent variables.
143 # Preserve -v and -x to the replacement shell.
144 BASH_ENV=/dev/null
145 ENV=/dev/null
146 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 case $- in # ((((
148 *v*x* | *x*v* ) as_opts=-vx ;;
149 *v* ) as_opts=-v ;;
150 *x* ) as_opts=-x ;;
151 * ) as_opts= ;;
152 esac
153 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154 # Admittedly, this is quite paranoid, since all the known shells bail
155 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
159 # We don't want this to propagate to other subprocesses.
160 { _as_can_reexec=; unset _as_can_reexec;}
161 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
163 emulate sh
164 NULLCMD=:
165 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166 # is contrary to our usage. Disable this feature.
167 alias -g '\${1+\"\$@\"}'='\"\$@\"'
168 setopt NO_GLOB_SUBST
169 else
170 case \`(set -o) 2>/dev/null\` in #(
171 *posix*) :
172 set -o posix ;; #(
173 *) :
175 esac
178 as_required="as_fn_return () { (exit \$1); }
179 as_fn_success () { as_fn_return 0; }
180 as_fn_failure () { as_fn_return 1; }
181 as_fn_ret_success () { return 0; }
182 as_fn_ret_failure () { return 1; }
184 exitcode=0
185 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 else
192 exitcode=1; echo positional parameters were not saved.
194 test x\$exitcode = x0 || exit 1
195 test -x / || exit 1"
196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test \$(( 1 + 1 )) = 2 || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
269 $0: including any error possibly output before this
270 $0: message. Then install a modern shell, or manually run
271 $0: the script under such a shell if you do have one."
273 exit 1
277 SHELL=${CONFIG_SHELL-/bin/sh}
278 export SHELL
279 # Unset more variables known to interfere with behavior of common tools.
280 CLICOLOR_FORCE= GREP_OPTIONS=
281 unset CLICOLOR_FORCE GREP_OPTIONS
283 ## --------------------- ##
284 ## M4sh Shell Functions. ##
285 ## --------------------- ##
286 # as_fn_unset VAR
287 # ---------------
288 # Portably unset VAR.
289 as_fn_unset ()
291 { eval $1=; unset $1;}
293 as_unset=as_fn_unset
295 # as_fn_set_status STATUS
296 # -----------------------
297 # Set $? to STATUS, without forking.
298 as_fn_set_status ()
300 return $1
301 } # as_fn_set_status
303 # as_fn_exit STATUS
304 # -----------------
305 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306 as_fn_exit ()
308 set +e
309 as_fn_set_status $1
310 exit $1
311 } # as_fn_exit
313 # as_fn_mkdir_p
314 # -------------
315 # Create "$as_dir" as a directory, including parents if necessary.
316 as_fn_mkdir_p ()
319 case $as_dir in #(
320 -*) as_dir=./$as_dir;;
321 esac
322 test -d "$as_dir" || eval $as_mkdir_p || {
323 as_dirs=
324 while :; do
325 case $as_dir in #(
326 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 *) as_qdir=$as_dir;;
328 esac
329 as_dirs="'$as_qdir' $as_dirs"
330 as_dir=`$as_dirname -- "$as_dir" ||
331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
332 X"$as_dir" : 'X\(//\)[^/]' \| \
333 X"$as_dir" : 'X\(//\)$' \| \
334 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
335 $as_echo X"$as_dir" |
336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
337 s//\1/
340 /^X\(\/\/\)[^/].*/{
341 s//\1/
344 /^X\(\/\/\)$/{
345 s//\1/
348 /^X\(\/\).*/{
349 s//\1/
352 s/.*/./; q'`
353 test -d "$as_dir" && break
354 done
355 test -z "$as_dirs" || eval "mkdir $as_dirs"
356 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359 } # as_fn_mkdir_p
361 # as_fn_executable_p FILE
362 # -----------------------
363 # Test if FILE is an executable regular file.
364 as_fn_executable_p ()
366 test -f "$1" && test -x "$1"
367 } # as_fn_executable_p
368 # as_fn_append VAR VALUE
369 # ----------------------
370 # Append the text in VALUE to the end of the definition contained in VAR. Take
371 # advantage of any shell optimizations that allow amortized linear growth over
372 # repeated appends, instead of the typical quadratic growth present in naive
373 # implementations.
374 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
375 eval 'as_fn_append ()
377 eval $1+=\$2
379 else
380 as_fn_append ()
382 eval $1=\$$1\$2
384 fi # as_fn_append
386 # as_fn_arith ARG...
387 # ------------------
388 # Perform arithmetic evaluation on the ARGs, and store the result in the
389 # global $as_val. Take advantage of shells that can avoid forks. The arguments
390 # must be portable across $(()) and expr.
391 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
392 eval 'as_fn_arith ()
394 as_val=$(( $* ))
396 else
397 as_fn_arith ()
399 as_val=`expr "$@" || test $? -eq 1`
401 fi # as_fn_arith
404 # as_fn_error STATUS ERROR [LINENO LOG_FD]
405 # ----------------------------------------
406 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
407 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
408 # script with STATUS, using 1 if that was 0.
409 as_fn_error ()
411 as_status=$1; test $as_status -eq 0 && as_status=1
412 if test "$4"; then
413 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416 $as_echo "$as_me: error: $2" >&2
417 as_fn_exit $as_status
418 } # as_fn_error
420 if expr a : '\(a\)' >/dev/null 2>&1 &&
421 test "X`expr 00001 : '.*\(...\)'`" = X001; then
422 as_expr=expr
423 else
424 as_expr=false
427 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
428 as_basename=basename
429 else
430 as_basename=false
433 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
434 as_dirname=dirname
435 else
436 as_dirname=false
439 as_me=`$as_basename -- "$0" ||
440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
441 X"$0" : 'X\(//\)$' \| \
442 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 $as_echo X/"$0" |
444 sed '/^.*\/\([^/][^/]*\)\/*$/{
445 s//\1/
448 /^X\/\(\/\/\)$/{
449 s//\1/
452 /^X\/\(\/\).*/{
453 s//\1/
456 s/.*/./; q'`
458 # Avoid depending upon Character Ranges.
459 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
460 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
461 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
462 as_cr_digits='0123456789'
463 as_cr_alnum=$as_cr_Letters$as_cr_digits
466 as_lineno_1=$LINENO as_lineno_1a=$LINENO
467 as_lineno_2=$LINENO as_lineno_2a=$LINENO
468 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
469 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
470 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
471 sed -n '
473 /[$]LINENO/=
474 ' <$as_myself |
475 sed '
476 s/[$]LINENO.*/&-/
477 t lineno
479 :lineno
481 :loop
482 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
483 t loop
484 s/-\n.*//
485 ' >$as_me.lineno &&
486 chmod +x "$as_me.lineno" ||
487 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
490 # already done that, so ensure we don't try to do so again and fall
491 # in an infinite loop. This has already happened in practice.
492 _as_can_reexec=no; export _as_can_reexec
493 # Don't try to exec as it changes $[0], causing all sort of problems
494 # (the dirname of $[0] is not the place where we might find the
495 # original and so on. Autoconf is especially sensitive to this).
496 . "./$as_me.lineno"
497 # Exit status is that of the last command.
498 exit
501 ECHO_C= ECHO_N= ECHO_T=
502 case `echo -n x` in #(((((
503 -n*)
504 case `echo 'xy\c'` in
505 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 xy) ECHO_C='\c';;
507 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
508 ECHO_T=' ';;
509 esac;;
511 ECHO_N='-n';;
512 esac
514 rm -f conf$$ conf$$.exe conf$$.file
515 if test -d conf$$.dir; then
516 rm -f conf$$.dir/conf$$.file
517 else
518 rm -f conf$$.dir
519 mkdir conf$$.dir 2>/dev/null
521 if (echo >conf$$.file) 2>/dev/null; then
522 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 as_ln_s='ln -s'
524 # ... but there are two gotchas:
525 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
526 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
527 # In both cases, we have to default to `cp -pR'.
528 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 as_ln_s='cp -pR'
530 elif ln conf$$.file conf$$ 2>/dev/null; then
531 as_ln_s=ln
532 else
533 as_ln_s='cp -pR'
535 else
536 as_ln_s='cp -pR'
538 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
539 rmdir conf$$.dir 2>/dev/null
541 if mkdir -p . 2>/dev/null; then
542 as_mkdir_p='mkdir -p "$as_dir"'
543 else
544 test -d ./-p && rmdir ./-p
545 as_mkdir_p=false
548 as_test_x='test -x'
549 as_executable_p=as_fn_executable_p
551 # Sed expression to map a string onto a valid CPP name.
552 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554 # Sed expression to map a string onto a valid variable name.
555 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558 test -n "$DJDIR" || exec 7<&0 </dev/null
559 exec 6>&1
561 # Name of the host.
562 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
563 # so uname gets run too.
564 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 # Initializations.
569 ac_default_prefix=/usr/local
570 ac_clean_files=
571 ac_config_libobj_dir=.
572 LIBOBJS=
573 cross_compiling=no
574 subdirs=
575 MFLAGS=
576 MAKEFLAGS=
578 # Identity of this package.
579 PACKAGE_NAME=
580 PACKAGE_TARNAME=
581 PACKAGE_VERSION=
582 PACKAGE_STRING=
583 PACKAGE_BUGREPORT=
584 PACKAGE_URL=
586 ac_unique_file="TODO"
587 ac_default_prefix=/
588 # Factoring default headers for most tests.
589 ac_includes_default="\
590 #include <stdio.h>
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
593 #endif
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
596 #endif
597 #ifdef STDC_HEADERS
598 # include <stdlib.h>
599 # include <stddef.h>
600 #else
601 # ifdef HAVE_STDLIB_H
602 # include <stdlib.h>
603 # endif
604 #endif
605 #ifdef HAVE_STRING_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 # include <memory.h>
608 # endif
609 # include <string.h>
610 #endif
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
613 #endif
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
616 #endif
617 #ifdef HAVE_STDINT_H
618 # include <stdint.h>
619 #endif
620 #ifdef HAVE_UNISTD_H
621 # include <unistd.h>
622 #endif"
624 ac_subst_vars='LTLIBOBJS
625 LIBOBJS
626 HAVE_ALSA
627 HAVE_OPENPCI
628 HAVE_ASMIO
629 HAVE_OSS
630 EGREP
631 GREP
633 OBJEXT
634 EXEEXT
635 ac_ct_CC
636 CPPFLAGS
637 LDFLAGS
638 CFLAGS
640 SFDC
641 FLEXCAT
642 ROBODOC
644 INSTALL_DATA
645 INSTALL_SCRIPT
646 INSTALL_PROGRAM
647 OBJCOPY
648 STRIP
649 RANLIB
653 DISTDIR
654 LDFLAG_RESIDENT
655 CFLAG_RESIDENT
656 STRIPFLAGS
657 ARFLAGS
658 ASFLAGS
659 ENABLE_WARPUP
660 SET_MAKE
661 target_os
662 target_vendor
663 target_cpu
664 target
665 host_os
666 host_vendor
667 host_cpu
668 host
669 build_os
670 build_vendor
671 build_cpu
672 build
673 target_alias
674 host_alias
675 build_alias
676 LIBS
677 ECHO_T
678 ECHO_N
679 ECHO_C
680 DEFS
681 mandir
682 localedir
683 libdir
684 psdir
685 pdfdir
686 dvidir
687 htmldir
688 infodir
689 docdir
690 oldincludedir
691 includedir
692 localstatedir
693 sharedstatedir
694 sysconfdir
695 datadir
696 datarootdir
697 libexecdir
698 sbindir
699 bindir
700 program_transform_name
701 prefix
702 exec_prefix
703 PACKAGE_URL
704 PACKAGE_BUGREPORT
705 PACKAGE_STRING
706 PACKAGE_VERSION
707 PACKAGE_TARNAME
708 PACKAGE_NAME
709 PATH_SEPARATOR
710 SHELL'
711 ac_subst_files=''
712 ac_user_opts='
713 enable_option_checking
714 with_cpu
715 with_os_includedir
716 enable_warpup
718 ac_precious_vars='build_alias
719 host_alias
720 target_alias
722 CFLAGS
723 LDFLAGS
724 LIBS
725 CPPFLAGS
726 CPP'
729 # Initialize some variables set by options.
730 ac_init_help=
731 ac_init_version=false
732 ac_unrecognized_opts=
733 ac_unrecognized_sep=
734 # The variables have the same names as the options, with
735 # dashes changed to underlines.
736 cache_file=/dev/null
737 exec_prefix=NONE
738 no_create=
739 no_recursion=
740 prefix=NONE
741 program_prefix=NONE
742 program_suffix=NONE
743 program_transform_name=s,x,x,
744 silent=
745 site=
746 srcdir=
747 verbose=
748 x_includes=NONE
749 x_libraries=NONE
751 # Installation directory options.
752 # These are left unexpanded so users can "make install exec_prefix=/foo"
753 # and all the variables that are supposed to be based on exec_prefix
754 # by default will actually change.
755 # Use braces instead of parens because sh, perl, etc. also accept them.
756 # (The list follows the same order as the GNU Coding Standards.)
757 bindir='${exec_prefix}/bin'
758 sbindir='${exec_prefix}/sbin'
759 libexecdir='${exec_prefix}/libexec'
760 datarootdir='${prefix}/share'
761 datadir='${datarootdir}'
762 sysconfdir='${prefix}/etc'
763 sharedstatedir='${prefix}/com'
764 localstatedir='${prefix}/var'
765 includedir='${prefix}/include'
766 oldincludedir='/usr/include'
767 docdir='${datarootdir}/doc/${PACKAGE}'
768 infodir='${datarootdir}/info'
769 htmldir='${docdir}'
770 dvidir='${docdir}'
771 pdfdir='${docdir}'
772 psdir='${docdir}'
773 libdir='${exec_prefix}/lib'
774 localedir='${datarootdir}/locale'
775 mandir='${datarootdir}/man'
777 ac_prev=
778 ac_dashdash=
779 for ac_option
781 # If the previous option needs an argument, assign it.
782 if test -n "$ac_prev"; then
783 eval $ac_prev=\$ac_option
784 ac_prev=
785 continue
788 case $ac_option in
789 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
790 *=) ac_optarg= ;;
791 *) ac_optarg=yes ;;
792 esac
794 # Accept the important Cygnus configure options, so we can diagnose typos.
796 case $ac_dashdash$ac_option in
798 ac_dashdash=yes ;;
800 -bindir | --bindir | --bindi | --bind | --bin | --bi)
801 ac_prev=bindir ;;
802 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
803 bindir=$ac_optarg ;;
805 -build | --build | --buil | --bui | --bu)
806 ac_prev=build_alias ;;
807 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
808 build_alias=$ac_optarg ;;
810 -cache-file | --cache-file | --cache-fil | --cache-fi \
811 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
812 ac_prev=cache_file ;;
813 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
814 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
815 cache_file=$ac_optarg ;;
817 --config-cache | -C)
818 cache_file=config.cache ;;
820 -datadir | --datadir | --datadi | --datad)
821 ac_prev=datadir ;;
822 -datadir=* | --datadir=* | --datadi=* | --datad=*)
823 datadir=$ac_optarg ;;
825 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
826 | --dataroo | --dataro | --datar)
827 ac_prev=datarootdir ;;
828 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
829 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
830 datarootdir=$ac_optarg ;;
832 -disable-* | --disable-*)
833 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
834 # Reject names that are not valid shell variable names.
835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
836 as_fn_error $? "invalid feature name: $ac_useropt"
837 ac_useropt_orig=$ac_useropt
838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
839 case $ac_user_opts in
841 "enable_$ac_useropt"
842 "*) ;;
843 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
844 ac_unrecognized_sep=', ';;
845 esac
846 eval enable_$ac_useropt=no ;;
848 -docdir | --docdir | --docdi | --doc | --do)
849 ac_prev=docdir ;;
850 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
851 docdir=$ac_optarg ;;
853 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
854 ac_prev=dvidir ;;
855 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
856 dvidir=$ac_optarg ;;
858 -enable-* | --enable-*)
859 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
860 # Reject names that are not valid shell variable names.
861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
862 as_fn_error $? "invalid feature name: $ac_useropt"
863 ac_useropt_orig=$ac_useropt
864 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
865 case $ac_user_opts in
867 "enable_$ac_useropt"
868 "*) ;;
869 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
870 ac_unrecognized_sep=', ';;
871 esac
872 eval enable_$ac_useropt=\$ac_optarg ;;
874 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
875 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
876 | --exec | --exe | --ex)
877 ac_prev=exec_prefix ;;
878 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
879 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
880 | --exec=* | --exe=* | --ex=*)
881 exec_prefix=$ac_optarg ;;
883 -gas | --gas | --ga | --g)
884 # Obsolete; use --with-gas.
885 with_gas=yes ;;
887 -help | --help | --hel | --he | -h)
888 ac_init_help=long ;;
889 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
890 ac_init_help=recursive ;;
891 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
892 ac_init_help=short ;;
894 -host | --host | --hos | --ho)
895 ac_prev=host_alias ;;
896 -host=* | --host=* | --hos=* | --ho=*)
897 host_alias=$ac_optarg ;;
899 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
900 ac_prev=htmldir ;;
901 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
902 | --ht=*)
903 htmldir=$ac_optarg ;;
905 -includedir | --includedir | --includedi | --included | --include \
906 | --includ | --inclu | --incl | --inc)
907 ac_prev=includedir ;;
908 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
909 | --includ=* | --inclu=* | --incl=* | --inc=*)
910 includedir=$ac_optarg ;;
912 -infodir | --infodir | --infodi | --infod | --info | --inf)
913 ac_prev=infodir ;;
914 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
915 infodir=$ac_optarg ;;
917 -libdir | --libdir | --libdi | --libd)
918 ac_prev=libdir ;;
919 -libdir=* | --libdir=* | --libdi=* | --libd=*)
920 libdir=$ac_optarg ;;
922 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
923 | --libexe | --libex | --libe)
924 ac_prev=libexecdir ;;
925 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
926 | --libexe=* | --libex=* | --libe=*)
927 libexecdir=$ac_optarg ;;
929 -localedir | --localedir | --localedi | --localed | --locale)
930 ac_prev=localedir ;;
931 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
932 localedir=$ac_optarg ;;
934 -localstatedir | --localstatedir | --localstatedi | --localstated \
935 | --localstate | --localstat | --localsta | --localst | --locals)
936 ac_prev=localstatedir ;;
937 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
938 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
939 localstatedir=$ac_optarg ;;
941 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
942 ac_prev=mandir ;;
943 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
944 mandir=$ac_optarg ;;
946 -nfp | --nfp | --nf)
947 # Obsolete; use --without-fp.
948 with_fp=no ;;
950 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
951 | --no-cr | --no-c | -n)
952 no_create=yes ;;
954 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
955 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
956 no_recursion=yes ;;
958 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
959 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
960 | --oldin | --oldi | --old | --ol | --o)
961 ac_prev=oldincludedir ;;
962 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
963 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
964 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
965 oldincludedir=$ac_optarg ;;
967 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
968 ac_prev=prefix ;;
969 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
970 prefix=$ac_optarg ;;
972 -program-prefix | --program-prefix | --program-prefi | --program-pref \
973 | --program-pre | --program-pr | --program-p)
974 ac_prev=program_prefix ;;
975 -program-prefix=* | --program-prefix=* | --program-prefi=* \
976 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
977 program_prefix=$ac_optarg ;;
979 -program-suffix | --program-suffix | --program-suffi | --program-suff \
980 | --program-suf | --program-su | --program-s)
981 ac_prev=program_suffix ;;
982 -program-suffix=* | --program-suffix=* | --program-suffi=* \
983 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
984 program_suffix=$ac_optarg ;;
986 -program-transform-name | --program-transform-name \
987 | --program-transform-nam | --program-transform-na \
988 | --program-transform-n | --program-transform- \
989 | --program-transform | --program-transfor \
990 | --program-transfo | --program-transf \
991 | --program-trans | --program-tran \
992 | --progr-tra | --program-tr | --program-t)
993 ac_prev=program_transform_name ;;
994 -program-transform-name=* | --program-transform-name=* \
995 | --program-transform-nam=* | --program-transform-na=* \
996 | --program-transform-n=* | --program-transform-=* \
997 | --program-transform=* | --program-transfor=* \
998 | --program-transfo=* | --program-transf=* \
999 | --program-trans=* | --program-tran=* \
1000 | --progr-tra=* | --program-tr=* | --program-t=*)
1001 program_transform_name=$ac_optarg ;;
1003 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1004 ac_prev=pdfdir ;;
1005 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1006 pdfdir=$ac_optarg ;;
1008 -psdir | --psdir | --psdi | --psd | --ps)
1009 ac_prev=psdir ;;
1010 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1011 psdir=$ac_optarg ;;
1013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1014 | -silent | --silent | --silen | --sile | --sil)
1015 silent=yes ;;
1017 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1018 ac_prev=sbindir ;;
1019 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1020 | --sbi=* | --sb=*)
1021 sbindir=$ac_optarg ;;
1023 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1024 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1025 | --sharedst | --shareds | --shared | --share | --shar \
1026 | --sha | --sh)
1027 ac_prev=sharedstatedir ;;
1028 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1029 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1030 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1031 | --sha=* | --sh=*)
1032 sharedstatedir=$ac_optarg ;;
1034 -site | --site | --sit)
1035 ac_prev=site ;;
1036 -site=* | --site=* | --sit=*)
1037 site=$ac_optarg ;;
1039 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1040 ac_prev=srcdir ;;
1041 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1042 srcdir=$ac_optarg ;;
1044 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1045 | --syscon | --sysco | --sysc | --sys | --sy)
1046 ac_prev=sysconfdir ;;
1047 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1048 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1049 sysconfdir=$ac_optarg ;;
1051 -target | --target | --targe | --targ | --tar | --ta | --t)
1052 ac_prev=target_alias ;;
1053 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1054 target_alias=$ac_optarg ;;
1056 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1057 verbose=yes ;;
1059 -version | --version | --versio | --versi | --vers | -V)
1060 ac_init_version=: ;;
1062 -with-* | --with-*)
1063 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1066 as_fn_error $? "invalid package name: $ac_useropt"
1067 ac_useropt_orig=$ac_useropt
1068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1071 "with_$ac_useropt"
1072 "*) ;;
1073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1074 ac_unrecognized_sep=', ';;
1075 esac
1076 eval with_$ac_useropt=\$ac_optarg ;;
1078 -without-* | --without-*)
1079 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1082 as_fn_error $? "invalid package name: $ac_useropt"
1083 ac_useropt_orig=$ac_useropt
1084 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1087 "with_$ac_useropt"
1088 "*) ;;
1089 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1090 ac_unrecognized_sep=', ';;
1091 esac
1092 eval with_$ac_useropt=no ;;
1094 --x)
1095 # Obsolete; use --with-x.
1096 with_x=yes ;;
1098 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1099 | --x-incl | --x-inc | --x-in | --x-i)
1100 ac_prev=x_includes ;;
1101 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1102 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1103 x_includes=$ac_optarg ;;
1105 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1106 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1107 ac_prev=x_libraries ;;
1108 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1109 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1110 x_libraries=$ac_optarg ;;
1112 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1113 Try \`$0 --help' for more information"
1116 *=*)
1117 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1118 # Reject names that are not valid shell variable names.
1119 case $ac_envvar in #(
1120 '' | [0-9]* | *[!_$as_cr_alnum]* )
1121 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1122 esac
1123 eval $ac_envvar=\$ac_optarg
1124 export $ac_envvar ;;
1127 # FIXME: should be removed in autoconf 3.0.
1128 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1129 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1130 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1131 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1134 esac
1135 done
1137 if test -n "$ac_prev"; then
1138 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1139 as_fn_error $? "missing argument to $ac_option"
1142 if test -n "$ac_unrecognized_opts"; then
1143 case $enable_option_checking in
1144 no) ;;
1145 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1146 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1147 esac
1150 # Check all directory arguments for consistency.
1151 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1152 datadir sysconfdir sharedstatedir localstatedir includedir \
1153 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1154 libdir localedir mandir
1156 eval ac_val=\$$ac_var
1157 # Remove trailing slashes.
1158 case $ac_val in
1159 */ )
1160 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1161 eval $ac_var=\$ac_val;;
1162 esac
1163 # Be sure to have absolute directory names.
1164 case $ac_val in
1165 [\\/$]* | ?:[\\/]* ) continue;;
1166 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1167 esac
1168 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1169 done
1171 # There might be people who depend on the old broken behavior: `$host'
1172 # used to hold the argument of --host etc.
1173 # FIXME: To remove some day.
1174 build=$build_alias
1175 host=$host_alias
1176 target=$target_alias
1178 # FIXME: To remove some day.
1179 if test "x$host_alias" != x; then
1180 if test "x$build_alias" = x; then
1181 cross_compiling=maybe
1182 elif test "x$build_alias" != "x$host_alias"; then
1183 cross_compiling=yes
1187 ac_tool_prefix=
1188 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1190 test "$silent" = yes && exec 6>/dev/null
1193 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1194 ac_ls_di=`ls -di .` &&
1195 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1196 as_fn_error $? "working directory cannot be determined"
1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1198 as_fn_error $? "pwd does not report name of working directory"
1201 # Find the source files, if location was not specified.
1202 if test -z "$srcdir"; then
1203 ac_srcdir_defaulted=yes
1204 # Try the directory containing this script, then the parent directory.
1205 ac_confdir=`$as_dirname -- "$as_myself" ||
1206 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1207 X"$as_myself" : 'X\(//\)[^/]' \| \
1208 X"$as_myself" : 'X\(//\)$' \| \
1209 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1210 $as_echo X"$as_myself" |
1211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1212 s//\1/
1215 /^X\(\/\/\)[^/].*/{
1216 s//\1/
1219 /^X\(\/\/\)$/{
1220 s//\1/
1223 /^X\(\/\).*/{
1224 s//\1/
1227 s/.*/./; q'`
1228 srcdir=$ac_confdir
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1230 srcdir=..
1232 else
1233 ac_srcdir_defaulted=no
1235 if test ! -r "$srcdir/$ac_unique_file"; then
1236 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1237 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1239 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1240 ac_abs_confdir=`(
1241 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1242 pwd)`
1243 # When building in place, set srcdir=.
1244 if test "$ac_abs_confdir" = "$ac_pwd"; then
1245 srcdir=.
1247 # Remove unnecessary trailing slashes from srcdir.
1248 # Double slashes in file names in object file debugging info
1249 # mess up M-x gdb in Emacs.
1250 case $srcdir in
1251 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1252 esac
1253 for ac_var in $ac_precious_vars; do
1254 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1255 eval ac_env_${ac_var}_value=\$${ac_var}
1256 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1257 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1258 done
1261 # Report the --help message.
1263 if test "$ac_init_help" = "long"; then
1264 # Omit some internal or obsolete options to make the list less imposing.
1265 # This message is too long to be a string in the A/UX 3.1 sh.
1266 cat <<_ACEOF
1267 \`configure' configures this package to adapt to many kinds of systems.
1269 Usage: $0 [OPTION]... [VAR=VALUE]...
1271 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1272 VAR=VALUE. See below for descriptions of some of the useful variables.
1274 Defaults for the options are specified in brackets.
1276 Configuration:
1277 -h, --help display this help and exit
1278 --help=short display options specific to this package
1279 --help=recursive display the short help of all the included packages
1280 -V, --version display version information and exit
1281 -q, --quiet, --silent do not print \`checking ...' messages
1282 --cache-file=FILE cache test results in FILE [disabled]
1283 -C, --config-cache alias for \`--cache-file=config.cache'
1284 -n, --no-create do not create output files
1285 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1287 Installation directories:
1288 --prefix=PREFIX install architecture-independent files in PREFIX
1289 [$ac_default_prefix]
1290 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1291 [PREFIX]
1293 By default, \`make install' will install all the files in
1294 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1295 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1296 for instance \`--prefix=\$HOME'.
1298 For better control, use the options below.
1300 Fine tuning of the installation directories:
1301 --bindir=DIR user executables [EPREFIX/bin]
1302 --sbindir=DIR system admin executables [EPREFIX/sbin]
1303 --libexecdir=DIR program executables [EPREFIX/libexec]
1304 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1305 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1306 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1307 --libdir=DIR object code libraries [EPREFIX/lib]
1308 --includedir=DIR C header files [PREFIX/include]
1309 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1310 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1311 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1312 --infodir=DIR info documentation [DATAROOTDIR/info]
1313 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1314 --mandir=DIR man documentation [DATAROOTDIR/man]
1315 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1316 --htmldir=DIR html documentation [DOCDIR]
1317 --dvidir=DIR dvi documentation [DOCDIR]
1318 --pdfdir=DIR pdf documentation [DOCDIR]
1319 --psdir=DIR ps documentation [DOCDIR]
1320 _ACEOF
1322 cat <<\_ACEOF
1324 System types:
1325 --build=BUILD configure for building on BUILD [guessed]
1326 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1327 --target=TARGET configure for building compilers for TARGET [HOST]
1328 _ACEOF
1331 if test -n "$ac_init_help"; then
1333 cat <<\_ACEOF
1335 Optional Features:
1336 --disable-option-checking ignore unrecognized --enable/--with options
1337 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1338 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1339 --enable-warpup Enable WarpUp support
1341 Optional Packages:
1342 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1343 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1344 --with-cpu The CPU to optimize for
1345 --with-os-includedir Path to AmigaOS include directory
1347 Some influential environment variables:
1348 CC C compiler command
1349 CFLAGS C compiler flags
1350 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1351 nonstandard directory <lib dir>
1352 LIBS libraries to pass to the linker, e.g. -l<library>
1353 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1354 you have headers in a nonstandard directory <include dir>
1355 CPP C preprocessor
1357 Use these variables to override the choices made by `configure' or to help
1358 it to find libraries and programs with nonstandard names/locations.
1360 Report bugs to the package provider.
1361 _ACEOF
1362 ac_status=$?
1365 if test "$ac_init_help" = "recursive"; then
1366 # If there are subdirs, report their specific --help.
1367 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1368 test -d "$ac_dir" ||
1369 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1370 continue
1371 ac_builddir=.
1373 case "$ac_dir" in
1374 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1376 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1377 # A ".." for each directory in $ac_dir_suffix.
1378 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1379 case $ac_top_builddir_sub in
1380 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1381 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1382 esac ;;
1383 esac
1384 ac_abs_top_builddir=$ac_pwd
1385 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1386 # for backward compatibility:
1387 ac_top_builddir=$ac_top_build_prefix
1389 case $srcdir in
1390 .) # We are building in place.
1391 ac_srcdir=.
1392 ac_top_srcdir=$ac_top_builddir_sub
1393 ac_abs_top_srcdir=$ac_pwd ;;
1394 [\\/]* | ?:[\\/]* ) # Absolute name.
1395 ac_srcdir=$srcdir$ac_dir_suffix;
1396 ac_top_srcdir=$srcdir
1397 ac_abs_top_srcdir=$srcdir ;;
1398 *) # Relative name.
1399 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1400 ac_top_srcdir=$ac_top_build_prefix$srcdir
1401 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1402 esac
1403 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1405 cd "$ac_dir" || { ac_status=$?; continue; }
1406 # Check for guested configure.
1407 if test -f "$ac_srcdir/configure.gnu"; then
1408 echo &&
1409 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1410 elif test -f "$ac_srcdir/configure"; then
1411 echo &&
1412 $SHELL "$ac_srcdir/configure" --help=recursive
1413 else
1414 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1415 fi || ac_status=$?
1416 cd "$ac_pwd" || { ac_status=$?; break; }
1417 done
1420 test -n "$ac_init_help" && exit $ac_status
1421 if $ac_init_version; then
1422 cat <<\_ACEOF
1423 configure
1424 generated by GNU Autoconf 2.69
1426 Copyright (C) 2012 Free Software Foundation, Inc.
1427 This configure script is free software; the Free Software Foundation
1428 gives unlimited permission to copy, distribute and modify it.
1429 _ACEOF
1430 exit
1433 ## ------------------------ ##
1434 ## Autoconf initialization. ##
1435 ## ------------------------ ##
1437 # ac_fn_c_try_compile LINENO
1438 # --------------------------
1439 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1440 ac_fn_c_try_compile ()
1442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1443 rm -f conftest.$ac_objext
1444 if { { ac_try="$ac_compile"
1445 case "(($ac_try" in
1446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1447 *) ac_try_echo=$ac_try;;
1448 esac
1449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1450 $as_echo "$ac_try_echo"; } >&5
1451 (eval "$ac_compile") 2>conftest.err
1452 ac_status=$?
1453 if test -s conftest.err; then
1454 grep -v '^ *+' conftest.err >conftest.er1
1455 cat conftest.er1 >&5
1456 mv -f conftest.er1 conftest.err
1458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1459 test $ac_status = 0; } && {
1460 test -z "$ac_c_werror_flag" ||
1461 test ! -s conftest.err
1462 } && test -s conftest.$ac_objext; then :
1463 ac_retval=0
1464 else
1465 $as_echo "$as_me: failed program was:" >&5
1466 sed 's/^/| /' conftest.$ac_ext >&5
1468 ac_retval=1
1470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1471 as_fn_set_status $ac_retval
1473 } # ac_fn_c_try_compile
1475 # ac_fn_c_try_link LINENO
1476 # -----------------------
1477 # Try to link conftest.$ac_ext, and return whether this succeeded.
1478 ac_fn_c_try_link ()
1480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1481 rm -f conftest.$ac_objext conftest$ac_exeext
1482 if { { ac_try="$ac_link"
1483 case "(($ac_try" in
1484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1485 *) ac_try_echo=$ac_try;;
1486 esac
1487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1488 $as_echo "$ac_try_echo"; } >&5
1489 (eval "$ac_link") 2>conftest.err
1490 ac_status=$?
1491 if test -s conftest.err; then
1492 grep -v '^ *+' conftest.err >conftest.er1
1493 cat conftest.er1 >&5
1494 mv -f conftest.er1 conftest.err
1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497 test $ac_status = 0; } && {
1498 test -z "$ac_c_werror_flag" ||
1499 test ! -s conftest.err
1500 } && test -s conftest$ac_exeext && {
1501 test "$cross_compiling" = yes ||
1502 test -x conftest$ac_exeext
1503 }; then :
1504 ac_retval=0
1505 else
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.$ac_ext >&5
1509 ac_retval=1
1511 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1512 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1513 # interfere with the next link command; also delete a directory that is
1514 # left behind by Apple's compiler. We do this before executing the actions.
1515 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1517 as_fn_set_status $ac_retval
1519 } # ac_fn_c_try_link
1521 # ac_fn_c_try_cpp LINENO
1522 # ----------------------
1523 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1524 ac_fn_c_try_cpp ()
1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527 if { { ac_try="$ac_cpp conftest.$ac_ext"
1528 case "(($ac_try" in
1529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1530 *) ac_try_echo=$ac_try;;
1531 esac
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1535 ac_status=$?
1536 if test -s conftest.err; then
1537 grep -v '^ *+' conftest.err >conftest.er1
1538 cat conftest.er1 >&5
1539 mv -f conftest.er1 conftest.err
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 test $ac_status = 0; } > conftest.i && {
1543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1544 test ! -s conftest.err
1545 }; then :
1546 ac_retval=0
1547 else
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1551 ac_retval=1
1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554 as_fn_set_status $ac_retval
1556 } # ac_fn_c_try_cpp
1558 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1559 # -------------------------------------------------------
1560 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1561 # the include files in INCLUDES and setting the cache variable VAR
1562 # accordingly.
1563 ac_fn_c_check_header_mongrel ()
1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 if eval \${$3+:} false; then :
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1568 $as_echo_n "checking for $2... " >&6; }
1569 if eval \${$3+:} false; then :
1570 $as_echo_n "(cached) " >&6
1572 eval ac_res=\$$3
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1574 $as_echo "$ac_res" >&6; }
1575 else
1576 # Is the header compilable?
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1578 $as_echo_n "checking $2 usability... " >&6; }
1579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1580 /* end confdefs.h. */
1582 #include <$2>
1583 _ACEOF
1584 if ac_fn_c_try_compile "$LINENO"; then :
1585 ac_header_compiler=yes
1586 else
1587 ac_header_compiler=no
1589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1591 $as_echo "$ac_header_compiler" >&6; }
1593 # Is the header present?
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1595 $as_echo_n "checking $2 presence... " >&6; }
1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1597 /* end confdefs.h. */
1598 #include <$2>
1599 _ACEOF
1600 if ac_fn_c_try_cpp "$LINENO"; then :
1601 ac_header_preproc=yes
1602 else
1603 ac_header_preproc=no
1605 rm -f conftest.err conftest.i conftest.$ac_ext
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1607 $as_echo "$ac_header_preproc" >&6; }
1609 # So? What about this header?
1610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1611 yes:no: )
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1613 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1615 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1617 no:yes:* )
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1619 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1621 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1623 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1625 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1627 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1629 esac
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1631 $as_echo_n "checking for $2... " >&6; }
1632 if eval \${$3+:} false; then :
1633 $as_echo_n "(cached) " >&6
1634 else
1635 eval "$3=\$ac_header_compiler"
1637 eval ac_res=\$$3
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1639 $as_echo "$ac_res" >&6; }
1641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 } # ac_fn_c_check_header_mongrel
1645 # ac_fn_c_try_run LINENO
1646 # ----------------------
1647 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1648 # that executables *can* be run.
1649 ac_fn_c_try_run ()
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 if { { ac_try="$ac_link"
1653 case "(($ac_try" in
1654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655 *) ac_try_echo=$ac_try;;
1656 esac
1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659 (eval "$ac_link") 2>&5
1660 ac_status=$?
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1663 { { case "(($ac_try" in
1664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665 *) ac_try_echo=$ac_try;;
1666 esac
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_try") 2>&5
1670 ac_status=$?
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; }; }; then :
1673 ac_retval=0
1674 else
1675 $as_echo "$as_me: program exited with status $ac_status" >&5
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1679 ac_retval=$ac_status
1681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status $ac_retval
1685 } # ac_fn_c_try_run
1687 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1688 # -------------------------------------------------------
1689 # Tests whether HEADER exists and can be compiled using the include files in
1690 # INCLUDES, setting the cache variable VAR accordingly.
1691 ac_fn_c_check_header_compile ()
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if eval \${$3+:} false; then :
1697 $as_echo_n "(cached) " >&6
1698 else
1699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h. */
1702 #include <$2>
1703 _ACEOF
1704 if ac_fn_c_try_compile "$LINENO"; then :
1705 eval "$3=yes"
1706 else
1707 eval "$3=no"
1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1711 eval ac_res=\$$3
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 } # ac_fn_c_check_header_compile
1717 cat >config.log <<_ACEOF
1718 This file contains any messages produced by compilers while
1719 running configure, to aid debugging if configure makes a mistake.
1721 It was created by $as_me, which was
1722 generated by GNU Autoconf 2.69. Invocation command line was
1724 $ $0 $@
1726 _ACEOF
1727 exec 5>>config.log
1729 cat <<_ASUNAME
1730 ## --------- ##
1731 ## Platform. ##
1732 ## --------- ##
1734 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1735 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1736 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1737 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1738 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1740 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1741 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1743 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1744 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1745 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1746 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1747 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1748 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1749 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1751 _ASUNAME
1753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1754 for as_dir in $PATH
1756 IFS=$as_save_IFS
1757 test -z "$as_dir" && as_dir=.
1758 $as_echo "PATH: $as_dir"
1759 done
1760 IFS=$as_save_IFS
1762 } >&5
1764 cat >&5 <<_ACEOF
1767 ## ----------- ##
1768 ## Core tests. ##
1769 ## ----------- ##
1771 _ACEOF
1774 # Keep a trace of the command line.
1775 # Strip out --no-create and --no-recursion so they do not pile up.
1776 # Strip out --silent because we don't want to record it for future runs.
1777 # Also quote any args containing shell meta-characters.
1778 # Make two passes to allow for proper duplicate-argument suppression.
1779 ac_configure_args=
1780 ac_configure_args0=
1781 ac_configure_args1=
1782 ac_must_keep_next=false
1783 for ac_pass in 1 2
1785 for ac_arg
1787 case $ac_arg in
1788 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1789 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1790 | -silent | --silent | --silen | --sile | --sil)
1791 continue ;;
1792 *\'*)
1793 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1794 esac
1795 case $ac_pass in
1796 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1798 as_fn_append ac_configure_args1 " '$ac_arg'"
1799 if test $ac_must_keep_next = true; then
1800 ac_must_keep_next=false # Got value, back to normal.
1801 else
1802 case $ac_arg in
1803 *=* | --config-cache | -C | -disable-* | --disable-* \
1804 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1805 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1806 | -with-* | --with-* | -without-* | --without-* | --x)
1807 case "$ac_configure_args0 " in
1808 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1809 esac
1811 -* ) ac_must_keep_next=true ;;
1812 esac
1814 as_fn_append ac_configure_args " '$ac_arg'"
1816 esac
1817 done
1818 done
1819 { ac_configure_args0=; unset ac_configure_args0;}
1820 { ac_configure_args1=; unset ac_configure_args1;}
1822 # When interrupted or exit'd, cleanup temporary files, and complete
1823 # config.log. We remove comments because anyway the quotes in there
1824 # would cause problems or look ugly.
1825 # WARNING: Use '\'' to represent an apostrophe within the trap.
1826 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1827 trap 'exit_status=$?
1828 # Save into config.log some information that might help in debugging.
1830 echo
1832 $as_echo "## ---------------- ##
1833 ## Cache variables. ##
1834 ## ---------------- ##"
1835 echo
1836 # The following way of writing the cache mishandles newlines in values,
1838 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1839 eval ac_val=\$$ac_var
1840 case $ac_val in #(
1841 *${as_nl}*)
1842 case $ac_var in #(
1843 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1844 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1845 esac
1846 case $ac_var in #(
1847 _ | IFS | as_nl) ;; #(
1848 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1849 *) { eval $ac_var=; unset $ac_var;} ;;
1850 esac ;;
1851 esac
1852 done
1853 (set) 2>&1 |
1854 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1855 *${as_nl}ac_space=\ *)
1856 sed -n \
1857 "s/'\''/'\''\\\\'\'''\''/g;
1858 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1859 ;; #(
1861 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1863 esac |
1864 sort
1866 echo
1868 $as_echo "## ----------------- ##
1869 ## Output variables. ##
1870 ## ----------------- ##"
1871 echo
1872 for ac_var in $ac_subst_vars
1874 eval ac_val=\$$ac_var
1875 case $ac_val in
1876 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1877 esac
1878 $as_echo "$ac_var='\''$ac_val'\''"
1879 done | sort
1880 echo
1882 if test -n "$ac_subst_files"; then
1883 $as_echo "## ------------------- ##
1884 ## File substitutions. ##
1885 ## ------------------- ##"
1886 echo
1887 for ac_var in $ac_subst_files
1889 eval ac_val=\$$ac_var
1890 case $ac_val in
1891 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1892 esac
1893 $as_echo "$ac_var='\''$ac_val'\''"
1894 done | sort
1895 echo
1898 if test -s confdefs.h; then
1899 $as_echo "## ----------- ##
1900 ## confdefs.h. ##
1901 ## ----------- ##"
1902 echo
1903 cat confdefs.h
1904 echo
1906 test "$ac_signal" != 0 &&
1907 $as_echo "$as_me: caught signal $ac_signal"
1908 $as_echo "$as_me: exit $exit_status"
1909 } >&5
1910 rm -f core *.core core.conftest.* &&
1911 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1912 exit $exit_status
1914 for ac_signal in 1 2 13 15; do
1915 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1916 done
1917 ac_signal=0
1919 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1920 rm -f -r conftest* confdefs.h
1922 $as_echo "/* confdefs.h */" > confdefs.h
1924 # Predefined preprocessor variables.
1926 cat >>confdefs.h <<_ACEOF
1927 #define PACKAGE_NAME "$PACKAGE_NAME"
1928 _ACEOF
1930 cat >>confdefs.h <<_ACEOF
1931 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1932 _ACEOF
1934 cat >>confdefs.h <<_ACEOF
1935 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1936 _ACEOF
1938 cat >>confdefs.h <<_ACEOF
1939 #define PACKAGE_STRING "$PACKAGE_STRING"
1940 _ACEOF
1942 cat >>confdefs.h <<_ACEOF
1943 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1944 _ACEOF
1946 cat >>confdefs.h <<_ACEOF
1947 #define PACKAGE_URL "$PACKAGE_URL"
1948 _ACEOF
1951 # Let the site file select an alternate cache file if it wants to.
1952 # Prefer an explicitly selected file to automatically selected ones.
1953 ac_site_file1=NONE
1954 ac_site_file2=NONE
1955 if test -n "$CONFIG_SITE"; then
1956 # We do not want a PATH search for config.site.
1957 case $CONFIG_SITE in #((
1958 -*) ac_site_file1=./$CONFIG_SITE;;
1959 */*) ac_site_file1=$CONFIG_SITE;;
1960 *) ac_site_file1=./$CONFIG_SITE;;
1961 esac
1962 elif test "x$prefix" != xNONE; then
1963 ac_site_file1=$prefix/share/config.site
1964 ac_site_file2=$prefix/etc/config.site
1965 else
1966 ac_site_file1=$ac_default_prefix/share/config.site
1967 ac_site_file2=$ac_default_prefix/etc/config.site
1969 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1971 test "x$ac_site_file" = xNONE && continue
1972 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1974 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1975 sed 's/^/| /' "$ac_site_file" >&5
1976 . "$ac_site_file" \
1977 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1979 as_fn_error $? "failed to load site script $ac_site_file
1980 See \`config.log' for more details" "$LINENO" 5; }
1982 done
1984 if test -r "$cache_file"; then
1985 # Some versions of bash will fail to source /dev/null (special files
1986 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1987 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1989 $as_echo "$as_me: loading cache $cache_file" >&6;}
1990 case $cache_file in
1991 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1992 *) . "./$cache_file";;
1993 esac
1995 else
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1997 $as_echo "$as_me: creating cache $cache_file" >&6;}
1998 >$cache_file
2001 # Check that the precious variables saved in the cache have kept the same
2002 # value.
2003 ac_cache_corrupted=false
2004 for ac_var in $ac_precious_vars; do
2005 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2006 eval ac_new_set=\$ac_env_${ac_var}_set
2007 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2008 eval ac_new_val=\$ac_env_${ac_var}_value
2009 case $ac_old_set,$ac_new_set in
2010 set,)
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2012 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2013 ac_cache_corrupted=: ;;
2014 ,set)
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2016 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2017 ac_cache_corrupted=: ;;
2018 ,);;
2020 if test "x$ac_old_val" != "x$ac_new_val"; then
2021 # differences in whitespace do not lead to failure.
2022 ac_old_val_w=`echo x $ac_old_val`
2023 ac_new_val_w=`echo x $ac_new_val`
2024 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2026 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2027 ac_cache_corrupted=:
2028 else
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2030 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2031 eval $ac_var=\$ac_old_val
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2034 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2036 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2037 fi;;
2038 esac
2039 # Pass precious variables to config.status.
2040 if test "$ac_new_set" = set; then
2041 case $ac_new_val in
2042 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2043 *) ac_arg=$ac_var=$ac_new_val ;;
2044 esac
2045 case " $ac_configure_args " in
2046 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2047 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2048 esac
2050 done
2051 if $ac_cache_corrupted; then
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2055 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2056 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2058 ## -------------------- ##
2059 ## Main body of script. ##
2060 ## -------------------- ##
2062 ac_ext=c
2063 ac_cpp='$CPP $CPPFLAGS'
2064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2072 ac_aux_dir=
2073 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2074 if test -f "$ac_dir/install-sh"; then
2075 ac_aux_dir=$ac_dir
2076 ac_install_sh="$ac_aux_dir/install-sh -c"
2077 break
2078 elif test -f "$ac_dir/install.sh"; then
2079 ac_aux_dir=$ac_dir
2080 ac_install_sh="$ac_aux_dir/install.sh -c"
2081 break
2082 elif test -f "$ac_dir/shtool"; then
2083 ac_aux_dir=$ac_dir
2084 ac_install_sh="$ac_aux_dir/shtool install -c"
2085 break
2087 done
2088 if test -z "$ac_aux_dir"; then
2089 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2092 # These three variables are undocumented and unsupported,
2093 # and are intended to be withdrawn in a future Autoconf release.
2094 # They can cause serious problems if a builder's source tree is in a directory
2095 # whose full name contains unusual characters.
2096 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2097 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2098 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2101 # Make sure we can run config.sub.
2102 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2103 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2106 $as_echo_n "checking build system type... " >&6; }
2107 if ${ac_cv_build+:} false; then :
2108 $as_echo_n "(cached) " >&6
2109 else
2110 ac_build_alias=$build_alias
2111 test "x$ac_build_alias" = x &&
2112 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2113 test "x$ac_build_alias" = x &&
2114 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2115 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2116 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2120 $as_echo "$ac_cv_build" >&6; }
2121 case $ac_cv_build in
2122 *-*-*) ;;
2123 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2124 esac
2125 build=$ac_cv_build
2126 ac_save_IFS=$IFS; IFS='-'
2127 set x $ac_cv_build
2128 shift
2129 build_cpu=$1
2130 build_vendor=$2
2131 shift; shift
2132 # Remember, the first character of IFS is used to create $*,
2133 # except with old shells:
2134 build_os=$*
2135 IFS=$ac_save_IFS
2136 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2140 $as_echo_n "checking host system type... " >&6; }
2141 if ${ac_cv_host+:} false; then :
2142 $as_echo_n "(cached) " >&6
2143 else
2144 if test "x$host_alias" = x; then
2145 ac_cv_host=$ac_cv_build
2146 else
2147 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2148 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2153 $as_echo "$ac_cv_host" >&6; }
2154 case $ac_cv_host in
2155 *-*-*) ;;
2156 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2157 esac
2158 host=$ac_cv_host
2159 ac_save_IFS=$IFS; IFS='-'
2160 set x $ac_cv_host
2161 shift
2162 host_cpu=$1
2163 host_vendor=$2
2164 shift; shift
2165 # Remember, the first character of IFS is used to create $*,
2166 # except with old shells:
2167 host_os=$*
2168 IFS=$ac_save_IFS
2169 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2173 $as_echo_n "checking target system type... " >&6; }
2174 if ${ac_cv_target+:} false; then :
2175 $as_echo_n "(cached) " >&6
2176 else
2177 if test "x$target_alias" = x; then
2178 ac_cv_target=$ac_cv_host
2179 else
2180 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2181 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2186 $as_echo "$ac_cv_target" >&6; }
2187 case $ac_cv_target in
2188 *-*-*) ;;
2189 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2190 esac
2191 target=$ac_cv_target
2192 ac_save_IFS=$IFS; IFS='-'
2193 set x $ac_cv_target
2194 shift
2195 target_cpu=$1
2196 target_vendor=$2
2197 shift; shift
2198 # Remember, the first character of IFS is used to create $*,
2199 # except with old shells:
2200 target_os=$*
2201 IFS=$ac_save_IFS
2202 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2205 # The aliases save the names the user supplied, while $host etc.
2206 # will get canonicalized.
2207 test -n "$target_alias" &&
2208 test "$program_prefix$program_suffix$program_transform_name" = \
2209 NONENONEs,x,x, &&
2210 program_prefix=${target_alias}-
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2213 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2214 set x ${MAKE-make}
2215 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2216 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2217 $as_echo_n "(cached) " >&6
2218 else
2219 cat >conftest.make <<\_ACEOF
2220 SHELL = /bin/sh
2221 all:
2222 @echo '@@@%%%=$(MAKE)=@@@%%%'
2223 _ACEOF
2224 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2225 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2226 *@@@%%%=?*=@@@%%%*)
2227 eval ac_cv_prog_make_${ac_make}_set=yes;;
2229 eval ac_cv_prog_make_${ac_make}_set=no;;
2230 esac
2231 rm -f conftest.make
2233 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2235 $as_echo "yes" >&6; }
2236 SET_MAKE=
2237 else
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2239 $as_echo "no" >&6; }
2240 SET_MAKE="MAKE=${MAKE-make}"
2243 ac_config_headers="$ac_config_headers config.h"
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CPU to build for" >&5
2247 $as_echo_n "checking CPU to build for... " >&6; }
2249 # Check whether --with-cpu was given.
2250 if test "${with_cpu+set}" = set; then :
2251 withval=$with_cpu; CPU=${withval}
2252 else
2253 unset CPU
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CPU}" >&5
2257 $as_echo "${CPU}" >&6; }
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking OS include directory" >&5
2260 $as_echo_n "checking OS include directory... " >&6; }
2262 # Check whether --with-os-includedir was given.
2263 if test "${with_os_includedir+set}" = set; then :
2264 withval=$with_os_includedir; os_includedir="-I${withval}"
2265 else
2266 os_includedir=""
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${os_includedir} " >&5
2270 $as_echo "${os_includedir} " >&6; }
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if WarpUp support code should be enabled" >&5
2273 $as_echo_n "checking if WarpUp support code should be enabled... " >&6; }
2274 # Check whether --enable-warpup was given.
2275 if test "${enable_warpup+set}" = set; then :
2276 enableval=$enable_warpup; $as_echo "#define ENABLE_WARPUP 1" >>confdefs.h
2280 ENABLE_WARPUP=${enable_warpup}
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_warpup}" >&5
2283 $as_echo "${enable_warpup}" >&6; }
2285 case $host in
2286 i?86be-pc-amithlon)
2287 : ${CPU="i686"}
2288 cflags="-noixemul"
2289 optflags="-mcpu=${CPU} -O2"
2290 linkerflags="-noixemul -mcpu=${CPU} -r"
2291 asflags="--defsym CPU=${CPU} --defsym LITTLE_ENDIAN=1"
2292 resident="" stripflag=""
2294 m68k-unknown-amigaos)
2295 : ${CPU="68020-60"}
2296 cflags="-noixemul"
2297 optflags="-m${CPU} -O2 -fomit-frame-pointer -ffast-math -msoft-float"
2298 linkerflags="-noixemul -m${CPU}"
2299 asCPU=`echo ${CPU} | sed 's/-.*//'`
2300 asflags="-m${asCPU} --register-prefix-optional --bitwise-or --defsym CPU=${asCPU}"
2301 resident="-resident"
2302 stripflag=""
2304 powerpc-unknown-amigaos)
2305 : ${CPU="603"}
2307 $as_echo "#define __USE_INLINE__ 1" >>confdefs.h
2310 $as_echo "#define __USE_BASETYPE__ 1" >>confdefs.h
2312 cflags=""
2313 optflags="-mcpu=${CPU} -O2"
2314 linkerflags="-mcpu=${CPU}"
2315 asflags="-m${CPU} -mregnames --defsym CPU=${CPU}"
2316 resident="" stripflag=""
2318 powerpc-unknown-morphos)
2319 : ${CPU="603"}
2321 $as_echo "#define USE_INLINE_STDARG 1" >>confdefs.h
2323 cflags="-noixemul"
2324 optflags="-mcpu=${CPU} -O2"
2325 linkerflags="-noixemul -mcpu=${CPU}"
2326 asflags="-m${CPU} -mregnames --defsym CPU=${CPU}"
2327 resident="-mresident32"
2328 stripflag=""
2330 i?86-*-aros)
2331 : ${CPU="i486"}
2332 cflags=""
2333 optflags="-m32 -march=${CPU} -O2"
2334 linkerflags=""
2335 asflags="--defsym CPU=${CPU} --defsym LITTLE_ENDIAN=1"
2336 resident="" stripflag="--strip-unneeded"
2338 x86_64-*-aros)
2339 : ${CPU="x86_64"}
2340 cflags=""
2341 optflags="-O2 -fomit-frame-pointer"
2342 linkerflags=""
2343 asflags="--defsym CPU=${CPU} --defsym LITTLE_ENDIAN=1 --defsym x86_64=1"
2344 resident=""
2345 stripflag="--strip-unneeded"
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown architecture!" >&5
2349 $as_echo "$as_me: WARNING: Unknown architecture!" >&2;}
2351 esac
2353 top_builddir=$(pwd)
2355 : ${CFLAGS="-g -W -Wall -Wstrict-prototypes -Wno-unused ${cflags} ${optflags}"}
2356 : ${CPPFLAGS="-DCPU=\"\\\"${CPU}\\\"\" -I. -I${srcdir} -I${top_builddir} -I${top_builddir}/Include/gcc ${os_includedir}"}
2357 : ${LDFLAGS="${linkerflags}"}
2358 : ${ASFLAGS="${asflags}"}
2359 : ${ARFLAGS="-ru"}
2360 : ${STRIPFLAGS="${stripflag}"}
2362 : ${CFLAG_RESIDENT="${resident}"}
2363 : ${LDFLAG_RESIDENT="${resident}"}
2365 : ${DISTDIR="/tmp/${host_alias}-ahi"}
2377 if test -n "$ac_tool_prefix"; then
2378 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2379 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2381 $as_echo_n "checking for $ac_word... " >&6; }
2382 if ${ac_cv_prog_CC+:} false; then :
2383 $as_echo_n "(cached) " >&6
2384 else
2385 if test -n "$CC"; then
2386 ac_cv_prog_CC="$CC" # Let the user override the test.
2387 else
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 for as_dir in $PATH
2391 IFS=$as_save_IFS
2392 test -z "$as_dir" && as_dir=.
2393 for ac_exec_ext in '' $ac_executable_extensions; do
2394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2395 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2397 break 2
2399 done
2400 done
2401 IFS=$as_save_IFS
2405 CC=$ac_cv_prog_CC
2406 if test -n "$CC"; then
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2408 $as_echo "$CC" >&6; }
2409 else
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2411 $as_echo "no" >&6; }
2416 if test -z "$ac_cv_prog_CC"; then
2417 ac_ct_CC=$CC
2418 # Extract the first word of "gcc", so it can be a program name with args.
2419 set dummy gcc; ac_word=$2
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2421 $as_echo_n "checking for $ac_word... " >&6; }
2422 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2423 $as_echo_n "(cached) " >&6
2424 else
2425 if test -n "$ac_ct_CC"; then
2426 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2427 else
2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 for as_dir in $PATH
2431 IFS=$as_save_IFS
2432 test -z "$as_dir" && as_dir=.
2433 for ac_exec_ext in '' $ac_executable_extensions; do
2434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2435 ac_cv_prog_ac_ct_CC="gcc"
2436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2437 break 2
2439 done
2440 done
2441 IFS=$as_save_IFS
2445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2446 if test -n "$ac_ct_CC"; then
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2448 $as_echo "$ac_ct_CC" >&6; }
2449 else
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2451 $as_echo "no" >&6; }
2454 if test "x$ac_ct_CC" = x; then
2455 CC=": "
2456 else
2457 case $cross_compiling:$ac_tool_warned in
2458 yes:)
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2461 ac_tool_warned=yes ;;
2462 esac
2463 CC=$ac_ct_CC
2465 else
2466 CC="$ac_cv_prog_CC"
2469 if test -n "$ac_tool_prefix"; then
2470 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2471 set dummy ${ac_tool_prefix}as; ac_word=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if ${ac_cv_prog_AS+:} false; then :
2475 $as_echo_n "(cached) " >&6
2476 else
2477 if test -n "$AS"; then
2478 ac_cv_prog_AS="$AS" # Let the user override the test.
2479 else
2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2481 for as_dir in $PATH
2483 IFS=$as_save_IFS
2484 test -z "$as_dir" && as_dir=.
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2487 ac_cv_prog_AS="${ac_tool_prefix}as"
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 break 2
2491 done
2492 done
2493 IFS=$as_save_IFS
2497 AS=$ac_cv_prog_AS
2498 if test -n "$AS"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2500 $as_echo "$AS" >&6; }
2501 else
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503 $as_echo "no" >&6; }
2508 if test -z "$ac_cv_prog_AS"; then
2509 ac_ct_AS=$AS
2510 # Extract the first word of "as", so it can be a program name with args.
2511 set dummy as; ac_word=$2
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2513 $as_echo_n "checking for $ac_word... " >&6; }
2514 if ${ac_cv_prog_ac_ct_AS+:} false; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 if test -n "$ac_ct_AS"; then
2518 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2519 else
2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 for as_dir in $PATH
2523 IFS=$as_save_IFS
2524 test -z "$as_dir" && as_dir=.
2525 for ac_exec_ext in '' $ac_executable_extensions; do
2526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2527 ac_cv_prog_ac_ct_AS="as"
2528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 break 2
2531 done
2532 done
2533 IFS=$as_save_IFS
2537 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2538 if test -n "$ac_ct_AS"; then
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
2540 $as_echo "$ac_ct_AS" >&6; }
2541 else
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2543 $as_echo "no" >&6; }
2546 if test "x$ac_ct_AS" = x; then
2547 AS=": "
2548 else
2549 case $cross_compiling:$ac_tool_warned in
2550 yes:)
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2553 ac_tool_warned=yes ;;
2554 esac
2555 AS=$ac_ct_AS
2557 else
2558 AS="$ac_cv_prog_AS"
2561 if test -n "$ac_tool_prefix"; then
2562 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2563 set dummy ${ac_tool_prefix}ar; ac_word=$2
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2565 $as_echo_n "checking for $ac_word... " >&6; }
2566 if ${ac_cv_prog_AR+:} false; then :
2567 $as_echo_n "(cached) " >&6
2568 else
2569 if test -n "$AR"; then
2570 ac_cv_prog_AR="$AR" # Let the user override the test.
2571 else
2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2573 for as_dir in $PATH
2575 IFS=$as_save_IFS
2576 test -z "$as_dir" && as_dir=.
2577 for ac_exec_ext in '' $ac_executable_extensions; do
2578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2579 ac_cv_prog_AR="${ac_tool_prefix}ar"
2580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 break 2
2583 done
2584 done
2585 IFS=$as_save_IFS
2589 AR=$ac_cv_prog_AR
2590 if test -n "$AR"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2592 $as_echo "$AR" >&6; }
2593 else
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2595 $as_echo "no" >&6; }
2600 if test -z "$ac_cv_prog_AR"; then
2601 ac_ct_AR=$AR
2602 # Extract the first word of "ar", so it can be a program name with args.
2603 set dummy ar; ac_word=$2
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605 $as_echo_n "checking for $ac_word... " >&6; }
2606 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 if test -n "$ac_ct_AR"; then
2610 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2611 else
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH
2615 IFS=$as_save_IFS
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619 ac_cv_prog_ac_ct_AR="ar"
2620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 break 2
2623 done
2624 done
2625 IFS=$as_save_IFS
2629 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2630 if test -n "$ac_ct_AR"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2632 $as_echo "$ac_ct_AR" >&6; }
2633 else
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635 $as_echo "no" >&6; }
2638 if test "x$ac_ct_AR" = x; then
2639 AR=": "
2640 else
2641 case $cross_compiling:$ac_tool_warned in
2642 yes:)
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2645 ac_tool_warned=yes ;;
2646 esac
2647 AR=$ac_ct_AR
2649 else
2650 AR="$ac_cv_prog_AR"
2653 if test -n "$ac_tool_prefix"; then
2654 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2655 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if ${ac_cv_prog_RANLIB+:} false; then :
2659 $as_echo_n "(cached) " >&6
2660 else
2661 if test -n "$RANLIB"; then
2662 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2663 else
2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 for as_dir in $PATH
2667 IFS=$as_save_IFS
2668 test -z "$as_dir" && as_dir=.
2669 for ac_exec_ext in '' $ac_executable_extensions; do
2670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2671 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 break 2
2675 done
2676 done
2677 IFS=$as_save_IFS
2681 RANLIB=$ac_cv_prog_RANLIB
2682 if test -n "$RANLIB"; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2684 $as_echo "$RANLIB" >&6; }
2685 else
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2692 if test -z "$ac_cv_prog_RANLIB"; then
2693 ac_ct_RANLIB=$RANLIB
2694 # Extract the first word of "ranlib", so it can be a program name with args.
2695 set dummy ranlib; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2699 $as_echo_n "(cached) " >&6
2700 else
2701 if test -n "$ac_ct_RANLIB"; then
2702 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2703 else
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH
2707 IFS=$as_save_IFS
2708 test -z "$as_dir" && as_dir=.
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711 ac_cv_prog_ac_ct_RANLIB="ranlib"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 break 2
2715 done
2716 done
2717 IFS=$as_save_IFS
2721 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2722 if test -n "$ac_ct_RANLIB"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2724 $as_echo "$ac_ct_RANLIB" >&6; }
2725 else
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2730 if test "x$ac_ct_RANLIB" = x; then
2731 RANLIB=": "
2732 else
2733 case $cross_compiling:$ac_tool_warned in
2734 yes:)
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2737 ac_tool_warned=yes ;;
2738 esac
2739 RANLIB=$ac_ct_RANLIB
2741 else
2742 RANLIB="$ac_cv_prog_RANLIB"
2745 if test -n "$ac_tool_prefix"; then
2746 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2747 set dummy ${ac_tool_prefix}strip; ac_word=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if ${ac_cv_prog_STRIP+:} false; then :
2751 $as_echo_n "(cached) " >&6
2752 else
2753 if test -n "$STRIP"; then
2754 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2755 else
2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2757 for as_dir in $PATH
2759 IFS=$as_save_IFS
2760 test -z "$as_dir" && as_dir=.
2761 for ac_exec_ext in '' $ac_executable_extensions; do
2762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2763 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 break 2
2767 done
2768 done
2769 IFS=$as_save_IFS
2773 STRIP=$ac_cv_prog_STRIP
2774 if test -n "$STRIP"; then
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2776 $as_echo "$STRIP" >&6; }
2777 else
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2784 if test -z "$ac_cv_prog_STRIP"; then
2785 ac_ct_STRIP=$STRIP
2786 # Extract the first word of "strip", so it can be a program name with args.
2787 set dummy strip; ac_word=$2
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789 $as_echo_n "checking for $ac_word... " >&6; }
2790 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2791 $as_echo_n "(cached) " >&6
2792 else
2793 if test -n "$ac_ct_STRIP"; then
2794 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2795 else
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 for as_dir in $PATH
2799 IFS=$as_save_IFS
2800 test -z "$as_dir" && as_dir=.
2801 for ac_exec_ext in '' $ac_executable_extensions; do
2802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803 ac_cv_prog_ac_ct_STRIP="strip"
2804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 break 2
2807 done
2808 done
2809 IFS=$as_save_IFS
2813 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2814 if test -n "$ac_ct_STRIP"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2816 $as_echo "$ac_ct_STRIP" >&6; }
2817 else
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819 $as_echo "no" >&6; }
2822 if test "x$ac_ct_STRIP" = x; then
2823 STRIP=": "
2824 else
2825 case $cross_compiling:$ac_tool_warned in
2826 yes:)
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2829 ac_tool_warned=yes ;;
2830 esac
2831 STRIP=$ac_ct_STRIP
2833 else
2834 STRIP="$ac_cv_prog_STRIP"
2837 if test -n "$ac_tool_prefix"; then
2838 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
2839 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2841 $as_echo_n "checking for $ac_word... " >&6; }
2842 if ${ac_cv_prog_OBJCOPY+:} false; then :
2843 $as_echo_n "(cached) " >&6
2844 else
2845 if test -n "$OBJCOPY"; then
2846 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
2847 else
2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849 for as_dir in $PATH
2851 IFS=$as_save_IFS
2852 test -z "$as_dir" && as_dir=.
2853 for ac_exec_ext in '' $ac_executable_extensions; do
2854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2855 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
2856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 break 2
2859 done
2860 done
2861 IFS=$as_save_IFS
2865 OBJCOPY=$ac_cv_prog_OBJCOPY
2866 if test -n "$OBJCOPY"; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
2868 $as_echo "$OBJCOPY" >&6; }
2869 else
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2871 $as_echo "no" >&6; }
2876 if test -z "$ac_cv_prog_OBJCOPY"; then
2877 ac_ct_OBJCOPY=$OBJCOPY
2878 # Extract the first word of "objcopy", so it can be a program name with args.
2879 set dummy objcopy; ac_word=$2
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2881 $as_echo_n "checking for $ac_word... " >&6; }
2882 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
2883 $as_echo_n "(cached) " >&6
2884 else
2885 if test -n "$ac_ct_OBJCOPY"; then
2886 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
2887 else
2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2889 for as_dir in $PATH
2891 IFS=$as_save_IFS
2892 test -z "$as_dir" && as_dir=.
2893 for ac_exec_ext in '' $ac_executable_extensions; do
2894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2895 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
2896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2897 break 2
2899 done
2900 done
2901 IFS=$as_save_IFS
2905 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
2906 if test -n "$ac_ct_OBJCOPY"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
2908 $as_echo "$ac_ct_OBJCOPY" >&6; }
2909 else
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2914 if test "x$ac_ct_OBJCOPY" = x; then
2915 OBJCOPY=": "
2916 else
2917 case $cross_compiling:$ac_tool_warned in
2918 yes:)
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2921 ac_tool_warned=yes ;;
2922 esac
2923 OBJCOPY=$ac_ct_OBJCOPY
2925 else
2926 OBJCOPY="$ac_cv_prog_OBJCOPY"
2930 # Find a good install program. We prefer a C program (faster),
2931 # so one script is as good as another. But avoid the broken or
2932 # incompatible versions:
2933 # SysV /etc/install, /usr/sbin/install
2934 # SunOS /usr/etc/install
2935 # IRIX /sbin/install
2936 # AIX /bin/install
2937 # AmigaOS /C/install, which installs bootblocks on floppy discs
2938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2941 # OS/2's system install, which has a completely different semantic
2942 # ./install, which can be erroneously created by make from ./install.sh.
2943 # Reject install programs that cannot install multiple files.
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2945 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2946 if test -z "$INSTALL"; then
2947 if ${ac_cv_path_install+:} false; then :
2948 $as_echo_n "(cached) " >&6
2949 else
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 for as_dir in $PATH
2953 IFS=$as_save_IFS
2954 test -z "$as_dir" && as_dir=.
2955 # Account for people who put trailing slashes in PATH elements.
2956 case $as_dir/ in #((
2957 ./ | .// | /[cC]/* | \
2958 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2959 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2960 /usr/ucb/* ) ;;
2962 # OSF1 and SCO ODT 3.0 have their own names for install.
2963 # Don't use installbsd from OSF since it installs stuff as root
2964 # by default.
2965 for ac_prog in ginstall scoinst install; do
2966 for ac_exec_ext in '' $ac_executable_extensions; do
2967 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2968 if test $ac_prog = install &&
2969 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2970 # AIX install. It has an incompatible calling convention.
2972 elif test $ac_prog = install &&
2973 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2974 # program-specific install script used by HP pwplus--don't use.
2976 else
2977 rm -rf conftest.one conftest.two conftest.dir
2978 echo one > conftest.one
2979 echo two > conftest.two
2980 mkdir conftest.dir
2981 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2982 test -s conftest.one && test -s conftest.two &&
2983 test -s conftest.dir/conftest.one &&
2984 test -s conftest.dir/conftest.two
2985 then
2986 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2987 break 3
2991 done
2992 done
2994 esac
2996 done
2997 IFS=$as_save_IFS
2999 rm -rf conftest.one conftest.two conftest.dir
3002 if test "${ac_cv_path_install+set}" = set; then
3003 INSTALL=$ac_cv_path_install
3004 else
3005 # As a last resort, use the slow shell script. Don't cache a
3006 # value for INSTALL within a source directory, because that will
3007 # break other packages using the cache if that directory is
3008 # removed, or if the value is a relative name.
3009 INSTALL=$ac_install_sh
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3013 $as_echo "$INSTALL" >&6; }
3015 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3016 # It thinks the first close brace ends the variable substitution.
3017 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3019 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3021 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3023 #AC_PROG_CC
3024 if test -n "$ac_tool_prefix"; then
3025 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3026 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if ${ac_cv_prog_RANLIB+:} false; then :
3030 $as_echo_n "(cached) " >&6
3031 else
3032 if test -n "$RANLIB"; then
3033 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3034 else
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH
3038 IFS=$as_save_IFS
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3042 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 break 2
3046 done
3047 done
3048 IFS=$as_save_IFS
3052 RANLIB=$ac_cv_prog_RANLIB
3053 if test -n "$RANLIB"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3055 $as_echo "$RANLIB" >&6; }
3056 else
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3063 if test -z "$ac_cv_prog_RANLIB"; then
3064 ac_ct_RANLIB=$RANLIB
3065 # Extract the first word of "ranlib", so it can be a program name with args.
3066 set dummy ranlib; ac_word=$2
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068 $as_echo_n "checking for $ac_word... " >&6; }
3069 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 if test -n "$ac_ct_RANLIB"; then
3073 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3074 else
3075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076 for as_dir in $PATH
3078 IFS=$as_save_IFS
3079 test -z "$as_dir" && as_dir=.
3080 for ac_exec_ext in '' $ac_executable_extensions; do
3081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3082 ac_cv_prog_ac_ct_RANLIB="ranlib"
3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 break 2
3086 done
3087 done
3088 IFS=$as_save_IFS
3092 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3093 if test -n "$ac_ct_RANLIB"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3095 $as_echo "$ac_ct_RANLIB" >&6; }
3096 else
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3101 if test "x$ac_ct_RANLIB" = x; then
3102 RANLIB=":"
3103 else
3104 case $cross_compiling:$ac_tool_warned in
3105 yes:)
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3108 ac_tool_warned=yes ;;
3109 esac
3110 RANLIB=$ac_ct_RANLIB
3112 else
3113 RANLIB="$ac_cv_prog_RANLIB"
3116 # Extract the first word of "rm", so it can be a program name with args.
3117 set dummy rm; ac_word=$2
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3119 $as_echo_n "checking for $ac_word... " >&6; }
3120 if ${ac_cv_prog_RM+:} false; then :
3121 $as_echo_n "(cached) " >&6
3122 else
3123 if test -n "$RM"; then
3124 ac_cv_prog_RM="$RM" # Let the user override the test.
3125 else
3126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127 for as_dir in $PATH
3129 IFS=$as_save_IFS
3130 test -z "$as_dir" && as_dir=.
3131 for ac_exec_ext in '' $ac_executable_extensions; do
3132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3133 ac_cv_prog_RM="rm "
3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135 break 2
3137 done
3138 done
3139 IFS=$as_save_IFS
3143 RM=$ac_cv_prog_RM
3144 if test -n "$RM"; then
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
3146 $as_echo "$RM" >&6; }
3147 else
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149 $as_echo "no" >&6; }
3153 for ac_prog in RoboDoc robodoc
3155 # Extract the first word of "$ac_prog", so it can be a program name with args.
3156 set dummy $ac_prog; ac_word=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if ${ac_cv_prog_ROBODOC+:} false; then :
3160 $as_echo_n "(cached) " >&6
3161 else
3162 if test -n "$ROBODOC"; then
3163 ac_cv_prog_ROBODOC="$ROBODOC" # Let the user override the test.
3164 else
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 for as_dir in $PATH
3168 IFS=$as_save_IFS
3169 test -z "$as_dir" && as_dir=.
3170 for ac_exec_ext in '' $ac_executable_extensions; do
3171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172 ac_cv_prog_ROBODOC="$ac_prog"
3173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3174 break 2
3176 done
3177 done
3178 IFS=$as_save_IFS
3182 ROBODOC=$ac_cv_prog_ROBODOC
3183 if test -n "$ROBODOC"; then
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ROBODOC" >&5
3185 $as_echo "$ROBODOC" >&6; }
3186 else
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3188 $as_echo "no" >&6; }
3192 test -n "$ROBODOC" && break
3193 done
3195 for ac_prog in FlexCat flexcat
3197 # Extract the first word of "$ac_prog", so it can be a program name with args.
3198 set dummy $ac_prog; ac_word=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if ${ac_cv_prog_FLEXCAT+:} false; then :
3202 $as_echo_n "(cached) " >&6
3203 else
3204 if test -n "$FLEXCAT"; then
3205 ac_cv_prog_FLEXCAT="$FLEXCAT" # Let the user override the test.
3206 else
3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208 for as_dir in $PATH
3210 IFS=$as_save_IFS
3211 test -z "$as_dir" && as_dir=.
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_FLEXCAT="$ac_prog"
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 break 2
3218 done
3219 done
3220 IFS=$as_save_IFS
3224 FLEXCAT=$ac_cv_prog_FLEXCAT
3225 if test -n "$FLEXCAT"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEXCAT" >&5
3227 $as_echo "$FLEXCAT" >&6; }
3228 else
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3234 test -n "$FLEXCAT" && break
3235 done
3237 for ac_prog in SFDC sfdc
3239 # Extract the first word of "$ac_prog", so it can be a program name with args.
3240 set dummy $ac_prog; ac_word=$2
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242 $as_echo_n "checking for $ac_word... " >&6; }
3243 if ${ac_cv_prog_SFDC+:} false; then :
3244 $as_echo_n "(cached) " >&6
3245 else
3246 if test -n "$SFDC"; then
3247 ac_cv_prog_SFDC="$SFDC" # Let the user override the test.
3248 else
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250 for as_dir in $PATH
3252 IFS=$as_save_IFS
3253 test -z "$as_dir" && as_dir=.
3254 for ac_exec_ext in '' $ac_executable_extensions; do
3255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3256 ac_cv_prog_SFDC="$ac_prog"
3257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258 break 2
3260 done
3261 done
3262 IFS=$as_save_IFS
3266 SFDC=$ac_cv_prog_SFDC
3267 if test -n "$SFDC"; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SFDC" >&5
3269 $as_echo "$SFDC" >&6; }
3270 else
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3276 test -n "$SFDC" && break
3277 done
3279 for ac_prog in lha
3281 # Extract the first word of "$ac_prog", so it can be a program name with args.
3282 set dummy $ac_prog; ac_word=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if ${ac_cv_prog_LHA+:} false; then :
3286 $as_echo_n "(cached) " >&6
3287 else
3288 if test -n "$LHA"; then
3289 ac_cv_prog_LHA="$LHA" # Let the user override the test.
3290 else
3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 for as_dir in $PATH
3294 IFS=$as_save_IFS
3295 test -z "$as_dir" && as_dir=.
3296 for ac_exec_ext in '' $ac_executable_extensions; do
3297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3298 ac_cv_prog_LHA="$ac_prog"
3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3300 break 2
3302 done
3303 done
3304 IFS=$as_save_IFS
3308 LHA=$ac_cv_prog_LHA
3309 if test -n "$LHA"; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LHA" >&5
3311 $as_echo "$LHA" >&6; }
3312 else
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3318 test -n "$LHA" && break
3319 done
3322 if test -z "$SFDC"; then
3323 as_fn_error $? "sfdc missing. " "$LINENO" 5
3326 if test -z "$LHA"; then
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lha missing. " >&5
3328 $as_echo "$as_me: WARNING: lha missing. " >&2;}
3329 else
3330 if test -n "`$LHA 2>&1 | grep 'o.*compression method'`"; then
3331 LHA="$LHA -ao5"
3332 else
3333 LHA="$LHA -a -r"
3337 if test -z "$ROBODOC"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: robodoc missing. " >&5
3339 $as_echo "$as_me: WARNING: robodoc missing. " >&2;}
3343 ac_ext=c
3344 ac_cpp='$CPP $CPPFLAGS'
3345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3348 if test -n "$ac_tool_prefix"; then
3349 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3350 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352 $as_echo_n "checking for $ac_word... " >&6; }
3353 if ${ac_cv_prog_CC+:} false; then :
3354 $as_echo_n "(cached) " >&6
3355 else
3356 if test -n "$CC"; then
3357 ac_cv_prog_CC="$CC" # Let the user override the test.
3358 else
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360 for as_dir in $PATH
3362 IFS=$as_save_IFS
3363 test -z "$as_dir" && as_dir=.
3364 for ac_exec_ext in '' $ac_executable_extensions; do
3365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3366 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 break 2
3370 done
3371 done
3372 IFS=$as_save_IFS
3376 CC=$ac_cv_prog_CC
3377 if test -n "$CC"; then
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3379 $as_echo "$CC" >&6; }
3380 else
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382 $as_echo "no" >&6; }
3387 if test -z "$ac_cv_prog_CC"; then
3388 ac_ct_CC=$CC
3389 # Extract the first word of "gcc", so it can be a program name with args.
3390 set dummy gcc; ac_word=$2
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392 $as_echo_n "checking for $ac_word... " >&6; }
3393 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3394 $as_echo_n "(cached) " >&6
3395 else
3396 if test -n "$ac_ct_CC"; then
3397 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3398 else
3399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3400 for as_dir in $PATH
3402 IFS=$as_save_IFS
3403 test -z "$as_dir" && as_dir=.
3404 for ac_exec_ext in '' $ac_executable_extensions; do
3405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3406 ac_cv_prog_ac_ct_CC="gcc"
3407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3408 break 2
3410 done
3411 done
3412 IFS=$as_save_IFS
3416 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3417 if test -n "$ac_ct_CC"; then
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3419 $as_echo "$ac_ct_CC" >&6; }
3420 else
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422 $as_echo "no" >&6; }
3425 if test "x$ac_ct_CC" = x; then
3426 CC=""
3427 else
3428 case $cross_compiling:$ac_tool_warned in
3429 yes:)
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3432 ac_tool_warned=yes ;;
3433 esac
3434 CC=$ac_ct_CC
3436 else
3437 CC="$ac_cv_prog_CC"
3440 if test -z "$CC"; then
3441 if test -n "$ac_tool_prefix"; then
3442 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3443 set dummy ${ac_tool_prefix}cc; ac_word=$2
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445 $as_echo_n "checking for $ac_word... " >&6; }
3446 if ${ac_cv_prog_CC+:} false; then :
3447 $as_echo_n "(cached) " >&6
3448 else
3449 if test -n "$CC"; then
3450 ac_cv_prog_CC="$CC" # Let the user override the test.
3451 else
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 for as_dir in $PATH
3455 IFS=$as_save_IFS
3456 test -z "$as_dir" && as_dir=.
3457 for ac_exec_ext in '' $ac_executable_extensions; do
3458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3459 ac_cv_prog_CC="${ac_tool_prefix}cc"
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3461 break 2
3463 done
3464 done
3465 IFS=$as_save_IFS
3469 CC=$ac_cv_prog_CC
3470 if test -n "$CC"; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3472 $as_echo "$CC" >&6; }
3473 else
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475 $as_echo "no" >&6; }
3481 if test -z "$CC"; then
3482 # Extract the first word of "cc", so it can be a program name with args.
3483 set dummy cc; ac_word=$2
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3485 $as_echo_n "checking for $ac_word... " >&6; }
3486 if ${ac_cv_prog_CC+:} false; then :
3487 $as_echo_n "(cached) " >&6
3488 else
3489 if test -n "$CC"; then
3490 ac_cv_prog_CC="$CC" # Let the user override the test.
3491 else
3492 ac_prog_rejected=no
3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3494 for as_dir in $PATH
3496 IFS=$as_save_IFS
3497 test -z "$as_dir" && as_dir=.
3498 for ac_exec_ext in '' $ac_executable_extensions; do
3499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3501 ac_prog_rejected=yes
3502 continue
3504 ac_cv_prog_CC="cc"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 break 2
3508 done
3509 done
3510 IFS=$as_save_IFS
3512 if test $ac_prog_rejected = yes; then
3513 # We found a bogon in the path, so make sure we never use it.
3514 set dummy $ac_cv_prog_CC
3515 shift
3516 if test $# != 0; then
3517 # We chose a different compiler from the bogus one.
3518 # However, it has the same basename, so the bogon will be chosen
3519 # first if we set CC to just the basename; use the full file name.
3520 shift
3521 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3526 CC=$ac_cv_prog_CC
3527 if test -n "$CC"; then
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3529 $as_echo "$CC" >&6; }
3530 else
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3532 $as_echo "no" >&6; }
3537 if test -z "$CC"; then
3538 if test -n "$ac_tool_prefix"; then
3539 for ac_prog in cl.exe
3541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3542 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3544 $as_echo_n "checking for $ac_word... " >&6; }
3545 if ${ac_cv_prog_CC+:} false; then :
3546 $as_echo_n "(cached) " >&6
3547 else
3548 if test -n "$CC"; then
3549 ac_cv_prog_CC="$CC" # Let the user override the test.
3550 else
3551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552 for as_dir in $PATH
3554 IFS=$as_save_IFS
3555 test -z "$as_dir" && as_dir=.
3556 for ac_exec_ext in '' $ac_executable_extensions; do
3557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3558 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3560 break 2
3562 done
3563 done
3564 IFS=$as_save_IFS
3568 CC=$ac_cv_prog_CC
3569 if test -n "$CC"; then
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3571 $as_echo "$CC" >&6; }
3572 else
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3574 $as_echo "no" >&6; }
3578 test -n "$CC" && break
3579 done
3581 if test -z "$CC"; then
3582 ac_ct_CC=$CC
3583 for ac_prog in cl.exe
3585 # Extract the first word of "$ac_prog", so it can be a program name with args.
3586 set dummy $ac_prog; ac_word=$2
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588 $as_echo_n "checking for $ac_word... " >&6; }
3589 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3590 $as_echo_n "(cached) " >&6
3591 else
3592 if test -n "$ac_ct_CC"; then
3593 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3594 else
3595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 for as_dir in $PATH
3598 IFS=$as_save_IFS
3599 test -z "$as_dir" && as_dir=.
3600 for ac_exec_ext in '' $ac_executable_extensions; do
3601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3602 ac_cv_prog_ac_ct_CC="$ac_prog"
3603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 break 2
3606 done
3607 done
3608 IFS=$as_save_IFS
3612 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3613 if test -n "$ac_ct_CC"; then
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3615 $as_echo "$ac_ct_CC" >&6; }
3616 else
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 $as_echo "no" >&6; }
3622 test -n "$ac_ct_CC" && break
3623 done
3625 if test "x$ac_ct_CC" = x; then
3626 CC=""
3627 else
3628 case $cross_compiling:$ac_tool_warned in
3629 yes:)
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3632 ac_tool_warned=yes ;;
3633 esac
3634 CC=$ac_ct_CC
3641 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3643 as_fn_error $? "no acceptable C compiler found in \$PATH
3644 See \`config.log' for more details" "$LINENO" 5; }
3646 # Provide some information about the compiler.
3647 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3648 set X $ac_compile
3649 ac_compiler=$2
3650 for ac_option in --version -v -V -qversion; do
3651 { { ac_try="$ac_compiler $ac_option >&5"
3652 case "(($ac_try" in
3653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3655 esac
3656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3657 $as_echo "$ac_try_echo"; } >&5
3658 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3659 ac_status=$?
3660 if test -s conftest.err; then
3661 sed '10a\
3662 ... rest of stderr output deleted ...
3663 10q' conftest.err >conftest.er1
3664 cat conftest.er1 >&5
3666 rm -f conftest.er1 conftest.err
3667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668 test $ac_status = 0; }
3669 done
3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672 /* end confdefs.h. */
3675 main ()
3679 return 0;
3681 _ACEOF
3682 ac_clean_files_save=$ac_clean_files
3683 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3684 # Try to create an executable without -o first, disregard a.out.
3685 # It will help us diagnose broken compilers, and finding out an intuition
3686 # of exeext.
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3688 $as_echo_n "checking whether the C compiler works... " >&6; }
3689 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3691 # The possible output files:
3692 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3694 ac_rmfiles=
3695 for ac_file in $ac_files
3697 case $ac_file in
3698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3699 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3700 esac
3701 done
3702 rm -f $ac_rmfiles
3704 if { { ac_try="$ac_link_default"
3705 case "(($ac_try" in
3706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3707 *) ac_try_echo=$ac_try;;
3708 esac
3709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3710 $as_echo "$ac_try_echo"; } >&5
3711 (eval "$ac_link_default") 2>&5
3712 ac_status=$?
3713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3714 test $ac_status = 0; }; then :
3715 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3716 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3717 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3718 # so that the user can short-circuit this test for compilers unknown to
3719 # Autoconf.
3720 for ac_file in $ac_files ''
3722 test -f "$ac_file" || continue
3723 case $ac_file in
3724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3726 [ab].out )
3727 # We found the default executable, but exeext='' is most
3728 # certainly right.
3729 break;;
3730 *.* )
3731 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3732 then :; else
3733 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3735 # We set ac_cv_exeext here because the later test for it is not
3736 # safe: cross compilers may not add the suffix if given an `-o'
3737 # argument, so we may need to know it at that point already.
3738 # Even if this section looks crufty: it has the advantage of
3739 # actually working.
3740 break;;
3742 break;;
3743 esac
3744 done
3745 test "$ac_cv_exeext" = no && ac_cv_exeext=
3747 else
3748 ac_file=''
3750 if test -z "$ac_file"; then :
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3753 $as_echo "$as_me: failed program was:" >&5
3754 sed 's/^/| /' conftest.$ac_ext >&5
3756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error 77 "C compiler cannot create executables
3759 See \`config.log' for more details" "$LINENO" 5; }
3760 else
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3762 $as_echo "yes" >&6; }
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3765 $as_echo_n "checking for C compiler default output file name... " >&6; }
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3767 $as_echo "$ac_file" >&6; }
3768 ac_exeext=$ac_cv_exeext
3770 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3771 ac_clean_files=$ac_clean_files_save
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3773 $as_echo_n "checking for suffix of executables... " >&6; }
3774 if { { ac_try="$ac_link"
3775 case "(($ac_try" in
3776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777 *) ac_try_echo=$ac_try;;
3778 esac
3779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3780 $as_echo "$ac_try_echo"; } >&5
3781 (eval "$ac_link") 2>&5
3782 ac_status=$?
3783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3784 test $ac_status = 0; }; then :
3785 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3786 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3787 # work properly (i.e., refer to `conftest.exe'), while it won't with
3788 # `rm'.
3789 for ac_file in conftest.exe conftest conftest.*; do
3790 test -f "$ac_file" || continue
3791 case $ac_file in
3792 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3793 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3794 break;;
3795 * ) break;;
3796 esac
3797 done
3798 else
3799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3801 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3802 See \`config.log' for more details" "$LINENO" 5; }
3804 rm -f conftest conftest$ac_cv_exeext
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3806 $as_echo "$ac_cv_exeext" >&6; }
3808 rm -f conftest.$ac_ext
3809 EXEEXT=$ac_cv_exeext
3810 ac_exeext=$EXEEXT
3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h. */
3813 #include <stdio.h>
3815 main ()
3817 FILE *f = fopen ("conftest.out", "w");
3818 return ferror (f) || fclose (f) != 0;
3821 return 0;
3823 _ACEOF
3824 ac_clean_files="$ac_clean_files conftest.out"
3825 # Check that the compiler produces executables we can run. If not, either
3826 # the compiler is broken, or we cross compile.
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3828 $as_echo_n "checking whether we are cross compiling... " >&6; }
3829 if test "$cross_compiling" != yes; then
3830 { { ac_try="$ac_link"
3831 case "(($ac_try" in
3832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3833 *) ac_try_echo=$ac_try;;
3834 esac
3835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3836 $as_echo "$ac_try_echo"; } >&5
3837 (eval "$ac_link") 2>&5
3838 ac_status=$?
3839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3840 test $ac_status = 0; }
3841 if { ac_try='./conftest$ac_cv_exeext'
3842 { { case "(($ac_try" in
3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3845 esac
3846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848 (eval "$ac_try") 2>&5
3849 ac_status=$?
3850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851 test $ac_status = 0; }; }; then
3852 cross_compiling=no
3853 else
3854 if test "$cross_compiling" = maybe; then
3855 cross_compiling=yes
3856 else
3857 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3859 as_fn_error $? "cannot run C compiled programs.
3860 If you meant to cross compile, use \`--host'.
3861 See \`config.log' for more details" "$LINENO" 5; }
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3866 $as_echo "$cross_compiling" >&6; }
3868 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3869 ac_clean_files=$ac_clean_files_save
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3871 $as_echo_n "checking for suffix of object files... " >&6; }
3872 if ${ac_cv_objext+:} false; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3879 main ()
3883 return 0;
3885 _ACEOF
3886 rm -f conftest.o conftest.obj
3887 if { { ac_try="$ac_compile"
3888 case "(($ac_try" in
3889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890 *) ac_try_echo=$ac_try;;
3891 esac
3892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3893 $as_echo "$ac_try_echo"; } >&5
3894 (eval "$ac_compile") 2>&5
3895 ac_status=$?
3896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3897 test $ac_status = 0; }; then :
3898 for ac_file in conftest.o conftest.obj conftest.*; do
3899 test -f "$ac_file" || continue;
3900 case $ac_file in
3901 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3902 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3903 break;;
3904 esac
3905 done
3906 else
3907 $as_echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.$ac_ext >&5
3910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3912 as_fn_error $? "cannot compute suffix of object files: cannot compile
3913 See \`config.log' for more details" "$LINENO" 5; }
3915 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3918 $as_echo "$ac_cv_objext" >&6; }
3919 OBJEXT=$ac_cv_objext
3920 ac_objext=$OBJEXT
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3922 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3923 if ${ac_cv_c_compiler_gnu+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3930 main ()
3932 #ifndef __GNUC__
3933 choke me
3934 #endif
3937 return 0;
3939 _ACEOF
3940 if ac_fn_c_try_compile "$LINENO"; then :
3941 ac_compiler_gnu=yes
3942 else
3943 ac_compiler_gnu=no
3945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3946 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3950 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3951 if test $ac_compiler_gnu = yes; then
3952 GCC=yes
3953 else
3954 GCC=
3956 ac_test_CFLAGS=${CFLAGS+set}
3957 ac_save_CFLAGS=$CFLAGS
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3959 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3960 if ${ac_cv_prog_cc_g+:} false; then :
3961 $as_echo_n "(cached) " >&6
3962 else
3963 ac_save_c_werror_flag=$ac_c_werror_flag
3964 ac_c_werror_flag=yes
3965 ac_cv_prog_cc_g=no
3966 CFLAGS="-g"
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3971 main ()
3975 return 0;
3977 _ACEOF
3978 if ac_fn_c_try_compile "$LINENO"; then :
3979 ac_cv_prog_cc_g=yes
3980 else
3981 CFLAGS=""
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3986 main ()
3990 return 0;
3992 _ACEOF
3993 if ac_fn_c_try_compile "$LINENO"; then :
3995 else
3996 ac_c_werror_flag=$ac_save_c_werror_flag
3997 CFLAGS="-g"
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4002 main ()
4006 return 0;
4008 _ACEOF
4009 if ac_fn_c_try_compile "$LINENO"; then :
4010 ac_cv_prog_cc_g=yes
4012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4017 ac_c_werror_flag=$ac_save_c_werror_flag
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4020 $as_echo "$ac_cv_prog_cc_g" >&6; }
4021 if test "$ac_test_CFLAGS" = set; then
4022 CFLAGS=$ac_save_CFLAGS
4023 elif test $ac_cv_prog_cc_g = yes; then
4024 if test "$GCC" = yes; then
4025 CFLAGS="-g -O2"
4026 else
4027 CFLAGS="-g"
4029 else
4030 if test "$GCC" = yes; then
4031 CFLAGS="-O2"
4032 else
4033 CFLAGS=
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4037 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4038 if ${ac_cv_prog_cc_c89+:} false; then :
4039 $as_echo_n "(cached) " >&6
4040 else
4041 ac_cv_prog_cc_c89=no
4042 ac_save_CC=$CC
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4045 #include <stdarg.h>
4046 #include <stdio.h>
4047 struct stat;
4048 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4049 struct buf { int x; };
4050 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4051 static char *e (p, i)
4052 char **p;
4053 int i;
4055 return p[i];
4057 static char *f (char * (*g) (char **, int), char **p, ...)
4059 char *s;
4060 va_list v;
4061 va_start (v,p);
4062 s = g (p, va_arg (v,int));
4063 va_end (v);
4064 return s;
4067 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4068 function prototypes and stuff, but not '\xHH' hex character constants.
4069 These don't provoke an error unfortunately, instead are silently treated
4070 as 'x'. The following induces an error, until -std is added to get
4071 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4072 array size at least. It's necessary to write '\x00'==0 to get something
4073 that's true only with -std. */
4074 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4076 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4077 inside strings and character constants. */
4078 #define FOO(x) 'x'
4079 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4081 int test (int i, double x);
4082 struct s1 {int (*f) (int a);};
4083 struct s2 {int (*f) (double a);};
4084 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4085 int argc;
4086 char **argv;
4088 main ()
4090 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4092 return 0;
4094 _ACEOF
4095 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4096 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4098 CC="$ac_save_CC $ac_arg"
4099 if ac_fn_c_try_compile "$LINENO"; then :
4100 ac_cv_prog_cc_c89=$ac_arg
4102 rm -f core conftest.err conftest.$ac_objext
4103 test "x$ac_cv_prog_cc_c89" != "xno" && break
4104 done
4105 rm -f conftest.$ac_ext
4106 CC=$ac_save_CC
4109 # AC_CACHE_VAL
4110 case "x$ac_cv_prog_cc_c89" in
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4113 $as_echo "none needed" >&6; } ;;
4114 xno)
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4116 $as_echo "unsupported" >&6; } ;;
4118 CC="$CC $ac_cv_prog_cc_c89"
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4120 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4121 esac
4122 if test "x$ac_cv_prog_cc_c89" != xno; then :
4126 ac_ext=c
4127 ac_cpp='$CPP $CPPFLAGS'
4128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing NewList" >&5
4134 $as_echo_n "checking for library containing NewList... " >&6; }
4135 if ${ac_cv_search_NewList+:} false; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 ac_func_search_save_LIBS=$LIBS
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4142 /* Override any GCC internal prototype to avoid an error.
4143 Use char because int might match the return type of a GCC
4144 builtin and then its argument prototype would still apply. */
4145 #ifdef __cplusplus
4146 extern "C"
4147 #endif
4148 char NewList ();
4150 main ()
4152 return NewList ();
4154 return 0;
4156 _ACEOF
4157 for ac_lib in '' amiga; do
4158 if test -z "$ac_lib"; then
4159 ac_res="none required"
4160 else
4161 ac_res=-l$ac_lib
4162 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4164 if ac_fn_c_try_link "$LINENO"; then :
4165 ac_cv_search_NewList=$ac_res
4167 rm -f core conftest.err conftest.$ac_objext \
4168 conftest$ac_exeext
4169 if ${ac_cv_search_NewList+:} false; then :
4170 break
4172 done
4173 if ${ac_cv_search_NewList+:} false; then :
4175 else
4176 ac_cv_search_NewList=no
4178 rm conftest.$ac_ext
4179 LIBS=$ac_func_search_save_LIBS
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_NewList" >&5
4182 $as_echo "$ac_cv_search_NewList" >&6; }
4183 ac_res=$ac_cv_search_NewList
4184 if test "$ac_res" != no; then :
4185 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4187 else
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libamiga is missing." >&5
4189 $as_echo "$as_me: WARNING: libamiga is missing." >&2;}
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
4193 $as_echo_n "checking for library containing floor... " >&6; }
4194 if ${ac_cv_search_floor+:} false; then :
4195 $as_echo_n "(cached) " >&6
4196 else
4197 ac_func_search_save_LIBS=$LIBS
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4201 /* Override any GCC internal prototype to avoid an error.
4202 Use char because int might match the return type of a GCC
4203 builtin and then its argument prototype would still apply. */
4204 #ifdef __cplusplus
4205 extern "C"
4206 #endif
4207 char floor ();
4209 main ()
4211 return floor ();
4213 return 0;
4215 _ACEOF
4216 for ac_lib in '' m; do
4217 if test -z "$ac_lib"; then
4218 ac_res="none required"
4219 else
4220 ac_res=-l$ac_lib
4221 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4223 if ac_fn_c_try_link "$LINENO"; then :
4224 ac_cv_search_floor=$ac_res
4226 rm -f core conftest.err conftest.$ac_objext \
4227 conftest$ac_exeext
4228 if ${ac_cv_search_floor+:} false; then :
4229 break
4231 done
4232 if ${ac_cv_search_floor+:} false; then :
4234 else
4235 ac_cv_search_floor=no
4237 rm conftest.$ac_ext
4238 LIBS=$ac_func_search_save_LIBS
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
4241 $as_echo "$ac_cv_search_floor" >&6; }
4242 ac_res=$ac_cv_search_floor
4243 if test "$ac_res" != no; then :
4244 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4246 else
4247 as_fn_error $? "libm is missing." "$LINENO" 5
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing IntuitionBase" >&5
4251 $as_echo_n "checking for library containing IntuitionBase... " >&6; }
4252 if ${ac_cv_search_IntuitionBase+:} false; then :
4253 $as_echo_n "(cached) " >&6
4254 else
4255 ac_func_search_save_LIBS=$LIBS
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4259 /* Override any GCC internal prototype to avoid an error.
4260 Use char because int might match the return type of a GCC
4261 builtin and then its argument prototype would still apply. */
4262 #ifdef __cplusplus
4263 extern "C"
4264 #endif
4265 char IntuitionBase ();
4267 main ()
4269 return IntuitionBase ();
4271 return 0;
4273 _ACEOF
4274 for ac_lib in '' auto; do
4275 if test -z "$ac_lib"; then
4276 ac_res="none required"
4277 else
4278 ac_res=-l$ac_lib
4279 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4281 if ac_fn_c_try_link "$LINENO"; then :
4282 ac_cv_search_IntuitionBase=$ac_res
4284 rm -f core conftest.err conftest.$ac_objext \
4285 conftest$ac_exeext
4286 if ${ac_cv_search_IntuitionBase+:} false; then :
4287 break
4289 done
4290 if ${ac_cv_search_IntuitionBase+:} false; then :
4292 else
4293 ac_cv_search_IntuitionBase=no
4295 rm conftest.$ac_ext
4296 LIBS=$ac_func_search_save_LIBS
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_IntuitionBase" >&5
4299 $as_echo "$ac_cv_search_IntuitionBase" >&6; }
4300 ac_res=$ac_cv_search_IntuitionBase
4301 if test "$ac_res" != no; then :
4302 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4304 else
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Who cares?" >&5
4306 $as_echo "$as_me: WARNING: Who cares?" >&2;}
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing LayoutBase" >&5
4310 $as_echo_n "checking for library containing LayoutBase... " >&6; }
4311 if ${ac_cv_search_LayoutBase+:} false; then :
4312 $as_echo_n "(cached) " >&6
4313 else
4314 ac_func_search_save_LIBS=$LIBS
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4318 /* Override any GCC internal prototype to avoid an error.
4319 Use char because int might match the return type of a GCC
4320 builtin and then its argument prototype would still apply. */
4321 #ifdef __cplusplus
4322 extern "C"
4323 #endif
4324 char LayoutBase ();
4326 main ()
4328 return LayoutBase ();
4330 return 0;
4332 _ACEOF
4333 for ac_lib in '' raauto; do
4334 if test -z "$ac_lib"; then
4335 ac_res="none required"
4336 else
4337 ac_res=-l$ac_lib
4338 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4340 if ac_fn_c_try_link "$LINENO"; then :
4341 ac_cv_search_LayoutBase=$ac_res
4343 rm -f core conftest.err conftest.$ac_objext \
4344 conftest$ac_exeext
4345 if ${ac_cv_search_LayoutBase+:} false; then :
4346 break
4348 done
4349 if ${ac_cv_search_LayoutBase+:} false; then :
4351 else
4352 ac_cv_search_LayoutBase=no
4354 rm conftest.$ac_ext
4355 LIBS=$ac_func_search_save_LIBS
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_LayoutBase" >&5
4358 $as_echo "$ac_cv_search_LayoutBase" >&6; }
4359 ac_res=$ac_cv_search_LayoutBase
4360 if test "$ac_res" != no; then :
4361 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4363 else
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Who cares?" >&5
4365 $as_echo "$as_me: WARNING: Who cares?" >&2;}
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MUI_NewObject" >&5
4369 $as_echo_n "checking for library containing MUI_NewObject... " >&6; }
4370 if ${ac_cv_search_MUI_NewObject+:} false; then :
4371 $as_echo_n "(cached) " >&6
4372 else
4373 ac_func_search_save_LIBS=$LIBS
4374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4375 /* end confdefs.h. */
4377 /* Override any GCC internal prototype to avoid an error.
4378 Use char because int might match the return type of a GCC
4379 builtin and then its argument prototype would still apply. */
4380 #ifdef __cplusplus
4381 extern "C"
4382 #endif
4383 char MUI_NewObject ();
4385 main ()
4387 return MUI_NewObject ();
4389 return 0;
4391 _ACEOF
4392 for ac_lib in '' mui; do
4393 if test -z "$ac_lib"; then
4394 ac_res="none required"
4395 else
4396 ac_res=-l$ac_lib
4397 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4399 if ac_fn_c_try_link "$LINENO"; then :
4400 ac_cv_search_MUI_NewObject=$ac_res
4402 rm -f core conftest.err conftest.$ac_objext \
4403 conftest$ac_exeext
4404 if ${ac_cv_search_MUI_NewObject+:} false; then :
4405 break
4407 done
4408 if ${ac_cv_search_MUI_NewObject+:} false; then :
4410 else
4411 ac_cv_search_MUI_NewObject=no
4413 rm conftest.$ac_ext
4414 LIBS=$ac_func_search_save_LIBS
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MUI_NewObject" >&5
4417 $as_echo "$ac_cv_search_MUI_NewObject" >&6; }
4418 ac_res=$ac_cv_search_MUI_NewObject
4419 if test "$ac_res" != no; then :
4420 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4422 else
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Who cares?" >&5
4424 $as_echo "$as_me: WARNING: Who cares?" >&2;}
4428 case $host in
4429 i?86be-pc-amithlon)
4430 : ${CPU="i686"}
4431 LIBS="-lm $LIBS" ;;
4432 esac
4435 ac_ext=c
4436 ac_cpp='$CPP $CPPFLAGS'
4437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4441 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4442 # On Suns, sometimes $CPP names a directory.
4443 if test -n "$CPP" && test -d "$CPP"; then
4444 CPP=
4446 if test -z "$CPP"; then
4447 if ${ac_cv_prog_CPP+:} false; then :
4448 $as_echo_n "(cached) " >&6
4449 else
4450 # Double quotes because CPP needs to be expanded
4451 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4453 ac_preproc_ok=false
4454 for ac_c_preproc_warn_flag in '' yes
4456 # Use a header file that comes with gcc, so configuring glibc
4457 # with a fresh cross-compiler works.
4458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4459 # <limits.h> exists even on freestanding compilers.
4460 # On the NeXT, cc -E runs the code through the compiler's parser,
4461 # not just through cpp. "Syntax error" is here to catch this case.
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h. */
4464 #ifdef __STDC__
4465 # include <limits.h>
4466 #else
4467 # include <assert.h>
4468 #endif
4469 Syntax error
4470 _ACEOF
4471 if ac_fn_c_try_cpp "$LINENO"; then :
4473 else
4474 # Broken: fails on valid input.
4475 continue
4477 rm -f conftest.err conftest.i conftest.$ac_ext
4479 # OK, works on sane cases. Now check whether nonexistent headers
4480 # can be detected and how.
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4483 #include <ac_nonexistent.h>
4484 _ACEOF
4485 if ac_fn_c_try_cpp "$LINENO"; then :
4486 # Broken: success on invalid input.
4487 continue
4488 else
4489 # Passes both tests.
4490 ac_preproc_ok=:
4491 break
4493 rm -f conftest.err conftest.i conftest.$ac_ext
4495 done
4496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4497 rm -f conftest.i conftest.err conftest.$ac_ext
4498 if $ac_preproc_ok; then :
4499 break
4502 done
4503 ac_cv_prog_CPP=$CPP
4506 CPP=$ac_cv_prog_CPP
4507 else
4508 ac_cv_prog_CPP=$CPP
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4511 $as_echo "$CPP" >&6; }
4512 ac_preproc_ok=false
4513 for ac_c_preproc_warn_flag in '' yes
4515 # Use a header file that comes with gcc, so configuring glibc
4516 # with a fresh cross-compiler works.
4517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4518 # <limits.h> exists even on freestanding compilers.
4519 # On the NeXT, cc -E runs the code through the compiler's parser,
4520 # not just through cpp. "Syntax error" is here to catch this case.
4521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4523 #ifdef __STDC__
4524 # include <limits.h>
4525 #else
4526 # include <assert.h>
4527 #endif
4528 Syntax error
4529 _ACEOF
4530 if ac_fn_c_try_cpp "$LINENO"; then :
4532 else
4533 # Broken: fails on valid input.
4534 continue
4536 rm -f conftest.err conftest.i conftest.$ac_ext
4538 # OK, works on sane cases. Now check whether nonexistent headers
4539 # can be detected and how.
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4542 #include <ac_nonexistent.h>
4543 _ACEOF
4544 if ac_fn_c_try_cpp "$LINENO"; then :
4545 # Broken: success on invalid input.
4546 continue
4547 else
4548 # Passes both tests.
4549 ac_preproc_ok=:
4550 break
4552 rm -f conftest.err conftest.i conftest.$ac_ext
4554 done
4555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4556 rm -f conftest.i conftest.err conftest.$ac_ext
4557 if $ac_preproc_ok; then :
4559 else
4560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4562 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4563 See \`config.log' for more details" "$LINENO" 5; }
4566 ac_ext=c
4567 ac_cpp='$CPP $CPPFLAGS'
4568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4574 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4575 if ${ac_cv_path_GREP+:} false; then :
4576 $as_echo_n "(cached) " >&6
4577 else
4578 if test -z "$GREP"; then
4579 ac_path_GREP_found=false
4580 # Loop through the user's path and test for each of PROGNAME-LIST
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4584 IFS=$as_save_IFS
4585 test -z "$as_dir" && as_dir=.
4586 for ac_prog in grep ggrep; do
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4589 as_fn_executable_p "$ac_path_GREP" || continue
4590 # Check for GNU ac_path_GREP and select it if it is found.
4591 # Check for GNU $ac_path_GREP
4592 case `"$ac_path_GREP" --version 2>&1` in
4593 *GNU*)
4594 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4596 ac_count=0
4597 $as_echo_n 0123456789 >"conftest.in"
4598 while :
4600 cat "conftest.in" "conftest.in" >"conftest.tmp"
4601 mv "conftest.tmp" "conftest.in"
4602 cp "conftest.in" "conftest.nl"
4603 $as_echo 'GREP' >> "conftest.nl"
4604 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4605 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4606 as_fn_arith $ac_count + 1 && ac_count=$as_val
4607 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4608 # Best one so far, save it but keep looking for a better one
4609 ac_cv_path_GREP="$ac_path_GREP"
4610 ac_path_GREP_max=$ac_count
4612 # 10*(2^10) chars as input seems more than enough
4613 test $ac_count -gt 10 && break
4614 done
4615 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4616 esac
4618 $ac_path_GREP_found && break 3
4619 done
4620 done
4621 done
4622 IFS=$as_save_IFS
4623 if test -z "$ac_cv_path_GREP"; then
4624 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4626 else
4627 ac_cv_path_GREP=$GREP
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4632 $as_echo "$ac_cv_path_GREP" >&6; }
4633 GREP="$ac_cv_path_GREP"
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4637 $as_echo_n "checking for egrep... " >&6; }
4638 if ${ac_cv_path_EGREP+:} false; then :
4639 $as_echo_n "(cached) " >&6
4640 else
4641 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4642 then ac_cv_path_EGREP="$GREP -E"
4643 else
4644 if test -z "$EGREP"; then
4645 ac_path_EGREP_found=false
4646 # Loop through the user's path and test for each of PROGNAME-LIST
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4650 IFS=$as_save_IFS
4651 test -z "$as_dir" && as_dir=.
4652 for ac_prog in egrep; do
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4655 as_fn_executable_p "$ac_path_EGREP" || continue
4656 # Check for GNU ac_path_EGREP and select it if it is found.
4657 # Check for GNU $ac_path_EGREP
4658 case `"$ac_path_EGREP" --version 2>&1` in
4659 *GNU*)
4660 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4662 ac_count=0
4663 $as_echo_n 0123456789 >"conftest.in"
4664 while :
4666 cat "conftest.in" "conftest.in" >"conftest.tmp"
4667 mv "conftest.tmp" "conftest.in"
4668 cp "conftest.in" "conftest.nl"
4669 $as_echo 'EGREP' >> "conftest.nl"
4670 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4671 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4672 as_fn_arith $ac_count + 1 && ac_count=$as_val
4673 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4674 # Best one so far, save it but keep looking for a better one
4675 ac_cv_path_EGREP="$ac_path_EGREP"
4676 ac_path_EGREP_max=$ac_count
4678 # 10*(2^10) chars as input seems more than enough
4679 test $ac_count -gt 10 && break
4680 done
4681 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4682 esac
4684 $ac_path_EGREP_found && break 3
4685 done
4686 done
4687 done
4688 IFS=$as_save_IFS
4689 if test -z "$ac_cv_path_EGREP"; then
4690 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4692 else
4693 ac_cv_path_EGREP=$EGREP
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4699 $as_echo "$ac_cv_path_EGREP" >&6; }
4700 EGREP="$ac_cv_path_EGREP"
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4704 $as_echo_n "checking for ANSI C header files... " >&6; }
4705 if ${ac_cv_header_stdc+:} false; then :
4706 $as_echo_n "(cached) " >&6
4707 else
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4710 #include <stdlib.h>
4711 #include <stdarg.h>
4712 #include <string.h>
4713 #include <float.h>
4716 main ()
4720 return 0;
4722 _ACEOF
4723 if ac_fn_c_try_compile "$LINENO"; then :
4724 ac_cv_header_stdc=yes
4725 else
4726 ac_cv_header_stdc=no
4728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4730 if test $ac_cv_header_stdc = yes; then
4731 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4734 #include <string.h>
4736 _ACEOF
4737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4738 $EGREP "memchr" >/dev/null 2>&1; then :
4740 else
4741 ac_cv_header_stdc=no
4743 rm -f conftest*
4747 if test $ac_cv_header_stdc = yes; then
4748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4751 #include <stdlib.h>
4753 _ACEOF
4754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4755 $EGREP "free" >/dev/null 2>&1; then :
4757 else
4758 ac_cv_header_stdc=no
4760 rm -f conftest*
4764 if test $ac_cv_header_stdc = yes; then
4765 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4766 if test "$cross_compiling" = yes; then :
4768 else
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4771 #include <ctype.h>
4772 #include <stdlib.h>
4773 #if ((' ' & 0x0FF) == 0x020)
4774 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4775 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4776 #else
4777 # define ISLOWER(c) \
4778 (('a' <= (c) && (c) <= 'i') \
4779 || ('j' <= (c) && (c) <= 'r') \
4780 || ('s' <= (c) && (c) <= 'z'))
4781 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4782 #endif
4784 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4786 main ()
4788 int i;
4789 for (i = 0; i < 256; i++)
4790 if (XOR (islower (i), ISLOWER (i))
4791 || toupper (i) != TOUPPER (i))
4792 return 2;
4793 return 0;
4795 _ACEOF
4796 if ac_fn_c_try_run "$LINENO"; then :
4798 else
4799 ac_cv_header_stdc=no
4801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4802 conftest.$ac_objext conftest.beam conftest.$ac_ext
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4808 $as_echo "$ac_cv_header_stdc" >&6; }
4809 if test $ac_cv_header_stdc = yes; then
4811 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4815 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4816 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4817 inttypes.h stdint.h unistd.h
4818 do :
4819 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4820 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4822 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4823 cat >>confdefs.h <<_ACEOF
4824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4825 _ACEOF
4829 done
4832 for ac_header in proto/oss.h
4833 do :
4834 ac_fn_c_check_header_mongrel "$LINENO" "proto/oss.h" "ac_cv_header_proto_oss_h" "$ac_includes_default"
4835 if test "x$ac_cv_header_proto_oss_h" = xyes; then :
4836 cat >>confdefs.h <<_ACEOF
4837 #define HAVE_PROTO_OSS_H 1
4838 _ACEOF
4839 HAVE_OSS=1
4840 else
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"proto/oss.h is missing.\" " >&5
4842 $as_echo "$as_me: WARNING: \"proto/oss.h is missing.\" " >&2;}
4845 done
4847 for ac_header in asm/io.h
4848 do :
4849 ac_fn_c_check_header_mongrel "$LINENO" "asm/io.h" "ac_cv_header_asm_io_h" "$ac_includes_default"
4850 if test "x$ac_cv_header_asm_io_h" = xyes; then :
4851 cat >>confdefs.h <<_ACEOF
4852 #define HAVE_ASM_IO_H 1
4853 _ACEOF
4854 HAVE_ASMIO=1
4855 else
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"asm/io.h is missing.\" " >&5
4857 $as_echo "$as_me: WARNING: \"asm/io.h is missing.\" " >&2;}
4860 done
4862 for ac_header in libraries/openpci.h
4863 do :
4864 ac_fn_c_check_header_mongrel "$LINENO" "libraries/openpci.h" "ac_cv_header_libraries_openpci_h" "$ac_includes_default"
4865 if test "x$ac_cv_header_libraries_openpci_h" = xyes; then :
4866 cat >>confdefs.h <<_ACEOF
4867 #define HAVE_LIBRARIES_OPENPCI_H 1
4868 _ACEOF
4869 HAVE_OPENPCI=1
4870 else
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libraries/openpci.h is missing.\" " >&5
4872 $as_echo "$as_me: WARNING: \"libraries/openpci.h is missing.\" " >&2;}
4875 done
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA_Init in -lalsa-bridge" >&5
4884 $as_echo_n "checking for ALSA_Init in -lalsa-bridge... " >&6; }
4885 if ${ac_cv_lib_alsa_bridge_ALSA_Init+:} false; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 ac_check_lib_save_LIBS=$LIBS
4889 LIBS="-lalsa-bridge $LIBS"
4890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4893 /* Override any GCC internal prototype to avoid an error.
4894 Use char because int might match the return type of a GCC
4895 builtin and then its argument prototype would still apply. */
4896 #ifdef __cplusplus
4897 extern "C"
4898 #endif
4899 char ALSA_Init ();
4901 main ()
4903 return ALSA_Init ();
4905 return 0;
4907 _ACEOF
4908 if ac_fn_c_try_link "$LINENO"; then :
4909 ac_cv_lib_alsa_bridge_ALSA_Init=yes
4910 else
4911 ac_cv_lib_alsa_bridge_ALSA_Init=no
4913 rm -f core conftest.err conftest.$ac_objext \
4914 conftest$ac_exeext conftest.$ac_ext
4915 LIBS=$ac_check_lib_save_LIBS
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_alsa_bridge_ALSA_Init" >&5
4918 $as_echo "$ac_cv_lib_alsa_bridge_ALSA_Init" >&6; }
4919 if test "x$ac_cv_lib_alsa_bridge_ALSA_Init" = xyes; then :
4920 HAVE_ALSA=1
4921 else
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"alsa-bridge is missing.\" " >&5
4923 $as_echo "$as_me: WARNING: \"alsa-bridge is missing.\" " >&2;}
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4931 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4932 if ${ac_cv_c_const+:} false; then :
4933 $as_echo_n "(cached) " >&6
4934 else
4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4939 main ()
4942 #ifndef __cplusplus
4943 /* Ultrix mips cc rejects this sort of thing. */
4944 typedef int charset[2];
4945 const charset cs = { 0, 0 };
4946 /* SunOS 4.1.1 cc rejects this. */
4947 char const *const *pcpcc;
4948 char **ppc;
4949 /* NEC SVR4.0.2 mips cc rejects this. */
4950 struct point {int x, y;};
4951 static struct point const zero = {0,0};
4952 /* AIX XL C 1.02.0.0 rejects this.
4953 It does not let you subtract one const X* pointer from another in
4954 an arm of an if-expression whose if-part is not a constant
4955 expression */
4956 const char *g = "string";
4957 pcpcc = &g + (g ? g-g : 0);
4958 /* HPUX 7.0 cc rejects these. */
4959 ++pcpcc;
4960 ppc = (char**) pcpcc;
4961 pcpcc = (char const *const *) ppc;
4962 { /* SCO 3.2v4 cc rejects this sort of thing. */
4963 char tx;
4964 char *t = &tx;
4965 char const *s = 0 ? (char *) 0 : (char const *) 0;
4967 *t++ = 0;
4968 if (s) return 0;
4970 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4971 int x[] = {25, 17};
4972 const int *foo = &x[0];
4973 ++foo;
4975 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4976 typedef const int *iptr;
4977 iptr p = 0;
4978 ++p;
4980 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4981 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4982 struct s { int j; const int *ap[3]; } bx;
4983 struct s *b = &bx; b->j = 5;
4985 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4986 const int foo = 10;
4987 if (!foo) return 0;
4989 return !cs[0] && !zero.x;
4990 #endif
4993 return 0;
4995 _ACEOF
4996 if ac_fn_c_try_compile "$LINENO"; then :
4997 ac_cv_c_const=yes
4998 else
4999 ac_cv_c_const=no
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5004 $as_echo "$ac_cv_c_const" >&6; }
5005 if test $ac_cv_c_const = no; then
5007 $as_echo "#define const /**/" >>confdefs.h
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5012 $as_echo_n "checking for inline... " >&6; }
5013 if ${ac_cv_c_inline+:} false; then :
5014 $as_echo_n "(cached) " >&6
5015 else
5016 ac_cv_c_inline=no
5017 for ac_kw in inline __inline__ __inline; do
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5020 #ifndef __cplusplus
5021 typedef int foo_t;
5022 static $ac_kw foo_t static_foo () {return 0; }
5023 $ac_kw foo_t foo () {return 0; }
5024 #endif
5026 _ACEOF
5027 if ac_fn_c_try_compile "$LINENO"; then :
5028 ac_cv_c_inline=$ac_kw
5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5031 test "$ac_cv_c_inline" != no && break
5032 done
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5036 $as_echo "$ac_cv_c_inline" >&6; }
5038 case $ac_cv_c_inline in
5039 inline | yes) ;;
5041 case $ac_cv_c_inline in
5042 no) ac_val=;;
5043 *) ac_val=$ac_cv_c_inline;;
5044 esac
5045 cat >>confdefs.h <<_ACEOF
5046 #ifndef __cplusplus
5047 #define inline $ac_val
5048 #endif
5049 _ACEOF
5051 esac
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5054 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5055 if ${ac_cv_c_bigendian+:} false; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 ac_cv_c_bigendian=unknown
5059 # See if we're dealing with a universal compiler.
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5062 #ifndef __APPLE_CC__
5063 not a universal capable compiler
5064 #endif
5065 typedef int dummy;
5067 _ACEOF
5068 if ac_fn_c_try_compile "$LINENO"; then :
5070 # Check for potential -arch flags. It is not universal unless
5071 # there are at least two -arch flags with different values.
5072 ac_arch=
5073 ac_prev=
5074 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5075 if test -n "$ac_prev"; then
5076 case $ac_word in
5077 i?86 | x86_64 | ppc | ppc64)
5078 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5079 ac_arch=$ac_word
5080 else
5081 ac_cv_c_bigendian=universal
5082 break
5085 esac
5086 ac_prev=
5087 elif test "x$ac_word" = "x-arch"; then
5088 ac_prev=arch
5090 done
5092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5093 if test $ac_cv_c_bigendian = unknown; then
5094 # See if sys/param.h defines the BYTE_ORDER macro.
5095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5096 /* end confdefs.h. */
5097 #include <sys/types.h>
5098 #include <sys/param.h>
5101 main ()
5103 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5104 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5105 && LITTLE_ENDIAN)
5106 bogus endian macros
5107 #endif
5110 return 0;
5112 _ACEOF
5113 if ac_fn_c_try_compile "$LINENO"; then :
5114 # It does; now see whether it defined to BIG_ENDIAN or not.
5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5116 /* end confdefs.h. */
5117 #include <sys/types.h>
5118 #include <sys/param.h>
5121 main ()
5123 #if BYTE_ORDER != BIG_ENDIAN
5124 not big endian
5125 #endif
5128 return 0;
5130 _ACEOF
5131 if ac_fn_c_try_compile "$LINENO"; then :
5132 ac_cv_c_bigendian=yes
5133 else
5134 ac_cv_c_bigendian=no
5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5140 if test $ac_cv_c_bigendian = unknown; then
5141 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5144 #include <limits.h>
5147 main ()
5149 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5150 bogus endian macros
5151 #endif
5154 return 0;
5156 _ACEOF
5157 if ac_fn_c_try_compile "$LINENO"; then :
5158 # It does; now see whether it defined to _BIG_ENDIAN or not.
5159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5160 /* end confdefs.h. */
5161 #include <limits.h>
5164 main ()
5166 #ifndef _BIG_ENDIAN
5167 not big endian
5168 #endif
5171 return 0;
5173 _ACEOF
5174 if ac_fn_c_try_compile "$LINENO"; then :
5175 ac_cv_c_bigendian=yes
5176 else
5177 ac_cv_c_bigendian=no
5179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5183 if test $ac_cv_c_bigendian = unknown; then
5184 # Compile a test program.
5185 if test "$cross_compiling" = yes; then :
5186 # Try to guess by grepping values from an object file.
5187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5188 /* end confdefs.h. */
5189 short int ascii_mm[] =
5190 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5191 short int ascii_ii[] =
5192 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5193 int use_ascii (int i) {
5194 return ascii_mm[i] + ascii_ii[i];
5196 short int ebcdic_ii[] =
5197 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5198 short int ebcdic_mm[] =
5199 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5200 int use_ebcdic (int i) {
5201 return ebcdic_mm[i] + ebcdic_ii[i];
5203 extern int foo;
5206 main ()
5208 return use_ascii (foo) == use_ebcdic (foo);
5210 return 0;
5212 _ACEOF
5213 if ac_fn_c_try_compile "$LINENO"; then :
5214 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5215 ac_cv_c_bigendian=yes
5217 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5218 if test "$ac_cv_c_bigendian" = unknown; then
5219 ac_cv_c_bigendian=no
5220 else
5221 # finding both strings is unlikely to happen, but who knows?
5222 ac_cv_c_bigendian=unknown
5226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5227 else
5228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h. */
5230 $ac_includes_default
5232 main ()
5235 /* Are we little or big endian? From Harbison&Steele. */
5236 union
5238 long int l;
5239 char c[sizeof (long int)];
5240 } u;
5241 u.l = 1;
5242 return u.c[sizeof (long int) - 1] == 1;
5245 return 0;
5247 _ACEOF
5248 if ac_fn_c_try_run "$LINENO"; then :
5249 ac_cv_c_bigendian=no
5250 else
5251 ac_cv_c_bigendian=yes
5253 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5254 conftest.$ac_objext conftest.beam conftest.$ac_ext
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5260 $as_echo "$ac_cv_c_bigendian" >&6; }
5261 case $ac_cv_c_bigendian in #(
5262 yes)
5263 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5264 ;; #(
5266 ;; #(
5267 universal)
5269 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5271 ;; #(
5273 as_fn_error $? "unknown endianness
5274 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5275 esac
5280 ac_config_files="$ac_config_files Makefile AHI/Makefile AHI-Handler/Makefile AddAudioModes/Makefile Device/Makefile Docs/Makefile Drivers/Makefile Drivers/ac97/Makefile Drivers/VIA-AC97/Makefile Drivers/HDAudio/Makefile Drivers/Alsa/Makefile Drivers/CMI8738/Makefile Drivers/SB128/Makefile Drivers/AROS/Makefile Drivers/Common/Makefile.common Drivers/Device/Makefile Drivers/EMU10kx/Makefile Drivers/Envy24HT/Makefile Drivers/Envy24/Makefile Drivers/Filesave/Makefile Drivers/Void/Makefile Examples/Makefile Examples/Device/PlayTest/Makefile Examples/Extras/CloneAudioModes/Makefile Examples/Low-level/PlaySineEverywhere/Makefile Examples/Low-level/Test-7.1/Makefile Examples/Low-level/ScanAudioModes/Makefile Include/Makefile"
5282 ac_config_commands="$ac_config_commands default"
5284 cat >confcache <<\_ACEOF
5285 # This file is a shell script that caches the results of configure
5286 # tests run on this system so they can be shared between configure
5287 # scripts and configure runs, see configure's option --config-cache.
5288 # It is not useful on other systems. If it contains results you don't
5289 # want to keep, you may remove or edit it.
5291 # config.status only pays attention to the cache file if you give it
5292 # the --recheck option to rerun configure.
5294 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5295 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5296 # following values.
5298 _ACEOF
5300 # The following way of writing the cache mishandles newlines in values,
5301 # but we know of no workaround that is simple, portable, and efficient.
5302 # So, we kill variables containing newlines.
5303 # Ultrix sh set writes to stderr and can't be redirected directly,
5304 # and sets the high bit in the cache file unless we assign to the vars.
5306 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5307 eval ac_val=\$$ac_var
5308 case $ac_val in #(
5309 *${as_nl}*)
5310 case $ac_var in #(
5311 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5312 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5313 esac
5314 case $ac_var in #(
5315 _ | IFS | as_nl) ;; #(
5316 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5317 *) { eval $ac_var=; unset $ac_var;} ;;
5318 esac ;;
5319 esac
5320 done
5322 (set) 2>&1 |
5323 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5324 *${as_nl}ac_space=\ *)
5325 # `set' does not quote correctly, so add quotes: double-quote
5326 # substitution turns \\\\ into \\, and sed turns \\ into \.
5327 sed -n \
5328 "s/'/'\\\\''/g;
5329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5330 ;; #(
5332 # `set' quotes correctly as required by POSIX, so do not add quotes.
5333 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5335 esac |
5336 sort
5338 sed '
5339 /^ac_cv_env_/b end
5340 t clear
5341 :clear
5342 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5343 t end
5344 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5345 :end' >>confcache
5346 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5347 if test -w "$cache_file"; then
5348 if test "x$cache_file" != "x/dev/null"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5350 $as_echo "$as_me: updating cache $cache_file" >&6;}
5351 if test ! -f "$cache_file" || test -h "$cache_file"; then
5352 cat confcache >"$cache_file"
5353 else
5354 case $cache_file in #(
5355 */* | ?:*)
5356 mv -f confcache "$cache_file"$$ &&
5357 mv -f "$cache_file"$$ "$cache_file" ;; #(
5359 mv -f confcache "$cache_file" ;;
5360 esac
5363 else
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5365 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5368 rm -f confcache
5370 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5371 # Let make expand exec_prefix.
5372 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5374 DEFS=-DHAVE_CONFIG_H
5376 ac_libobjs=
5377 ac_ltlibobjs=
5379 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5380 # 1. Remove the extension, and $U if already installed.
5381 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5382 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5383 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5384 # will be set to the directory where LIBOBJS objects are built.
5385 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5386 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5387 done
5388 LIBOBJS=$ac_libobjs
5390 LTLIBOBJS=$ac_ltlibobjs
5395 : "${CONFIG_STATUS=./config.status}"
5396 ac_write_fail=0
5397 ac_clean_files_save=$ac_clean_files
5398 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5400 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5401 as_write_fail=0
5402 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5403 #! $SHELL
5404 # Generated by $as_me.
5405 # Run this file to recreate the current configuration.
5406 # Compiler output produced by configure, useful for debugging
5407 # configure, is in config.log if it exists.
5409 debug=false
5410 ac_cs_recheck=false
5411 ac_cs_silent=false
5413 SHELL=\${CONFIG_SHELL-$SHELL}
5414 export SHELL
5415 _ASEOF
5416 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5417 ## -------------------- ##
5418 ## M4sh Initialization. ##
5419 ## -------------------- ##
5421 # Be more Bourne compatible
5422 DUALCASE=1; export DUALCASE # for MKS sh
5423 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5424 emulate sh
5425 NULLCMD=:
5426 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5427 # is contrary to our usage. Disable this feature.
5428 alias -g '${1+"$@"}'='"$@"'
5429 setopt NO_GLOB_SUBST
5430 else
5431 case `(set -o) 2>/dev/null` in #(
5432 *posix*) :
5433 set -o posix ;; #(
5434 *) :
5436 esac
5440 as_nl='
5442 export as_nl
5443 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5444 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5445 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5446 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5447 # Prefer a ksh shell builtin over an external printf program on Solaris,
5448 # but without wasting forks for bash or zsh.
5449 if test -z "$BASH_VERSION$ZSH_VERSION" \
5450 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5451 as_echo='print -r --'
5452 as_echo_n='print -rn --'
5453 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5454 as_echo='printf %s\n'
5455 as_echo_n='printf %s'
5456 else
5457 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5458 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5459 as_echo_n='/usr/ucb/echo -n'
5460 else
5461 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5462 as_echo_n_body='eval
5463 arg=$1;
5464 case $arg in #(
5465 *"$as_nl"*)
5466 expr "X$arg" : "X\\(.*\\)$as_nl";
5467 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5468 esac;
5469 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5471 export as_echo_n_body
5472 as_echo_n='sh -c $as_echo_n_body as_echo'
5474 export as_echo_body
5475 as_echo='sh -c $as_echo_body as_echo'
5478 # The user is always right.
5479 if test "${PATH_SEPARATOR+set}" != set; then
5480 PATH_SEPARATOR=:
5481 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5482 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5483 PATH_SEPARATOR=';'
5488 # IFS
5489 # We need space, tab and new line, in precisely that order. Quoting is
5490 # there to prevent editors from complaining about space-tab.
5491 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5492 # splitting by setting IFS to empty value.)
5493 IFS=" "" $as_nl"
5495 # Find who we are. Look in the path if we contain no directory separator.
5496 as_myself=
5497 case $0 in #((
5498 *[\\/]* ) as_myself=$0 ;;
5499 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 for as_dir in $PATH
5502 IFS=$as_save_IFS
5503 test -z "$as_dir" && as_dir=.
5504 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5505 done
5506 IFS=$as_save_IFS
5509 esac
5510 # We did not find ourselves, most probably we were run as `sh COMMAND'
5511 # in which case we are not to be found in the path.
5512 if test "x$as_myself" = x; then
5513 as_myself=$0
5515 if test ! -f "$as_myself"; then
5516 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5517 exit 1
5520 # Unset variables that we do not need and which cause bugs (e.g. in
5521 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5522 # suppresses any "Segmentation fault" message there. '((' could
5523 # trigger a bug in pdksh 5.2.14.
5524 for as_var in BASH_ENV ENV MAIL MAILPATH
5525 do eval test x\${$as_var+set} = xset \
5526 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5527 done
5528 PS1='$ '
5529 PS2='> '
5530 PS4='+ '
5532 # NLS nuisances.
5533 LC_ALL=C
5534 export LC_ALL
5535 LANGUAGE=C
5536 export LANGUAGE
5538 # CDPATH.
5539 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5542 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5543 # ----------------------------------------
5544 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5545 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5546 # script with STATUS, using 1 if that was 0.
5547 as_fn_error ()
5549 as_status=$1; test $as_status -eq 0 && as_status=1
5550 if test "$4"; then
5551 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5552 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5554 $as_echo "$as_me: error: $2" >&2
5555 as_fn_exit $as_status
5556 } # as_fn_error
5559 # as_fn_set_status STATUS
5560 # -----------------------
5561 # Set $? to STATUS, without forking.
5562 as_fn_set_status ()
5564 return $1
5565 } # as_fn_set_status
5567 # as_fn_exit STATUS
5568 # -----------------
5569 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5570 as_fn_exit ()
5572 set +e
5573 as_fn_set_status $1
5574 exit $1
5575 } # as_fn_exit
5577 # as_fn_unset VAR
5578 # ---------------
5579 # Portably unset VAR.
5580 as_fn_unset ()
5582 { eval $1=; unset $1;}
5584 as_unset=as_fn_unset
5585 # as_fn_append VAR VALUE
5586 # ----------------------
5587 # Append the text in VALUE to the end of the definition contained in VAR. Take
5588 # advantage of any shell optimizations that allow amortized linear growth over
5589 # repeated appends, instead of the typical quadratic growth present in naive
5590 # implementations.
5591 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5592 eval 'as_fn_append ()
5594 eval $1+=\$2
5596 else
5597 as_fn_append ()
5599 eval $1=\$$1\$2
5601 fi # as_fn_append
5603 # as_fn_arith ARG...
5604 # ------------------
5605 # Perform arithmetic evaluation on the ARGs, and store the result in the
5606 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5607 # must be portable across $(()) and expr.
5608 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5609 eval 'as_fn_arith ()
5611 as_val=$(( $* ))
5613 else
5614 as_fn_arith ()
5616 as_val=`expr "$@" || test $? -eq 1`
5618 fi # as_fn_arith
5621 if expr a : '\(a\)' >/dev/null 2>&1 &&
5622 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5623 as_expr=expr
5624 else
5625 as_expr=false
5628 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5629 as_basename=basename
5630 else
5631 as_basename=false
5634 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5635 as_dirname=dirname
5636 else
5637 as_dirname=false
5640 as_me=`$as_basename -- "$0" ||
5641 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5642 X"$0" : 'X\(//\)$' \| \
5643 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5644 $as_echo X/"$0" |
5645 sed '/^.*\/\([^/][^/]*\)\/*$/{
5646 s//\1/
5649 /^X\/\(\/\/\)$/{
5650 s//\1/
5653 /^X\/\(\/\).*/{
5654 s//\1/
5657 s/.*/./; q'`
5659 # Avoid depending upon Character Ranges.
5660 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5661 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5662 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5663 as_cr_digits='0123456789'
5664 as_cr_alnum=$as_cr_Letters$as_cr_digits
5666 ECHO_C= ECHO_N= ECHO_T=
5667 case `echo -n x` in #(((((
5668 -n*)
5669 case `echo 'xy\c'` in
5670 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5671 xy) ECHO_C='\c';;
5672 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5673 ECHO_T=' ';;
5674 esac;;
5676 ECHO_N='-n';;
5677 esac
5679 rm -f conf$$ conf$$.exe conf$$.file
5680 if test -d conf$$.dir; then
5681 rm -f conf$$.dir/conf$$.file
5682 else
5683 rm -f conf$$.dir
5684 mkdir conf$$.dir 2>/dev/null
5686 if (echo >conf$$.file) 2>/dev/null; then
5687 if ln -s conf$$.file conf$$ 2>/dev/null; then
5688 as_ln_s='ln -s'
5689 # ... but there are two gotchas:
5690 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5691 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5692 # In both cases, we have to default to `cp -pR'.
5693 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5694 as_ln_s='cp -pR'
5695 elif ln conf$$.file conf$$ 2>/dev/null; then
5696 as_ln_s=ln
5697 else
5698 as_ln_s='cp -pR'
5700 else
5701 as_ln_s='cp -pR'
5703 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5704 rmdir conf$$.dir 2>/dev/null
5707 # as_fn_mkdir_p
5708 # -------------
5709 # Create "$as_dir" as a directory, including parents if necessary.
5710 as_fn_mkdir_p ()
5713 case $as_dir in #(
5714 -*) as_dir=./$as_dir;;
5715 esac
5716 test -d "$as_dir" || eval $as_mkdir_p || {
5717 as_dirs=
5718 while :; do
5719 case $as_dir in #(
5720 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5721 *) as_qdir=$as_dir;;
5722 esac
5723 as_dirs="'$as_qdir' $as_dirs"
5724 as_dir=`$as_dirname -- "$as_dir" ||
5725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5726 X"$as_dir" : 'X\(//\)[^/]' \| \
5727 X"$as_dir" : 'X\(//\)$' \| \
5728 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5729 $as_echo X"$as_dir" |
5730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5731 s//\1/
5734 /^X\(\/\/\)[^/].*/{
5735 s//\1/
5738 /^X\(\/\/\)$/{
5739 s//\1/
5742 /^X\(\/\).*/{
5743 s//\1/
5746 s/.*/./; q'`
5747 test -d "$as_dir" && break
5748 done
5749 test -z "$as_dirs" || eval "mkdir $as_dirs"
5750 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5753 } # as_fn_mkdir_p
5754 if mkdir -p . 2>/dev/null; then
5755 as_mkdir_p='mkdir -p "$as_dir"'
5756 else
5757 test -d ./-p && rmdir ./-p
5758 as_mkdir_p=false
5762 # as_fn_executable_p FILE
5763 # -----------------------
5764 # Test if FILE is an executable regular file.
5765 as_fn_executable_p ()
5767 test -f "$1" && test -x "$1"
5768 } # as_fn_executable_p
5769 as_test_x='test -x'
5770 as_executable_p=as_fn_executable_p
5772 # Sed expression to map a string onto a valid CPP name.
5773 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5775 # Sed expression to map a string onto a valid variable name.
5776 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5779 exec 6>&1
5780 ## ----------------------------------- ##
5781 ## Main body of $CONFIG_STATUS script. ##
5782 ## ----------------------------------- ##
5783 _ASEOF
5784 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5787 # Save the log message, to keep $0 and so on meaningful, and to
5788 # report actual input values of CONFIG_FILES etc. instead of their
5789 # values after options handling.
5790 ac_log="
5791 This file was extended by $as_me, which was
5792 generated by GNU Autoconf 2.69. Invocation command line was
5794 CONFIG_FILES = $CONFIG_FILES
5795 CONFIG_HEADERS = $CONFIG_HEADERS
5796 CONFIG_LINKS = $CONFIG_LINKS
5797 CONFIG_COMMANDS = $CONFIG_COMMANDS
5798 $ $0 $@
5800 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5803 _ACEOF
5805 case $ac_config_files in *"
5806 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5807 esac
5809 case $ac_config_headers in *"
5810 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5811 esac
5814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5815 # Files that config.status was made for.
5816 config_files="$ac_config_files"
5817 config_headers="$ac_config_headers"
5818 config_commands="$ac_config_commands"
5820 _ACEOF
5822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5823 ac_cs_usage="\
5824 \`$as_me' instantiates files and other configuration actions
5825 from templates according to the current configuration. Unless the files
5826 and actions are specified as TAGs, all are instantiated by default.
5828 Usage: $0 [OPTION]... [TAG]...
5830 -h, --help print this help, then exit
5831 -V, --version print version number and configuration settings, then exit
5832 --config print configuration, then exit
5833 -q, --quiet, --silent
5834 do not print progress messages
5835 -d, --debug don't remove temporary files
5836 --recheck update $as_me by reconfiguring in the same conditions
5837 --file=FILE[:TEMPLATE]
5838 instantiate the configuration file FILE
5839 --header=FILE[:TEMPLATE]
5840 instantiate the configuration header FILE
5842 Configuration files:
5843 $config_files
5845 Configuration headers:
5846 $config_headers
5848 Configuration commands:
5849 $config_commands
5851 Report bugs to the package provider."
5853 _ACEOF
5854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5855 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5856 ac_cs_version="\\
5857 config.status
5858 configured by $0, generated by GNU Autoconf 2.69,
5859 with options \\"\$ac_cs_config\\"
5861 Copyright (C) 2012 Free Software Foundation, Inc.
5862 This config.status script is free software; the Free Software Foundation
5863 gives unlimited permission to copy, distribute and modify it."
5865 ac_pwd='$ac_pwd'
5866 srcdir='$srcdir'
5867 INSTALL='$INSTALL'
5868 test -n "\$AWK" || AWK=awk
5869 _ACEOF
5871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5872 # The default lists apply if the user does not specify any file.
5873 ac_need_defaults=:
5874 while test $# != 0
5876 case $1 in
5877 --*=?*)
5878 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5879 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5880 ac_shift=:
5882 --*=)
5883 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5884 ac_optarg=
5885 ac_shift=:
5888 ac_option=$1
5889 ac_optarg=$2
5890 ac_shift=shift
5892 esac
5894 case $ac_option in
5895 # Handling of the options.
5896 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5897 ac_cs_recheck=: ;;
5898 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5899 $as_echo "$ac_cs_version"; exit ;;
5900 --config | --confi | --conf | --con | --co | --c )
5901 $as_echo "$ac_cs_config"; exit ;;
5902 --debug | --debu | --deb | --de | --d | -d )
5903 debug=: ;;
5904 --file | --fil | --fi | --f )
5905 $ac_shift
5906 case $ac_optarg in
5907 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5908 '') as_fn_error $? "missing file argument" ;;
5909 esac
5910 as_fn_append CONFIG_FILES " '$ac_optarg'"
5911 ac_need_defaults=false;;
5912 --header | --heade | --head | --hea )
5913 $ac_shift
5914 case $ac_optarg in
5915 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5916 esac
5917 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5918 ac_need_defaults=false;;
5919 --he | --h)
5920 # Conflict between --help and --header
5921 as_fn_error $? "ambiguous option: \`$1'
5922 Try \`$0 --help' for more information.";;
5923 --help | --hel | -h )
5924 $as_echo "$ac_cs_usage"; exit ;;
5925 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5926 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5927 ac_cs_silent=: ;;
5929 # This is an error.
5930 -*) as_fn_error $? "unrecognized option: \`$1'
5931 Try \`$0 --help' for more information." ;;
5933 *) as_fn_append ac_config_targets " $1"
5934 ac_need_defaults=false ;;
5936 esac
5937 shift
5938 done
5940 ac_configure_extra_args=
5942 if $ac_cs_silent; then
5943 exec 6>/dev/null
5944 ac_configure_extra_args="$ac_configure_extra_args --silent"
5947 _ACEOF
5948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5949 if \$ac_cs_recheck; then
5950 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5951 shift
5952 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5953 CONFIG_SHELL='$SHELL'
5954 export CONFIG_SHELL
5955 exec "\$@"
5958 _ACEOF
5959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5960 exec 5>>config.log
5962 echo
5963 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5964 ## Running $as_me. ##
5965 _ASBOX
5966 $as_echo "$ac_log"
5967 } >&5
5969 _ACEOF
5970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5971 _ACEOF
5973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5975 # Handling of arguments.
5976 for ac_config_target in $ac_config_targets
5978 case $ac_config_target in
5979 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5980 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5981 "AHI/Makefile") CONFIG_FILES="$CONFIG_FILES AHI/Makefile" ;;
5982 "AHI-Handler/Makefile") CONFIG_FILES="$CONFIG_FILES AHI-Handler/Makefile" ;;
5983 "AddAudioModes/Makefile") CONFIG_FILES="$CONFIG_FILES AddAudioModes/Makefile" ;;
5984 "Device/Makefile") CONFIG_FILES="$CONFIG_FILES Device/Makefile" ;;
5985 "Docs/Makefile") CONFIG_FILES="$CONFIG_FILES Docs/Makefile" ;;
5986 "Drivers/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/Makefile" ;;
5987 "Drivers/ac97/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/ac97/Makefile" ;;
5988 "Drivers/VIA-AC97/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/VIA-AC97/Makefile" ;;
5989 "Drivers/HDAudio/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/HDAudio/Makefile" ;;
5990 "Drivers/Alsa/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/Alsa/Makefile" ;;
5991 "Drivers/CMI8738/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/CMI8738/Makefile" ;;
5992 "Drivers/SB128/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/SB128/Makefile" ;;
5993 "Drivers/AROS/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/AROS/Makefile" ;;
5994 "Drivers/Common/Makefile.common") CONFIG_FILES="$CONFIG_FILES Drivers/Common/Makefile.common" ;;
5995 "Drivers/Device/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/Device/Makefile" ;;
5996 "Drivers/EMU10kx/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/EMU10kx/Makefile" ;;
5997 "Drivers/Envy24HT/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/Envy24HT/Makefile" ;;
5998 "Drivers/Envy24/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/Envy24/Makefile" ;;
5999 "Drivers/Filesave/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/Filesave/Makefile" ;;
6000 "Drivers/Void/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/Void/Makefile" ;;
6001 "Examples/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Makefile" ;;
6002 "Examples/Device/PlayTest/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Device/PlayTest/Makefile" ;;
6003 "Examples/Extras/CloneAudioModes/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Extras/CloneAudioModes/Makefile" ;;
6004 "Examples/Low-level/PlaySineEverywhere/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Low-level/PlaySineEverywhere/Makefile" ;;
6005 "Examples/Low-level/Test-7.1/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Low-level/Test-7.1/Makefile" ;;
6006 "Examples/Low-level/ScanAudioModes/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Low-level/ScanAudioModes/Makefile" ;;
6007 "Include/Makefile") CONFIG_FILES="$CONFIG_FILES Include/Makefile" ;;
6008 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
6010 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6011 esac
6012 done
6015 # If the user did not use the arguments to specify the items to instantiate,
6016 # then the envvar interface is used. Set only those that are not.
6017 # We use the long form for the default assignment because of an extremely
6018 # bizarre bug on SunOS 4.1.3.
6019 if $ac_need_defaults; then
6020 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6021 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6022 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6025 # Have a temporary directory for convenience. Make it in the build tree
6026 # simply because there is no reason against having it here, and in addition,
6027 # creating and moving files from /tmp can sometimes cause problems.
6028 # Hook for its removal unless debugging.
6029 # Note that there is a small window in which the directory will not be cleaned:
6030 # after its creation but before its name has been assigned to `$tmp'.
6031 $debug ||
6033 tmp= ac_tmp=
6034 trap 'exit_status=$?
6035 : "${ac_tmp:=$tmp}"
6036 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6038 trap 'as_fn_exit 1' 1 2 13 15
6040 # Create a (secure) tmp directory for tmp files.
6043 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6044 test -d "$tmp"
6045 } ||
6047 tmp=./conf$$-$RANDOM
6048 (umask 077 && mkdir "$tmp")
6049 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6050 ac_tmp=$tmp
6052 # Set up the scripts for CONFIG_FILES section.
6053 # No need to generate them if there are no CONFIG_FILES.
6054 # This happens for instance with `./config.status config.h'.
6055 if test -n "$CONFIG_FILES"; then
6058 ac_cr=`echo X | tr X '\015'`
6059 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6060 # But we know of no other shell where ac_cr would be empty at this
6061 # point, so we can use a bashism as a fallback.
6062 if test "x$ac_cr" = x; then
6063 eval ac_cr=\$\'\\r\'
6065 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6066 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6067 ac_cs_awk_cr='\\r'
6068 else
6069 ac_cs_awk_cr=$ac_cr
6072 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6073 _ACEOF
6077 echo "cat >conf$$subs.awk <<_ACEOF" &&
6078 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6079 echo "_ACEOF"
6080 } >conf$$subs.sh ||
6081 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6082 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6083 ac_delim='%!_!# '
6084 for ac_last_try in false false false false false :; do
6085 . ./conf$$subs.sh ||
6086 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6088 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6089 if test $ac_delim_n = $ac_delim_num; then
6090 break
6091 elif $ac_last_try; then
6092 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6093 else
6094 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6096 done
6097 rm -f conf$$subs.sh
6099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6100 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6101 _ACEOF
6102 sed -n '
6104 s/^/S["/; s/!.*/"]=/
6107 s/^[^!]*!//
6108 :repl
6109 t repl
6110 s/'"$ac_delim"'$//
6111 t delim
6114 s/\(.\{148\}\)..*/\1/
6115 t more1
6116 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6119 b repl
6120 :more1
6121 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6124 s/.\{148\}//
6125 t nl
6126 :delim
6128 s/\(.\{148\}\)..*/\1/
6129 t more2
6130 s/["\\]/\\&/g; s/^/"/; s/$/"/
6133 :more2
6134 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6137 s/.\{148\}//
6138 t delim
6139 ' <conf$$subs.awk | sed '
6140 /^[^""]/{
6142 s/\n//
6144 ' >>$CONFIG_STATUS || ac_write_fail=1
6145 rm -f conf$$subs.awk
6146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6147 _ACAWK
6148 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6149 for (key in S) S_is_set[key] = 1
6150 FS = "\a"
6154 line = $ 0
6155 nfields = split(line, field, "@")
6156 substed = 0
6157 len = length(field[1])
6158 for (i = 2; i < nfields; i++) {
6159 key = field[i]
6160 keylen = length(key)
6161 if (S_is_set[key]) {
6162 value = S[key]
6163 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6164 len += length(value) + length(field[++i])
6165 substed = 1
6166 } else
6167 len += 1 + keylen
6170 print line
6173 _ACAWK
6174 _ACEOF
6175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6176 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6177 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6178 else
6180 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6181 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6182 _ACEOF
6184 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6185 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6186 # trailing colons and then remove the whole line if VPATH becomes empty
6187 # (actually we leave an empty line to preserve line numbers).
6188 if test "x$srcdir" = x.; then
6189 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6191 s///
6192 s/^/:/
6193 s/[ ]*$/:/
6194 s/:\$(srcdir):/:/g
6195 s/:\${srcdir}:/:/g
6196 s/:@srcdir@:/:/g
6197 s/^:*//
6198 s/:*$//
6200 s/\(=[ ]*\).*/\1/
6202 s/\n//
6203 s/^[^=]*=[ ]*$//
6207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6208 fi # test -n "$CONFIG_FILES"
6210 # Set up the scripts for CONFIG_HEADERS section.
6211 # No need to generate them if there are no CONFIG_HEADERS.
6212 # This happens for instance with `./config.status Makefile'.
6213 if test -n "$CONFIG_HEADERS"; then
6214 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6215 BEGIN {
6216 _ACEOF
6218 # Transform confdefs.h into an awk script `defines.awk', embedded as
6219 # here-document in config.status, that substitutes the proper values into
6220 # config.h.in to produce config.h.
6222 # Create a delimiter string that does not exist in confdefs.h, to ease
6223 # handling of long lines.
6224 ac_delim='%!_!# '
6225 for ac_last_try in false false :; do
6226 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6227 if test -z "$ac_tt"; then
6228 break
6229 elif $ac_last_try; then
6230 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6231 else
6232 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6234 done
6236 # For the awk script, D is an array of macro values keyed by name,
6237 # likewise P contains macro parameters if any. Preserve backslash
6238 # newline sequences.
6240 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6241 sed -n '
6242 s/.\{148\}/&'"$ac_delim"'/g
6243 t rset
6244 :rset
6245 s/^[ ]*#[ ]*define[ ][ ]*/ /
6246 t def
6248 :def
6249 s/\\$//
6250 t bsnl
6251 s/["\\]/\\&/g
6252 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6253 D["\1"]=" \3"/p
6254 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6256 :bsnl
6257 s/["\\]/\\&/g
6258 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6259 D["\1"]=" \3\\\\\\n"\\/p
6260 t cont
6261 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6262 t cont
6264 :cont
6266 s/.\{148\}/&'"$ac_delim"'/g
6267 t clear
6268 :clear
6269 s/\\$//
6270 t bsnlc
6271 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6273 :bsnlc
6274 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6275 b cont
6276 ' <confdefs.h | sed '
6277 s/'"$ac_delim"'/"\\\
6278 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6281 for (key in D) D_is_set[key] = 1
6282 FS = "\a"
6284 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6285 line = \$ 0
6286 split(line, arg, " ")
6287 if (arg[1] == "#") {
6288 defundef = arg[2]
6289 mac1 = arg[3]
6290 } else {
6291 defundef = substr(arg[1], 2)
6292 mac1 = arg[2]
6294 split(mac1, mac2, "(") #)
6295 macro = mac2[1]
6296 prefix = substr(line, 1, index(line, defundef) - 1)
6297 if (D_is_set[macro]) {
6298 # Preserve the white space surrounding the "#".
6299 print prefix "define", macro P[macro] D[macro]
6300 next
6301 } else {
6302 # Replace #undef with comments. This is necessary, for example,
6303 # in the case of _POSIX_SOURCE, which is predefined and required
6304 # on some systems where configure will not decide to define it.
6305 if (defundef == "undef") {
6306 print "/*", prefix defundef, macro, "*/"
6307 next
6311 { print }
6312 _ACAWK
6313 _ACEOF
6314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6315 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6316 fi # test -n "$CONFIG_HEADERS"
6319 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6320 shift
6321 for ac_tag
6323 case $ac_tag in
6324 :[FHLC]) ac_mode=$ac_tag; continue;;
6325 esac
6326 case $ac_mode$ac_tag in
6327 :[FHL]*:*);;
6328 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6329 :[FH]-) ac_tag=-:-;;
6330 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6331 esac
6332 ac_save_IFS=$IFS
6333 IFS=:
6334 set x $ac_tag
6335 IFS=$ac_save_IFS
6336 shift
6337 ac_file=$1
6338 shift
6340 case $ac_mode in
6341 :L) ac_source=$1;;
6342 :[FH])
6343 ac_file_inputs=
6344 for ac_f
6346 case $ac_f in
6347 -) ac_f="$ac_tmp/stdin";;
6348 *) # Look for the file first in the build tree, then in the source tree
6349 # (if the path is not absolute). The absolute path cannot be DOS-style,
6350 # because $ac_f cannot contain `:'.
6351 test -f "$ac_f" ||
6352 case $ac_f in
6353 [\\/$]*) false;;
6354 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6355 esac ||
6356 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6357 esac
6358 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6359 as_fn_append ac_file_inputs " '$ac_f'"
6360 done
6362 # Let's still pretend it is `configure' which instantiates (i.e., don't
6363 # use $as_me), people would be surprised to read:
6364 # /* config.h. Generated by config.status. */
6365 configure_input='Generated from '`
6366 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6367 `' by configure.'
6368 if test x"$ac_file" != x-; then
6369 configure_input="$ac_file. $configure_input"
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6371 $as_echo "$as_me: creating $ac_file" >&6;}
6373 # Neutralize special characters interpreted by sed in replacement strings.
6374 case $configure_input in #(
6375 *\&* | *\|* | *\\* )
6376 ac_sed_conf_input=`$as_echo "$configure_input" |
6377 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6378 *) ac_sed_conf_input=$configure_input;;
6379 esac
6381 case $ac_tag in
6382 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6383 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6384 esac
6386 esac
6388 ac_dir=`$as_dirname -- "$ac_file" ||
6389 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6390 X"$ac_file" : 'X\(//\)[^/]' \| \
6391 X"$ac_file" : 'X\(//\)$' \| \
6392 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6393 $as_echo X"$ac_file" |
6394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6395 s//\1/
6398 /^X\(\/\/\)[^/].*/{
6399 s//\1/
6402 /^X\(\/\/\)$/{
6403 s//\1/
6406 /^X\(\/\).*/{
6407 s//\1/
6410 s/.*/./; q'`
6411 as_dir="$ac_dir"; as_fn_mkdir_p
6412 ac_builddir=.
6414 case "$ac_dir" in
6415 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6417 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6418 # A ".." for each directory in $ac_dir_suffix.
6419 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6420 case $ac_top_builddir_sub in
6421 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6422 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6423 esac ;;
6424 esac
6425 ac_abs_top_builddir=$ac_pwd
6426 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6427 # for backward compatibility:
6428 ac_top_builddir=$ac_top_build_prefix
6430 case $srcdir in
6431 .) # We are building in place.
6432 ac_srcdir=.
6433 ac_top_srcdir=$ac_top_builddir_sub
6434 ac_abs_top_srcdir=$ac_pwd ;;
6435 [\\/]* | ?:[\\/]* ) # Absolute name.
6436 ac_srcdir=$srcdir$ac_dir_suffix;
6437 ac_top_srcdir=$srcdir
6438 ac_abs_top_srcdir=$srcdir ;;
6439 *) # Relative name.
6440 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6441 ac_top_srcdir=$ac_top_build_prefix$srcdir
6442 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6443 esac
6444 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6447 case $ac_mode in
6450 # CONFIG_FILE
6453 case $INSTALL in
6454 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6455 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6456 esac
6457 _ACEOF
6459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6460 # If the template does not know about datarootdir, expand it.
6461 # FIXME: This hack should be removed a few years after 2.60.
6462 ac_datarootdir_hack=; ac_datarootdir_seen=
6463 ac_sed_dataroot='
6464 /datarootdir/ {
6468 /@datadir@/p
6469 /@docdir@/p
6470 /@infodir@/p
6471 /@localedir@/p
6472 /@mandir@/p'
6473 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6474 *datarootdir*) ac_datarootdir_seen=yes;;
6475 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6477 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6478 _ACEOF
6479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6480 ac_datarootdir_hack='
6481 s&@datadir@&$datadir&g
6482 s&@docdir@&$docdir&g
6483 s&@infodir@&$infodir&g
6484 s&@localedir@&$localedir&g
6485 s&@mandir@&$mandir&g
6486 s&\\\${datarootdir}&$datarootdir&g' ;;
6487 esac
6488 _ACEOF
6490 # Neutralize VPATH when `$srcdir' = `.'.
6491 # Shell code in configure.ac might set extrasub.
6492 # FIXME: do we really want to maintain this feature?
6493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6494 ac_sed_extra="$ac_vpsub
6495 $extrasub
6496 _ACEOF
6497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6499 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6500 s|@configure_input@|$ac_sed_conf_input|;t t
6501 s&@top_builddir@&$ac_top_builddir_sub&;t t
6502 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6503 s&@srcdir@&$ac_srcdir&;t t
6504 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6505 s&@top_srcdir@&$ac_top_srcdir&;t t
6506 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6507 s&@builddir@&$ac_builddir&;t t
6508 s&@abs_builddir@&$ac_abs_builddir&;t t
6509 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6510 s&@INSTALL@&$ac_INSTALL&;t t
6511 $ac_datarootdir_hack
6513 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6514 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6516 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6517 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6518 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6519 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6521 which seems to be undefined. Please make sure it is defined" >&5
6522 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6523 which seems to be undefined. Please make sure it is defined" >&2;}
6525 rm -f "$ac_tmp/stdin"
6526 case $ac_file in
6527 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6528 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6529 esac \
6530 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6534 # CONFIG_HEADER
6536 if test x"$ac_file" != x-; then
6538 $as_echo "/* $configure_input */" \
6539 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6540 } >"$ac_tmp/config.h" \
6541 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6542 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6544 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6545 else
6546 rm -f "$ac_file"
6547 mv "$ac_tmp/config.h" "$ac_file" \
6548 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6550 else
6551 $as_echo "/* $configure_input */" \
6552 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6553 || as_fn_error $? "could not create -" "$LINENO" 5
6557 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6558 $as_echo "$as_me: executing $ac_file commands" >&6;}
6560 esac
6563 case $ac_file$ac_mode in
6564 "default":C) echo timestamp > stamp-h ;;
6566 esac
6567 done # for ac_tag
6570 as_fn_exit 0
6571 _ACEOF
6572 ac_clean_files=$ac_clean_files_save
6574 test $ac_write_fail = 0 ||
6575 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6578 # configure is writing to config.log, and then calls config.status.
6579 # config.status does its own redirection, appending to config.log.
6580 # Unfortunately, on DOS this fails, as config.log is still kept open
6581 # by configure, so config.status won't be able to write to it; its
6582 # output is simply discarded. So we exec the FD to /dev/null,
6583 # effectively closing config.log, so it can be properly (re)opened and
6584 # appended to by config.status. When coming back to configure, we
6585 # need to make the FD available again.
6586 if test "$no_create" != yes; then
6587 ac_cs_success=:
6588 ac_config_status_args=
6589 test "$silent" = yes &&
6590 ac_config_status_args="$ac_config_status_args --quiet"
6591 exec 5>/dev/null
6592 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6593 exec 5>>config.log
6594 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6595 # would make configure fail if this is the last instruction.
6596 $ac_cs_success || as_fn_exit 1
6598 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6600 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}