Fix IRQ name
[AROS.git] / workbench / devs / AHI / configure
blob2c314a606a4b25e10818a9b676cf3caaa1b63429
1 #! /bin/sh
2 # From configure.in Revision: 39984 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
9 # Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
33 esac
37 as_nl='
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n'
52 as_echo_n='printf %s'
53 else
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
57 else
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval
60 arg=$1;
61 case $arg in #(
62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 esac;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 export as_echo_n_body
69 as_echo_n='sh -c $as_echo_n_body as_echo'
71 export as_echo_body
72 as_echo='sh -c $as_echo_body as_echo'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
85 # IFS
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" "" $as_nl"
92 # Find who we are. Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 emulate sh
141 NULLCMD=:
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146 else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
152 esac
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 else
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179 else
180 as_have_required=no
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184 else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 break 2
204 done;;
205 esac
206 as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 # Preserve -v and -x to the replacement shell.
220 BASH_ENV=/dev/null
221 ENV=/dev/null
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 export CONFIG_SHELL
224 case $- in # ((((
225 *v*x* | *x*v* ) as_opts=-vx ;;
226 *v* ) as_opts=-v ;;
227 *x* ) as_opts=-x ;;
228 * ) as_opts= ;;
229 esac
230 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
233 if test x$as_have_required = xno; then :
234 $as_echo "$0: This script requires a shell more modern than all"
235 $as_echo "$0: the shells that I found on your system."
236 if test x${ZSH_VERSION+set} = xset ; then
237 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
238 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 else
240 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
241 $0: including any error possibly output before this
242 $0: message. Then install a modern shell, or manually run
243 $0: the script under such a shell if you do have one."
245 exit 1
249 SHELL=${CONFIG_SHELL-/bin/sh}
250 export SHELL
251 # Unset more variables known to interfere with behavior of common tools.
252 CLICOLOR_FORCE= GREP_OPTIONS=
253 unset CLICOLOR_FORCE GREP_OPTIONS
255 ## --------------------- ##
256 ## M4sh Shell Functions. ##
257 ## --------------------- ##
258 # as_fn_unset VAR
259 # ---------------
260 # Portably unset VAR.
261 as_fn_unset ()
263 { eval $1=; unset $1;}
265 as_unset=as_fn_unset
267 # as_fn_set_status STATUS
268 # -----------------------
269 # Set $? to STATUS, without forking.
270 as_fn_set_status ()
272 return $1
273 } # as_fn_set_status
275 # as_fn_exit STATUS
276 # -----------------
277 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 as_fn_exit ()
280 set +e
281 as_fn_set_status $1
282 exit $1
283 } # as_fn_exit
285 # as_fn_mkdir_p
286 # -------------
287 # Create "$as_dir" as a directory, including parents if necessary.
288 as_fn_mkdir_p ()
291 case $as_dir in #(
292 -*) as_dir=./$as_dir;;
293 esac
294 test -d "$as_dir" || eval $as_mkdir_p || {
295 as_dirs=
296 while :; do
297 case $as_dir in #(
298 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
299 *) as_qdir=$as_dir;;
300 esac
301 as_dirs="'$as_qdir' $as_dirs"
302 as_dir=`$as_dirname -- "$as_dir" ||
303 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
304 X"$as_dir" : 'X\(//\)[^/]' \| \
305 X"$as_dir" : 'X\(//\)$' \| \
306 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
307 $as_echo X"$as_dir" |
308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
309 s//\1/
312 /^X\(\/\/\)[^/].*/{
313 s//\1/
316 /^X\(\/\/\)$/{
317 s//\1/
320 /^X\(\/\).*/{
321 s//\1/
324 s/.*/./; q'`
325 test -d "$as_dir" && break
326 done
327 test -z "$as_dirs" || eval "mkdir $as_dirs"
328 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331 } # as_fn_mkdir_p
332 # as_fn_append VAR VALUE
333 # ----------------------
334 # Append the text in VALUE to the end of the definition contained in VAR. Take
335 # advantage of any shell optimizations that allow amortized linear growth over
336 # repeated appends, instead of the typical quadratic growth present in naive
337 # implementations.
338 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
339 eval 'as_fn_append ()
341 eval $1+=\$2
343 else
344 as_fn_append ()
346 eval $1=\$$1\$2
348 fi # as_fn_append
350 # as_fn_arith ARG...
351 # ------------------
352 # Perform arithmetic evaluation on the ARGs, and store the result in the
353 # global $as_val. Take advantage of shells that can avoid forks. The arguments
354 # must be portable across $(()) and expr.
355 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
356 eval 'as_fn_arith ()
358 as_val=$(( $* ))
360 else
361 as_fn_arith ()
363 as_val=`expr "$@" || test $? -eq 1`
365 fi # as_fn_arith
368 # as_fn_error STATUS ERROR [LINENO LOG_FD]
369 # ----------------------------------------
370 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
371 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
372 # script with STATUS, using 1 if that was 0.
373 as_fn_error ()
375 as_status=$1; test $as_status -eq 0 && as_status=1
376 if test "$4"; then
377 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
378 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
380 $as_echo "$as_me: error: $2" >&2
381 as_fn_exit $as_status
382 } # as_fn_error
384 if expr a : '\(a\)' >/dev/null 2>&1 &&
385 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 as_expr=expr
387 else
388 as_expr=false
391 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 as_basename=basename
393 else
394 as_basename=false
397 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_dirname=dirname
399 else
400 as_dirname=false
403 as_me=`$as_basename -- "$0" ||
404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
405 X"$0" : 'X\(//\)$' \| \
406 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 $as_echo X/"$0" |
408 sed '/^.*\/\([^/][^/]*\)\/*$/{
409 s//\1/
412 /^X\/\(\/\/\)$/{
413 s//\1/
416 /^X\/\(\/\).*/{
417 s//\1/
420 s/.*/./; q'`
422 # Avoid depending upon Character Ranges.
423 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
424 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
425 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
426 as_cr_digits='0123456789'
427 as_cr_alnum=$as_cr_Letters$as_cr_digits
430 as_lineno_1=$LINENO as_lineno_1a=$LINENO
431 as_lineno_2=$LINENO as_lineno_2a=$LINENO
432 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
433 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
434 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 sed -n '
437 /[$]LINENO/=
438 ' <$as_myself |
439 sed '
440 s/[$]LINENO.*/&-/
441 t lineno
443 :lineno
445 :loop
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 t loop
448 s/-\n.*//
449 ' >$as_me.lineno &&
450 chmod +x "$as_me.lineno" ||
451 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
456 . "./$as_me.lineno"
457 # Exit status is that of the last command.
458 exit
461 ECHO_C= ECHO_N= ECHO_T=
462 case `echo -n x` in #(((((
463 -n*)
464 case `echo 'xy\c'` in
465 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
466 xy) ECHO_C='\c';;
467 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 ECHO_T=' ';;
469 esac;;
471 ECHO_N='-n';;
472 esac
474 rm -f conf$$ conf$$.exe conf$$.file
475 if test -d conf$$.dir; then
476 rm -f conf$$.dir/conf$$.file
477 else
478 rm -f conf$$.dir
479 mkdir conf$$.dir 2>/dev/null
481 if (echo >conf$$.file) 2>/dev/null; then
482 if ln -s conf$$.file conf$$ 2>/dev/null; then
483 as_ln_s='ln -s'
484 # ... but there are two gotchas:
485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
487 # In both cases, we have to default to `cp -p'.
488 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
489 as_ln_s='cp -p'
490 elif ln conf$$.file conf$$ 2>/dev/null; then
491 as_ln_s=ln
492 else
493 as_ln_s='cp -p'
495 else
496 as_ln_s='cp -p'
498 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
499 rmdir conf$$.dir 2>/dev/null
501 if mkdir -p . 2>/dev/null; then
502 as_mkdir_p='mkdir -p "$as_dir"'
503 else
504 test -d ./-p && rmdir ./-p
505 as_mkdir_p=false
508 if test -x / >/dev/null 2>&1; then
509 as_test_x='test -x'
510 else
511 if ls -dL / >/dev/null 2>&1; then
512 as_ls_L_option=L
513 else
514 as_ls_L_option=
516 as_test_x='
517 eval sh -c '\''
518 if test -d "$1"; then
519 test -d "$1/.";
520 else
521 case $1 in #(
522 -*)set "./$1";;
523 esac;
524 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
525 ???[sx]*):;;*)false;;esac;fi
526 '\'' sh
529 as_executable_p=$as_test_x
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538 test -n "$DJDIR" || exec 7<&0 </dev/null
539 exec 6>&1
541 # Name of the host.
542 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 # Initializations.
549 ac_default_prefix=/usr/local
550 ac_clean_files=
551 ac_config_libobj_dir=.
552 LIBOBJS=
553 cross_compiling=no
554 subdirs=
555 MFLAGS=
556 MAKEFLAGS=
558 # Identity of this package.
559 PACKAGE_NAME=
560 PACKAGE_TARNAME=
561 PACKAGE_VERSION=
562 PACKAGE_STRING=
563 PACKAGE_BUGREPORT=
564 PACKAGE_URL=
566 ac_unique_file="TODO"
567 ac_default_prefix=/
568 # Factoring default headers for most tests.
569 ac_includes_default="\
570 #include <stdio.h>
571 #ifdef HAVE_SYS_TYPES_H
572 # include <sys/types.h>
573 #endif
574 #ifdef HAVE_SYS_STAT_H
575 # include <sys/stat.h>
576 #endif
577 #ifdef STDC_HEADERS
578 # include <stdlib.h>
579 # include <stddef.h>
580 #else
581 # ifdef HAVE_STDLIB_H
582 # include <stdlib.h>
583 # endif
584 #endif
585 #ifdef HAVE_STRING_H
586 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 # include <memory.h>
588 # endif
589 # include <string.h>
590 #endif
591 #ifdef HAVE_STRINGS_H
592 # include <strings.h>
593 #endif
594 #ifdef HAVE_INTTYPES_H
595 # include <inttypes.h>
596 #endif
597 #ifdef HAVE_STDINT_H
598 # include <stdint.h>
599 #endif
600 #ifdef HAVE_UNISTD_H
601 # include <unistd.h>
602 #endif"
604 ac_subst_vars='LTLIBOBJS
605 LIBOBJS
606 HAVE_OPENPCI
607 HAVE_ASMIO
608 HAVE_OSS
609 EGREP
610 GREP
612 OBJEXT
613 EXEEXT
614 ac_ct_CC
615 CPPFLAGS
616 LDFLAGS
617 CFLAGS
619 SFDC
620 FLEXCAT
621 ROBODOC
623 INSTALL_DATA
624 INSTALL_SCRIPT
625 INSTALL_PROGRAM
626 OBJCOPY
627 STRIP
628 RANLIB
632 DISTDIR
633 LDFLAG_RESIDENT
634 CFLAG_RESIDENT
635 STRIPFLAGS
636 ARFLAGS
637 ASFLAGS
638 ENABLE_WARPUP
639 SET_MAKE
640 target_os
641 target_vendor
642 target_cpu
643 target
644 host_os
645 host_vendor
646 host_cpu
647 host
648 build_os
649 build_vendor
650 build_cpu
651 build
652 target_alias
653 host_alias
654 build_alias
655 LIBS
656 ECHO_T
657 ECHO_N
658 ECHO_C
659 DEFS
660 mandir
661 localedir
662 libdir
663 psdir
664 pdfdir
665 dvidir
666 htmldir
667 infodir
668 docdir
669 oldincludedir
670 includedir
671 localstatedir
672 sharedstatedir
673 sysconfdir
674 datadir
675 datarootdir
676 libexecdir
677 sbindir
678 bindir
679 program_transform_name
680 prefix
681 exec_prefix
682 PACKAGE_URL
683 PACKAGE_BUGREPORT
684 PACKAGE_STRING
685 PACKAGE_VERSION
686 PACKAGE_TARNAME
687 PACKAGE_NAME
688 PATH_SEPARATOR
689 SHELL'
690 ac_subst_files=''
691 ac_user_opts='
692 enable_option_checking
693 with_cpu
694 with_os_includedir
695 enable_warpup
697 ac_precious_vars='build_alias
698 host_alias
699 target_alias
701 CFLAGS
702 LDFLAGS
703 LIBS
704 CPPFLAGS
706 CPPFLAGS'
709 # Initialize some variables set by options.
710 ac_init_help=
711 ac_init_version=false
712 ac_unrecognized_opts=
713 ac_unrecognized_sep=
714 # The variables have the same names as the options, with
715 # dashes changed to underlines.
716 cache_file=/dev/null
717 exec_prefix=NONE
718 no_create=
719 no_recursion=
720 prefix=NONE
721 program_prefix=NONE
722 program_suffix=NONE
723 program_transform_name=s,x,x,
724 silent=
725 site=
726 srcdir=
727 verbose=
728 x_includes=NONE
729 x_libraries=NONE
731 # Installation directory options.
732 # These are left unexpanded so users can "make install exec_prefix=/foo"
733 # and all the variables that are supposed to be based on exec_prefix
734 # by default will actually change.
735 # Use braces instead of parens because sh, perl, etc. also accept them.
736 # (The list follows the same order as the GNU Coding Standards.)
737 bindir='${exec_prefix}/bin'
738 sbindir='${exec_prefix}/sbin'
739 libexecdir='${exec_prefix}/libexec'
740 datarootdir='${prefix}/share'
741 datadir='${datarootdir}'
742 sysconfdir='${prefix}/etc'
743 sharedstatedir='${prefix}/com'
744 localstatedir='${prefix}/var'
745 includedir='${prefix}/include'
746 oldincludedir='/usr/include'
747 docdir='${datarootdir}/doc/${PACKAGE}'
748 infodir='${datarootdir}/info'
749 htmldir='${docdir}'
750 dvidir='${docdir}'
751 pdfdir='${docdir}'
752 psdir='${docdir}'
753 libdir='${exec_prefix}/lib'
754 localedir='${datarootdir}/locale'
755 mandir='${datarootdir}/man'
757 ac_prev=
758 ac_dashdash=
759 for ac_option
761 # If the previous option needs an argument, assign it.
762 if test -n "$ac_prev"; then
763 eval $ac_prev=\$ac_option
764 ac_prev=
765 continue
768 case $ac_option in
769 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770 *=) ac_optarg= ;;
771 *) ac_optarg=yes ;;
772 esac
774 # Accept the important Cygnus configure options, so we can diagnose typos.
776 case $ac_dashdash$ac_option in
778 ac_dashdash=yes ;;
780 -bindir | --bindir | --bindi | --bind | --bin | --bi)
781 ac_prev=bindir ;;
782 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
783 bindir=$ac_optarg ;;
785 -build | --build | --buil | --bui | --bu)
786 ac_prev=build_alias ;;
787 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
788 build_alias=$ac_optarg ;;
790 -cache-file | --cache-file | --cache-fil | --cache-fi \
791 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
792 ac_prev=cache_file ;;
793 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
794 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
795 cache_file=$ac_optarg ;;
797 --config-cache | -C)
798 cache_file=config.cache ;;
800 -datadir | --datadir | --datadi | --datad)
801 ac_prev=datadir ;;
802 -datadir=* | --datadir=* | --datadi=* | --datad=*)
803 datadir=$ac_optarg ;;
805 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
806 | --dataroo | --dataro | --datar)
807 ac_prev=datarootdir ;;
808 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
809 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
810 datarootdir=$ac_optarg ;;
812 -disable-* | --disable-*)
813 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
816 as_fn_error $? "invalid feature name: $ac_useropt"
817 ac_useropt_orig=$ac_useropt
818 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
819 case $ac_user_opts in
821 "enable_$ac_useropt"
822 "*) ;;
823 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
824 ac_unrecognized_sep=', ';;
825 esac
826 eval enable_$ac_useropt=no ;;
828 -docdir | --docdir | --docdi | --doc | --do)
829 ac_prev=docdir ;;
830 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
831 docdir=$ac_optarg ;;
833 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
834 ac_prev=dvidir ;;
835 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
836 dvidir=$ac_optarg ;;
838 -enable-* | --enable-*)
839 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
840 # Reject names that are not valid shell variable names.
841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
842 as_fn_error $? "invalid feature name: $ac_useropt"
843 ac_useropt_orig=$ac_useropt
844 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
845 case $ac_user_opts in
847 "enable_$ac_useropt"
848 "*) ;;
849 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
850 ac_unrecognized_sep=', ';;
851 esac
852 eval enable_$ac_useropt=\$ac_optarg ;;
854 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
855 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
856 | --exec | --exe | --ex)
857 ac_prev=exec_prefix ;;
858 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
859 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
860 | --exec=* | --exe=* | --ex=*)
861 exec_prefix=$ac_optarg ;;
863 -gas | --gas | --ga | --g)
864 # Obsolete; use --with-gas.
865 with_gas=yes ;;
867 -help | --help | --hel | --he | -h)
868 ac_init_help=long ;;
869 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
870 ac_init_help=recursive ;;
871 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
872 ac_init_help=short ;;
874 -host | --host | --hos | --ho)
875 ac_prev=host_alias ;;
876 -host=* | --host=* | --hos=* | --ho=*)
877 host_alias=$ac_optarg ;;
879 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
880 ac_prev=htmldir ;;
881 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
882 | --ht=*)
883 htmldir=$ac_optarg ;;
885 -includedir | --includedir | --includedi | --included | --include \
886 | --includ | --inclu | --incl | --inc)
887 ac_prev=includedir ;;
888 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
889 | --includ=* | --inclu=* | --incl=* | --inc=*)
890 includedir=$ac_optarg ;;
892 -infodir | --infodir | --infodi | --infod | --info | --inf)
893 ac_prev=infodir ;;
894 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
895 infodir=$ac_optarg ;;
897 -libdir | --libdir | --libdi | --libd)
898 ac_prev=libdir ;;
899 -libdir=* | --libdir=* | --libdi=* | --libd=*)
900 libdir=$ac_optarg ;;
902 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
903 | --libexe | --libex | --libe)
904 ac_prev=libexecdir ;;
905 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
906 | --libexe=* | --libex=* | --libe=*)
907 libexecdir=$ac_optarg ;;
909 -localedir | --localedir | --localedi | --localed | --locale)
910 ac_prev=localedir ;;
911 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
912 localedir=$ac_optarg ;;
914 -localstatedir | --localstatedir | --localstatedi | --localstated \
915 | --localstate | --localstat | --localsta | --localst | --locals)
916 ac_prev=localstatedir ;;
917 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
918 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
919 localstatedir=$ac_optarg ;;
921 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
922 ac_prev=mandir ;;
923 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
924 mandir=$ac_optarg ;;
926 -nfp | --nfp | --nf)
927 # Obsolete; use --without-fp.
928 with_fp=no ;;
930 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
931 | --no-cr | --no-c | -n)
932 no_create=yes ;;
934 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
935 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
936 no_recursion=yes ;;
938 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
939 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
940 | --oldin | --oldi | --old | --ol | --o)
941 ac_prev=oldincludedir ;;
942 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
943 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
944 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
945 oldincludedir=$ac_optarg ;;
947 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
948 ac_prev=prefix ;;
949 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
950 prefix=$ac_optarg ;;
952 -program-prefix | --program-prefix | --program-prefi | --program-pref \
953 | --program-pre | --program-pr | --program-p)
954 ac_prev=program_prefix ;;
955 -program-prefix=* | --program-prefix=* | --program-prefi=* \
956 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
957 program_prefix=$ac_optarg ;;
959 -program-suffix | --program-suffix | --program-suffi | --program-suff \
960 | --program-suf | --program-su | --program-s)
961 ac_prev=program_suffix ;;
962 -program-suffix=* | --program-suffix=* | --program-suffi=* \
963 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
964 program_suffix=$ac_optarg ;;
966 -program-transform-name | --program-transform-name \
967 | --program-transform-nam | --program-transform-na \
968 | --program-transform-n | --program-transform- \
969 | --program-transform | --program-transfor \
970 | --program-transfo | --program-transf \
971 | --program-trans | --program-tran \
972 | --progr-tra | --program-tr | --program-t)
973 ac_prev=program_transform_name ;;
974 -program-transform-name=* | --program-transform-name=* \
975 | --program-transform-nam=* | --program-transform-na=* \
976 | --program-transform-n=* | --program-transform-=* \
977 | --program-transform=* | --program-transfor=* \
978 | --program-transfo=* | --program-transf=* \
979 | --program-trans=* | --program-tran=* \
980 | --progr-tra=* | --program-tr=* | --program-t=*)
981 program_transform_name=$ac_optarg ;;
983 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
984 ac_prev=pdfdir ;;
985 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
986 pdfdir=$ac_optarg ;;
988 -psdir | --psdir | --psdi | --psd | --ps)
989 ac_prev=psdir ;;
990 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
991 psdir=$ac_optarg ;;
993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
994 | -silent | --silent | --silen | --sile | --sil)
995 silent=yes ;;
997 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
998 ac_prev=sbindir ;;
999 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1000 | --sbi=* | --sb=*)
1001 sbindir=$ac_optarg ;;
1003 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1004 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1005 | --sharedst | --shareds | --shared | --share | --shar \
1006 | --sha | --sh)
1007 ac_prev=sharedstatedir ;;
1008 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1009 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1010 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1011 | --sha=* | --sh=*)
1012 sharedstatedir=$ac_optarg ;;
1014 -site | --site | --sit)
1015 ac_prev=site ;;
1016 -site=* | --site=* | --sit=*)
1017 site=$ac_optarg ;;
1019 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1020 ac_prev=srcdir ;;
1021 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1022 srcdir=$ac_optarg ;;
1024 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1025 | --syscon | --sysco | --sysc | --sys | --sy)
1026 ac_prev=sysconfdir ;;
1027 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1028 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1029 sysconfdir=$ac_optarg ;;
1031 -target | --target | --targe | --targ | --tar | --ta | --t)
1032 ac_prev=target_alias ;;
1033 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1034 target_alias=$ac_optarg ;;
1036 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1037 verbose=yes ;;
1039 -version | --version | --versio | --versi | --vers | -V)
1040 ac_init_version=: ;;
1042 -with-* | --with-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error $? "invalid package name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1051 "with_$ac_useropt"
1052 "*) ;;
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1055 esac
1056 eval with_$ac_useropt=\$ac_optarg ;;
1058 -without-* | --without-*)
1059 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 as_fn_error $? "invalid package name: $ac_useropt"
1063 ac_useropt_orig=$ac_useropt
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "with_$ac_useropt"
1068 "*) ;;
1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1070 ac_unrecognized_sep=', ';;
1071 esac
1072 eval with_$ac_useropt=no ;;
1074 --x)
1075 # Obsolete; use --with-x.
1076 with_x=yes ;;
1078 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1079 | --x-incl | --x-inc | --x-in | --x-i)
1080 ac_prev=x_includes ;;
1081 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1082 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1083 x_includes=$ac_optarg ;;
1085 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1086 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1087 ac_prev=x_libraries ;;
1088 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1089 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1090 x_libraries=$ac_optarg ;;
1092 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1093 Try \`$0 --help' for more information"
1096 *=*)
1097 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1098 # Reject names that are not valid shell variable names.
1099 case $ac_envvar in #(
1100 '' | [0-9]* | *[!_$as_cr_alnum]* )
1101 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1102 esac
1103 eval $ac_envvar=\$ac_optarg
1104 export $ac_envvar ;;
1107 # FIXME: should be removed in autoconf 3.0.
1108 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1109 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1110 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1111 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1114 esac
1115 done
1117 if test -n "$ac_prev"; then
1118 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1119 as_fn_error $? "missing argument to $ac_option"
1122 if test -n "$ac_unrecognized_opts"; then
1123 case $enable_option_checking in
1124 no) ;;
1125 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1126 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1127 esac
1130 # Check all directory arguments for consistency.
1131 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1132 datadir sysconfdir sharedstatedir localstatedir includedir \
1133 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1134 libdir localedir mandir
1136 eval ac_val=\$$ac_var
1137 # Remove trailing slashes.
1138 case $ac_val in
1139 */ )
1140 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1141 eval $ac_var=\$ac_val;;
1142 esac
1143 # Be sure to have absolute directory names.
1144 case $ac_val in
1145 [\\/$]* | ?:[\\/]* ) continue;;
1146 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1147 esac
1148 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1149 done
1151 # There might be people who depend on the old broken behavior: `$host'
1152 # used to hold the argument of --host etc.
1153 # FIXME: To remove some day.
1154 build=$build_alias
1155 host=$host_alias
1156 target=$target_alias
1158 # FIXME: To remove some day.
1159 if test "x$host_alias" != x; then
1160 if test "x$build_alias" = x; then
1161 cross_compiling=maybe
1162 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1163 If a cross compiler is detected then cross compile mode will be used" >&2
1164 elif test "x$build_alias" != "x$host_alias"; then
1165 cross_compiling=yes
1169 ac_tool_prefix=
1170 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1172 test "$silent" = yes && exec 6>/dev/null
1175 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1176 ac_ls_di=`ls -di .` &&
1177 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1178 as_fn_error $? "working directory cannot be determined"
1179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1180 as_fn_error $? "pwd does not report name of working directory"
1183 # Find the source files, if location was not specified.
1184 if test -z "$srcdir"; then
1185 ac_srcdir_defaulted=yes
1186 # Try the directory containing this script, then the parent directory.
1187 ac_confdir=`$as_dirname -- "$as_myself" ||
1188 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1189 X"$as_myself" : 'X\(//\)[^/]' \| \
1190 X"$as_myself" : 'X\(//\)$' \| \
1191 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1192 $as_echo X"$as_myself" |
1193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1194 s//\1/
1197 /^X\(\/\/\)[^/].*/{
1198 s//\1/
1201 /^X\(\/\/\)$/{
1202 s//\1/
1205 /^X\(\/\).*/{
1206 s//\1/
1209 s/.*/./; q'`
1210 srcdir=$ac_confdir
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1212 srcdir=..
1214 else
1215 ac_srcdir_defaulted=no
1217 if test ! -r "$srcdir/$ac_unique_file"; then
1218 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1219 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1221 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1222 ac_abs_confdir=`(
1223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1224 pwd)`
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
1227 srcdir=.
1229 # Remove unnecessary trailing slashes from srcdir.
1230 # Double slashes in file names in object file debugging info
1231 # mess up M-x gdb in Emacs.
1232 case $srcdir in
1233 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1234 esac
1235 for ac_var in $ac_precious_vars; do
1236 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1237 eval ac_env_${ac_var}_value=\$${ac_var}
1238 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1239 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1240 done
1243 # Report the --help message.
1245 if test "$ac_init_help" = "long"; then
1246 # Omit some internal or obsolete options to make the list less imposing.
1247 # This message is too long to be a string in the A/UX 3.1 sh.
1248 cat <<_ACEOF
1249 \`configure' configures this package to adapt to many kinds of systems.
1251 Usage: $0 [OPTION]... [VAR=VALUE]...
1253 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1254 VAR=VALUE. See below for descriptions of some of the useful variables.
1256 Defaults for the options are specified in brackets.
1258 Configuration:
1259 -h, --help display this help and exit
1260 --help=short display options specific to this package
1261 --help=recursive display the short help of all the included packages
1262 -V, --version display version information and exit
1263 -q, --quiet, --silent do not print \`checking ...' messages
1264 --cache-file=FILE cache test results in FILE [disabled]
1265 -C, --config-cache alias for \`--cache-file=config.cache'
1266 -n, --no-create do not create output files
1267 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1269 Installation directories:
1270 --prefix=PREFIX install architecture-independent files in PREFIX
1271 [$ac_default_prefix]
1272 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1273 [PREFIX]
1275 By default, \`make install' will install all the files in
1276 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1277 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1278 for instance \`--prefix=\$HOME'.
1280 For better control, use the options below.
1282 Fine tuning of the installation directories:
1283 --bindir=DIR user executables [EPREFIX/bin]
1284 --sbindir=DIR system admin executables [EPREFIX/sbin]
1285 --libexecdir=DIR program executables [EPREFIX/libexec]
1286 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1287 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1288 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1289 --libdir=DIR object code libraries [EPREFIX/lib]
1290 --includedir=DIR C header files [PREFIX/include]
1291 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1294 --infodir=DIR info documentation [DATAROOTDIR/info]
1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1296 --mandir=DIR man documentation [DATAROOTDIR/man]
1297 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1298 --htmldir=DIR html documentation [DOCDIR]
1299 --dvidir=DIR dvi documentation [DOCDIR]
1300 --pdfdir=DIR pdf documentation [DOCDIR]
1301 --psdir=DIR ps documentation [DOCDIR]
1302 _ACEOF
1304 cat <<\_ACEOF
1306 System types:
1307 --build=BUILD configure for building on BUILD [guessed]
1308 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1309 --target=TARGET configure for building compilers for TARGET [HOST]
1310 _ACEOF
1313 if test -n "$ac_init_help"; then
1315 cat <<\_ACEOF
1317 Optional Features:
1318 --disable-option-checking ignore unrecognized --enable/--with options
1319 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1320 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1321 --enable-warpup Enable WarpUp support
1323 Optional Packages:
1324 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1325 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1326 --with-cpu The CPU to optimize for
1327 --with-os-includedir Path to AmigaOS include directory
1329 Some influential environment variables:
1330 CC C compiler command
1331 CFLAGS C compiler flags
1332 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1333 nonstandard directory <lib dir>
1334 LIBS libraries to pass to the linker, e.g. -l<library>
1335 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1336 you have headers in a nonstandard directory <include dir>
1337 CPP C preprocessor
1339 Use these variables to override the choices made by `configure' or to help
1340 it to find libraries and programs with nonstandard names/locations.
1342 Report bugs to the package provider.
1343 _ACEOF
1344 ac_status=$?
1347 if test "$ac_init_help" = "recursive"; then
1348 # If there are subdirs, report their specific --help.
1349 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1350 test -d "$ac_dir" ||
1351 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1352 continue
1353 ac_builddir=.
1355 case "$ac_dir" in
1356 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1359 # A ".." for each directory in $ac_dir_suffix.
1360 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1361 case $ac_top_builddir_sub in
1362 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1364 esac ;;
1365 esac
1366 ac_abs_top_builddir=$ac_pwd
1367 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1368 # for backward compatibility:
1369 ac_top_builddir=$ac_top_build_prefix
1371 case $srcdir in
1372 .) # We are building in place.
1373 ac_srcdir=.
1374 ac_top_srcdir=$ac_top_builddir_sub
1375 ac_abs_top_srcdir=$ac_pwd ;;
1376 [\\/]* | ?:[\\/]* ) # Absolute name.
1377 ac_srcdir=$srcdir$ac_dir_suffix;
1378 ac_top_srcdir=$srcdir
1379 ac_abs_top_srcdir=$srcdir ;;
1380 *) # Relative name.
1381 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1382 ac_top_srcdir=$ac_top_build_prefix$srcdir
1383 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1384 esac
1385 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1387 cd "$ac_dir" || { ac_status=$?; continue; }
1388 # Check for guested configure.
1389 if test -f "$ac_srcdir/configure.gnu"; then
1390 echo &&
1391 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1392 elif test -f "$ac_srcdir/configure"; then
1393 echo &&
1394 $SHELL "$ac_srcdir/configure" --help=recursive
1395 else
1396 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1397 fi || ac_status=$?
1398 cd "$ac_pwd" || { ac_status=$?; break; }
1399 done
1402 test -n "$ac_init_help" && exit $ac_status
1403 if $ac_init_version; then
1404 cat <<\_ACEOF
1405 configure
1406 generated by GNU Autoconf 2.68
1408 Copyright (C) 2010 Free Software Foundation, Inc.
1409 This configure script is free software; the Free Software Foundation
1410 gives unlimited permission to copy, distribute and modify it.
1411 _ACEOF
1412 exit
1415 ## ------------------------ ##
1416 ## Autoconf initialization. ##
1417 ## ------------------------ ##
1419 # ac_fn_c_try_compile LINENO
1420 # --------------------------
1421 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1422 ac_fn_c_try_compile ()
1424 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1425 rm -f conftest.$ac_objext
1426 if { { ac_try="$ac_compile"
1427 case "(($ac_try" in
1428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1429 *) ac_try_echo=$ac_try;;
1430 esac
1431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1432 $as_echo "$ac_try_echo"; } >&5
1433 (eval "$ac_compile") 2>conftest.err
1434 ac_status=$?
1435 if test -s conftest.err; then
1436 grep -v '^ *+' conftest.err >conftest.er1
1437 cat conftest.er1 >&5
1438 mv -f conftest.er1 conftest.err
1440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1441 test $ac_status = 0; } && {
1442 test -z "$ac_c_werror_flag" ||
1443 test ! -s conftest.err
1444 } && test -s conftest.$ac_objext; then :
1445 ac_retval=0
1446 else
1447 $as_echo "$as_me: failed program was:" >&5
1448 sed 's/^/| /' conftest.$ac_ext >&5
1450 ac_retval=1
1452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1453 as_fn_set_status $ac_retval
1455 } # ac_fn_c_try_compile
1457 # ac_fn_c_try_link LINENO
1458 # -----------------------
1459 # Try to link conftest.$ac_ext, and return whether this succeeded.
1460 ac_fn_c_try_link ()
1462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1463 rm -f conftest.$ac_objext conftest$ac_exeext
1464 if { { ac_try="$ac_link"
1465 case "(($ac_try" in
1466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1467 *) ac_try_echo=$ac_try;;
1468 esac
1469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1470 $as_echo "$ac_try_echo"; } >&5
1471 (eval "$ac_link") 2>conftest.err
1472 ac_status=$?
1473 if test -s conftest.err; then
1474 grep -v '^ *+' conftest.err >conftest.er1
1475 cat conftest.er1 >&5
1476 mv -f conftest.er1 conftest.err
1478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1479 test $ac_status = 0; } && {
1480 test -z "$ac_c_werror_flag" ||
1481 test ! -s conftest.err
1482 } && test -s conftest$ac_exeext && {
1483 test "$cross_compiling" = yes ||
1484 $as_test_x conftest$ac_exeext
1485 }; then :
1486 ac_retval=0
1487 else
1488 $as_echo "$as_me: failed program was:" >&5
1489 sed 's/^/| /' conftest.$ac_ext >&5
1491 ac_retval=1
1493 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1494 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1495 # interfere with the next link command; also delete a directory that is
1496 # left behind by Apple's compiler. We do this before executing the actions.
1497 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1498 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1499 as_fn_set_status $ac_retval
1501 } # ac_fn_c_try_link
1503 # ac_fn_c_try_cpp LINENO
1504 # ----------------------
1505 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1506 ac_fn_c_try_cpp ()
1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1509 if { { ac_try="$ac_cpp conftest.$ac_ext"
1510 case "(($ac_try" in
1511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1512 *) ac_try_echo=$ac_try;;
1513 esac
1514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1515 $as_echo "$ac_try_echo"; } >&5
1516 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1517 ac_status=$?
1518 if test -s conftest.err; then
1519 grep -v '^ *+' conftest.err >conftest.er1
1520 cat conftest.er1 >&5
1521 mv -f conftest.er1 conftest.err
1523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1524 test $ac_status = 0; } > conftest.i && {
1525 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1526 test ! -s conftest.err
1527 }; then :
1528 ac_retval=0
1529 else
1530 $as_echo "$as_me: failed program was:" >&5
1531 sed 's/^/| /' conftest.$ac_ext >&5
1533 ac_retval=1
1535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1536 as_fn_set_status $ac_retval
1538 } # ac_fn_c_try_cpp
1540 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1541 # -------------------------------------------------------
1542 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1543 # the include files in INCLUDES and setting the cache variable VAR
1544 # accordingly.
1545 ac_fn_c_check_header_mongrel ()
1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548 if eval \${$3+:} false; then :
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1550 $as_echo_n "checking for $2... " >&6; }
1551 if eval \${$3+:} false; then :
1552 $as_echo_n "(cached) " >&6
1554 eval ac_res=\$$3
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1556 $as_echo "$ac_res" >&6; }
1557 else
1558 # Is the header compilable?
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1560 $as_echo_n "checking $2 usability... " >&6; }
1561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1562 /* end confdefs.h. */
1564 #include <$2>
1565 _ACEOF
1566 if ac_fn_c_try_compile "$LINENO"; then :
1567 ac_header_compiler=yes
1568 else
1569 ac_header_compiler=no
1571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1573 $as_echo "$ac_header_compiler" >&6; }
1575 # Is the header present?
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1577 $as_echo_n "checking $2 presence... " >&6; }
1578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1579 /* end confdefs.h. */
1580 #include <$2>
1581 _ACEOF
1582 if ac_fn_c_try_cpp "$LINENO"; then :
1583 ac_header_preproc=yes
1584 else
1585 ac_header_preproc=no
1587 rm -f conftest.err conftest.i conftest.$ac_ext
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1589 $as_echo "$ac_header_preproc" >&6; }
1591 # So? What about this header?
1592 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1593 yes:no: )
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1595 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1597 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1599 no:yes:* )
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1601 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1603 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1605 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1607 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1609 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1611 esac
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if eval \${$3+:} false; then :
1615 $as_echo_n "(cached) " >&6
1616 else
1617 eval "$3=\$ac_header_compiler"
1619 eval ac_res=\$$3
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1621 $as_echo "$ac_res" >&6; }
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 } # ac_fn_c_check_header_mongrel
1627 # ac_fn_c_try_run LINENO
1628 # ----------------------
1629 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1630 # that executables *can* be run.
1631 ac_fn_c_try_run ()
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 if { { ac_try="$ac_link"
1635 case "(($ac_try" in
1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
1638 esac
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_link") 2>&5
1642 ac_status=$?
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1645 { { case "(($ac_try" in
1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647 *) ac_try_echo=$ac_try;;
1648 esac
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651 (eval "$ac_try") 2>&5
1652 ac_status=$?
1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654 test $ac_status = 0; }; }; then :
1655 ac_retval=0
1656 else
1657 $as_echo "$as_me: program exited with status $ac_status" >&5
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1661 ac_retval=$ac_status
1663 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665 as_fn_set_status $ac_retval
1667 } # ac_fn_c_try_run
1669 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1670 # -------------------------------------------------------
1671 # Tests whether HEADER exists and can be compiled using the include files in
1672 # INCLUDES, setting the cache variable VAR accordingly.
1673 ac_fn_c_check_header_compile ()
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if eval \${$3+:} false; then :
1679 $as_echo_n "(cached) " >&6
1680 else
1681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1682 /* end confdefs.h. */
1684 #include <$2>
1685 _ACEOF
1686 if ac_fn_c_try_compile "$LINENO"; then :
1687 eval "$3=yes"
1688 else
1689 eval "$3=no"
1691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1693 eval ac_res=\$$3
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695 $as_echo "$ac_res" >&6; }
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 } # ac_fn_c_check_header_compile
1699 cat >config.log <<_ACEOF
1700 This file contains any messages produced by compilers while
1701 running configure, to aid debugging if configure makes a mistake.
1703 It was created by $as_me, which was
1704 generated by GNU Autoconf 2.68. Invocation command line was
1706 $ $0 $@
1708 _ACEOF
1709 exec 5>>config.log
1711 cat <<_ASUNAME
1712 ## --------- ##
1713 ## Platform. ##
1714 ## --------- ##
1716 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1717 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1718 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1719 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1720 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1722 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1723 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1725 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1726 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1727 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1728 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1729 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1730 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1731 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1733 _ASUNAME
1735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1736 for as_dir in $PATH
1738 IFS=$as_save_IFS
1739 test -z "$as_dir" && as_dir=.
1740 $as_echo "PATH: $as_dir"
1741 done
1742 IFS=$as_save_IFS
1744 } >&5
1746 cat >&5 <<_ACEOF
1749 ## ----------- ##
1750 ## Core tests. ##
1751 ## ----------- ##
1753 _ACEOF
1756 # Keep a trace of the command line.
1757 # Strip out --no-create and --no-recursion so they do not pile up.
1758 # Strip out --silent because we don't want to record it for future runs.
1759 # Also quote any args containing shell meta-characters.
1760 # Make two passes to allow for proper duplicate-argument suppression.
1761 ac_configure_args=
1762 ac_configure_args0=
1763 ac_configure_args1=
1764 ac_must_keep_next=false
1765 for ac_pass in 1 2
1767 for ac_arg
1769 case $ac_arg in
1770 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1771 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1772 | -silent | --silent | --silen | --sile | --sil)
1773 continue ;;
1774 *\'*)
1775 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1776 esac
1777 case $ac_pass in
1778 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1780 as_fn_append ac_configure_args1 " '$ac_arg'"
1781 if test $ac_must_keep_next = true; then
1782 ac_must_keep_next=false # Got value, back to normal.
1783 else
1784 case $ac_arg in
1785 *=* | --config-cache | -C | -disable-* | --disable-* \
1786 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1787 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1788 | -with-* | --with-* | -without-* | --without-* | --x)
1789 case "$ac_configure_args0 " in
1790 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1791 esac
1793 -* ) ac_must_keep_next=true ;;
1794 esac
1796 as_fn_append ac_configure_args " '$ac_arg'"
1798 esac
1799 done
1800 done
1801 { ac_configure_args0=; unset ac_configure_args0;}
1802 { ac_configure_args1=; unset ac_configure_args1;}
1804 # When interrupted or exit'd, cleanup temporary files, and complete
1805 # config.log. We remove comments because anyway the quotes in there
1806 # would cause problems or look ugly.
1807 # WARNING: Use '\'' to represent an apostrophe within the trap.
1808 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1809 trap 'exit_status=$?
1810 # Save into config.log some information that might help in debugging.
1812 echo
1814 $as_echo "## ---------------- ##
1815 ## Cache variables. ##
1816 ## ---------------- ##"
1817 echo
1818 # The following way of writing the cache mishandles newlines in values,
1820 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1821 eval ac_val=\$$ac_var
1822 case $ac_val in #(
1823 *${as_nl}*)
1824 case $ac_var in #(
1825 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1826 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1827 esac
1828 case $ac_var in #(
1829 _ | IFS | as_nl) ;; #(
1830 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1831 *) { eval $ac_var=; unset $ac_var;} ;;
1832 esac ;;
1833 esac
1834 done
1835 (set) 2>&1 |
1836 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1837 *${as_nl}ac_space=\ *)
1838 sed -n \
1839 "s/'\''/'\''\\\\'\'''\''/g;
1840 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1841 ;; #(
1843 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1845 esac |
1846 sort
1848 echo
1850 $as_echo "## ----------------- ##
1851 ## Output variables. ##
1852 ## ----------------- ##"
1853 echo
1854 for ac_var in $ac_subst_vars
1856 eval ac_val=\$$ac_var
1857 case $ac_val in
1858 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1859 esac
1860 $as_echo "$ac_var='\''$ac_val'\''"
1861 done | sort
1862 echo
1864 if test -n "$ac_subst_files"; then
1865 $as_echo "## ------------------- ##
1866 ## File substitutions. ##
1867 ## ------------------- ##"
1868 echo
1869 for ac_var in $ac_subst_files
1871 eval ac_val=\$$ac_var
1872 case $ac_val in
1873 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1874 esac
1875 $as_echo "$ac_var='\''$ac_val'\''"
1876 done | sort
1877 echo
1880 if test -s confdefs.h; then
1881 $as_echo "## ----------- ##
1882 ## confdefs.h. ##
1883 ## ----------- ##"
1884 echo
1885 cat confdefs.h
1886 echo
1888 test "$ac_signal" != 0 &&
1889 $as_echo "$as_me: caught signal $ac_signal"
1890 $as_echo "$as_me: exit $exit_status"
1891 } >&5
1892 rm -f core *.core core.conftest.* &&
1893 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1894 exit $exit_status
1896 for ac_signal in 1 2 13 15; do
1897 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1898 done
1899 ac_signal=0
1901 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1902 rm -f -r conftest* confdefs.h
1904 $as_echo "/* confdefs.h */" > confdefs.h
1906 # Predefined preprocessor variables.
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_NAME "$PACKAGE_NAME"
1910 _ACEOF
1912 cat >>confdefs.h <<_ACEOF
1913 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1914 _ACEOF
1916 cat >>confdefs.h <<_ACEOF
1917 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1918 _ACEOF
1920 cat >>confdefs.h <<_ACEOF
1921 #define PACKAGE_STRING "$PACKAGE_STRING"
1922 _ACEOF
1924 cat >>confdefs.h <<_ACEOF
1925 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1926 _ACEOF
1928 cat >>confdefs.h <<_ACEOF
1929 #define PACKAGE_URL "$PACKAGE_URL"
1930 _ACEOF
1933 # Let the site file select an alternate cache file if it wants to.
1934 # Prefer an explicitly selected file to automatically selected ones.
1935 ac_site_file1=NONE
1936 ac_site_file2=NONE
1937 if test -n "$CONFIG_SITE"; then
1938 # We do not want a PATH search for config.site.
1939 case $CONFIG_SITE in #((
1940 -*) ac_site_file1=./$CONFIG_SITE;;
1941 */*) ac_site_file1=$CONFIG_SITE;;
1942 *) ac_site_file1=./$CONFIG_SITE;;
1943 esac
1944 elif test "x$prefix" != xNONE; then
1945 ac_site_file1=$prefix/share/config.site
1946 ac_site_file2=$prefix/etc/config.site
1947 else
1948 ac_site_file1=$ac_default_prefix/share/config.site
1949 ac_site_file2=$ac_default_prefix/etc/config.site
1951 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1953 test "x$ac_site_file" = xNONE && continue
1954 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1956 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1957 sed 's/^/| /' "$ac_site_file" >&5
1958 . "$ac_site_file" \
1959 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1961 as_fn_error $? "failed to load site script $ac_site_file
1962 See \`config.log' for more details" "$LINENO" 5; }
1964 done
1966 if test -r "$cache_file"; then
1967 # Some versions of bash will fail to source /dev/null (special files
1968 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1969 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1971 $as_echo "$as_me: loading cache $cache_file" >&6;}
1972 case $cache_file in
1973 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1974 *) . "./$cache_file";;
1975 esac
1977 else
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1979 $as_echo "$as_me: creating cache $cache_file" >&6;}
1980 >$cache_file
1983 # Check that the precious variables saved in the cache have kept the same
1984 # value.
1985 ac_cache_corrupted=false
1986 for ac_var in $ac_precious_vars; do
1987 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1988 eval ac_new_set=\$ac_env_${ac_var}_set
1989 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1990 eval ac_new_val=\$ac_env_${ac_var}_value
1991 case $ac_old_set,$ac_new_set in
1992 set,)
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1994 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1995 ac_cache_corrupted=: ;;
1996 ,set)
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1998 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1999 ac_cache_corrupted=: ;;
2000 ,);;
2002 if test "x$ac_old_val" != "x$ac_new_val"; then
2003 # differences in whitespace do not lead to failure.
2004 ac_old_val_w=`echo x $ac_old_val`
2005 ac_new_val_w=`echo x $ac_new_val`
2006 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2008 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2009 ac_cache_corrupted=:
2010 else
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2012 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2013 eval $ac_var=\$ac_old_val
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2016 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2018 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2019 fi;;
2020 esac
2021 # Pass precious variables to config.status.
2022 if test "$ac_new_set" = set; then
2023 case $ac_new_val in
2024 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2025 *) ac_arg=$ac_var=$ac_new_val ;;
2026 esac
2027 case " $ac_configure_args " in
2028 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2029 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2030 esac
2032 done
2033 if $ac_cache_corrupted; then
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2037 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2038 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2040 ## -------------------- ##
2041 ## Main body of script. ##
2042 ## -------------------- ##
2044 ac_ext=c
2045 ac_cpp='$CPP $CPPFLAGS'
2046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2054 ac_aux_dir=
2055 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2056 if test -f "$ac_dir/install-sh"; then
2057 ac_aux_dir=$ac_dir
2058 ac_install_sh="$ac_aux_dir/install-sh -c"
2059 break
2060 elif test -f "$ac_dir/install.sh"; then
2061 ac_aux_dir=$ac_dir
2062 ac_install_sh="$ac_aux_dir/install.sh -c"
2063 break
2064 elif test -f "$ac_dir/shtool"; then
2065 ac_aux_dir=$ac_dir
2066 ac_install_sh="$ac_aux_dir/shtool install -c"
2067 break
2069 done
2070 if test -z "$ac_aux_dir"; then
2071 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2074 # These three variables are undocumented and unsupported,
2075 # and are intended to be withdrawn in a future Autoconf release.
2076 # They can cause serious problems if a builder's source tree is in a directory
2077 # whose full name contains unusual characters.
2078 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2079 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2080 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2083 # Make sure we can run config.sub.
2084 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2085 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2088 $as_echo_n "checking build system type... " >&6; }
2089 if ${ac_cv_build+:} false; then :
2090 $as_echo_n "(cached) " >&6
2091 else
2092 ac_build_alias=$build_alias
2093 test "x$ac_build_alias" = x &&
2094 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2095 test "x$ac_build_alias" = x &&
2096 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2097 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2098 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2102 $as_echo "$ac_cv_build" >&6; }
2103 case $ac_cv_build in
2104 *-*-*) ;;
2105 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2106 esac
2107 build=$ac_cv_build
2108 ac_save_IFS=$IFS; IFS='-'
2109 set x $ac_cv_build
2110 shift
2111 build_cpu=$1
2112 build_vendor=$2
2113 shift; shift
2114 # Remember, the first character of IFS is used to create $*,
2115 # except with old shells:
2116 build_os=$*
2117 IFS=$ac_save_IFS
2118 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2122 $as_echo_n "checking host system type... " >&6; }
2123 if ${ac_cv_host+:} false; then :
2124 $as_echo_n "(cached) " >&6
2125 else
2126 if test "x$host_alias" = x; then
2127 ac_cv_host=$ac_cv_build
2128 else
2129 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2130 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2135 $as_echo "$ac_cv_host" >&6; }
2136 case $ac_cv_host in
2137 *-*-*) ;;
2138 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2139 esac
2140 host=$ac_cv_host
2141 ac_save_IFS=$IFS; IFS='-'
2142 set x $ac_cv_host
2143 shift
2144 host_cpu=$1
2145 host_vendor=$2
2146 shift; shift
2147 # Remember, the first character of IFS is used to create $*,
2148 # except with old shells:
2149 host_os=$*
2150 IFS=$ac_save_IFS
2151 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2155 $as_echo_n "checking target system type... " >&6; }
2156 if ${ac_cv_target+:} false; then :
2157 $as_echo_n "(cached) " >&6
2158 else
2159 if test "x$target_alias" = x; then
2160 ac_cv_target=$ac_cv_host
2161 else
2162 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2163 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2168 $as_echo "$ac_cv_target" >&6; }
2169 case $ac_cv_target in
2170 *-*-*) ;;
2171 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2172 esac
2173 target=$ac_cv_target
2174 ac_save_IFS=$IFS; IFS='-'
2175 set x $ac_cv_target
2176 shift
2177 target_cpu=$1
2178 target_vendor=$2
2179 shift; shift
2180 # Remember, the first character of IFS is used to create $*,
2181 # except with old shells:
2182 target_os=$*
2183 IFS=$ac_save_IFS
2184 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2187 # The aliases save the names the user supplied, while $host etc.
2188 # will get canonicalized.
2189 test -n "$target_alias" &&
2190 test "$program_prefix$program_suffix$program_transform_name" = \
2191 NONENONEs,x,x, &&
2192 program_prefix=${target_alias}-
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2195 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2196 set x ${MAKE-make}
2197 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2198 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2199 $as_echo_n "(cached) " >&6
2200 else
2201 cat >conftest.make <<\_ACEOF
2202 SHELL = /bin/sh
2203 all:
2204 @echo '@@@%%%=$(MAKE)=@@@%%%'
2205 _ACEOF
2206 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2207 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2208 *@@@%%%=?*=@@@%%%*)
2209 eval ac_cv_prog_make_${ac_make}_set=yes;;
2211 eval ac_cv_prog_make_${ac_make}_set=no;;
2212 esac
2213 rm -f conftest.make
2215 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2217 $as_echo "yes" >&6; }
2218 SET_MAKE=
2219 else
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2221 $as_echo "no" >&6; }
2222 SET_MAKE="MAKE=${MAKE-make}"
2225 ac_config_headers="$ac_config_headers config.h"
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CPU to build for" >&5
2229 $as_echo_n "checking CPU to build for... " >&6; }
2231 # Check whether --with-cpu was given.
2232 if test "${with_cpu+set}" = set; then :
2233 withval=$with_cpu; CPU=${withval}
2234 else
2235 unset CPU
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CPU}" >&5
2239 $as_echo "${CPU}" >&6; }
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking OS include directory" >&5
2242 $as_echo_n "checking OS include directory... " >&6; }
2244 # Check whether --with-os-includedir was given.
2245 if test "${with_os_includedir+set}" = set; then :
2246 withval=$with_os_includedir; os_includedir="-I${withval}"
2247 else
2248 os_includedir=""
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${os_includedir} " >&5
2252 $as_echo "${os_includedir} " >&6; }
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if WarpUp support code should be enabled" >&5
2255 $as_echo_n "checking if WarpUp support code should be enabled... " >&6; }
2256 # Check whether --enable-warpup was given.
2257 if test "${enable_warpup+set}" = set; then :
2258 enableval=$enable_warpup; $as_echo "#define ENABLE_WARPUP 1" >>confdefs.h
2262 ENABLE_WARPUP=${enable_warpup}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_warpup}" >&5
2265 $as_echo "${enable_warpup}" >&6; }
2267 case $host in
2268 i?86be-pc-amithlon)
2269 : ${CPU="i686"}
2270 cflags="-noixemul"
2271 optflags="-mcpu=${CPU} -O2"
2272 linkerflags="-noixemul -mcpu=${CPU} -r"
2273 asflags="--defsym CPU=${CPU} --defsym LITTLE_ENDIAN=1"
2274 resident="" stripflag=""
2276 m68k-unknown-amigaos)
2277 : ${CPU="68020-60"}
2278 cflags="-noixemul"
2279 optflags="-m${CPU} -O2 -fomit-frame-pointer -ffast-math -msoft-float"
2280 linkerflags="-noixemul -m${CPU}"
2281 asCPU=`echo ${CPU} | sed 's/-.*//'`
2282 asflags="-m${asCPU} --register-prefix-optional --bitwise-or --defsym CPU=${asCPU}"
2283 resident="-resident"
2284 stripflag=""
2286 powerpc-unknown-amigaos)
2287 : ${CPU="603"}
2289 $as_echo "#define __USE_INLINE__ 1" >>confdefs.h
2292 $as_echo "#define __USE_BASETYPE__ 1" >>confdefs.h
2294 cflags=""
2295 optflags="-mcpu=${CPU} -O2"
2296 linkerflags="-mcpu=${CPU}"
2297 asflags="-m${CPU} -mregnames --defsym CPU=${CPU}"
2298 resident="" stripflag=""
2300 powerpc-unknown-morphos)
2301 : ${CPU="603"}
2303 $as_echo "#define USE_INLINE_STDARG 1" >>confdefs.h
2305 cflags="-noixemul"
2306 optflags="-mcpu=${CPU} -O2"
2307 linkerflags="-noixemul -mcpu=${CPU}"
2308 asflags="-m${CPU} -mregnames --defsym CPU=${CPU}"
2309 resident="-mresident32"
2310 stripflag=""
2312 i?86-*-aros)
2313 : ${CPU="i486"}
2314 cflags=""
2315 optflags="-m32 -march=${CPU} -O2"
2316 linkerflags=""
2317 asflags="--defsym CPU=${CPU} --defsym LITTLE_ENDIAN=1"
2318 resident="" stripflag="--strip-unneeded"
2320 x86_64-*-aros)
2321 : ${CPU="x86_64"}
2322 cflags=""
2323 optflags="-O2 -fomit-frame-pointer"
2324 linkerflags=""
2325 asflags="--defsym CPU=${CPU} --defsym LITTLE_ENDIAN=1 --defsym x86_64=1"
2326 resident=""
2327 stripflag="--strip-unneeded"
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown architecture!" >&5
2331 $as_echo "$as_me: WARNING: Unknown architecture!" >&2;}
2333 esac
2335 top_builddir=$(pwd)
2337 : ${CFLAGS="-g -W -Wall -Wstrict-prototypes -Wno-unused ${cflags} ${optflags}"}
2338 : ${CPPFLAGS="-DCPU=\"\\\"${CPU}\\\"\" -I. -I${srcdir} -I${top_builddir} -I${top_builddir}/Include/gcc ${os_includedir}"}
2339 : ${LDFLAGS="${linkerflags}"}
2340 : ${ASFLAGS="${asflags}"}
2341 : ${ARFLAGS="-ru"}
2342 : ${STRIPFLAGS="${stripflag}"}
2344 : ${CFLAG_RESIDENT="${resident}"}
2345 : ${LDFLAG_RESIDENT="${resident}"}
2347 : ${DISTDIR="/tmp/${host_alias}-ahi"}
2359 if test -n "$ac_tool_prefix"; then
2360 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2361 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2363 $as_echo_n "checking for $ac_word... " >&6; }
2364 if ${ac_cv_prog_CC+:} false; then :
2365 $as_echo_n "(cached) " >&6
2366 else
2367 if test -n "$CC"; then
2368 ac_cv_prog_CC="$CC" # Let the user override the test.
2369 else
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 for as_dir in $PATH
2373 IFS=$as_save_IFS
2374 test -z "$as_dir" && as_dir=.
2375 for ac_exec_ext in '' $ac_executable_extensions; do
2376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2377 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 break 2
2381 done
2382 done
2383 IFS=$as_save_IFS
2387 CC=$ac_cv_prog_CC
2388 if test -n "$CC"; then
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2390 $as_echo "$CC" >&6; }
2391 else
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2393 $as_echo "no" >&6; }
2398 if test -z "$ac_cv_prog_CC"; then
2399 ac_ct_CC=$CC
2400 # Extract the first word of "gcc", so it can be a program name with args.
2401 set dummy gcc; ac_word=$2
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2403 $as_echo_n "checking for $ac_word... " >&6; }
2404 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2405 $as_echo_n "(cached) " >&6
2406 else
2407 if test -n "$ac_ct_CC"; then
2408 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2409 else
2410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2411 for as_dir in $PATH
2413 IFS=$as_save_IFS
2414 test -z "$as_dir" && as_dir=.
2415 for ac_exec_ext in '' $ac_executable_extensions; do
2416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2417 ac_cv_prog_ac_ct_CC="gcc"
2418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 break 2
2421 done
2422 done
2423 IFS=$as_save_IFS
2427 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2428 if test -n "$ac_ct_CC"; then
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2430 $as_echo "$ac_ct_CC" >&6; }
2431 else
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2433 $as_echo "no" >&6; }
2436 if test "x$ac_ct_CC" = x; then
2437 CC=": "
2438 else
2439 case $cross_compiling:$ac_tool_warned in
2440 yes:)
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2443 ac_tool_warned=yes ;;
2444 esac
2445 CC=$ac_ct_CC
2447 else
2448 CC="$ac_cv_prog_CC"
2451 if test -n "$ac_tool_prefix"; then
2452 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2453 set dummy ${ac_tool_prefix}as; ac_word=$2
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2455 $as_echo_n "checking for $ac_word... " >&6; }
2456 if ${ac_cv_prog_AS+:} false; then :
2457 $as_echo_n "(cached) " >&6
2458 else
2459 if test -n "$AS"; then
2460 ac_cv_prog_AS="$AS" # Let the user override the test.
2461 else
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 for as_dir in $PATH
2465 IFS=$as_save_IFS
2466 test -z "$as_dir" && as_dir=.
2467 for ac_exec_ext in '' $ac_executable_extensions; do
2468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2469 ac_cv_prog_AS="${ac_tool_prefix}as"
2470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2471 break 2
2473 done
2474 done
2475 IFS=$as_save_IFS
2479 AS=$ac_cv_prog_AS
2480 if test -n "$AS"; then
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2482 $as_echo "$AS" >&6; }
2483 else
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2485 $as_echo "no" >&6; }
2490 if test -z "$ac_cv_prog_AS"; then
2491 ac_ct_AS=$AS
2492 # Extract the first word of "as", so it can be a program name with args.
2493 set dummy as; ac_word=$2
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2495 $as_echo_n "checking for $ac_word... " >&6; }
2496 if ${ac_cv_prog_ac_ct_AS+:} false; then :
2497 $as_echo_n "(cached) " >&6
2498 else
2499 if test -n "$ac_ct_AS"; then
2500 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2501 else
2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503 for as_dir in $PATH
2505 IFS=$as_save_IFS
2506 test -z "$as_dir" && as_dir=.
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2509 ac_cv_prog_ac_ct_AS="as"
2510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2511 break 2
2513 done
2514 done
2515 IFS=$as_save_IFS
2519 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2520 if test -n "$ac_ct_AS"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
2522 $as_echo "$ac_ct_AS" >&6; }
2523 else
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525 $as_echo "no" >&6; }
2528 if test "x$ac_ct_AS" = x; then
2529 AS=": "
2530 else
2531 case $cross_compiling:$ac_tool_warned in
2532 yes:)
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2535 ac_tool_warned=yes ;;
2536 esac
2537 AS=$ac_ct_AS
2539 else
2540 AS="$ac_cv_prog_AS"
2543 if test -n "$ac_tool_prefix"; then
2544 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2545 set dummy ${ac_tool_prefix}ar; ac_word=$2
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2547 $as_echo_n "checking for $ac_word... " >&6; }
2548 if ${ac_cv_prog_AR+:} false; then :
2549 $as_echo_n "(cached) " >&6
2550 else
2551 if test -n "$AR"; then
2552 ac_cv_prog_AR="$AR" # Let the user override the test.
2553 else
2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 for as_dir in $PATH
2557 IFS=$as_save_IFS
2558 test -z "$as_dir" && as_dir=.
2559 for ac_exec_ext in '' $ac_executable_extensions; do
2560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2561 ac_cv_prog_AR="${ac_tool_prefix}ar"
2562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 break 2
2565 done
2566 done
2567 IFS=$as_save_IFS
2571 AR=$ac_cv_prog_AR
2572 if test -n "$AR"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2574 $as_echo "$AR" >&6; }
2575 else
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2577 $as_echo "no" >&6; }
2582 if test -z "$ac_cv_prog_AR"; then
2583 ac_ct_AR=$AR
2584 # Extract the first word of "ar", so it can be a program name with args.
2585 set dummy ar; ac_word=$2
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2587 $as_echo_n "checking for $ac_word... " >&6; }
2588 if ${ac_cv_prog_ac_ct_AR+:} false; then :
2589 $as_echo_n "(cached) " >&6
2590 else
2591 if test -n "$ac_ct_AR"; then
2592 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2593 else
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 for as_dir in $PATH
2597 IFS=$as_save_IFS
2598 test -z "$as_dir" && as_dir=.
2599 for ac_exec_ext in '' $ac_executable_extensions; do
2600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601 ac_cv_prog_ac_ct_AR="ar"
2602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 break 2
2605 done
2606 done
2607 IFS=$as_save_IFS
2611 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2612 if test -n "$ac_ct_AR"; then
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2614 $as_echo "$ac_ct_AR" >&6; }
2615 else
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2617 $as_echo "no" >&6; }
2620 if test "x$ac_ct_AR" = x; then
2621 AR=": "
2622 else
2623 case $cross_compiling:$ac_tool_warned in
2624 yes:)
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2627 ac_tool_warned=yes ;;
2628 esac
2629 AR=$ac_ct_AR
2631 else
2632 AR="$ac_cv_prog_AR"
2635 if test -n "$ac_tool_prefix"; then
2636 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2637 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2639 $as_echo_n "checking for $ac_word... " >&6; }
2640 if ${ac_cv_prog_RANLIB+:} false; then :
2641 $as_echo_n "(cached) " >&6
2642 else
2643 if test -n "$RANLIB"; then
2644 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2645 else
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647 for as_dir in $PATH
2649 IFS=$as_save_IFS
2650 test -z "$as_dir" && as_dir=.
2651 for ac_exec_ext in '' $ac_executable_extensions; do
2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2655 break 2
2657 done
2658 done
2659 IFS=$as_save_IFS
2663 RANLIB=$ac_cv_prog_RANLIB
2664 if test -n "$RANLIB"; then
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2666 $as_echo "$RANLIB" >&6; }
2667 else
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669 $as_echo "no" >&6; }
2674 if test -z "$ac_cv_prog_RANLIB"; then
2675 ac_ct_RANLIB=$RANLIB
2676 # Extract the first word of "ranlib", so it can be a program name with args.
2677 set dummy ranlib; ac_word=$2
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2679 $as_echo_n "checking for $ac_word... " >&6; }
2680 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2681 $as_echo_n "(cached) " >&6
2682 else
2683 if test -n "$ac_ct_RANLIB"; then
2684 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2685 else
2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2687 for as_dir in $PATH
2689 IFS=$as_save_IFS
2690 test -z "$as_dir" && as_dir=.
2691 for ac_exec_ext in '' $ac_executable_extensions; do
2692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2693 ac_cv_prog_ac_ct_RANLIB="ranlib"
2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 break 2
2697 done
2698 done
2699 IFS=$as_save_IFS
2703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2704 if test -n "$ac_ct_RANLIB"; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2706 $as_echo "$ac_ct_RANLIB" >&6; }
2707 else
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2709 $as_echo "no" >&6; }
2712 if test "x$ac_ct_RANLIB" = x; then
2713 RANLIB=": "
2714 else
2715 case $cross_compiling:$ac_tool_warned in
2716 yes:)
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2719 ac_tool_warned=yes ;;
2720 esac
2721 RANLIB=$ac_ct_RANLIB
2723 else
2724 RANLIB="$ac_cv_prog_RANLIB"
2727 if test -n "$ac_tool_prefix"; then
2728 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2729 set dummy ${ac_tool_prefix}strip; ac_word=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if ${ac_cv_prog_STRIP+:} false; then :
2733 $as_echo_n "(cached) " >&6
2734 else
2735 if test -n "$STRIP"; then
2736 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2737 else
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH
2741 IFS=$as_save_IFS
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 break 2
2749 done
2750 done
2751 IFS=$as_save_IFS
2755 STRIP=$ac_cv_prog_STRIP
2756 if test -n "$STRIP"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2758 $as_echo "$STRIP" >&6; }
2759 else
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2766 if test -z "$ac_cv_prog_STRIP"; then
2767 ac_ct_STRIP=$STRIP
2768 # Extract the first word of "strip", so it can be a program name with args.
2769 set dummy strip; ac_word=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2773 $as_echo_n "(cached) " >&6
2774 else
2775 if test -n "$ac_ct_STRIP"; then
2776 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2777 else
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 for as_dir in $PATH
2781 IFS=$as_save_IFS
2782 test -z "$as_dir" && as_dir=.
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 ac_cv_prog_ac_ct_STRIP="strip"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 break 2
2789 done
2790 done
2791 IFS=$as_save_IFS
2795 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2796 if test -n "$ac_ct_STRIP"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2798 $as_echo "$ac_ct_STRIP" >&6; }
2799 else
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2804 if test "x$ac_ct_STRIP" = x; then
2805 STRIP=": "
2806 else
2807 case $cross_compiling:$ac_tool_warned in
2808 yes:)
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2811 ac_tool_warned=yes ;;
2812 esac
2813 STRIP=$ac_ct_STRIP
2815 else
2816 STRIP="$ac_cv_prog_STRIP"
2819 if test -n "$ac_tool_prefix"; then
2820 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
2821 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823 $as_echo_n "checking for $ac_word... " >&6; }
2824 if ${ac_cv_prog_OBJCOPY+:} false; then :
2825 $as_echo_n "(cached) " >&6
2826 else
2827 if test -n "$OBJCOPY"; then
2828 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
2829 else
2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831 for as_dir in $PATH
2833 IFS=$as_save_IFS
2834 test -z "$as_dir" && as_dir=.
2835 for ac_exec_ext in '' $ac_executable_extensions; do
2836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2837 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
2838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 break 2
2841 done
2842 done
2843 IFS=$as_save_IFS
2847 OBJCOPY=$ac_cv_prog_OBJCOPY
2848 if test -n "$OBJCOPY"; then
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
2850 $as_echo "$OBJCOPY" >&6; }
2851 else
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853 $as_echo "no" >&6; }
2858 if test -z "$ac_cv_prog_OBJCOPY"; then
2859 ac_ct_OBJCOPY=$OBJCOPY
2860 # Extract the first word of "objcopy", so it can be a program name with args.
2861 set dummy objcopy; ac_word=$2
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2863 $as_echo_n "checking for $ac_word... " >&6; }
2864 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
2865 $as_echo_n "(cached) " >&6
2866 else
2867 if test -n "$ac_ct_OBJCOPY"; then
2868 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
2869 else
2870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2871 for as_dir in $PATH
2873 IFS=$as_save_IFS
2874 test -z "$as_dir" && as_dir=.
2875 for ac_exec_ext in '' $ac_executable_extensions; do
2876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2877 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
2878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2879 break 2
2881 done
2882 done
2883 IFS=$as_save_IFS
2887 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
2888 if test -n "$ac_ct_OBJCOPY"; then
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
2890 $as_echo "$ac_ct_OBJCOPY" >&6; }
2891 else
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2893 $as_echo "no" >&6; }
2896 if test "x$ac_ct_OBJCOPY" = x; then
2897 OBJCOPY=": "
2898 else
2899 case $cross_compiling:$ac_tool_warned in
2900 yes:)
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2903 ac_tool_warned=yes ;;
2904 esac
2905 OBJCOPY=$ac_ct_OBJCOPY
2907 else
2908 OBJCOPY="$ac_cv_prog_OBJCOPY"
2912 # Find a good install program. We prefer a C program (faster),
2913 # so one script is as good as another. But avoid the broken or
2914 # incompatible versions:
2915 # SysV /etc/install, /usr/sbin/install
2916 # SunOS /usr/etc/install
2917 # IRIX /sbin/install
2918 # AIX /bin/install
2919 # AmigaOS /C/install, which installs bootblocks on floppy discs
2920 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2921 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2922 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2923 # OS/2's system install, which has a completely different semantic
2924 # ./install, which can be erroneously created by make from ./install.sh.
2925 # Reject install programs that cannot install multiple files.
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2927 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2928 if test -z "$INSTALL"; then
2929 if ${ac_cv_path_install+:} false; then :
2930 $as_echo_n "(cached) " >&6
2931 else
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2933 for as_dir in $PATH
2935 IFS=$as_save_IFS
2936 test -z "$as_dir" && as_dir=.
2937 # Account for people who put trailing slashes in PATH elements.
2938 case $as_dir/ in #((
2939 ./ | .// | /[cC]/* | \
2940 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2941 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2942 /usr/ucb/* ) ;;
2944 # OSF1 and SCO ODT 3.0 have their own names for install.
2945 # Don't use installbsd from OSF since it installs stuff as root
2946 # by default.
2947 for ac_prog in ginstall scoinst install; do
2948 for ac_exec_ext in '' $ac_executable_extensions; do
2949 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2950 if test $ac_prog = install &&
2951 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2952 # AIX install. It has an incompatible calling convention.
2954 elif test $ac_prog = install &&
2955 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2956 # program-specific install script used by HP pwplus--don't use.
2958 else
2959 rm -rf conftest.one conftest.two conftest.dir
2960 echo one > conftest.one
2961 echo two > conftest.two
2962 mkdir conftest.dir
2963 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2964 test -s conftest.one && test -s conftest.two &&
2965 test -s conftest.dir/conftest.one &&
2966 test -s conftest.dir/conftest.two
2967 then
2968 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2969 break 3
2973 done
2974 done
2976 esac
2978 done
2979 IFS=$as_save_IFS
2981 rm -rf conftest.one conftest.two conftest.dir
2984 if test "${ac_cv_path_install+set}" = set; then
2985 INSTALL=$ac_cv_path_install
2986 else
2987 # As a last resort, use the slow shell script. Don't cache a
2988 # value for INSTALL within a source directory, because that will
2989 # break other packages using the cache if that directory is
2990 # removed, or if the value is a relative name.
2991 INSTALL=$ac_install_sh
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2995 $as_echo "$INSTALL" >&6; }
2997 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2998 # It thinks the first close brace ends the variable substitution.
2999 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3001 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3003 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3005 #AC_PROG_CC
3006 if test -n "$ac_tool_prefix"; then
3007 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3008 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010 $as_echo_n "checking for $ac_word... " >&6; }
3011 if ${ac_cv_prog_RANLIB+:} false; then :
3012 $as_echo_n "(cached) " >&6
3013 else
3014 if test -n "$RANLIB"; then
3015 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3016 else
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 for as_dir in $PATH
3020 IFS=$as_save_IFS
3021 test -z "$as_dir" && as_dir=.
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3024 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 break 2
3028 done
3029 done
3030 IFS=$as_save_IFS
3034 RANLIB=$ac_cv_prog_RANLIB
3035 if test -n "$RANLIB"; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3037 $as_echo "$RANLIB" >&6; }
3038 else
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3040 $as_echo "no" >&6; }
3045 if test -z "$ac_cv_prog_RANLIB"; then
3046 ac_ct_RANLIB=$RANLIB
3047 # Extract the first word of "ranlib", so it can be a program name with args.
3048 set dummy ranlib; ac_word=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3052 $as_echo_n "(cached) " >&6
3053 else
3054 if test -n "$ac_ct_RANLIB"; then
3055 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3056 else
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058 for as_dir in $PATH
3060 IFS=$as_save_IFS
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064 ac_cv_prog_ac_ct_RANLIB="ranlib"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 break 2
3068 done
3069 done
3070 IFS=$as_save_IFS
3074 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3075 if test -n "$ac_ct_RANLIB"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3077 $as_echo "$ac_ct_RANLIB" >&6; }
3078 else
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3083 if test "x$ac_ct_RANLIB" = x; then
3084 RANLIB=":"
3085 else
3086 case $cross_compiling:$ac_tool_warned in
3087 yes:)
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3090 ac_tool_warned=yes ;;
3091 esac
3092 RANLIB=$ac_ct_RANLIB
3094 else
3095 RANLIB="$ac_cv_prog_RANLIB"
3098 # Extract the first word of "rm", so it can be a program name with args.
3099 set dummy rm; ac_word=$2
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3101 $as_echo_n "checking for $ac_word... " >&6; }
3102 if ${ac_cv_prog_RM+:} false; then :
3103 $as_echo_n "(cached) " >&6
3104 else
3105 if test -n "$RM"; then
3106 ac_cv_prog_RM="$RM" # Let the user override the test.
3107 else
3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 for as_dir in $PATH
3111 IFS=$as_save_IFS
3112 test -z "$as_dir" && as_dir=.
3113 for ac_exec_ext in '' $ac_executable_extensions; do
3114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3115 ac_cv_prog_RM="rm "
3116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3117 break 2
3119 done
3120 done
3121 IFS=$as_save_IFS
3125 RM=$ac_cv_prog_RM
3126 if test -n "$RM"; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
3128 $as_echo "$RM" >&6; }
3129 else
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3131 $as_echo "no" >&6; }
3135 for ac_prog in RoboDoc robodoc
3137 # Extract the first word of "$ac_prog", so it can be a program name with args.
3138 set dummy $ac_prog; ac_word=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if ${ac_cv_prog_ROBODOC+:} false; then :
3142 $as_echo_n "(cached) " >&6
3143 else
3144 if test -n "$ROBODOC"; then
3145 ac_cv_prog_ROBODOC="$ROBODOC" # Let the user override the test.
3146 else
3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 for as_dir in $PATH
3150 IFS=$as_save_IFS
3151 test -z "$as_dir" && as_dir=.
3152 for ac_exec_ext in '' $ac_executable_extensions; do
3153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154 ac_cv_prog_ROBODOC="$ac_prog"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 break 2
3158 done
3159 done
3160 IFS=$as_save_IFS
3164 ROBODOC=$ac_cv_prog_ROBODOC
3165 if test -n "$ROBODOC"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ROBODOC" >&5
3167 $as_echo "$ROBODOC" >&6; }
3168 else
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3174 test -n "$ROBODOC" && break
3175 done
3177 for ac_prog in FlexCat flexcat
3179 # Extract the first word of "$ac_prog", so it can be a program name with args.
3180 set dummy $ac_prog; ac_word=$2
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3182 $as_echo_n "checking for $ac_word... " >&6; }
3183 if ${ac_cv_prog_FLEXCAT+:} false; then :
3184 $as_echo_n "(cached) " >&6
3185 else
3186 if test -n "$FLEXCAT"; then
3187 ac_cv_prog_FLEXCAT="$FLEXCAT" # Let the user override the test.
3188 else
3189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 for as_dir in $PATH
3192 IFS=$as_save_IFS
3193 test -z "$as_dir" && as_dir=.
3194 for ac_exec_ext in '' $ac_executable_extensions; do
3195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3196 ac_cv_prog_FLEXCAT="$ac_prog"
3197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 break 2
3200 done
3201 done
3202 IFS=$as_save_IFS
3206 FLEXCAT=$ac_cv_prog_FLEXCAT
3207 if test -n "$FLEXCAT"; then
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEXCAT" >&5
3209 $as_echo "$FLEXCAT" >&6; }
3210 else
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3212 $as_echo "no" >&6; }
3216 test -n "$FLEXCAT" && break
3217 done
3219 for ac_prog in SFDC sfdc
3221 # Extract the first word of "$ac_prog", so it can be a program name with args.
3222 set dummy $ac_prog; ac_word=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if ${ac_cv_prog_SFDC+:} false; then :
3226 $as_echo_n "(cached) " >&6
3227 else
3228 if test -n "$SFDC"; then
3229 ac_cv_prog_SFDC="$SFDC" # Let the user override the test.
3230 else
3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 for as_dir in $PATH
3234 IFS=$as_save_IFS
3235 test -z "$as_dir" && as_dir=.
3236 for ac_exec_ext in '' $ac_executable_extensions; do
3237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3238 ac_cv_prog_SFDC="$ac_prog"
3239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 break 2
3242 done
3243 done
3244 IFS=$as_save_IFS
3248 SFDC=$ac_cv_prog_SFDC
3249 if test -n "$SFDC"; then
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SFDC" >&5
3251 $as_echo "$SFDC" >&6; }
3252 else
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3258 test -n "$SFDC" && break
3259 done
3261 for ac_prog in lha
3263 # Extract the first word of "$ac_prog", so it can be a program name with args.
3264 set dummy $ac_prog; ac_word=$2
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266 $as_echo_n "checking for $ac_word... " >&6; }
3267 if ${ac_cv_prog_LHA+:} false; then :
3268 $as_echo_n "(cached) " >&6
3269 else
3270 if test -n "$LHA"; then
3271 ac_cv_prog_LHA="$LHA" # Let the user override the test.
3272 else
3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 for as_dir in $PATH
3276 IFS=$as_save_IFS
3277 test -z "$as_dir" && as_dir=.
3278 for ac_exec_ext in '' $ac_executable_extensions; do
3279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3280 ac_cv_prog_LHA="$ac_prog"
3281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3282 break 2
3284 done
3285 done
3286 IFS=$as_save_IFS
3290 LHA=$ac_cv_prog_LHA
3291 if test -n "$LHA"; then
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LHA" >&5
3293 $as_echo "$LHA" >&6; }
3294 else
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3300 test -n "$LHA" && break
3301 done
3304 if test -z "$SFDC"; then
3305 as_fn_error $? "sfdc missing. " "$LINENO" 5
3308 if test -z "$LHA"; then
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lha missing. " >&5
3310 $as_echo "$as_me: WARNING: lha missing. " >&2;}
3311 else
3312 if test -n "`$LHA 2>&1 | grep 'o.*compression method'`"; then
3313 LHA="$LHA -ao5"
3314 else
3315 LHA="$LHA -a -r"
3319 if test -z "$ROBODOC"; then
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: robodoc missing. " >&5
3321 $as_echo "$as_me: WARNING: robodoc missing. " >&2;}
3325 ac_ext=c
3326 ac_cpp='$CPP $CPPFLAGS'
3327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3330 if test -n "$ac_tool_prefix"; then
3331 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3332 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3334 $as_echo_n "checking for $ac_word... " >&6; }
3335 if ${ac_cv_prog_CC+:} false; then :
3336 $as_echo_n "(cached) " >&6
3337 else
3338 if test -n "$CC"; then
3339 ac_cv_prog_CC="$CC" # Let the user override the test.
3340 else
3341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3342 for as_dir in $PATH
3344 IFS=$as_save_IFS
3345 test -z "$as_dir" && as_dir=.
3346 for ac_exec_ext in '' $ac_executable_extensions; do
3347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3348 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3350 break 2
3352 done
3353 done
3354 IFS=$as_save_IFS
3358 CC=$ac_cv_prog_CC
3359 if test -n "$CC"; then
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3361 $as_echo "$CC" >&6; }
3362 else
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3364 $as_echo "no" >&6; }
3369 if test -z "$ac_cv_prog_CC"; then
3370 ac_ct_CC=$CC
3371 # Extract the first word of "gcc", so it can be a program name with args.
3372 set dummy gcc; ac_word=$2
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3374 $as_echo_n "checking for $ac_word... " >&6; }
3375 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3376 $as_echo_n "(cached) " >&6
3377 else
3378 if test -n "$ac_ct_CC"; then
3379 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3380 else
3381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382 for as_dir in $PATH
3384 IFS=$as_save_IFS
3385 test -z "$as_dir" && as_dir=.
3386 for ac_exec_ext in '' $ac_executable_extensions; do
3387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3388 ac_cv_prog_ac_ct_CC="gcc"
3389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 break 2
3392 done
3393 done
3394 IFS=$as_save_IFS
3398 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3399 if test -n "$ac_ct_CC"; then
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3401 $as_echo "$ac_ct_CC" >&6; }
3402 else
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3404 $as_echo "no" >&6; }
3407 if test "x$ac_ct_CC" = x; then
3408 CC=""
3409 else
3410 case $cross_compiling:$ac_tool_warned in
3411 yes:)
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3414 ac_tool_warned=yes ;;
3415 esac
3416 CC=$ac_ct_CC
3418 else
3419 CC="$ac_cv_prog_CC"
3422 if test -z "$CC"; then
3423 if test -n "$ac_tool_prefix"; then
3424 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3425 set dummy ${ac_tool_prefix}cc; ac_word=$2
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3427 $as_echo_n "checking for $ac_word... " >&6; }
3428 if ${ac_cv_prog_CC+:} false; then :
3429 $as_echo_n "(cached) " >&6
3430 else
3431 if test -n "$CC"; then
3432 ac_cv_prog_CC="$CC" # Let the user override the test.
3433 else
3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3435 for as_dir in $PATH
3437 IFS=$as_save_IFS
3438 test -z "$as_dir" && as_dir=.
3439 for ac_exec_ext in '' $ac_executable_extensions; do
3440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3441 ac_cv_prog_CC="${ac_tool_prefix}cc"
3442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3443 break 2
3445 done
3446 done
3447 IFS=$as_save_IFS
3451 CC=$ac_cv_prog_CC
3452 if test -n "$CC"; then
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3454 $as_echo "$CC" >&6; }
3455 else
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3463 if test -z "$CC"; then
3464 # Extract the first word of "cc", so it can be a program name with args.
3465 set dummy cc; ac_word=$2
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3467 $as_echo_n "checking for $ac_word... " >&6; }
3468 if ${ac_cv_prog_CC+:} false; then :
3469 $as_echo_n "(cached) " >&6
3470 else
3471 if test -n "$CC"; then
3472 ac_cv_prog_CC="$CC" # Let the user override the test.
3473 else
3474 ac_prog_rejected=no
3475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3476 for as_dir in $PATH
3478 IFS=$as_save_IFS
3479 test -z "$as_dir" && as_dir=.
3480 for ac_exec_ext in '' $ac_executable_extensions; do
3481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3482 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3483 ac_prog_rejected=yes
3484 continue
3486 ac_cv_prog_CC="cc"
3487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3488 break 2
3490 done
3491 done
3492 IFS=$as_save_IFS
3494 if test $ac_prog_rejected = yes; then
3495 # We found a bogon in the path, so make sure we never use it.
3496 set dummy $ac_cv_prog_CC
3497 shift
3498 if test $# != 0; then
3499 # We chose a different compiler from the bogus one.
3500 # However, it has the same basename, so the bogon will be chosen
3501 # first if we set CC to just the basename; use the full file name.
3502 shift
3503 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3508 CC=$ac_cv_prog_CC
3509 if test -n "$CC"; then
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3511 $as_echo "$CC" >&6; }
3512 else
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 $as_echo "no" >&6; }
3519 if test -z "$CC"; then
3520 if test -n "$ac_tool_prefix"; then
3521 for ac_prog in cl.exe
3523 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3524 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if ${ac_cv_prog_CC+:} false; then :
3528 $as_echo_n "(cached) " >&6
3529 else
3530 if test -n "$CC"; then
3531 ac_cv_prog_CC="$CC" # Let the user override the test.
3532 else
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534 for as_dir in $PATH
3536 IFS=$as_save_IFS
3537 test -z "$as_dir" && as_dir=.
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3542 break 2
3544 done
3545 done
3546 IFS=$as_save_IFS
3550 CC=$ac_cv_prog_CC
3551 if test -n "$CC"; then
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3553 $as_echo "$CC" >&6; }
3554 else
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3560 test -n "$CC" && break
3561 done
3563 if test -z "$CC"; then
3564 ac_ct_CC=$CC
3565 for ac_prog in cl.exe
3567 # Extract the first word of "$ac_prog", so it can be a program name with args.
3568 set dummy $ac_prog; ac_word=$2
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3570 $as_echo_n "checking for $ac_word... " >&6; }
3571 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3572 $as_echo_n "(cached) " >&6
3573 else
3574 if test -n "$ac_ct_CC"; then
3575 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3576 else
3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578 for as_dir in $PATH
3580 IFS=$as_save_IFS
3581 test -z "$as_dir" && as_dir=.
3582 for ac_exec_ext in '' $ac_executable_extensions; do
3583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3584 ac_cv_prog_ac_ct_CC="$ac_prog"
3585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3586 break 2
3588 done
3589 done
3590 IFS=$as_save_IFS
3594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3595 if test -n "$ac_ct_CC"; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3597 $as_echo "$ac_ct_CC" >&6; }
3598 else
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3600 $as_echo "no" >&6; }
3604 test -n "$ac_ct_CC" && break
3605 done
3607 if test "x$ac_ct_CC" = x; then
3608 CC=""
3609 else
3610 case $cross_compiling:$ac_tool_warned in
3611 yes:)
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3614 ac_tool_warned=yes ;;
3615 esac
3616 CC=$ac_ct_CC
3623 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3625 as_fn_error $? "no acceptable C compiler found in \$PATH
3626 See \`config.log' for more details" "$LINENO" 5; }
3628 # Provide some information about the compiler.
3629 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3630 set X $ac_compile
3631 ac_compiler=$2
3632 for ac_option in --version -v -V -qversion; do
3633 { { ac_try="$ac_compiler $ac_option >&5"
3634 case "(($ac_try" in
3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636 *) ac_try_echo=$ac_try;;
3637 esac
3638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3639 $as_echo "$ac_try_echo"; } >&5
3640 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3641 ac_status=$?
3642 if test -s conftest.err; then
3643 sed '10a\
3644 ... rest of stderr output deleted ...
3645 10q' conftest.err >conftest.er1
3646 cat conftest.er1 >&5
3648 rm -f conftest.er1 conftest.err
3649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3650 test $ac_status = 0; }
3651 done
3653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
3657 main ()
3661 return 0;
3663 _ACEOF
3664 ac_clean_files_save=$ac_clean_files
3665 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3666 # Try to create an executable without -o first, disregard a.out.
3667 # It will help us diagnose broken compilers, and finding out an intuition
3668 # of exeext.
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3670 $as_echo_n "checking whether the C compiler works... " >&6; }
3671 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3673 # The possible output files:
3674 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3676 ac_rmfiles=
3677 for ac_file in $ac_files
3679 case $ac_file in
3680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3681 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3682 esac
3683 done
3684 rm -f $ac_rmfiles
3686 if { { ac_try="$ac_link_default"
3687 case "(($ac_try" in
3688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3689 *) ac_try_echo=$ac_try;;
3690 esac
3691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3692 $as_echo "$ac_try_echo"; } >&5
3693 (eval "$ac_link_default") 2>&5
3694 ac_status=$?
3695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3696 test $ac_status = 0; }; then :
3697 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3698 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3699 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3700 # so that the user can short-circuit this test for compilers unknown to
3701 # Autoconf.
3702 for ac_file in $ac_files ''
3704 test -f "$ac_file" || continue
3705 case $ac_file in
3706 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3708 [ab].out )
3709 # We found the default executable, but exeext='' is most
3710 # certainly right.
3711 break;;
3712 *.* )
3713 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3714 then :; else
3715 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3717 # We set ac_cv_exeext here because the later test for it is not
3718 # safe: cross compilers may not add the suffix if given an `-o'
3719 # argument, so we may need to know it at that point already.
3720 # Even if this section looks crufty: it has the advantage of
3721 # actually working.
3722 break;;
3724 break;;
3725 esac
3726 done
3727 test "$ac_cv_exeext" = no && ac_cv_exeext=
3729 else
3730 ac_file=''
3732 if test -z "$ac_file"; then :
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3735 $as_echo "$as_me: failed program was:" >&5
3736 sed 's/^/| /' conftest.$ac_ext >&5
3738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3740 as_fn_error 77 "C compiler cannot create executables
3741 See \`config.log' for more details" "$LINENO" 5; }
3742 else
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3744 $as_echo "yes" >&6; }
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3747 $as_echo_n "checking for C compiler default output file name... " >&6; }
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3749 $as_echo "$ac_file" >&6; }
3750 ac_exeext=$ac_cv_exeext
3752 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3753 ac_clean_files=$ac_clean_files_save
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3755 $as_echo_n "checking for suffix of executables... " >&6; }
3756 if { { ac_try="$ac_link"
3757 case "(($ac_try" in
3758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3759 *) ac_try_echo=$ac_try;;
3760 esac
3761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3762 $as_echo "$ac_try_echo"; } >&5
3763 (eval "$ac_link") 2>&5
3764 ac_status=$?
3765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3766 test $ac_status = 0; }; then :
3767 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3768 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3769 # work properly (i.e., refer to `conftest.exe'), while it won't with
3770 # `rm'.
3771 for ac_file in conftest.exe conftest conftest.*; do
3772 test -f "$ac_file" || continue
3773 case $ac_file in
3774 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3775 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3776 break;;
3777 * ) break;;
3778 esac
3779 done
3780 else
3781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3782 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3783 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3784 See \`config.log' for more details" "$LINENO" 5; }
3786 rm -f conftest conftest$ac_cv_exeext
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3788 $as_echo "$ac_cv_exeext" >&6; }
3790 rm -f conftest.$ac_ext
3791 EXEEXT=$ac_cv_exeext
3792 ac_exeext=$EXEEXT
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3795 #include <stdio.h>
3797 main ()
3799 FILE *f = fopen ("conftest.out", "w");
3800 return ferror (f) || fclose (f) != 0;
3803 return 0;
3805 _ACEOF
3806 ac_clean_files="$ac_clean_files conftest.out"
3807 # Check that the compiler produces executables we can run. If not, either
3808 # the compiler is broken, or we cross compile.
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3810 $as_echo_n "checking whether we are cross compiling... " >&6; }
3811 if test "$cross_compiling" != yes; then
3812 { { ac_try="$ac_link"
3813 case "(($ac_try" in
3814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3816 esac
3817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3818 $as_echo "$ac_try_echo"; } >&5
3819 (eval "$ac_link") 2>&5
3820 ac_status=$?
3821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3822 test $ac_status = 0; }
3823 if { ac_try='./conftest$ac_cv_exeext'
3824 { { case "(($ac_try" in
3825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3826 *) ac_try_echo=$ac_try;;
3827 esac
3828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3829 $as_echo "$ac_try_echo"; } >&5
3830 (eval "$ac_try") 2>&5
3831 ac_status=$?
3832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3833 test $ac_status = 0; }; }; then
3834 cross_compiling=no
3835 else
3836 if test "$cross_compiling" = maybe; then
3837 cross_compiling=yes
3838 else
3839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3841 as_fn_error $? "cannot run C compiled programs.
3842 If you meant to cross compile, use \`--host'.
3843 See \`config.log' for more details" "$LINENO" 5; }
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3848 $as_echo "$cross_compiling" >&6; }
3850 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3851 ac_clean_files=$ac_clean_files_save
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3853 $as_echo_n "checking for suffix of object files... " >&6; }
3854 if ${ac_cv_objext+:} false; then :
3855 $as_echo_n "(cached) " >&6
3856 else
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3861 main ()
3865 return 0;
3867 _ACEOF
3868 rm -f conftest.o conftest.obj
3869 if { { ac_try="$ac_compile"
3870 case "(($ac_try" in
3871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
3873 esac
3874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875 $as_echo "$ac_try_echo"; } >&5
3876 (eval "$ac_compile") 2>&5
3877 ac_status=$?
3878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879 test $ac_status = 0; }; then :
3880 for ac_file in conftest.o conftest.obj conftest.*; do
3881 test -f "$ac_file" || continue;
3882 case $ac_file in
3883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3884 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3885 break;;
3886 esac
3887 done
3888 else
3889 $as_echo "$as_me: failed program was:" >&5
3890 sed 's/^/| /' conftest.$ac_ext >&5
3892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3894 as_fn_error $? "cannot compute suffix of object files: cannot compile
3895 See \`config.log' for more details" "$LINENO" 5; }
3897 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3900 $as_echo "$ac_cv_objext" >&6; }
3901 OBJEXT=$ac_cv_objext
3902 ac_objext=$OBJEXT
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3904 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3905 if ${ac_cv_c_compiler_gnu+:} false; then :
3906 $as_echo_n "(cached) " >&6
3907 else
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3912 main ()
3914 #ifndef __GNUC__
3915 choke me
3916 #endif
3919 return 0;
3921 _ACEOF
3922 if ac_fn_c_try_compile "$LINENO"; then :
3923 ac_compiler_gnu=yes
3924 else
3925 ac_compiler_gnu=no
3927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3928 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3932 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3933 if test $ac_compiler_gnu = yes; then
3934 GCC=yes
3935 else
3936 GCC=
3938 ac_test_CFLAGS=${CFLAGS+set}
3939 ac_save_CFLAGS=$CFLAGS
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3941 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3942 if ${ac_cv_prog_cc_g+:} false; then :
3943 $as_echo_n "(cached) " >&6
3944 else
3945 ac_save_c_werror_flag=$ac_c_werror_flag
3946 ac_c_werror_flag=yes
3947 ac_cv_prog_cc_g=no
3948 CFLAGS="-g"
3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h. */
3953 main ()
3957 return 0;
3959 _ACEOF
3960 if ac_fn_c_try_compile "$LINENO"; then :
3961 ac_cv_prog_cc_g=yes
3962 else
3963 CFLAGS=""
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3968 main ()
3972 return 0;
3974 _ACEOF
3975 if ac_fn_c_try_compile "$LINENO"; then :
3977 else
3978 ac_c_werror_flag=$ac_save_c_werror_flag
3979 CFLAGS="-g"
3980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3981 /* end confdefs.h. */
3984 main ()
3988 return 0;
3990 _ACEOF
3991 if ac_fn_c_try_compile "$LINENO"; then :
3992 ac_cv_prog_cc_g=yes
3994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999 ac_c_werror_flag=$ac_save_c_werror_flag
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4002 $as_echo "$ac_cv_prog_cc_g" >&6; }
4003 if test "$ac_test_CFLAGS" = set; then
4004 CFLAGS=$ac_save_CFLAGS
4005 elif test $ac_cv_prog_cc_g = yes; then
4006 if test "$GCC" = yes; then
4007 CFLAGS="-g -O2"
4008 else
4009 CFLAGS="-g"
4011 else
4012 if test "$GCC" = yes; then
4013 CFLAGS="-O2"
4014 else
4015 CFLAGS=
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4019 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4020 if ${ac_cv_prog_cc_c89+:} false; then :
4021 $as_echo_n "(cached) " >&6
4022 else
4023 ac_cv_prog_cc_c89=no
4024 ac_save_CC=$CC
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4027 #include <stdarg.h>
4028 #include <stdio.h>
4029 #include <sys/types.h>
4030 #include <sys/stat.h>
4031 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4032 struct buf { int x; };
4033 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4034 static char *e (p, i)
4035 char **p;
4036 int i;
4038 return p[i];
4040 static char *f (char * (*g) (char **, int), char **p, ...)
4042 char *s;
4043 va_list v;
4044 va_start (v,p);
4045 s = g (p, va_arg (v,int));
4046 va_end (v);
4047 return s;
4050 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4051 function prototypes and stuff, but not '\xHH' hex character constants.
4052 These don't provoke an error unfortunately, instead are silently treated
4053 as 'x'. The following induces an error, until -std is added to get
4054 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4055 array size at least. It's necessary to write '\x00'==0 to get something
4056 that's true only with -std. */
4057 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4059 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4060 inside strings and character constants. */
4061 #define FOO(x) 'x'
4062 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4064 int test (int i, double x);
4065 struct s1 {int (*f) (int a);};
4066 struct s2 {int (*f) (double a);};
4067 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4068 int argc;
4069 char **argv;
4071 main ()
4073 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4075 return 0;
4077 _ACEOF
4078 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4079 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4081 CC="$ac_save_CC $ac_arg"
4082 if ac_fn_c_try_compile "$LINENO"; then :
4083 ac_cv_prog_cc_c89=$ac_arg
4085 rm -f core conftest.err conftest.$ac_objext
4086 test "x$ac_cv_prog_cc_c89" != "xno" && break
4087 done
4088 rm -f conftest.$ac_ext
4089 CC=$ac_save_CC
4092 # AC_CACHE_VAL
4093 case "x$ac_cv_prog_cc_c89" in
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4096 $as_echo "none needed" >&6; } ;;
4097 xno)
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4099 $as_echo "unsupported" >&6; } ;;
4101 CC="$CC $ac_cv_prog_cc_c89"
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4103 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4104 esac
4105 if test "x$ac_cv_prog_cc_c89" != xno; then :
4109 ac_ext=c
4110 ac_cpp='$CPP $CPPFLAGS'
4111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing NewList" >&5
4117 $as_echo_n "checking for library containing NewList... " >&6; }
4118 if ${ac_cv_search_NewList+:} false; then :
4119 $as_echo_n "(cached) " >&6
4120 else
4121 ac_func_search_save_LIBS=$LIBS
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4125 /* Override any GCC internal prototype to avoid an error.
4126 Use char because int might match the return type of a GCC
4127 builtin and then its argument prototype would still apply. */
4128 #ifdef __cplusplus
4129 extern "C"
4130 #endif
4131 char NewList ();
4133 main ()
4135 return NewList ();
4137 return 0;
4139 _ACEOF
4140 for ac_lib in '' amiga; do
4141 if test -z "$ac_lib"; then
4142 ac_res="none required"
4143 else
4144 ac_res=-l$ac_lib
4145 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4147 if ac_fn_c_try_link "$LINENO"; then :
4148 ac_cv_search_NewList=$ac_res
4150 rm -f core conftest.err conftest.$ac_objext \
4151 conftest$ac_exeext
4152 if ${ac_cv_search_NewList+:} false; then :
4153 break
4155 done
4156 if ${ac_cv_search_NewList+:} false; then :
4158 else
4159 ac_cv_search_NewList=no
4161 rm conftest.$ac_ext
4162 LIBS=$ac_func_search_save_LIBS
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_NewList" >&5
4165 $as_echo "$ac_cv_search_NewList" >&6; }
4166 ac_res=$ac_cv_search_NewList
4167 if test "$ac_res" != no; then :
4168 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4170 else
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libamiga is missing." >&5
4172 $as_echo "$as_me: WARNING: libamiga is missing." >&2;}
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
4176 $as_echo_n "checking for library containing floor... " >&6; }
4177 if ${ac_cv_search_floor+:} false; then :
4178 $as_echo_n "(cached) " >&6
4179 else
4180 ac_func_search_save_LIBS=$LIBS
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4184 /* Override any GCC internal prototype to avoid an error.
4185 Use char because int might match the return type of a GCC
4186 builtin and then its argument prototype would still apply. */
4187 #ifdef __cplusplus
4188 extern "C"
4189 #endif
4190 char floor ();
4192 main ()
4194 return floor ();
4196 return 0;
4198 _ACEOF
4199 for ac_lib in '' m; do
4200 if test -z "$ac_lib"; then
4201 ac_res="none required"
4202 else
4203 ac_res=-l$ac_lib
4204 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4206 if ac_fn_c_try_link "$LINENO"; then :
4207 ac_cv_search_floor=$ac_res
4209 rm -f core conftest.err conftest.$ac_objext \
4210 conftest$ac_exeext
4211 if ${ac_cv_search_floor+:} false; then :
4212 break
4214 done
4215 if ${ac_cv_search_floor+:} false; then :
4217 else
4218 ac_cv_search_floor=no
4220 rm conftest.$ac_ext
4221 LIBS=$ac_func_search_save_LIBS
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
4224 $as_echo "$ac_cv_search_floor" >&6; }
4225 ac_res=$ac_cv_search_floor
4226 if test "$ac_res" != no; then :
4227 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4229 else
4230 as_fn_error $? "libm is missing." "$LINENO" 5
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing IntuitionBase" >&5
4234 $as_echo_n "checking for library containing IntuitionBase... " >&6; }
4235 if ${ac_cv_search_IntuitionBase+:} false; then :
4236 $as_echo_n "(cached) " >&6
4237 else
4238 ac_func_search_save_LIBS=$LIBS
4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240 /* end confdefs.h. */
4242 /* Override any GCC internal prototype to avoid an error.
4243 Use char because int might match the return type of a GCC
4244 builtin and then its argument prototype would still apply. */
4245 #ifdef __cplusplus
4246 extern "C"
4247 #endif
4248 char IntuitionBase ();
4250 main ()
4252 return IntuitionBase ();
4254 return 0;
4256 _ACEOF
4257 for ac_lib in '' auto; do
4258 if test -z "$ac_lib"; then
4259 ac_res="none required"
4260 else
4261 ac_res=-l$ac_lib
4262 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4264 if ac_fn_c_try_link "$LINENO"; then :
4265 ac_cv_search_IntuitionBase=$ac_res
4267 rm -f core conftest.err conftest.$ac_objext \
4268 conftest$ac_exeext
4269 if ${ac_cv_search_IntuitionBase+:} false; then :
4270 break
4272 done
4273 if ${ac_cv_search_IntuitionBase+:} false; then :
4275 else
4276 ac_cv_search_IntuitionBase=no
4278 rm conftest.$ac_ext
4279 LIBS=$ac_func_search_save_LIBS
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_IntuitionBase" >&5
4282 $as_echo "$ac_cv_search_IntuitionBase" >&6; }
4283 ac_res=$ac_cv_search_IntuitionBase
4284 if test "$ac_res" != no; then :
4285 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4287 else
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Who cares?" >&5
4289 $as_echo "$as_me: WARNING: Who cares?" >&2;}
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing LayoutBase" >&5
4293 $as_echo_n "checking for library containing LayoutBase... " >&6; }
4294 if ${ac_cv_search_LayoutBase+:} false; then :
4295 $as_echo_n "(cached) " >&6
4296 else
4297 ac_func_search_save_LIBS=$LIBS
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4301 /* Override any GCC internal prototype to avoid an error.
4302 Use char because int might match the return type of a GCC
4303 builtin and then its argument prototype would still apply. */
4304 #ifdef __cplusplus
4305 extern "C"
4306 #endif
4307 char LayoutBase ();
4309 main ()
4311 return LayoutBase ();
4313 return 0;
4315 _ACEOF
4316 for ac_lib in '' raauto; do
4317 if test -z "$ac_lib"; then
4318 ac_res="none required"
4319 else
4320 ac_res=-l$ac_lib
4321 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4323 if ac_fn_c_try_link "$LINENO"; then :
4324 ac_cv_search_LayoutBase=$ac_res
4326 rm -f core conftest.err conftest.$ac_objext \
4327 conftest$ac_exeext
4328 if ${ac_cv_search_LayoutBase+:} false; then :
4329 break
4331 done
4332 if ${ac_cv_search_LayoutBase+:} false; then :
4334 else
4335 ac_cv_search_LayoutBase=no
4337 rm conftest.$ac_ext
4338 LIBS=$ac_func_search_save_LIBS
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_LayoutBase" >&5
4341 $as_echo "$ac_cv_search_LayoutBase" >&6; }
4342 ac_res=$ac_cv_search_LayoutBase
4343 if test "$ac_res" != no; then :
4344 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4346 else
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Who cares?" >&5
4348 $as_echo "$as_me: WARNING: Who cares?" >&2;}
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MUI_NewObject" >&5
4352 $as_echo_n "checking for library containing MUI_NewObject... " >&6; }
4353 if ${ac_cv_search_MUI_NewObject+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 ac_func_search_save_LIBS=$LIBS
4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4360 /* Override any GCC internal prototype to avoid an error.
4361 Use char because int might match the return type of a GCC
4362 builtin and then its argument prototype would still apply. */
4363 #ifdef __cplusplus
4364 extern "C"
4365 #endif
4366 char MUI_NewObject ();
4368 main ()
4370 return MUI_NewObject ();
4372 return 0;
4374 _ACEOF
4375 for ac_lib in '' mui; do
4376 if test -z "$ac_lib"; then
4377 ac_res="none required"
4378 else
4379 ac_res=-l$ac_lib
4380 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4382 if ac_fn_c_try_link "$LINENO"; then :
4383 ac_cv_search_MUI_NewObject=$ac_res
4385 rm -f core conftest.err conftest.$ac_objext \
4386 conftest$ac_exeext
4387 if ${ac_cv_search_MUI_NewObject+:} false; then :
4388 break
4390 done
4391 if ${ac_cv_search_MUI_NewObject+:} false; then :
4393 else
4394 ac_cv_search_MUI_NewObject=no
4396 rm conftest.$ac_ext
4397 LIBS=$ac_func_search_save_LIBS
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MUI_NewObject" >&5
4400 $as_echo "$ac_cv_search_MUI_NewObject" >&6; }
4401 ac_res=$ac_cv_search_MUI_NewObject
4402 if test "$ac_res" != no; then :
4403 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4405 else
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Who cares?" >&5
4407 $as_echo "$as_me: WARNING: Who cares?" >&2;}
4411 case $host in
4412 i?86be-pc-amithlon)
4413 : ${CPU="i686"}
4414 LIBS="-lm $LIBS" ;;
4415 esac
4418 ac_ext=c
4419 ac_cpp='$CPP $CPPFLAGS'
4420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4424 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4425 # On Suns, sometimes $CPP names a directory.
4426 if test -n "$CPP" && test -d "$CPP"; then
4427 CPP=
4429 if test -z "$CPP"; then
4430 if ${ac_cv_prog_CPP+:} false; then :
4431 $as_echo_n "(cached) " >&6
4432 else
4433 # Double quotes because CPP needs to be expanded
4434 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4436 ac_preproc_ok=false
4437 for ac_c_preproc_warn_flag in '' yes
4439 # Use a header file that comes with gcc, so configuring glibc
4440 # with a fresh cross-compiler works.
4441 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4442 # <limits.h> exists even on freestanding compilers.
4443 # On the NeXT, cc -E runs the code through the compiler's parser,
4444 # not just through cpp. "Syntax error" is here to catch this case.
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4447 #ifdef __STDC__
4448 # include <limits.h>
4449 #else
4450 # include <assert.h>
4451 #endif
4452 Syntax error
4453 _ACEOF
4454 if ac_fn_c_try_cpp "$LINENO"; then :
4456 else
4457 # Broken: fails on valid input.
4458 continue
4460 rm -f conftest.err conftest.i conftest.$ac_ext
4462 # OK, works on sane cases. Now check whether nonexistent headers
4463 # can be detected and how.
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4466 #include <ac_nonexistent.h>
4467 _ACEOF
4468 if ac_fn_c_try_cpp "$LINENO"; then :
4469 # Broken: success on invalid input.
4470 continue
4471 else
4472 # Passes both tests.
4473 ac_preproc_ok=:
4474 break
4476 rm -f conftest.err conftest.i conftest.$ac_ext
4478 done
4479 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4480 rm -f conftest.i conftest.err conftest.$ac_ext
4481 if $ac_preproc_ok; then :
4482 break
4485 done
4486 ac_cv_prog_CPP=$CPP
4489 CPP=$ac_cv_prog_CPP
4490 else
4491 ac_cv_prog_CPP=$CPP
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4494 $as_echo "$CPP" >&6; }
4495 ac_preproc_ok=false
4496 for ac_c_preproc_warn_flag in '' yes
4498 # Use a header file that comes with gcc, so configuring glibc
4499 # with a fresh cross-compiler works.
4500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4501 # <limits.h> exists even on freestanding compilers.
4502 # On the NeXT, cc -E runs the code through the compiler's parser,
4503 # not just through cpp. "Syntax error" is here to catch this case.
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4506 #ifdef __STDC__
4507 # include <limits.h>
4508 #else
4509 # include <assert.h>
4510 #endif
4511 Syntax error
4512 _ACEOF
4513 if ac_fn_c_try_cpp "$LINENO"; then :
4515 else
4516 # Broken: fails on valid input.
4517 continue
4519 rm -f conftest.err conftest.i conftest.$ac_ext
4521 # OK, works on sane cases. Now check whether nonexistent headers
4522 # can be detected and how.
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4525 #include <ac_nonexistent.h>
4526 _ACEOF
4527 if ac_fn_c_try_cpp "$LINENO"; then :
4528 # Broken: success on invalid input.
4529 continue
4530 else
4531 # Passes both tests.
4532 ac_preproc_ok=:
4533 break
4535 rm -f conftest.err conftest.i conftest.$ac_ext
4537 done
4538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4539 rm -f conftest.i conftest.err conftest.$ac_ext
4540 if $ac_preproc_ok; then :
4542 else
4543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4545 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4546 See \`config.log' for more details" "$LINENO" 5; }
4549 ac_ext=c
4550 ac_cpp='$CPP $CPPFLAGS'
4551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4557 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4558 if ${ac_cv_path_GREP+:} false; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 if test -z "$GREP"; then
4562 ac_path_GREP_found=false
4563 # Loop through the user's path and test for each of PROGNAME-LIST
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4565 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4567 IFS=$as_save_IFS
4568 test -z "$as_dir" && as_dir=.
4569 for ac_prog in grep ggrep; do
4570 for ac_exec_ext in '' $ac_executable_extensions; do
4571 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4572 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4573 # Check for GNU ac_path_GREP and select it if it is found.
4574 # Check for GNU $ac_path_GREP
4575 case `"$ac_path_GREP" --version 2>&1` in
4576 *GNU*)
4577 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4579 ac_count=0
4580 $as_echo_n 0123456789 >"conftest.in"
4581 while :
4583 cat "conftest.in" "conftest.in" >"conftest.tmp"
4584 mv "conftest.tmp" "conftest.in"
4585 cp "conftest.in" "conftest.nl"
4586 $as_echo 'GREP' >> "conftest.nl"
4587 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4588 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4589 as_fn_arith $ac_count + 1 && ac_count=$as_val
4590 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4591 # Best one so far, save it but keep looking for a better one
4592 ac_cv_path_GREP="$ac_path_GREP"
4593 ac_path_GREP_max=$ac_count
4595 # 10*(2^10) chars as input seems more than enough
4596 test $ac_count -gt 10 && break
4597 done
4598 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4599 esac
4601 $ac_path_GREP_found && break 3
4602 done
4603 done
4604 done
4605 IFS=$as_save_IFS
4606 if test -z "$ac_cv_path_GREP"; then
4607 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4609 else
4610 ac_cv_path_GREP=$GREP
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4615 $as_echo "$ac_cv_path_GREP" >&6; }
4616 GREP="$ac_cv_path_GREP"
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4620 $as_echo_n "checking for egrep... " >&6; }
4621 if ${ac_cv_path_EGREP+:} false; then :
4622 $as_echo_n "(cached) " >&6
4623 else
4624 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4625 then ac_cv_path_EGREP="$GREP -E"
4626 else
4627 if test -z "$EGREP"; then
4628 ac_path_EGREP_found=false
4629 # Loop through the user's path and test for each of PROGNAME-LIST
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4633 IFS=$as_save_IFS
4634 test -z "$as_dir" && as_dir=.
4635 for ac_prog in egrep; do
4636 for ac_exec_ext in '' $ac_executable_extensions; do
4637 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4638 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4639 # Check for GNU ac_path_EGREP and select it if it is found.
4640 # Check for GNU $ac_path_EGREP
4641 case `"$ac_path_EGREP" --version 2>&1` in
4642 *GNU*)
4643 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4645 ac_count=0
4646 $as_echo_n 0123456789 >"conftest.in"
4647 while :
4649 cat "conftest.in" "conftest.in" >"conftest.tmp"
4650 mv "conftest.tmp" "conftest.in"
4651 cp "conftest.in" "conftest.nl"
4652 $as_echo 'EGREP' >> "conftest.nl"
4653 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4655 as_fn_arith $ac_count + 1 && ac_count=$as_val
4656 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4657 # Best one so far, save it but keep looking for a better one
4658 ac_cv_path_EGREP="$ac_path_EGREP"
4659 ac_path_EGREP_max=$ac_count
4661 # 10*(2^10) chars as input seems more than enough
4662 test $ac_count -gt 10 && break
4663 done
4664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4665 esac
4667 $ac_path_EGREP_found && break 3
4668 done
4669 done
4670 done
4671 IFS=$as_save_IFS
4672 if test -z "$ac_cv_path_EGREP"; then
4673 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4675 else
4676 ac_cv_path_EGREP=$EGREP
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4682 $as_echo "$ac_cv_path_EGREP" >&6; }
4683 EGREP="$ac_cv_path_EGREP"
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4687 $as_echo_n "checking for ANSI C header files... " >&6; }
4688 if ${ac_cv_header_stdc+:} false; then :
4689 $as_echo_n "(cached) " >&6
4690 else
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4693 #include <stdlib.h>
4694 #include <stdarg.h>
4695 #include <string.h>
4696 #include <float.h>
4699 main ()
4703 return 0;
4705 _ACEOF
4706 if ac_fn_c_try_compile "$LINENO"; then :
4707 ac_cv_header_stdc=yes
4708 else
4709 ac_cv_header_stdc=no
4711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713 if test $ac_cv_header_stdc = yes; then
4714 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h. */
4717 #include <string.h>
4719 _ACEOF
4720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4721 $EGREP "memchr" >/dev/null 2>&1; then :
4723 else
4724 ac_cv_header_stdc=no
4726 rm -f conftest*
4730 if test $ac_cv_header_stdc = yes; then
4731 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4734 #include <stdlib.h>
4736 _ACEOF
4737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4738 $EGREP "free" >/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 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4749 if test "$cross_compiling" = yes; then :
4751 else
4752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4754 #include <ctype.h>
4755 #include <stdlib.h>
4756 #if ((' ' & 0x0FF) == 0x020)
4757 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4758 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4759 #else
4760 # define ISLOWER(c) \
4761 (('a' <= (c) && (c) <= 'i') \
4762 || ('j' <= (c) && (c) <= 'r') \
4763 || ('s' <= (c) && (c) <= 'z'))
4764 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4765 #endif
4767 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4769 main ()
4771 int i;
4772 for (i = 0; i < 256; i++)
4773 if (XOR (islower (i), ISLOWER (i))
4774 || toupper (i) != TOUPPER (i))
4775 return 2;
4776 return 0;
4778 _ACEOF
4779 if ac_fn_c_try_run "$LINENO"; then :
4781 else
4782 ac_cv_header_stdc=no
4784 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4785 conftest.$ac_objext conftest.beam conftest.$ac_ext
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4791 $as_echo "$ac_cv_header_stdc" >&6; }
4792 if test $ac_cv_header_stdc = yes; then
4794 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4798 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4799 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4800 inttypes.h stdint.h unistd.h
4801 do :
4802 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4803 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4805 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4806 cat >>confdefs.h <<_ACEOF
4807 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4808 _ACEOF
4812 done
4815 for ac_header in proto/oss.h
4816 do :
4817 ac_fn_c_check_header_mongrel "$LINENO" "proto/oss.h" "ac_cv_header_proto_oss_h" "$ac_includes_default"
4818 if test "x$ac_cv_header_proto_oss_h" = xyes; then :
4819 cat >>confdefs.h <<_ACEOF
4820 #define HAVE_PROTO_OSS_H 1
4821 _ACEOF
4822 HAVE_OSS=1
4823 else
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"proto/oss.h is missing.\" " >&5
4825 $as_echo "$as_me: WARNING: \"proto/oss.h is missing.\" " >&2;}
4828 done
4830 for ac_header in asm/io.h
4831 do :
4832 ac_fn_c_check_header_mongrel "$LINENO" "asm/io.h" "ac_cv_header_asm_io_h" "$ac_includes_default"
4833 if test "x$ac_cv_header_asm_io_h" = xyes; then :
4834 cat >>confdefs.h <<_ACEOF
4835 #define HAVE_ASM_IO_H 1
4836 _ACEOF
4837 HAVE_ASMIO=1
4838 else
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"asm/io.h is missing.\" " >&5
4840 $as_echo "$as_me: WARNING: \"asm/io.h is missing.\" " >&2;}
4843 done
4845 for ac_header in libraries/openpci.h
4846 do :
4847 ac_fn_c_check_header_mongrel "$LINENO" "libraries/openpci.h" "ac_cv_header_libraries_openpci_h" "$ac_includes_default"
4848 if test "x$ac_cv_header_libraries_openpci_h" = xyes; then :
4849 cat >>confdefs.h <<_ACEOF
4850 #define HAVE_LIBRARIES_OPENPCI_H 1
4851 _ACEOF
4852 HAVE_OPENPCI=1
4853 else
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libraries/openpci.h is missing.\" " >&5
4855 $as_echo "$as_me: WARNING: \"libraries/openpci.h is missing.\" " >&2;}
4858 done
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4867 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4868 if ${ac_cv_c_const+:} false; then :
4869 $as_echo_n "(cached) " >&6
4870 else
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 main ()
4877 /* FIXME: Include the comments suggested by Paul. */
4878 #ifndef __cplusplus
4879 /* Ultrix mips cc rejects this. */
4880 typedef int charset[2];
4881 const charset cs;
4882 /* SunOS 4.1.1 cc rejects this. */
4883 char const *const *pcpcc;
4884 char **ppc;
4885 /* NEC SVR4.0.2 mips cc rejects this. */
4886 struct point {int x, y;};
4887 static struct point const zero = {0,0};
4888 /* AIX XL C 1.02.0.0 rejects this.
4889 It does not let you subtract one const X* pointer from another in
4890 an arm of an if-expression whose if-part is not a constant
4891 expression */
4892 const char *g = "string";
4893 pcpcc = &g + (g ? g-g : 0);
4894 /* HPUX 7.0 cc rejects these. */
4895 ++pcpcc;
4896 ppc = (char**) pcpcc;
4897 pcpcc = (char const *const *) ppc;
4898 { /* SCO 3.2v4 cc rejects this. */
4899 char *t;
4900 char const *s = 0 ? (char *) 0 : (char const *) 0;
4902 *t++ = 0;
4903 if (s) return 0;
4905 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4906 int x[] = {25, 17};
4907 const int *foo = &x[0];
4908 ++foo;
4910 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4911 typedef const int *iptr;
4912 iptr p = 0;
4913 ++p;
4915 { /* AIX XL C 1.02.0.0 rejects this saying
4916 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4917 struct s { int j; const int *ap[3]; };
4918 struct s *b; b->j = 5;
4920 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4921 const int foo = 10;
4922 if (!foo) return 0;
4924 return !cs[0] && !zero.x;
4925 #endif
4928 return 0;
4930 _ACEOF
4931 if ac_fn_c_try_compile "$LINENO"; then :
4932 ac_cv_c_const=yes
4933 else
4934 ac_cv_c_const=no
4936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4939 $as_echo "$ac_cv_c_const" >&6; }
4940 if test $ac_cv_c_const = no; then
4942 $as_echo "#define const /**/" >>confdefs.h
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4947 $as_echo_n "checking for inline... " >&6; }
4948 if ${ac_cv_c_inline+:} false; then :
4949 $as_echo_n "(cached) " >&6
4950 else
4951 ac_cv_c_inline=no
4952 for ac_kw in inline __inline__ __inline; do
4953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4955 #ifndef __cplusplus
4956 typedef int foo_t;
4957 static $ac_kw foo_t static_foo () {return 0; }
4958 $ac_kw foo_t foo () {return 0; }
4959 #endif
4961 _ACEOF
4962 if ac_fn_c_try_compile "$LINENO"; then :
4963 ac_cv_c_inline=$ac_kw
4965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4966 test "$ac_cv_c_inline" != no && break
4967 done
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4971 $as_echo "$ac_cv_c_inline" >&6; }
4973 case $ac_cv_c_inline in
4974 inline | yes) ;;
4976 case $ac_cv_c_inline in
4977 no) ac_val=;;
4978 *) ac_val=$ac_cv_c_inline;;
4979 esac
4980 cat >>confdefs.h <<_ACEOF
4981 #ifndef __cplusplus
4982 #define inline $ac_val
4983 #endif
4984 _ACEOF
4986 esac
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4989 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4990 if ${ac_cv_c_bigendian+:} false; then :
4991 $as_echo_n "(cached) " >&6
4992 else
4993 ac_cv_c_bigendian=unknown
4994 # See if we're dealing with a universal compiler.
4995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
4997 #ifndef __APPLE_CC__
4998 not a universal capable compiler
4999 #endif
5000 typedef int dummy;
5002 _ACEOF
5003 if ac_fn_c_try_compile "$LINENO"; then :
5005 # Check for potential -arch flags. It is not universal unless
5006 # there are at least two -arch flags with different values.
5007 ac_arch=
5008 ac_prev=
5009 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5010 if test -n "$ac_prev"; then
5011 case $ac_word in
5012 i?86 | x86_64 | ppc | ppc64)
5013 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5014 ac_arch=$ac_word
5015 else
5016 ac_cv_c_bigendian=universal
5017 break
5020 esac
5021 ac_prev=
5022 elif test "x$ac_word" = "x-arch"; then
5023 ac_prev=arch
5025 done
5027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5028 if test $ac_cv_c_bigendian = unknown; then
5029 # See if sys/param.h defines the BYTE_ORDER macro.
5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5032 #include <sys/types.h>
5033 #include <sys/param.h>
5036 main ()
5038 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5039 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5040 && LITTLE_ENDIAN)
5041 bogus endian macros
5042 #endif
5045 return 0;
5047 _ACEOF
5048 if ac_fn_c_try_compile "$LINENO"; then :
5049 # It does; now see whether it defined to BIG_ENDIAN or not.
5050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5051 /* end confdefs.h. */
5052 #include <sys/types.h>
5053 #include <sys/param.h>
5056 main ()
5058 #if BYTE_ORDER != BIG_ENDIAN
5059 not big endian
5060 #endif
5063 return 0;
5065 _ACEOF
5066 if ac_fn_c_try_compile "$LINENO"; then :
5067 ac_cv_c_bigendian=yes
5068 else
5069 ac_cv_c_bigendian=no
5071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5075 if test $ac_cv_c_bigendian = unknown; then
5076 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5078 /* end confdefs.h. */
5079 #include <limits.h>
5082 main ()
5084 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5085 bogus endian macros
5086 #endif
5089 return 0;
5091 _ACEOF
5092 if ac_fn_c_try_compile "$LINENO"; then :
5093 # It does; now see whether it defined to _BIG_ENDIAN or not.
5094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5095 /* end confdefs.h. */
5096 #include <limits.h>
5099 main ()
5101 #ifndef _BIG_ENDIAN
5102 not big endian
5103 #endif
5106 return 0;
5108 _ACEOF
5109 if ac_fn_c_try_compile "$LINENO"; then :
5110 ac_cv_c_bigendian=yes
5111 else
5112 ac_cv_c_bigendian=no
5114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5118 if test $ac_cv_c_bigendian = unknown; then
5119 # Compile a test program.
5120 if test "$cross_compiling" = yes; then :
5121 # Try to guess by grepping values from an object file.
5122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5123 /* end confdefs.h. */
5124 short int ascii_mm[] =
5125 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5126 short int ascii_ii[] =
5127 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5128 int use_ascii (int i) {
5129 return ascii_mm[i] + ascii_ii[i];
5131 short int ebcdic_ii[] =
5132 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5133 short int ebcdic_mm[] =
5134 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5135 int use_ebcdic (int i) {
5136 return ebcdic_mm[i] + ebcdic_ii[i];
5138 extern int foo;
5141 main ()
5143 return use_ascii (foo) == use_ebcdic (foo);
5145 return 0;
5147 _ACEOF
5148 if ac_fn_c_try_compile "$LINENO"; then :
5149 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5150 ac_cv_c_bigendian=yes
5152 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5153 if test "$ac_cv_c_bigendian" = unknown; then
5154 ac_cv_c_bigendian=no
5155 else
5156 # finding both strings is unlikely to happen, but who knows?
5157 ac_cv_c_bigendian=unknown
5161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5162 else
5163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5165 $ac_includes_default
5167 main ()
5170 /* Are we little or big endian? From Harbison&Steele. */
5171 union
5173 long int l;
5174 char c[sizeof (long int)];
5175 } u;
5176 u.l = 1;
5177 return u.c[sizeof (long int) - 1] == 1;
5180 return 0;
5182 _ACEOF
5183 if ac_fn_c_try_run "$LINENO"; then :
5184 ac_cv_c_bigendian=no
5185 else
5186 ac_cv_c_bigendian=yes
5188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5189 conftest.$ac_objext conftest.beam conftest.$ac_ext
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5195 $as_echo "$ac_cv_c_bigendian" >&6; }
5196 case $ac_cv_c_bigendian in #(
5197 yes)
5198 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5199 ;; #(
5201 ;; #(
5202 universal)
5204 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5206 ;; #(
5208 as_fn_error $? "unknown endianness
5209 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5210 esac
5215 ac_config_files="$ac_config_files Makefile AHI/Makefile AHI-Handler/Makefile AddAudioModes/Makefile Device/Makefile Docs/Makefile Drivers/Makefile Drivers/ac97/Makefile Drivers/HDAudio/Makefile Drivers/CMI8738/Makefile Drivers/SB128/Makefile Drivers/AROS/Makefile Drivers/Common/Makefile.common Drivers/Device/Makefile Drivers/EMU10kx/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"
5217 ac_config_commands="$ac_config_commands default"
5219 cat >confcache <<\_ACEOF
5220 # This file is a shell script that caches the results of configure
5221 # tests run on this system so they can be shared between configure
5222 # scripts and configure runs, see configure's option --config-cache.
5223 # It is not useful on other systems. If it contains results you don't
5224 # want to keep, you may remove or edit it.
5226 # config.status only pays attention to the cache file if you give it
5227 # the --recheck option to rerun configure.
5229 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5230 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5231 # following values.
5233 _ACEOF
5235 # The following way of writing the cache mishandles newlines in values,
5236 # but we know of no workaround that is simple, portable, and efficient.
5237 # So, we kill variables containing newlines.
5238 # Ultrix sh set writes to stderr and can't be redirected directly,
5239 # and sets the high bit in the cache file unless we assign to the vars.
5241 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5242 eval ac_val=\$$ac_var
5243 case $ac_val in #(
5244 *${as_nl}*)
5245 case $ac_var in #(
5246 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5247 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5248 esac
5249 case $ac_var in #(
5250 _ | IFS | as_nl) ;; #(
5251 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5252 *) { eval $ac_var=; unset $ac_var;} ;;
5253 esac ;;
5254 esac
5255 done
5257 (set) 2>&1 |
5258 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5259 *${as_nl}ac_space=\ *)
5260 # `set' does not quote correctly, so add quotes: double-quote
5261 # substitution turns \\\\ into \\, and sed turns \\ into \.
5262 sed -n \
5263 "s/'/'\\\\''/g;
5264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5265 ;; #(
5267 # `set' quotes correctly as required by POSIX, so do not add quotes.
5268 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5270 esac |
5271 sort
5273 sed '
5274 /^ac_cv_env_/b end
5275 t clear
5276 :clear
5277 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5278 t end
5279 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5280 :end' >>confcache
5281 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5282 if test -w "$cache_file"; then
5283 if test "x$cache_file" != "x/dev/null"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5285 $as_echo "$as_me: updating cache $cache_file" >&6;}
5286 if test ! -f "$cache_file" || test -h "$cache_file"; then
5287 cat confcache >"$cache_file"
5288 else
5289 case $cache_file in #(
5290 */* | ?:*)
5291 mv -f confcache "$cache_file"$$ &&
5292 mv -f "$cache_file"$$ "$cache_file" ;; #(
5294 mv -f confcache "$cache_file" ;;
5295 esac
5298 else
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5300 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5303 rm -f confcache
5305 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5306 # Let make expand exec_prefix.
5307 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5309 DEFS=-DHAVE_CONFIG_H
5311 ac_libobjs=
5312 ac_ltlibobjs=
5314 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5315 # 1. Remove the extension, and $U if already installed.
5316 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5317 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5318 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5319 # will be set to the directory where LIBOBJS objects are built.
5320 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5321 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5322 done
5323 LIBOBJS=$ac_libobjs
5325 LTLIBOBJS=$ac_ltlibobjs
5330 : "${CONFIG_STATUS=./config.status}"
5331 ac_write_fail=0
5332 ac_clean_files_save=$ac_clean_files
5333 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5335 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5336 as_write_fail=0
5337 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5338 #! $SHELL
5339 # Generated by $as_me.
5340 # Run this file to recreate the current configuration.
5341 # Compiler output produced by configure, useful for debugging
5342 # configure, is in config.log if it exists.
5344 debug=false
5345 ac_cs_recheck=false
5346 ac_cs_silent=false
5348 SHELL=\${CONFIG_SHELL-$SHELL}
5349 export SHELL
5350 _ASEOF
5351 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5352 ## -------------------- ##
5353 ## M4sh Initialization. ##
5354 ## -------------------- ##
5356 # Be more Bourne compatible
5357 DUALCASE=1; export DUALCASE # for MKS sh
5358 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5359 emulate sh
5360 NULLCMD=:
5361 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5362 # is contrary to our usage. Disable this feature.
5363 alias -g '${1+"$@"}'='"$@"'
5364 setopt NO_GLOB_SUBST
5365 else
5366 case `(set -o) 2>/dev/null` in #(
5367 *posix*) :
5368 set -o posix ;; #(
5369 *) :
5371 esac
5375 as_nl='
5377 export as_nl
5378 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5379 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5380 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5381 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5382 # Prefer a ksh shell builtin over an external printf program on Solaris,
5383 # but without wasting forks for bash or zsh.
5384 if test -z "$BASH_VERSION$ZSH_VERSION" \
5385 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5386 as_echo='print -r --'
5387 as_echo_n='print -rn --'
5388 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5389 as_echo='printf %s\n'
5390 as_echo_n='printf %s'
5391 else
5392 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5393 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5394 as_echo_n='/usr/ucb/echo -n'
5395 else
5396 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5397 as_echo_n_body='eval
5398 arg=$1;
5399 case $arg in #(
5400 *"$as_nl"*)
5401 expr "X$arg" : "X\\(.*\\)$as_nl";
5402 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5403 esac;
5404 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5406 export as_echo_n_body
5407 as_echo_n='sh -c $as_echo_n_body as_echo'
5409 export as_echo_body
5410 as_echo='sh -c $as_echo_body as_echo'
5413 # The user is always right.
5414 if test "${PATH_SEPARATOR+set}" != set; then
5415 PATH_SEPARATOR=:
5416 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5417 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5418 PATH_SEPARATOR=';'
5423 # IFS
5424 # We need space, tab and new line, in precisely that order. Quoting is
5425 # there to prevent editors from complaining about space-tab.
5426 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5427 # splitting by setting IFS to empty value.)
5428 IFS=" "" $as_nl"
5430 # Find who we are. Look in the path if we contain no directory separator.
5431 as_myself=
5432 case $0 in #((
5433 *[\\/]* ) as_myself=$0 ;;
5434 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in $PATH
5437 IFS=$as_save_IFS
5438 test -z "$as_dir" && as_dir=.
5439 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5440 done
5441 IFS=$as_save_IFS
5444 esac
5445 # We did not find ourselves, most probably we were run as `sh COMMAND'
5446 # in which case we are not to be found in the path.
5447 if test "x$as_myself" = x; then
5448 as_myself=$0
5450 if test ! -f "$as_myself"; then
5451 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5452 exit 1
5455 # Unset variables that we do not need and which cause bugs (e.g. in
5456 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5457 # suppresses any "Segmentation fault" message there. '((' could
5458 # trigger a bug in pdksh 5.2.14.
5459 for as_var in BASH_ENV ENV MAIL MAILPATH
5460 do eval test x\${$as_var+set} = xset \
5461 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5462 done
5463 PS1='$ '
5464 PS2='> '
5465 PS4='+ '
5467 # NLS nuisances.
5468 LC_ALL=C
5469 export LC_ALL
5470 LANGUAGE=C
5471 export LANGUAGE
5473 # CDPATH.
5474 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5477 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5478 # ----------------------------------------
5479 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5480 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5481 # script with STATUS, using 1 if that was 0.
5482 as_fn_error ()
5484 as_status=$1; test $as_status -eq 0 && as_status=1
5485 if test "$4"; then
5486 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5487 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5489 $as_echo "$as_me: error: $2" >&2
5490 as_fn_exit $as_status
5491 } # as_fn_error
5494 # as_fn_set_status STATUS
5495 # -----------------------
5496 # Set $? to STATUS, without forking.
5497 as_fn_set_status ()
5499 return $1
5500 } # as_fn_set_status
5502 # as_fn_exit STATUS
5503 # -----------------
5504 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5505 as_fn_exit ()
5507 set +e
5508 as_fn_set_status $1
5509 exit $1
5510 } # as_fn_exit
5512 # as_fn_unset VAR
5513 # ---------------
5514 # Portably unset VAR.
5515 as_fn_unset ()
5517 { eval $1=; unset $1;}
5519 as_unset=as_fn_unset
5520 # as_fn_append VAR VALUE
5521 # ----------------------
5522 # Append the text in VALUE to the end of the definition contained in VAR. Take
5523 # advantage of any shell optimizations that allow amortized linear growth over
5524 # repeated appends, instead of the typical quadratic growth present in naive
5525 # implementations.
5526 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5527 eval 'as_fn_append ()
5529 eval $1+=\$2
5531 else
5532 as_fn_append ()
5534 eval $1=\$$1\$2
5536 fi # as_fn_append
5538 # as_fn_arith ARG...
5539 # ------------------
5540 # Perform arithmetic evaluation on the ARGs, and store the result in the
5541 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5542 # must be portable across $(()) and expr.
5543 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5544 eval 'as_fn_arith ()
5546 as_val=$(( $* ))
5548 else
5549 as_fn_arith ()
5551 as_val=`expr "$@" || test $? -eq 1`
5553 fi # as_fn_arith
5556 if expr a : '\(a\)' >/dev/null 2>&1 &&
5557 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5558 as_expr=expr
5559 else
5560 as_expr=false
5563 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5564 as_basename=basename
5565 else
5566 as_basename=false
5569 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5570 as_dirname=dirname
5571 else
5572 as_dirname=false
5575 as_me=`$as_basename -- "$0" ||
5576 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5577 X"$0" : 'X\(//\)$' \| \
5578 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5579 $as_echo X/"$0" |
5580 sed '/^.*\/\([^/][^/]*\)\/*$/{
5581 s//\1/
5584 /^X\/\(\/\/\)$/{
5585 s//\1/
5588 /^X\/\(\/\).*/{
5589 s//\1/
5592 s/.*/./; q'`
5594 # Avoid depending upon Character Ranges.
5595 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5596 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5597 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5598 as_cr_digits='0123456789'
5599 as_cr_alnum=$as_cr_Letters$as_cr_digits
5601 ECHO_C= ECHO_N= ECHO_T=
5602 case `echo -n x` in #(((((
5603 -n*)
5604 case `echo 'xy\c'` in
5605 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5606 xy) ECHO_C='\c';;
5607 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5608 ECHO_T=' ';;
5609 esac;;
5611 ECHO_N='-n';;
5612 esac
5614 rm -f conf$$ conf$$.exe conf$$.file
5615 if test -d conf$$.dir; then
5616 rm -f conf$$.dir/conf$$.file
5617 else
5618 rm -f conf$$.dir
5619 mkdir conf$$.dir 2>/dev/null
5621 if (echo >conf$$.file) 2>/dev/null; then
5622 if ln -s conf$$.file conf$$ 2>/dev/null; then
5623 as_ln_s='ln -s'
5624 # ... but there are two gotchas:
5625 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5626 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5627 # In both cases, we have to default to `cp -p'.
5628 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5629 as_ln_s='cp -p'
5630 elif ln conf$$.file conf$$ 2>/dev/null; then
5631 as_ln_s=ln
5632 else
5633 as_ln_s='cp -p'
5635 else
5636 as_ln_s='cp -p'
5638 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5639 rmdir conf$$.dir 2>/dev/null
5642 # as_fn_mkdir_p
5643 # -------------
5644 # Create "$as_dir" as a directory, including parents if necessary.
5645 as_fn_mkdir_p ()
5648 case $as_dir in #(
5649 -*) as_dir=./$as_dir;;
5650 esac
5651 test -d "$as_dir" || eval $as_mkdir_p || {
5652 as_dirs=
5653 while :; do
5654 case $as_dir in #(
5655 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5656 *) as_qdir=$as_dir;;
5657 esac
5658 as_dirs="'$as_qdir' $as_dirs"
5659 as_dir=`$as_dirname -- "$as_dir" ||
5660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5661 X"$as_dir" : 'X\(//\)[^/]' \| \
5662 X"$as_dir" : 'X\(//\)$' \| \
5663 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5664 $as_echo X"$as_dir" |
5665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5666 s//\1/
5669 /^X\(\/\/\)[^/].*/{
5670 s//\1/
5673 /^X\(\/\/\)$/{
5674 s//\1/
5677 /^X\(\/\).*/{
5678 s//\1/
5681 s/.*/./; q'`
5682 test -d "$as_dir" && break
5683 done
5684 test -z "$as_dirs" || eval "mkdir $as_dirs"
5685 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5688 } # as_fn_mkdir_p
5689 if mkdir -p . 2>/dev/null; then
5690 as_mkdir_p='mkdir -p "$as_dir"'
5691 else
5692 test -d ./-p && rmdir ./-p
5693 as_mkdir_p=false
5696 if test -x / >/dev/null 2>&1; then
5697 as_test_x='test -x'
5698 else
5699 if ls -dL / >/dev/null 2>&1; then
5700 as_ls_L_option=L
5701 else
5702 as_ls_L_option=
5704 as_test_x='
5705 eval sh -c '\''
5706 if test -d "$1"; then
5707 test -d "$1/.";
5708 else
5709 case $1 in #(
5710 -*)set "./$1";;
5711 esac;
5712 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5713 ???[sx]*):;;*)false;;esac;fi
5714 '\'' sh
5717 as_executable_p=$as_test_x
5719 # Sed expression to map a string onto a valid CPP name.
5720 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5722 # Sed expression to map a string onto a valid variable name.
5723 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5726 exec 6>&1
5727 ## ----------------------------------- ##
5728 ## Main body of $CONFIG_STATUS script. ##
5729 ## ----------------------------------- ##
5730 _ASEOF
5731 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5734 # Save the log message, to keep $0 and so on meaningful, and to
5735 # report actual input values of CONFIG_FILES etc. instead of their
5736 # values after options handling.
5737 ac_log="
5738 This file was extended by $as_me, which was
5739 generated by GNU Autoconf 2.68. Invocation command line was
5741 CONFIG_FILES = $CONFIG_FILES
5742 CONFIG_HEADERS = $CONFIG_HEADERS
5743 CONFIG_LINKS = $CONFIG_LINKS
5744 CONFIG_COMMANDS = $CONFIG_COMMANDS
5745 $ $0 $@
5747 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5750 _ACEOF
5752 case $ac_config_files in *"
5753 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5754 esac
5756 case $ac_config_headers in *"
5757 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5758 esac
5761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5762 # Files that config.status was made for.
5763 config_files="$ac_config_files"
5764 config_headers="$ac_config_headers"
5765 config_commands="$ac_config_commands"
5767 _ACEOF
5769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5770 ac_cs_usage="\
5771 \`$as_me' instantiates files and other configuration actions
5772 from templates according to the current configuration. Unless the files
5773 and actions are specified as TAGs, all are instantiated by default.
5775 Usage: $0 [OPTION]... [TAG]...
5777 -h, --help print this help, then exit
5778 -V, --version print version number and configuration settings, then exit
5779 --config print configuration, then exit
5780 -q, --quiet, --silent
5781 do not print progress messages
5782 -d, --debug don't remove temporary files
5783 --recheck update $as_me by reconfiguring in the same conditions
5784 --file=FILE[:TEMPLATE]
5785 instantiate the configuration file FILE
5786 --header=FILE[:TEMPLATE]
5787 instantiate the configuration header FILE
5789 Configuration files:
5790 $config_files
5792 Configuration headers:
5793 $config_headers
5795 Configuration commands:
5796 $config_commands
5798 Report bugs to the package provider."
5800 _ACEOF
5801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5802 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5803 ac_cs_version="\\
5804 config.status
5805 configured by $0, generated by GNU Autoconf 2.68,
5806 with options \\"\$ac_cs_config\\"
5808 Copyright (C) 2010 Free Software Foundation, Inc.
5809 This config.status script is free software; the Free Software Foundation
5810 gives unlimited permission to copy, distribute and modify it."
5812 ac_pwd='$ac_pwd'
5813 srcdir='$srcdir'
5814 INSTALL='$INSTALL'
5815 test -n "\$AWK" || AWK=awk
5816 _ACEOF
5818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5819 # The default lists apply if the user does not specify any file.
5820 ac_need_defaults=:
5821 while test $# != 0
5823 case $1 in
5824 --*=?*)
5825 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5826 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5827 ac_shift=:
5829 --*=)
5830 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5831 ac_optarg=
5832 ac_shift=:
5835 ac_option=$1
5836 ac_optarg=$2
5837 ac_shift=shift
5839 esac
5841 case $ac_option in
5842 # Handling of the options.
5843 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5844 ac_cs_recheck=: ;;
5845 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5846 $as_echo "$ac_cs_version"; exit ;;
5847 --config | --confi | --conf | --con | --co | --c )
5848 $as_echo "$ac_cs_config"; exit ;;
5849 --debug | --debu | --deb | --de | --d | -d )
5850 debug=: ;;
5851 --file | --fil | --fi | --f )
5852 $ac_shift
5853 case $ac_optarg in
5854 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5855 '') as_fn_error $? "missing file argument" ;;
5856 esac
5857 as_fn_append CONFIG_FILES " '$ac_optarg'"
5858 ac_need_defaults=false;;
5859 --header | --heade | --head | --hea )
5860 $ac_shift
5861 case $ac_optarg in
5862 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5863 esac
5864 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5865 ac_need_defaults=false;;
5866 --he | --h)
5867 # Conflict between --help and --header
5868 as_fn_error $? "ambiguous option: \`$1'
5869 Try \`$0 --help' for more information.";;
5870 --help | --hel | -h )
5871 $as_echo "$ac_cs_usage"; exit ;;
5872 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5873 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5874 ac_cs_silent=: ;;
5876 # This is an error.
5877 -*) as_fn_error $? "unrecognized option: \`$1'
5878 Try \`$0 --help' for more information." ;;
5880 *) as_fn_append ac_config_targets " $1"
5881 ac_need_defaults=false ;;
5883 esac
5884 shift
5885 done
5887 ac_configure_extra_args=
5889 if $ac_cs_silent; then
5890 exec 6>/dev/null
5891 ac_configure_extra_args="$ac_configure_extra_args --silent"
5894 _ACEOF
5895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5896 if \$ac_cs_recheck; then
5897 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5898 shift
5899 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5900 CONFIG_SHELL='$SHELL'
5901 export CONFIG_SHELL
5902 exec "\$@"
5905 _ACEOF
5906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5907 exec 5>>config.log
5909 echo
5910 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5911 ## Running $as_me. ##
5912 _ASBOX
5913 $as_echo "$ac_log"
5914 } >&5
5916 _ACEOF
5917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5918 _ACEOF
5920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5922 # Handling of arguments.
5923 for ac_config_target in $ac_config_targets
5925 case $ac_config_target in
5926 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5927 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5928 "AHI/Makefile") CONFIG_FILES="$CONFIG_FILES AHI/Makefile" ;;
5929 "AHI-Handler/Makefile") CONFIG_FILES="$CONFIG_FILES AHI-Handler/Makefile" ;;
5930 "AddAudioModes/Makefile") CONFIG_FILES="$CONFIG_FILES AddAudioModes/Makefile" ;;
5931 "Device/Makefile") CONFIG_FILES="$CONFIG_FILES Device/Makefile" ;;
5932 "Docs/Makefile") CONFIG_FILES="$CONFIG_FILES Docs/Makefile" ;;
5933 "Drivers/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/Makefile" ;;
5934 "Drivers/ac97/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/ac97/Makefile" ;;
5935 "Drivers/HDAudio/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/HDAudio/Makefile" ;;
5936 "Drivers/CMI8738/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/CMI8738/Makefile" ;;
5937 "Drivers/SB128/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/SB128/Makefile" ;;
5938 "Drivers/AROS/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/AROS/Makefile" ;;
5939 "Drivers/Common/Makefile.common") CONFIG_FILES="$CONFIG_FILES Drivers/Common/Makefile.common" ;;
5940 "Drivers/Device/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/Device/Makefile" ;;
5941 "Drivers/EMU10kx/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/EMU10kx/Makefile" ;;
5942 "Drivers/Filesave/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/Filesave/Makefile" ;;
5943 "Drivers/Void/Makefile") CONFIG_FILES="$CONFIG_FILES Drivers/Void/Makefile" ;;
5944 "Examples/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Makefile" ;;
5945 "Examples/Device/PlayTest/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Device/PlayTest/Makefile" ;;
5946 "Examples/Extras/CloneAudioModes/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Extras/CloneAudioModes/Makefile" ;;
5947 "Examples/Low-level/PlaySineEverywhere/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Low-level/PlaySineEverywhere/Makefile" ;;
5948 "Examples/Low-level/Test-7.1/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Low-level/Test-7.1/Makefile" ;;
5949 "Examples/Low-level/ScanAudioModes/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Low-level/ScanAudioModes/Makefile" ;;
5950 "Include/Makefile") CONFIG_FILES="$CONFIG_FILES Include/Makefile" ;;
5951 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5953 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5954 esac
5955 done
5958 # If the user did not use the arguments to specify the items to instantiate,
5959 # then the envvar interface is used. Set only those that are not.
5960 # We use the long form for the default assignment because of an extremely
5961 # bizarre bug on SunOS 4.1.3.
5962 if $ac_need_defaults; then
5963 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5964 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5965 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5968 # Have a temporary directory for convenience. Make it in the build tree
5969 # simply because there is no reason against having it here, and in addition,
5970 # creating and moving files from /tmp can sometimes cause problems.
5971 # Hook for its removal unless debugging.
5972 # Note that there is a small window in which the directory will not be cleaned:
5973 # after its creation but before its name has been assigned to `$tmp'.
5974 $debug ||
5976 tmp= ac_tmp=
5977 trap 'exit_status=$?
5978 : "${ac_tmp:=$tmp}"
5979 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5981 trap 'as_fn_exit 1' 1 2 13 15
5983 # Create a (secure) tmp directory for tmp files.
5986 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5987 test -d "$tmp"
5988 } ||
5990 tmp=./conf$$-$RANDOM
5991 (umask 077 && mkdir "$tmp")
5992 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5993 ac_tmp=$tmp
5995 # Set up the scripts for CONFIG_FILES section.
5996 # No need to generate them if there are no CONFIG_FILES.
5997 # This happens for instance with `./config.status config.h'.
5998 if test -n "$CONFIG_FILES"; then
6001 ac_cr=`echo X | tr X '\015'`
6002 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6003 # But we know of no other shell where ac_cr would be empty at this
6004 # point, so we can use a bashism as a fallback.
6005 if test "x$ac_cr" = x; then
6006 eval ac_cr=\$\'\\r\'
6008 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6009 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6010 ac_cs_awk_cr='\\r'
6011 else
6012 ac_cs_awk_cr=$ac_cr
6015 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6016 _ACEOF
6020 echo "cat >conf$$subs.awk <<_ACEOF" &&
6021 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6022 echo "_ACEOF"
6023 } >conf$$subs.sh ||
6024 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6025 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6026 ac_delim='%!_!# '
6027 for ac_last_try in false false false false false :; do
6028 . ./conf$$subs.sh ||
6029 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6031 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6032 if test $ac_delim_n = $ac_delim_num; then
6033 break
6034 elif $ac_last_try; then
6035 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6036 else
6037 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6039 done
6040 rm -f conf$$subs.sh
6042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6043 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6044 _ACEOF
6045 sed -n '
6047 s/^/S["/; s/!.*/"]=/
6050 s/^[^!]*!//
6051 :repl
6052 t repl
6053 s/'"$ac_delim"'$//
6054 t delim
6057 s/\(.\{148\}\)..*/\1/
6058 t more1
6059 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6062 b repl
6063 :more1
6064 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6067 s/.\{148\}//
6068 t nl
6069 :delim
6071 s/\(.\{148\}\)..*/\1/
6072 t more2
6073 s/["\\]/\\&/g; s/^/"/; s/$/"/
6076 :more2
6077 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6080 s/.\{148\}//
6081 t delim
6082 ' <conf$$subs.awk | sed '
6083 /^[^""]/{
6085 s/\n//
6087 ' >>$CONFIG_STATUS || ac_write_fail=1
6088 rm -f conf$$subs.awk
6089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6090 _ACAWK
6091 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6092 for (key in S) S_is_set[key] = 1
6093 FS = "\a"
6097 line = $ 0
6098 nfields = split(line, field, "@")
6099 substed = 0
6100 len = length(field[1])
6101 for (i = 2; i < nfields; i++) {
6102 key = field[i]
6103 keylen = length(key)
6104 if (S_is_set[key]) {
6105 value = S[key]
6106 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6107 len += length(value) + length(field[++i])
6108 substed = 1
6109 } else
6110 len += 1 + keylen
6113 print line
6116 _ACAWK
6117 _ACEOF
6118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6119 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6120 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6121 else
6123 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6124 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6125 _ACEOF
6127 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6128 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6129 # trailing colons and then remove the whole line if VPATH becomes empty
6130 # (actually we leave an empty line to preserve line numbers).
6131 if test "x$srcdir" = x.; then
6132 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6134 s///
6135 s/^/:/
6136 s/[ ]*$/:/
6137 s/:\$(srcdir):/:/g
6138 s/:\${srcdir}:/:/g
6139 s/:@srcdir@:/:/g
6140 s/^:*//
6141 s/:*$//
6143 s/\(=[ ]*\).*/\1/
6145 s/\n//
6146 s/^[^=]*=[ ]*$//
6150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6151 fi # test -n "$CONFIG_FILES"
6153 # Set up the scripts for CONFIG_HEADERS section.
6154 # No need to generate them if there are no CONFIG_HEADERS.
6155 # This happens for instance with `./config.status Makefile'.
6156 if test -n "$CONFIG_HEADERS"; then
6157 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6158 BEGIN {
6159 _ACEOF
6161 # Transform confdefs.h into an awk script `defines.awk', embedded as
6162 # here-document in config.status, that substitutes the proper values into
6163 # config.h.in to produce config.h.
6165 # Create a delimiter string that does not exist in confdefs.h, to ease
6166 # handling of long lines.
6167 ac_delim='%!_!# '
6168 for ac_last_try in false false :; do
6169 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6170 if test -z "$ac_tt"; then
6171 break
6172 elif $ac_last_try; then
6173 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6174 else
6175 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6177 done
6179 # For the awk script, D is an array of macro values keyed by name,
6180 # likewise P contains macro parameters if any. Preserve backslash
6181 # newline sequences.
6183 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6184 sed -n '
6185 s/.\{148\}/&'"$ac_delim"'/g
6186 t rset
6187 :rset
6188 s/^[ ]*#[ ]*define[ ][ ]*/ /
6189 t def
6191 :def
6192 s/\\$//
6193 t bsnl
6194 s/["\\]/\\&/g
6195 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6196 D["\1"]=" \3"/p
6197 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6199 :bsnl
6200 s/["\\]/\\&/g
6201 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6202 D["\1"]=" \3\\\\\\n"\\/p
6203 t cont
6204 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6205 t cont
6207 :cont
6209 s/.\{148\}/&'"$ac_delim"'/g
6210 t clear
6211 :clear
6212 s/\\$//
6213 t bsnlc
6214 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6216 :bsnlc
6217 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6218 b cont
6219 ' <confdefs.h | sed '
6220 s/'"$ac_delim"'/"\\\
6221 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6224 for (key in D) D_is_set[key] = 1
6225 FS = "\a"
6227 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6228 line = \$ 0
6229 split(line, arg, " ")
6230 if (arg[1] == "#") {
6231 defundef = arg[2]
6232 mac1 = arg[3]
6233 } else {
6234 defundef = substr(arg[1], 2)
6235 mac1 = arg[2]
6237 split(mac1, mac2, "(") #)
6238 macro = mac2[1]
6239 prefix = substr(line, 1, index(line, defundef) - 1)
6240 if (D_is_set[macro]) {
6241 # Preserve the white space surrounding the "#".
6242 print prefix "define", macro P[macro] D[macro]
6243 next
6244 } else {
6245 # Replace #undef with comments. This is necessary, for example,
6246 # in the case of _POSIX_SOURCE, which is predefined and required
6247 # on some systems where configure will not decide to define it.
6248 if (defundef == "undef") {
6249 print "/*", prefix defundef, macro, "*/"
6250 next
6254 { print }
6255 _ACAWK
6256 _ACEOF
6257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6258 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6259 fi # test -n "$CONFIG_HEADERS"
6262 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6263 shift
6264 for ac_tag
6266 case $ac_tag in
6267 :[FHLC]) ac_mode=$ac_tag; continue;;
6268 esac
6269 case $ac_mode$ac_tag in
6270 :[FHL]*:*);;
6271 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6272 :[FH]-) ac_tag=-:-;;
6273 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6274 esac
6275 ac_save_IFS=$IFS
6276 IFS=:
6277 set x $ac_tag
6278 IFS=$ac_save_IFS
6279 shift
6280 ac_file=$1
6281 shift
6283 case $ac_mode in
6284 :L) ac_source=$1;;
6285 :[FH])
6286 ac_file_inputs=
6287 for ac_f
6289 case $ac_f in
6290 -) ac_f="$ac_tmp/stdin";;
6291 *) # Look for the file first in the build tree, then in the source tree
6292 # (if the path is not absolute). The absolute path cannot be DOS-style,
6293 # because $ac_f cannot contain `:'.
6294 test -f "$ac_f" ||
6295 case $ac_f in
6296 [\\/$]*) false;;
6297 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6298 esac ||
6299 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6300 esac
6301 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6302 as_fn_append ac_file_inputs " '$ac_f'"
6303 done
6305 # Let's still pretend it is `configure' which instantiates (i.e., don't
6306 # use $as_me), people would be surprised to read:
6307 # /* config.h. Generated by config.status. */
6308 configure_input='Generated from '`
6309 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6310 `' by configure.'
6311 if test x"$ac_file" != x-; then
6312 configure_input="$ac_file. $configure_input"
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6314 $as_echo "$as_me: creating $ac_file" >&6;}
6316 # Neutralize special characters interpreted by sed in replacement strings.
6317 case $configure_input in #(
6318 *\&* | *\|* | *\\* )
6319 ac_sed_conf_input=`$as_echo "$configure_input" |
6320 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6321 *) ac_sed_conf_input=$configure_input;;
6322 esac
6324 case $ac_tag in
6325 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6326 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6327 esac
6329 esac
6331 ac_dir=`$as_dirname -- "$ac_file" ||
6332 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6333 X"$ac_file" : 'X\(//\)[^/]' \| \
6334 X"$ac_file" : 'X\(//\)$' \| \
6335 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6336 $as_echo X"$ac_file" |
6337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6338 s//\1/
6341 /^X\(\/\/\)[^/].*/{
6342 s//\1/
6345 /^X\(\/\/\)$/{
6346 s//\1/
6349 /^X\(\/\).*/{
6350 s//\1/
6353 s/.*/./; q'`
6354 as_dir="$ac_dir"; as_fn_mkdir_p
6355 ac_builddir=.
6357 case "$ac_dir" in
6358 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6360 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6361 # A ".." for each directory in $ac_dir_suffix.
6362 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6363 case $ac_top_builddir_sub in
6364 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6365 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6366 esac ;;
6367 esac
6368 ac_abs_top_builddir=$ac_pwd
6369 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6370 # for backward compatibility:
6371 ac_top_builddir=$ac_top_build_prefix
6373 case $srcdir in
6374 .) # We are building in place.
6375 ac_srcdir=.
6376 ac_top_srcdir=$ac_top_builddir_sub
6377 ac_abs_top_srcdir=$ac_pwd ;;
6378 [\\/]* | ?:[\\/]* ) # Absolute name.
6379 ac_srcdir=$srcdir$ac_dir_suffix;
6380 ac_top_srcdir=$srcdir
6381 ac_abs_top_srcdir=$srcdir ;;
6382 *) # Relative name.
6383 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6384 ac_top_srcdir=$ac_top_build_prefix$srcdir
6385 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6386 esac
6387 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6390 case $ac_mode in
6393 # CONFIG_FILE
6396 case $INSTALL in
6397 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6398 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6399 esac
6400 _ACEOF
6402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6403 # If the template does not know about datarootdir, expand it.
6404 # FIXME: This hack should be removed a few years after 2.60.
6405 ac_datarootdir_hack=; ac_datarootdir_seen=
6406 ac_sed_dataroot='
6407 /datarootdir/ {
6411 /@datadir@/p
6412 /@docdir@/p
6413 /@infodir@/p
6414 /@localedir@/p
6415 /@mandir@/p'
6416 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6417 *datarootdir*) ac_datarootdir_seen=yes;;
6418 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6420 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6421 _ACEOF
6422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6423 ac_datarootdir_hack='
6424 s&@datadir@&$datadir&g
6425 s&@docdir@&$docdir&g
6426 s&@infodir@&$infodir&g
6427 s&@localedir@&$localedir&g
6428 s&@mandir@&$mandir&g
6429 s&\\\${datarootdir}&$datarootdir&g' ;;
6430 esac
6431 _ACEOF
6433 # Neutralize VPATH when `$srcdir' = `.'.
6434 # Shell code in configure.ac might set extrasub.
6435 # FIXME: do we really want to maintain this feature?
6436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6437 ac_sed_extra="$ac_vpsub
6438 $extrasub
6439 _ACEOF
6440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6442 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6443 s|@configure_input@|$ac_sed_conf_input|;t t
6444 s&@top_builddir@&$ac_top_builddir_sub&;t t
6445 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6446 s&@srcdir@&$ac_srcdir&;t t
6447 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6448 s&@top_srcdir@&$ac_top_srcdir&;t t
6449 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6450 s&@builddir@&$ac_builddir&;t t
6451 s&@abs_builddir@&$ac_abs_builddir&;t t
6452 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6453 s&@INSTALL@&$ac_INSTALL&;t t
6454 $ac_datarootdir_hack
6456 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6457 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6459 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6460 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6461 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6462 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6464 which seems to be undefined. Please make sure it is defined" >&5
6465 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6466 which seems to be undefined. Please make sure it is defined" >&2;}
6468 rm -f "$ac_tmp/stdin"
6469 case $ac_file in
6470 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6471 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6472 esac \
6473 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6477 # CONFIG_HEADER
6479 if test x"$ac_file" != x-; then
6481 $as_echo "/* $configure_input */" \
6482 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6483 } >"$ac_tmp/config.h" \
6484 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6485 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6487 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6488 else
6489 rm -f "$ac_file"
6490 mv "$ac_tmp/config.h" "$ac_file" \
6491 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6493 else
6494 $as_echo "/* $configure_input */" \
6495 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6496 || as_fn_error $? "could not create -" "$LINENO" 5
6500 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6501 $as_echo "$as_me: executing $ac_file commands" >&6;}
6503 esac
6506 case $ac_file$ac_mode in
6507 "default":C) echo timestamp > stamp-h ;;
6509 esac
6510 done # for ac_tag
6513 as_fn_exit 0
6514 _ACEOF
6515 ac_clean_files=$ac_clean_files_save
6517 test $ac_write_fail = 0 ||
6518 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6521 # configure is writing to config.log, and then calls config.status.
6522 # config.status does its own redirection, appending to config.log.
6523 # Unfortunately, on DOS this fails, as config.log is still kept open
6524 # by configure, so config.status won't be able to write to it; its
6525 # output is simply discarded. So we exec the FD to /dev/null,
6526 # effectively closing config.log, so it can be properly (re)opened and
6527 # appended to by config.status. When coming back to configure, we
6528 # need to make the FD available again.
6529 if test "$no_create" != yes; then
6530 ac_cs_success=:
6531 ac_config_status_args=
6532 test "$silent" = yes &&
6533 ac_config_status_args="$ac_config_status_args --quiet"
6534 exec 5>/dev/null
6535 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6536 exec 5>>config.log
6537 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6538 # would make configure fail if this is the last instruction.
6539 $ac_cs_success || as_fn_exit 1
6541 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6543 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}