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
580 MAINTAINER_MODE_FALSE
590 INSTALL_STRIP_PROGRAM
647 program_transform_name
660 enable_option_checking
661 enable_maintainer_mode
662 enable_dependency_tracking
664 ac_precious_vars
='build_alias
676 # Initialize some variables set by options.
678 ac_init_version
=false
679 ac_unrecognized_opts
=
681 # The variables have the same names as the options, with
682 # dashes changed to underlines.
690 program_transform_name
=s
,x
,x
,
698 # Installation directory options.
699 # These are left unexpanded so users can "make install exec_prefix=/foo"
700 # and all the variables that are supposed to be based on exec_prefix
701 # by default will actually change.
702 # Use braces instead of parens because sh, perl, etc. also accept them.
703 # (The list follows the same order as the GNU Coding Standards.)
704 bindir
='${exec_prefix}/bin'
705 sbindir
='${exec_prefix}/sbin'
706 libexecdir
='${exec_prefix}/libexec'
707 datarootdir
='${prefix}/share'
708 datadir
='${datarootdir}'
709 sysconfdir
='${prefix}/etc'
710 sharedstatedir
='${prefix}/com'
711 localstatedir
='${prefix}/var'
712 includedir
='${prefix}/include'
713 oldincludedir
='/usr/include'
714 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
715 infodir
='${datarootdir}/info'
720 libdir
='${exec_prefix}/lib'
721 localedir
='${datarootdir}/locale'
722 mandir
='${datarootdir}/man'
728 # If the previous option needs an argument, assign it.
729 if test -n "$ac_prev"; then
730 eval $ac_prev=\
$ac_option
736 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
740 # Accept the important Cygnus configure options, so we can diagnose typos.
742 case $ac_dashdash$ac_option in
746 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
748 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
751 -build |
--build |
--buil |
--bui |
--bu)
752 ac_prev
=build_alias
;;
753 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
754 build_alias
=$ac_optarg ;;
756 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
757 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
758 ac_prev
=cache_file
;;
759 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
760 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
761 cache_file
=$ac_optarg ;;
764 cache_file
=config.cache
;;
766 -datadir |
--datadir |
--datadi |
--datad)
768 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
769 datadir
=$ac_optarg ;;
771 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
772 |
--dataroo |
--dataro |
--datar)
773 ac_prev
=datarootdir
;;
774 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
775 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
776 datarootdir
=$ac_optarg ;;
778 -disable-* |
--disable-*)
779 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
780 # Reject names that are not valid shell variable names.
781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
782 as_fn_error
"invalid feature name: $ac_useropt"
783 ac_useropt_orig
=$ac_useropt
784 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
785 case $ac_user_opts in
789 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
790 ac_unrecognized_sep
=', ';;
792 eval enable_
$ac_useropt=no
;;
794 -docdir |
--docdir |
--docdi |
--doc |
--do)
796 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
799 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
801 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
804 -enable-* |
--enable-*)
805 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
808 as_fn_error
"invalid feature name: $ac_useropt"
809 ac_useropt_orig
=$ac_useropt
810 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
815 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
816 ac_unrecognized_sep
=', ';;
818 eval enable_
$ac_useropt=\
$ac_optarg ;;
820 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
821 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
822 |
--exec |
--exe |
--ex)
823 ac_prev
=exec_prefix
;;
824 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
825 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
826 |
--exec=* |
--exe=* |
--ex=*)
827 exec_prefix
=$ac_optarg ;;
829 -gas |
--gas |
--ga |
--g)
830 # Obsolete; use --with-gas.
833 -help |
--help |
--hel |
--he |
-h)
835 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
836 ac_init_help
=recursive
;;
837 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
838 ac_init_help
=short
;;
840 -host |
--host |
--hos |
--ho)
841 ac_prev
=host_alias
;;
842 -host=* |
--host=* |
--hos=* |
--ho=*)
843 host_alias
=$ac_optarg ;;
845 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
847 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
849 htmldir
=$ac_optarg ;;
851 -includedir |
--includedir |
--includedi |
--included |
--include \
852 |
--includ |
--inclu |
--incl |
--inc)
853 ac_prev
=includedir
;;
854 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
855 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
856 includedir
=$ac_optarg ;;
858 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
860 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
861 infodir
=$ac_optarg ;;
863 -libdir |
--libdir |
--libdi |
--libd)
865 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
868 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
869 |
--libexe |
--libex |
--libe)
870 ac_prev
=libexecdir
;;
871 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
872 |
--libexe=* |
--libex=* |
--libe=*)
873 libexecdir
=$ac_optarg ;;
875 -localedir |
--localedir |
--localedi |
--localed |
--locale)
877 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
878 localedir
=$ac_optarg ;;
880 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
881 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
882 ac_prev
=localstatedir
;;
883 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
884 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
885 localstatedir
=$ac_optarg ;;
887 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
889 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
893 # Obsolete; use --without-fp.
896 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
897 |
--no-cr |
--no-c |
-n)
900 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
901 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
904 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
905 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
906 |
--oldin |
--oldi |
--old |
--ol |
--o)
907 ac_prev
=oldincludedir
;;
908 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
909 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
910 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
911 oldincludedir
=$ac_optarg ;;
913 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
915 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
918 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
919 |
--program-pre |
--program-pr |
--program-p)
920 ac_prev
=program_prefix
;;
921 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
922 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
923 program_prefix
=$ac_optarg ;;
925 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
926 |
--program-suf |
--program-su |
--program-s)
927 ac_prev
=program_suffix
;;
928 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
929 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
930 program_suffix
=$ac_optarg ;;
932 -program-transform-name |
--program-transform-name \
933 |
--program-transform-nam |
--program-transform-na \
934 |
--program-transform-n |
--program-transform- \
935 |
--program-transform |
--program-transfor \
936 |
--program-transfo |
--program-transf \
937 |
--program-trans |
--program-tran \
938 |
--progr-tra |
--program-tr |
--program-t)
939 ac_prev
=program_transform_name
;;
940 -program-transform-name=* |
--program-transform-name=* \
941 |
--program-transform-nam=* |
--program-transform-na=* \
942 |
--program-transform-n=* |
--program-transform-=* \
943 |
--program-transform=* |
--program-transfor=* \
944 |
--program-transfo=* |
--program-transf=* \
945 |
--program-trans=* |
--program-tran=* \
946 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
947 program_transform_name
=$ac_optarg ;;
949 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
951 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
954 -psdir |
--psdir |
--psdi |
--psd |
--ps)
956 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
959 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
960 |
-silent |
--silent |
--silen |
--sile |
--sil)
963 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
965 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
967 sbindir
=$ac_optarg ;;
969 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
970 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
971 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
973 ac_prev
=sharedstatedir
;;
974 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
975 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
976 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
978 sharedstatedir
=$ac_optarg ;;
980 -site |
--site |
--sit)
982 -site=* |
--site=* |
--sit=*)
985 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
987 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
990 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
991 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
992 ac_prev
=sysconfdir
;;
993 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
994 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
995 sysconfdir
=$ac_optarg ;;
997 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
998 ac_prev
=target_alias
;;
999 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1000 target_alias
=$ac_optarg ;;
1002 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1005 -version |
--version |
--versio |
--versi |
--vers |
-V)
1006 ac_init_version
=: ;;
1009 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1012 as_fn_error
"invalid package name: $ac_useropt"
1013 ac_useropt_orig
=$ac_useropt
1014 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1019 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1020 ac_unrecognized_sep
=', ';;
1022 eval with_
$ac_useropt=\
$ac_optarg ;;
1024 -without-* |
--without-*)
1025 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1028 as_fn_error
"invalid package name: $ac_useropt"
1029 ac_useropt_orig
=$ac_useropt
1030 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1035 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1036 ac_unrecognized_sep
=', ';;
1038 eval with_
$ac_useropt=no
;;
1041 # Obsolete; use --with-x.
1044 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1045 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1046 ac_prev
=x_includes
;;
1047 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1048 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1049 x_includes
=$ac_optarg ;;
1051 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1052 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1053 ac_prev
=x_libraries
;;
1054 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1055 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1056 x_libraries
=$ac_optarg ;;
1058 -*) as_fn_error
"unrecognized option: \`$ac_option'
1059 Try \`$0 --help' for more information."
1063 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1064 # Reject names that are not valid shell variable names.
1065 case $ac_envvar in #(
1066 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1067 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1069 eval $ac_envvar=\
$ac_optarg
1070 export $ac_envvar ;;
1073 # FIXME: should be removed in autoconf 3.0.
1074 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1075 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1076 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1077 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1083 if test -n "$ac_prev"; then
1084 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1085 as_fn_error
"missing argument to $ac_option"
1088 if test -n "$ac_unrecognized_opts"; then
1089 case $enable_option_checking in
1091 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1092 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1096 # Check all directory arguments for consistency.
1097 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1098 datadir sysconfdir sharedstatedir localstatedir includedir \
1099 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1100 libdir localedir mandir
1102 eval ac_val
=\$
$ac_var
1103 # Remove trailing slashes.
1106 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1107 eval $ac_var=\
$ac_val;;
1109 # Be sure to have absolute directory names.
1111 [\\/$
]* | ?
:[\\/]* ) continue;;
1112 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1114 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1117 # There might be people who depend on the old broken behavior: `$host'
1118 # used to hold the argument of --host etc.
1119 # FIXME: To remove some day.
1122 target
=$target_alias
1124 # FIXME: To remove some day.
1125 if test "x$host_alias" != x
; then
1126 if test "x$build_alias" = x
; then
1127 cross_compiling
=maybe
1128 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1129 If a cross compiler is detected then cross compile mode will be used." >&2
1130 elif test "x$build_alias" != "x$host_alias"; then
1136 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1138 test "$silent" = yes && exec 6>/dev
/null
1141 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1142 ac_ls_di
=`ls -di .` &&
1143 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1144 as_fn_error
"working directory cannot be determined"
1145 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1146 as_fn_error
"pwd does not report name of working directory"
1149 # Find the source files, if location was not specified.
1150 if test -z "$srcdir"; then
1151 ac_srcdir_defaulted
=yes
1152 # Try the directory containing this script, then the parent directory.
1153 ac_confdir
=`$as_dirname -- "$as_myself" ||
1154 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1155 X"$as_myself" : 'X\(//\)[^/]' \| \
1156 X"$as_myself" : 'X\(//\)$' \| \
1157 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1158 $as_echo X"$as_myself" |
1159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1177 if test ! -r "$srcdir/$ac_unique_file"; then
1181 ac_srcdir_defaulted
=no
1183 if test ! -r "$srcdir/$ac_unique_file"; then
1184 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1185 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1187 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1189 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1191 # When building in place, set srcdir=.
1192 if test "$ac_abs_confdir" = "$ac_pwd"; then
1195 # Remove unnecessary trailing slashes from srcdir.
1196 # Double slashes in file names in object file debugging info
1197 # mess up M-x gdb in Emacs.
1199 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1201 for ac_var
in $ac_precious_vars; do
1202 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1203 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1204 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1205 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1209 # Report the --help message.
1211 if test "$ac_init_help" = "long"; then
1212 # Omit some internal or obsolete options to make the list less imposing.
1213 # This message is too long to be a string in the A/UX 3.1 sh.
1215 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1217 Usage: $0 [OPTION]... [VAR=VALUE]...
1219 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1220 VAR=VALUE. See below for descriptions of some of the useful variables.
1222 Defaults for the options are specified in brackets.
1225 -h, --help display this help and exit
1226 --help=short display options specific to this package
1227 --help=recursive display the short help of all the included packages
1228 -V, --version display version information and exit
1229 -q, --quiet, --silent do not print \`checking...' messages
1230 --cache-file=FILE cache test results in FILE [disabled]
1231 -C, --config-cache alias for \`--cache-file=config.cache'
1232 -n, --no-create do not create output files
1233 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1235 Installation directories:
1236 --prefix=PREFIX install architecture-independent files in PREFIX
1237 [$ac_default_prefix]
1238 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1241 By default, \`make install' will install all the files in
1242 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1243 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1244 for instance \`--prefix=\$HOME'.
1246 For better control, use the options below.
1248 Fine tuning of the installation directories:
1249 --bindir=DIR user executables [EPREFIX/bin]
1250 --sbindir=DIR system admin executables [EPREFIX/sbin]
1251 --libexecdir=DIR program executables [EPREFIX/libexec]
1252 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1253 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1254 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1255 --libdir=DIR object code libraries [EPREFIX/lib]
1256 --includedir=DIR C header files [PREFIX/include]
1257 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1258 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1259 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1260 --infodir=DIR info documentation [DATAROOTDIR/info]
1261 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1262 --mandir=DIR man documentation [DATAROOTDIR/man]
1263 --docdir=DIR documentation root [DATAROOTDIR/doc/gotools]
1264 --htmldir=DIR html documentation [DOCDIR]
1265 --dvidir=DIR dvi documentation [DOCDIR]
1266 --pdfdir=DIR pdf documentation [DOCDIR]
1267 --psdir=DIR ps documentation [DOCDIR]
1273 --program-prefix=PREFIX prepend PREFIX to installed program names
1274 --program-suffix=SUFFIX append SUFFIX to installed program names
1275 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1278 --build=BUILD configure
for building on BUILD
[guessed
]
1279 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1280 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1284 if test -n "$ac_init_help"; then
1285 case $ac_init_help in
1286 short | recursive
) echo "Configuration of package-unused version-unused:";;
1291 --disable-option-checking ignore unrecognized
--enable/--with options
1292 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1293 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1294 --enable-maintainer-mode enable make rules and dependencies not useful
1295 (and sometimes confusing
) to the casual installer
1296 --disable-dependency-tracking speeds up one-time build
1297 --enable-dependency-tracking do not reject slow dependency extractors
1299 Some influential environment variables
:
1300 CC C compiler
command
1301 CFLAGS C compiler flags
1302 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1303 nonstandard directory
<lib dir
>
1304 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1305 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1306 you have headers
in a nonstandard directory
<include dir
>
1307 GOC Go compiler
command
1308 GOCFLAGS Go compiler flags
1310 Use these variables to override the choices made by
`configure' or to help
1311 it to find libraries and programs with nonstandard names/locations.
1313 Report bugs to the package provider.
1318 if test "$ac_init_help" = "recursive"; then
1319 # If there are subdirs, report their specific --help.
1320 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1321 test -d "$ac_dir" ||
1322 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1327 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1330 # A ".." for each directory in $ac_dir_suffix.
1331 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1332 case $ac_top_builddir_sub in
1333 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1337 ac_abs_top_builddir=$ac_pwd
1338 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1339 # for backward compatibility:
1340 ac_top_builddir=$ac_top_build_prefix
1343 .) # We are building in place.
1345 ac_top_srcdir=$ac_top_builddir_sub
1346 ac_abs_top_srcdir=$ac_pwd ;;
1347 [\\/]* | ?:[\\/]* ) # Absolute name.
1348 ac_srcdir=$srcdir$ac_dir_suffix;
1349 ac_top_srcdir=$srcdir
1350 ac_abs_top_srcdir=$srcdir ;;
1352 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1353 ac_top_srcdir=$ac_top_build_prefix$srcdir
1354 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1356 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1358 cd "$ac_dir" || { ac_status=$?; continue; }
1359 # Check for guested configure.
1360 if test -f "$ac_srcdir/configure.gnu"; then
1362 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1363 elif test -f "$ac_srcdir/configure"; then
1365 $SHELL "$ac_srcdir/configure" --help=recursive
1367 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1369 cd "$ac_pwd" || { ac_status=$?; break; }
1373 test -n "$ac_init_help" && exit $ac_status
1374 if $ac_init_version; then
1376 package-unused configure version-unused
1377 generated by GNU Autoconf 2.64
1379 Copyright (C) 2009 Free Software Foundation, Inc.
1380 This configure script is free software; the Free Software Foundation
1381 gives unlimited permission to copy, distribute and modify it.
1386 ## ------------------------ ##
1387 ## Autoconf initialization. ##
1388 ## ------------------------ ##
1390 # ac_fn_c_try_compile LINENO
1391 # --------------------------
1392 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1393 ac_fn_c_try_compile ()
1395 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1396 rm -f conftest.$ac_objext
1397 if { { ac_try="$ac_compile"
1399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1400 *) ac_try_echo
=$ac_try;;
1402 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1403 $as_echo "$ac_try_echo"; } >&5
1404 (eval "$ac_compile") 2>conftest.err
1406 if test -s conftest.err
; then
1407 grep -v '^ *+' conftest.err
>conftest.er1
1408 cat conftest.er1
>&5
1409 mv -f conftest.er1 conftest.err
1411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1412 test $ac_status = 0; } && {
1413 test -z "$ac_c_werror_flag" ||
1414 test ! -s conftest.err
1415 } && test -s conftest.
$ac_objext; then :
1418 $as_echo "$as_me: failed program was:" >&5
1419 sed 's/^/| /' conftest.
$ac_ext >&5
1423 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1426 } # ac_fn_c_try_compile
1428 # ac_fn_c_try_link LINENO
1429 # -----------------------
1430 # Try to link conftest.$ac_ext, and return whether this succeeded.
1433 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1434 rm -f conftest.
$ac_objext conftest
$ac_exeext
1435 if { { ac_try
="$ac_link"
1437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1438 *) ac_try_echo=$ac_try;;
1440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1441 $as_echo "$ac_try_echo"; } >&5
1442 (eval "$ac_link") 2>conftest.err
1444 if test -s conftest.err; then
1445 grep -v '^ *+' conftest.err >conftest.er1
1446 cat conftest.er1 >&5
1447 mv -f conftest.er1 conftest.err
1449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1450 test $ac_status = 0; } && {
1451 test -z "$ac_c_werror_flag" ||
1452 test ! -s conftest.err
1453 } && test -s conftest$ac_exeext && {
1454 test "$cross_compiling" = yes ||
1455 $as_test_x conftest$ac_exeext
1459 $as_echo "$as_me: failed program was:" >&5
1460 sed 's/^/| /' conftest.$ac_ext >&5
1464 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1465 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1466 # interfere with the next link command; also delete a directory that is
1467 # left behind by Apple's compiler. We do this before executing the actions.
1468 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1469 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1472 } # ac_fn_c_try_link
1474 # ac_fn_c_check_func LINENO FUNC VAR
1475 # ----------------------------------
1476 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1477 ac_fn_c_check_func ()
1479 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1481 $as_echo_n "checking for $2... " >&6; }
1482 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1483 $as_echo_n "(cached) " >&6
1485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1486 /* end confdefs.h. */
1487 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1489 #define $2 innocuous_$2
1491 /* System header to define __stub macros and hopefully few prototypes,
1492 which can conflict with char $2 (); below.
1493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1494 <limits.h> exists even on freestanding compilers. */
1497 # include <limits.h>
1499 # include <assert.h>
1504 /* Override any GCC internal prototype to avoid an error.
1505 Use char because int might match the return type of a GCC
1506 builtin and then its argument prototype would still apply. */
1511 /* The GNU C library defines this for functions which it implements
1512 to always fail with ENOSYS. Some functions are actually named
1513 something starting with __ and the normal name is an alias. */
1514 #if defined __stub_$2 || defined __stub___$2
1526 if ac_fn_c_try_link "$LINENO"; then :
1531 rm -f core conftest.err conftest.$ac_objext \
1532 conftest$ac_exeext conftest.$ac_ext
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1536 $as_echo "$ac_res" >&6; }
1537 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1539 } # ac_fn_c_check_func
1540 cat >config.log <<_ACEOF
1541 This file contains any messages produced by compilers while
1542 running configure, to aid debugging if configure makes a mistake.
1544 It was created by package-unused $as_me version-unused, which was
1545 generated by GNU Autoconf 2.64. Invocation command line was
1557 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1558 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1559 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1560 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1561 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1563 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1564 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1566 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1567 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1568 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1569 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1570 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1571 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1572 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1580 test -z "$as_dir" && as_dir=.
1581 $as_echo "PATH: $as_dir"
1597 # Keep a trace of the command line.
1598 # Strip out --no-create and --no-recursion so they do not pile up.
1599 # Strip out --silent because we don't want to record it for future runs.
1600 # Also quote any args containing shell meta-characters.
1601 # Make two passes to allow for proper duplicate-argument suppression.
1605 ac_must_keep_next=false
1611 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1612 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1613 | -silent | --silent | --silen | --sile | --sil)
1616 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1619 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1621 as_fn_append ac_configure_args1 " '$ac_arg'"
1622 if test $ac_must_keep_next = true; then
1623 ac_must_keep_next=false # Got value, back to normal.
1626 *=* | --config-cache | -C | -disable-* | --disable-* \
1627 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1628 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1629 | -with-* | --with-* | -without-* | --without-* | --x)
1630 case "$ac_configure_args0 " in
1631 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1634 -* ) ac_must_keep_next=true ;;
1637 as_fn_append ac_configure_args " '$ac_arg'"
1642 { ac_configure_args0=; unset ac_configure_args0;}
1643 { ac_configure_args1=; unset ac_configure_args1;}
1645 # When interrupted or exit'd, cleanup temporary files, and complete
1646 # config.log. We remove comments because anyway the quotes in there
1647 # would cause problems or look ugly.
1648 # WARNING: Use '\'' to represent an apostrophe within the trap.
1649 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1650 trap 'exit_status=$?
1651 # Save into config.log some information that might help in debugging.
1656 ## ---------------- ##
1657 ## Cache variables. ##
1658 ## ---------------- ##
1661 # The following way of writing the cache mishandles newlines in values,
1663 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1664 eval ac_val=\$$ac_var
1668 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1669 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1672 _ | IFS | as_nl) ;; #(
1673 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1674 *) { eval $ac_var=; unset $ac_var;} ;;
1679 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1680 *${as_nl}ac_space=\ *)
1682 "s/'\''/'\''\\\\'\'''\''/g;
1683 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1686 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1694 ## ----------------- ##
1695 ## Output variables. ##
1696 ## ----------------- ##
1699 for ac_var in $ac_subst_vars
1701 eval ac_val=\$$ac_var
1703 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1705 $as_echo "$ac_var='\''$ac_val'\''"
1709 if test -n "$ac_subst_files"; then
1711 ## ------------------- ##
1712 ## File substitutions. ##
1713 ## ------------------- ##
1716 for ac_var in $ac_subst_files
1718 eval ac_val=\$$ac_var
1720 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1722 $as_echo "$ac_var='\''$ac_val'\''"
1727 if test -s confdefs.h; then
1737 test "$ac_signal" != 0 &&
1738 $as_echo "$as_me: caught signal $ac_signal"
1739 $as_echo "$as_me: exit $exit_status"
1741 rm -f core *.core core.conftest.* &&
1742 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1745 for ac_signal in 1 2 13 15; do
1746 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1750 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1751 rm -f -r conftest* confdefs.h
1753 $as_echo "/* confdefs.h */" > confdefs.h
1755 # Predefined preprocessor variables.
1757 cat >>confdefs.h <<_ACEOF
1758 #define PACKAGE_NAME "$PACKAGE_NAME"
1761 cat >>confdefs.h <<_ACEOF
1762 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1765 cat >>confdefs.h <<_ACEOF
1766 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1769 cat >>confdefs.h <<_ACEOF
1770 #define PACKAGE_STRING "$PACKAGE_STRING"
1773 cat >>confdefs.h <<_ACEOF
1774 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1777 cat >>confdefs.h <<_ACEOF
1778 #define PACKAGE_URL "$PACKAGE_URL"
1782 # Let the site file select an alternate cache file if it wants to.
1783 # Prefer an explicitly selected file to automatically selected ones.
1786 if test -n "$CONFIG_SITE"; then
1787 ac_site_file1=$CONFIG_SITE
1788 elif test "x$prefix" != xNONE; then
1789 ac_site_file1=$prefix/share/config.site
1790 ac_site_file2=$prefix/etc/config.site
1792 ac_site_file1=$ac_default_prefix/share/config.site
1793 ac_site_file2=$ac_default_prefix/etc/config.site
1795 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1797 test "x$ac_site_file" = xNONE && continue
1798 if test -r "$ac_site_file"; then
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1800 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1801 sed 's/^/| /' "$ac_site_file" >&5
1806 if test -r "$cache_file"; then
1807 # Some versions of bash will fail to source /dev/null (special
1808 # files actually), so we avoid doing that.
1809 if test -f "$cache_file"; then
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1811 $as_echo "$as_me: loading cache $cache_file" >&6;}
1813 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1814 *) . "./$cache_file";;
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1819 $as_echo "$as_me: creating cache $cache_file" >&6;}
1823 # Check that the precious variables saved in the cache have kept the same
1825 ac_cache_corrupted=false
1826 for ac_var in $ac_precious_vars; do
1827 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1828 eval ac_new_set=\$ac_env_${ac_var}_set
1829 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1830 eval ac_new_val=\$ac_env_${ac_var}_value
1831 case $ac_old_set,$ac_new_set in
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1834 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1835 ac_cache_corrupted=: ;;
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1838 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1839 ac_cache_corrupted=: ;;
1842 if test "x$ac_old_val" != "x$ac_new_val"; then
1843 # differences in whitespace do not lead to failure.
1844 ac_old_val_w=`echo x
$ac_old_val`
1845 ac_new_val_w=`echo x
$ac_new_val`
1846 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1848 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1849 ac_cache_corrupted=:
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1852 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1853 eval $ac_var=\$ac_old_val
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1856 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1858 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1861 # Pass precious variables to config.status.
1862 if test "$ac_new_set" = set; then
1864 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1865 *) ac_arg=$ac_var=$ac_new_val ;;
1867 case " $ac_configure_args " in
1868 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1869 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1873 if $ac_cache_corrupted; then
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1877 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1878 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1880 ## -------------------- ##
1881 ## Main body of script. ##
1882 ## -------------------- ##
1885 ac_cpp='$CPP $CPPFLAGS'
1886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1907 # This is what autoupdate's m4 run will expand. It fires
1908 # the warning (with _au_warn_XXX), outputs it into the
1909 # updated configure.ac (with AC_DIAGNOSE), and then outputs
1910 # the replacement expansion.
1913 # This is an auxiliary macro that is also run when
1914 # autoupdate runs m4. It simply calls m4_warning, but
1915 # we need a wrapper so that each warning is emitted only
1916 # once. We break the quoting in m4_warning's argument in
1917 # order to expand this macro's arguments, not AU_DEFUN's.
1920 # Finally, this is the expansion that is picked up by
1921 # autoconf. It tells the user to run autoupdate, and
1922 # then outputs the replacement expansion. We do not care
1923 # about autoupdate's warning because that contains
1924 # information on what to do *after* running autoupdate.
1946 # Determine the noncanonical names used for directories.
1948 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1949 for ac_t in install-sh install.sh shtool; do
1950 if test -f "$ac_dir/$ac_t"; then
1952 ac_install_sh="$ac_aux_dir/$ac_t -c"
1957 if test -z "$ac_aux_dir"; then
1958 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1961 # These three variables are undocumented and unsupported,
1962 # and are intended to be withdrawn in a future Autoconf release.
1963 # They can cause serious problems if a builder's source tree is in a directory
1964 # whose full name contains unusual characters.
1965 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1966 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1967 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1970 # Make sure we can run config.sub.
1971 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1972 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1975 $as_echo_n "checking build system type... " >&6; }
1976 if test "${ac_cv_build+set}" = set; then :
1977 $as_echo_n "(cached) " >&6
1979 ac_build_alias=$build_alias
1980 test "x$ac_build_alias" = x &&
1981 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1982 test "x$ac_build_alias" = x &&
1983 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1984 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1985 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1989 $as_echo "$ac_cv_build" >&6; }
1990 case $ac_cv_build in
1992 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1995 ac_save_IFS=$IFS; IFS='-'
2001 # Remember, the first character of IFS is used to create $*,
2002 # except with old shells:
2005 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2008 case ${build_alias} in
2009 "") build_noncanonical=${build} ;;
2010 *) build_noncanonical=${build_alias} ;;
2015 case ${host_alias} in
2016 "") host_noncanonical=${build_noncanonical} ;;
2017 *) host_noncanonical=${host_alias} ;;
2022 case ${target_alias} in
2023 "") target_noncanonical=${host_noncanonical} ;;
2024 *) target_noncanonical=${target_alias} ;;
2030 test "$host_noncanonical" = "$target_noncanonical" &&
2031 test "$program_prefix$program_suffix$program_transform_name" = \
2033 program_transform_name=s,y,y,
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2036 $as_echo_n "checking host system type... " >&6; }
2037 if test "${ac_cv_host+set}" = set; then :
2038 $as_echo_n "(cached) " >&6
2040 if test "x$host_alias" = x; then
2041 ac_cv_host=$ac_cv_build
2043 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2044 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2049 $as_echo "$ac_cv_host" >&6; }
2052 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2055 ac_save_IFS=$IFS; IFS='-'
2061 # Remember, the first character of IFS is used to create $*,
2062 # except with old shells:
2065 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2069 $as_echo_n "checking target system type... " >&6; }
2070 if test "${ac_cv_target+set}" = set; then :
2071 $as_echo_n "(cached) " >&6
2073 if test "x$target_alias" = x; then
2074 ac_cv_target=$ac_cv_host
2076 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2077 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2082 $as_echo "$ac_cv_target" >&6; }
2083 case $ac_cv_target in
2085 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2087 target=$ac_cv_target
2088 ac_save_IFS=$IFS; IFS='-'
2094 # Remember, the first character of IFS is used to create $*,
2095 # except with old shells:
2098 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2101 # The aliases save the names the user supplied, while $host etc.
2102 # will get canonicalized.
2103 test -n "$target_alias" &&
2104 test "$program_prefix$program_suffix$program_transform_name" = \
2106 program_prefix=${target_alias}-
2108 test "$program_prefix" != NONE &&
2109 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2110 # Use a double $ so make ignores it.
2111 test "$program_suffix" != NONE &&
2112 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2113 # Double any \ or $.
2114 # By default was `s
,x
,x
', remove it if useless.
2115 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2116 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2119 am__api_version='1.11'
2121 # Find a good install program. We prefer a C program (faster),
2122 # so one script is as good as another. But avoid the broken or
2123 # incompatible versions:
2124 # SysV /etc/install, /usr/sbin/install
2125 # SunOS /usr/etc/install
2126 # IRIX /sbin/install
2128 # AmigaOS /C/install, which installs bootblocks on floppy discs
2129 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2130 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2131 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2132 # OS/2's system install, which has a completely different semantic
2133 # ./install, which can be erroneously created by make from ./install.sh.
2134 # Reject install programs that cannot install multiple files.
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2136 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2137 if test -z "$INSTALL"; then
2138 if test "${ac_cv_path_install+set}" = set; then :
2139 $as_echo_n "(cached) " >&6
2141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir
=.
2146 # Account for people who put trailing slashes in PATH elements.
2147 case $as_dir/ in #((
2148 .
/ | .
// |
/[cC
]/* | \
2149 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2150 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2153 # OSF1 and SCO ODT 3.0 have their own names for install.
2154 # Don't use installbsd from OSF since it installs stuff as root
2156 for ac_prog
in ginstall scoinst
install; do
2157 for ac_exec_ext
in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2159 if test $ac_prog = install &&
2160 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2161 # AIX install. It has an incompatible calling convention.
2163 elif test $ac_prog = install &&
2164 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2165 # program-specific install script used by HP pwplus--don't use.
2168 rm -rf conftest.one conftest.two conftest.dir
2169 echo one
> conftest.one
2170 echo two
> conftest.two
2172 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2173 test -s conftest.one
&& test -s conftest.two
&&
2174 test -s conftest.dir
/conftest.one
&&
2175 test -s conftest.dir
/conftest.two
2177 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2190 rm -rf conftest.one conftest.two conftest.dir
2193 if test "${ac_cv_path_install+set}" = set; then
2194 INSTALL
=$ac_cv_path_install
2196 # As a last resort, use the slow shell script. Don't cache a
2197 # value for INSTALL within a source directory, because that will
2198 # break other packages using the cache if that directory is
2199 # removed, or if the value is a relative name.
2200 INSTALL
=$ac_install_sh
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2204 $as_echo "$INSTALL" >&6; }
2206 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2207 # It thinks the first close brace ends the variable substitution.
2208 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2210 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2212 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2215 $as_echo_n "checking whether build environment is sane... " >&6; }
2218 echo timestamp
> conftest.
file
2219 # Reject unsafe characters in $srcdir or the absolute working directory
2220 # name. Accept space and tab only in the latter.
2224 *[\\\"\
#\$\&\'\`$am_lf]*)
2225 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2228 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2229 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2232 # Do `set' in a subshell so we don't clobber the current shell's
2233 # arguments. Must try -L first in case configure is actually a
2234 # symlink; some systems play weird games with the mod time of symlinks
2235 # (eg FreeBSD returns the mod time of the symlink's containing
2238 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2239 if test "$*" = "X"; then
2241 set X
`ls -t "$srcdir/configure" conftest.file`
2244 if test "$*" != "X $srcdir/configure conftest.file" \
2245 && test "$*" != "X conftest.file $srcdir/configure"; then
2247 # If neither matched, then we have a broken ls. This can happen
2248 # if, for instance, CONFIG_SHELL is bash and it inherits a
2249 # broken ls alias from the environment. This has actually
2250 # happened. Such a system could not be considered "sane".
2251 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2252 alias in your environment" "$LINENO" 5
2255 test "$2" = conftest.
file
2261 as_fn_error
"newly created file is older than distributed files!
2262 Check your system clock" "$LINENO" 5
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2265 $as_echo "yes" >&6; }
2266 # expand $ac_aux_dir to an absolute path
2267 am_aux_dir
=`cd $ac_aux_dir && pwd`
2269 if test x
"${MISSING+set}" != xset
; then
2272 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2274 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2277 # Use eval to expand $SHELL
2278 if eval "$MISSING --run true"; then
2279 am_missing_run
="$MISSING --run "
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2283 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2286 if test x
"${install_sh}" != xset
; then
2289 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2291 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2295 # Installed binaries are usually stripped using `strip' when the user
2296 # run `make install-strip'. However `strip' might not be the right
2297 # tool to use in cross-compilation environments, therefore Automake
2298 # will honor the `STRIP' environment variable to overrule this program.
2299 if test "$cross_compiling" != no
; then
2300 if test -n "$ac_tool_prefix"; then
2301 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2302 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2304 $as_echo_n "checking for $ac_word... " >&6; }
2305 if test "${ac_cv_prog_STRIP+set}" = set; then :
2306 $as_echo_n "(cached) " >&6
2308 if test -n "$STRIP"; then
2309 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2315 test -z "$as_dir" && as_dir
=.
2316 for ac_exec_ext
in '' $ac_executable_extensions; do
2317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2318 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2328 STRIP
=$ac_cv_prog_STRIP
2329 if test -n "$STRIP"; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2331 $as_echo "$STRIP" >&6; }
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2334 $as_echo "no" >&6; }
2339 if test -z "$ac_cv_prog_STRIP"; then
2341 # Extract the first word of "strip", so it can be a program name with args.
2342 set dummy strip
; ac_word
=$2
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2346 $as_echo_n "(cached) " >&6
2348 if test -n "$ac_ct_STRIP"; then
2349 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir
=.
2356 for ac_exec_ext
in '' $ac_executable_extensions; do
2357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2358 ac_cv_prog_ac_ct_STRIP
="strip"
2359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2369 if test -n "$ac_ct_STRIP"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2371 $as_echo "$ac_ct_STRIP" >&6; }
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374 $as_echo "no" >&6; }
2377 if test "x$ac_ct_STRIP" = x
; then
2380 case $cross_compiling:$ac_tool_warned in
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2384 ac_tool_warned
=yes ;;
2389 STRIP
="$ac_cv_prog_STRIP"
2393 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2396 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2397 if test -z "$MKDIR_P"; then
2398 if test "${ac_cv_path_mkdir+set}" = set; then :
2399 $as_echo_n "(cached) " >&6
2401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2402 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2405 test -z "$as_dir" && as_dir
=.
2406 for ac_prog
in mkdir gmkdir
; do
2407 for ac_exec_ext
in '' $ac_executable_extensions; do
2408 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2409 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2410 'mkdir (GNU coreutils) '* | \
2411 'mkdir (coreutils) '* | \
2412 'mkdir (fileutils) '4.1*)
2413 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2423 if test "${ac_cv_path_mkdir+set}" = set; then
2424 MKDIR_P
="$ac_cv_path_mkdir -p"
2426 # As a last resort, use the slow shell script. Don't cache a
2427 # value for MKDIR_P within a source directory, because that will
2428 # break other packages using the cache if that directory is
2429 # removed, or if the value is a relative name.
2430 test -d .
/--version && rmdir .
/--version
2431 MKDIR_P
="$ac_install_sh -d"
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2435 $as_echo "$MKDIR_P" >&6; }
2439 [\\/$
]* | ?
:[\\/]*) ;;
2440 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2443 for ac_prog
in gawk mawk nawk
awk
2445 # Extract the first word of "$ac_prog", so it can be a program name with args.
2446 set dummy
$ac_prog; ac_word
=$2
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2448 $as_echo_n "checking for $ac_word... " >&6; }
2449 if test "${ac_cv_prog_AWK+set}" = set; then :
2450 $as_echo_n "(cached) " >&6
2452 if test -n "$AWK"; then
2453 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2459 test -z "$as_dir" && as_dir
=.
2460 for ac_exec_ext
in '' $ac_executable_extensions; do
2461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2462 ac_cv_prog_AWK
="$ac_prog"
2463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 if test -n "$AWK"; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2475 $as_echo "$AWK" >&6; }
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2478 $as_echo "no" >&6; }
2482 test -n "$AWK" && break
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2486 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2488 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2489 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2490 $as_echo_n "(cached) " >&6
2492 cat >conftest.
make <<\_ACEOF
2495 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2497 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2498 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2500 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2502 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2506 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2508 $as_echo "yes" >&6; }
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2512 $as_echo "no" >&6; }
2513 SET_MAKE
="MAKE=${MAKE-make}"
2516 rm -rf .tst
2>/dev
/null
2517 mkdir .tst
2>/dev
/null
2518 if test -d .tst
; then
2523 rmdir .tst
2>/dev
/null
2525 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2526 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2527 # is not polluted with repeated "-I."
2528 am__isrc
=' -I$(srcdir)'
2529 # test to see if srcdir already configured
2530 if test -f $srcdir/config.status
; then
2531 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2535 # test whether we have cygpath
2536 if test -z "$CYGPATH_W"; then
2537 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2538 CYGPATH_W
='cygpath -w'
2545 # Define the identity of the package.
2547 VERSION
='version-unused'
2550 # Some tools Automake needs.
2552 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2555 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2558 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2561 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2564 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2566 # We need awk for the "check" target. The system "awk" is bad on
2568 # Always define AMTAR for backward compatibility.
2570 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2572 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2580 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2581 # Check whether --enable-maintainer-mode was given.
2582 if test "${enable_maintainer_mode+set}" = set; then :
2583 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2585 USE_MAINTAINER_MODE
=no
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2589 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2590 if test $USE_MAINTAINER_MODE = yes; then
2591 MAINTAINER_MODE_TRUE
=
2592 MAINTAINER_MODE_FALSE
='#'
2594 MAINTAINER_MODE_TRUE
='#'
2595 MAINTAINER_MODE_FALSE
=
2598 MAINT
=$MAINTAINER_MODE_TRUE
2605 ac_cpp
='$CPP $CPPFLAGS'
2606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2609 if test -n "$ac_tool_prefix"; then
2610 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2611 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2613 $as_echo_n "checking for $ac_word... " >&6; }
2614 if test "${ac_cv_prog_CC+set}" = set; then :
2615 $as_echo_n "(cached) " >&6
2617 if test -n "$CC"; then
2618 ac_cv_prog_CC
="$CC" # Let the user override the test.
2620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2624 test -z "$as_dir" && as_dir
=.
2625 for ac_exec_ext
in '' $ac_executable_extensions; do
2626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2627 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 if test -n "$CC"; then
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2640 $as_echo "$CC" >&6; }
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2643 $as_echo "no" >&6; }
2648 if test -z "$ac_cv_prog_CC"; then
2650 # Extract the first word of "gcc", so it can be a program name with args.
2651 set dummy gcc
; ac_word
=$2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 $as_echo_n "checking for $ac_word... " >&6; }
2654 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2655 $as_echo_n "(cached) " >&6
2657 if test -n "$ac_ct_CC"; then
2658 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2664 test -z "$as_dir" && as_dir
=.
2665 for ac_exec_ext
in '' $ac_executable_extensions; do
2666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2667 ac_cv_prog_ac_ct_CC
="gcc"
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2678 if test -n "$ac_ct_CC"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2680 $as_echo "$ac_ct_CC" >&6; }
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683 $as_echo "no" >&6; }
2686 if test "x$ac_ct_CC" = x
; then
2689 case $cross_compiling:$ac_tool_warned in
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2693 ac_tool_warned
=yes ;;
2701 if test -z "$CC"; then
2702 if test -n "$ac_tool_prefix"; then
2703 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2704 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2706 $as_echo_n "checking for $ac_word... " >&6; }
2707 if test "${ac_cv_prog_CC+set}" = set; then :
2708 $as_echo_n "(cached) " >&6
2710 if test -n "$CC"; then
2711 ac_cv_prog_CC
="$CC" # Let the user override the test.
2713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir
=.
2718 for ac_exec_ext
in '' $ac_executable_extensions; do
2719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2720 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2731 if test -n "$CC"; then
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2733 $as_echo "$CC" >&6; }
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736 $as_echo "no" >&6; }
2742 if test -z "$CC"; then
2743 # Extract the first word of "cc", so it can be a program name with args.
2744 set dummy cc
; ac_word
=$2
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2746 $as_echo_n "checking for $ac_word... " >&6; }
2747 if test "${ac_cv_prog_CC+set}" = set; then :
2748 $as_echo_n "(cached) " >&6
2750 if test -n "$CC"; then
2751 ac_cv_prog_CC
="$CC" # Let the user override the test.
2754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2758 test -z "$as_dir" && as_dir
=.
2759 for ac_exec_ext
in '' $ac_executable_extensions; do
2760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2761 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2762 ac_prog_rejected
=yes
2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2773 if test $ac_prog_rejected = yes; then
2774 # We found a bogon in the path, so make sure we never use it.
2775 set dummy
$ac_cv_prog_CC
2777 if test $# != 0; then
2778 # We chose a different compiler from the bogus one.
2779 # However, it has the same basename, so the bogon will be chosen
2780 # first if we set CC to just the basename; use the full file name.
2782 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2788 if test -n "$CC"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2790 $as_echo "$CC" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2798 if test -z "$CC"; then
2799 if test -n "$ac_tool_prefix"; then
2800 for ac_prog
in cl.exe
2802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2803 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if test "${ac_cv_prog_CC+set}" = set; then :
2807 $as_echo_n "(cached) " >&6
2809 if test -n "$CC"; then
2810 ac_cv_prog_CC
="$CC" # Let the user override the test.
2812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2816 test -z "$as_dir" && as_dir
=.
2817 for ac_exec_ext
in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 if test -n "$CC"; then
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2832 $as_echo "$CC" >&6; }
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835 $as_echo "no" >&6; }
2839 test -n "$CC" && break
2842 if test -z "$CC"; then
2844 for ac_prog
in cl.exe
2846 # Extract the first word of "$ac_prog", so it can be a program name with args.
2847 set dummy
$ac_prog; ac_word
=$2
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2851 $as_echo_n "(cached) " >&6
2853 if test -n "$ac_ct_CC"; then
2854 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2860 test -z "$as_dir" && as_dir
=.
2861 for ac_exec_ext
in '' $ac_executable_extensions; do
2862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2863 ac_cv_prog_ac_ct_CC
="$ac_prog"
2864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2873 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2874 if test -n "$ac_ct_CC"; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2876 $as_echo "$ac_ct_CC" >&6; }
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2879 $as_echo "no" >&6; }
2883 test -n "$ac_ct_CC" && break
2886 if test "x$ac_ct_CC" = x
; then
2889 case $cross_compiling:$ac_tool_warned in
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2893 ac_tool_warned
=yes ;;
2902 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2904 as_fn_error
"no acceptable C compiler found in \$PATH
2905 See \`config.log' for more details." "$LINENO" 5; }
2907 # Provide some information about the compiler.
2908 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2911 for ac_option
in --version -v -V -qversion; do
2912 { { ac_try
="$ac_compiler $ac_option >&5"
2914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 $as_echo "$ac_try_echo"; } >&5
2919 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2921 if test -s conftest.err; then
2923 ... rest of stderr output deleted ...
2924 10q' conftest.err >conftest.er1
2925 cat conftest.er1 >&5
2926 rm -f conftest.er1 conftest.err
2928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2929 test $ac_status = 0; }
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2943 ac_clean_files_save=$ac_clean_files
2944 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2945 # Try to create an executable without -o first, disregard a.out.
2946 # It will help us diagnose broken compilers, and finding out an intuition
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2949 $as_echo_n "checking for C compiler default output file name... " >&6; }
2950 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2952 # The possible output files:
2953 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2956 for ac_file in $ac_files
2959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2960 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2965 if { { ac_try="$ac_link_default"
2967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2968 *) ac_try_echo
=$ac_try;;
2970 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2971 $as_echo "$ac_try_echo"; } >&5
2972 (eval "$ac_link_default") 2>&5
2974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2975 test $ac_status = 0; }; then :
2976 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2977 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2978 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2979 # so that the user can short-circuit this test for compilers unknown to
2981 for ac_file
in $ac_files ''
2983 test -f "$ac_file" ||
continue
2985 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2988 # We found the default executable, but exeext='' is most
2992 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2994 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2996 # We set ac_cv_exeext here because the later test for it is not
2997 # safe: cross compilers may not add the suffix if given an `-o'
2998 # argument, so we may need to know it at that point already.
2999 # Even if this section looks crufty: it has the advantage of
3006 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3012 $as_echo "$ac_file" >&6; }
3013 if test -z "$ac_file"; then :
3014 $as_echo "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.
$ac_ext >&5
3017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3019 { as_fn_set_status
77
3020 as_fn_error
"C compiler cannot create executables
3021 See \`config.log' for more details." "$LINENO" 5; }; }
3023 ac_exeext
=$ac_cv_exeext
3025 # Check that the compiler produces executables we can run. If not, either
3026 # the compiler is broken, or we cross compile.
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3028 $as_echo_n "checking whether the C compiler works... " >&6; }
3029 # If not cross compiling, check that we can run a simple program.
3030 if test "$cross_compiling" != yes; then
3031 if { ac_try
='./$ac_file'
3032 { { case "(($ac_try" in
3033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037 $as_echo "$ac_try_echo"; } >&5
3038 (eval "$ac_try") 2>&5
3040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041 test $ac_status = 0; }; }; then
3044 if test "$cross_compiling" = maybe; then
3047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 as_fn_error "cannot run C compiled programs.
3050 If you meant to cross compile
, use \
`--host'.
3051 See \`config.log
' for more details." "$LINENO" 5; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3056 $as_echo "yes" >&6; }
3058 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3059 ac_clean_files=$ac_clean_files_save
3060 # Check that the compiler produces executables we can run. If not, either
3061 # the compiler is broken, or we cross compile.
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3063 $as_echo_n "checking whether we are cross compiling... " >&6; }
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3065 $as_echo "$cross_compiling" >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3068 $as_echo_n "checking for suffix of executables... " >&6; }
3069 if { { ac_try="$ac_link"
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_link") 2>&5
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; }; then :
3080 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3081 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3082 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3084 for ac_file
in conftest.exe conftest conftest.
*; do
3085 test -f "$ac_file" ||
continue
3087 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3088 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3096 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3097 See \`config.log' for more details." "$LINENO" 5; }
3099 rm -f conftest
$ac_cv_exeext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3101 $as_echo "$ac_cv_exeext" >&6; }
3103 rm -f conftest.
$ac_ext
3104 EXEEXT
=$ac_cv_exeext
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3107 $as_echo_n "checking for suffix of object files... " >&6; }
3108 if test "${ac_cv_objext+set}" = set; then :
3109 $as_echo_n "(cached) " >&6
3111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3112 /* end confdefs.h. */
3122 rm -f conftest.o conftest.obj
3123 if { { ac_try
="$ac_compile"
3125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3129 $as_echo "$ac_try_echo"; } >&5
3130 (eval "$ac_compile") 2>&5
3132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133 test $ac_status = 0; }; then :
3134 for ac_file in conftest.o conftest.obj conftest.*; do
3135 test -f "$ac_file" || continue;
3137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3138 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3143 $as_echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3148 as_fn_error "cannot compute suffix of object files
: cannot compile
3149 See \
`config.log' for more details." "$LINENO" 5; }
3151 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3154 $as_echo "$ac_cv_objext" >&6; }
3155 OBJEXT=$ac_cv_objext
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3158 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3159 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3160 $as_echo_n "(cached) " >&6
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3176 if ac_fn_c_try_compile "$LINENO"; then :
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3186 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3187 if test $ac_compiler_gnu = yes; then
3192 ac_test_CFLAGS=${CFLAGS+set}
3193 ac_save_CFLAGS=$CFLAGS
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3195 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3196 if test "${ac_cv_prog_cc_g+set}" = set; then :
3197 $as_echo_n "(cached) " >&6
3199 ac_save_c_werror_flag=$ac_c_werror_flag
3200 ac_c_werror_flag=yes
3203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3214 if ac_fn_c_try_compile "$LINENO"; then :
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3229 if ac_fn_c_try_compile "$LINENO"; then :
3232 ac_c_werror_flag=$ac_save_c_werror_flag
3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235 /* end confdefs.h. */
3245 if ac_fn_c_try_compile "$LINENO"; then :
3248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 ac_c_werror_flag=$ac_save_c_werror_flag
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3256 $as_echo "$ac_cv_prog_cc_g" >&6; }
3257 if test "$ac_test_CFLAGS" = set; then
3258 CFLAGS=$ac_save_CFLAGS
3259 elif test $ac_cv_prog_cc_g = yes; then
3260 if test "$GCC" = yes; then
3266 if test "$GCC" = yes; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3273 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3274 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3275 $as_echo_n "(cached) " >&6
3277 ac_cv_prog_cc_c89=no
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3283 #include <sys/types.h>
3284 #include <sys/stat.h>
3285 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3286 struct buf { int x; };
3287 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3288 static char *e (p, i)
3294 static char *f (char * (*g) (char **, int), char **p, ...)
3299 s = g (p, va_arg (v,int));
3304 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3305 function prototypes and stuff, but not '\xHH' hex character constants.
3306 These don't provoke an error unfortunately, instead are silently treated
3307 as 'x'. The following induces an error, until -std is added to get
3308 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3309 array size at least. It's necessary to write '\x00'==0 to get something
3310 that's true only with -std. */
3311 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3313 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3314 inside strings and character constants. */
3316 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3318 int test (int i, double x);
3319 struct s1 {int (*f) (int a);};
3320 struct s2 {int (*f) (double a);};
3321 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3327 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3332 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3333 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3335 CC="$ac_save_CC $ac_arg"
3336 if ac_fn_c_try_compile "$LINENO"; then :
3337 ac_cv_prog_cc_c89=$ac_arg
3339 rm -f core conftest.err conftest.$ac_objext
3340 test "x$ac_cv_prog_cc_c89" != "xno" && break
3342 rm -f conftest.$ac_ext
3347 case "x$ac_cv_prog_cc_c89" in
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3350 $as_echo "none needed" >&6; } ;;
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3353 $as_echo "unsupported" >&6; } ;;
3355 CC="$CC $ac_cv_prog_cc_c89"
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3357 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3359 if test "x$ac_cv_prog_cc_c89" != xno; then :
3364 ac_cpp='$CPP $CPPFLAGS'
3365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3368 DEPDIR="${am__leading_dot}deps"
3370 ac_config_commands="$ac_config_commands depfiles"
3373 am_make=${MAKE-make}
3374 cat > confinc << 'END'
3376 @echo this is the am__doit target
3379 # If we don't find an include directive, just comment out the code.
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3381 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3385 # First try GNU make style include.
3386 echo "include confinc" > confmf
3387 # Ignore all kinds of additional output from `make'.
3388 case `$am_make -s -f confmf 2> /dev/null` in #(
3389 *the\ am__doit\ target*)
3395 # Now try BSD make style include.
3396 if test "$am__include" = "#"; then
3397 echo '.include
"confinc"' > confmf
3398 case `$am_make -s -f confmf 2> /dev/null` in #(
3399 *the\ am__doit\ target*)
3400 am__include=.include
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3409 $as_echo "$_am_result" >&6; }
3410 rm -f confinc confmf
3412 # Check whether --enable-dependency-tracking was given.
3413 if test "${enable_dependency_tracking+set}" = set; then :
3414 enableval=$enable_dependency_tracking;
3417 if test "x$enable_dependency_tracking" != xno; then
3418 am_depcomp="$ac_aux_dir/depcomp"
3421 if test "x$enable_dependency_tracking" != xno
; then
3431 depcc
="$CC" am_compiler_list
=
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3434 $as_echo_n "checking dependency style of $depcc... " >&6; }
3435 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3436 $as_echo_n "(cached) " >&6
3438 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3439 # We make a subdir and do the tests there. Otherwise we can end up
3440 # making bogus files that we don't know about and never remove. For
3441 # instance it was reported that on HP-UX the gcc test will end up
3442 # making a dummy file named `D' -- because `-MD' means `put the output
3445 # Copy depcomp to subdir because otherwise we won't find it if we're
3446 # using a relative directory.
3447 cp "$am_depcomp" conftest.dir
3449 # We will build objects and dependencies in a subdirectory because
3450 # it helps to detect inapplicable dependency modes. For instance
3451 # both Tru64's cc and ICC support -MD to output dependencies as a
3452 # side effect of compilation, but ICC will put the dependencies in
3453 # the current directory while Tru64 will put them in the object
3457 am_cv_CC_dependencies_compiler_type
=none
3458 if test "$am_compiler_list" = ""; then
3459 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3462 case " $depcc " in #(
3463 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3466 for depmode
in $am_compiler_list; do
3467 # Setup a source with many dependencies, because some compilers
3468 # like to wrap large dependency lists on column 80 (with \), and
3469 # we should not choose a depcomp mode which is confused by this.
3471 # We need to recreate these files for each test, as the compiler may
3472 # overwrite some of them when testing with obscure command lines.
3473 # This happens at least with the AIX C compiler.
3475 for i
in 1 2 3 4 5 6; do
3476 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3477 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3478 # Solaris 8's {/usr,}/bin/sh.
3479 touch sub
/conftst
$i.h
3481 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3483 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3484 # mode. It turns out that the SunPro C++ compiler does not properly
3485 # handle `-M -o', and we need to detect this. Also, some Intel
3486 # versions had trouble with output in subdirs
3487 am__obj
=sub
/conftest.
${OBJEXT-o}
3488 am__minus_obj
="-o $am__obj"
3491 # This depmode causes a compiler race in universal mode.
3492 test "$am__universal" = false ||
continue
3495 # after this tag, mechanisms are not by side-effect, so they'll
3496 # only be used when explicitly requested
3497 if test "x$enable_dependency_tracking" = xyes
; then
3503 msvisualcpp | msvcmsys
)
3504 # This compiler won't grok `-c -o', but also, the minuso test has
3505 # not run yet. These depmodes are late enough in the game, and
3506 # so weak that their functioning should not be impacted.
3507 am__obj
=conftest.
${OBJEXT-o}
3512 if depmode
=$depmode \
3513 source=sub
/conftest.c object
=$am__obj \
3514 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3515 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3516 >/dev
/null
2>conftest.err
&&
3517 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3518 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3519 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3520 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3521 # icc doesn't choke on unknown options, it will just issue warnings
3522 # or remarks (even with -Werror). So we grep stderr for any message
3523 # that says an option was ignored or not supported.
3524 # When given -MP, icc 7.0 and 7.1 complain thusly:
3525 # icc: Command line warning: ignoring option '-M'; no argument required
3526 # The diagnosis changed in icc 8.0:
3527 # icc: Command line remark: option '-MP' not supported
3528 if (grep 'ignoring option' conftest.err ||
3529 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3530 am_cv_CC_dependencies_compiler_type
=$depmode
3539 am_cv_CC_dependencies_compiler_type
=none
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3544 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3545 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3548 test "x$enable_dependency_tracking" != xno \
3549 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3551 am__fastdepCC_FALSE
='#'
3553 am__fastdepCC_TRUE
='#'
3554 am__fastdepCC_FALSE
=
3559 ac_compile
='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
3560 ac_link
='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 if test -n "$ac_tool_prefix"; then
3563 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3564 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3566 $as_echo_n "checking for $ac_word... " >&6; }
3567 if test "${ac_cv_prog_GOC+set}" = set; then :
3568 $as_echo_n "(cached) " >&6
3570 if test -n "$GOC"; then
3571 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
3573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3577 test -z "$as_dir" && as_dir
=.
3578 for ac_exec_ext
in '' $ac_executable_extensions; do
3579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580 ac_cv_prog_GOC
="${ac_tool_prefix}gccgo"
3581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3591 if test -n "$GOC"; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3593 $as_echo "$GOC" >&6; }
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3596 $as_echo "no" >&6; }
3601 if test -z "$ac_cv_prog_GOC"; then
3603 # Extract the first word of "gccgo", so it can be a program name with args.
3604 set dummy gccgo
; ac_word
=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
3608 $as_echo_n "(cached) " >&6
3610 if test -n "$ac_ct_GOC"; then
3611 ac_cv_prog_ac_ct_GOC
="$ac_ct_GOC" # Let the user override the test.
3613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir
=.
3618 for ac_exec_ext
in '' $ac_executable_extensions; do
3619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3620 ac_cv_prog_ac_ct_GOC
="gccgo"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3630 ac_ct_GOC
=$ac_cv_prog_ac_ct_GOC
3631 if test -n "$ac_ct_GOC"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
3633 $as_echo "$ac_ct_GOC" >&6; }
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3639 if test "x$ac_ct_GOC" = x
; then
3642 case $cross_compiling:$ac_tool_warned in
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3646 ac_tool_warned
=yes ;;
3651 GOC
="$ac_cv_prog_GOC"
3654 if test -z "$GOC"; then
3655 if test -n "$ac_tool_prefix"; then
3656 # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
3657 set dummy
${ac_tool_prefix}gccgo
; ac_word
=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if test "${ac_cv_prog_GOC+set}" = set; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -n "$GOC"; then
3664 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
3666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3670 test -z "$as_dir" && as_dir
=.
3671 for ac_exec_ext
in '' $ac_executable_extensions; do
3672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3673 ac_cv_prog_GOC
="$ac_tool_prefix}gccgo"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3684 if test -n "$GOC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3686 $as_echo "$GOC" >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3695 if test -z "$GOC"; then
3696 # Extract the first word of "gccgo", so it can be a program name with args.
3697 set dummy gccgo
; ac_word
=$2
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3699 $as_echo_n "checking for $ac_word... " >&6; }
3700 if test "${ac_cv_prog_GOC+set}" = set; then :
3701 $as_echo_n "(cached) " >&6
3703 if test -n "$GOC"; then
3704 ac_cv_prog_GOC
="$GOC" # Let the user override the test.
3707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3711 test -z "$as_dir" && as_dir
=.
3712 for ac_exec_ext
in '' $ac_executable_extensions; do
3713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3714 if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
3715 ac_prog_rejected
=yes
3718 ac_cv_prog_GOC
="gccgo"
3719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 if test $ac_prog_rejected = yes; then
3727 # We found a bogon in the path, so make sure we never use it.
3728 set dummy
$ac_cv_prog_GOC
3730 if test $# != 0; then
3731 # We chose a different compiler from the bogus one.
3732 # However, it has the same basename, so the bogon will be chosen
3733 # first if we set GOC to just the basename; use the full file name.
3735 ac_cv_prog_GOC
="$as_dir/$ac_word${1+' '}$@"
3741 if test -n "$GOC"; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
3743 $as_echo "$GOC" >&6; }
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3746 $as_echo "no" >&6; }
3753 # Provide some information about the compiler.
3754 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
3757 { { ac_try
="$ac_compiler --version >&5"
3759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3760 *) ac_try_echo=$ac_try;;
3762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3763 $as_echo "$ac_try_echo"; } >&5
3764 (eval "$ac_compiler --version >&5") 2>conftest.err
3766 if test -s conftest.err; then
3768 ... rest of stderr output deleted ...
3769 10q' conftest.err >conftest.er1
3770 cat conftest.er1 >&5
3771 rm -f conftest.er1 conftest.err
3773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3774 test $ac_status = 0; }
3777 ac_cpp='$CPP $CPPFLAGS'
3778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3783 if test "$cross_compiling" = no; then
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
3794 $as_echo_n "checking for socket libraries... " >&6; }
3795 if test "${gotools_cv_lib_sockets+set}" = set; then :
3796 $as_echo_n "(cached) " >&6
3798 gotools_cv_lib_sockets=
3799 gotools_check_both=no
3800 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
3801 if test "x$ac_cv_func_connect" = x""yes; then :
3802 gotools_check_socket=no
3804 gotools_check_socket=yes
3807 if test "$gotools_check_socket" = "yes"; then
3808 unset ac_cv_func_connect
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
3810 $as_echo_n "checking for main in -lsocket... " >&6; }
3811 if test "${ac_cv_lib_socket_main+set}" = set; then :
3812 $as_echo_n "(cached) " >&6
3814 ac_check_lib_save_LIBS=$LIBS
3815 LIBS="-lsocket $LIBS"
3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817 /* end confdefs.h. */
3828 if ac_fn_c_try_link "$LINENO"; then :
3829 ac_cv_lib_socket_main=yes
3831 ac_cv_lib_socket_main=no
3833 rm -f core conftest.err conftest.$ac_objext \
3834 conftest$ac_exeext conftest.$ac_ext
3835 LIBS=$ac_check_lib_save_LIBS
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
3838 $as_echo "$ac_cv_lib_socket_main" >&6; }
3839 if test "x$ac_cv_lib_socket_main" = x""yes; then :
3840 gotools_cv_lib_sockets="-lsocket"
3842 gotools_check_both=yes
3846 if test "$gotools_check_both" = "yes"; then
3847 gotools_old_libs=$LIBS
3848 LIBS="$LIBS -lsocket -lnsl"
3849 unset ac_cv_func_accept
3850 ac_fn_c_check_func "$LINENO" "accept" "ac_cv_func_accept"
3851 if test "x$ac_cv_func_accept" = x""yes; then :
3852 gotools_check_nsl=no
3853 gotools_cv_lib_sockets="-lsocket -lnsl"
3856 unset ac_cv_func_accept
3857 LIBS=$gotools_old_libs
3859 unset ac_cv_func_gethostbyname
3860 gotools_old_libs="$LIBS"
3861 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
3862 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
3866 $as_echo_n "checking for main in -lnsl... " >&6; }
3867 if test "${ac_cv_lib_nsl_main+set}" = set; then :
3868 $as_echo_n "(cached) " >&6
3870 ac_check_lib_save_LIBS=$LIBS
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3884 if ac_fn_c_try_link "$LINENO"; then :
3885 ac_cv_lib_nsl_main=yes
3887 ac_cv_lib_nsl_main=no
3889 rm -f core conftest.err conftest.$ac_objext \
3890 conftest$ac_exeext conftest.$ac_ext
3891 LIBS=$ac_check_lib_save_LIBS
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
3894 $as_echo "$ac_cv_lib_nsl_main" >&6; }
3895 if test "x$ac_cv_lib_nsl_main" = x""yes; then :
3896 gotools_cv_lib_sockets="$gotools_cv_lib_sockets -lnsl"
3901 unset ac_cv_func_gethostbyname
3902 LIBS=$gotools_old_libs
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gotools_cv_lib_sockets" >&5
3906 $as_echo "$gotools_cv_lib_sockets" >&6; }
3907 NET_LIBS="$gotools_cv_lib_sockets"
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
3911 $as_echo_n "checking for library containing sched_yield... " >&6; }
3912 if test "${ac_cv_search_sched_yield+set}" = set; then :
3913 $as_echo_n "(cached) " >&6
3915 ac_func_search_save_LIBS=$LIBS
3916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917 /* end confdefs.h. */
3919 /* Override any GCC internal prototype to avoid an error.
3920 Use char because int might match the return type of a GCC
3921 builtin and then its argument prototype would still apply. */
3925 char sched_yield ();
3929 return sched_yield ();
3934 for ac_lib in '' rt; do
3935 if test -z "$ac_lib"; then
3936 ac_res="none required"
3939 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3941 if ac_fn_c_try_link "$LINENO"; then :
3942 ac_cv_search_sched_yield=$ac_res
3944 rm -f core conftest.err conftest.$ac_objext \
3946 if test "${ac_cv_search_sched_yield+set}" = set; then :
3950 if test "${ac_cv_search_sched_yield+set}" = set; then :
3953 ac_cv_search_sched_yield=no
3956 LIBS=$ac_func_search_save_LIBS
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
3959 $as_echo "$ac_cv_search_sched_yield" >&6; }
3960 ac_res=$ac_cv_search_sched_yield
3961 if test "$ac_res" != no; then :
3962 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
3967 $as_echo_n "checking for library containing nanosleep... " >&6; }
3968 if test "${ac_cv_search_nanosleep+set}" = set; then :
3969 $as_echo_n "(cached) " >&6
3971 ac_func_search_save_LIBS=$LIBS
3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3975 /* Override any GCC internal prototype to avoid an error.
3976 Use char because int might match the return type of a GCC
3977 builtin and then its argument prototype would still apply. */
3985 return nanosleep ();
3990 for ac_lib in '' rt; do
3991 if test -z "$ac_lib"; then
3992 ac_res="none required"
3995 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3997 if ac_fn_c_try_link "$LINENO"; then :
3998 ac_cv_search_nanosleep=$ac_res
4000 rm -f core conftest.err conftest.$ac_objext \
4002 if test "${ac_cv_search_nanosleep+set}" = set; then :
4006 if test "${ac_cv_search_nanosleep+set}" = set; then :
4009 ac_cv_search_nanosleep=no
4012 LIBS=$ac_func_search_save_LIBS
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
4015 $as_echo "$ac_cv_search_nanosleep" >&6; }
4016 ac_res=$ac_cv_search_nanosleep
4017 if test "$ac_res" != no; then :
4018 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4023 ac_config_files="$ac_config_files Makefile"
4026 cat >confcache <<\_ACEOF
4027 # This file is a shell script that caches the results of configure
4028 # tests run on this system so they can be shared between configure
4029 # scripts and configure runs, see configure's option --config-cache.
4030 # It is not useful on other systems. If it contains results you don't
4031 # want to keep, you may remove or edit it.
4033 # config.status only pays attention to the cache file if you give it
4034 # the --recheck option to rerun configure.
4036 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
4037 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4042 # The following way of writing the cache mishandles newlines in values,
4043 # but we know of no workaround that is simple, portable, and efficient.
4044 # So, we kill variables containing newlines.
4045 # Ultrix sh set writes to stderr and can't be redirected directly,
4046 # and sets the high bit in the cache file unless we assign to the vars.
4048 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4049 eval ac_val
=\$
$ac_var
4053 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4054 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4057 _ | IFS | as_nl
) ;; #(
4058 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4059 *) { eval $ac_var=; unset $ac_var;} ;;
4065 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4066 *${as_nl}ac_space
=\
*)
4067 # `set' does not quote correctly, so add quotes: double-quote
4068 # substitution turns \\\\ into \\, and sed turns \\ into \.
4071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4074 # `set' quotes correctly as required by POSIX, so do not add quotes.
4075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4084 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4086 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4088 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4089 if test -w "$cache_file"; then
4090 test "x$cache_file" != "x/dev/null" &&
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4092 $as_echo "$as_me: updating cache $cache_file" >&6;}
4093 cat confcache
>$cache_file
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4096 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4101 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4102 # Let make expand exec_prefix.
4103 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4105 # Transform confdefs.h into DEFS.
4106 # Protect against shell expansion while executing Makefile rules.
4107 # Protect against Makefile macro expansion.
4109 # If the first sed substitution is executed (which looks for macros that
4110 # take arguments), then branch to the quote section. Otherwise,
4111 # look for a macro that doesn't take arguments.
4121 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4123 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4127 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4140 DEFS
=`sed -n "$ac_script" confdefs.h`
4145 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4146 # 1. Remove the extension, and $U if already installed.
4147 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4148 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4149 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4150 # will be set to the directory where LIBOBJS objects are built.
4151 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4152 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4156 LTLIBOBJS
=$ac_ltlibobjs
4159 if test -n "$EXEEXT"; then
4161 am__EXEEXT_FALSE
='#'
4167 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4168 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
4169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4171 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4172 as_fn_error
"conditional \"AMDEP\" was never defined.
4173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4175 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4176 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
4177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4179 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
4180 as_fn_error
"conditional \"NATIVE\" was never defined.
4181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4184 : ${CONFIG_STATUS=./config.status}
4186 ac_clean_files_save
=$ac_clean_files
4187 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4189 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4191 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4193 # Generated by $as_me.
4194 # Run this file to recreate the current configuration.
4195 # Compiler output produced by configure, useful for debugging
4196 # configure, is in config.log if it exists.
4202 SHELL=\${CONFIG_SHELL-$SHELL}
4205 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4206 ## -------------------- ##
4207 ## M4sh Initialization. ##
4208 ## -------------------- ##
4210 # Be more Bourne compatible
4211 DUALCASE
=1; export DUALCASE
# for MKS sh
4212 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4215 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4216 # is contrary to our usage. Disable this feature.
4217 alias -g '${1+"$@"}'='"$@"'
4218 setopt NO_GLOB_SUBST
4220 case `(set -o) 2>/dev/null` in #(
4232 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4233 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4234 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4235 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4236 # Prefer a ksh shell builtin over an external printf program on Solaris,
4237 # but without wasting forks for bash or zsh.
4238 if test -z "$BASH_VERSION$ZSH_VERSION" \
4239 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4240 as_echo='print
-r --'
4241 as_echo_n='print
-rn --'
4242 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4243 as_echo='printf %s
\n'
4244 as_echo_n='printf %s
'
4246 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4247 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4248 as_echo_n='/usr
/ucb
/echo -n'
4250 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4251 as_echo_n_body='eval
4255 expr "X$arg" : "X\\(.*\\)$as_nl";
4256 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4258 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4260 export as_echo_n_body
4261 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4264 as_echo='sh
-c $as_echo_body as_echo
'
4267 # The user is always right.
4268 if test "${PATH_SEPARATOR+set}" != set; then
4270 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4271 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4278 # We need space, tab and new line, in precisely that order. Quoting is
4279 # there to prevent editors from complaining about space-tab.
4280 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4281 # splitting by setting IFS to empty value.)
4284 # Find who we are. Look in the path if we contain no directory separator.
4286 *[\\/]* ) as_myself=$0 ;;
4287 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4291 test -z "$as_dir" && as_dir=.
4292 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4298 # We did not find ourselves, most probably we were run as `sh COMMAND'
4299 # in which case we are not to be found in the path.
4300 if test "x$as_myself" = x
; then
4303 if test ! -f "$as_myself"; then
4304 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4308 # Unset variables that we do not need and which cause bugs (e.g. in
4309 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4310 # suppresses any "Segmentation fault" message there. '((' could
4311 # trigger a bug in pdksh 5.2.14.
4312 for as_var
in BASH_ENV ENV MAIL MAILPATH
4313 do eval test x\
${$as_var+set} = xset \
4314 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4327 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4330 # as_fn_error ERROR [LINENO LOG_FD]
4331 # ---------------------------------
4332 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4333 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4334 # script with status $?, using 1 if that was 0.
4337 as_status
=$?
; test $as_status -eq 0 && as_status
=1
4339 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4340 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4342 $as_echo "$as_me: error: $1" >&2
4343 as_fn_exit
$as_status
4347 # as_fn_set_status STATUS
4348 # -----------------------
4349 # Set $? to STATUS, without forking.
4353 } # as_fn_set_status
4357 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4367 # Portably unset VAR.
4370 { eval $1=; unset $1;}
4372 as_unset
=as_fn_unset
4373 # as_fn_append VAR VALUE
4374 # ----------------------
4375 # Append the text in VALUE to the end of the definition contained in VAR. Take
4376 # advantage of any shell optimizations that allow amortized linear growth over
4377 # repeated appends, instead of the typical quadratic growth present in naive
4379 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4380 eval 'as_fn_append ()
4391 # as_fn_arith ARG...
4392 # ------------------
4393 # Perform arithmetic evaluation on the ARGs, and store the result in the
4394 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4395 # must be portable across $(()) and expr.
4396 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4397 eval 'as_fn_arith ()
4404 as_val
=`expr "$@" || test $? -eq 1`
4409 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4410 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4416 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4417 as_basename
=basename
4422 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4428 as_me
=`$as_basename -- "$0" ||
4429 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4430 X"$0" : 'X\(//\)$' \| \
4431 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4433 sed '/^.*\/\([^/][^/]*\)\/*$/{
4447 # Avoid depending upon Character Ranges.
4448 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4449 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4450 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4451 as_cr_digits
='0123456789'
4452 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4454 ECHO_C
= ECHO_N
= ECHO_T
=
4455 case `echo -n x` in #(((((
4457 case `echo 'xy\c'` in
4458 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4460 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4467 rm -f conf$$ conf$$.exe conf$$.
file
4468 if test -d conf$$.dir
; then
4469 rm -f conf$$.dir
/conf$$.
file
4472 mkdir conf$$.dir
2>/dev
/null
4474 if (echo >conf$$.
file) 2>/dev
/null
; then
4475 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4477 # ... but there are two gotchas:
4478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4480 # In both cases, we have to default to `cp -p'.
4481 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4483 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4491 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4492 rmdir conf$$.dir
2>/dev
/null
4497 # Create "$as_dir" as a directory, including parents if necessary.
4502 -*) as_dir
=.
/$as_dir;;
4504 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4508 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4509 *) as_qdir
=$as_dir;;
4511 as_dirs
="'$as_qdir' $as_dirs"
4512 as_dir
=`$as_dirname -- "$as_dir" ||
4513 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4514 X"$as_dir" : 'X\(//\)[^/]' \| \
4515 X"$as_dir" : 'X\(//\)$' \| \
4516 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4517 $as_echo X"$as_dir" |
4518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4535 test -d "$as_dir" && break
4537 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4538 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4542 if mkdir
-p .
2>/dev
/null
; then
4543 as_mkdir_p
='mkdir -p "$as_dir"'
4545 test -d .
/-p && rmdir .
/-p
4549 if test -x / >/dev
/null
2>&1; then
4552 if ls -dL / >/dev
/null
2>&1; then
4559 if test -d "$1"; then
4565 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4566 ???[sx]*):;;*)false;;esac;fi
4570 as_executable_p
=$as_test_x
4572 # Sed expression to map a string onto a valid CPP name.
4573 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4575 # Sed expression to map a string onto a valid variable name.
4576 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4580 ## ----------------------------------- ##
4581 ## Main body of $CONFIG_STATUS script. ##
4582 ## ----------------------------------- ##
4584 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4587 # Save the log message, to keep $0 and so on meaningful, and to
4588 # report actual input values of CONFIG_FILES etc. instead of their
4589 # values after options handling.
4591 This file was extended by package-unused $as_me version-unused, which was
4592 generated by GNU Autoconf 2.64. Invocation command line was
4594 CONFIG_FILES = $CONFIG_FILES
4595 CONFIG_HEADERS = $CONFIG_HEADERS
4596 CONFIG_LINKS = $CONFIG_LINKS
4597 CONFIG_COMMANDS = $CONFIG_COMMANDS
4600 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4605 case $ac_config_files in *"
4606 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4612 # Files that config.status was made for.
4613 config_files="$ac_config_files"
4614 config_commands="$ac_config_commands"
4618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4620 \`$as_me' instantiates files and other configuration actions
4621 from templates according to the current configuration. Unless the files
4622 and actions are specified as TAGs, all are instantiated by default.
4624 Usage: $0 [OPTION]... [TAG]...
4626 -h, --help print this help, then exit
4627 -V, --version print version number and configuration settings, then exit
4628 -q, --quiet, --silent
4629 do not print progress messages
4630 -d, --debug don't remove temporary files
4631 --recheck update $as_me by reconfiguring in the same conditions
4632 --file=FILE[:TEMPLATE]
4633 instantiate the configuration file FILE
4635 Configuration files:
4638 Configuration commands:
4641 Report bugs to the package provider."
4644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4646 package-unused config.status version-unused
4647 configured by $0, generated by GNU Autoconf 2.64,
4648 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4650 Copyright (C) 2009 Free Software Foundation, Inc.
4651 This config.status script is free software; the Free Software Foundation
4652 gives unlimited permission to copy, distribute and modify it."
4659 test -n "\$AWK" || AWK=awk
4662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4663 # The default lists apply if the user does not specify any file.
4669 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4670 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4681 # Handling of the options.
4682 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4684 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4685 $as_echo "$ac_cs_version"; exit ;;
4686 --debug |
--debu |
--deb |
--de |
--d |
-d )
4688 --file |
--fil |
--fi |
--f )
4691 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4693 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4694 ac_need_defaults
=false
;;
4695 --he |
--h |
--help |
--hel |
-h )
4696 $as_echo "$ac_cs_usage"; exit ;;
4697 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4698 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4702 -*) as_fn_error
"unrecognized option: \`$1'
4703 Try \`$0 --help' for more information." ;;
4705 *) as_fn_append ac_config_targets
" $1"
4706 ac_need_defaults
=false
;;
4712 ac_configure_extra_args
=
4714 if $ac_cs_silent; then
4716 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4721 if \$ac_cs_recheck; then
4722 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4724 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4725 CONFIG_SHELL='$SHELL'
4731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4735 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4736 ## Running $as_me. ##
4742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4746 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4752 # Handling of arguments.
4753 for ac_config_target
in $ac_config_targets
4755 case $ac_config_target in
4756 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
4757 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4759 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4764 # If the user did not use the arguments to specify the items to instantiate,
4765 # then the envvar interface is used. Set only those that are not.
4766 # We use the long form for the default assignment because of an extremely
4767 # bizarre bug on SunOS 4.1.3.
4768 if $ac_need_defaults; then
4769 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4770 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4773 # Have a temporary directory for convenience. Make it in the build tree
4774 # simply because there is no reason against having it here, and in addition,
4775 # creating and moving files from /tmp can sometimes cause problems.
4776 # Hook for its removal unless debugging.
4777 # Note that there is a small window in which the directory will not be cleaned:
4778 # after its creation but before its name has been assigned to `$tmp'.
4782 trap 'exit_status=$?
4783 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4785 trap 'as_fn_exit 1' 1 2 13 15
4787 # Create a (secure) tmp directory for tmp files.
4790 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4791 test -n "$tmp" && test -d "$tmp"
4794 tmp
=.
/conf$$
-$RANDOM
4795 (umask 077 && mkdir
"$tmp")
4796 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4798 # Set up the scripts for CONFIG_FILES section.
4799 # No need to generate them if there are no CONFIG_FILES.
4800 # This happens for instance with `./config.status config.h'.
4801 if test -n "$CONFIG_FILES"; then
4804 ac_cr
=`echo X | tr X '\015'`
4805 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4806 # But we know of no other shell where ac_cr would be empty at this
4807 # point, so we can use a bashism as a fallback.
4808 if test "x$ac_cr" = x
; then
4809 eval ac_cr
=\$
\'\\r
\'
4811 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4812 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4818 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4823 echo "cat >conf$$subs.awk <<_ACEOF" &&
4824 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4827 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4828 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4830 for ac_last_try in false false false false false :; do
4831 . ./conf$$subs.sh ||
4832 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4834 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4835 if test $ac_delim_n = $ac_delim_num; then
4837 elif $ac_last_try; then
4838 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4840 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4846 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4850 s/^/S["/; s
/!.
*/"]=/
4860 s/\(.\{148\}\).*/\1/
4862 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4867 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4874 s/\(.\{148\}\).*/\1/
4876 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4880 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4885 ' <conf$$subs.awk | sed '
4890 ' >>$CONFIG_STATUS || ac_write_fail=1
4891 rm -f conf$$subs.awk
4892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4894 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4895 for (key in S) S_is_set[key] = 1
4901 nfields = split(line, field, "@
")
4903 len = length(field[1])
4904 for (i = 2; i < nfields; i++) {
4906 keylen = length(key)
4907 if (S_is_set[key]) {
4909 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4910 len += length(value) + length(field[++i])
4921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4922 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4923 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4926 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4927 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4930 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4931 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4932 # trailing colons and then remove the whole line if VPATH becomes empty
4933 # (actually we leave an empty line to preserve line numbers).
4934 if test "x
$srcdir" = x.; then
4935 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4939 s/^\([^=]*=[ ]*\):*/\1/
4945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4946 fi # test -n "$CONFIG_FILES"
4949 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
4954 :[FHLC]) ac_mode=$ac_tag; continue;;
4956 case $ac_mode$ac_tag in
4958 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4959 :[FH]-) ac_tag=-:-;;
4960 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4977 -) ac_f="$tmp/stdin";;
4978 *) # Look for the file first in the build tree, then in the source tree
4979 # (if the path is not absolute). The absolute path cannot be DOS-style,
4980 # because $ac_f cannot contain `:'.
4984 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4986 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4988 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4989 as_fn_append ac_file_inputs " '$ac_f'"
4992 # Let's still pretend it is `configure' which instantiates (i.e., don't
4993 # use $as_me), people would be surprised to read:
4994 # /* config.h. Generated by config.status. */
4995 configure_input='Generated from '`
4996 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4998 if test x"$ac_file" != x-; then
4999 configure_input="$ac_file.
$configure_input"
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5001 $as_echo "$as_me: creating
$ac_file" >&6;}
5003 # Neutralize special characters interpreted by sed in replacement strings.
5004 case $configure_input in #(
5005 *\&* | *\|* | *\\* )
5006 ac_sed_conf_input=`$as_echo "$configure_input" |
5007 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5008 *) ac_sed_conf_input=$configure_input;;
5012 *:-:* | *:-) cat >"$tmp/stdin
" \
5013 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
5018 ac_dir=`$as_dirname -- "$ac_file" ||
5019 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5020 X"$ac_file" : 'X\(//\)[^/]' \| \
5021 X"$ac_file" : 'X\(//\)$' \| \
5022 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5023 $as_echo X"$ac_file" |
5024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5041 as_dir="$ac_dir"; as_fn_mkdir_p
5045 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5047 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5048 # A "..
" for each directory in $ac_dir_suffix.
5049 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5050 case $ac_top_builddir_sub in
5051 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5052 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5055 ac_abs_top_builddir=$ac_pwd
5056 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5057 # for backward compatibility:
5058 ac_top_builddir=$ac_top_build_prefix
5061 .) # We are building in place.
5063 ac_top_srcdir=$ac_top_builddir_sub
5064 ac_abs_top_srcdir=$ac_pwd ;;
5065 [\\/]* | ?:[\\/]* ) # Absolute name.
5066 ac_srcdir=$srcdir$ac_dir_suffix;
5067 ac_top_srcdir=$srcdir
5068 ac_abs_top_srcdir=$srcdir ;;
5070 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5071 ac_top_srcdir=$ac_top_build_prefix$srcdir
5072 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5074 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5084 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5085 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5089 [\\/$]* | ?:[\\/]* ) ;;
5090 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5095 # If the template does not know about datarootdir, expand it.
5096 # FIXME: This hack should be removed a few years after 2.60.
5097 ac_datarootdir_hack=; ac_datarootdir_seen=
5108 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5109 *datarootdir*) ac_datarootdir_seen=yes;;
5110 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5112 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5115 ac_datarootdir_hack='
5116 s&@datadir@&$datadir&g
5117 s&@docdir@&$docdir&g
5118 s&@infodir@&$infodir&g
5119 s&@localedir@&$localedir&g
5120 s&@mandir@&$mandir&g
5121 s&\\\${datarootdir}&$datarootdir&g' ;;
5125 # Neutralize VPATH when `$srcdir' = `.'.
5126 # Shell code in configure.ac might set extrasub.
5127 # FIXME: do we really want to maintain this feature?
5128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5129 ac_sed_extra="$ac_vpsub
5132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5134 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5135 s|@configure_input@|
$ac_sed_conf_input|
;t t
5136 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5137 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5138 s
&@srcdir@
&$ac_srcdir&;t t
5139 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5140 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5141 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5142 s
&@builddir@
&$ac_builddir&;t t
5143 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5144 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5145 s
&@INSTALL@
&$ac_INSTALL&;t t
5146 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
5147 $ac_datarootdir_hack
5149 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5150 || as_fn_error "could not create
$ac_file" "$LINENO" 5
5152 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5153 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5154 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5156 which seems to be undefined. Please make sure it is defined." >&5
5157 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5158 which seems to be undefined. Please make sure it is defined." >&2;}
5162 -) cat "$tmp/out" && rm -f "$tmp/out";;
5163 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5165 || as_fn_error "could not create $ac_file" "$LINENO" 5
5169 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5170 $as_echo "$as_me: executing $ac_file commands" >&6;}
5175 case $ac_file$ac_mode in
5176 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5177 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5178 # are listed without --file. Let's play safe and only
enable the
eval
5179 # if we detect the quoting.
5180 case $CONFIG_FILES in
5181 *\'*) eval set x
"$CONFIG_FILES" ;;
5182 *) set x
$CONFIG_FILES ;;
5187 # Strip MF so we end up with the name of the file.
5188 mf
=`echo "$mf" | sed -e 's/:.*$//'`
5189 # Check whether this is an Automake generated Makefile or not.
5190 # We used to match only the files named `Makefile.in', but
5191 # some people rename them; so instead we look at the file content.
5192 # Grep'ing the first line is not enough: some people post-process
5193 # each Makefile.in and add a new line on top of each file to say so.
5194 # Grep'ing the whole file is not good either: AIX grep has a line
5195 # limit of 2048, but all sed's we know have understand at least 4000.
5196 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
5197 dirpart
=`$as_dirname -- "$mf" ||
5198 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5199 X"$mf" : 'X\(//\)[^/]' \| \
5200 X"$mf" : 'X\(//\)$' \| \
5201 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5223 # Extract the definition of DEPDIR, am__include, and am__quote
5224 # from the Makefile without running `make'.
5225 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
5226 test -z "$DEPDIR" && continue
5227 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
5228 test -z "am__include" && continue
5229 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
5230 # When using ansi2knr, U may be empty or an underscore; expand it
5231 U
=`sed -n 's/^U = //p' < "$mf"`
5232 # Find all dependency output files, they are included files with
5233 # $(DEPDIR) in their names. We invoke sed twice because it is the
5234 # simplest approach to changing $(DEPDIR) to its actual value in the
5236 for file in `sed -n "
5237 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5238 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5239 # Make sure the directory exists.
5240 test -f "$dirpart/$file" && continue
5241 fdir
=`$as_dirname -- "$file" ||
5242 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5243 X"$file" : 'X\(//\)[^/]' \| \
5244 X"$file" : 'X\(//\)$' \| \
5245 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5264 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
5265 # echo "creating $dirpart/$file"
5266 echo '# dummy' > "$dirpart/$file"
5278 ac_clean_files
=$ac_clean_files_save
5280 test $ac_write_fail = 0 ||
5281 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5284 # configure is writing to config.log, and then calls config.status.
5285 # config.status does its own redirection, appending to config.log.
5286 # Unfortunately, on DOS this fails, as config.log is still kept open
5287 # by configure, so config.status won't be able to write to it; its
5288 # output is simply discarded. So we exec the FD to /dev/null,
5289 # effectively closing config.log, so it can be properly (re)opened and
5290 # appended to by config.status. When coming back to configure, we
5291 # need to make the FD available again.
5292 if test "$no_create" != yes; then
5294 ac_config_status_args
=
5295 test "$silent" = yes &&
5296 ac_config_status_args
="$ac_config_status_args --quiet"
5298 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5300 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5301 # would make configure fail if this is the last instruction.
5302 $ac_cs_success || as_fn_exit $?
5304 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5306 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}