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
659 program_transform_name
674 enable_option_checking
679 ac_precious_vars
='build_alias
693 # Initialize some variables set by options.
695 ac_init_version
=false
696 ac_unrecognized_opts
=
698 # The variables have the same names as the options, with
699 # dashes changed to underlines.
707 program_transform_name
=s
,x
,x
,
715 # Installation directory options.
716 # These are left unexpanded so users can "make install exec_prefix=/foo"
717 # and all the variables that are supposed to be based on exec_prefix
718 # by default will actually change.
719 # Use braces instead of parens because sh, perl, etc. also accept them.
720 # (The list follows the same order as the GNU Coding Standards.)
721 bindir
='${exec_prefix}/bin'
722 sbindir
='${exec_prefix}/sbin'
723 libexecdir
='${exec_prefix}/libexec'
724 datarootdir
='${prefix}/share'
725 datadir
='${datarootdir}'
726 sysconfdir
='${prefix}/etc'
727 sharedstatedir
='${prefix}/com'
728 localstatedir
='${prefix}/var'
729 includedir
='${prefix}/include'
730 oldincludedir
='/usr/include'
731 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
732 infodir
='${datarootdir}/info'
737 libdir
='${exec_prefix}/lib'
738 localedir
='${datarootdir}/locale'
739 mandir
='${datarootdir}/man'
745 # If the previous option needs an argument, assign it.
746 if test -n "$ac_prev"; then
747 eval $ac_prev=\
$ac_option
753 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758 # Accept the important Cygnus configure options, so we can diagnose typos.
760 case $ac_dashdash$ac_option in
764 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
766 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
769 -build |
--build |
--buil |
--bui |
--bu)
770 ac_prev
=build_alias
;;
771 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
772 build_alias
=$ac_optarg ;;
774 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
775 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
776 ac_prev
=cache_file
;;
777 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
778 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
779 cache_file
=$ac_optarg ;;
782 cache_file
=config.cache
;;
784 -datadir |
--datadir |
--datadi |
--datad)
786 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
787 datadir
=$ac_optarg ;;
789 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
790 |
--dataroo |
--dataro |
--datar)
791 ac_prev
=datarootdir
;;
792 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
793 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
794 datarootdir
=$ac_optarg ;;
796 -disable-* |
--disable-*)
797 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
800 as_fn_error $?
"invalid feature name: $ac_useropt"
801 ac_useropt_orig
=$ac_useropt
802 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
803 case $ac_user_opts in
807 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
808 ac_unrecognized_sep
=', ';;
810 eval enable_
$ac_useropt=no
;;
812 -docdir |
--docdir |
--docdi |
--doc |
--do)
814 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
817 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
819 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
822 -enable-* |
--enable-*)
823 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
826 as_fn_error $?
"invalid feature name: $ac_useropt"
827 ac_useropt_orig
=$ac_useropt
828 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
834 ac_unrecognized_sep
=', ';;
836 eval enable_
$ac_useropt=\
$ac_optarg ;;
838 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
839 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
840 |
--exec |
--exe |
--ex)
841 ac_prev
=exec_prefix
;;
842 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
843 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
844 |
--exec=* |
--exe=* |
--ex=*)
845 exec_prefix
=$ac_optarg ;;
847 -gas |
--gas |
--ga |
--g)
848 # Obsolete; use --with-gas.
851 -help |
--help |
--hel |
--he |
-h)
853 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
854 ac_init_help
=recursive
;;
855 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
856 ac_init_help
=short
;;
858 -host |
--host |
--hos |
--ho)
859 ac_prev
=host_alias
;;
860 -host=* |
--host=* |
--hos=* |
--ho=*)
861 host_alias
=$ac_optarg ;;
863 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
865 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
867 htmldir
=$ac_optarg ;;
869 -includedir |
--includedir |
--includedi |
--included |
--include \
870 |
--includ |
--inclu |
--incl |
--inc)
871 ac_prev
=includedir
;;
872 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
873 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
874 includedir
=$ac_optarg ;;
876 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
878 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
879 infodir
=$ac_optarg ;;
881 -libdir |
--libdir |
--libdi |
--libd)
883 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
886 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
887 |
--libexe |
--libex |
--libe)
888 ac_prev
=libexecdir
;;
889 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
890 |
--libexe=* |
--libex=* |
--libe=*)
891 libexecdir
=$ac_optarg ;;
893 -localedir |
--localedir |
--localedi |
--localed |
--locale)
895 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
896 localedir
=$ac_optarg ;;
898 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
899 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
900 ac_prev
=localstatedir
;;
901 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
902 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
903 localstatedir
=$ac_optarg ;;
905 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
907 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
911 # Obsolete; use --without-fp.
914 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
915 |
--no-cr |
--no-c |
-n)
918 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
919 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
922 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
923 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
924 |
--oldin |
--oldi |
--old |
--ol |
--o)
925 ac_prev
=oldincludedir
;;
926 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
927 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
928 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
929 oldincludedir
=$ac_optarg ;;
931 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
933 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
936 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
937 |
--program-pre |
--program-pr |
--program-p)
938 ac_prev
=program_prefix
;;
939 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
940 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
941 program_prefix
=$ac_optarg ;;
943 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
944 |
--program-suf |
--program-su |
--program-s)
945 ac_prev
=program_suffix
;;
946 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
947 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
948 program_suffix
=$ac_optarg ;;
950 -program-transform-name |
--program-transform-name \
951 |
--program-transform-nam |
--program-transform-na \
952 |
--program-transform-n |
--program-transform- \
953 |
--program-transform |
--program-transfor \
954 |
--program-transfo |
--program-transf \
955 |
--program-trans |
--program-tran \
956 |
--progr-tra |
--program-tr |
--program-t)
957 ac_prev
=program_transform_name
;;
958 -program-transform-name=* |
--program-transform-name=* \
959 |
--program-transform-nam=* |
--program-transform-na=* \
960 |
--program-transform-n=* |
--program-transform-=* \
961 |
--program-transform=* |
--program-transfor=* \
962 |
--program-transfo=* |
--program-transf=* \
963 |
--program-trans=* |
--program-tran=* \
964 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
965 program_transform_name
=$ac_optarg ;;
967 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
969 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
972 -psdir |
--psdir |
--psdi |
--psd |
--ps)
974 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
977 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
978 |
-silent |
--silent |
--silen |
--sile |
--sil)
981 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
983 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
985 sbindir
=$ac_optarg ;;
987 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
988 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
989 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
991 ac_prev
=sharedstatedir
;;
992 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
993 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
994 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
996 sharedstatedir
=$ac_optarg ;;
998 -site |
--site |
--sit)
1000 -site=* |
--site=* |
--sit=*)
1003 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1005 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1006 srcdir
=$ac_optarg ;;
1008 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1009 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1010 ac_prev
=sysconfdir
;;
1011 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1012 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1013 sysconfdir
=$ac_optarg ;;
1015 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1016 ac_prev
=target_alias
;;
1017 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1018 target_alias
=$ac_optarg ;;
1020 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1023 -version |
--version |
--versio |
--versi |
--vers |
-V)
1024 ac_init_version
=: ;;
1027 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1030 as_fn_error $?
"invalid package name: $ac_useropt"
1031 ac_useropt_orig
=$ac_useropt
1032 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1037 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1038 ac_unrecognized_sep
=', ';;
1040 eval with_
$ac_useropt=\
$ac_optarg ;;
1042 -without-* |
--without-*)
1043 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1046 as_fn_error $?
"invalid package name: $ac_useropt"
1047 ac_useropt_orig
=$ac_useropt
1048 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1053 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1054 ac_unrecognized_sep
=', ';;
1056 eval with_
$ac_useropt=no
;;
1059 # Obsolete; use --with-x.
1062 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1063 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1064 ac_prev
=x_includes
;;
1065 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1066 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1067 x_includes
=$ac_optarg ;;
1069 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1070 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1071 ac_prev
=x_libraries
;;
1072 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1073 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1074 x_libraries
=$ac_optarg ;;
1076 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1077 Try \`$0 --help' for more information"
1081 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1082 # Reject names that are not valid shell variable names.
1083 case $ac_envvar in #(
1084 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1085 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1087 eval $ac_envvar=\
$ac_optarg
1088 export $ac_envvar ;;
1091 # FIXME: should be removed in autoconf 3.0.
1092 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1093 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1094 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1095 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1101 if test -n "$ac_prev"; then
1102 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1103 as_fn_error $?
"missing argument to $ac_option"
1106 if test -n "$ac_unrecognized_opts"; then
1107 case $enable_option_checking in
1109 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1110 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1114 # Check all directory arguments for consistency.
1115 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1116 datadir sysconfdir sharedstatedir localstatedir includedir \
1117 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1118 libdir localedir mandir
1120 eval ac_val
=\$
$ac_var
1121 # Remove trailing slashes.
1124 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1125 eval $ac_var=\
$ac_val;;
1127 # Be sure to have absolute directory names.
1129 [\\/$
]* | ?
:[\\/]* ) continue;;
1130 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1132 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1135 # There might be people who depend on the old broken behavior: `$host'
1136 # used to hold the argument of --host etc.
1137 # FIXME: To remove some day.
1140 target
=$target_alias
1142 # FIXME: To remove some day.
1143 if test "x$host_alias" != x
; then
1144 if test "x$build_alias" = x
; then
1145 cross_compiling
=maybe
1146 elif test "x$build_alias" != "x$host_alias"; then
1152 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1154 test "$silent" = yes && exec 6>/dev
/null
1157 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1158 ac_ls_di
=`ls -di .` &&
1159 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1160 as_fn_error $?
"working directory cannot be determined"
1161 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1162 as_fn_error $?
"pwd does not report name of working directory"
1165 # Find the source files, if location was not specified.
1166 if test -z "$srcdir"; then
1167 ac_srcdir_defaulted
=yes
1168 # Try the directory containing this script, then the parent directory.
1169 ac_confdir
=`$as_dirname -- "$as_myself" ||
1170 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1171 X"$as_myself" : 'X\(//\)[^/]' \| \
1172 X"$as_myself" : 'X\(//\)$' \| \
1173 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1174 $as_echo X"$as_myself" |
1175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1197 ac_srcdir_defaulted
=no
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1200 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1201 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1203 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1205 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1207 # When building in place, set srcdir=.
1208 if test "$ac_abs_confdir" = "$ac_pwd"; then
1211 # Remove unnecessary trailing slashes from srcdir.
1212 # Double slashes in file names in object file debugging info
1213 # mess up M-x gdb in Emacs.
1215 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1217 for ac_var
in $ac_precious_vars; do
1218 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1219 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1220 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1221 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1225 # Report the --help message.
1227 if test "$ac_init_help" = "long"; then
1228 # Omit some internal or obsolete options to make the list less imposing.
1229 # This message is too long to be a string in the A/UX 3.1 sh.
1231 \`configure' configures Cygwin Cygserver 0 to adapt to many kinds of systems.
1233 Usage: $0 [OPTION]... [VAR=VALUE]...
1235 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1236 VAR=VALUE. See below for descriptions of some of the useful variables.
1238 Defaults for the options are specified in brackets.
1241 -h, --help display this help and exit
1242 --help=short display options specific to this package
1243 --help=recursive display the short help of all the included packages
1244 -V, --version display version information and exit
1245 -q, --quiet, --silent do not print \`checking ...' messages
1246 --cache-file=FILE cache test results in FILE [disabled]
1247 -C, --config-cache alias for \`--cache-file=config.cache'
1248 -n, --no-create do not create output files
1249 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1251 Installation directories:
1252 --prefix=PREFIX install architecture-independent files in PREFIX
1253 [$ac_default_prefix]
1254 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1257 By default, \`make install' will install all the files in
1258 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1259 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1260 for instance \`--prefix=\$HOME'.
1262 For better control, use the options below.
1264 Fine tuning of the installation directories:
1265 --bindir=DIR user executables [EPREFIX/bin]
1266 --sbindir=DIR system admin executables [EPREFIX/sbin]
1267 --libexecdir=DIR program executables [EPREFIX/libexec]
1268 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1269 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1270 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1271 --libdir=DIR object code libraries [EPREFIX/lib]
1272 --includedir=DIR C header files [PREFIX/include]
1273 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1274 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1275 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1276 --infodir=DIR info documentation [DATAROOTDIR/info]
1277 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1278 --mandir=DIR man documentation [DATAROOTDIR/man]
1279 --docdir=DIR documentation root [DATAROOTDIR/doc/cygwin]
1280 --htmldir=DIR html documentation [DOCDIR]
1281 --dvidir=DIR dvi documentation [DOCDIR]
1282 --pdfdir=DIR pdf documentation [DOCDIR]
1283 --psdir=DIR ps documentation [DOCDIR]
1289 --build=BUILD configure
for building on BUILD
[guessed
]
1290 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1291 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1295 if test -n "$ac_init_help"; then
1296 case $ac_init_help in
1297 short | recursive
) echo "Configuration of Cygwin Cygserver 0:";;
1302 --disable-option-checking ignore unrecognized
--enable/--with options
1303 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1304 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1305 --enable-debugging Build a cygwin DLL
which has
more consistency checking
for debugging
1308 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1309 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1310 --with-windows-headers=DIR
1311 specify where the windows includes are located
1312 --with-windows-libs=DIR specify where the windows libraries are located
1314 Some influential environment variables
:
1315 CC C compiler
command
1316 CFLAGS C compiler flags
1317 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1318 nonstandard directory
<lib dir
>
1319 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1320 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1321 you have headers
in a nonstandard directory
<include dir
>
1322 CXX C
++ compiler
command
1323 CXXFLAGS C
++ compiler flags
1326 Use these variables to override the choices made by
`configure' or to help
1327 it to find libraries and programs with nonstandard names/locations.
1329 Report bugs to <cygwin@cygwin.com>.
1330 Cygwin Cygserver home page: <https://cygwin.com>.
1335 if test "$ac_init_help" = "recursive"; then
1336 # If there are subdirs, report their specific --help.
1337 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1338 test -d "$ac_dir" ||
1339 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1344 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1347 # A ".." for each directory in $ac_dir_suffix.
1348 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1349 case $ac_top_builddir_sub in
1350 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1351 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1354 ac_abs_top_builddir=$ac_pwd
1355 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1356 # for backward compatibility:
1357 ac_top_builddir=$ac_top_build_prefix
1360 .) # We are building in place.
1362 ac_top_srcdir=$ac_top_builddir_sub
1363 ac_abs_top_srcdir=$ac_pwd ;;
1364 [\\/]* | ?:[\\/]* ) # Absolute name.
1365 ac_srcdir=$srcdir$ac_dir_suffix;
1366 ac_top_srcdir=$srcdir
1367 ac_abs_top_srcdir=$srcdir ;;
1369 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1370 ac_top_srcdir=$ac_top_build_prefix$srcdir
1371 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1373 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1375 cd "$ac_dir" || { ac_status=$?; continue; }
1376 # Check for guested configure.
1377 if test -f "$ac_srcdir/configure.gnu"; then
1379 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1380 elif test -f "$ac_srcdir/configure"; then
1382 $SHELL "$ac_srcdir/configure" --help=recursive
1384 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1386 cd "$ac_pwd" || { ac_status=$?; break; }
1390 test -n "$ac_init_help" && exit $ac_status
1391 if $ac_init_version; then
1393 Cygwin Cygserver configure 0
1394 generated by GNU Autoconf 2.69
1396 Copyright (C) 2012 Free Software Foundation, Inc.
1397 This configure script is free software; the Free Software Foundation
1398 gives unlimited permission to copy, distribute and modify it.
1403 ## ------------------------ ##
1404 ## Autoconf initialization. ##
1405 ## ------------------------ ##
1407 # ac_fn_c_try_compile LINENO
1408 # --------------------------
1409 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1410 ac_fn_c_try_compile ()
1412 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1413 rm -f conftest.$ac_objext
1414 if { { ac_try="$ac_compile"
1416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1417 *) ac_try_echo
=$ac_try;;
1419 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1420 $as_echo "$ac_try_echo"; } >&5
1421 (eval "$ac_compile") 2>conftest.err
1423 if test -s conftest.err
; then
1424 grep -v '^ *+' conftest.err
>conftest.er1
1425 cat conftest.er1
>&5
1426 mv -f conftest.er1 conftest.err
1428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1429 test $ac_status = 0; } && {
1430 test -z "$ac_c_werror_flag" ||
1431 test ! -s conftest.err
1432 } && test -s conftest.
$ac_objext; then :
1435 $as_echo "$as_me: failed program was:" >&5
1436 sed 's/^/| /' conftest.
$ac_ext >&5
1440 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1441 as_fn_set_status
$ac_retval
1443 } # ac_fn_c_try_compile
1445 # ac_fn_cxx_try_compile LINENO
1446 # ----------------------------
1447 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1448 ac_fn_cxx_try_compile
()
1450 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1451 rm -f conftest.
$ac_objext
1452 if { { ac_try
="$ac_compile"
1454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1455 *) ac_try_echo=$ac_try;;
1457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1458 $as_echo "$ac_try_echo"; } >&5
1459 (eval "$ac_compile") 2>conftest.err
1461 if test -s conftest.err; then
1462 grep -v '^ *+' conftest.err >conftest.er1
1463 cat conftest.er1 >&5
1464 mv -f conftest.er1 conftest.err
1466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1467 test $ac_status = 0; } && {
1468 test -z "$ac_cxx_werror_flag" ||
1469 test ! -s conftest.err
1470 } && test -s conftest.$ac_objext; then :
1473 $as_echo "$as_me: failed program was:" >&5
1474 sed 's/^/| /' conftest.$ac_ext >&5
1478 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1479 as_fn_set_status $ac_retval
1481 } # ac_fn_cxx_try_compile
1483 # ac_fn_c_try_cpp LINENO
1484 # ----------------------
1485 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1489 if { { ac_try="$ac_cpp conftest.$ac_ext"
1491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1492 *) ac_try_echo
=$ac_try;;
1494 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495 $as_echo "$ac_try_echo"; } >&5
1496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1498 if test -s conftest.err
; then
1499 grep -v '^ *+' conftest.err
>conftest.er1
1500 cat conftest.er1
>&5
1501 mv -f conftest.er1 conftest.err
1503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504 test $ac_status = 0; } > conftest.i
&& {
1505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1506 test ! -s conftest.err
1510 $as_echo "$as_me: failed program was:" >&5
1511 sed 's/^/| /' conftest.
$ac_ext >&5
1515 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1516 as_fn_set_status
$ac_retval
1519 cat >config.log
<<_ACEOF
1520 This file contains any messages produced by compilers while
1521 running configure, to aid debugging if configure makes a mistake.
1523 It was created by Cygwin Cygserver $as_me 0, which was
1524 generated by GNU Autoconf 2.69. Invocation command line was
1536 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1537 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1538 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1539 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1540 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1542 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1543 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1545 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1546 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1547 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1548 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1549 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1550 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1551 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1559 test -z "$as_dir" && as_dir
=.
1560 $as_echo "PATH: $as_dir"
1576 # Keep a trace of the command line.
1577 # Strip out --no-create and --no-recursion so they do not pile up.
1578 # Strip out --silent because we don't want to record it for future runs.
1579 # Also quote any args containing shell meta-characters.
1580 # Make two passes to allow for proper duplicate-argument suppression.
1584 ac_must_keep_next
=false
1590 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1591 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1592 |
-silent |
--silent |
--silen |
--sile |
--sil)
1595 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1598 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1600 as_fn_append ac_configure_args1
" '$ac_arg'"
1601 if test $ac_must_keep_next = true
; then
1602 ac_must_keep_next
=false
# Got value, back to normal.
1605 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1606 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1607 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1608 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1609 case "$ac_configure_args0 " in
1610 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1613 -* ) ac_must_keep_next
=true
;;
1616 as_fn_append ac_configure_args
" '$ac_arg'"
1621 { ac_configure_args0
=; unset ac_configure_args0
;}
1622 { ac_configure_args1
=; unset ac_configure_args1
;}
1624 # When interrupted or exit'd, cleanup temporary files, and complete
1625 # config.log. We remove comments because anyway the quotes in there
1626 # would cause problems or look ugly.
1627 # WARNING: Use '\'' to represent an apostrophe within the trap.
1628 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1629 trap 'exit_status=$?
1630 # Save into config.log some information that might help in debugging.
1634 $as_echo "## ---------------- ##
1635 ## Cache variables. ##
1636 ## ---------------- ##"
1638 # The following way of writing the cache mishandles newlines in values,
1640 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1641 eval ac_val=\$$ac_var
1645 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1646 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1649 _ | IFS | as_nl) ;; #(
1650 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1651 *) { eval $ac_var=; unset $ac_var;} ;;
1656 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1657 *${as_nl}ac_space=\ *)
1659 "s/'\''/'\''\\\\'\'''\''/g;
1660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1663 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1670 $as_echo "## ----------------- ##
1671 ## Output variables. ##
1672 ## ----------------- ##"
1674 for ac_var in $ac_subst_vars
1676 eval ac_val=\$$ac_var
1678 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1680 $as_echo "$ac_var='\''$ac_val'\''"
1684 if test -n "$ac_subst_files"; then
1685 $as_echo "## ------------------- ##
1686 ## File substitutions. ##
1687 ## ------------------- ##"
1689 for ac_var
in $ac_subst_files
1691 eval ac_val
=\$
$ac_var
1693 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1695 $as_echo "$ac_var='\''$ac_val'\''"
1700 if test -s confdefs.h; then
1701 $as_echo "## ----------- ##
1708 test "$ac_signal" != 0 &&
1709 $as_echo "$as_me: caught signal $ac_signal"
1710 $as_echo "$as_me: exit $exit_status"
1712 rm -f core *.core core.conftest.* &&
1713 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1716 for ac_signal
in 1 2 13 15; do
1717 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1721 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1722 rm -f -r conftest
* confdefs.h
1724 $as_echo "/* confdefs.h */" > confdefs.h
1726 # Predefined preprocessor variables.
1728 cat >>confdefs.h
<<_ACEOF
1729 #define PACKAGE_NAME "$PACKAGE_NAME"
1732 cat >>confdefs.h
<<_ACEOF
1733 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1736 cat >>confdefs.h
<<_ACEOF
1737 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1740 cat >>confdefs.h
<<_ACEOF
1741 #define PACKAGE_STRING "$PACKAGE_STRING"
1744 cat >>confdefs.h
<<_ACEOF
1745 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1748 cat >>confdefs.h
<<_ACEOF
1749 #define PACKAGE_URL "$PACKAGE_URL"
1753 # Let the site file select an alternate cache file if it wants to.
1754 # Prefer an explicitly selected file to automatically selected ones.
1757 if test -n "$CONFIG_SITE"; then
1758 # We do not want a PATH search for config.site.
1759 case $CONFIG_SITE in #((
1760 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1761 */*) ac_site_file1
=$CONFIG_SITE;;
1762 *) ac_site_file1
=.
/$CONFIG_SITE;;
1764 elif test "x$prefix" != xNONE
; then
1765 ac_site_file1
=$prefix/share
/config.site
1766 ac_site_file2
=$prefix/etc
/config.site
1768 ac_site_file1
=$ac_default_prefix/share
/config.site
1769 ac_site_file2
=$ac_default_prefix/etc
/config.site
1771 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1773 test "x$ac_site_file" = xNONE
&& continue
1774 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1776 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1777 sed 's/^/| /' "$ac_site_file" >&5
1779 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1781 as_fn_error $?
"failed to load site script $ac_site_file
1782 See \`config.log' for more details" "$LINENO" 5; }
1786 if test -r "$cache_file"; then
1787 # Some versions of bash will fail to source /dev/null (special files
1788 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1789 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1791 $as_echo "$as_me: loading cache $cache_file" >&6;}
1793 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1794 *) .
"./$cache_file";;
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1799 $as_echo "$as_me: creating cache $cache_file" >&6;}
1803 # Check that the precious variables saved in the cache have kept the same
1805 ac_cache_corrupted
=false
1806 for ac_var
in $ac_precious_vars; do
1807 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1808 eval ac_new_set
=\
$ac_env_${ac_var}_set
1809 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1810 eval ac_new_val
=\
$ac_env_${ac_var}_value
1811 case $ac_old_set,$ac_new_set in
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1814 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1815 ac_cache_corrupted
=: ;;
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1818 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1819 ac_cache_corrupted
=: ;;
1822 if test "x$ac_old_val" != "x$ac_new_val"; then
1823 # differences in whitespace do not lead to failure.
1824 ac_old_val_w
=`echo x $ac_old_val`
1825 ac_new_val_w
=`echo x $ac_new_val`
1826 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1828 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1829 ac_cache_corrupted
=:
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1832 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1833 eval $ac_var=\
$ac_old_val
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1836 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1838 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1841 # Pass precious variables to config.status.
1842 if test "$ac_new_set" = set; then
1844 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1845 *) ac_arg
=$ac_var=$ac_new_val ;;
1847 case " $ac_configure_args " in
1848 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1849 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1853 if $ac_cache_corrupted; then
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1857 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1858 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1860 ## -------------------- ##
1861 ## Main body of script. ##
1862 ## -------------------- ##
1865 ac_cpp
='$CPP $CPPFLAGS'
1866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1873 for ac_dir
in ..
"$srcdir"/..
; do
1874 if test -f "$ac_dir/install-sh"; then
1876 ac_install_sh
="$ac_aux_dir/install-sh -c"
1878 elif test -f "$ac_dir/install.sh"; then
1880 ac_install_sh
="$ac_aux_dir/install.sh -c"
1882 elif test -f "$ac_dir/shtool"; then
1884 ac_install_sh
="$ac_aux_dir/shtool install -c"
1888 if test -z "$ac_aux_dir"; then
1889 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
1892 # These three variables are undocumented and unsupported,
1893 # and are intended to be withdrawn in a future Autoconf release.
1894 # They can cause serious problems if a builder's source tree is in a directory
1895 # whose full name contains unusual characters.
1896 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1897 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1898 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1902 .
${srcdir}/..
/configure.cygwin
1904 # Find a good install program. We prefer a C program (faster),
1905 # so one script is as good as another. But avoid the broken or
1906 # incompatible versions:
1907 # SysV /etc/install, /usr/sbin/install
1908 # SunOS /usr/etc/install
1909 # IRIX /sbin/install
1911 # AmigaOS /C/install, which installs bootblocks on floppy discs
1912 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1913 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1914 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1915 # OS/2's system install, which has a completely different semantic
1916 # ./install, which can be erroneously created by make from ./install.sh.
1917 # Reject install programs that cannot install multiple files.
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1919 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1920 if test -z "$INSTALL"; then
1921 if ${ac_cv_path_install+:} false
; then :
1922 $as_echo_n "(cached) " >&6
1924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1928 test -z "$as_dir" && as_dir
=.
1929 # Account for people who put trailing slashes in PATH elements.
1930 case $as_dir/ in #((
1931 .
/ | .
// |
/[cC
]/* | \
1932 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1933 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
1936 # OSF1 and SCO ODT 3.0 have their own names for install.
1937 # Don't use installbsd from OSF since it installs stuff as root
1939 for ac_prog
in ginstall scoinst
install; do
1940 for ac_exec_ext
in '' $ac_executable_extensions; do
1941 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
1942 if test $ac_prog = install &&
1943 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1944 # AIX install. It has an incompatible calling convention.
1946 elif test $ac_prog = install &&
1947 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1948 # program-specific install script used by HP pwplus--don't use.
1951 rm -rf conftest.one conftest.two conftest.dir
1952 echo one
> conftest.one
1953 echo two
> conftest.two
1955 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1956 test -s conftest.one
&& test -s conftest.two
&&
1957 test -s conftest.dir
/conftest.one
&&
1958 test -s conftest.dir
/conftest.two
1960 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1973 rm -rf conftest.one conftest.two conftest.dir
1976 if test "${ac_cv_path_install+set}" = set; then
1977 INSTALL
=$ac_cv_path_install
1979 # As a last resort, use the slow shell script. Don't cache a
1980 # value for INSTALL within a source directory, because that will
1981 # break other packages using the cache if that directory is
1982 # removed, or if the value is a relative name.
1983 INSTALL
=$ac_install_sh
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1987 $as_echo "$INSTALL" >&6; }
1989 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1990 # It thinks the first close brace ends the variable substitution.
1991 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1993 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1995 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1998 # Make sure we can run config.sub.
1999 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2000 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2003 $as_echo_n "checking build system type... " >&6; }
2004 if ${ac_cv_build+:} false
; then :
2005 $as_echo_n "(cached) " >&6
2007 ac_build_alias
=$build_alias
2008 test "x$ac_build_alias" = x
&&
2009 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2010 test "x$ac_build_alias" = x
&&
2011 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2012 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2013 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2017 $as_echo "$ac_cv_build" >&6; }
2018 case $ac_cv_build in
2020 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2023 ac_save_IFS
=$IFS; IFS
='-'
2029 # Remember, the first character of IFS is used to create $*,
2030 # except with old shells:
2033 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2037 $as_echo_n "checking host system type... " >&6; }
2038 if ${ac_cv_host+:} false
; then :
2039 $as_echo_n "(cached) " >&6
2041 if test "x$host_alias" = x
; then
2042 ac_cv_host
=$ac_cv_build
2044 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2045 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2050 $as_echo "$ac_cv_host" >&6; }
2053 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2056 ac_save_IFS
=$IFS; IFS
='-'
2062 # Remember, the first character of IFS is used to create $*,
2063 # except with old shells:
2066 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2070 $as_echo_n "checking target system type... " >&6; }
2071 if ${ac_cv_target+:} false
; then :
2072 $as_echo_n "(cached) " >&6
2074 if test "x$target_alias" = x
; then
2075 ac_cv_target
=$ac_cv_host
2077 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2078 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2083 $as_echo "$ac_cv_target" >&6; }
2084 case $ac_cv_target in
2086 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2088 target
=$ac_cv_target
2089 ac_save_IFS
=$IFS; IFS
='-'
2095 # Remember, the first character of IFS is used to create $*,
2096 # except with old shells:
2099 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2102 # The aliases save the names the user supplied, while $host etc.
2103 # will get canonicalized.
2104 test -n "$target_alias" &&
2105 test "$program_prefix$program_suffix$program_transform_name" = \
2107 program_prefix
=${target_alias}-
2110 ac_cpp
='$CPP $CPPFLAGS'
2111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2114 if test -n "$ac_tool_prefix"; then
2115 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2116 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2118 $as_echo_n "checking for $ac_word... " >&6; }
2119 if ${ac_cv_prog_CC+:} false
; then :
2120 $as_echo_n "(cached) " >&6
2122 if test -n "$CC"; then
2123 ac_cv_prog_CC
="$CC" # Let the user override the test.
2125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2129 test -z "$as_dir" && as_dir
=.
2130 for ac_exec_ext
in '' $ac_executable_extensions; do
2131 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2143 if test -n "$CC"; then
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2145 $as_echo "$CC" >&6; }
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2148 $as_echo "no" >&6; }
2153 if test -z "$ac_cv_prog_CC"; then
2155 # Extract the first word of "gcc", so it can be a program name with args.
2156 set dummy gcc
; ac_word
=$2
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2158 $as_echo_n "checking for $ac_word... " >&6; }
2159 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2160 $as_echo_n "(cached) " >&6
2162 if test -n "$ac_ct_CC"; then
2163 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir
=.
2170 for ac_exec_ext
in '' $ac_executable_extensions; do
2171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2172 ac_cv_prog_ac_ct_CC
="gcc"
2173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2185 $as_echo "$ac_ct_CC" >&6; }
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2188 $as_echo "no" >&6; }
2191 if test "x$ac_ct_CC" = x
; then
2194 case $cross_compiling:$ac_tool_warned in
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2198 ac_tool_warned
=yes ;;
2206 if test -z "$CC"; then
2207 if test -n "$ac_tool_prefix"; then
2208 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2209 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2211 $as_echo_n "checking for $ac_word... " >&6; }
2212 if ${ac_cv_prog_CC+:} false
; then :
2213 $as_echo_n "(cached) " >&6
2215 if test -n "$CC"; then
2216 ac_cv_prog_CC
="$CC" # Let the user override the test.
2218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2222 test -z "$as_dir" && as_dir
=.
2223 for ac_exec_ext
in '' $ac_executable_extensions; do
2224 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2225 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2236 if test -n "$CC"; then
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2238 $as_echo "$CC" >&6; }
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2241 $as_echo "no" >&6; }
2247 if test -z "$CC"; then
2248 # Extract the first word of "cc", so it can be a program name with args.
2249 set dummy cc
; ac_word
=$2
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2251 $as_echo_n "checking for $ac_word... " >&6; }
2252 if ${ac_cv_prog_CC+:} false
; then :
2253 $as_echo_n "(cached) " >&6
2255 if test -n "$CC"; then
2256 ac_cv_prog_CC
="$CC" # Let the user override the test.
2259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2263 test -z "$as_dir" && as_dir
=.
2264 for ac_exec_ext
in '' $ac_executable_extensions; do
2265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2266 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2267 ac_prog_rejected
=yes
2271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 if test $ac_prog_rejected = yes; then
2279 # We found a bogon in the path, so make sure we never use it.
2280 set dummy
$ac_cv_prog_CC
2282 if test $# != 0; then
2283 # We chose a different compiler from the bogus one.
2284 # However, it has the same basename, so the bogon will be chosen
2285 # first if we set CC to just the basename; use the full file name.
2287 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2293 if test -n "$CC"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2295 $as_echo "$CC" >&6; }
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2298 $as_echo "no" >&6; }
2303 if test -z "$CC"; then
2304 if test -n "$ac_tool_prefix"; then
2305 for ac_prog
in cl.exe
2307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2308 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2310 $as_echo_n "checking for $ac_word... " >&6; }
2311 if ${ac_cv_prog_CC+:} false
; then :
2312 $as_echo_n "(cached) " >&6
2314 if test -n "$CC"; then
2315 ac_cv_prog_CC
="$CC" # Let the user override the test.
2317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir
=.
2322 for ac_exec_ext
in '' $ac_executable_extensions; do
2323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2324 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 if test -n "$CC"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2337 $as_echo "$CC" >&6; }
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2340 $as_echo "no" >&6; }
2344 test -n "$CC" && break
2347 if test -z "$CC"; then
2349 for ac_prog
in cl.exe
2351 # Extract the first word of "$ac_prog", so it can be a program name with args.
2352 set dummy
$ac_prog; ac_word
=$2
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2354 $as_echo_n "checking for $ac_word... " >&6; }
2355 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2356 $as_echo_n "(cached) " >&6
2358 if test -n "$ac_ct_CC"; then
2359 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir
=.
2366 for ac_exec_ext
in '' $ac_executable_extensions; do
2367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2368 ac_cv_prog_ac_ct_CC
="$ac_prog"
2369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2379 if test -n "$ac_ct_CC"; then
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2381 $as_echo "$ac_ct_CC" >&6; }
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2384 $as_echo "no" >&6; }
2388 test -n "$ac_ct_CC" && break
2391 if test "x$ac_ct_CC" = x
; then
2394 case $cross_compiling:$ac_tool_warned in
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2398 ac_tool_warned
=yes ;;
2407 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2409 as_fn_error $?
"no acceptable C compiler found in \$PATH
2410 See \`config.log' for more details" "$LINENO" 5; }
2412 # Provide some information about the compiler.
2413 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2416 for ac_option
in --version -v -V -qversion; do
2417 { { ac_try
="$ac_compiler $ac_option >&5"
2419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2420 *) ac_try_echo=$ac_try;;
2422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2423 $as_echo "$ac_try_echo"; } >&5
2424 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2426 if test -s conftest.err; then
2428 ... rest of stderr output deleted ...
2429 10q' conftest.err >conftest.er1
2430 cat conftest.er1 >&5
2432 rm -f conftest.er1 conftest.err
2433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2434 test $ac_status = 0; }
2437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2438 /* end confdefs.h. */
2448 if { { ac_try="$ac_link"
2450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2451 *) ac_try_echo
=$ac_try;;
2453 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2454 $as_echo "$ac_try_echo"; } >&5
2455 (eval "$ac_link") 2>&5
2457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2458 test $ac_status = 0; }; then
2460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2461 /* end confdefs.h. */
2471 ac_clean_files_save
=$ac_clean_files
2472 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2473 # Try to create an executable without -o first, disregard a.out.
2474 # It will help us diagnose broken compilers, and finding out an intuition
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2477 $as_echo_n "checking whether the C compiler works... " >&6; }
2478 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2480 # The possible output files:
2481 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2484 for ac_file
in $ac_files
2487 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2488 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2493 if { { ac_try
="$ac_link_default"
2495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2499 $as_echo "$ac_try_echo"; } >&5
2500 (eval "$ac_link_default") 2>&5
2502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2503 test $ac_status = 0; }; then :
2504 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2505 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2506 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2507 # so that the user can short-circuit this test for compilers unknown to
2509 for ac_file in $ac_files ''
2511 test -f "$ac_file" || continue
2513 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2516 # We found the default executable, but exeext='' is most
2520 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2522 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2524 # We set ac_cv_exeext here because the later test for it is not
2525 # safe: cross compilers may not add the suffix if given an `-o'
2526 # argument, so we may need to know it at that point already.
2527 # Even if this section looks crufty: it has the advantage of
2534 test "$ac_cv_exeext" = no && ac_cv_exeext=
2539 if test -z "$ac_file"; then :
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2541 $as_echo "no" >&6; }
2542 $as_echo "$as_me: failed program was:" >&5
2543 sed 's
/^
/|
/' conftest.$ac_ext >&5
2545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2546 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2547 as_fn_error 77 "C compiler cannot create executables
2548 See \`config.log
' for more details" "$LINENO" 5; }
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2551 $as_echo "yes" >&6; }
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2554 $as_echo_n "checking for C compiler default output file name... " >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2556 $as_echo "$ac_file" >&6; }
2557 ac_exeext=$ac_cv_exeext
2559 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2560 ac_clean_files=$ac_clean_files_save
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2562 $as_echo_n "checking for suffix of executables... " >&6; }
2563 if { { ac_try="$ac_link"
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2569 $as_echo "$ac_try_echo"; } >&5
2570 (eval "$ac_link") 2>&5
2572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2573 test $ac_status = 0; }; then :
2574 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2575 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2576 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2578 for ac_file
in conftest.exe conftest conftest.
*; do
2579 test -f "$ac_file" ||
continue
2581 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2582 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2590 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2591 See \`config.log' for more details" "$LINENO" 5; }
2593 rm -f conftest conftest
$ac_cv_exeext
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2595 $as_echo "$ac_cv_exeext" >&6; }
2597 rm -f conftest.
$ac_ext
2598 EXEEXT
=$ac_cv_exeext
2600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2601 /* end confdefs.h. */
2606 FILE *f = fopen ("conftest.out", "w");
2607 return ferror (f) || fclose (f) != 0;
2613 ac_clean_files
="$ac_clean_files conftest.out"
2614 # Check that the compiler produces executables we can run. If not, either
2615 # the compiler is broken, or we cross compile.
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2617 $as_echo_n "checking whether we are cross compiling... " >&6; }
2618 if test "$cross_compiling" != yes; then
2619 { { ac_try
="$ac_link"
2621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2625 $as_echo "$ac_try_echo"; } >&5
2626 (eval "$ac_link") 2>&5
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; }
2630 if { ac_try='./conftest$ac_cv_exeext'
2631 { { case "(($ac_try" in
2632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2633 *) ac_try_echo
=$ac_try;;
2635 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2636 $as_echo "$ac_try_echo"; } >&5
2637 (eval "$ac_try") 2>&5
2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2640 test $ac_status = 0; }; }; then
2643 if test "$cross_compiling" = maybe
; then
2646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2648 as_fn_error $?
"cannot run C compiled programs.
2649 If you meant to cross compile, use \`--host'.
2650 See \`config.log' for more details" "$LINENO" 5; }
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2655 $as_echo "$cross_compiling" >&6; }
2657 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2658 ac_clean_files
=$ac_clean_files_save
2661 rm -f -r a.out a.exe b.out conftest.
$ac_ext conftest.o conftest.obj conftest.dSYM
2663 # Setting cross_compile will disable run tests; it will
2664 # also disable AC_CHECK_FILE but that's generally
2665 # correct if we can't link.
2668 # Check that the compiler produces executables we can run. If not, either
2669 # the compiler is broken, or we cross compile.
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2671 $as_echo_n "checking whether we are cross compiling... " >&6; }
2672 if test "$cross_compiling" != yes; then
2673 { { ac_try
="$ac_link"
2675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2679 $as_echo "$ac_try_echo"; } >&5
2680 (eval "$ac_link") 2>&5
2682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2683 test $ac_status = 0; }
2684 if { ac_try='./conftest$ac_cv_exeext'
2685 { { case "(($ac_try" in
2686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2687 *) ac_try_echo
=$ac_try;;
2689 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 $as_echo "$ac_try_echo"; } >&5
2691 (eval "$ac_try") 2>&5
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; }; }; then
2697 if test "$cross_compiling" = maybe
; then
2700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2702 as_fn_error $?
"cannot run C compiled programs.
2703 If you meant to cross compile, use \`--host'.
2704 See \`config.log' for more details" "$LINENO" 5; }
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2709 $as_echo "$cross_compiling" >&6; }
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2713 $as_echo_n "checking for suffix of object files... " >&6; }
2714 if ${ac_cv_objext+:} false
; then :
2715 $as_echo_n "(cached) " >&6
2717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2728 rm -f conftest.o conftest.obj
2729 if { { ac_try
="$ac_compile"
2731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2735 $as_echo "$ac_try_echo"; } >&5
2736 (eval "$ac_compile") 2>&5
2738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739 test $ac_status = 0; }; then :
2740 for ac_file in conftest.o conftest.obj conftest.*; do
2741 test -f "$ac_file" || continue;
2743 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2744 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2749 $as_echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2754 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2755 See \
`config.log' for more details" "$LINENO" 5; }
2757 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2760 $as_echo "$ac_cv_objext" >&6; }
2761 OBJEXT=$ac_cv_objext
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2764 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2765 if ${ac_cv_c_compiler_gnu+:} false; then :
2766 $as_echo_n "(cached) " >&6
2768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769 /* end confdefs.h. */
2782 if ac_fn_c_try_compile "$LINENO"; then :
2787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2792 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2793 if test $ac_compiler_gnu = yes; then
2798 ac_test_CFLAGS=${CFLAGS+set}
2799 ac_save_CFLAGS=$CFLAGS
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2801 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2802 if ${ac_cv_prog_cc_g+:} false; then :
2803 $as_echo_n "(cached) " >&6
2805 ac_save_c_werror_flag=$ac_c_werror_flag
2806 ac_c_werror_flag=yes
2809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2810 /* end confdefs.h. */
2820 if ac_fn_c_try_compile "$LINENO"; then :
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2835 if ac_fn_c_try_compile "$LINENO"; then :
2838 ac_c_werror_flag=$ac_save_c_werror_flag
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2851 if ac_fn_c_try_compile "$LINENO"; then :
2854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2859 ac_c_werror_flag=$ac_save_c_werror_flag
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2862 $as_echo "$ac_cv_prog_cc_g" >&6; }
2863 if test "$ac_test_CFLAGS" = set; then
2864 CFLAGS=$ac_save_CFLAGS
2865 elif test $ac_cv_prog_cc_g = yes; then
2866 if test "$GCC" = yes; then
2872 if test "$GCC" = yes; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2879 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2880 if ${ac_cv_prog_cc_c89+:} false; then :
2881 $as_echo_n "(cached) " >&6
2883 ac_cv_prog_cc_c89=no
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2890 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2891 struct buf { int x; };
2892 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2893 static char *e (p, i)
2899 static char *f (char * (*g) (char **, int), char **p, ...)
2904 s = g (p, va_arg (v,int));
2909 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2910 function prototypes and stuff, but not '\xHH' hex character constants.
2911 These don't provoke an error unfortunately, instead are silently treated
2912 as 'x'. The following induces an error, until -std is added to get
2913 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2914 array size at least. It's necessary to write '\x00'==0 to get something
2915 that's true only with -std. */
2916 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2918 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2919 inside strings and character constants. */
2921 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2923 int test (int i, double x);
2924 struct s1 {int (*f) (int a);};
2925 struct s2 {int (*f) (double a);};
2926 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2932 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2937 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2938 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2940 CC="$ac_save_CC $ac_arg"
2941 if ac_fn_c_try_compile "$LINENO"; then :
2942 ac_cv_prog_cc_c89=$ac_arg
2944 rm -f core conftest.err conftest.$ac_objext
2945 test "x$ac_cv_prog_cc_c89" != "xno" && break
2947 rm -f conftest.$ac_ext
2952 case "x$ac_cv_prog_cc_c89" in
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2955 $as_echo "none needed" >&6; } ;;
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2958 $as_echo "unsupported" >&6; } ;;
2960 CC="$CC $ac_cv_prog_cc_c89"
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2962 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2964 if test "x$ac_cv_prog_cc_c89" != xno; then :
2969 ac_cpp='$CPP $CPPFLAGS'
2970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2975 ac_cpp='$CXXCPP $CPPFLAGS'
2976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2979 if test -z "$CXX"; then
2980 if test -n "$CCC"; then
2983 if test -n "$ac_tool_prefix"; then
2984 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2986 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2987 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989 $as_echo_n "checking for $ac_word... " >&6; }
2990 if ${ac_cv_prog_CXX+:} false; then :
2991 $as_echo_n "(cached) " >&6
2993 if test -n "$CXX"; then
2994 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir=.
3001 for ac_exec_ext in '' $ac_executable_extensions; do
3002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014 if test -n "$CXX"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3016 $as_echo "$CXX" >&6; }
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3023 test -n "$CXX" && break
3026 if test -z "$CXX"; then
3028 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3030 # Extract the first word of "$ac_prog", so it can be a program name with args.
3031 set dummy $ac_prog; ac_word=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3035 $as_echo_n "(cached) " >&6
3037 if test -n "$ac_ct_CXX"; then
3038 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3047 ac_cv_prog_ac_ct_CXX="$ac_prog"
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3058 if test -n "$ac_ct_CXX"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3060 $as_echo "$ac_ct_CXX" >&6; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3067 test -n "$ac_ct_CXX" && break
3070 if test "x$ac_ct_CXX" = x; then
3073 case $cross_compiling:$ac_tool_warned in
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3077 ac_tool_warned=yes ;;
3085 # Provide some information about the compiler.
3086 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3089 for ac_option in --version -v -V -qversion; do
3090 { { ac_try="$ac_compiler $ac_option >&5"
3092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3093 *) ac_try_echo
=$ac_try;;
3095 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3096 $as_echo "$ac_try_echo"; } >&5
3097 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3099 if test -s conftest.err
; then
3101 ... rest of stderr output deleted ...
3102 10q' conftest.err
>conftest.er1
3103 cat conftest.er1
>&5
3105 rm -f conftest.er1 conftest.err
3106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3107 test $ac_status = 0; }
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3111 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3112 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3113 $as_echo_n "(cached) " >&6
3115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3129 if ac_fn_cxx_try_compile
"$LINENO"; then :
3134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3135 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3139 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3140 if test $ac_compiler_gnu = yes; then
3145 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3146 ac_save_CXXFLAGS
=$CXXFLAGS
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3148 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3149 if ${ac_cv_prog_cxx_g+:} false
; then :
3150 $as_echo_n "(cached) " >&6
3152 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3153 ac_cxx_werror_flag
=yes
3156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3167 if ac_fn_cxx_try_compile
"$LINENO"; then :
3168 ac_cv_prog_cxx_g
=yes
3171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3182 if ac_fn_cxx_try_compile
"$LINENO"; then :
3185 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h. */
3198 if ac_fn_cxx_try_compile
"$LINENO"; then :
3199 ac_cv_prog_cxx_g
=yes
3201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3206 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3209 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3210 if test "$ac_test_CXXFLAGS" = set; then
3211 CXXFLAGS
=$ac_save_CXXFLAGS
3212 elif test $ac_cv_prog_cxx_g = yes; then
3213 if test "$GXX" = yes; then
3219 if test "$GXX" = yes; then
3226 ac_cpp
='$CPP $CPPFLAGS'
3227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3232 ac_cpp
='$CPP $CPPFLAGS'
3233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3237 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3238 # On Suns, sometimes $CPP names a directory.
3239 if test -n "$CPP" && test -d "$CPP"; then
3242 if test -z "$CPP"; then
3243 if ${ac_cv_prog_CPP+:} false
; then :
3244 $as_echo_n "(cached) " >&6
3246 # Double quotes because CPP needs to be expanded
3247 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3250 for ac_c_preproc_warn_flag
in '' yes
3252 # Use a header file that comes with gcc, so configuring glibc
3253 # with a fresh cross-compiler works.
3254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3255 # <limits.h> exists even on freestanding compilers.
3256 # On the NeXT, cc -E runs the code through the compiler's parser,
3257 # not just through cpp. "Syntax error" is here to catch this case.
3258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3261 # include <limits.h>
3263 # include <assert.h>
3267 if ac_fn_c_try_cpp
"$LINENO"; then :
3270 # Broken: fails on valid input.
3273 rm -f conftest.err conftest.i conftest.
$ac_ext
3275 # OK, works on sane cases. Now check whether nonexistent headers
3276 # can be detected and how.
3277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3279 #include <ac_nonexistent.h>
3281 if ac_fn_c_try_cpp
"$LINENO"; then :
3282 # Broken: success on invalid input.
3285 # Passes both tests.
3289 rm -f conftest.err conftest.i conftest.
$ac_ext
3292 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3293 rm -f conftest.i conftest.err conftest.
$ac_ext
3294 if $ac_preproc_ok; then :
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3307 $as_echo "$CPP" >&6; }
3309 for ac_c_preproc_warn_flag
in '' yes
3311 # Use a header file that comes with gcc, so configuring glibc
3312 # with a fresh cross-compiler works.
3313 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3314 # <limits.h> exists even on freestanding compilers.
3315 # On the NeXT, cc -E runs the code through the compiler's parser,
3316 # not just through cpp. "Syntax error" is here to catch this case.
3317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3320 # include <limits.h>
3322 # include <assert.h>
3326 if ac_fn_c_try_cpp
"$LINENO"; then :
3329 # Broken: fails on valid input.
3332 rm -f conftest.err conftest.i conftest.
$ac_ext
3334 # OK, works on sane cases. Now check whether nonexistent headers
3335 # can be detected and how.
3336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3338 #include <ac_nonexistent.h>
3340 if ac_fn_c_try_cpp
"$LINENO"; then :
3341 # Broken: success on invalid input.
3344 # Passes both tests.
3348 rm -f conftest.err conftest.i conftest.
$ac_ext
3351 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3352 rm -f conftest.i conftest.err conftest.
$ac_ext
3353 if $ac_preproc_ok; then :
3356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3359 See \`config.log' for more details" "$LINENO" 5; }
3363 ac_cpp
='$CPP $CPPFLAGS'
3364 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3365 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3366 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3369 ac_cpp
='$CPP $CPPFLAGS'
3370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3377 # Check whether --with-windows-headers was given.
3378 if test "${with_windows_headers+set}" = set; then :
3379 withval
=$with_windows_headers; test -z "$withval" && as_fn_error $?
"must specify value for --with-windows-headers" "$LINENO" 5
3384 if test "x$with_cross_bootstrap" != "xyes"; then
3387 # Check whether --with-windows-libs was given.
3388 if test "${with_windows_libs+set}" = set; then :
3389 withval
=$with_windows_libs; test -z "$withval" && as_fn_error $?
"must specify value for --with-windows-libs" "$LINENO" 5
3393 windows_libdir
=$
(realdirpath
"$with_windows_libs")
3394 if test -z "$windows_libdir"; then
3395 windows_libdir
=$
(realdirpath $
(${ac_cv_prog_CC:-$CC} -xc /dev
/null
-Wl,--verbose=1 -lntdll 2>&1 |
sed -rn 's%^.*\s(\S+)/libntdll\..*succeeded%\1%p'))
3396 if test -z "$windows_libdir"; then
3397 as_fn_error $?
"cannot find windows library files" "$LINENO" 5
3406 ac_cpp
='$CXXCPP $CPPFLAGS'
3407 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3408 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3409 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3413 addto_CPPFLAGS
-nostdinc
3414 : ${ac_cv_prog_CXX:=$CXX}
3415 : ${ac_cv_prog_CC:=$CC}
3417 cygwin_headers
=$
(realdirpath
"$winsup_srcdir/cygwin/include")
3418 if test -z "$cygwin_headers"; then
3419 as_fn_error $?
"cannot find $winsup_srcdir/cygwin/include directory" "$LINENO" 5
3422 newlib_headers
=$
(realdirpath
$winsup_srcdir/..
/newlib
/libc
/include
)
3423 if test -z "$newlib_headers"; then
3424 as_fn_error $?
"cannot find newlib source directory: $winsup_srcdir/../newlib/libc/include" "$LINENO" 5
3426 newlib_headers
="$target_builddir/newlib/targ-include $newlib_headers"
3428 if test -n "$with_windows_headers"; then
3429 if test -e "$with_windows_headers/windef.h"; then
3430 windows_headers
="$with_windows_headers"
3432 as_fn_error $?
"cannot find windef.h in specified --with-windows-headers path: $saw_windows_headers" "$LINENO" 5;
3434 elif test -d "$winsup_srcdir/w32api/include/windef.h"; then
3435 windows_headers
="$winsup_srcdir/w32api/include"
3437 windows_headers
=$
(cd $
($ac_cv_prog_CC -xc /dev
/null
-E -include windef.h
2>/dev
/null |
sed -n 's%^# 1 "\([^"]*\)/windef\.h".*$%\1%p' |
head -n1) 2>/dev
/null
&& pwd)
3438 if test -z "$windows_headers" -o ! -d "$windows_headers"; then
3439 as_fn_error $?
"cannot find windows header files" "$LINENO" 5
3451 case "$with_cross_host" in
3454 install_host
="install_host"
3465 if test -n "$ac_tool_prefix"; then
3466 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3467 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3469 $as_echo_n "checking for $ac_word... " >&6; }
3470 if ${ac_cv_prog_AR+:} false
; then :
3471 $as_echo_n "(cached) " >&6
3473 if test -n "$AR"; then
3474 ac_cv_prog_AR
="$AR" # Let the user override the test.
3476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3480 test -z "$as_dir" && as_dir
=.
3481 for ac_exec_ext
in '' $ac_executable_extensions; do
3482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3483 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494 if test -n "$AR"; then
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3496 $as_echo "$AR" >&6; }
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499 $as_echo "no" >&6; }
3504 if test -z "$ac_cv_prog_AR"; then
3506 # Extract the first word of "ar", so it can be a program name with args.
3507 set dummy
ar; ac_word
=$2
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3509 $as_echo_n "checking for $ac_word... " >&6; }
3510 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3511 $as_echo_n "(cached) " >&6
3513 if test -n "$ac_ct_AR"; then
3514 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3520 test -z "$as_dir" && as_dir
=.
3521 for ac_exec_ext
in '' $ac_executable_extensions; do
3522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3523 ac_cv_prog_ac_ct_AR
="ar"
3524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3534 if test -n "$ac_ct_AR"; then
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3536 $as_echo "$ac_ct_AR" >&6; }
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539 $as_echo "no" >&6; }
3542 if test "x$ac_ct_AR" = x
; then
3545 case $cross_compiling:$ac_tool_warned in
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3549 ac_tool_warned
=yes ;;
3557 if test -n "$ac_tool_prefix"; then
3558 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3559 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561 $as_echo_n "checking for $ac_word... " >&6; }
3562 if ${ac_cv_prog_AS+:} false
; then :
3563 $as_echo_n "(cached) " >&6
3565 if test -n "$AS"; then
3566 ac_cv_prog_AS
="$AS" # Let the user override the test.
3568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3572 test -z "$as_dir" && as_dir
=.
3573 for ac_exec_ext
in '' $ac_executable_extensions; do
3574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3575 ac_cv_prog_AS
="${ac_tool_prefix}as"
3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3586 if test -n "$AS"; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3588 $as_echo "$AS" >&6; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591 $as_echo "no" >&6; }
3596 if test -z "$ac_cv_prog_AS"; then
3598 # Extract the first word of "as", so it can be a program name with args.
3599 set dummy as
; ac_word
=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
3603 $as_echo_n "(cached) " >&6
3605 if test -n "$ac_ct_AS"; then
3606 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir
=.
3613 for ac_exec_ext
in '' $ac_executable_extensions; do
3614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_ac_ct_AS
="as"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3626 if test -n "$ac_ct_AS"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3628 $as_echo "$ac_ct_AS" >&6; }
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3634 if test "x$ac_ct_AS" = x
; then
3637 case $cross_compiling:$ac_tool_warned in
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3641 ac_tool_warned
=yes ;;
3649 if test -n "$ac_tool_prefix"; then
3650 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3651 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if ${ac_cv_prog_RANLIB+:} false
; then :
3655 $as_echo_n "(cached) " >&6
3657 if test -n "$RANLIB"; then
3658 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3664 test -z "$as_dir" && as_dir
=.
3665 for ac_exec_ext
in '' $ac_executable_extensions; do
3666 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3667 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3677 RANLIB
=$ac_cv_prog_RANLIB
3678 if test -n "$RANLIB"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3680 $as_echo "$RANLIB" >&6; }
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3688 if test -z "$ac_cv_prog_RANLIB"; then
3689 ac_ct_RANLIB
=$RANLIB
3690 # Extract the first word of "ranlib", so it can be a program name with args.
3691 set dummy ranlib
; ac_word
=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3695 $as_echo_n "(cached) " >&6
3697 if test -n "$ac_ct_RANLIB"; then
3698 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir
=.
3705 for ac_exec_ext
in '' $ac_executable_extensions; do
3706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3707 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3718 if test -n "$ac_ct_RANLIB"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3720 $as_echo "$ac_ct_RANLIB" >&6; }
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3726 if test "x$ac_ct_RANLIB" = x
; then
3729 case $cross_compiling:$ac_tool_warned in
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3733 ac_tool_warned
=yes ;;
3735 RANLIB
=$ac_ct_RANLIB
3738 RANLIB
="$ac_cv_prog_RANLIB"
3741 if test -n "$ac_tool_prefix"; then
3742 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3743 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if ${ac_cv_prog_LD+:} false
; then :
3747 $as_echo_n "(cached) " >&6
3749 if test -n "$LD"; then
3750 ac_cv_prog_LD
="$LD" # Let the user override the test.
3752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir
=.
3757 for ac_exec_ext
in '' $ac_executable_extensions; do
3758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3759 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 if test -n "$LD"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3772 $as_echo "$LD" >&6; }
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3780 if test -z "$ac_cv_prog_LD"; then
3782 # Extract the first word of "ld", so it can be a program name with args.
3783 set dummy ld
; ac_word
=$2
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3785 $as_echo_n "checking for $ac_word... " >&6; }
3786 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
3787 $as_echo_n "(cached) " >&6
3789 if test -n "$ac_ct_LD"; then
3790 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
3792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3796 test -z "$as_dir" && as_dir
=.
3797 for ac_exec_ext
in '' $ac_executable_extensions; do
3798 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3799 ac_cv_prog_ac_ct_LD
="ld"
3800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3809 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
3810 if test -n "$ac_ct_LD"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
3812 $as_echo "$ac_ct_LD" >&6; }
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3818 if test "x$ac_ct_LD" = x
; then
3821 case $cross_compiling:$ac_tool_warned in
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3825 ac_tool_warned
=yes ;;
3833 if test -n "$ac_tool_prefix"; then
3834 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3835 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3837 $as_echo_n "checking for $ac_word... " >&6; }
3838 if ${ac_cv_prog_NM+:} false
; then :
3839 $as_echo_n "(cached) " >&6
3841 if test -n "$NM"; then
3842 ac_cv_prog_NM
="$NM" # Let the user override the test.
3844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3848 test -z "$as_dir" && as_dir
=.
3849 for ac_exec_ext
in '' $ac_executable_extensions; do
3850 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3851 ac_cv_prog_NM
="${ac_tool_prefix}nm"
3852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 if test -n "$NM"; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3864 $as_echo "$NM" >&6; }
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3872 if test -z "$ac_cv_prog_NM"; then
3874 # Extract the first word of "nm", so it can be a program name with args.
3875 set dummy nm
; ac_word
=$2
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3877 $as_echo_n "checking for $ac_word... " >&6; }
3878 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
3879 $as_echo_n "(cached) " >&6
3881 if test -n "$ac_ct_NM"; then
3882 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
3884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3888 test -z "$as_dir" && as_dir
=.
3889 for ac_exec_ext
in '' $ac_executable_extensions; do
3890 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3891 ac_cv_prog_ac_ct_NM
="nm"
3892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
3902 if test -n "$ac_ct_NM"; then
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3904 $as_echo "$ac_ct_NM" >&6; }
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3910 if test "x$ac_ct_NM" = x
; then
3913 case $cross_compiling:$ac_tool_warned in
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned
=yes ;;
3925 if test -n "$ac_tool_prefix"; then
3926 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3927 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3929 $as_echo_n "checking for $ac_word... " >&6; }
3930 if ${ac_cv_prog_DLLTOOL+:} false
; then :
3931 $as_echo_n "(cached) " >&6
3933 if test -n "$DLLTOOL"; then
3934 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
3936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3940 test -z "$as_dir" && as_dir
=.
3941 for ac_exec_ext
in '' $ac_executable_extensions; do
3942 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3943 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 DLLTOOL
=$ac_cv_prog_DLLTOOL
3954 if test -n "$DLLTOOL"; then
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3956 $as_echo "$DLLTOOL" >&6; }
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 $as_echo "no" >&6; }
3964 if test -z "$ac_cv_prog_DLLTOOL"; then
3965 ac_ct_DLLTOOL
=$DLLTOOL
3966 # Extract the first word of "dlltool", so it can be a program name with args.
3967 set dummy dlltool
; ac_word
=$2
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3969 $as_echo_n "checking for $ac_word... " >&6; }
3970 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
3971 $as_echo_n "(cached) " >&6
3973 if test -n "$ac_ct_DLLTOOL"; then
3974 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
3976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3980 test -z "$as_dir" && as_dir
=.
3981 for ac_exec_ext
in '' $ac_executable_extensions; do
3982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3983 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
3984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
3994 if test -n "$ac_ct_DLLTOOL"; then
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3996 $as_echo "$ac_ct_DLLTOOL" >&6; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 $as_echo "no" >&6; }
4002 if test "x$ac_ct_DLLTOOL" = x
; then
4005 case $cross_compiling:$ac_tool_warned in
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4009 ac_tool_warned
=yes ;;
4011 DLLTOOL
=$ac_ct_DLLTOOL
4014 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4017 if test -n "$ac_tool_prefix"; then
4018 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4019 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if ${ac_cv_prog_WINDRES+:} false
; then :
4023 $as_echo_n "(cached) " >&6
4025 if test -n "$WINDRES"; then
4026 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 WINDRES
=$ac_cv_prog_WINDRES
4046 if test -n "$WINDRES"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
4048 $as_echo "$WINDRES" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4056 if test -z "$ac_cv_prog_WINDRES"; then
4057 ac_ct_WINDRES
=$WINDRES
4058 # Extract the first word of "windres", so it can be a program name with args.
4059 set dummy windres
; ac_word
=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
4063 $as_echo_n "(cached) " >&6
4065 if test -n "$ac_ct_WINDRES"; then
4066 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir
=.
4073 for ac_exec_ext
in '' $ac_executable_extensions; do
4074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_prog_ac_ct_WINDRES
="windres"
4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4085 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4086 if test -n "$ac_ct_WINDRES"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
4088 $as_echo "$ac_ct_WINDRES" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4094 if test "x$ac_ct_WINDRES" = x
; then
4097 case $cross_compiling:$ac_tool_warned in
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4101 ac_tool_warned
=yes ;;
4103 WINDRES
=$ac_ct_WINDRES
4106 WINDRES
="$ac_cv_prog_WINDRES"
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4111 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4113 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4114 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4115 $as_echo_n "(cached) " >&6
4117 cat >conftest.
make <<\_ACEOF
4120 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4122 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4123 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4125 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4127 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4131 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4133 $as_echo "yes" >&6; }
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4137 $as_echo "no" >&6; }
4138 SET_MAKE
="MAKE=${MAKE-make}"
4142 # Check whether --enable-debugging was given.
4143 if test "${enable_debugging+set}" = set; then :
4144 enableval
=$enable_debugging; case "${enableval}" in
4145 yes) $as_echo "#define DEBUGGING 1" >>confdefs.h
4155 for f
in $ac_configure_args; do
4158 *) configure_args
="$configure_args $f" ;;
4161 configure_args
=$
(/usr
/bin
/expr "$configure_args" : 'X \(.*\)')
4164 ac_config_files
="$ac_config_files Makefile"
4166 cat >confcache
<<\_ACEOF
4167 # This file is a shell script that caches the results of configure
4168 # tests run on this system so they can be shared between configure
4169 # scripts and configure runs, see configure's option --config-cache.
4170 # It is not useful on other systems. If it contains results you don't
4171 # want to keep, you may remove or edit it.
4173 # config.status only pays attention to the cache file if you give it
4174 # the --recheck option to rerun configure.
4176 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4177 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4182 # The following way of writing the cache mishandles newlines in values,
4183 # but we know of no workaround that is simple, portable, and efficient.
4184 # So, we kill variables containing newlines.
4185 # Ultrix sh set writes to stderr and can't be redirected directly,
4186 # and sets the high bit in the cache file unless we assign to the vars.
4188 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4189 eval ac_val
=\$
$ac_var
4193 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4194 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4197 _ | IFS | as_nl
) ;; #(
4198 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4199 *) { eval $ac_var=; unset $ac_var;} ;;
4205 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4206 *${as_nl}ac_space
=\
*)
4207 # `set' does not quote correctly, so add quotes: double-quote
4208 # substitution turns \\\\ into \\, and sed turns \\ into \.
4211 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4214 # `set' quotes correctly as required by POSIX, so do not add quotes.
4215 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4224 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4226 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4228 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4229 if test -w "$cache_file"; then
4230 if test "x$cache_file" != "x/dev/null"; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4232 $as_echo "$as_me: updating cache $cache_file" >&6;}
4233 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4234 cat confcache
>"$cache_file"
4236 case $cache_file in #(
4238 mv -f confcache
"$cache_file"$$
&&
4239 mv -f "$cache_file"$$
"$cache_file" ;; #(
4241 mv -f confcache
"$cache_file" ;;
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4247 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4252 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4253 # Let make expand exec_prefix.
4254 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4256 # Transform confdefs.h into DEFS.
4257 # Protect against shell expansion while executing Makefile rules.
4258 # Protect against Makefile macro expansion.
4260 # If the first sed substitution is executed (which looks for macros that
4261 # take arguments), then branch to the quote section. Otherwise,
4262 # look for a macro that doesn't take arguments.
4272 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4274 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4278 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4291 DEFS
=`sed -n "$ac_script" confdefs.h`
4297 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4298 # 1. Remove the extension, and $U if already installed.
4299 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4300 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4301 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4302 # will be set to the directory where LIBOBJS objects are built.
4303 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4304 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4308 LTLIBOBJS
=$ac_ltlibobjs
4312 : "${CONFIG_STATUS=./config.status}"
4314 ac_clean_files_save
=$ac_clean_files
4315 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4317 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4319 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4321 # Generated by $as_me.
4322 # Run this file to recreate the current configuration.
4323 # Compiler output produced by configure, useful for debugging
4324 # configure, is in config.log if it exists.
4330 SHELL=\${CONFIG_SHELL-$SHELL}
4333 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4334 ## -------------------- ##
4335 ## M4sh Initialization. ##
4336 ## -------------------- ##
4338 # Be more Bourne compatible
4339 DUALCASE
=1; export DUALCASE
# for MKS sh
4340 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4343 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4344 # is contrary to our usage. Disable this feature.
4345 alias -g '${1+"$@"}'='"$@"'
4346 setopt NO_GLOB_SUBST
4348 case `(set -o) 2>/dev/null` in #(
4360 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4361 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4362 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4363 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4364 # Prefer a ksh shell builtin over an external printf program on Solaris,
4365 # but without wasting forks for bash or zsh.
4366 if test -z "$BASH_VERSION$ZSH_VERSION" \
4367 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4368 as_echo='print
-r --'
4369 as_echo_n='print
-rn --'
4370 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4371 as_echo='printf %s
\n'
4372 as_echo_n='printf %s
'
4374 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4375 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4376 as_echo_n='/usr
/ucb
/echo -n'
4378 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4379 as_echo_n_body='eval
4383 expr "X$arg" : "X\\(.*\\)$as_nl";
4384 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4386 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4388 export as_echo_n_body
4389 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4392 as_echo='sh
-c $as_echo_body as_echo
'
4395 # The user is always right.
4396 if test "${PATH_SEPARATOR+set}" != set; then
4398 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4399 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4406 # We need space, tab and new line, in precisely that order. Quoting is
4407 # there to prevent editors from complaining about space-tab.
4408 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4409 # splitting by setting IFS to empty value.)
4412 # Find who we are. Look in the path if we contain no directory separator.
4415 *[\\/]* ) as_myself=$0 ;;
4416 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir=.
4421 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4427 # We did not find ourselves, most probably we were run as `sh COMMAND'
4428 # in which case we are not to be found in the path.
4429 if test "x$as_myself" = x
; then
4432 if test ! -f "$as_myself"; then
4433 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4437 # Unset variables that we do not need and which cause bugs (e.g. in
4438 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4439 # suppresses any "Segmentation fault" message there. '((' could
4440 # trigger a bug in pdksh 5.2.14.
4441 for as_var
in BASH_ENV ENV MAIL MAILPATH
4442 do eval test x\
${$as_var+set} = xset \
4443 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4456 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4459 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4460 # ----------------------------------------
4461 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4462 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4463 # script with STATUS, using 1 if that was 0.
4466 as_status
=$1; test $as_status -eq 0 && as_status
=1
4468 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4469 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4471 $as_echo "$as_me: error: $2" >&2
4472 as_fn_exit
$as_status
4476 # as_fn_set_status STATUS
4477 # -----------------------
4478 # Set $? to STATUS, without forking.
4482 } # as_fn_set_status
4486 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4496 # Portably unset VAR.
4499 { eval $1=; unset $1;}
4501 as_unset
=as_fn_unset
4502 # as_fn_append VAR VALUE
4503 # ----------------------
4504 # Append the text in VALUE to the end of the definition contained in VAR. Take
4505 # advantage of any shell optimizations that allow amortized linear growth over
4506 # repeated appends, instead of the typical quadratic growth present in naive
4508 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4509 eval 'as_fn_append ()
4520 # as_fn_arith ARG...
4521 # ------------------
4522 # Perform arithmetic evaluation on the ARGs, and store the result in the
4523 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4524 # must be portable across $(()) and expr.
4525 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4526 eval 'as_fn_arith ()
4533 as_val
=`expr "$@" || test $? -eq 1`
4538 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4539 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4545 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4546 as_basename
=basename
4551 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4557 as_me
=`$as_basename -- "$0" ||
4558 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4559 X"$0" : 'X\(//\)$' \| \
4560 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4562 sed '/^.*\/\([^/][^/]*\)\/*$/{
4576 # Avoid depending upon Character Ranges.
4577 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4578 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4579 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4580 as_cr_digits
='0123456789'
4581 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4583 ECHO_C
= ECHO_N
= ECHO_T
=
4584 case `echo -n x` in #(((((
4586 case `echo 'xy\c'` in
4587 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4589 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4596 rm -f conf$$ conf$$.exe conf$$.
file
4597 if test -d conf$$.dir
; then
4598 rm -f conf$$.dir
/conf$$.
file
4601 mkdir conf$$.dir
2>/dev
/null
4603 if (echo >conf$$.
file) 2>/dev
/null
; then
4604 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4606 # ... but there are two gotchas:
4607 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4608 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4609 # In both cases, we have to default to `cp -pR'.
4610 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4612 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4620 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4621 rmdir conf$$.dir
2>/dev
/null
4626 # Create "$as_dir" as a directory, including parents if necessary.
4631 -*) as_dir
=.
/$as_dir;;
4633 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4637 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4638 *) as_qdir
=$as_dir;;
4640 as_dirs
="'$as_qdir' $as_dirs"
4641 as_dir
=`$as_dirname -- "$as_dir" ||
4642 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4643 X"$as_dir" : 'X\(//\)[^/]' \| \
4644 X"$as_dir" : 'X\(//\)$' \| \
4645 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4646 $as_echo X"$as_dir" |
4647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4664 test -d "$as_dir" && break
4666 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4667 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4671 if mkdir
-p .
2>/dev
/null
; then
4672 as_mkdir_p
='mkdir -p "$as_dir"'
4674 test -d .
/-p && rmdir .
/-p
4679 # as_fn_executable_p FILE
4680 # -----------------------
4681 # Test if FILE is an executable regular file.
4682 as_fn_executable_p
()
4684 test -f "$1" && test -x "$1"
4685 } # as_fn_executable_p
4687 as_executable_p
=as_fn_executable_p
4689 # Sed expression to map a string onto a valid CPP name.
4690 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4692 # Sed expression to map a string onto a valid variable name.
4693 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4697 ## ----------------------------------- ##
4698 ## Main body of $CONFIG_STATUS script. ##
4699 ## ----------------------------------- ##
4701 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4704 # Save the log message, to keep $0 and so on meaningful, and to
4705 # report actual input values of CONFIG_FILES etc. instead of their
4706 # values after options handling.
4708 This file was extended by Cygwin Cygserver $as_me 0, which was
4709 generated by GNU Autoconf 2.69. Invocation command line was
4711 CONFIG_FILES = $CONFIG_FILES
4712 CONFIG_HEADERS = $CONFIG_HEADERS
4713 CONFIG_LINKS = $CONFIG_LINKS
4714 CONFIG_COMMANDS = $CONFIG_COMMANDS
4717 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4722 case $ac_config_files in *"
4723 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4729 # Files that config.status was made for.
4730 config_files="$ac_config_files"
4734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4736 \`$as_me' instantiates files and other configuration actions
4737 from templates according to the current configuration. Unless the files
4738 and actions are specified as TAGs, all are instantiated by default.
4740 Usage: $0 [OPTION]... [TAG]...
4742 -h, --help print this help, then exit
4743 -V, --version print version number and configuration settings, then exit
4744 --config print configuration, then exit
4745 -q, --quiet, --silent
4746 do not print progress messages
4747 -d, --debug don't remove temporary files
4748 --recheck update $as_me by reconfiguring in the same conditions
4749 --file=FILE[:TEMPLATE]
4750 instantiate the configuration file FILE
4752 Configuration files:
4755 Report bugs to <cygwin@cygwin.com>.
4756 Cygwin Cygserver home page: <https://cygwin.com>."
4759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4760 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4762 Cygwin Cygserver config.status 0
4763 configured by $0, generated by GNU Autoconf 2.69,
4764 with options \\"\$ac_cs_config\\"
4766 Copyright (C) 2012 Free Software Foundation, Inc.
4767 This config.status script is free software; the Free Software Foundation
4768 gives unlimited permission to copy, distribute and modify it."
4773 test -n "\$AWK" || AWK=awk
4776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4777 # The default lists apply if the user does not specify any file.
4783 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4784 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4788 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4800 # Handling of the options.
4801 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4803 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4804 $as_echo "$ac_cs_version"; exit ;;
4805 --config |
--confi |
--conf |
--con |
--co |
--c )
4806 $as_echo "$ac_cs_config"; exit ;;
4807 --debug |
--debu |
--deb |
--de |
--d |
-d )
4809 --file |
--fil |
--fi |
--f )
4812 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4813 '') as_fn_error $?
"missing file argument" ;;
4815 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4816 ac_need_defaults
=false
;;
4817 --he |
--h |
--help |
--hel |
-h )
4818 $as_echo "$ac_cs_usage"; exit ;;
4819 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4820 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4824 -*) as_fn_error $?
"unrecognized option: \`$1'
4825 Try \`$0 --help' for more information." ;;
4827 *) as_fn_append ac_config_targets
" $1"
4828 ac_need_defaults
=false
;;
4834 ac_configure_extra_args
=
4836 if $ac_cs_silent; then
4838 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4843 if \$ac_cs_recheck; then
4844 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4846 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4847 CONFIG_SHELL='$SHELL'
4853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4857 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4858 ## Running $as_me. ##
4864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4869 # Handling of arguments.
4870 for ac_config_target
in $ac_config_targets
4872 case $ac_config_target in
4873 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4875 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4880 # If the user did not use the arguments to specify the items to instantiate,
4881 # then the envvar interface is used. Set only those that are not.
4882 # We use the long form for the default assignment because of an extremely
4883 # bizarre bug on SunOS 4.1.3.
4884 if $ac_need_defaults; then
4885 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4888 # Have a temporary directory for convenience. Make it in the build tree
4889 # simply because there is no reason against having it here, and in addition,
4890 # creating and moving files from /tmp can sometimes cause problems.
4891 # Hook for its removal unless debugging.
4892 # Note that there is a small window in which the directory will not be cleaned:
4893 # after its creation but before its name has been assigned to `$tmp'.
4897 trap 'exit_status=$?
4899 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4901 trap 'as_fn_exit 1' 1 2 13 15
4903 # Create a (secure) tmp directory for tmp files.
4906 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4910 tmp
=.
/conf$$
-$RANDOM
4911 (umask 077 && mkdir
"$tmp")
4912 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4915 # Set up the scripts for CONFIG_FILES section.
4916 # No need to generate them if there are no CONFIG_FILES.
4917 # This happens for instance with `./config.status config.h'.
4918 if test -n "$CONFIG_FILES"; then
4921 ac_cr
=`echo X | tr X '\015'`
4922 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4923 # But we know of no other shell where ac_cr would be empty at this
4924 # point, so we can use a bashism as a fallback.
4925 if test "x$ac_cr" = x
; then
4926 eval ac_cr
=\$
\'\\r
\'
4928 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4929 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4935 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4940 echo "cat >conf$$subs.awk <<_ACEOF" &&
4941 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4944 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4945 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4947 for ac_last_try in false false false false false :; do
4948 . ./conf$$subs.sh ||
4949 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4951 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4952 if test $ac_delim_n = $ac_delim_num; then
4954 elif $ac_last_try; then
4955 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4957 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4963 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4967 s/^/S["/; s
/!.
*/"]=/
4977 s/\(.\{148\}\)..*/\1/
4979 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4984 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4991 s/\(.\{148\}\)..*/\1/
4993 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4997 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5002 ' <conf$$subs.awk | sed '
5007 ' >>$CONFIG_STATUS || ac_write_fail=1
5008 rm -f conf$$subs.awk
5009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5011 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5012 for (key in S) S_is_set[key] = 1
5018 nfields = split(line, field, "@
")
5020 len = length(field[1])
5021 for (i = 2; i < nfields; i++) {
5023 keylen = length(key)
5024 if (S_is_set[key]) {
5026 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5027 len += length(value) + length(field[++i])
5038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5039 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5040 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5043 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5044 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5047 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5048 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5049 # trailing colons and then remove the whole line if VPATH becomes empty
5050 # (actually we leave an empty line to preserve line numbers).
5051 if test "x
$srcdir" = x.; then
5052 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5071 fi # test -n "$CONFIG_FILES"
5074 eval set X " :F
$CONFIG_FILES "
5079 :[FHLC]) ac_mode=$ac_tag; continue;;
5081 case $ac_mode$ac_tag in
5083 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5084 :[FH]-) ac_tag=-:-;;
5085 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5102 -) ac_f="$ac_tmp/stdin";;
5103 *) # Look for the file first in the build tree, then in the source tree
5104 # (if the path is not absolute). The absolute path cannot be DOS-style,
5105 # because $ac_f cannot contain `:'.
5109 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5111 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5113 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5114 as_fn_append ac_file_inputs " '$ac_f'"
5117 # Let's still pretend it is `configure' which instantiates (i.e., don't
5118 # use $as_me), people would be surprised to read:
5119 # /* config.h. Generated by config.status. */
5120 configure_input='Generated from '`
5121 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5123 if test x"$ac_file" != x-; then
5124 configure_input="$ac_file.
$configure_input"
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5126 $as_echo "$as_me: creating
$ac_file" >&6;}
5128 # Neutralize special characters interpreted by sed in replacement strings.
5129 case $configure_input in #(
5130 *\&* | *\|* | *\\* )
5131 ac_sed_conf_input=`$as_echo "$configure_input" |
5132 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5133 *) ac_sed_conf_input=$configure_input;;
5137 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5138 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5143 ac_dir=`$as_dirname -- "$ac_file" ||
5144 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5145 X"$ac_file" : 'X\(//\)[^/]' \| \
5146 X"$ac_file" : 'X\(//\)$' \| \
5147 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5148 $as_echo X"$ac_file" |
5149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5166 as_dir="$ac_dir"; as_fn_mkdir_p
5170 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5172 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5173 # A "..
" for each directory in $ac_dir_suffix.
5174 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5175 case $ac_top_builddir_sub in
5176 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5177 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5180 ac_abs_top_builddir=$ac_pwd
5181 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5182 # for backward compatibility:
5183 ac_top_builddir=$ac_top_build_prefix
5186 .) # We are building in place.
5188 ac_top_srcdir=$ac_top_builddir_sub
5189 ac_abs_top_srcdir=$ac_pwd ;;
5190 [\\/]* | ?:[\\/]* ) # Absolute name.
5191 ac_srcdir=$srcdir$ac_dir_suffix;
5192 ac_top_srcdir=$srcdir
5193 ac_abs_top_srcdir=$srcdir ;;
5195 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5196 ac_top_srcdir=$ac_top_build_prefix$srcdir
5197 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5199 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5209 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5210 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5215 # If the template does not know about datarootdir, expand it.
5216 # FIXME: This hack should be removed a few years after 2.60.
5217 ac_datarootdir_hack=; ac_datarootdir_seen=
5228 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5229 *datarootdir*) ac_datarootdir_seen=yes;;
5230 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5232 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5235 ac_datarootdir_hack='
5236 s&@datadir@&$datadir&g
5237 s&@docdir@&$docdir&g
5238 s&@infodir@&$infodir&g
5239 s&@localedir@&$localedir&g
5240 s&@mandir@&$mandir&g
5241 s&\\\${datarootdir}&$datarootdir&g' ;;
5245 # Neutralize VPATH when `$srcdir' = `.'.
5246 # Shell code in configure.ac might set extrasub.
5247 # FIXME: do we really want to maintain this feature?
5248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5249 ac_sed_extra="$ac_vpsub
5252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5254 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5255 s|@configure_input@|
$ac_sed_conf_input|
;t t
5256 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5257 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5258 s
&@srcdir@
&$ac_srcdir&;t t
5259 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5260 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5261 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5262 s
&@builddir@
&$ac_builddir&;t t
5263 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5264 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5265 s
&@INSTALL@
&$ac_INSTALL&;t t
5266 $ac_datarootdir_hack
5268 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5269 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5271 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5272 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5273 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5274 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5276 which seems to be undefined. Please make sure it is defined" >&5
5277 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5278 which seems to be undefined. Please make sure it is defined" >&2;}
5280 rm -f "$ac_tmp/stdin"
5282 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5283 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5285 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5297 ac_clean_files=$ac_clean_files_save
5299 test $ac_write_fail = 0 ||
5300 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5303 # configure is writing to config.log, and then calls config.status.
5304 # config.status does its own redirection, appending to config.log.
5305 # Unfortunately, on DOS this fails, as config.log is still kept open
5306 # by configure, so config.status won't be able to
write to it
; its
5307 # output is simply discarded. So we exec the FD to /dev/null,
5308 # effectively closing config.log, so it can be properly (re)opened and
5309 # appended to by config.status. When coming back to configure, we
5310 # need to make the FD available again.
5311 if test "$no_create" != yes; then
5313 ac_config_status_args
=
5314 test "$silent" = yes &&
5315 ac_config_status_args
="$ac_config_status_args --quiet"
5317 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5319 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5320 # would make configure fail if this is the last instruction.
5321 $ac_cs_success || as_fn_exit
1
5323 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5325 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}