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}-
2111 ac_cpp
='$CPP $CPPFLAGS'
2112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2115 if test -n "$ac_tool_prefix"; then
2116 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2117 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2119 $as_echo_n "checking for $ac_word... " >&6; }
2120 if ${ac_cv_prog_CC+:} false
; then :
2121 $as_echo_n "(cached) " >&6
2123 if test -n "$CC"; then
2124 ac_cv_prog_CC
="$CC" # Let the user override the test.
2126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 test -z "$as_dir" && as_dir
=.
2131 for ac_exec_ext
in '' $ac_executable_extensions; do
2132 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2133 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 if test -n "$CC"; then
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2146 $as_echo "$CC" >&6; }
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2149 $as_echo "no" >&6; }
2154 if test -z "$ac_cv_prog_CC"; then
2156 # Extract the first word of "gcc", so it can be a program name with args.
2157 set dummy gcc
; ac_word
=$2
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2159 $as_echo_n "checking for $ac_word... " >&6; }
2160 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2161 $as_echo_n "(cached) " >&6
2163 if test -n "$ac_ct_CC"; then
2164 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2170 test -z "$as_dir" && as_dir
=.
2171 for ac_exec_ext
in '' $ac_executable_extensions; do
2172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_ac_ct_CC
="gcc"
2174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2184 if test -n "$ac_ct_CC"; then
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2186 $as_echo "$ac_ct_CC" >&6; }
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2189 $as_echo "no" >&6; }
2192 if test "x$ac_ct_CC" = x
; then
2195 case $cross_compiling:$ac_tool_warned in
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2199 ac_tool_warned
=yes ;;
2207 if test -z "$CC"; then
2208 if test -n "$ac_tool_prefix"; then
2209 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2210 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2212 $as_echo_n "checking for $ac_word... " >&6; }
2213 if ${ac_cv_prog_CC+:} false
; then :
2214 $as_echo_n "(cached) " >&6
2216 if test -n "$CC"; then
2217 ac_cv_prog_CC
="$CC" # Let the user override the test.
2219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2223 test -z "$as_dir" && as_dir
=.
2224 for ac_exec_ext
in '' $ac_executable_extensions; do
2225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2226 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 if test -n "$CC"; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2239 $as_echo "$CC" >&6; }
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2242 $as_echo "no" >&6; }
2248 if test -z "$CC"; then
2249 # Extract the first word of "cc", so it can be a program name with args.
2250 set dummy cc
; ac_word
=$2
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2252 $as_echo_n "checking for $ac_word... " >&6; }
2253 if ${ac_cv_prog_CC+:} false
; then :
2254 $as_echo_n "(cached) " >&6
2256 if test -n "$CC"; then
2257 ac_cv_prog_CC
="$CC" # Let the user override the test.
2260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir
=.
2265 for ac_exec_ext
in '' $ac_executable_extensions; do
2266 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2267 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2268 ac_prog_rejected
=yes
2272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 if test $ac_prog_rejected = yes; then
2280 # We found a bogon in the path, so make sure we never use it.
2281 set dummy
$ac_cv_prog_CC
2283 if test $# != 0; then
2284 # We chose a different compiler from the bogus one.
2285 # However, it has the same basename, so the bogon will be chosen
2286 # first if we set CC to just the basename; use the full file name.
2288 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2294 if test -n "$CC"; then
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2296 $as_echo "$CC" >&6; }
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2299 $as_echo "no" >&6; }
2304 if test -z "$CC"; then
2305 if test -n "$ac_tool_prefix"; then
2306 for ac_prog
in cl.exe
2308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2309 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2311 $as_echo_n "checking for $ac_word... " >&6; }
2312 if ${ac_cv_prog_CC+:} false
; then :
2313 $as_echo_n "(cached) " >&6
2315 if test -n "$CC"; then
2316 ac_cv_prog_CC
="$CC" # Let the user override the test.
2318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2322 test -z "$as_dir" && as_dir
=.
2323 for ac_exec_ext
in '' $ac_executable_extensions; do
2324 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2325 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2336 if test -n "$CC"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2338 $as_echo "$CC" >&6; }
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2341 $as_echo "no" >&6; }
2345 test -n "$CC" && break
2348 if test -z "$CC"; then
2350 for ac_prog
in cl.exe
2352 # Extract the first word of "$ac_prog", so it can be a program name with args.
2353 set dummy
$ac_prog; ac_word
=$2
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2355 $as_echo_n "checking for $ac_word... " >&6; }
2356 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2357 $as_echo_n "(cached) " >&6
2359 if test -n "$ac_ct_CC"; then
2360 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir
=.
2367 for ac_exec_ext
in '' $ac_executable_extensions; do
2368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2369 ac_cv_prog_ac_ct_CC
="$ac_prog"
2370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2380 if test -n "$ac_ct_CC"; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2382 $as_echo "$ac_ct_CC" >&6; }
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2385 $as_echo "no" >&6; }
2389 test -n "$ac_ct_CC" && break
2392 if test "x$ac_ct_CC" = x
; then
2395 case $cross_compiling:$ac_tool_warned in
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2399 ac_tool_warned
=yes ;;
2408 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2410 as_fn_error $?
"no acceptable C compiler found in \$PATH
2411 See \`config.log' for more details" "$LINENO" 5; }
2413 # Provide some information about the compiler.
2414 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2417 for ac_option
in --version -v -V -qversion; do
2418 { { ac_try
="$ac_compiler $ac_option >&5"
2420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2421 *) ac_try_echo=$ac_try;;
2423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2424 $as_echo "$ac_try_echo"; } >&5
2425 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2427 if test -s conftest.err; then
2429 ... rest of stderr output deleted ...
2430 10q' conftest.err >conftest.er1
2431 cat conftest.er1 >&5
2433 rm -f conftest.er1 conftest.err
2434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2435 test $ac_status = 0; }
2438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2439 /* end confdefs.h. */
2449 if { { ac_try="$ac_link"
2451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2452 *) ac_try_echo
=$ac_try;;
2454 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2455 $as_echo "$ac_try_echo"; } >&5
2456 (eval "$ac_link") 2>&5
2458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2459 test $ac_status = 0; }; then
2461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2472 ac_clean_files_save
=$ac_clean_files
2473 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2474 # Try to create an executable without -o first, disregard a.out.
2475 # It will help us diagnose broken compilers, and finding out an intuition
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2478 $as_echo_n "checking whether the C compiler works... " >&6; }
2479 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2481 # The possible output files:
2482 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2485 for ac_file
in $ac_files
2488 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2489 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2494 if { { ac_try
="$ac_link_default"
2496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2500 $as_echo "$ac_try_echo"; } >&5
2501 (eval "$ac_link_default") 2>&5
2503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2504 test $ac_status = 0; }; then :
2505 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2506 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2507 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2508 # so that the user can short-circuit this test for compilers unknown to
2510 for ac_file in $ac_files ''
2512 test -f "$ac_file" || continue
2514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2517 # We found the default executable, but exeext='' is most
2521 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2523 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2525 # We set ac_cv_exeext here because the later test for it is not
2526 # safe: cross compilers may not add the suffix if given an `-o'
2527 # argument, so we may need to know it at that point already.
2528 # Even if this section looks crufty: it has the advantage of
2535 test "$ac_cv_exeext" = no && ac_cv_exeext=
2540 if test -z "$ac_file"; then :
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2542 $as_echo "no" >&6; }
2543 $as_echo "$as_me: failed program was:" >&5
2544 sed 's
/^
/|
/' conftest.$ac_ext >&5
2546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2547 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2548 as_fn_error 77 "C compiler cannot create executables
2549 See \`config.log
' for more details" "$LINENO" 5; }
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2552 $as_echo "yes" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2555 $as_echo_n "checking for C compiler default output file name... " >&6; }
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2557 $as_echo "$ac_file" >&6; }
2558 ac_exeext=$ac_cv_exeext
2560 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2561 ac_clean_files=$ac_clean_files_save
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2563 $as_echo_n "checking for suffix of executables... " >&6; }
2564 if { { ac_try="$ac_link"
2566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
2569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2570 $as_echo "$ac_try_echo"; } >&5
2571 (eval "$ac_link") 2>&5
2573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2574 test $ac_status = 0; }; then :
2575 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2576 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2577 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2579 for ac_file
in conftest.exe conftest conftest.
*; do
2580 test -f "$ac_file" ||
continue
2582 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2583 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2591 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2592 See \`config.log' for more details" "$LINENO" 5; }
2594 rm -f conftest conftest
$ac_cv_exeext
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2596 $as_echo "$ac_cv_exeext" >&6; }
2598 rm -f conftest.
$ac_ext
2599 EXEEXT
=$ac_cv_exeext
2601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2602 /* end confdefs.h. */
2607 FILE *f = fopen ("conftest.out", "w");
2608 return ferror (f) || fclose (f) != 0;
2614 ac_clean_files
="$ac_clean_files conftest.out"
2615 # Check that the compiler produces executables we can run. If not, either
2616 # the compiler is broken, or we cross compile.
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2618 $as_echo_n "checking whether we are cross compiling... " >&6; }
2619 if test "$cross_compiling" != yes; then
2620 { { ac_try
="$ac_link"
2622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627 (eval "$ac_link") 2>&5
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; }
2631 if { ac_try='./conftest$ac_cv_exeext'
2632 { { case "(($ac_try" in
2633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2634 *) ac_try_echo
=$ac_try;;
2636 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2637 $as_echo "$ac_try_echo"; } >&5
2638 (eval "$ac_try") 2>&5
2640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2641 test $ac_status = 0; }; }; then
2644 if test "$cross_compiling" = maybe
; then
2647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2649 as_fn_error $?
"cannot run C compiled programs.
2650 If you meant to cross compile, use \`--host'.
2651 See \`config.log' for more details" "$LINENO" 5; }
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2656 $as_echo "$cross_compiling" >&6; }
2658 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2659 ac_clean_files
=$ac_clean_files_save
2662 rm -f -r a.out a.exe b.out conftest.
$ac_ext conftest.o conftest.obj conftest.dSYM
2664 # Setting cross_compile will disable run tests; it will
2665 # also disable AC_CHECK_FILE but that's generally
2666 # correct if we can't link.
2669 # Check that the compiler produces executables we can run. If not, either
2670 # the compiler is broken, or we cross compile.
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2672 $as_echo_n "checking whether we are cross compiling... " >&6; }
2673 if test "$cross_compiling" != yes; then
2674 { { ac_try
="$ac_link"
2676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2680 $as_echo "$ac_try_echo"; } >&5
2681 (eval "$ac_link") 2>&5
2683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2684 test $ac_status = 0; }
2685 if { ac_try='./conftest$ac_cv_exeext'
2686 { { case "(($ac_try" in
2687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2688 *) ac_try_echo
=$ac_try;;
2690 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 $as_echo "$ac_try_echo"; } >&5
2692 (eval "$ac_try") 2>&5
2694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; }; }; then
2698 if test "$cross_compiling" = maybe
; then
2701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2703 as_fn_error $?
"cannot run C compiled programs.
2704 If you meant to cross compile, use \`--host'.
2705 See \`config.log' for more details" "$LINENO" 5; }
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2710 $as_echo "$cross_compiling" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2714 $as_echo_n "checking for suffix of object files... " >&6; }
2715 if ${ac_cv_objext+:} false
; then :
2716 $as_echo_n "(cached) " >&6
2718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2729 rm -f conftest.o conftest.obj
2730 if { { ac_try
="$ac_compile"
2732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736 $as_echo "$ac_try_echo"; } >&5
2737 (eval "$ac_compile") 2>&5
2739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; }; then :
2741 for ac_file in conftest.o conftest.obj conftest.*; do
2742 test -f "$ac_file" || continue;
2744 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2745 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2750 $as_echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2755 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2756 See \
`config.log' for more details" "$LINENO" 5; }
2758 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2761 $as_echo "$ac_cv_objext" >&6; }
2762 OBJEXT=$ac_cv_objext
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2765 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2766 if ${ac_cv_c_compiler_gnu+:} false; then :
2767 $as_echo_n "(cached) " >&6
2769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h. */
2783 if ac_fn_c_try_compile "$LINENO"; then :
2788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2789 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2793 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2794 if test $ac_compiler_gnu = yes; then
2799 ac_test_CFLAGS=${CFLAGS+set}
2800 ac_save_CFLAGS=$CFLAGS
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2802 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2803 if ${ac_cv_prog_cc_g+:} false; then :
2804 $as_echo_n "(cached) " >&6
2806 ac_save_c_werror_flag=$ac_c_werror_flag
2807 ac_c_werror_flag=yes
2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h. */
2821 if ac_fn_c_try_compile "$LINENO"; then :
2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2826 /* end confdefs.h. */
2836 if ac_fn_c_try_compile "$LINENO"; then :
2839 ac_c_werror_flag=$ac_save_c_werror_flag
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2852 if ac_fn_c_try_compile "$LINENO"; then :
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2860 ac_c_werror_flag=$ac_save_c_werror_flag
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2863 $as_echo "$ac_cv_prog_cc_g" >&6; }
2864 if test "$ac_test_CFLAGS" = set; then
2865 CFLAGS=$ac_save_CFLAGS
2866 elif test $ac_cv_prog_cc_g = yes; then
2867 if test "$GCC" = yes; then
2873 if test "$GCC" = yes; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2880 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2881 if ${ac_cv_prog_cc_c89+:} false; then :
2882 $as_echo_n "(cached) " >&6
2884 ac_cv_prog_cc_c89=no
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2891 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2892 struct buf { int x; };
2893 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2894 static char *e (p, i)
2900 static char *f (char * (*g) (char **, int), char **p, ...)
2905 s = g (p, va_arg (v,int));
2910 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2911 function prototypes and stuff, but not '\xHH' hex character constants.
2912 These don't provoke an error unfortunately, instead are silently treated
2913 as 'x'. The following induces an error, until -std is added to get
2914 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2915 array size at least. It's necessary to write '\x00'==0 to get something
2916 that's true only with -std. */
2917 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2919 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2920 inside strings and character constants. */
2922 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2924 int test (int i, double x);
2925 struct s1 {int (*f) (int a);};
2926 struct s2 {int (*f) (double a);};
2927 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2933 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2938 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2939 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2941 CC="$ac_save_CC $ac_arg"
2942 if ac_fn_c_try_compile "$LINENO"; then :
2943 ac_cv_prog_cc_c89=$ac_arg
2945 rm -f core conftest.err conftest.$ac_objext
2946 test "x$ac_cv_prog_cc_c89" != "xno" && break
2948 rm -f conftest.$ac_ext
2953 case "x$ac_cv_prog_cc_c89" in
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2956 $as_echo "none needed" >&6; } ;;
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2959 $as_echo "unsupported" >&6; } ;;
2961 CC="$CC $ac_cv_prog_cc_c89"
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2963 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2965 if test "x$ac_cv_prog_cc_c89" != xno; then :
2970 ac_cpp='$CPP $CPPFLAGS'
2971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2976 ac_cpp='$CXXCPP $CPPFLAGS'
2977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2980 if test -z "$CXX"; then
2981 if test -n "$CCC"; then
2984 if test -n "$ac_tool_prefix"; then
2985 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2988 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990 $as_echo_n "checking for $ac_word... " >&6; }
2991 if ${ac_cv_prog_CXX+:} false; then :
2992 $as_echo_n "(cached) " >&6
2994 if test -n "$CXX"; then
2995 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 test -z "$as_dir" && as_dir=.
3002 for ac_exec_ext in '' $ac_executable_extensions; do
3003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3004 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 if test -n "$CXX"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3017 $as_echo "$CXX" >&6; }
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020 $as_echo "no" >&6; }
3024 test -n "$CXX" && break
3027 if test -z "$CXX"; then
3029 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3031 # Extract the first word of "$ac_prog", so it can be a program name with args.
3032 set dummy $ac_prog; ac_word=$2
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034 $as_echo_n "checking for $ac_word... " >&6; }
3035 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3036 $as_echo_n "(cached) " >&6
3038 if test -n "$ac_ct_CXX"; then
3039 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3048 ac_cv_prog_ac_ct_CXX="$ac_prog"
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3059 if test -n "$ac_ct_CXX"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3061 $as_echo "$ac_ct_CXX" >&6; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3068 test -n "$ac_ct_CXX" && break
3071 if test "x$ac_ct_CXX" = x; then
3074 case $cross_compiling:$ac_tool_warned in
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3078 ac_tool_warned=yes ;;
3086 # Provide some information about the compiler.
3087 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3090 for ac_option in --version -v -V -qversion; do
3091 { { ac_try="$ac_compiler $ac_option >&5"
3093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3094 *) ac_try_echo
=$ac_try;;
3096 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3097 $as_echo "$ac_try_echo"; } >&5
3098 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3100 if test -s conftest.err
; then
3102 ... rest of stderr output deleted ...
3103 10q' conftest.err
>conftest.er1
3104 cat conftest.er1
>&5
3106 rm -f conftest.er1 conftest.err
3107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3108 test $ac_status = 0; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3112 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3113 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3114 $as_echo_n "(cached) " >&6
3116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h. */
3130 if ac_fn_cxx_try_compile
"$LINENO"; then :
3135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3136 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3140 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3141 if test $ac_compiler_gnu = yes; then
3146 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3147 ac_save_CXXFLAGS
=$CXXFLAGS
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3149 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3150 if ${ac_cv_prog_cxx_g+:} false
; then :
3151 $as_echo_n "(cached) " >&6
3153 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3154 ac_cxx_werror_flag
=yes
3157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3168 if ac_fn_cxx_try_compile
"$LINENO"; then :
3169 ac_cv_prog_cxx_g
=yes
3172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3183 if ac_fn_cxx_try_compile
"$LINENO"; then :
3186 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3189 /* end confdefs.h. */
3199 if ac_fn_cxx_try_compile
"$LINENO"; then :
3200 ac_cv_prog_cxx_g
=yes
3202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3207 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3210 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3211 if test "$ac_test_CXXFLAGS" = set; then
3212 CXXFLAGS
=$ac_save_CXXFLAGS
3213 elif test $ac_cv_prog_cxx_g = yes; then
3214 if test "$GXX" = yes; then
3220 if test "$GXX" = yes; then
3227 ac_cpp
='$CPP $CPPFLAGS'
3228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3233 ac_cpp
='$CPP $CPPFLAGS'
3234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3238 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3239 # On Suns, sometimes $CPP names a directory.
3240 if test -n "$CPP" && test -d "$CPP"; then
3243 if test -z "$CPP"; then
3244 if ${ac_cv_prog_CPP+:} false
; then :
3245 $as_echo_n "(cached) " >&6
3247 # Double quotes because CPP needs to be expanded
3248 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3251 for ac_c_preproc_warn_flag
in '' yes
3253 # Use a header file that comes with gcc, so configuring glibc
3254 # with a fresh cross-compiler works.
3255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3256 # <limits.h> exists even on freestanding compilers.
3257 # On the NeXT, cc -E runs the code through the compiler's parser,
3258 # not just through cpp. "Syntax error" is here to catch this case.
3259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3262 # include <limits.h>
3264 # include <assert.h>
3268 if ac_fn_c_try_cpp
"$LINENO"; then :
3271 # Broken: fails on valid input.
3274 rm -f conftest.err conftest.i conftest.
$ac_ext
3276 # OK, works on sane cases. Now check whether nonexistent headers
3277 # can be detected and how.
3278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3280 #include <ac_nonexistent.h>
3282 if ac_fn_c_try_cpp
"$LINENO"; then :
3283 # Broken: success on invalid input.
3286 # Passes both tests.
3290 rm -f conftest.err conftest.i conftest.
$ac_ext
3293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3294 rm -f conftest.i conftest.err conftest.
$ac_ext
3295 if $ac_preproc_ok; then :
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3308 $as_echo "$CPP" >&6; }
3310 for ac_c_preproc_warn_flag
in '' yes
3312 # Use a header file that comes with gcc, so configuring glibc
3313 # with a fresh cross-compiler works.
3314 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3315 # <limits.h> exists even on freestanding compilers.
3316 # On the NeXT, cc -E runs the code through the compiler's parser,
3317 # not just through cpp. "Syntax error" is here to catch this case.
3318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3321 # include <limits.h>
3323 # include <assert.h>
3327 if ac_fn_c_try_cpp
"$LINENO"; then :
3330 # Broken: fails on valid input.
3333 rm -f conftest.err conftest.i conftest.
$ac_ext
3335 # OK, works on sane cases. Now check whether nonexistent headers
3336 # can be detected and how.
3337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3339 #include <ac_nonexistent.h>
3341 if ac_fn_c_try_cpp
"$LINENO"; then :
3342 # Broken: success on invalid input.
3345 # Passes both tests.
3349 rm -f conftest.err conftest.i conftest.
$ac_ext
3352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3353 rm -f conftest.i conftest.err conftest.
$ac_ext
3354 if $ac_preproc_ok; then :
3357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3360 See \`config.log' for more details" "$LINENO" 5; }
3364 ac_cpp
='$CPP $CPPFLAGS'
3365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3370 ac_cpp
='$CPP $CPPFLAGS'
3371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3378 # Check whether --with-windows-headers was given.
3379 if test "${with_windows_headers+set}" = set; then :
3380 withval
=$with_windows_headers; test -z "$withval" && as_fn_error $?
"must specify value for --with-windows-headers" "$LINENO" 5
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
3405 ac_cpp
='$CXXCPP $CPPFLAGS'
3406 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3408 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3412 addto_CPPFLAGS
-nostdinc
3413 : ${ac_cv_prog_CXX:=$CXX}
3414 : ${ac_cv_prog_CC:=$CC}
3416 cygwin_headers
=$
(realdirpath
"$winsup_srcdir/cygwin/include")
3417 if test -z "$cygwin_headers"; then
3418 as_fn_error $?
"cannot find $winsup_srcdir/cygwin/include directory" "$LINENO" 5
3421 newlib_headers
=$
(realdirpath
$winsup_srcdir/..
/newlib
/libc
/include
)
3422 if test -z "$newlib_headers"; then
3423 as_fn_error $?
"cannot find newlib source directory: $winsup_srcdir/../newlib/libc/include" "$LINENO" 5
3425 newlib_headers
="$target_builddir/newlib/targ-include $newlib_headers"
3427 if test -n "$with_windows_headers"; then
3428 if test -e "$with_windows_headers/windef.h"; then
3429 windows_headers
="$with_windows_headers"
3431 as_fn_error $?
"cannot find windef.h in specified --with-windows-headers path: $saw_windows_headers" "$LINENO" 5;
3433 elif test -d "$winsup_srcdir/w32api/include/windef.h"; then
3434 windows_headers
="$winsup_srcdir/w32api/include"
3436 windows_headers
=$
(cd $
($ac_cv_prog_CC -xc /dev
/null
-E -include windef.h
2>/dev
/null |
sed -n 's%^# 1 "\([^"]*\)/windef\.h".*$%\1%p' |
head -n1) 2>/dev
/null
&& pwd)
3437 if test -z "$windows_headers" -o ! -d "$windows_headers"; then
3438 as_fn_error $?
"cannot find windows header files" "$LINENO" 5
3450 case "$with_cross_host" in
3453 install_host
="install_host"
3464 if test -n "$ac_tool_prefix"; then
3465 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3466 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3468 $as_echo_n "checking for $ac_word... " >&6; }
3469 if ${ac_cv_prog_AR+:} false
; then :
3470 $as_echo_n "(cached) " >&6
3472 if test -n "$AR"; then
3473 ac_cv_prog_AR
="$AR" # Let the user override the test.
3475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3479 test -z "$as_dir" && as_dir
=.
3480 for ac_exec_ext
in '' $ac_executable_extensions; do
3481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3482 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 if test -n "$AR"; then
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3495 $as_echo "$AR" >&6; }
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3503 if test -z "$ac_cv_prog_AR"; then
3505 # Extract the first word of "ar", so it can be a program name with args.
3506 set dummy
ar; ac_word
=$2
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3508 $as_echo_n "checking for $ac_word... " >&6; }
3509 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
3510 $as_echo_n "(cached) " >&6
3512 if test -n "$ac_ct_AR"; then
3513 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3519 test -z "$as_dir" && as_dir
=.
3520 for ac_exec_ext
in '' $ac_executable_extensions; do
3521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3522 ac_cv_prog_ac_ct_AR
="ar"
3523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3533 if test -n "$ac_ct_AR"; then
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3535 $as_echo "$ac_ct_AR" >&6; }
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3538 $as_echo "no" >&6; }
3541 if test "x$ac_ct_AR" = x
; then
3544 case $cross_compiling:$ac_tool_warned in
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3548 ac_tool_warned
=yes ;;
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3558 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_AS+:} false
; then :
3562 $as_echo_n "(cached) " >&6
3564 if test -n "$AS"; then
3565 ac_cv_prog_AS
="$AS" # Let the user override the test.
3567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3571 test -z "$as_dir" && as_dir
=.
3572 for ac_exec_ext
in '' $ac_executable_extensions; do
3573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_AS
="${ac_tool_prefix}as"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3585 if test -n "$AS"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3587 $as_echo "$AS" >&6; }
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3595 if test -z "$ac_cv_prog_AS"; then
3597 # Extract the first word of "as", so it can be a program name with args.
3598 set dummy as
; ac_word
=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
3602 $as_echo_n "(cached) " >&6
3604 if test -n "$ac_ct_AS"; then
3605 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3611 test -z "$as_dir" && as_dir
=.
3612 for ac_exec_ext
in '' $ac_executable_extensions; do
3613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3614 ac_cv_prog_ac_ct_AS
="as"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3625 if test -n "$ac_ct_AS"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3627 $as_echo "$ac_ct_AS" >&6; }
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3633 if test "x$ac_ct_AS" = x
; then
3636 case $cross_compiling:$ac_tool_warned in
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned
=yes ;;
3648 if test -n "$ac_tool_prefix"; then
3649 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3650 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if ${ac_cv_prog_RANLIB+:} false
; then :
3654 $as_echo_n "(cached) " >&6
3656 if test -n "$RANLIB"; then
3657 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3663 test -z "$as_dir" && as_dir
=.
3664 for ac_exec_ext
in '' $ac_executable_extensions; do
3665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3666 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 RANLIB
=$ac_cv_prog_RANLIB
3677 if test -n "$RANLIB"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3679 $as_echo "$RANLIB" >&6; }
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3687 if test -z "$ac_cv_prog_RANLIB"; then
3688 ac_ct_RANLIB
=$RANLIB
3689 # Extract the first word of "ranlib", so it can be a program name with args.
3690 set dummy ranlib
; ac_word
=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
3694 $as_echo_n "(cached) " >&6
3696 if test -n "$ac_ct_RANLIB"; then
3697 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3703 test -z "$as_dir" && as_dir
=.
3704 for ac_exec_ext
in '' $ac_executable_extensions; do
3705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3706 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3717 if test -n "$ac_ct_RANLIB"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3719 $as_echo "$ac_ct_RANLIB" >&6; }
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3725 if test "x$ac_ct_RANLIB" = x
; then
3728 case $cross_compiling:$ac_tool_warned in
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3732 ac_tool_warned
=yes ;;
3734 RANLIB
=$ac_ct_RANLIB
3737 RANLIB
="$ac_cv_prog_RANLIB"
3740 if test -n "$ac_tool_prefix"; then
3741 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3742 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3744 $as_echo_n "checking for $ac_word... " >&6; }
3745 if ${ac_cv_prog_LD+:} false
; then :
3746 $as_echo_n "(cached) " >&6
3748 if test -n "$LD"; then
3749 ac_cv_prog_LD
="$LD" # Let the user override the test.
3751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3755 test -z "$as_dir" && as_dir
=.
3756 for ac_exec_ext
in '' $ac_executable_extensions; do
3757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3758 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 if test -n "$LD"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3771 $as_echo "$LD" >&6; }
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774 $as_echo "no" >&6; }
3779 if test -z "$ac_cv_prog_LD"; then
3781 # Extract the first word of "ld", so it can be a program name with args.
3782 set dummy ld
; ac_word
=$2
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3784 $as_echo_n "checking for $ac_word... " >&6; }
3785 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
3786 $as_echo_n "(cached) " >&6
3788 if test -n "$ac_ct_LD"; then
3789 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
3791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3795 test -z "$as_dir" && as_dir
=.
3796 for ac_exec_ext
in '' $ac_executable_extensions; do
3797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3798 ac_cv_prog_ac_ct_LD
="ld"
3799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
3809 if test -n "$ac_ct_LD"; then
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
3811 $as_echo "$ac_ct_LD" >&6; }
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3814 $as_echo "no" >&6; }
3817 if test "x$ac_ct_LD" = x
; then
3820 case $cross_compiling:$ac_tool_warned in
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3824 ac_tool_warned
=yes ;;
3832 if test -n "$ac_tool_prefix"; then
3833 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3834 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3836 $as_echo_n "checking for $ac_word... " >&6; }
3837 if ${ac_cv_prog_NM+:} false
; then :
3838 $as_echo_n "(cached) " >&6
3840 if test -n "$NM"; then
3841 ac_cv_prog_NM
="$NM" # Let the user override the test.
3843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3847 test -z "$as_dir" && as_dir
=.
3848 for ac_exec_ext
in '' $ac_executable_extensions; do
3849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3850 ac_cv_prog_NM
="${ac_tool_prefix}nm"
3851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 if test -n "$NM"; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3863 $as_echo "$NM" >&6; }
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3871 if test -z "$ac_cv_prog_NM"; then
3873 # Extract the first word of "nm", so it can be a program name with args.
3874 set dummy nm
; ac_word
=$2
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876 $as_echo_n "checking for $ac_word... " >&6; }
3877 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
3878 $as_echo_n "(cached) " >&6
3880 if test -n "$ac_ct_NM"; then
3881 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
3883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3887 test -z "$as_dir" && as_dir
=.
3888 for ac_exec_ext
in '' $ac_executable_extensions; do
3889 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3890 ac_cv_prog_ac_ct_NM
="nm"
3891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
3901 if test -n "$ac_ct_NM"; then
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3903 $as_echo "$ac_ct_NM" >&6; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3909 if test "x$ac_ct_NM" = x
; then
3912 case $cross_compiling:$ac_tool_warned in
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3916 ac_tool_warned
=yes ;;
3924 if test -n "$ac_tool_prefix"; then
3925 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3926 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3928 $as_echo_n "checking for $ac_word... " >&6; }
3929 if ${ac_cv_prog_DLLTOOL+:} false
; then :
3930 $as_echo_n "(cached) " >&6
3932 if test -n "$DLLTOOL"; then
3933 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
3935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3939 test -z "$as_dir" && as_dir
=.
3940 for ac_exec_ext
in '' $ac_executable_extensions; do
3941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3942 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
3943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 DLLTOOL
=$ac_cv_prog_DLLTOOL
3953 if test -n "$DLLTOOL"; then
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3955 $as_echo "$DLLTOOL" >&6; }
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 $as_echo "no" >&6; }
3963 if test -z "$ac_cv_prog_DLLTOOL"; then
3964 ac_ct_DLLTOOL
=$DLLTOOL
3965 # Extract the first word of "dlltool", so it can be a program name with args.
3966 set dummy dlltool
; ac_word
=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
3970 $as_echo_n "(cached) " >&6
3972 if test -n "$ac_ct_DLLTOOL"; then
3973 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
3975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3979 test -z "$as_dir" && as_dir
=.
3980 for ac_exec_ext
in '' $ac_executable_extensions; do
3981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3982 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
3993 if test -n "$ac_ct_DLLTOOL"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3995 $as_echo "$ac_ct_DLLTOOL" >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
4001 if test "x$ac_ct_DLLTOOL" = x
; then
4004 case $cross_compiling:$ac_tool_warned in
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4008 ac_tool_warned
=yes ;;
4010 DLLTOOL
=$ac_ct_DLLTOOL
4013 DLLTOOL
="$ac_cv_prog_DLLTOOL"
4016 if test -n "$ac_tool_prefix"; then
4017 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4018 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 $as_echo_n "checking for $ac_word... " >&6; }
4021 if ${ac_cv_prog_WINDRES+:} false
; then :
4022 $as_echo_n "(cached) " >&6
4024 if test -n "$WINDRES"; then
4025 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4031 test -z "$as_dir" && as_dir
=.
4032 for ac_exec_ext
in '' $ac_executable_extensions; do
4033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4034 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4044 WINDRES
=$ac_cv_prog_WINDRES
4045 if test -n "$WINDRES"; then
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
4047 $as_echo "$WINDRES" >&6; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050 $as_echo "no" >&6; }
4055 if test -z "$ac_cv_prog_WINDRES"; then
4056 ac_ct_WINDRES
=$WINDRES
4057 # Extract the first word of "windres", so it can be a program name with args.
4058 set dummy windres
; ac_word
=$2
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4060 $as_echo_n "checking for $ac_word... " >&6; }
4061 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
4062 $as_echo_n "(cached) " >&6
4064 if test -n "$ac_ct_WINDRES"; then
4065 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4071 test -z "$as_dir" && as_dir
=.
4072 for ac_exec_ext
in '' $ac_executable_extensions; do
4073 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4074 ac_cv_prog_ac_ct_WINDRES
="windres"
4075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4084 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4085 if test -n "$ac_ct_WINDRES"; then
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
4087 $as_echo "$ac_ct_WINDRES" >&6; }
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4090 $as_echo "no" >&6; }
4093 if test "x$ac_ct_WINDRES" = x
; then
4096 case $cross_compiling:$ac_tool_warned in
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4100 ac_tool_warned
=yes ;;
4102 WINDRES
=$ac_ct_WINDRES
4105 WINDRES
="$ac_cv_prog_WINDRES"
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4110 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4112 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4113 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4114 $as_echo_n "(cached) " >&6
4116 cat >conftest.
make <<\_ACEOF
4119 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4121 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4122 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4124 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4126 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4130 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4132 $as_echo "yes" >&6; }
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4136 $as_echo "no" >&6; }
4137 SET_MAKE
="MAKE=${MAKE-make}"
4141 # Check whether --enable-debugging was given.
4142 if test "${enable_debugging+set}" = set; then :
4143 enableval
=$enable_debugging; case "${enableval}" in
4144 yes) $as_echo "#define DEBUGGING 1" >>confdefs.h
4154 for f
in $ac_configure_args; do
4157 *) configure_args
="$configure_args $f" ;;
4160 configure_args
=$
(/usr
/bin
/expr "$configure_args" : 'X \(.*\)')
4163 ac_config_files
="$ac_config_files Makefile"
4165 cat >confcache
<<\_ACEOF
4166 # This file is a shell script that caches the results of configure
4167 # tests run on this system so they can be shared between configure
4168 # scripts and configure runs, see configure's option --config-cache.
4169 # It is not useful on other systems. If it contains results you don't
4170 # want to keep, you may remove or edit it.
4172 # config.status only pays attention to the cache file if you give it
4173 # the --recheck option to rerun configure.
4175 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4176 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4181 # The following way of writing the cache mishandles newlines in values,
4182 # but we know of no workaround that is simple, portable, and efficient.
4183 # So, we kill variables containing newlines.
4184 # Ultrix sh set writes to stderr and can't be redirected directly,
4185 # and sets the high bit in the cache file unless we assign to the vars.
4187 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4188 eval ac_val
=\$
$ac_var
4192 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4193 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4196 _ | IFS | as_nl
) ;; #(
4197 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4198 *) { eval $ac_var=; unset $ac_var;} ;;
4204 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4205 *${as_nl}ac_space
=\
*)
4206 # `set' does not quote correctly, so add quotes: double-quote
4207 # substitution turns \\\\ into \\, and sed turns \\ into \.
4210 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4213 # `set' quotes correctly as required by POSIX, so do not add quotes.
4214 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4223 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4225 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4227 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4228 if test -w "$cache_file"; then
4229 if test "x$cache_file" != "x/dev/null"; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4231 $as_echo "$as_me: updating cache $cache_file" >&6;}
4232 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4233 cat confcache
>"$cache_file"
4235 case $cache_file in #(
4237 mv -f confcache
"$cache_file"$$
&&
4238 mv -f "$cache_file"$$
"$cache_file" ;; #(
4240 mv -f confcache
"$cache_file" ;;
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4246 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4251 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4252 # Let make expand exec_prefix.
4253 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4255 # Transform confdefs.h into DEFS.
4256 # Protect against shell expansion while executing Makefile rules.
4257 # Protect against Makefile macro expansion.
4259 # If the first sed substitution is executed (which looks for macros that
4260 # take arguments), then branch to the quote section. Otherwise,
4261 # look for a macro that doesn't take arguments.
4271 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4273 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4277 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4290 DEFS
=`sed -n "$ac_script" confdefs.h`
4296 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4297 # 1. Remove the extension, and $U if already installed.
4298 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4299 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4300 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4301 # will be set to the directory where LIBOBJS objects are built.
4302 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4303 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4307 LTLIBOBJS
=$ac_ltlibobjs
4311 : "${CONFIG_STATUS=./config.status}"
4313 ac_clean_files_save
=$ac_clean_files
4314 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4316 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4318 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4320 # Generated by $as_me.
4321 # Run this file to recreate the current configuration.
4322 # Compiler output produced by configure, useful for debugging
4323 # configure, is in config.log if it exists.
4329 SHELL=\${CONFIG_SHELL-$SHELL}
4332 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4333 ## -------------------- ##
4334 ## M4sh Initialization. ##
4335 ## -------------------- ##
4337 # Be more Bourne compatible
4338 DUALCASE
=1; export DUALCASE
# for MKS sh
4339 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4342 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4343 # is contrary to our usage. Disable this feature.
4344 alias -g '${1+"$@"}'='"$@"'
4345 setopt NO_GLOB_SUBST
4347 case `(set -o) 2>/dev/null` in #(
4359 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4360 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4361 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4362 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4363 # Prefer a ksh shell builtin over an external printf program on Solaris,
4364 # but without wasting forks for bash or zsh.
4365 if test -z "$BASH_VERSION$ZSH_VERSION" \
4366 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4367 as_echo='print
-r --'
4368 as_echo_n='print
-rn --'
4369 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4370 as_echo='printf %s
\n'
4371 as_echo_n='printf %s
'
4373 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4374 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4375 as_echo_n='/usr
/ucb
/echo -n'
4377 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4378 as_echo_n_body='eval
4382 expr "X$arg" : "X\\(.*\\)$as_nl";
4383 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4385 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4387 export as_echo_n_body
4388 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4391 as_echo='sh
-c $as_echo_body as_echo
'
4394 # The user is always right.
4395 if test "${PATH_SEPARATOR+set}" != set; then
4397 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4398 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4405 # We need space, tab and new line, in precisely that order. Quoting is
4406 # there to prevent editors from complaining about space-tab.
4407 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4408 # splitting by setting IFS to empty value.)
4411 # Find who we are. Look in the path if we contain no directory separator.
4414 *[\\/]* ) as_myself=$0 ;;
4415 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir=.
4420 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4426 # We did not find ourselves, most probably we were run as `sh COMMAND'
4427 # in which case we are not to be found in the path.
4428 if test "x$as_myself" = x
; then
4431 if test ! -f "$as_myself"; then
4432 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4436 # Unset variables that we do not need and which cause bugs (e.g. in
4437 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4438 # suppresses any "Segmentation fault" message there. '((' could
4439 # trigger a bug in pdksh 5.2.14.
4440 for as_var
in BASH_ENV ENV MAIL MAILPATH
4441 do eval test x\
${$as_var+set} = xset \
4442 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4455 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4458 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4459 # ----------------------------------------
4460 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4461 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4462 # script with STATUS, using 1 if that was 0.
4465 as_status
=$1; test $as_status -eq 0 && as_status
=1
4467 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4468 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4470 $as_echo "$as_me: error: $2" >&2
4471 as_fn_exit
$as_status
4475 # as_fn_set_status STATUS
4476 # -----------------------
4477 # Set $? to STATUS, without forking.
4481 } # as_fn_set_status
4485 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4495 # Portably unset VAR.
4498 { eval $1=; unset $1;}
4500 as_unset
=as_fn_unset
4501 # as_fn_append VAR VALUE
4502 # ----------------------
4503 # Append the text in VALUE to the end of the definition contained in VAR. Take
4504 # advantage of any shell optimizations that allow amortized linear growth over
4505 # repeated appends, instead of the typical quadratic growth present in naive
4507 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4508 eval 'as_fn_append ()
4519 # as_fn_arith ARG...
4520 # ------------------
4521 # Perform arithmetic evaluation on the ARGs, and store the result in the
4522 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4523 # must be portable across $(()) and expr.
4524 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4525 eval 'as_fn_arith ()
4532 as_val
=`expr "$@" || test $? -eq 1`
4537 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4538 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4544 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4545 as_basename
=basename
4550 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4556 as_me
=`$as_basename -- "$0" ||
4557 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4558 X"$0" : 'X\(//\)$' \| \
4559 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4561 sed '/^.*\/\([^/][^/]*\)\/*$/{
4575 # Avoid depending upon Character Ranges.
4576 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4577 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4578 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4579 as_cr_digits
='0123456789'
4580 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4582 ECHO_C
= ECHO_N
= ECHO_T
=
4583 case `echo -n x` in #(((((
4585 case `echo 'xy\c'` in
4586 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4588 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4595 rm -f conf$$ conf$$.exe conf$$.
file
4596 if test -d conf$$.dir
; then
4597 rm -f conf$$.dir
/conf$$.
file
4600 mkdir conf$$.dir
2>/dev
/null
4602 if (echo >conf$$.
file) 2>/dev
/null
; then
4603 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4605 # ... but there are two gotchas:
4606 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4607 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4608 # In both cases, we have to default to `cp -pR'.
4609 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4611 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4619 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4620 rmdir conf$$.dir
2>/dev
/null
4625 # Create "$as_dir" as a directory, including parents if necessary.
4630 -*) as_dir
=.
/$as_dir;;
4632 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4636 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4637 *) as_qdir
=$as_dir;;
4639 as_dirs
="'$as_qdir' $as_dirs"
4640 as_dir
=`$as_dirname -- "$as_dir" ||
4641 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4642 X"$as_dir" : 'X\(//\)[^/]' \| \
4643 X"$as_dir" : 'X\(//\)$' \| \
4644 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4645 $as_echo X"$as_dir" |
4646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4663 test -d "$as_dir" && break
4665 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4666 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4670 if mkdir
-p .
2>/dev
/null
; then
4671 as_mkdir_p
='mkdir -p "$as_dir"'
4673 test -d .
/-p && rmdir .
/-p
4678 # as_fn_executable_p FILE
4679 # -----------------------
4680 # Test if FILE is an executable regular file.
4681 as_fn_executable_p
()
4683 test -f "$1" && test -x "$1"
4684 } # as_fn_executable_p
4686 as_executable_p
=as_fn_executable_p
4688 # Sed expression to map a string onto a valid CPP name.
4689 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4691 # Sed expression to map a string onto a valid variable name.
4692 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4696 ## ----------------------------------- ##
4697 ## Main body of $CONFIG_STATUS script. ##
4698 ## ----------------------------------- ##
4700 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4703 # Save the log message, to keep $0 and so on meaningful, and to
4704 # report actual input values of CONFIG_FILES etc. instead of their
4705 # values after options handling.
4707 This file was extended by Cygwin Cygserver $as_me 0, which was
4708 generated by GNU Autoconf 2.69. Invocation command line was
4710 CONFIG_FILES = $CONFIG_FILES
4711 CONFIG_HEADERS = $CONFIG_HEADERS
4712 CONFIG_LINKS = $CONFIG_LINKS
4713 CONFIG_COMMANDS = $CONFIG_COMMANDS
4716 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4721 case $ac_config_files in *"
4722 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4728 # Files that config.status was made for.
4729 config_files="$ac_config_files"
4733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4735 \`$as_me' instantiates files and other configuration actions
4736 from templates according to the current configuration. Unless the files
4737 and actions are specified as TAGs, all are instantiated by default.
4739 Usage: $0 [OPTION]... [TAG]...
4741 -h, --help print this help, then exit
4742 -V, --version print version number and configuration settings, then exit
4743 --config print configuration, then exit
4744 -q, --quiet, --silent
4745 do not print progress messages
4746 -d, --debug don't remove temporary files
4747 --recheck update $as_me by reconfiguring in the same conditions
4748 --file=FILE[:TEMPLATE]
4749 instantiate the configuration file FILE
4751 Configuration files:
4754 Report bugs to <cygwin@cygwin.com>.
4755 Cygwin Cygserver home page: <https://cygwin.com>."
4758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4759 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4761 Cygwin Cygserver config.status 0
4762 configured by $0, generated by GNU Autoconf 2.69,
4763 with options \\"\$ac_cs_config\\"
4765 Copyright (C) 2012 Free Software Foundation, Inc.
4766 This config.status script is free software; the Free Software Foundation
4767 gives unlimited permission to copy, distribute and modify it."
4772 test -n "\$AWK" || AWK=awk
4775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4776 # The default lists apply if the user does not specify any file.
4782 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4783 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4787 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4799 # Handling of the options.
4800 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4802 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4803 $as_echo "$ac_cs_version"; exit ;;
4804 --config |
--confi |
--conf |
--con |
--co |
--c )
4805 $as_echo "$ac_cs_config"; exit ;;
4806 --debug |
--debu |
--deb |
--de |
--d |
-d )
4808 --file |
--fil |
--fi |
--f )
4811 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4812 '') as_fn_error $?
"missing file argument" ;;
4814 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4815 ac_need_defaults
=false
;;
4816 --he |
--h |
--help |
--hel |
-h )
4817 $as_echo "$ac_cs_usage"; exit ;;
4818 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4819 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4823 -*) as_fn_error $?
"unrecognized option: \`$1'
4824 Try \`$0 --help' for more information." ;;
4826 *) as_fn_append ac_config_targets
" $1"
4827 ac_need_defaults
=false
;;
4833 ac_configure_extra_args
=
4835 if $ac_cs_silent; then
4837 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4842 if \$ac_cs_recheck; then
4843 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4845 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4846 CONFIG_SHELL='$SHELL'
4852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4856 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4857 ## Running $as_me. ##
4863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4868 # Handling of arguments.
4869 for ac_config_target
in $ac_config_targets
4871 case $ac_config_target in
4872 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4874 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4879 # If the user did not use the arguments to specify the items to instantiate,
4880 # then the envvar interface is used. Set only those that are not.
4881 # We use the long form for the default assignment because of an extremely
4882 # bizarre bug on SunOS 4.1.3.
4883 if $ac_need_defaults; then
4884 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4887 # Have a temporary directory for convenience. Make it in the build tree
4888 # simply because there is no reason against having it here, and in addition,
4889 # creating and moving files from /tmp can sometimes cause problems.
4890 # Hook for its removal unless debugging.
4891 # Note that there is a small window in which the directory will not be cleaned:
4892 # after its creation but before its name has been assigned to `$tmp'.
4896 trap 'exit_status=$?
4898 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4900 trap 'as_fn_exit 1' 1 2 13 15
4902 # Create a (secure) tmp directory for tmp files.
4905 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4909 tmp
=.
/conf$$
-$RANDOM
4910 (umask 077 && mkdir
"$tmp")
4911 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4914 # Set up the scripts for CONFIG_FILES section.
4915 # No need to generate them if there are no CONFIG_FILES.
4916 # This happens for instance with `./config.status config.h'.
4917 if test -n "$CONFIG_FILES"; then
4920 ac_cr
=`echo X | tr X '\015'`
4921 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4922 # But we know of no other shell where ac_cr would be empty at this
4923 # point, so we can use a bashism as a fallback.
4924 if test "x$ac_cr" = x
; then
4925 eval ac_cr
=\$
\'\\r
\'
4927 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4928 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4934 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4939 echo "cat >conf$$subs.awk <<_ACEOF" &&
4940 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4943 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4944 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4946 for ac_last_try in false false false false false :; do
4947 . ./conf$$subs.sh ||
4948 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4950 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4951 if test $ac_delim_n = $ac_delim_num; then
4953 elif $ac_last_try; then
4954 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4956 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4962 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4966 s/^/S["/; s
/!.
*/"]=/
4976 s/\(.\{148\}\)..*/\1/
4978 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4983 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4990 s/\(.\{148\}\)..*/\1/
4992 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4996 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5001 ' <conf$$subs.awk | sed '
5006 ' >>$CONFIG_STATUS || ac_write_fail=1
5007 rm -f conf$$subs.awk
5008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5010 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5011 for (key in S) S_is_set[key] = 1
5017 nfields = split(line, field, "@
")
5019 len = length(field[1])
5020 for (i = 2; i < nfields; i++) {
5022 keylen = length(key)
5023 if (S_is_set[key]) {
5025 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5026 len += length(value) + length(field[++i])
5037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5038 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5039 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5042 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5043 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5046 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5047 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5048 # trailing colons and then remove the whole line if VPATH becomes empty
5049 # (actually we leave an empty line to preserve line numbers).
5050 if test "x
$srcdir" = x.; then
5051 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5070 fi # test -n "$CONFIG_FILES"
5073 eval set X " :F
$CONFIG_FILES "
5078 :[FHLC]) ac_mode=$ac_tag; continue;;
5080 case $ac_mode$ac_tag in
5082 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
5083 :[FH]-) ac_tag=-:-;;
5084 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5101 -) ac_f="$ac_tmp/stdin";;
5102 *) # Look for the file first in the build tree, then in the source tree
5103 # (if the path is not absolute). The absolute path cannot be DOS-style,
5104 # because $ac_f cannot contain `:'.
5108 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5110 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5112 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
5113 as_fn_append ac_file_inputs " '$ac_f'"
5116 # Let's still pretend it is `configure' which instantiates (i.e., don't
5117 # use $as_me), people would be surprised to read:
5118 # /* config.h. Generated by config.status. */
5119 configure_input='Generated from '`
5120 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5122 if test x"$ac_file" != x-; then
5123 configure_input="$ac_file.
$configure_input"
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
5125 $as_echo "$as_me: creating
$ac_file" >&6;}
5127 # Neutralize special characters interpreted by sed in replacement strings.
5128 case $configure_input in #(
5129 *\&* | *\|* | *\\* )
5130 ac_sed_conf_input=`$as_echo "$configure_input" |
5131 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5132 *) ac_sed_conf_input=$configure_input;;
5136 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
5137 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
5142 ac_dir=`$as_dirname -- "$ac_file" ||
5143 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5144 X"$ac_file" : 'X\(//\)[^/]' \| \
5145 X"$ac_file" : 'X\(//\)$' \| \
5146 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5147 $as_echo X"$ac_file" |
5148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5165 as_dir="$ac_dir"; as_fn_mkdir_p
5169 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5171 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5172 # A "..
" for each directory in $ac_dir_suffix.
5173 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5174 case $ac_top_builddir_sub in
5175 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5176 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5179 ac_abs_top_builddir=$ac_pwd
5180 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5181 # for backward compatibility:
5182 ac_top_builddir=$ac_top_build_prefix
5185 .) # We are building in place.
5187 ac_top_srcdir=$ac_top_builddir_sub
5188 ac_abs_top_srcdir=$ac_pwd ;;
5189 [\\/]* | ?:[\\/]* ) # Absolute name.
5190 ac_srcdir=$srcdir$ac_dir_suffix;
5191 ac_top_srcdir=$srcdir
5192 ac_abs_top_srcdir=$srcdir ;;
5194 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5195 ac_top_srcdir=$ac_top_build_prefix$srcdir
5196 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5198 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5208 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5209 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5214 # If the template does not know about datarootdir, expand it.
5215 # FIXME: This hack should be removed a few years after 2.60.
5216 ac_datarootdir_hack=; ac_datarootdir_seen=
5227 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5228 *datarootdir*) ac_datarootdir_seen=yes;;
5229 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5231 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5234 ac_datarootdir_hack='
5235 s&@datadir@&$datadir&g
5236 s&@docdir@&$docdir&g
5237 s&@infodir@&$infodir&g
5238 s&@localedir@&$localedir&g
5239 s&@mandir@&$mandir&g
5240 s&\\\${datarootdir}&$datarootdir&g' ;;
5244 # Neutralize VPATH when `$srcdir' = `.'.
5245 # Shell code in configure.ac might set extrasub.
5246 # FIXME: do we really want to maintain this feature?
5247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5248 ac_sed_extra="$ac_vpsub
5251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5253 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5254 s|@configure_input@|
$ac_sed_conf_input|
;t t
5255 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5256 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5257 s
&@srcdir@
&$ac_srcdir&;t t
5258 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5259 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5260 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5261 s
&@builddir@
&$ac_builddir&;t t
5262 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5263 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5264 s
&@INSTALL@
&$ac_INSTALL&;t t
5265 $ac_datarootdir_hack
5267 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5268 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5270 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5271 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
5272 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5273 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5275 which seems to be undefined. Please make sure it is defined" >&5
5276 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5277 which seems to be undefined. Please make sure it is defined" >&2;}
5279 rm -f "$ac_tmp/stdin"
5281 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5282 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5284 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5296 ac_clean_files=$ac_clean_files_save
5298 test $ac_write_fail = 0 ||
5299 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5302 # configure is writing to config.log, and then calls config.status.
5303 # config.status does its own redirection, appending to config.log.
5304 # Unfortunately, on DOS this fails, as config.log is still kept open
5305 # by configure, so config.status won't be able to
write to it
; its
5306 # output is simply discarded. So we exec the FD to /dev/null,
5307 # effectively closing config.log, so it can be properly (re)opened and
5308 # appended to by config.status. When coming back to configure, we
5309 # need to make the FD available again.
5310 if test "$no_create" != yes; then
5312 ac_config_status_args
=
5313 test "$silent" = yes &&
5314 ac_config_status_args
="$ac_config_status_args --quiet"
5316 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5318 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5319 # would make configure fail if this is the last instruction.
5320 $ac_cs_success || as_fn_exit
1
5322 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5324 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}