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
652 program_transform_name
667 enable_option_checking
672 ac_precious_vars
='build_alias
684 ac_subdirs_all
='cygwin cygserver doc
687 # Initialize some variables set by options.
689 ac_init_version
=false
690 ac_unrecognized_opts
=
692 # The variables have the same names as the options, with
693 # dashes changed to underlines.
701 program_transform_name
=s
,x
,x
,
709 # Installation directory options.
710 # These are left unexpanded so users can "make install exec_prefix=/foo"
711 # and all the variables that are supposed to be based on exec_prefix
712 # by default will actually change.
713 # Use braces instead of parens because sh, perl, etc. also accept them.
714 # (The list follows the same order as the GNU Coding Standards.)
715 bindir
='${exec_prefix}/bin'
716 sbindir
='${exec_prefix}/sbin'
717 libexecdir
='${exec_prefix}/libexec'
718 datarootdir
='${prefix}/share'
719 datadir
='${datarootdir}'
720 sysconfdir
='${prefix}/etc'
721 sharedstatedir
='${prefix}/com'
722 localstatedir
='${prefix}/var'
723 includedir
='${prefix}/include'
724 oldincludedir
='/usr/include'
725 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
726 infodir
='${datarootdir}/info'
731 libdir
='${exec_prefix}/lib'
732 localedir
='${datarootdir}/locale'
733 mandir
='${datarootdir}/man'
739 # If the previous option needs an argument, assign it.
740 if test -n "$ac_prev"; then
741 eval $ac_prev=\
$ac_option
747 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
752 # Accept the important Cygnus configure options, so we can diagnose typos.
754 case $ac_dashdash$ac_option in
758 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
760 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
763 -build |
--build |
--buil |
--bui |
--bu)
764 ac_prev
=build_alias
;;
765 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
766 build_alias
=$ac_optarg ;;
768 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
769 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
770 ac_prev
=cache_file
;;
771 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
772 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
773 cache_file
=$ac_optarg ;;
776 cache_file
=config.cache
;;
778 -datadir |
--datadir |
--datadi |
--datad)
780 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
781 datadir
=$ac_optarg ;;
783 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
784 |
--dataroo |
--dataro |
--datar)
785 ac_prev
=datarootdir
;;
786 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
787 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
788 datarootdir
=$ac_optarg ;;
790 -disable-* |
--disable-*)
791 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
792 # Reject names that are not valid shell variable names.
793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
794 as_fn_error $?
"invalid feature name: $ac_useropt"
795 ac_useropt_orig
=$ac_useropt
796 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
797 case $ac_user_opts in
801 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
802 ac_unrecognized_sep
=', ';;
804 eval enable_
$ac_useropt=no
;;
806 -docdir |
--docdir |
--docdi |
--doc |
--do)
808 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
811 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
813 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
816 -enable-* |
--enable-*)
817 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
818 # Reject names that are not valid shell variable names.
819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
820 as_fn_error $?
"invalid feature name: $ac_useropt"
821 ac_useropt_orig
=$ac_useropt
822 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
823 case $ac_user_opts in
827 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
828 ac_unrecognized_sep
=', ';;
830 eval enable_
$ac_useropt=\
$ac_optarg ;;
832 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
833 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
834 |
--exec |
--exe |
--ex)
835 ac_prev
=exec_prefix
;;
836 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
837 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
838 |
--exec=* |
--exe=* |
--ex=*)
839 exec_prefix
=$ac_optarg ;;
841 -gas |
--gas |
--ga |
--g)
842 # Obsolete; use --with-gas.
845 -help |
--help |
--hel |
--he |
-h)
847 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
848 ac_init_help
=recursive
;;
849 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
850 ac_init_help
=short
;;
852 -host |
--host |
--hos |
--ho)
853 ac_prev
=host_alias
;;
854 -host=* |
--host=* |
--hos=* |
--ho=*)
855 host_alias
=$ac_optarg ;;
857 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
859 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
861 htmldir
=$ac_optarg ;;
863 -includedir |
--includedir |
--includedi |
--included |
--include \
864 |
--includ |
--inclu |
--incl |
--inc)
865 ac_prev
=includedir
;;
866 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
867 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
868 includedir
=$ac_optarg ;;
870 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
872 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
873 infodir
=$ac_optarg ;;
875 -libdir |
--libdir |
--libdi |
--libd)
877 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
880 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
881 |
--libexe |
--libex |
--libe)
882 ac_prev
=libexecdir
;;
883 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
884 |
--libexe=* |
--libex=* |
--libe=*)
885 libexecdir
=$ac_optarg ;;
887 -localedir |
--localedir |
--localedi |
--localed |
--locale)
889 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
890 localedir
=$ac_optarg ;;
892 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
893 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
894 ac_prev
=localstatedir
;;
895 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
896 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
897 localstatedir
=$ac_optarg ;;
899 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
901 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
905 # Obsolete; use --without-fp.
908 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
909 |
--no-cr |
--no-c |
-n)
912 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
913 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
916 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
917 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
918 |
--oldin |
--oldi |
--old |
--ol |
--o)
919 ac_prev
=oldincludedir
;;
920 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
921 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
922 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
923 oldincludedir
=$ac_optarg ;;
925 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
927 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
930 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
931 |
--program-pre |
--program-pr |
--program-p)
932 ac_prev
=program_prefix
;;
933 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
934 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
935 program_prefix
=$ac_optarg ;;
937 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
938 |
--program-suf |
--program-su |
--program-s)
939 ac_prev
=program_suffix
;;
940 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
941 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
942 program_suffix
=$ac_optarg ;;
944 -program-transform-name |
--program-transform-name \
945 |
--program-transform-nam |
--program-transform-na \
946 |
--program-transform-n |
--program-transform- \
947 |
--program-transform |
--program-transfor \
948 |
--program-transfo |
--program-transf \
949 |
--program-trans |
--program-tran \
950 |
--progr-tra |
--program-tr |
--program-t)
951 ac_prev
=program_transform_name
;;
952 -program-transform-name=* |
--program-transform-name=* \
953 |
--program-transform-nam=* |
--program-transform-na=* \
954 |
--program-transform-n=* |
--program-transform-=* \
955 |
--program-transform=* |
--program-transfor=* \
956 |
--program-transfo=* |
--program-transf=* \
957 |
--program-trans=* |
--program-tran=* \
958 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
959 program_transform_name
=$ac_optarg ;;
961 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
963 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
966 -psdir |
--psdir |
--psdi |
--psd |
--ps)
968 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
971 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
972 |
-silent |
--silent |
--silen |
--sile |
--sil)
975 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
977 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
979 sbindir
=$ac_optarg ;;
981 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
982 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
983 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
985 ac_prev
=sharedstatedir
;;
986 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
987 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
988 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
990 sharedstatedir
=$ac_optarg ;;
992 -site |
--site |
--sit)
994 -site=* |
--site=* |
--sit=*)
997 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
999 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1000 srcdir
=$ac_optarg ;;
1002 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1003 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1004 ac_prev
=sysconfdir
;;
1005 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1006 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1007 sysconfdir
=$ac_optarg ;;
1009 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1010 ac_prev
=target_alias
;;
1011 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1012 target_alias
=$ac_optarg ;;
1014 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1017 -version |
--version |
--versio |
--versi |
--vers |
-V)
1018 ac_init_version
=: ;;
1021 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1024 as_fn_error $?
"invalid package name: $ac_useropt"
1025 ac_useropt_orig
=$ac_useropt
1026 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1031 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1032 ac_unrecognized_sep
=', ';;
1034 eval with_
$ac_useropt=\
$ac_optarg ;;
1036 -without-* |
--without-*)
1037 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1040 as_fn_error $?
"invalid package name: $ac_useropt"
1041 ac_useropt_orig
=$ac_useropt
1042 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1047 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1048 ac_unrecognized_sep
=', ';;
1050 eval with_
$ac_useropt=no
;;
1053 # Obsolete; use --with-x.
1056 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1057 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1058 ac_prev
=x_includes
;;
1059 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1060 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1061 x_includes
=$ac_optarg ;;
1063 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1064 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1065 ac_prev
=x_libraries
;;
1066 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1067 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1068 x_libraries
=$ac_optarg ;;
1070 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1071 Try \`$0 --help' for more information"
1075 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1076 # Reject names that are not valid shell variable names.
1077 case $ac_envvar in #(
1078 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1079 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1081 eval $ac_envvar=\
$ac_optarg
1082 export $ac_envvar ;;
1085 # FIXME: should be removed in autoconf 3.0.
1086 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1087 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1088 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1089 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1095 if test -n "$ac_prev"; then
1096 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1097 as_fn_error $?
"missing argument to $ac_option"
1100 if test -n "$ac_unrecognized_opts"; then
1101 case $enable_option_checking in
1103 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1104 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1108 # Check all directory arguments for consistency.
1109 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1110 datadir sysconfdir sharedstatedir localstatedir includedir \
1111 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1112 libdir localedir mandir
1114 eval ac_val
=\$
$ac_var
1115 # Remove trailing slashes.
1118 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1119 eval $ac_var=\
$ac_val;;
1121 # Be sure to have absolute directory names.
1123 [\\/$
]* | ?
:[\\/]* ) continue;;
1124 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1126 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1129 # There might be people who depend on the old broken behavior: `$host'
1130 # used to hold the argument of --host etc.
1131 # FIXME: To remove some day.
1134 target
=$target_alias
1136 # FIXME: To remove some day.
1137 if test "x$host_alias" != x
; then
1138 if test "x$build_alias" = x
; then
1139 cross_compiling
=maybe
1140 elif test "x$build_alias" != "x$host_alias"; then
1146 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1148 test "$silent" = yes && exec 6>/dev
/null
1151 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1152 ac_ls_di
=`ls -di .` &&
1153 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1154 as_fn_error $?
"working directory cannot be determined"
1155 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1156 as_fn_error $?
"pwd does not report name of working directory"
1159 # Find the source files, if location was not specified.
1160 if test -z "$srcdir"; then
1161 ac_srcdir_defaulted
=yes
1162 # Try the directory containing this script, then the parent directory.
1163 ac_confdir
=`$as_dirname -- "$as_myself" ||
1164 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1165 X"$as_myself" : 'X\(//\)[^/]' \| \
1166 X"$as_myself" : 'X\(//\)$' \| \
1167 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1168 $as_echo X"$as_myself" |
1169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1187 if test ! -r "$srcdir/$ac_unique_file"; then
1191 ac_srcdir_defaulted
=no
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1194 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1195 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1197 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1199 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1201 # When building in place, set srcdir=.
1202 if test "$ac_abs_confdir" = "$ac_pwd"; then
1205 # Remove unnecessary trailing slashes from srcdir.
1206 # Double slashes in file names in object file debugging info
1207 # mess up M-x gdb in Emacs.
1209 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1211 for ac_var
in $ac_precious_vars; do
1212 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1213 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1214 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1215 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1219 # Report the --help message.
1221 if test "$ac_init_help" = "long"; then
1222 # Omit some internal or obsolete options to make the list less imposing.
1223 # This message is too long to be a string in the A/UX 3.1 sh.
1225 \`configure' configures Cygwin toplevel 0 to adapt to many kinds of systems.
1227 Usage: $0 [OPTION]... [VAR=VALUE]...
1229 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1230 VAR=VALUE. See below for descriptions of some of the useful variables.
1232 Defaults for the options are specified in brackets.
1235 -h, --help display this help and exit
1236 --help=short display options specific to this package
1237 --help=recursive display the short help of all the included packages
1238 -V, --version display version information and exit
1239 -q, --quiet, --silent do not print \`checking ...' messages
1240 --cache-file=FILE cache test results in FILE [disabled]
1241 -C, --config-cache alias for \`--cache-file=config.cache'
1242 -n, --no-create do not create output files
1243 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1245 Installation directories:
1246 --prefix=PREFIX install architecture-independent files in PREFIX
1247 [$ac_default_prefix]
1248 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1251 By default, \`make install' will install all the files in
1252 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1253 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1254 for instance \`--prefix=\$HOME'.
1256 For better control, use the options below.
1258 Fine tuning of the installation directories:
1259 --bindir=DIR user executables [EPREFIX/bin]
1260 --sbindir=DIR system admin executables [EPREFIX/sbin]
1261 --libexecdir=DIR program executables [EPREFIX/libexec]
1262 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1263 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1264 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1265 --libdir=DIR object code libraries [EPREFIX/lib]
1266 --includedir=DIR C header files [PREFIX/include]
1267 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1268 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1269 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1270 --infodir=DIR info documentation [DATAROOTDIR/info]
1271 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1272 --mandir=DIR man documentation [DATAROOTDIR/man]
1273 --docdir=DIR documentation root [DATAROOTDIR/doc/cygwin]
1274 --htmldir=DIR html documentation [DOCDIR]
1275 --dvidir=DIR dvi documentation [DOCDIR]
1276 --pdfdir=DIR pdf documentation [DOCDIR]
1277 --psdir=DIR ps documentation [DOCDIR]
1283 --build=BUILD configure
for building on BUILD
[guessed
]
1284 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1285 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1289 if test -n "$ac_init_help"; then
1290 case $ac_init_help in
1291 short | recursive
) echo "Configuration of Cygwin toplevel 0:";;
1296 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1297 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1298 --with-cross-bootstrap do not build programs using the mingw toolchain or
1299 check
for mingw libraries
(useful
for bootstrapping
1301 --with-windows-headers=DIR
1302 specify where the windows includes are located
1303 --with-windows-libs=DIR specify where the windows libraries are located
1305 Some influential environment variables
:
1306 CC C compiler
command
1307 CFLAGS C compiler flags
1308 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1309 nonstandard directory
<lib dir
>
1310 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1311 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1312 you have headers
in a nonstandard directory
<include dir
>
1313 CXX C
++ compiler
command
1314 CXXFLAGS C
++ compiler flags
1317 Use these variables to override the choices made by
`configure' or to help
1318 it to find libraries and programs with nonstandard names/locations.
1320 Report bugs to <cygwin@cygwin.com>.
1321 Cygwin toplevel home page: <https://cygwin.com>.
1326 if test "$ac_init_help" = "recursive"; then
1327 # If there are subdirs, report their specific --help.
1328 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1329 test -d "$ac_dir" ||
1330 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1338 # A ".." for each directory in $ac_dir_suffix.
1339 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1340 case $ac_top_builddir_sub in
1341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1345 ac_abs_top_builddir=$ac_pwd
1346 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1347 # for backward compatibility:
1348 ac_top_builddir=$ac_top_build_prefix
1351 .) # We are building in place.
1353 ac_top_srcdir=$ac_top_builddir_sub
1354 ac_abs_top_srcdir=$ac_pwd ;;
1355 [\\/]* | ?:[\\/]* ) # Absolute name.
1356 ac_srcdir=$srcdir$ac_dir_suffix;
1357 ac_top_srcdir=$srcdir
1358 ac_abs_top_srcdir=$srcdir ;;
1360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1361 ac_top_srcdir=$ac_top_build_prefix$srcdir
1362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1366 cd "$ac_dir" || { ac_status=$?; continue; }
1367 # Check for guested configure.
1368 if test -f "$ac_srcdir/configure.gnu"; then
1370 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1371 elif test -f "$ac_srcdir/configure"; then
1373 $SHELL "$ac_srcdir/configure" --help=recursive
1375 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 cd "$ac_pwd" || { ac_status=$?; break; }
1381 test -n "$ac_init_help" && exit $ac_status
1382 if $ac_init_version; then
1384 Cygwin toplevel configure 0
1385 generated by GNU Autoconf 2.69
1387 Copyright (C) 2012 Free Software Foundation, Inc.
1388 This configure script is free software; the Free Software Foundation
1389 gives unlimited permission to copy, distribute and modify it.
1394 ## ------------------------ ##
1395 ## Autoconf initialization. ##
1396 ## ------------------------ ##
1398 # ac_fn_c_try_compile LINENO
1399 # --------------------------
1400 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1401 ac_fn_c_try_compile ()
1403 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1404 rm -f conftest.$ac_objext
1405 if { { ac_try="$ac_compile"
1407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1408 *) ac_try_echo
=$ac_try;;
1410 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1411 $as_echo "$ac_try_echo"; } >&5
1412 (eval "$ac_compile") 2>conftest.err
1414 if test -s conftest.err
; then
1415 grep -v '^ *+' conftest.err
>conftest.er1
1416 cat conftest.er1
>&5
1417 mv -f conftest.er1 conftest.err
1419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1420 test $ac_status = 0; } && {
1421 test -z "$ac_c_werror_flag" ||
1422 test ! -s conftest.err
1423 } && test -s conftest.
$ac_objext; then :
1426 $as_echo "$as_me: failed program was:" >&5
1427 sed 's/^/| /' conftest.
$ac_ext >&5
1431 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1432 as_fn_set_status
$ac_retval
1434 } # ac_fn_c_try_compile
1436 # ac_fn_cxx_try_compile LINENO
1437 # ----------------------------
1438 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1439 ac_fn_cxx_try_compile
()
1441 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1442 rm -f conftest.
$ac_objext
1443 if { { ac_try
="$ac_compile"
1445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1446 *) ac_try_echo=$ac_try;;
1448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449 $as_echo "$ac_try_echo"; } >&5
1450 (eval "$ac_compile") 2>conftest.err
1452 if test -s conftest.err; then
1453 grep -v '^ *+' conftest.err >conftest.er1
1454 cat conftest.er1 >&5
1455 mv -f conftest.er1 conftest.err
1457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1458 test $ac_status = 0; } && {
1459 test -z "$ac_cxx_werror_flag" ||
1460 test ! -s conftest.err
1461 } && test -s conftest.$ac_objext; then :
1464 $as_echo "$as_me: failed program was:" >&5
1465 sed 's/^/| /' conftest.$ac_ext >&5
1469 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1470 as_fn_set_status $ac_retval
1472 } # ac_fn_cxx_try_compile
1474 # ac_fn_c_try_cpp LINENO
1475 # ----------------------
1476 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1479 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1480 if { { ac_try="$ac_cpp conftest.$ac_ext"
1482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1483 *) ac_try_echo
=$ac_try;;
1485 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1486 $as_echo "$ac_try_echo"; } >&5
1487 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1489 if test -s conftest.err
; then
1490 grep -v '^ *+' conftest.err
>conftest.er1
1491 cat conftest.er1
>&5
1492 mv -f conftest.er1 conftest.err
1494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1495 test $ac_status = 0; } > conftest.i
&& {
1496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1497 test ! -s conftest.err
1501 $as_echo "$as_me: failed program was:" >&5
1502 sed 's/^/| /' conftest.
$ac_ext >&5
1506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1507 as_fn_set_status
$ac_retval
1510 cat >config.log
<<_ACEOF
1511 This file contains any messages produced by compilers while
1512 running configure, to aid debugging if configure makes a mistake.
1514 It was created by Cygwin toplevel $as_me 0, which was
1515 generated by GNU Autoconf 2.69. Invocation command line was
1527 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1528 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1529 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1530 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1531 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1533 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1534 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1536 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1537 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1538 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1539 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1540 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1541 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1542 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1550 test -z "$as_dir" && as_dir
=.
1551 $as_echo "PATH: $as_dir"
1567 # Keep a trace of the command line.
1568 # Strip out --no-create and --no-recursion so they do not pile up.
1569 # Strip out --silent because we don't want to record it for future runs.
1570 # Also quote any args containing shell meta-characters.
1571 # Make two passes to allow for proper duplicate-argument suppression.
1575 ac_must_keep_next
=false
1581 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1582 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1583 |
-silent |
--silent |
--silen |
--sile |
--sil)
1586 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1589 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1591 as_fn_append ac_configure_args1
" '$ac_arg'"
1592 if test $ac_must_keep_next = true
; then
1593 ac_must_keep_next
=false
# Got value, back to normal.
1596 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1597 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1598 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1599 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1600 case "$ac_configure_args0 " in
1601 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1604 -* ) ac_must_keep_next
=true
;;
1607 as_fn_append ac_configure_args
" '$ac_arg'"
1612 { ac_configure_args0
=; unset ac_configure_args0
;}
1613 { ac_configure_args1
=; unset ac_configure_args1
;}
1615 # When interrupted or exit'd, cleanup temporary files, and complete
1616 # config.log. We remove comments because anyway the quotes in there
1617 # would cause problems or look ugly.
1618 # WARNING: Use '\'' to represent an apostrophe within the trap.
1619 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1620 trap 'exit_status=$?
1621 # Save into config.log some information that might help in debugging.
1625 $as_echo "## ---------------- ##
1626 ## Cache variables. ##
1627 ## ---------------- ##"
1629 # The following way of writing the cache mishandles newlines in values,
1631 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1632 eval ac_val=\$$ac_var
1636 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1637 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1640 _ | IFS | as_nl) ;; #(
1641 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1642 *) { eval $ac_var=; unset $ac_var;} ;;
1647 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1648 *${as_nl}ac_space=\ *)
1650 "s/'\''/'\''\\\\'\'''\''/g;
1651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1654 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1661 $as_echo "## ----------------- ##
1662 ## Output variables. ##
1663 ## ----------------- ##"
1665 for ac_var in $ac_subst_vars
1667 eval ac_val=\$$ac_var
1669 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1671 $as_echo "$ac_var='\''$ac_val'\''"
1675 if test -n "$ac_subst_files"; then
1676 $as_echo "## ------------------- ##
1677 ## File substitutions. ##
1678 ## ------------------- ##"
1680 for ac_var
in $ac_subst_files
1682 eval ac_val
=\$
$ac_var
1684 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1686 $as_echo "$ac_var='\''$ac_val'\''"
1691 if test -s confdefs.h; then
1692 $as_echo "## ----------- ##
1699 test "$ac_signal" != 0 &&
1700 $as_echo "$as_me: caught signal $ac_signal"
1701 $as_echo "$as_me: exit $exit_status"
1703 rm -f core *.core core.conftest.* &&
1704 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1707 for ac_signal
in 1 2 13 15; do
1708 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1712 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1713 rm -f -r conftest
* confdefs.h
1715 $as_echo "/* confdefs.h */" > confdefs.h
1717 # Predefined preprocessor variables.
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE_NAME "$PACKAGE_NAME"
1723 cat >>confdefs.h
<<_ACEOF
1724 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1727 cat >>confdefs.h
<<_ACEOF
1728 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1731 cat >>confdefs.h
<<_ACEOF
1732 #define PACKAGE_STRING "$PACKAGE_STRING"
1735 cat >>confdefs.h
<<_ACEOF
1736 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1739 cat >>confdefs.h
<<_ACEOF
1740 #define PACKAGE_URL "$PACKAGE_URL"
1744 # Let the site file select an alternate cache file if it wants to.
1745 # Prefer an explicitly selected file to automatically selected ones.
1748 if test -n "$CONFIG_SITE"; then
1749 # We do not want a PATH search for config.site.
1750 case $CONFIG_SITE in #((
1751 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1752 */*) ac_site_file1
=$CONFIG_SITE;;
1753 *) ac_site_file1
=.
/$CONFIG_SITE;;
1755 elif test "x$prefix" != xNONE
; then
1756 ac_site_file1
=$prefix/share
/config.site
1757 ac_site_file2
=$prefix/etc
/config.site
1759 ac_site_file1
=$ac_default_prefix/share
/config.site
1760 ac_site_file2
=$ac_default_prefix/etc
/config.site
1762 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1764 test "x$ac_site_file" = xNONE
&& continue
1765 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1767 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1768 sed 's/^/| /' "$ac_site_file" >&5
1770 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1772 as_fn_error $?
"failed to load site script $ac_site_file
1773 See \`config.log' for more details" "$LINENO" 5; }
1777 if test -r "$cache_file"; then
1778 # Some versions of bash will fail to source /dev/null (special files
1779 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1780 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1782 $as_echo "$as_me: loading cache $cache_file" >&6;}
1784 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1785 *) .
"./$cache_file";;
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1790 $as_echo "$as_me: creating cache $cache_file" >&6;}
1794 # Check that the precious variables saved in the cache have kept the same
1796 ac_cache_corrupted
=false
1797 for ac_var
in $ac_precious_vars; do
1798 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1799 eval ac_new_set
=\
$ac_env_${ac_var}_set
1800 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1801 eval ac_new_val
=\
$ac_env_${ac_var}_value
1802 case $ac_old_set,$ac_new_set in
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1805 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1806 ac_cache_corrupted
=: ;;
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1809 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1810 ac_cache_corrupted
=: ;;
1813 if test "x$ac_old_val" != "x$ac_new_val"; then
1814 # differences in whitespace do not lead to failure.
1815 ac_old_val_w
=`echo x $ac_old_val`
1816 ac_new_val_w
=`echo x $ac_new_val`
1817 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1819 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1820 ac_cache_corrupted
=:
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1823 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1824 eval $ac_var=\
$ac_old_val
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1827 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1829 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1832 # Pass precious variables to config.status.
1833 if test "$ac_new_set" = set; then
1835 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1836 *) ac_arg
=$ac_var=$ac_new_val ;;
1838 case " $ac_configure_args " in
1839 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1840 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1844 if $ac_cache_corrupted; then
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1848 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1849 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1851 ## -------------------- ##
1852 ## Main body of script. ##
1853 ## -------------------- ##
1856 ac_cpp
='$CPP $CPPFLAGS'
1857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1864 for ac_dir
in ..
"$srcdir"/..
; do
1865 if test -f "$ac_dir/install-sh"; then
1867 ac_install_sh
="$ac_aux_dir/install-sh -c"
1869 elif test -f "$ac_dir/install.sh"; then
1871 ac_install_sh
="$ac_aux_dir/install.sh -c"
1873 elif test -f "$ac_dir/shtool"; then
1875 ac_install_sh
="$ac_aux_dir/shtool install -c"
1879 if test -z "$ac_aux_dir"; then
1880 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
1883 # These three variables are undocumented and unsupported,
1884 # and are intended to be withdrawn in a future Autoconf release.
1885 # They can cause serious problems if a builder's source tree is in a directory
1886 # whose full name contains unusual characters.
1887 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1888 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1889 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1893 .
${srcdir}/configure.cygwin
1895 # Find a good install program. We prefer a C program (faster),
1896 # so one script is as good as another. But avoid the broken or
1897 # incompatible versions:
1898 # SysV /etc/install, /usr/sbin/install
1899 # SunOS /usr/etc/install
1900 # IRIX /sbin/install
1902 # AmigaOS /C/install, which installs bootblocks on floppy discs
1903 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1904 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1905 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1906 # OS/2's system install, which has a completely different semantic
1907 # ./install, which can be erroneously created by make from ./install.sh.
1908 # Reject install programs that cannot install multiple files.
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1910 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1911 if test -z "$INSTALL"; then
1912 if ${ac_cv_path_install+:} false
; then :
1913 $as_echo_n "(cached) " >&6
1915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1919 test -z "$as_dir" && as_dir
=.
1920 # Account for people who put trailing slashes in PATH elements.
1921 case $as_dir/ in #((
1922 .
/ | .
// |
/[cC
]/* | \
1923 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1924 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
1927 # OSF1 and SCO ODT 3.0 have their own names for install.
1928 # Don't use installbsd from OSF since it installs stuff as root
1930 for ac_prog
in ginstall scoinst
install; do
1931 for ac_exec_ext
in '' $ac_executable_extensions; do
1932 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
1933 if test $ac_prog = install &&
1934 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1935 # AIX install. It has an incompatible calling convention.
1937 elif test $ac_prog = install &&
1938 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1939 # program-specific install script used by HP pwplus--don't use.
1942 rm -rf conftest.one conftest.two conftest.dir
1943 echo one
> conftest.one
1944 echo two
> conftest.two
1946 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1947 test -s conftest.one
&& test -s conftest.two
&&
1948 test -s conftest.dir
/conftest.one
&&
1949 test -s conftest.dir
/conftest.two
1951 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1964 rm -rf conftest.one conftest.two conftest.dir
1967 if test "${ac_cv_path_install+set}" = set; then
1968 INSTALL
=$ac_cv_path_install
1970 # As a last resort, use the slow shell script. Don't cache a
1971 # value for INSTALL within a source directory, because that will
1972 # break other packages using the cache if that directory is
1973 # removed, or if the value is a relative name.
1974 INSTALL
=$ac_install_sh
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1978 $as_echo "$INSTALL" >&6; }
1980 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1981 # It thinks the first close brace ends the variable substitution.
1982 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1984 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1986 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1989 # Make sure we can run config.sub.
1990 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1991 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1994 $as_echo_n "checking build system type... " >&6; }
1995 if ${ac_cv_build+:} false
; then :
1996 $as_echo_n "(cached) " >&6
1998 ac_build_alias
=$build_alias
1999 test "x$ac_build_alias" = x
&&
2000 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2001 test "x$ac_build_alias" = x
&&
2002 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2003 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2004 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2008 $as_echo "$ac_cv_build" >&6; }
2009 case $ac_cv_build in
2011 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2014 ac_save_IFS
=$IFS; IFS
='-'
2020 # Remember, the first character of IFS is used to create $*,
2021 # except with old shells:
2024 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2028 $as_echo_n "checking host system type... " >&6; }
2029 if ${ac_cv_host+:} false
; then :
2030 $as_echo_n "(cached) " >&6
2032 if test "x$host_alias" = x
; then
2033 ac_cv_host
=$ac_cv_build
2035 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2036 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2041 $as_echo "$ac_cv_host" >&6; }
2044 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2047 ac_save_IFS
=$IFS; IFS
='-'
2053 # Remember, the first character of IFS is used to create $*,
2054 # except with old shells:
2057 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2061 $as_echo_n "checking target system type... " >&6; }
2062 if ${ac_cv_target+:} false
; then :
2063 $as_echo_n "(cached) " >&6
2065 if test "x$target_alias" = x
; then
2066 ac_cv_target
=$ac_cv_host
2068 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2069 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2074 $as_echo "$ac_cv_target" >&6; }
2075 case $ac_cv_target in
2077 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2079 target
=$ac_cv_target
2080 ac_save_IFS
=$IFS; IFS
='-'
2086 # Remember, the first character of IFS is used to create $*,
2087 # except with old shells:
2090 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2093 # The aliases save the names the user supplied, while $host etc.
2094 # will get canonicalized.
2095 test -n "$target_alias" &&
2096 test "$program_prefix$program_suffix$program_transform_name" = \
2098 program_prefix
=${target_alias}-
2101 ac_cpp
='$CPP $CPPFLAGS'
2102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2105 if test -n "$ac_tool_prefix"; then
2106 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2107 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2109 $as_echo_n "checking for $ac_word... " >&6; }
2110 if ${ac_cv_prog_CC+:} false
; then :
2111 $as_echo_n "(cached) " >&6
2113 if test -n "$CC"; then
2114 ac_cv_prog_CC
="$CC" # Let the user override the test.
2116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir
=.
2121 for ac_exec_ext
in '' $ac_executable_extensions; do
2122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2123 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2134 if test -n "$CC"; then
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2136 $as_echo "$CC" >&6; }
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2139 $as_echo "no" >&6; }
2144 if test -z "$ac_cv_prog_CC"; then
2146 # Extract the first word of "gcc", so it can be a program name with args.
2147 set dummy gcc
; ac_word
=$2
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2149 $as_echo_n "checking for $ac_word... " >&6; }
2150 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2151 $as_echo_n "(cached) " >&6
2153 if test -n "$ac_ct_CC"; then
2154 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir
=.
2161 for ac_exec_ext
in '' $ac_executable_extensions; do
2162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_ac_ct_CC
="gcc"
2164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2174 if test -n "$ac_ct_CC"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2176 $as_echo "$ac_ct_CC" >&6; }
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2179 $as_echo "no" >&6; }
2182 if test "x$ac_ct_CC" = x
; then
2185 case $cross_compiling:$ac_tool_warned in
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2189 ac_tool_warned
=yes ;;
2197 if test -z "$CC"; then
2198 if test -n "$ac_tool_prefix"; then
2199 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2200 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2202 $as_echo_n "checking for $ac_word... " >&6; }
2203 if ${ac_cv_prog_CC+:} false
; then :
2204 $as_echo_n "(cached) " >&6
2206 if test -n "$CC"; then
2207 ac_cv_prog_CC
="$CC" # Let the user override the test.
2209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir
=.
2214 for ac_exec_ext
in '' $ac_executable_extensions; do
2215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2216 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 if test -n "$CC"; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2229 $as_echo "$CC" >&6; }
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2232 $as_echo "no" >&6; }
2238 if test -z "$CC"; then
2239 # Extract the first word of "cc", so it can be a program name with args.
2240 set dummy cc
; ac_word
=$2
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2242 $as_echo_n "checking for $ac_word... " >&6; }
2243 if ${ac_cv_prog_CC+:} false
; then :
2244 $as_echo_n "(cached) " >&6
2246 if test -n "$CC"; then
2247 ac_cv_prog_CC
="$CC" # Let the user override the test.
2250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir
=.
2255 for ac_exec_ext
in '' $ac_executable_extensions; do
2256 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2257 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2258 ac_prog_rejected
=yes
2262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 if test $ac_prog_rejected = yes; then
2270 # We found a bogon in the path, so make sure we never use it.
2271 set dummy
$ac_cv_prog_CC
2273 if test $# != 0; then
2274 # We chose a different compiler from the bogus one.
2275 # However, it has the same basename, so the bogon will be chosen
2276 # first if we set CC to just the basename; use the full file name.
2278 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2284 if test -n "$CC"; then
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2286 $as_echo "$CC" >&6; }
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2289 $as_echo "no" >&6; }
2294 if test -z "$CC"; then
2295 if test -n "$ac_tool_prefix"; then
2296 for ac_prog
in cl.exe
2298 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2299 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2301 $as_echo_n "checking for $ac_word... " >&6; }
2302 if ${ac_cv_prog_CC+:} false
; then :
2303 $as_echo_n "(cached) " >&6
2305 if test -n "$CC"; then
2306 ac_cv_prog_CC
="$CC" # Let the user override the test.
2308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir
=.
2313 for ac_exec_ext
in '' $ac_executable_extensions; do
2314 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2315 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 if test -n "$CC"; then
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2328 $as_echo "$CC" >&6; }
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2331 $as_echo "no" >&6; }
2335 test -n "$CC" && break
2338 if test -z "$CC"; then
2340 for ac_prog
in cl.exe
2342 # Extract the first word of "$ac_prog", so it can be a program name with args.
2343 set dummy
$ac_prog; ac_word
=$2
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2345 $as_echo_n "checking for $ac_word... " >&6; }
2346 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2347 $as_echo_n "(cached) " >&6
2349 if test -n "$ac_ct_CC"; then
2350 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2356 test -z "$as_dir" && as_dir
=.
2357 for ac_exec_ext
in '' $ac_executable_extensions; do
2358 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2359 ac_cv_prog_ac_ct_CC
="$ac_prog"
2360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2370 if test -n "$ac_ct_CC"; then
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2372 $as_echo "$ac_ct_CC" >&6; }
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2375 $as_echo "no" >&6; }
2379 test -n "$ac_ct_CC" && break
2382 if test "x$ac_ct_CC" = x
; then
2385 case $cross_compiling:$ac_tool_warned in
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2389 ac_tool_warned
=yes ;;
2398 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2400 as_fn_error $?
"no acceptable C compiler found in \$PATH
2401 See \`config.log' for more details" "$LINENO" 5; }
2403 # Provide some information about the compiler.
2404 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2407 for ac_option
in --version -v -V -qversion; do
2408 { { ac_try
="$ac_compiler $ac_option >&5"
2410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2411 *) ac_try_echo=$ac_try;;
2413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2414 $as_echo "$ac_try_echo"; } >&5
2415 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2417 if test -s conftest.err; then
2419 ... rest of stderr output deleted ...
2420 10q' conftest.err >conftest.er1
2421 cat conftest.er1 >&5
2423 rm -f conftest.er1 conftest.err
2424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2425 test $ac_status = 0; }
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2439 if { { ac_try="$ac_link"
2441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2442 *) ac_try_echo
=$ac_try;;
2444 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2445 $as_echo "$ac_try_echo"; } >&5
2446 (eval "$ac_link") 2>&5
2448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2449 test $ac_status = 0; }; then
2451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2462 ac_clean_files_save
=$ac_clean_files
2463 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2464 # Try to create an executable without -o first, disregard a.out.
2465 # It will help us diagnose broken compilers, and finding out an intuition
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2468 $as_echo_n "checking whether the C compiler works... " >&6; }
2469 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2471 # The possible output files:
2472 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2475 for ac_file
in $ac_files
2478 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2479 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2484 if { { ac_try
="$ac_link_default"
2486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2487 *) ac_try_echo=$ac_try;;
2489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2490 $as_echo "$ac_try_echo"; } >&5
2491 (eval "$ac_link_default") 2>&5
2493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2494 test $ac_status = 0; }; then :
2495 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2496 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2497 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2498 # so that the user can short-circuit this test for compilers unknown to
2500 for ac_file in $ac_files ''
2502 test -f "$ac_file" || continue
2504 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2507 # We found the default executable, but exeext='' is most
2511 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2513 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2515 # We set ac_cv_exeext here because the later test for it is not
2516 # safe: cross compilers may not add the suffix if given an `-o'
2517 # argument, so we may need to know it at that point already.
2518 # Even if this section looks crufty: it has the advantage of
2525 test "$ac_cv_exeext" = no && ac_cv_exeext=
2530 if test -z "$ac_file"; then :
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532 $as_echo "no" >&6; }
2533 $as_echo "$as_me: failed program was:" >&5
2534 sed 's
/^
/|
/' conftest.$ac_ext >&5
2536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2537 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2538 as_fn_error 77 "C compiler cannot create executables
2539 See \`config.log
' for more details" "$LINENO" 5; }
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2542 $as_echo "yes" >&6; }
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2545 $as_echo_n "checking for C compiler default output file name... " >&6; }
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2547 $as_echo "$ac_file" >&6; }
2548 ac_exeext=$ac_cv_exeext
2550 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2551 ac_clean_files=$ac_clean_files_save
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2553 $as_echo_n "checking for suffix of executables... " >&6; }
2554 if { { ac_try="$ac_link"
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2560 $as_echo "$ac_try_echo"; } >&5
2561 (eval "$ac_link") 2>&5
2563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2564 test $ac_status = 0; }; then :
2565 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2566 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2567 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2569 for ac_file
in conftest.exe conftest conftest.
*; do
2570 test -f "$ac_file" ||
continue
2572 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2573 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2581 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2582 See \`config.log' for more details" "$LINENO" 5; }
2584 rm -f conftest conftest
$ac_cv_exeext
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2586 $as_echo "$ac_cv_exeext" >&6; }
2588 rm -f conftest.
$ac_ext
2589 EXEEXT
=$ac_cv_exeext
2591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2592 /* end confdefs.h. */
2597 FILE *f = fopen ("conftest.out", "w");
2598 return ferror (f) || fclose (f) != 0;
2604 ac_clean_files
="$ac_clean_files conftest.out"
2605 # Check that the compiler produces executables we can run. If not, either
2606 # the compiler is broken, or we cross compile.
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2608 $as_echo_n "checking whether we are cross compiling... " >&6; }
2609 if test "$cross_compiling" != yes; then
2610 { { ac_try
="$ac_link"
2612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2613 *) ac_try_echo=$ac_try;;
2615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2616 $as_echo "$ac_try_echo"; } >&5
2617 (eval "$ac_link") 2>&5
2619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620 test $ac_status = 0; }
2621 if { ac_try='./conftest$ac_cv_exeext'
2622 { { case "(($ac_try" in
2623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2624 *) ac_try_echo
=$ac_try;;
2626 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2627 $as_echo "$ac_try_echo"; } >&5
2628 (eval "$ac_try") 2>&5
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; }; }; then
2634 if test "$cross_compiling" = maybe
; then
2637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2639 as_fn_error $?
"cannot run C compiled programs.
2640 If you meant to cross compile, use \`--host'.
2641 See \`config.log' for more details" "$LINENO" 5; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2646 $as_echo "$cross_compiling" >&6; }
2648 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2649 ac_clean_files
=$ac_clean_files_save
2652 rm -f -r a.out a.exe b.out conftest.
$ac_ext conftest.o conftest.obj conftest.dSYM
2654 # Setting cross_compile will disable run tests; it will
2655 # also disable AC_CHECK_FILE but that's generally
2656 # correct if we can't link.
2659 # Check that the compiler produces executables we can run. If not, either
2660 # the compiler is broken, or we cross compile.
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2662 $as_echo_n "checking whether we are cross compiling... " >&6; }
2663 if test "$cross_compiling" != yes; then
2664 { { ac_try
="$ac_link"
2666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_link") 2>&5
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; }
2675 if { ac_try='./conftest$ac_cv_exeext'
2676 { { case "(($ac_try" in
2677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2678 *) ac_try_echo
=$ac_try;;
2680 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2681 $as_echo "$ac_try_echo"; } >&5
2682 (eval "$ac_try") 2>&5
2684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2685 test $ac_status = 0; }; }; then
2688 if test "$cross_compiling" = maybe
; then
2691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2693 as_fn_error $?
"cannot run C compiled programs.
2694 If you meant to cross compile, use \`--host'.
2695 See \`config.log' for more details" "$LINENO" 5; }
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2700 $as_echo "$cross_compiling" >&6; }
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2704 $as_echo_n "checking for suffix of object files... " >&6; }
2705 if ${ac_cv_objext+:} false
; then :
2706 $as_echo_n "(cached) " >&6
2708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2709 /* end confdefs.h. */
2719 rm -f conftest.o conftest.obj
2720 if { { ac_try
="$ac_compile"
2722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2723 *) ac_try_echo=$ac_try;;
2725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2726 $as_echo "$ac_try_echo"; } >&5
2727 (eval "$ac_compile") 2>&5
2729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2730 test $ac_status = 0; }; then :
2731 for ac_file in conftest.o conftest.obj conftest.*; do
2732 test -f "$ac_file" || continue;
2734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2735 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2740 $as_echo "$as_me: failed program was:" >&5
2741 sed 's/^/| /' conftest.$ac_ext >&5
2743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2745 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2746 See \
`config.log' for more details" "$LINENO" 5; }
2748 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2751 $as_echo "$ac_cv_objext" >&6; }
2752 OBJEXT=$ac_cv_objext
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2755 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2756 if ${ac_cv_c_compiler_gnu+:} false; then :
2757 $as_echo_n "(cached) " >&6
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2773 if ac_fn_c_try_compile "$LINENO"; then :
2778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2779 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2783 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2784 if test $ac_compiler_gnu = yes; then
2789 ac_test_CFLAGS=${CFLAGS+set}
2790 ac_save_CFLAGS=$CFLAGS
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2792 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2793 if ${ac_cv_prog_cc_g+:} false; then :
2794 $as_echo_n "(cached) " >&6
2796 ac_save_c_werror_flag=$ac_c_werror_flag
2797 ac_c_werror_flag=yes
2800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2801 /* end confdefs.h. */
2811 if ac_fn_c_try_compile "$LINENO"; then :
2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2826 if ac_fn_c_try_compile "$LINENO"; then :
2829 ac_c_werror_flag=$ac_save_c_werror_flag
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2842 if ac_fn_c_try_compile "$LINENO"; then :
2845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2850 ac_c_werror_flag=$ac_save_c_werror_flag
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2853 $as_echo "$ac_cv_prog_cc_g" >&6; }
2854 if test "$ac_test_CFLAGS" = set; then
2855 CFLAGS=$ac_save_CFLAGS
2856 elif test $ac_cv_prog_cc_g = yes; then
2857 if test "$GCC" = yes; then
2863 if test "$GCC" = yes; then
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2870 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2871 if ${ac_cv_prog_cc_c89+:} false; then :
2872 $as_echo_n "(cached) " >&6
2874 ac_cv_prog_cc_c89=no
2876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2881 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2882 struct buf { int x; };
2883 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2884 static char *e (p, i)
2890 static char *f (char * (*g) (char **, int), char **p, ...)
2895 s = g (p, va_arg (v,int));
2900 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2901 function prototypes and stuff, but not '\xHH' hex character constants.
2902 These don't provoke an error unfortunately, instead are silently treated
2903 as 'x'. The following induces an error, until -std is added to get
2904 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2905 array size at least. It's necessary to write '\x00'==0 to get something
2906 that's true only with -std. */
2907 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2909 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2910 inside strings and character constants. */
2912 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2914 int test (int i, double x);
2915 struct s1 {int (*f) (int a);};
2916 struct s2 {int (*f) (double a);};
2917 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2923 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2928 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2929 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2931 CC="$ac_save_CC $ac_arg"
2932 if ac_fn_c_try_compile "$LINENO"; then :
2933 ac_cv_prog_cc_c89=$ac_arg
2935 rm -f core conftest.err conftest.$ac_objext
2936 test "x$ac_cv_prog_cc_c89" != "xno" && break
2938 rm -f conftest.$ac_ext
2943 case "x$ac_cv_prog_cc_c89" in
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2946 $as_echo "none needed" >&6; } ;;
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2949 $as_echo "unsupported" >&6; } ;;
2951 CC="$CC $ac_cv_prog_cc_c89"
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2953 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2955 if test "x$ac_cv_prog_cc_c89" != xno; then :
2960 ac_cpp='$CPP $CPPFLAGS'
2961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2966 ac_cpp='$CXXCPP $CPPFLAGS'
2967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2970 if test -z "$CXX"; then
2971 if test -n "$CCC"; then
2974 if test -n "$ac_tool_prefix"; then
2975 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2977 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2978 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_CXX+:} false; then :
2982 $as_echo_n "(cached) " >&6
2984 if test -n "$CXX"; then
2985 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991 test -z "$as_dir" && as_dir=.
2992 for ac_exec_ext in '' $ac_executable_extensions; do
2993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2994 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 if test -n "$CXX"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3007 $as_echo "$CXX" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3014 test -n "$CXX" && break
3017 if test -z "$CXX"; then
3019 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3021 # Extract the first word of "$ac_prog", so it can be a program name with args.
3022 set dummy $ac_prog; ac_word=$2
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3024 $as_echo_n "checking for $ac_word... " >&6; }
3025 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3026 $as_echo_n "(cached) " >&6
3028 if test -n "$ac_ct_CXX"; then
3029 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3035 test -z "$as_dir" && as_dir=.
3036 for ac_exec_ext in '' $ac_executable_extensions; do
3037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3038 ac_cv_prog_ac_ct_CXX="$ac_prog"
3039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3049 if test -n "$ac_ct_CXX"; then
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3051 $as_echo "$ac_ct_CXX" >&6; }
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3054 $as_echo "no" >&6; }
3058 test -n "$ac_ct_CXX" && break
3061 if test "x$ac_ct_CXX" = x; then
3064 case $cross_compiling:$ac_tool_warned in
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3068 ac_tool_warned=yes ;;
3076 # Provide some information about the compiler.
3077 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3080 for ac_option in --version -v -V -qversion; do
3081 { { ac_try="$ac_compiler $ac_option >&5"
3083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3084 *) ac_try_echo
=$ac_try;;
3086 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3087 $as_echo "$ac_try_echo"; } >&5
3088 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3090 if test -s conftest.err
; then
3092 ... rest of stderr output deleted ...
3093 10q' conftest.err
>conftest.er1
3094 cat conftest.er1
>&5
3096 rm -f conftest.er1 conftest.err
3097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3098 test $ac_status = 0; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3102 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3103 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3104 $as_echo_n "(cached) " >&6
3106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3120 if ac_fn_cxx_try_compile
"$LINENO"; then :
3125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3126 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3130 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3131 if test $ac_compiler_gnu = yes; then
3136 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3137 ac_save_CXXFLAGS
=$CXXFLAGS
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3139 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3140 if ${ac_cv_prog_cxx_g+:} false
; then :
3141 $as_echo_n "(cached) " >&6
3143 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3144 ac_cxx_werror_flag
=yes
3147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3158 if ac_fn_cxx_try_compile
"$LINENO"; then :
3159 ac_cv_prog_cxx_g
=yes
3162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3173 if ac_fn_cxx_try_compile
"$LINENO"; then :
3176 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3179 /* end confdefs.h. */
3189 if ac_fn_cxx_try_compile
"$LINENO"; then :
3190 ac_cv_prog_cxx_g
=yes
3192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3197 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3200 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3201 if test "$ac_test_CXXFLAGS" = set; then
3202 CXXFLAGS
=$ac_save_CXXFLAGS
3203 elif test $ac_cv_prog_cxx_g = yes; then
3204 if test "$GXX" = yes; then
3210 if test "$GXX" = yes; then
3217 ac_cpp
='$CPP $CPPFLAGS'
3218 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3219 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3220 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3223 ac_cpp
='$CPP $CPPFLAGS'
3224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3228 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3229 # On Suns, sometimes $CPP names a directory.
3230 if test -n "$CPP" && test -d "$CPP"; then
3233 if test -z "$CPP"; then
3234 if ${ac_cv_prog_CPP+:} false
; then :
3235 $as_echo_n "(cached) " >&6
3237 # Double quotes because CPP needs to be expanded
3238 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3241 for ac_c_preproc_warn_flag
in '' yes
3243 # Use a header file that comes with gcc, so configuring glibc
3244 # with a fresh cross-compiler works.
3245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3246 # <limits.h> exists even on freestanding compilers.
3247 # On the NeXT, cc -E runs the code through the compiler's parser,
3248 # not just through cpp. "Syntax error" is here to catch this case.
3249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3252 # include <limits.h>
3254 # include <assert.h>
3258 if ac_fn_c_try_cpp
"$LINENO"; then :
3261 # Broken: fails on valid input.
3264 rm -f conftest.err conftest.i conftest.
$ac_ext
3266 # OK, works on sane cases. Now check whether nonexistent headers
3267 # can be detected and how.
3268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3270 #include <ac_nonexistent.h>
3272 if ac_fn_c_try_cpp
"$LINENO"; then :
3273 # Broken: success on invalid input.
3276 # Passes both tests.
3280 rm -f conftest.err conftest.i conftest.
$ac_ext
3283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3284 rm -f conftest.i conftest.err conftest.
$ac_ext
3285 if $ac_preproc_ok; then :
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3298 $as_echo "$CPP" >&6; }
3300 for ac_c_preproc_warn_flag
in '' yes
3302 # Use a header file that comes with gcc, so configuring glibc
3303 # with a fresh cross-compiler works.
3304 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3305 # <limits.h> exists even on freestanding compilers.
3306 # On the NeXT, cc -E runs the code through the compiler's parser,
3307 # not just through cpp. "Syntax error" is here to catch this case.
3308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3311 # include <limits.h>
3313 # include <assert.h>
3317 if ac_fn_c_try_cpp
"$LINENO"; then :
3320 # Broken: fails on valid input.
3323 rm -f conftest.err conftest.i conftest.
$ac_ext
3325 # OK, works on sane cases. Now check whether nonexistent headers
3326 # can be detected and how.
3327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3328 /* end confdefs.h. */
3329 #include <ac_nonexistent.h>
3331 if ac_fn_c_try_cpp
"$LINENO"; then :
3332 # Broken: success on invalid input.
3335 # Passes both tests.
3339 rm -f conftest.err conftest.i conftest.
$ac_ext
3342 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3343 rm -f conftest.i conftest.err conftest.
$ac_ext
3344 if $ac_preproc_ok; then :
3347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3350 See \`config.log' for more details" "$LINENO" 5; }
3354 ac_cpp
='$CPP $CPPFLAGS'
3355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3360 ac_cpp
='$CPP $CPPFLAGS'
3361 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3362 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3363 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3366 # Check whether --with-cross-bootstrap was given.
3367 if test "${with_cross_bootstrap+set}" = set; then :
3368 withval
=$with_cross_bootstrap;
3370 with_cross_bootstrap
=no
3376 # Check whether --with-windows-headers was given.
3377 if test "${with_windows_headers+set}" = set; then :
3378 withval
=$with_windows_headers; test -z "$withval" && as_fn_error $?
"must specify value for --with-windows-headers" "$LINENO" 5
3383 if test "x$with_cross_bootstrap" != "xyes"; then
3386 # Check whether --with-windows-libs was given.
3387 if test "${with_windows_libs+set}" = set; then :
3388 withval
=$with_windows_libs; test -z "$withval" && as_fn_error $?
"must specify value for --with-windows-libs" "$LINENO" 5
3392 windows_libdir
=$
(realdirpath
"$with_windows_libs")
3393 if test -z "$windows_libdir"; then
3394 windows_libdir
=$
(realdirpath $
(${ac_cv_prog_CC:-$CC} -xc /dev
/null
-Wl,--verbose=1 -lntdll 2>&1 |
sed -rn 's%^.*\s(\S+)/libntdll\..*succeeded%\1%p'))
3395 if test -z "$windows_libdir"; then
3396 as_fn_error $?
"cannot find windows library files" "$LINENO" 5
3405 ac_cpp
='$CXXCPP $CPPFLAGS'
3406 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3412 addto_CPPFLAGS
-nostdinc
3413 : ${ac_cv_prog_CXX:=$CXX}
3414 : ${ac_cv_prog_CC:=$CC}
3416 cygwin_headers
=$
(realdirpath
"$winsup_srcdir/cygwin/include")
3417 if test -z "$cygwin_headers"; then
3418 as_fn_error $?
"cannot find $winsup_srcdir/cygwin/include directory" "$LINENO" 5
3421 newlib_headers
=$
(realdirpath
$winsup_srcdir/..
/newlib
/libc
/include
)
3422 if test -z "$newlib_headers"; then
3423 as_fn_error $?
"cannot find newlib source directory: $winsup_srcdir/../newlib/libc/include" "$LINENO" 5
3425 newlib_headers
="$target_builddir/newlib/targ-include $newlib_headers"
3427 if test -n "$with_windows_headers"; then
3428 if test -e "$with_windows_headers/windef.h"; then
3429 windows_headers
="$with_windows_headers"
3431 as_fn_error $?
"cannot find windef.h in specified --with-windows-headers path: $saw_windows_headers" "$LINENO" 5;
3433 elif test -d "$winsup_srcdir/w32api/include/windef.h"; then
3434 windows_headers
="$winsup_srcdir/w32api/include"
3436 windows_headers
=$
(cd $
($ac_cv_prog_CC -xc /dev
/null
-E -include windef.h
2>/dev
/null |
sed -n 's%^# 1 "\([^"]*\)/windef\.h".*$%\1%p' |
head -n1) 2>/dev
/null
&& pwd)
3437 if test -z "$windows_headers" -o ! -d "$windows_headers"; then
3438 as_fn_error $?
"cannot find windows header files" "$LINENO" 5
3452 subdirs
="$subdirs cygwin cygserver doc"
3454 if test "x$with_cross_bootstrap" != "xyes"; then
3455 subdirs
="$subdirs utils"
3459 INSTALL_LICENSE
="install-license"
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3464 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3466 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3467 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3468 $as_echo_n "(cached) " >&6
3470 cat >conftest.
make <<\_ACEOF
3473 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3475 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3476 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3478 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3480 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3484 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3486 $as_echo "yes" >&6; }
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3490 $as_echo "no" >&6; }
3491 SET_MAKE
="MAKE=${MAKE-make}"
3495 ac_config_files
="$ac_config_files Makefile"
3497 cat >confcache
<<\_ACEOF
3498 # This file is a shell script that caches the results of configure
3499 # tests run on this system so they can be shared between configure
3500 # scripts and configure runs, see configure's option --config-cache.
3501 # It is not useful on other systems. If it contains results you don't
3502 # want to keep, you may remove or edit it.
3504 # config.status only pays attention to the cache file if you give it
3505 # the --recheck option to rerun configure.
3507 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3508 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3513 # The following way of writing the cache mishandles newlines in values,
3514 # but we know of no workaround that is simple, portable, and efficient.
3515 # So, we kill variables containing newlines.
3516 # Ultrix sh set writes to stderr and can't be redirected directly,
3517 # and sets the high bit in the cache file unless we assign to the vars.
3519 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3520 eval ac_val
=\$
$ac_var
3524 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3525 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3528 _ | IFS | as_nl
) ;; #(
3529 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3530 *) { eval $ac_var=; unset $ac_var;} ;;
3536 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3537 *${as_nl}ac_space
=\
*)
3538 # `set' does not quote correctly, so add quotes: double-quote
3539 # substitution turns \\\\ into \\, and sed turns \\ into \.
3542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3545 # `set' quotes correctly as required by POSIX, so do not add quotes.
3546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3557 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3559 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3560 if test -w "$cache_file"; then
3561 if test "x$cache_file" != "x/dev/null"; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3563 $as_echo "$as_me: updating cache $cache_file" >&6;}
3564 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3565 cat confcache
>"$cache_file"
3567 case $cache_file in #(
3569 mv -f confcache
"$cache_file"$$
&&
3570 mv -f "$cache_file"$$
"$cache_file" ;; #(
3572 mv -f confcache
"$cache_file" ;;
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3578 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3583 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3584 # Let make expand exec_prefix.
3585 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3587 # Transform confdefs.h into DEFS.
3588 # Protect against shell expansion while executing Makefile rules.
3589 # Protect against Makefile macro expansion.
3591 # If the first sed substitution is executed (which looks for macros that
3592 # take arguments), then branch to the quote section. Otherwise,
3593 # look for a macro that doesn't take arguments.
3603 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3605 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3609 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3622 DEFS
=`sed -n "$ac_script" confdefs.h`
3628 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3629 # 1. Remove the extension, and $U if already installed.
3630 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3631 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3632 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3633 # will be set to the directory where LIBOBJS objects are built.
3634 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3635 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3639 LTLIBOBJS
=$ac_ltlibobjs
3643 : "${CONFIG_STATUS=./config.status}"
3645 ac_clean_files_save
=$ac_clean_files
3646 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3648 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3650 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3652 # Generated by $as_me.
3653 # Run this file to recreate the current configuration.
3654 # Compiler output produced by configure, useful for debugging
3655 # configure, is in config.log if it exists.
3661 SHELL=\${CONFIG_SHELL-$SHELL}
3664 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3665 ## -------------------- ##
3666 ## M4sh Initialization. ##
3667 ## -------------------- ##
3669 # Be more Bourne compatible
3670 DUALCASE
=1; export DUALCASE
# for MKS sh
3671 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3674 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3675 # is contrary to our usage. Disable this feature.
3676 alias -g '${1+"$@"}'='"$@"'
3677 setopt NO_GLOB_SUBST
3679 case `(set -o) 2>/dev/null` in #(
3691 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3692 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3693 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3694 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3695 # Prefer a ksh shell builtin over an external printf program on Solaris,
3696 # but without wasting forks for bash or zsh.
3697 if test -z "$BASH_VERSION$ZSH_VERSION" \
3698 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3699 as_echo='print
-r --'
3700 as_echo_n='print
-rn --'
3701 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3702 as_echo='printf %s
\n'
3703 as_echo_n='printf %s
'
3705 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3706 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3707 as_echo_n='/usr
/ucb
/echo -n'
3709 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3710 as_echo_n_body='eval
3714 expr "X$arg" : "X\\(.*\\)$as_nl";
3715 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3717 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3719 export as_echo_n_body
3720 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3723 as_echo='sh
-c $as_echo_body as_echo
'
3726 # The user is always right.
3727 if test "${PATH_SEPARATOR+set}" != set; then
3729 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3730 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3737 # We need space, tab and new line, in precisely that order. Quoting is
3738 # there to prevent editors from complaining about space-tab.
3739 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3740 # splitting by setting IFS to empty value.)
3743 # Find who we are. Look in the path if we contain no directory separator.
3746 *[\\/]* ) as_myself=$0 ;;
3747 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir=.
3752 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3758 # We did not find ourselves, most probably we were run as `sh COMMAND'
3759 # in which case we are not to be found in the path.
3760 if test "x$as_myself" = x
; then
3763 if test ! -f "$as_myself"; then
3764 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3768 # Unset variables that we do not need and which cause bugs (e.g. in
3769 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3770 # suppresses any "Segmentation fault" message there. '((' could
3771 # trigger a bug in pdksh 5.2.14.
3772 for as_var
in BASH_ENV ENV MAIL MAILPATH
3773 do eval test x\
${$as_var+set} = xset \
3774 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3787 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3790 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3791 # ----------------------------------------
3792 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3793 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3794 # script with STATUS, using 1 if that was 0.
3797 as_status
=$1; test $as_status -eq 0 && as_status
=1
3799 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3800 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3802 $as_echo "$as_me: error: $2" >&2
3803 as_fn_exit
$as_status
3807 # as_fn_set_status STATUS
3808 # -----------------------
3809 # Set $? to STATUS, without forking.
3813 } # as_fn_set_status
3817 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3827 # Portably unset VAR.
3830 { eval $1=; unset $1;}
3832 as_unset
=as_fn_unset
3833 # as_fn_append VAR VALUE
3834 # ----------------------
3835 # Append the text in VALUE to the end of the definition contained in VAR. Take
3836 # advantage of any shell optimizations that allow amortized linear growth over
3837 # repeated appends, instead of the typical quadratic growth present in naive
3839 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3840 eval 'as_fn_append ()
3851 # as_fn_arith ARG...
3852 # ------------------
3853 # Perform arithmetic evaluation on the ARGs, and store the result in the
3854 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3855 # must be portable across $(()) and expr.
3856 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3857 eval 'as_fn_arith ()
3864 as_val
=`expr "$@" || test $? -eq 1`
3869 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3870 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3876 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3877 as_basename
=basename
3882 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3888 as_me
=`$as_basename -- "$0" ||
3889 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3890 X"$0" : 'X\(//\)$' \| \
3891 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3893 sed '/^.*\/\([^/][^/]*\)\/*$/{
3907 # Avoid depending upon Character Ranges.
3908 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3909 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3910 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3911 as_cr_digits
='0123456789'
3912 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3914 ECHO_C
= ECHO_N
= ECHO_T
=
3915 case `echo -n x` in #(((((
3917 case `echo 'xy\c'` in
3918 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3920 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3927 rm -f conf$$ conf$$.exe conf$$.
file
3928 if test -d conf$$.dir
; then
3929 rm -f conf$$.dir
/conf$$.
file
3932 mkdir conf$$.dir
2>/dev
/null
3934 if (echo >conf$$.
file) 2>/dev
/null
; then
3935 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3937 # ... but there are two gotchas:
3938 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3939 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3940 # In both cases, we have to default to `cp -pR'.
3941 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3943 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3951 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3952 rmdir conf$$.dir
2>/dev
/null
3957 # Create "$as_dir" as a directory, including parents if necessary.
3962 -*) as_dir
=.
/$as_dir;;
3964 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3968 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3969 *) as_qdir
=$as_dir;;
3971 as_dirs
="'$as_qdir' $as_dirs"
3972 as_dir
=`$as_dirname -- "$as_dir" ||
3973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3974 X"$as_dir" : 'X\(//\)[^/]' \| \
3975 X"$as_dir" : 'X\(//\)$' \| \
3976 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3977 $as_echo X"$as_dir" |
3978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3995 test -d "$as_dir" && break
3997 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3998 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4002 if mkdir
-p .
2>/dev
/null
; then
4003 as_mkdir_p
='mkdir -p "$as_dir"'
4005 test -d .
/-p && rmdir .
/-p
4010 # as_fn_executable_p FILE
4011 # -----------------------
4012 # Test if FILE is an executable regular file.
4013 as_fn_executable_p
()
4015 test -f "$1" && test -x "$1"
4016 } # as_fn_executable_p
4018 as_executable_p
=as_fn_executable_p
4020 # Sed expression to map a string onto a valid CPP name.
4021 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4023 # Sed expression to map a string onto a valid variable name.
4024 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4028 ## ----------------------------------- ##
4029 ## Main body of $CONFIG_STATUS script. ##
4030 ## ----------------------------------- ##
4032 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4035 # Save the log message, to keep $0 and so on meaningful, and to
4036 # report actual input values of CONFIG_FILES etc. instead of their
4037 # values after options handling.
4039 This file was extended by Cygwin toplevel $as_me 0, which was
4040 generated by GNU Autoconf 2.69. Invocation command line was
4042 CONFIG_FILES = $CONFIG_FILES
4043 CONFIG_HEADERS = $CONFIG_HEADERS
4044 CONFIG_LINKS = $CONFIG_LINKS
4045 CONFIG_COMMANDS = $CONFIG_COMMANDS
4048 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4053 case $ac_config_files in *"
4054 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4060 # Files that config.status was made for.
4061 config_files="$ac_config_files"
4065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4067 \`$as_me' instantiates files and other configuration actions
4068 from templates according to the current configuration. Unless the files
4069 and actions are specified as TAGs, all are instantiated by default.
4071 Usage: $0 [OPTION]... [TAG]...
4073 -h, --help print this help, then exit
4074 -V, --version print version number and configuration settings, then exit
4075 --config print configuration, then exit
4076 -q, --quiet, --silent
4077 do not print progress messages
4078 -d, --debug don't remove temporary files
4079 --recheck update $as_me by reconfiguring in the same conditions
4080 --file=FILE[:TEMPLATE]
4081 instantiate the configuration file FILE
4083 Configuration files:
4086 Report bugs to <cygwin@cygwin.com>.
4087 Cygwin toplevel home page: <https://cygwin.com>."
4090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4091 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4093 Cygwin toplevel config.status 0
4094 configured by $0, generated by GNU Autoconf 2.69,
4095 with options \\"\$ac_cs_config\\"
4097 Copyright (C) 2012 Free Software Foundation, Inc.
4098 This config.status script is free software; the Free Software Foundation
4099 gives unlimited permission to copy, distribute and modify it."
4104 test -n "\$AWK" || AWK=awk
4107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4108 # The default lists apply if the user does not specify any file.
4114 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4115 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4119 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4131 # Handling of the options.
4132 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4134 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4135 $as_echo "$ac_cs_version"; exit ;;
4136 --config |
--confi |
--conf |
--con |
--co |
--c )
4137 $as_echo "$ac_cs_config"; exit ;;
4138 --debug |
--debu |
--deb |
--de |
--d |
-d )
4140 --file |
--fil |
--fi |
--f )
4143 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4144 '') as_fn_error $?
"missing file argument" ;;
4146 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4147 ac_need_defaults
=false
;;
4148 --he |
--h |
--help |
--hel |
-h )
4149 $as_echo "$ac_cs_usage"; exit ;;
4150 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4151 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4155 -*) as_fn_error $?
"unrecognized option: \`$1'
4156 Try \`$0 --help' for more information." ;;
4158 *) as_fn_append ac_config_targets
" $1"
4159 ac_need_defaults
=false
;;
4165 ac_configure_extra_args
=
4167 if $ac_cs_silent; then
4169 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4174 if \$ac_cs_recheck; then
4175 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4177 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4178 CONFIG_SHELL='$SHELL'
4184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4188 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4189 ## Running $as_me. ##
4195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4200 # Handling of arguments.
4201 for ac_config_target
in $ac_config_targets
4203 case $ac_config_target in
4204 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4206 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4211 # If the user did not use the arguments to specify the items to instantiate,
4212 # then the envvar interface is used. Set only those that are not.
4213 # We use the long form for the default assignment because of an extremely
4214 # bizarre bug on SunOS 4.1.3.
4215 if $ac_need_defaults; then
4216 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4219 # Have a temporary directory for convenience. Make it in the build tree
4220 # simply because there is no reason against having it here, and in addition,
4221 # creating and moving files from /tmp can sometimes cause problems.
4222 # Hook for its removal unless debugging.
4223 # Note that there is a small window in which the directory will not be cleaned:
4224 # after its creation but before its name has been assigned to `$tmp'.
4228 trap 'exit_status=$?
4230 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4232 trap 'as_fn_exit 1' 1 2 13 15
4234 # Create a (secure) tmp directory for tmp files.
4237 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4241 tmp
=.
/conf$$
-$RANDOM
4242 (umask 077 && mkdir
"$tmp")
4243 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4246 # Set up the scripts for CONFIG_FILES section.
4247 # No need to generate them if there are no CONFIG_FILES.
4248 # This happens for instance with `./config.status config.h'.
4249 if test -n "$CONFIG_FILES"; then
4252 ac_cr
=`echo X | tr X '\015'`
4253 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4254 # But we know of no other shell where ac_cr would be empty at this
4255 # point, so we can use a bashism as a fallback.
4256 if test "x$ac_cr" = x
; then
4257 eval ac_cr
=\$
\'\\r
\'
4259 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4260 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4266 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4271 echo "cat >conf$$subs.awk <<_ACEOF" &&
4272 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4275 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4276 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4278 for ac_last_try in false false false false false :; do
4279 . ./conf$$subs.sh ||
4280 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4282 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4283 if test $ac_delim_n = $ac_delim_num; then
4285 elif $ac_last_try; then
4286 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4288 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4294 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4298 s/^/S["/; s
/!.
*/"]=/
4308 s/\(.\{148\}\)..*/\1/
4310 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4315 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4322 s/\(.\{148\}\)..*/\1/
4324 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4328 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4333 ' <conf$$subs.awk | sed '
4338 ' >>$CONFIG_STATUS || ac_write_fail=1
4339 rm -f conf$$subs.awk
4340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4342 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4343 for (key in S) S_is_set[key] = 1
4349 nfields = split(line, field, "@
")
4351 len = length(field[1])
4352 for (i = 2; i < nfields; i++) {
4354 keylen = length(key)
4355 if (S_is_set[key]) {
4357 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4358 len += length(value) + length(field[++i])
4369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4370 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4371 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4374 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4375 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4378 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4379 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4380 # trailing colons and then remove the whole line if VPATH becomes empty
4381 # (actually we leave an empty line to preserve line numbers).
4382 if test "x
$srcdir" = x.; then
4383 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4402 fi # test -n "$CONFIG_FILES"
4405 eval set X " :F
$CONFIG_FILES "
4410 :[FHLC]) ac_mode=$ac_tag; continue;;
4412 case $ac_mode$ac_tag in
4414 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4415 :[FH]-) ac_tag=-:-;;
4416 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4433 -) ac_f="$ac_tmp/stdin";;
4434 *) # Look for the file first in the build tree, then in the source tree
4435 # (if the path is not absolute). The absolute path cannot be DOS-style,
4436 # because $ac_f cannot contain `:'.
4440 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4442 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4444 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4445 as_fn_append ac_file_inputs " '$ac_f'"
4448 # Let's still pretend it is `configure' which instantiates (i.e., don't
4449 # use $as_me), people would be surprised to read:
4450 # /* config.h. Generated by config.status. */
4451 configure_input='Generated from '`
4452 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4454 if test x"$ac_file" != x-; then
4455 configure_input="$ac_file.
$configure_input"
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4457 $as_echo "$as_me: creating
$ac_file" >&6;}
4459 # Neutralize special characters interpreted by sed in replacement strings.
4460 case $configure_input in #(
4461 *\&* | *\|* | *\\* )
4462 ac_sed_conf_input=`$as_echo "$configure_input" |
4463 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4464 *) ac_sed_conf_input=$configure_input;;
4468 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4469 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4474 ac_dir=`$as_dirname -- "$ac_file" ||
4475 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4476 X"$ac_file" : 'X\(//\)[^/]' \| \
4477 X"$ac_file" : 'X\(//\)$' \| \
4478 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4479 $as_echo X"$ac_file" |
4480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4497 as_dir="$ac_dir"; as_fn_mkdir_p
4501 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4503 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4504 # A "..
" for each directory in $ac_dir_suffix.
4505 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4506 case $ac_top_builddir_sub in
4507 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4508 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4511 ac_abs_top_builddir=$ac_pwd
4512 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4513 # for backward compatibility:
4514 ac_top_builddir=$ac_top_build_prefix
4517 .) # We are building in place.
4519 ac_top_srcdir=$ac_top_builddir_sub
4520 ac_abs_top_srcdir=$ac_pwd ;;
4521 [\\/]* | ?:[\\/]* ) # Absolute name.
4522 ac_srcdir=$srcdir$ac_dir_suffix;
4523 ac_top_srcdir=$srcdir
4524 ac_abs_top_srcdir=$srcdir ;;
4526 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4527 ac_top_srcdir=$ac_top_build_prefix$srcdir
4528 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4530 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4540 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4541 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4546 # If the template does not know about datarootdir, expand it.
4547 # FIXME: This hack should be removed a few years after 2.60.
4548 ac_datarootdir_hack=; ac_datarootdir_seen=
4559 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4560 *datarootdir*) ac_datarootdir_seen=yes;;
4561 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4563 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4566 ac_datarootdir_hack='
4567 s&@datadir@&$datadir&g
4568 s&@docdir@&$docdir&g
4569 s&@infodir@&$infodir&g
4570 s&@localedir@&$localedir&g
4571 s&@mandir@&$mandir&g
4572 s&\\\${datarootdir}&$datarootdir&g' ;;
4576 # Neutralize VPATH when `$srcdir' = `.'.
4577 # Shell code in configure.ac might set extrasub.
4578 # FIXME: do we really want to maintain this feature?
4579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4580 ac_sed_extra="$ac_vpsub
4583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4585 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4586 s|@configure_input@|
$ac_sed_conf_input|
;t t
4587 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4588 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4589 s
&@srcdir@
&$ac_srcdir&;t t
4590 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4591 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4592 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4593 s
&@builddir@
&$ac_builddir&;t t
4594 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4595 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4596 s
&@INSTALL@
&$ac_INSTALL&;t t
4597 $ac_datarootdir_hack
4599 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4600 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4602 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4603 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4604 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4605 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4607 which seems to be undefined. Please make sure it is defined" >&5
4608 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4609 which seems to be undefined. Please make sure it is defined" >&2;}
4611 rm -f "$ac_tmp/stdin"
4613 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4614 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4616 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4628 ac_clean_files=$ac_clean_files_save
4630 test $ac_write_fail = 0 ||
4631 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4634 # configure is writing to config.log, and then calls config.status.
4635 # config.status does its own redirection, appending to config.log.
4636 # Unfortunately, on DOS this fails, as config.log is still kept open
4637 # by configure, so config.status won't be able to
write to it
; its
4638 # output is simply discarded. So we exec the FD to /dev/null,
4639 # effectively closing config.log, so it can be properly (re)opened and
4640 # appended to by config.status. When coming back to configure, we
4641 # need to make the FD available again.
4642 if test "$no_create" != yes; then
4644 ac_config_status_args
=
4645 test "$silent" = yes &&
4646 ac_config_status_args
="$ac_config_status_args --quiet"
4648 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4650 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4651 # would make configure fail if this is the last instruction.
4652 $ac_cs_success || as_fn_exit
1
4656 # CONFIG_SUBDIRS section.
4658 if test "$no_recursion" != yes; then
4660 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4661 # so they do not pile up.
4662 ac_sub_configure_args
=
4664 eval "set x $ac_configure_args"
4668 if test -n "$ac_prev"; then
4673 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
4674 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
4675 ac_prev
=cache_file
;;
4676 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
4677 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
4680 --config-cache |
-C)
4682 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
4684 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
4686 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
4688 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
4690 --disable-option-checking)
4694 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4696 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
4700 # Always prepend --prefix to ensure using the same prefix
4701 # in subdir configurations.
4702 ac_arg
="--prefix=$prefix"
4704 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4706 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
4709 if test "$silent" = yes; then
4710 ac_sub_configure_args
="--silent $ac_sub_configure_args"
4713 # Always prepend --disable-option-checking to silence warnings, since
4714 # different subdirs can have different --enable and --with options.
4715 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
4718 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
4720 # Do not complain, so a configure script can configure whichever
4721 # parts of a large source tree are present.
4722 test -d "$srcdir/$ac_dir" ||
continue
4724 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4725 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4726 $as_echo "$ac_msg" >&6
4727 as_dir
="$ac_dir"; as_fn_mkdir_p
4731 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4733 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4734 # A ".." for each directory in $ac_dir_suffix.
4735 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4736 case $ac_top_builddir_sub in
4737 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4738 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4741 ac_abs_top_builddir
=$ac_pwd
4742 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4743 # for backward compatibility:
4744 ac_top_builddir
=$ac_top_build_prefix
4747 .
) # We are building in place.
4749 ac_top_srcdir
=$ac_top_builddir_sub
4750 ac_abs_top_srcdir
=$ac_pwd ;;
4751 [\\/]* | ?
:[\\/]* ) # Absolute name.
4752 ac_srcdir
=$srcdir$ac_dir_suffix;
4753 ac_top_srcdir
=$srcdir
4754 ac_abs_top_srcdir
=$srcdir ;;
4756 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4757 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4758 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4760 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4765 # Check for guested configure; otherwise get Cygnus style configure.
4766 if test -f "$ac_srcdir/configure.gnu"; then
4767 ac_sub_configure
=$ac_srcdir/configure.gnu
4768 elif test -f "$ac_srcdir/configure"; then
4769 ac_sub_configure
=$ac_srcdir/configure
4770 elif test -f "$ac_srcdir/configure.in"; then
4771 # This should be Cygnus configure.
4772 ac_sub_configure
=$ac_aux_dir/configure
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4775 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4779 # The recursion is here.
4780 if test -n "$ac_sub_configure"; then
4781 # Make the cache file name correct relative to the subdirectory.
4783 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
4785 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
4788 { $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
4789 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4790 # The eval makes quoting arguments work.
4791 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4792 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4793 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4799 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4801 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}