2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cygwin Utils 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 Utils'
581 PACKAGE_TARNAME
='cygwin'
583 PACKAGE_STRING
='Cygwin Utils 0'
584 PACKAGE_BUGREPORT
='cygwin@cygwin.com'
585 PACKAGE_URL
='https://cygwin.com'
587 ac_unique_file
="mount.cc"
589 ac_subst_vars
='LTLIBOBJS
649 program_transform_name
664 enable_option_checking
668 ac_precious_vars
='build_alias
681 # Initialize some variables set by options.
683 ac_init_version
=false
684 ac_unrecognized_opts
=
686 # The variables have the same names as the options, with
687 # dashes changed to underlines.
695 program_transform_name
=s
,x
,x
,
703 # Installation directory options.
704 # These are left unexpanded so users can "make install exec_prefix=/foo"
705 # and all the variables that are supposed to be based on exec_prefix
706 # by default will actually change.
707 # Use braces instead of parens because sh, perl, etc. also accept them.
708 # (The list follows the same order as the GNU Coding Standards.)
709 bindir
='${exec_prefix}/bin'
710 sbindir
='${exec_prefix}/sbin'
711 libexecdir
='${exec_prefix}/libexec'
712 datarootdir
='${prefix}/share'
713 datadir
='${datarootdir}'
714 sysconfdir
='${prefix}/etc'
715 sharedstatedir
='${prefix}/com'
716 localstatedir
='${prefix}/var'
717 includedir
='${prefix}/include'
718 oldincludedir
='/usr/include'
719 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
720 infodir
='${datarootdir}/info'
725 libdir
='${exec_prefix}/lib'
726 localedir
='${datarootdir}/locale'
727 mandir
='${datarootdir}/man'
733 # If the previous option needs an argument, assign it.
734 if test -n "$ac_prev"; then
735 eval $ac_prev=\
$ac_option
741 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746 # Accept the important Cygnus configure options, so we can diagnose typos.
748 case $ac_dashdash$ac_option in
752 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
754 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
757 -build |
--build |
--buil |
--bui |
--bu)
758 ac_prev
=build_alias
;;
759 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
760 build_alias
=$ac_optarg ;;
762 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
763 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
764 ac_prev
=cache_file
;;
765 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
766 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
767 cache_file
=$ac_optarg ;;
770 cache_file
=config.cache
;;
772 -datadir |
--datadir |
--datadi |
--datad)
774 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
775 datadir
=$ac_optarg ;;
777 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
778 |
--dataroo |
--dataro |
--datar)
779 ac_prev
=datarootdir
;;
780 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
781 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
782 datarootdir
=$ac_optarg ;;
784 -disable-* |
--disable-*)
785 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
788 as_fn_error $?
"invalid feature name: $ac_useropt"
789 ac_useropt_orig
=$ac_useropt
790 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
791 case $ac_user_opts in
795 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
796 ac_unrecognized_sep
=', ';;
798 eval enable_
$ac_useropt=no
;;
800 -docdir |
--docdir |
--docdi |
--doc |
--do)
802 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
805 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
807 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
810 -enable-* |
--enable-*)
811 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
814 as_fn_error $?
"invalid feature name: $ac_useropt"
815 ac_useropt_orig
=$ac_useropt
816 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
821 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
822 ac_unrecognized_sep
=', ';;
824 eval enable_
$ac_useropt=\
$ac_optarg ;;
826 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
827 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
828 |
--exec |
--exe |
--ex)
829 ac_prev
=exec_prefix
;;
830 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
831 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
832 |
--exec=* |
--exe=* |
--ex=*)
833 exec_prefix
=$ac_optarg ;;
835 -gas |
--gas |
--ga |
--g)
836 # Obsolete; use --with-gas.
839 -help |
--help |
--hel |
--he |
-h)
841 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
842 ac_init_help
=recursive
;;
843 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
844 ac_init_help
=short
;;
846 -host |
--host |
--hos |
--ho)
847 ac_prev
=host_alias
;;
848 -host=* |
--host=* |
--hos=* |
--ho=*)
849 host_alias
=$ac_optarg ;;
851 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
853 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
855 htmldir
=$ac_optarg ;;
857 -includedir |
--includedir |
--includedi |
--included |
--include \
858 |
--includ |
--inclu |
--incl |
--inc)
859 ac_prev
=includedir
;;
860 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
861 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
862 includedir
=$ac_optarg ;;
864 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
866 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
867 infodir
=$ac_optarg ;;
869 -libdir |
--libdir |
--libdi |
--libd)
871 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
874 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
875 |
--libexe |
--libex |
--libe)
876 ac_prev
=libexecdir
;;
877 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
878 |
--libexe=* |
--libex=* |
--libe=*)
879 libexecdir
=$ac_optarg ;;
881 -localedir |
--localedir |
--localedi |
--localed |
--locale)
883 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
884 localedir
=$ac_optarg ;;
886 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
887 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
888 ac_prev
=localstatedir
;;
889 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
890 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
891 localstatedir
=$ac_optarg ;;
893 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
895 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
899 # Obsolete; use --without-fp.
902 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
903 |
--no-cr |
--no-c |
-n)
906 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
907 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
910 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
911 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
912 |
--oldin |
--oldi |
--old |
--ol |
--o)
913 ac_prev
=oldincludedir
;;
914 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
915 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
916 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
917 oldincludedir
=$ac_optarg ;;
919 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
921 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
924 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
925 |
--program-pre |
--program-pr |
--program-p)
926 ac_prev
=program_prefix
;;
927 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
928 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
929 program_prefix
=$ac_optarg ;;
931 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
932 |
--program-suf |
--program-su |
--program-s)
933 ac_prev
=program_suffix
;;
934 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
935 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
936 program_suffix
=$ac_optarg ;;
938 -program-transform-name |
--program-transform-name \
939 |
--program-transform-nam |
--program-transform-na \
940 |
--program-transform-n |
--program-transform- \
941 |
--program-transform |
--program-transfor \
942 |
--program-transfo |
--program-transf \
943 |
--program-trans |
--program-tran \
944 |
--progr-tra |
--program-tr |
--program-t)
945 ac_prev
=program_transform_name
;;
946 -program-transform-name=* |
--program-transform-name=* \
947 |
--program-transform-nam=* |
--program-transform-na=* \
948 |
--program-transform-n=* |
--program-transform-=* \
949 |
--program-transform=* |
--program-transfor=* \
950 |
--program-transfo=* |
--program-transf=* \
951 |
--program-trans=* |
--program-tran=* \
952 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
953 program_transform_name
=$ac_optarg ;;
955 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
957 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
960 -psdir |
--psdir |
--psdi |
--psd |
--ps)
962 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
965 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
966 |
-silent |
--silent |
--silen |
--sile |
--sil)
969 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
971 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
973 sbindir
=$ac_optarg ;;
975 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
976 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
977 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
979 ac_prev
=sharedstatedir
;;
980 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
981 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
982 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
984 sharedstatedir
=$ac_optarg ;;
986 -site |
--site |
--sit)
988 -site=* |
--site=* |
--sit=*)
991 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
993 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
996 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
997 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
998 ac_prev
=sysconfdir
;;
999 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1000 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1001 sysconfdir
=$ac_optarg ;;
1003 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1004 ac_prev
=target_alias
;;
1005 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1006 target_alias
=$ac_optarg ;;
1008 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1011 -version |
--version |
--versio |
--versi |
--vers |
-V)
1012 ac_init_version
=: ;;
1015 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1018 as_fn_error $?
"invalid package name: $ac_useropt"
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval with_
$ac_useropt=\
$ac_optarg ;;
1030 -without-* |
--without-*)
1031 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1034 as_fn_error $?
"invalid package name: $ac_useropt"
1035 ac_useropt_orig
=$ac_useropt
1036 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1041 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1042 ac_unrecognized_sep
=', ';;
1044 eval with_
$ac_useropt=no
;;
1047 # Obsolete; use --with-x.
1050 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1051 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1052 ac_prev
=x_includes
;;
1053 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1054 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1055 x_includes
=$ac_optarg ;;
1057 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1058 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1059 ac_prev
=x_libraries
;;
1060 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1061 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1062 x_libraries
=$ac_optarg ;;
1064 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1065 Try \`$0 --help' for more information"
1069 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1070 # Reject names that are not valid shell variable names.
1071 case $ac_envvar in #(
1072 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1073 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1075 eval $ac_envvar=\
$ac_optarg
1076 export $ac_envvar ;;
1079 # FIXME: should be removed in autoconf 3.0.
1080 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1081 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1082 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1083 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1089 if test -n "$ac_prev"; then
1090 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1091 as_fn_error $?
"missing argument to $ac_option"
1094 if test -n "$ac_unrecognized_opts"; then
1095 case $enable_option_checking in
1097 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1098 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1102 # Check all directory arguments for consistency.
1103 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1104 datadir sysconfdir sharedstatedir localstatedir includedir \
1105 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1106 libdir localedir mandir
1108 eval ac_val
=\$
$ac_var
1109 # Remove trailing slashes.
1112 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1113 eval $ac_var=\
$ac_val;;
1115 # Be sure to have absolute directory names.
1117 [\\/$
]* | ?
:[\\/]* ) continue;;
1118 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1120 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1123 # There might be people who depend on the old broken behavior: `$host'
1124 # used to hold the argument of --host etc.
1125 # FIXME: To remove some day.
1128 target
=$target_alias
1130 # FIXME: To remove some day.
1131 if test "x$host_alias" != x
; then
1132 if test "x$build_alias" = x
; then
1133 cross_compiling
=maybe
1134 elif test "x$build_alias" != "x$host_alias"; then
1140 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1142 test "$silent" = yes && exec 6>/dev
/null
1145 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1146 ac_ls_di
=`ls -di .` &&
1147 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1148 as_fn_error $?
"working directory cannot be determined"
1149 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1150 as_fn_error $?
"pwd does not report name of working directory"
1153 # Find the source files, if location was not specified.
1154 if test -z "$srcdir"; then
1155 ac_srcdir_defaulted
=yes
1156 # Try the directory containing this script, then the parent directory.
1157 ac_confdir
=`$as_dirname -- "$as_myself" ||
1158 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1159 X"$as_myself" : 'X\(//\)[^/]' \| \
1160 X"$as_myself" : 'X\(//\)$' \| \
1161 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1162 $as_echo X"$as_myself" |
1163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1181 if test ! -r "$srcdir/$ac_unique_file"; then
1185 ac_srcdir_defaulted
=no
1187 if test ! -r "$srcdir/$ac_unique_file"; then
1188 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1189 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1191 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1193 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1195 # When building in place, set srcdir=.
1196 if test "$ac_abs_confdir" = "$ac_pwd"; then
1199 # Remove unnecessary trailing slashes from srcdir.
1200 # Double slashes in file names in object file debugging info
1201 # mess up M-x gdb in Emacs.
1203 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1205 for ac_var
in $ac_precious_vars; do
1206 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1207 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1208 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1209 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1213 # Report the --help message.
1215 if test "$ac_init_help" = "long"; then
1216 # Omit some internal or obsolete options to make the list less imposing.
1217 # This message is too long to be a string in the A/UX 3.1 sh.
1219 \`configure' configures Cygwin Utils 0 to adapt to many kinds of systems.
1221 Usage: $0 [OPTION]... [VAR=VALUE]...
1223 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1224 VAR=VALUE. See below for descriptions of some of the useful variables.
1226 Defaults for the options are specified in brackets.
1229 -h, --help display this help and exit
1230 --help=short display options specific to this package
1231 --help=recursive display the short help of all the included packages
1232 -V, --version display version information and exit
1233 -q, --quiet, --silent do not print \`checking ...' messages
1234 --cache-file=FILE cache test results in FILE [disabled]
1235 -C, --config-cache alias for \`--cache-file=config.cache'
1236 -n, --no-create do not create output files
1237 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1239 Installation directories:
1240 --prefix=PREFIX install architecture-independent files in PREFIX
1241 [$ac_default_prefix]
1242 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1245 By default, \`make install' will install all the files in
1246 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1247 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1248 for instance \`--prefix=\$HOME'.
1250 For better control, use the options below.
1252 Fine tuning of the installation directories:
1253 --bindir=DIR user executables [EPREFIX/bin]
1254 --sbindir=DIR system admin executables [EPREFIX/sbin]
1255 --libexecdir=DIR program executables [EPREFIX/libexec]
1256 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1257 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1258 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1259 --libdir=DIR object code libraries [EPREFIX/lib]
1260 --includedir=DIR C header files [PREFIX/include]
1261 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1262 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1263 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1264 --infodir=DIR info documentation [DATAROOTDIR/info]
1265 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1266 --mandir=DIR man documentation [DATAROOTDIR/man]
1267 --docdir=DIR documentation root [DATAROOTDIR/doc/cygwin]
1268 --htmldir=DIR html documentation [DOCDIR]
1269 --dvidir=DIR dvi documentation [DOCDIR]
1270 --pdfdir=DIR pdf documentation [DOCDIR]
1271 --psdir=DIR ps documentation [DOCDIR]
1277 --program-prefix=PREFIX prepend PREFIX to installed program names
1278 --program-suffix=SUFFIX append SUFFIX to installed program names
1279 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1282 --build=BUILD configure
for building on BUILD
[guessed
]
1283 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1284 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1288 if test -n "$ac_init_help"; then
1289 case $ac_init_help in
1290 short | recursive
) echo "Configuration of Cygwin Utils 0:";;
1295 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1296 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
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
1312 Use these variables to override the choices made by
`configure' or to help
1313 it to find libraries and programs with nonstandard names/locations.
1315 Report bugs to <cygwin@cygwin.com>.
1316 Cygwin Utils home page: <https://cygwin.com>.
1321 if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1346 .) # We are building in place.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1379 Cygwin Utils configure 0
1380 generated by GNU Autoconf 2.69
1382 Copyright (C) 2012 Free Software Foundation, Inc.
1383 This configure script is free software; the Free Software Foundation
1384 gives unlimited permission to copy, distribute and modify it.
1389 ## ------------------------ ##
1390 ## Autoconf initialization. ##
1391 ## ------------------------ ##
1393 # ac_fn_c_try_compile LINENO
1394 # --------------------------
1395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1396 ac_fn_c_try_compile ()
1398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399 rm -f conftest.$ac_objext
1400 if { { ac_try="$ac_compile"
1402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1403 *) ac_try_echo
=$ac_try;;
1405 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406 $as_echo "$ac_try_echo"; } >&5
1407 (eval "$ac_compile") 2>conftest.err
1409 if test -s conftest.err
; then
1410 grep -v '^ *+' conftest.err
>conftest.er1
1411 cat conftest.er1
>&5
1412 mv -f conftest.er1 conftest.err
1414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415 test $ac_status = 0; } && {
1416 test -z "$ac_c_werror_flag" ||
1417 test ! -s conftest.err
1418 } && test -s conftest.
$ac_objext; then :
1421 $as_echo "$as_me: failed program was:" >&5
1422 sed 's/^/| /' conftest.
$ac_ext >&5
1426 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1427 as_fn_set_status
$ac_retval
1429 } # ac_fn_c_try_compile
1431 # ac_fn_cxx_try_compile LINENO
1432 # ----------------------------
1433 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1434 ac_fn_cxx_try_compile
()
1436 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1437 rm -f conftest.
$ac_objext
1438 if { { ac_try
="$ac_compile"
1440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1441 *) ac_try_echo=$ac_try;;
1443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1444 $as_echo "$ac_try_echo"; } >&5
1445 (eval "$ac_compile") 2>conftest.err
1447 if test -s conftest.err; then
1448 grep -v '^ *+' conftest.err >conftest.er1
1449 cat conftest.er1 >&5
1450 mv -f conftest.er1 conftest.err
1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453 test $ac_status = 0; } && {
1454 test -z "$ac_cxx_werror_flag" ||
1455 test ! -s conftest.err
1456 } && test -s conftest.$ac_objext; then :
1459 $as_echo "$as_me: failed program was:" >&5
1460 sed 's/^/| /' conftest.$ac_ext >&5
1464 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1465 as_fn_set_status $ac_retval
1467 } # ac_fn_cxx_try_compile
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Cygwin Utils $as_me 0, which was
1473 generated by GNU Autoconf 2.69. Invocation command line was
1485 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1486 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1487 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1488 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1489 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1491 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1492 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1494 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1495 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1496 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1497 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1498 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1499 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1500 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir=.
1509 $as_echo "PATH: $as_dir"
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1533 ac_must_keep_next=false
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1544 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1547 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1549 as_fn_append ac_configure_args1 " '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 -* ) ac_must_keep_next=true ;;
1565 as_fn_append ac_configure_args " '$ac_arg'"
1570 { ac_configure_args0=; unset ac_configure_args0;}
1571 { ac_configure_args1=; unset ac_configure_args1;}
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1583 $as_echo "## ---------------- ##
1584 ## Cache variables. ##
1585 ## ---------------- ##"
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1590 eval ac_val=\$$ac_var
1594 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1595 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1598 _ | IFS | as_nl) ;; #(
1599 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1600 *) { eval $ac_var=; unset $ac_var;} ;;
1605 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1606 *${as_nl}ac_space=\ *)
1608 "s/'\''/'\''\\\\'\'''\''/g;
1609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1619 $as_echo "## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##"
1623 for ac_var in $ac_subst_vars
1625 eval ac_val=\$$ac_var
1627 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629 $as_echo "$ac_var='\''$ac_val'\''"
1633 if test -n "$ac_subst_files"; then
1634 $as_echo "## ------------------- ##
1635 ## File substitutions. ##
1636 ## ------------------- ##"
1638 for ac_var in $ac_subst_files
1640 eval ac_val=\$$ac_var
1642 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1644 $as_echo "$ac_var='\''$ac_val'\''"
1649 if test -s confdefs.h; then
1650 $as_echo "## ----------- ##
1657 test "$ac_signal" != 0 &&
1658 $as_echo "$as_me: caught signal $ac_signal"
1659 $as_echo "$as_me: exit $exit_status"
1661 rm -f core *.core core.conftest.* &&
1662 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1665 for ac_signal in 1 2 13 15; do
1666 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1670 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1671 rm -f -r conftest* confdefs.h
1673 $as_echo "/* confdefs.h */" > confdefs.h
1675 # Predefined preprocessor variables.
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_NAME "$PACKAGE_NAME"
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_STRING "$PACKAGE_STRING"
1693 cat >>confdefs.h <<_ACEOF
1694 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_URL "$PACKAGE_URL"
1702 # Let the site file select an alternate cache file if it wants to.
1703 # Prefer an explicitly selected file to automatically selected ones.
1706 if test -n "$CONFIG_SITE"; then
1707 # We do not want a PATH search for config.site.
1708 case $CONFIG_SITE in #((
1709 -*) ac_site_file1=./$CONFIG_SITE;;
1710 */*) ac_site_file1=$CONFIG_SITE;;
1711 *) ac_site_file1=./$CONFIG_SITE;;
1713 elif test "x$prefix" != xNONE; then
1714 ac_site_file1=$prefix/share/config.site
1715 ac_site_file2=$prefix/etc/config.site
1717 ac_site_file1=$ac_default_prefix/share/config.site
1718 ac_site_file2=$ac_default_prefix/etc/config.site
1720 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1722 test "x$ac_site_file" = xNONE && continue
1723 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1725 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1726 sed 's/^/| /' "$ac_site_file" >&5
1728 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1730 as_fn_error $? "failed to load site
script $ac_site_file
1731 See \
`config.log' for more details" "$LINENO" 5; }
1735 if test -r "$cache_file"; then
1736 # Some versions of bash will fail to source /dev/null (special files
1737 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1738 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1740 $as_echo "$as_me: loading cache $cache_file" >&6;}
1742 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1743 *) . "./$cache_file";;
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1748 $as_echo "$as_me: creating cache $cache_file" >&6;}
1752 # Check that the precious variables saved in the cache have kept the same
1754 ac_cache_corrupted=false
1755 for ac_var in $ac_precious_vars; do
1756 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1757 eval ac_new_set=\$ac_env_${ac_var}_set
1758 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1759 eval ac_new_val=\$ac_env_${ac_var}_value
1760 case $ac_old_set,$ac_new_set in
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1763 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1764 ac_cache_corrupted=: ;;
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1767 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1768 ac_cache_corrupted=: ;;
1771 if test "x$ac_old_val" != "x$ac_new_val"; then
1772 # differences in whitespace do not lead to failure.
1773 ac_old_val_w=`echo x
$ac_old_val`
1774 ac_new_val_w=`echo x
$ac_new_val`
1775 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1777 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1778 ac_cache_corrupted=:
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1781 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1782 eval $ac_var=\$ac_old_val
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1785 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1787 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1790 # Pass precious variables to config.status.
1791 if test "$ac_new_set" = set; then
1793 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1794 *) ac_arg=$ac_var=$ac_new_val ;;
1796 case " $ac_configure_args " in
1797 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1798 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1802 if $ac_cache_corrupted; then
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1806 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1807 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1809 ## -------------------- ##
1810 ## Main body of script. ##
1811 ## -------------------- ##
1814 ac_cpp='$CPP $CPPFLAGS'
1815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1822 for ac_dir in ../.. "$srcdir"/../..; do
1823 if test -f "$ac_dir/install-sh"; then
1825 ac_install_sh="$ac_aux_dir/install-sh -c"
1827 elif test -f "$ac_dir/install.sh"; then
1829 ac_install_sh="$ac_aux_dir/install.sh -c"
1831 elif test -f "$ac_dir/shtool"; then
1833 ac_install_sh="$ac_aux_dir/shtool install -c"
1837 if test -z "$ac_aux_dir"; then
1838 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
1841 # These three variables are undocumented and unsupported,
1842 # and are intended to be withdrawn in a future Autoconf release.
1843 # They can cause serious problems if a builder's source tree is in a directory
1844 # whose full name contains unusual characters.
1845 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1846 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1847 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1853 . ${srcdir}/../configure.cygwin
1855 # Make sure we can run config.sub.
1856 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1857 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1860 $as_echo_n "checking build system type... " >&6; }
1861 if ${ac_cv_build+:} false; then :
1862 $as_echo_n "(cached) " >&6
1864 ac_build_alias=$build_alias
1865 test "x$ac_build_alias" = x &&
1866 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1867 test "x$ac_build_alias" = x &&
1868 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1869 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1870 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1874 $as_echo "$ac_cv_build" >&6; }
1875 case $ac_cv_build in
1877 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1880 ac_save_IFS=$IFS; IFS='-'
1886 # Remember, the first character of IFS is used to create $*,
1887 # except with old shells:
1890 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1894 $as_echo_n "checking host system type... " >&6; }
1895 if ${ac_cv_host+:} false; then :
1896 $as_echo_n "(cached) " >&6
1898 if test "x$host_alias" = x; then
1899 ac_cv_host=$ac_cv_build
1901 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1902 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1907 $as_echo "$ac_cv_host" >&6; }
1910 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1913 ac_save_IFS=$IFS; IFS='-'
1919 # Remember, the first character of IFS is used to create $*,
1920 # except with old shells:
1923 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1927 $as_echo_n "checking target system type... " >&6; }
1928 if ${ac_cv_target+:} false; then :
1929 $as_echo_n "(cached) " >&6
1931 if test "x$target_alias" = x; then
1932 ac_cv_target=$ac_cv_host
1934 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1935 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1940 $as_echo "$ac_cv_target" >&6; }
1941 case $ac_cv_target in
1943 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1945 target=$ac_cv_target
1946 ac_save_IFS=$IFS; IFS='-'
1952 # Remember, the first character of IFS is used to create $*,
1953 # except with old shells:
1956 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
1959 # The aliases save the names the user supplied, while $host etc.
1960 # will get canonicalized.
1961 test -n "$target_alias" &&
1962 test "$program_prefix$program_suffix$program_transform_name" = \
1964 program_prefix=${target_alias}-
1968 ac_cpp='$CPP $CPPFLAGS'
1969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1972 if test -n "$ac_tool_prefix"; then
1973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1974 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1976 $as_echo_n "checking for $ac_word... " >&6; }
1977 if ${ac_cv_prog_CC+:} false; then :
1978 $as_echo_n "(cached) " >&6
1980 if test -n "$CC"; then
1981 ac_cv_prog_CC="$CC" # Let the user override the test.
1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987 test -z "$as_dir" && as_dir=.
1988 for ac_exec_ext in '' $ac_executable_extensions; do
1989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1990 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2001 if test -n "$CC"; then
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2003 $as_echo "$CC" >&6; }
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2006 $as_echo "no" >&6; }
2011 if test -z "$ac_cv_prog_CC"; then
2013 # Extract the first word of "gcc", so it can be a program name with args.
2014 set dummy gcc; ac_word=$2
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2016 $as_echo_n "checking for $ac_word... " >&6; }
2017 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2018 $as_echo_n "(cached) " >&6
2020 if test -n "$ac_ct_CC"; then
2021 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir=.
2028 for ac_exec_ext in '' $ac_executable_extensions; do
2029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030 ac_cv_prog_ac_ct_CC="gcc"
2031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2041 if test -n "$ac_ct_CC"; then
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2043 $as_echo "$ac_ct_CC" >&6; }
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2046 $as_echo "no" >&6; }
2049 if test "x$ac_ct_CC" = x; then
2052 case $cross_compiling:$ac_tool_warned in
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2056 ac_tool_warned=yes ;;
2064 if test -z "$CC"; then
2065 if test -n "$ac_tool_prefix"; then
2066 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2067 set dummy ${ac_tool_prefix}cc; ac_word=$2
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2069 $as_echo_n "checking for $ac_word... " >&6; }
2070 if ${ac_cv_prog_CC+:} false; then :
2071 $as_echo_n "(cached) " >&6
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC="$CC" # Let the user override the test.
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083 ac_cv_prog_CC="${ac_tool_prefix}cc"
2084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 if test -n "$CC"; then
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2096 $as_echo "$CC" >&6; }
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2099 $as_echo "no" >&6; }
2105 if test -z "$CC"; then
2106 # Extract the first word of "cc", so it can be a program name with args.
2107 set dummy cc; ac_word=$2
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2109 $as_echo_n "checking for $ac_word... " >&6; }
2110 if ${ac_cv_prog_CC+:} false; then :
2111 $as_echo_n "(cached) " >&6
2113 if test -n "$CC"; then
2114 ac_cv_prog_CC="$CC" # Let the user override the test.
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2124 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2125 ac_prog_rejected=yes
2129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2136 if test $ac_prog_rejected = yes; then
2137 # We found a bogon in the path, so make sure we never use it.
2138 set dummy $ac_cv_prog_CC
2140 if test $# != 0; then
2141 # We chose a different compiler from the bogus one.
2142 # However, it has the same basename, so the bogon will be chosen
2143 # first if we set CC to just the basename; use the full file name.
2145 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2151 if test -n "$CC"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2153 $as_echo "$CC" >&6; }
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2156 $as_echo "no" >&6; }
2161 if test -z "$CC"; then
2162 if test -n "$ac_tool_prefix"; then
2163 for ac_prog in cl.exe
2165 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2166 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168 $as_echo_n "checking for $ac_word... " >&6; }
2169 if ${ac_cv_prog_CC+:} false; then :
2170 $as_echo_n "(cached) " >&6
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir=.
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2182 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 if test -n "$CC"; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2195 $as_echo "$CC" >&6; }
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2198 $as_echo "no" >&6; }
2202 test -n "$CC" && break
2205 if test -z "$CC"; then
2207 for ac_prog in cl.exe
2209 # Extract the first word of "$ac_prog", so it can be a program name with args.
2210 set dummy $ac_prog; ac_word=$2
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2212 $as_echo_n "checking for $ac_word... " >&6; }
2213 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2214 $as_echo_n "(cached) " >&6
2216 if test -n "$ac_ct_CC"; then
2217 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223 test -z "$as_dir" && as_dir=.
2224 for ac_exec_ext in '' $ac_executable_extensions; do
2225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2226 ac_cv_prog_ac_ct_CC="$ac_prog"
2227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2236 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2237 if test -n "$ac_ct_CC"; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2239 $as_echo "$ac_ct_CC" >&6; }
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2242 $as_echo "no" >&6; }
2246 test -n "$ac_ct_CC" && break
2249 if test "x$ac_ct_CC" = x; then
2252 case $cross_compiling:$ac_tool_warned in
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2256 ac_tool_warned=yes ;;
2265 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2267 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2268 See \
`config.log' for more details" "$LINENO" 5; }
2270 # Provide some information about the compiler.
2271 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2274 for ac_option in --version -v -V -qversion; do
2275 { { ac_try="$ac_compiler $ac_option >&5"
2277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2278 *) ac_try_echo
=$ac_try;;
2280 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2281 $as_echo "$ac_try_echo"; } >&5
2282 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2284 if test -s conftest.err
; then
2286 ... rest of stderr output deleted ...
2287 10q' conftest.err
>conftest.er1
2288 cat conftest.er1
>&5
2290 rm -f conftest.er1 conftest.err
2291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2292 test $ac_status = 0; }
2295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2306 if { { ac_try
="$ac_link"
2308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2309 *) ac_try_echo=$ac_try;;
2311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2312 $as_echo "$ac_try_echo"; } >&5
2313 (eval "$ac_link") 2>&5
2315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2316 test $ac_status = 0; }; then
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2329 ac_clean_files_save=$ac_clean_files
2330 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2331 # Try to create an executable without -o first, disregard a.out.
2332 # It will help us diagnose broken compilers, and finding out an intuition
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2335 $as_echo_n "checking whether the C compiler works... " >&6; }
2336 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2338 # The possible output files:
2339 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2342 for ac_file in $ac_files
2345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2346 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2351 if { { ac_try="$ac_link_default"
2353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2354 *) ac_try_echo
=$ac_try;;
2356 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2357 $as_echo "$ac_try_echo"; } >&5
2358 (eval "$ac_link_default") 2>&5
2360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2361 test $ac_status = 0; }; then :
2362 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2363 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2364 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2365 # so that the user can short-circuit this test for compilers unknown to
2367 for ac_file
in $ac_files ''
2369 test -f "$ac_file" ||
continue
2371 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2374 # We found the default executable, but exeext='' is most
2378 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2380 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2382 # We set ac_cv_exeext here because the later test for it is not
2383 # safe: cross compilers may not add the suffix if given an `-o'
2384 # argument, so we may need to know it at that point already.
2385 # Even if this section looks crufty: it has the advantage of
2392 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2397 if test -z "$ac_file"; then :
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2399 $as_echo "no" >&6; }
2400 $as_echo "$as_me: failed program was:" >&5
2401 sed 's/^/| /' conftest.
$ac_ext >&5
2403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2405 as_fn_error
77 "C compiler cannot create executables
2406 See \`config.log' for more details" "$LINENO" 5; }
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2409 $as_echo "yes" >&6; }
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2412 $as_echo_n "checking for C compiler default output file name... " >&6; }
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2414 $as_echo "$ac_file" >&6; }
2415 ac_exeext
=$ac_cv_exeext
2417 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2418 ac_clean_files
=$ac_clean_files_save
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2420 $as_echo_n "checking for suffix of executables... " >&6; }
2421 if { { ac_try
="$ac_link"
2423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2427 $as_echo "$ac_try_echo"; } >&5
2428 (eval "$ac_link") 2>&5
2430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2431 test $ac_status = 0; }; then :
2432 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2433 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2434 # work properly (i.e., refer to `conftest.exe'), while it won't with
2436 for ac_file
in conftest.exe conftest conftest.
*; do
2437 test -f "$ac_file" ||
continue
2439 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2440 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2449 See \`config.log' for more details" "$LINENO" 5; }
2451 rm -f conftest conftest
$ac_cv_exeext
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2453 $as_echo "$ac_cv_exeext" >&6; }
2455 rm -f conftest.
$ac_ext
2456 EXEEXT
=$ac_cv_exeext
2458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2459 /* end confdefs.h. */
2464 FILE *f = fopen ("conftest.out", "w");
2465 return ferror (f) || fclose (f) != 0;
2471 ac_clean_files
="$ac_clean_files conftest.out"
2472 # Check that the compiler produces executables we can run. If not, either
2473 # the compiler is broken, or we cross compile.
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2475 $as_echo_n "checking whether we are cross compiling... " >&6; }
2476 if test "$cross_compiling" != yes; then
2477 { { ac_try
="$ac_link"
2479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2480 *) ac_try_echo=$ac_try;;
2482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2483 $as_echo "$ac_try_echo"; } >&5
2484 (eval "$ac_link") 2>&5
2486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2487 test $ac_status = 0; }
2488 if { ac_try='./conftest$ac_cv_exeext'
2489 { { case "(($ac_try" in
2490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2491 *) ac_try_echo
=$ac_try;;
2493 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2494 $as_echo "$ac_try_echo"; } >&5
2495 (eval "$ac_try") 2>&5
2497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2498 test $ac_status = 0; }; }; then
2501 if test "$cross_compiling" = maybe
; then
2504 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2506 as_fn_error $?
"cannot run C compiled programs.
2507 If you meant to cross compile, use \`--host'.
2508 See \`config.log' for more details" "$LINENO" 5; }
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2513 $as_echo "$cross_compiling" >&6; }
2515 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2516 ac_clean_files
=$ac_clean_files_save
2519 rm -f -r a.out a.exe b.out conftest.
$ac_ext conftest.o conftest.obj conftest.dSYM
2521 # Setting cross_compile will disable run tests; it will
2522 # also disable AC_CHECK_FILE but that's generally
2523 # correct if we can't link.
2526 # Check that the compiler produces executables we can run. If not, either
2527 # the compiler is broken, or we cross compile.
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2529 $as_echo_n "checking whether we are cross compiling... " >&6; }
2530 if test "$cross_compiling" != yes; then
2531 { { ac_try
="$ac_link"
2533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2534 *) ac_try_echo=$ac_try;;
2536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_link") 2>&5
2540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2541 test $ac_status = 0; }
2542 if { ac_try='./conftest$ac_cv_exeext'
2543 { { case "(($ac_try" in
2544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2545 *) ac_try_echo
=$ac_try;;
2547 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2548 $as_echo "$ac_try_echo"; } >&5
2549 (eval "$ac_try") 2>&5
2551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2552 test $ac_status = 0; }; }; then
2555 if test "$cross_compiling" = maybe
; then
2558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2560 as_fn_error $?
"cannot run C compiled programs.
2561 If you meant to cross compile, use \`--host'.
2562 See \`config.log' for more details" "$LINENO" 5; }
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2567 $as_echo "$cross_compiling" >&6; }
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2571 $as_echo_n "checking for suffix of object files... " >&6; }
2572 if ${ac_cv_objext+:} false
; then :
2573 $as_echo_n "(cached) " >&6
2575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2576 /* end confdefs.h. */
2586 rm -f conftest.o conftest.obj
2587 if { { ac_try
="$ac_compile"
2589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2593 $as_echo "$ac_try_echo"; } >&5
2594 (eval "$ac_compile") 2>&5
2596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2597 test $ac_status = 0; }; then :
2598 for ac_file in conftest.o conftest.obj conftest.*; do
2599 test -f "$ac_file" || continue;
2601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2602 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2607 $as_echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2612 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2613 See \
`config.log' for more details" "$LINENO" 5; }
2615 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2618 $as_echo "$ac_cv_objext" >&6; }
2619 OBJEXT=$ac_cv_objext
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2622 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2623 if ${ac_cv_c_compiler_gnu+:} false; then :
2624 $as_echo_n "(cached) " >&6
2626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2640 if ac_fn_c_try_compile "$LINENO"; then :
2645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2646 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2650 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2651 if test $ac_compiler_gnu = yes; then
2656 ac_test_CFLAGS=${CFLAGS+set}
2657 ac_save_CFLAGS=$CFLAGS
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2659 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2660 if ${ac_cv_prog_cc_g+:} false; then :
2661 $as_echo_n "(cached) " >&6
2663 ac_save_c_werror_flag=$ac_c_werror_flag
2664 ac_c_werror_flag=yes
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2678 if ac_fn_c_try_compile "$LINENO"; then :
2682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2683 /* end confdefs.h. */
2693 if ac_fn_c_try_compile "$LINENO"; then :
2696 ac_c_werror_flag=$ac_save_c_werror_flag
2698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2699 /* end confdefs.h. */
2709 if ac_fn_c_try_compile "$LINENO"; then :
2712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2717 ac_c_werror_flag=$ac_save_c_werror_flag
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2720 $as_echo "$ac_cv_prog_cc_g" >&6; }
2721 if test "$ac_test_CFLAGS" = set; then
2722 CFLAGS=$ac_save_CFLAGS
2723 elif test $ac_cv_prog_cc_g = yes; then
2724 if test "$GCC" = yes; then
2730 if test "$GCC" = yes; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2737 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2738 if ${ac_cv_prog_cc_c89+:} false; then :
2739 $as_echo_n "(cached) " >&6
2741 ac_cv_prog_cc_c89=no
2743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2744 /* end confdefs.h. */
2748 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2749 struct buf { int x; };
2750 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2751 static char *e (p, i)
2757 static char *f (char * (*g) (char **, int), char **p, ...)
2762 s = g (p, va_arg (v,int));
2767 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2768 function prototypes and stuff, but not '\xHH' hex character constants.
2769 These don't provoke an error unfortunately, instead are silently treated
2770 as 'x'. The following induces an error, until -std is added to get
2771 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2772 array size at least. It's necessary to write '\x00'==0 to get something
2773 that's true only with -std. */
2774 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2776 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2777 inside strings and character constants. */
2779 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2781 int test (int i, double x);
2782 struct s1 {int (*f) (int a);};
2783 struct s2 {int (*f) (double a);};
2784 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2790 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2795 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2796 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2798 CC="$ac_save_CC $ac_arg"
2799 if ac_fn_c_try_compile "$LINENO"; then :
2800 ac_cv_prog_cc_c89=$ac_arg
2802 rm -f core conftest.err conftest.$ac_objext
2803 test "x$ac_cv_prog_cc_c89" != "xno" && break
2805 rm -f conftest.$ac_ext
2810 case "x$ac_cv_prog_cc_c89" in
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2813 $as_echo "none needed" >&6; } ;;
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2816 $as_echo "unsupported" >&6; } ;;
2818 CC="$CC $ac_cv_prog_cc_c89"
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2820 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2822 if test "x$ac_cv_prog_cc_c89" != xno; then :
2827 ac_cpp='$CPP $CPPFLAGS'
2828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2835 # Check whether --with-windows-headers was given.
2836 if test "${with_windows_headers+set}" = set; then :
2837 withval=$with_windows_headers; test -z "$withval" && as_fn_error $? "must specify value for --with-windows-headers" "$LINENO" 5
2844 # Check whether --with-windows-libs was given.
2845 if test "${with_windows_libs+set}" = set; then :
2846 withval=$with_windows_libs; test -z "$withval" && as_fn_error $? "must specify value for --with-windows-libs" "$LINENO" 5
2850 windows_libdir=$(realdirpath "$with_windows_libs")
2851 if test -z "$windows_libdir"; then
2852 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'))
2853 if test -z "$windows_libdir"; then
2854 as_fn_error $? "cannot find windows library files" "$LINENO" 5
2862 ac_cpp='$CXXCPP $CPPFLAGS'
2863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2866 if test -z "$CXX"; then
2867 if test -n "$CCC"; then
2870 if test -n "$ac_tool_prefix"; then
2871 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2873 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2874 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876 $as_echo_n "checking for $ac_word... " >&6; }
2877 if ${ac_cv_prog_CXX+:} false; then :
2878 $as_echo_n "(cached) " >&6
2880 if test -n "$CXX"; then
2881 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir=.
2888 for ac_exec_ext in '' $ac_executable_extensions; do
2889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2890 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2901 if test -n "$CXX"; then
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2903 $as_echo "$CXX" >&6; }
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906 $as_echo "no" >&6; }
2910 test -n "$CXX" && break
2913 if test -z "$CXX"; then
2915 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2917 # Extract the first word of "$ac_prog", so it can be a program name with args.
2918 set dummy $ac_prog; ac_word=$2
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920 $as_echo_n "checking for $ac_word... " >&6; }
2921 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2922 $as_echo_n "(cached) " >&6
2924 if test -n "$ac_ct_CXX"; then
2925 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir=.
2932 for ac_exec_ext in '' $ac_executable_extensions; do
2933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2934 ac_cv_prog_ac_ct_CXX="$ac_prog"
2935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2944 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2945 if test -n "$ac_ct_CXX"; then
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2947 $as_echo "$ac_ct_CXX" >&6; }
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950 $as_echo "no" >&6; }
2954 test -n "$ac_ct_CXX" && break
2957 if test "x$ac_ct_CXX" = x; then
2960 case $cross_compiling:$ac_tool_warned in
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2964 ac_tool_warned=yes ;;
2972 # Provide some information about the compiler.
2973 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2976 for ac_option in --version -v -V -qversion; do
2977 { { ac_try="$ac_compiler $ac_option >&5"
2979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2980 *) ac_try_echo
=$ac_try;;
2982 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983 $as_echo "$ac_try_echo"; } >&5
2984 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2986 if test -s conftest.err
; then
2988 ... rest of stderr output deleted ...
2989 10q' conftest.err
>conftest.er1
2990 cat conftest.er1
>&5
2992 rm -f conftest.er1 conftest.err
2993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994 test $ac_status = 0; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2998 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2999 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3000 $as_echo_n "(cached) " >&6
3002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3016 if ac_fn_cxx_try_compile
"$LINENO"; then :
3021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3022 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3026 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3027 if test $ac_compiler_gnu = yes; then
3032 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3033 ac_save_CXXFLAGS
=$CXXFLAGS
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3035 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3036 if ${ac_cv_prog_cxx_g+:} false
; then :
3037 $as_echo_n "(cached) " >&6
3039 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3040 ac_cxx_werror_flag
=yes
3043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3054 if ac_fn_cxx_try_compile
"$LINENO"; then :
3055 ac_cv_prog_cxx_g
=yes
3058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3069 if ac_fn_cxx_try_compile
"$LINENO"; then :
3072 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3085 if ac_fn_cxx_try_compile
"$LINENO"; then :
3086 ac_cv_prog_cxx_g
=yes
3088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3093 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3096 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3097 if test "$ac_test_CXXFLAGS" = set; then
3098 CXXFLAGS
=$ac_save_CXXFLAGS
3099 elif test $ac_cv_prog_cxx_g = yes; then
3100 if test "$GXX" = yes; then
3106 if test "$GXX" = yes; then
3113 ac_cpp
='$CPP $CPPFLAGS'
3114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3120 addto_CPPFLAGS
-nostdinc
3121 : ${ac_cv_prog_CXX:=$CXX}
3122 : ${ac_cv_prog_CC:=$CC}
3124 cygwin_headers
=$
(realdirpath
"$winsup_srcdir/cygwin/include")
3125 if test -z "$cygwin_headers"; then
3126 as_fn_error $?
"cannot find $winsup_srcdir/cygwin/include directory" "$LINENO" 5
3129 newlib_headers
=$
(realdirpath
$winsup_srcdir/..
/newlib
/libc
/include
)
3130 if test -z "$newlib_headers"; then
3131 as_fn_error $?
"cannot find newlib source directory: $winsup_srcdir/../newlib/libc/include" "$LINENO" 5
3133 newlib_headers
="$target_builddir/newlib/targ-include $newlib_headers"
3135 if test -n "$with_windows_headers"; then
3136 if test -e "$with_windows_headers/windef.h"; then
3137 windows_headers
="$with_windows_headers"
3139 as_fn_error $?
"cannot find windef.h in specified --with-windows-headers path: $saw_windows_headers" "$LINENO" 5;
3141 elif test -d "$winsup_srcdir/w32api/include/windef.h"; then
3142 windows_headers
="$winsup_srcdir/w32api/include"
3144 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)
3145 if test -z "$windows_headers" -o ! -d "$windows_headers"; then
3146 as_fn_error $?
"cannot find windows header files" "$LINENO" 5
3158 test "$program_prefix" != NONE
&&
3159 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3160 # Use a double $ so make ignores it.
3161 test "$program_suffix" != NONE
&&
3162 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3163 # Double any \ or $.
3164 # By default was `s,x,x', remove it if useless.
3165 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3166 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3169 # Find a good install program. We prefer a C program (faster),
3170 # so one script is as good as another. But avoid the broken or
3171 # incompatible versions:
3172 # SysV /etc/install, /usr/sbin/install
3173 # SunOS /usr/etc/install
3174 # IRIX /sbin/install
3176 # AmigaOS /C/install, which installs bootblocks on floppy discs
3177 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3178 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3179 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3180 # OS/2's system install, which has a completely different semantic
3181 # ./install, which can be erroneously created by make from ./install.sh.
3182 # Reject install programs that cannot install multiple files.
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3184 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3185 if test -z "$INSTALL"; then
3186 if ${ac_cv_path_install+:} false
; then :
3187 $as_echo_n "(cached) " >&6
3189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3193 test -z "$as_dir" && as_dir
=.
3194 # Account for people who put trailing slashes in PATH elements.
3195 case $as_dir/ in #((
3196 .
/ | .
// |
/[cC
]/* | \
3197 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3198 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3201 # OSF1 and SCO ODT 3.0 have their own names for install.
3202 # Don't use installbsd from OSF since it installs stuff as root
3204 for ac_prog
in ginstall scoinst
install; do
3205 for ac_exec_ext
in '' $ac_executable_extensions; do
3206 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3207 if test $ac_prog = install &&
3208 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3209 # AIX install. It has an incompatible calling convention.
3211 elif test $ac_prog = install &&
3212 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3213 # program-specific install script used by HP pwplus--don't use.
3216 rm -rf conftest.one conftest.two conftest.dir
3217 echo one
> conftest.one
3218 echo two
> conftest.two
3220 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3221 test -s conftest.one
&& test -s conftest.two
&&
3222 test -s conftest.dir
/conftest.one
&&
3223 test -s conftest.dir
/conftest.two
3225 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3238 rm -rf conftest.one conftest.two conftest.dir
3241 if test "${ac_cv_path_install+set}" = set; then
3242 INSTALL
=$ac_cv_path_install
3244 # As a last resort, use the slow shell script. Don't cache a
3245 # value for INSTALL within a source directory, because that will
3246 # break other packages using the cache if that directory is
3247 # removed, or if the value is a relative name.
3248 INSTALL
=$ac_install_sh
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3252 $as_echo "$INSTALL" >&6; }
3254 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3255 # It thinks the first close brace ends the variable substitution.
3256 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3258 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3260 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3263 for ac_prog
in ${target_cpu}-w64-mingw32-g++
3265 # Extract the first word of "$ac_prog", so it can be a program name with args.
3266 set dummy
$ac_prog; ac_word
=$2
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268 $as_echo_n "checking for $ac_word... " >&6; }
3269 if ${ac_cv_prog_MINGW_CXX+:} false
; then :
3270 $as_echo_n "(cached) " >&6
3272 if test -n "$MINGW_CXX"; then
3273 ac_cv_prog_MINGW_CXX
="$MINGW_CXX" # Let the user override the test.
3275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3279 test -z "$as_dir" && as_dir
=.
3280 for ac_exec_ext
in '' $ac_executable_extensions; do
3281 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3282 ac_cv_prog_MINGW_CXX
="$ac_prog"
3283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 MINGW_CXX
=$ac_cv_prog_MINGW_CXX
3293 if test -n "$MINGW_CXX"; then
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MINGW_CXX" >&5
3295 $as_echo "$MINGW_CXX" >&6; }
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298 $as_echo "no" >&6; }
3302 test -n "$MINGW_CXX" && break
3305 test -n "$MINGW_CXX" || as_fn_error $?
"no acceptable mingw g++ found in \$PATH" "$LINENO" 5
3310 for f
in $ac_configure_args; do
3313 *) configure_args
="$configure_args $f" ;;
3316 configure_args
=$
(/usr
/bin
/expr "$configure_args" : 'X \(.*\)')
3319 ac_config_files
="$ac_config_files Makefile"
3321 cat >confcache
<<\_ACEOF
3322 # This file is a shell script that caches the results of configure
3323 # tests run on this system so they can be shared between configure
3324 # scripts and configure runs, see configure's option --config-cache.
3325 # It is not useful on other systems. If it contains results you don't
3326 # want to keep, you may remove or edit it.
3328 # config.status only pays attention to the cache file if you give it
3329 # the --recheck option to rerun configure.
3331 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3337 # The following way of writing the cache mishandles newlines in values,
3338 # but we know of no workaround that is simple, portable, and efficient.
3339 # So, we kill variables containing newlines.
3340 # Ultrix sh set writes to stderr and can't be redirected directly,
3341 # and sets the high bit in the cache file unless we assign to the vars.
3343 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3344 eval ac_val
=\$
$ac_var
3348 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3349 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3352 _ | IFS | as_nl
) ;; #(
3353 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3354 *) { eval $ac_var=; unset $ac_var;} ;;
3360 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3361 *${as_nl}ac_space
=\
*)
3362 # `set' does not quote correctly, so add quotes: double-quote
3363 # substitution turns \\\\ into \\, and sed turns \\ into \.
3366 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3369 # `set' quotes correctly as required by POSIX, so do not add quotes.
3370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3379 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3381 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3383 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3384 if test -w "$cache_file"; then
3385 if test "x$cache_file" != "x/dev/null"; then
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3387 $as_echo "$as_me: updating cache $cache_file" >&6;}
3388 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3389 cat confcache
>"$cache_file"
3391 case $cache_file in #(
3393 mv -f confcache
"$cache_file"$$
&&
3394 mv -f "$cache_file"$$
"$cache_file" ;; #(
3396 mv -f confcache
"$cache_file" ;;
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3402 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3407 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3408 # Let make expand exec_prefix.
3409 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3411 # Transform confdefs.h into DEFS.
3412 # Protect against shell expansion while executing Makefile rules.
3413 # Protect against Makefile macro expansion.
3415 # If the first sed substitution is executed (which looks for macros that
3416 # take arguments), then branch to the quote section. Otherwise,
3417 # look for a macro that doesn't take arguments.
3427 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3429 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3433 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3446 DEFS
=`sed -n "$ac_script" confdefs.h`
3452 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3453 # 1. Remove the extension, and $U if already installed.
3454 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3455 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3456 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3457 # will be set to the directory where LIBOBJS objects are built.
3458 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3459 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3463 LTLIBOBJS
=$ac_ltlibobjs
3467 : "${CONFIG_STATUS=./config.status}"
3469 ac_clean_files_save
=$ac_clean_files
3470 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3472 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3474 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3476 # Generated by $as_me.
3477 # Run this file to recreate the current configuration.
3478 # Compiler output produced by configure, useful for debugging
3479 # configure, is in config.log if it exists.
3485 SHELL=\${CONFIG_SHELL-$SHELL}
3488 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3489 ## -------------------- ##
3490 ## M4sh Initialization. ##
3491 ## -------------------- ##
3493 # Be more Bourne compatible
3494 DUALCASE
=1; export DUALCASE
# for MKS sh
3495 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3498 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3499 # is contrary to our usage. Disable this feature.
3500 alias -g '${1+"$@"}'='"$@"'
3501 setopt NO_GLOB_SUBST
3503 case `(set -o) 2>/dev/null` in #(
3515 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3516 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3517 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3518 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3519 # Prefer a ksh shell builtin over an external printf program on Solaris,
3520 # but without wasting forks for bash or zsh.
3521 if test -z "$BASH_VERSION$ZSH_VERSION" \
3522 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3523 as_echo='print
-r --'
3524 as_echo_n='print
-rn --'
3525 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3526 as_echo='printf %s
\n'
3527 as_echo_n='printf %s
'
3529 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3530 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3531 as_echo_n='/usr
/ucb
/echo -n'
3533 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3534 as_echo_n_body='eval
3538 expr "X$arg" : "X\\(.*\\)$as_nl";
3539 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3541 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3543 export as_echo_n_body
3544 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3547 as_echo='sh
-c $as_echo_body as_echo
'
3550 # The user is always right.
3551 if test "${PATH_SEPARATOR+set}" != set; then
3553 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3554 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3561 # We need space, tab and new line, in precisely that order. Quoting is
3562 # there to prevent editors from complaining about space-tab.
3563 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3564 # splitting by setting IFS to empty value.)
3567 # Find who we are. Look in the path if we contain no directory separator.
3570 *[\\/]* ) as_myself=$0 ;;
3571 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 test -z "$as_dir" && as_dir=.
3576 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3582 # We did not find ourselves, most probably we were run as `sh COMMAND'
3583 # in which case we are not to be found in the path.
3584 if test "x$as_myself" = x
; then
3587 if test ! -f "$as_myself"; then
3588 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3592 # Unset variables that we do not need and which cause bugs (e.g. in
3593 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3594 # suppresses any "Segmentation fault" message there. '((' could
3595 # trigger a bug in pdksh 5.2.14.
3596 for as_var
in BASH_ENV ENV MAIL MAILPATH
3597 do eval test x\
${$as_var+set} = xset \
3598 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3611 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3614 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3615 # ----------------------------------------
3616 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3617 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3618 # script with STATUS, using 1 if that was 0.
3621 as_status
=$1; test $as_status -eq 0 && as_status
=1
3623 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3624 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3626 $as_echo "$as_me: error: $2" >&2
3627 as_fn_exit
$as_status
3631 # as_fn_set_status STATUS
3632 # -----------------------
3633 # Set $? to STATUS, without forking.
3637 } # as_fn_set_status
3641 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3651 # Portably unset VAR.
3654 { eval $1=; unset $1;}
3656 as_unset
=as_fn_unset
3657 # as_fn_append VAR VALUE
3658 # ----------------------
3659 # Append the text in VALUE to the end of the definition contained in VAR. Take
3660 # advantage of any shell optimizations that allow amortized linear growth over
3661 # repeated appends, instead of the typical quadratic growth present in naive
3663 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3664 eval 'as_fn_append ()
3675 # as_fn_arith ARG...
3676 # ------------------
3677 # Perform arithmetic evaluation on the ARGs, and store the result in the
3678 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3679 # must be portable across $(()) and expr.
3680 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3681 eval 'as_fn_arith ()
3688 as_val
=`expr "$@" || test $? -eq 1`
3693 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3694 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3700 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3701 as_basename
=basename
3706 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3712 as_me
=`$as_basename -- "$0" ||
3713 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3714 X"$0" : 'X\(//\)$' \| \
3715 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3717 sed '/^.*\/\([^/][^/]*\)\/*$/{
3731 # Avoid depending upon Character Ranges.
3732 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3733 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3734 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3735 as_cr_digits
='0123456789'
3736 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3738 ECHO_C
= ECHO_N
= ECHO_T
=
3739 case `echo -n x` in #(((((
3741 case `echo 'xy\c'` in
3742 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3744 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3751 rm -f conf$$ conf$$.exe conf$$.
file
3752 if test -d conf$$.dir
; then
3753 rm -f conf$$.dir
/conf$$.
file
3756 mkdir conf$$.dir
2>/dev
/null
3758 if (echo >conf$$.
file) 2>/dev
/null
; then
3759 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3761 # ... but there are two gotchas:
3762 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3763 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3764 # In both cases, we have to default to `cp -pR'.
3765 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3767 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3775 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3776 rmdir conf$$.dir
2>/dev
/null
3781 # Create "$as_dir" as a directory, including parents if necessary.
3786 -*) as_dir
=.
/$as_dir;;
3788 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3792 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3793 *) as_qdir
=$as_dir;;
3795 as_dirs
="'$as_qdir' $as_dirs"
3796 as_dir
=`$as_dirname -- "$as_dir" ||
3797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3798 X"$as_dir" : 'X\(//\)[^/]' \| \
3799 X"$as_dir" : 'X\(//\)$' \| \
3800 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3801 $as_echo X"$as_dir" |
3802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3819 test -d "$as_dir" && break
3821 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3822 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
3826 if mkdir
-p .
2>/dev
/null
; then
3827 as_mkdir_p
='mkdir -p "$as_dir"'
3829 test -d .
/-p && rmdir .
/-p
3834 # as_fn_executable_p FILE
3835 # -----------------------
3836 # Test if FILE is an executable regular file.
3837 as_fn_executable_p
()
3839 test -f "$1" && test -x "$1"
3840 } # as_fn_executable_p
3842 as_executable_p
=as_fn_executable_p
3844 # Sed expression to map a string onto a valid CPP name.
3845 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3847 # Sed expression to map a string onto a valid variable name.
3848 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3852 ## ----------------------------------- ##
3853 ## Main body of $CONFIG_STATUS script. ##
3854 ## ----------------------------------- ##
3856 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3859 # Save the log message, to keep $0 and so on meaningful, and to
3860 # report actual input values of CONFIG_FILES etc. instead of their
3861 # values after options handling.
3863 This file was extended by Cygwin Utils $as_me 0, which was
3864 generated by GNU Autoconf 2.69. Invocation command line was
3866 CONFIG_FILES = $CONFIG_FILES
3867 CONFIG_HEADERS = $CONFIG_HEADERS
3868 CONFIG_LINKS = $CONFIG_LINKS
3869 CONFIG_COMMANDS = $CONFIG_COMMANDS
3872 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3877 case $ac_config_files in *"
3878 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3884 # Files that config.status was made for.
3885 config_files="$ac_config_files"
3889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3891 \`$as_me' instantiates files and other configuration actions
3892 from templates according to the current configuration. Unless the files
3893 and actions are specified as TAGs, all are instantiated by default.
3895 Usage: $0 [OPTION]... [TAG]...
3897 -h, --help print this help, then exit
3898 -V, --version print version number and configuration settings, then exit
3899 --config print configuration, then exit
3900 -q, --quiet, --silent
3901 do not print progress messages
3902 -d, --debug don't remove temporary files
3903 --recheck update $as_me by reconfiguring in the same conditions
3904 --file=FILE[:TEMPLATE]
3905 instantiate the configuration file FILE
3907 Configuration files:
3910 Report bugs to <cygwin@cygwin.com>.
3911 Cygwin Utils home page: <https://cygwin.com>."
3914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3915 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3917 Cygwin Utils config.status 0
3918 configured by $0, generated by GNU Autoconf 2.69,
3919 with options \\"\$ac_cs_config\\"
3921 Copyright (C) 2012 Free Software Foundation, Inc.
3922 This config.status script is free software; the Free Software Foundation
3923 gives unlimited permission to copy, distribute and modify it."
3928 test -n "\$AWK" || AWK=awk
3931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3932 # The default lists apply if the user does not specify any file.
3938 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3939 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3943 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3955 # Handling of the options.
3956 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3958 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3959 $as_echo "$ac_cs_version"; exit ;;
3960 --config |
--confi |
--conf |
--con |
--co |
--c )
3961 $as_echo "$ac_cs_config"; exit ;;
3962 --debug |
--debu |
--deb |
--de |
--d |
-d )
3964 --file |
--fil |
--fi |
--f )
3967 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3968 '') as_fn_error $?
"missing file argument" ;;
3970 as_fn_append CONFIG_FILES
" '$ac_optarg'"
3971 ac_need_defaults
=false
;;
3972 --he |
--h |
--help |
--hel |
-h )
3973 $as_echo "$ac_cs_usage"; exit ;;
3974 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3975 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3979 -*) as_fn_error $?
"unrecognized option: \`$1'
3980 Try \`$0 --help' for more information." ;;
3982 *) as_fn_append ac_config_targets
" $1"
3983 ac_need_defaults
=false
;;
3989 ac_configure_extra_args
=
3991 if $ac_cs_silent; then
3993 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3998 if \$ac_cs_recheck; then
3999 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4001 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4002 CONFIG_SHELL='$SHELL'
4008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4012 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4013 ## Running $as_me. ##
4019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4024 # Handling of arguments.
4025 for ac_config_target
in $ac_config_targets
4027 case $ac_config_target in
4028 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4030 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4035 # If the user did not use the arguments to specify the items to instantiate,
4036 # then the envvar interface is used. Set only those that are not.
4037 # We use the long form for the default assignment because of an extremely
4038 # bizarre bug on SunOS 4.1.3.
4039 if $ac_need_defaults; then
4040 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4043 # Have a temporary directory for convenience. Make it in the build tree
4044 # simply because there is no reason against having it here, and in addition,
4045 # creating and moving files from /tmp can sometimes cause problems.
4046 # Hook for its removal unless debugging.
4047 # Note that there is a small window in which the directory will not be cleaned:
4048 # after its creation but before its name has been assigned to `$tmp'.
4052 trap 'exit_status=$?
4054 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4056 trap 'as_fn_exit 1' 1 2 13 15
4058 # Create a (secure) tmp directory for tmp files.
4061 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4065 tmp
=.
/conf$$
-$RANDOM
4066 (umask 077 && mkdir
"$tmp")
4067 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4070 # Set up the scripts for CONFIG_FILES section.
4071 # No need to generate them if there are no CONFIG_FILES.
4072 # This happens for instance with `./config.status config.h'.
4073 if test -n "$CONFIG_FILES"; then
4076 ac_cr
=`echo X | tr X '\015'`
4077 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4078 # But we know of no other shell where ac_cr would be empty at this
4079 # point, so we can use a bashism as a fallback.
4080 if test "x$ac_cr" = x
; then
4081 eval ac_cr
=\$
\'\\r
\'
4083 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4084 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4090 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4095 echo "cat >conf$$subs.awk <<_ACEOF" &&
4096 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4099 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4100 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4102 for ac_last_try in false false false false false :; do
4103 . ./conf$$subs.sh ||
4104 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4106 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4107 if test $ac_delim_n = $ac_delim_num; then
4109 elif $ac_last_try; then
4110 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4112 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4118 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4122 s/^/S["/; s
/!.
*/"]=/
4132 s/\(.\{148\}\)..*/\1/
4134 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4139 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4146 s/\(.\{148\}\)..*/\1/
4148 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4152 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4157 ' <conf$$subs.awk | sed '
4162 ' >>$CONFIG_STATUS || ac_write_fail=1
4163 rm -f conf$$subs.awk
4164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4166 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4167 for (key in S) S_is_set[key] = 1
4173 nfields = split(line, field, "@
")
4175 len = length(field[1])
4176 for (i = 2; i < nfields; i++) {
4178 keylen = length(key)
4179 if (S_is_set[key]) {
4181 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4182 len += length(value) + length(field[++i])
4193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4194 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4195 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4198 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4199 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4202 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4203 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4204 # trailing colons and then remove the whole line if VPATH becomes empty
4205 # (actually we leave an empty line to preserve line numbers).
4206 if test "x
$srcdir" = x.; then
4207 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4226 fi # test -n "$CONFIG_FILES"
4229 eval set X " :F
$CONFIG_FILES "
4234 :[FHLC]) ac_mode=$ac_tag; continue;;
4236 case $ac_mode$ac_tag in
4238 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4239 :[FH]-) ac_tag=-:-;;
4240 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4257 -) ac_f="$ac_tmp/stdin";;
4258 *) # Look for the file first in the build tree, then in the source tree
4259 # (if the path is not absolute). The absolute path cannot be DOS-style,
4260 # because $ac_f cannot contain `:'.
4264 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4266 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4268 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4269 as_fn_append ac_file_inputs " '$ac_f'"
4272 # Let's still pretend it is `configure' which instantiates (i.e., don't
4273 # use $as_me), people would be surprised to read:
4274 # /* config.h. Generated by config.status. */
4275 configure_input='Generated from '`
4276 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4278 if test x"$ac_file" != x-; then
4279 configure_input="$ac_file.
$configure_input"
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4281 $as_echo "$as_me: creating
$ac_file" >&6;}
4283 # Neutralize special characters interpreted by sed in replacement strings.
4284 case $configure_input in #(
4285 *\&* | *\|* | *\\* )
4286 ac_sed_conf_input=`$as_echo "$configure_input" |
4287 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4288 *) ac_sed_conf_input=$configure_input;;
4292 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4293 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4298 ac_dir=`$as_dirname -- "$ac_file" ||
4299 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4300 X"$ac_file" : 'X\(//\)[^/]' \| \
4301 X"$ac_file" : 'X\(//\)$' \| \
4302 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4303 $as_echo X"$ac_file" |
4304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4321 as_dir="$ac_dir"; as_fn_mkdir_p
4325 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4327 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4328 # A "..
" for each directory in $ac_dir_suffix.
4329 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4330 case $ac_top_builddir_sub in
4331 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4332 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4335 ac_abs_top_builddir=$ac_pwd
4336 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4337 # for backward compatibility:
4338 ac_top_builddir=$ac_top_build_prefix
4341 .) # We are building in place.
4343 ac_top_srcdir=$ac_top_builddir_sub
4344 ac_abs_top_srcdir=$ac_pwd ;;
4345 [\\/]* | ?:[\\/]* ) # Absolute name.
4346 ac_srcdir=$srcdir$ac_dir_suffix;
4347 ac_top_srcdir=$srcdir
4348 ac_abs_top_srcdir=$srcdir ;;
4350 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4351 ac_top_srcdir=$ac_top_build_prefix$srcdir
4352 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4354 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4364 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4365 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4370 # If the template does not know about datarootdir, expand it.
4371 # FIXME: This hack should be removed a few years after 2.60.
4372 ac_datarootdir_hack=; ac_datarootdir_seen=
4383 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4384 *datarootdir*) ac_datarootdir_seen=yes;;
4385 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4387 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4390 ac_datarootdir_hack='
4391 s&@datadir@&$datadir&g
4392 s&@docdir@&$docdir&g
4393 s&@infodir@&$infodir&g
4394 s&@localedir@&$localedir&g
4395 s&@mandir@&$mandir&g
4396 s&\\\${datarootdir}&$datarootdir&g' ;;
4400 # Neutralize VPATH when `$srcdir' = `.'.
4401 # Shell code in configure.ac might set extrasub.
4402 # FIXME: do we really want to maintain this feature?
4403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4404 ac_sed_extra="$ac_vpsub
4407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4409 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4410 s|@configure_input@|
$ac_sed_conf_input|
;t t
4411 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4412 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4413 s
&@srcdir@
&$ac_srcdir&;t t
4414 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4415 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4416 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4417 s
&@builddir@
&$ac_builddir&;t t
4418 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4419 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4420 s
&@INSTALL@
&$ac_INSTALL&;t t
4421 $ac_datarootdir_hack
4423 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4424 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4426 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4427 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4428 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4429 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4431 which seems to be undefined. Please make sure it is defined" >&5
4432 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4433 which seems to be undefined. Please make sure it is defined" >&2;}
4435 rm -f "$ac_tmp/stdin"
4437 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4438 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4440 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4452 ac_clean_files=$ac_clean_files_save
4454 test $ac_write_fail = 0 ||
4455 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4458 # configure is writing to config.log, and then calls config.status.
4459 # config.status does its own redirection, appending to config.log.
4460 # Unfortunately, on DOS this fails, as config.log is still kept open
4461 # by configure, so config.status won't be able to
write to it
; its
4462 # output is simply discarded. So we exec the FD to /dev/null,
4463 # effectively closing config.log, so it can be properly (re)opened and
4464 # appended to by config.status. When coming back to configure, we
4465 # need to make the FD available again.
4466 if test "$no_create" != yes; then
4468 ac_config_status_args
=
4469 test "$silent" = yes &&
4470 ac_config_status_args
="$ac_config_status_args --quiet"
4472 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4474 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4475 # would make configure fail if this is the last instruction.
4476 $ac_cs_success || as_fn_exit
1
4478 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4480 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}