2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev
/null
; then :
177 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
182 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
185 test -z "$as_dir" && as_dir
=.
189 for as_base
in sh bash ksh sh5
; do
190 # Try only shells that exist, to save several forks.
191 as_shell
=$as_dir/$as_base
192 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
194 CONFIG_SHELL
=$as_shell as_have_required
=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$SHELL as_have_required
=yes
210 if test "x$CONFIG_SHELL" != x
; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
216 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 if test x
$as_have_required = xno
; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x
${ZSH_VERSION+set} = xset
; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
237 SHELL
=${CONFIG_SHELL-/bin/sh}
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE
= GREP_OPTIONS
=
241 unset CLICOLOR_FORCE GREP_OPTIONS
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
248 # Portably unset VAR.
251 { eval $1=; unset $1;}
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 # Create "$as_dir" as a directory, including parents if necessary.
280 -*) as_dir
=.
/$as_dir;;
282 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
286 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 as_dirs
="'$as_qdir' $as_dirs"
290 as_dir
=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
313 test -d "$as_dir" && break
315 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
316 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
327 eval 'as_fn_append ()
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
351 as_val
=`expr "$@" || test $? -eq 1`
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
363 as_status
=$?
; test $as_status -eq 0 && as_status
=1
365 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit
$as_status
372 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
379 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
391 as_me
=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
410 # Avoid depending upon Character Ranges.
411 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits
='0123456789'
415 as_cr_alnum
=$as_cr_Letters$as_cr_digits
418 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
419 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 chmod +x
"$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
445 # Exit status is that of the last command.
449 ECHO_C
= ECHO_N
= ECHO_T
=
450 case `echo -n x` in #(((((
452 case `echo 'xy\c'` in
453 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
462 rm -f conf$$ conf$$.exe conf$$.
file
463 if test -d conf$$.dir
; then
464 rm -f conf$$.dir
/conf$$.
file
467 mkdir conf$$.dir
2>/dev
/null
469 if (echo >conf$$.
file) 2>/dev
/null
; then
470 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
478 elif ln conf$$.
file conf$$
2>/dev
/null
; then
486 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
487 rmdir conf$$.dir
2>/dev
/null
489 if mkdir
-p .
2>/dev
/null
; then
490 as_mkdir_p
='mkdir -p "$as_dir"'
492 test -d .
/-p && rmdir .
/-p
496 if test -x / >/dev
/null
2>&1; then
499 if ls -dL / >/dev
/null
2>&1; then
506 if test -d "$1"; then
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
517 as_executable_p
=$as_test_x
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526 exec 7<&0 </dev
/null
6>&1
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 ac_default_prefix
=/usr
/local
538 ac_config_libobj_dir
=.
545 # Identity of this package.
546 PACKAGE_NAME
='package-unused'
547 PACKAGE_TARNAME
='gotools'
548 PACKAGE_VERSION
='version-unused'
549 PACKAGE_STRING
='package-unused version-unused'
553 ac_unique_file
="Makefile.am"
554 ac_subst_vars
='am__EXEEXT_FALSE
583 MAINTAINER_MODE_FALSE
593 INSTALL_STRIP_PROGRAM
650 program_transform_name
663 enable_option_checking
664 enable_maintainer_mode
665 enable_dependency_tracking
667 ac_precious_vars
='build_alias
679 # Initialize some variables set by options.
681 ac_init_version
=false
682 ac_unrecognized_opts
=
684 # The variables have the same names as the options, with
685 # dashes changed to underlines.
693 program_transform_name
=s
,x
,x
,
701 # Installation directory options.
702 # These are left unexpanded so users can "make install exec_prefix=/foo"
703 # and all the variables that are supposed to be based on exec_prefix
704 # by default will actually change.
705 # Use braces instead of parens because sh, perl, etc. also accept them.
706 # (The list follows the same order as the GNU Coding Standards.)
707 bindir
='${exec_prefix}/bin'
708 sbindir
='${exec_prefix}/sbin'
709 libexecdir
='${exec_prefix}/libexec'
710 datarootdir
='${prefix}/share'
711 datadir
='${datarootdir}'
712 sysconfdir
='${prefix}/etc'
713 sharedstatedir
='${prefix}/com'
714 localstatedir
='${prefix}/var'
715 includedir
='${prefix}/include'
716 oldincludedir
='/usr/include'
717 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
718 infodir
='${datarootdir}/info'
723 libdir
='${exec_prefix}/lib'
724 localedir
='${datarootdir}/locale'
725 mandir
='${datarootdir}/man'
731 # If the previous option needs an argument, assign it.
732 if test -n "$ac_prev"; then
733 eval $ac_prev=\
$ac_option
739 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
743 # Accept the important Cygnus configure options, so we can diagnose typos.
745 case $ac_dashdash$ac_option in
749 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
751 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
754 -build |
--build |
--buil |
--bui |
--bu)
755 ac_prev
=build_alias
;;
756 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
757 build_alias
=$ac_optarg ;;
759 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
760 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
761 ac_prev
=cache_file
;;
762 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
763 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
764 cache_file
=$ac_optarg ;;
767 cache_file
=config.cache
;;
769 -datadir |
--datadir |
--datadi |
--datad)
771 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
772 datadir
=$ac_optarg ;;
774 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
775 |
--dataroo |
--dataro |
--datar)
776 ac_prev
=datarootdir
;;
777 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
778 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
779 datarootdir
=$ac_optarg ;;
781 -disable-* |
--disable-*)
782 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
785 as_fn_error
"invalid feature name: $ac_useropt"
786 ac_useropt_orig
=$ac_useropt
787 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
788 case $ac_user_opts in
792 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
793 ac_unrecognized_sep
=', ';;
795 eval enable_
$ac_useropt=no
;;
797 -docdir |
--docdir |
--docdi |
--doc |
--do)
799 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
802 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
804 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
807 -enable-* |
--enable-*)
808 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
809 # Reject names that are not valid shell variable names.
810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
811 as_fn_error
"invalid feature name: $ac_useropt"
812 ac_useropt_orig
=$ac_useropt
813 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
814 case $ac_user_opts in
818 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
819 ac_unrecognized_sep
=', ';;
821 eval enable_
$ac_useropt=\
$ac_optarg ;;
823 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
824 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
825 |
--exec |
--exe |
--ex)
826 ac_prev
=exec_prefix
;;
827 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
828 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
829 |
--exec=* |
--exe=* |
--ex=*)
830 exec_prefix
=$ac_optarg ;;
832 -gas |
--gas |
--ga |
--g)
833 # Obsolete; use --with-gas.
836 -help |
--help |
--hel |
--he |
-h)
838 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
839 ac_init_help
=recursive
;;
840 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
841 ac_init_help
=short
;;
843 -host |
--host |
--hos |
--ho)
844 ac_prev
=host_alias
;;
845 -host=* |
--host=* |
--hos=* |
--ho=*)
846 host_alias
=$ac_optarg ;;
848 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
850 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
852 htmldir
=$ac_optarg ;;
854 -includedir |
--includedir |
--includedi |
--included |
--include \
855 |
--includ |
--inclu |
--incl |
--inc)
856 ac_prev
=includedir
;;
857 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
858 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
859 includedir
=$ac_optarg ;;
861 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
863 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
864 infodir
=$ac_optarg ;;
866 -libdir |
--libdir |
--libdi |
--libd)
868 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
871 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
872 |
--libexe |
--libex |
--libe)
873 ac_prev
=libexecdir
;;
874 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
875 |
--libexe=* |
--libex=* |
--libe=*)
876 libexecdir
=$ac_optarg ;;
878 -localedir |
--localedir |
--localedi |
--localed |
--locale)
880 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
881 localedir
=$ac_optarg ;;
883 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
884 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
885 ac_prev
=localstatedir
;;
886 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
887 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
888 localstatedir
=$ac_optarg ;;
890 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
892 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
896 # Obsolete; use --without-fp.
899 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
900 |
--no-cr |
--no-c |
-n)
903 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
904 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
907 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
908 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
909 |
--oldin |
--oldi |
--old |
--ol |
--o)
910 ac_prev
=oldincludedir
;;
911 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
912 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
913 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
914 oldincludedir
=$ac_optarg ;;
916 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
918 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
921 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
922 |
--program-pre |
--program-pr |
--program-p)
923 ac_prev
=program_prefix
;;
924 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
925 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
926 program_prefix
=$ac_optarg ;;
928 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
929 |
--program-suf |
--program-su |
--program-s)
930 ac_prev
=program_suffix
;;
931 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
932 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
933 program_suffix
=$ac_optarg ;;
935 -program-transform-name |
--program-transform-name \
936 |
--program-transform-nam |
--program-transform-na \
937 |
--program-transform-n |
--program-transform- \
938 |
--program-transform |
--program-transfor \
939 |
--program-transfo |
--program-transf \
940 |
--program-trans |
--program-tran \
941 |
--progr-tra |
--program-tr |
--program-t)
942 ac_prev
=program_transform_name
;;
943 -program-transform-name=* |
--program-transform-name=* \
944 |
--program-transform-nam=* |
--program-transform-na=* \
945 |
--program-transform-n=* |
--program-transform-=* \
946 |
--program-transform=* |
--program-transfor=* \
947 |
--program-transfo=* |
--program-transf=* \
948 |
--program-trans=* |
--program-tran=* \
949 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
950 program_transform_name
=$ac_optarg ;;
952 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
954 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
957 -psdir |
--psdir |
--psdi |
--psd |
--ps)
959 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
962 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
963 |
-silent |
--silent |
--silen |
--sile |
--sil)
966 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
968 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
970 sbindir
=$ac_optarg ;;
972 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
973 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
974 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
976 ac_prev
=sharedstatedir
;;
977 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
978 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
979 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
981 sharedstatedir
=$ac_optarg ;;
983 -site |
--site |
--sit)
985 -site=* |
--site=* |
--sit=*)
988 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
990 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
993 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
994 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
995 ac_prev
=sysconfdir
;;
996 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
997 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
998 sysconfdir
=$ac_optarg ;;
1000 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1001 ac_prev
=target_alias
;;
1002 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1003 target_alias
=$ac_optarg ;;
1005 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1008 -version |
--version |
--versio |
--versi |
--vers |
-V)
1009 ac_init_version
=: ;;
1012 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1015 as_fn_error
"invalid package name: $ac_useropt"
1016 ac_useropt_orig
=$ac_useropt
1017 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1022 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1023 ac_unrecognized_sep
=', ';;
1025 eval with_
$ac_useropt=\
$ac_optarg ;;
1027 -without-* |
--without-*)
1028 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1031 as_fn_error
"invalid package name: $ac_useropt"
1032 ac_useropt_orig
=$ac_useropt
1033 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034 case $ac_user_opts in
1038 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1039 ac_unrecognized_sep
=', ';;
1041 eval with_
$ac_useropt=no
;;
1044 # Obsolete; use --with-x.
1047 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1048 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1049 ac_prev
=x_includes
;;
1050 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1051 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1052 x_includes
=$ac_optarg ;;
1054 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1055 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1056 ac_prev
=x_libraries
;;
1057 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1058 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1059 x_libraries
=$ac_optarg ;;
1061 -*) as_fn_error
"unrecognized option: \`$ac_option'
1062 Try \`$0 --help' for more information."
1066 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1067 # Reject names that are not valid shell variable names.
1068 case $ac_envvar in #(
1069 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1070 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1072 eval $ac_envvar=\
$ac_optarg
1073 export $ac_envvar ;;
1076 # FIXME: should be removed in autoconf 3.0.
1077 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1078 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1079 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1080 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1086 if test -n "$ac_prev"; then
1087 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1088 as_fn_error
"missing argument to $ac_option"
1091 if test -n "$ac_unrecognized_opts"; then
1092 case $enable_option_checking in
1094 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1095 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1099 # Check all directory arguments for consistency.
1100 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1101 datadir sysconfdir sharedstatedir localstatedir includedir \
1102 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1103 libdir localedir mandir
1105 eval ac_val
=\$
$ac_var
1106 # Remove trailing slashes.
1109 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1110 eval $ac_var=\
$ac_val;;
1112 # Be sure to have absolute directory names.
1114 [\\/$
]* | ?
:[\\/]* ) continue;;
1115 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1117 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1120 # There might be people who depend on the old broken behavior: `$host'
1121 # used to hold the argument of --host etc.
1122 # FIXME: To remove some day.
1125 target
=$target_alias
1127 # FIXME: To remove some day.
1128 if test "x$host_alias" != x
; then
1129 if test "x$build_alias" = x
; then
1130 cross_compiling
=maybe
1131 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1132 If a cross compiler is detected then cross compile mode will be used." >&2
1133 elif test "x$build_alias" != "x$host_alias"; then
1139 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1141 test "$silent" = yes && exec 6>/dev
/null
1144 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1145 ac_ls_di
=`ls -di .` &&
1146 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1147 as_fn_error
"working directory cannot be determined"
1148 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1149 as_fn_error
"pwd does not report name of working directory"
1152 # Find the source files, if location was not specified.
1153 if test -z "$srcdir"; then
1154 ac_srcdir_defaulted
=yes
1155 # Try the directory containing this script, then the parent directory.
1156 ac_confdir
=`$as_dirname -- "$as_myself" ||
1157 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1158 X"$as_myself" : 'X\(//\)[^/]' \| \
1159 X"$as_myself" : 'X\(//\)$' \| \
1160 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1161 $as_echo X"$as_myself" |
1162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1180 if test ! -r "$srcdir/$ac_unique_file"; then
1184 ac_srcdir_defaulted
=no
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1187 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1188 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1190 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1192 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1194 # When building in place, set srcdir=.
1195 if test "$ac_abs_confdir" = "$ac_pwd"; then
1198 # Remove unnecessary trailing slashes from srcdir.
1199 # Double slashes in file names in object file debugging info
1200 # mess up M-x gdb in Emacs.
1202 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1204 for ac_var
in $ac_precious_vars; do
1205 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1206 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1207 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1208 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1212 # Report the --help message.
1214 if test "$ac_init_help" = "long"; then
1215 # Omit some internal or obsolete options to make the list less imposing.
1216 # This message is too long to be a string in the A/UX 3.1 sh.
1218 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1220 Usage: $0 [OPTION]... [VAR=VALUE]...
1222 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1223 VAR=VALUE. See below for descriptions of some of the useful variables.
1225 Defaults for the options are specified in brackets.
1228 -h, --help display this help and exit
1229 --help=short display options specific to this package
1230 --help=recursive display the short help of all the included packages
1231 -V, --version display version information and exit
1232 -q, --quiet, --silent do not print \`checking...' messages
1233 --cache-file=FILE cache test results in FILE [disabled]
1234 -C, --config-cache alias for \`--cache-file=config.cache'
1235 -n, --no-create do not create output files
1236 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1238 Installation directories:
1239 --prefix=PREFIX install architecture-independent files in PREFIX
1240 [$ac_default_prefix]
1241 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1244 By default, \`make install' will install all the files in
1245 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1246 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1247 for instance \`--prefix=\$HOME'.
1249 For better control, use the options below.
1251 Fine tuning of the installation directories:
1252 --bindir=DIR user executables [EPREFIX/bin]
1253 --sbindir=DIR system admin executables [EPREFIX/sbin]
1254 --libexecdir=DIR program executables [EPREFIX/libexec]
1255 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1256 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1257 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1258 --libdir=DIR object code libraries [EPREFIX/lib]
1259 --includedir=DIR C header files [PREFIX/include]
1260 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1261 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1262 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1263 --infodir=DIR info documentation [DATAROOTDIR/info]
1264 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1265 --mandir=DIR man documentation [DATAROOTDIR/man]
1266 --docdir=DIR documentation root [DATAROOTDIR/doc/gotools]
1267 --htmldir=DIR html documentation [DOCDIR]
1268 --dvidir=DIR dvi documentation [DOCDIR]
1269 --pdfdir=DIR pdf documentation [DOCDIR]
1270 --psdir=DIR ps documentation [DOCDIR]
1276 --program-prefix=PREFIX prepend PREFIX to installed program names
1277 --program-suffix=SUFFIX append SUFFIX to installed program names
1278 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1281 --build=BUILD configure
for building on BUILD
[guessed
]
1282 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1283 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1287 if test -n "$ac_init_help"; then
1288 case $ac_init_help in
1289 short | recursive
) echo "Configuration of package-unused version-unused:";;
1294 --disable-option-checking ignore unrecognized
--enable/--with options
1295 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1296 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1297 --enable-maintainer-mode enable make rules and dependencies not useful
1298 (and sometimes confusing
) to the casual installer
1299 --disable-dependency-tracking speeds up one-time build
1300 --enable-dependency-tracking do not reject slow dependency extractors
1302 Some influential environment variables
:
1303 CC C compiler
command
1304 CFLAGS C compiler flags
1305 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1306 nonstandard directory
<lib dir
>
1307 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1308 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1309 you have headers
in a nonstandard directory
<include dir
>
1310 GOC Go compiler
command
1311 GOCFLAGS Go compiler flags
1313 Use these variables to override the choices made by
`configure' or to help
1314 it to find libraries and programs with nonstandard names/locations.
1316 Report bugs to the package provider.
1321 if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1346 .) # We are building in place.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1379 package-unused configure version-unused
1380 generated by GNU Autoconf 2.64
1382 Copyright (C) 2009 Free Software Foundation, Inc.
1383 This configure script is free software; the Free Software Foundation
1384 gives unlimited permission to copy, distribute and modify it.
1389 ## ------------------------ ##
1390 ## Autoconf initialization. ##
1391 ## ------------------------ ##
1393 # ac_fn_c_try_compile LINENO
1394 # --------------------------
1395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1396 ac_fn_c_try_compile ()
1398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399 rm -f conftest.$ac_objext
1400 if { { ac_try="$ac_compile"
1402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1403 *) ac_try_echo
=$ac_try;;
1405 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406 $as_echo "$ac_try_echo"; } >&5
1407 (eval "$ac_compile") 2>conftest.err
1409 if test -s conftest.err
; then
1410 grep -v '^ *+' conftest.err
>conftest.er1
1411 cat conftest.er1
>&5
1412 mv -f conftest.er1 conftest.err
1414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415 test $ac_status = 0; } && {
1416 test -z "$ac_c_werror_flag" ||
1417 test ! -s conftest.err
1418 } && test -s conftest.
$ac_objext; then :
1421 $as_echo "$as_me: failed program was:" >&5
1422 sed 's/^/| /' conftest.
$ac_ext >&5
1426 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1429 } # ac_fn_c_try_compile
1431 # ac_fn_c_try_link LINENO
1432 # -----------------------
1433 # Try to link conftest.$ac_ext, and return whether this succeeded.
1436 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1437 rm -f conftest.
$ac_objext conftest
$ac_exeext
1438 if { { ac_try
="$ac_link"
1440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1441 *) ac_try_echo=$ac_try;;
1443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1444 $as_echo "$ac_try_echo"; } >&5
1445 (eval "$ac_link") 2>conftest.err
1447 if test -s conftest.err; then
1448 grep -v '^ *+' conftest.err >conftest.er1
1449 cat conftest.er1 >&5
1450 mv -f conftest.er1 conftest.err
1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453 test $ac_status = 0; } && {
1454 test -z "$ac_c_werror_flag" ||
1455 test ! -s conftest.err
1456 } && test -s conftest$ac_exeext && {
1457 test "$cross_compiling" = yes ||
1458 $as_test_x conftest$ac_exeext
1462 $as_echo "$as_me: failed program was:" >&5
1463 sed 's/^/| /' conftest.$ac_ext >&5
1467 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1468 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1469 # interfere with the next link command; also delete a directory that is
1470 # left behind by Apple's compiler. We do this before executing the actions.
1471 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1472 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1475 } # ac_fn_c_try_link
1477 # ac_fn_c_check_func LINENO FUNC VAR
1478 # ----------------------------------
1479 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1480 ac_fn_c_check_func ()
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1484 $as_echo_n "checking for $2... " >&6; }
1485 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1486 $as_echo_n "(cached) " >&6
1488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1489 /* end confdefs.h. */
1490 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1492 #define $2 innocuous_$2
1494 /* System header to define __stub macros and hopefully few prototypes,
1495 which can conflict with char $2 (); below.
1496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1497 <limits.h> exists even on freestanding compilers. */
1500 # include <limits.h>
1502 # include <assert.h>
1507 /* Override any GCC internal prototype to avoid an error.
1508 Use char because int might match the return type of a GCC
1509 builtin and then its argument prototype would still apply. */
1514 /* The GNU C library defines this for functions which it implements
1515 to always fail with ENOSYS. Some functions are actually named
1516 something starting with __ and the normal name is an alias. */
1517 #if defined __stub_$2 || defined __stub___$2
1529 if ac_fn_c_try_link "$LINENO"; then :
1534 rm -f core conftest.err conftest.$ac_objext \
1535 conftest$ac_exeext conftest.$ac_ext
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1539 $as_echo "$ac_res" >&6; }
1540 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1542 } # ac_fn_c_check_func
1543 cat >config.log <<_ACEOF
1544 This file contains any messages produced by compilers while
1545 running configure, to aid debugging if configure makes a mistake.
1547 It was created by package-unused $as_me version-unused, which was
1548 generated by GNU Autoconf 2.64. Invocation command line was
1560 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1561 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1562 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1563 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1564 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1566 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1567 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1569 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1570 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1571 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1572 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1573 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1574 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1575 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1583 test -z "$as_dir" && as_dir=.
1584 $as_echo "PATH: $as_dir"
1600 # Keep a trace of the command line.
1601 # Strip out --no-create and --no-recursion so they do not pile up.
1602 # Strip out --silent because we don't want to record it for future runs.
1603 # Also quote any args containing shell meta-characters.
1604 # Make two passes to allow for proper duplicate-argument suppression.
1608 ac_must_keep_next=false
1614 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1615 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1616 | -silent | --silent | --silen | --sile | --sil)
1619 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1622 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1624 as_fn_append ac_configure_args1 " '$ac_arg'"
1625 if test $ac_must_keep_next = true; then
1626 ac_must_keep_next=false # Got value, back to normal.
1629 *=* | --config-cache | -C | -disable-* | --disable-* \
1630 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1631 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1632 | -with-* | --with-* | -without-* | --without-* | --x)
1633 case "$ac_configure_args0 " in
1634 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1637 -* ) ac_must_keep_next=true ;;
1640 as_fn_append ac_configure_args " '$ac_arg'"
1645 { ac_configure_args0=; unset ac_configure_args0;}
1646 { ac_configure_args1=; unset ac_configure_args1;}
1648 # When interrupted or exit'd, cleanup temporary files, and complete
1649 # config.log. We remove comments because anyway the quotes in there
1650 # would cause problems or look ugly.
1651 # WARNING: Use '\'' to represent an apostrophe within the trap.
1652 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1653 trap 'exit_status=$?
1654 # Save into config.log some information that might help in debugging.
1659 ## ---------------- ##
1660 ## Cache variables. ##
1661 ## ---------------- ##
1664 # The following way of writing the cache mishandles newlines in values,
1666 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1667 eval ac_val=\$$ac_var
1671 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1672 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1675 _ | IFS | as_nl) ;; #(
1676 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1677 *) { eval $ac_var=; unset $ac_var;} ;;
1682 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1683 *${as_nl}ac_space=\ *)
1685 "s/'\''/'\''\\\\'\'''\''/g;
1686 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1689 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1697 ## ----------------- ##
1698 ## Output variables. ##
1699 ## ----------------- ##
1702 for ac_var in $ac_subst_vars
1704 eval ac_val=\$$ac_var
1706 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1708 $as_echo "$ac_var='\''$ac_val'\''"
1712 if test -n "$ac_subst_files"; then
1714 ## ------------------- ##
1715 ## File substitutions. ##
1716 ## ------------------- ##
1719 for ac_var in $ac_subst_files
1721 eval ac_val=\$$ac_var
1723 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1725 $as_echo "$ac_var='\''$ac_val'\''"
1730 if test -s confdefs.h; then
1740 test "$ac_signal" != 0 &&
1741 $as_echo "$as_me: caught signal $ac_signal"
1742 $as_echo "$as_me: exit $exit_status"
1744 rm -f core *.core core.conftest.* &&
1745 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1748 for ac_signal in 1 2 13 15; do
1749 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1753 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1754 rm -f -r conftest* confdefs.h
1756 $as_echo "/* confdefs.h */" > confdefs.h
1758 # Predefined preprocessor variables.
1760 cat >>confdefs.h <<_ACEOF
1761 #define PACKAGE_NAME "$PACKAGE_NAME"
1764 cat >>confdefs.h <<_ACEOF
1765 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1768 cat >>confdefs.h <<_ACEOF
1769 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1772 cat >>confdefs.h <<_ACEOF
1773 #define PACKAGE_STRING "$PACKAGE_STRING"
1776 cat >>confdefs.h <<_ACEOF
1777 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1780 cat >>confdefs.h <<_ACEOF
1781 #define PACKAGE_URL "$PACKAGE_URL"
1785 # Let the site file select an alternate cache file if it wants to.
1786 # Prefer an explicitly selected file to automatically selected ones.
1789 if test -n "$CONFIG_SITE"; then
1790 ac_site_file1=$CONFIG_SITE
1791 elif test "x$prefix" != xNONE; then
1792 ac_site_file1=$prefix/share/config.site
1793 ac_site_file2=$prefix/etc/config.site
1795 ac_site_file1=$ac_default_prefix/share/config.site
1796 ac_site_file2=$ac_default_prefix/etc/config.site
1798 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1800 test "x$ac_site_file" = xNONE && continue
1801 if test -r "$ac_site_file"; then
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1803 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1804 sed 's/^/| /' "$ac_site_file" >&5
1809 if test -r "$cache_file"; then
1810 # Some versions of bash will fail to source /dev/null (special
1811 # files actually), so we avoid doing that.
1812 if test -f "$cache_file"; then
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1814 $as_echo "$as_me: loading cache $cache_file" >&6;}
1816 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1817 *) . "./$cache_file";;
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1822 $as_echo "$as_me: creating cache $cache_file" >&6;}
1826 # Check that the precious variables saved in the cache have kept the same
1828 ac_cache_corrupted=false
1829 for ac_var in $ac_precious_vars; do
1830 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1831 eval ac_new_set=\$ac_env_${ac_var}_set
1832 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1833 eval ac_new_val=\$ac_env_${ac_var}_value
1834 case $ac_old_set,$ac_new_set in
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1837 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1838 ac_cache_corrupted=: ;;
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1841 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1842 ac_cache_corrupted=: ;;
1845 if test "x$ac_old_val" != "x$ac_new_val"; then
1846 # differences in whitespace do not lead to failure.
1847 ac_old_val_w=`echo x
$ac_old_val`
1848 ac_new_val_w=`echo x
$ac_new_val`
1849 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1851 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1852 ac_cache_corrupted=:
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1855 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1856 eval $ac_var=\$ac_old_val
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1859 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1861 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1864 # Pass precious variables to config.status.
1865 if test "$ac_new_set" = set; then
1867 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1868 *) ac_arg=$ac_var=$ac_new_val ;;
1870 case " $ac_configure_args " in
1871 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1872 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1876 if $ac_cache_corrupted; then
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1880 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1881 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1883 ## -------------------- ##
1884 ## Main body of script. ##
1885 ## -------------------- ##
1888 ac_cpp='$CPP $CPPFLAGS'
1889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1910 # This is what autoupdate's m4 run will expand. It fires
1911 # the warning (with _au_warn_XXX), outputs it into the
1912 # updated configure.ac (with AC_DIAGNOSE), and then outputs
1913 # the replacement expansion.
1916 # This is an auxiliary macro that is also run when
1917 # autoupdate runs m4. It simply calls m4_warning, but
1918 # we need a wrapper so that each warning is emitted only
1919 # once. We break the quoting in m4_warning's argument in
1920 # order to expand this macro's arguments, not AU_DEFUN's.
1923 # Finally, this is the expansion that is picked up by
1924 # autoconf. It tells the user to run autoupdate, and
1925 # then outputs the replacement expansion. We do not care
1926 # about autoupdate's warning because that contains
1927 # information on what to do *after* running autoupdate.
1949 # Determine the noncanonical names used for directories.
1951 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1952 for ac_t in install-sh install.sh shtool; do
1953 if test -f "$ac_dir/$ac_t"; then
1955 ac_install_sh="$ac_aux_dir/$ac_t -c"
1960 if test -z "$ac_aux_dir"; then
1961 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1964 # These three variables are undocumented and unsupported,
1965 # and are intended to be withdrawn in a future Autoconf release.
1966 # They can cause serious problems if a builder's source tree is in a directory
1967 # whose full name contains unusual characters.
1968 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1969 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1970 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1973 # Make sure we can run config.sub.
1974 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1975 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1978 $as_echo_n "checking build system type... " >&6; }
1979 if test "${ac_cv_build+set}" = set; then :
1980 $as_echo_n "(cached) " >&6
1982 ac_build_alias=$build_alias
1983 test "x$ac_build_alias" = x &&
1984 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1985 test "x$ac_build_alias" = x &&
1986 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1987 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1988 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1992 $as_echo "$ac_cv_build" >&6; }
1993 case $ac_cv_build in
1995 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1998 ac_save_IFS=$IFS; IFS='-'
2004 # Remember, the first character of IFS is used to create $*,
2005 # except with old shells:
2008 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2011 case ${build_alias} in
2012 "") build_noncanonical=${build} ;;
2013 *) build_noncanonical=${build_alias} ;;
2018 case ${host_alias} in
2019 "") host_noncanonical=${build_noncanonical} ;;
2020 *) host_noncanonical=${host_alias} ;;
2025 case ${target_alias} in
2026 "") target_noncanonical=${host_noncanonical} ;;
2027 *) target_noncanonical=${target_alias} ;;
2033 test "$host_noncanonical" = "$target_noncanonical" &&
2034 test "$program_prefix$program_suffix$program_transform_name" = \
2036 program_transform_name=s,y,y,
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2039 $as_echo_n "checking host system type... " >&6; }
2040 if test "${ac_cv_host+set}" = set; then :
2041 $as_echo_n "(cached) " >&6
2043 if test "x$host_alias" = x; then
2044 ac_cv_host=$ac_cv_build
2046 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2047 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2052 $as_echo "$ac_cv_host" >&6; }
2055 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2058 ac_save_IFS=$IFS; IFS='-'
2064 # Remember, the first character of IFS is used to create $*,
2065 # except with old shells:
2068 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2072 $as_echo_n "checking target system type... " >&6; }
2073 if test "${ac_cv_target+set}" = set; then :
2074 $as_echo_n "(cached) " >&6
2076 if test "x$target_alias" = x; then
2077 ac_cv_target=$ac_cv_host
2079 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2080 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2085 $as_echo "$ac_cv_target" >&6; }
2086 case $ac_cv_target in
2088 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2090 target=$ac_cv_target
2091 ac_save_IFS=$IFS; IFS='-'
2097 # Remember, the first character of IFS is used to create $*,
2098 # except with old shells:
2101 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2104 # The aliases save the names the user supplied, while $host etc.
2105 # will get canonicalized.
2106 test -n "$target_alias" &&
2107 test "$program_prefix$program_suffix$program_transform_name" = \
2109 program_prefix=${target_alias}-
2111 test "$program_prefix" != NONE &&
2112 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2113 # Use a double $ so make ignores it.
2114 test "$program_suffix" != NONE &&
2115 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2116 # Double any \ or $.
2117 # By default was `s
,x
,x
', remove it if useless.
2118 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2119 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2122 am__api_version='1.11'
2124 # Find a good install program. We prefer a C program (faster),
2125 # so one script is as good as another. But avoid the broken or
2126 # incompatible versions:
2127 # SysV /etc/install, /usr/sbin/install
2128 # SunOS /usr/etc/install
2129 # IRIX /sbin/install
2131 # AmigaOS /C/install, which installs bootblocks on floppy discs
2132 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2133 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2134 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2135 # OS/2's system install, which has a completely different semantic
2136 # ./install, which can be erroneously created by make from ./install.sh.
2137 # Reject install programs that cannot install multiple files.
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2139 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2140 if test -z "$INSTALL"; then
2141 if test "${ac_cv_path_install+set}" = set; then :
2142 $as_echo_n "(cached) " >&6
2144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir
=.
2149 # Account for people who put trailing slashes in PATH elements.
2150 case $as_dir/ in #((
2151 .
/ | .
// |
/[cC
]/* | \
2152 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2153 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2156 # OSF1 and SCO ODT 3.0 have their own names for install.
2157 # Don't use installbsd from OSF since it installs stuff as root
2159 for ac_prog
in ginstall scoinst
install; do
2160 for ac_exec_ext
in '' $ac_executable_extensions; do
2161 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2162 if test $ac_prog = install &&
2163 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2164 # AIX install. It has an incompatible calling convention.
2166 elif test $ac_prog = install &&
2167 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2168 # program-specific install script used by HP pwplus--don't use.
2171 rm -rf conftest.one conftest.two conftest.dir
2172 echo one
> conftest.one
2173 echo two
> conftest.two
2175 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2176 test -s conftest.one
&& test -s conftest.two
&&
2177 test -s conftest.dir
/conftest.one
&&
2178 test -s conftest.dir
/conftest.two
2180 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2193 rm -rf conftest.one conftest.two conftest.dir
2196 if test "${ac_cv_path_install+set}" = set; then
2197 INSTALL
=$ac_cv_path_install
2199 # As a last resort, use the slow shell script. Don't cache a
2200 # value for INSTALL within a source directory, because that will
2201 # break other packages using the cache if that directory is
2202 # removed, or if the value is a relative name.
2203 INSTALL
=$ac_install_sh
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2207 $as_echo "$INSTALL" >&6; }
2209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2210 # It thinks the first close brace ends the variable substitution.
2211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2215 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2218 $as_echo_n "checking whether build environment is sane... " >&6; }
2221 echo timestamp
> conftest.
file
2222 # Reject unsafe characters in $srcdir or the absolute working directory
2223 # name. Accept space and tab only in the latter.
2227 *[\\\"\
#\$\&\'\`$am_lf]*)
2228 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2231 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2232 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2235 # Do `set' in a subshell so we don't clobber the current shell's
2236 # arguments. Must try -L first in case configure is actually a
2237 # symlink; some systems play weird games with the mod time of symlinks
2238 # (eg FreeBSD returns the mod time of the symlink's containing
2241 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2242 if test "$*" = "X"; then
2244 set X
`ls -t "$srcdir/configure" conftest.file`
2247 if test "$*" != "X $srcdir/configure conftest.file" \
2248 && test "$*" != "X conftest.file $srcdir/configure"; then
2250 # If neither matched, then we have a broken ls. This can happen
2251 # if, for instance, CONFIG_SHELL is bash and it inherits a
2252 # broken ls alias from the environment. This has actually
2253 # happened. Such a system could not be considered "sane".
2254 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2255 alias in your environment" "$LINENO" 5
2258 test "$2" = conftest.
file
2264 as_fn_error
"newly created file is older than distributed files!
2265 Check your system clock" "$LINENO" 5
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2268 $as_echo "yes" >&6; }
2269 # expand $ac_aux_dir to an absolute path
2270 am_aux_dir
=`cd $ac_aux_dir && pwd`
2272 if test x
"${MISSING+set}" != xset
; then
2275 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2277 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2280 # Use eval to expand $SHELL
2281 if eval "$MISSING --run true"; then
2282 am_missing_run
="$MISSING --run "
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2286 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2289 if test x
"${install_sh}" != xset
; then
2292 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2294 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2298 # Installed binaries are usually stripped using `strip' when the user
2299 # run `make install-strip'. However `strip' might not be the right
2300 # tool to use in cross-compilation environments, therefore Automake
2301 # will honor the `STRIP' environment variable to overrule this program.
2302 if test "$cross_compiling" != no
; then
2303 if test -n "$ac_tool_prefix"; then
2304 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2305 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2307 $as_echo_n "checking for $ac_word... " >&6; }
2308 if test "${ac_cv_prog_STRIP+set}" = set; then :
2309 $as_echo_n "(cached) " >&6
2311 if test -n "$STRIP"; then
2312 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir
=.
2319 for ac_exec_ext
in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 STRIP
=$ac_cv_prog_STRIP
2332 if test -n "$STRIP"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2334 $as_echo "$STRIP" >&6; }
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2337 $as_echo "no" >&6; }
2342 if test -z "$ac_cv_prog_STRIP"; then
2344 # Extract the first word of "strip", so it can be a program name with args.
2345 set dummy strip
; ac_word
=$2
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2347 $as_echo_n "checking for $ac_word... " >&6; }
2348 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2349 $as_echo_n "(cached) " >&6
2351 if test -n "$ac_ct_STRIP"; then
2352 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir
=.
2359 for ac_exec_ext
in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_ac_ct_STRIP
="strip"
2362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2371 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2372 if test -n "$ac_ct_STRIP"; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2374 $as_echo "$ac_ct_STRIP" >&6; }
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2377 $as_echo "no" >&6; }
2380 if test "x$ac_ct_STRIP" = x
; then
2383 case $cross_compiling:$ac_tool_warned in
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2387 ac_tool_warned
=yes ;;
2392 STRIP
="$ac_cv_prog_STRIP"
2396 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2399 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2400 if test -z "$MKDIR_P"; then
2401 if test "${ac_cv_path_mkdir+set}" = set; then :
2402 $as_echo_n "(cached) " >&6
2404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2405 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2408 test -z "$as_dir" && as_dir
=.
2409 for ac_prog
in mkdir gmkdir
; do
2410 for ac_exec_ext
in '' $ac_executable_extensions; do
2411 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2412 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2413 'mkdir (GNU coreutils) '* | \
2414 'mkdir (coreutils) '* | \
2415 'mkdir (fileutils) '4.1*)
2416 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2426 if test "${ac_cv_path_mkdir+set}" = set; then
2427 MKDIR_P
="$ac_cv_path_mkdir -p"
2429 # As a last resort, use the slow shell script. Don't cache a
2430 # value for MKDIR_P within a source directory, because that will
2431 # break other packages using the cache if that directory is
2432 # removed, or if the value is a relative name.
2433 test -d .
/--version && rmdir .
/--version
2434 MKDIR_P
="$ac_install_sh -d"
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2438 $as_echo "$MKDIR_P" >&6; }
2442 [\\/$
]* | ?
:[\\/]*) ;;
2443 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2446 for ac_prog
in gawk mawk nawk
awk
2448 # Extract the first word of "$ac_prog", so it can be a program name with args.
2449 set dummy
$ac_prog; ac_word
=$2
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if test "${ac_cv_prog_AWK+set}" = set; then :
2453 $as_echo_n "(cached) " >&6
2455 if test -n "$AWK"; then
2456 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir
=.
2463 for ac_exec_ext
in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_AWK
="$ac_prog"
2466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 if test -n "$AWK"; then
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2478 $as_echo "$AWK" >&6; }
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2481 $as_echo "no" >&6; }
2485 test -n "$AWK" && break
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2489 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2491 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2492 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2493 $as_echo_n "(cached) " >&6
2495 cat >conftest.
make <<\_ACEOF
2498 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2500 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2501 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2503 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2505 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2509 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2511 $as_echo "yes" >&6; }
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2515 $as_echo "no" >&6; }
2516 SET_MAKE
="MAKE=${MAKE-make}"
2519 rm -rf .tst
2>/dev
/null
2520 mkdir .tst
2>/dev
/null
2521 if test -d .tst
; then
2526 rmdir .tst
2>/dev
/null
2528 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2529 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2530 # is not polluted with repeated "-I."
2531 am__isrc
=' -I$(srcdir)'
2532 # test to see if srcdir already configured
2533 if test -f $srcdir/config.status
; then
2534 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2538 # test whether we have cygpath
2539 if test -z "$CYGPATH_W"; then
2540 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2541 CYGPATH_W
='cygpath -w'
2548 # Define the identity of the package.
2550 VERSION
='version-unused'
2553 # Some tools Automake needs.
2555 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2558 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2561 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2564 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2567 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2569 # We need awk for the "check" target. The system "awk" is bad on
2571 # Always define AMTAR for backward compatibility. Yes, it's still used
2572 # in the wild :-( We should find a proper way to deprecate it ...
2575 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2583 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2584 # Check whether --enable-maintainer-mode was given.
2585 if test "${enable_maintainer_mode+set}" = set; then :
2586 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2588 USE_MAINTAINER_MODE
=no
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2592 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2593 if test $USE_MAINTAINER_MODE = yes; then
2594 MAINTAINER_MODE_TRUE
=
2595 MAINTAINER_MODE_FALSE
='#'
2597 MAINTAINER_MODE_TRUE
='#'
2598 MAINTAINER_MODE_FALSE
=
2601 MAINT
=$MAINTAINER_MODE_TRUE
2608 ac_cpp
='$CPP $CPPFLAGS'
2609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2612 if test -n "$ac_tool_prefix"; then
2613 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2614 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if test "${ac_cv_prog_CC+set}" = set; then :
2618 $as_echo_n "(cached) " >&6
2620 if test -n "$CC"; then
2621 ac_cv_prog_CC
="$CC" # Let the user override the test.
2623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir
=.
2628 for ac_exec_ext
in '' $ac_executable_extensions; do
2629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2630 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2641 if test -n "$CC"; then
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2643 $as_echo "$CC" >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 $as_echo "no" >&6; }
2651 if test -z "$ac_cv_prog_CC"; then
2653 # Extract the first word of "gcc", so it can be a program name with args.
2654 set dummy gcc
; ac_word
=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2658 $as_echo_n "(cached) " >&6
2660 if test -n "$ac_ct_CC"; then
2661 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir
=.
2668 for ac_exec_ext
in '' $ac_executable_extensions; do
2669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670 ac_cv_prog_ac_ct_CC
="gcc"
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2681 if test -n "$ac_ct_CC"; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2683 $as_echo "$ac_ct_CC" >&6; }
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2689 if test "x$ac_ct_CC" = x
; then
2692 case $cross_compiling:$ac_tool_warned in
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2696 ac_tool_warned
=yes ;;
2704 if test -z "$CC"; then
2705 if test -n "$ac_tool_prefix"; then
2706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2707 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709 $as_echo_n "checking for $ac_word... " >&6; }
2710 if test "${ac_cv_prog_CC+set}" = set; then :
2711 $as_echo_n "(cached) " >&6
2713 if test -n "$CC"; then
2714 ac_cv_prog_CC
="$CC" # Let the user override the test.
2716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2720 test -z "$as_dir" && as_dir
=.
2721 for ac_exec_ext
in '' $ac_executable_extensions; do
2722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2723 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 if test -n "$CC"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2736 $as_echo "$CC" >&6; }
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739 $as_echo "no" >&6; }
2745 if test -z "$CC"; then
2746 # Extract the first word of "cc", so it can be a program name with args.
2747 set dummy cc
; ac_word
=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if test "${ac_cv_prog_CC+set}" = set; then :
2751 $as_echo_n "(cached) " >&6
2753 if test -n "$CC"; then
2754 ac_cv_prog_CC
="$CC" # Let the user override the test.
2757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2761 test -z "$as_dir" && as_dir
=.
2762 for ac_exec_ext
in '' $ac_executable_extensions; do
2763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2764 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2765 ac_prog_rejected
=yes
2769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 if test $ac_prog_rejected = yes; then
2777 # We found a bogon in the path, so make sure we never use it.
2778 set dummy
$ac_cv_prog_CC
2780 if test $# != 0; then
2781 # We chose a different compiler from the bogus one.
2782 # However, it has the same basename, so the bogon will be chosen
2783 # first if we set CC to just the basename; use the full file name.
2785 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2791 if test -n "$CC"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2793 $as_echo "$CC" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2801 if test -z "$CC"; then
2802 if test -n "$ac_tool_prefix"; then
2803 for ac_prog
in cl.exe
2805 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2806 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if test "${ac_cv_prog_CC+set}" = set; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$CC"; then
2813 ac_cv_prog_CC
="$CC" # Let the user override the test.
2815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir
=.
2820 for ac_exec_ext
in '' $ac_executable_extensions; do
2821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2822 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 if test -n "$CC"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2835 $as_echo "$CC" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2842 test -n "$CC" && break
2845 if test -z "$CC"; then
2847 for ac_prog
in cl.exe
2849 # Extract the first word of "$ac_prog", so it can be a program name with args.
2850 set dummy
$ac_prog; ac_word
=$2
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2852 $as_echo_n "checking for $ac_word... " >&6; }
2853 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2854 $as_echo_n "(cached) " >&6
2856 if test -n "$ac_ct_CC"; then
2857 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir
=.
2864 for ac_exec_ext
in '' $ac_executable_extensions; do
2865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2866 ac_cv_prog_ac_ct_CC
="$ac_prog"
2867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2877 if test -n "$ac_ct_CC"; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2879 $as_echo "$ac_ct_CC" >&6; }
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2886 test -n "$ac_ct_CC" && break
2889 if test "x$ac_ct_CC" = x
; then
2892 case $cross_compiling:$ac_tool_warned in
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2896 ac_tool_warned
=yes ;;
2905 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2907 as_fn_error
"no acceptable C compiler found in \$PATH
2908 See \`config.log' for more details." "$LINENO" 5; }
2910 # Provide some information about the compiler.
2911 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2914 for ac_option
in --version -v -V -qversion; do
2915 { { ac_try
="$ac_compiler $ac_option >&5"
2917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2921 $as_echo "$ac_try_echo"; } >&5
2922 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2924 if test -s conftest.err; then
2926 ... rest of stderr output deleted ...
2927 10q' conftest.err >conftest.er1
2928 cat conftest.er1 >&5
2929 rm -f conftest.er1 conftest.err
2931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2932 test $ac_status = 0; }
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2946 ac_clean_files_save=$ac_clean_files
2947 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2948 # Try to create an executable without -o first, disregard a.out.
2949 # It will help us diagnose broken compilers, and finding out an intuition
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2952 $as_echo_n "checking for C compiler default output file name... " >&6; }
2953 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2955 # The possible output files:
2956 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2959 for ac_file in $ac_files
2962 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2963 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2968 if { { ac_try="$ac_link_default"
2970 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2971 *) ac_try_echo
=$ac_try;;
2973 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2974 $as_echo "$ac_try_echo"; } >&5
2975 (eval "$ac_link_default") 2>&5
2977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2978 test $ac_status = 0; }; then :
2979 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2980 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2981 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2982 # so that the user can short-circuit this test for compilers unknown to
2984 for ac_file
in $ac_files ''
2986 test -f "$ac_file" ||
continue
2988 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2991 # We found the default executable, but exeext='' is most
2995 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2997 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2999 # We set ac_cv_exeext here because the later test for it is not
3000 # safe: cross compilers may not add the suffix if given an `-o'
3001 # argument, so we may need to know it at that point already.
3002 # Even if this section looks crufty: it has the advantage of
3009 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3015 $as_echo "$ac_file" >&6; }
3016 if test -z "$ac_file"; then :
3017 $as_echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.
$ac_ext >&5
3020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022 { as_fn_set_status
77
3023 as_fn_error
"C compiler cannot create executables
3024 See \`config.log' for more details." "$LINENO" 5; }; }
3026 ac_exeext
=$ac_cv_exeext
3028 # Check that the compiler produces executables we can run. If not, either
3029 # the compiler is broken, or we cross compile.
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3031 $as_echo_n "checking whether the C compiler works... " >&6; }
3032 # If not cross compiling, check that we can run a simple program.
3033 if test "$cross_compiling" != yes; then
3034 if { ac_try
='./$ac_file'
3035 { { case "(($ac_try" in
3036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3040 $as_echo "$ac_try_echo"; } >&5
3041 (eval "$ac_try") 2>&5
3043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3044 test $ac_status = 0; }; }; then
3047 if test "$cross_compiling" = maybe; then
3050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052 as_fn_error "cannot run C compiled programs.
3053 If you meant to cross compile
, use \
`--host'.
3054 See \`config.log
' for more details." "$LINENO" 5; }
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3059 $as_echo "yes" >&6; }
3061 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3062 ac_clean_files=$ac_clean_files_save
3063 # Check that the compiler produces executables we can run. If not, either
3064 # the compiler is broken, or we cross compile.
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3066 $as_echo_n "checking whether we are cross compiling... " >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3068 $as_echo "$cross_compiling" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3071 $as_echo_n "checking for suffix of executables... " >&6; }
3072 if { { ac_try="$ac_link"
3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3075 *) ac_try_echo=$ac_try;;
3077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3078 $as_echo "$ac_try_echo"; } >&5
3079 (eval "$ac_link") 2>&5
3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082 test $ac_status = 0; }; then :
3083 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3084 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3085 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3087 for ac_file
in conftest.exe conftest conftest.
*; do
3088 test -f "$ac_file" ||
continue
3090 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3091 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3099 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3100 See \`config.log' for more details." "$LINENO" 5; }
3102 rm -f conftest
$ac_cv_exeext
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3104 $as_echo "$ac_cv_exeext" >&6; }
3106 rm -f conftest.
$ac_ext
3107 EXEEXT
=$ac_cv_exeext
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3110 $as_echo_n "checking for suffix of object files... " >&6; }
3111 if test "${ac_cv_objext+set}" = set; then :
3112 $as_echo_n "(cached) " >&6
3114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3125 rm -f conftest.o conftest.obj
3126 if { { ac_try
="$ac_compile"
3128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_compile") 2>&5
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; }; then :
3137 for ac_file in conftest.o conftest.obj conftest.*; do
3138 test -f "$ac_file" || continue;
3140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3141 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3146 $as_echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151 as_fn_error "cannot compute suffix of object files
: cannot compile
3152 See \
`config.log' for more details." "$LINENO" 5; }
3154 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3157 $as_echo "$ac_cv_objext" >&6; }
3158 OBJEXT=$ac_cv_objext
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3161 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3162 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3163 $as_echo_n "(cached) " >&6
3165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166 /* end confdefs.h. */
3179 if ac_fn_c_try_compile "$LINENO"; then :
3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3189 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3190 if test $ac_compiler_gnu = yes; then
3195 ac_test_CFLAGS=${CFLAGS+set}
3196 ac_save_CFLAGS=$CFLAGS
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3198 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3199 if test "${ac_cv_prog_cc_g+set}" = set; then :
3200 $as_echo_n "(cached) " >&6
3202 ac_save_c_werror_flag=$ac_c_werror_flag
3203 ac_c_werror_flag=yes
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3217 if ac_fn_c_try_compile "$LINENO"; then :
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3232 if ac_fn_c_try_compile "$LINENO"; then :
3235 ac_c_werror_flag=$ac_save_c_werror_flag
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3248 if ac_fn_c_try_compile "$LINENO"; then :
3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3256 ac_c_werror_flag=$ac_save_c_werror_flag
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3259 $as_echo "$ac_cv_prog_cc_g" >&6; }
3260 if test "$ac_test_CFLAGS" = set; then
3261 CFLAGS=$ac_save_CFLAGS
3262 elif test $ac_cv_prog_cc_g = yes; then
3263 if test "$GCC" = yes; then
3269 if test "$GCC" = yes; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3276 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3277 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3280 ac_cv_prog_cc_c89=no
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3286 #include <sys/types.h>
3287 #include <sys/stat.h>
3288 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3289 struct buf { int x; };
3290 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3291 static char *e (p, i)
3297 static char *f (char * (*g) (char **, int), char **p, ...)
3302 s = g (p, va_arg (v,int));
3307 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3308 function prototypes and stuff, but not '\xHH' hex character constants.
3309 These don't provoke an error unfortunately, instead are silently treated
3310 as 'x'. The following induces an error, until -std is added to get
3311 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3312 array size at least. It's necessary to write '\x00'==0 to get something
3313 that's true only with -std. */
3314 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3316 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3317 inside strings and character constants. */
3319 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3321 int test (int i, double x);
3322 struct s1 {int (*f) (int a);};
3323 struct s2 {int (*f) (double a);};
3324 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3330 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3335 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3336 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3338 CC="$ac_save_CC $ac_arg"
3339 if ac_fn_c_try_compile "$LINENO"; then :
3340 ac_cv_prog_cc_c89=$ac_arg
3342 rm -f core conftest.err conftest.$ac_objext
3343 test "x$ac_cv_prog_cc_c89" != "xno" && break
3345 rm -f conftest.$ac_ext
3350 case "x$ac_cv_prog_cc_c89" in
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3353 $as_echo "none needed" >&6; } ;;
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3356 $as_echo "unsupported" >&6; } ;;
3358 CC="$CC $ac_cv_prog_cc_c89"
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3360 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3362 if test "x$ac_cv_prog_cc_c89" != xno; then :
3367 ac_cpp='$CPP $CPPFLAGS'
3368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3371 DEPDIR="${am__leading_dot}deps"
3373 ac_config_commands="$ac_config_commands depfiles"
3376 am_make=${MAKE-make}
3377 cat > confinc << 'END'
3379 @echo this is the am__doit target
3382 # If we don't find an include directive, just comment out the code.
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3384 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3388 # First try GNU make style include.
3389 echo "include confinc" > confmf
3390 # Ignore all kinds of additional output from `make'.
3391 case `$am_make -s -f confmf 2> /dev/null` in #(
3392 *the\ am__doit\ target*)
3398 # Now try BSD make style include.
3399 if test "$am__include" = "#"; then
3400 echo '.include
"confinc"' > confmf
3401 case `$am_make -s -f confmf 2> /dev/null` in #(
3402 *the\ am__doit\ target*)
3403 am__include=.include
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3412 $as_echo "$_am_result" >&6; }
3413 rm -f confinc confmf
3415 # Check whether --enable-dependency-tracking was given.
3416 if test "${enable_dependency_tracking+set}" = set; then :
3417 enableval=$enable_dependency_tracking;
3420 if test "x$enable_dependency_tracking" != xno; then
3421 am_depcomp="$ac_aux_dir/depcomp"
3425 if test "x$enable_dependency_tracking" != xno
; then
3435 depcc
="$CC" am_compiler_list
=
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3438 $as_echo_n "checking dependency style of $depcc... " >&6; }
3439 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3440 $as_echo_n "(cached) " >&6
3442 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3443 # We make a subdir and do the tests there. Otherwise we can end up
3444 # making bogus files that we don't know about and never remove. For
3445 # instance it was reported that on HP-UX the gcc test will end up
3446 # making a dummy file named `D' -- because `-MD' means `put the output
3450 # Copy depcomp to subdir because otherwise we won't find it if we're
3451 # using a relative directory.
3452 cp "$am_depcomp" conftest.dir
3454 # We will build objects and dependencies in a subdirectory because
3455 # it helps to detect inapplicable dependency modes. For instance
3456 # both Tru64's cc and ICC support -MD to output dependencies as a
3457 # side effect of compilation, but ICC will put the dependencies in
3458 # the current directory while Tru64 will put them in the object
3462 am_cv_CC_dependencies_compiler_type
=none
3463 if test "$am_compiler_list" = ""; then
3464 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3467 case " $depcc " in #(
3468 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3471 for depmode
in $am_compiler_list; do
3472 # Setup a source with many dependencies, because some compilers
3473 # like to wrap large dependency lists on column 80 (with \), and
3474 # we should not choose a depcomp mode which is confused by this.
3476 # We need to recreate these files for each test, as the compiler may
3477 # overwrite some of them when testing with obscure command lines.
3478 # This happens at least with the AIX C compiler.
3480 for i
in 1 2 3 4 5 6; do
3481 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3482 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3483 # Solaris 8's {/usr,}/bin/sh.
3484 touch sub
/conftst
$i.h
3486 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3488 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3489 # mode. It turns out that the SunPro C++ compiler does not properly
3490 # handle `-M -o', and we need to detect this. Also, some Intel
3491 # versions had trouble with output in subdirs
3492 am__obj
=sub
/conftest.
${OBJEXT-o}
3493 am__minus_obj
="-o $am__obj"
3496 # This depmode causes a compiler race in universal mode.
3497 test "$am__universal" = false ||
continue
3500 # after this tag, mechanisms are not by side-effect, so they'll
3501 # only be used when explicitly requested
3502 if test "x$enable_dependency_tracking" = xyes
; then
3508 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3509 # This compiler won't grok `-c -o', but also, the minuso test has
3510 # not run yet. These depmodes are late enough in the game, and
3511 # so weak that their functioning should not be impacted.
3512 am__obj
=conftest.
${OBJEXT-o}
3517 if depmode
=$depmode \
3518 source=sub
/conftest.c object
=$am__obj \
3519 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3520 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3521 >/dev
/null
2>conftest.err
&&
3522 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3523 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3524 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3525 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3526 # icc doesn't choke on unknown options, it will just issue warnings
3527 # or remarks (even with -Werror). So we grep stderr for any message
3528 # that says an option was ignored or not supported.
3529 # When given -MP, icc 7.0 and 7.1 complain thusly:
3530 # icc: Command line warning: ignoring option '-M'; no argument required
3531 # The diagnosis changed in icc 8.0:
3532 # icc: Command line remark: option '-MP' not supported
3533 if (grep 'ignoring option' conftest.err ||
3534 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3535 am_cv_CC_dependencies_compiler_type
=$depmode
3544 am_cv_CC_dependencies_compiler_type
=none
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3549 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3550 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3553 test "x$enable_dependency_tracking" != xno \
3554 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3556 am__fastdepCC_FALSE
='#'
3558 am__fastdepCC_TRUE
='#'
3559 am__fastdepCC_FALSE
=
3564 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
3565 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 if test -n "$ac_tool_prefix"; then
3568 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3569 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3571 $as_echo_n "checking for $ac_word... " >&6; }
3572 if test "${ac_cv_prog_GOC+set}" = set; then :
3573 $as_echo_n "(cached) " >&6
3575 if test -n "$GOC"; then
3576 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
3578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3582 test -z "$as_dir" && as_dir
=.
3583 for ac_exec_ext
in '' $ac_executable_extensions; do
3584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3585 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
3586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 if test -n "$GOC"; then
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3598 $as_echo "$GOC" >&6; }
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 $as_echo "no" >&6; }
3606 if test -z "$ac_cv_prog_GOC"; then
3608 # Extract the first word of "gccgo", so it can be a program name with args.
3609 set dummy gccgo
; ac_word
=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
3613 $as_echo_n "(cached) " >&6
3615 if test -n "$ac_ct_GOC"; then
3616 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
3618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir
=.
3623 for ac_exec_ext
in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 ac_cv_prog_ac_ct_GOC
="gccgo"
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3635 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
3636 if test -n "$ac_ct_GOC"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
3638 $as_echo "$ac_ct_GOC" >&6; }
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3644 if test "x$ac_ct_GOC" = x
; then
3647 case $cross_compiling:$ac_tool_warned in
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3651 ac_tool_warned
=yes ;;
3656 GOC
="$ac_cv_prog_GOC"
3659 if test -z "$GOC"; then
3660 if test -n "$ac_tool_prefix"; then
3661 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3662 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3664 $as_echo_n "checking for $ac_word... " >&6; }
3665 if test "${ac_cv_prog_GOC+set}" = set; then :
3666 $as_echo_n "(cached) " >&6
3668 if test -n "$GOC"; then
3669 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
3671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3675 test -z "$as_dir" && as_dir
=.
3676 for ac_exec_ext
in '' $ac_executable_extensions; do
3677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3678 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
3679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 if test -n "$GOC"; then
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3691 $as_echo "$GOC" >&6; }
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3700 if test -z "$GOC"; then
3701 # Extract the first word of "gccgo", so it can be a program name with args.
3702 set dummy gccgo
; ac_word
=$2
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704 $as_echo_n "checking for $ac_word... " >&6; }
3705 if test "${ac_cv_prog_GOC+set}" = set; then :
3706 $as_echo_n "(cached) " >&6
3708 if test -n "$GOC"; then
3709 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
3712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3716 test -z "$as_dir" && as_dir
=.
3717 for ac_exec_ext
in '' $ac_executable_extensions; do
3718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3719 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
3720 ac_prog_rejected
=yes
3723 ac_cv_prog_GOC
="gccgo"
3724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3731 if test $ac_prog_rejected = yes; then
3732 # We found a bogon in the path, so make sure we never use it.
3733 set dummy
$ac_cv_prog_GOC
3735 if test $# != 0; then
3736 # We chose a different compiler from the bogus one.
3737 # However, it has the same basename, so the bogon will be chosen
3738 # first if we set GOC to just the basename; use the full file name.
3740 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
3746 if test -n "$GOC"; then
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3748 $as_echo "$GOC" >&6; }
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3751 $as_echo "no" >&6; }
3758 # Provide some information about the compiler.
3759 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
3762 { { ac_try
="$ac_compiler --version >&5"
3764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3765 *) ac_try_echo=$ac_try;;
3767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768 $as_echo "$ac_try_echo"; } >&5
3769 (eval "$ac_compiler --version >&5") 2>conftest.err
3771 if test -s conftest.err; then
3773 ... rest of stderr output deleted ...
3774 10q' conftest.err >conftest.er1
3775 cat conftest.er1 >&5
3776 rm -f conftest.er1 conftest.err
3778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3779 test $ac_status = 0; }
3782 ac_cpp='$CPP $CPPFLAGS'
3783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3788 # These should be defined by the top-level configure.
3789 # Copy them into Makefile.
3793 if test "$host_alias" = "$target_alias"; then
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
3804 $as_echo_n "checking for socket libraries... " >&6; }
3805 if test "${gotools_cv_lib_sockets+set}" = set; then :
3806 $as_echo_n "(cached) " >&6
3808 gotools_cv_lib_sockets=
3809 gotools_check_both=no
3810 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
3811 if test "x$ac_cv_func_connect" = x""yes; then :
3812 gotools_check_socket=no
3814 gotools_check_socket=yes
3817 if test "$gotools_check_socket" = "yes"; then
3818 unset ac_cv_func_connect
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
3820 $as_echo_n "checking for main in -lsocket... " >&6; }
3821 if test "${ac_cv_lib_socket_main+set}" = set; then :
3822 $as_echo_n "(cached) " >&6
3824 ac_check_lib_save_LIBS=$LIBS
3825 LIBS="-lsocket $LIBS"
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3838 if ac_fn_c_try_link "$LINENO"; then :
3839 ac_cv_lib_socket_main=yes
3841 ac_cv_lib_socket_main=no
3843 rm -f core conftest.err conftest.$ac_objext \
3844 conftest$ac_exeext conftest.$ac_ext
3845 LIBS=$ac_check_lib_save_LIBS
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
3848 $as_echo "$ac_cv_lib_socket_main" >&6; }
3849 if test "x$ac_cv_lib_socket_main" = x""yes; then :
3850 gotools_cv_lib_sockets="-lsocket"
3852 gotools_check_both=yes
3856 if test "$gotools_check_both" = "yes"; then
3857 gotools_old_libs=$LIBS
3858 LIBS="$LIBS -lsocket -lnsl"
3859 unset ac_cv_func_accept
3860 ac_fn_c_check_func "$LINENO" "accept" "ac_cv_func_accept"
3861 if test "x$ac_cv_func_accept" = x""yes; then :
3862 gotools_check_nsl=no
3863 gotools_cv_lib_sockets="-lsocket -lnsl"
3866 unset ac_cv_func_accept
3867 LIBS=$gotools_old_libs
3869 unset ac_cv_func_gethostbyname
3870 gotools_old_libs="$LIBS"
3871 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
3872 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
3876 $as_echo_n "checking for main in -lnsl... " >&6; }
3877 if test "${ac_cv_lib_nsl_main+set}" = set; then :
3878 $as_echo_n "(cached) " >&6
3880 ac_check_lib_save_LIBS=$LIBS
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3894 if ac_fn_c_try_link "$LINENO"; then :
3895 ac_cv_lib_nsl_main=yes
3897 ac_cv_lib_nsl_main=no
3899 rm -f core conftest.err conftest.$ac_objext \
3900 conftest$ac_exeext conftest.$ac_ext
3901 LIBS=$ac_check_lib_save_LIBS
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
3904 $as_echo "$ac_cv_lib_nsl_main" >&6; }
3905 if test "x$ac_cv_lib_nsl_main" = x""yes; then :
3906 gotools_cv_lib_sockets="$gotools_cv_lib_sockets -lnsl"
3911 unset ac_cv_func_gethostbyname
3912 LIBS=$gotools_old_libs
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gotools_cv_lib_sockets" >&5
3916 $as_echo "$gotools_cv_lib_sockets" >&6; }
3917 NET_LIBS="$gotools_cv_lib_sockets"
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
3921 $as_echo_n "checking for library containing sched_yield... " >&6; }
3922 if test "${ac_cv_search_sched_yield+set}" = set; then :
3923 $as_echo_n "(cached) " >&6
3925 ac_func_search_save_LIBS=$LIBS
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3929 /* Override any GCC internal prototype to avoid an error.
3930 Use char because int might match the return type of a GCC
3931 builtin and then its argument prototype would still apply. */
3935 char sched_yield ();
3939 return sched_yield ();
3944 for ac_lib in '' rt; do
3945 if test -z "$ac_lib"; then
3946 ac_res="none required"
3949 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3951 if ac_fn_c_try_link "$LINENO"; then :
3952 ac_cv_search_sched_yield=$ac_res
3954 rm -f core conftest.err conftest.$ac_objext \
3956 if test "${ac_cv_search_sched_yield+set}" = set; then :
3960 if test "${ac_cv_search_sched_yield+set}" = set; then :
3963 ac_cv_search_sched_yield=no
3966 LIBS=$ac_func_search_save_LIBS
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
3969 $as_echo "$ac_cv_search_sched_yield" >&6; }
3970 ac_res=$ac_cv_search_sched_yield
3971 if test "$ac_res" != no; then :
3972 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
3977 $as_echo_n "checking for library containing nanosleep... " >&6; }
3978 if test "${ac_cv_search_nanosleep+set}" = set; then :
3979 $as_echo_n "(cached) " >&6
3981 ac_func_search_save_LIBS=$LIBS
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3985 /* Override any GCC internal prototype to avoid an error.
3986 Use char because int might match the return type of a GCC
3987 builtin and then its argument prototype would still apply. */
3995 return nanosleep ();
4000 for ac_lib in '' rt; do
4001 if test -z "$ac_lib"; then
4002 ac_res="none required"
4005 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4007 if ac_fn_c_try_link "$LINENO"; then :
4008 ac_cv_search_nanosleep=$ac_res
4010 rm -f core conftest.err conftest.$ac_objext \
4012 if test "${ac_cv_search_nanosleep+set}" = set; then :
4016 if test "${ac_cv_search_nanosleep+set}" = set; then :
4019 ac_cv_search_nanosleep=no
4022 LIBS=$ac_func_search_save_LIBS
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
4025 $as_echo "$ac_cv_search_nanosleep" >&6; }
4026 ac_res=$ac_cv_search_nanosleep
4027 if test "$ac_res" != no; then :
4028 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4033 ac_config_files="$ac_config_files Makefile"
4036 cat >confcache <<\_ACEOF
4037 # This file is a shell script that caches the results of configure
4038 # tests run on this system so they can be shared between configure
4039 # scripts and configure runs, see configure's option --config-cache.
4040 # It is not useful on other systems. If it contains results you don't
4041 # want to keep, you may remove or edit it.
4043 # config.status only pays attention to the cache file if you give it
4044 # the --recheck option to rerun configure.
4046 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4047 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4052 # The following way of writing the cache mishandles newlines in values,
4053 # but we know of no workaround that is simple, portable, and efficient.
4054 # So, we kill variables containing newlines.
4055 # Ultrix sh set writes to stderr and can't be redirected directly,
4056 # and sets the high bit in the cache file unless we assign to the vars.
4058 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4059 eval ac_val
=\$
$ac_var
4063 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4067 _ | IFS | as_nl
) ;; #(
4068 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4069 *) { eval $ac_var=; unset $ac_var;} ;;
4075 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4076 *${as_nl}ac_space
=\
*)
4077 # `set' does not quote correctly, so add quotes: double-quote
4078 # substitution turns \\\\ into \\, and sed turns \\ into \.
4081 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4084 # `set' quotes correctly as required by POSIX, so do not add quotes.
4085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4096 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4098 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4099 if test -w "$cache_file"; then
4100 test "x$cache_file" != "x/dev/null" &&
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4102 $as_echo "$as_me: updating cache $cache_file" >&6;}
4103 cat confcache
>$cache_file
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4106 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4111 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4112 # Let make expand exec_prefix.
4113 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4115 # Transform confdefs.h into DEFS.
4116 # Protect against shell expansion while executing Makefile rules.
4117 # Protect against Makefile macro expansion.
4119 # If the first sed substitution is executed (which looks for macros that
4120 # take arguments), then branch to the quote section. Otherwise,
4121 # look for a macro that doesn't take arguments.
4131 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4133 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4137 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4150 DEFS
=`sed -n "$ac_script" confdefs.h`
4155 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4156 # 1. Remove the extension, and $U if already installed.
4157 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4158 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4159 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4160 # will be set to the directory where LIBOBJS objects are built.
4161 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4162 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4166 LTLIBOBJS
=$ac_ltlibobjs
4169 if test -n "$EXEEXT"; then
4171 am__EXEEXT_FALSE
='#'
4177 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4178 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
4179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4181 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4182 as_fn_error
"conditional \"AMDEP\" was never defined.
4183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4185 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4186 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
4187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4189 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
4190 as_fn_error
"conditional \"NATIVE\" was never defined.
4191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4194 : ${CONFIG_STATUS=./config.status}
4196 ac_clean_files_save
=$ac_clean_files
4197 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4199 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4201 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4203 # Generated by $as_me.
4204 # Run this file to recreate the current configuration.
4205 # Compiler output produced by configure, useful for debugging
4206 # configure, is in config.log if it exists.
4212 SHELL=\${CONFIG_SHELL-$SHELL}
4215 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4216 ## -------------------- ##
4217 ## M4sh Initialization. ##
4218 ## -------------------- ##
4220 # Be more Bourne compatible
4221 DUALCASE
=1; export DUALCASE
# for MKS sh
4222 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4225 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4226 # is contrary to our usage. Disable this feature.
4227 alias -g '${1+"$@"}'='"$@"'
4228 setopt NO_GLOB_SUBST
4230 case `(set -o) 2>/dev/null` in #(
4242 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4243 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4244 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4245 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4246 # Prefer a ksh shell builtin over an external printf program on Solaris,
4247 # but without wasting forks for bash or zsh.
4248 if test -z "$BASH_VERSION$ZSH_VERSION" \
4249 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4250 as_echo='print
-r --'
4251 as_echo_n='print
-rn --'
4252 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4253 as_echo='printf %s
\n'
4254 as_echo_n='printf %s
'
4256 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4257 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4258 as_echo_n='/usr
/ucb
/echo -n'
4260 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4261 as_echo_n_body='eval
4265 expr "X$arg" : "X\\(.*\\)$as_nl";
4266 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4268 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4270 export as_echo_n_body
4271 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4274 as_echo='sh
-c $as_echo_body as_echo
'
4277 # The user is always right.
4278 if test "${PATH_SEPARATOR+set}" != set; then
4280 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4281 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4288 # We need space, tab and new line, in precisely that order. Quoting is
4289 # there to prevent editors from complaining about space-tab.
4290 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4291 # splitting by setting IFS to empty value.)
4294 # Find who we are. Look in the path if we contain no directory separator.
4296 *[\\/]* ) as_myself=$0 ;;
4297 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4301 test -z "$as_dir" && as_dir=.
4302 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4308 # We did not find ourselves, most probably we were run as `sh COMMAND'
4309 # in which case we are not to be found in the path.
4310 if test "x$as_myself" = x
; then
4313 if test ! -f "$as_myself"; then
4314 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4318 # Unset variables that we do not need and which cause bugs (e.g. in
4319 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4320 # suppresses any "Segmentation fault" message there. '((' could
4321 # trigger a bug in pdksh 5.2.14.
4322 for as_var
in BASH_ENV ENV MAIL MAILPATH
4323 do eval test x\
${$as_var+set} = xset \
4324 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4337 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4340 # as_fn_error ERROR [LINENO LOG_FD]
4341 # ---------------------------------
4342 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4343 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4344 # script with status $?, using 1 if that was 0.
4347 as_status
=$?
; test $as_status -eq 0 && as_status
=1
4349 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4350 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4352 $as_echo "$as_me: error: $1" >&2
4353 as_fn_exit
$as_status
4357 # as_fn_set_status STATUS
4358 # -----------------------
4359 # Set $? to STATUS, without forking.
4363 } # as_fn_set_status
4367 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4377 # Portably unset VAR.
4380 { eval $1=; unset $1;}
4382 as_unset
=as_fn_unset
4383 # as_fn_append VAR VALUE
4384 # ----------------------
4385 # Append the text in VALUE to the end of the definition contained in VAR. Take
4386 # advantage of any shell optimizations that allow amortized linear growth over
4387 # repeated appends, instead of the typical quadratic growth present in naive
4389 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4390 eval 'as_fn_append ()
4401 # as_fn_arith ARG...
4402 # ------------------
4403 # Perform arithmetic evaluation on the ARGs, and store the result in the
4404 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4405 # must be portable across $(()) and expr.
4406 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4407 eval 'as_fn_arith ()
4414 as_val
=`expr "$@" || test $? -eq 1`
4419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4427 as_basename
=basename
4432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4438 as_me
=`$as_basename -- "$0" ||
4439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4440 X"$0" : 'X\(//\)$' \| \
4441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4443 sed '/^.*\/\([^/][^/]*\)\/*$/{
4457 # Avoid depending upon Character Ranges.
4458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4461 as_cr_digits
='0123456789'
4462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4464 ECHO_C
= ECHO_N
= ECHO_T
=
4465 case `echo -n x` in #(((((
4467 case `echo 'xy\c'` in
4468 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4470 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4477 rm -f conf$$ conf$$.exe conf$$.
file
4478 if test -d conf$$.dir
; then
4479 rm -f conf$$.dir
/conf$$.
file
4482 mkdir conf$$.dir
2>/dev
/null
4484 if (echo >conf$$.
file) 2>/dev
/null
; then
4485 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4487 # ... but there are two gotchas:
4488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4490 # In both cases, we have to default to `cp -p'.
4491 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4493 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4501 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4502 rmdir conf$$.dir
2>/dev
/null
4507 # Create "$as_dir" as a directory, including parents if necessary.
4512 -*) as_dir
=.
/$as_dir;;
4514 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4518 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4519 *) as_qdir
=$as_dir;;
4521 as_dirs
="'$as_qdir' $as_dirs"
4522 as_dir
=`$as_dirname -- "$as_dir" ||
4523 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4524 X"$as_dir" : 'X\(//\)[^/]' \| \
4525 X"$as_dir" : 'X\(//\)$' \| \
4526 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4527 $as_echo X"$as_dir" |
4528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4545 test -d "$as_dir" && break
4547 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4548 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4552 if mkdir
-p .
2>/dev
/null
; then
4553 as_mkdir_p
='mkdir -p "$as_dir"'
4555 test -d .
/-p && rmdir .
/-p
4559 if test -x / >/dev
/null
2>&1; then
4562 if ls -dL / >/dev
/null
2>&1; then
4569 if test -d "$1"; then
4575 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4576 ???[sx]*):;;*)false;;esac;fi
4580 as_executable_p
=$as_test_x
4582 # Sed expression to map a string onto a valid CPP name.
4583 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4585 # Sed expression to map a string onto a valid variable name.
4586 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4590 ## ----------------------------------- ##
4591 ## Main body of $CONFIG_STATUS script. ##
4592 ## ----------------------------------- ##
4594 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4597 # Save the log message, to keep $0 and so on meaningful, and to
4598 # report actual input values of CONFIG_FILES etc. instead of their
4599 # values after options handling.
4601 This file was extended by package-unused $as_me version-unused, which was
4602 generated by GNU Autoconf 2.64. Invocation command line was
4604 CONFIG_FILES = $CONFIG_FILES
4605 CONFIG_HEADERS = $CONFIG_HEADERS
4606 CONFIG_LINKS = $CONFIG_LINKS
4607 CONFIG_COMMANDS = $CONFIG_COMMANDS
4610 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4615 case $ac_config_files in *"
4616 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4622 # Files that config.status was made for.
4623 config_files="$ac_config_files"
4624 config_commands="$ac_config_commands"
4628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4630 \`$as_me' instantiates files and other configuration actions
4631 from templates according to the current configuration. Unless the files
4632 and actions are specified as TAGs, all are instantiated by default.
4634 Usage: $0 [OPTION]... [TAG]...
4636 -h, --help print this help, then exit
4637 -V, --version print version number and configuration settings, then exit
4638 -q, --quiet, --silent
4639 do not print progress messages
4640 -d, --debug don't remove temporary files
4641 --recheck update $as_me by reconfiguring in the same conditions
4642 --file=FILE[:TEMPLATE]
4643 instantiate the configuration file FILE
4645 Configuration files:
4648 Configuration commands:
4651 Report bugs to the package provider."
4654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4656 package-unused config.status version-unused
4657 configured by $0, generated by GNU Autoconf 2.64,
4658 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4660 Copyright (C) 2009 Free Software Foundation, Inc.
4661 This config.status script is free software; the Free Software Foundation
4662 gives unlimited permission to copy, distribute and modify it."
4669 test -n "\$AWK" || AWK=awk
4672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4673 # The default lists apply if the user does not specify any file.
4679 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4680 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4691 # Handling of the options.
4692 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4694 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4695 $as_echo "$ac_cs_version"; exit ;;
4696 --debug |
--debu |
--deb |
--de |
--d |
-d )
4698 --file |
--fil |
--fi |
--f )
4701 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4703 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4704 ac_need_defaults
=false
;;
4705 --he |
--h |
--help |
--hel |
-h )
4706 $as_echo "$ac_cs_usage"; exit ;;
4707 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4708 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4712 -*) as_fn_error
"unrecognized option: \`$1'
4713 Try \`$0 --help' for more information." ;;
4715 *) as_fn_append ac_config_targets
" $1"
4716 ac_need_defaults
=false
;;
4722 ac_configure_extra_args
=
4724 if $ac_cs_silent; then
4726 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4731 if \$ac_cs_recheck; then
4732 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4734 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4735 CONFIG_SHELL='$SHELL'
4741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4745 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4746 ## Running $as_me. ##
4752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4756 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4762 # Handling of arguments.
4763 for ac_config_target
in $ac_config_targets
4765 case $ac_config_target in
4766 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
4767 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4769 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4774 # If the user did not use the arguments to specify the items to instantiate,
4775 # then the envvar interface is used. Set only those that are not.
4776 # We use the long form for the default assignment because of an extremely
4777 # bizarre bug on SunOS 4.1.3.
4778 if $ac_need_defaults; then
4779 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4780 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4783 # Have a temporary directory for convenience. Make it in the build tree
4784 # simply because there is no reason against having it here, and in addition,
4785 # creating and moving files from /tmp can sometimes cause problems.
4786 # Hook for its removal unless debugging.
4787 # Note that there is a small window in which the directory will not be cleaned:
4788 # after its creation but before its name has been assigned to `$tmp'.
4792 trap 'exit_status=$?
4793 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4795 trap 'as_fn_exit 1' 1 2 13 15
4797 # Create a (secure) tmp directory for tmp files.
4800 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4801 test -n "$tmp" && test -d "$tmp"
4804 tmp
=.
/conf$$
-$RANDOM
4805 (umask 077 && mkdir
"$tmp")
4806 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4808 # Set up the scripts for CONFIG_FILES section.
4809 # No need to generate them if there are no CONFIG_FILES.
4810 # This happens for instance with `./config.status config.h'.
4811 if test -n "$CONFIG_FILES"; then
4814 ac_cr
=`echo X | tr X '\015'`
4815 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4816 # But we know of no other shell where ac_cr would be empty at this
4817 # point, so we can use a bashism as a fallback.
4818 if test "x$ac_cr" = x
; then
4819 eval ac_cr
=\$
\'\\r
\'
4821 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4822 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4828 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4833 echo "cat >conf$$subs.awk <<_ACEOF" &&
4834 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4837 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4838 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4840 for ac_last_try in false false false false false :; do
4841 . ./conf$$subs.sh ||
4842 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4844 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4845 if test $ac_delim_n = $ac_delim_num; then
4847 elif $ac_last_try; then
4848 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4850 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4856 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4860 s/^/S["/; s
/!.
*/"]=/
4870 s/\(.\{148\}\).*/\1/
4872 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4877 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4884 s/\(.\{148\}\).*/\1/
4886 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4890 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4895 ' <conf$$subs.awk | sed '
4900 ' >>$CONFIG_STATUS || ac_write_fail=1
4901 rm -f conf$$subs.awk
4902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4904 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4905 for (key in S) S_is_set[key] = 1
4911 nfields = split(line, field, "@
")
4913 len = length(field[1])
4914 for (i = 2; i < nfields; i++) {
4916 keylen = length(key)
4917 if (S_is_set[key]) {
4919 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4920 len += length(value) + length(field[++i])
4931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4932 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4933 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4936 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4937 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4940 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4941 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4942 # trailing colons and then remove the whole line if VPATH becomes empty
4943 # (actually we leave an empty line to preserve line numbers).
4944 if test "x
$srcdir" = x.; then
4945 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4949 s/^\([^=]*=[ ]*\):*/\1/
4955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4956 fi # test -n "$CONFIG_FILES"
4959 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
4964 :[FHLC]) ac_mode=$ac_tag; continue;;
4966 case $ac_mode$ac_tag in
4968 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4969 :[FH]-) ac_tag=-:-;;
4970 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4987 -) ac_f="$tmp/stdin";;
4988 *) # Look for the file first in the build tree, then in the source tree
4989 # (if the path is not absolute). The absolute path cannot be DOS-style,
4990 # because $ac_f cannot contain `:'.
4994 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4996 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4998 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4999 as_fn_append ac_file_inputs " '$ac_f'"
5002 # Let's still pretend it is `configure' which instantiates (i.e., don't
5003 # use $as_me), people would be surprised to read:
5004 # /* config.h. Generated by config.status. */
5005 configure_input='Generated from '`
5006 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5008 if test x"$ac_file" != x-; then
5009 configure_input="$ac_file.
$configure_input"
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5011 $as_echo "$as_me: creating
$ac_file" >&6;}
5013 # Neutralize special characters interpreted by sed in replacement strings.
5014 case $configure_input in #(
5015 *\&* | *\|* | *\\* )
5016 ac_sed_conf_input=`$as_echo "$configure_input" |
5017 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5018 *) ac_sed_conf_input=$configure_input;;
5022 *:-:* | *:-) cat >"$tmp/stdin
" \
5023 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
5028 ac_dir=`$as_dirname -- "$ac_file" ||
5029 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5030 X"$ac_file" : 'X\(//\)[^/]' \| \
5031 X"$ac_file" : 'X\(//\)$' \| \
5032 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5033 $as_echo X"$ac_file" |
5034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5051 as_dir="$ac_dir"; as_fn_mkdir_p
5055 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5057 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5058 # A "..
" for each directory in $ac_dir_suffix.
5059 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5060 case $ac_top_builddir_sub in
5061 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5062 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5065 ac_abs_top_builddir=$ac_pwd
5066 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5067 # for backward compatibility:
5068 ac_top_builddir=$ac_top_build_prefix
5071 .) # We are building in place.
5073 ac_top_srcdir=$ac_top_builddir_sub
5074 ac_abs_top_srcdir=$ac_pwd ;;
5075 [\\/]* | ?:[\\/]* ) # Absolute name.
5076 ac_srcdir=$srcdir$ac_dir_suffix;
5077 ac_top_srcdir=$srcdir
5078 ac_abs_top_srcdir=$srcdir ;;
5080 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5081 ac_top_srcdir=$ac_top_build_prefix$srcdir
5082 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5084 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5094 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5095 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5099 [\\/$]* | ?:[\\/]* ) ;;
5100 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5105 # If the template does not know about datarootdir, expand it.
5106 # FIXME: This hack should be removed a few years after 2.60.
5107 ac_datarootdir_hack=; ac_datarootdir_seen=
5118 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5119 *datarootdir*) ac_datarootdir_seen=yes;;
5120 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5122 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5125 ac_datarootdir_hack='
5126 s&@datadir@&$datadir&g
5127 s&@docdir@&$docdir&g
5128 s&@infodir@&$infodir&g
5129 s&@localedir@&$localedir&g
5130 s&@mandir@&$mandir&g
5131 s&\\\${datarootdir}&$datarootdir&g' ;;
5135 # Neutralize VPATH when `$srcdir' = `.'.
5136 # Shell code in configure.ac might set extrasub.
5137 # FIXME: do we really want to maintain this feature?
5138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5139 ac_sed_extra="$ac_vpsub
5142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5144 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5145 s|@configure_input@|
$ac_sed_conf_input|
;t t
5146 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5147 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5148 s
&@srcdir@
&$ac_srcdir&;t t
5149 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5150 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5151 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5152 s
&@builddir@
&$ac_builddir&;t t
5153 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5154 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5155 s
&@INSTALL@
&$ac_INSTALL&;t t
5156 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
5157 $ac_datarootdir_hack
5159 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5160 || as_fn_error "could not create
$ac_file" "$LINENO" 5
5162 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5163 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5164 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5166 which seems to be undefined. Please make sure it is defined." >&5
5167 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5168 which seems to be undefined. Please make sure it is defined." >&2;}
5172 -) cat "$tmp/out" && rm -f "$tmp/out";;
5173 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5175 || as_fn_error "could not create $ac_file" "$LINENO" 5
5179 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5180 $as_echo "$as_me: executing $ac_file commands" >&6;}
5185 case $ac_file$ac_mode in
5186 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5187 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5188 # are listed without --file. Let's play safe and only
enable the
eval
5189 # if we detect the quoting.
5190 case $CONFIG_FILES in
5191 *\'*) eval set x
"$CONFIG_FILES" ;;
5192 *) set x
$CONFIG_FILES ;;
5197 # Strip MF so we end up with the name of the file.
5198 mf
=`echo "$mf" | sed -e 's/:.*$//'`
5199 # Check whether this is an Automake generated Makefile or not.
5200 # We used to match only the files named `Makefile.in', but
5201 # some people rename them; so instead we look at the file content.
5202 # Grep'ing the first line is not enough: some people post-process
5203 # each Makefile.in and add a new line on top of each file to say so.
5204 # Grep'ing the whole file is not good either: AIX grep has a line
5205 # limit of 2048, but all sed's we know have understand at least 4000.
5206 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
5207 dirpart
=`$as_dirname -- "$mf" ||
5208 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5209 X"$mf" : 'X\(//\)[^/]' \| \
5210 X"$mf" : 'X\(//\)$' \| \
5211 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5233 # Extract the definition of DEPDIR, am__include, and am__quote
5234 # from the Makefile without running `make'.
5235 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
5236 test -z "$DEPDIR" && continue
5237 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
5238 test -z "am__include" && continue
5239 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
5240 # When using ansi2knr, U may be empty or an underscore; expand it
5241 U
=`sed -n 's/^U = //p' < "$mf"`
5242 # Find all dependency output files, they are included files with
5243 # $(DEPDIR) in their names. We invoke sed twice because it is the
5244 # simplest approach to changing $(DEPDIR) to its actual value in the
5246 for file in `sed -n "
5247 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5248 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5249 # Make sure the directory exists.
5250 test -f "$dirpart/$file" && continue
5251 fdir
=`$as_dirname -- "$file" ||
5252 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5253 X"$file" : 'X\(//\)[^/]' \| \
5254 X"$file" : 'X\(//\)$' \| \
5255 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5274 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
5275 # echo "creating $dirpart/$file"
5276 echo '# dummy' > "$dirpart/$file"
5288 ac_clean_files
=$ac_clean_files_save
5290 test $ac_write_fail = 0 ||
5291 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5294 # configure is writing to config.log, and then calls config.status.
5295 # config.status does its own redirection, appending to config.log.
5296 # Unfortunately, on DOS this fails, as config.log is still kept open
5297 # by configure, so config.status won't be able to write to it; its
5298 # output is simply discarded. So we exec the FD to /dev/null,
5299 # effectively closing config.log, so it can be properly (re)opened and
5300 # appended to by config.status. When coming back to configure, we
5301 # need to make the FD available again.
5302 if test "$no_create" != yes; then
5304 ac_config_status_args
=
5305 test "$silent" = yes &&
5306 ac_config_status_args
="$ac_config_status_args --quiet"
5308 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5310 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5311 # would make configure fail if this is the last instruction.
5312 $ac_cs_success || as_fn_exit $?
5314 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5316 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}