2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix
=/usr
/local
550 ac_config_libobj_dir
=.
557 # Identity of this package.
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
615 am__fastdepCCAS_FALSE
644 INSTALL_STRIP_PROGRAM
686 program_transform_name
699 enable_option_checking
700 enable_dependency_tracking
702 ac_precious_vars
='build_alias
718 # Initialize some variables set by options.
720 ac_init_version
=false
721 ac_unrecognized_opts
=
723 # The variables have the same names as the options, with
724 # dashes changed to underlines.
732 program_transform_name
=s
,x
,x
,
740 # Installation directory options.
741 # These are left unexpanded so users can "make install exec_prefix=/foo"
742 # and all the variables that are supposed to be based on exec_prefix
743 # by default will actually change.
744 # Use braces instead of parens because sh, perl, etc. also accept them.
745 # (The list follows the same order as the GNU Coding Standards.)
746 bindir
='${exec_prefix}/bin'
747 sbindir
='${exec_prefix}/sbin'
748 libexecdir
='${exec_prefix}/libexec'
749 datarootdir
='${prefix}/share'
750 datadir
='${datarootdir}'
751 sysconfdir
='${prefix}/etc'
752 sharedstatedir
='${prefix}/com'
753 localstatedir
='${prefix}/var'
754 includedir
='${prefix}/include'
755 oldincludedir
='/usr/include'
756 docdir
='${datarootdir}/doc/${PACKAGE}'
757 infodir
='${datarootdir}/info'
762 libdir
='${exec_prefix}/lib'
763 localedir
='${datarootdir}/locale'
764 mandir
='${datarootdir}/man'
770 # If the previous option needs an argument, assign it.
771 if test -n "$ac_prev"; then
772 eval $ac_prev=\
$ac_option
778 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
783 # Accept the important Cygnus configure options, so we can diagnose typos.
785 case $ac_dashdash$ac_option in
789 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
791 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
794 -build |
--build |
--buil |
--bui |
--bu)
795 ac_prev
=build_alias
;;
796 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
797 build_alias
=$ac_optarg ;;
799 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
800 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
801 ac_prev
=cache_file
;;
802 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
803 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
804 cache_file
=$ac_optarg ;;
807 cache_file
=config.cache
;;
809 -datadir |
--datadir |
--datadi |
--datad)
811 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
812 datadir
=$ac_optarg ;;
814 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
815 |
--dataroo |
--dataro |
--datar)
816 ac_prev
=datarootdir
;;
817 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
818 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
819 datarootdir
=$ac_optarg ;;
821 -disable-* |
--disable-*)
822 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
825 as_fn_error $?
"invalid feature name: $ac_useropt"
826 ac_useropt_orig
=$ac_useropt
827 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
828 case $ac_user_opts in
832 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
833 ac_unrecognized_sep
=', ';;
835 eval enable_
$ac_useropt=no
;;
837 -docdir |
--docdir |
--docdi |
--doc |
--do)
839 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
842 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
844 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
847 -enable-* |
--enable-*)
848 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
849 # Reject names that are not valid shell variable names.
850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
851 as_fn_error $?
"invalid feature name: $ac_useropt"
852 ac_useropt_orig
=$ac_useropt
853 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
854 case $ac_user_opts in
858 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
859 ac_unrecognized_sep
=', ';;
861 eval enable_
$ac_useropt=\
$ac_optarg ;;
863 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
864 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
865 |
--exec |
--exe |
--ex)
866 ac_prev
=exec_prefix
;;
867 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
868 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
869 |
--exec=* |
--exe=* |
--ex=*)
870 exec_prefix
=$ac_optarg ;;
872 -gas |
--gas |
--ga |
--g)
873 # Obsolete; use --with-gas.
876 -help |
--help |
--hel |
--he |
-h)
878 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
879 ac_init_help
=recursive
;;
880 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
881 ac_init_help
=short
;;
883 -host |
--host |
--hos |
--ho)
884 ac_prev
=host_alias
;;
885 -host=* |
--host=* |
--hos=* |
--ho=*)
886 host_alias
=$ac_optarg ;;
888 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
890 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
892 htmldir
=$ac_optarg ;;
894 -includedir |
--includedir |
--includedi |
--included |
--include \
895 |
--includ |
--inclu |
--incl |
--inc)
896 ac_prev
=includedir
;;
897 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
898 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
899 includedir
=$ac_optarg ;;
901 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
903 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
904 infodir
=$ac_optarg ;;
906 -libdir |
--libdir |
--libdi |
--libd)
908 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
911 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
912 |
--libexe |
--libex |
--libe)
913 ac_prev
=libexecdir
;;
914 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
915 |
--libexe=* |
--libex=* |
--libe=*)
916 libexecdir
=$ac_optarg ;;
918 -localedir |
--localedir |
--localedi |
--localed |
--locale)
920 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
921 localedir
=$ac_optarg ;;
923 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
924 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
925 ac_prev
=localstatedir
;;
926 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
927 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
928 localstatedir
=$ac_optarg ;;
930 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
932 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
936 # Obsolete; use --without-fp.
939 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
940 |
--no-cr |
--no-c |
-n)
943 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
944 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
947 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
948 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
949 |
--oldin |
--oldi |
--old |
--ol |
--o)
950 ac_prev
=oldincludedir
;;
951 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
952 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
953 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
954 oldincludedir
=$ac_optarg ;;
956 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
958 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
961 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
962 |
--program-pre |
--program-pr |
--program-p)
963 ac_prev
=program_prefix
;;
964 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
965 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
966 program_prefix
=$ac_optarg ;;
968 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
969 |
--program-suf |
--program-su |
--program-s)
970 ac_prev
=program_suffix
;;
971 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
972 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
973 program_suffix
=$ac_optarg ;;
975 -program-transform-name |
--program-transform-name \
976 |
--program-transform-nam |
--program-transform-na \
977 |
--program-transform-n |
--program-transform- \
978 |
--program-transform |
--program-transfor \
979 |
--program-transfo |
--program-transf \
980 |
--program-trans |
--program-tran \
981 |
--progr-tra |
--program-tr |
--program-t)
982 ac_prev
=program_transform_name
;;
983 -program-transform-name=* |
--program-transform-name=* \
984 |
--program-transform-nam=* |
--program-transform-na=* \
985 |
--program-transform-n=* |
--program-transform-=* \
986 |
--program-transform=* |
--program-transfor=* \
987 |
--program-transfo=* |
--program-transf=* \
988 |
--program-trans=* |
--program-tran=* \
989 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
990 program_transform_name
=$ac_optarg ;;
992 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
994 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
997 -psdir |
--psdir |
--psdi |
--psd |
--ps)
999 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1002 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1003 |
-silent |
--silent |
--silen |
--sile |
--sil)
1006 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1008 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1010 sbindir
=$ac_optarg ;;
1012 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1013 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1014 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1016 ac_prev
=sharedstatedir
;;
1017 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1018 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1019 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1021 sharedstatedir
=$ac_optarg ;;
1023 -site |
--site |
--sit)
1025 -site=* |
--site=* |
--sit=*)
1028 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1030 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1031 srcdir
=$ac_optarg ;;
1033 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1034 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1035 ac_prev
=sysconfdir
;;
1036 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1037 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1038 sysconfdir
=$ac_optarg ;;
1040 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1041 ac_prev
=target_alias
;;
1042 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1043 target_alias
=$ac_optarg ;;
1045 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1048 -version |
--version |
--versio |
--versi |
--vers |
-V)
1049 ac_init_version
=: ;;
1052 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1055 as_fn_error $?
"invalid package name: $ac_useropt"
1056 ac_useropt_orig
=$ac_useropt
1057 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1062 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1063 ac_unrecognized_sep
=', ';;
1065 eval with_
$ac_useropt=\
$ac_optarg ;;
1067 -without-* |
--without-*)
1068 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1071 as_fn_error $?
"invalid package name: $ac_useropt"
1072 ac_useropt_orig
=$ac_useropt
1073 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1078 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1079 ac_unrecognized_sep
=', ';;
1081 eval with_
$ac_useropt=no
;;
1084 # Obsolete; use --with-x.
1087 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1088 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1089 ac_prev
=x_includes
;;
1090 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1091 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1092 x_includes
=$ac_optarg ;;
1094 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1095 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1096 ac_prev
=x_libraries
;;
1097 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1098 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1099 x_libraries
=$ac_optarg ;;
1101 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1102 Try \`$0 --help' for more information"
1106 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1107 # Reject names that are not valid shell variable names.
1108 case $ac_envvar in #(
1109 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1110 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1112 eval $ac_envvar=\
$ac_optarg
1113 export $ac_envvar ;;
1116 # FIXME: should be removed in autoconf 3.0.
1117 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1118 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1119 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1120 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1126 if test -n "$ac_prev"; then
1127 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1128 as_fn_error $?
"missing argument to $ac_option"
1131 if test -n "$ac_unrecognized_opts"; then
1132 case $enable_option_checking in
1134 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1135 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1139 # Check all directory arguments for consistency.
1140 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1141 datadir sysconfdir sharedstatedir localstatedir includedir \
1142 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1143 libdir localedir mandir
1145 eval ac_val
=\$
$ac_var
1146 # Remove trailing slashes.
1149 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1150 eval $ac_var=\
$ac_val;;
1152 # Be sure to have absolute directory names.
1154 [\\/$
]* | ?
:[\\/]* ) continue;;
1155 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1157 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1160 # There might be people who depend on the old broken behavior: `$host'
1161 # used to hold the argument of --host etc.
1162 # FIXME: To remove some day.
1165 target
=$target_alias
1167 # FIXME: To remove some day.
1168 if test "x$host_alias" != x
; then
1169 if test "x$build_alias" = x
; then
1170 cross_compiling
=maybe
1171 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1172 If a cross compiler is detected then cross compile mode will be used" >&2
1173 elif test "x$build_alias" != "x$host_alias"; then
1179 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1181 test "$silent" = yes && exec 6>/dev
/null
1184 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1185 ac_ls_di
=`ls -di .` &&
1186 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1187 as_fn_error $?
"working directory cannot be determined"
1188 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1189 as_fn_error $?
"pwd does not report name of working directory"
1192 # Find the source files, if location was not specified.
1193 if test -z "$srcdir"; then
1194 ac_srcdir_defaulted
=yes
1195 # Try the directory containing this script, then the parent directory.
1196 ac_confdir
=`$as_dirname -- "$as_myself" ||
1197 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1198 X"$as_myself" : 'X\(//\)[^/]' \| \
1199 X"$as_myself" : 'X\(//\)$' \| \
1200 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1201 $as_echo X"$as_myself" |
1202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1220 if test ! -r "$srcdir/$ac_unique_file"; then
1224 ac_srcdir_defaulted
=no
1226 if test ! -r "$srcdir/$ac_unique_file"; then
1227 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1228 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1230 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1232 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1234 # When building in place, set srcdir=.
1235 if test "$ac_abs_confdir" = "$ac_pwd"; then
1238 # Remove unnecessary trailing slashes from srcdir.
1239 # Double slashes in file names in object file debugging info
1240 # mess up M-x gdb in Emacs.
1242 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1244 for ac_var
in $ac_precious_vars; do
1245 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1246 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1247 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1248 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1252 # Report the --help message.
1254 if test "$ac_init_help" = "long"; then
1255 # Omit some internal or obsolete options to make the list less imposing.
1256 # This message is too long to be a string in the A/UX 3.1 sh.
1258 \`configure' configures this package to adapt to many kinds of systems.
1260 Usage: $0 [OPTION]... [VAR=VALUE]...
1262 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1263 VAR=VALUE. See below for descriptions of some of the useful variables.
1265 Defaults for the options are specified in brackets.
1268 -h, --help display this help and exit
1269 --help=short display options specific to this package
1270 --help=recursive display the short help of all the included packages
1271 -V, --version display version information and exit
1272 -q, --quiet, --silent do not print \`checking ...' messages
1273 --cache-file=FILE cache test results in FILE [disabled]
1274 -C, --config-cache alias for \`--cache-file=config.cache'
1275 -n, --no-create do not create output files
1276 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1278 Installation directories:
1279 --prefix=PREFIX install architecture-independent files in PREFIX
1280 [$ac_default_prefix]
1281 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1284 By default, \`make install' will install all the files in
1285 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1286 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1287 for instance \`--prefix=\$HOME'.
1289 For better control, use the options below.
1291 Fine tuning of the installation directories:
1292 --bindir=DIR user executables [EPREFIX/bin]
1293 --sbindir=DIR system admin executables [EPREFIX/sbin]
1294 --libexecdir=DIR program executables [EPREFIX/libexec]
1295 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1296 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1297 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1298 --libdir=DIR object code libraries [EPREFIX/lib]
1299 --includedir=DIR C header files [PREFIX/include]
1300 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1301 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1302 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1303 --infodir=DIR info documentation [DATAROOTDIR/info]
1304 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1305 --mandir=DIR man documentation [DATAROOTDIR/man]
1306 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1307 --htmldir=DIR html documentation [DOCDIR]
1308 --dvidir=DIR dvi documentation [DOCDIR]
1309 --pdfdir=DIR pdf documentation [DOCDIR]
1310 --psdir=DIR ps documentation [DOCDIR]
1316 --program-prefix=PREFIX prepend PREFIX to installed program names
1317 --program-suffix=SUFFIX append SUFFIX to installed program names
1318 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1322 if test -n "$ac_init_help"; then
1327 --disable-option-checking ignore unrecognized
--enable/--with options
1328 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1329 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1330 --disable-dependency-tracking speeds up one-time build
1331 --enable-dependency-tracking do not reject slow dependency extractors
1333 Some influential environment variables
:
1334 CC C compiler
command
1335 CFLAGS C compiler flags
1336 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1337 nonstandard directory
<lib dir
>
1338 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1339 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1340 you have headers
in a nonstandard directory
<include dir
>
1341 CCAS assembler compiler
command (defaults to CC
)
1342 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1343 CXX C
++ compiler
command
1344 CXXFLAGS C
++ compiler flags
1347 Use these variables to override the choices made by
`configure' or to help
1348 it to find libraries and programs with nonstandard names/locations.
1350 Report bugs to the package provider.
1355 if test "$ac_init_help" = "recursive"; then
1356 # If there are subdirs, report their specific --help.
1357 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1358 test -d "$ac_dir" ||
1359 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1364 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1366 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1367 # A ".." for each directory in $ac_dir_suffix.
1368 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1369 case $ac_top_builddir_sub in
1370 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1374 ac_abs_top_builddir=$ac_pwd
1375 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1376 # for backward compatibility:
1377 ac_top_builddir=$ac_top_build_prefix
1380 .) # We are building in place.
1382 ac_top_srcdir=$ac_top_builddir_sub
1383 ac_abs_top_srcdir=$ac_pwd ;;
1384 [\\/]* | ?:[\\/]* ) # Absolute name.
1385 ac_srcdir=$srcdir$ac_dir_suffix;
1386 ac_top_srcdir=$srcdir
1387 ac_abs_top_srcdir=$srcdir ;;
1389 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1390 ac_top_srcdir=$ac_top_build_prefix$srcdir
1391 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1393 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1395 cd "$ac_dir" || { ac_status=$?; continue; }
1396 # Check for guested configure.
1397 if test -f "$ac_srcdir/configure.gnu"; then
1399 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1400 elif test -f "$ac_srcdir/configure"; then
1402 $SHELL "$ac_srcdir/configure" --help=recursive
1404 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1406 cd "$ac_pwd" || { ac_status=$?; break; }
1410 test -n "$ac_init_help" && exit $ac_status
1411 if $ac_init_version; then
1414 generated by GNU Autoconf 2.68
1416 Copyright (C) 2010 Free Software Foundation, Inc.
1417 This configure script is free software; the Free Software Foundation
1418 gives unlimited permission to copy, distribute and modify it.
1423 ## ------------------------ ##
1424 ## Autoconf initialization. ##
1425 ## ------------------------ ##
1427 # ac_fn_c_try_compile LINENO
1428 # --------------------------
1429 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1430 ac_fn_c_try_compile ()
1432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1433 rm -f conftest.$ac_objext
1434 if { { ac_try="$ac_compile"
1436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1437 *) ac_try_echo
=$ac_try;;
1439 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1440 $as_echo "$ac_try_echo"; } >&5
1441 (eval "$ac_compile") 2>conftest.err
1443 if test -s conftest.err
; then
1444 grep -v '^ *+' conftest.err
>conftest.er1
1445 cat conftest.er1
>&5
1446 mv -f conftest.er1 conftest.err
1448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1449 test $ac_status = 0; } && {
1450 test -z "$ac_c_werror_flag" ||
1451 test ! -s conftest.err
1452 } && test -s conftest.
$ac_objext; then :
1455 $as_echo "$as_me: failed program was:" >&5
1456 sed 's/^/| /' conftest.
$ac_ext >&5
1460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1461 as_fn_set_status
$ac_retval
1463 } # ac_fn_c_try_compile
1465 # ac_fn_cxx_try_compile LINENO
1466 # ----------------------------
1467 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1468 ac_fn_cxx_try_compile
()
1470 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1471 rm -f conftest.
$ac_objext
1472 if { { ac_try
="$ac_compile"
1474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1475 *) ac_try_echo=$ac_try;;
1477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1478 $as_echo "$ac_try_echo"; } >&5
1479 (eval "$ac_compile") 2>conftest.err
1481 if test -s conftest.err; then
1482 grep -v '^ *+' conftest.err >conftest.er1
1483 cat conftest.er1 >&5
1484 mv -f conftest.er1 conftest.err
1486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1487 test $ac_status = 0; } && {
1488 test -z "$ac_cxx_werror_flag" ||
1489 test ! -s conftest.err
1490 } && test -s conftest.$ac_objext; then :
1493 $as_echo "$as_me: failed program was:" >&5
1494 sed 's/^/| /' conftest.$ac_ext >&5
1498 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1499 as_fn_set_status $ac_retval
1501 } # ac_fn_cxx_try_compile
1503 # ac_fn_c_try_cpp LINENO
1504 # ----------------------
1505 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1509 if { { ac_try="$ac_cpp conftest.$ac_ext"
1511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1512 *) ac_try_echo
=$ac_try;;
1514 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1515 $as_echo "$ac_try_echo"; } >&5
1516 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1518 if test -s conftest.err
; then
1519 grep -v '^ *+' conftest.err
>conftest.er1
1520 cat conftest.er1
>&5
1521 mv -f conftest.er1 conftest.err
1523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1524 test $ac_status = 0; } > conftest.i
&& {
1525 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1526 test ! -s conftest.err
1530 $as_echo "$as_me: failed program was:" >&5
1531 sed 's/^/| /' conftest.
$ac_ext >&5
1535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1536 as_fn_set_status
$ac_retval
1540 # ac_fn_c_try_run LINENO
1541 # ----------------------
1542 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1543 # that executables *can* be run.
1546 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1547 if { { ac_try
="$ac_link"
1549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1550 *) ac_try_echo=$ac_try;;
1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1553 $as_echo "$ac_try_echo"; } >&5
1554 (eval "$ac_link") 2>&5
1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1558 { { case "(($ac_try" in
1559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1560 *) ac_try_echo
=$ac_try;;
1562 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564 (eval "$ac_try") 2>&5
1566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567 test $ac_status = 0; }; }; then :
1570 $as_echo "$as_me: program exited with status $ac_status" >&5
1571 $as_echo "$as_me: failed program was:" >&5
1572 sed 's/^/| /' conftest.
$ac_ext >&5
1574 ac_retval
=$ac_status
1576 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 as_fn_set_status
$ac_retval
1582 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1583 # -------------------------------------------------------
1584 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1585 # the include files in INCLUDES and setting the cache variable VAR
1587 ac_fn_c_check_header_mongrel
()
1589 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1590 if eval \
${$3+:} false
; then :
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1592 $as_echo_n "checking for $2... " >&6; }
1593 if eval \
${$3+:} false
; then :
1594 $as_echo_n "(cached) " >&6
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1598 $as_echo "$ac_res" >&6; }
1600 # Is the header compilable?
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1602 $as_echo_n "checking $2 usability... " >&6; }
1603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1604 /* end confdefs.h. */
1608 if ac_fn_c_try_compile
"$LINENO"; then :
1609 ac_header_compiler
=yes
1611 ac_header_compiler
=no
1613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1615 $as_echo "$ac_header_compiler" >&6; }
1617 # Is the header present?
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1619 $as_echo_n "checking $2 presence... " >&6; }
1620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1621 /* end confdefs.h. */
1624 if ac_fn_c_try_cpp
"$LINENO"; then :
1625 ac_header_preproc
=yes
1627 ac_header_preproc
=no
1629 rm -f conftest.err conftest.i conftest.
$ac_ext
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1631 $as_echo "$ac_header_preproc" >&6; }
1633 # So? What about this header?
1634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1637 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1639 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1643 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1645 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1647 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1649 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1651 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1655 $as_echo_n "checking for $2... " >&6; }
1656 if eval \
${$3+:} false
; then :
1657 $as_echo_n "(cached) " >&6
1659 eval "$3=\$ac_header_compiler"
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1663 $as_echo "$ac_res" >&6; }
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 } # ac_fn_c_check_header_mongrel
1669 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1670 # -------------------------------------------------------
1671 # Tests whether HEADER exists and can be compiled using the include files in
1672 # INCLUDES, setting the cache variable VAR accordingly.
1673 ac_fn_c_check_header_compile
()
1675 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if eval \
${$3+:} false
; then :
1679 $as_echo_n "(cached) " >&6
1681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1682 /* end confdefs.h. */
1686 if ac_fn_c_try_compile
"$LINENO"; then :
1691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695 $as_echo "$ac_res" >&6; }
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 } # ac_fn_c_check_header_compile
1700 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1701 # -------------------------------------------
1702 # Tests whether TYPE exists after having included INCLUDES, setting cache
1703 # variable VAR accordingly.
1704 ac_fn_c_check_type
()
1706 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if eval \
${$3+:} false
; then :
1710 $as_echo_n "(cached) " >&6
1713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1725 if ac_fn_c_try_compile
"$LINENO"; then :
1726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1738 if ac_fn_c_try_compile
"$LINENO"; then :
1743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 } # ac_fn_c_check_type
1754 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1755 # ----------------------------------------------------
1756 # Tries to find if the field MEMBER exists in type AGGR, after including
1757 # INCLUDES, setting cache variable VAR accordingly.
1758 ac_fn_c_check_member
()
1760 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1762 $as_echo_n "checking for $2.$3... " >&6; }
1763 if eval \
${$4+:} false
; then :
1764 $as_echo_n "(cached) " >&6
1766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h. */
1779 if ac_fn_c_try_compile
"$LINENO"; then :
1782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1783 /* end confdefs.h. */
1789 if (sizeof ac_aggr.$3)
1795 if ac_fn_c_try_compile
"$LINENO"; then :
1800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806 $as_echo "$ac_res" >&6; }
1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809 } # ac_fn_c_check_member
1811 # ac_fn_c_try_link LINENO
1812 # -----------------------
1813 # Try to link conftest.$ac_ext, and return whether this succeeded.
1816 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1817 rm -f conftest.
$ac_objext conftest
$ac_exeext
1818 if { { ac_try
="$ac_link"
1820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_link") 2>conftest.err
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && {
1834 test -z "$ac_c_werror_flag" ||
1835 test ! -s conftest.err
1836 } && test -s conftest$ac_exeext && {
1837 test "$cross_compiling" = yes ||
1838 $as_test_x conftest$ac_exeext
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1847 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1848 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1849 # interfere with the next link command; also delete a directory that is
1850 # left behind by Apple's compiler. We do this before executing the actions.
1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853 as_fn_set_status $ac_retval
1855 } # ac_fn_c_try_link
1857 # ac_fn_c_check_func LINENO FUNC VAR
1858 # ----------------------------------
1859 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1860 ac_fn_c_check_func ()
1862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1864 $as_echo_n "checking for $2... " >&6; }
1865 if eval \${$3+:} false; then :
1866 $as_echo_n "(cached) " >&6
1868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1869 /* end confdefs.h. */
1870 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1872 #define $2 innocuous_$2
1874 /* System header to define __stub macros and hopefully few prototypes,
1875 which can conflict with char $2 (); below.
1876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1877 <limits.h> exists even on freestanding compilers. */
1880 # include <limits.h>
1882 # include <assert.h>
1887 /* Override any GCC internal prototype to avoid an error.
1888 Use char because int might match the return type of a GCC
1889 builtin and then its argument prototype would still apply. */
1894 /* The GNU C library defines this for functions which it implements
1895 to always fail with ENOSYS. Some functions are actually named
1896 something starting with __ and the normal name is an alias. */
1897 #if defined __stub_$2 || defined __stub___$2
1909 if ac_fn_c_try_link "$LINENO"; then :
1914 rm -f core conftest.err conftest.$ac_objext \
1915 conftest$ac_exeext conftest.$ac_ext
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1919 $as_echo "$ac_res" >&6; }
1920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1922 } # ac_fn_c_check_func
1923 cat >config.log <<_ACEOF
1924 This file contains any messages produced by compilers while
1925 running configure, to aid debugging if configure makes a mistake.
1927 It was created by $as_me, which was
1928 generated by GNU Autoconf 2.68. Invocation command line was
1940 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1941 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1942 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1943 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1944 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1946 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1947 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1949 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1950 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1951 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1952 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1953 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1954 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1955 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963 test -z "$as_dir" && as_dir=.
1964 $as_echo "PATH: $as_dir"
1980 # Keep a trace of the command line.
1981 # Strip out --no-create and --no-recursion so they do not pile up.
1982 # Strip out --silent because we don't want to record it for future runs.
1983 # Also quote any args containing shell meta-characters.
1984 # Make two passes to allow for proper duplicate-argument suppression.
1988 ac_must_keep_next=false
1994 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1996 | -silent | --silent | --silen | --sile | --sil)
1999 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2002 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2004 as_fn_append ac_configure_args1 " '$ac_arg'"
2005 if test $ac_must_keep_next = true; then
2006 ac_must_keep_next=false # Got value, back to normal.
2009 *=* | --config-cache | -C | -disable-* | --disable-* \
2010 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2011 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2012 | -with-* | --with-* | -without-* | --without-* | --x)
2013 case "$ac_configure_args0 " in
2014 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2017 -* ) ac_must_keep_next=true ;;
2020 as_fn_append ac_configure_args " '$ac_arg'"
2025 { ac_configure_args0=; unset ac_configure_args0;}
2026 { ac_configure_args1=; unset ac_configure_args1;}
2028 # When interrupted or exit'd, cleanup temporary files, and complete
2029 # config.log. We remove comments because anyway the quotes in there
2030 # would cause problems or look ugly.
2031 # WARNING: Use '\'' to represent an apostrophe within the trap.
2032 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2033 trap 'exit_status=$?
2034 # Save into config.log some information that might help in debugging.
2038 $as_echo "## ---------------- ##
2039 ## Cache variables. ##
2040 ## ---------------- ##"
2042 # The following way of writing the cache mishandles newlines in values,
2044 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2045 eval ac_val=\$$ac_var
2049 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2050 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2053 _ | IFS | as_nl) ;; #(
2054 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2055 *) { eval $ac_var=; unset $ac_var;} ;;
2060 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2061 *${as_nl}ac_space=\ *)
2063 "s/'\''/'\''\\\\'\'''\''/g;
2064 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2067 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2074 $as_echo "## ----------------- ##
2075 ## Output variables. ##
2076 ## ----------------- ##"
2078 for ac_var in $ac_subst_vars
2080 eval ac_val=\$$ac_var
2082 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2084 $as_echo "$ac_var='\''$ac_val'\''"
2088 if test -n "$ac_subst_files"; then
2089 $as_echo "## ------------------- ##
2090 ## File substitutions. ##
2091 ## ------------------- ##"
2093 for ac_var in $ac_subst_files
2095 eval ac_val=\$$ac_var
2097 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2099 $as_echo "$ac_var='\''$ac_val'\''"
2104 if test -s confdefs.h; then
2105 $as_echo "## ----------- ##
2112 test "$ac_signal" != 0 &&
2113 $as_echo "$as_me: caught signal $ac_signal"
2114 $as_echo "$as_me: exit $exit_status"
2116 rm -f core *.core core.conftest.* &&
2117 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2120 for ac_signal in 1 2 13 15; do
2121 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2125 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2126 rm -f -r conftest* confdefs.h
2128 $as_echo "/* confdefs.h */" > confdefs.h
2130 # Predefined preprocessor variables.
2132 cat >>confdefs.h <<_ACEOF
2133 #define PACKAGE_NAME "$PACKAGE_NAME"
2136 cat >>confdefs.h <<_ACEOF
2137 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_STRING "$PACKAGE_STRING"
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_URL "$PACKAGE_URL"
2157 # Let the site file select an alternate cache file if it wants to.
2158 # Prefer an explicitly selected file to automatically selected ones.
2161 if test -n "$CONFIG_SITE"; then
2162 # We do not want a PATH search for config.site.
2163 case $CONFIG_SITE in #((
2164 -*) ac_site_file1=./$CONFIG_SITE;;
2165 */*) ac_site_file1=$CONFIG_SITE;;
2166 *) ac_site_file1=./$CONFIG_SITE;;
2168 elif test "x$prefix" != xNONE; then
2169 ac_site_file1=$prefix/share/config.site
2170 ac_site_file2=$prefix/etc/config.site
2172 ac_site_file1=$ac_default_prefix/share/config.site
2173 ac_site_file2=$ac_default_prefix/etc/config.site
2175 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2177 test "x$ac_site_file" = xNONE && continue
2178 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2180 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2181 sed 's/^/| /' "$ac_site_file" >&5
2183 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2185 as_fn_error $? "failed to load site
script $ac_site_file
2186 See \
`config.log' for more details" "$LINENO" 5; }
2190 if test -r "$cache_file"; then
2191 # Some versions of bash will fail to source /dev/null (special files
2192 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2193 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2195 $as_echo "$as_me: loading cache $cache_file" >&6;}
2197 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2198 *) . "./$cache_file";;
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2203 $as_echo "$as_me: creating cache $cache_file" >&6;}
2207 # Check that the precious variables saved in the cache have kept the same
2209 ac_cache_corrupted=false
2210 for ac_var in $ac_precious_vars; do
2211 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2212 eval ac_new_set=\$ac_env_${ac_var}_set
2213 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2214 eval ac_new_val=\$ac_env_${ac_var}_value
2215 case $ac_old_set,$ac_new_set in
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2218 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2219 ac_cache_corrupted=: ;;
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2222 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2223 ac_cache_corrupted=: ;;
2226 if test "x$ac_old_val" != "x$ac_new_val"; then
2227 # differences in whitespace do not lead to failure.
2228 ac_old_val_w=`echo x
$ac_old_val`
2229 ac_new_val_w=`echo x
$ac_new_val`
2230 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2232 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2233 ac_cache_corrupted=:
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2236 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2237 eval $ac_var=\$ac_old_val
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2240 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2242 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2245 # Pass precious variables to config.status.
2246 if test "$ac_new_set" = set; then
2248 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2249 *) ac_arg=$ac_var=$ac_new_val ;;
2251 case " $ac_configure_args " in
2252 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2253 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2257 if $ac_cache_corrupted; then
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2261 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2262 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2264 ## -------------------- ##
2265 ## Main body of script. ##
2266 ## -------------------- ##
2269 ac_cpp='$CPP $CPPFLAGS'
2270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2275 am__api_version='1.11'
2278 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2279 if test -f "$ac_dir/install-sh"; then
2281 ac_install_sh="$ac_aux_dir/install-sh -c"
2283 elif test -f "$ac_dir/install.sh"; then
2285 ac_install_sh="$ac_aux_dir/install.sh -c"
2287 elif test -f "$ac_dir/shtool"; then
2289 ac_install_sh="$ac_aux_dir/shtool install -c"
2293 if test -z "$ac_aux_dir"; then
2294 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2297 # These three variables are undocumented and unsupported,
2298 # and are intended to be withdrawn in a future Autoconf release.
2299 # They can cause serious problems if a builder's source tree is in a directory
2300 # whose full name contains unusual characters.
2301 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2302 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2303 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2306 # Find a good install program. We prefer a C program (faster),
2307 # so one script is as good as another. But avoid the broken or
2308 # incompatible versions:
2309 # SysV /etc/install, /usr/sbin/install
2310 # SunOS /usr/etc/install
2311 # IRIX /sbin/install
2313 # AmigaOS /C/install, which installs bootblocks on floppy discs
2314 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2315 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2316 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2317 # OS/2's system install, which has a completely different semantic
2318 # ./install, which can be erroneously created by make from ./install.sh.
2319 # Reject install programs that cannot install multiple files.
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2321 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2322 if test -z "$INSTALL"; then
2323 if ${ac_cv_path_install+:} false; then :
2324 $as_echo_n "(cached) " >&6
2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 test -z "$as_dir" && as_dir=.
2331 # Account for people who put trailing slashes in PATH elements.
2332 case $as_dir/ in #((
2333 ./ | .// | /[cC]/* | \
2334 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2335 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2338 # OSF1 and SCO ODT 3.0 have their own names for install.
2339 # Don't use installbsd from OSF since it installs stuff as root
2341 for ac_prog in ginstall scoinst install; do
2342 for ac_exec_ext in '' $ac_executable_extensions; do
2343 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2344 if test $ac_prog = install &&
2345 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2346 # AIX install. It has an incompatible calling convention.
2348 elif test $ac_prog = install &&
2349 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2350 # program-specific install script used by HP pwplus--don't use.
2353 rm -rf conftest.one conftest.two conftest.dir
2354 echo one > conftest.one
2355 echo two > conftest.two
2357 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2358 test -s conftest.one && test -s conftest.two &&
2359 test -s conftest.dir/conftest.one &&
2360 test -s conftest.dir/conftest.two
2362 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2375 rm -rf conftest.one conftest.two conftest.dir
2378 if test "${ac_cv_path_install+set}" = set; then
2379 INSTALL=$ac_cv_path_install
2381 # As a last resort, use the slow shell script. Don't cache a
2382 # value for INSTALL within a source directory, because that will
2383 # break other packages using the cache if that directory is
2384 # removed, or if the value is a relative name.
2385 INSTALL=$ac_install_sh
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2389 $as_echo "$INSTALL" >&6; }
2391 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2392 # It thinks the first close brace ends the variable substitution.
2393 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2395 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2397 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2400 $as_echo_n "checking whether build environment is sane... " >&6; }
2403 echo timestamp > conftest.file
2404 # Reject unsafe characters in $srcdir or the absolute working directory
2405 # name. Accept space and tab only in the latter.
2409 *[\\\"\#\$\&\'\`$am_lf]*)
2410 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2413 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2414 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2417 # Do `set' in a subshell so we don't clobber the current shell's
2418 # arguments. Must try -L first in case configure is actually a
2419 # symlink; some systems play weird games with the mod time of symlinks
2420 # (eg FreeBSD returns the mod time of the symlink's containing
2423 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2424 if test "$*" = "X"; then
2426 set X
`ls -t "$srcdir/configure" conftest.file`
2429 if test "$*" != "X $srcdir/configure conftest.file" \
2430 && test "$*" != "X conftest.file $srcdir/configure"; then
2432 # If neither matched, then we have a broken ls. This can happen
2433 # if, for instance, CONFIG_SHELL is bash and it inherits a
2434 # broken ls alias from the environment. This has actually
2435 # happened. Such a system could not be considered "sane".
2436 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2437 alias in your environment" "$LINENO" 5
2440 test "$2" = conftest.
file
2446 as_fn_error $?
"newly created file is older than distributed files!
2447 Check your system clock" "$LINENO" 5
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2450 $as_echo "yes" >&6; }
2451 test "$program_prefix" != NONE
&&
2452 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2453 # Use a double $ so make ignores it.
2454 test "$program_suffix" != NONE
&&
2455 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2456 # Double any \ or $.
2457 # By default was `s,x,x', remove it if useless.
2458 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2459 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2461 # expand $ac_aux_dir to an absolute path
2462 am_aux_dir
=`cd $ac_aux_dir && pwd`
2464 if test x
"${MISSING+set}" != xset
; then
2467 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2469 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2472 # Use eval to expand $SHELL
2473 if eval "$MISSING --run true"; then
2474 am_missing_run
="$MISSING --run "
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2478 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2481 if test x
"${install_sh}" != xset
; then
2484 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2486 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2490 # Installed binaries are usually stripped using `strip' when the user
2491 # run `make install-strip'. However `strip' might not be the right
2492 # tool to use in cross-compilation environments, therefore Automake
2493 # will honor the `STRIP' environment variable to overrule this program.
2494 if test "$cross_compiling" != no
; then
2495 if test -n "$ac_tool_prefix"; then
2496 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2497 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if ${ac_cv_prog_STRIP+:} false
; then :
2501 $as_echo_n "(cached) " >&6
2503 if test -n "$STRIP"; then
2504 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir
=.
2511 for ac_exec_ext
in '' $ac_executable_extensions; do
2512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 STRIP
=$ac_cv_prog_STRIP
2524 if test -n "$STRIP"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2526 $as_echo "$STRIP" >&6; }
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2534 if test -z "$ac_cv_prog_STRIP"; then
2536 # Extract the first word of "strip", so it can be a program name with args.
2537 set dummy strip
; ac_word
=$2
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2539 $as_echo_n "checking for $ac_word... " >&6; }
2540 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2541 $as_echo_n "(cached) " >&6
2543 if test -n "$ac_ct_STRIP"; then
2544 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2550 test -z "$as_dir" && as_dir
=.
2551 for ac_exec_ext
in '' $ac_executable_extensions; do
2552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2553 ac_cv_prog_ac_ct_STRIP
="strip"
2554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2564 if test -n "$ac_ct_STRIP"; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2566 $as_echo "$ac_ct_STRIP" >&6; }
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569 $as_echo "no" >&6; }
2572 if test "x$ac_ct_STRIP" = x
; then
2575 case $cross_compiling:$ac_tool_warned in
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2579 ac_tool_warned
=yes ;;
2584 STRIP
="$ac_cv_prog_STRIP"
2588 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2591 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2592 if test -z "$MKDIR_P"; then
2593 if ${ac_cv_path_mkdir+:} false
; then :
2594 $as_echo_n "(cached) " >&6
2596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2597 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2600 test -z "$as_dir" && as_dir
=.
2601 for ac_prog
in mkdir gmkdir
; do
2602 for ac_exec_ext
in '' $ac_executable_extensions; do
2603 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2604 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2605 'mkdir (GNU coreutils) '* | \
2606 'mkdir (coreutils) '* | \
2607 'mkdir (fileutils) '4.1*)
2608 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2618 test -d .
/--version && rmdir .
/--version
2619 if test "${ac_cv_path_mkdir+set}" = set; then
2620 MKDIR_P
="$ac_cv_path_mkdir -p"
2622 # As a last resort, use the slow shell script. Don't cache a
2623 # value for MKDIR_P within a source directory, because that will
2624 # break other packages using the cache if that directory is
2625 # removed, or if the value is a relative name.
2626 MKDIR_P
="$ac_install_sh -d"
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2630 $as_echo "$MKDIR_P" >&6; }
2634 [\\/$
]* | ?
:[\\/]*) ;;
2635 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2638 for ac_prog
in gawk mawk nawk
awk
2640 # Extract the first word of "$ac_prog", so it can be a program name with args.
2641 set dummy
$ac_prog; ac_word
=$2
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if ${ac_cv_prog_AWK+:} false
; then :
2645 $as_echo_n "(cached) " >&6
2647 if test -n "$AWK"; then
2648 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2654 test -z "$as_dir" && as_dir
=.
2655 for ac_exec_ext
in '' $ac_executable_extensions; do
2656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2657 ac_cv_prog_AWK
="$ac_prog"
2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 if test -n "$AWK"; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2670 $as_echo "$AWK" >&6; }
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2673 $as_echo "no" >&6; }
2677 test -n "$AWK" && break
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2681 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2683 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2684 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2685 $as_echo_n "(cached) " >&6
2687 cat >conftest.
make <<\_ACEOF
2690 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2692 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2693 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2695 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2697 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2701 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2703 $as_echo "yes" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2708 SET_MAKE
="MAKE=${MAKE-make}"
2711 rm -rf .tst
2>/dev
/null
2712 mkdir .tst
2>/dev
/null
2713 if test -d .tst
; then
2718 rmdir .tst
2>/dev
/null
2720 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2721 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2722 # is not polluted with repeated "-I."
2723 am__isrc
=' -I$(srcdir)'
2724 # test to see if srcdir already configured
2725 if test -f $srcdir/config.status
; then
2726 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2730 # test whether we have cygpath
2731 if test -z "$CYGPATH_W"; then
2732 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2733 CYGPATH_W
='cygpath -w'
2740 # Define the identity of the package.
2745 cat >>confdefs.h
<<_ACEOF
2746 #define PACKAGE "$PACKAGE"
2750 cat >>confdefs.h
<<_ACEOF
2751 #define VERSION "$VERSION"
2754 # Some tools Automake needs.
2756 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2759 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2762 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2765 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2768 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2770 # We need awk for the "check" target. The system "awk" is bad on
2772 # Always define AMTAR for backward compatibility.
2774 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2776 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2782 DEPDIR
="${am__leading_dot}deps"
2784 ac_config_commands
="$ac_config_commands depfiles"
2787 am_make
=${MAKE-make}
2788 cat > confinc
<< 'END'
2790 @
echo this is the am__doit target
2793 # If we don't find an include directive, just comment out the code.
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2795 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2799 # First try GNU make style include.
2800 echo "include confinc" > confmf
2801 # Ignore all kinds of additional output from `make'.
2802 case `$am_make -s -f confmf 2> /dev/null` in #(
2803 *the\ am__doit\ target
*)
2809 # Now try BSD make style include.
2810 if test "$am__include" = "#"; then
2811 echo '.include "confinc"' > confmf
2812 case `$am_make -s -f confmf 2> /dev/null` in #(
2813 *the\ am__doit\ target
*)
2814 am__include
=.include
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2823 $as_echo "$_am_result" >&6; }
2824 rm -f confinc confmf
2826 # Check whether --enable-dependency-tracking was given.
2827 if test "${enable_dependency_tracking+set}" = set; then :
2828 enableval
=$enable_dependency_tracking;
2831 if test "x$enable_dependency_tracking" != xno
; then
2832 am_depcomp
="$ac_aux_dir/depcomp"
2835 if test "x$enable_dependency_tracking" != xno; then
2845 ac_cpp
='$CPP $CPPFLAGS'
2846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2849 if test -n "$ac_tool_prefix"; then
2850 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2851 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if ${ac_cv_prog_CC+:} false
; then :
2855 $as_echo_n "(cached) " >&6
2857 if test -n "$CC"; then
2858 ac_cv_prog_CC
="$CC" # Let the user override the test.
2860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir
=.
2865 for ac_exec_ext
in '' $ac_executable_extensions; do
2866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878 if test -n "$CC"; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2880 $as_echo "$CC" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2888 if test -z "$ac_cv_prog_CC"; then
2890 # Extract the first word of "gcc", so it can be a program name with args.
2891 set dummy gcc
; ac_word
=$2
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2893 $as_echo_n "checking for $ac_word... " >&6; }
2894 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2895 $as_echo_n "(cached) " >&6
2897 if test -n "$ac_ct_CC"; then
2898 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2904 test -z "$as_dir" && as_dir
=.
2905 for ac_exec_ext
in '' $ac_executable_extensions; do
2906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2907 ac_cv_prog_ac_ct_CC
="gcc"
2908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2917 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2918 if test -n "$ac_ct_CC"; then
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2920 $as_echo "$ac_ct_CC" >&6; }
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2923 $as_echo "no" >&6; }
2926 if test "x$ac_ct_CC" = x
; then
2929 case $cross_compiling:$ac_tool_warned in
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2933 ac_tool_warned
=yes ;;
2941 if test -z "$CC"; then
2942 if test -n "$ac_tool_prefix"; then
2943 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2944 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2946 $as_echo_n "checking for $ac_word... " >&6; }
2947 if ${ac_cv_prog_CC+:} false
; then :
2948 $as_echo_n "(cached) " >&6
2950 if test -n "$CC"; then
2951 ac_cv_prog_CC
="$CC" # Let the user override the test.
2953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2957 test -z "$as_dir" && as_dir
=.
2958 for ac_exec_ext
in '' $ac_executable_extensions; do
2959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2960 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2971 if test -n "$CC"; then
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2973 $as_echo "$CC" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2982 if test -z "$CC"; then
2983 # Extract the first word of "cc", so it can be a program name with args.
2984 set dummy cc
; ac_word
=$2
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2986 $as_echo_n "checking for $ac_word... " >&6; }
2987 if ${ac_cv_prog_CC+:} false
; then :
2988 $as_echo_n "(cached) " >&6
2990 if test -n "$CC"; then
2991 ac_cv_prog_CC
="$CC" # Let the user override the test.
2994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2998 test -z "$as_dir" && as_dir
=.
2999 for ac_exec_ext
in '' $ac_executable_extensions; do
3000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3001 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3002 ac_prog_rejected
=yes
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 if test $ac_prog_rejected = yes; then
3014 # We found a bogon in the path, so make sure we never use it.
3015 set dummy
$ac_cv_prog_CC
3017 if test $# != 0; then
3018 # We chose a different compiler from the bogus one.
3019 # However, it has the same basename, so the bogon will be chosen
3020 # first if we set CC to just the basename; use the full file name.
3022 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3028 if test -n "$CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3030 $as_echo "$CC" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3038 if test -z "$CC"; then
3039 if test -n "$ac_tool_prefix"; then
3040 for ac_prog
in cl.exe
3042 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3043 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045 $as_echo_n "checking for $ac_word... " >&6; }
3046 if ${ac_cv_prog_CC+:} false
; then :
3047 $as_echo_n "(cached) " >&6
3049 if test -n "$CC"; then
3050 ac_cv_prog_CC
="$CC" # Let the user override the test.
3052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3056 test -z "$as_dir" && as_dir
=.
3057 for ac_exec_ext
in '' $ac_executable_extensions; do
3058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3059 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3070 if test -n "$CC"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3072 $as_echo "$CC" >&6; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3079 test -n "$CC" && break
3082 if test -z "$CC"; then
3084 for ac_prog
in cl.exe
3086 # Extract the first word of "$ac_prog", so it can be a program name with args.
3087 set dummy
$ac_prog; ac_word
=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3091 $as_echo_n "(cached) " >&6
3093 if test -n "$ac_ct_CC"; then
3094 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir
=.
3101 for ac_exec_ext
in '' $ac_executable_extensions; do
3102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3103 ac_cv_prog_ac_ct_CC
="$ac_prog"
3104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3114 if test -n "$ac_ct_CC"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3116 $as_echo "$ac_ct_CC" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3123 test -n "$ac_ct_CC" && break
3126 if test "x$ac_ct_CC" = x
; then
3129 case $cross_compiling:$ac_tool_warned in
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3133 ac_tool_warned
=yes ;;
3142 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3144 as_fn_error $?
"no acceptable C compiler found in \$PATH
3145 See \`config.log' for more details" "$LINENO" 5; }
3147 # Provide some information about the compiler.
3148 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3151 for ac_option
in --version -v -V -qversion; do
3152 { { ac_try
="$ac_compiler $ac_option >&5"
3154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3158 $as_echo "$ac_try_echo"; } >&5
3159 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3161 if test -s conftest.err; then
3163 ... rest of stderr output deleted ...
3164 10q' conftest.err >conftest.er1
3165 cat conftest.er1 >&5
3167 rm -f conftest.er1 conftest.err
3168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3169 test $ac_status = 0; }
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3183 ac_clean_files_save=$ac_clean_files
3184 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3185 # Try to create an executable without -o first, disregard a.out.
3186 # It will help us diagnose broken compilers, and finding out an intuition
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3189 $as_echo_n "checking whether the C compiler works... " >&6; }
3190 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3192 # The possible output files:
3193 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3196 for ac_file in $ac_files
3199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3200 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3205 if { { ac_try="$ac_link_default"
3207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3208 *) ac_try_echo
=$ac_try;;
3210 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3211 $as_echo "$ac_try_echo"; } >&5
3212 (eval "$ac_link_default") 2>&5
3214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3215 test $ac_status = 0; }; then :
3216 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3217 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3218 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3219 # so that the user can short-circuit this test for compilers unknown to
3221 for ac_file
in $ac_files ''
3223 test -f "$ac_file" ||
continue
3225 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3228 # We found the default executable, but exeext='' is most
3232 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3234 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3236 # We set ac_cv_exeext here because the later test for it is not
3237 # safe: cross compilers may not add the suffix if given an `-o'
3238 # argument, so we may need to know it at that point already.
3239 # Even if this section looks crufty: it has the advantage of
3246 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3251 if test -z "$ac_file"; then :
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3254 $as_echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.
$ac_ext >&5
3257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3259 as_fn_error
77 "C compiler cannot create executables
3260 See \`config.log' for more details" "$LINENO" 5; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3263 $as_echo "yes" >&6; }
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3266 $as_echo_n "checking for C compiler default output file name... " >&6; }
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3268 $as_echo "$ac_file" >&6; }
3269 ac_exeext
=$ac_cv_exeext
3271 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3272 ac_clean_files
=$ac_clean_files_save
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3274 $as_echo_n "checking for suffix of executables... " >&6; }
3275 if { { ac_try
="$ac_link"
3277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281 $as_echo "$ac_try_echo"; } >&5
3282 (eval "$ac_link") 2>&5
3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285 test $ac_status = 0; }; then :
3286 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3287 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3288 # work properly (i.e., refer to `conftest.exe'), while it won't with
3290 for ac_file
in conftest.exe conftest conftest.
*; do
3291 test -f "$ac_file" ||
continue
3293 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3294 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3303 See \`config.log' for more details" "$LINENO" 5; }
3305 rm -f conftest conftest
$ac_cv_exeext
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3307 $as_echo "$ac_cv_exeext" >&6; }
3309 rm -f conftest.
$ac_ext
3310 EXEEXT
=$ac_cv_exeext
3312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3318 FILE *f = fopen ("conftest.out", "w");
3319 return ferror (f) || fclose (f) != 0;
3325 ac_clean_files
="$ac_clean_files conftest.out"
3326 # Check that the compiler produces executables we can run. If not, either
3327 # the compiler is broken, or we cross compile.
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3329 $as_echo_n "checking whether we are cross compiling... " >&6; }
3330 if test "$cross_compiling" != yes; then
3331 { { ac_try
="$ac_link"
3333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3337 $as_echo "$ac_try_echo"; } >&5
3338 (eval "$ac_link") 2>&5
3340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3341 test $ac_status = 0; }
3342 if { ac_try='./conftest$ac_cv_exeext'
3343 { { case "(($ac_try" in
3344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3345 *) ac_try_echo
=$ac_try;;
3347 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3348 $as_echo "$ac_try_echo"; } >&5
3349 (eval "$ac_try") 2>&5
3351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3352 test $ac_status = 0; }; }; then
3355 if test "$cross_compiling" = maybe
; then
3358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360 as_fn_error $?
"cannot run C compiled programs.
3361 If you meant to cross compile, use \`--host'.
3362 See \`config.log' for more details" "$LINENO" 5; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3367 $as_echo "$cross_compiling" >&6; }
3369 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3370 ac_clean_files
=$ac_clean_files_save
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3372 $as_echo_n "checking for suffix of object files... " >&6; }
3373 if ${ac_cv_objext+:} false
; then :
3374 $as_echo_n "(cached) " >&6
3376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3387 rm -f conftest.o conftest.obj
3388 if { { ac_try
="$ac_compile"
3390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394 $as_echo "$ac_try_echo"; } >&5
3395 (eval "$ac_compile") 2>&5
3397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398 test $ac_status = 0; }; then :
3399 for ac_file in conftest.o conftest.obj conftest.*; do
3400 test -f "$ac_file" || continue;
3402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3403 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3408 $as_echo "$as_me: failed program was:" >&5
3409 sed 's/^/| /' conftest.$ac_ext >&5
3411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3414 See \
`config.log' for more details" "$LINENO" 5; }
3416 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3419 $as_echo "$ac_cv_objext" >&6; }
3420 OBJEXT=$ac_cv_objext
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3423 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3424 if ${ac_cv_c_compiler_gnu+:} false; then :
3425 $as_echo_n "(cached) " >&6
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3441 if ac_fn_c_try_compile "$LINENO"; then :
3446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3451 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3452 if test $ac_compiler_gnu = yes; then
3457 ac_test_CFLAGS=${CFLAGS+set}
3458 ac_save_CFLAGS=$CFLAGS
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3460 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3461 if ${ac_cv_prog_cc_g+:} false; then :
3462 $as_echo_n "(cached) " >&6
3464 ac_save_c_werror_flag=$ac_c_werror_flag
3465 ac_c_werror_flag=yes
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3479 if ac_fn_c_try_compile "$LINENO"; then :
3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 /* end confdefs.h. */
3494 if ac_fn_c_try_compile "$LINENO"; then :
3497 ac_c_werror_flag=$ac_save_c_werror_flag
3499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500 /* end confdefs.h. */
3510 if ac_fn_c_try_compile "$LINENO"; then :
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518 ac_c_werror_flag=$ac_save_c_werror_flag
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3521 $as_echo "$ac_cv_prog_cc_g" >&6; }
3522 if test "$ac_test_CFLAGS" = set; then
3523 CFLAGS=$ac_save_CFLAGS
3524 elif test $ac_cv_prog_cc_g = yes; then
3525 if test "$GCC" = yes; then
3531 if test "$GCC" = yes; then
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3538 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3539 if ${ac_cv_prog_cc_c89+:} false; then :
3540 $as_echo_n "(cached) " >&6
3542 ac_cv_prog_cc_c89=no
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3548 #include <sys/types.h>
3549 #include <sys/stat.h>
3550 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3551 struct buf { int x; };
3552 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3553 static char *e (p, i)
3559 static char *f (char * (*g) (char **, int), char **p, ...)
3564 s = g (p, va_arg (v,int));
3569 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3570 function prototypes and stuff, but not '\xHH' hex character constants.
3571 These don't provoke an error unfortunately, instead are silently treated
3572 as 'x'. The following induces an error, until -std is added to get
3573 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3574 array size at least. It's necessary to write '\x00'==0 to get something
3575 that's true only with -std. */
3576 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3578 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3579 inside strings and character constants. */
3581 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3583 int test (int i, double x);
3584 struct s1 {int (*f) (int a);};
3585 struct s2 {int (*f) (double a);};
3586 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3592 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3597 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3598 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3600 CC="$ac_save_CC $ac_arg"
3601 if ac_fn_c_try_compile "$LINENO"; then :
3602 ac_cv_prog_cc_c89=$ac_arg
3604 rm -f core conftest.err conftest.$ac_objext
3605 test "x$ac_cv_prog_cc_c89" != "xno" && break
3607 rm -f conftest.$ac_ext
3612 case "x$ac_cv_prog_cc_c89" in
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3615 $as_echo "none needed" >&6; } ;;
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3618 $as_echo "unsupported" >&6; } ;;
3620 CC="$CC $ac_cv_prog_cc_c89"
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3622 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3624 if test "x$ac_cv_prog_cc_c89" != xno; then :
3629 ac_cpp='$CPP $CPPFLAGS'
3630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3634 depcc="$CC" am_compiler_list=
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3637 $as_echo_n "checking dependency style of $depcc... " >&6; }
3638 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3639 $as_echo_n "(cached) " >&6
3641 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3642 # We make a subdir and do the tests there. Otherwise we can end up
3643 # making bogus files that we don't know about and never remove. For
3644 # instance it was reported that on HP-UX the gcc test will end up
3645 # making a dummy file named `D
' -- because `-MD' means
`put the output
3648 # Copy depcomp to subdir because otherwise we won't find it if we're
3649 # using a relative directory.
3650 cp "$am_depcomp" conftest.dir
3652 # We will build objects and dependencies in a subdirectory because
3653 # it helps to detect inapplicable dependency modes. For instance
3654 # both Tru64's cc and ICC support -MD to output dependencies as a
3655 # side effect of compilation, but ICC will put the dependencies in
3656 # the current directory while Tru64 will put them in the object
3660 am_cv_CC_dependencies_compiler_type=none
3661 if test "$am_compiler_list" = ""; then
3662 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3665 case " $depcc " in #(
3666 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3669 for depmode in $am_compiler_list; do
3670 # Setup a source with many dependencies, because some compilers
3671 # like to wrap large dependency lists on column 80 (with \), and
3672 # we should not choose a depcomp mode which is confused by this.
3674 # We need to recreate these files for each test, as the compiler may
3675 # overwrite some of them when testing with obscure command lines.
3676 # This happens at least with the AIX C compiler.
3678 for i in 1 2 3 4 5 6; do
3679 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3680 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3681 # Solaris 8's
{/usr
,}/bin
/sh.
3682 touch sub
/conftst
$i.h
3684 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3686 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3687 # mode. It turns out that the SunPro C++ compiler does not properly
3688 # handle `-M -o', and we need to detect this. Also, some Intel
3689 # versions had trouble with output in subdirs
3690 am__obj
=sub
/conftest.
${OBJEXT-o}
3691 am__minus_obj
="-o $am__obj"
3694 # This depmode causes a compiler race in universal mode.
3695 test "$am__universal" = false ||
continue
3698 # after this tag, mechanisms are not by side-effect, so they'll
3699 # only be used when explicitly requested
3700 if test "x$enable_dependency_tracking" = xyes
; then
3706 msvisualcpp | msvcmsys
)
3707 # This compiler won't grok `-c -o', but also, the minuso test has
3708 # not run yet. These depmodes are late enough in the game, and
3709 # so weak that their functioning should not be impacted.
3710 am__obj
=conftest.
${OBJEXT-o}
3715 if depmode
=$depmode \
3716 source=sub
/conftest.c object
=$am__obj \
3717 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3718 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3719 >/dev
/null
2>conftest.err
&&
3720 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3721 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3722 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3723 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3724 # icc doesn't choke on unknown options, it will just issue warnings
3725 # or remarks (even with -Werror). So we grep stderr for any message
3726 # that says an option was ignored or not supported.
3727 # When given -MP, icc 7.0 and 7.1 complain thusly:
3728 # icc: Command line warning: ignoring option '-M'; no argument required
3729 # The diagnosis changed in icc 8.0:
3730 # icc: Command line remark: option '-MP' not supported
3731 if (grep 'ignoring option' conftest.err ||
3732 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3733 am_cv_CC_dependencies_compiler_type
=$depmode
3742 am_cv_CC_dependencies_compiler_type
=none
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3747 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3748 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3751 test "x$enable_dependency_tracking" != xno \
3752 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3754 am__fastdepCC_FALSE
='#'
3756 am__fastdepCC_TRUE
='#'
3757 am__fastdepCC_FALSE
=
3761 # By default we simply use the C compiler to build assembly code.
3763 test "${CCAS+set}" = set || CCAS
=$CC
3764 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
3768 depcc
="$CCAS" am_compiler_list
=
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3771 $as_echo_n "checking dependency style of $depcc... " >&6; }
3772 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
3773 $as_echo_n "(cached) " >&6
3775 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3776 # We make a subdir and do the tests there. Otherwise we can end up
3777 # making bogus files that we don't know about and never remove. For
3778 # instance it was reported that on HP-UX the gcc test will end up
3779 # making a dummy file named `D' -- because `-MD' means `put the output
3782 # Copy depcomp to subdir because otherwise we won't find it if we're
3783 # using a relative directory.
3784 cp "$am_depcomp" conftest.dir
3786 # We will build objects and dependencies in a subdirectory because
3787 # it helps to detect inapplicable dependency modes. For instance
3788 # both Tru64's cc and ICC support -MD to output dependencies as a
3789 # side effect of compilation, but ICC will put the dependencies in
3790 # the current directory while Tru64 will put them in the object
3794 am_cv_CCAS_dependencies_compiler_type
=none
3795 if test "$am_compiler_list" = ""; then
3796 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3801 for depmode
in $am_compiler_list; do
3802 # Setup a source with many dependencies, because some compilers
3803 # like to wrap large dependency lists on column 80 (with \), and
3804 # we should not choose a depcomp mode which is confused by this.
3806 # We need to recreate these files for each test, as the compiler may
3807 # overwrite some of them when testing with obscure command lines.
3808 # This happens at least with the AIX C compiler.
3810 for i
in 1 2 3 4 5 6; do
3811 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3812 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3813 # Solaris 8's {/usr,}/bin/sh.
3814 touch sub
/conftst
$i.h
3816 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3818 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3819 # mode. It turns out that the SunPro C++ compiler does not properly
3820 # handle `-M -o', and we need to detect this. Also, some Intel
3821 # versions had trouble with output in subdirs
3822 am__obj
=sub
/conftest.
${OBJEXT-o}
3823 am__minus_obj
="-o $am__obj"
3826 # This depmode causes a compiler race in universal mode.
3827 test "$am__universal" = false ||
continue
3830 # after this tag, mechanisms are not by side-effect, so they'll
3831 # only be used when explicitly requested
3832 if test "x$enable_dependency_tracking" = xyes
; then
3838 msvisualcpp | msvcmsys
)
3839 # This compiler won't grok `-c -o', but also, the minuso test has
3840 # not run yet. These depmodes are late enough in the game, and
3841 # so weak that their functioning should not be impacted.
3842 am__obj
=conftest.
${OBJEXT-o}
3847 if depmode
=$depmode \
3848 source=sub
/conftest.c object
=$am__obj \
3849 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3850 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3851 >/dev
/null
2>conftest.err
&&
3852 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3853 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3854 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3855 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3856 # icc doesn't choke on unknown options, it will just issue warnings
3857 # or remarks (even with -Werror). So we grep stderr for any message
3858 # that says an option was ignored or not supported.
3859 # When given -MP, icc 7.0 and 7.1 complain thusly:
3860 # icc: Command line warning: ignoring option '-M'; no argument required
3861 # The diagnosis changed in icc 8.0:
3862 # icc: Command line remark: option '-MP' not supported
3863 if (grep 'ignoring option' conftest.err ||
3864 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3865 am_cv_CCAS_dependencies_compiler_type
=$depmode
3874 am_cv_CCAS_dependencies_compiler_type
=none
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3879 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3880 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
3883 test "x$enable_dependency_tracking" != xno \
3884 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
3885 am__fastdepCCAS_TRUE
=
3886 am__fastdepCCAS_FALSE
='#'
3888 am__fastdepCCAS_TRUE
='#'
3889 am__fastdepCCAS_FALSE
=
3894 ac_cpp
='$CPP $CPPFLAGS'
3895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3898 if test -n "$ac_tool_prefix"; then
3899 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3900 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3902 $as_echo_n "checking for $ac_word... " >&6; }
3903 if ${ac_cv_prog_CC+:} false
; then :
3904 $as_echo_n "(cached) " >&6
3906 if test -n "$CC"; then
3907 ac_cv_prog_CC
="$CC" # Let the user override the test.
3909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3913 test -z "$as_dir" && as_dir
=.
3914 for ac_exec_ext
in '' $ac_executable_extensions; do
3915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3916 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3927 if test -n "$CC"; then
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3929 $as_echo "$CC" >&6; }
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3932 $as_echo "no" >&6; }
3937 if test -z "$ac_cv_prog_CC"; then
3939 # Extract the first word of "gcc", so it can be a program name with args.
3940 set dummy gcc
; ac_word
=$2
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3942 $as_echo_n "checking for $ac_word... " >&6; }
3943 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3944 $as_echo_n "(cached) " >&6
3946 if test -n "$ac_ct_CC"; then
3947 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3953 test -z "$as_dir" && as_dir
=.
3954 for ac_exec_ext
in '' $ac_executable_extensions; do
3955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3956 ac_cv_prog_ac_ct_CC
="gcc"
3957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3967 if test -n "$ac_ct_CC"; then
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3969 $as_echo "$ac_ct_CC" >&6; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3972 $as_echo "no" >&6; }
3975 if test "x$ac_ct_CC" = x
; then
3978 case $cross_compiling:$ac_tool_warned in
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3982 ac_tool_warned
=yes ;;
3990 if test -z "$CC"; then
3991 if test -n "$ac_tool_prefix"; then
3992 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3993 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if ${ac_cv_prog_CC+:} false
; then :
3997 $as_echo_n "(cached) " >&6
3999 if test -n "$CC"; then
4000 ac_cv_prog_CC
="$CC" # Let the user override the test.
4002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4006 test -z "$as_dir" && as_dir
=.
4007 for ac_exec_ext
in '' $ac_executable_extensions; do
4008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4009 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 if test -n "$CC"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4022 $as_echo "$CC" >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4031 if test -z "$CC"; then
4032 # Extract the first word of "cc", so it can be a program name with args.
4033 set dummy cc
; ac_word
=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_CC+:} false
; then :
4037 $as_echo_n "(cached) " >&6
4039 if test -n "$CC"; then
4040 ac_cv_prog_CC
="$CC" # Let the user override the test.
4043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4047 test -z "$as_dir" && as_dir
=.
4048 for ac_exec_ext
in '' $ac_executable_extensions; do
4049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4050 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4051 ac_prog_rejected
=yes
4055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 if test $ac_prog_rejected = yes; then
4063 # We found a bogon in the path, so make sure we never use it.
4064 set dummy
$ac_cv_prog_CC
4066 if test $# != 0; then
4067 # We chose a different compiler from the bogus one.
4068 # However, it has the same basename, so the bogon will be chosen
4069 # first if we set CC to just the basename; use the full file name.
4071 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4077 if test -n "$CC"; then
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4079 $as_echo "$CC" >&6; }
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4082 $as_echo "no" >&6; }
4087 if test -z "$CC"; then
4088 if test -n "$ac_tool_prefix"; then
4089 for ac_prog
in cl.exe
4091 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4092 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4094 $as_echo_n "checking for $ac_word... " >&6; }
4095 if ${ac_cv_prog_CC+:} false
; then :
4096 $as_echo_n "(cached) " >&6
4098 if test -n "$CC"; then
4099 ac_cv_prog_CC
="$CC" # Let the user override the test.
4101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4105 test -z "$as_dir" && as_dir
=.
4106 for ac_exec_ext
in '' $ac_executable_extensions; do
4107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4108 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4119 if test -n "$CC"; then
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4121 $as_echo "$CC" >&6; }
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4128 test -n "$CC" && break
4131 if test -z "$CC"; then
4133 for ac_prog
in cl.exe
4135 # Extract the first word of "$ac_prog", so it can be a program name with args.
4136 set dummy
$ac_prog; ac_word
=$2
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4138 $as_echo_n "checking for $ac_word... " >&6; }
4139 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4140 $as_echo_n "(cached) " >&6
4142 if test -n "$ac_ct_CC"; then
4143 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4149 test -z "$as_dir" && as_dir
=.
4150 for ac_exec_ext
in '' $ac_executable_extensions; do
4151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4152 ac_cv_prog_ac_ct_CC
="$ac_prog"
4153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4162 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4163 if test -n "$ac_ct_CC"; then
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4165 $as_echo "$ac_ct_CC" >&6; }
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4168 $as_echo "no" >&6; }
4172 test -n "$ac_ct_CC" && break
4175 if test "x$ac_ct_CC" = x
; then
4178 case $cross_compiling:$ac_tool_warned in
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4182 ac_tool_warned
=yes ;;
4191 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4193 as_fn_error $?
"no acceptable C compiler found in \$PATH
4194 See \`config.log' for more details" "$LINENO" 5; }
4196 # Provide some information about the compiler.
4197 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4200 for ac_option
in --version -v -V -qversion; do
4201 { { ac_try
="$ac_compiler $ac_option >&5"
4203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4204 *) ac_try_echo=$ac_try;;
4206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4207 $as_echo "$ac_try_echo"; } >&5
4208 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4210 if test -s conftest.err; then
4212 ... rest of stderr output deleted ...
4213 10q' conftest.err >conftest.er1
4214 cat conftest.er1 >&5
4216 rm -f conftest.er1 conftest.err
4217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4218 test $ac_status = 0; }
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4222 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4223 if ${ac_cv_c_compiler_gnu+:} false; then :
4224 $as_echo_n "(cached) " >&6
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4240 if ac_fn_c_try_compile "$LINENO"; then :
4245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4250 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4251 if test $ac_compiler_gnu = yes; then
4256 ac_test_CFLAGS=${CFLAGS+set}
4257 ac_save_CFLAGS=$CFLAGS
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4259 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4260 if ${ac_cv_prog_cc_g+:} false; then :
4261 $as_echo_n "(cached) " >&6
4263 ac_save_c_werror_flag=$ac_c_werror_flag
4264 ac_c_werror_flag=yes
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4278 if ac_fn_c_try_compile "$LINENO"; then :
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4293 if ac_fn_c_try_compile "$LINENO"; then :
4296 ac_c_werror_flag=$ac_save_c_werror_flag
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4309 if ac_fn_c_try_compile "$LINENO"; then :
4312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317 ac_c_werror_flag=$ac_save_c_werror_flag
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4320 $as_echo "$ac_cv_prog_cc_g" >&6; }
4321 if test "$ac_test_CFLAGS" = set; then
4322 CFLAGS=$ac_save_CFLAGS
4323 elif test $ac_cv_prog_cc_g = yes; then
4324 if test "$GCC" = yes; then
4330 if test "$GCC" = yes; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4337 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4338 if ${ac_cv_prog_cc_c89+:} false; then :
4339 $as_echo_n "(cached) " >&6
4341 ac_cv_prog_cc_c89=no
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4347 #include <sys/types.h>
4348 #include <sys/stat.h>
4349 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4350 struct buf { int x; };
4351 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4352 static char *e (p, i)
4358 static char *f (char * (*g) (char **, int), char **p, ...)
4363 s = g (p, va_arg (v,int));
4368 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4369 function prototypes and stuff, but not '\xHH' hex character constants.
4370 These don't provoke an error unfortunately, instead are silently treated
4371 as 'x'. The following induces an error, until -std is added to get
4372 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4373 array size at least. It's necessary to write '\x00'==0 to get something
4374 that's true only with -std. */
4375 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4377 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4378 inside strings and character constants. */
4380 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4382 int test (int i, double x);
4383 struct s1 {int (*f) (int a);};
4384 struct s2 {int (*f) (double a);};
4385 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4391 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4396 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4397 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4399 CC="$ac_save_CC $ac_arg"
4400 if ac_fn_c_try_compile "$LINENO"; then :
4401 ac_cv_prog_cc_c89=$ac_arg
4403 rm -f core conftest.err conftest.$ac_objext
4404 test "x$ac_cv_prog_cc_c89" != "xno" && break
4406 rm -f conftest.$ac_ext
4411 case "x$ac_cv_prog_cc_c89" in
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4414 $as_echo "none needed" >&6; } ;;
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4417 $as_echo "unsupported" >&6; } ;;
4419 CC="$CC $ac_cv_prog_cc_c89"
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4421 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4423 if test "x$ac_cv_prog_cc_c89" != xno; then :
4428 ac_cpp='$CPP $CPPFLAGS'
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4433 depcc="$CC" am_compiler_list=
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4436 $as_echo_n "checking dependency style of $depcc... " >&6; }
4437 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4438 $as_echo_n "(cached) " >&6
4440 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4441 # We make a subdir and do the tests there. Otherwise we can end up
4442 # making bogus files that we don't know about and never remove. For
4443 # instance it was reported that on HP-UX the gcc test will end up
4444 # making a dummy file named `D
' -- because `-MD' means
`put the output
4447 # Copy depcomp to subdir because otherwise we won't find it if we're
4448 # using a relative directory.
4449 cp "$am_depcomp" conftest.dir
4451 # We will build objects and dependencies in a subdirectory because
4452 # it helps to detect inapplicable dependency modes. For instance
4453 # both Tru64's cc and ICC support -MD to output dependencies as a
4454 # side effect of compilation, but ICC will put the dependencies in
4455 # the current directory while Tru64 will put them in the object
4459 am_cv_CC_dependencies_compiler_type=none
4460 if test "$am_compiler_list" = ""; then
4461 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4464 case " $depcc " in #(
4465 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4468 for depmode in $am_compiler_list; do
4469 # Setup a source with many dependencies, because some compilers
4470 # like to wrap large dependency lists on column 80 (with \), and
4471 # we should not choose a depcomp mode which is confused by this.
4473 # We need to recreate these files for each test, as the compiler may
4474 # overwrite some of them when testing with obscure command lines.
4475 # This happens at least with the AIX C compiler.
4477 for i in 1 2 3 4 5 6; do
4478 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4479 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4480 # Solaris 8's
{/usr
,}/bin
/sh.
4481 touch sub
/conftst
$i.h
4483 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4485 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4486 # mode. It turns out that the SunPro C++ compiler does not properly
4487 # handle `-M -o', and we need to detect this. Also, some Intel
4488 # versions had trouble with output in subdirs
4489 am__obj
=sub
/conftest.
${OBJEXT-o}
4490 am__minus_obj
="-o $am__obj"
4493 # This depmode causes a compiler race in universal mode.
4494 test "$am__universal" = false ||
continue
4497 # after this tag, mechanisms are not by side-effect, so they'll
4498 # only be used when explicitly requested
4499 if test "x$enable_dependency_tracking" = xyes
; then
4505 msvisualcpp | msvcmsys
)
4506 # This compiler won't grok `-c -o', but also, the minuso test has
4507 # not run yet. These depmodes are late enough in the game, and
4508 # so weak that their functioning should not be impacted.
4509 am__obj
=conftest.
${OBJEXT-o}
4514 if depmode
=$depmode \
4515 source=sub
/conftest.c object
=$am__obj \
4516 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4517 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4518 >/dev
/null
2>conftest.err
&&
4519 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4520 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4521 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4522 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4523 # icc doesn't choke on unknown options, it will just issue warnings
4524 # or remarks (even with -Werror). So we grep stderr for any message
4525 # that says an option was ignored or not supported.
4526 # When given -MP, icc 7.0 and 7.1 complain thusly:
4527 # icc: Command line warning: ignoring option '-M'; no argument required
4528 # The diagnosis changed in icc 8.0:
4529 # icc: Command line remark: option '-MP' not supported
4530 if (grep 'ignoring option' conftest.err ||
4531 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4532 am_cv_CC_dependencies_compiler_type
=$depmode
4541 am_cv_CC_dependencies_compiler_type
=none
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4546 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4547 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4550 test "x$enable_dependency_tracking" != xno \
4551 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4553 am__fastdepCC_FALSE
='#'
4555 am__fastdepCC_TRUE
='#'
4556 am__fastdepCC_FALSE
=
4561 ac_cpp
='$CXXCPP $CPPFLAGS'
4562 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4563 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4564 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4565 if test -z "$CXX"; then
4566 if test -n "$CCC"; then
4569 if test -n "$ac_tool_prefix"; then
4570 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4573 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4575 $as_echo_n "checking for $ac_word... " >&6; }
4576 if ${ac_cv_prog_CXX+:} false
; then :
4577 $as_echo_n "(cached) " >&6
4579 if test -n "$CXX"; then
4580 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4586 test -z "$as_dir" && as_dir
=.
4587 for ac_exec_ext
in '' $ac_executable_extensions; do
4588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4589 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600 if test -n "$CXX"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4602 $as_echo "$CXX" >&6; }
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4609 test -n "$CXX" && break
4612 if test -z "$CXX"; then
4614 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4616 # Extract the first word of "$ac_prog", so it can be a program name with args.
4617 set dummy
$ac_prog; ac_word
=$2
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619 $as_echo_n "checking for $ac_word... " >&6; }
4620 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
4621 $as_echo_n "(cached) " >&6
4623 if test -n "$ac_ct_CXX"; then
4624 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4630 test -z "$as_dir" && as_dir
=.
4631 for ac_exec_ext
in '' $ac_executable_extensions; do
4632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4633 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4644 if test -n "$ac_ct_CXX"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4646 $as_echo "$ac_ct_CXX" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4653 test -n "$ac_ct_CXX" && break
4656 if test "x$ac_ct_CXX" = x
; then
4659 case $cross_compiling:$ac_tool_warned in
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4663 ac_tool_warned
=yes ;;
4671 # Provide some information about the compiler.
4672 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4675 for ac_option
in --version -v -V -qversion; do
4676 { { ac_try
="$ac_compiler $ac_option >&5"
4678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4679 *) ac_try_echo=$ac_try;;
4681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4682 $as_echo "$ac_try_echo"; } >&5
4683 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4685 if test -s conftest.err; then
4687 ... rest of stderr output deleted ...
4688 10q' conftest.err >conftest.er1
4689 cat conftest.er1 >&5
4691 rm -f conftest.er1 conftest.err
4692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4693 test $ac_status = 0; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4697 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4698 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4699 $as_echo_n "(cached) " >&6
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4715 if ac_fn_cxx_try_compile "$LINENO"; then :
4720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4721 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4725 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4726 if test $ac_compiler_gnu = yes; then
4731 ac_test_CXXFLAGS=${CXXFLAGS+set}
4732 ac_save_CXXFLAGS=$CXXFLAGS
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4734 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4735 if ${ac_cv_prog_cxx_g+:} false; then :
4736 $as_echo_n "(cached) " >&6
4738 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4739 ac_cxx_werror_flag=yes
4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4753 if ac_fn_cxx_try_compile "$LINENO"; then :
4754 ac_cv_prog_cxx_g=yes
4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4768 if ac_fn_cxx_try_compile "$LINENO"; then :
4771 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4784 if ac_fn_cxx_try_compile "$LINENO"; then :
4785 ac_cv_prog_cxx_g=yes
4787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4792 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4795 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4796 if test "$ac_test_CXXFLAGS" = set; then
4797 CXXFLAGS=$ac_save_CXXFLAGS
4798 elif test $ac_cv_prog_cxx_g = yes; then
4799 if test "$GXX" = yes; then
4805 if test "$GXX" = yes; then
4812 ac_cpp='$CPP $CPPFLAGS'
4813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4817 depcc="$CXX" am_compiler_list=
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4820 $as_echo_n "checking dependency style of $depcc... " >&6; }
4821 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4822 $as_echo_n "(cached) " >&6
4824 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4825 # We make a subdir and do the tests there. Otherwise we can end up
4826 # making bogus files that we don't know about and never remove. For
4827 # instance it was reported that on HP-UX the gcc test will end up
4828 # making a dummy file named `D
' -- because `-MD' means
`put the output
4831 # Copy depcomp to subdir because otherwise we won't find it if we're
4832 # using a relative directory.
4833 cp "$am_depcomp" conftest.dir
4835 # We will build objects and dependencies in a subdirectory because
4836 # it helps to detect inapplicable dependency modes. For instance
4837 # both Tru64's cc and ICC support -MD to output dependencies as a
4838 # side effect of compilation, but ICC will put the dependencies in
4839 # the current directory while Tru64 will put them in the object
4843 am_cv_CXX_dependencies_compiler_type=none
4844 if test "$am_compiler_list" = ""; then
4845 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4848 case " $depcc " in #(
4849 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4852 for depmode in $am_compiler_list; do
4853 # Setup a source with many dependencies, because some compilers
4854 # like to wrap large dependency lists on column 80 (with \), and
4855 # we should not choose a depcomp mode which is confused by this.
4857 # We need to recreate these files for each test, as the compiler may
4858 # overwrite some of them when testing with obscure command lines.
4859 # This happens at least with the AIX C compiler.
4861 for i in 1 2 3 4 5 6; do
4862 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4863 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4864 # Solaris 8's
{/usr
,}/bin
/sh.
4865 touch sub
/conftst
$i.h
4867 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4869 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4870 # mode. It turns out that the SunPro C++ compiler does not properly
4871 # handle `-M -o', and we need to detect this. Also, some Intel
4872 # versions had trouble with output in subdirs
4873 am__obj
=sub
/conftest.
${OBJEXT-o}
4874 am__minus_obj
="-o $am__obj"
4877 # This depmode causes a compiler race in universal mode.
4878 test "$am__universal" = false ||
continue
4881 # after this tag, mechanisms are not by side-effect, so they'll
4882 # only be used when explicitly requested
4883 if test "x$enable_dependency_tracking" = xyes
; then
4889 msvisualcpp | msvcmsys
)
4890 # This compiler won't grok `-c -o', but also, the minuso test has
4891 # not run yet. These depmodes are late enough in the game, and
4892 # so weak that their functioning should not be impacted.
4893 am__obj
=conftest.
${OBJEXT-o}
4898 if depmode
=$depmode \
4899 source=sub
/conftest.c object
=$am__obj \
4900 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4901 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4902 >/dev
/null
2>conftest.err
&&
4903 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4904 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4905 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4906 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4907 # icc doesn't choke on unknown options, it will just issue warnings
4908 # or remarks (even with -Werror). So we grep stderr for any message
4909 # that says an option was ignored or not supported.
4910 # When given -MP, icc 7.0 and 7.1 complain thusly:
4911 # icc: Command line warning: ignoring option '-M'; no argument required
4912 # The diagnosis changed in icc 8.0:
4913 # icc: Command line remark: option '-MP' not supported
4914 if (grep 'ignoring option' conftest.err ||
4915 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4916 am_cv_CXX_dependencies_compiler_type
=$depmode
4925 am_cv_CXX_dependencies_compiler_type
=none
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4930 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4931 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4934 test "x$enable_dependency_tracking" != xno \
4935 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4936 am__fastdepCXX_TRUE
=
4937 am__fastdepCXX_FALSE
='#'
4939 am__fastdepCXX_TRUE
='#'
4940 am__fastdepCXX_FALSE
=
4945 if test -n "$ac_tool_prefix"; then
4946 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4947 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 $as_echo_n "checking for $ac_word... " >&6; }
4950 if ${ac_cv_prog_RANLIB+:} false
; then :
4951 $as_echo_n "(cached) " >&6
4953 if test -n "$RANLIB"; then
4954 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4960 test -z "$as_dir" && as_dir
=.
4961 for ac_exec_ext
in '' $ac_executable_extensions; do
4962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4963 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 RANLIB
=$ac_cv_prog_RANLIB
4974 if test -n "$RANLIB"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4976 $as_echo "$RANLIB" >&6; }
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4984 if test -z "$ac_cv_prog_RANLIB"; then
4985 ac_ct_RANLIB
=$RANLIB
4986 # Extract the first word of "ranlib", so it can be a program name with args.
4987 set dummy ranlib
; ac_word
=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4991 $as_echo_n "(cached) " >&6
4993 if test -n "$ac_ct_RANLIB"; then
4994 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5000 test -z "$as_dir" && as_dir
=.
5001 for ac_exec_ext
in '' $ac_executable_extensions; do
5002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5003 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5014 if test -n "$ac_ct_RANLIB"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5016 $as_echo "$ac_ct_RANLIB" >&6; }
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5022 if test "x$ac_ct_RANLIB" = x
; then
5025 case $cross_compiling:$ac_tool_warned in
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5029 ac_tool_warned
=yes ;;
5031 RANLIB
=$ac_ct_RANLIB
5034 RANLIB
="$ac_cv_prog_RANLIB"
5038 # Checks for header files.
5041 ac_cpp
='$CPP $CPPFLAGS'
5042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5046 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5047 # On Suns, sometimes $CPP names a directory.
5048 if test -n "$CPP" && test -d "$CPP"; then
5051 if test -z "$CPP"; then
5052 if ${ac_cv_prog_CPP+:} false
; then :
5053 $as_echo_n "(cached) " >&6
5055 # Double quotes because CPP needs to be expanded
5056 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5059 for ac_c_preproc_warn_flag
in '' yes
5061 # Use a header file that comes with gcc, so configuring glibc
5062 # with a fresh cross-compiler works.
5063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5064 # <limits.h> exists even on freestanding compilers.
5065 # On the NeXT, cc -E runs the code through the compiler's parser,
5066 # not just through cpp. "Syntax error" is here to catch this case.
5067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h. */
5070 # include <limits.h>
5072 # include <assert.h>
5076 if ac_fn_c_try_cpp
"$LINENO"; then :
5079 # Broken: fails on valid input.
5082 rm -f conftest.err conftest.i conftest.
$ac_ext
5084 # OK, works on sane cases. Now check whether nonexistent headers
5085 # can be detected and how.
5086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5087 /* end confdefs.h. */
5088 #include <ac_nonexistent.h>
5090 if ac_fn_c_try_cpp
"$LINENO"; then :
5091 # Broken: success on invalid input.
5094 # Passes both tests.
5098 rm -f conftest.err conftest.i conftest.
$ac_ext
5101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5102 rm -f conftest.i conftest.err conftest.
$ac_ext
5103 if $ac_preproc_ok; then :
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5116 $as_echo "$CPP" >&6; }
5118 for ac_c_preproc_warn_flag
in '' yes
5120 # Use a header file that comes with gcc, so configuring glibc
5121 # with a fresh cross-compiler works.
5122 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5123 # <limits.h> exists even on freestanding compilers.
5124 # On the NeXT, cc -E runs the code through the compiler's parser,
5125 # not just through cpp. "Syntax error" is here to catch this case.
5126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5127 /* end confdefs.h. */
5129 # include <limits.h>
5131 # include <assert.h>
5135 if ac_fn_c_try_cpp
"$LINENO"; then :
5138 # Broken: fails on valid input.
5141 rm -f conftest.err conftest.i conftest.
$ac_ext
5143 # OK, works on sane cases. Now check whether nonexistent headers
5144 # can be detected and how.
5145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5146 /* end confdefs.h. */
5147 #include <ac_nonexistent.h>
5149 if ac_fn_c_try_cpp
"$LINENO"; then :
5150 # Broken: success on invalid input.
5153 # Passes both tests.
5157 rm -f conftest.err conftest.i conftest.
$ac_ext
5160 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5161 rm -f conftest.i conftest.err conftest.
$ac_ext
5162 if $ac_preproc_ok; then :
5165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5167 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5168 See \`config.log' for more details" "$LINENO" 5; }
5172 ac_cpp
='$CPP $CPPFLAGS'
5173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5179 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5180 if ${ac_cv_path_GREP+:} false
; then :
5181 $as_echo_n "(cached) " >&6
5183 if test -z "$GREP"; then
5184 ac_path_GREP_found
=false
5185 # Loop through the user's path and test for each of PROGNAME-LIST
5186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5187 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5190 test -z "$as_dir" && as_dir
=.
5191 for ac_prog
in grep ggrep
; do
5192 for ac_exec_ext
in '' $ac_executable_extensions; do
5193 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5194 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5195 # Check for GNU ac_path_GREP and select it if it is found.
5196 # Check for GNU $ac_path_GREP
5197 case `"$ac_path_GREP" --version 2>&1` in
5199 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5202 $as_echo_n 0123456789 >"conftest.in"
5205 cat "conftest.in" "conftest.in" >"conftest.tmp"
5206 mv "conftest.tmp" "conftest.in"
5207 cp "conftest.in" "conftest.nl"
5208 $as_echo 'GREP' >> "conftest.nl"
5209 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5210 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5211 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5212 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5213 # Best one so far, save it but keep looking for a better one
5214 ac_cv_path_GREP
="$ac_path_GREP"
5215 ac_path_GREP_max
=$ac_count
5217 # 10*(2^10) chars as input seems more than enough
5218 test $ac_count -gt 10 && break
5220 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5223 $ac_path_GREP_found && break 3
5228 if test -z "$ac_cv_path_GREP"; then
5229 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5232 ac_cv_path_GREP
=$GREP
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5237 $as_echo "$ac_cv_path_GREP" >&6; }
5238 GREP
="$ac_cv_path_GREP"
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5242 $as_echo_n "checking for egrep... " >&6; }
5243 if ${ac_cv_path_EGREP+:} false
; then :
5244 $as_echo_n "(cached) " >&6
5246 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5247 then ac_cv_path_EGREP
="$GREP -E"
5249 if test -z "$EGREP"; then
5250 ac_path_EGREP_found
=false
5251 # Loop through the user's path and test for each of PROGNAME-LIST
5252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5253 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5256 test -z "$as_dir" && as_dir
=.
5257 for ac_prog
in egrep; do
5258 for ac_exec_ext
in '' $ac_executable_extensions; do
5259 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5260 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5261 # Check for GNU ac_path_EGREP and select it if it is found.
5262 # Check for GNU $ac_path_EGREP
5263 case `"$ac_path_EGREP" --version 2>&1` in
5265 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5268 $as_echo_n 0123456789 >"conftest.in"
5271 cat "conftest.in" "conftest.in" >"conftest.tmp"
5272 mv "conftest.tmp" "conftest.in"
5273 cp "conftest.in" "conftest.nl"
5274 $as_echo 'EGREP' >> "conftest.nl"
5275 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5276 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5277 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5278 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5279 # Best one so far, save it but keep looking for a better one
5280 ac_cv_path_EGREP
="$ac_path_EGREP"
5281 ac_path_EGREP_max
=$ac_count
5283 # 10*(2^10) chars as input seems more than enough
5284 test $ac_count -gt 10 && break
5286 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5289 $ac_path_EGREP_found && break 3
5294 if test -z "$ac_cv_path_EGREP"; then
5295 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5298 ac_cv_path_EGREP
=$EGREP
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5304 $as_echo "$ac_cv_path_EGREP" >&6; }
5305 EGREP
="$ac_cv_path_EGREP"
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5309 $as_echo_n "checking for ANSI C header files... " >&6; }
5310 if ${ac_cv_header_stdc+:} false
; then :
5311 $as_echo_n "(cached) " >&6
5313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5314 /* end confdefs.h. */
5328 if ac_fn_c_try_compile
"$LINENO"; then :
5329 ac_cv_header_stdc
=yes
5331 ac_cv_header_stdc
=no
5333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5335 if test $ac_cv_header_stdc = yes; then
5336 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5338 /* end confdefs.h. */
5342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5343 $EGREP "memchr" >/dev
/null
2>&1; then :
5346 ac_cv_header_stdc
=no
5352 if test $ac_cv_header_stdc = yes; then
5353 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5355 /* end confdefs.h. */
5359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5360 $EGREP "free" >/dev
/null
2>&1; then :
5363 ac_cv_header_stdc
=no
5369 if test $ac_cv_header_stdc = yes; then
5370 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5371 if test "$cross_compiling" = yes; then :
5374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5378 #if ((' ' & 0x0FF) == 0x020)
5379 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5380 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5382 # define ISLOWER(c) \
5383 (('a' <= (c) && (c) <= 'i') \
5384 || ('j' <= (c) && (c) <= 'r') \
5385 || ('s' <= (c) && (c) <= 'z'))
5386 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5389 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5394 for (i = 0; i < 256; i++)
5395 if (XOR (islower (i), ISLOWER (i))
5396 || toupper (i) != TOUPPER (i))
5401 if ac_fn_c_try_run
"$LINENO"; then :
5404 ac_cv_header_stdc
=no
5406 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5407 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5413 $as_echo "$ac_cv_header_stdc" >&6; }
5414 if test $ac_cv_header_stdc = yes; then
5416 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
5421 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
5422 if ${ac_cv_header_sys_wait_h+:} false
; then :
5423 $as_echo_n "(cached) " >&6
5425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5426 /* end confdefs.h. */
5427 #include <sys/types.h>
5428 #include <sys/wait.h>
5430 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5433 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5441 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5446 if ac_fn_c_try_compile
"$LINENO"; then :
5447 ac_cv_header_sys_wait_h
=yes
5449 ac_cv_header_sys_wait_h
=no
5451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
5454 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
5455 if test $ac_cv_header_sys_wait_h = yes; then
5457 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
5461 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5462 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5463 inttypes.h stdint.h unistd.h
5465 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5466 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5468 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5469 cat >>confdefs.h
<<_ACEOF
5470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5478 for ac_header
in fcntl.h stdint.h stdlib.h string.h sys
/ioctl.h sys
/time.h termios.h unistd.h
5480 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5481 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5482 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5483 cat >>confdefs.h
<<_ACEOF
5484 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5492 # Checks for typedefs, structures, and compiler characteristics.
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5494 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5495 if ${ac_cv_c_const+:} false
; then :
5496 $as_echo_n "(cached) " >&6
5498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5499 /* end confdefs.h. */
5504 /* FIXME: Include the comments suggested by Paul. */
5506 /* Ultrix mips cc rejects this. */
5507 typedef int charset[2];
5509 /* SunOS 4.1.1 cc rejects this. */
5510 char const *const *pcpcc;
5512 /* NEC SVR4.0.2 mips cc rejects this. */
5513 struct point {int x, y;};
5514 static struct point const zero = {0,0};
5515 /* AIX XL C 1.02.0.0 rejects this.
5516 It does not let you subtract one const X* pointer from another in
5517 an arm of an if-expression whose if-part is not a constant
5519 const char *g = "string";
5520 pcpcc = &g + (g ? g-g : 0);
5521 /* HPUX 7.0 cc rejects these. */
5523 ppc = (char**) pcpcc;
5524 pcpcc = (char const *const *) ppc;
5525 { /* SCO 3.2v4 cc rejects this. */
5527 char const *s = 0 ? (char *) 0 : (char const *) 0;
5532 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5534 const int *foo = &x[0];
5537 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5538 typedef const int *iptr;
5542 { /* AIX XL C 1.02.0.0 rejects this saying
5543 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5544 struct s { int j; const int *ap[3]; };
5545 struct s *b; b->j = 5;
5547 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5551 return !cs[0] && !zero.x;
5558 if ac_fn_c_try_compile
"$LINENO"; then :
5563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5566 $as_echo "$ac_cv_c_const" >&6; }
5567 if test $ac_cv_c_const = no
; then
5569 $as_echo "#define const /**/" >>confdefs.h
5573 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5574 if test "x$ac_cv_type_size_t" = xyes
; then :
5578 cat >>confdefs.h
<<_ACEOF
5579 #define size_t unsigned int
5584 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
5585 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
5587 cat >>confdefs.h
<<_ACEOF
5588 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5594 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
5595 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
5597 cat >>confdefs.h
<<_ACEOF
5598 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5602 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
5605 case " $LIBOBJS " in
5606 *" fileblocks.$ac_objext "* ) ;;
5607 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
5614 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
5615 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
5617 cat >>confdefs.h
<<_ACEOF
5618 #define HAVE_STRUCT_STAT_ST_RDEV 1
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5625 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5626 if ${ac_cv_header_time+:} false
; then :
5627 $as_echo_n "(cached) " >&6
5629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5630 /* end confdefs.h. */
5631 #include <sys/types.h>
5632 #include <sys/time.h>
5638 if ((struct tm *) 0)
5644 if ac_fn_c_try_compile
"$LINENO"; then :
5645 ac_cv_header_time
=yes
5647 ac_cv_header_time
=no
5649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
5652 $as_echo "$ac_cv_header_time" >&6; }
5653 if test $ac_cv_header_time = yes; then
5655 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5660 # Checks for library functions.
5661 if test $ac_cv_c_compiler_gnu = yes; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5663 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
5664 if ${ac_cv_prog_gcc_traditional+:} false
; then :
5665 $as_echo_n "(cached) " >&6
5667 ac_pattern
="Autoconf.*'x'"
5668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5669 /* end confdefs.h. */
5673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5674 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
5675 ac_cv_prog_gcc_traditional
=yes
5677 ac_cv_prog_gcc_traditional
=no
5682 if test $ac_cv_prog_gcc_traditional = no
; then
5683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5684 /* end confdefs.h. */
5688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5689 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
5690 ac_cv_prog_gcc_traditional
=yes
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5697 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5698 if test $ac_cv_prog_gcc_traditional = yes; then
5699 CC
="$CC -traditional"
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
5704 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
5705 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false
; then :
5706 $as_echo_n "(cached) " >&6
5708 rm -f conftest.sym conftest.
file
5710 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
5711 if test "$cross_compiling" = yes; then :
5712 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5716 $ac_includes_default
5721 /* Linux will dereference the symlink and fail, as required by POSIX.
5722 That is better in the sense that it means we will not
5723 have to compile and use the lstat wrapper. */
5724 return lstat ("conftest.sym/", &sbuf) == 0;
5729 if ac_fn_c_try_run
"$LINENO"; then :
5730 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
5732 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5734 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5735 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5739 # If the `ln -s' command failed, then we probably don't even
5740 # have an lstat function.
5741 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5743 rm -f conftest.sym conftest.
file
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
5747 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
5749 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
5751 cat >>confdefs.h
<<_ACEOF
5752 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
5756 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
5757 case " $LIBOBJS " in
5758 *" lstat.$ac_objext "* ) ;;
5759 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
5766 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
5767 if ${ac_cv_func_lstat_empty_string_bug+:} false
; then :
5768 $as_echo_n "(cached) " >&6
5770 if test "$cross_compiling" = yes; then :
5771 ac_cv_func_lstat_empty_string_bug
=yes
5773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5774 /* end confdefs.h. */
5775 $ac_includes_default
5780 return lstat ("", &sbuf) == 0;
5785 if ac_fn_c_try_run
"$LINENO"; then :
5786 ac_cv_func_lstat_empty_string_bug
=no
5788 ac_cv_func_lstat_empty_string_bug
=yes
5790 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5791 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
5796 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
5797 if test $ac_cv_func_lstat_empty_string_bug = yes; then
5798 case " $LIBOBJS " in
5799 *" lstat.$ac_objext "* ) ;;
5800 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
5805 cat >>confdefs.h
<<_ACEOF
5806 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
5812 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
5813 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false
; then :
5814 $as_echo_n "(cached) " >&6
5816 rm -f conftest.sym conftest.
file
5818 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
5819 if test "$cross_compiling" = yes; then :
5820 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5824 $ac_includes_default
5829 /* Linux will dereference the symlink and fail, as required by POSIX.
5830 That is better in the sense that it means we will not
5831 have to compile and use the lstat wrapper. */
5832 return lstat ("conftest.sym/", &sbuf) == 0;
5837 if ac_fn_c_try_run
"$LINENO"; then :
5838 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
5840 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5842 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5843 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5847 # If the `ln -s' command failed, then we probably don't even
5848 # have an lstat function.
5849 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5851 rm -f conftest.sym conftest.
file
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
5855 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
5857 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
5859 cat >>confdefs.h
<<_ACEOF
5860 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
5864 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
5865 case " $LIBOBJS " in
5866 *" lstat.$ac_objext "* ) ;;
5867 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
5873 for ac_header
in stdlib.h
5875 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5876 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
5877 cat >>confdefs.h
<<_ACEOF
5878 #define HAVE_STDLIB_H 1
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5886 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5887 if ${ac_cv_func_malloc_0_nonnull+:} false
; then :
5888 $as_echo_n "(cached) " >&6
5890 if test "$cross_compiling" = yes; then :
5891 ac_cv_func_malloc_0_nonnull
=no
5893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5894 /* end confdefs.h. */
5895 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5896 # include <stdlib.h>
5904 return ! malloc (0);
5909 if ac_fn_c_try_run
"$LINENO"; then :
5910 ac_cv_func_malloc_0_nonnull
=yes
5912 ac_cv_func_malloc_0_nonnull
=no
5914 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5915 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5920 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5921 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5923 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5926 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5928 case " $LIBOBJS " in
5929 *" malloc.$ac_objext "* ) ;;
5930 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
5935 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5940 for ac_header
in stdlib.h
5942 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5943 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
5944 cat >>confdefs.h
<<_ACEOF
5945 #define HAVE_STDLIB_H 1
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5953 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5954 if ${ac_cv_func_realloc_0_nonnull+:} false
; then :
5955 $as_echo_n "(cached) " >&6
5957 if test "$cross_compiling" = yes; then :
5958 ac_cv_func_realloc_0_nonnull
=no
5960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5961 /* end confdefs.h. */
5962 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5963 # include <stdlib.h>
5971 return ! realloc (0, 0);
5976 if ac_fn_c_try_run
"$LINENO"; then :
5977 ac_cv_func_realloc_0_nonnull
=yes
5979 ac_cv_func_realloc_0_nonnull
=no
5981 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5982 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5987 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5988 if test $ac_cv_func_realloc_0_nonnull = yes; then :
5990 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5993 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5995 case " $LIBOBJS " in
5996 *" realloc.$ac_objext "* ) ;;
5997 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
6002 $as_echo "#define realloc rpl_realloc" >>confdefs.h
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
6008 $as_echo_n "checking return type of signal handlers... " >&6; }
6009 if ${ac_cv_type_signal+:} false
; then :
6010 $as_echo_n "(cached) " >&6
6012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6013 /* end confdefs.h. */
6014 #include <sys/types.h>
6020 return *(signal (0, 0)) (0) == 1;
6025 if ac_fn_c_try_compile
"$LINENO"; then :
6026 ac_cv_type_signal
=int
6028 ac_cv_type_signal
=void
6030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
6033 $as_echo "$ac_cv_type_signal" >&6; }
6035 cat >>confdefs.h
<<_ACEOF
6036 #define RETSIGTYPE $ac_cv_type_signal
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
6041 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
6042 if ${ac_cv_func_stat_empty_string_bug+:} false
; then :
6043 $as_echo_n "(cached) " >&6
6045 if test "$cross_compiling" = yes; then :
6046 ac_cv_func_stat_empty_string_bug
=yes
6048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6050 $ac_includes_default
6055 return stat ("", &sbuf) == 0;
6060 if ac_fn_c_try_run
"$LINENO"; then :
6061 ac_cv_func_stat_empty_string_bug
=no
6063 ac_cv_func_stat_empty_string_bug
=yes
6065 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6066 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
6071 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
6072 if test $ac_cv_func_stat_empty_string_bug = yes; then
6073 case " $LIBOBJS " in
6074 *" stat.$ac_objext "* ) ;;
6075 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
6080 cat >>confdefs.h
<<_ACEOF
6081 #define HAVE_STAT_EMPTY_STRING_BUG 1
6086 for ac_func
in vprintf
6088 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
6089 if test "x$ac_cv_func_vprintf" = xyes
; then :
6090 cat >>confdefs.h
<<_ACEOF
6091 #define HAVE_VPRINTF 1
6094 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
6095 if test "x$ac_cv_func__doprnt" = xyes
; then :
6097 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
6105 for ac_func
in alarm bzero ftruncate getcwd gettimeofday mkdir strcasecmp strdup strstr
6107 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6108 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6109 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6110 cat >>confdefs.h
<<_ACEOF
6111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
6118 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
6119 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
6120 $as_echo_n "(cached) " >&6
6122 ac_check_lib_save_LIBS
=$LIBS
6123 LIBS
="-lpthread $LIBS"
6124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6125 /* end confdefs.h. */
6127 /* Override any GCC internal prototype to avoid an error.
6128 Use char because int might match the return type of a GCC
6129 builtin and then its argument prototype would still apply. */
6133 char pthread_create ();
6137 return pthread_create ();
6142 if ac_fn_c_try_link
"$LINENO"; then :
6143 ac_cv_lib_pthread_pthread_create
=yes
6145 ac_cv_lib_pthread_pthread_create
=no
6147 rm -f core conftest.err conftest.
$ac_objext \
6148 conftest
$ac_exeext conftest.
$ac_ext
6149 LIBS
=$ac_check_lib_save_LIBS
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
6152 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
6153 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
6158 ac_config_files
="$ac_config_files Makefile src/Makefile src/libnetwork/Makefile src/libgpukernel/Makefile src/libgpudisasm/Makefile src/libcachesystem/Makefile src/libm2skernel/Makefile src/libdisasm/Makefile src/libesim/Makefile src/libmhandle/Makefile src/libopt/Makefile src/libstruct/Makefile src/libmisc/Makefile src/libutils/Makefile src/libfs/Makefile src/libfs/hostfs/Makefile src/libfs/bfs/Makefile src/libintr/Makefile src/libbio/Makefile"
6160 cat >confcache
<<\_ACEOF
6161 # This file is a shell script that caches the results of configure
6162 # tests run on this system so they can be shared between configure
6163 # scripts and configure runs, see configure's option --config-cache.
6164 # It is not useful on other systems. If it contains results you don't
6165 # want to keep, you may remove or edit it.
6167 # config.status only pays attention to the cache file if you give it
6168 # the --recheck option to rerun configure.
6170 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6171 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6176 # The following way of writing the cache mishandles newlines in values,
6177 # but we know of no workaround that is simple, portable, and efficient.
6178 # So, we kill variables containing newlines.
6179 # Ultrix sh set writes to stderr and can't be redirected directly,
6180 # and sets the high bit in the cache file unless we assign to the vars.
6182 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6183 eval ac_val
=\$
$ac_var
6187 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6188 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6191 _ | IFS | as_nl
) ;; #(
6192 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6193 *) { eval $ac_var=; unset $ac_var;} ;;
6199 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6200 *${as_nl}ac_space
=\
*)
6201 # `set' does not quote correctly, so add quotes: double-quote
6202 # substitution turns \\\\ into \\, and sed turns \\ into \.
6205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6208 # `set' quotes correctly as required by POSIX, so do not add quotes.
6209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6218 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6220 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6222 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6223 if test -w "$cache_file"; then
6224 if test "x$cache_file" != "x/dev/null"; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6226 $as_echo "$as_me: updating cache $cache_file" >&6;}
6227 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6228 cat confcache
>"$cache_file"
6230 case $cache_file in #(
6232 mv -f confcache
"$cache_file"$$
&&
6233 mv -f "$cache_file"$$
"$cache_file" ;; #(
6235 mv -f confcache
"$cache_file" ;;
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6241 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6246 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6247 # Let make expand exec_prefix.
6248 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6250 # Transform confdefs.h into DEFS.
6251 # Protect against shell expansion while executing Makefile rules.
6252 # Protect against Makefile macro expansion.
6254 # If the first sed substitution is executed (which looks for macros that
6255 # take arguments), then branch to the quote section. Otherwise,
6256 # look for a macro that doesn't take arguments.
6266 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6268 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6272 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6285 DEFS
=`sed -n "$ac_script" confdefs.h`
6291 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6292 # 1. Remove the extension, and $U if already installed.
6293 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6294 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6295 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6296 # will be set to the directory where LIBOBJS objects are built.
6297 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6298 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6302 LTLIBOBJS
=$ac_ltlibobjs
6305 if test -n "$EXEEXT"; then
6307 am__EXEEXT_FALSE
='#'
6313 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6314 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6317 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6318 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6321 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
6322 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
6323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6325 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6326 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6329 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6330 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
6331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6334 : "${CONFIG_STATUS=./config.status}"
6336 ac_clean_files_save
=$ac_clean_files
6337 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6339 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6341 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6343 # Generated by $as_me.
6344 # Run this file to recreate the current configuration.
6345 # Compiler output produced by configure, useful for debugging
6346 # configure, is in config.log if it exists.
6352 SHELL=\${CONFIG_SHELL-$SHELL}
6355 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6356 ## -------------------- ##
6357 ## M4sh Initialization. ##
6358 ## -------------------- ##
6360 # Be more Bourne compatible
6361 DUALCASE
=1; export DUALCASE
# for MKS sh
6362 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6365 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6366 # is contrary to our usage. Disable this feature.
6367 alias -g '${1+"$@"}'='"$@"'
6368 setopt NO_GLOB_SUBST
6370 case `(set -o) 2>/dev/null` in #(
6382 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6383 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6384 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6385 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6386 # Prefer a ksh shell builtin over an external printf program on Solaris,
6387 # but without wasting forks for bash or zsh.
6388 if test -z "$BASH_VERSION$ZSH_VERSION" \
6389 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6390 as_echo='print
-r --'
6391 as_echo_n='print
-rn --'
6392 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6393 as_echo='printf %s
\n'
6394 as_echo_n='printf %s
'
6396 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6397 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6398 as_echo_n='/usr
/ucb
/echo -n'
6400 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6401 as_echo_n_body='eval
6405 expr "X$arg" : "X\\(.*\\)$as_nl";
6406 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6408 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6410 export as_echo_n_body
6411 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6414 as_echo='sh
-c $as_echo_body as_echo
'
6417 # The user is always right.
6418 if test "${PATH_SEPARATOR+set}" != set; then
6420 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6421 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6428 # We need space, tab and new line, in precisely that order. Quoting is
6429 # there to prevent editors from complaining about space-tab.
6430 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6431 # splitting by setting IFS to empty value.)
6434 # Find who we are. Look in the path if we contain no directory separator.
6437 *[\\/]* ) as_myself=$0 ;;
6438 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6442 test -z "$as_dir" && as_dir=.
6443 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6449 # We did not find ourselves, most probably we were run as `sh COMMAND'
6450 # in which case we are not to be found in the path.
6451 if test "x$as_myself" = x
; then
6454 if test ! -f "$as_myself"; then
6455 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6459 # Unset variables that we do not need and which cause bugs (e.g. in
6460 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6461 # suppresses any "Segmentation fault" message there. '((' could
6462 # trigger a bug in pdksh 5.2.14.
6463 for as_var
in BASH_ENV ENV MAIL MAILPATH
6464 do eval test x\
${$as_var+set} = xset \
6465 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6478 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6481 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6482 # ----------------------------------------
6483 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6484 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6485 # script with STATUS, using 1 if that was 0.
6488 as_status
=$1; test $as_status -eq 0 && as_status
=1
6490 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6491 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6493 $as_echo "$as_me: error: $2" >&2
6494 as_fn_exit
$as_status
6498 # as_fn_set_status STATUS
6499 # -----------------------
6500 # Set $? to STATUS, without forking.
6504 } # as_fn_set_status
6508 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6518 # Portably unset VAR.
6521 { eval $1=; unset $1;}
6523 as_unset
=as_fn_unset
6524 # as_fn_append VAR VALUE
6525 # ----------------------
6526 # Append the text in VALUE to the end of the definition contained in VAR. Take
6527 # advantage of any shell optimizations that allow amortized linear growth over
6528 # repeated appends, instead of the typical quadratic growth present in naive
6530 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6531 eval 'as_fn_append ()
6542 # as_fn_arith ARG...
6543 # ------------------
6544 # Perform arithmetic evaluation on the ARGs, and store the result in the
6545 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6546 # must be portable across $(()) and expr.
6547 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6548 eval 'as_fn_arith ()
6555 as_val
=`expr "$@" || test $? -eq 1`
6560 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6561 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6567 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6568 as_basename
=basename
6573 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6579 as_me
=`$as_basename -- "$0" ||
6580 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6581 X"$0" : 'X\(//\)$' \| \
6582 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6584 sed '/^.*\/\([^/][^/]*\)\/*$/{
6598 # Avoid depending upon Character Ranges.
6599 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6600 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6601 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6602 as_cr_digits
='0123456789'
6603 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6605 ECHO_C
= ECHO_N
= ECHO_T
=
6606 case `echo -n x` in #(((((
6608 case `echo 'xy\c'` in
6609 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6611 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6618 rm -f conf$$ conf$$.exe conf$$.
file
6619 if test -d conf$$.dir
; then
6620 rm -f conf$$.dir
/conf$$.
file
6623 mkdir conf$$.dir
2>/dev
/null
6625 if (echo >conf$$.
file) 2>/dev
/null
; then
6626 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6628 # ... but there are two gotchas:
6629 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6630 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6631 # In both cases, we have to default to `cp -p'.
6632 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6634 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6642 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6643 rmdir conf$$.dir
2>/dev
/null
6648 # Create "$as_dir" as a directory, including parents if necessary.
6653 -*) as_dir
=.
/$as_dir;;
6655 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6659 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6660 *) as_qdir
=$as_dir;;
6662 as_dirs
="'$as_qdir' $as_dirs"
6663 as_dir
=`$as_dirname -- "$as_dir" ||
6664 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6665 X"$as_dir" : 'X\(//\)[^/]' \| \
6666 X"$as_dir" : 'X\(//\)$' \| \
6667 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6668 $as_echo X"$as_dir" |
6669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6686 test -d "$as_dir" && break
6688 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6689 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6693 if mkdir
-p .
2>/dev
/null
; then
6694 as_mkdir_p
='mkdir -p "$as_dir"'
6696 test -d .
/-p && rmdir .
/-p
6700 if test -x / >/dev
/null
2>&1; then
6703 if ls -dL / >/dev
/null
2>&1; then
6710 if test -d "$1"; then
6716 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6717 ???[sx]*):;;*)false;;esac;fi
6721 as_executable_p
=$as_test_x
6723 # Sed expression to map a string onto a valid CPP name.
6724 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6726 # Sed expression to map a string onto a valid variable name.
6727 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6731 ## ----------------------------------- ##
6732 ## Main body of $CONFIG_STATUS script. ##
6733 ## ----------------------------------- ##
6735 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6738 # Save the log message, to keep $0 and so on meaningful, and to
6739 # report actual input values of CONFIG_FILES etc. instead of their
6740 # values after options handling.
6742 This file was extended by $as_me, which was
6743 generated by GNU Autoconf 2.68. Invocation command line was
6745 CONFIG_FILES = $CONFIG_FILES
6746 CONFIG_HEADERS = $CONFIG_HEADERS
6747 CONFIG_LINKS = $CONFIG_LINKS
6748 CONFIG_COMMANDS = $CONFIG_COMMANDS
6751 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6756 case $ac_config_files in *"
6757 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6763 # Files that config.status was made for.
6764 config_files="$ac_config_files"
6765 config_commands="$ac_config_commands"
6769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6771 \`$as_me' instantiates files and other configuration actions
6772 from templates according to the current configuration. Unless the files
6773 and actions are specified as TAGs, all are instantiated by default.
6775 Usage: $0 [OPTION]... [TAG]...
6777 -h, --help print this help, then exit
6778 -V, --version print version number and configuration settings, then exit
6779 --config print configuration, then exit
6780 -q, --quiet, --silent
6781 do not print progress messages
6782 -d, --debug don't remove temporary files
6783 --recheck update $as_me by reconfiguring in the same conditions
6784 --file=FILE[:TEMPLATE]
6785 instantiate the configuration file FILE
6787 Configuration files:
6790 Configuration commands:
6793 Report bugs to the package provider."
6796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6797 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6800 configured by $0, generated by GNU Autoconf 2.68,
6801 with options \\"\$ac_cs_config\\"
6803 Copyright (C) 2010 Free Software Foundation, Inc.
6804 This config.status script is free software; the Free Software Foundation
6805 gives unlimited permission to copy, distribute and modify it."
6812 test -n "\$AWK" || AWK=awk
6815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6816 # The default lists apply if the user does not specify any file.
6822 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6823 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6827 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6839 # Handling of the options.
6840 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6842 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6843 $as_echo "$ac_cs_version"; exit ;;
6844 --config |
--confi |
--conf |
--con |
--co |
--c )
6845 $as_echo "$ac_cs_config"; exit ;;
6846 --debug |
--debu |
--deb |
--de |
--d |
-d )
6848 --file |
--fil |
--fi |
--f )
6851 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6852 '') as_fn_error $?
"missing file argument" ;;
6854 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6855 ac_need_defaults
=false
;;
6856 --he |
--h |
--help |
--hel |
-h )
6857 $as_echo "$ac_cs_usage"; exit ;;
6858 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6859 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6863 -*) as_fn_error $?
"unrecognized option: \`$1'
6864 Try \`$0 --help' for more information." ;;
6866 *) as_fn_append ac_config_targets
" $1"
6867 ac_need_defaults
=false
;;
6873 ac_configure_extra_args
=
6875 if $ac_cs_silent; then
6877 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6882 if \$ac_cs_recheck; then
6883 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6885 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6886 CONFIG_SHELL='$SHELL'
6892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6896 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6897 ## Running $as_me. ##
6903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6907 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6913 # Handling of arguments.
6914 for ac_config_target
in $ac_config_targets
6916 case $ac_config_target in
6917 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6918 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6919 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
6920 "src/libnetwork/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libnetwork/Makefile" ;;
6921 "src/libgpukernel/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libgpukernel/Makefile" ;;
6922 "src/libgpudisasm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libgpudisasm/Makefile" ;;
6923 "src/libcachesystem/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libcachesystem/Makefile" ;;
6924 "src/libm2skernel/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libm2skernel/Makefile" ;;
6925 "src/libdisasm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libdisasm/Makefile" ;;
6926 "src/libesim/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libesim/Makefile" ;;
6927 "src/libmhandle/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libmhandle/Makefile" ;;
6928 "src/libopt/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libopt/Makefile" ;;
6929 "src/libstruct/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libstruct/Makefile" ;;
6930 "src/libmisc/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libmisc/Makefile" ;;
6931 "src/libutils/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libutils/Makefile" ;;
6932 "src/libfs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libfs/Makefile" ;;
6933 "src/libfs/hostfs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libfs/hostfs/Makefile" ;;
6934 "src/libfs/bfs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libfs/bfs/Makefile" ;;
6935 "src/libintr/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libintr/Makefile" ;;
6936 "src/libbio/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libbio/Makefile" ;;
6938 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6943 # If the user did not use the arguments to specify the items to instantiate,
6944 # then the envvar interface is used. Set only those that are not.
6945 # We use the long form for the default assignment because of an extremely
6946 # bizarre bug on SunOS 4.1.3.
6947 if $ac_need_defaults; then
6948 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6949 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6952 # Have a temporary directory for convenience. Make it in the build tree
6953 # simply because there is no reason against having it here, and in addition,
6954 # creating and moving files from /tmp can sometimes cause problems.
6955 # Hook for its removal unless debugging.
6956 # Note that there is a small window in which the directory will not be cleaned:
6957 # after its creation but before its name has been assigned to `$tmp'.
6961 trap 'exit_status=$?
6963 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6965 trap 'as_fn_exit 1' 1 2 13 15
6967 # Create a (secure) tmp directory for tmp files.
6970 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6974 tmp
=.
/conf$$
-$RANDOM
6975 (umask 077 && mkdir
"$tmp")
6976 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6979 # Set up the scripts for CONFIG_FILES section.
6980 # No need to generate them if there are no CONFIG_FILES.
6981 # This happens for instance with `./config.status config.h'.
6982 if test -n "$CONFIG_FILES"; then
6985 ac_cr
=`echo X | tr X '\015'`
6986 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6987 # But we know of no other shell where ac_cr would be empty at this
6988 # point, so we can use a bashism as a fallback.
6989 if test "x$ac_cr" = x
; then
6990 eval ac_cr
=\$
\'\\r
\'
6992 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6993 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6999 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7004 echo "cat >conf$$subs.awk <<_ACEOF" &&
7005 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7008 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7009 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7011 for ac_last_try in false false false false false :; do
7012 . ./conf$$subs.sh ||
7013 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7015 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7016 if test $ac_delim_n = $ac_delim_num; then
7018 elif $ac_last_try; then
7019 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7021 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7027 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7031 s/^/S["/; s
/!.
*/"]=/
7041 s/\(.\{148\}\)..*/\1/
7043 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7048 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7055 s/\(.\{148\}\)..*/\1/
7057 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7061 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7066 ' <conf$$subs.awk | sed '
7071 ' >>$CONFIG_STATUS || ac_write_fail=1
7072 rm -f conf$$subs.awk
7073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7075 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7076 for (key in S) S_is_set[key] = 1
7082 nfields = split(line, field, "@
")
7084 len = length(field[1])
7085 for (i = 2; i < nfields; i++) {
7087 keylen = length(key)
7088 if (S_is_set[key]) {
7090 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7091 len += length(value) + length(field[++i])
7102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7103 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7104 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7107 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7108 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7111 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7112 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7113 # trailing colons and then remove the whole line if VPATH becomes empty
7114 # (actually we leave an empty line to preserve line numbers).
7115 if test "x
$srcdir" = x.; then
7116 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7135 fi # test -n "$CONFIG_FILES"
7138 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
7143 :[FHLC]) ac_mode=$ac_tag; continue;;
7145 case $ac_mode$ac_tag in
7147 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
7148 :[FH]-) ac_tag=-:-;;
7149 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7166 -) ac_f="$ac_tmp/stdin";;
7167 *) # Look for the file first in the build tree, then in the source tree
7168 # (if the path is not absolute). The absolute path cannot be DOS-style,
7169 # because $ac_f cannot contain `:'.
7173 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7175 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7177 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
7178 as_fn_append ac_file_inputs " '$ac_f'"
7181 # Let's still pretend it is `configure' which instantiates (i.e., don't
7182 # use $as_me), people would be surprised to read:
7183 # /* config.h. Generated by config.status. */
7184 configure_input='Generated from '`
7185 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7187 if test x"$ac_file" != x-; then
7188 configure_input="$ac_file.
$configure_input"
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
7190 $as_echo "$as_me: creating
$ac_file" >&6;}
7192 # Neutralize special characters interpreted by sed in replacement strings.
7193 case $configure_input in #(
7194 *\&* | *\|* | *\\* )
7195 ac_sed_conf_input=`$as_echo "$configure_input" |
7196 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7197 *) ac_sed_conf_input=$configure_input;;
7201 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
7202 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
7207 ac_dir=`$as_dirname -- "$ac_file" ||
7208 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7209 X"$ac_file" : 'X\(//\)[^/]' \| \
7210 X"$ac_file" : 'X\(//\)$' \| \
7211 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7212 $as_echo X"$ac_file" |
7213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7230 as_dir="$ac_dir"; as_fn_mkdir_p
7234 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7236 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7237 # A "..
" for each directory in $ac_dir_suffix.
7238 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7239 case $ac_top_builddir_sub in
7240 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7241 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7244 ac_abs_top_builddir=$ac_pwd
7245 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7246 # for backward compatibility:
7247 ac_top_builddir=$ac_top_build_prefix
7250 .) # We are building in place.
7252 ac_top_srcdir=$ac_top_builddir_sub
7253 ac_abs_top_srcdir=$ac_pwd ;;
7254 [\\/]* | ?:[\\/]* ) # Absolute name.
7255 ac_srcdir=$srcdir$ac_dir_suffix;
7256 ac_top_srcdir=$srcdir
7257 ac_abs_top_srcdir=$srcdir ;;
7259 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7260 ac_top_srcdir=$ac_top_build_prefix$srcdir
7261 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7263 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7273 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7274 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7278 [\\/$]* | ?:[\\/]* ) ;;
7279 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7284 # If the template does not know about datarootdir, expand it.
7285 # FIXME: This hack should be removed a few years after 2.60.
7286 ac_datarootdir_hack=; ac_datarootdir_seen=
7297 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
7298 *datarootdir*) ac_datarootdir_seen=yes;;
7299 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
7301 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
7303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7304 ac_datarootdir_hack='
7305 s&@datadir@&$datadir&g
7306 s&@docdir@&$docdir&g
7307 s&@infodir@&$infodir&g
7308 s&@localedir@&$localedir&g
7309 s&@mandir@&$mandir&g
7310 s&\\\${datarootdir}&$datarootdir&g' ;;
7314 # Neutralize VPATH when `$srcdir' = `.'.
7315 # Shell code in configure.ac might set extrasub.
7316 # FIXME: do we really want to maintain this feature?
7317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7318 ac_sed_extra="$ac_vpsub
7321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7323 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7324 s|@configure_input@|
$ac_sed_conf_input|
;t t
7325 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7326 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7327 s
&@srcdir@
&$ac_srcdir&;t t
7328 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7329 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7330 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7331 s
&@builddir@
&$ac_builddir&;t t
7332 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7333 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7334 s
&@INSTALL@
&$ac_INSTALL&;t t
7335 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7336 $ac_datarootdir_hack
7338 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7339 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7341 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7342 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7343 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7344 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7346 which seems to be undefined. Please make sure it is defined" >&5
7347 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7348 which seems to be undefined. Please make sure it is defined" >&2;}
7350 rm -f "$ac_tmp/stdin"
7352 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7353 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7359 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7360 $as_echo "$as_me: executing $ac_file commands" >&6;}
7365 case $ac_file$ac_mode in
7366 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7367 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7368 # are listed without --file. Let's play safe and only
enable the
eval
7369 # if we detect the quoting.
7370 case $CONFIG_FILES in
7371 *\'*) eval set x
"$CONFIG_FILES" ;;
7372 *) set x
$CONFIG_FILES ;;
7377 # Strip MF so we end up with the name of the file.
7378 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7379 # Check whether this is an Automake generated Makefile or not.
7380 # We used to match only the files named `Makefile.in', but
7381 # some people rename them; so instead we look at the file content.
7382 # Grep'ing the first line is not enough: some people post-process
7383 # each Makefile.in and add a new line on top of each file to say so.
7384 # Grep'ing the whole file is not good either: AIX grep has a line
7385 # limit of 2048, but all sed's we know have understand at least 4000.
7386 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
7387 dirpart
=`$as_dirname -- "$mf" ||
7388 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7389 X"$mf" : 'X\(//\)[^/]' \| \
7390 X"$mf" : 'X\(//\)$' \| \
7391 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7413 # Extract the definition of DEPDIR, am__include, and am__quote
7414 # from the Makefile without running `make'.
7415 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7416 test -z "$DEPDIR" && continue
7417 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7418 test -z "am__include" && continue
7419 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7420 # When using ansi2knr, U may be empty or an underscore; expand it
7421 U
=`sed -n 's/^U = //p' < "$mf"`
7422 # Find all dependency output files, they are included files with
7423 # $(DEPDIR) in their names. We invoke sed twice because it is the
7424 # simplest approach to changing $(DEPDIR) to its actual value in the
7426 for file in `sed -n "
7427 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7428 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7429 # Make sure the directory exists.
7430 test -f "$dirpart/$file" && continue
7431 fdir
=`$as_dirname -- "$file" ||
7432 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7433 X"$file" : 'X\(//\)[^/]' \| \
7434 X"$file" : 'X\(//\)$' \| \
7435 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7454 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
7455 # echo "creating $dirpart/$file"
7456 echo '# dummy' > "$dirpart/$file"
7468 ac_clean_files
=$ac_clean_files_save
7470 test $ac_write_fail = 0 ||
7471 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7474 # configure is writing to config.log, and then calls config.status.
7475 # config.status does its own redirection, appending to config.log.
7476 # Unfortunately, on DOS this fails, as config.log is still kept open
7477 # by configure, so config.status won't be able to write to it; its
7478 # output is simply discarded. So we exec the FD to /dev/null,
7479 # effectively closing config.log, so it can be properly (re)opened and
7480 # appended to by config.status. When coming back to configure, we
7481 # need to make the FD available again.
7482 if test "$no_create" != yes; then
7484 ac_config_status_args
=
7485 test "$silent" = yes &&
7486 ac_config_status_args
="$ac_config_status_args --quiet"
7488 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7490 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7491 # would make configure fail if this is the last instruction.
7492 $ac_cs_success || as_fn_exit
1
7494 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7496 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}