2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cygwin toplevel 0.
5 # Report bugs to <cygwin@cygwin.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev
/null
; then :
206 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
211 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir
=.
218 for as_base
in sh bash ksh sh5
; do
219 # Try only shells that exist, to save several forks.
220 as_shell
=$as_dir/$as_base
221 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
223 CONFIG_SHELL
=$as_shell as_have_required
=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
249 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x
$as_have_required = xno
; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x
${ZSH_VERSION+set} = xset
; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and cygwin@cygwin.com
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
278 SHELL
=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE
= GREP_OPTIONS
=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir
=.
/$as_dir;;
323 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
327 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs
="'$as_qdir' $as_dirs"
331 as_dir
=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
357 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p
()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
400 as_val
=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status
=$1; test $as_status -eq 0 && as_status
=1
414 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit
$as_status
421 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
428 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
440 as_me
=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits
='0123456789'
464 as_cr_alnum
=$as_cr_Letters$as_cr_digits
467 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
468 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x
"$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec
=no
; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C
= ECHO_N
= ECHO_T
=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
515 rm -f conf$$ conf$$.exe conf$$.
file
516 if test -d conf$$.dir
; then
517 rm -f conf$$.dir
/conf$$.
file
520 mkdir conf$$.dir
2>/dev
/null
522 if (echo >conf$$.
file) 2>/dev
/null
; then
523 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
531 elif ln conf$$.
file conf$$
2>/dev
/null
; then
539 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
540 rmdir conf$$.dir
2>/dev
/null
542 if mkdir
-p .
2>/dev
/null
; then
543 as_mkdir_p
='mkdir -p "$as_dir"'
545 test -d .
/-p && rmdir .
/-p
550 as_executable_p
=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix
=/usr
/local
572 ac_config_libobj_dir
=.
579 # Identity of this package.
580 PACKAGE_NAME
='Cygwin toplevel'
581 PACKAGE_TARNAME
='cygwin'
583 PACKAGE_STRING
='Cygwin toplevel 0'
584 PACKAGE_BUGREPORT
='cygwin@cygwin.com'
585 PACKAGE_URL
='https://cygwin.com'
587 ac_unique_file
="Makefile.in"
589 enable_option_checking
=no
590 ac_subst_vars
='LTLIBOBJS
647 program_transform_name
662 enable_option_checking
665 ac_precious_vars
='build_alias
677 ac_subdirs_all
='cygwin cygserver doc testsuite
680 # Initialize some variables set by options.
682 ac_init_version
=false
683 ac_unrecognized_opts
=
685 # The variables have the same names as the options, with
686 # dashes changed to underlines.
694 program_transform_name
=s
,x
,x
,
702 # Installation directory options.
703 # These are left unexpanded so users can "make install exec_prefix=/foo"
704 # and all the variables that are supposed to be based on exec_prefix
705 # by default will actually change.
706 # Use braces instead of parens because sh, perl, etc. also accept them.
707 # (The list follows the same order as the GNU Coding Standards.)
708 bindir
='${exec_prefix}/bin'
709 sbindir
='${exec_prefix}/sbin'
710 libexecdir
='${exec_prefix}/libexec'
711 datarootdir
='${prefix}/share'
712 datadir
='${datarootdir}'
713 sysconfdir
='${prefix}/etc'
714 sharedstatedir
='${prefix}/com'
715 localstatedir
='${prefix}/var'
716 includedir
='${prefix}/include'
717 oldincludedir
='/usr/include'
718 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
719 infodir
='${datarootdir}/info'
724 libdir
='${exec_prefix}/lib'
725 localedir
='${datarootdir}/locale'
726 mandir
='${datarootdir}/man'
732 # If the previous option needs an argument, assign it.
733 if test -n "$ac_prev"; then
734 eval $ac_prev=\
$ac_option
740 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
745 # Accept the important Cygnus configure options, so we can diagnose typos.
747 case $ac_dashdash$ac_option in
751 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
753 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
756 -build |
--build |
--buil |
--bui |
--bu)
757 ac_prev
=build_alias
;;
758 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
759 build_alias
=$ac_optarg ;;
761 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
762 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
763 ac_prev
=cache_file
;;
764 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
765 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
766 cache_file
=$ac_optarg ;;
769 cache_file
=config.cache
;;
771 -datadir |
--datadir |
--datadi |
--datad)
773 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
774 datadir
=$ac_optarg ;;
776 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
777 |
--dataroo |
--dataro |
--datar)
778 ac_prev
=datarootdir
;;
779 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
780 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
781 datarootdir
=$ac_optarg ;;
783 -disable-* |
--disable-*)
784 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
787 as_fn_error $?
"invalid feature name: $ac_useropt"
788 ac_useropt_orig
=$ac_useropt
789 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
790 case $ac_user_opts in
794 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
795 ac_unrecognized_sep
=', ';;
797 eval enable_
$ac_useropt=no
;;
799 -docdir |
--docdir |
--docdi |
--doc |
--do)
801 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
804 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
806 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
809 -enable-* |
--enable-*)
810 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
813 as_fn_error $?
"invalid feature name: $ac_useropt"
814 ac_useropt_orig
=$ac_useropt
815 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
816 case $ac_user_opts in
820 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
821 ac_unrecognized_sep
=', ';;
823 eval enable_
$ac_useropt=\
$ac_optarg ;;
825 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
826 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
827 |
--exec |
--exe |
--ex)
828 ac_prev
=exec_prefix
;;
829 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
830 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
831 |
--exec=* |
--exe=* |
--ex=*)
832 exec_prefix
=$ac_optarg ;;
834 -gas |
--gas |
--ga |
--g)
835 # Obsolete; use --with-gas.
838 -help |
--help |
--hel |
--he |
-h)
840 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
841 ac_init_help
=recursive
;;
842 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
843 ac_init_help
=short
;;
845 -host |
--host |
--hos |
--ho)
846 ac_prev
=host_alias
;;
847 -host=* |
--host=* |
--hos=* |
--ho=*)
848 host_alias
=$ac_optarg ;;
850 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
852 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
854 htmldir
=$ac_optarg ;;
856 -includedir |
--includedir |
--includedi |
--included |
--include \
857 |
--includ |
--inclu |
--incl |
--inc)
858 ac_prev
=includedir
;;
859 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
860 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
861 includedir
=$ac_optarg ;;
863 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
865 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
866 infodir
=$ac_optarg ;;
868 -libdir |
--libdir |
--libdi |
--libd)
870 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
873 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
874 |
--libexe |
--libex |
--libe)
875 ac_prev
=libexecdir
;;
876 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
877 |
--libexe=* |
--libex=* |
--libe=*)
878 libexecdir
=$ac_optarg ;;
880 -localedir |
--localedir |
--localedi |
--localed |
--locale)
882 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
883 localedir
=$ac_optarg ;;
885 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
886 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
887 ac_prev
=localstatedir
;;
888 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
889 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
890 localstatedir
=$ac_optarg ;;
892 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
894 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
898 # Obsolete; use --without-fp.
901 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
902 |
--no-cr |
--no-c |
-n)
905 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
906 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
909 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
910 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
911 |
--oldin |
--oldi |
--old |
--ol |
--o)
912 ac_prev
=oldincludedir
;;
913 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
914 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
915 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
916 oldincludedir
=$ac_optarg ;;
918 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
920 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
923 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
924 |
--program-pre |
--program-pr |
--program-p)
925 ac_prev
=program_prefix
;;
926 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
927 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
928 program_prefix
=$ac_optarg ;;
930 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
931 |
--program-suf |
--program-su |
--program-s)
932 ac_prev
=program_suffix
;;
933 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
934 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
935 program_suffix
=$ac_optarg ;;
937 -program-transform-name |
--program-transform-name \
938 |
--program-transform-nam |
--program-transform-na \
939 |
--program-transform-n |
--program-transform- \
940 |
--program-transform |
--program-transfor \
941 |
--program-transfo |
--program-transf \
942 |
--program-trans |
--program-tran \
943 |
--progr-tra |
--program-tr |
--program-t)
944 ac_prev
=program_transform_name
;;
945 -program-transform-name=* |
--program-transform-name=* \
946 |
--program-transform-nam=* |
--program-transform-na=* \
947 |
--program-transform-n=* |
--program-transform-=* \
948 |
--program-transform=* |
--program-transfor=* \
949 |
--program-transfo=* |
--program-transf=* \
950 |
--program-trans=* |
--program-tran=* \
951 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
952 program_transform_name
=$ac_optarg ;;
954 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
956 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
959 -psdir |
--psdir |
--psdi |
--psd |
--ps)
961 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
964 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
965 |
-silent |
--silent |
--silen |
--sile |
--sil)
968 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
970 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
972 sbindir
=$ac_optarg ;;
974 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
975 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
976 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
978 ac_prev
=sharedstatedir
;;
979 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
980 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
981 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
983 sharedstatedir
=$ac_optarg ;;
985 -site |
--site |
--sit)
987 -site=* |
--site=* |
--sit=*)
990 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
992 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
995 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
996 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
997 ac_prev
=sysconfdir
;;
998 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
999 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1000 sysconfdir
=$ac_optarg ;;
1002 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1003 ac_prev
=target_alias
;;
1004 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1005 target_alias
=$ac_optarg ;;
1007 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1010 -version |
--version |
--versio |
--versi |
--vers |
-V)
1011 ac_init_version
=: ;;
1014 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1017 as_fn_error $?
"invalid package name: $ac_useropt"
1018 ac_useropt_orig
=$ac_useropt
1019 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020 case $ac_user_opts in
1024 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1025 ac_unrecognized_sep
=', ';;
1027 eval with_
$ac_useropt=\
$ac_optarg ;;
1029 -without-* |
--without-*)
1030 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1033 as_fn_error $?
"invalid package name: $ac_useropt"
1034 ac_useropt_orig
=$ac_useropt
1035 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036 case $ac_user_opts in
1040 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1041 ac_unrecognized_sep
=', ';;
1043 eval with_
$ac_useropt=no
;;
1046 # Obsolete; use --with-x.
1049 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1050 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1051 ac_prev
=x_includes
;;
1052 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1053 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1054 x_includes
=$ac_optarg ;;
1056 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1057 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1058 ac_prev
=x_libraries
;;
1059 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1060 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1061 x_libraries
=$ac_optarg ;;
1063 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1064 Try \`$0 --help' for more information"
1068 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1069 # Reject names that are not valid shell variable names.
1070 case $ac_envvar in #(
1071 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1072 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1074 eval $ac_envvar=\
$ac_optarg
1075 export $ac_envvar ;;
1078 # FIXME: should be removed in autoconf 3.0.
1079 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1080 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1081 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1082 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1088 if test -n "$ac_prev"; then
1089 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1090 as_fn_error $?
"missing argument to $ac_option"
1093 if test -n "$ac_unrecognized_opts"; then
1094 case $enable_option_checking in
1096 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1097 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1101 # Check all directory arguments for consistency.
1102 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1103 datadir sysconfdir sharedstatedir localstatedir includedir \
1104 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1105 libdir localedir mandir
1107 eval ac_val
=\$
$ac_var
1108 # Remove trailing slashes.
1111 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1112 eval $ac_var=\
$ac_val;;
1114 # Be sure to have absolute directory names.
1116 [\\/$
]* | ?
:[\\/]* ) continue;;
1117 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1119 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1122 # There might be people who depend on the old broken behavior: `$host'
1123 # used to hold the argument of --host etc.
1124 # FIXME: To remove some day.
1127 target
=$target_alias
1129 # FIXME: To remove some day.
1130 if test "x$host_alias" != x
; then
1131 if test "x$build_alias" = x
; then
1132 cross_compiling
=maybe
1133 elif test "x$build_alias" != "x$host_alias"; then
1139 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1141 test "$silent" = yes && exec 6>/dev
/null
1144 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1145 ac_ls_di
=`ls -di .` &&
1146 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1147 as_fn_error $?
"working directory cannot be determined"
1148 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1149 as_fn_error $?
"pwd does not report name of working directory"
1152 # Find the source files, if location was not specified.
1153 if test -z "$srcdir"; then
1154 ac_srcdir_defaulted
=yes
1155 # Try the directory containing this script, then the parent directory.
1156 ac_confdir
=`$as_dirname -- "$as_myself" ||
1157 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1158 X"$as_myself" : 'X\(//\)[^/]' \| \
1159 X"$as_myself" : 'X\(//\)$' \| \
1160 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1161 $as_echo X"$as_myself" |
1162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1180 if test ! -r "$srcdir/$ac_unique_file"; then
1184 ac_srcdir_defaulted
=no
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1187 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1188 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1190 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1192 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1194 # When building in place, set srcdir=.
1195 if test "$ac_abs_confdir" = "$ac_pwd"; then
1198 # Remove unnecessary trailing slashes from srcdir.
1199 # Double slashes in file names in object file debugging info
1200 # mess up M-x gdb in Emacs.
1202 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1204 for ac_var
in $ac_precious_vars; do
1205 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1206 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1207 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1208 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1212 # Report the --help message.
1214 if test "$ac_init_help" = "long"; then
1215 # Omit some internal or obsolete options to make the list less imposing.
1216 # This message is too long to be a string in the A/UX 3.1 sh.
1218 \`configure' configures Cygwin toplevel 0 to adapt to many kinds of systems.
1220 Usage: $0 [OPTION]... [VAR=VALUE]...
1222 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1223 VAR=VALUE. See below for descriptions of some of the useful variables.
1225 Defaults for the options are specified in brackets.
1228 -h, --help display this help and exit
1229 --help=short display options specific to this package
1230 --help=recursive display the short help of all the included packages
1231 -V, --version display version information and exit
1232 -q, --quiet, --silent do not print \`checking ...' messages
1233 --cache-file=FILE cache test results in FILE [disabled]
1234 -C, --config-cache alias for \`--cache-file=config.cache'
1235 -n, --no-create do not create output files
1236 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1238 Installation directories:
1239 --prefix=PREFIX install architecture-independent files in PREFIX
1240 [$ac_default_prefix]
1241 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1244 By default, \`make install' will install all the files in
1245 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1246 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1247 for instance \`--prefix=\$HOME'.
1249 For better control, use the options below.
1251 Fine tuning of the installation directories:
1252 --bindir=DIR user executables [EPREFIX/bin]
1253 --sbindir=DIR system admin executables [EPREFIX/sbin]
1254 --libexecdir=DIR program executables [EPREFIX/libexec]
1255 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1256 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1257 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1258 --libdir=DIR object code libraries [EPREFIX/lib]
1259 --includedir=DIR C header files [PREFIX/include]
1260 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1261 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1262 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1263 --infodir=DIR info documentation [DATAROOTDIR/info]
1264 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1265 --mandir=DIR man documentation [DATAROOTDIR/man]
1266 --docdir=DIR documentation root [DATAROOTDIR/doc/cygwin]
1267 --htmldir=DIR html documentation [DOCDIR]
1268 --dvidir=DIR dvi documentation [DOCDIR]
1269 --pdfdir=DIR pdf documentation [DOCDIR]
1270 --psdir=DIR ps documentation [DOCDIR]
1276 --build=BUILD configure
for building on BUILD
[guessed
]
1277 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1278 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1282 if test -n "$ac_init_help"; then
1283 case $ac_init_help in
1284 short | recursive
) echo "Configuration of Cygwin toplevel 0:";;
1289 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1290 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1291 --with-cross-bootstrap do not build programs using the mingw toolchain or
1292 check
for mingw libraries
(useful
for bootstrapping
1295 Some influential environment variables
:
1296 CC C compiler
command
1297 CFLAGS C compiler flags
1298 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1299 nonstandard directory
<lib dir
>
1300 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1301 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1302 you have headers
in a nonstandard directory
<include dir
>
1303 CXX C
++ compiler
command
1304 CXXFLAGS C
++ compiler flags
1307 Use these variables to override the choices made by
`configure' or to help
1308 it to find libraries and programs with nonstandard names/locations.
1310 Report bugs to <cygwin@cygwin.com>.
1311 Cygwin toplevel home page: <https://cygwin.com>.
1316 if test "$ac_init_help" = "recursive"; then
1317 # If there are subdirs, report their specific --help.
1318 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1319 test -d "$ac_dir" ||
1320 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1325 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1328 # A ".." for each directory in $ac_dir_suffix.
1329 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1330 case $ac_top_builddir_sub in
1331 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1335 ac_abs_top_builddir=$ac_pwd
1336 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1337 # for backward compatibility:
1338 ac_top_builddir=$ac_top_build_prefix
1341 .) # We are building in place.
1343 ac_top_srcdir=$ac_top_builddir_sub
1344 ac_abs_top_srcdir=$ac_pwd ;;
1345 [\\/]* | ?:[\\/]* ) # Absolute name.
1346 ac_srcdir=$srcdir$ac_dir_suffix;
1347 ac_top_srcdir=$srcdir
1348 ac_abs_top_srcdir=$srcdir ;;
1350 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1351 ac_top_srcdir=$ac_top_build_prefix$srcdir
1352 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1354 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1356 cd "$ac_dir" || { ac_status=$?; continue; }
1357 # Check for guested configure.
1358 if test -f "$ac_srcdir/configure.gnu"; then
1360 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1361 elif test -f "$ac_srcdir/configure"; then
1363 $SHELL "$ac_srcdir/configure" --help=recursive
1365 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1367 cd "$ac_pwd" || { ac_status=$?; break; }
1371 test -n "$ac_init_help" && exit $ac_status
1372 if $ac_init_version; then
1374 Cygwin toplevel configure 0
1375 generated by GNU Autoconf 2.69
1377 Copyright (C) 2012 Free Software Foundation, Inc.
1378 This configure script is free software; the Free Software Foundation
1379 gives unlimited permission to copy, distribute and modify it.
1384 ## ------------------------ ##
1385 ## Autoconf initialization. ##
1386 ## ------------------------ ##
1388 # ac_fn_c_try_compile LINENO
1389 # --------------------------
1390 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1391 ac_fn_c_try_compile ()
1393 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1394 rm -f conftest.$ac_objext
1395 if { { ac_try="$ac_compile"
1397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1398 *) ac_try_echo
=$ac_try;;
1400 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1401 $as_echo "$ac_try_echo"; } >&5
1402 (eval "$ac_compile") 2>conftest.err
1404 if test -s conftest.err
; then
1405 grep -v '^ *+' conftest.err
>conftest.er1
1406 cat conftest.er1
>&5
1407 mv -f conftest.er1 conftest.err
1409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1410 test $ac_status = 0; } && {
1411 test -z "$ac_c_werror_flag" ||
1412 test ! -s conftest.err
1413 } && test -s conftest.
$ac_objext; then :
1416 $as_echo "$as_me: failed program was:" >&5
1417 sed 's/^/| /' conftest.
$ac_ext >&5
1421 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1422 as_fn_set_status
$ac_retval
1424 } # ac_fn_c_try_compile
1426 # ac_fn_cxx_try_compile LINENO
1427 # ----------------------------
1428 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1429 ac_fn_cxx_try_compile
()
1431 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1432 rm -f conftest.
$ac_objext
1433 if { { ac_try
="$ac_compile"
1435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1436 *) ac_try_echo=$ac_try;;
1438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1439 $as_echo "$ac_try_echo"; } >&5
1440 (eval "$ac_compile") 2>conftest.err
1442 if test -s conftest.err; then
1443 grep -v '^ *+' conftest.err >conftest.er1
1444 cat conftest.er1 >&5
1445 mv -f conftest.er1 conftest.err
1447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1448 test $ac_status = 0; } && {
1449 test -z "$ac_cxx_werror_flag" ||
1450 test ! -s conftest.err
1451 } && test -s conftest.$ac_objext; then :
1454 $as_echo "$as_me: failed program was:" >&5
1455 sed 's/^/| /' conftest.$ac_ext >&5
1459 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1460 as_fn_set_status $ac_retval
1462 } # ac_fn_cxx_try_compile
1464 # ac_fn_c_try_cpp LINENO
1465 # ----------------------
1466 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1470 if { { ac_try="$ac_cpp conftest.$ac_ext"
1472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1473 *) ac_try_echo
=$ac_try;;
1475 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1476 $as_echo "$ac_try_echo"; } >&5
1477 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1479 if test -s conftest.err
; then
1480 grep -v '^ *+' conftest.err
>conftest.er1
1481 cat conftest.er1
>&5
1482 mv -f conftest.er1 conftest.err
1484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1485 test $ac_status = 0; } > conftest.i
&& {
1486 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1487 test ! -s conftest.err
1491 $as_echo "$as_me: failed program was:" >&5
1492 sed 's/^/| /' conftest.
$ac_ext >&5
1496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1497 as_fn_set_status
$ac_retval
1500 cat >config.log
<<_ACEOF
1501 This file contains any messages produced by compilers while
1502 running configure, to aid debugging if configure makes a mistake.
1504 It was created by Cygwin toplevel $as_me 0, which was
1505 generated by GNU Autoconf 2.69. Invocation command line was
1517 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1518 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1519 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1520 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1521 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1523 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1524 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1526 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1527 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1528 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1529 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1530 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1531 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1532 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1540 test -z "$as_dir" && as_dir
=.
1541 $as_echo "PATH: $as_dir"
1557 # Keep a trace of the command line.
1558 # Strip out --no-create and --no-recursion so they do not pile up.
1559 # Strip out --silent because we don't want to record it for future runs.
1560 # Also quote any args containing shell meta-characters.
1561 # Make two passes to allow for proper duplicate-argument suppression.
1565 ac_must_keep_next
=false
1571 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1572 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1573 |
-silent |
--silent |
--silen |
--sile |
--sil)
1576 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1579 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1581 as_fn_append ac_configure_args1
" '$ac_arg'"
1582 if test $ac_must_keep_next = true
; then
1583 ac_must_keep_next
=false
# Got value, back to normal.
1586 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1587 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1588 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1589 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1590 case "$ac_configure_args0 " in
1591 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1594 -* ) ac_must_keep_next
=true
;;
1597 as_fn_append ac_configure_args
" '$ac_arg'"
1602 { ac_configure_args0
=; unset ac_configure_args0
;}
1603 { ac_configure_args1
=; unset ac_configure_args1
;}
1605 # When interrupted or exit'd, cleanup temporary files, and complete
1606 # config.log. We remove comments because anyway the quotes in there
1607 # would cause problems or look ugly.
1608 # WARNING: Use '\'' to represent an apostrophe within the trap.
1609 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1610 trap 'exit_status=$?
1611 # Save into config.log some information that might help in debugging.
1615 $as_echo "## ---------------- ##
1616 ## Cache variables. ##
1617 ## ---------------- ##"
1619 # The following way of writing the cache mishandles newlines in values,
1621 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1622 eval ac_val=\$$ac_var
1626 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1627 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1630 _ | IFS | as_nl) ;; #(
1631 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1632 *) { eval $ac_var=; unset $ac_var;} ;;
1637 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1638 *${as_nl}ac_space=\ *)
1640 "s/'\''/'\''\\\\'\'''\''/g;
1641 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1644 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1651 $as_echo "## ----------------- ##
1652 ## Output variables. ##
1653 ## ----------------- ##"
1655 for ac_var in $ac_subst_vars
1657 eval ac_val=\$$ac_var
1659 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1661 $as_echo "$ac_var='\''$ac_val'\''"
1665 if test -n "$ac_subst_files"; then
1666 $as_echo "## ------------------- ##
1667 ## File substitutions. ##
1668 ## ------------------- ##"
1670 for ac_var
in $ac_subst_files
1672 eval ac_val
=\$
$ac_var
1674 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1676 $as_echo "$ac_var='\''$ac_val'\''"
1681 if test -s confdefs.h; then
1682 $as_echo "## ----------- ##
1689 test "$ac_signal" != 0 &&
1690 $as_echo "$as_me: caught signal $ac_signal"
1691 $as_echo "$as_me: exit $exit_status"
1693 rm -f core *.core core.conftest.* &&
1694 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1697 for ac_signal
in 1 2 13 15; do
1698 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1702 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1703 rm -f -r conftest
* confdefs.h
1705 $as_echo "/* confdefs.h */" > confdefs.h
1707 # Predefined preprocessor variables.
1709 cat >>confdefs.h
<<_ACEOF
1710 #define PACKAGE_NAME "$PACKAGE_NAME"
1713 cat >>confdefs.h
<<_ACEOF
1714 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1717 cat >>confdefs.h
<<_ACEOF
1718 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1721 cat >>confdefs.h
<<_ACEOF
1722 #define PACKAGE_STRING "$PACKAGE_STRING"
1725 cat >>confdefs.h
<<_ACEOF
1726 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1729 cat >>confdefs.h
<<_ACEOF
1730 #define PACKAGE_URL "$PACKAGE_URL"
1734 # Let the site file select an alternate cache file if it wants to.
1735 # Prefer an explicitly selected file to automatically selected ones.
1738 if test -n "$CONFIG_SITE"; then
1739 # We do not want a PATH search for config.site.
1740 case $CONFIG_SITE in #((
1741 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1742 */*) ac_site_file1
=$CONFIG_SITE;;
1743 *) ac_site_file1
=.
/$CONFIG_SITE;;
1745 elif test "x$prefix" != xNONE
; then
1746 ac_site_file1
=$prefix/share
/config.site
1747 ac_site_file2
=$prefix/etc
/config.site
1749 ac_site_file1
=$ac_default_prefix/share
/config.site
1750 ac_site_file2
=$ac_default_prefix/etc
/config.site
1752 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1754 test "x$ac_site_file" = xNONE
&& continue
1755 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1757 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1758 sed 's/^/| /' "$ac_site_file" >&5
1760 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1762 as_fn_error $?
"failed to load site script $ac_site_file
1763 See \`config.log' for more details" "$LINENO" 5; }
1767 if test -r "$cache_file"; then
1768 # Some versions of bash will fail to source /dev/null (special files
1769 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1770 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1772 $as_echo "$as_me: loading cache $cache_file" >&6;}
1774 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1775 *) .
"./$cache_file";;
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1780 $as_echo "$as_me: creating cache $cache_file" >&6;}
1784 # Check that the precious variables saved in the cache have kept the same
1786 ac_cache_corrupted
=false
1787 for ac_var
in $ac_precious_vars; do
1788 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1789 eval ac_new_set
=\
$ac_env_${ac_var}_set
1790 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1791 eval ac_new_val
=\
$ac_env_${ac_var}_value
1792 case $ac_old_set,$ac_new_set in
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1795 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1796 ac_cache_corrupted
=: ;;
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1799 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1800 ac_cache_corrupted
=: ;;
1803 if test "x$ac_old_val" != "x$ac_new_val"; then
1804 # differences in whitespace do not lead to failure.
1805 ac_old_val_w
=`echo x $ac_old_val`
1806 ac_new_val_w
=`echo x $ac_new_val`
1807 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1809 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1810 ac_cache_corrupted
=:
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1813 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1814 eval $ac_var=\
$ac_old_val
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1817 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1819 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1822 # Pass precious variables to config.status.
1823 if test "$ac_new_set" = set; then
1825 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1826 *) ac_arg
=$ac_var=$ac_new_val ;;
1828 case " $ac_configure_args " in
1829 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1830 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1834 if $ac_cache_corrupted; then
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1838 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1839 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1841 ## -------------------- ##
1842 ## Main body of script. ##
1843 ## -------------------- ##
1846 ac_cpp
='$CPP $CPPFLAGS'
1847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1854 for ac_dir
in ..
"$srcdir"/..
; do
1855 if test -f "$ac_dir/install-sh"; then
1857 ac_install_sh
="$ac_aux_dir/install-sh -c"
1859 elif test -f "$ac_dir/install.sh"; then
1861 ac_install_sh
="$ac_aux_dir/install.sh -c"
1863 elif test -f "$ac_dir/shtool"; then
1865 ac_install_sh
="$ac_aux_dir/shtool install -c"
1869 if test -z "$ac_aux_dir"; then
1870 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
1873 # These three variables are undocumented and unsupported,
1874 # and are intended to be withdrawn in a future Autoconf release.
1875 # They can cause serious problems if a builder's source tree is in a directory
1876 # whose full name contains unusual characters.
1877 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1878 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1879 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1883 .
${srcdir}/configure.cygwin
1885 # Find a good install program. We prefer a C program (faster),
1886 # so one script is as good as another. But avoid the broken or
1887 # incompatible versions:
1888 # SysV /etc/install, /usr/sbin/install
1889 # SunOS /usr/etc/install
1890 # IRIX /sbin/install
1892 # AmigaOS /C/install, which installs bootblocks on floppy discs
1893 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1894 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1895 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1896 # OS/2's system install, which has a completely different semantic
1897 # ./install, which can be erroneously created by make from ./install.sh.
1898 # Reject install programs that cannot install multiple files.
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1900 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1901 if test -z "$INSTALL"; then
1902 if ${ac_cv_path_install+:} false
; then :
1903 $as_echo_n "(cached) " >&6
1905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1909 test -z "$as_dir" && as_dir
=.
1910 # Account for people who put trailing slashes in PATH elements.
1911 case $as_dir/ in #((
1912 .
/ | .
// |
/[cC
]/* | \
1913 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1914 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
1917 # OSF1 and SCO ODT 3.0 have their own names for install.
1918 # Don't use installbsd from OSF since it installs stuff as root
1920 for ac_prog
in ginstall scoinst
install; do
1921 for ac_exec_ext
in '' $ac_executable_extensions; do
1922 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
1923 if test $ac_prog = install &&
1924 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1925 # AIX install. It has an incompatible calling convention.
1927 elif test $ac_prog = install &&
1928 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1929 # program-specific install script used by HP pwplus--don't use.
1932 rm -rf conftest.one conftest.two conftest.dir
1933 echo one
> conftest.one
1934 echo two
> conftest.two
1936 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1937 test -s conftest.one
&& test -s conftest.two
&&
1938 test -s conftest.dir
/conftest.one
&&
1939 test -s conftest.dir
/conftest.two
1941 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1954 rm -rf conftest.one conftest.two conftest.dir
1957 if test "${ac_cv_path_install+set}" = set; then
1958 INSTALL
=$ac_cv_path_install
1960 # As a last resort, use the slow shell script. Don't cache a
1961 # value for INSTALL within a source directory, because that will
1962 # break other packages using the cache if that directory is
1963 # removed, or if the value is a relative name.
1964 INSTALL
=$ac_install_sh
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1968 $as_echo "$INSTALL" >&6; }
1970 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1971 # It thinks the first close brace ends the variable substitution.
1972 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1974 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1976 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1979 # Make sure we can run config.sub.
1980 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1981 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1984 $as_echo_n "checking build system type... " >&6; }
1985 if ${ac_cv_build+:} false
; then :
1986 $as_echo_n "(cached) " >&6
1988 ac_build_alias
=$build_alias
1989 test "x$ac_build_alias" = x
&&
1990 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1991 test "x$ac_build_alias" = x
&&
1992 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
1993 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1994 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1998 $as_echo "$ac_cv_build" >&6; }
1999 case $ac_cv_build in
2001 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2004 ac_save_IFS
=$IFS; IFS
='-'
2010 # Remember, the first character of IFS is used to create $*,
2011 # except with old shells:
2014 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2018 $as_echo_n "checking host system type... " >&6; }
2019 if ${ac_cv_host+:} false
; then :
2020 $as_echo_n "(cached) " >&6
2022 if test "x$host_alias" = x
; then
2023 ac_cv_host
=$ac_cv_build
2025 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2026 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2031 $as_echo "$ac_cv_host" >&6; }
2034 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2037 ac_save_IFS
=$IFS; IFS
='-'
2043 # Remember, the first character of IFS is used to create $*,
2044 # except with old shells:
2047 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2051 $as_echo_n "checking target system type... " >&6; }
2052 if ${ac_cv_target+:} false
; then :
2053 $as_echo_n "(cached) " >&6
2055 if test "x$target_alias" = x
; then
2056 ac_cv_target
=$ac_cv_host
2058 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2059 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2064 $as_echo "$ac_cv_target" >&6; }
2065 case $ac_cv_target in
2067 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2069 target
=$ac_cv_target
2070 ac_save_IFS
=$IFS; IFS
='-'
2076 # Remember, the first character of IFS is used to create $*,
2077 # except with old shells:
2080 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2083 # The aliases save the names the user supplied, while $host etc.
2084 # will get canonicalized.
2085 test -n "$target_alias" &&
2086 test "$program_prefix$program_suffix$program_transform_name" = \
2088 program_prefix
=${target_alias}-
2091 ac_cpp
='$CPP $CPPFLAGS'
2092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2095 if test -n "$ac_tool_prefix"; then
2096 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2097 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2099 $as_echo_n "checking for $ac_word... " >&6; }
2100 if ${ac_cv_prog_CC+:} false
; then :
2101 $as_echo_n "(cached) " >&6
2103 if test -n "$CC"; then
2104 ac_cv_prog_CC
="$CC" # Let the user override the test.
2106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2110 test -z "$as_dir" && as_dir
=.
2111 for ac_exec_ext
in '' $ac_executable_extensions; do
2112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2113 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 if test -n "$CC"; then
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2126 $as_echo "$CC" >&6; }
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2129 $as_echo "no" >&6; }
2134 if test -z "$ac_cv_prog_CC"; then
2136 # Extract the first word of "gcc", so it can be a program name with args.
2137 set dummy gcc
; ac_word
=$2
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2139 $as_echo_n "checking for $ac_word... " >&6; }
2140 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2141 $as_echo_n "(cached) " >&6
2143 if test -n "$ac_ct_CC"; then
2144 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2150 test -z "$as_dir" && as_dir
=.
2151 for ac_exec_ext
in '' $ac_executable_extensions; do
2152 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2153 ac_cv_prog_ac_ct_CC
="gcc"
2154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2163 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2164 if test -n "$ac_ct_CC"; then
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2166 $as_echo "$ac_ct_CC" >&6; }
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2169 $as_echo "no" >&6; }
2172 if test "x$ac_ct_CC" = x
; then
2175 case $cross_compiling:$ac_tool_warned in
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2179 ac_tool_warned
=yes ;;
2187 if test -z "$CC"; then
2188 if test -n "$ac_tool_prefix"; then
2189 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2190 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2192 $as_echo_n "checking for $ac_word... " >&6; }
2193 if ${ac_cv_prog_CC+:} false
; then :
2194 $as_echo_n "(cached) " >&6
2196 if test -n "$CC"; then
2197 ac_cv_prog_CC
="$CC" # Let the user override the test.
2199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2203 test -z "$as_dir" && as_dir
=.
2204 for ac_exec_ext
in '' $ac_executable_extensions; do
2205 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2206 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 if test -n "$CC"; then
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2219 $as_echo "$CC" >&6; }
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2222 $as_echo "no" >&6; }
2228 if test -z "$CC"; then
2229 # Extract the first word of "cc", so it can be a program name with args.
2230 set dummy cc
; ac_word
=$2
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2232 $as_echo_n "checking for $ac_word... " >&6; }
2233 if ${ac_cv_prog_CC+:} false
; then :
2234 $as_echo_n "(cached) " >&6
2236 if test -n "$CC"; then
2237 ac_cv_prog_CC
="$CC" # Let the user override the test.
2240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2244 test -z "$as_dir" && as_dir
=.
2245 for ac_exec_ext
in '' $ac_executable_extensions; do
2246 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2247 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2248 ac_prog_rejected
=yes
2252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 if test $ac_prog_rejected = yes; then
2260 # We found a bogon in the path, so make sure we never use it.
2261 set dummy
$ac_cv_prog_CC
2263 if test $# != 0; then
2264 # We chose a different compiler from the bogus one.
2265 # However, it has the same basename, so the bogon will be chosen
2266 # first if we set CC to just the basename; use the full file name.
2268 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2274 if test -n "$CC"; then
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2276 $as_echo "$CC" >&6; }
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2279 $as_echo "no" >&6; }
2284 if test -z "$CC"; then
2285 if test -n "$ac_tool_prefix"; then
2286 for ac_prog
in cl.exe
2288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2289 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2291 $as_echo_n "checking for $ac_word... " >&6; }
2292 if ${ac_cv_prog_CC+:} false
; then :
2293 $as_echo_n "(cached) " >&6
2295 if test -n "$CC"; then
2296 ac_cv_prog_CC
="$CC" # Let the user override the test.
2298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir
=.
2303 for ac_exec_ext
in '' $ac_executable_extensions; do
2304 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2305 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 if test -n "$CC"; then
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2318 $as_echo "$CC" >&6; }
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2321 $as_echo "no" >&6; }
2325 test -n "$CC" && break
2328 if test -z "$CC"; then
2330 for ac_prog
in cl.exe
2332 # Extract the first word of "$ac_prog", so it can be a program name with args.
2333 set dummy
$ac_prog; ac_word
=$2
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2335 $as_echo_n "checking for $ac_word... " >&6; }
2336 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2337 $as_echo_n "(cached) " >&6
2339 if test -n "$ac_ct_CC"; then
2340 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir
=.
2347 for ac_exec_ext
in '' $ac_executable_extensions; do
2348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2349 ac_cv_prog_ac_ct_CC
="$ac_prog"
2350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2362 $as_echo "$ac_ct_CC" >&6; }
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2365 $as_echo "no" >&6; }
2369 test -n "$ac_ct_CC" && break
2372 if test "x$ac_ct_CC" = x
; then
2375 case $cross_compiling:$ac_tool_warned in
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2379 ac_tool_warned
=yes ;;
2388 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2390 as_fn_error $?
"no acceptable C compiler found in \$PATH
2391 See \`config.log' for more details" "$LINENO" 5; }
2393 # Provide some information about the compiler.
2394 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2397 for ac_option
in --version -v -V -qversion; do
2398 { { ac_try
="$ac_compiler $ac_option >&5"
2400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2401 *) ac_try_echo=$ac_try;;
2403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2404 $as_echo "$ac_try_echo"; } >&5
2405 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2407 if test -s conftest.err; then
2409 ... rest of stderr output deleted ...
2410 10q' conftest.err >conftest.er1
2411 cat conftest.er1 >&5
2413 rm -f conftest.er1 conftest.err
2414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2415 test $ac_status = 0; }
2418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419 /* end confdefs.h. */
2429 if { { ac_try="$ac_link"
2431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2432 *) ac_try_echo
=$ac_try;;
2434 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2435 $as_echo "$ac_try_echo"; } >&5
2436 (eval "$ac_link") 2>&5
2438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2439 test $ac_status = 0; }; then
2441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2452 ac_clean_files_save
=$ac_clean_files
2453 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2454 # Try to create an executable without -o first, disregard a.out.
2455 # It will help us diagnose broken compilers, and finding out an intuition
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2458 $as_echo_n "checking whether the C compiler works... " >&6; }
2459 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2461 # The possible output files:
2462 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2465 for ac_file
in $ac_files
2468 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2469 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2474 if { { ac_try
="$ac_link_default"
2476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2480 $as_echo "$ac_try_echo"; } >&5
2481 (eval "$ac_link_default") 2>&5
2483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2484 test $ac_status = 0; }; then :
2485 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2486 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2487 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2488 # so that the user can short-circuit this test for compilers unknown to
2490 for ac_file in $ac_files ''
2492 test -f "$ac_file" || continue
2494 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2497 # We found the default executable, but exeext='' is most
2501 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2503 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2505 # We set ac_cv_exeext here because the later test for it is not
2506 # safe: cross compilers may not add the suffix if given an `-o'
2507 # argument, so we may need to know it at that point already.
2508 # Even if this section looks crufty: it has the advantage of
2515 test "$ac_cv_exeext" = no && ac_cv_exeext=
2520 if test -z "$ac_file"; then :
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2522 $as_echo "no" >&6; }
2523 $as_echo "$as_me: failed program was:" >&5
2524 sed 's
/^
/|
/' conftest.$ac_ext >&5
2526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2527 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2528 as_fn_error 77 "C compiler cannot create executables
2529 See \`config.log
' for more details" "$LINENO" 5; }
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2532 $as_echo "yes" >&6; }
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2535 $as_echo_n "checking for C compiler default output file name... " >&6; }
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2537 $as_echo "$ac_file" >&6; }
2538 ac_exeext=$ac_cv_exeext
2540 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2541 ac_clean_files=$ac_clean_files_save
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2543 $as_echo_n "checking for suffix of executables... " >&6; }
2544 if { { ac_try="$ac_link"
2546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547 *) ac_try_echo=$ac_try;;
2549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2550 $as_echo "$ac_try_echo"; } >&5
2551 (eval "$ac_link") 2>&5
2553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2554 test $ac_status = 0; }; then :
2555 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2556 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2557 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2559 for ac_file
in conftest.exe conftest conftest.
*; do
2560 test -f "$ac_file" ||
continue
2562 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2563 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2569 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2571 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2572 See \`config.log' for more details" "$LINENO" 5; }
2574 rm -f conftest conftest
$ac_cv_exeext
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2576 $as_echo "$ac_cv_exeext" >&6; }
2578 rm -f conftest.
$ac_ext
2579 EXEEXT
=$ac_cv_exeext
2581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2582 /* end confdefs.h. */
2587 FILE *f = fopen ("conftest.out", "w");
2588 return ferror (f) || fclose (f) != 0;
2594 ac_clean_files
="$ac_clean_files conftest.out"
2595 # Check that the compiler produces executables we can run. If not, either
2596 # the compiler is broken, or we cross compile.
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2598 $as_echo_n "checking whether we are cross compiling... " >&6; }
2599 if test "$cross_compiling" != yes; then
2600 { { ac_try
="$ac_link"
2602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2606 $as_echo "$ac_try_echo"; } >&5
2607 (eval "$ac_link") 2>&5
2609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2610 test $ac_status = 0; }
2611 if { ac_try='./conftest$ac_cv_exeext'
2612 { { case "(($ac_try" in
2613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2614 *) ac_try_echo
=$ac_try;;
2616 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2617 $as_echo "$ac_try_echo"; } >&5
2618 (eval "$ac_try") 2>&5
2620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2621 test $ac_status = 0; }; }; then
2624 if test "$cross_compiling" = maybe
; then
2627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629 as_fn_error $?
"cannot run C compiled programs.
2630 If you meant to cross compile, use \`--host'.
2631 See \`config.log' for more details" "$LINENO" 5; }
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2636 $as_echo "$cross_compiling" >&6; }
2638 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2639 ac_clean_files
=$ac_clean_files_save
2642 rm -f -r a.out a.exe b.out conftest.
$ac_ext conftest.o conftest.obj conftest.dSYM
2644 # Setting cross_compile will disable run tests; it will
2645 # also disable AC_CHECK_FILE but that's generally
2646 # correct if we can't link.
2649 # Check that the compiler produces executables we can run. If not, either
2650 # the compiler is broken, or we cross compile.
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2652 $as_echo_n "checking whether we are cross compiling... " >&6; }
2653 if test "$cross_compiling" != yes; then
2654 { { ac_try
="$ac_link"
2656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2660 $as_echo "$ac_try_echo"; } >&5
2661 (eval "$ac_link") 2>&5
2663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; }
2665 if { ac_try='./conftest$ac_cv_exeext'
2666 { { case "(($ac_try" in
2667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2668 *) ac_try_echo
=$ac_try;;
2670 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2671 $as_echo "$ac_try_echo"; } >&5
2672 (eval "$ac_try") 2>&5
2674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2675 test $ac_status = 0; }; }; then
2678 if test "$cross_compiling" = maybe
; then
2681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2683 as_fn_error $?
"cannot run C compiled programs.
2684 If you meant to cross compile, use \`--host'.
2685 See \`config.log' for more details" "$LINENO" 5; }
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2690 $as_echo "$cross_compiling" >&6; }
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2694 $as_echo_n "checking for suffix of object files... " >&6; }
2695 if ${ac_cv_objext+:} false
; then :
2696 $as_echo_n "(cached) " >&6
2698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2699 /* end confdefs.h. */
2709 rm -f conftest.o conftest.obj
2710 if { { ac_try
="$ac_compile"
2712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2716 $as_echo "$ac_try_echo"; } >&5
2717 (eval "$ac_compile") 2>&5
2719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2720 test $ac_status = 0; }; then :
2721 for ac_file in conftest.o conftest.obj conftest.*; do
2722 test -f "$ac_file" || continue;
2724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2725 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2730 $as_echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2735 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2736 See \
`config.log' for more details" "$LINENO" 5; }
2738 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2741 $as_echo "$ac_cv_objext" >&6; }
2742 OBJEXT=$ac_cv_objext
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2745 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2746 if ${ac_cv_c_compiler_gnu+:} false; then :
2747 $as_echo_n "(cached) " >&6
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2763 if ac_fn_c_try_compile "$LINENO"; then :
2768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2769 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2773 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2774 if test $ac_compiler_gnu = yes; then
2779 ac_test_CFLAGS=${CFLAGS+set}
2780 ac_save_CFLAGS=$CFLAGS
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2782 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2783 if ${ac_cv_prog_cc_g+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 ac_save_c_werror_flag=$ac_c_werror_flag
2787 ac_c_werror_flag=yes
2790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2801 if ac_fn_c_try_compile "$LINENO"; then :
2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2816 if ac_fn_c_try_compile "$LINENO"; then :
2819 ac_c_werror_flag=$ac_save_c_werror_flag
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2832 if ac_fn_c_try_compile "$LINENO"; then :
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 ac_c_werror_flag=$ac_save_c_werror_flag
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2843 $as_echo "$ac_cv_prog_cc_g" >&6; }
2844 if test "$ac_test_CFLAGS" = set; then
2845 CFLAGS=$ac_save_CFLAGS
2846 elif test $ac_cv_prog_cc_g = yes; then
2847 if test "$GCC" = yes; then
2853 if test "$GCC" = yes; then
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2860 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2861 if ${ac_cv_prog_cc_c89+:} false; then :
2862 $as_echo_n "(cached) " >&6
2864 ac_cv_prog_cc_c89=no
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2871 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2872 struct buf { int x; };
2873 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2874 static char *e (p, i)
2880 static char *f (char * (*g) (char **, int), char **p, ...)
2885 s = g (p, va_arg (v,int));
2890 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2891 function prototypes and stuff, but not '\xHH' hex character constants.
2892 These don't provoke an error unfortunately, instead are silently treated
2893 as 'x'. The following induces an error, until -std is added to get
2894 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2895 array size at least. It's necessary to write '\x00'==0 to get something
2896 that's true only with -std. */
2897 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2899 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2900 inside strings and character constants. */
2902 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2904 int test (int i, double x);
2905 struct s1 {int (*f) (int a);};
2906 struct s2 {int (*f) (double a);};
2907 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2913 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2918 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2919 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2921 CC="$ac_save_CC $ac_arg"
2922 if ac_fn_c_try_compile "$LINENO"; then :
2923 ac_cv_prog_cc_c89=$ac_arg
2925 rm -f core conftest.err conftest.$ac_objext
2926 test "x$ac_cv_prog_cc_c89" != "xno" && break
2928 rm -f conftest.$ac_ext
2933 case "x$ac_cv_prog_cc_c89" in
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2936 $as_echo "none needed" >&6; } ;;
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2939 $as_echo "unsupported" >&6; } ;;
2941 CC="$CC $ac_cv_prog_cc_c89"
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2943 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2945 if test "x$ac_cv_prog_cc_c89" != xno; then :
2950 ac_cpp='$CPP $CPPFLAGS'
2951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2956 ac_cpp='$CXXCPP $CPPFLAGS'
2957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2960 if test -z "$CXX"; then
2961 if test -n "$CCC"; then
2964 if test -n "$ac_tool_prefix"; then
2965 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2967 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2968 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 $as_echo_n "checking for $ac_word... " >&6; }
2971 if ${ac_cv_prog_CXX+:} false; then :
2972 $as_echo_n "(cached) " >&6
2974 if test -n "$CXX"; then
2975 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir=.
2982 for ac_exec_ext in '' $ac_executable_extensions; do
2983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2984 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 if test -n "$CXX"; then
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2997 $as_echo "$CXX" >&6; }
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3004 test -n "$CXX" && break
3007 if test -z "$CXX"; then
3009 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3011 # Extract the first word of "$ac_prog", so it can be a program name with args.
3012 set dummy $ac_prog; ac_word=$2
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3014 $as_echo_n "checking for $ac_word... " >&6; }
3015 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3016 $as_echo_n "(cached) " >&6
3018 if test -n "$ac_ct_CXX"; then
3019 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 test -z "$as_dir" && as_dir=.
3026 for ac_exec_ext in '' $ac_executable_extensions; do
3027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3028 ac_cv_prog_ac_ct_CXX="$ac_prog"
3029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3039 if test -n "$ac_ct_CXX"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3041 $as_echo "$ac_ct_CXX" >&6; }
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3044 $as_echo "no" >&6; }
3048 test -n "$ac_ct_CXX" && break
3051 if test "x$ac_ct_CXX" = x; then
3054 case $cross_compiling:$ac_tool_warned in
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3058 ac_tool_warned=yes ;;
3066 # Provide some information about the compiler.
3067 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3070 for ac_option in --version -v -V -qversion; do
3071 { { ac_try="$ac_compiler $ac_option >&5"
3073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3074 *) ac_try_echo
=$ac_try;;
3076 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3077 $as_echo "$ac_try_echo"; } >&5
3078 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3080 if test -s conftest.err
; then
3082 ... rest of stderr output deleted ...
3083 10q' conftest.err
>conftest.er1
3084 cat conftest.er1
>&5
3086 rm -f conftest.er1 conftest.err
3087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088 test $ac_status = 0; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3092 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3093 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3094 $as_echo_n "(cached) " >&6
3096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3110 if ac_fn_cxx_try_compile
"$LINENO"; then :
3115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3116 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3120 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3121 if test $ac_compiler_gnu = yes; then
3126 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3127 ac_save_CXXFLAGS
=$CXXFLAGS
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3129 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3130 if ${ac_cv_prog_cxx_g+:} false
; then :
3131 $as_echo_n "(cached) " >&6
3133 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3134 ac_cxx_werror_flag
=yes
3137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3148 if ac_fn_cxx_try_compile
"$LINENO"; then :
3149 ac_cv_prog_cxx_g
=yes
3152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3153 /* end confdefs.h. */
3163 if ac_fn_cxx_try_compile
"$LINENO"; then :
3166 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3179 if ac_fn_cxx_try_compile
"$LINENO"; then :
3180 ac_cv_prog_cxx_g
=yes
3182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3187 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3190 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3191 if test "$ac_test_CXXFLAGS" = set; then
3192 CXXFLAGS
=$ac_save_CXXFLAGS
3193 elif test $ac_cv_prog_cxx_g = yes; then
3194 if test "$GXX" = yes; then
3200 if test "$GXX" = yes; then
3207 ac_cpp
='$CPP $CPPFLAGS'
3208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3213 ac_cpp
='$CPP $CPPFLAGS'
3214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3218 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3219 # On Suns, sometimes $CPP names a directory.
3220 if test -n "$CPP" && test -d "$CPP"; then
3223 if test -z "$CPP"; then
3224 if ${ac_cv_prog_CPP+:} false
; then :
3225 $as_echo_n "(cached) " >&6
3227 # Double quotes because CPP needs to be expanded
3228 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3231 for ac_c_preproc_warn_flag
in '' yes
3233 # Use a header file that comes with gcc, so configuring glibc
3234 # with a fresh cross-compiler works.
3235 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3236 # <limits.h> exists even on freestanding compilers.
3237 # On the NeXT, cc -E runs the code through the compiler's parser,
3238 # not just through cpp. "Syntax error" is here to catch this case.
3239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3242 # include <limits.h>
3244 # include <assert.h>
3248 if ac_fn_c_try_cpp
"$LINENO"; then :
3251 # Broken: fails on valid input.
3254 rm -f conftest.err conftest.i conftest.
$ac_ext
3256 # OK, works on sane cases. Now check whether nonexistent headers
3257 # can be detected and how.
3258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3260 #include <ac_nonexistent.h>
3262 if ac_fn_c_try_cpp
"$LINENO"; then :
3263 # Broken: success on invalid input.
3266 # Passes both tests.
3270 rm -f conftest.err conftest.i conftest.
$ac_ext
3273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3274 rm -f conftest.i conftest.err conftest.
$ac_ext
3275 if $ac_preproc_ok; then :
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3288 $as_echo "$CPP" >&6; }
3290 for ac_c_preproc_warn_flag
in '' yes
3292 # Use a header file that comes with gcc, so configuring glibc
3293 # with a fresh cross-compiler works.
3294 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3295 # <limits.h> exists even on freestanding compilers.
3296 # On the NeXT, cc -E runs the code through the compiler's parser,
3297 # not just through cpp. "Syntax error" is here to catch this case.
3298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3301 # include <limits.h>
3303 # include <assert.h>
3307 if ac_fn_c_try_cpp
"$LINENO"; then :
3310 # Broken: fails on valid input.
3313 rm -f conftest.err conftest.i conftest.
$ac_ext
3315 # OK, works on sane cases. Now check whether nonexistent headers
3316 # can be detected and how.
3317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3319 #include <ac_nonexistent.h>
3321 if ac_fn_c_try_cpp
"$LINENO"; then :
3322 # Broken: success on invalid input.
3325 # Passes both tests.
3329 rm -f conftest.err conftest.i conftest.
$ac_ext
3332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3333 rm -f conftest.i conftest.err conftest.
$ac_ext
3334 if $ac_preproc_ok; then :
3337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3339 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3340 See \`config.log' for more details" "$LINENO" 5; }
3344 ac_cpp
='$CPP $CPPFLAGS'
3345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3350 ac_cpp
='$CPP $CPPFLAGS'
3351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3356 # Check whether --with-cross-bootstrap was given.
3357 if test "${with_cross_bootstrap+set}" = set; then :
3358 withval
=$with_cross_bootstrap;
3360 with_cross_bootstrap
=no
3365 ac_cpp
='$CXXCPP $CPPFLAGS'
3366 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3367 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3368 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3372 : ${ac_cv_prog_CXX:=$CXX}
3373 : ${ac_cv_prog_CC:=$CC}
3375 cygwin_headers
=$
(realdirpath
"$winsup_srcdir/cygwin/include")
3376 if test -z "$cygwin_headers"; then
3377 as_fn_error $?
"cannot find $winsup_srcdir/cygwin/include directory" "$LINENO" 5
3380 newlib_headers
=$
(realdirpath
$winsup_srcdir/..
/newlib
/libc
/include
)
3381 if test -z "$newlib_headers"; then
3382 as_fn_error $?
"cannot find newlib source directory: $winsup_srcdir/../newlib/libc/include" "$LINENO" 5
3384 newlib_headers
="$target_builddir/newlib/targ-include $newlib_headers"
3386 INCLUDES
="-I${srcdir}/../cygwin -I${target_builddir}/winsup/cygwin"
3387 INCLUDES
="${INCLUDES} -isystem ${cygwin_headers}"
3388 for h
in ${newlib_headers}; do
3389 INCLUDES
="${INCLUDES} -isystem $h"
3396 subdirs
="$subdirs cygwin cygserver doc testsuite"
3398 if test "x$with_cross_bootstrap" != "xyes"; then
3399 subdirs
="$subdirs utils"
3403 ac_config_files
="$ac_config_files Makefile"
3405 cat >confcache
<<\_ACEOF
3406 # This file is a shell script that caches the results of configure
3407 # tests run on this system so they can be shared between configure
3408 # scripts and configure runs, see configure's option --config-cache.
3409 # It is not useful on other systems. If it contains results you don't
3410 # want to keep, you may remove or edit it.
3412 # config.status only pays attention to the cache file if you give it
3413 # the --recheck option to rerun configure.
3415 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3416 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3421 # The following way of writing the cache mishandles newlines in values,
3422 # but we know of no workaround that is simple, portable, and efficient.
3423 # So, we kill variables containing newlines.
3424 # Ultrix sh set writes to stderr and can't be redirected directly,
3425 # and sets the high bit in the cache file unless we assign to the vars.
3427 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3428 eval ac_val
=\$
$ac_var
3432 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3433 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3436 _ | IFS | as_nl
) ;; #(
3437 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3438 *) { eval $ac_var=; unset $ac_var;} ;;
3444 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3445 *${as_nl}ac_space
=\
*)
3446 # `set' does not quote correctly, so add quotes: double-quote
3447 # substitution turns \\\\ into \\, and sed turns \\ into \.
3450 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3453 # `set' quotes correctly as required by POSIX, so do not add quotes.
3454 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3463 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3465 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3467 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3468 if test -w "$cache_file"; then
3469 if test "x$cache_file" != "x/dev/null"; then
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3471 $as_echo "$as_me: updating cache $cache_file" >&6;}
3472 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3473 cat confcache
>"$cache_file"
3475 case $cache_file in #(
3477 mv -f confcache
"$cache_file"$$
&&
3478 mv -f "$cache_file"$$
"$cache_file" ;; #(
3480 mv -f confcache
"$cache_file" ;;
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3486 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3491 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3492 # Let make expand exec_prefix.
3493 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3495 # Transform confdefs.h into DEFS.
3496 # Protect against shell expansion while executing Makefile rules.
3497 # Protect against Makefile macro expansion.
3499 # If the first sed substitution is executed (which looks for macros that
3500 # take arguments), then branch to the quote section. Otherwise,
3501 # look for a macro that doesn't take arguments.
3511 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3513 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3517 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3530 DEFS
=`sed -n "$ac_script" confdefs.h`
3536 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3537 # 1. Remove the extension, and $U if already installed.
3538 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3539 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3540 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3541 # will be set to the directory where LIBOBJS objects are built.
3542 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3543 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3547 LTLIBOBJS
=$ac_ltlibobjs
3551 : "${CONFIG_STATUS=./config.status}"
3553 ac_clean_files_save
=$ac_clean_files
3554 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3556 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3558 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3560 # Generated by $as_me.
3561 # Run this file to recreate the current configuration.
3562 # Compiler output produced by configure, useful for debugging
3563 # configure, is in config.log if it exists.
3569 SHELL=\${CONFIG_SHELL-$SHELL}
3572 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3573 ## -------------------- ##
3574 ## M4sh Initialization. ##
3575 ## -------------------- ##
3577 # Be more Bourne compatible
3578 DUALCASE
=1; export DUALCASE
# for MKS sh
3579 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3582 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3583 # is contrary to our usage. Disable this feature.
3584 alias -g '${1+"$@"}'='"$@"'
3585 setopt NO_GLOB_SUBST
3587 case `(set -o) 2>/dev/null` in #(
3599 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3600 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3601 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3602 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3603 # Prefer a ksh shell builtin over an external printf program on Solaris,
3604 # but without wasting forks for bash or zsh.
3605 if test -z "$BASH_VERSION$ZSH_VERSION" \
3606 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3607 as_echo='print
-r --'
3608 as_echo_n='print
-rn --'
3609 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3610 as_echo='printf %s
\n'
3611 as_echo_n='printf %s
'
3613 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3614 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3615 as_echo_n='/usr
/ucb
/echo -n'
3617 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3618 as_echo_n_body='eval
3622 expr "X$arg" : "X\\(.*\\)$as_nl";
3623 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3625 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3627 export as_echo_n_body
3628 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3631 as_echo='sh
-c $as_echo_body as_echo
'
3634 # The user is always right.
3635 if test "${PATH_SEPARATOR+set}" != set; then
3637 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3638 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3645 # We need space, tab and new line, in precisely that order. Quoting is
3646 # there to prevent editors from complaining about space-tab.
3647 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3648 # splitting by setting IFS to empty value.)
3651 # Find who we are. Look in the path if we contain no directory separator.
3654 *[\\/]* ) as_myself=$0 ;;
3655 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3659 test -z "$as_dir" && as_dir=.
3660 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3666 # We did not find ourselves, most probably we were run as `sh COMMAND'
3667 # in which case we are not to be found in the path.
3668 if test "x$as_myself" = x
; then
3671 if test ! -f "$as_myself"; then
3672 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3676 # Unset variables that we do not need and which cause bugs (e.g. in
3677 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3678 # suppresses any "Segmentation fault" message there. '((' could
3679 # trigger a bug in pdksh 5.2.14.
3680 for as_var
in BASH_ENV ENV MAIL MAILPATH
3681 do eval test x\
${$as_var+set} = xset \
3682 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3695 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3698 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3699 # ----------------------------------------
3700 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3701 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3702 # script with STATUS, using 1 if that was 0.
3705 as_status
=$1; test $as_status -eq 0 && as_status
=1
3707 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3708 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3710 $as_echo "$as_me: error: $2" >&2
3711 as_fn_exit
$as_status
3715 # as_fn_set_status STATUS
3716 # -----------------------
3717 # Set $? to STATUS, without forking.
3721 } # as_fn_set_status
3725 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3735 # Portably unset VAR.
3738 { eval $1=; unset $1;}
3740 as_unset
=as_fn_unset
3741 # as_fn_append VAR VALUE
3742 # ----------------------
3743 # Append the text in VALUE to the end of the definition contained in VAR. Take
3744 # advantage of any shell optimizations that allow amortized linear growth over
3745 # repeated appends, instead of the typical quadratic growth present in naive
3747 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3748 eval 'as_fn_append ()
3759 # as_fn_arith ARG...
3760 # ------------------
3761 # Perform arithmetic evaluation on the ARGs, and store the result in the
3762 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3763 # must be portable across $(()) and expr.
3764 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3765 eval 'as_fn_arith ()
3772 as_val
=`expr "$@" || test $? -eq 1`
3777 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3778 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3784 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3785 as_basename
=basename
3790 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3796 as_me
=`$as_basename -- "$0" ||
3797 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3798 X"$0" : 'X\(//\)$' \| \
3799 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3801 sed '/^.*\/\([^/][^/]*\)\/*$/{
3815 # Avoid depending upon Character Ranges.
3816 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3817 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3818 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3819 as_cr_digits
='0123456789'
3820 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3822 ECHO_C
= ECHO_N
= ECHO_T
=
3823 case `echo -n x` in #(((((
3825 case `echo 'xy\c'` in
3826 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3828 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3835 rm -f conf$$ conf$$.exe conf$$.
file
3836 if test -d conf$$.dir
; then
3837 rm -f conf$$.dir
/conf$$.
file
3840 mkdir conf$$.dir
2>/dev
/null
3842 if (echo >conf$$.
file) 2>/dev
/null
; then
3843 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3845 # ... but there are two gotchas:
3846 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3847 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3848 # In both cases, we have to default to `cp -pR'.
3849 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3851 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3859 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3860 rmdir conf$$.dir
2>/dev
/null
3865 # Create "$as_dir" as a directory, including parents if necessary.
3870 -*) as_dir
=.
/$as_dir;;
3872 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3876 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3877 *) as_qdir
=$as_dir;;
3879 as_dirs
="'$as_qdir' $as_dirs"
3880 as_dir
=`$as_dirname -- "$as_dir" ||
3881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3882 X"$as_dir" : 'X\(//\)[^/]' \| \
3883 X"$as_dir" : 'X\(//\)$' \| \
3884 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3885 $as_echo X"$as_dir" |
3886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3903 test -d "$as_dir" && break
3905 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3906 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
3910 if mkdir
-p .
2>/dev
/null
; then
3911 as_mkdir_p
='mkdir -p "$as_dir"'
3913 test -d .
/-p && rmdir .
/-p
3918 # as_fn_executable_p FILE
3919 # -----------------------
3920 # Test if FILE is an executable regular file.
3921 as_fn_executable_p
()
3923 test -f "$1" && test -x "$1"
3924 } # as_fn_executable_p
3926 as_executable_p
=as_fn_executable_p
3928 # Sed expression to map a string onto a valid CPP name.
3929 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3931 # Sed expression to map a string onto a valid variable name.
3932 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3936 ## ----------------------------------- ##
3937 ## Main body of $CONFIG_STATUS script. ##
3938 ## ----------------------------------- ##
3940 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3943 # Save the log message, to keep $0 and so on meaningful, and to
3944 # report actual input values of CONFIG_FILES etc. instead of their
3945 # values after options handling.
3947 This file was extended by Cygwin toplevel $as_me 0, which was
3948 generated by GNU Autoconf 2.69. Invocation command line was
3950 CONFIG_FILES = $CONFIG_FILES
3951 CONFIG_HEADERS = $CONFIG_HEADERS
3952 CONFIG_LINKS = $CONFIG_LINKS
3953 CONFIG_COMMANDS = $CONFIG_COMMANDS
3956 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3961 case $ac_config_files in *"
3962 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3968 # Files that config.status was made for.
3969 config_files="$ac_config_files"
3973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3975 \`$as_me' instantiates files and other configuration actions
3976 from templates according to the current configuration. Unless the files
3977 and actions are specified as TAGs, all are instantiated by default.
3979 Usage: $0 [OPTION]... [TAG]...
3981 -h, --help print this help, then exit
3982 -V, --version print version number and configuration settings, then exit
3983 --config print configuration, then exit
3984 -q, --quiet, --silent
3985 do not print progress messages
3986 -d, --debug don't remove temporary files
3987 --recheck update $as_me by reconfiguring in the same conditions
3988 --file=FILE[:TEMPLATE]
3989 instantiate the configuration file FILE
3991 Configuration files:
3994 Report bugs to <cygwin@cygwin.com>.
3995 Cygwin toplevel home page: <https://cygwin.com>."
3998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3999 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4001 Cygwin toplevel config.status 0
4002 configured by $0, generated by GNU Autoconf 2.69,
4003 with options \\"\$ac_cs_config\\"
4005 Copyright (C) 2012 Free Software Foundation, Inc.
4006 This config.status script is free software; the Free Software Foundation
4007 gives unlimited permission to copy, distribute and modify it."
4012 test -n "\$AWK" || AWK=awk
4015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4016 # The default lists apply if the user does not specify any file.
4022 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4023 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4027 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4039 # Handling of the options.
4040 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4042 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4043 $as_echo "$ac_cs_version"; exit ;;
4044 --config |
--confi |
--conf |
--con |
--co |
--c )
4045 $as_echo "$ac_cs_config"; exit ;;
4046 --debug |
--debu |
--deb |
--de |
--d |
-d )
4048 --file |
--fil |
--fi |
--f )
4051 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4052 '') as_fn_error $?
"missing file argument" ;;
4054 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4055 ac_need_defaults
=false
;;
4056 --he |
--h |
--help |
--hel |
-h )
4057 $as_echo "$ac_cs_usage"; exit ;;
4058 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4059 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4063 -*) as_fn_error $?
"unrecognized option: \`$1'
4064 Try \`$0 --help' for more information." ;;
4066 *) as_fn_append ac_config_targets
" $1"
4067 ac_need_defaults
=false
;;
4073 ac_configure_extra_args
=
4075 if $ac_cs_silent; then
4077 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4082 if \$ac_cs_recheck; then
4083 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4085 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4086 CONFIG_SHELL='$SHELL'
4092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4096 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4097 ## Running $as_me. ##
4103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4108 # Handling of arguments.
4109 for ac_config_target
in $ac_config_targets
4111 case $ac_config_target in
4112 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4114 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4119 # If the user did not use the arguments to specify the items to instantiate,
4120 # then the envvar interface is used. Set only those that are not.
4121 # We use the long form for the default assignment because of an extremely
4122 # bizarre bug on SunOS 4.1.3.
4123 if $ac_need_defaults; then
4124 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4127 # Have a temporary directory for convenience. Make it in the build tree
4128 # simply because there is no reason against having it here, and in addition,
4129 # creating and moving files from /tmp can sometimes cause problems.
4130 # Hook for its removal unless debugging.
4131 # Note that there is a small window in which the directory will not be cleaned:
4132 # after its creation but before its name has been assigned to `$tmp'.
4136 trap 'exit_status=$?
4138 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4140 trap 'as_fn_exit 1' 1 2 13 15
4142 # Create a (secure) tmp directory for tmp files.
4145 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4149 tmp
=.
/conf$$
-$RANDOM
4150 (umask 077 && mkdir
"$tmp")
4151 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4154 # Set up the scripts for CONFIG_FILES section.
4155 # No need to generate them if there are no CONFIG_FILES.
4156 # This happens for instance with `./config.status config.h'.
4157 if test -n "$CONFIG_FILES"; then
4160 ac_cr
=`echo X | tr X '\015'`
4161 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4162 # But we know of no other shell where ac_cr would be empty at this
4163 # point, so we can use a bashism as a fallback.
4164 if test "x$ac_cr" = x
; then
4165 eval ac_cr
=\$
\'\\r
\'
4167 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4168 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4174 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4179 echo "cat >conf$$subs.awk <<_ACEOF" &&
4180 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4183 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4184 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4186 for ac_last_try in false false false false false :; do
4187 . ./conf$$subs.sh ||
4188 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4190 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4191 if test $ac_delim_n = $ac_delim_num; then
4193 elif $ac_last_try; then
4194 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4196 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4202 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4206 s/^/S["/; s
/!.
*/"]=/
4216 s/\(.\{148\}\)..*/\1/
4218 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4223 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4230 s/\(.\{148\}\)..*/\1/
4232 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4236 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4241 ' <conf$$subs.awk | sed '
4246 ' >>$CONFIG_STATUS || ac_write_fail=1
4247 rm -f conf$$subs.awk
4248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4250 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4251 for (key in S) S_is_set[key] = 1
4257 nfields = split(line, field, "@
")
4259 len = length(field[1])
4260 for (i = 2; i < nfields; i++) {
4262 keylen = length(key)
4263 if (S_is_set[key]) {
4265 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4266 len += length(value) + length(field[++i])
4277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4278 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4279 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4282 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4283 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4286 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4287 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4288 # trailing colons and then remove the whole line if VPATH becomes empty
4289 # (actually we leave an empty line to preserve line numbers).
4290 if test "x
$srcdir" = x.; then
4291 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4310 fi # test -n "$CONFIG_FILES"
4313 eval set X " :F
$CONFIG_FILES "
4318 :[FHLC]) ac_mode=$ac_tag; continue;;
4320 case $ac_mode$ac_tag in
4322 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4323 :[FH]-) ac_tag=-:-;;
4324 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4341 -) ac_f="$ac_tmp/stdin";;
4342 *) # Look for the file first in the build tree, then in the source tree
4343 # (if the path is not absolute). The absolute path cannot be DOS-style,
4344 # because $ac_f cannot contain `:'.
4348 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4350 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4352 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4353 as_fn_append ac_file_inputs " '$ac_f'"
4356 # Let's still pretend it is `configure' which instantiates (i.e., don't
4357 # use $as_me), people would be surprised to read:
4358 # /* config.h. Generated by config.status. */
4359 configure_input='Generated from '`
4360 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4362 if test x"$ac_file" != x-; then
4363 configure_input="$ac_file.
$configure_input"
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4365 $as_echo "$as_me: creating
$ac_file" >&6;}
4367 # Neutralize special characters interpreted by sed in replacement strings.
4368 case $configure_input in #(
4369 *\&* | *\|* | *\\* )
4370 ac_sed_conf_input=`$as_echo "$configure_input" |
4371 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4372 *) ac_sed_conf_input=$configure_input;;
4376 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4377 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4382 ac_dir=`$as_dirname -- "$ac_file" ||
4383 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4384 X"$ac_file" : 'X\(//\)[^/]' \| \
4385 X"$ac_file" : 'X\(//\)$' \| \
4386 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4387 $as_echo X"$ac_file" |
4388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4405 as_dir="$ac_dir"; as_fn_mkdir_p
4409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4411 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4412 # A "..
" for each directory in $ac_dir_suffix.
4413 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4414 case $ac_top_builddir_sub in
4415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4419 ac_abs_top_builddir=$ac_pwd
4420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4421 # for backward compatibility:
4422 ac_top_builddir=$ac_top_build_prefix
4425 .) # We are building in place.
4427 ac_top_srcdir=$ac_top_builddir_sub
4428 ac_abs_top_srcdir=$ac_pwd ;;
4429 [\\/]* | ?:[\\/]* ) # Absolute name.
4430 ac_srcdir=$srcdir$ac_dir_suffix;
4431 ac_top_srcdir=$srcdir
4432 ac_abs_top_srcdir=$srcdir ;;
4434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4435 ac_top_srcdir=$ac_top_build_prefix$srcdir
4436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4448 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4449 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4454 # If the template does not know about datarootdir, expand it.
4455 # FIXME: This hack should be removed a few years after 2.60.
4456 ac_datarootdir_hack=; ac_datarootdir_seen=
4467 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4468 *datarootdir*) ac_datarootdir_seen=yes;;
4469 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4471 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4474 ac_datarootdir_hack='
4475 s&@datadir@&$datadir&g
4476 s&@docdir@&$docdir&g
4477 s&@infodir@&$infodir&g
4478 s&@localedir@&$localedir&g
4479 s&@mandir@&$mandir&g
4480 s&\\\${datarootdir}&$datarootdir&g' ;;
4484 # Neutralize VPATH when `$srcdir' = `.'.
4485 # Shell code in configure.ac might set extrasub.
4486 # FIXME: do we really want to maintain this feature?
4487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4488 ac_sed_extra="$ac_vpsub
4491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4493 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4494 s|@configure_input@|
$ac_sed_conf_input|
;t t
4495 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4496 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4497 s
&@srcdir@
&$ac_srcdir&;t t
4498 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4499 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4500 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4501 s
&@builddir@
&$ac_builddir&;t t
4502 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4503 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4504 s
&@INSTALL@
&$ac_INSTALL&;t t
4505 $ac_datarootdir_hack
4507 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4508 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4510 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4511 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4512 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4513 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4515 which seems to be undefined. Please make sure it is defined" >&5
4516 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4517 which seems to be undefined. Please make sure it is defined" >&2;}
4519 rm -f "$ac_tmp/stdin"
4521 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4522 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4524 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4536 ac_clean_files=$ac_clean_files_save
4538 test $ac_write_fail = 0 ||
4539 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4542 # configure is writing to config.log, and then calls config.status.
4543 # config.status does its own redirection, appending to config.log.
4544 # Unfortunately, on DOS this fails, as config.log is still kept open
4545 # by configure, so config.status won't be able to
write to it
; its
4546 # output is simply discarded. So we exec the FD to /dev/null,
4547 # effectively closing config.log, so it can be properly (re)opened and
4548 # appended to by config.status. When coming back to configure, we
4549 # need to make the FD available again.
4550 if test "$no_create" != yes; then
4552 ac_config_status_args
=
4553 test "$silent" = yes &&
4554 ac_config_status_args
="$ac_config_status_args --quiet"
4556 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4558 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4559 # would make configure fail if this is the last instruction.
4560 $ac_cs_success || as_fn_exit
1
4564 # CONFIG_SUBDIRS section.
4566 if test "$no_recursion" != yes; then
4568 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4569 # so they do not pile up.
4570 ac_sub_configure_args
=
4572 eval "set x $ac_configure_args"
4576 if test -n "$ac_prev"; then
4581 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
4582 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
4583 ac_prev
=cache_file
;;
4584 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
4585 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
4588 --config-cache |
-C)
4590 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
4592 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
4594 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
4596 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
4598 --disable-option-checking)
4602 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4604 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
4608 # Always prepend --prefix to ensure using the same prefix
4609 # in subdir configurations.
4610 ac_arg
="--prefix=$prefix"
4612 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4614 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
4617 if test "$silent" = yes; then
4618 ac_sub_configure_args
="--silent $ac_sub_configure_args"
4621 # Always prepend --disable-option-checking to silence warnings, since
4622 # different subdirs can have different --enable and --with options.
4623 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
4626 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
4628 # Do not complain, so a configure script can configure whichever
4629 # parts of a large source tree are present.
4630 test -d "$srcdir/$ac_dir" ||
continue
4632 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4633 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4634 $as_echo "$ac_msg" >&6
4635 as_dir
="$ac_dir"; as_fn_mkdir_p
4639 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4641 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4642 # A ".." for each directory in $ac_dir_suffix.
4643 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4644 case $ac_top_builddir_sub in
4645 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4646 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4649 ac_abs_top_builddir
=$ac_pwd
4650 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4651 # for backward compatibility:
4652 ac_top_builddir
=$ac_top_build_prefix
4655 .
) # We are building in place.
4657 ac_top_srcdir
=$ac_top_builddir_sub
4658 ac_abs_top_srcdir
=$ac_pwd ;;
4659 [\\/]* | ?
:[\\/]* ) # Absolute name.
4660 ac_srcdir
=$srcdir$ac_dir_suffix;
4661 ac_top_srcdir
=$srcdir
4662 ac_abs_top_srcdir
=$srcdir ;;
4664 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4665 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4666 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4668 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4673 # Check for guested configure; otherwise get Cygnus style configure.
4674 if test -f "$ac_srcdir/configure.gnu"; then
4675 ac_sub_configure
=$ac_srcdir/configure.gnu
4676 elif test -f "$ac_srcdir/configure"; then
4677 ac_sub_configure
=$ac_srcdir/configure
4678 elif test -f "$ac_srcdir/configure.in"; then
4679 # This should be Cygnus configure.
4680 ac_sub_configure
=$ac_aux_dir/configure
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4683 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4687 # The recursion is here.
4688 if test -n "$ac_sub_configure"; then
4689 # Make the cache file name correct relative to the subdirectory.
4691 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
4693 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4697 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4698 # The eval makes quoting arguments work.
4699 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4700 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4701 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4707 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4709 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}