2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cygwin Cygserver 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 Cygserver'
581 PACKAGE_TARNAME
='cygwin'
583 PACKAGE_STRING
='Cygwin Cygserver 0'
584 PACKAGE_BUGREPORT
='cygwin@cygwin.com'
585 PACKAGE_URL
='https://cygwin.com'
587 ac_unique_file
="cygserver.cc"
589 ac_subst_vars
='LTLIBOBJS
654 program_transform_name
669 enable_option_checking
672 ac_precious_vars
='build_alias
686 # Initialize some variables set by options.
688 ac_init_version
=false
689 ac_unrecognized_opts
=
691 # The variables have the same names as the options, with
692 # dashes changed to underlines.
700 program_transform_name
=s
,x
,x
,
708 # Installation directory options.
709 # These are left unexpanded so users can "make install exec_prefix=/foo"
710 # and all the variables that are supposed to be based on exec_prefix
711 # by default will actually change.
712 # Use braces instead of parens because sh, perl, etc. also accept them.
713 # (The list follows the same order as the GNU Coding Standards.)
714 bindir
='${exec_prefix}/bin'
715 sbindir
='${exec_prefix}/sbin'
716 libexecdir
='${exec_prefix}/libexec'
717 datarootdir
='${prefix}/share'
718 datadir
='${datarootdir}'
719 sysconfdir
='${prefix}/etc'
720 sharedstatedir
='${prefix}/com'
721 localstatedir
='${prefix}/var'
722 includedir
='${prefix}/include'
723 oldincludedir
='/usr/include'
724 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
725 infodir
='${datarootdir}/info'
730 libdir
='${exec_prefix}/lib'
731 localedir
='${datarootdir}/locale'
732 mandir
='${datarootdir}/man'
738 # If the previous option needs an argument, assign it.
739 if test -n "$ac_prev"; then
740 eval $ac_prev=\
$ac_option
746 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
751 # Accept the important Cygnus configure options, so we can diagnose typos.
753 case $ac_dashdash$ac_option in
757 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
759 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
762 -build |
--build |
--buil |
--bui |
--bu)
763 ac_prev
=build_alias
;;
764 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
765 build_alias
=$ac_optarg ;;
767 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
768 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
769 ac_prev
=cache_file
;;
770 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
771 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
772 cache_file
=$ac_optarg ;;
775 cache_file
=config.cache
;;
777 -datadir |
--datadir |
--datadi |
--datad)
779 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
780 datadir
=$ac_optarg ;;
782 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
783 |
--dataroo |
--dataro |
--datar)
784 ac_prev
=datarootdir
;;
785 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
786 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
787 datarootdir
=$ac_optarg ;;
789 -disable-* |
--disable-*)
790 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
793 as_fn_error $?
"invalid feature name: $ac_useropt"
794 ac_useropt_orig
=$ac_useropt
795 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
796 case $ac_user_opts in
800 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
801 ac_unrecognized_sep
=', ';;
803 eval enable_
$ac_useropt=no
;;
805 -docdir |
--docdir |
--docdi |
--doc |
--do)
807 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
810 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
812 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
815 -enable-* |
--enable-*)
816 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
819 as_fn_error $?
"invalid feature name: $ac_useropt"
820 ac_useropt_orig
=$ac_useropt
821 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
826 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
827 ac_unrecognized_sep
=', ';;
829 eval enable_
$ac_useropt=\
$ac_optarg ;;
831 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
832 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
833 |
--exec |
--exe |
--ex)
834 ac_prev
=exec_prefix
;;
835 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
836 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
837 |
--exec=* |
--exe=* |
--ex=*)
838 exec_prefix
=$ac_optarg ;;
840 -gas |
--gas |
--ga |
--g)
841 # Obsolete; use --with-gas.
844 -help |
--help |
--hel |
--he |
-h)
846 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
847 ac_init_help
=recursive
;;
848 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
849 ac_init_help
=short
;;
851 -host |
--host |
--hos |
--ho)
852 ac_prev
=host_alias
;;
853 -host=* |
--host=* |
--hos=* |
--ho=*)
854 host_alias
=$ac_optarg ;;
856 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
858 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
860 htmldir
=$ac_optarg ;;
862 -includedir |
--includedir |
--includedi |
--included |
--include \
863 |
--includ |
--inclu |
--incl |
--inc)
864 ac_prev
=includedir
;;
865 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
866 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
867 includedir
=$ac_optarg ;;
869 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
871 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
872 infodir
=$ac_optarg ;;
874 -libdir |
--libdir |
--libdi |
--libd)
876 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
879 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
880 |
--libexe |
--libex |
--libe)
881 ac_prev
=libexecdir
;;
882 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
883 |
--libexe=* |
--libex=* |
--libe=*)
884 libexecdir
=$ac_optarg ;;
886 -localedir |
--localedir |
--localedi |
--localed |
--locale)
888 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
889 localedir
=$ac_optarg ;;
891 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
892 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
893 ac_prev
=localstatedir
;;
894 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
895 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
896 localstatedir
=$ac_optarg ;;
898 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
900 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
904 # Obsolete; use --without-fp.
907 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
908 |
--no-cr |
--no-c |
-n)
911 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
912 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
915 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
916 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
917 |
--oldin |
--oldi |
--old |
--ol |
--o)
918 ac_prev
=oldincludedir
;;
919 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
920 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
921 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
922 oldincludedir
=$ac_optarg ;;
924 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
926 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
929 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
930 |
--program-pre |
--program-pr |
--program-p)
931 ac_prev
=program_prefix
;;
932 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
933 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
934 program_prefix
=$ac_optarg ;;
936 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
937 |
--program-suf |
--program-su |
--program-s)
938 ac_prev
=program_suffix
;;
939 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
940 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
941 program_suffix
=$ac_optarg ;;
943 -program-transform-name |
--program-transform-name \
944 |
--program-transform-nam |
--program-transform-na \
945 |
--program-transform-n |
--program-transform- \
946 |
--program-transform |
--program-transfor \
947 |
--program-transfo |
--program-transf \
948 |
--program-trans |
--program-tran \
949 |
--progr-tra |
--program-tr |
--program-t)
950 ac_prev
=program_transform_name
;;
951 -program-transform-name=* |
--program-transform-name=* \
952 |
--program-transform-nam=* |
--program-transform-na=* \
953 |
--program-transform-n=* |
--program-transform-=* \
954 |
--program-transform=* |
--program-transfor=* \
955 |
--program-transfo=* |
--program-transf=* \
956 |
--program-trans=* |
--program-tran=* \
957 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
958 program_transform_name
=$ac_optarg ;;
960 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
962 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
965 -psdir |
--psdir |
--psdi |
--psd |
--ps)
967 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
970 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
971 |
-silent |
--silent |
--silen |
--sile |
--sil)
974 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
976 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
978 sbindir
=$ac_optarg ;;
980 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
981 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
982 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
984 ac_prev
=sharedstatedir
;;
985 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
986 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
987 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
989 sharedstatedir
=$ac_optarg ;;
991 -site |
--site |
--sit)
993 -site=* |
--site=* |
--sit=*)
996 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
998 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1001 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1002 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1003 ac_prev
=sysconfdir
;;
1004 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1005 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1006 sysconfdir
=$ac_optarg ;;
1008 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1009 ac_prev
=target_alias
;;
1010 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1011 target_alias
=$ac_optarg ;;
1013 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1016 -version |
--version |
--versio |
--versi |
--vers |
-V)
1017 ac_init_version
=: ;;
1020 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error $?
"invalid package name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval with_
$ac_useropt=\
$ac_optarg ;;
1035 -without-* |
--without-*)
1036 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 as_fn_error $?
"invalid package name: $ac_useropt"
1040 ac_useropt_orig
=$ac_useropt
1041 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1046 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1047 ac_unrecognized_sep
=', ';;
1049 eval with_
$ac_useropt=no
;;
1052 # Obsolete; use --with-x.
1055 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1056 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1057 ac_prev
=x_includes
;;
1058 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1059 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1060 x_includes
=$ac_optarg ;;
1062 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1063 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1064 ac_prev
=x_libraries
;;
1065 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1066 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1067 x_libraries
=$ac_optarg ;;
1069 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1070 Try \`$0 --help' for more information"
1074 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1075 # Reject names that are not valid shell variable names.
1076 case $ac_envvar in #(
1077 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1078 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1080 eval $ac_envvar=\
$ac_optarg
1081 export $ac_envvar ;;
1084 # FIXME: should be removed in autoconf 3.0.
1085 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1087 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1088 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1094 if test -n "$ac_prev"; then
1095 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1096 as_fn_error $?
"missing argument to $ac_option"
1099 if test -n "$ac_unrecognized_opts"; then
1100 case $enable_option_checking in
1102 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1103 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1107 # Check all directory arguments for consistency.
1108 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1109 datadir sysconfdir sharedstatedir localstatedir includedir \
1110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1111 libdir localedir mandir
1113 eval ac_val
=\$
$ac_var
1114 # Remove trailing slashes.
1117 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1118 eval $ac_var=\
$ac_val;;
1120 # Be sure to have absolute directory names.
1122 [\\/$
]* | ?
:[\\/]* ) continue;;
1123 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1125 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1128 # There might be people who depend on the old broken behavior: `$host'
1129 # used to hold the argument of --host etc.
1130 # FIXME: To remove some day.
1133 target
=$target_alias
1135 # FIXME: To remove some day.
1136 if test "x$host_alias" != x
; then
1137 if test "x$build_alias" = x
; then
1138 cross_compiling
=maybe
1139 elif test "x$build_alias" != "x$host_alias"; then
1145 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1147 test "$silent" = yes && exec 6>/dev
/null
1150 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1151 ac_ls_di
=`ls -di .` &&
1152 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1153 as_fn_error $?
"working directory cannot be determined"
1154 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1155 as_fn_error $?
"pwd does not report name of working directory"
1158 # Find the source files, if location was not specified.
1159 if test -z "$srcdir"; then
1160 ac_srcdir_defaulted
=yes
1161 # Try the directory containing this script, then the parent directory.
1162 ac_confdir
=`$as_dirname -- "$as_myself" ||
1163 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1164 X"$as_myself" : 'X\(//\)[^/]' \| \
1165 X"$as_myself" : 'X\(//\)$' \| \
1166 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1167 $as_echo X"$as_myself" |
1168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186 if test ! -r "$srcdir/$ac_unique_file"; then
1190 ac_srcdir_defaulted
=no
1192 if test ! -r "$srcdir/$ac_unique_file"; then
1193 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1194 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1196 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1198 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1200 # When building in place, set srcdir=.
1201 if test "$ac_abs_confdir" = "$ac_pwd"; then
1204 # Remove unnecessary trailing slashes from srcdir.
1205 # Double slashes in file names in object file debugging info
1206 # mess up M-x gdb in Emacs.
1208 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1210 for ac_var
in $ac_precious_vars; do
1211 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1212 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1213 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1214 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1218 # Report the --help message.
1220 if test "$ac_init_help" = "long"; then
1221 # Omit some internal or obsolete options to make the list less imposing.
1222 # This message is too long to be a string in the A/UX 3.1 sh.
1224 \`configure' configures Cygwin Cygserver 0 to adapt to many kinds of systems.
1226 Usage: $0 [OPTION]... [VAR=VALUE]...
1228 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1229 VAR=VALUE. See below for descriptions of some of the useful variables.
1231 Defaults for the options are specified in brackets.
1234 -h, --help display this help and exit
1235 --help=short display options specific to this package
1236 --help=recursive display the short help of all the included packages
1237 -V, --version display version information and exit
1238 -q, --quiet, --silent do not print \`checking ...' messages
1239 --cache-file=FILE cache test results in FILE [disabled]
1240 -C, --config-cache alias for \`--cache-file=config.cache'
1241 -n, --no-create do not create output files
1242 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1244 Installation directories:
1245 --prefix=PREFIX install architecture-independent files in PREFIX
1246 [$ac_default_prefix]
1247 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1250 By default, \`make install' will install all the files in
1251 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1252 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1253 for instance \`--prefix=\$HOME'.
1255 For better control, use the options below.
1257 Fine tuning of the installation directories:
1258 --bindir=DIR user executables [EPREFIX/bin]
1259 --sbindir=DIR system admin executables [EPREFIX/sbin]
1260 --libexecdir=DIR program executables [EPREFIX/libexec]
1261 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1262 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1263 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1264 --libdir=DIR object code libraries [EPREFIX/lib]
1265 --includedir=DIR C header files [PREFIX/include]
1266 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1267 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1268 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1269 --infodir=DIR info documentation [DATAROOTDIR/info]
1270 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1271 --mandir=DIR man documentation [DATAROOTDIR/man]
1272 --docdir=DIR documentation root [DATAROOTDIR/doc/cygwin]
1273 --htmldir=DIR html documentation [DOCDIR]
1274 --dvidir=DIR dvi documentation [DOCDIR]
1275 --pdfdir=DIR pdf documentation [DOCDIR]
1276 --psdir=DIR ps documentation [DOCDIR]
1282 --build=BUILD configure
for building on BUILD
[guessed
]
1283 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1284 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1288 if test -n "$ac_init_help"; then
1289 case $ac_init_help in
1290 short | recursive
) echo "Configuration of Cygwin Cygserver 0:";;
1295 --disable-option-checking ignore unrecognized
--enable/--with options
1296 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1297 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1298 --enable-debugging Build a cygwin DLL
which has
more consistency checking
for debugging
1300 Some influential environment variables
:
1301 CC C compiler
command
1302 CFLAGS C compiler flags
1303 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1304 nonstandard directory
<lib dir
>
1305 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1306 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1307 you have headers
in a nonstandard directory
<include dir
>
1308 CXX C
++ compiler
command
1309 CXXFLAGS C
++ compiler flags
1312 Use these variables to override the choices made by
`configure' or to help
1313 it to find libraries and programs with nonstandard names/locations.
1315 Report bugs to <cygwin@cygwin.com>.
1316 Cygwin Cygserver home page: <https://cygwin.com>.
1321 if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1346 .) # We are building in place.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1379 Cygwin Cygserver configure 0
1380 generated by GNU Autoconf 2.69
1382 Copyright (C) 2012 Free Software Foundation, Inc.
1383 This configure script is free software; the Free Software Foundation
1384 gives unlimited permission to copy, distribute and modify it.
1389 ## ------------------------ ##
1390 ## Autoconf initialization. ##
1391 ## ------------------------ ##
1393 # ac_fn_c_try_compile LINENO
1394 # --------------------------
1395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1396 ac_fn_c_try_compile ()
1398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399 rm -f conftest.$ac_objext
1400 if { { ac_try="$ac_compile"
1402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1403 *) ac_try_echo
=$ac_try;;
1405 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406 $as_echo "$ac_try_echo"; } >&5
1407 (eval "$ac_compile") 2>conftest.err
1409 if test -s conftest.err
; then
1410 grep -v '^ *+' conftest.err
>conftest.er1
1411 cat conftest.er1
>&5
1412 mv -f conftest.er1 conftest.err
1414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415 test $ac_status = 0; } && {
1416 test -z "$ac_c_werror_flag" ||
1417 test ! -s conftest.err
1418 } && test -s conftest.
$ac_objext; then :
1421 $as_echo "$as_me: failed program was:" >&5
1422 sed 's/^/| /' conftest.
$ac_ext >&5
1426 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1427 as_fn_set_status
$ac_retval
1429 } # ac_fn_c_try_compile
1431 # ac_fn_cxx_try_compile LINENO
1432 # ----------------------------
1433 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1434 ac_fn_cxx_try_compile
()
1436 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1437 rm -f conftest.
$ac_objext
1438 if { { ac_try
="$ac_compile"
1440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1441 *) ac_try_echo=$ac_try;;
1443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1444 $as_echo "$ac_try_echo"; } >&5
1445 (eval "$ac_compile") 2>conftest.err
1447 if test -s conftest.err; then
1448 grep -v '^ *+' conftest.err >conftest.er1
1449 cat conftest.er1 >&5
1450 mv -f conftest.er1 conftest.err
1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453 test $ac_status = 0; } && {
1454 test -z "$ac_cxx_werror_flag" ||
1455 test ! -s conftest.err
1456 } && test -s conftest.$ac_objext; then :
1459 $as_echo "$as_me: failed program was:" >&5
1460 sed 's/^/| /' conftest.$ac_ext >&5
1464 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1465 as_fn_set_status $ac_retval
1467 } # ac_fn_cxx_try_compile
1469 # ac_fn_c_try_cpp LINENO
1470 # ----------------------
1471 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1474 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475 if { { ac_try="$ac_cpp conftest.$ac_ext"
1477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1478 *) ac_try_echo
=$ac_try;;
1480 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1481 $as_echo "$ac_try_echo"; } >&5
1482 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1484 if test -s conftest.err
; then
1485 grep -v '^ *+' conftest.err
>conftest.er1
1486 cat conftest.er1
>&5
1487 mv -f conftest.er1 conftest.err
1489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1490 test $ac_status = 0; } > conftest.i
&& {
1491 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1492 test ! -s conftest.err
1496 $as_echo "$as_me: failed program was:" >&5
1497 sed 's/^/| /' conftest.
$ac_ext >&5
1501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1502 as_fn_set_status
$ac_retval
1505 cat >config.log
<<_ACEOF
1506 This file contains any messages produced by compilers while
1507 running configure, to aid debugging if configure makes a mistake.
1509 It was created by Cygwin Cygserver $as_me 0, which was
1510 generated by GNU Autoconf 2.69. Invocation command line was
1522 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1523 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1524 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1525 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1526 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1528 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1529 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1531 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1532 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1533 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1534 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1535 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1536 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1537 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1545 test -z "$as_dir" && as_dir
=.
1546 $as_echo "PATH: $as_dir"
1562 # Keep a trace of the command line.
1563 # Strip out --no-create and --no-recursion so they do not pile up.
1564 # Strip out --silent because we don't want to record it for future runs.
1565 # Also quote any args containing shell meta-characters.
1566 # Make two passes to allow for proper duplicate-argument suppression.
1570 ac_must_keep_next
=false
1576 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1577 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1578 |
-silent |
--silent |
--silen |
--sile |
--sil)
1581 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1584 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1586 as_fn_append ac_configure_args1
" '$ac_arg'"
1587 if test $ac_must_keep_next = true
; then
1588 ac_must_keep_next
=false
# Got value, back to normal.
1591 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1592 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1593 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1594 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1595 case "$ac_configure_args0 " in
1596 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1599 -* ) ac_must_keep_next
=true
;;
1602 as_fn_append ac_configure_args
" '$ac_arg'"
1607 { ac_configure_args0
=; unset ac_configure_args0
;}
1608 { ac_configure_args1
=; unset ac_configure_args1
;}
1610 # When interrupted or exit'd, cleanup temporary files, and complete
1611 # config.log. We remove comments because anyway the quotes in there
1612 # would cause problems or look ugly.
1613 # WARNING: Use '\'' to represent an apostrophe within the trap.
1614 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1615 trap 'exit_status=$?
1616 # Save into config.log some information that might help in debugging.
1620 $as_echo "## ---------------- ##
1621 ## Cache variables. ##
1622 ## ---------------- ##"
1624 # The following way of writing the cache mishandles newlines in values,
1626 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1627 eval ac_val=\$$ac_var
1631 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1632 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1635 _ | IFS | as_nl) ;; #(
1636 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1637 *) { eval $ac_var=; unset $ac_var;} ;;
1642 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1643 *${as_nl}ac_space=\ *)
1645 "s/'\''/'\''\\\\'\'''\''/g;
1646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1649 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1656 $as_echo "## ----------------- ##
1657 ## Output variables. ##
1658 ## ----------------- ##"
1660 for ac_var in $ac_subst_vars
1662 eval ac_val=\$$ac_var
1664 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1666 $as_echo "$ac_var='\''$ac_val'\''"
1670 if test -n "$ac_subst_files"; then
1671 $as_echo "## ------------------- ##
1672 ## File substitutions. ##
1673 ## ------------------- ##"
1675 for ac_var
in $ac_subst_files
1677 eval ac_val
=\$
$ac_var
1679 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1681 $as_echo "$ac_var='\''$ac_val'\''"
1686 if test -s confdefs.h; then
1687 $as_echo "## ----------- ##
1694 test "$ac_signal" != 0 &&
1695 $as_echo "$as_me: caught signal $ac_signal"
1696 $as_echo "$as_me: exit $exit_status"
1698 rm -f core *.core core.conftest.* &&
1699 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1702 for ac_signal
in 1 2 13 15; do
1703 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1707 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1708 rm -f -r conftest
* confdefs.h
1710 $as_echo "/* confdefs.h */" > confdefs.h
1712 # Predefined preprocessor variables.
1714 cat >>confdefs.h
<<_ACEOF
1715 #define PACKAGE_NAME "$PACKAGE_NAME"
1718 cat >>confdefs.h
<<_ACEOF
1719 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1722 cat >>confdefs.h
<<_ACEOF
1723 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1726 cat >>confdefs.h
<<_ACEOF
1727 #define PACKAGE_STRING "$PACKAGE_STRING"
1730 cat >>confdefs.h
<<_ACEOF
1731 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1734 cat >>confdefs.h
<<_ACEOF
1735 #define PACKAGE_URL "$PACKAGE_URL"
1739 # Let the site file select an alternate cache file if it wants to.
1740 # Prefer an explicitly selected file to automatically selected ones.
1743 if test -n "$CONFIG_SITE"; then
1744 # We do not want a PATH search for config.site.
1745 case $CONFIG_SITE in #((
1746 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1747 */*) ac_site_file1
=$CONFIG_SITE;;
1748 *) ac_site_file1
=.
/$CONFIG_SITE;;
1750 elif test "x$prefix" != xNONE
; then
1751 ac_site_file1
=$prefix/share
/config.site
1752 ac_site_file2
=$prefix/etc
/config.site
1754 ac_site_file1
=$ac_default_prefix/share
/config.site
1755 ac_site_file2
=$ac_default_prefix/etc
/config.site
1757 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1759 test "x$ac_site_file" = xNONE
&& continue
1760 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1762 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1763 sed 's/^/| /' "$ac_site_file" >&5
1765 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1767 as_fn_error $?
"failed to load site script $ac_site_file
1768 See \`config.log' for more details" "$LINENO" 5; }
1772 if test -r "$cache_file"; then
1773 # Some versions of bash will fail to source /dev/null (special files
1774 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1775 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1777 $as_echo "$as_me: loading cache $cache_file" >&6;}
1779 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1780 *) .
"./$cache_file";;
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1785 $as_echo "$as_me: creating cache $cache_file" >&6;}
1789 # Check that the precious variables saved in the cache have kept the same
1791 ac_cache_corrupted
=false
1792 for ac_var
in $ac_precious_vars; do
1793 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1794 eval ac_new_set
=\
$ac_env_${ac_var}_set
1795 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1796 eval ac_new_val
=\
$ac_env_${ac_var}_value
1797 case $ac_old_set,$ac_new_set in
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1800 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1801 ac_cache_corrupted
=: ;;
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1804 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1805 ac_cache_corrupted
=: ;;
1808 if test "x$ac_old_val" != "x$ac_new_val"; then
1809 # differences in whitespace do not lead to failure.
1810 ac_old_val_w
=`echo x $ac_old_val`
1811 ac_new_val_w
=`echo x $ac_new_val`
1812 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1814 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1815 ac_cache_corrupted
=:
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1818 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1819 eval $ac_var=\
$ac_old_val
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1822 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1824 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1827 # Pass precious variables to config.status.
1828 if test "$ac_new_set" = set; then
1830 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1831 *) ac_arg
=$ac_var=$ac_new_val ;;
1833 case " $ac_configure_args " in
1834 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1835 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1839 if $ac_cache_corrupted; then
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1843 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1844 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1846 ## -------------------- ##
1847 ## Main body of script. ##
1848 ## -------------------- ##
1851 ac_cpp
='$CPP $CPPFLAGS'
1852 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1853 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1854 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1859 for ac_dir
in ..
"$srcdir"/..
; do
1860 if test -f "$ac_dir/install-sh"; then
1862 ac_install_sh
="$ac_aux_dir/install-sh -c"
1864 elif test -f "$ac_dir/install.sh"; then
1866 ac_install_sh
="$ac_aux_dir/install.sh -c"
1868 elif test -f "$ac_dir/shtool"; then
1870 ac_install_sh
="$ac_aux_dir/shtool install -c"
1874 if test -z "$ac_aux_dir"; then
1875 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
1878 # These three variables are undocumented and unsupported,
1879 # and are intended to be withdrawn in a future Autoconf release.
1880 # They can cause serious problems if a builder's source tree is in a directory
1881 # whose full name contains unusual characters.
1882 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1883 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1884 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1888 .
${srcdir}/..
/configure.cygwin
1890 # Find a good install program. We prefer a C program (faster),
1891 # so one script is as good as another. But avoid the broken or
1892 # incompatible versions:
1893 # SysV /etc/install, /usr/sbin/install
1894 # SunOS /usr/etc/install
1895 # IRIX /sbin/install
1897 # AmigaOS /C/install, which installs bootblocks on floppy discs
1898 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1899 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1900 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1901 # OS/2's system install, which has a completely different semantic
1902 # ./install, which can be erroneously created by make from ./install.sh.
1903 # Reject install programs that cannot install multiple files.
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1905 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1906 if test -z "$INSTALL"; then
1907 if ${ac_cv_path_install+:} false
; then :
1908 $as_echo_n "(cached) " >&6
1910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1914 test -z "$as_dir" && as_dir
=.
1915 # Account for people who put trailing slashes in PATH elements.
1916 case $as_dir/ in #((
1917 .
/ | .
// |
/[cC
]/* | \
1918 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1919 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
1922 # OSF1 and SCO ODT 3.0 have their own names for install.
1923 # Don't use installbsd from OSF since it installs stuff as root
1925 for ac_prog
in ginstall scoinst
install; do
1926 for ac_exec_ext
in '' $ac_executable_extensions; do
1927 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
1928 if test $ac_prog = install &&
1929 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1930 # AIX install. It has an incompatible calling convention.
1932 elif test $ac_prog = install &&
1933 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1934 # program-specific install script used by HP pwplus--don't use.
1937 rm -rf conftest.one conftest.two conftest.dir
1938 echo one
> conftest.one
1939 echo two
> conftest.two
1941 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1942 test -s conftest.one
&& test -s conftest.two
&&
1943 test -s conftest.dir
/conftest.one
&&
1944 test -s conftest.dir
/conftest.two
1946 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1959 rm -rf conftest.one conftest.two conftest.dir
1962 if test "${ac_cv_path_install+set}" = set; then
1963 INSTALL
=$ac_cv_path_install
1965 # As a last resort, use the slow shell script. Don't cache a
1966 # value for INSTALL within a source directory, because that will
1967 # break other packages using the cache if that directory is
1968 # removed, or if the value is a relative name.
1969 INSTALL
=$ac_install_sh
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1973 $as_echo "$INSTALL" >&6; }
1975 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1976 # It thinks the first close brace ends the variable substitution.
1977 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1979 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1981 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1984 # Make sure we can run config.sub.
1985 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1986 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1989 $as_echo_n "checking build system type... " >&6; }
1990 if ${ac_cv_build+:} false
; then :
1991 $as_echo_n "(cached) " >&6
1993 ac_build_alias
=$build_alias
1994 test "x$ac_build_alias" = x
&&
1995 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1996 test "x$ac_build_alias" = x
&&
1997 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
1998 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1999 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2003 $as_echo "$ac_cv_build" >&6; }
2004 case $ac_cv_build in
2006 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2009 ac_save_IFS
=$IFS; IFS
='-'
2015 # Remember, the first character of IFS is used to create $*,
2016 # except with old shells:
2019 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2023 $as_echo_n "checking host system type... " >&6; }
2024 if ${ac_cv_host+:} false
; then :
2025 $as_echo_n "(cached) " >&6
2027 if test "x$host_alias" = x
; then
2028 ac_cv_host
=$ac_cv_build
2030 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2031 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2036 $as_echo "$ac_cv_host" >&6; }
2039 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2042 ac_save_IFS
=$IFS; IFS
='-'
2048 # Remember, the first character of IFS is used to create $*,
2049 # except with old shells:
2052 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2056 $as_echo_n "checking target system type... " >&6; }
2057 if ${ac_cv_target+:} false
; then :
2058 $as_echo_n "(cached) " >&6
2060 if test "x$target_alias" = x
; then
2061 ac_cv_target
=$ac_cv_host
2063 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2064 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2069 $as_echo "$ac_cv_target" >&6; }
2070 case $ac_cv_target in
2072 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2074 target
=$ac_cv_target
2075 ac_save_IFS
=$IFS; IFS
='-'
2081 # Remember, the first character of IFS is used to create $*,
2082 # except with old shells:
2085 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2088 # The aliases save the names the user supplied, while $host etc.
2089 # will get canonicalized.
2090 test -n "$target_alias" &&
2091 test "$program_prefix$program_suffix$program_transform_name" = \
2093 program_prefix
=${target_alias}-
2096 ac_cpp
='$CPP $CPPFLAGS'
2097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2100 if test -n "$ac_tool_prefix"; then
2101 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2102 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2104 $as_echo_n "checking for $ac_word... " >&6; }
2105 if ${ac_cv_prog_CC+:} false
; then :
2106 $as_echo_n "(cached) " >&6
2108 if test -n "$CC"; then
2109 ac_cv_prog_CC
="$CC" # Let the user override the test.
2111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2115 test -z "$as_dir" && as_dir
=.
2116 for ac_exec_ext
in '' $ac_executable_extensions; do
2117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2118 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2129 if test -n "$CC"; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2131 $as_echo "$CC" >&6; }
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2134 $as_echo "no" >&6; }
2139 if test -z "$ac_cv_prog_CC"; then
2141 # Extract the first word of "gcc", so it can be a program name with args.
2142 set dummy gcc
; ac_word
=$2
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2144 $as_echo_n "checking for $ac_word... " >&6; }
2145 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2146 $as_echo_n "(cached) " >&6
2148 if test -n "$ac_ct_CC"; then
2149 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2155 test -z "$as_dir" && as_dir
=.
2156 for ac_exec_ext
in '' $ac_executable_extensions; do
2157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2158 ac_cv_prog_ac_ct_CC
="gcc"
2159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2168 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2169 if test -n "$ac_ct_CC"; then
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2171 $as_echo "$ac_ct_CC" >&6; }
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2174 $as_echo "no" >&6; }
2177 if test "x$ac_ct_CC" = x
; then
2180 case $cross_compiling:$ac_tool_warned in
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2184 ac_tool_warned
=yes ;;
2192 if test -z "$CC"; then
2193 if test -n "$ac_tool_prefix"; then
2194 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2195 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2197 $as_echo_n "checking for $ac_word... " >&6; }
2198 if ${ac_cv_prog_CC+:} false
; then :
2199 $as_echo_n "(cached) " >&6
2201 if test -n "$CC"; then
2202 ac_cv_prog_CC
="$CC" # Let the user override the test.
2204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2208 test -z "$as_dir" && as_dir
=.
2209 for ac_exec_ext
in '' $ac_executable_extensions; do
2210 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2211 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 if test -n "$CC"; then
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2224 $as_echo "$CC" >&6; }
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2227 $as_echo "no" >&6; }
2233 if test -z "$CC"; then
2234 # Extract the first word of "cc", so it can be a program name with args.
2235 set dummy cc
; ac_word
=$2
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2237 $as_echo_n "checking for $ac_word... " >&6; }
2238 if ${ac_cv_prog_CC+:} false
; then :
2239 $as_echo_n "(cached) " >&6
2241 if test -n "$CC"; then
2242 ac_cv_prog_CC
="$CC" # Let the user override the test.
2245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2249 test -z "$as_dir" && as_dir
=.
2250 for ac_exec_ext
in '' $ac_executable_extensions; do
2251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2252 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2253 ac_prog_rejected
=yes
2257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2264 if test $ac_prog_rejected = yes; then
2265 # We found a bogon in the path, so make sure we never use it.
2266 set dummy
$ac_cv_prog_CC
2268 if test $# != 0; then
2269 # We chose a different compiler from the bogus one.
2270 # However, it has the same basename, so the bogon will be chosen
2271 # first if we set CC to just the basename; use the full file name.
2273 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2279 if test -n "$CC"; then
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2281 $as_echo "$CC" >&6; }
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2284 $as_echo "no" >&6; }
2289 if test -z "$CC"; then
2290 if test -n "$ac_tool_prefix"; then
2291 for ac_prog
in cl.exe
2293 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2294 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2296 $as_echo_n "checking for $ac_word... " >&6; }
2297 if ${ac_cv_prog_CC+:} false
; then :
2298 $as_echo_n "(cached) " >&6
2300 if test -n "$CC"; then
2301 ac_cv_prog_CC
="$CC" # Let the user override the test.
2303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir
=.
2308 for ac_exec_ext
in '' $ac_executable_extensions; do
2309 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2310 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 if test -n "$CC"; then
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2323 $as_echo "$CC" >&6; }
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2326 $as_echo "no" >&6; }
2330 test -n "$CC" && break
2333 if test -z "$CC"; then
2335 for ac_prog
in cl.exe
2337 # Extract the first word of "$ac_prog", so it can be a program name with args.
2338 set dummy
$ac_prog; ac_word
=$2
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2340 $as_echo_n "checking for $ac_word... " >&6; }
2341 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2342 $as_echo_n "(cached) " >&6
2344 if test -n "$ac_ct_CC"; then
2345 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir
=.
2352 for ac_exec_ext
in '' $ac_executable_extensions; do
2353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2354 ac_cv_prog_ac_ct_CC
="$ac_prog"
2355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2365 if test -n "$ac_ct_CC"; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2367 $as_echo "$ac_ct_CC" >&6; }
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2370 $as_echo "no" >&6; }
2374 test -n "$ac_ct_CC" && break
2377 if test "x$ac_ct_CC" = x
; then
2380 case $cross_compiling:$ac_tool_warned in
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2384 ac_tool_warned
=yes ;;
2393 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2395 as_fn_error $?
"no acceptable C compiler found in \$PATH
2396 See \`config.log' for more details" "$LINENO" 5; }
2398 # Provide some information about the compiler.
2399 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2402 for ac_option
in --version -v -V -qversion; do
2403 { { ac_try
="$ac_compiler $ac_option >&5"
2405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2406 *) ac_try_echo=$ac_try;;
2408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2409 $as_echo "$ac_try_echo"; } >&5
2410 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2412 if test -s conftest.err; then
2414 ... rest of stderr output deleted ...
2415 10q' conftest.err >conftest.er1
2416 cat conftest.er1 >&5
2418 rm -f conftest.er1 conftest.err
2419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2420 test $ac_status = 0; }
2423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424 /* end confdefs.h. */
2434 if { { ac_try="$ac_link"
2436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2437 *) ac_try_echo
=$ac_try;;
2439 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2440 $as_echo "$ac_try_echo"; } >&5
2441 (eval "$ac_link") 2>&5
2443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2444 test $ac_status = 0; }; then
2446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2447 /* end confdefs.h. */
2457 ac_clean_files_save
=$ac_clean_files
2458 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2459 # Try to create an executable without -o first, disregard a.out.
2460 # It will help us diagnose broken compilers, and finding out an intuition
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2463 $as_echo_n "checking whether the C compiler works... " >&6; }
2464 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2466 # The possible output files:
2467 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2470 for ac_file
in $ac_files
2473 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2474 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2479 if { { ac_try
="$ac_link_default"
2481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2482 *) ac_try_echo=$ac_try;;
2484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2485 $as_echo "$ac_try_echo"; } >&5
2486 (eval "$ac_link_default") 2>&5
2488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2489 test $ac_status = 0; }; then :
2490 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2491 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2492 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2493 # so that the user can short-circuit this test for compilers unknown to
2495 for ac_file in $ac_files ''
2497 test -f "$ac_file" || continue
2499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2502 # We found the default executable, but exeext='' is most
2506 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2508 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2510 # We set ac_cv_exeext here because the later test for it is not
2511 # safe: cross compilers may not add the suffix if given an `-o'
2512 # argument, so we may need to know it at that point already.
2513 # Even if this section looks crufty: it has the advantage of
2520 test "$ac_cv_exeext" = no && ac_cv_exeext=
2525 if test -z "$ac_file"; then :
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2527 $as_echo "no" >&6; }
2528 $as_echo "$as_me: failed program was:" >&5
2529 sed 's
/^
/|
/' conftest.$ac_ext >&5
2531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2532 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2533 as_fn_error 77 "C compiler cannot create executables
2534 See \`config.log
' for more details" "$LINENO" 5; }
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2537 $as_echo "yes" >&6; }
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2540 $as_echo_n "checking for C compiler default output file name... " >&6; }
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2542 $as_echo "$ac_file" >&6; }
2543 ac_exeext=$ac_cv_exeext
2545 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2546 ac_clean_files=$ac_clean_files_save
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2548 $as_echo_n "checking for suffix of executables... " >&6; }
2549 if { { ac_try="$ac_link"
2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2555 $as_echo "$ac_try_echo"; } >&5
2556 (eval "$ac_link") 2>&5
2558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2559 test $ac_status = 0; }; then :
2560 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2561 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2562 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2564 for ac_file
in conftest.exe conftest conftest.
*; do
2565 test -f "$ac_file" ||
continue
2567 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2568 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2576 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2577 See \`config.log' for more details" "$LINENO" 5; }
2579 rm -f conftest conftest
$ac_cv_exeext
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2581 $as_echo "$ac_cv_exeext" >&6; }
2583 rm -f conftest.
$ac_ext
2584 EXEEXT
=$ac_cv_exeext
2586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2587 /* end confdefs.h. */
2592 FILE *f = fopen ("conftest.out", "w");
2593 return ferror (f) || fclose (f) != 0;
2599 ac_clean_files
="$ac_clean_files conftest.out"
2600 # Check that the compiler produces executables we can run. If not, either
2601 # the compiler is broken, or we cross compile.
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2603 $as_echo_n "checking whether we are cross compiling... " >&6; }
2604 if test "$cross_compiling" != yes; then
2605 { { ac_try
="$ac_link"
2607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2611 $as_echo "$ac_try_echo"; } >&5
2612 (eval "$ac_link") 2>&5
2614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2615 test $ac_status = 0; }
2616 if { ac_try='./conftest$ac_cv_exeext'
2617 { { case "(($ac_try" in
2618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2619 *) ac_try_echo
=$ac_try;;
2621 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_try") 2>&5
2625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2626 test $ac_status = 0; }; }; then
2629 if test "$cross_compiling" = maybe
; then
2632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2634 as_fn_error $?
"cannot run C compiled programs.
2635 If you meant to cross compile, use \`--host'.
2636 See \`config.log' for more details" "$LINENO" 5; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2641 $as_echo "$cross_compiling" >&6; }
2643 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2644 ac_clean_files
=$ac_clean_files_save
2647 rm -f -r a.out a.exe b.out conftest.
$ac_ext conftest.o conftest.obj conftest.dSYM
2649 # Setting cross_compile will disable run tests; it will
2650 # also disable AC_CHECK_FILE but that's generally
2651 # correct if we can't link.
2654 # Check that the compiler produces executables we can run. If not, either
2655 # the compiler is broken, or we cross compile.
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2657 $as_echo_n "checking whether we are cross compiling... " >&6; }
2658 if test "$cross_compiling" != yes; then
2659 { { ac_try
="$ac_link"
2661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2665 $as_echo "$ac_try_echo"; } >&5
2666 (eval "$ac_link") 2>&5
2668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2669 test $ac_status = 0; }
2670 if { ac_try='./conftest$ac_cv_exeext'
2671 { { case "(($ac_try" in
2672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2673 *) ac_try_echo
=$ac_try;;
2675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2676 $as_echo "$ac_try_echo"; } >&5
2677 (eval "$ac_try") 2>&5
2679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2680 test $ac_status = 0; }; }; then
2683 if test "$cross_compiling" = maybe
; then
2686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2688 as_fn_error $?
"cannot run C compiled programs.
2689 If you meant to cross compile, use \`--host'.
2690 See \`config.log' for more details" "$LINENO" 5; }
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2695 $as_echo "$cross_compiling" >&6; }
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2699 $as_echo_n "checking for suffix of object files... " >&6; }
2700 if ${ac_cv_objext+:} false
; then :
2701 $as_echo_n "(cached) " >&6
2703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2714 rm -f conftest.o conftest.obj
2715 if { { ac_try
="$ac_compile"
2717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2721 $as_echo "$ac_try_echo"; } >&5
2722 (eval "$ac_compile") 2>&5
2724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2725 test $ac_status = 0; }; then :
2726 for ac_file in conftest.o conftest.obj conftest.*; do
2727 test -f "$ac_file" || continue;
2729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2730 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2735 $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2740 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2741 See \
`config.log' for more details" "$LINENO" 5; }
2743 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2746 $as_echo "$ac_cv_objext" >&6; }
2747 OBJEXT=$ac_cv_objext
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2750 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2751 if ${ac_cv_c_compiler_gnu+:} false; then :
2752 $as_echo_n "(cached) " >&6
2754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2755 /* end confdefs.h. */
2768 if ac_fn_c_try_compile "$LINENO"; then :
2773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2774 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2778 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2779 if test $ac_compiler_gnu = yes; then
2784 ac_test_CFLAGS=${CFLAGS+set}
2785 ac_save_CFLAGS=$CFLAGS
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2787 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2788 if ${ac_cv_prog_cc_g+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 ac_save_c_werror_flag=$ac_c_werror_flag
2792 ac_c_werror_flag=yes
2795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2796 /* end confdefs.h. */
2806 if ac_fn_c_try_compile "$LINENO"; then :
2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h. */
2821 if ac_fn_c_try_compile "$LINENO"; then :
2824 ac_c_werror_flag=$ac_save_c_werror_flag
2826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2827 /* end confdefs.h. */
2837 if ac_fn_c_try_compile "$LINENO"; then :
2840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2845 ac_c_werror_flag=$ac_save_c_werror_flag
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2848 $as_echo "$ac_cv_prog_cc_g" >&6; }
2849 if test "$ac_test_CFLAGS" = set; then
2850 CFLAGS=$ac_save_CFLAGS
2851 elif test $ac_cv_prog_cc_g = yes; then
2852 if test "$GCC" = yes; then
2858 if test "$GCC" = yes; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2865 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2866 if ${ac_cv_prog_cc_c89+:} false; then :
2867 $as_echo_n "(cached) " >&6
2869 ac_cv_prog_cc_c89=no
2871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h. */
2876 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2877 struct buf { int x; };
2878 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2879 static char *e (p, i)
2885 static char *f (char * (*g) (char **, int), char **p, ...)
2890 s = g (p, va_arg (v,int));
2895 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2896 function prototypes and stuff, but not '\xHH' hex character constants.
2897 These don't provoke an error unfortunately, instead are silently treated
2898 as 'x'. The following induces an error, until -std is added to get
2899 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2900 array size at least. It's necessary to write '\x00'==0 to get something
2901 that's true only with -std. */
2902 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2904 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2905 inside strings and character constants. */
2907 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2909 int test (int i, double x);
2910 struct s1 {int (*f) (int a);};
2911 struct s2 {int (*f) (double a);};
2912 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2918 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2923 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2924 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2926 CC="$ac_save_CC $ac_arg"
2927 if ac_fn_c_try_compile "$LINENO"; then :
2928 ac_cv_prog_cc_c89=$ac_arg
2930 rm -f core conftest.err conftest.$ac_objext
2931 test "x$ac_cv_prog_cc_c89" != "xno" && break
2933 rm -f conftest.$ac_ext
2938 case "x$ac_cv_prog_cc_c89" in
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2941 $as_echo "none needed" >&6; } ;;
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2944 $as_echo "unsupported" >&6; } ;;
2946 CC="$CC $ac_cv_prog_cc_c89"
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2948 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2950 if test "x$ac_cv_prog_cc_c89" != xno; then :
2955 ac_cpp='$CPP $CPPFLAGS'
2956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2961 ac_cpp='$CXXCPP $CPPFLAGS'
2962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2965 if test -z "$CXX"; then
2966 if test -n "$CCC"; then
2969 if test -n "$ac_tool_prefix"; then
2970 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975 $as_echo_n "checking for $ac_word... " >&6; }
2976 if ${ac_cv_prog_CXX+:} false; then :
2977 $as_echo_n "(cached) " >&6
2979 if test -n "$CXX"; then
2980 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir=.
2987 for ac_exec_ext in '' $ac_executable_extensions; do
2988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2989 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 if test -n "$CXX"; then
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3002 $as_echo "$CXX" >&6; }
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005 $as_echo "no" >&6; }
3009 test -n "$CXX" && break
3012 if test -z "$CXX"; then
3014 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3016 # Extract the first word of "$ac_prog", so it can be a program name with args.
3017 set dummy $ac_prog; ac_word=$2
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3019 $as_echo_n "checking for $ac_word... " >&6; }
3020 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3021 $as_echo_n "(cached) " >&6
3023 if test -n "$ac_ct_CXX"; then
3024 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir=.
3031 for ac_exec_ext in '' $ac_executable_extensions; do
3032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3033 ac_cv_prog_ac_ct_CXX="$ac_prog"
3034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3044 if test -n "$ac_ct_CXX"; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3046 $as_echo "$ac_ct_CXX" >&6; }
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3049 $as_echo "no" >&6; }
3053 test -n "$ac_ct_CXX" && break
3056 if test "x$ac_ct_CXX" = x; then
3059 case $cross_compiling:$ac_tool_warned in
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3063 ac_tool_warned=yes ;;
3071 # Provide some information about the compiler.
3072 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3075 for ac_option in --version -v -V -qversion; do
3076 { { ac_try="$ac_compiler $ac_option >&5"
3078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3079 *) ac_try_echo
=$ac_try;;
3081 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3082 $as_echo "$ac_try_echo"; } >&5
3083 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3085 if test -s conftest.err
; then
3087 ... rest of stderr output deleted ...
3088 10q' conftest.err
>conftest.er1
3089 cat conftest.er1
>&5
3091 rm -f conftest.er1 conftest.err
3092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3093 test $ac_status = 0; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3097 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3098 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3099 $as_echo_n "(cached) " >&6
3101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3115 if ac_fn_cxx_try_compile
"$LINENO"; then :
3120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3121 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3125 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3126 if test $ac_compiler_gnu = yes; then
3131 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3132 ac_save_CXXFLAGS
=$CXXFLAGS
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3134 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3135 if ${ac_cv_prog_cxx_g+:} false
; then :
3136 $as_echo_n "(cached) " >&6
3138 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3139 ac_cxx_werror_flag
=yes
3142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3153 if ac_fn_cxx_try_compile
"$LINENO"; then :
3154 ac_cv_prog_cxx_g
=yes
3157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3168 if ac_fn_cxx_try_compile
"$LINENO"; then :
3171 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3184 if ac_fn_cxx_try_compile
"$LINENO"; then :
3185 ac_cv_prog_cxx_g
=yes
3187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3192 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3195 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3196 if test "$ac_test_CXXFLAGS" = set; then
3197 CXXFLAGS
=$ac_save_CXXFLAGS
3198 elif test $ac_cv_prog_cxx_g = yes; then
3199 if test "$GXX" = yes; then
3205 if test "$GXX" = yes; then
3212 ac_cpp
='$CPP $CPPFLAGS'
3213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3218 ac_cpp
='$CPP $CPPFLAGS'
3219 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3223 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3224 # On Suns, sometimes $CPP names a directory.
3225 if test -n "$CPP" && test -d "$CPP"; then
3228 if test -z "$CPP"; then
3229 if ${ac_cv_prog_CPP+:} false
; then :
3230 $as_echo_n "(cached) " >&6
3232 # Double quotes because CPP needs to be expanded
3233 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3236 for ac_c_preproc_warn_flag
in '' yes
3238 # Use a header file that comes with gcc, so configuring glibc
3239 # with a fresh cross-compiler works.
3240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3241 # <limits.h> exists even on freestanding compilers.
3242 # On the NeXT, cc -E runs the code through the compiler's parser,
3243 # not just through cpp. "Syntax error" is here to catch this case.
3244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3245 /* end confdefs.h. */
3247 # include <limits.h>
3249 # include <assert.h>
3253 if ac_fn_c_try_cpp
"$LINENO"; then :
3256 # Broken: fails on valid input.
3259 rm -f conftest.err conftest.i conftest.
$ac_ext
3261 # OK, works on sane cases. Now check whether nonexistent headers
3262 # can be detected and how.
3263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3265 #include <ac_nonexistent.h>
3267 if ac_fn_c_try_cpp
"$LINENO"; then :
3268 # Broken: success on invalid input.
3271 # Passes both tests.
3275 rm -f conftest.err conftest.i conftest.
$ac_ext
3278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3279 rm -f conftest.i conftest.err conftest.
$ac_ext
3280 if $ac_preproc_ok; then :
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3293 $as_echo "$CPP" >&6; }
3295 for ac_c_preproc_warn_flag
in '' yes
3297 # Use a header file that comes with gcc, so configuring glibc
3298 # with a fresh cross-compiler works.
3299 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3300 # <limits.h> exists even on freestanding compilers.
3301 # On the NeXT, cc -E runs the code through the compiler's parser,
3302 # not just through cpp. "Syntax error" is here to catch this case.
3303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3306 # include <limits.h>
3308 # include <assert.h>
3312 if ac_fn_c_try_cpp
"$LINENO"; then :
3315 # Broken: fails on valid input.
3318 rm -f conftest.err conftest.i conftest.
$ac_ext
3320 # OK, works on sane cases. Now check whether nonexistent headers
3321 # can be detected and how.
3322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3324 #include <ac_nonexistent.h>
3326 if ac_fn_c_try_cpp
"$LINENO"; then :
3327 # Broken: success on invalid input.
3330 # Passes both tests.
3334 rm -f conftest.err conftest.i conftest.
$ac_ext
3337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3338 rm -f conftest.i conftest.err conftest.
$ac_ext
3339 if $ac_preproc_ok; then :
3342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3345 See \`config.log' for more details" "$LINENO" 5; }
3349 ac_cpp
='$CPP $CPPFLAGS'
3350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3355 ac_cpp
='$CPP $CPPFLAGS'
3356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3361 ac_cpp
='$CXXCPP $CPPFLAGS'
3362 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3363 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3364 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3368 : ${ac_cv_prog_CXX:=$CXX}
3369 : ${ac_cv_prog_CC:=$CC}
3371 cygwin_headers
=$
(realdirpath
"$winsup_srcdir/cygwin/include")
3372 if test -z "$cygwin_headers"; then
3373 as_fn_error $?
"cannot find $winsup_srcdir/cygwin/include directory" "$LINENO" 5
3376 newlib_headers
=$
(realdirpath
$winsup_srcdir/..
/newlib
/libc
/include
)
3377 if test -z "$newlib_headers"; then
3378 as_fn_error $?
"cannot find newlib source directory: $winsup_srcdir/../newlib/libc/include" "$LINENO" 5
3380 newlib_headers
="$target_builddir/newlib/targ-include $newlib_headers"
3382 INCLUDES
="-I${srcdir}/../cygwin -I${target_builddir}/winsup/cygwin"
3383 INCLUDES
="${INCLUDES} -isystem ${cygwin_headers}"
3384 for h
in ${newlib_headers}; do
3385 INCLUDES
="${INCLUDES} -isystem $h"
3390 case "$with_cross_host" in
3401 if test -n "$ac_tool_prefix"; then
3402 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3403 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3406 if ${ac_cv_prog_AR+:} false
; then :
3407 $as_echo_n "(cached) " >&6
3409 if test -n "$AR"; then
3410 ac_cv_prog_AR
="$AR" # Let the user override the test.
3412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3416 test -z "$as_dir" && as_dir
=.
3417 for ac_exec_ext
in '' $ac_executable_extensions; do
3418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3419 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 if test -n "$AR"; then
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3432 $as_echo "$AR" >&6; }
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435 $as_echo "no" >&6; }
3440 if test -z "$ac_cv_prog_AR"; then
3442 # Extract the first word of "ar", so it can be a program name with args.
3443 set dummy
ar; ac_word
=$2
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445 $as_echo_n "checking for $ac_word... " >&6; }
3446 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3447 $as_echo_n "(cached) " >&6
3449 if test -n "$ac_ct_AR"; then
3450 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3456 test -z "$as_dir" && as_dir
=.
3457 for ac_exec_ext
in '' $ac_executable_extensions; do
3458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3459 ac_cv_prog_ac_ct_AR
="ar"
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3469 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3470 if test -n "$ac_ct_AR"; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3472 $as_echo "$ac_ct_AR" >&6; }
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475 $as_echo "no" >&6; }
3478 if test "x$ac_ct_AR" = x
; then
3481 case $cross_compiling:$ac_tool_warned in
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3485 ac_tool_warned
=yes ;;
3493 if test -n "$ac_tool_prefix"; then
3494 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3495 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3497 $as_echo_n "checking for $ac_word... " >&6; }
3498 if ${ac_cv_prog_AS+:} false
; then :
3499 $as_echo_n "(cached) " >&6
3501 if test -n "$AS"; then
3502 ac_cv_prog_AS
="$AS" # Let the user override the test.
3504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3508 test -z "$as_dir" && as_dir
=.
3509 for ac_exec_ext
in '' $ac_executable_extensions; do
3510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3511 ac_cv_prog_AS
="${ac_tool_prefix}as"
3512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3522 if test -n "$AS"; then
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3524 $as_echo "$AS" >&6; }
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3527 $as_echo "no" >&6; }
3532 if test -z "$ac_cv_prog_AS"; then
3534 # Extract the first word of "as", so it can be a program name with args.
3535 set dummy as
; ac_word
=$2
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3537 $as_echo_n "checking for $ac_word... " >&6; }
3538 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
3539 $as_echo_n "(cached) " >&6
3541 if test -n "$ac_ct_AS"; then
3542 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3548 test -z "$as_dir" && as_dir
=.
3549 for ac_exec_ext
in '' $ac_executable_extensions; do
3550 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3551 ac_cv_prog_ac_ct_AS
="as"
3552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3562 if test -n "$ac_ct_AS"; then
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3564 $as_echo "$ac_ct_AS" >&6; }
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3570 if test "x$ac_ct_AS" = x
; then
3573 case $cross_compiling:$ac_tool_warned in
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3577 ac_tool_warned
=yes ;;
3585 if test -n "$ac_tool_prefix"; then
3586 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3587 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589 $as_echo_n "checking for $ac_word... " >&6; }
3590 if ${ac_cv_prog_RANLIB+:} false
; then :
3591 $as_echo_n "(cached) " >&6
3593 if test -n "$RANLIB"; then
3594 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3600 test -z "$as_dir" && as_dir
=.
3601 for ac_exec_ext
in '' $ac_executable_extensions; do
3602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3603 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3613 RANLIB
=$ac_cv_prog_RANLIB
3614 if test -n "$RANLIB"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3616 $as_echo "$RANLIB" >&6; }
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3624 if test -z "$ac_cv_prog_RANLIB"; then
3625 ac_ct_RANLIB
=$RANLIB
3626 # Extract the first word of "ranlib", so it can be a program name with args.
3627 set dummy ranlib
; ac_word
=$2
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629 $as_echo_n "checking for $ac_word... " >&6; }
3630 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3631 $as_echo_n "(cached) " >&6
3633 if test -n "$ac_ct_RANLIB"; then
3634 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3640 test -z "$as_dir" && as_dir
=.
3641 for ac_exec_ext
in '' $ac_executable_extensions; do
3642 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3643 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3654 if test -n "$ac_ct_RANLIB"; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3656 $as_echo "$ac_ct_RANLIB" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3662 if test "x$ac_ct_RANLIB" = x
; then
3665 case $cross_compiling:$ac_tool_warned in
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3669 ac_tool_warned
=yes ;;
3671 RANLIB
=$ac_ct_RANLIB
3674 RANLIB
="$ac_cv_prog_RANLIB"
3677 if test -n "$ac_tool_prefix"; then
3678 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3679 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if ${ac_cv_prog_LD+:} false
; then :
3683 $as_echo_n "(cached) " >&6
3685 if test -n "$LD"; then
3686 ac_cv_prog_LD
="$LD" # Let the user override the test.
3688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3692 test -z "$as_dir" && as_dir
=.
3693 for ac_exec_ext
in '' $ac_executable_extensions; do
3694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3695 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 if test -n "$LD"; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3708 $as_echo "$LD" >&6; }
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3711 $as_echo "no" >&6; }
3716 if test -z "$ac_cv_prog_LD"; then
3718 # Extract the first word of "ld", so it can be a program name with args.
3719 set dummy ld
; ac_word
=$2
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3721 $as_echo_n "checking for $ac_word... " >&6; }
3722 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
3723 $as_echo_n "(cached) " >&6
3725 if test -n "$ac_ct_LD"; then
3726 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
3728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3732 test -z "$as_dir" && as_dir
=.
3733 for ac_exec_ext
in '' $ac_executable_extensions; do
3734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3735 ac_cv_prog_ac_ct_LD
="ld"
3736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
3746 if test -n "$ac_ct_LD"; then
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
3748 $as_echo "$ac_ct_LD" >&6; }
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3751 $as_echo "no" >&6; }
3754 if test "x$ac_ct_LD" = x
; then
3757 case $cross_compiling:$ac_tool_warned in
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3761 ac_tool_warned
=yes ;;
3769 if test -n "$ac_tool_prefix"; then
3770 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3771 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if ${ac_cv_prog_NM+:} false
; then :
3775 $as_echo_n "(cached) " >&6
3777 if test -n "$NM"; then
3778 ac_cv_prog_NM
="$NM" # Let the user override the test.
3780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3784 test -z "$as_dir" && as_dir
=.
3785 for ac_exec_ext
in '' $ac_executable_extensions; do
3786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3787 ac_cv_prog_NM
="${ac_tool_prefix}nm"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 if test -n "$NM"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3800 $as_echo "$NM" >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803 $as_echo "no" >&6; }
3808 if test -z "$ac_cv_prog_NM"; then
3810 # Extract the first word of "nm", so it can be a program name with args.
3811 set dummy nm
; ac_word
=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
3815 $as_echo_n "(cached) " >&6
3817 if test -n "$ac_ct_NM"; then
3818 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
3820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir
=.
3825 for ac_exec_ext
in '' $ac_executable_extensions; do
3826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3827 ac_cv_prog_ac_ct_NM
="nm"
3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
3838 if test -n "$ac_ct_NM"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3840 $as_echo "$ac_ct_NM" >&6; }
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3846 if test "x$ac_ct_NM" = x
; then
3849 case $cross_compiling:$ac_tool_warned in
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3853 ac_tool_warned
=yes ;;
3861 if test -n "$ac_tool_prefix"; then
3862 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3863 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3865 $as_echo_n "checking for $ac_word... " >&6; }
3866 if ${ac_cv_prog_DLLTOOL+:} false
; then :
3867 $as_echo_n "(cached) " >&6
3869 if test -n "$DLLTOOL"; then
3870 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
3872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3876 test -z "$as_dir" && as_dir
=.
3877 for ac_exec_ext
in '' $ac_executable_extensions; do
3878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3879 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
3880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 DLLTOOL
=$ac_cv_prog_DLLTOOL
3890 if test -n "$DLLTOOL"; then
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3892 $as_echo "$DLLTOOL" >&6; }
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3895 $as_echo "no" >&6; }
3900 if test -z "$ac_cv_prog_DLLTOOL"; then
3901 ac_ct_DLLTOOL
=$DLLTOOL
3902 # Extract the first word of "dlltool", so it can be a program name with args.
3903 set dummy dlltool
; ac_word
=$2
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3905 $as_echo_n "checking for $ac_word... " >&6; }
3906 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
3907 $as_echo_n "(cached) " >&6
3909 if test -n "$ac_ct_DLLTOOL"; then
3910 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
3912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3916 test -z "$as_dir" && as_dir
=.
3917 for ac_exec_ext
in '' $ac_executable_extensions; do
3918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3919 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
3920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3929 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
3930 if test -n "$ac_ct_DLLTOOL"; then
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3932 $as_echo "$ac_ct_DLLTOOL" >&6; }
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935 $as_echo "no" >&6; }
3938 if test "x$ac_ct_DLLTOOL" = x
; then
3941 case $cross_compiling:$ac_tool_warned in
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3945 ac_tool_warned
=yes ;;
3947 DLLTOOL
=$ac_ct_DLLTOOL
3950 DLLTOOL
="$ac_cv_prog_DLLTOOL"
3953 if test -n "$ac_tool_prefix"; then
3954 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
3955 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3957 $as_echo_n "checking for $ac_word... " >&6; }
3958 if ${ac_cv_prog_WINDRES+:} false
; then :
3959 $as_echo_n "(cached) " >&6
3961 if test -n "$WINDRES"; then
3962 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
3964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3968 test -z "$as_dir" && as_dir
=.
3969 for ac_exec_ext
in '' $ac_executable_extensions; do
3970 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3971 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
3972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 WINDRES
=$ac_cv_prog_WINDRES
3982 if test -n "$WINDRES"; then
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
3984 $as_echo "$WINDRES" >&6; }
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3987 $as_echo "no" >&6; }
3992 if test -z "$ac_cv_prog_WINDRES"; then
3993 ac_ct_WINDRES
=$WINDRES
3994 # Extract the first word of "windres", so it can be a program name with args.
3995 set dummy windres
; ac_word
=$2
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3997 $as_echo_n "checking for $ac_word... " >&6; }
3998 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
3999 $as_echo_n "(cached) " >&6
4001 if test -n "$ac_ct_WINDRES"; then
4002 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4008 test -z "$as_dir" && as_dir
=.
4009 for ac_exec_ext
in '' $ac_executable_extensions; do
4010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4011 ac_cv_prog_ac_ct_WINDRES
="windres"
4012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4022 if test -n "$ac_ct_WINDRES"; then
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
4024 $as_echo "$ac_ct_WINDRES" >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4027 $as_echo "no" >&6; }
4030 if test "x$ac_ct_WINDRES" = x
; then
4033 case $cross_compiling:$ac_tool_warned in
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4037 ac_tool_warned
=yes ;;
4039 WINDRES
=$ac_ct_WINDRES
4042 WINDRES
="$ac_cv_prog_WINDRES"
4046 # Check whether --enable-debugging was given.
4047 if test "${enable_debugging+set}" = set; then :
4048 enableval
=$enable_debugging; case "${enableval}" in
4049 yes) $as_echo "#define DEBUGGING 1" >>confdefs.h
4059 for f
in $ac_configure_args; do
4062 *) configure_args
="$configure_args $f" ;;
4065 configure_args
=$
(/usr
/bin
/expr "$configure_args" : 'X \(.*\)')
4068 ac_config_files
="$ac_config_files Makefile"
4070 cat >confcache
<<\_ACEOF
4071 # This file is a shell script that caches the results of configure
4072 # tests run on this system so they can be shared between configure
4073 # scripts and configure runs, see configure's option --config-cache.
4074 # It is not useful on other systems. If it contains results you don't
4075 # want to keep, you may remove or edit it.
4077 # config.status only pays attention to the cache file if you give it
4078 # the --recheck option to rerun configure.
4080 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4081 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4086 # The following way of writing the cache mishandles newlines in values,
4087 # but we know of no workaround that is simple, portable, and efficient.
4088 # So, we kill variables containing newlines.
4089 # Ultrix sh set writes to stderr and can't be redirected directly,
4090 # and sets the high bit in the cache file unless we assign to the vars.
4092 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4093 eval ac_val
=\$
$ac_var
4097 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4098 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4101 _ | IFS | as_nl
) ;; #(
4102 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4103 *) { eval $ac_var=; unset $ac_var;} ;;
4109 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4110 *${as_nl}ac_space
=\
*)
4111 # `set' does not quote correctly, so add quotes: double-quote
4112 # substitution turns \\\\ into \\, and sed turns \\ into \.
4115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4118 # `set' quotes correctly as required by POSIX, so do not add quotes.
4119 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4128 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4130 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4132 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4133 if test -w "$cache_file"; then
4134 if test "x$cache_file" != "x/dev/null"; then
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4136 $as_echo "$as_me: updating cache $cache_file" >&6;}
4137 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4138 cat confcache
>"$cache_file"
4140 case $cache_file in #(
4142 mv -f confcache
"$cache_file"$$
&&
4143 mv -f "$cache_file"$$
"$cache_file" ;; #(
4145 mv -f confcache
"$cache_file" ;;
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4151 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4156 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4157 # Let make expand exec_prefix.
4158 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4160 # Transform confdefs.h into DEFS.
4161 # Protect against shell expansion while executing Makefile rules.
4162 # Protect against Makefile macro expansion.
4164 # If the first sed substitution is executed (which looks for macros that
4165 # take arguments), then branch to the quote section. Otherwise,
4166 # look for a macro that doesn't take arguments.
4176 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4178 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4182 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4195 DEFS
=`sed -n "$ac_script" confdefs.h`
4201 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4202 # 1. Remove the extension, and $U if already installed.
4203 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4204 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4205 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4206 # will be set to the directory where LIBOBJS objects are built.
4207 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4208 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4212 LTLIBOBJS
=$ac_ltlibobjs
4216 : "${CONFIG_STATUS=./config.status}"
4218 ac_clean_files_save
=$ac_clean_files
4219 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4221 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4223 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4225 # Generated by $as_me.
4226 # Run this file to recreate the current configuration.
4227 # Compiler output produced by configure, useful for debugging
4228 # configure, is in config.log if it exists.
4234 SHELL=\${CONFIG_SHELL-$SHELL}
4237 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4238 ## -------------------- ##
4239 ## M4sh Initialization. ##
4240 ## -------------------- ##
4242 # Be more Bourne compatible
4243 DUALCASE
=1; export DUALCASE
# for MKS sh
4244 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4247 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4248 # is contrary to our usage. Disable this feature.
4249 alias -g '${1+"$@"}'='"$@"'
4250 setopt NO_GLOB_SUBST
4252 case `(set -o) 2>/dev/null` in #(
4264 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4265 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4266 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4267 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4268 # Prefer a ksh shell builtin over an external printf program on Solaris,
4269 # but without wasting forks for bash or zsh.
4270 if test -z "$BASH_VERSION$ZSH_VERSION" \
4271 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4272 as_echo='print
-r --'
4273 as_echo_n='print
-rn --'
4274 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4275 as_echo='printf %s
\n'
4276 as_echo_n='printf %s
'
4278 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4279 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4280 as_echo_n='/usr
/ucb
/echo -n'
4282 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4283 as_echo_n_body='eval
4287 expr "X$arg" : "X\\(.*\\)$as_nl";
4288 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4290 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4292 export as_echo_n_body
4293 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4296 as_echo='sh
-c $as_echo_body as_echo
'
4299 # The user is always right.
4300 if test "${PATH_SEPARATOR+set}" != set; then
4302 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4303 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4310 # We need space, tab and new line, in precisely that order. Quoting is
4311 # there to prevent editors from complaining about space-tab.
4312 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4313 # splitting by setting IFS to empty value.)
4316 # Find who we are. Look in the path if we contain no directory separator.
4319 *[\\/]* ) as_myself=$0 ;;
4320 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir=.
4325 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4331 # We did not find ourselves, most probably we were run as `sh COMMAND'
4332 # in which case we are not to be found in the path.
4333 if test "x$as_myself" = x
; then
4336 if test ! -f "$as_myself"; then
4337 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4341 # Unset variables that we do not need and which cause bugs (e.g. in
4342 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4343 # suppresses any "Segmentation fault" message there. '((' could
4344 # trigger a bug in pdksh 5.2.14.
4345 for as_var
in BASH_ENV ENV MAIL MAILPATH
4346 do eval test x\
${$as_var+set} = xset \
4347 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4360 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4364 # ----------------------------------------
4365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4367 # script with STATUS, using 1 if that was 0.
4370 as_status
=$1; test $as_status -eq 0 && as_status
=1
4372 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4375 $as_echo "$as_me: error: $2" >&2
4376 as_fn_exit
$as_status
4380 # as_fn_set_status STATUS
4381 # -----------------------
4382 # Set $? to STATUS, without forking.
4386 } # as_fn_set_status
4390 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4400 # Portably unset VAR.
4403 { eval $1=; unset $1;}
4405 as_unset
=as_fn_unset
4406 # as_fn_append VAR VALUE
4407 # ----------------------
4408 # Append the text in VALUE to the end of the definition contained in VAR. Take
4409 # advantage of any shell optimizations that allow amortized linear growth over
4410 # repeated appends, instead of the typical quadratic growth present in naive
4412 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4413 eval 'as_fn_append ()
4424 # as_fn_arith ARG...
4425 # ------------------
4426 # Perform arithmetic evaluation on the ARGs, and store the result in the
4427 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4428 # must be portable across $(()) and expr.
4429 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4430 eval 'as_fn_arith ()
4437 as_val
=`expr "$@" || test $? -eq 1`
4442 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4443 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4449 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4450 as_basename
=basename
4455 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4461 as_me
=`$as_basename -- "$0" ||
4462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4463 X"$0" : 'X\(//\)$' \| \
4464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4466 sed '/^.*\/\([^/][^/]*\)\/*$/{
4480 # Avoid depending upon Character Ranges.
4481 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4482 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4483 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4484 as_cr_digits
='0123456789'
4485 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4487 ECHO_C
= ECHO_N
= ECHO_T
=
4488 case `echo -n x` in #(((((
4490 case `echo 'xy\c'` in
4491 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4493 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4500 rm -f conf$$ conf$$.exe conf$$.
file
4501 if test -d conf$$.dir
; then
4502 rm -f conf$$.dir
/conf$$.
file
4505 mkdir conf$$.dir
2>/dev
/null
4507 if (echo >conf$$.
file) 2>/dev
/null
; then
4508 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4510 # ... but there are two gotchas:
4511 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4512 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4513 # In both cases, we have to default to `cp -pR'.
4514 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4516 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4524 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4525 rmdir conf$$.dir
2>/dev
/null
4530 # Create "$as_dir" as a directory, including parents if necessary.
4535 -*) as_dir
=.
/$as_dir;;
4537 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4541 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4542 *) as_qdir
=$as_dir;;
4544 as_dirs
="'$as_qdir' $as_dirs"
4545 as_dir
=`$as_dirname -- "$as_dir" ||
4546 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4547 X"$as_dir" : 'X\(//\)[^/]' \| \
4548 X"$as_dir" : 'X\(//\)$' \| \
4549 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4550 $as_echo X"$as_dir" |
4551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4568 test -d "$as_dir" && break
4570 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4571 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4575 if mkdir
-p .
2>/dev
/null
; then
4576 as_mkdir_p
='mkdir -p "$as_dir"'
4578 test -d .
/-p && rmdir .
/-p
4583 # as_fn_executable_p FILE
4584 # -----------------------
4585 # Test if FILE is an executable regular file.
4586 as_fn_executable_p
()
4588 test -f "$1" && test -x "$1"
4589 } # as_fn_executable_p
4591 as_executable_p
=as_fn_executable_p
4593 # Sed expression to map a string onto a valid CPP name.
4594 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4596 # Sed expression to map a string onto a valid variable name.
4597 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4601 ## ----------------------------------- ##
4602 ## Main body of $CONFIG_STATUS script. ##
4603 ## ----------------------------------- ##
4605 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4608 # Save the log message, to keep $0 and so on meaningful, and to
4609 # report actual input values of CONFIG_FILES etc. instead of their
4610 # values after options handling.
4612 This file was extended by Cygwin Cygserver $as_me 0, which was
4613 generated by GNU Autoconf 2.69. Invocation command line was
4615 CONFIG_FILES = $CONFIG_FILES
4616 CONFIG_HEADERS = $CONFIG_HEADERS
4617 CONFIG_LINKS = $CONFIG_LINKS
4618 CONFIG_COMMANDS = $CONFIG_COMMANDS
4621 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4626 case $ac_config_files in *"
4627 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4633 # Files that config.status was made for.
4634 config_files="$ac_config_files"
4638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4640 \`$as_me' instantiates files and other configuration actions
4641 from templates according to the current configuration. Unless the files
4642 and actions are specified as TAGs, all are instantiated by default.
4644 Usage: $0 [OPTION]... [TAG]...
4646 -h, --help print this help, then exit
4647 -V, --version print version number and configuration settings, then exit
4648 --config print configuration, then exit
4649 -q, --quiet, --silent
4650 do not print progress messages
4651 -d, --debug don't remove temporary files
4652 --recheck update $as_me by reconfiguring in the same conditions
4653 --file=FILE[:TEMPLATE]
4654 instantiate the configuration file FILE
4656 Configuration files:
4659 Report bugs to <cygwin@cygwin.com>.
4660 Cygwin Cygserver home page: <https://cygwin.com>."
4663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4664 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4666 Cygwin Cygserver config.status 0
4667 configured by $0, generated by GNU Autoconf 2.69,
4668 with options \\"\$ac_cs_config\\"
4670 Copyright (C) 2012 Free Software Foundation, Inc.
4671 This config.status script is free software; the Free Software Foundation
4672 gives unlimited permission to copy, distribute and modify it."
4677 test -n "\$AWK" || AWK=awk
4680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4681 # The default lists apply if the user does not specify any file.
4687 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4688 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4692 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4704 # Handling of the options.
4705 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4707 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4708 $as_echo "$ac_cs_version"; exit ;;
4709 --config |
--confi |
--conf |
--con |
--co |
--c )
4710 $as_echo "$ac_cs_config"; exit ;;
4711 --debug |
--debu |
--deb |
--de |
--d |
-d )
4713 --file |
--fil |
--fi |
--f )
4716 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4717 '') as_fn_error $?
"missing file argument" ;;
4719 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4720 ac_need_defaults
=false
;;
4721 --he |
--h |
--help |
--hel |
-h )
4722 $as_echo "$ac_cs_usage"; exit ;;
4723 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4724 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4728 -*) as_fn_error $?
"unrecognized option: \`$1'
4729 Try \`$0 --help' for more information." ;;
4731 *) as_fn_append ac_config_targets
" $1"
4732 ac_need_defaults
=false
;;
4738 ac_configure_extra_args
=
4740 if $ac_cs_silent; then
4742 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4747 if \$ac_cs_recheck; then
4748 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4750 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4751 CONFIG_SHELL='$SHELL'
4757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4761 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4762 ## Running $as_me. ##
4768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4773 # Handling of arguments.
4774 for ac_config_target
in $ac_config_targets
4776 case $ac_config_target in
4777 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4779 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4784 # If the user did not use the arguments to specify the items to instantiate,
4785 # then the envvar interface is used. Set only those that are not.
4786 # We use the long form for the default assignment because of an extremely
4787 # bizarre bug on SunOS 4.1.3.
4788 if $ac_need_defaults; then
4789 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4792 # Have a temporary directory for convenience. Make it in the build tree
4793 # simply because there is no reason against having it here, and in addition,
4794 # creating and moving files from /tmp can sometimes cause problems.
4795 # Hook for its removal unless debugging.
4796 # Note that there is a small window in which the directory will not be cleaned:
4797 # after its creation but before its name has been assigned to `$tmp'.
4801 trap 'exit_status=$?
4803 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4805 trap 'as_fn_exit 1' 1 2 13 15
4807 # Create a (secure) tmp directory for tmp files.
4810 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4814 tmp
=.
/conf$$
-$RANDOM
4815 (umask 077 && mkdir
"$tmp")
4816 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4819 # Set up the scripts for CONFIG_FILES section.
4820 # No need to generate them if there are no CONFIG_FILES.
4821 # This happens for instance with `./config.status config.h'.
4822 if test -n "$CONFIG_FILES"; then
4825 ac_cr
=`echo X | tr X '\015'`
4826 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4827 # But we know of no other shell where ac_cr would be empty at this
4828 # point, so we can use a bashism as a fallback.
4829 if test "x$ac_cr" = x
; then
4830 eval ac_cr
=\$
\'\\r
\'
4832 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4833 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4839 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4844 echo "cat >conf$$subs.awk <<_ACEOF" &&
4845 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4848 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4849 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4851 for ac_last_try in false false false false false :; do
4852 . ./conf$$subs.sh ||
4853 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4855 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4856 if test $ac_delim_n = $ac_delim_num; then
4858 elif $ac_last_try; then
4859 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4861 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4866 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4867 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4871 s/^/S["/; s
/!.
*/"]=/
4881 s/\(.\{148\}\)..*/\1/
4883 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4888 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4895 s/\(.\{148\}\)..*/\1/
4897 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4901 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4906 ' <conf$$subs.awk | sed '
4911 ' >>$CONFIG_STATUS || ac_write_fail=1
4912 rm -f conf$$subs.awk
4913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4915 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4916 for (key in S) S_is_set[key] = 1
4922 nfields = split(line, field, "@
")
4924 len = length(field[1])
4925 for (i = 2; i < nfields; i++) {
4927 keylen = length(key)
4928 if (S_is_set[key]) {
4930 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4931 len += length(value) + length(field[++i])
4942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4943 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4944 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4947 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4948 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4951 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4952 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4953 # trailing colons and then remove the whole line if VPATH becomes empty
4954 # (actually we leave an empty line to preserve line numbers).
4955 if test "x
$srcdir" = x.; then
4956 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4975 fi # test -n "$CONFIG_FILES"
4978 eval set X " :F
$CONFIG_FILES "
4983 :[FHLC]) ac_mode=$ac_tag; continue;;
4985 case $ac_mode$ac_tag in
4987 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4988 :[FH]-) ac_tag=-:-;;
4989 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5006 -) ac_f="$ac_tmp/stdin";;
5007 *) # Look for the file first in the build tree, then in the source tree
5008 # (if the path is not absolute). The absolute path cannot be DOS-style,
5009 # because $ac_f cannot contain `:'.
5013 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5015 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5017 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5018 as_fn_append ac_file_inputs " '$ac_f'"
5021 # Let's still pretend it is `configure' which instantiates (i.e., don't
5022 # use $as_me), people would be surprised to read:
5023 # /* config.h. Generated by config.status. */
5024 configure_input='Generated from '`
5025 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5027 if test x"$ac_file" != x-; then
5028 configure_input="$ac_file.
$configure_input"
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5030 $as_echo "$as_me: creating
$ac_file" >&6;}
5032 # Neutralize special characters interpreted by sed in replacement strings.
5033 case $configure_input in #(
5034 *\&* | *\|* | *\\* )
5035 ac_sed_conf_input=`$as_echo "$configure_input" |
5036 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5037 *) ac_sed_conf_input=$configure_input;;
5041 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5042 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5047 ac_dir=`$as_dirname -- "$ac_file" ||
5048 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5049 X"$ac_file" : 'X\(//\)[^/]' \| \
5050 X"$ac_file" : 'X\(//\)$' \| \
5051 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5052 $as_echo X"$ac_file" |
5053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5070 as_dir="$ac_dir"; as_fn_mkdir_p
5074 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5076 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5077 # A "..
" for each directory in $ac_dir_suffix.
5078 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5079 case $ac_top_builddir_sub in
5080 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5081 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5084 ac_abs_top_builddir=$ac_pwd
5085 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5086 # for backward compatibility:
5087 ac_top_builddir=$ac_top_build_prefix
5090 .) # We are building in place.
5092 ac_top_srcdir=$ac_top_builddir_sub
5093 ac_abs_top_srcdir=$ac_pwd ;;
5094 [\\/]* | ?:[\\/]* ) # Absolute name.
5095 ac_srcdir=$srcdir$ac_dir_suffix;
5096 ac_top_srcdir=$srcdir
5097 ac_abs_top_srcdir=$srcdir ;;
5099 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5100 ac_top_srcdir=$ac_top_build_prefix$srcdir
5101 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5103 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5113 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5114 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5119 # If the template does not know about datarootdir, expand it.
5120 # FIXME: This hack should be removed a few years after 2.60.
5121 ac_datarootdir_hack=; ac_datarootdir_seen=
5132 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5133 *datarootdir*) ac_datarootdir_seen=yes;;
5134 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5136 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5139 ac_datarootdir_hack='
5140 s&@datadir@&$datadir&g
5141 s&@docdir@&$docdir&g
5142 s&@infodir@&$infodir&g
5143 s&@localedir@&$localedir&g
5144 s&@mandir@&$mandir&g
5145 s&\\\${datarootdir}&$datarootdir&g' ;;
5149 # Neutralize VPATH when `$srcdir' = `.'.
5150 # Shell code in configure.ac might set extrasub.
5151 # FIXME: do we really want to maintain this feature?
5152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5153 ac_sed_extra="$ac_vpsub
5156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5158 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5159 s|@configure_input@|
$ac_sed_conf_input|
;t t
5160 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5161 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5162 s
&@srcdir@
&$ac_srcdir&;t t
5163 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5164 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5165 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5166 s
&@builddir@
&$ac_builddir&;t t
5167 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5168 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5169 s
&@INSTALL@
&$ac_INSTALL&;t t
5170 $ac_datarootdir_hack
5172 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5173 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5175 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5176 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5177 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5178 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5180 which seems to be undefined. Please make sure it is defined" >&5
5181 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5182 which seems to be undefined. Please make sure it is defined" >&2;}
5184 rm -f "$ac_tmp/stdin"
5186 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5187 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5189 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5201 ac_clean_files=$ac_clean_files_save
5203 test $ac_write_fail = 0 ||
5204 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5207 # configure is writing to config.log, and then calls config.status.
5208 # config.status does its own redirection, appending to config.log.
5209 # Unfortunately, on DOS this fails, as config.log is still kept open
5210 # by configure, so config.status won't be able to
write to it
; its
5211 # output is simply discarded. So we exec the FD to /dev/null,
5212 # effectively closing config.log, so it can be properly (re)opened and
5213 # appended to by config.status. When coming back to configure, we
5214 # need to make the FD available again.
5215 if test "$no_create" != yes; then
5217 ac_config_status_args
=
5218 test "$silent" = yes &&
5219 ac_config_status_args
="$ac_config_status_args --quiet"
5221 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5223 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5224 # would make configure fail if this is the last instruction.
5225 $ac_cs_success || as_fn_exit
1
5227 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5229 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}