2 # From configure.in Revision .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69.
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in #(
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo_n='print
-rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
54 as_echo_n='/usr
/ucb
/echo -n'
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
67 as_echo_n='sh
-c $as_echo_n_body as_echo
'
70 as_echo='sh
-c $as_echo_body as_echo
'
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
76 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
90 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 # Use a proper internal environment variable to ensure we don't fall
137 # into an infinite loop, continuously re-executing ourselves.
138 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
139 _as_can_reexec
=no
; export _as_can_reexec
;
140 # We cannot yet assume a decent shell, so we have to provide a
141 # neutralization value for shells without unset; and this also
142 # works around shells that cannot unset nonexistent variables.
143 # Preserve -v and -x to the replacement shell.
146 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
148 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
153 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154 # Admittedly, this is quite paranoid, since all the known shells bail
155 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 # We don't want this to propagate to other subprocesses.
160 { _as_can_reexec
=; unset _as_can_reexec
;}
161 if test "x$CONFIG_SHELL" = x
; then
162 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166 # is contrary to our usage. Disable this feature.
167 alias -g '\${1+\"\$@\"}'='\"\$@\"'
170 case \`(set -o) 2>/dev/null\` in #(
178 as_required
="as_fn_return () { (exit \$1); }
179 as_fn_success () { as_fn_return 0; }
180 as_fn_failure () { as_fn_return 1; }
181 as_fn_ret_success () { return 0; }
182 as_fn_ret_failure () { return 1; }
185 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 exitcode=1; echo positional parameters were not saved.
194 test x\$exitcode = x0 || exit 1
196 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
197 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test \$(( 1 + 1 )) = 2 || exit 1"
201 if (eval "$as_required") 2>/dev
/null
; then :
206 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
211 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir
=.
218 for as_base
in sh bash ksh sh5
; do
219 # Try only shells that exist, to save several forks.
220 as_shell
=$as_dir/$as_base
221 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
223 CONFIG_SHELL
=$as_shell as_have_required
=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
249 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x
$as_have_required = xno
; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x
${ZSH_VERSION+set} = xset
; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
269 $0: including any error possibly output before this
270 $0: message. Then install a modern shell, or manually run
271 $0: the script under such a shell if you do have one."
277 SHELL
=${CONFIG_SHELL-/bin/sh}
279 # Unset more variables known to interfere with behavior of common tools.
280 CLICOLOR_FORCE
= GREP_OPTIONS
=
281 unset CLICOLOR_FORCE GREP_OPTIONS
283 ## --------------------- ##
284 ## M4sh Shell Functions. ##
285 ## --------------------- ##
288 # Portably unset VAR.
291 { eval $1=; unset $1;}
295 # as_fn_set_status STATUS
296 # -----------------------
297 # Set $? to STATUS, without forking.
305 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
315 # Create "$as_dir" as a directory, including parents if necessary.
320 -*) as_dir
=.
/$as_dir;;
322 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
326 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 as_dirs
="'$as_qdir' $as_dirs"
330 as_dir
=`$as_dirname -- "$as_dir" ||
331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
332 X"$as_dir" : 'X\(//\)[^/]' \| \
333 X"$as_dir" : 'X\(//\)$' \| \
334 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
335 $as_echo X"$as_dir" |
336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
353 test -d "$as_dir" && break
355 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
356 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
361 # as_fn_executable_p FILE
362 # -----------------------
363 # Test if FILE is an executable regular file.
364 as_fn_executable_p
()
366 test -f "$1" && test -x "$1"
367 } # as_fn_executable_p
368 # as_fn_append VAR VALUE
369 # ----------------------
370 # Append the text in VALUE to the end of the definition contained in VAR. Take
371 # advantage of any shell optimizations that allow amortized linear growth over
372 # repeated appends, instead of the typical quadratic growth present in naive
374 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
375 eval 'as_fn_append ()
388 # Perform arithmetic evaluation on the ARGs, and store the result in the
389 # global $as_val. Take advantage of shells that can avoid forks. The arguments
390 # must be portable across $(()) and expr.
391 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
399 as_val
=`expr "$@" || test $? -eq 1`
404 # as_fn_error STATUS ERROR [LINENO LOG_FD]
405 # ----------------------------------------
406 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
407 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
408 # script with STATUS, using 1 if that was 0.
411 as_status
=$1; test $as_status -eq 0 && as_status
=1
413 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416 $as_echo "$as_me: error: $2" >&2
417 as_fn_exit
$as_status
420 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
421 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
427 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
433 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
439 as_me
=`$as_basename -- "$0" ||
440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
441 X"$0" : 'X\(//\)$' \| \
442 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 sed '/^.*\/\([^/][^/]*\)\/*$/{
458 # Avoid depending upon Character Ranges.
459 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
460 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
461 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
462 as_cr_digits
='0123456789'
463 as_cr_alnum
=$as_cr_Letters$as_cr_digits
466 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
467 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
468 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
469 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
470 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
482 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486 chmod +x
"$as_me.lineno" ||
487 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
489 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
490 # already done that, so ensure we don't try to do so again and fall
491 # in an infinite loop. This has already happened in practice.
492 _as_can_reexec
=no
; export _as_can_reexec
493 # Don't try to exec as it changes $[0], causing all sort of problems
494 # (the dirname of $[0] is not the place where we might find the
495 # original and so on. Autoconf is especially sensitive to this).
497 # Exit status is that of the last command.
501 ECHO_C
= ECHO_N
= ECHO_T
=
502 case `echo -n x` in #(((((
504 case `echo 'xy\c'` in
505 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
507 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
514 rm -f conf$$ conf$$.exe conf$$.
file
515 if test -d conf$$.dir
; then
516 rm -f conf$$.dir
/conf$$.
file
519 mkdir conf$$.dir
2>/dev
/null
521 if (echo >conf$$.
file) 2>/dev
/null
; then
522 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
524 # ... but there are two gotchas:
525 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
526 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
527 # In both cases, we have to default to `cp -pR'.
528 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
530 elif ln conf$$.
file conf$$
2>/dev
/null
; then
538 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
539 rmdir conf$$.dir
2>/dev
/null
541 if mkdir
-p .
2>/dev
/null
; then
542 as_mkdir_p
='mkdir -p "$as_dir"'
544 test -d .
/-p && rmdir .
/-p
549 as_executable_p
=as_fn_executable_p
551 # Sed expression to map a string onto a valid CPP name.
552 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554 # Sed expression to map a string onto a valid variable name.
555 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
562 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
563 # so uname gets run too.
564 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 ac_default_prefix
=/usr
/local
571 ac_config_libobj_dir
=.
578 # Identity of this package.
586 ac_unique_file
="TODO"
588 # Factoring default headers for most tests.
589 ac_includes_default
="\
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
601 # ifdef HAVE_STDLIB_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
624 ac_subst_vars
='LTLIBOBJS
700 program_transform_name
713 enable_option_checking
718 ac_precious_vars
='build_alias
729 # Initialize some variables set by options.
731 ac_init_version
=false
732 ac_unrecognized_opts
=
734 # The variables have the same names as the options, with
735 # dashes changed to underlines.
743 program_transform_name
=s
,x
,x
,
751 # Installation directory options.
752 # These are left unexpanded so users can "make install exec_prefix=/foo"
753 # and all the variables that are supposed to be based on exec_prefix
754 # by default will actually change.
755 # Use braces instead of parens because sh, perl, etc. also accept them.
756 # (The list follows the same order as the GNU Coding Standards.)
757 bindir
='${exec_prefix}/bin'
758 sbindir
='${exec_prefix}/sbin'
759 libexecdir
='${exec_prefix}/libexec'
760 datarootdir
='${prefix}/share'
761 datadir
='${datarootdir}'
762 sysconfdir
='${prefix}/etc'
763 sharedstatedir
='${prefix}/com'
764 localstatedir
='${prefix}/var'
765 includedir
='${prefix}/include'
766 oldincludedir
='/usr/include'
767 docdir
='${datarootdir}/doc/${PACKAGE}'
768 infodir
='${datarootdir}/info'
773 libdir
='${exec_prefix}/lib'
774 localedir
='${datarootdir}/locale'
775 mandir
='${datarootdir}/man'
781 # If the previous option needs an argument, assign it.
782 if test -n "$ac_prev"; then
783 eval $ac_prev=\
$ac_option
789 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
794 # Accept the important Cygnus configure options, so we can diagnose typos.
796 case $ac_dashdash$ac_option in
800 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
802 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
805 -build |
--build |
--buil |
--bui |
--bu)
806 ac_prev
=build_alias
;;
807 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
808 build_alias
=$ac_optarg ;;
810 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
811 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
812 ac_prev
=cache_file
;;
813 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
814 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
815 cache_file
=$ac_optarg ;;
818 cache_file
=config.cache
;;
820 -datadir |
--datadir |
--datadi |
--datad)
822 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
823 datadir
=$ac_optarg ;;
825 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
826 |
--dataroo |
--dataro |
--datar)
827 ac_prev
=datarootdir
;;
828 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
829 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
830 datarootdir
=$ac_optarg ;;
832 -disable-* |
--disable-*)
833 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
834 # Reject names that are not valid shell variable names.
835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
836 as_fn_error $?
"invalid feature name: $ac_useropt"
837 ac_useropt_orig
=$ac_useropt
838 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
839 case $ac_user_opts in
843 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
844 ac_unrecognized_sep
=', ';;
846 eval enable_
$ac_useropt=no
;;
848 -docdir |
--docdir |
--docdi |
--doc |
--do)
850 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
853 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
855 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
858 -enable-* |
--enable-*)
859 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
860 # Reject names that are not valid shell variable names.
861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
862 as_fn_error $?
"invalid feature name: $ac_useropt"
863 ac_useropt_orig
=$ac_useropt
864 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
865 case $ac_user_opts in
869 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
870 ac_unrecognized_sep
=', ';;
872 eval enable_
$ac_useropt=\
$ac_optarg ;;
874 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
875 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
876 |
--exec |
--exe |
--ex)
877 ac_prev
=exec_prefix
;;
878 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
879 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
880 |
--exec=* |
--exe=* |
--ex=*)
881 exec_prefix
=$ac_optarg ;;
883 -gas |
--gas |
--ga |
--g)
884 # Obsolete; use --with-gas.
887 -help |
--help |
--hel |
--he |
-h)
889 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
890 ac_init_help
=recursive
;;
891 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
892 ac_init_help
=short
;;
894 -host |
--host |
--hos |
--ho)
895 ac_prev
=host_alias
;;
896 -host=* |
--host=* |
--hos=* |
--ho=*)
897 host_alias
=$ac_optarg ;;
899 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
901 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
903 htmldir
=$ac_optarg ;;
905 -includedir |
--includedir |
--includedi |
--included |
--include \
906 |
--includ |
--inclu |
--incl |
--inc)
907 ac_prev
=includedir
;;
908 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
909 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
910 includedir
=$ac_optarg ;;
912 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
914 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
915 infodir
=$ac_optarg ;;
917 -libdir |
--libdir |
--libdi |
--libd)
919 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
922 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
923 |
--libexe |
--libex |
--libe)
924 ac_prev
=libexecdir
;;
925 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
926 |
--libexe=* |
--libex=* |
--libe=*)
927 libexecdir
=$ac_optarg ;;
929 -localedir |
--localedir |
--localedi |
--localed |
--locale)
931 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
932 localedir
=$ac_optarg ;;
934 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
935 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
936 ac_prev
=localstatedir
;;
937 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
938 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
939 localstatedir
=$ac_optarg ;;
941 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
943 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
947 # Obsolete; use --without-fp.
950 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
951 |
--no-cr |
--no-c |
-n)
954 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
955 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
958 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
959 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
960 |
--oldin |
--oldi |
--old |
--ol |
--o)
961 ac_prev
=oldincludedir
;;
962 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
963 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
964 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
965 oldincludedir
=$ac_optarg ;;
967 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
969 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
972 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
973 |
--program-pre |
--program-pr |
--program-p)
974 ac_prev
=program_prefix
;;
975 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
976 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
977 program_prefix
=$ac_optarg ;;
979 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
980 |
--program-suf |
--program-su |
--program-s)
981 ac_prev
=program_suffix
;;
982 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
983 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
984 program_suffix
=$ac_optarg ;;
986 -program-transform-name |
--program-transform-name \
987 |
--program-transform-nam |
--program-transform-na \
988 |
--program-transform-n |
--program-transform- \
989 |
--program-transform |
--program-transfor \
990 |
--program-transfo |
--program-transf \
991 |
--program-trans |
--program-tran \
992 |
--progr-tra |
--program-tr |
--program-t)
993 ac_prev
=program_transform_name
;;
994 -program-transform-name=* |
--program-transform-name=* \
995 |
--program-transform-nam=* |
--program-transform-na=* \
996 |
--program-transform-n=* |
--program-transform-=* \
997 |
--program-transform=* |
--program-transfor=* \
998 |
--program-transfo=* |
--program-transf=* \
999 |
--program-trans=* |
--program-tran=* \
1000 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1001 program_transform_name
=$ac_optarg ;;
1003 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1005 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1006 pdfdir
=$ac_optarg ;;
1008 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1010 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1013 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1014 |
-silent |
--silent |
--silen |
--sile |
--sil)
1017 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1019 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1021 sbindir
=$ac_optarg ;;
1023 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1024 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1025 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1027 ac_prev
=sharedstatedir
;;
1028 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1029 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1030 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1032 sharedstatedir
=$ac_optarg ;;
1034 -site |
--site |
--sit)
1036 -site=* |
--site=* |
--sit=*)
1039 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1041 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1042 srcdir
=$ac_optarg ;;
1044 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1045 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1046 ac_prev
=sysconfdir
;;
1047 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1048 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1049 sysconfdir
=$ac_optarg ;;
1051 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1052 ac_prev
=target_alias
;;
1053 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1054 target_alias
=$ac_optarg ;;
1056 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1059 -version |
--version |
--versio |
--versi |
--vers |
-V)
1060 ac_init_version
=: ;;
1063 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1066 as_fn_error $?
"invalid package name: $ac_useropt"
1067 ac_useropt_orig
=$ac_useropt
1068 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1073 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1074 ac_unrecognized_sep
=', ';;
1076 eval with_
$ac_useropt=\
$ac_optarg ;;
1078 -without-* |
--without-*)
1079 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 as_fn_error $?
"invalid package name: $ac_useropt"
1083 ac_useropt_orig
=$ac_useropt
1084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1090 ac_unrecognized_sep
=', ';;
1092 eval with_
$ac_useropt=no
;;
1095 # Obsolete; use --with-x.
1098 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1099 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1100 ac_prev
=x_includes
;;
1101 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1102 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1103 x_includes
=$ac_optarg ;;
1105 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1106 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1107 ac_prev
=x_libraries
;;
1108 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1109 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1110 x_libraries
=$ac_optarg ;;
1112 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1113 Try \`$0 --help' for more information"
1117 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1118 # Reject names that are not valid shell variable names.
1119 case $ac_envvar in #(
1120 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1121 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1123 eval $ac_envvar=\
$ac_optarg
1124 export $ac_envvar ;;
1127 # FIXME: should be removed in autoconf 3.0.
1128 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1129 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1130 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1131 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1137 if test -n "$ac_prev"; then
1138 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1139 as_fn_error $?
"missing argument to $ac_option"
1142 if test -n "$ac_unrecognized_opts"; then
1143 case $enable_option_checking in
1145 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1146 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1150 # Check all directory arguments for consistency.
1151 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1152 datadir sysconfdir sharedstatedir localstatedir includedir \
1153 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1154 libdir localedir mandir
1156 eval ac_val
=\$
$ac_var
1157 # Remove trailing slashes.
1160 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1161 eval $ac_var=\
$ac_val;;
1163 # Be sure to have absolute directory names.
1165 [\\/$
]* | ?
:[\\/]* ) continue;;
1166 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1168 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1171 # There might be people who depend on the old broken behavior: `$host'
1172 # used to hold the argument of --host etc.
1173 # FIXME: To remove some day.
1176 target
=$target_alias
1178 # FIXME: To remove some day.
1179 if test "x$host_alias" != x
; then
1180 if test "x$build_alias" = x
; then
1181 cross_compiling
=maybe
1182 elif test "x$build_alias" != "x$host_alias"; then
1188 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1190 test "$silent" = yes && exec 6>/dev
/null
1193 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1194 ac_ls_di
=`ls -di .` &&
1195 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1196 as_fn_error $?
"working directory cannot be determined"
1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1198 as_fn_error $?
"pwd does not report name of working directory"
1201 # Find the source files, if location was not specified.
1202 if test -z "$srcdir"; then
1203 ac_srcdir_defaulted
=yes
1204 # Try the directory containing this script, then the parent directory.
1205 ac_confdir
=`$as_dirname -- "$as_myself" ||
1206 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1207 X"$as_myself" : 'X\(//\)[^/]' \| \
1208 X"$as_myself" : 'X\(//\)$' \| \
1209 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1210 $as_echo X"$as_myself" |
1211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1233 ac_srcdir_defaulted
=no
1235 if test ! -r "$srcdir/$ac_unique_file"; then
1236 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1237 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1239 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1241 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1243 # When building in place, set srcdir=.
1244 if test "$ac_abs_confdir" = "$ac_pwd"; then
1247 # Remove unnecessary trailing slashes from srcdir.
1248 # Double slashes in file names in object file debugging info
1249 # mess up M-x gdb in Emacs.
1251 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1253 for ac_var
in $ac_precious_vars; do
1254 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1255 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1256 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1257 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1261 # Report the --help message.
1263 if test "$ac_init_help" = "long"; then
1264 # Omit some internal or obsolete options to make the list less imposing.
1265 # This message is too long to be a string in the A/UX 3.1 sh.
1267 \`configure' configures this package to adapt to many kinds of systems.
1269 Usage: $0 [OPTION]... [VAR=VALUE]...
1271 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1272 VAR=VALUE. See below for descriptions of some of the useful variables.
1274 Defaults for the options are specified in brackets.
1277 -h, --help display this help and exit
1278 --help=short display options specific to this package
1279 --help=recursive display the short help of all the included packages
1280 -V, --version display version information and exit
1281 -q, --quiet, --silent do not print \`checking ...' messages
1282 --cache-file=FILE cache test results in FILE [disabled]
1283 -C, --config-cache alias for \`--cache-file=config.cache'
1284 -n, --no-create do not create output files
1285 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1287 Installation directories:
1288 --prefix=PREFIX install architecture-independent files in PREFIX
1289 [$ac_default_prefix]
1290 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1293 By default, \`make install' will install all the files in
1294 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1295 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1296 for instance \`--prefix=\$HOME'.
1298 For better control, use the options below.
1300 Fine tuning of the installation directories:
1301 --bindir=DIR user executables [EPREFIX/bin]
1302 --sbindir=DIR system admin executables [EPREFIX/sbin]
1303 --libexecdir=DIR program executables [EPREFIX/libexec]
1304 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1305 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1306 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1307 --libdir=DIR object code libraries [EPREFIX/lib]
1308 --includedir=DIR C header files [PREFIX/include]
1309 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1310 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1311 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1312 --infodir=DIR info documentation [DATAROOTDIR/info]
1313 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1314 --mandir=DIR man documentation [DATAROOTDIR/man]
1315 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1316 --htmldir=DIR html documentation [DOCDIR]
1317 --dvidir=DIR dvi documentation [DOCDIR]
1318 --pdfdir=DIR pdf documentation [DOCDIR]
1319 --psdir=DIR ps documentation [DOCDIR]
1325 --build=BUILD configure
for building on BUILD
[guessed
]
1326 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1327 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1331 if test -n "$ac_init_help"; then
1336 --disable-option-checking ignore unrecognized
--enable/--with options
1337 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1338 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1339 --enable-warpup Enable WarpUp support
1342 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1343 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1344 --with-cpu The CPU to optimize
for
1345 --with-os-includedir Path to AmigaOS include directory
1347 Some influential environment variables
:
1348 CC C compiler
command
1349 CFLAGS C compiler flags
1350 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1351 nonstandard directory
<lib dir
>
1352 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1353 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1354 you have headers
in a nonstandard directory
<include dir
>
1357 Use these variables to override the choices made by
`configure' or to help
1358 it to find libraries and programs with nonstandard names/locations.
1360 Report bugs to the package provider.
1365 if test "$ac_init_help" = "recursive"; then
1366 # If there are subdirs, report their specific --help.
1367 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1368 test -d "$ac_dir" ||
1369 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1374 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1376 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1377 # A ".." for each directory in $ac_dir_suffix.
1378 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1379 case $ac_top_builddir_sub in
1380 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1381 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1384 ac_abs_top_builddir=$ac_pwd
1385 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1386 # for backward compatibility:
1387 ac_top_builddir=$ac_top_build_prefix
1390 .) # We are building in place.
1392 ac_top_srcdir=$ac_top_builddir_sub
1393 ac_abs_top_srcdir=$ac_pwd ;;
1394 [\\/]* | ?:[\\/]* ) # Absolute name.
1395 ac_srcdir=$srcdir$ac_dir_suffix;
1396 ac_top_srcdir=$srcdir
1397 ac_abs_top_srcdir=$srcdir ;;
1399 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1400 ac_top_srcdir=$ac_top_build_prefix$srcdir
1401 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1403 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1405 cd "$ac_dir" || { ac_status=$?; continue; }
1406 # Check for guested configure.
1407 if test -f "$ac_srcdir/configure.gnu"; then
1409 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1410 elif test -f "$ac_srcdir/configure"; then
1412 $SHELL "$ac_srcdir/configure" --help=recursive
1414 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1416 cd "$ac_pwd" || { ac_status=$?; break; }
1420 test -n "$ac_init_help" && exit $ac_status
1421 if $ac_init_version; then
1424 generated by GNU Autoconf 2.69
1426 Copyright (C) 2012 Free Software Foundation, Inc.
1427 This configure script is free software; the Free Software Foundation
1428 gives unlimited permission to copy, distribute and modify it.
1433 ## ------------------------ ##
1434 ## Autoconf initialization. ##
1435 ## ------------------------ ##
1437 # ac_fn_c_try_compile LINENO
1438 # --------------------------
1439 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1440 ac_fn_c_try_compile ()
1442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1443 rm -f conftest.$ac_objext
1444 if { { ac_try="$ac_compile"
1446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1447 *) ac_try_echo
=$ac_try;;
1449 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1450 $as_echo "$ac_try_echo"; } >&5
1451 (eval "$ac_compile") 2>conftest.err
1453 if test -s conftest.err
; then
1454 grep -v '^ *+' conftest.err
>conftest.er1
1455 cat conftest.er1
>&5
1456 mv -f conftest.er1 conftest.err
1458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1459 test $ac_status = 0; } && {
1460 test -z "$ac_c_werror_flag" ||
1461 test ! -s conftest.err
1462 } && test -s conftest.
$ac_objext; then :
1465 $as_echo "$as_me: failed program was:" >&5
1466 sed 's/^/| /' conftest.
$ac_ext >&5
1470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1471 as_fn_set_status
$ac_retval
1473 } # ac_fn_c_try_compile
1475 # ac_fn_c_try_link LINENO
1476 # -----------------------
1477 # Try to link conftest.$ac_ext, and return whether this succeeded.
1480 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1481 rm -f conftest.
$ac_objext conftest
$ac_exeext
1482 if { { ac_try
="$ac_link"
1484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1485 *) ac_try_echo=$ac_try;;
1487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1488 $as_echo "$ac_try_echo"; } >&5
1489 (eval "$ac_link") 2>conftest.err
1491 if test -s conftest.err; then
1492 grep -v '^ *+' conftest.err >conftest.er1
1493 cat conftest.er1 >&5
1494 mv -f conftest.er1 conftest.err
1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497 test $ac_status = 0; } && {
1498 test -z "$ac_c_werror_flag" ||
1499 test ! -s conftest.err
1500 } && test -s conftest$ac_exeext && {
1501 test "$cross_compiling" = yes ||
1502 test -x conftest$ac_exeext
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.$ac_ext >&5
1511 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1512 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1513 # interfere with the next link command; also delete a directory that is
1514 # left behind by Apple's compiler. We do this before executing the actions.
1515 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1517 as_fn_set_status $ac_retval
1519 } # ac_fn_c_try_link
1521 # ac_fn_c_try_cpp LINENO
1522 # ----------------------
1523 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1527 if { { ac_try="$ac_cpp conftest.$ac_ext"
1529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1530 *) ac_try_echo
=$ac_try;;
1532 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1536 if test -s conftest.err
; then
1537 grep -v '^ *+' conftest.err
>conftest.er1
1538 cat conftest.er1
>&5
1539 mv -f conftest.er1 conftest.err
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 test $ac_status = 0; } > conftest.i
&& {
1543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1544 test ! -s conftest.err
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.
$ac_ext >&5
1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554 as_fn_set_status
$ac_retval
1558 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1559 # -------------------------------------------------------
1560 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1561 # the include files in INCLUDES and setting the cache variable VAR
1563 ac_fn_c_check_header_mongrel
()
1565 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1566 if eval \
${$3+:} false
; then :
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1568 $as_echo_n "checking for $2... " >&6; }
1569 if eval \
${$3+:} false
; then :
1570 $as_echo_n "(cached) " >&6
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1574 $as_echo "$ac_res" >&6; }
1576 # Is the header compilable?
1577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1578 $as_echo_n "checking $2 usability... " >&6; }
1579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1580 /* end confdefs.h. */
1584 if ac_fn_c_try_compile
"$LINENO"; then :
1585 ac_header_compiler
=yes
1587 ac_header_compiler
=no
1589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1591 $as_echo "$ac_header_compiler" >&6; }
1593 # Is the header present?
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1595 $as_echo_n "checking $2 presence... " >&6; }
1596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1597 /* end confdefs.h. */
1600 if ac_fn_c_try_cpp
"$LINENO"; then :
1601 ac_header_preproc
=yes
1603 ac_header_preproc
=no
1605 rm -f conftest.err conftest.i conftest.
$ac_ext
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1607 $as_echo "$ac_header_preproc" >&6; }
1609 # So? What about this header?
1610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1613 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1615 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1619 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1621 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1623 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1625 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1627 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1631 $as_echo_n "checking for $2... " >&6; }
1632 if eval \
${$3+:} false
; then :
1633 $as_echo_n "(cached) " >&6
1635 eval "$3=\$ac_header_compiler"
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1639 $as_echo "$ac_res" >&6; }
1641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 } # ac_fn_c_check_header_mongrel
1645 # ac_fn_c_try_run LINENO
1646 # ----------------------
1647 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1648 # that executables *can* be run.
1651 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1652 if { { ac_try
="$ac_link"
1654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1655 *) ac_try_echo=$ac_try;;
1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659 (eval "$ac_link") 2>&5
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1663 { { case "(($ac_try" in
1664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1665 *) ac_try_echo
=$ac_try;;
1667 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_try") 2>&5
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; }; }; then :
1675 $as_echo "$as_me: program exited with status $ac_status" >&5
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.
$ac_ext >&5
1679 ac_retval
=$ac_status
1681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status
$ac_retval
1687 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1688 # -------------------------------------------------------
1689 # Tests whether HEADER exists and can be compiled using the include files in
1690 # INCLUDES, setting the cache variable VAR accordingly.
1691 ac_fn_c_check_header_compile
()
1693 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if eval \
${$3+:} false
; then :
1697 $as_echo_n "(cached) " >&6
1699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h. */
1704 if ac_fn_c_try_compile
"$LINENO"; then :
1709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 } # ac_fn_c_check_header_compile
1717 cat >config.log
<<_ACEOF
1718 This file contains any messages produced by compilers while
1719 running configure, to aid debugging if configure makes a mistake.
1721 It was created by $as_me, which was
1722 generated by GNU Autoconf 2.69. Invocation command line was
1734 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1735 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1736 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1737 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1738 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1740 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1741 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1743 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1744 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1745 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1746 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1747 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1748 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1749 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1757 test -z "$as_dir" && as_dir
=.
1758 $as_echo "PATH: $as_dir"
1774 # Keep a trace of the command line.
1775 # Strip out --no-create and --no-recursion so they do not pile up.
1776 # Strip out --silent because we don't want to record it for future runs.
1777 # Also quote any args containing shell meta-characters.
1778 # Make two passes to allow for proper duplicate-argument suppression.
1782 ac_must_keep_next
=false
1788 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1789 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1790 |
-silent |
--silent |
--silen |
--sile |
--sil)
1793 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1796 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1798 as_fn_append ac_configure_args1
" '$ac_arg'"
1799 if test $ac_must_keep_next = true
; then
1800 ac_must_keep_next
=false
# Got value, back to normal.
1803 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1804 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1805 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1806 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1807 case "$ac_configure_args0 " in
1808 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1811 -* ) ac_must_keep_next
=true
;;
1814 as_fn_append ac_configure_args
" '$ac_arg'"
1819 { ac_configure_args0
=; unset ac_configure_args0
;}
1820 { ac_configure_args1
=; unset ac_configure_args1
;}
1822 # When interrupted or exit'd, cleanup temporary files, and complete
1823 # config.log. We remove comments because anyway the quotes in there
1824 # would cause problems or look ugly.
1825 # WARNING: Use '\'' to represent an apostrophe within the trap.
1826 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1827 trap 'exit_status=$?
1828 # Save into config.log some information that might help in debugging.
1832 $as_echo "## ---------------- ##
1833 ## Cache variables. ##
1834 ## ---------------- ##"
1836 # The following way of writing the cache mishandles newlines in values,
1838 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1839 eval ac_val=\$$ac_var
1843 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1844 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1847 _ | IFS | as_nl) ;; #(
1848 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1849 *) { eval $ac_var=; unset $ac_var;} ;;
1854 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1855 *${as_nl}ac_space=\ *)
1857 "s/'\''/'\''\\\\'\'''\''/g;
1858 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1861 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1868 $as_echo "## ----------------- ##
1869 ## Output variables. ##
1870 ## ----------------- ##"
1872 for ac_var in $ac_subst_vars
1874 eval ac_val=\$$ac_var
1876 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1878 $as_echo "$ac_var='\''$ac_val'\''"
1882 if test -n "$ac_subst_files"; then
1883 $as_echo "## ------------------- ##
1884 ## File substitutions. ##
1885 ## ------------------- ##"
1887 for ac_var
in $ac_subst_files
1889 eval ac_val
=\$
$ac_var
1891 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1893 $as_echo "$ac_var='\''$ac_val'\''"
1898 if test -s confdefs.h; then
1899 $as_echo "## ----------- ##
1906 test "$ac_signal" != 0 &&
1907 $as_echo "$as_me: caught signal $ac_signal"
1908 $as_echo "$as_me: exit $exit_status"
1910 rm -f core *.core core.conftest.* &&
1911 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1914 for ac_signal
in 1 2 13 15; do
1915 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1919 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1920 rm -f -r conftest
* confdefs.h
1922 $as_echo "/* confdefs.h */" > confdefs.h
1924 # Predefined preprocessor variables.
1926 cat >>confdefs.h
<<_ACEOF
1927 #define PACKAGE_NAME "$PACKAGE_NAME"
1930 cat >>confdefs.h
<<_ACEOF
1931 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1934 cat >>confdefs.h
<<_ACEOF
1935 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1938 cat >>confdefs.h
<<_ACEOF
1939 #define PACKAGE_STRING "$PACKAGE_STRING"
1942 cat >>confdefs.h
<<_ACEOF
1943 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1946 cat >>confdefs.h
<<_ACEOF
1947 #define PACKAGE_URL "$PACKAGE_URL"
1951 # Let the site file select an alternate cache file if it wants to.
1952 # Prefer an explicitly selected file to automatically selected ones.
1955 if test -n "$CONFIG_SITE"; then
1956 # We do not want a PATH search for config.site.
1957 case $CONFIG_SITE in #((
1958 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1959 */*) ac_site_file1
=$CONFIG_SITE;;
1960 *) ac_site_file1
=.
/$CONFIG_SITE;;
1962 elif test "x$prefix" != xNONE
; then
1963 ac_site_file1
=$prefix/share
/config.site
1964 ac_site_file2
=$prefix/etc
/config.site
1966 ac_site_file1
=$ac_default_prefix/share
/config.site
1967 ac_site_file2
=$ac_default_prefix/etc
/config.site
1969 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1971 test "x$ac_site_file" = xNONE
&& continue
1972 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1974 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1975 sed 's/^/| /' "$ac_site_file" >&5
1977 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1979 as_fn_error $?
"failed to load site script $ac_site_file
1980 See \`config.log' for more details" "$LINENO" 5; }
1984 if test -r "$cache_file"; then
1985 # Some versions of bash will fail to source /dev/null (special files
1986 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1987 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1989 $as_echo "$as_me: loading cache $cache_file" >&6;}
1991 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1992 *) .
"./$cache_file";;
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1997 $as_echo "$as_me: creating cache $cache_file" >&6;}
2001 # Check that the precious variables saved in the cache have kept the same
2003 ac_cache_corrupted
=false
2004 for ac_var
in $ac_precious_vars; do
2005 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2006 eval ac_new_set
=\
$ac_env_${ac_var}_set
2007 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2008 eval ac_new_val
=\
$ac_env_${ac_var}_value
2009 case $ac_old_set,$ac_new_set in
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2012 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2013 ac_cache_corrupted
=: ;;
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2016 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2017 ac_cache_corrupted
=: ;;
2020 if test "x$ac_old_val" != "x$ac_new_val"; then
2021 # differences in whitespace do not lead to failure.
2022 ac_old_val_w
=`echo x $ac_old_val`
2023 ac_new_val_w
=`echo x $ac_new_val`
2024 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2026 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2027 ac_cache_corrupted
=:
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2030 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2031 eval $ac_var=\
$ac_old_val
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2034 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2036 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2039 # Pass precious variables to config.status.
2040 if test "$ac_new_set" = set; then
2042 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2043 *) ac_arg
=$ac_var=$ac_new_val ;;
2045 case " $ac_configure_args " in
2046 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2047 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2051 if $ac_cache_corrupted; then
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2055 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2056 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2058 ## -------------------- ##
2059 ## Main body of script. ##
2060 ## -------------------- ##
2063 ac_cpp
='$CPP $CPPFLAGS'
2064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2073 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2074 if test -f "$ac_dir/install-sh"; then
2076 ac_install_sh
="$ac_aux_dir/install-sh -c"
2078 elif test -f "$ac_dir/install.sh"; then
2080 ac_install_sh
="$ac_aux_dir/install.sh -c"
2082 elif test -f "$ac_dir/shtool"; then
2084 ac_install_sh
="$ac_aux_dir/shtool install -c"
2088 if test -z "$ac_aux_dir"; then
2089 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2092 # These three variables are undocumented and unsupported,
2093 # and are intended to be withdrawn in a future Autoconf release.
2094 # They can cause serious problems if a builder's source tree is in a directory
2095 # whose full name contains unusual characters.
2096 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2097 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2098 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2101 # Make sure we can run config.sub.
2102 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2103 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2106 $as_echo_n "checking build system type... " >&6; }
2107 if ${ac_cv_build+:} false
; then :
2108 $as_echo_n "(cached) " >&6
2110 ac_build_alias
=$build_alias
2111 test "x$ac_build_alias" = x
&&
2112 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2113 test "x$ac_build_alias" = x
&&
2114 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2115 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2116 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2120 $as_echo "$ac_cv_build" >&6; }
2121 case $ac_cv_build in
2123 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2126 ac_save_IFS
=$IFS; IFS
='-'
2132 # Remember, the first character of IFS is used to create $*,
2133 # except with old shells:
2136 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2140 $as_echo_n "checking host system type... " >&6; }
2141 if ${ac_cv_host+:} false
; then :
2142 $as_echo_n "(cached) " >&6
2144 if test "x$host_alias" = x
; then
2145 ac_cv_host
=$ac_cv_build
2147 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2148 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2153 $as_echo "$ac_cv_host" >&6; }
2156 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2159 ac_save_IFS
=$IFS; IFS
='-'
2165 # Remember, the first character of IFS is used to create $*,
2166 # except with old shells:
2169 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2173 $as_echo_n "checking target system type... " >&6; }
2174 if ${ac_cv_target+:} false
; then :
2175 $as_echo_n "(cached) " >&6
2177 if test "x$target_alias" = x
; then
2178 ac_cv_target
=$ac_cv_host
2180 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2181 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2186 $as_echo "$ac_cv_target" >&6; }
2187 case $ac_cv_target in
2189 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2191 target
=$ac_cv_target
2192 ac_save_IFS
=$IFS; IFS
='-'
2198 # Remember, the first character of IFS is used to create $*,
2199 # except with old shells:
2202 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2205 # The aliases save the names the user supplied, while $host etc.
2206 # will get canonicalized.
2207 test -n "$target_alias" &&
2208 test "$program_prefix$program_suffix$program_transform_name" = \
2210 program_prefix
=${target_alias}-
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2213 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2215 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2216 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2217 $as_echo_n "(cached) " >&6
2219 cat >conftest.
make <<\_ACEOF
2222 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2224 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2225 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2227 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2229 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2233 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2235 $as_echo "yes" >&6; }
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2239 $as_echo "no" >&6; }
2240 SET_MAKE
="MAKE=${MAKE-make}"
2243 ac_config_headers
="$ac_config_headers config.h"
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CPU to build for" >&5
2247 $as_echo_n "checking CPU to build for... " >&6; }
2249 # Check whether --with-cpu was given.
2250 if test "${with_cpu+set}" = set; then :
2251 withval
=$with_cpu; CPU
=${withval}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CPU}" >&5
2257 $as_echo "${CPU}" >&6; }
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking OS include directory" >&5
2260 $as_echo_n "checking OS include directory... " >&6; }
2262 # Check whether --with-os-includedir was given.
2263 if test "${with_os_includedir+set}" = set; then :
2264 withval
=$with_os_includedir; os_includedir
="-I${withval}"
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${os_includedir} " >&5
2270 $as_echo "${os_includedir} " >&6; }
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if WarpUp support code should be enabled" >&5
2273 $as_echo_n "checking if WarpUp support code should be enabled... " >&6; }
2274 # Check whether --enable-warpup was given.
2275 if test "${enable_warpup+set}" = set; then :
2276 enableval
=$enable_warpup; $as_echo "#define ENABLE_WARPUP 1" >>confdefs.h
2280 ENABLE_WARPUP
=${enable_warpup}
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_warpup}" >&5
2283 $as_echo "${enable_warpup}" >&6; }
2289 optflags
="-mcpu=${CPU} -O2"
2290 linkerflags
="-noixemul -mcpu=${CPU} -r"
2291 asflags
="--defsym CPU=${CPU} --defsym LITTLE_ENDIAN=1"
2292 resident
="" stripflag
=""
2294 m68k-unknown-amigaos
)
2297 optflags
="-m${CPU} -O2 -fomit-frame-pointer -ffast-math -msoft-float"
2298 linkerflags
="-noixemul -m${CPU}"
2299 asCPU
=`echo ${CPU} | sed 's/-.*//'`
2300 asflags
="-m${asCPU} --register-prefix-optional --bitwise-or --defsym CPU=${asCPU}"
2301 resident
="-resident"
2304 powerpc-unknown-amigaos
)
2307 $as_echo "#define __USE_INLINE__ 1" >>confdefs.h
2310 $as_echo "#define __USE_BASETYPE__ 1" >>confdefs.h
2313 optflags
="-mcpu=${CPU} -O2"
2314 linkerflags
="-mcpu=${CPU}"
2315 asflags
="-m${CPU} -mregnames --defsym CPU=${CPU}"
2316 resident
="" stripflag
=""
2318 powerpc-unknown-morphos
)
2321 $as_echo "#define USE_INLINE_STDARG 1" >>confdefs.h
2324 optflags
="-mcpu=${CPU} -O2"
2325 linkerflags
="-noixemul -mcpu=${CPU}"
2326 asflags
="-m${CPU} -mregnames --defsym CPU=${CPU}"
2327 resident
="-mresident32"
2333 optflags
="-m32 -march=${CPU} -O2"
2335 asflags
="--defsym CPU=${CPU} --defsym LITTLE_ENDIAN=1"
2336 resident
="" stripflag
="--strip-unneeded"
2341 optflags
="-O2 -fomit-frame-pointer"
2343 asflags
="--defsym CPU=${CPU} --defsym LITTLE_ENDIAN=1 --defsym x86_64=1"
2345 stripflag
="--strip-unneeded"
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown architecture!" >&5
2349 $as_echo "$as_me: WARNING: Unknown architecture!" >&2;}
2355 : ${CFLAGS="-g -W -Wall -Wstrict-prototypes -Wno-unused ${cflags} ${optflags}"}
2356 : ${CPPFLAGS="-DCPU=\"\\\"${CPU}\\\"\" -I. -I${srcdir} -I${top_builddir} -I${top_builddir}/Include/gcc ${os_includedir}"}
2357 : ${LDFLAGS="${linkerflags}"}
2358 : ${ASFLAGS="${asflags}"}
2360 : ${STRIPFLAGS="${stripflag}"}
2362 : ${CFLAG_RESIDENT="${resident}"}
2363 : ${LDFLAG_RESIDENT="${resident}"}
2365 : ${DISTDIR="/tmp/${host_alias}-ahi"}
2377 if test -n "$ac_tool_prefix"; then
2378 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2379 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2381 $as_echo_n "checking for $ac_word... " >&6; }
2382 if ${ac_cv_prog_CC+:} false
; then :
2383 $as_echo_n "(cached) " >&6
2385 if test -n "$CC"; then
2386 ac_cv_prog_CC
="$CC" # Let the user override the test.
2388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir
=.
2393 for ac_exec_ext
in '' $ac_executable_extensions; do
2394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2395 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 if test -n "$CC"; then
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2408 $as_echo "$CC" >&6; }
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2411 $as_echo "no" >&6; }
2416 if test -z "$ac_cv_prog_CC"; then
2418 # Extract the first word of "gcc", so it can be a program name with args.
2419 set dummy gcc
; ac_word
=$2
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2421 $as_echo_n "checking for $ac_word... " >&6; }
2422 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2423 $as_echo_n "(cached) " >&6
2425 if test -n "$ac_ct_CC"; then
2426 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2432 test -z "$as_dir" && as_dir
=.
2433 for ac_exec_ext
in '' $ac_executable_extensions; do
2434 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2435 ac_cv_prog_ac_ct_CC
="gcc"
2436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2446 if test -n "$ac_ct_CC"; then
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2448 $as_echo "$ac_ct_CC" >&6; }
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2451 $as_echo "no" >&6; }
2454 if test "x$ac_ct_CC" = x
; then
2457 case $cross_compiling:$ac_tool_warned in
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2461 ac_tool_warned
=yes ;;
2469 if test -n "$ac_tool_prefix"; then
2470 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2471 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if ${ac_cv_prog_AS+:} false
; then :
2475 $as_echo_n "(cached) " >&6
2477 if test -n "$AS"; then
2478 ac_cv_prog_AS
="$AS" # Let the user override the test.
2480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir
=.
2485 for ac_exec_ext
in '' $ac_executable_extensions; do
2486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2487 ac_cv_prog_AS
="${ac_tool_prefix}as"
2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2498 if test -n "$AS"; then
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2500 $as_echo "$AS" >&6; }
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2503 $as_echo "no" >&6; }
2508 if test -z "$ac_cv_prog_AS"; then
2510 # Extract the first word of "as", so it can be a program name with args.
2511 set dummy as
; ac_word
=$2
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2513 $as_echo_n "checking for $ac_word... " >&6; }
2514 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
2515 $as_echo_n "(cached) " >&6
2517 if test -n "$ac_ct_AS"; then
2518 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
2520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2524 test -z "$as_dir" && as_dir
=.
2525 for ac_exec_ext
in '' $ac_executable_extensions; do
2526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2527 ac_cv_prog_ac_ct_AS
="as"
2528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
2538 if test -n "$ac_ct_AS"; then
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
2540 $as_echo "$ac_ct_AS" >&6; }
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2543 $as_echo "no" >&6; }
2546 if test "x$ac_ct_AS" = x
; then
2549 case $cross_compiling:$ac_tool_warned in
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2553 ac_tool_warned
=yes ;;
2561 if test -n "$ac_tool_prefix"; then
2562 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2563 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2565 $as_echo_n "checking for $ac_word... " >&6; }
2566 if ${ac_cv_prog_AR+:} false
; then :
2567 $as_echo_n "(cached) " >&6
2569 if test -n "$AR"; then
2570 ac_cv_prog_AR
="$AR" # Let the user override the test.
2572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir
=.
2577 for ac_exec_ext
in '' $ac_executable_extensions; do
2578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2579 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test -n "$AR"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2592 $as_echo "$AR" >&6; }
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2595 $as_echo "no" >&6; }
2600 if test -z "$ac_cv_prog_AR"; then
2602 # Extract the first word of "ar", so it can be a program name with args.
2603 set dummy
ar; ac_word
=$2
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605 $as_echo_n "checking for $ac_word... " >&6; }
2606 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
2607 $as_echo_n "(cached) " >&6
2609 if test -n "$ac_ct_AR"; then
2610 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir
=.
2617 for ac_exec_ext
in '' $ac_executable_extensions; do
2618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2619 ac_cv_prog_ac_ct_AR
="ar"
2620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2630 if test -n "$ac_ct_AR"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2632 $as_echo "$ac_ct_AR" >&6; }
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635 $as_echo "no" >&6; }
2638 if test "x$ac_ct_AR" = x
; then
2641 case $cross_compiling:$ac_tool_warned in
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2645 ac_tool_warned
=yes ;;
2653 if test -n "$ac_tool_prefix"; then
2654 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2655 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if ${ac_cv_prog_RANLIB+:} false
; then :
2659 $as_echo_n "(cached) " >&6
2661 if test -n "$RANLIB"; then
2662 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir
=.
2669 for ac_exec_ext
in '' $ac_executable_extensions; do
2670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2671 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 RANLIB
=$ac_cv_prog_RANLIB
2682 if test -n "$RANLIB"; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2684 $as_echo "$RANLIB" >&6; }
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2692 if test -z "$ac_cv_prog_RANLIB"; then
2693 ac_ct_RANLIB
=$RANLIB
2694 # Extract the first word of "ranlib", so it can be a program name with args.
2695 set dummy ranlib
; ac_word
=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
2699 $as_echo_n "(cached) " >&6
2701 if test -n "$ac_ct_RANLIB"; then
2702 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir
=.
2709 for ac_exec_ext
in '' $ac_executable_extensions; do
2710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2711 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2722 if test -n "$ac_ct_RANLIB"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2724 $as_echo "$ac_ct_RANLIB" >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2730 if test "x$ac_ct_RANLIB" = x
; then
2733 case $cross_compiling:$ac_tool_warned in
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2737 ac_tool_warned
=yes ;;
2739 RANLIB
=$ac_ct_RANLIB
2742 RANLIB
="$ac_cv_prog_RANLIB"
2745 if test -n "$ac_tool_prefix"; then
2746 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2747 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if ${ac_cv_prog_STRIP+:} false
; then :
2751 $as_echo_n "(cached) " >&6
2753 if test -n "$STRIP"; then
2754 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir
=.
2761 for ac_exec_ext
in '' $ac_executable_extensions; do
2762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2763 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2773 STRIP
=$ac_cv_prog_STRIP
2774 if test -n "$STRIP"; then
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2776 $as_echo "$STRIP" >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2784 if test -z "$ac_cv_prog_STRIP"; then
2786 # Extract the first word of "strip", so it can be a program name with args.
2787 set dummy strip
; ac_word
=$2
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789 $as_echo_n "checking for $ac_word... " >&6; }
2790 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2791 $as_echo_n "(cached) " >&6
2793 if test -n "$ac_ct_STRIP"; then
2794 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir
=.
2801 for ac_exec_ext
in '' $ac_executable_extensions; do
2802 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2803 ac_cv_prog_ac_ct_STRIP
="strip"
2804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2814 if test -n "$ac_ct_STRIP"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2816 $as_echo "$ac_ct_STRIP" >&6; }
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819 $as_echo "no" >&6; }
2822 if test "x$ac_ct_STRIP" = x
; then
2825 case $cross_compiling:$ac_tool_warned in
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2829 ac_tool_warned
=yes ;;
2834 STRIP
="$ac_cv_prog_STRIP"
2837 if test -n "$ac_tool_prefix"; then
2838 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
2839 set dummy
${ac_tool_prefix}objcopy
; ac_word
=$2
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2841 $as_echo_n "checking for $ac_word... " >&6; }
2842 if ${ac_cv_prog_OBJCOPY+:} false
; then :
2843 $as_echo_n "(cached) " >&6
2845 if test -n "$OBJCOPY"; then
2846 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
2848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir
=.
2853 for ac_exec_ext
in '' $ac_executable_extensions; do
2854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2855 ac_cv_prog_OBJCOPY
="${ac_tool_prefix}objcopy"
2856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 OBJCOPY
=$ac_cv_prog_OBJCOPY
2866 if test -n "$OBJCOPY"; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
2868 $as_echo "$OBJCOPY" >&6; }
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2871 $as_echo "no" >&6; }
2876 if test -z "$ac_cv_prog_OBJCOPY"; then
2877 ac_ct_OBJCOPY
=$OBJCOPY
2878 # Extract the first word of "objcopy", so it can be a program name with args.
2879 set dummy objcopy
; ac_word
=$2
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2881 $as_echo_n "checking for $ac_word... " >&6; }
2882 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false
; then :
2883 $as_echo_n "(cached) " >&6
2885 if test -n "$ac_ct_OBJCOPY"; then
2886 ac_cv_prog_ac_ct_OBJCOPY
="$ac_ct_OBJCOPY" # Let the user override the test.
2888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir
=.
2893 for ac_exec_ext
in '' $ac_executable_extensions; do
2894 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2895 ac_cv_prog_ac_ct_OBJCOPY
="objcopy"
2896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2905 ac_ct_OBJCOPY
=$ac_cv_prog_ac_ct_OBJCOPY
2906 if test -n "$ac_ct_OBJCOPY"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
2908 $as_echo "$ac_ct_OBJCOPY" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2914 if test "x$ac_ct_OBJCOPY" = x
; then
2917 case $cross_compiling:$ac_tool_warned in
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2921 ac_tool_warned
=yes ;;
2923 OBJCOPY
=$ac_ct_OBJCOPY
2926 OBJCOPY
="$ac_cv_prog_OBJCOPY"
2930 # Find a good install program. We prefer a C program (faster),
2931 # so one script is as good as another. But avoid the broken or
2932 # incompatible versions:
2933 # SysV /etc/install, /usr/sbin/install
2934 # SunOS /usr/etc/install
2935 # IRIX /sbin/install
2937 # AmigaOS /C/install, which installs bootblocks on floppy discs
2938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2941 # OS/2's system install, which has a completely different semantic
2942 # ./install, which can be erroneously created by make from ./install.sh.
2943 # Reject install programs that cannot install multiple files.
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2945 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2946 if test -z "$INSTALL"; then
2947 if ${ac_cv_path_install+:} false
; then :
2948 $as_echo_n "(cached) " >&6
2950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2954 test -z "$as_dir" && as_dir
=.
2955 # Account for people who put trailing slashes in PATH elements.
2956 case $as_dir/ in #((
2957 .
/ | .
// |
/[cC
]/* | \
2958 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2959 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2962 # OSF1 and SCO ODT 3.0 have their own names for install.
2963 # Don't use installbsd from OSF since it installs stuff as root
2965 for ac_prog
in ginstall scoinst
install; do
2966 for ac_exec_ext
in '' $ac_executable_extensions; do
2967 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2968 if test $ac_prog = install &&
2969 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2970 # AIX install. It has an incompatible calling convention.
2972 elif test $ac_prog = install &&
2973 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2974 # program-specific install script used by HP pwplus--don't use.
2977 rm -rf conftest.one conftest.two conftest.dir
2978 echo one
> conftest.one
2979 echo two
> conftest.two
2981 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2982 test -s conftest.one
&& test -s conftest.two
&&
2983 test -s conftest.dir
/conftest.one
&&
2984 test -s conftest.dir
/conftest.two
2986 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2999 rm -rf conftest.one conftest.two conftest.dir
3002 if test "${ac_cv_path_install+set}" = set; then
3003 INSTALL
=$ac_cv_path_install
3005 # As a last resort, use the slow shell script. Don't cache a
3006 # value for INSTALL within a source directory, because that will
3007 # break other packages using the cache if that directory is
3008 # removed, or if the value is a relative name.
3009 INSTALL
=$ac_install_sh
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3013 $as_echo "$INSTALL" >&6; }
3015 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3016 # It thinks the first close brace ends the variable substitution.
3017 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3019 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3021 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3024 if test -n "$ac_tool_prefix"; then
3025 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3026 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if ${ac_cv_prog_RANLIB+:} false
; then :
3030 $as_echo_n "(cached) " >&6
3032 if test -n "$RANLIB"; then
3033 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir
=.
3040 for ac_exec_ext
in '' $ac_executable_extensions; do
3041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3042 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 RANLIB
=$ac_cv_prog_RANLIB
3053 if test -n "$RANLIB"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3055 $as_echo "$RANLIB" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3063 if test -z "$ac_cv_prog_RANLIB"; then
3064 ac_ct_RANLIB
=$RANLIB
3065 # Extract the first word of "ranlib", so it can be a program name with args.
3066 set dummy ranlib
; ac_word
=$2
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068 $as_echo_n "checking for $ac_word... " >&6; }
3069 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3070 $as_echo_n "(cached) " >&6
3072 if test -n "$ac_ct_RANLIB"; then
3073 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3079 test -z "$as_dir" && as_dir
=.
3080 for ac_exec_ext
in '' $ac_executable_extensions; do
3081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3082 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3093 if test -n "$ac_ct_RANLIB"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3095 $as_echo "$ac_ct_RANLIB" >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3101 if test "x$ac_ct_RANLIB" = x
; then
3104 case $cross_compiling:$ac_tool_warned in
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3108 ac_tool_warned
=yes ;;
3110 RANLIB
=$ac_ct_RANLIB
3113 RANLIB
="$ac_cv_prog_RANLIB"
3116 # Extract the first word of "rm", so it can be a program name with args.
3117 set dummy
rm; ac_word
=$2
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3119 $as_echo_n "checking for $ac_word... " >&6; }
3120 if ${ac_cv_prog_RM+:} false
; then :
3121 $as_echo_n "(cached) " >&6
3123 if test -n "$RM"; then
3124 ac_cv_prog_RM
="$RM" # Let the user override the test.
3126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3130 test -z "$as_dir" && as_dir
=.
3131 for ac_exec_ext
in '' $ac_executable_extensions; do
3132 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 if test -n "$RM"; then
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
3146 $as_echo "$RM" >&6; }
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149 $as_echo "no" >&6; }
3153 for ac_prog
in RoboDoc robodoc
3155 # Extract the first word of "$ac_prog", so it can be a program name with args.
3156 set dummy
$ac_prog; ac_word
=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if ${ac_cv_prog_ROBODOC+:} false
; then :
3160 $as_echo_n "(cached) " >&6
3162 if test -n "$ROBODOC"; then
3163 ac_cv_prog_ROBODOC
="$ROBODOC" # Let the user override the test.
3165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3169 test -z "$as_dir" && as_dir
=.
3170 for ac_exec_ext
in '' $ac_executable_extensions; do
3171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3172 ac_cv_prog_ROBODOC
="$ac_prog"
3173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 ROBODOC
=$ac_cv_prog_ROBODOC
3183 if test -n "$ROBODOC"; then
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ROBODOC" >&5
3185 $as_echo "$ROBODOC" >&6; }
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3188 $as_echo "no" >&6; }
3192 test -n "$ROBODOC" && break
3195 for ac_prog
in FlexCat flexcat
3197 # Extract the first word of "$ac_prog", so it can be a program name with args.
3198 set dummy
$ac_prog; ac_word
=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if ${ac_cv_prog_FLEXCAT+:} false
; then :
3202 $as_echo_n "(cached) " >&6
3204 if test -n "$FLEXCAT"; then
3205 ac_cv_prog_FLEXCAT
="$FLEXCAT" # Let the user override the test.
3207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3211 test -z "$as_dir" && as_dir
=.
3212 for ac_exec_ext
in '' $ac_executable_extensions; do
3213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_FLEXCAT
="$ac_prog"
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 FLEXCAT
=$ac_cv_prog_FLEXCAT
3225 if test -n "$FLEXCAT"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEXCAT" >&5
3227 $as_echo "$FLEXCAT" >&6; }
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3234 test -n "$FLEXCAT" && break
3237 for ac_prog
in SFDC sfdc
3239 # Extract the first word of "$ac_prog", so it can be a program name with args.
3240 set dummy
$ac_prog; ac_word
=$2
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242 $as_echo_n "checking for $ac_word... " >&6; }
3243 if ${ac_cv_prog_SFDC+:} false
; then :
3244 $as_echo_n "(cached) " >&6
3246 if test -n "$SFDC"; then
3247 ac_cv_prog_SFDC
="$SFDC" # Let the user override the test.
3249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3253 test -z "$as_dir" && as_dir
=.
3254 for ac_exec_ext
in '' $ac_executable_extensions; do
3255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3256 ac_cv_prog_SFDC
="$ac_prog"
3257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 SFDC
=$ac_cv_prog_SFDC
3267 if test -n "$SFDC"; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SFDC" >&5
3269 $as_echo "$SFDC" >&6; }
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3276 test -n "$SFDC" && break
3281 # Extract the first word of "$ac_prog", so it can be a program name with args.
3282 set dummy
$ac_prog; ac_word
=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if ${ac_cv_prog_LHA+:} false
; then :
3286 $as_echo_n "(cached) " >&6
3288 if test -n "$LHA"; then
3289 ac_cv_prog_LHA
="$LHA" # Let the user override the test.
3291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3295 test -z "$as_dir" && as_dir
=.
3296 for ac_exec_ext
in '' $ac_executable_extensions; do
3297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3298 ac_cv_prog_LHA
="$ac_prog"
3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 if test -n "$LHA"; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LHA" >&5
3311 $as_echo "$LHA" >&6; }
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3318 test -n "$LHA" && break
3322 if test -z "$SFDC"; then
3323 as_fn_error $?
"sfdc missing. " "$LINENO" 5
3326 if test -z "$LHA"; then
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lha missing. " >&5
3328 $as_echo "$as_me: WARNING: lha missing. " >&2;}
3330 if test -n "`$LHA 2>&1 | grep 'o.*compression method'`"; then
3337 if test -z "$ROBODOC"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: robodoc missing. " >&5
3339 $as_echo "$as_me: WARNING: robodoc missing. " >&2;}
3344 ac_cpp
='$CPP $CPPFLAGS'
3345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3348 if test -n "$ac_tool_prefix"; then
3349 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3350 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352 $as_echo_n "checking for $ac_word... " >&6; }
3353 if ${ac_cv_prog_CC+:} false
; then :
3354 $as_echo_n "(cached) " >&6
3356 if test -n "$CC"; then
3357 ac_cv_prog_CC
="$CC" # Let the user override the test.
3359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3363 test -z "$as_dir" && as_dir
=.
3364 for ac_exec_ext
in '' $ac_executable_extensions; do
3365 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3366 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3377 if test -n "$CC"; then
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3379 $as_echo "$CC" >&6; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382 $as_echo "no" >&6; }
3387 if test -z "$ac_cv_prog_CC"; then
3389 # Extract the first word of "gcc", so it can be a program name with args.
3390 set dummy gcc
; ac_word
=$2
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392 $as_echo_n "checking for $ac_word... " >&6; }
3393 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3394 $as_echo_n "(cached) " >&6
3396 if test -n "$ac_ct_CC"; then
3397 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3403 test -z "$as_dir" && as_dir
=.
3404 for ac_exec_ext
in '' $ac_executable_extensions; do
3405 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3406 ac_cv_prog_ac_ct_CC
="gcc"
3407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3417 if test -n "$ac_ct_CC"; then
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3419 $as_echo "$ac_ct_CC" >&6; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422 $as_echo "no" >&6; }
3425 if test "x$ac_ct_CC" = x
; then
3428 case $cross_compiling:$ac_tool_warned in
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3432 ac_tool_warned
=yes ;;
3440 if test -z "$CC"; then
3441 if test -n "$ac_tool_prefix"; then
3442 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3443 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445 $as_echo_n "checking for $ac_word... " >&6; }
3446 if ${ac_cv_prog_CC+:} false
; then :
3447 $as_echo_n "(cached) " >&6
3449 if test -n "$CC"; then
3450 ac_cv_prog_CC
="$CC" # Let the user override the test.
3452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3456 test -z "$as_dir" && as_dir
=.
3457 for ac_exec_ext
in '' $ac_executable_extensions; do
3458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3459 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3470 if test -n "$CC"; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3472 $as_echo "$CC" >&6; }
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475 $as_echo "no" >&6; }
3481 if test -z "$CC"; then
3482 # Extract the first word of "cc", so it can be a program name with args.
3483 set dummy cc
; ac_word
=$2
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3485 $as_echo_n "checking for $ac_word... " >&6; }
3486 if ${ac_cv_prog_CC+:} false
; then :
3487 $as_echo_n "(cached) " >&6
3489 if test -n "$CC"; then
3490 ac_cv_prog_CC
="$CC" # Let the user override the test.
3493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3497 test -z "$as_dir" && as_dir
=.
3498 for ac_exec_ext
in '' $ac_executable_extensions; do
3499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3501 ac_prog_rejected
=yes
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3512 if test $ac_prog_rejected = yes; then
3513 # We found a bogon in the path, so make sure we never use it.
3514 set dummy
$ac_cv_prog_CC
3516 if test $# != 0; then
3517 # We chose a different compiler from the bogus one.
3518 # However, it has the same basename, so the bogon will be chosen
3519 # first if we set CC to just the basename; use the full file name.
3521 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3527 if test -n "$CC"; then
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3529 $as_echo "$CC" >&6; }
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3532 $as_echo "no" >&6; }
3537 if test -z "$CC"; then
3538 if test -n "$ac_tool_prefix"; then
3539 for ac_prog
in cl.exe
3541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3542 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3544 $as_echo_n "checking for $ac_word... " >&6; }
3545 if ${ac_cv_prog_CC+:} false
; then :
3546 $as_echo_n "(cached) " >&6
3548 if test -n "$CC"; then
3549 ac_cv_prog_CC
="$CC" # Let the user override the test.
3551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3555 test -z "$as_dir" && as_dir
=.
3556 for ac_exec_ext
in '' $ac_executable_extensions; do
3557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3558 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 if test -n "$CC"; then
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3571 $as_echo "$CC" >&6; }
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3574 $as_echo "no" >&6; }
3578 test -n "$CC" && break
3581 if test -z "$CC"; then
3583 for ac_prog
in cl.exe
3585 # Extract the first word of "$ac_prog", so it can be a program name with args.
3586 set dummy
$ac_prog; ac_word
=$2
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588 $as_echo_n "checking for $ac_word... " >&6; }
3589 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3590 $as_echo_n "(cached) " >&6
3592 if test -n "$ac_ct_CC"; then
3593 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3599 test -z "$as_dir" && as_dir
=.
3600 for ac_exec_ext
in '' $ac_executable_extensions; do
3601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3602 ac_cv_prog_ac_ct_CC
="$ac_prog"
3603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3613 if test -n "$ac_ct_CC"; then
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3615 $as_echo "$ac_ct_CC" >&6; }
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 $as_echo "no" >&6; }
3622 test -n "$ac_ct_CC" && break
3625 if test "x$ac_ct_CC" = x
; then
3628 case $cross_compiling:$ac_tool_warned in
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3632 ac_tool_warned
=yes ;;
3641 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3643 as_fn_error $?
"no acceptable C compiler found in \$PATH
3644 See \`config.log' for more details" "$LINENO" 5; }
3646 # Provide some information about the compiler.
3647 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3650 for ac_option
in --version -v -V -qversion; do
3651 { { ac_try
="$ac_compiler $ac_option >&5"
3653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3657 $as_echo "$ac_try_echo"; } >&5
3658 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3660 if test -s conftest.err; then
3662 ... rest of stderr output deleted ...
3663 10q' conftest.err >conftest.er1
3664 cat conftest.er1 >&5
3666 rm -f conftest.er1 conftest.err
3667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668 test $ac_status = 0; }
3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672 /* end confdefs.h. */
3682 ac_clean_files_save=$ac_clean_files
3683 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3684 # Try to create an executable without -o first, disregard a.out.
3685 # It will help us diagnose broken compilers, and finding out an intuition
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3688 $as_echo_n "checking whether the C compiler works... " >&6; }
3689 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3691 # The possible output files:
3692 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3695 for ac_file in $ac_files
3698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3699 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3704 if { { ac_try="$ac_link_default"
3706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3707 *) ac_try_echo
=$ac_try;;
3709 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3710 $as_echo "$ac_try_echo"; } >&5
3711 (eval "$ac_link_default") 2>&5
3713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3714 test $ac_status = 0; }; then :
3715 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3716 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3717 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3718 # so that the user can short-circuit this test for compilers unknown to
3720 for ac_file
in $ac_files ''
3722 test -f "$ac_file" ||
continue
3724 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3727 # We found the default executable, but exeext='' is most
3731 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3733 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3735 # We set ac_cv_exeext here because the later test for it is not
3736 # safe: cross compilers may not add the suffix if given an `-o'
3737 # argument, so we may need to know it at that point already.
3738 # Even if this section looks crufty: it has the advantage of
3745 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3750 if test -z "$ac_file"; then :
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3753 $as_echo "$as_me: failed program was:" >&5
3754 sed 's/^/| /' conftest.
$ac_ext >&5
3756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error
77 "C compiler cannot create executables
3759 See \`config.log' for more details" "$LINENO" 5; }
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3762 $as_echo "yes" >&6; }
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3765 $as_echo_n "checking for C compiler default output file name... " >&6; }
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3767 $as_echo "$ac_file" >&6; }
3768 ac_exeext
=$ac_cv_exeext
3770 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3771 ac_clean_files
=$ac_clean_files_save
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3773 $as_echo_n "checking for suffix of executables... " >&6; }
3774 if { { ac_try
="$ac_link"
3776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3777 *) ac_try_echo=$ac_try;;
3779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3780 $as_echo "$ac_try_echo"; } >&5
3781 (eval "$ac_link") 2>&5
3783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3784 test $ac_status = 0; }; then :
3785 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3786 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3787 # work properly (i.e., refer to `conftest.exe'), while it won't with
3789 for ac_file
in conftest.exe conftest conftest.
*; do
3790 test -f "$ac_file" ||
continue
3792 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3793 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3801 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3802 See \`config.log' for more details" "$LINENO" 5; }
3804 rm -f conftest conftest
$ac_cv_exeext
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3806 $as_echo "$ac_cv_exeext" >&6; }
3808 rm -f conftest.
$ac_ext
3809 EXEEXT
=$ac_cv_exeext
3811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h. */
3817 FILE *f = fopen ("conftest.out", "w");
3818 return ferror (f) || fclose (f) != 0;
3824 ac_clean_files
="$ac_clean_files conftest.out"
3825 # Check that the compiler produces executables we can run. If not, either
3826 # the compiler is broken, or we cross compile.
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3828 $as_echo_n "checking whether we are cross compiling... " >&6; }
3829 if test "$cross_compiling" != yes; then
3830 { { ac_try
="$ac_link"
3832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3833 *) ac_try_echo=$ac_try;;
3835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3836 $as_echo "$ac_try_echo"; } >&5
3837 (eval "$ac_link") 2>&5
3839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3840 test $ac_status = 0; }
3841 if { ac_try='./conftest$ac_cv_exeext'
3842 { { case "(($ac_try" in
3843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3844 *) ac_try_echo
=$ac_try;;
3846 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848 (eval "$ac_try") 2>&5
3850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851 test $ac_status = 0; }; }; then
3854 if test "$cross_compiling" = maybe
; then
3857 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3859 as_fn_error $?
"cannot run C compiled programs.
3860 If you meant to cross compile, use \`--host'.
3861 See \`config.log' for more details" "$LINENO" 5; }
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3866 $as_echo "$cross_compiling" >&6; }
3868 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3869 ac_clean_files
=$ac_clean_files_save
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3871 $as_echo_n "checking for suffix of object files... " >&6; }
3872 if ${ac_cv_objext+:} false
; then :
3873 $as_echo_n "(cached) " >&6
3875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3886 rm -f conftest.o conftest.obj
3887 if { { ac_try
="$ac_compile"
3889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3890 *) ac_try_echo=$ac_try;;
3892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3893 $as_echo "$ac_try_echo"; } >&5
3894 (eval "$ac_compile") 2>&5
3896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3897 test $ac_status = 0; }; then :
3898 for ac_file in conftest.o conftest.obj conftest.*; do
3899 test -f "$ac_file" || continue;
3901 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3902 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3907 $as_echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.$ac_ext >&5
3910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3912 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3913 See \
`config.log' for more details" "$LINENO" 5; }
3915 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3918 $as_echo "$ac_cv_objext" >&6; }
3919 OBJEXT=$ac_cv_objext
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3922 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3923 if ${ac_cv_c_compiler_gnu+:} false; then :
3924 $as_echo_n "(cached) " >&6
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3940 if ac_fn_c_try_compile "$LINENO"; then :
3945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3946 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3950 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3951 if test $ac_compiler_gnu = yes; then
3956 ac_test_CFLAGS=${CFLAGS+set}
3957 ac_save_CFLAGS=$CFLAGS
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3959 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3960 if ${ac_cv_prog_cc_g+:} false; then :
3961 $as_echo_n "(cached) " >&6
3963 ac_save_c_werror_flag=$ac_c_werror_flag
3964 ac_c_werror_flag=yes
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3978 if ac_fn_c_try_compile "$LINENO"; then :
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3993 if ac_fn_c_try_compile "$LINENO"; then :
3996 ac_c_werror_flag=$ac_save_c_werror_flag
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4009 if ac_fn_c_try_compile "$LINENO"; then :
4012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4017 ac_c_werror_flag=$ac_save_c_werror_flag
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4020 $as_echo "$ac_cv_prog_cc_g" >&6; }
4021 if test "$ac_test_CFLAGS" = set; then
4022 CFLAGS=$ac_save_CFLAGS
4023 elif test $ac_cv_prog_cc_g = yes; then
4024 if test "$GCC" = yes; then
4030 if test "$GCC" = yes; then
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4037 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4038 if ${ac_cv_prog_cc_c89+:} false; then :
4039 $as_echo_n "(cached) " >&6
4041 ac_cv_prog_cc_c89=no
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4048 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4049 struct buf { int x; };
4050 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4051 static char *e (p, i)
4057 static char *f (char * (*g) (char **, int), char **p, ...)
4062 s = g (p, va_arg (v,int));
4067 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4068 function prototypes and stuff, but not '\xHH' hex character constants.
4069 These don't provoke an error unfortunately, instead are silently treated
4070 as 'x'. The following induces an error, until -std is added to get
4071 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4072 array size at least. It's necessary to write '\x00'==0 to get something
4073 that's true only with -std. */
4074 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4076 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4077 inside strings and character constants. */
4079 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4081 int test (int i, double x);
4082 struct s1 {int (*f) (int a);};
4083 struct s2 {int (*f) (double a);};
4084 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4090 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4095 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4096 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4098 CC="$ac_save_CC $ac_arg"
4099 if ac_fn_c_try_compile "$LINENO"; then :
4100 ac_cv_prog_cc_c89=$ac_arg
4102 rm -f core conftest.err conftest.$ac_objext
4103 test "x$ac_cv_prog_cc_c89" != "xno" && break
4105 rm -f conftest.$ac_ext
4110 case "x$ac_cv_prog_cc_c89" in
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4113 $as_echo "none needed" >&6; } ;;
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4116 $as_echo "unsupported" >&6; } ;;
4118 CC="$CC $ac_cv_prog_cc_c89"
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4120 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4122 if test "x$ac_cv_prog_cc_c89" != xno; then :
4127 ac_cpp='$CPP $CPPFLAGS'
4128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing NewList" >&5
4134 $as_echo_n "checking for library containing NewList... " >&6; }
4135 if ${ac_cv_search_NewList+:} false; then :
4136 $as_echo_n "(cached) " >&6
4138 ac_func_search_save_LIBS=$LIBS
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4142 /* Override any GCC internal prototype to avoid an error.
4143 Use char because int might match the return type of a GCC
4144 builtin and then its argument prototype would still apply. */
4157 for ac_lib in '' amiga; do
4158 if test -z "$ac_lib"; then
4159 ac_res="none required"
4162 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4164 if ac_fn_c_try_link "$LINENO"; then :
4165 ac_cv_search_NewList=$ac_res
4167 rm -f core conftest.err conftest.$ac_objext \
4169 if ${ac_cv_search_NewList+:} false; then :
4173 if ${ac_cv_search_NewList+:} false; then :
4176 ac_cv_search_NewList=no
4179 LIBS=$ac_func_search_save_LIBS
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_NewList" >&5
4182 $as_echo "$ac_cv_search_NewList" >&6; }
4183 ac_res=$ac_cv_search_NewList
4184 if test "$ac_res" != no; then :
4185 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libamiga is missing." >&5
4189 $as_echo "$as_me: WARNING: libamiga is missing." >&2;}
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5
4193 $as_echo_n "checking for library containing floor... " >&6; }
4194 if ${ac_cv_search_floor+:} false; then :
4195 $as_echo_n "(cached) " >&6
4197 ac_func_search_save_LIBS=$LIBS
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4201 /* Override any GCC internal prototype to avoid an error.
4202 Use char because int might match the return type of a GCC
4203 builtin and then its argument prototype would still apply. */
4216 for ac_lib in '' m; do
4217 if test -z "$ac_lib"; then
4218 ac_res="none required"
4221 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4223 if ac_fn_c_try_link "$LINENO"; then :
4224 ac_cv_search_floor=$ac_res
4226 rm -f core conftest.err conftest.$ac_objext \
4228 if ${ac_cv_search_floor+:} false; then :
4232 if ${ac_cv_search_floor+:} false; then :
4235 ac_cv_search_floor=no
4238 LIBS=$ac_func_search_save_LIBS
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5
4241 $as_echo "$ac_cv_search_floor" >&6; }
4242 ac_res=$ac_cv_search_floor
4243 if test "$ac_res" != no; then :
4244 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4247 as_fn_error $? "libm is missing." "$LINENO" 5
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing IntuitionBase" >&5
4251 $as_echo_n "checking for library containing IntuitionBase... " >&6; }
4252 if ${ac_cv_search_IntuitionBase+:} false; then :
4253 $as_echo_n "(cached) " >&6
4255 ac_func_search_save_LIBS=$LIBS
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4259 /* Override any GCC internal prototype to avoid an error.
4260 Use char because int might match the return type of a GCC
4261 builtin and then its argument prototype would still apply. */
4265 char IntuitionBase ();
4269 return IntuitionBase ();
4274 for ac_lib in '' auto; do
4275 if test -z "$ac_lib"; then
4276 ac_res="none required"
4279 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4281 if ac_fn_c_try_link "$LINENO"; then :
4282 ac_cv_search_IntuitionBase=$ac_res
4284 rm -f core conftest.err conftest.$ac_objext \
4286 if ${ac_cv_search_IntuitionBase+:} false; then :
4290 if ${ac_cv_search_IntuitionBase+:} false; then :
4293 ac_cv_search_IntuitionBase=no
4296 LIBS=$ac_func_search_save_LIBS
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_IntuitionBase" >&5
4299 $as_echo "$ac_cv_search_IntuitionBase" >&6; }
4300 ac_res=$ac_cv_search_IntuitionBase
4301 if test "$ac_res" != no; then :
4302 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Who cares?" >&5
4306 $as_echo "$as_me: WARNING: Who cares?" >&2;}
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing LayoutBase" >&5
4310 $as_echo_n "checking for library containing LayoutBase... " >&6; }
4311 if ${ac_cv_search_LayoutBase+:} false; then :
4312 $as_echo_n "(cached) " >&6
4314 ac_func_search_save_LIBS=$LIBS
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4318 /* Override any GCC internal prototype to avoid an error.
4319 Use char because int might match the return type of a GCC
4320 builtin and then its argument prototype would still apply. */
4328 return LayoutBase ();
4333 for ac_lib in '' raauto; do
4334 if test -z "$ac_lib"; then
4335 ac_res="none required"
4338 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4340 if ac_fn_c_try_link "$LINENO"; then :
4341 ac_cv_search_LayoutBase=$ac_res
4343 rm -f core conftest.err conftest.$ac_objext \
4345 if ${ac_cv_search_LayoutBase+:} false; then :
4349 if ${ac_cv_search_LayoutBase+:} false; then :
4352 ac_cv_search_LayoutBase=no
4355 LIBS=$ac_func_search_save_LIBS
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_LayoutBase" >&5
4358 $as_echo "$ac_cv_search_LayoutBase" >&6; }
4359 ac_res=$ac_cv_search_LayoutBase
4360 if test "$ac_res" != no; then :
4361 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Who cares?" >&5
4365 $as_echo "$as_me: WARNING: Who cares?" >&2;}
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MUI_NewObject" >&5
4369 $as_echo_n "checking for library containing MUI_NewObject... " >&6; }
4370 if ${ac_cv_search_MUI_NewObject+:} false; then :
4371 $as_echo_n "(cached) " >&6
4373 ac_func_search_save_LIBS=$LIBS
4374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4375 /* end confdefs.h. */
4377 /* Override any GCC internal prototype to avoid an error.
4378 Use char because int might match the return type of a GCC
4379 builtin and then its argument prototype would still apply. */
4383 char MUI_NewObject ();
4387 return MUI_NewObject ();
4392 for ac_lib in '' mui; do
4393 if test -z "$ac_lib"; then
4394 ac_res="none required"
4397 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4399 if ac_fn_c_try_link "$LINENO"; then :
4400 ac_cv_search_MUI_NewObject=$ac_res
4402 rm -f core conftest.err conftest.$ac_objext \
4404 if ${ac_cv_search_MUI_NewObject+:} false; then :
4408 if ${ac_cv_search_MUI_NewObject+:} false; then :
4411 ac_cv_search_MUI_NewObject=no
4414 LIBS=$ac_func_search_save_LIBS
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MUI_NewObject" >&5
4417 $as_echo "$ac_cv_search_MUI_NewObject" >&6; }
4418 ac_res=$ac_cv_search_MUI_NewObject
4419 if test "$ac_res" != no; then :
4420 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Who cares?" >&5
4424 $as_echo "$as_me: WARNING: Who cares?" >&2;}
4436 ac_cpp='$CPP $CPPFLAGS'
4437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4441 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4442 # On Suns, sometimes $CPP names a directory.
4443 if test -n "$CPP" && test -d "$CPP"; then
4446 if test -z "$CPP"; then
4447 if ${ac_cv_prog_CPP+:} false; then :
4448 $as_echo_n "(cached) " >&6
4450 # Double quotes because CPP needs to be expanded
4451 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4454 for ac_c_preproc_warn_flag in '' yes
4456 # Use a header file that comes with gcc, so configuring glibc
4457 # with a fresh cross-compiler works.
4458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4459 # <limits.h> exists even on freestanding compilers.
4460 # On the NeXT, cc -E runs the code through the compiler's parser,
4461 # not just through cpp. "Syntax error" is here to catch this case.
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463 /* end confdefs.h. */
4465 # include <limits.h>
4467 # include <assert.h>
4471 if ac_fn_c_try_cpp "$LINENO"; then :
4474 # Broken: fails on valid input.
4477 rm -f conftest.err conftest.i conftest.$ac_ext
4479 # OK, works on sane cases. Now check whether nonexistent headers
4480 # can be detected and how.
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4483 #include <ac_nonexistent.h>
4485 if ac_fn_c_try_cpp "$LINENO"; then :
4486 # Broken: success on invalid input.
4489 # Passes both tests.
4493 rm -f conftest.err conftest.i conftest.$ac_ext
4496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4497 rm -f conftest.i conftest.err conftest.
$ac_ext
4498 if $ac_preproc_ok; then :
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4511 $as_echo "$CPP" >&6; }
4513 for ac_c_preproc_warn_flag
in '' yes
4515 # Use a header file that comes with gcc, so configuring glibc
4516 # with a fresh cross-compiler works.
4517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4518 # <limits.h> exists even on freestanding compilers.
4519 # On the NeXT, cc -E runs the code through the compiler's parser,
4520 # not just through cpp. "Syntax error" is here to catch this case.
4521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4524 # include <limits.h>
4526 # include <assert.h>
4530 if ac_fn_c_try_cpp
"$LINENO"; then :
4533 # Broken: fails on valid input.
4536 rm -f conftest.err conftest.i conftest.
$ac_ext
4538 # OK, works on sane cases. Now check whether nonexistent headers
4539 # can be detected and how.
4540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4542 #include <ac_nonexistent.h>
4544 if ac_fn_c_try_cpp
"$LINENO"; then :
4545 # Broken: success on invalid input.
4548 # Passes both tests.
4552 rm -f conftest.err conftest.i conftest.
$ac_ext
4555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4556 rm -f conftest.i conftest.err conftest.
$ac_ext
4557 if $ac_preproc_ok; then :
4560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4562 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4563 See \`config.log' for more details" "$LINENO" 5; }
4567 ac_cpp
='$CPP $CPPFLAGS'
4568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4574 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4575 if ${ac_cv_path_GREP+:} false
; then :
4576 $as_echo_n "(cached) " >&6
4578 if test -z "$GREP"; then
4579 ac_path_GREP_found
=false
4580 # Loop through the user's path and test for each of PROGNAME-LIST
4581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4582 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4585 test -z "$as_dir" && as_dir
=.
4586 for ac_prog
in grep ggrep
; do
4587 for ac_exec_ext
in '' $ac_executable_extensions; do
4588 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4589 as_fn_executable_p
"$ac_path_GREP" ||
continue
4590 # Check for GNU ac_path_GREP and select it if it is found.
4591 # Check for GNU $ac_path_GREP
4592 case `"$ac_path_GREP" --version 2>&1` in
4594 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4597 $as_echo_n 0123456789 >"conftest.in"
4600 cat "conftest.in" "conftest.in" >"conftest.tmp"
4601 mv "conftest.tmp" "conftest.in"
4602 cp "conftest.in" "conftest.nl"
4603 $as_echo 'GREP' >> "conftest.nl"
4604 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4605 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4606 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4607 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4608 # Best one so far, save it but keep looking for a better one
4609 ac_cv_path_GREP
="$ac_path_GREP"
4610 ac_path_GREP_max
=$ac_count
4612 # 10*(2^10) chars as input seems more than enough
4613 test $ac_count -gt 10 && break
4615 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4618 $ac_path_GREP_found && break 3
4623 if test -z "$ac_cv_path_GREP"; then
4624 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4627 ac_cv_path_GREP
=$GREP
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4632 $as_echo "$ac_cv_path_GREP" >&6; }
4633 GREP
="$ac_cv_path_GREP"
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4637 $as_echo_n "checking for egrep... " >&6; }
4638 if ${ac_cv_path_EGREP+:} false
; then :
4639 $as_echo_n "(cached) " >&6
4641 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4642 then ac_cv_path_EGREP
="$GREP -E"
4644 if test -z "$EGREP"; then
4645 ac_path_EGREP_found
=false
4646 # Loop through the user's path and test for each of PROGNAME-LIST
4647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4648 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4651 test -z "$as_dir" && as_dir
=.
4652 for ac_prog
in egrep; do
4653 for ac_exec_ext
in '' $ac_executable_extensions; do
4654 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4655 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4656 # Check for GNU ac_path_EGREP and select it if it is found.
4657 # Check for GNU $ac_path_EGREP
4658 case `"$ac_path_EGREP" --version 2>&1` in
4660 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4663 $as_echo_n 0123456789 >"conftest.in"
4666 cat "conftest.in" "conftest.in" >"conftest.tmp"
4667 mv "conftest.tmp" "conftest.in"
4668 cp "conftest.in" "conftest.nl"
4669 $as_echo 'EGREP' >> "conftest.nl"
4670 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4671 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4672 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4673 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4674 # Best one so far, save it but keep looking for a better one
4675 ac_cv_path_EGREP
="$ac_path_EGREP"
4676 ac_path_EGREP_max
=$ac_count
4678 # 10*(2^10) chars as input seems more than enough
4679 test $ac_count -gt 10 && break
4681 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4684 $ac_path_EGREP_found && break 3
4689 if test -z "$ac_cv_path_EGREP"; then
4690 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4693 ac_cv_path_EGREP
=$EGREP
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4699 $as_echo "$ac_cv_path_EGREP" >&6; }
4700 EGREP
="$ac_cv_path_EGREP"
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4704 $as_echo_n "checking for ANSI C header files... " >&6; }
4705 if ${ac_cv_header_stdc+:} false
; then :
4706 $as_echo_n "(cached) " >&6
4708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4723 if ac_fn_c_try_compile
"$LINENO"; then :
4724 ac_cv_header_stdc
=yes
4726 ac_cv_header_stdc
=no
4728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4730 if test $ac_cv_header_stdc = yes; then
4731 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4738 $EGREP "memchr" >/dev
/null
2>&1; then :
4741 ac_cv_header_stdc
=no
4747 if test $ac_cv_header_stdc = yes; then
4748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4755 $EGREP "free" >/dev
/null
2>&1; then :
4758 ac_cv_header_stdc
=no
4764 if test $ac_cv_header_stdc = yes; then
4765 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4766 if test "$cross_compiling" = yes; then :
4769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4773 #if ((' ' & 0x0FF) == 0x020)
4774 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4775 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4777 # define ISLOWER(c) \
4778 (('a' <= (c) && (c) <= 'i') \
4779 || ('j' <= (c) && (c) <= 'r') \
4780 || ('s' <= (c) && (c) <= 'z'))
4781 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4784 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4789 for (i = 0; i < 256; i++)
4790 if (XOR (islower (i), ISLOWER (i))
4791 || toupper (i) != TOUPPER (i))
4796 if ac_fn_c_try_run
"$LINENO"; then :
4799 ac_cv_header_stdc
=no
4801 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4802 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4808 $as_echo "$ac_cv_header_stdc" >&6; }
4809 if test $ac_cv_header_stdc = yes; then
4811 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4815 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4816 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4817 inttypes.h stdint.h unistd.h
4819 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4820 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4822 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4823 cat >>confdefs.h
<<_ACEOF
4824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4832 for ac_header
in proto
/oss.h
4834 ac_fn_c_check_header_mongrel
"$LINENO" "proto/oss.h" "ac_cv_header_proto_oss_h" "$ac_includes_default"
4835 if test "x$ac_cv_header_proto_oss_h" = xyes
; then :
4836 cat >>confdefs.h
<<_ACEOF
4837 #define HAVE_PROTO_OSS_H 1
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"proto/oss.h is missing.\" " >&5
4842 $as_echo "$as_me: WARNING: \"proto/oss.h is missing.\" " >&2;}
4847 for ac_header
in asm
/io.h
4849 ac_fn_c_check_header_mongrel
"$LINENO" "asm/io.h" "ac_cv_header_asm_io_h" "$ac_includes_default"
4850 if test "x$ac_cv_header_asm_io_h" = xyes
; then :
4851 cat >>confdefs.h
<<_ACEOF
4852 #define HAVE_ASM_IO_H 1
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"asm/io.h is missing.\" " >&5
4857 $as_echo "$as_me: WARNING: \"asm/io.h is missing.\" " >&2;}
4862 for ac_header
in libraries
/openpci.h
4864 ac_fn_c_check_header_mongrel
"$LINENO" "libraries/openpci.h" "ac_cv_header_libraries_openpci_h" "$ac_includes_default"
4865 if test "x$ac_cv_header_libraries_openpci_h" = xyes
; then :
4866 cat >>confdefs.h
<<_ACEOF
4867 #define HAVE_LIBRARIES_OPENPCI_H 1
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libraries/openpci.h is missing.\" " >&5
4872 $as_echo "$as_me: WARNING: \"libraries/openpci.h is missing.\" " >&2;}
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA_Init in -lalsa-bridge" >&5
4884 $as_echo_n "checking for ALSA_Init in -lalsa-bridge... " >&6; }
4885 if ${ac_cv_lib_alsa_bridge_ALSA_Init+:} false
; then :
4886 $as_echo_n "(cached) " >&6
4888 ac_check_lib_save_LIBS
=$LIBS
4889 LIBS
="-lalsa-bridge $LIBS"
4890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4893 /* Override any GCC internal prototype to avoid an error.
4894 Use char because int might match the return type of a GCC
4895 builtin and then its argument prototype would still apply. */
4903 return ALSA_Init ();
4908 if ac_fn_c_try_link
"$LINENO"; then :
4909 ac_cv_lib_alsa_bridge_ALSA_Init
=yes
4911 ac_cv_lib_alsa_bridge_ALSA_Init
=no
4913 rm -f core conftest.err conftest.
$ac_objext \
4914 conftest
$ac_exeext conftest.
$ac_ext
4915 LIBS
=$ac_check_lib_save_LIBS
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_alsa_bridge_ALSA_Init" >&5
4918 $as_echo "$ac_cv_lib_alsa_bridge_ALSA_Init" >&6; }
4919 if test "x$ac_cv_lib_alsa_bridge_ALSA_Init" = xyes
; then :
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"alsa-bridge is missing.\" " >&5
4923 $as_echo "$as_me: WARNING: \"alsa-bridge is missing.\" " >&2;}
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4931 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4932 if ${ac_cv_c_const+:} false
; then :
4933 $as_echo_n "(cached) " >&6
4935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4943 /* Ultrix mips cc rejects this sort of thing. */
4944 typedef int charset[2];
4945 const charset cs = { 0, 0 };
4946 /* SunOS 4.1.1 cc rejects this. */
4947 char const *const *pcpcc;
4949 /* NEC SVR4.0.2 mips cc rejects this. */
4950 struct point {int x, y;};
4951 static struct point const zero = {0,0};
4952 /* AIX XL C 1.02.0.0 rejects this.
4953 It does not let you subtract one const X* pointer from another in
4954 an arm of an if-expression whose if-part is not a constant
4956 const char *g = "string";
4957 pcpcc = &g + (g ? g-g : 0);
4958 /* HPUX 7.0 cc rejects these. */
4960 ppc = (char**) pcpcc;
4961 pcpcc = (char const *const *) ppc;
4962 { /* SCO 3.2v4 cc rejects this sort of thing. */
4965 char const *s = 0 ? (char *) 0 : (char const *) 0;
4970 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4972 const int *foo = &x[0];
4975 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4976 typedef const int *iptr;
4980 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4981 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4982 struct s { int j; const int *ap[3]; } bx;
4983 struct s *b = &bx; b->j = 5;
4985 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4989 return !cs[0] && !zero.x;
4996 if ac_fn_c_try_compile
"$LINENO"; then :
5001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5004 $as_echo "$ac_cv_c_const" >&6; }
5005 if test $ac_cv_c_const = no
; then
5007 $as_echo "#define const /**/" >>confdefs.h
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5012 $as_echo_n "checking for inline... " >&6; }
5013 if ${ac_cv_c_inline+:} false
; then :
5014 $as_echo_n "(cached) " >&6
5017 for ac_kw
in inline __inline__ __inline
; do
5018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5022 static $ac_kw foo_t static_foo () {return 0; }
5023 $ac_kw foo_t foo () {return 0; }
5027 if ac_fn_c_try_compile
"$LINENO"; then :
5028 ac_cv_c_inline
=$ac_kw
5030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5031 test "$ac_cv_c_inline" != no
&& break
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5036 $as_echo "$ac_cv_c_inline" >&6; }
5038 case $ac_cv_c_inline in
5041 case $ac_cv_c_inline in
5043 *) ac_val
=$ac_cv_c_inline;;
5045 cat >>confdefs.h
<<_ACEOF
5047 #define inline $ac_val
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5054 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5055 if ${ac_cv_c_bigendian+:} false
; then :
5056 $as_echo_n "(cached) " >&6
5058 ac_cv_c_bigendian
=unknown
5059 # See if we're dealing with a universal compiler.
5060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5062 #ifndef __APPLE_CC__
5063 not a universal capable compiler
5068 if ac_fn_c_try_compile
"$LINENO"; then :
5070 # Check for potential -arch flags. It is not universal unless
5071 # there are at least two -arch flags with different values.
5074 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5075 if test -n "$ac_prev"; then
5077 i?
86 | x86_64 | ppc | ppc64
)
5078 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5081 ac_cv_c_bigendian
=universal
5087 elif test "x$ac_word" = "x-arch"; then
5092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5093 if test $ac_cv_c_bigendian = unknown
; then
5094 # See if sys/param.h defines the BYTE_ORDER macro.
5095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5096 /* end confdefs.h. */
5097 #include <sys/types.h>
5098 #include <sys/param.h>
5103 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5104 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5113 if ac_fn_c_try_compile
"$LINENO"; then :
5114 # It does; now see whether it defined to BIG_ENDIAN or not.
5115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5116 /* end confdefs.h. */
5117 #include <sys/types.h>
5118 #include <sys/param.h>
5123 #if BYTE_ORDER != BIG_ENDIAN
5131 if ac_fn_c_try_compile
"$LINENO"; then :
5132 ac_cv_c_bigendian
=yes
5134 ac_cv_c_bigendian
=no
5136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5140 if test $ac_cv_c_bigendian = unknown
; then
5141 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5149 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5157 if ac_fn_c_try_compile
"$LINENO"; then :
5158 # It does; now see whether it defined to _BIG_ENDIAN or not.
5159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5160 /* end confdefs.h. */
5174 if ac_fn_c_try_compile
"$LINENO"; then :
5175 ac_cv_c_bigendian
=yes
5177 ac_cv_c_bigendian
=no
5179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5183 if test $ac_cv_c_bigendian = unknown
; then
5184 # Compile a test program.
5185 if test "$cross_compiling" = yes; then :
5186 # Try to guess by grepping values from an object file.
5187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5188 /* end confdefs.h. */
5189 short int ascii_mm[] =
5190 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5191 short int ascii_ii[] =
5192 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5193 int use_ascii (int i) {
5194 return ascii_mm[i] + ascii_ii[i];
5196 short int ebcdic_ii[] =
5197 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5198 short int ebcdic_mm[] =
5199 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5200 int use_ebcdic (int i) {
5201 return ebcdic_mm[i] + ebcdic_ii[i];
5208 return use_ascii (foo) == use_ebcdic (foo);
5213 if ac_fn_c_try_compile
"$LINENO"; then :
5214 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5215 ac_cv_c_bigendian
=yes
5217 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5218 if test "$ac_cv_c_bigendian" = unknown
; then
5219 ac_cv_c_bigendian
=no
5221 # finding both strings is unlikely to happen, but who knows?
5222 ac_cv_c_bigendian
=unknown
5226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h. */
5230 $ac_includes_default
5235 /* Are we little or big endian? From Harbison&Steele. */
5239 char c[sizeof (long int)];
5242 return u.c[sizeof (long int) - 1] == 1;
5248 if ac_fn_c_try_run
"$LINENO"; then :
5249 ac_cv_c_bigendian
=no
5251 ac_cv_c_bigendian
=yes
5253 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5254 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5260 $as_echo "$ac_cv_c_bigendian" >&6; }
5261 case $ac_cv_c_bigendian in #(
5263 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5269 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5273 as_fn_error $?
"unknown endianness
5274 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5280 ac_config_files
="$ac_config_files Makefile AHI/Makefile AHI-Handler/Makefile AddAudioModes/Makefile Device/Makefile Docs/Makefile Drivers/Makefile Drivers/ac97/Makefile Drivers/VIA-AC97/Makefile Drivers/HDAudio/Makefile Drivers/Alsa/Makefile Drivers/CMI8738/Makefile Drivers/SB128/Makefile Drivers/AROS/Makefile Drivers/Common/Makefile.common Drivers/Device/Makefile Drivers/EMU10kx/Makefile Drivers/Envy24HT/Makefile Drivers/Envy24/Makefile Drivers/Filesave/Makefile Drivers/Void/Makefile Examples/Makefile Examples/Device/PlayTest/Makefile Examples/Extras/CloneAudioModes/Makefile Examples/Low-level/PlaySineEverywhere/Makefile Examples/Low-level/Test-7.1/Makefile Examples/Low-level/ScanAudioModes/Makefile Include/Makefile"
5282 ac_config_commands
="$ac_config_commands default"
5284 cat >confcache
<<\_ACEOF
5285 # This file is a shell script that caches the results of configure
5286 # tests run on this system so they can be shared between configure
5287 # scripts and configure runs, see configure's option --config-cache.
5288 # It is not useful on other systems. If it contains results you don't
5289 # want to keep, you may remove or edit it.
5291 # config.status only pays attention to the cache file if you give it
5292 # the --recheck option to rerun configure.
5294 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5295 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5300 # The following way of writing the cache mishandles newlines in values,
5301 # but we know of no workaround that is simple, portable, and efficient.
5302 # So, we kill variables containing newlines.
5303 # Ultrix sh set writes to stderr and can't be redirected directly,
5304 # and sets the high bit in the cache file unless we assign to the vars.
5306 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5307 eval ac_val
=\$
$ac_var
5311 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5312 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5315 _ | IFS | as_nl
) ;; #(
5316 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5317 *) { eval $ac_var=; unset $ac_var;} ;;
5323 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5324 *${as_nl}ac_space
=\
*)
5325 # `set' does not quote correctly, so add quotes: double-quote
5326 # substitution turns \\\\ into \\, and sed turns \\ into \.
5329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5332 # `set' quotes correctly as required by POSIX, so do not add quotes.
5333 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5342 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5344 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5346 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5347 if test -w "$cache_file"; then
5348 if test "x$cache_file" != "x/dev/null"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5350 $as_echo "$as_me: updating cache $cache_file" >&6;}
5351 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5352 cat confcache
>"$cache_file"
5354 case $cache_file in #(
5356 mv -f confcache
"$cache_file"$$
&&
5357 mv -f "$cache_file"$$
"$cache_file" ;; #(
5359 mv -f confcache
"$cache_file" ;;
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5365 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5370 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5371 # Let make expand exec_prefix.
5372 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5374 DEFS
=-DHAVE_CONFIG_H
5379 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5380 # 1. Remove the extension, and $U if already installed.
5381 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5382 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5383 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5384 # will be set to the directory where LIBOBJS objects are built.
5385 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5386 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5390 LTLIBOBJS
=$ac_ltlibobjs
5395 : "${CONFIG_STATUS=./config.status}"
5397 ac_clean_files_save
=$ac_clean_files
5398 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5400 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5402 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5404 # Generated by $as_me.
5405 # Run this file to recreate the current configuration.
5406 # Compiler output produced by configure, useful for debugging
5407 # configure, is in config.log if it exists.
5413 SHELL=\${CONFIG_SHELL-$SHELL}
5416 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5417 ## -------------------- ##
5418 ## M4sh Initialization. ##
5419 ## -------------------- ##
5421 # Be more Bourne compatible
5422 DUALCASE
=1; export DUALCASE
# for MKS sh
5423 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5426 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5427 # is contrary to our usage. Disable this feature.
5428 alias -g '${1+"$@"}'='"$@"'
5429 setopt NO_GLOB_SUBST
5431 case `(set -o) 2>/dev/null` in #(
5443 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5444 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5445 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5446 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5447 # Prefer a ksh shell builtin over an external printf program on Solaris,
5448 # but without wasting forks for bash or zsh.
5449 if test -z "$BASH_VERSION$ZSH_VERSION" \
5450 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5451 as_echo='print
-r --'
5452 as_echo_n='print
-rn --'
5453 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5454 as_echo='printf %s
\n'
5455 as_echo_n='printf %s
'
5457 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5458 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5459 as_echo_n='/usr
/ucb
/echo -n'
5461 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5462 as_echo_n_body='eval
5466 expr "X$arg" : "X\\(.*\\)$as_nl";
5467 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5469 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5471 export as_echo_n_body
5472 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5475 as_echo='sh
-c $as_echo_body as_echo
'
5478 # The user is always right.
5479 if test "${PATH_SEPARATOR+set}" != set; then
5481 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5482 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5489 # We need space, tab and new line, in precisely that order. Quoting is
5490 # there to prevent editors from complaining about space-tab.
5491 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5492 # splitting by setting IFS to empty value.)
5495 # Find who we are. Look in the path if we contain no directory separator.
5498 *[\\/]* ) as_myself=$0 ;;
5499 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 test -z "$as_dir" && as_dir=.
5504 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5510 # We did not find ourselves, most probably we were run as `sh COMMAND'
5511 # in which case we are not to be found in the path.
5512 if test "x$as_myself" = x
; then
5515 if test ! -f "$as_myself"; then
5516 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5520 # Unset variables that we do not need and which cause bugs (e.g. in
5521 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5522 # suppresses any "Segmentation fault" message there. '((' could
5523 # trigger a bug in pdksh 5.2.14.
5524 for as_var
in BASH_ENV ENV MAIL MAILPATH
5525 do eval test x\
${$as_var+set} = xset \
5526 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5539 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5542 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5543 # ----------------------------------------
5544 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5545 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5546 # script with STATUS, using 1 if that was 0.
5549 as_status
=$1; test $as_status -eq 0 && as_status
=1
5551 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5552 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5554 $as_echo "$as_me: error: $2" >&2
5555 as_fn_exit
$as_status
5559 # as_fn_set_status STATUS
5560 # -----------------------
5561 # Set $? to STATUS, without forking.
5565 } # as_fn_set_status
5569 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5579 # Portably unset VAR.
5582 { eval $1=; unset $1;}
5584 as_unset
=as_fn_unset
5585 # as_fn_append VAR VALUE
5586 # ----------------------
5587 # Append the text in VALUE to the end of the definition contained in VAR. Take
5588 # advantage of any shell optimizations that allow amortized linear growth over
5589 # repeated appends, instead of the typical quadratic growth present in naive
5591 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5592 eval 'as_fn_append ()
5603 # as_fn_arith ARG...
5604 # ------------------
5605 # Perform arithmetic evaluation on the ARGs, and store the result in the
5606 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5607 # must be portable across $(()) and expr.
5608 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5609 eval 'as_fn_arith ()
5616 as_val
=`expr "$@" || test $? -eq 1`
5621 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5622 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5628 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5629 as_basename
=basename
5634 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5640 as_me
=`$as_basename -- "$0" ||
5641 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5642 X"$0" : 'X\(//\)$' \| \
5643 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5645 sed '/^.*\/\([^/][^/]*\)\/*$/{
5659 # Avoid depending upon Character Ranges.
5660 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5661 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5662 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5663 as_cr_digits
='0123456789'
5664 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5666 ECHO_C
= ECHO_N
= ECHO_T
=
5667 case `echo -n x` in #(((((
5669 case `echo 'xy\c'` in
5670 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5672 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5679 rm -f conf$$ conf$$.exe conf$$.
file
5680 if test -d conf$$.dir
; then
5681 rm -f conf$$.dir
/conf$$.
file
5684 mkdir conf$$.dir
2>/dev
/null
5686 if (echo >conf$$.
file) 2>/dev
/null
; then
5687 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5689 # ... but there are two gotchas:
5690 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5691 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5692 # In both cases, we have to default to `cp -pR'.
5693 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5695 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5703 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5704 rmdir conf$$.dir
2>/dev
/null
5709 # Create "$as_dir" as a directory, including parents if necessary.
5714 -*) as_dir
=.
/$as_dir;;
5716 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5720 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5721 *) as_qdir
=$as_dir;;
5723 as_dirs
="'$as_qdir' $as_dirs"
5724 as_dir
=`$as_dirname -- "$as_dir" ||
5725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5726 X"$as_dir" : 'X\(//\)[^/]' \| \
5727 X"$as_dir" : 'X\(//\)$' \| \
5728 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5729 $as_echo X"$as_dir" |
5730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5747 test -d "$as_dir" && break
5749 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5750 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5754 if mkdir
-p .
2>/dev
/null
; then
5755 as_mkdir_p
='mkdir -p "$as_dir"'
5757 test -d .
/-p && rmdir .
/-p
5762 # as_fn_executable_p FILE
5763 # -----------------------
5764 # Test if FILE is an executable regular file.
5765 as_fn_executable_p
()
5767 test -f "$1" && test -x "$1"
5768 } # as_fn_executable_p
5770 as_executable_p
=as_fn_executable_p
5772 # Sed expression to map a string onto a valid CPP name.
5773 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5775 # Sed expression to map a string onto a valid variable name.
5776 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5780 ## ----------------------------------- ##
5781 ## Main body of $CONFIG_STATUS script. ##
5782 ## ----------------------------------- ##
5784 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5787 # Save the log message, to keep $0 and so on meaningful, and to
5788 # report actual input values of CONFIG_FILES etc. instead of their
5789 # values after options handling.
5791 This file was extended by $as_me, which was
5792 generated by GNU Autoconf 2.69. Invocation command line was
5794 CONFIG_FILES = $CONFIG_FILES
5795 CONFIG_HEADERS = $CONFIG_HEADERS
5796 CONFIG_LINKS = $CONFIG_LINKS
5797 CONFIG_COMMANDS = $CONFIG_COMMANDS
5800 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5805 case $ac_config_files in *"
5806 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5809 case $ac_config_headers in *"
5810 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5815 # Files that config.status was made for.
5816 config_files="$ac_config_files"
5817 config_headers="$ac_config_headers"
5818 config_commands="$ac_config_commands"
5822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5824 \`$as_me' instantiates files and other configuration actions
5825 from templates according to the current configuration. Unless the files
5826 and actions are specified as TAGs, all are instantiated by default.
5828 Usage: $0 [OPTION]... [TAG]...
5830 -h, --help print this help, then exit
5831 -V, --version print version number and configuration settings, then exit
5832 --config print configuration, then exit
5833 -q, --quiet, --silent
5834 do not print progress messages
5835 -d, --debug don't remove temporary files
5836 --recheck update $as_me by reconfiguring in the same conditions
5837 --file=FILE[:TEMPLATE]
5838 instantiate the configuration file FILE
5839 --header=FILE[:TEMPLATE]
5840 instantiate the configuration header FILE
5842 Configuration files:
5845 Configuration headers:
5848 Configuration commands:
5851 Report bugs to the package provider."
5854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5855 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5858 configured by $0, generated by GNU Autoconf 2.69,
5859 with options \\"\$ac_cs_config\\"
5861 Copyright (C) 2012 Free Software Foundation, Inc.
5862 This config.status script is free software; the Free Software Foundation
5863 gives unlimited permission to copy, distribute and modify it."
5868 test -n "\$AWK" || AWK=awk
5871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5872 # The default lists apply if the user does not specify any file.
5878 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5879 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5883 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5895 # Handling of the options.
5896 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5898 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5899 $as_echo "$ac_cs_version"; exit ;;
5900 --config |
--confi |
--conf |
--con |
--co |
--c )
5901 $as_echo "$ac_cs_config"; exit ;;
5902 --debug |
--debu |
--deb |
--de |
--d |
-d )
5904 --file |
--fil |
--fi |
--f )
5907 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5908 '') as_fn_error $?
"missing file argument" ;;
5910 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5911 ac_need_defaults
=false
;;
5912 --header |
--heade |
--head |
--hea )
5915 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5917 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5918 ac_need_defaults
=false
;;
5920 # Conflict between --help and --header
5921 as_fn_error $?
"ambiguous option: \`$1'
5922 Try \`$0 --help' for more information.";;
5923 --help |
--hel |
-h )
5924 $as_echo "$ac_cs_usage"; exit ;;
5925 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5926 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5930 -*) as_fn_error $?
"unrecognized option: \`$1'
5931 Try \`$0 --help' for more information." ;;
5933 *) as_fn_append ac_config_targets
" $1"
5934 ac_need_defaults
=false
;;
5940 ac_configure_extra_args
=
5942 if $ac_cs_silent; then
5944 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5949 if \$ac_cs_recheck; then
5950 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5952 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5953 CONFIG_SHELL='$SHELL'
5959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5963 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5964 ## Running $as_me. ##
5970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5975 # Handling of arguments.
5976 for ac_config_target
in $ac_config_targets
5978 case $ac_config_target in
5979 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5980 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5981 "AHI/Makefile") CONFIG_FILES
="$CONFIG_FILES AHI/Makefile" ;;
5982 "AHI-Handler/Makefile") CONFIG_FILES
="$CONFIG_FILES AHI-Handler/Makefile" ;;
5983 "AddAudioModes/Makefile") CONFIG_FILES
="$CONFIG_FILES AddAudioModes/Makefile" ;;
5984 "Device/Makefile") CONFIG_FILES
="$CONFIG_FILES Device/Makefile" ;;
5985 "Docs/Makefile") CONFIG_FILES
="$CONFIG_FILES Docs/Makefile" ;;
5986 "Drivers/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Makefile" ;;
5987 "Drivers/ac97/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/ac97/Makefile" ;;
5988 "Drivers/VIA-AC97/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/VIA-AC97/Makefile" ;;
5989 "Drivers/HDAudio/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/HDAudio/Makefile" ;;
5990 "Drivers/Alsa/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Alsa/Makefile" ;;
5991 "Drivers/CMI8738/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/CMI8738/Makefile" ;;
5992 "Drivers/SB128/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/SB128/Makefile" ;;
5993 "Drivers/AROS/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/AROS/Makefile" ;;
5994 "Drivers/Common/Makefile.common") CONFIG_FILES
="$CONFIG_FILES Drivers/Common/Makefile.common" ;;
5995 "Drivers/Device/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Device/Makefile" ;;
5996 "Drivers/EMU10kx/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/EMU10kx/Makefile" ;;
5997 "Drivers/Envy24HT/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Envy24HT/Makefile" ;;
5998 "Drivers/Envy24/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Envy24/Makefile" ;;
5999 "Drivers/Filesave/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Filesave/Makefile" ;;
6000 "Drivers/Void/Makefile") CONFIG_FILES
="$CONFIG_FILES Drivers/Void/Makefile" ;;
6001 "Examples/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Makefile" ;;
6002 "Examples/Device/PlayTest/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Device/PlayTest/Makefile" ;;
6003 "Examples/Extras/CloneAudioModes/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Extras/CloneAudioModes/Makefile" ;;
6004 "Examples/Low-level/PlaySineEverywhere/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Low-level/PlaySineEverywhere/Makefile" ;;
6005 "Examples/Low-level/Test-7.1/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Low-level/Test-7.1/Makefile" ;;
6006 "Examples/Low-level/ScanAudioModes/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Low-level/ScanAudioModes/Makefile" ;;
6007 "Include/Makefile") CONFIG_FILES
="$CONFIG_FILES Include/Makefile" ;;
6008 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6010 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6015 # If the user did not use the arguments to specify the items to instantiate,
6016 # then the envvar interface is used. Set only those that are not.
6017 # We use the long form for the default assignment because of an extremely
6018 # bizarre bug on SunOS 4.1.3.
6019 if $ac_need_defaults; then
6020 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6021 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6022 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6025 # Have a temporary directory for convenience. Make it in the build tree
6026 # simply because there is no reason against having it here, and in addition,
6027 # creating and moving files from /tmp can sometimes cause problems.
6028 # Hook for its removal unless debugging.
6029 # Note that there is a small window in which the directory will not be cleaned:
6030 # after its creation but before its name has been assigned to `$tmp'.
6034 trap 'exit_status=$?
6036 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6038 trap 'as_fn_exit 1' 1 2 13 15
6040 # Create a (secure) tmp directory for tmp files.
6043 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6047 tmp
=.
/conf$$
-$RANDOM
6048 (umask 077 && mkdir
"$tmp")
6049 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6052 # Set up the scripts for CONFIG_FILES section.
6053 # No need to generate them if there are no CONFIG_FILES.
6054 # This happens for instance with `./config.status config.h'.
6055 if test -n "$CONFIG_FILES"; then
6058 ac_cr
=`echo X | tr X '\015'`
6059 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6060 # But we know of no other shell where ac_cr would be empty at this
6061 # point, so we can use a bashism as a fallback.
6062 if test "x$ac_cr" = x
; then
6063 eval ac_cr
=\$
\'\\r
\'
6065 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6066 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6072 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6077 echo "cat >conf$$subs.awk <<_ACEOF" &&
6078 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6081 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6082 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6084 for ac_last_try in false false false false false :; do
6085 . ./conf$$subs.sh ||
6086 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6088 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6089 if test $ac_delim_n = $ac_delim_num; then
6091 elif $ac_last_try; then
6092 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6094 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6100 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6104 s/^/S["/; s
/!.
*/"]=/
6114 s/\(.\{148\}\)..*/\1/
6116 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6121 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6128 s/\(.\{148\}\)..*/\1/
6130 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6134 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6139 ' <conf$$subs.awk | sed '
6144 ' >>$CONFIG_STATUS || ac_write_fail=1
6145 rm -f conf$$subs.awk
6146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6148 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6149 for (key in S) S_is_set[key] = 1
6155 nfields = split(line, field, "@
")
6157 len = length(field[1])
6158 for (i = 2; i < nfields; i++) {
6160 keylen = length(key)
6161 if (S_is_set[key]) {
6163 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6164 len += length(value) + length(field[++i])
6175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6176 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6177 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6180 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6181 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6184 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6185 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6186 # trailing colons and then remove the whole line if VPATH becomes empty
6187 # (actually we leave an empty line to preserve line numbers).
6188 if test "x
$srcdir" = x.; then
6189 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6208 fi # test -n "$CONFIG_FILES"
6210 # Set up the scripts for CONFIG_HEADERS section.
6211 # No need to generate them if there are no CONFIG_HEADERS.
6212 # This happens for instance with `./config.status Makefile'.
6213 if test -n "$CONFIG_HEADERS"; then
6214 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
6218 # Transform confdefs.h into an awk script `defines.awk', embedded as
6219 # here-document in config.status, that substitutes the proper values into
6220 # config.h.in to produce config.h.
6222 # Create a delimiter string that does not exist in confdefs.h, to ease
6223 # handling of long lines.
6225 for ac_last_try in false false :; do
6226 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
6227 if test -z "$ac_tt"; then
6229 elif $ac_last_try; then
6230 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
6232 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6236 # For the awk script, D is an array of macro values keyed by name,
6237 # likewise P contains macro parameters if any. Preserve backslash
6238 # newline sequences.
6240 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6242 s/.\{148\}/&'"$ac_delim"'/g
6245 s/^[ ]*#[ ]*define[ ][ ]*/ /
6252 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6254 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6258 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6259 D["\
1"]=" \
3\\\\\\n
"\\/p
6261 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6266 s/.\{148\}/&'"$ac_delim"'/g
6271 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6274 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6276 ' <confdefs.h | sed '
6277 s/'"$ac_delim"'/"\\\
6278 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6281 for (key in D) D_is_set[key] = 1
6284 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6286 split(line, arg, " ")
6287 if (arg[1] == "#") {
6291 defundef
= substr
(arg
[1], 2)
6294 split(mac1
, mac2
, "(") #)
6296 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6297 if (D_is_set
[macro
]) {
6298 # Preserve the white space surrounding the "#".
6299 print prefix
"define", macro P
[macro
] D
[macro
]
6302 # Replace #undef with comments. This is necessary, for example,
6303 # in the case of _POSIX_SOURCE, which is predefined and required
6304 # on some systems where configure will not decide to define it.
6305 if (defundef
== "undef") {
6306 print
"/*", prefix defundef
, macro
, "*/"
6314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6315 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
6316 fi # test -n "$CONFIG_HEADERS"
6319 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6324 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6326 case $ac_mode$ac_tag in
6328 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6329 :[FH
]-) ac_tag
=-:-;;
6330 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6347 -) ac_f
="$ac_tmp/stdin";;
6348 *) # Look for the file first in the build tree, then in the source tree
6349 # (if the path is not absolute). The absolute path cannot be DOS-style,
6350 # because $ac_f cannot contain `:'.
6354 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6356 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6358 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6359 as_fn_append ac_file_inputs
" '$ac_f'"
6362 # Let's still pretend it is `configure' which instantiates (i.e., don't
6363 # use $as_me), people would be surprised to read:
6364 # /* config.h. Generated by config.status. */
6365 configure_input
='Generated from '`
6366 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6368 if test x
"$ac_file" != x-
; then
6369 configure_input
="$ac_file. $configure_input"
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6371 $as_echo "$as_me: creating $ac_file" >&6;}
6373 # Neutralize special characters interpreted by sed in replacement strings.
6374 case $configure_input in #(
6375 *\
&* |
*\|
* |
*\\* )
6376 ac_sed_conf_input
=`$as_echo "$configure_input" |
6377 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6378 *) ac_sed_conf_input
=$configure_input;;
6382 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
6383 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
6388 ac_dir
=`$as_dirname -- "$ac_file" ||
6389 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6390 X"$ac_file" : 'X\(//\)[^/]' \| \
6391 X"$ac_file" : 'X\(//\)$' \| \
6392 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6393 $as_echo X"$ac_file" |
6394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6411 as_dir
="$ac_dir"; as_fn_mkdir_p
6415 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6417 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6418 # A ".." for each directory in $ac_dir_suffix.
6419 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6420 case $ac_top_builddir_sub in
6421 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6422 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6425 ac_abs_top_builddir
=$ac_pwd
6426 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6427 # for backward compatibility:
6428 ac_top_builddir
=$ac_top_build_prefix
6431 .
) # We are building in place.
6433 ac_top_srcdir
=$ac_top_builddir_sub
6434 ac_abs_top_srcdir
=$ac_pwd ;;
6435 [\\/]* | ?
:[\\/]* ) # Absolute name.
6436 ac_srcdir
=$srcdir$ac_dir_suffix;
6437 ac_top_srcdir
=$srcdir
6438 ac_abs_top_srcdir
=$srcdir ;;
6440 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6441 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6442 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6444 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6454 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6455 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6460 # If the template does not know about datarootdir, expand it.
6461 # FIXME: This hack should be removed a few years after 2.60.
6462 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6473 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6474 *datarootdir
*) ac_datarootdir_seen
=yes;;
6475 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6477 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6480 ac_datarootdir_hack='
6481 s&@datadir@&$datadir&g
6482 s&@docdir@&$docdir&g
6483 s&@infodir@&$infodir&g
6484 s&@localedir@&$localedir&g
6485 s&@mandir@&$mandir&g
6486 s&\\\${datarootdir}&$datarootdir&g' ;;
6490 # Neutralize VPATH when `$srcdir' = `.'.
6491 # Shell code in configure.ac might set extrasub.
6492 # FIXME: do we really want to maintain this feature?
6493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6494 ac_sed_extra="$ac_vpsub
6497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6499 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6500 s|@configure_input@|
$ac_sed_conf_input|
;t t
6501 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6502 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6503 s
&@srcdir@
&$ac_srcdir&;t t
6504 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6505 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6506 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6507 s
&@builddir@
&$ac_builddir&;t t
6508 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6509 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6510 s
&@INSTALL@
&$ac_INSTALL&;t t
6511 $ac_datarootdir_hack
6513 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6514 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6516 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6517 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6518 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6519 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6521 which seems to be undefined. Please make sure it is defined" >&5
6522 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6523 which seems to be undefined. Please make sure it is defined" >&2;}
6525 rm -f "$ac_tmp/stdin"
6527 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6528 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6530 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6536 if test x"$ac_file" != x-; then
6538 $as_echo "/* $configure_input */" \
6539 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6540 } >"$ac_tmp/config.h" \
6541 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6542 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6544 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6547 mv "$ac_tmp/config.h" "$ac_file" \
6548 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6551 $as_echo "/* $configure_input */" \
6552 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6553 || as_fn_error $? "could not create -" "$LINENO" 5
6557 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6558 $as_echo "$as_me: executing $ac_file commands" >&6;}
6563 case $ac_file$ac_mode in
6564 "default":C) echo timestamp > stamp-h ;;
6572 ac_clean_files=$ac_clean_files_save
6574 test $ac_write_fail = 0 ||
6575 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6578 # configure is writing to config.log, and then calls config.status.
6579 # config.status does its own redirection, appending to config.log.
6580 # Unfortunately, on DOS this fails, as config.log is still kept open
6581 # by configure, so config.status won't be able to
write to it
; its
6582 # output is simply discarded. So we exec the FD to /dev/null,
6583 # effectively closing config.log, so it can be properly (re)opened and
6584 # appended to by config.status. When coming back to configure, we
6585 # need to make the FD available again.
6586 if test "$no_create" != yes; then
6588 ac_config_status_args
=
6589 test "$silent" = yes &&
6590 ac_config_status_args
="$ac_config_status_args --quiet"
6592 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6594 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6595 # would make configure fail if this is the last instruction.
6596 $ac_cs_success || as_fn_exit
1
6598 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6600 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}