2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cygwin toplevel 0.
5 # Report bugs to <cygwin@cygwin.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev
/null
; then :
206 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
211 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir
=.
218 for as_base
in sh bash ksh sh5
; do
219 # Try only shells that exist, to save several forks.
220 as_shell
=$as_dir/$as_base
221 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
223 CONFIG_SHELL
=$as_shell as_have_required
=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$SHELL as_have_required
=yes
239 if test "x$CONFIG_SHELL" != x
; then :
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
249 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x
$as_have_required = xno
; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x
${ZSH_VERSION+set} = xset
; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and cygwin@cygwin.com
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
278 SHELL
=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE
= GREP_OPTIONS
=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir
=.
/$as_dir;;
323 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
327 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs
="'$as_qdir' $as_dirs"
331 as_dir
=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
357 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p
()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
400 as_val
=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status
=$1; test $as_status -eq 0 && as_status
=1
414 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit
$as_status
421 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
428 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
440 as_me
=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits
='0123456789'
464 as_cr_alnum
=$as_cr_Letters$as_cr_digits
467 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
468 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x
"$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec
=no
; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C
= ECHO_N
= ECHO_T
=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
515 rm -f conf$$ conf$$.exe conf$$.
file
516 if test -d conf$$.dir
; then
517 rm -f conf$$.dir
/conf$$.
file
520 mkdir conf$$.dir
2>/dev
/null
522 if (echo >conf$$.
file) 2>/dev
/null
; then
523 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
531 elif ln conf$$.
file conf$$
2>/dev
/null
; then
539 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
540 rmdir conf$$.dir
2>/dev
/null
542 if mkdir
-p .
2>/dev
/null
; then
543 as_mkdir_p
='mkdir -p "$as_dir"'
545 test -d .
/-p && rmdir .
/-p
550 as_executable_p
=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix
=/usr
/local
572 ac_config_libobj_dir
=.
579 # Identity of this package.
580 PACKAGE_NAME
='Cygwin toplevel'
581 PACKAGE_TARNAME
='cygwin'
583 PACKAGE_STRING
='Cygwin toplevel 0'
584 PACKAGE_BUGREPORT
='cygwin@cygwin.com'
585 PACKAGE_URL
='https://cygwin.com'
587 ac_unique_file
="Makefile.in"
589 enable_option_checking
=no
590 ac_subst_vars
='LTLIBOBJS
648 program_transform_name
663 enable_option_checking
668 ac_precious_vars
='build_alias
680 ac_subdirs_all
='cygwin cygserver doc
683 # Initialize some variables set by options.
685 ac_init_version
=false
686 ac_unrecognized_opts
=
688 # The variables have the same names as the options, with
689 # dashes changed to underlines.
697 program_transform_name
=s
,x
,x
,
705 # Installation directory options.
706 # These are left unexpanded so users can "make install exec_prefix=/foo"
707 # and all the variables that are supposed to be based on exec_prefix
708 # by default will actually change.
709 # Use braces instead of parens because sh, perl, etc. also accept them.
710 # (The list follows the same order as the GNU Coding Standards.)
711 bindir
='${exec_prefix}/bin'
712 sbindir
='${exec_prefix}/sbin'
713 libexecdir
='${exec_prefix}/libexec'
714 datarootdir
='${prefix}/share'
715 datadir
='${datarootdir}'
716 sysconfdir
='${prefix}/etc'
717 sharedstatedir
='${prefix}/com'
718 localstatedir
='${prefix}/var'
719 includedir
='${prefix}/include'
720 oldincludedir
='/usr/include'
721 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
722 infodir
='${datarootdir}/info'
727 libdir
='${exec_prefix}/lib'
728 localedir
='${datarootdir}/locale'
729 mandir
='${datarootdir}/man'
735 # If the previous option needs an argument, assign it.
736 if test -n "$ac_prev"; then
737 eval $ac_prev=\
$ac_option
743 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
748 # Accept the important Cygnus configure options, so we can diagnose typos.
750 case $ac_dashdash$ac_option in
754 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
756 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
759 -build |
--build |
--buil |
--bui |
--bu)
760 ac_prev
=build_alias
;;
761 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
762 build_alias
=$ac_optarg ;;
764 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
765 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
766 ac_prev
=cache_file
;;
767 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
768 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
769 cache_file
=$ac_optarg ;;
772 cache_file
=config.cache
;;
774 -datadir |
--datadir |
--datadi |
--datad)
776 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
777 datadir
=$ac_optarg ;;
779 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
780 |
--dataroo |
--dataro |
--datar)
781 ac_prev
=datarootdir
;;
782 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
783 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
784 datarootdir
=$ac_optarg ;;
786 -disable-* |
--disable-*)
787 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
790 as_fn_error $?
"invalid feature name: $ac_useropt"
791 ac_useropt_orig
=$ac_useropt
792 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
793 case $ac_user_opts in
797 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
798 ac_unrecognized_sep
=', ';;
800 eval enable_
$ac_useropt=no
;;
802 -docdir |
--docdir |
--docdi |
--doc |
--do)
804 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
807 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
809 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
812 -enable-* |
--enable-*)
813 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
816 as_fn_error $?
"invalid feature name: $ac_useropt"
817 ac_useropt_orig
=$ac_useropt
818 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
819 case $ac_user_opts in
823 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
824 ac_unrecognized_sep
=', ';;
826 eval enable_
$ac_useropt=\
$ac_optarg ;;
828 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
829 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
830 |
--exec |
--exe |
--ex)
831 ac_prev
=exec_prefix
;;
832 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
833 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
834 |
--exec=* |
--exe=* |
--ex=*)
835 exec_prefix
=$ac_optarg ;;
837 -gas |
--gas |
--ga |
--g)
838 # Obsolete; use --with-gas.
841 -help |
--help |
--hel |
--he |
-h)
843 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
844 ac_init_help
=recursive
;;
845 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
846 ac_init_help
=short
;;
848 -host |
--host |
--hos |
--ho)
849 ac_prev
=host_alias
;;
850 -host=* |
--host=* |
--hos=* |
--ho=*)
851 host_alias
=$ac_optarg ;;
853 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
855 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
857 htmldir
=$ac_optarg ;;
859 -includedir |
--includedir |
--includedi |
--included |
--include \
860 |
--includ |
--inclu |
--incl |
--inc)
861 ac_prev
=includedir
;;
862 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
863 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
864 includedir
=$ac_optarg ;;
866 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
868 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
869 infodir
=$ac_optarg ;;
871 -libdir |
--libdir |
--libdi |
--libd)
873 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
876 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
877 |
--libexe |
--libex |
--libe)
878 ac_prev
=libexecdir
;;
879 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
880 |
--libexe=* |
--libex=* |
--libe=*)
881 libexecdir
=$ac_optarg ;;
883 -localedir |
--localedir |
--localedi |
--localed |
--locale)
885 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
886 localedir
=$ac_optarg ;;
888 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
889 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
890 ac_prev
=localstatedir
;;
891 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
892 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
893 localstatedir
=$ac_optarg ;;
895 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
897 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
901 # Obsolete; use --without-fp.
904 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
905 |
--no-cr |
--no-c |
-n)
908 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
909 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
912 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
913 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
914 |
--oldin |
--oldi |
--old |
--ol |
--o)
915 ac_prev
=oldincludedir
;;
916 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
917 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
918 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
919 oldincludedir
=$ac_optarg ;;
921 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
923 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
926 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
927 |
--program-pre |
--program-pr |
--program-p)
928 ac_prev
=program_prefix
;;
929 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
930 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
931 program_prefix
=$ac_optarg ;;
933 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
934 |
--program-suf |
--program-su |
--program-s)
935 ac_prev
=program_suffix
;;
936 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
937 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
938 program_suffix
=$ac_optarg ;;
940 -program-transform-name |
--program-transform-name \
941 |
--program-transform-nam |
--program-transform-na \
942 |
--program-transform-n |
--program-transform- \
943 |
--program-transform |
--program-transfor \
944 |
--program-transfo |
--program-transf \
945 |
--program-trans |
--program-tran \
946 |
--progr-tra |
--program-tr |
--program-t)
947 ac_prev
=program_transform_name
;;
948 -program-transform-name=* |
--program-transform-name=* \
949 |
--program-transform-nam=* |
--program-transform-na=* \
950 |
--program-transform-n=* |
--program-transform-=* \
951 |
--program-transform=* |
--program-transfor=* \
952 |
--program-transfo=* |
--program-transf=* \
953 |
--program-trans=* |
--program-tran=* \
954 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
955 program_transform_name
=$ac_optarg ;;
957 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
959 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
962 -psdir |
--psdir |
--psdi |
--psd |
--ps)
964 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
967 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
968 |
-silent |
--silent |
--silen |
--sile |
--sil)
971 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
973 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
975 sbindir
=$ac_optarg ;;
977 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
978 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
979 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
981 ac_prev
=sharedstatedir
;;
982 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
983 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
984 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
986 sharedstatedir
=$ac_optarg ;;
988 -site |
--site |
--sit)
990 -site=* |
--site=* |
--sit=*)
993 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
995 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
998 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
999 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1000 ac_prev
=sysconfdir
;;
1001 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1002 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1003 sysconfdir
=$ac_optarg ;;
1005 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1006 ac_prev
=target_alias
;;
1007 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1008 target_alias
=$ac_optarg ;;
1010 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1013 -version |
--version |
--versio |
--versi |
--vers |
-V)
1014 ac_init_version
=: ;;
1017 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1020 as_fn_error $?
"invalid package name: $ac_useropt"
1021 ac_useropt_orig
=$ac_useropt
1022 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1027 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1028 ac_unrecognized_sep
=', ';;
1030 eval with_
$ac_useropt=\
$ac_optarg ;;
1032 -without-* |
--without-*)
1033 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1036 as_fn_error $?
"invalid package name: $ac_useropt"
1037 ac_useropt_orig
=$ac_useropt
1038 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1043 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1044 ac_unrecognized_sep
=', ';;
1046 eval with_
$ac_useropt=no
;;
1049 # Obsolete; use --with-x.
1052 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1053 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1054 ac_prev
=x_includes
;;
1055 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1056 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1057 x_includes
=$ac_optarg ;;
1059 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1060 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1061 ac_prev
=x_libraries
;;
1062 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1063 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1064 x_libraries
=$ac_optarg ;;
1066 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1067 Try \`$0 --help' for more information"
1071 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1072 # Reject names that are not valid shell variable names.
1073 case $ac_envvar in #(
1074 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1075 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1077 eval $ac_envvar=\
$ac_optarg
1078 export $ac_envvar ;;
1081 # FIXME: should be removed in autoconf 3.0.
1082 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1083 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1084 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1085 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1091 if test -n "$ac_prev"; then
1092 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1093 as_fn_error $?
"missing argument to $ac_option"
1096 if test -n "$ac_unrecognized_opts"; then
1097 case $enable_option_checking in
1099 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1100 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1104 # Check all directory arguments for consistency.
1105 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1106 datadir sysconfdir sharedstatedir localstatedir includedir \
1107 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1108 libdir localedir mandir
1110 eval ac_val
=\$
$ac_var
1111 # Remove trailing slashes.
1114 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1115 eval $ac_var=\
$ac_val;;
1117 # Be sure to have absolute directory names.
1119 [\\/$
]* | ?
:[\\/]* ) continue;;
1120 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1122 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1125 # There might be people who depend on the old broken behavior: `$host'
1126 # used to hold the argument of --host etc.
1127 # FIXME: To remove some day.
1130 target
=$target_alias
1132 # FIXME: To remove some day.
1133 if test "x$host_alias" != x
; then
1134 if test "x$build_alias" = x
; then
1135 cross_compiling
=maybe
1136 elif test "x$build_alias" != "x$host_alias"; then
1142 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1144 test "$silent" = yes && exec 6>/dev
/null
1147 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1148 ac_ls_di
=`ls -di .` &&
1149 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1150 as_fn_error $?
"working directory cannot be determined"
1151 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1152 as_fn_error $?
"pwd does not report name of working directory"
1155 # Find the source files, if location was not specified.
1156 if test -z "$srcdir"; then
1157 ac_srcdir_defaulted
=yes
1158 # Try the directory containing this script, then the parent directory.
1159 ac_confdir
=`$as_dirname -- "$as_myself" ||
1160 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1161 X"$as_myself" : 'X\(//\)[^/]' \| \
1162 X"$as_myself" : 'X\(//\)$' \| \
1163 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1164 $as_echo X"$as_myself" |
1165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1183 if test ! -r "$srcdir/$ac_unique_file"; then
1187 ac_srcdir_defaulted
=no
1189 if test ! -r "$srcdir/$ac_unique_file"; then
1190 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1191 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1193 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1195 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1197 # When building in place, set srcdir=.
1198 if test "$ac_abs_confdir" = "$ac_pwd"; then
1201 # Remove unnecessary trailing slashes from srcdir.
1202 # Double slashes in file names in object file debugging info
1203 # mess up M-x gdb in Emacs.
1205 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1207 for ac_var
in $ac_precious_vars; do
1208 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1209 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1210 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1211 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1215 # Report the --help message.
1217 if test "$ac_init_help" = "long"; then
1218 # Omit some internal or obsolete options to make the list less imposing.
1219 # This message is too long to be a string in the A/UX 3.1 sh.
1221 \`configure' configures Cygwin toplevel 0 to adapt to many kinds of systems.
1223 Usage: $0 [OPTION]... [VAR=VALUE]...
1225 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1226 VAR=VALUE. See below for descriptions of some of the useful variables.
1228 Defaults for the options are specified in brackets.
1231 -h, --help display this help and exit
1232 --help=short display options specific to this package
1233 --help=recursive display the short help of all the included packages
1234 -V, --version display version information and exit
1235 -q, --quiet, --silent do not print \`checking ...' messages
1236 --cache-file=FILE cache test results in FILE [disabled]
1237 -C, --config-cache alias for \`--cache-file=config.cache'
1238 -n, --no-create do not create output files
1239 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1241 Installation directories:
1242 --prefix=PREFIX install architecture-independent files in PREFIX
1243 [$ac_default_prefix]
1244 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1247 By default, \`make install' will install all the files in
1248 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1249 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1250 for instance \`--prefix=\$HOME'.
1252 For better control, use the options below.
1254 Fine tuning of the installation directories:
1255 --bindir=DIR user executables [EPREFIX/bin]
1256 --sbindir=DIR system admin executables [EPREFIX/sbin]
1257 --libexecdir=DIR program executables [EPREFIX/libexec]
1258 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1259 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1260 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1261 --libdir=DIR object code libraries [EPREFIX/lib]
1262 --includedir=DIR C header files [PREFIX/include]
1263 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1264 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1265 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1266 --infodir=DIR info documentation [DATAROOTDIR/info]
1267 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1268 --mandir=DIR man documentation [DATAROOTDIR/man]
1269 --docdir=DIR documentation root [DATAROOTDIR/doc/cygwin]
1270 --htmldir=DIR html documentation [DOCDIR]
1271 --dvidir=DIR dvi documentation [DOCDIR]
1272 --pdfdir=DIR pdf documentation [DOCDIR]
1273 --psdir=DIR ps documentation [DOCDIR]
1279 --build=BUILD configure
for building on BUILD
[guessed
]
1280 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1281 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1285 if test -n "$ac_init_help"; then
1286 case $ac_init_help in
1287 short | recursive
) echo "Configuration of Cygwin toplevel 0:";;
1292 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1293 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1294 --with-cross-bootstrap do not build programs using the mingw toolchain or
1295 check
for mingw libraries
(useful
for bootstrapping
1297 --with-windows-headers=DIR
1298 specify where the windows includes are located
1299 --with-windows-libs=DIR specify where the windows libraries are located
1301 Some influential environment variables
:
1302 CC C compiler
command
1303 CFLAGS C compiler flags
1304 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1305 nonstandard directory
<lib dir
>
1306 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1307 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1308 you have headers
in a nonstandard directory
<include dir
>
1309 CXX C
++ compiler
command
1310 CXXFLAGS C
++ compiler flags
1313 Use these variables to override the choices made by
`configure' or to help
1314 it to find libraries and programs with nonstandard names/locations.
1316 Report bugs to <cygwin@cygwin.com>.
1317 Cygwin toplevel home page: <https://cygwin.com>.
1322 if test "$ac_init_help" = "recursive"; then
1323 # If there are subdirs, report their specific --help.
1324 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1325 test -d "$ac_dir" ||
1326 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1331 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1334 # A ".." for each directory in $ac_dir_suffix.
1335 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1336 case $ac_top_builddir_sub in
1337 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1341 ac_abs_top_builddir=$ac_pwd
1342 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1343 # for backward compatibility:
1344 ac_top_builddir=$ac_top_build_prefix
1347 .) # We are building in place.
1349 ac_top_srcdir=$ac_top_builddir_sub
1350 ac_abs_top_srcdir=$ac_pwd ;;
1351 [\\/]* | ?:[\\/]* ) # Absolute name.
1352 ac_srcdir=$srcdir$ac_dir_suffix;
1353 ac_top_srcdir=$srcdir
1354 ac_abs_top_srcdir=$srcdir ;;
1356 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1357 ac_top_srcdir=$ac_top_build_prefix$srcdir
1358 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1360 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1362 cd "$ac_dir" || { ac_status=$?; continue; }
1363 # Check for guested configure.
1364 if test -f "$ac_srcdir/configure.gnu"; then
1366 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1367 elif test -f "$ac_srcdir/configure"; then
1369 $SHELL "$ac_srcdir/configure" --help=recursive
1371 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1373 cd "$ac_pwd" || { ac_status=$?; break; }
1377 test -n "$ac_init_help" && exit $ac_status
1378 if $ac_init_version; then
1380 Cygwin toplevel configure 0
1381 generated by GNU Autoconf 2.69
1383 Copyright (C) 2012 Free Software Foundation, Inc.
1384 This configure script is free software; the Free Software Foundation
1385 gives unlimited permission to copy, distribute and modify it.
1390 ## ------------------------ ##
1391 ## Autoconf initialization. ##
1392 ## ------------------------ ##
1394 # ac_fn_c_try_compile LINENO
1395 # --------------------------
1396 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1397 ac_fn_c_try_compile ()
1399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1400 rm -f conftest.$ac_objext
1401 if { { ac_try="$ac_compile"
1403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1404 *) ac_try_echo
=$ac_try;;
1406 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1407 $as_echo "$ac_try_echo"; } >&5
1408 (eval "$ac_compile") 2>conftest.err
1410 if test -s conftest.err
; then
1411 grep -v '^ *+' conftest.err
>conftest.er1
1412 cat conftest.er1
>&5
1413 mv -f conftest.er1 conftest.err
1415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1416 test $ac_status = 0; } && {
1417 test -z "$ac_c_werror_flag" ||
1418 test ! -s conftest.err
1419 } && test -s conftest.
$ac_objext; then :
1422 $as_echo "$as_me: failed program was:" >&5
1423 sed 's/^/| /' conftest.
$ac_ext >&5
1427 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1428 as_fn_set_status
$ac_retval
1430 } # ac_fn_c_try_compile
1432 # ac_fn_cxx_try_compile LINENO
1433 # ----------------------------
1434 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1435 ac_fn_cxx_try_compile
()
1437 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1438 rm -f conftest.
$ac_objext
1439 if { { ac_try
="$ac_compile"
1441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1442 *) ac_try_echo=$ac_try;;
1444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1445 $as_echo "$ac_try_echo"; } >&5
1446 (eval "$ac_compile") 2>conftest.err
1448 if test -s conftest.err; then
1449 grep -v '^ *+' conftest.err >conftest.er1
1450 cat conftest.er1 >&5
1451 mv -f conftest.er1 conftest.err
1453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1454 test $ac_status = 0; } && {
1455 test -z "$ac_cxx_werror_flag" ||
1456 test ! -s conftest.err
1457 } && test -s conftest.$ac_objext; then :
1460 $as_echo "$as_me: failed program was:" >&5
1461 sed 's/^/| /' conftest.$ac_ext >&5
1465 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1466 as_fn_set_status $ac_retval
1468 } # ac_fn_cxx_try_compile
1470 # ac_fn_c_try_cpp LINENO
1471 # ----------------------
1472 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1475 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1476 if { { ac_try="$ac_cpp conftest.$ac_ext"
1478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1479 *) ac_try_echo
=$ac_try;;
1481 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482 $as_echo "$ac_try_echo"; } >&5
1483 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1485 if test -s conftest.err
; then
1486 grep -v '^ *+' conftest.err
>conftest.er1
1487 cat conftest.er1
>&5
1488 mv -f conftest.er1 conftest.err
1490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491 test $ac_status = 0; } > conftest.i
&& {
1492 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1493 test ! -s conftest.err
1497 $as_echo "$as_me: failed program was:" >&5
1498 sed 's/^/| /' conftest.
$ac_ext >&5
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status
$ac_retval
1506 cat >config.log
<<_ACEOF
1507 This file contains any messages produced by compilers while
1508 running configure, to aid debugging if configure makes a mistake.
1510 It was created by Cygwin toplevel $as_me 0, which was
1511 generated by GNU Autoconf 2.69. Invocation command line was
1523 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1524 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1525 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1526 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1527 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1529 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1530 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1532 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1533 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1534 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1535 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1536 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1537 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1538 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1546 test -z "$as_dir" && as_dir
=.
1547 $as_echo "PATH: $as_dir"
1563 # Keep a trace of the command line.
1564 # Strip out --no-create and --no-recursion so they do not pile up.
1565 # Strip out --silent because we don't want to record it for future runs.
1566 # Also quote any args containing shell meta-characters.
1567 # Make two passes to allow for proper duplicate-argument suppression.
1571 ac_must_keep_next
=false
1577 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1578 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1579 |
-silent |
--silent |
--silen |
--sile |
--sil)
1582 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1585 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1587 as_fn_append ac_configure_args1
" '$ac_arg'"
1588 if test $ac_must_keep_next = true
; then
1589 ac_must_keep_next
=false
# Got value, back to normal.
1592 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1593 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1594 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1595 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1596 case "$ac_configure_args0 " in
1597 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1600 -* ) ac_must_keep_next
=true
;;
1603 as_fn_append ac_configure_args
" '$ac_arg'"
1608 { ac_configure_args0
=; unset ac_configure_args0
;}
1609 { ac_configure_args1
=; unset ac_configure_args1
;}
1611 # When interrupted or exit'd, cleanup temporary files, and complete
1612 # config.log. We remove comments because anyway the quotes in there
1613 # would cause problems or look ugly.
1614 # WARNING: Use '\'' to represent an apostrophe within the trap.
1615 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1616 trap 'exit_status=$?
1617 # Save into config.log some information that might help in debugging.
1621 $as_echo "## ---------------- ##
1622 ## Cache variables. ##
1623 ## ---------------- ##"
1625 # The following way of writing the cache mishandles newlines in values,
1627 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1628 eval ac_val=\$$ac_var
1632 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1633 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1636 _ | IFS | as_nl) ;; #(
1637 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1638 *) { eval $ac_var=; unset $ac_var;} ;;
1643 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1644 *${as_nl}ac_space=\ *)
1646 "s/'\''/'\''\\\\'\'''\''/g;
1647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1657 $as_echo "## ----------------- ##
1658 ## Output variables. ##
1659 ## ----------------- ##"
1661 for ac_var in $ac_subst_vars
1663 eval ac_val=\$$ac_var
1665 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667 $as_echo "$ac_var='\''$ac_val'\''"
1671 if test -n "$ac_subst_files"; then
1672 $as_echo "## ------------------- ##
1673 ## File substitutions. ##
1674 ## ------------------- ##"
1676 for ac_var
in $ac_subst_files
1678 eval ac_val
=\$
$ac_var
1680 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682 $as_echo "$ac_var='\''$ac_val'\''"
1687 if test -s confdefs.h; then
1688 $as_echo "## ----------- ##
1695 test "$ac_signal" != 0 &&
1696 $as_echo "$as_me: caught signal $ac_signal"
1697 $as_echo "$as_me: exit $exit_status"
1699 rm -f core *.core core.conftest.* &&
1700 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1703 for ac_signal
in 1 2 13 15; do
1704 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1708 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1709 rm -f -r conftest
* confdefs.h
1711 $as_echo "/* confdefs.h */" > confdefs.h
1713 # Predefined preprocessor variables.
1715 cat >>confdefs.h
<<_ACEOF
1716 #define PACKAGE_NAME "$PACKAGE_NAME"
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1723 cat >>confdefs.h
<<_ACEOF
1724 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1727 cat >>confdefs.h
<<_ACEOF
1728 #define PACKAGE_STRING "$PACKAGE_STRING"
1731 cat >>confdefs.h
<<_ACEOF
1732 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1735 cat >>confdefs.h
<<_ACEOF
1736 #define PACKAGE_URL "$PACKAGE_URL"
1740 # Let the site file select an alternate cache file if it wants to.
1741 # Prefer an explicitly selected file to automatically selected ones.
1744 if test -n "$CONFIG_SITE"; then
1745 # We do not want a PATH search for config.site.
1746 case $CONFIG_SITE in #((
1747 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1748 */*) ac_site_file1
=$CONFIG_SITE;;
1749 *) ac_site_file1
=.
/$CONFIG_SITE;;
1751 elif test "x$prefix" != xNONE
; then
1752 ac_site_file1
=$prefix/share
/config.site
1753 ac_site_file2
=$prefix/etc
/config.site
1755 ac_site_file1
=$ac_default_prefix/share
/config.site
1756 ac_site_file2
=$ac_default_prefix/etc
/config.site
1758 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1760 test "x$ac_site_file" = xNONE
&& continue
1761 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1763 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1764 sed 's/^/| /' "$ac_site_file" >&5
1766 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1768 as_fn_error $?
"failed to load site script $ac_site_file
1769 See \`config.log' for more details" "$LINENO" 5; }
1773 if test -r "$cache_file"; then
1774 # Some versions of bash will fail to source /dev/null (special files
1775 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1776 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1778 $as_echo "$as_me: loading cache $cache_file" >&6;}
1780 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1781 *) .
"./$cache_file";;
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1786 $as_echo "$as_me: creating cache $cache_file" >&6;}
1790 # Check that the precious variables saved in the cache have kept the same
1792 ac_cache_corrupted
=false
1793 for ac_var
in $ac_precious_vars; do
1794 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1795 eval ac_new_set
=\
$ac_env_${ac_var}_set
1796 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1797 eval ac_new_val
=\
$ac_env_${ac_var}_value
1798 case $ac_old_set,$ac_new_set in
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1801 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1802 ac_cache_corrupted
=: ;;
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1805 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1806 ac_cache_corrupted
=: ;;
1809 if test "x$ac_old_val" != "x$ac_new_val"; then
1810 # differences in whitespace do not lead to failure.
1811 ac_old_val_w
=`echo x $ac_old_val`
1812 ac_new_val_w
=`echo x $ac_new_val`
1813 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1815 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1816 ac_cache_corrupted
=:
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1819 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1820 eval $ac_var=\
$ac_old_val
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1823 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1825 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1828 # Pass precious variables to config.status.
1829 if test "$ac_new_set" = set; then
1831 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1832 *) ac_arg
=$ac_var=$ac_new_val ;;
1834 case " $ac_configure_args " in
1835 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1836 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1840 if $ac_cache_corrupted; then
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1844 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1845 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1847 ## -------------------- ##
1848 ## Main body of script. ##
1849 ## -------------------- ##
1852 ac_cpp
='$CPP $CPPFLAGS'
1853 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1854 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1855 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1860 for ac_dir
in ..
"$srcdir"/..
; do
1861 if test -f "$ac_dir/install-sh"; then
1863 ac_install_sh
="$ac_aux_dir/install-sh -c"
1865 elif test -f "$ac_dir/install.sh"; then
1867 ac_install_sh
="$ac_aux_dir/install.sh -c"
1869 elif test -f "$ac_dir/shtool"; then
1871 ac_install_sh
="$ac_aux_dir/shtool install -c"
1875 if test -z "$ac_aux_dir"; then
1876 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
1879 # These three variables are undocumented and unsupported,
1880 # and are intended to be withdrawn in a future Autoconf release.
1881 # They can cause serious problems if a builder's source tree is in a directory
1882 # whose full name contains unusual characters.
1883 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1884 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1885 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1889 .
${srcdir}/configure.cygwin
1891 # Find a good install program. We prefer a C program (faster),
1892 # so one script is as good as another. But avoid the broken or
1893 # incompatible versions:
1894 # SysV /etc/install, /usr/sbin/install
1895 # SunOS /usr/etc/install
1896 # IRIX /sbin/install
1898 # AmigaOS /C/install, which installs bootblocks on floppy discs
1899 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1900 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1901 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1902 # OS/2's system install, which has a completely different semantic
1903 # ./install, which can be erroneously created by make from ./install.sh.
1904 # Reject install programs that cannot install multiple files.
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1906 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1907 if test -z "$INSTALL"; then
1908 if ${ac_cv_path_install+:} false
; then :
1909 $as_echo_n "(cached) " >&6
1911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1915 test -z "$as_dir" && as_dir
=.
1916 # Account for people who put trailing slashes in PATH elements.
1917 case $as_dir/ in #((
1918 .
/ | .
// |
/[cC
]/* | \
1919 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1920 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
1923 # OSF1 and SCO ODT 3.0 have their own names for install.
1924 # Don't use installbsd from OSF since it installs stuff as root
1926 for ac_prog
in ginstall scoinst
install; do
1927 for ac_exec_ext
in '' $ac_executable_extensions; do
1928 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
1929 if test $ac_prog = install &&
1930 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1931 # AIX install. It has an incompatible calling convention.
1933 elif test $ac_prog = install &&
1934 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1935 # program-specific install script used by HP pwplus--don't use.
1938 rm -rf conftest.one conftest.two conftest.dir
1939 echo one
> conftest.one
1940 echo two
> conftest.two
1942 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1943 test -s conftest.one
&& test -s conftest.two
&&
1944 test -s conftest.dir
/conftest.one
&&
1945 test -s conftest.dir
/conftest.two
1947 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1960 rm -rf conftest.one conftest.two conftest.dir
1963 if test "${ac_cv_path_install+set}" = set; then
1964 INSTALL
=$ac_cv_path_install
1966 # As a last resort, use the slow shell script. Don't cache a
1967 # value for INSTALL within a source directory, because that will
1968 # break other packages using the cache if that directory is
1969 # removed, or if the value is a relative name.
1970 INSTALL
=$ac_install_sh
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1974 $as_echo "$INSTALL" >&6; }
1976 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1977 # It thinks the first close brace ends the variable substitution.
1978 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1980 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1982 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1985 # Make sure we can run config.sub.
1986 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1987 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1990 $as_echo_n "checking build system type... " >&6; }
1991 if ${ac_cv_build+:} false
; then :
1992 $as_echo_n "(cached) " >&6
1994 ac_build_alias
=$build_alias
1995 test "x$ac_build_alias" = x
&&
1996 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1997 test "x$ac_build_alias" = x
&&
1998 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
1999 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2000 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2004 $as_echo "$ac_cv_build" >&6; }
2005 case $ac_cv_build in
2007 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2010 ac_save_IFS
=$IFS; IFS
='-'
2016 # Remember, the first character of IFS is used to create $*,
2017 # except with old shells:
2020 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2024 $as_echo_n "checking host system type... " >&6; }
2025 if ${ac_cv_host+:} false
; then :
2026 $as_echo_n "(cached) " >&6
2028 if test "x$host_alias" = x
; then
2029 ac_cv_host
=$ac_cv_build
2031 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2032 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2037 $as_echo "$ac_cv_host" >&6; }
2040 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2043 ac_save_IFS
=$IFS; IFS
='-'
2049 # Remember, the first character of IFS is used to create $*,
2050 # except with old shells:
2053 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2057 $as_echo_n "checking target system type... " >&6; }
2058 if ${ac_cv_target+:} false
; then :
2059 $as_echo_n "(cached) " >&6
2061 if test "x$target_alias" = x
; then
2062 ac_cv_target
=$ac_cv_host
2064 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2065 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2070 $as_echo "$ac_cv_target" >&6; }
2071 case $ac_cv_target in
2073 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2075 target
=$ac_cv_target
2076 ac_save_IFS
=$IFS; IFS
='-'
2082 # Remember, the first character of IFS is used to create $*,
2083 # except with old shells:
2086 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2089 # The aliases save the names the user supplied, while $host etc.
2090 # will get canonicalized.
2091 test -n "$target_alias" &&
2092 test "$program_prefix$program_suffix$program_transform_name" = \
2094 program_prefix
=${target_alias}-
2097 ac_cpp
='$CPP $CPPFLAGS'
2098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2101 if test -n "$ac_tool_prefix"; then
2102 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2103 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2105 $as_echo_n "checking for $ac_word... " >&6; }
2106 if ${ac_cv_prog_CC+:} false
; then :
2107 $as_echo_n "(cached) " >&6
2109 if test -n "$CC"; then
2110 ac_cv_prog_CC
="$CC" # Let the user override the test.
2112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2116 test -z "$as_dir" && as_dir
=.
2117 for ac_exec_ext
in '' $ac_executable_extensions; do
2118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2119 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2130 if test -n "$CC"; then
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2132 $as_echo "$CC" >&6; }
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2135 $as_echo "no" >&6; }
2140 if test -z "$ac_cv_prog_CC"; then
2142 # Extract the first word of "gcc", so it can be a program name with args.
2143 set dummy gcc
; ac_word
=$2
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2145 $as_echo_n "checking for $ac_word... " >&6; }
2146 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2147 $as_echo_n "(cached) " >&6
2149 if test -n "$ac_ct_CC"; then
2150 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir
=.
2157 for ac_exec_ext
in '' $ac_executable_extensions; do
2158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2159 ac_cv_prog_ac_ct_CC
="gcc"
2160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2169 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2170 if test -n "$ac_ct_CC"; then
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2172 $as_echo "$ac_ct_CC" >&6; }
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2175 $as_echo "no" >&6; }
2178 if test "x$ac_ct_CC" = x
; then
2181 case $cross_compiling:$ac_tool_warned in
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2185 ac_tool_warned
=yes ;;
2193 if test -z "$CC"; then
2194 if test -n "$ac_tool_prefix"; then
2195 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2196 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2198 $as_echo_n "checking for $ac_word... " >&6; }
2199 if ${ac_cv_prog_CC+:} false
; then :
2200 $as_echo_n "(cached) " >&6
2202 if test -n "$CC"; then
2203 ac_cv_prog_CC
="$CC" # Let the user override the test.
2205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2209 test -z "$as_dir" && as_dir
=.
2210 for ac_exec_ext
in '' $ac_executable_extensions; do
2211 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2212 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2223 if test -n "$CC"; then
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2225 $as_echo "$CC" >&6; }
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2228 $as_echo "no" >&6; }
2234 if test -z "$CC"; then
2235 # Extract the first word of "cc", so it can be a program name with args.
2236 set dummy cc
; ac_word
=$2
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2238 $as_echo_n "checking for $ac_word... " >&6; }
2239 if ${ac_cv_prog_CC+:} false
; then :
2240 $as_echo_n "(cached) " >&6
2242 if test -n "$CC"; then
2243 ac_cv_prog_CC
="$CC" # Let the user override the test.
2246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2250 test -z "$as_dir" && as_dir
=.
2251 for ac_exec_ext
in '' $ac_executable_extensions; do
2252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2253 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2254 ac_prog_rejected
=yes
2258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2265 if test $ac_prog_rejected = yes; then
2266 # We found a bogon in the path, so make sure we never use it.
2267 set dummy
$ac_cv_prog_CC
2269 if test $# != 0; then
2270 # We chose a different compiler from the bogus one.
2271 # However, it has the same basename, so the bogon will be chosen
2272 # first if we set CC to just the basename; use the full file name.
2274 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2280 if test -n "$CC"; then
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2282 $as_echo "$CC" >&6; }
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2285 $as_echo "no" >&6; }
2290 if test -z "$CC"; then
2291 if test -n "$ac_tool_prefix"; then
2292 for ac_prog
in cl.exe
2294 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2295 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2297 $as_echo_n "checking for $ac_word... " >&6; }
2298 if ${ac_cv_prog_CC+:} false
; then :
2299 $as_echo_n "(cached) " >&6
2301 if test -n "$CC"; then
2302 ac_cv_prog_CC
="$CC" # Let the user override the test.
2304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir
=.
2309 for ac_exec_ext
in '' $ac_executable_extensions; do
2310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2311 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 if test -n "$CC"; then
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2324 $as_echo "$CC" >&6; }
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2327 $as_echo "no" >&6; }
2331 test -n "$CC" && break
2334 if test -z "$CC"; then
2336 for ac_prog
in cl.exe
2338 # Extract the first word of "$ac_prog", so it can be a program name with args.
2339 set dummy
$ac_prog; ac_word
=$2
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2341 $as_echo_n "checking for $ac_word... " >&6; }
2342 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2343 $as_echo_n "(cached) " >&6
2345 if test -n "$ac_ct_CC"; then
2346 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2352 test -z "$as_dir" && as_dir
=.
2353 for ac_exec_ext
in '' $ac_executable_extensions; do
2354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2355 ac_cv_prog_ac_ct_CC
="$ac_prog"
2356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2366 if test -n "$ac_ct_CC"; then
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2368 $as_echo "$ac_ct_CC" >&6; }
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2371 $as_echo "no" >&6; }
2375 test -n "$ac_ct_CC" && break
2378 if test "x$ac_ct_CC" = x
; then
2381 case $cross_compiling:$ac_tool_warned in
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2385 ac_tool_warned
=yes ;;
2394 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2396 as_fn_error $?
"no acceptable C compiler found in \$PATH
2397 See \`config.log' for more details" "$LINENO" 5; }
2399 # Provide some information about the compiler.
2400 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2403 for ac_option
in --version -v -V -qversion; do
2404 { { ac_try
="$ac_compiler $ac_option >&5"
2406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2407 *) ac_try_echo=$ac_try;;
2409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2410 $as_echo "$ac_try_echo"; } >&5
2411 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2413 if test -s conftest.err; then
2415 ... rest of stderr output deleted ...
2416 10q' conftest.err >conftest.er1
2417 cat conftest.er1 >&5
2419 rm -f conftest.er1 conftest.err
2420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2421 test $ac_status = 0; }
2424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h. */
2435 if { { ac_try="$ac_link"
2437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2438 *) ac_try_echo
=$ac_try;;
2440 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2441 $as_echo "$ac_try_echo"; } >&5
2442 (eval "$ac_link") 2>&5
2444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2445 test $ac_status = 0; }; then
2447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2458 ac_clean_files_save
=$ac_clean_files
2459 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2460 # Try to create an executable without -o first, disregard a.out.
2461 # It will help us diagnose broken compilers, and finding out an intuition
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2464 $as_echo_n "checking whether the C compiler works... " >&6; }
2465 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2467 # The possible output files:
2468 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2471 for ac_file
in $ac_files
2474 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2475 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2480 if { { ac_try
="$ac_link_default"
2482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2486 $as_echo "$ac_try_echo"; } >&5
2487 (eval "$ac_link_default") 2>&5
2489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2490 test $ac_status = 0; }; then :
2491 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2492 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2493 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2494 # so that the user can short-circuit this test for compilers unknown to
2496 for ac_file in $ac_files ''
2498 test -f "$ac_file" || continue
2500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2503 # We found the default executable, but exeext='' is most
2507 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2509 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2511 # We set ac_cv_exeext here because the later test for it is not
2512 # safe: cross compilers may not add the suffix if given an `-o'
2513 # argument, so we may need to know it at that point already.
2514 # Even if this section looks crufty: it has the advantage of
2521 test "$ac_cv_exeext" = no && ac_cv_exeext=
2526 if test -z "$ac_file"; then :
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528 $as_echo "no" >&6; }
2529 $as_echo "$as_me: failed program was:" >&5
2530 sed 's
/^
/|
/' conftest.$ac_ext >&5
2532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2533 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2534 as_fn_error 77 "C compiler cannot create executables
2535 See \`config.log
' for more details" "$LINENO" 5; }
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2538 $as_echo "yes" >&6; }
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2541 $as_echo_n "checking for C compiler default output file name... " >&6; }
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2543 $as_echo "$ac_file" >&6; }
2544 ac_exeext=$ac_cv_exeext
2546 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2547 ac_clean_files=$ac_clean_files_save
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2549 $as_echo_n "checking for suffix of executables... " >&6; }
2550 if { { ac_try="$ac_link"
2552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_link") 2>&5
2559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2560 test $ac_status = 0; }; then :
2561 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2562 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2563 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2565 for ac_file
in conftest.exe conftest conftest.
*; do
2566 test -f "$ac_file" ||
continue
2568 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2569 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2577 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2578 See \`config.log' for more details" "$LINENO" 5; }
2580 rm -f conftest conftest
$ac_cv_exeext
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2582 $as_echo "$ac_cv_exeext" >&6; }
2584 rm -f conftest.
$ac_ext
2585 EXEEXT
=$ac_cv_exeext
2587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2588 /* end confdefs.h. */
2593 FILE *f = fopen ("conftest.out", "w");
2594 return ferror (f) || fclose (f) != 0;
2600 ac_clean_files
="$ac_clean_files conftest.out"
2601 # Check that the compiler produces executables we can run. If not, either
2602 # the compiler is broken, or we cross compile.
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2604 $as_echo_n "checking whether we are cross compiling... " >&6; }
2605 if test "$cross_compiling" != yes; then
2606 { { ac_try
="$ac_link"
2608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2609 *) ac_try_echo=$ac_try;;
2611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2612 $as_echo "$ac_try_echo"; } >&5
2613 (eval "$ac_link") 2>&5
2615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2616 test $ac_status = 0; }
2617 if { ac_try='./conftest$ac_cv_exeext'
2618 { { case "(($ac_try" in
2619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2620 *) ac_try_echo
=$ac_try;;
2622 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2623 $as_echo "$ac_try_echo"; } >&5
2624 (eval "$ac_try") 2>&5
2626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2627 test $ac_status = 0; }; }; then
2630 if test "$cross_compiling" = maybe
; then
2633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2635 as_fn_error $?
"cannot run C compiled programs.
2636 If you meant to cross compile, use \`--host'.
2637 See \`config.log' for more details" "$LINENO" 5; }
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2642 $as_echo "$cross_compiling" >&6; }
2644 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2645 ac_clean_files
=$ac_clean_files_save
2648 rm -f -r a.out a.exe b.out conftest.
$ac_ext conftest.o conftest.obj conftest.dSYM
2650 # Setting cross_compile will disable run tests; it will
2651 # also disable AC_CHECK_FILE but that's generally
2652 # correct if we can't link.
2655 # Check that the compiler produces executables we can run. If not, either
2656 # the compiler is broken, or we cross compile.
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2658 $as_echo_n "checking whether we are cross compiling... " >&6; }
2659 if test "$cross_compiling" != yes; then
2660 { { ac_try
="$ac_link"
2662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2666 $as_echo "$ac_try_echo"; } >&5
2667 (eval "$ac_link") 2>&5
2669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2670 test $ac_status = 0; }
2671 if { ac_try='./conftest$ac_cv_exeext'
2672 { { case "(($ac_try" in
2673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2674 *) ac_try_echo
=$ac_try;;
2676 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2677 $as_echo "$ac_try_echo"; } >&5
2678 (eval "$ac_try") 2>&5
2680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2681 test $ac_status = 0; }; }; then
2684 if test "$cross_compiling" = maybe
; then
2687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2689 as_fn_error $?
"cannot run C compiled programs.
2690 If you meant to cross compile, use \`--host'.
2691 See \`config.log' for more details" "$LINENO" 5; }
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2696 $as_echo "$cross_compiling" >&6; }
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2700 $as_echo_n "checking for suffix of object files... " >&6; }
2701 if ${ac_cv_objext+:} false
; then :
2702 $as_echo_n "(cached) " >&6
2704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2705 /* end confdefs.h. */
2715 rm -f conftest.o conftest.obj
2716 if { { ac_try
="$ac_compile"
2718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
2723 (eval "$ac_compile") 2>&5
2725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2726 test $ac_status = 0; }; then :
2727 for ac_file in conftest.o conftest.obj conftest.*; do
2728 test -f "$ac_file" || continue;
2730 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2731 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2736 $as_echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2741 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2742 See \
`config.log' for more details" "$LINENO" 5; }
2744 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2747 $as_echo "$ac_cv_objext" >&6; }
2748 OBJEXT=$ac_cv_objext
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2751 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2752 if ${ac_cv_c_compiler_gnu+:} false; then :
2753 $as_echo_n "(cached) " >&6
2755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2756 /* end confdefs.h. */
2769 if ac_fn_c_try_compile "$LINENO"; then :
2774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2775 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2779 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2780 if test $ac_compiler_gnu = yes; then
2785 ac_test_CFLAGS=${CFLAGS+set}
2786 ac_save_CFLAGS=$CFLAGS
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2788 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2789 if ${ac_cv_prog_cc_g+:} false; then :
2790 $as_echo_n "(cached) " >&6
2792 ac_save_c_werror_flag=$ac_c_werror_flag
2793 ac_c_werror_flag=yes
2796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2797 /* end confdefs.h. */
2807 if ac_fn_c_try_compile "$LINENO"; then :
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2822 if ac_fn_c_try_compile "$LINENO"; then :
2825 ac_c_werror_flag=$ac_save_c_werror_flag
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2838 if ac_fn_c_try_compile "$LINENO"; then :
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2846 ac_c_werror_flag=$ac_save_c_werror_flag
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2849 $as_echo "$ac_cv_prog_cc_g" >&6; }
2850 if test "$ac_test_CFLAGS" = set; then
2851 CFLAGS=$ac_save_CFLAGS
2852 elif test $ac_cv_prog_cc_g = yes; then
2853 if test "$GCC" = yes; then
2859 if test "$GCC" = yes; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2866 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2867 if ${ac_cv_prog_cc_c89+:} false; then :
2868 $as_echo_n "(cached) " >&6
2870 ac_cv_prog_cc_c89=no
2872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873 /* end confdefs.h. */
2877 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2878 struct buf { int x; };
2879 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2880 static char *e (p, i)
2886 static char *f (char * (*g) (char **, int), char **p, ...)
2891 s = g (p, va_arg (v,int));
2896 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2897 function prototypes and stuff, but not '\xHH' hex character constants.
2898 These don't provoke an error unfortunately, instead are silently treated
2899 as 'x'. The following induces an error, until -std is added to get
2900 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2901 array size at least. It's necessary to write '\x00'==0 to get something
2902 that's true only with -std. */
2903 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2905 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2906 inside strings and character constants. */
2908 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2910 int test (int i, double x);
2911 struct s1 {int (*f) (int a);};
2912 struct s2 {int (*f) (double a);};
2913 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2919 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2924 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2925 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2927 CC="$ac_save_CC $ac_arg"
2928 if ac_fn_c_try_compile "$LINENO"; then :
2929 ac_cv_prog_cc_c89=$ac_arg
2931 rm -f core conftest.err conftest.$ac_objext
2932 test "x$ac_cv_prog_cc_c89" != "xno" && break
2934 rm -f conftest.$ac_ext
2939 case "x$ac_cv_prog_cc_c89" in
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2942 $as_echo "none needed" >&6; } ;;
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2945 $as_echo "unsupported" >&6; } ;;
2947 CC="$CC $ac_cv_prog_cc_c89"
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2949 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2951 if test "x$ac_cv_prog_cc_c89" != xno; then :
2956 ac_cpp='$CPP $CPPFLAGS'
2957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2962 ac_cpp='$CXXCPP $CPPFLAGS'
2963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2966 if test -z "$CXX"; then
2967 if test -n "$CCC"; then
2970 if test -n "$ac_tool_prefix"; then
2971 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2973 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2974 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if ${ac_cv_prog_CXX+:} false; then :
2978 $as_echo_n "(cached) " >&6
2980 if test -n "$CXX"; then
2981 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2990 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 if test -n "$CXX"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3003 $as_echo "$CXX" >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3010 test -n "$CXX" && break
3013 if test -z "$CXX"; then
3015 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3017 # Extract the first word of "$ac_prog", so it can be a program name with args.
3018 set dummy $ac_prog; ac_word=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3022 $as_echo_n "(cached) " >&6
3024 if test -n "$ac_ct_CXX"; then
3025 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir=.
3032 for ac_exec_ext in '' $ac_executable_extensions; do
3033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3034 ac_cv_prog_ac_ct_CXX="$ac_prog"
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3045 if test -n "$ac_ct_CXX"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3047 $as_echo "$ac_ct_CXX" >&6; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3054 test -n "$ac_ct_CXX" && break
3057 if test "x$ac_ct_CXX" = x; then
3060 case $cross_compiling:$ac_tool_warned in
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3064 ac_tool_warned=yes ;;
3072 # Provide some information about the compiler.
3073 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3076 for ac_option in --version -v -V -qversion; do
3077 { { ac_try="$ac_compiler $ac_option >&5"
3079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3080 *) ac_try_echo
=$ac_try;;
3082 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
3084 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3086 if test -s conftest.err
; then
3088 ... rest of stderr output deleted ...
3089 10q' conftest.err
>conftest.er1
3090 cat conftest.er1
>&5
3092 rm -f conftest.er1 conftest.err
3093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3094 test $ac_status = 0; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3098 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3099 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3100 $as_echo_n "(cached) " >&6
3102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3116 if ac_fn_cxx_try_compile
"$LINENO"; then :
3121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3122 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3126 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3127 if test $ac_compiler_gnu = yes; then
3132 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3133 ac_save_CXXFLAGS
=$CXXFLAGS
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3135 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3136 if ${ac_cv_prog_cxx_g+:} false
; then :
3137 $as_echo_n "(cached) " >&6
3139 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3140 ac_cxx_werror_flag
=yes
3143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3154 if ac_fn_cxx_try_compile
"$LINENO"; then :
3155 ac_cv_prog_cxx_g
=yes
3158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3169 if ac_fn_cxx_try_compile
"$LINENO"; then :
3172 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3185 if ac_fn_cxx_try_compile
"$LINENO"; then :
3186 ac_cv_prog_cxx_g
=yes
3188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3193 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3196 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3197 if test "$ac_test_CXXFLAGS" = set; then
3198 CXXFLAGS
=$ac_save_CXXFLAGS
3199 elif test $ac_cv_prog_cxx_g = yes; then
3200 if test "$GXX" = yes; then
3206 if test "$GXX" = yes; then
3213 ac_cpp
='$CPP $CPPFLAGS'
3214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3219 ac_cpp
='$CPP $CPPFLAGS'
3220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3224 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3225 # On Suns, sometimes $CPP names a directory.
3226 if test -n "$CPP" && test -d "$CPP"; then
3229 if test -z "$CPP"; then
3230 if ${ac_cv_prog_CPP+:} false
; then :
3231 $as_echo_n "(cached) " >&6
3233 # Double quotes because CPP needs to be expanded
3234 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3237 for ac_c_preproc_warn_flag
in '' yes
3239 # Use a header file that comes with gcc, so configuring glibc
3240 # with a fresh cross-compiler works.
3241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3242 # <limits.h> exists even on freestanding compilers.
3243 # On the NeXT, cc -E runs the code through the compiler's parser,
3244 # not just through cpp. "Syntax error" is here to catch this case.
3245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3246 /* end confdefs.h. */
3248 # include <limits.h>
3250 # include <assert.h>
3254 if ac_fn_c_try_cpp
"$LINENO"; then :
3257 # Broken: fails on valid input.
3260 rm -f conftest.err conftest.i conftest.
$ac_ext
3262 # OK, works on sane cases. Now check whether nonexistent headers
3263 # can be detected and how.
3264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3266 #include <ac_nonexistent.h>
3268 if ac_fn_c_try_cpp
"$LINENO"; then :
3269 # Broken: success on invalid input.
3272 # Passes both tests.
3276 rm -f conftest.err conftest.i conftest.
$ac_ext
3279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3280 rm -f conftest.i conftest.err conftest.
$ac_ext
3281 if $ac_preproc_ok; then :
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3294 $as_echo "$CPP" >&6; }
3296 for ac_c_preproc_warn_flag
in '' yes
3298 # Use a header file that comes with gcc, so configuring glibc
3299 # with a fresh cross-compiler works.
3300 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3301 # <limits.h> exists even on freestanding compilers.
3302 # On the NeXT, cc -E runs the code through the compiler's parser,
3303 # not just through cpp. "Syntax error" is here to catch this case.
3304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3307 # include <limits.h>
3309 # include <assert.h>
3313 if ac_fn_c_try_cpp
"$LINENO"; then :
3316 # Broken: fails on valid input.
3319 rm -f conftest.err conftest.i conftest.
$ac_ext
3321 # OK, works on sane cases. Now check whether nonexistent headers
3322 # can be detected and how.
3323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3325 #include <ac_nonexistent.h>
3327 if ac_fn_c_try_cpp
"$LINENO"; then :
3328 # Broken: success on invalid input.
3331 # Passes both tests.
3335 rm -f conftest.err conftest.i conftest.
$ac_ext
3338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3339 rm -f conftest.i conftest.err conftest.
$ac_ext
3340 if $ac_preproc_ok; then :
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3346 See \`config.log' for more details" "$LINENO" 5; }
3350 ac_cpp
='$CPP $CPPFLAGS'
3351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3356 ac_cpp
='$CPP $CPPFLAGS'
3357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3362 # Check whether --with-cross-bootstrap was given.
3363 if test "${with_cross_bootstrap+set}" = set; then :
3364 withval
=$with_cross_bootstrap;
3366 with_cross_bootstrap
=no
3372 # Check whether --with-windows-headers was given.
3373 if test "${with_windows_headers+set}" = set; then :
3374 withval
=$with_windows_headers; test -z "$withval" && as_fn_error $?
"must specify value for --with-windows-headers" "$LINENO" 5
3379 if test "x$with_cross_bootstrap" != "xyes"; then
3382 # Check whether --with-windows-libs was given.
3383 if test "${with_windows_libs+set}" = set; then :
3384 withval
=$with_windows_libs; test -z "$withval" && as_fn_error $?
"must specify value for --with-windows-libs" "$LINENO" 5
3388 windows_libdir
=$
(realdirpath
"$with_windows_libs")
3389 if test -z "$windows_libdir"; then
3390 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'))
3391 if test -z "$windows_libdir"; then
3392 as_fn_error $?
"cannot find windows library files" "$LINENO" 5
3401 ac_cpp
='$CXXCPP $CPPFLAGS'
3402 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3403 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3404 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3408 : ${ac_cv_prog_CXX:=$CXX}
3409 : ${ac_cv_prog_CC:=$CC}
3411 cygwin_headers
=$
(realdirpath
"$winsup_srcdir/cygwin/include")
3412 if test -z "$cygwin_headers"; then
3413 as_fn_error $?
"cannot find $winsup_srcdir/cygwin/include directory" "$LINENO" 5
3416 newlib_headers
=$
(realdirpath
$winsup_srcdir/..
/newlib
/libc
/include
)
3417 if test -z "$newlib_headers"; then
3418 as_fn_error $?
"cannot find newlib source directory: $winsup_srcdir/../newlib/libc/include" "$LINENO" 5
3420 newlib_headers
="$target_builddir/newlib/targ-include $newlib_headers"
3422 if test -n "$with_windows_headers"; then
3423 if test -e "$with_windows_headers/windef.h"; then
3424 windows_headers
="$with_windows_headers"
3426 as_fn_error $?
"cannot find windef.h in specified --with-windows-headers path: $saw_windows_headers" "$LINENO" 5;
3429 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)
3430 if test -z "$windows_headers" -o ! -d "$windows_headers"; then
3431 as_fn_error $?
"cannot find windows header files" "$LINENO" 5
3435 INCLUDES
="-I${srcdir}/../cygwin -I${target_builddir}/winsup/cygwin"
3436 INCLUDES
="${INCLUDES} -isystem ${cygwin_headers}"
3437 for h
in ${newlib_headers}; do
3438 INCLUDES
="${INCLUDES} -isystem $h"
3440 INCLUDES
="${INCLUDES} -isystem ${windows_headers}"
3446 subdirs
="$subdirs cygwin cygserver doc"
3448 if test "x$with_cross_bootstrap" != "xyes"; then
3449 subdirs
="$subdirs utils"
3453 ac_config_files
="$ac_config_files Makefile"
3455 cat >confcache
<<\_ACEOF
3456 # This file is a shell script that caches the results of configure
3457 # tests run on this system so they can be shared between configure
3458 # scripts and configure runs, see configure's option --config-cache.
3459 # It is not useful on other systems. If it contains results you don't
3460 # want to keep, you may remove or edit it.
3462 # config.status only pays attention to the cache file if you give it
3463 # the --recheck option to rerun configure.
3465 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3466 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3471 # The following way of writing the cache mishandles newlines in values,
3472 # but we know of no workaround that is simple, portable, and efficient.
3473 # So, we kill variables containing newlines.
3474 # Ultrix sh set writes to stderr and can't be redirected directly,
3475 # and sets the high bit in the cache file unless we assign to the vars.
3477 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3478 eval ac_val
=\$
$ac_var
3482 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3483 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3486 _ | IFS | as_nl
) ;; #(
3487 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3488 *) { eval $ac_var=; unset $ac_var;} ;;
3494 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3495 *${as_nl}ac_space
=\
*)
3496 # `set' does not quote correctly, so add quotes: double-quote
3497 # substitution turns \\\\ into \\, and sed turns \\ into \.
3500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3503 # `set' quotes correctly as required by POSIX, so do not add quotes.
3504 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3513 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3515 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3517 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3518 if test -w "$cache_file"; then
3519 if test "x$cache_file" != "x/dev/null"; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3521 $as_echo "$as_me: updating cache $cache_file" >&6;}
3522 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3523 cat confcache
>"$cache_file"
3525 case $cache_file in #(
3527 mv -f confcache
"$cache_file"$$
&&
3528 mv -f "$cache_file"$$
"$cache_file" ;; #(
3530 mv -f confcache
"$cache_file" ;;
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3536 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3541 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3542 # Let make expand exec_prefix.
3543 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3545 # Transform confdefs.h into DEFS.
3546 # Protect against shell expansion while executing Makefile rules.
3547 # Protect against Makefile macro expansion.
3549 # If the first sed substitution is executed (which looks for macros that
3550 # take arguments), then branch to the quote section. Otherwise,
3551 # look for a macro that doesn't take arguments.
3561 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3563 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3567 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3580 DEFS
=`sed -n "$ac_script" confdefs.h`
3586 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3587 # 1. Remove the extension, and $U if already installed.
3588 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3589 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3590 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3591 # will be set to the directory where LIBOBJS objects are built.
3592 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3593 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3597 LTLIBOBJS
=$ac_ltlibobjs
3601 : "${CONFIG_STATUS=./config.status}"
3603 ac_clean_files_save
=$ac_clean_files
3604 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3606 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3608 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3610 # Generated by $as_me.
3611 # Run this file to recreate the current configuration.
3612 # Compiler output produced by configure, useful for debugging
3613 # configure, is in config.log if it exists.
3619 SHELL=\${CONFIG_SHELL-$SHELL}
3622 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3623 ## -------------------- ##
3624 ## M4sh Initialization. ##
3625 ## -------------------- ##
3627 # Be more Bourne compatible
3628 DUALCASE
=1; export DUALCASE
# for MKS sh
3629 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3632 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3633 # is contrary to our usage. Disable this feature.
3634 alias -g '${1+"$@"}'='"$@"'
3635 setopt NO_GLOB_SUBST
3637 case `(set -o) 2>/dev/null` in #(
3649 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3650 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3651 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3652 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3653 # Prefer a ksh shell builtin over an external printf program on Solaris,
3654 # but without wasting forks for bash or zsh.
3655 if test -z "$BASH_VERSION$ZSH_VERSION" \
3656 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3657 as_echo='print
-r --'
3658 as_echo_n='print
-rn --'
3659 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3660 as_echo='printf %s
\n'
3661 as_echo_n='printf %s
'
3663 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3664 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3665 as_echo_n='/usr
/ucb
/echo -n'
3667 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3668 as_echo_n_body='eval
3672 expr "X$arg" : "X\\(.*\\)$as_nl";
3673 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3675 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3677 export as_echo_n_body
3678 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3681 as_echo='sh
-c $as_echo_body as_echo
'
3684 # The user is always right.
3685 if test "${PATH_SEPARATOR+set}" != set; then
3687 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3688 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3695 # We need space, tab and new line, in precisely that order. Quoting is
3696 # there to prevent editors from complaining about space-tab.
3697 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3698 # splitting by setting IFS to empty value.)
3701 # Find who we are. Look in the path if we contain no directory separator.
3704 *[\\/]* ) as_myself=$0 ;;
3705 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 test -z "$as_dir" && as_dir=.
3710 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3716 # We did not find ourselves, most probably we were run as `sh COMMAND'
3717 # in which case we are not to be found in the path.
3718 if test "x$as_myself" = x
; then
3721 if test ! -f "$as_myself"; then
3722 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3726 # Unset variables that we do not need and which cause bugs (e.g. in
3727 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3728 # suppresses any "Segmentation fault" message there. '((' could
3729 # trigger a bug in pdksh 5.2.14.
3730 for as_var
in BASH_ENV ENV MAIL MAILPATH
3731 do eval test x\
${$as_var+set} = xset \
3732 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3745 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3748 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3749 # ----------------------------------------
3750 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3751 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3752 # script with STATUS, using 1 if that was 0.
3755 as_status
=$1; test $as_status -eq 0 && as_status
=1
3757 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3758 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3760 $as_echo "$as_me: error: $2" >&2
3761 as_fn_exit
$as_status
3765 # as_fn_set_status STATUS
3766 # -----------------------
3767 # Set $? to STATUS, without forking.
3771 } # as_fn_set_status
3775 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3785 # Portably unset VAR.
3788 { eval $1=; unset $1;}
3790 as_unset
=as_fn_unset
3791 # as_fn_append VAR VALUE
3792 # ----------------------
3793 # Append the text in VALUE to the end of the definition contained in VAR. Take
3794 # advantage of any shell optimizations that allow amortized linear growth over
3795 # repeated appends, instead of the typical quadratic growth present in naive
3797 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3798 eval 'as_fn_append ()
3809 # as_fn_arith ARG...
3810 # ------------------
3811 # Perform arithmetic evaluation on the ARGs, and store the result in the
3812 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3813 # must be portable across $(()) and expr.
3814 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3815 eval 'as_fn_arith ()
3822 as_val
=`expr "$@" || test $? -eq 1`
3827 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3828 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3834 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3835 as_basename
=basename
3840 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3846 as_me
=`$as_basename -- "$0" ||
3847 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3848 X"$0" : 'X\(//\)$' \| \
3849 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3851 sed '/^.*\/\([^/][^/]*\)\/*$/{
3865 # Avoid depending upon Character Ranges.
3866 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3867 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3868 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3869 as_cr_digits
='0123456789'
3870 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3872 ECHO_C
= ECHO_N
= ECHO_T
=
3873 case `echo -n x` in #(((((
3875 case `echo 'xy\c'` in
3876 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3878 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3885 rm -f conf$$ conf$$.exe conf$$.
file
3886 if test -d conf$$.dir
; then
3887 rm -f conf$$.dir
/conf$$.
file
3890 mkdir conf$$.dir
2>/dev
/null
3892 if (echo >conf$$.
file) 2>/dev
/null
; then
3893 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3895 # ... but there are two gotchas:
3896 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3897 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3898 # In both cases, we have to default to `cp -pR'.
3899 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3901 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3909 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3910 rmdir conf$$.dir
2>/dev
/null
3915 # Create "$as_dir" as a directory, including parents if necessary.
3920 -*) as_dir
=.
/$as_dir;;
3922 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3926 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3927 *) as_qdir
=$as_dir;;
3929 as_dirs
="'$as_qdir' $as_dirs"
3930 as_dir
=`$as_dirname -- "$as_dir" ||
3931 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3932 X"$as_dir" : 'X\(//\)[^/]' \| \
3933 X"$as_dir" : 'X\(//\)$' \| \
3934 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3935 $as_echo X"$as_dir" |
3936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3953 test -d "$as_dir" && break
3955 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3956 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
3960 if mkdir
-p .
2>/dev
/null
; then
3961 as_mkdir_p
='mkdir -p "$as_dir"'
3963 test -d .
/-p && rmdir .
/-p
3968 # as_fn_executable_p FILE
3969 # -----------------------
3970 # Test if FILE is an executable regular file.
3971 as_fn_executable_p
()
3973 test -f "$1" && test -x "$1"
3974 } # as_fn_executable_p
3976 as_executable_p
=as_fn_executable_p
3978 # Sed expression to map a string onto a valid CPP name.
3979 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3981 # Sed expression to map a string onto a valid variable name.
3982 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3986 ## ----------------------------------- ##
3987 ## Main body of $CONFIG_STATUS script. ##
3988 ## ----------------------------------- ##
3990 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3993 # Save the log message, to keep $0 and so on meaningful, and to
3994 # report actual input values of CONFIG_FILES etc. instead of their
3995 # values after options handling.
3997 This file was extended by Cygwin toplevel $as_me 0, which was
3998 generated by GNU Autoconf 2.69. Invocation command line was
4000 CONFIG_FILES = $CONFIG_FILES
4001 CONFIG_HEADERS = $CONFIG_HEADERS
4002 CONFIG_LINKS = $CONFIG_LINKS
4003 CONFIG_COMMANDS = $CONFIG_COMMANDS
4006 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4011 case $ac_config_files in *"
4012 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4018 # Files that config.status was made for.
4019 config_files="$ac_config_files"
4023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4025 \`$as_me' instantiates files and other configuration actions
4026 from templates according to the current configuration. Unless the files
4027 and actions are specified as TAGs, all are instantiated by default.
4029 Usage: $0 [OPTION]... [TAG]...
4031 -h, --help print this help, then exit
4032 -V, --version print version number and configuration settings, then exit
4033 --config print configuration, then exit
4034 -q, --quiet, --silent
4035 do not print progress messages
4036 -d, --debug don't remove temporary files
4037 --recheck update $as_me by reconfiguring in the same conditions
4038 --file=FILE[:TEMPLATE]
4039 instantiate the configuration file FILE
4041 Configuration files:
4044 Report bugs to <cygwin@cygwin.com>.
4045 Cygwin toplevel home page: <https://cygwin.com>."
4048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4049 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4051 Cygwin toplevel config.status 0
4052 configured by $0, generated by GNU Autoconf 2.69,
4053 with options \\"\$ac_cs_config\\"
4055 Copyright (C) 2012 Free Software Foundation, Inc.
4056 This config.status script is free software; the Free Software Foundation
4057 gives unlimited permission to copy, distribute and modify it."
4062 test -n "\$AWK" || AWK=awk
4065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4066 # The default lists apply if the user does not specify any file.
4072 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4073 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4077 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4089 # Handling of the options.
4090 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4092 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4093 $as_echo "$ac_cs_version"; exit ;;
4094 --config |
--confi |
--conf |
--con |
--co |
--c )
4095 $as_echo "$ac_cs_config"; exit ;;
4096 --debug |
--debu |
--deb |
--de |
--d |
-d )
4098 --file |
--fil |
--fi |
--f )
4101 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4102 '') as_fn_error $?
"missing file argument" ;;
4104 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4105 ac_need_defaults
=false
;;
4106 --he |
--h |
--help |
--hel |
-h )
4107 $as_echo "$ac_cs_usage"; exit ;;
4108 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4109 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4113 -*) as_fn_error $?
"unrecognized option: \`$1'
4114 Try \`$0 --help' for more information." ;;
4116 *) as_fn_append ac_config_targets
" $1"
4117 ac_need_defaults
=false
;;
4123 ac_configure_extra_args
=
4125 if $ac_cs_silent; then
4127 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4132 if \$ac_cs_recheck; then
4133 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4135 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4136 CONFIG_SHELL='$SHELL'
4142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4146 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4147 ## Running $as_me. ##
4153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4158 # Handling of arguments.
4159 for ac_config_target
in $ac_config_targets
4161 case $ac_config_target in
4162 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4164 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4169 # If the user did not use the arguments to specify the items to instantiate,
4170 # then the envvar interface is used. Set only those that are not.
4171 # We use the long form for the default assignment because of an extremely
4172 # bizarre bug on SunOS 4.1.3.
4173 if $ac_need_defaults; then
4174 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4177 # Have a temporary directory for convenience. Make it in the build tree
4178 # simply because there is no reason against having it here, and in addition,
4179 # creating and moving files from /tmp can sometimes cause problems.
4180 # Hook for its removal unless debugging.
4181 # Note that there is a small window in which the directory will not be cleaned:
4182 # after its creation but before its name has been assigned to `$tmp'.
4186 trap 'exit_status=$?
4188 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4190 trap 'as_fn_exit 1' 1 2 13 15
4192 # Create a (secure) tmp directory for tmp files.
4195 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4199 tmp
=.
/conf$$
-$RANDOM
4200 (umask 077 && mkdir
"$tmp")
4201 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4204 # Set up the scripts for CONFIG_FILES section.
4205 # No need to generate them if there are no CONFIG_FILES.
4206 # This happens for instance with `./config.status config.h'.
4207 if test -n "$CONFIG_FILES"; then
4210 ac_cr
=`echo X | tr X '\015'`
4211 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4212 # But we know of no other shell where ac_cr would be empty at this
4213 # point, so we can use a bashism as a fallback.
4214 if test "x$ac_cr" = x
; then
4215 eval ac_cr
=\$
\'\\r
\'
4217 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4218 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4224 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4229 echo "cat >conf$$subs.awk <<_ACEOF" &&
4230 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4233 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4234 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4236 for ac_last_try in false false false false false :; do
4237 . ./conf$$subs.sh ||
4238 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4240 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4241 if test $ac_delim_n = $ac_delim_num; then
4243 elif $ac_last_try; then
4244 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4246 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4252 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4256 s/^/S["/; s
/!.
*/"]=/
4266 s/\(.\{148\}\)..*/\1/
4268 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4273 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4280 s/\(.\{148\}\)..*/\1/
4282 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4286 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4291 ' <conf$$subs.awk | sed '
4296 ' >>$CONFIG_STATUS || ac_write_fail=1
4297 rm -f conf$$subs.awk
4298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4300 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4301 for (key in S) S_is_set[key] = 1
4307 nfields = split(line, field, "@
")
4309 len = length(field[1])
4310 for (i = 2; i < nfields; i++) {
4312 keylen = length(key)
4313 if (S_is_set[key]) {
4315 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4316 len += length(value) + length(field[++i])
4327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4328 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4329 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4332 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4333 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4336 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4337 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4338 # trailing colons and then remove the whole line if VPATH becomes empty
4339 # (actually we leave an empty line to preserve line numbers).
4340 if test "x
$srcdir" = x.; then
4341 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4360 fi # test -n "$CONFIG_FILES"
4363 eval set X " :F
$CONFIG_FILES "
4368 :[FHLC]) ac_mode=$ac_tag; continue;;
4370 case $ac_mode$ac_tag in
4372 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4373 :[FH]-) ac_tag=-:-;;
4374 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4391 -) ac_f="$ac_tmp/stdin";;
4392 *) # Look for the file first in the build tree, then in the source tree
4393 # (if the path is not absolute). The absolute path cannot be DOS-style,
4394 # because $ac_f cannot contain `:'.
4398 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4400 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4402 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4403 as_fn_append ac_file_inputs " '$ac_f'"
4406 # Let's still pretend it is `configure' which instantiates (i.e., don't
4407 # use $as_me), people would be surprised to read:
4408 # /* config.h. Generated by config.status. */
4409 configure_input='Generated from '`
4410 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4412 if test x"$ac_file" != x-; then
4413 configure_input="$ac_file.
$configure_input"
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4415 $as_echo "$as_me: creating
$ac_file" >&6;}
4417 # Neutralize special characters interpreted by sed in replacement strings.
4418 case $configure_input in #(
4419 *\&* | *\|* | *\\* )
4420 ac_sed_conf_input=`$as_echo "$configure_input" |
4421 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4422 *) ac_sed_conf_input=$configure_input;;
4426 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4427 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4432 ac_dir=`$as_dirname -- "$ac_file" ||
4433 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4434 X"$ac_file" : 'X\(//\)[^/]' \| \
4435 X"$ac_file" : 'X\(//\)$' \| \
4436 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4437 $as_echo X"$ac_file" |
4438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4455 as_dir="$ac_dir"; as_fn_mkdir_p
4459 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4461 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4462 # A "..
" for each directory in $ac_dir_suffix.
4463 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4464 case $ac_top_builddir_sub in
4465 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4466 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4469 ac_abs_top_builddir=$ac_pwd
4470 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4471 # for backward compatibility:
4472 ac_top_builddir=$ac_top_build_prefix
4475 .) # We are building in place.
4477 ac_top_srcdir=$ac_top_builddir_sub
4478 ac_abs_top_srcdir=$ac_pwd ;;
4479 [\\/]* | ?:[\\/]* ) # Absolute name.
4480 ac_srcdir=$srcdir$ac_dir_suffix;
4481 ac_top_srcdir=$srcdir
4482 ac_abs_top_srcdir=$srcdir ;;
4484 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4485 ac_top_srcdir=$ac_top_build_prefix$srcdir
4486 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4488 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4498 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4499 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4504 # If the template does not know about datarootdir, expand it.
4505 # FIXME: This hack should be removed a few years after 2.60.
4506 ac_datarootdir_hack=; ac_datarootdir_seen=
4517 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4518 *datarootdir*) ac_datarootdir_seen=yes;;
4519 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4521 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4524 ac_datarootdir_hack='
4525 s&@datadir@&$datadir&g
4526 s&@docdir@&$docdir&g
4527 s&@infodir@&$infodir&g
4528 s&@localedir@&$localedir&g
4529 s&@mandir@&$mandir&g
4530 s&\\\${datarootdir}&$datarootdir&g' ;;
4534 # Neutralize VPATH when `$srcdir' = `.'.
4535 # Shell code in configure.ac might set extrasub.
4536 # FIXME: do we really want to maintain this feature?
4537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4538 ac_sed_extra="$ac_vpsub
4541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4543 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4544 s|@configure_input@|
$ac_sed_conf_input|
;t t
4545 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4546 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4547 s
&@srcdir@
&$ac_srcdir&;t t
4548 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4549 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4550 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4551 s
&@builddir@
&$ac_builddir&;t t
4552 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4553 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4554 s
&@INSTALL@
&$ac_INSTALL&;t t
4555 $ac_datarootdir_hack
4557 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4558 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4560 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4561 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4562 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4563 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4565 which seems to be undefined. Please make sure it is defined" >&5
4566 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4567 which seems to be undefined. Please make sure it is defined" >&2;}
4569 rm -f "$ac_tmp/stdin"
4571 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4572 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4574 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4586 ac_clean_files=$ac_clean_files_save
4588 test $ac_write_fail = 0 ||
4589 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4592 # configure is writing to config.log, and then calls config.status.
4593 # config.status does its own redirection, appending to config.log.
4594 # Unfortunately, on DOS this fails, as config.log is still kept open
4595 # by configure, so config.status won't be able to
write to it
; its
4596 # output is simply discarded. So we exec the FD to /dev/null,
4597 # effectively closing config.log, so it can be properly (re)opened and
4598 # appended to by config.status. When coming back to configure, we
4599 # need to make the FD available again.
4600 if test "$no_create" != yes; then
4602 ac_config_status_args
=
4603 test "$silent" = yes &&
4604 ac_config_status_args
="$ac_config_status_args --quiet"
4606 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4608 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4609 # would make configure fail if this is the last instruction.
4610 $ac_cs_success || as_fn_exit
1
4614 # CONFIG_SUBDIRS section.
4616 if test "$no_recursion" != yes; then
4618 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4619 # so they do not pile up.
4620 ac_sub_configure_args
=
4622 eval "set x $ac_configure_args"
4626 if test -n "$ac_prev"; then
4631 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
4632 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
4633 ac_prev
=cache_file
;;
4634 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
4635 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
4638 --config-cache |
-C)
4640 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
4642 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
4644 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
4646 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
4648 --disable-option-checking)
4652 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4654 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
4658 # Always prepend --prefix to ensure using the same prefix
4659 # in subdir configurations.
4660 ac_arg
="--prefix=$prefix"
4662 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4664 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
4667 if test "$silent" = yes; then
4668 ac_sub_configure_args
="--silent $ac_sub_configure_args"
4671 # Always prepend --disable-option-checking to silence warnings, since
4672 # different subdirs can have different --enable and --with options.
4673 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
4676 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
4678 # Do not complain, so a configure script can configure whichever
4679 # parts of a large source tree are present.
4680 test -d "$srcdir/$ac_dir" ||
continue
4682 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4683 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4684 $as_echo "$ac_msg" >&6
4685 as_dir
="$ac_dir"; as_fn_mkdir_p
4689 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4691 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4692 # A ".." for each directory in $ac_dir_suffix.
4693 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4694 case $ac_top_builddir_sub in
4695 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4696 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4699 ac_abs_top_builddir
=$ac_pwd
4700 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4701 # for backward compatibility:
4702 ac_top_builddir
=$ac_top_build_prefix
4705 .
) # We are building in place.
4707 ac_top_srcdir
=$ac_top_builddir_sub
4708 ac_abs_top_srcdir
=$ac_pwd ;;
4709 [\\/]* | ?
:[\\/]* ) # Absolute name.
4710 ac_srcdir
=$srcdir$ac_dir_suffix;
4711 ac_top_srcdir
=$srcdir
4712 ac_abs_top_srcdir
=$srcdir ;;
4714 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4715 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4716 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4718 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4723 # Check for guested configure; otherwise get Cygnus style configure.
4724 if test -f "$ac_srcdir/configure.gnu"; then
4725 ac_sub_configure
=$ac_srcdir/configure.gnu
4726 elif test -f "$ac_srcdir/configure"; then
4727 ac_sub_configure
=$ac_srcdir/configure
4728 elif test -f "$ac_srcdir/configure.in"; then
4729 # This should be Cygnus configure.
4730 ac_sub_configure
=$ac_aux_dir/configure
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4733 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4737 # The recursion is here.
4738 if test -n "$ac_sub_configure"; then
4739 # Make the cache file name correct relative to the subdirectory.
4741 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
4743 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4747 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4748 # The eval makes quoting arguments work.
4749 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4750 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4751 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4757 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4759 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}