2 # From configure.in Revision: 46905 .
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
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 :
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+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
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
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 ||
:
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 :
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+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
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 :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
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 :
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
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.
222 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
225 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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."
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."
249 SHELL
=${CONFIG_SHELL-/bin/sh}
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 ## --------------------- ##
260 # Portably unset VAR.
263 { eval $1=; unset $1;}
267 # as_fn_set_status STATUS
268 # -----------------------
269 # Set $? to STATUS, without forking.
277 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
287 # Create "$as_dir" as a directory, including parents if necessary.
292 -*) as_dir
=.
/$as_dir;;
294 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
298 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
325 test -d "$as_dir" && break
327 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
328 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
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
338 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
339 eval 'as_fn_append ()
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 :
363 as_val
=`expr "$@" || test $? -eq 1`
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.
375 as_status
=$1; test $as_status -eq 0 && as_status
=1
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
384 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
385 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
391 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
397 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
403 as_me
=`$as_basename -- "$0" ||
404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
405 X"$0" : 'X\(//\)$' \| \
406 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
408 sed '/^.*\/\([^/][^/]*\)\/*$/{
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. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
457 # Exit status is that of the last command.
461 ECHO_C
= ECHO_N
= ECHO_T
=
462 case `echo -n x` in #(((((
464 case `echo 'xy\c'` in
465 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
467 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
474 rm -f conf$$ conf$$.exe conf$$.
file
475 if test -d conf$$.dir
; then
476 rm -f conf$$.dir
/conf$$.
file
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
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 ||
490 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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"'
504 test -d .
/-p && rmdir .
/-p
508 if test -x / >/dev
/null
2>&1; then
511 if ls -dL / >/dev
/null
2>&1; then
518 if test -d "$1"; then
524 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
525 ???[sx]*):;;*)false;;esac;fi
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
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`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
558 # Identity of this package.
566 ac_unique_file
="TODO"
568 # Factoring default headers for most tests.
569 ac_includes_default
="\
571 #ifdef HAVE_SYS_TYPES_H
572 # include <sys/types.h>
574 #ifdef HAVE_SYS_STAT_H
575 # include <sys/stat.h>
581 # ifdef HAVE_STDLIB_H
586 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
591 #ifdef HAVE_STRINGS_H
592 # include <strings.h>
594 #ifdef HAVE_INTTYPES_H
595 # include <inttypes.h>
604 ac_subst_vars
='LTLIBOBJS
679 program_transform_name
692 enable_option_checking
697 ac_precious_vars
='build_alias
709 # Initialize some variables set by options.
711 ac_init_version
=false
712 ac_unrecognized_opts
=
714 # The variables have the same names as the options, with
715 # dashes changed to underlines.
723 program_transform_name
=s
,x
,x
,
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'
753 libdir
='${exec_prefix}/lib'
754 localedir
='${datarootdir}/locale'
755 mandir
='${datarootdir}/man'
761 # If the previous option needs an argument, assign it.
762 if test -n "$ac_prev"; then
763 eval $ac_prev=\
$ac_option
769 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
774 # Accept the important Cygnus configure options, so we can diagnose typos.
776 case $ac_dashdash$ac_option in
780 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
782 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
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 ;;
798 cache_file
=config.cache
;;
800 -datadir |
--datadir |
--datadi |
--datad)
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
823 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
824 ac_unrecognized_sep
=', ';;
826 eval enable_
$ac_useropt=no
;;
828 -docdir |
--docdir |
--docdi |
--doc |
--do)
830 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
833 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
835 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
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
849 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
850 ac_unrecognized_sep
=', ';;
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.
867 -help |
--help |
--hel |
--he |
-h)
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)
881 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
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)
894 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
895 infodir
=$ac_optarg ;;
897 -libdir |
--libdir |
--libdi |
--libd)
899 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
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)
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)
923 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
927 # Obsolete; use --without-fp.
930 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
931 |
--no-cr |
--no-c |
-n)
934 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
935 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
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)
949 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
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)
985 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
988 -psdir |
--psdir |
--psdi |
--psd |
--ps)
990 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
993 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
994 |
-silent |
--silent |
--silen |
--sile |
--sil)
997 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
999 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1001 sbindir
=$ac_optarg ;;
1003 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1004 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1005 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1007 ac_prev
=sharedstatedir
;;
1008 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1009 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1010 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1012 sharedstatedir
=$ac_optarg ;;
1014 -site |
--site |
--sit)
1016 -site=* |
--site=* |
--sit=*)
1019 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
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)
1039 -version |
--version |
--versio |
--versi |
--vers |
-V)
1040 ac_init_version
=: ;;
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
1053 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1054 ac_unrecognized_sep
=', ';;
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
1069 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1070 ac_unrecognized_sep
=', ';;
1072 eval with_
$ac_useropt=no
;;
1075 # Obsolete; use --with-x.
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"
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'" ;;
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}"
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
1125 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1126 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
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.
1140 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1141 eval $ac_var=\
$ac_val;;
1143 # Be sure to have absolute directory names.
1145 [\\/$
]* | ?
:[\\/]* ) continue;;
1146 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1148 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
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.
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
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1211 if test ! -r "$srcdir/$ac_unique_file"; then
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"
1223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1233 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
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.
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.
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
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]
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
]
1313 if test -n "$ac_init_help"; then
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
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
>
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.
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"; } ||
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/ ;;
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
1372 .) # We are building in place.
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 ;;
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 ;;
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
1391 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1392 elif test -f "$ac_srcdir/configure"; then
1394 $SHELL "$ac_srcdir/configure" --help=recursive
1396 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1398 cd "$ac_pwd" || { ac_status=$?; break; }
1402 test -n "$ac_init_help" && exit $ac_status
1403 if $ac_init_version; then
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.
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"
1428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1429 *) ac_try_echo
=$ac_try;;
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
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 :
1447 $as_echo "$as_me: failed program was:" >&5
1448 sed 's/^/| /' conftest.
$ac_ext >&5
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.
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"
1466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1467 *) ac_try_echo=$ac_try;;
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
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
1488 $as_echo "$as_me: failed program was:" >&5
1489 sed 's/^/| /' conftest.$ac_ext >&5
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.
1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1509 if { { ac_try="$ac_cpp conftest.$ac_ext"
1511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1512 *) ac_try_echo
=$ac_try;;
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
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
1530 $as_echo "$as_me: failed program was:" >&5
1531 sed 's/^/| /' conftest.
$ac_ext >&5
1535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1536 as_fn_set_status
$ac_retval
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
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
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1556 $as_echo "$ac_res" >&6; }
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. */
1566 if ac_fn_c_try_compile
"$LINENO"; then :
1567 ac_header_compiler
=yes
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. */
1582 if ac_fn_c_try_cpp
"$LINENO"; then :
1583 ac_header_preproc
=yes
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 #((
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;}
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;}
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
1617 eval "$3=\$ac_header_compiler"
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.
1633 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1634 if { { ac_try
="$ac_link"
1636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
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
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;;
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
1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654 test $ac_status = 0; }; }; then :
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
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
1681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1682 /* end confdefs.h. */
1686 if ac_fn_c_try_compile
"$LINENO"; then :
1691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
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
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`
1735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1739 test -z "$as_dir" && as_dir
=.
1740 $as_echo "PATH: $as_dir"
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.
1764 ac_must_keep_next
=false
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)
1775 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
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.
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 ;;
1793 -* ) ac_must_keep_next
=true
;;
1796 as_fn_append ac_configure_args
" '$ac_arg'"
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.
1814 $as_echo "## ---------------- ##
1815 ## Cache variables. ##
1816 ## ---------------- ##"
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
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;} ;;
1829 _ | IFS | as_nl) ;; #(
1830 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1831 *) { eval $ac_var=; unset $ac_var;} ;;
1836 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1837 *${as_nl}ac_space=\ *)
1839 "s/'\''/'\''\\\\'\'''\''/g;
1840 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1843 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1850 $as_echo "## ----------------- ##
1851 ## Output variables. ##
1852 ## ----------------- ##"
1854 for ac_var in $ac_subst_vars
1856 eval ac_val=\$$ac_var
1858 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1860 $as_echo "$ac_var='\''$ac_val'\''"
1864 if test -n "$ac_subst_files"; then
1865 $as_echo "## ------------------- ##
1866 ## File substitutions. ##
1867 ## ------------------- ##"
1869 for ac_var
in $ac_subst_files
1871 eval ac_val
=\$
$ac_var
1873 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1875 $as_echo "$ac_var='\''$ac_val'\''"
1880 if test -s confdefs.h; then
1881 $as_echo "## ----------- ##
1888 test "$ac_signal" != 0 &&
1889 $as_echo "$as_me: caught signal $ac_signal"
1890 $as_echo "$as_me: exit $exit_status"
1892 rm -f core *.core core.conftest.* &&
1893 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1896 for ac_signal
in 1 2 13 15; do
1897 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
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"
1912 cat >>confdefs.h
<<_ACEOF
1913 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1916 cat >>confdefs.h
<<_ACEOF
1917 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1920 cat >>confdefs.h
<<_ACEOF
1921 #define PACKAGE_STRING "$PACKAGE_STRING"
1924 cat >>confdefs.h
<<_ACEOF
1925 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1928 cat >>confdefs.h
<<_ACEOF
1929 #define PACKAGE_URL "$PACKAGE_URL"
1933 # Let the site file select an alternate cache file if it wants to.
1934 # Prefer an explicitly selected file to automatically selected ones.
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;;
1944 elif test "x$prefix" != xNONE
; then
1945 ac_site_file1
=$prefix/share
/config.site
1946 ac_site_file2
=$prefix/etc
/config.site
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
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; }
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;}
1973 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1974 *) .
"./$cache_file";;
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1979 $as_echo "$as_me: creating cache $cache_file" >&6;}
1983 # Check that the precious variables saved in the cache have kept the same
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
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
=: ;;
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
=: ;;
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
=:
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;}
2021 # Pass precious variables to config.status.
2022 if test "$ac_new_set" = set; then
2024 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2025 *) ac_arg
=$ac_var=$ac_new_val ;;
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'" ;;
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 ## -------------------- ##
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
2055 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2056 if test -f "$ac_dir/install-sh"; then
2058 ac_install_sh
="$ac_aux_dir/install-sh -c"
2060 elif test -f "$ac_dir/install.sh"; then
2062 ac_install_sh
="$ac_aux_dir/install.sh -c"
2064 elif test -f "$ac_dir/shtool"; then
2066 ac_install_sh
="$ac_aux_dir/shtool install -c"
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
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
2105 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2108 ac_save_IFS
=$IFS; IFS
='-'
2114 # Remember, the first character of IFS is used to create $*,
2115 # except with old shells:
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
2126 if test "x$host_alias" = x
; then
2127 ac_cv_host
=$ac_cv_build
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; }
2138 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2141 ac_save_IFS
=$IFS; IFS
='-'
2147 # Remember, the first character of IFS is used to create $*,
2148 # except with old shells:
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
2159 if test "x$target_alias" = x
; then
2160 ac_cv_target
=$ac_cv_host
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
2171 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2173 target
=$ac_cv_target
2174 ac_save_IFS
=$IFS; IFS
='-'
2180 # Remember, the first character of IFS is used to create $*,
2181 # except with old shells:
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" = \
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; }
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
2201 cat >conftest.
make <<\_ACEOF
2204 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2206 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2207 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2209 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2211 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
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; }
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}
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}"
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; }
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
)
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"
2286 powerpc-unknown-amigaos
)
2289 $as_echo "#define __USE_INLINE__ 1" >>confdefs.h
2292 $as_echo "#define __USE_BASETYPE__ 1" >>confdefs.h
2295 optflags
="-mcpu=${CPU} -O2"
2296 linkerflags
="-mcpu=${CPU}"
2297 asflags
="-m${CPU} -mregnames --defsym CPU=${CPU}"
2298 resident
="" stripflag
=""
2300 powerpc-unknown-morphos
)
2303 $as_echo "#define USE_INLINE_STDARG 1" >>confdefs.h
2306 optflags
="-mcpu=${CPU} -O2"
2307 linkerflags
="-noixemul -mcpu=${CPU}"
2308 asflags
="-m${CPU} -mregnames --defsym CPU=${CPU}"
2309 resident
="-mresident32"
2315 optflags
="-m32 -march=${CPU} -O2"
2317 asflags
="--defsym CPU=${CPU} --defsym LITTLE_ENDIAN=1"
2318 resident
="" stripflag
="--strip-unneeded"
2323 optflags
="-O2 -fomit-frame-pointer"
2325 asflags
="--defsym CPU=${CPU} --defsym LITTLE_ENDIAN=1 --defsym x86_64=1"
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;}
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}"}
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
2367 if test -n "$CC"; then
2368 ac_cv_prog_CC
="$CC" # Let the user override the test.
2370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
2388 if test -n "$CC"; then
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2390 $as_echo "$CC" >&6; }
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
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
2407 if test -n "$ac_ct_CC"; then
2408 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
2439 case $cross_compiling:$ac_tool_warned in
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 ;;
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
2459 if test -n "$AS"; then
2460 ac_cv_prog_AS
="$AS" # Let the user override the test.
2462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
2480 if test -n "$AS"; then
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2482 $as_echo "$AS" >&6; }
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
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
2499 if test -n "$ac_ct_AS"; then
2500 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
2502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
2531 case $cross_compiling:$ac_tool_warned in
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 ;;
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
2551 if test -n "$AR"; then
2552 ac_cv_prog_AR
="$AR" # Let the user override the test.
2554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
2572 if test -n "$AR"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2574 $as_echo "$AR" >&6; }
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
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
2591 if test -n "$ac_ct_AR"; then
2592 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
2623 case $cross_compiling:$ac_tool_warned in
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 ;;
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
2643 if test -n "$RANLIB"; then
2644 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
2683 if test -n "$ac_ct_RANLIB"; then
2684 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
2715 case $cross_compiling:$ac_tool_warned in
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 ;;
2721 RANLIB
=$ac_ct_RANLIB
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
2735 if test -n "$STRIP"; then
2736 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
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
2775 if test -n "$ac_ct_STRIP"; then
2776 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
2807 case $cross_compiling:$ac_tool_warned in
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 ;;
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
2827 if test -n "$OBJCOPY"; then
2828 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
2830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
2867 if test -n "$ac_ct_OBJCOPY"; then
2868 ac_cv_prog_ac_ct_OBJCOPY
="$ac_ct_OBJCOPY" # Let the user override the test.
2870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
2899 case $cross_compiling:$ac_tool_warned in
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 ;;
2905 OBJCOPY
=$ac_ct_OBJCOPY
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
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
2932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
[\\/]* | \
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
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.
2959 rm -rf conftest.one conftest.two conftest.dir
2960 echo one
> conftest.one
2961 echo two
> conftest.two
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
2968 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
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
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'
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
3014 if test -n "$RANLIB"; then
3015 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
3054 if test -n "$ac_ct_RANLIB"; then
3055 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
3086 case $cross_compiling:$ac_tool_warned in
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 ;;
3092 RANLIB
=$ac_ct_RANLIB
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
3105 if test -n "$RM"; then
3106 ac_cv_prog_RM
="$RM" # Let the user override the test.
3108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
3116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3126 if test -n "$RM"; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
3128 $as_echo "$RM" >&6; }
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
3144 if test -n "$ROBODOC"; then
3145 ac_cv_prog_ROBODOC
="$ROBODOC" # Let the user override the test.
3147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3174 test -n "$ROBODOC" && break
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
3186 if test -n "$FLEXCAT"; then
3187 ac_cv_prog_FLEXCAT
="$FLEXCAT" # Let the user override the test.
3189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3212 $as_echo "no" >&6; }
3216 test -n "$FLEXCAT" && break
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
3228 if test -n "$SFDC"; then
3229 ac_cv_prog_SFDC
="$SFDC" # Let the user override the test.
3231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3258 test -n "$SFDC" && break
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
3270 if test -n "$LHA"; then
3271 ac_cv_prog_LHA
="$LHA" # Let the user override the test.
3273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
3291 if test -n "$LHA"; then
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LHA" >&5
3293 $as_echo "$LHA" >&6; }
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3300 test -n "$LHA" && break
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;}
3312 if test -n "`$LHA 2>&1 | grep 'o.*compression method'`"; then
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;}
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
3338 if test -n "$CC"; then
3339 ac_cv_prog_CC
="$CC" # Let the user override the test.
3341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
3359 if test -n "$CC"; then
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3361 $as_echo "$CC" >&6; }
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
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
3378 if test -n "$ac_ct_CC"; then
3379 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
3410 case $cross_compiling:$ac_tool_warned in
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 ;;
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
3431 if test -n "$CC"; then
3432 ac_cv_prog_CC
="$CC" # Let the user override the test.
3434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
3452 if test -n "$CC"; then
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3454 $as_echo "$CC" >&6; }
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
3471 if test -n "$CC"; then
3472 ac_cv_prog_CC
="$CC" # Let the user override the test.
3475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
3487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
3503 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3509 if test -n "$CC"; then
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3511 $as_echo "$CC" >&6; }
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
3530 if test -n "$CC"; then
3531 ac_cv_prog_CC
="$CC" # Let the user override the test.
3533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
3551 if test -n "$CC"; then
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3553 $as_echo "$CC" >&6; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3560 test -n "$CC" && break
3563 if test -z "$CC"; then
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
3574 if test -n "$ac_ct_CC"; then
3575 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3600 $as_echo "no" >&6; }
3604 test -n "$ac_ct_CC" && break
3607 if test "x$ac_ct_CC" = x
; then
3610 case $cross_compiling:$ac_tool_warned in
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 ;;
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
3632 for ac_option
in --version -v -V -qversion; do
3633 { { ac_try
="$ac_compiler $ac_option >&5"
3635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3636 *) ac_try_echo=$ac_try;;
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
3642 if test -s conftest.err; then
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; }
3653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3654 /* end confdefs.h. */
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
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.*"
3677 for ac_file in $ac_files
3680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3681 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3686 if { { ac_try="$ac_link_default"
3688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3689 *) ac_try_echo
=$ac_try;;
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
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
3702 for ac_file
in $ac_files ''
3704 test -f "$ac_file" ||
continue
3706 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3709 # We found the default executable, but exeext='' is most
3713 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
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
3727 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
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; }
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"
3758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3759 *) ac_try_echo=$ac_try;;
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
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
3771 for ac_file
in conftest.exe conftest conftest.
*; do
3772 test -f "$ac_file" ||
continue
3774 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3775 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
3793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3799 FILE *f = fopen ("conftest.out", "w");
3800 return ferror (f) || fclose (f) != 0;
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"
3814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
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
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;;
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
3832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3833 test $ac_status = 0; }; }; then
3836 if test "$cross_compiling" = maybe
; then
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
3857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3868 rm -f conftest.o conftest.obj
3869 if { { ac_try
="$ac_compile"
3871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
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
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;
3883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3884 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
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
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
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3922 if ac_fn_c_try_compile "$LINENO"; then :
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
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
3945 ac_save_c_werror_flag=$ac_c_werror_flag
3946 ac_c_werror_flag=yes
3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h. */
3960 if ac_fn_c_try_compile "$LINENO"; then :
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3975 if ac_fn_c_try_compile "$LINENO"; then :
3978 ac_c_werror_flag=$ac_save_c_werror_flag
3980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3981 /* end confdefs.h. */
3991 if ac_fn_c_try_compile "$LINENO"; then :
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
4012 if test "$GCC" = yes; then
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
4023 ac_cv_prog_cc_c89=no
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.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)
4040 static char *f (char * (*g) (char **, int), char **p, ...)
4045 s = g (p, va_arg (v,int));
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. */
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);
4073 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
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
4088 rm -f conftest.$ac_ext
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; } ;;
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; } ;;
4105 if test "x$ac_cv_prog_cc_c89" != xno; then :
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
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. */
4140 for ac_lib in '' amiga; do
4141 if test -z "$ac_lib"; then
4142 ac_res="none required"
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 \
4152 if ${ac_cv_search_NewList+:} false; then :
4156 if ${ac_cv_search_NewList+:} false; then :
4159 ac_cv_search_NewList=no
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"
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
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. */
4199 for ac_lib in '' m; do
4200 if test -z "$ac_lib"; then
4201 ac_res="none required"
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 \
4211 if ${ac_cv_search_floor+:} false; then :
4215 if ${ac_cv_search_floor+:} false; then :
4218 ac_cv_search_floor=no
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"
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
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. */
4248 char IntuitionBase ();
4252 return IntuitionBase ();
4257 for ac_lib in '' auto; do
4258 if test -z "$ac_lib"; then
4259 ac_res="none required"
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 \
4269 if ${ac_cv_search_IntuitionBase+:} false; then :
4273 if ${ac_cv_search_IntuitionBase+:} false; then :
4276 ac_cv_search_IntuitionBase=no
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"
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
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. */
4311 return LayoutBase ();
4316 for ac_lib in '' raauto; do
4317 if test -z "$ac_lib"; then
4318 ac_res="none required"
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 \
4328 if ${ac_cv_search_LayoutBase+:} false; then :
4332 if ${ac_cv_search_LayoutBase+:} false; then :
4335 ac_cv_search_LayoutBase=no
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"
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
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. */
4366 char MUI_NewObject ();
4370 return MUI_NewObject ();
4375 for ac_lib in '' mui; do
4376 if test -z "$ac_lib"; then
4377 ac_res="none required"
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 \
4387 if ${ac_cv_search_MUI_NewObject+:} false; then :
4391 if ${ac_cv_search_MUI_NewObject+:} false; then :
4394 ac_cv_search_MUI_NewObject=no
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"
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Who cares?" >&5
4407 $as_echo "$as_me: WARNING: Who cares?" >&2;}
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
4429 if test -z "$CPP"; then
4430 if ${ac_cv_prog_CPP+:} false; then :
4431 $as_echo_n "(cached) " >&6
4433 # Double quotes because CPP needs to be expanded
4434 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
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. */
4448 # include <limits.h>
4450 # include <assert.h>
4454 if ac_fn_c_try_cpp "$LINENO"; then :
4457 # Broken: fails on valid input.
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>
4468 if ac_fn_c_try_cpp "$LINENO"; then :
4469 # Broken: success on invalid input.
4472 # Passes both tests.
4476 rm -f conftest.err conftest.i conftest.$ac_ext
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 :
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4494 $as_echo "$CPP" >&6; }
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. */
4507 # include <limits.h>
4509 # include <assert.h>
4513 if ac_fn_c_try_cpp
"$LINENO"; then :
4516 # Broken: fails on valid input.
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>
4527 if ac_fn_c_try_cpp
"$LINENO"; then :
4528 # Broken: success on invalid input.
4531 # Passes both tests.
4535 rm -f conftest.err conftest.i conftest.
$ac_ext
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 :
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; }
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
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
/xpg
4/bin
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
4577 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4580 $as_echo_n 0123456789 >"conftest.in"
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
4598 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4601 $ac_path_GREP_found && break 3
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
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
4624 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4625 then ac_cv_path_EGREP
="$GREP -E"
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
/xpg
4/bin
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
4643 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4646 $as_echo_n 0123456789 >"conftest.in"
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
4664 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4667 $ac_path_EGREP_found && break 3
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
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
4691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4706 if ac_fn_c_try_compile
"$LINENO"; then :
4707 ac_cv_header_stdc
=yes
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. */
4720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4721 $EGREP "memchr" >/dev
/null
2>&1; then :
4724 ac_cv_header_stdc
=no
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. */
4737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4738 $EGREP "free" >/dev
/null
2>&1; then :
4741 ac_cv_header_stdc
=no
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 :
4752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4756 #if ((' ' & 0x0FF) == 0x020)
4757 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4758 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
4767 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4772 for (i = 0; i < 256; i++)
4773 if (XOR (islower (i), ISLOWER (i))
4774 || toupper (i) != TOUPPER (i))
4779 if ac_fn_c_try_run
"$LINENO"; then :
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
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
4815 for ac_header
in proto
/oss.h
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
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;}
4830 for ac_header
in asm
/io.h
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
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;}
4845 for ac_header
in libraries
/openpci.h
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
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;}
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
4871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4877 /* FIXME: Include the comments suggested by Paul. */
4879 /* Ultrix mips cc rejects this. */
4880 typedef int charset[2];
4882 /* SunOS 4.1.1 cc rejects this. */
4883 char const *const *pcpcc;
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
4892 const char *g = "string";
4893 pcpcc = &g + (g ? g-g : 0);
4894 /* HPUX 7.0 cc rejects these. */
4896 ppc = (char**) pcpcc;
4897 pcpcc = (char const *const *) ppc;
4898 { /* SCO 3.2v4 cc rejects this. */
4900 char const *s = 0 ? (char *) 0 : (char const *) 0;
4905 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4907 const int *foo = &x[0];
4910 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4911 typedef const int *iptr;
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 */
4924 return !cs[0] && !zero.x;
4931 if ac_fn_c_try_compile
"$LINENO"; then :
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
4952 for ac_kw
in inline __inline__ __inline
; do
4953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4957 static $ac_kw foo_t static_foo () {return 0; }
4958 $ac_kw foo_t foo () {return 0; }
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
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
4976 case $ac_cv_c_inline in
4978 *) ac_val
=$ac_cv_c_inline;;
4980 cat >>confdefs.h
<<_ACEOF
4982 #define inline $ac_val
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
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
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.
5009 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5010 if test -n "$ac_prev"; then
5012 i?
86 | x86_64 | ppc | ppc64
)
5013 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5016 ac_cv_c_bigendian
=universal
5022 elif test "x$ac_word" = "x-arch"; then
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>
5038 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5039 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
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>
5058 #if BYTE_ORDER != BIG_ENDIAN
5066 if ac_fn_c_try_compile
"$LINENO"; then :
5067 ac_cv_c_bigendian
=yes
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. */
5084 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
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. */
5109 if ac_fn_c_try_compile
"$LINENO"; then :
5110 ac_cv_c_bigendian
=yes
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];
5143 return use_ascii (foo) == use_ebcdic (foo);
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
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
5163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5165 $ac_includes_default
5170 /* Are we little or big endian? From Harbison&Steele. */
5174 char c[sizeof (long int)];
5177 return u.c[sizeof (long int) - 1] == 1;
5183 if ac_fn_c_try_run
"$LINENO"; then :
5184 ac_cv_c_bigendian
=no
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 #(
5198 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5204 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5208 as_fn_error $?
"unknown endianness
5209 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
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/VIA-AC97/Makefile Drivers/HDAudio/Makefile Drivers/Alsa/Makefile Drivers/CMI8738/Makefile Drivers/SB128/Makefile Drivers/AROS/Makefile Drivers/Common/Makefile.common Drivers/Device/Makefile Drivers/EMU10kx/Makefile Drivers/Envy24HT/Makefile Drivers/Envy24/Makefile Drivers/Filesave/Makefile Drivers/Void/Makefile Examples/Makefile Examples/Device/PlayTest/Makefile Examples/Extras/CloneAudioModes/Makefile Examples/Low-level/PlaySineEverywhere/Makefile Examples/Low-level/Test-7.1/Makefile Examples/Low-level/ScanAudioModes/Makefile Include/Makefile"
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
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
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;} ;;
5250 _ | IFS | as_nl
) ;; #(
5251 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5252 *) { eval $ac_var=; unset $ac_var;} ;;
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 \.
5264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5267 # `set' quotes correctly as required by POSIX, so do not add quotes.
5268 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5277 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5279 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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"
5289 case $cache_file in #(
5291 mv -f confcache
"$cache_file"$$
&&
5292 mv -f "$cache_file"$$
"$cache_file" ;; #(
5294 mv -f confcache
"$cache_file" ;;
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;}
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
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'
5325 LTLIBOBJS
=$ac_ltlibobjs
5330 : "${CONFIG_STATUS=./config.status}"
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;}
5337 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
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.
5348 SHELL=\${CONFIG_SHELL-$SHELL}
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 :
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
5366 case `(set -o) 2>/dev/null` in #(
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
'
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'
5396 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5397 as_echo_n_body='eval
5401 expr "X$arg" : "X\\(.*\\)$as_nl";
5402 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
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
'
5410 as_echo='sh
-c $as_echo_body as_echo
'
5413 # The user is always right.
5414 if test "${PATH_SEPARATOR+set}" != set; then
5416 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5417 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
5430 # Find who we are. Look in the path if we contain no directory separator.
5433 *[\\/]* ) as_myself=$0 ;;
5434 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir=.
5439 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
5450 if test ! -f "$as_myself"; then
5451 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 ||
:
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.
5484 as_status
=$1; test $as_status -eq 0 && as_status
=1
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
5494 # as_fn_set_status STATUS
5495 # -----------------------
5496 # Set $? to STATUS, without forking.
5500 } # as_fn_set_status
5504 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5514 # Portably unset VAR.
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
5526 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5527 eval '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 ()
5551 as_val
=`expr "$@" || test $? -eq 1`
5556 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5557 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5563 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5564 as_basename
=basename
5569 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5575 as_me
=`$as_basename -- "$0" ||
5576 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5577 X"$0" : 'X\(//\)$' \| \
5578 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5580 sed '/^.*\/\([^/][^/]*\)\/*$/{
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 #(((((
5604 case `echo 'xy\c'` in
5605 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5607 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5614 rm -f conf$$ conf$$.exe conf$$.
file
5615 if test -d conf$$.dir
; then
5616 rm -f conf$$.dir
/conf$$.
file
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
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 ||
5630 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5638 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5639 rmdir conf$$.dir
2>/dev
/null
5644 # Create "$as_dir" as a directory, including parents if necessary.
5649 -*) as_dir
=.
/$as_dir;;
5651 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5655 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5656 *) as_qdir
=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5682 test -d "$as_dir" && break
5684 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5685 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5689 if mkdir
-p .
2>/dev
/null
; then
5690 as_mkdir_p
='mkdir -p "$as_dir"'
5692 test -d .
/-p && rmdir .
/-p
5696 if test -x / >/dev
/null
2>&1; then
5699 if ls -dL / >/dev
/null
2>&1; then
5706 if test -d "$1"; then
5712 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5713 ???[sx]*):;;*)false;;esac;fi
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'"
5727 ## ----------------------------------- ##
5728 ## Main body of $CONFIG_STATUS script. ##
5729 ## ----------------------------------- ##
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.
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
5747 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5752 case $ac_config_files in *"
5753 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5756 case $ac_config_headers in *"
5757 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
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"
5769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
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:
5792 Configuration headers:
5795 Configuration commands:
5798 Report bugs to the package provider."
5801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5802 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
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."
5815 test -n "\$AWK" || AWK=awk
5818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5819 # The default lists apply if the user does not specify any file.
5825 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5826 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5830 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5842 # Handling of the options.
5843 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
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 )
5851 --file |
--fil |
--fi |
--f )
5854 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5855 '') as_fn_error $?
"missing file argument" ;;
5857 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5858 ac_need_defaults
=false
;;
5859 --header |
--heade |
--head |
--hea )
5862 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5864 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5865 ac_need_defaults
=false
;;
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)
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
;;
5887 ac_configure_extra_args
=
5889 if $ac_cs_silent; then
5891 ac_configure_extra_args
="$ac_configure_extra_args --silent"
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
5899 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5900 CONFIG_SHELL='$SHELL'
5906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5910 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5911 ## Running $as_me. ##
5917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
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/VIA-AC97/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/VIA-AC97/Makefile" ;;
5936 "Drivers/HDAudio/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/HDAudio/Makefile" ;;
5937 "Drivers/Alsa/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Alsa/Makefile" ;;
5938 "Drivers/CMI8738/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/CMI8738/Makefile" ;;
5939 "Drivers/SB128/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/SB128/Makefile" ;;
5940 "Drivers/AROS/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/AROS/Makefile" ;;
5941 "Drivers/Common/Makefile.common") CONFIG_FILES
="$CONFIG_FILES Drivers/Common/Makefile.common" ;;
5942 "Drivers/Device/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Device/Makefile" ;;
5943 "Drivers/EMU10kx/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/EMU10kx/Makefile" ;;
5944 "Drivers/Envy24HT/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Envy24HT/Makefile" ;;
5945 "Drivers/Envy24/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Envy24/Makefile" ;;
5946 "Drivers/Filesave/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Filesave/Makefile" ;;
5947 "Drivers/Void/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Void/Makefile" ;;
5948 "Examples/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Makefile" ;;
5949 "Examples/Device/PlayTest/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Device/PlayTest/Makefile" ;;
5950 "Examples/Extras/CloneAudioModes/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Extras/CloneAudioModes/Makefile" ;;
5951 "Examples/Low-level/PlaySineEverywhere/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Low-level/PlaySineEverywhere/Makefile" ;;
5952 "Examples/Low-level/Test-7.1/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Low-level/Test-7.1/Makefile" ;;
5953 "Examples/Low-level/ScanAudioModes/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Low-level/ScanAudioModes/Makefile" ;;
5954 "Include/Makefile") CONFIG_FILES
="$CONFIG_FILES Include/Makefile" ;;
5955 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5957 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5962 # If the user did not use the arguments to specify the items to instantiate,
5963 # then the envvar interface is used. Set only those that are not.
5964 # We use the long form for the default assignment because of an extremely
5965 # bizarre bug on SunOS 4.1.3.
5966 if $ac_need_defaults; then
5967 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5968 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5969 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5972 # Have a temporary directory for convenience. Make it in the build tree
5973 # simply because there is no reason against having it here, and in addition,
5974 # creating and moving files from /tmp can sometimes cause problems.
5975 # Hook for its removal unless debugging.
5976 # Note that there is a small window in which the directory will not be cleaned:
5977 # after its creation but before its name has been assigned to `$tmp'.
5981 trap 'exit_status=$?
5983 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5985 trap 'as_fn_exit 1' 1 2 13 15
5987 # Create a (secure) tmp directory for tmp files.
5990 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5994 tmp
=.
/conf$$
-$RANDOM
5995 (umask 077 && mkdir
"$tmp")
5996 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5999 # Set up the scripts for CONFIG_FILES section.
6000 # No need to generate them if there are no CONFIG_FILES.
6001 # This happens for instance with `./config.status config.h'.
6002 if test -n "$CONFIG_FILES"; then
6005 ac_cr
=`echo X | tr X '\015'`
6006 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6007 # But we know of no other shell where ac_cr would be empty at this
6008 # point, so we can use a bashism as a fallback.
6009 if test "x$ac_cr" = x
; then
6010 eval ac_cr
=\$
\'\\r
\'
6012 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6013 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6019 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6024 echo "cat >conf$$subs.awk <<_ACEOF" &&
6025 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6028 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6029 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6031 for ac_last_try in false false false false false :; do
6032 . ./conf$$subs.sh ||
6033 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6035 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6036 if test $ac_delim_n = $ac_delim_num; then
6038 elif $ac_last_try; then
6039 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6041 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6047 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6051 s/^/S["/; s
/!.
*/"]=/
6061 s/\(.\{148\}\)..*/\1/
6063 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6068 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6075 s/\(.\{148\}\)..*/\1/
6077 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6081 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6086 ' <conf$$subs.awk | sed '
6091 ' >>$CONFIG_STATUS || ac_write_fail=1
6092 rm -f conf$$subs.awk
6093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6095 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6096 for (key in S) S_is_set[key] = 1
6102 nfields = split(line, field, "@
")
6104 len = length(field[1])
6105 for (i = 2; i < nfields; i++) {
6107 keylen = length(key)
6108 if (S_is_set[key]) {
6110 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6111 len += length(value) + length(field[++i])
6122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6123 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6124 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6127 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6128 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6131 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6132 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6133 # trailing colons and then remove the whole line if VPATH becomes empty
6134 # (actually we leave an empty line to preserve line numbers).
6135 if test "x
$srcdir" = x.; then
6136 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6155 fi # test -n "$CONFIG_FILES"
6157 # Set up the scripts for CONFIG_HEADERS section.
6158 # No need to generate them if there are no CONFIG_HEADERS.
6159 # This happens for instance with `./config.status Makefile'.
6160 if test -n "$CONFIG_HEADERS"; then
6161 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6165 # Transform confdefs.h into an awk script `defines.awk', embedded as
6166 # here-document in config.status, that substitutes the proper values into
6167 # config.h.in to produce config.h.
6169 # Create a delimiter string that does not exist in confdefs.h, to ease
6170 # handling of long lines.
6172 for ac_last_try in false false :; do
6173 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6174 if test -z "$ac_tt"; then
6176 elif $ac_last_try; then
6177 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6179 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6183 # For the awk script, D is an array of macro values keyed by name,
6184 # likewise P contains macro parameters if any. Preserve backslash
6185 # newline sequences.
6187 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6189 s/.\{148\}/&'"$ac_delim"'/g
6192 s/^[ ]*#[ ]*define[ ][ ]*/ /
6199 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6201 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6205 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6206 D["\
1"]=" \
3\\\\\\n
"\\/p
6208 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6213 s/.\{148\}/&'"$ac_delim"'/g
6218 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6221 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6223 ' <confdefs.h | sed '
6224 s/'"$ac_delim"'/"\\\
6225 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6228 for (key in D) D_is_set[key] = 1
6231 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6233 split(line, arg, " ")
6234 if (arg[1] == "#") {
6238 defundef
= substr
(arg
[1], 2)
6241 split(mac1
, mac2
, "(") #)
6243 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6244 if (D_is_set
[macro
]) {
6245 # Preserve the white space surrounding the "#".
6246 print prefix
"define", macro P
[macro
] D
[macro
]
6249 # Replace #undef with comments. This is necessary, for example,
6250 # in the case of _POSIX_SOURCE, which is predefined and required
6251 # on some systems where configure will not decide to define it.
6252 if (defundef
== "undef") {
6253 print
"/*", prefix defundef
, macro
, "*/"
6261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6262 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6263 fi # test -n "$CONFIG_HEADERS"
6266 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6271 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6273 case $ac_mode$ac_tag in
6275 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6276 :[FH
]-) ac_tag
=-:-;;
6277 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6294 -) ac_f
="$ac_tmp/stdin";;
6295 *) # Look for the file first in the build tree, then in the source tree
6296 # (if the path is not absolute). The absolute path cannot be DOS-style,
6297 # because $ac_f cannot contain `:'.
6301 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6303 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6305 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6306 as_fn_append ac_file_inputs
" '$ac_f'"
6309 # Let's still pretend it is `configure' which instantiates (i.e., don't
6310 # use $as_me), people would be surprised to read:
6311 # /* config.h. Generated by config.status. */
6312 configure_input
='Generated from '`
6313 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6315 if test x
"$ac_file" != x-
; then
6316 configure_input
="$ac_file. $configure_input"
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6318 $as_echo "$as_me: creating $ac_file" >&6;}
6320 # Neutralize special characters interpreted by sed in replacement strings.
6321 case $configure_input in #(
6322 *\
&* |
*\|
* |
*\\* )
6323 ac_sed_conf_input
=`$as_echo "$configure_input" |
6324 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6325 *) ac_sed_conf_input
=$configure_input;;
6329 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6330 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6335 ac_dir
=`$as_dirname -- "$ac_file" ||
6336 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6337 X"$ac_file" : 'X\(//\)[^/]' \| \
6338 X"$ac_file" : 'X\(//\)$' \| \
6339 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6340 $as_echo X"$ac_file" |
6341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6358 as_dir
="$ac_dir"; as_fn_mkdir_p
6362 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6364 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6365 # A ".." for each directory in $ac_dir_suffix.
6366 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6367 case $ac_top_builddir_sub in
6368 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6369 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6372 ac_abs_top_builddir
=$ac_pwd
6373 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6374 # for backward compatibility:
6375 ac_top_builddir
=$ac_top_build_prefix
6378 .
) # We are building in place.
6380 ac_top_srcdir
=$ac_top_builddir_sub
6381 ac_abs_top_srcdir
=$ac_pwd ;;
6382 [\\/]* | ?
:[\\/]* ) # Absolute name.
6383 ac_srcdir
=$srcdir$ac_dir_suffix;
6384 ac_top_srcdir
=$srcdir
6385 ac_abs_top_srcdir
=$srcdir ;;
6387 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6388 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6389 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6391 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6401 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6402 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6407 # If the template does not know about datarootdir, expand it.
6408 # FIXME: This hack should be removed a few years after 2.60.
6409 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6420 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6421 *datarootdir
*) ac_datarootdir_seen
=yes;;
6422 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6424 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6427 ac_datarootdir_hack='
6428 s&@datadir@&$datadir&g
6429 s&@docdir@&$docdir&g
6430 s&@infodir@&$infodir&g
6431 s&@localedir@&$localedir&g
6432 s&@mandir@&$mandir&g
6433 s&\\\${datarootdir}&$datarootdir&g' ;;
6437 # Neutralize VPATH when `$srcdir' = `.'.
6438 # Shell code in configure.ac might set extrasub.
6439 # FIXME: do we really want to maintain this feature?
6440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6441 ac_sed_extra="$ac_vpsub
6444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6446 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6447 s|@configure_input@|
$ac_sed_conf_input|
;t t
6448 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6449 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6450 s
&@srcdir@
&$ac_srcdir&;t t
6451 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6452 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6453 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6454 s
&@builddir@
&$ac_builddir&;t t
6455 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6456 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6457 s
&@INSTALL@
&$ac_INSTALL&;t t
6458 $ac_datarootdir_hack
6460 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6461 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6463 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6464 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6465 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6466 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6468 which seems to be undefined. Please make sure it is defined" >&5
6469 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6470 which seems to be undefined. Please make sure it is defined" >&2;}
6472 rm -f "$ac_tmp/stdin"
6474 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6475 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6477 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6483 if test x"$ac_file" != x-; then
6485 $as_echo "/* $configure_input */" \
6486 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6487 } >"$ac_tmp/config.h" \
6488 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6489 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6491 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6494 mv "$ac_tmp/config.h" "$ac_file" \
6495 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6498 $as_echo "/* $configure_input */" \
6499 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6500 || as_fn_error $? "could not create -" "$LINENO" 5
6504 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6505 $as_echo "$as_me: executing $ac_file commands" >&6;}
6510 case $ac_file$ac_mode in
6511 "default":C) echo timestamp > stamp-h ;;
6519 ac_clean_files=$ac_clean_files_save
6521 test $ac_write_fail = 0 ||
6522 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6525 # configure is writing to config.log, and then calls config.status.
6526 # config.status does its own redirection, appending to config.log.
6527 # Unfortunately, on DOS this fails, as config.log is still kept open
6528 # by configure, so config.status won't be able to
write to it
; its
6529 # output is simply discarded. So we exec the FD to /dev/null,
6530 # effectively closing config.log, so it can be properly (re)opened and
6531 # appended to by config.status. When coming back to configure, we
6532 # need to make the FD available again.
6533 if test "$no_create" != yes; then
6535 ac_config_status_args
=
6536 test "$silent" = yes &&
6537 ac_config_status_args
="$ac_config_status_args --quiet"
6539 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6541 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6542 # would make configure fail if this is the last instruction.
6543 $ac_cs_success || as_fn_exit
1
6545 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6547 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}