2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for mingw-w64 1.0b.
5 # Report bugs to <mingw-w64-public@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
220 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 if test x
$as_have_required = xno
; then :
226 $as_echo "$0: This script requires a shell more modern than all"
227 $as_echo "$0: the shells that I found on your system."
228 if test x
${ZSH_VERSION+set} = xset
; then
229 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 $as_echo "$0: Please tell bug-autoconf@gnu.org and
233 $0: mingw-w64-public@lists.sourceforge.net about your
234 $0: system, including any error possibly output before this
235 $0: message. Then install a modern shell, or manually run
236 $0: the script under such a shell if you do have one."
242 SHELL
=${CONFIG_SHELL-/bin/sh}
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE
= GREP_OPTIONS
=
246 unset CLICOLOR_FORCE GREP_OPTIONS
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
253 # Portably unset VAR.
256 { eval $1=; unset $1;}
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 # Create "$as_dir" as a directory, including parents if necessary.
285 -*) as_dir
=.
/$as_dir;;
287 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
291 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 as_dirs
="'$as_qdir' $as_dirs"
295 as_dir
=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
318 test -d "$as_dir" && break
320 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
321 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
332 eval 'as_fn_append ()
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
356 as_val
=`expr "$@" || test $? -eq 1`
361 # as_fn_error ERROR [LINENO LOG_FD]
362 # ---------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with status $?, using 1 if that was 0.
368 as_status
=$?
; test $as_status -eq 0 && as_status
=1
370 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373 $as_echo "$as_me: error: $1" >&2
374 as_fn_exit
$as_status
377 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
378 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
384 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
396 as_me
=`$as_basename -- "$0" ||
397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398 X"$0" : 'X\(//\)$' \| \
399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 sed '/^.*\/\([^/][^/]*\)\/*$/{
415 # Avoid depending upon Character Ranges.
416 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits
='0123456789'
420 as_cr_alnum
=$as_cr_Letters$as_cr_digits
423 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
424 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
443 chmod +x
"$as_me.lineno" ||
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
446 # Don't try to exec as it changes $[0], causing all sort of problems
447 # (the dirname of $[0] is not the place where we might find the
448 # original and so on. Autoconf is especially sensitive to this).
450 # Exit status is that of the last command.
454 ECHO_C
= ECHO_N
= ECHO_T
=
455 case `echo -n x` in #(((((
457 case `echo 'xy\c'` in
458 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
467 rm -f conf$$ conf$$.exe conf$$.
file
468 if test -d conf$$.dir
; then
469 rm -f conf$$.dir
/conf$$.
file
472 mkdir conf$$.dir
2>/dev
/null
474 if (echo >conf$$.
file) 2>/dev
/null
; then
475 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
477 # ... but there are two gotchas:
478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480 # In both cases, we have to default to `cp -p'.
481 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
483 elif ln conf$$.
file conf$$
2>/dev
/null
; then
491 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
492 rmdir conf$$.dir
2>/dev
/null
494 if mkdir
-p .
2>/dev
/null
; then
495 as_mkdir_p
='mkdir -p "$as_dir"'
497 test -d .
/-p && rmdir .
/-p
501 if test -x / >/dev
/null
2>&1; then
504 if ls -dL / >/dev
/null
2>&1; then
511 if test -d "$1"; then
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518 ???[sx]*):;;*)false;;esac;fi
522 as_executable_p
=$as_test_x
524 # Sed expression to map a string onto a valid CPP name.
525 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527 # Sed expression to map a string onto a valid variable name.
528 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
535 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
536 # so uname gets run too.
537 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
542 ac_default_prefix
=/usr
/local
544 ac_config_libobj_dir
=.
551 # Identity of this package.
552 PACKAGE_NAME
='mingw-w64'
553 PACKAGE_TARNAME
='mingw-w64'
554 PACKAGE_VERSION
='1.0b'
555 PACKAGE_STRING
='mingw-w64 1.0b'
556 PACKAGE_BUGREPORT
='mingw-w64-public@lists.sourceforge.net'
559 ac_unique_file
="AUTHORS"
560 enable_option_checking
=no
561 ac_subst_vars
='LTLIBOBJS
569 LIBRARIES_MANGLE_FALSE
570 LIBRARIES_MANGLE_TRUE
592 INSTALL_STRIP_PROGRAM
608 MAINTAINER_MODE_FALSE
637 program_transform_name
650 enable_option_checking
651 enable_maintainer_mode
657 ac_precious_vars
='build_alias
660 ac_subdirs_all
='mingw-w64-headers
662 mingw-w64-libraries/libmangle
663 mingw-w64-libraries/pseh
664 mingw-w64-tools/gendef
665 mingw-w64-tools/genidl'
667 # Initialize some variables set by options.
669 ac_init_version
=false
670 ac_unrecognized_opts
=
672 # The variables have the same names as the options, with
673 # dashes changed to underlines.
681 program_transform_name
=s
,x
,x
,
689 # Installation directory options.
690 # These are left unexpanded so users can "make install exec_prefix=/foo"
691 # and all the variables that are supposed to be based on exec_prefix
692 # by default will actually change.
693 # Use braces instead of parens because sh, perl, etc. also accept them.
694 # (The list follows the same order as the GNU Coding Standards.)
695 bindir
='${exec_prefix}/bin'
696 sbindir
='${exec_prefix}/sbin'
697 libexecdir
='${exec_prefix}/libexec'
698 datarootdir
='${prefix}/share'
699 datadir
='${datarootdir}'
700 sysconfdir
='${prefix}/etc'
701 sharedstatedir
='${prefix}/com'
702 localstatedir
='${prefix}/var'
703 includedir
='${prefix}/include'
704 oldincludedir
='/usr/include'
705 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
706 infodir
='${datarootdir}/info'
711 libdir
='${exec_prefix}/lib'
712 localedir
='${datarootdir}/locale'
713 mandir
='${datarootdir}/man'
719 # If the previous option needs an argument, assign it.
720 if test -n "$ac_prev"; then
721 eval $ac_prev=\
$ac_option
727 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
731 # Accept the important Cygnus configure options, so we can diagnose typos.
733 case $ac_dashdash$ac_option in
737 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
739 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
742 -build |
--build |
--buil |
--bui |
--bu)
743 ac_prev
=build_alias
;;
744 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
745 build_alias
=$ac_optarg ;;
747 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
748 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
749 ac_prev
=cache_file
;;
750 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
751 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
752 cache_file
=$ac_optarg ;;
755 cache_file
=config.cache
;;
757 -datadir |
--datadir |
--datadi |
--datad)
759 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
760 datadir
=$ac_optarg ;;
762 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
763 |
--dataroo |
--dataro |
--datar)
764 ac_prev
=datarootdir
;;
765 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
766 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
767 datarootdir
=$ac_optarg ;;
769 -disable-* |
--disable-*)
770 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
771 # Reject names that are not valid shell variable names.
772 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
773 as_fn_error
"invalid feature name: $ac_useropt"
774 ac_useropt_orig
=$ac_useropt
775 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
776 case $ac_user_opts in
780 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
781 ac_unrecognized_sep
=', ';;
783 eval enable_
$ac_useropt=no
;;
785 -docdir |
--docdir |
--docdi |
--doc |
--do)
787 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
790 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
792 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
795 -enable-* |
--enable-*)
796 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
797 # Reject names that are not valid shell variable names.
798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
799 as_fn_error
"invalid feature name: $ac_useropt"
800 ac_useropt_orig
=$ac_useropt
801 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
802 case $ac_user_opts in
806 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
807 ac_unrecognized_sep
=', ';;
809 eval enable_
$ac_useropt=\
$ac_optarg ;;
811 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
812 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
813 |
--exec |
--exe |
--ex)
814 ac_prev
=exec_prefix
;;
815 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
816 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
817 |
--exec=* |
--exe=* |
--ex=*)
818 exec_prefix
=$ac_optarg ;;
820 -gas |
--gas |
--ga |
--g)
821 # Obsolete; use --with-gas.
824 -help |
--help |
--hel |
--he |
-h)
826 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
827 ac_init_help
=recursive
;;
828 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
829 ac_init_help
=short
;;
831 -host |
--host |
--hos |
--ho)
832 ac_prev
=host_alias
;;
833 -host=* |
--host=* |
--hos=* |
--ho=*)
834 host_alias
=$ac_optarg ;;
836 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
838 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
840 htmldir
=$ac_optarg ;;
842 -includedir |
--includedir |
--includedi |
--included |
--include \
843 |
--includ |
--inclu |
--incl |
--inc)
844 ac_prev
=includedir
;;
845 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
846 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
847 includedir
=$ac_optarg ;;
849 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
851 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
852 infodir
=$ac_optarg ;;
854 -libdir |
--libdir |
--libdi |
--libd)
856 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
859 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
860 |
--libexe |
--libex |
--libe)
861 ac_prev
=libexecdir
;;
862 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
863 |
--libexe=* |
--libex=* |
--libe=*)
864 libexecdir
=$ac_optarg ;;
866 -localedir |
--localedir |
--localedi |
--localed |
--locale)
868 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
869 localedir
=$ac_optarg ;;
871 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
872 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
873 ac_prev
=localstatedir
;;
874 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
875 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
876 localstatedir
=$ac_optarg ;;
878 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
880 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
884 # Obsolete; use --without-fp.
887 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
888 |
--no-cr |
--no-c |
-n)
891 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
892 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
895 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
896 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
897 |
--oldin |
--oldi |
--old |
--ol |
--o)
898 ac_prev
=oldincludedir
;;
899 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
900 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
901 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
902 oldincludedir
=$ac_optarg ;;
904 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
906 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
909 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
910 |
--program-pre |
--program-pr |
--program-p)
911 ac_prev
=program_prefix
;;
912 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
913 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
914 program_prefix
=$ac_optarg ;;
916 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
917 |
--program-suf |
--program-su |
--program-s)
918 ac_prev
=program_suffix
;;
919 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
920 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
921 program_suffix
=$ac_optarg ;;
923 -program-transform-name |
--program-transform-name \
924 |
--program-transform-nam |
--program-transform-na \
925 |
--program-transform-n |
--program-transform- \
926 |
--program-transform |
--program-transfor \
927 |
--program-transfo |
--program-transf \
928 |
--program-trans |
--program-tran \
929 |
--progr-tra |
--program-tr |
--program-t)
930 ac_prev
=program_transform_name
;;
931 -program-transform-name=* |
--program-transform-name=* \
932 |
--program-transform-nam=* |
--program-transform-na=* \
933 |
--program-transform-n=* |
--program-transform-=* \
934 |
--program-transform=* |
--program-transfor=* \
935 |
--program-transfo=* |
--program-transf=* \
936 |
--program-trans=* |
--program-tran=* \
937 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
938 program_transform_name
=$ac_optarg ;;
940 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
942 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
945 -psdir |
--psdir |
--psdi |
--psd |
--ps)
947 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
950 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
951 |
-silent |
--silent |
--silen |
--sile |
--sil)
954 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
956 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
958 sbindir
=$ac_optarg ;;
960 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
961 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
962 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
964 ac_prev
=sharedstatedir
;;
965 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
966 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
967 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
969 sharedstatedir
=$ac_optarg ;;
971 -site |
--site |
--sit)
973 -site=* |
--site=* |
--sit=*)
976 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
978 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
981 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
982 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
983 ac_prev
=sysconfdir
;;
984 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
985 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
986 sysconfdir
=$ac_optarg ;;
988 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
989 ac_prev
=target_alias
;;
990 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
991 target_alias
=$ac_optarg ;;
993 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
996 -version |
--version |
--versio |
--versi |
--vers |
-V)
1000 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1003 as_fn_error
"invalid package name: $ac_useropt"
1004 ac_useropt_orig
=$ac_useropt
1005 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1010 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1011 ac_unrecognized_sep
=', ';;
1013 eval with_
$ac_useropt=\
$ac_optarg ;;
1015 -without-* |
--without-*)
1016 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1019 as_fn_error
"invalid package name: $ac_useropt"
1020 ac_useropt_orig
=$ac_useropt
1021 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1026 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval with_
$ac_useropt=no
;;
1032 # Obsolete; use --with-x.
1035 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1036 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1037 ac_prev
=x_includes
;;
1038 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1039 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1040 x_includes
=$ac_optarg ;;
1042 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1043 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1044 ac_prev
=x_libraries
;;
1045 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1046 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1047 x_libraries
=$ac_optarg ;;
1049 -*) as_fn_error
"unrecognized option: \`$ac_option'
1050 Try \`$0 --help' for more information."
1054 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1055 # Reject names that are not valid shell variable names.
1056 case $ac_envvar in #(
1057 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1058 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1060 eval $ac_envvar=\
$ac_optarg
1061 export $ac_envvar ;;
1064 # FIXME: should be removed in autoconf 3.0.
1065 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1066 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1067 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1068 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1074 if test -n "$ac_prev"; then
1075 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1076 as_fn_error
"missing argument to $ac_option"
1079 if test -n "$ac_unrecognized_opts"; then
1080 case $enable_option_checking in
1082 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1083 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1087 # Check all directory arguments for consistency.
1088 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1089 datadir sysconfdir sharedstatedir localstatedir includedir \
1090 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1091 libdir localedir mandir
1093 eval ac_val
=\$
$ac_var
1094 # Remove trailing slashes.
1097 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1098 eval $ac_var=\
$ac_val;;
1100 # Be sure to have absolute directory names.
1102 [\\/$
]* | ?
:[\\/]* ) continue;;
1103 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1105 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1108 # There might be people who depend on the old broken behavior: `$host'
1109 # used to hold the argument of --host etc.
1110 # FIXME: To remove some day.
1113 target
=$target_alias
1115 # FIXME: To remove some day.
1116 if test "x$host_alias" != x
; then
1117 if test "x$build_alias" = x
; then
1118 cross_compiling
=maybe
1119 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1120 If a cross compiler is detected then cross compile mode will be used." >&2
1121 elif test "x$build_alias" != "x$host_alias"; then
1127 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1129 test "$silent" = yes && exec 6>/dev
/null
1132 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1133 ac_ls_di
=`ls -di .` &&
1134 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1135 as_fn_error
"working directory cannot be determined"
1136 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1137 as_fn_error
"pwd does not report name of working directory"
1140 # Find the source files, if location was not specified.
1141 if test -z "$srcdir"; then
1142 ac_srcdir_defaulted
=yes
1143 # Try the directory containing this script, then the parent directory.
1144 ac_confdir
=`$as_dirname -- "$as_myself" ||
1145 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1146 X"$as_myself" : 'X\(//\)[^/]' \| \
1147 X"$as_myself" : 'X\(//\)$' \| \
1148 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1149 $as_echo X"$as_myself" |
1150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1168 if test ! -r "$srcdir/$ac_unique_file"; then
1172 ac_srcdir_defaulted
=no
1174 if test ! -r "$srcdir/$ac_unique_file"; then
1175 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1176 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1178 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1180 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1182 # When building in place, set srcdir=.
1183 if test "$ac_abs_confdir" = "$ac_pwd"; then
1186 # Remove unnecessary trailing slashes from srcdir.
1187 # Double slashes in file names in object file debugging info
1188 # mess up M-x gdb in Emacs.
1190 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1192 for ac_var
in $ac_precious_vars; do
1193 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1194 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1195 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1196 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1200 # Report the --help message.
1202 if test "$ac_init_help" = "long"; then
1203 # Omit some internal or obsolete options to make the list less imposing.
1204 # This message is too long to be a string in the A/UX 3.1 sh.
1206 \`configure' configures mingw-w64 1.0b to adapt to many kinds of systems.
1208 Usage: $0 [OPTION]... [VAR=VALUE]...
1210 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1211 VAR=VALUE. See below for descriptions of some of the useful variables.
1213 Defaults for the options are specified in brackets.
1216 -h, --help display this help and exit
1217 --help=short display options specific to this package
1218 --help=recursive display the short help of all the included packages
1219 -V, --version display version information and exit
1220 -q, --quiet, --silent do not print \`checking...' messages
1221 --cache-file=FILE cache test results in FILE [disabled]
1222 -C, --config-cache alias for \`--cache-file=config.cache'
1223 -n, --no-create do not create output files
1224 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1226 Installation directories:
1227 --prefix=PREFIX install architecture-independent files in PREFIX
1228 [$ac_default_prefix]
1229 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1232 By default, \`make install' will install all the files in
1233 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1234 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1235 for instance \`--prefix=\$HOME'.
1237 For better control, use the options below.
1239 Fine tuning of the installation directories:
1240 --bindir=DIR user executables [EPREFIX/bin]
1241 --sbindir=DIR system admin executables [EPREFIX/sbin]
1242 --libexecdir=DIR program executables [EPREFIX/libexec]
1243 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1244 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1245 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1246 --libdir=DIR object code libraries [EPREFIX/lib]
1247 --includedir=DIR C header files [PREFIX/include]
1248 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1249 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1250 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1251 --infodir=DIR info documentation [DATAROOTDIR/info]
1252 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1253 --mandir=DIR man documentation [DATAROOTDIR/man]
1254 --docdir=DIR documentation root [DATAROOTDIR/doc/mingw-w64]
1255 --htmldir=DIR html documentation [DOCDIR]
1256 --dvidir=DIR dvi documentation [DOCDIR]
1257 --pdfdir=DIR pdf documentation [DOCDIR]
1258 --psdir=DIR ps documentation [DOCDIR]
1264 --program-prefix=PREFIX prepend PREFIX to installed program names
1265 --program-suffix=SUFFIX append SUFFIX to installed program names
1266 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1269 --build=BUILD configure
for building on BUILD
[guessed
]
1270 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1274 if test -n "$ac_init_help"; then
1275 case $ac_init_help in
1276 short | recursive
) echo "Configuration of mingw-w64 1.0b:";;
1281 --disable-option-checking ignore unrecognized
--enable/--with options
1282 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1283 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1284 --enable-maintainer-mode enable make rules and dependencies not useful
1285 (and sometimes confusing
) to the casual installer
1288 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1289 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1290 --without-headers Skip building the mingw-w64 headers
1291 --without-crt Skip building the mingw-w64 crt
1292 --with-libraries=ARG Build the extra mingw-w64 libs
, where ARG is one of
1293 libmangle
, pseh
, or all
1294 --with-tools=ARG Build the extra mingw-w64 tools
, where ARG is one of
1295 gendef
, genidl
, or all
1297 Report bugs to
<mingw-w64-public@lists.sourceforge.net
>.
1302 if test "$ac_init_help" = "recursive"; then
1303 # If there are subdirs, report their specific --help.
1304 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1305 test -d "$ac_dir" ||
1306 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1311 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1313 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1314 # A ".." for each directory in $ac_dir_suffix.
1315 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1316 case $ac_top_builddir_sub in
1317 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1318 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1321 ac_abs_top_builddir
=$ac_pwd
1322 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1323 # for backward compatibility:
1324 ac_top_builddir
=$ac_top_build_prefix
1327 .
) # We are building in place.
1329 ac_top_srcdir
=$ac_top_builddir_sub
1330 ac_abs_top_srcdir
=$ac_pwd ;;
1331 [\\/]* | ?
:[\\/]* ) # Absolute name.
1332 ac_srcdir
=$srcdir$ac_dir_suffix;
1333 ac_top_srcdir
=$srcdir
1334 ac_abs_top_srcdir
=$srcdir ;;
1336 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1337 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1338 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1340 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1342 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1343 # Check for guested configure.
1344 if test -f "$ac_srcdir/configure.gnu"; then
1346 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1347 elif test -f "$ac_srcdir/configure"; then
1349 $SHELL "$ac_srcdir/configure" --help=recursive
1351 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1353 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1357 test -n "$ac_init_help" && exit $ac_status
1358 if $ac_init_version; then
1360 mingw-w64 configure
1.0b
1361 generated by GNU Autoconf
2.65
1363 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1364 This configure
script is free software
; the Free Software Foundation
1365 gives unlimited permission to copy
, distribute and modify it.
1370 ## ------------------------ ##
1371 ## Autoconf initialization. ##
1372 ## ------------------------ ##
1373 cat >config.log
<<_ACEOF
1374 This file contains any messages produced by compilers while
1375 running configure, to aid debugging if configure makes a mistake.
1377 It was created by mingw-w64 $as_me 1.0b, which was
1378 generated by GNU Autoconf 2.65. Invocation command line was
1390 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1391 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1392 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1393 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1394 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1396 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1397 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1399 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1400 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1401 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1402 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1403 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1404 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1405 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1413 test -z "$as_dir" && as_dir
=.
1414 $as_echo "PATH: $as_dir"
1430 # Keep a trace of the command line.
1431 # Strip out --no-create and --no-recursion so they do not pile up.
1432 # Strip out --silent because we don't want to record it for future runs.
1433 # Also quote any args containing shell meta-characters.
1434 # Make two passes to allow for proper duplicate-argument suppression.
1438 ac_must_keep_next
=false
1444 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1445 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1446 |
-silent |
--silent |
--silen |
--sile |
--sil)
1449 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1452 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1454 as_fn_append ac_configure_args1
" '$ac_arg'"
1455 if test $ac_must_keep_next = true
; then
1456 ac_must_keep_next
=false
# Got value, back to normal.
1459 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1460 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1461 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1462 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1463 case "$ac_configure_args0 " in
1464 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1467 -* ) ac_must_keep_next
=true
;;
1470 as_fn_append ac_configure_args
" '$ac_arg'"
1475 { ac_configure_args0
=; unset ac_configure_args0
;}
1476 { ac_configure_args1
=; unset ac_configure_args1
;}
1478 # When interrupted or exit'd, cleanup temporary files, and complete
1479 # config.log. We remove comments because anyway the quotes in there
1480 # would cause problems or look ugly.
1481 # WARNING: Use '\'' to represent an apostrophe within the trap.
1482 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1483 trap 'exit_status=$?
1484 # Save into config.log some information that might help in debugging.
1489 ## ---------------- ##
1490 ## Cache variables. ##
1491 ## ---------------- ##
1494 # The following way of writing the cache mishandles newlines in values,
1496 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1497 eval ac_val=\$$ac_var
1501 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1502 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1505 _ | IFS | as_nl) ;; #(
1506 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1507 *) { eval $ac_var=; unset $ac_var;} ;;
1512 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1513 *${as_nl}ac_space=\ *)
1515 "s/'\''/'\''\\\\'\'''\''/g;
1516 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1519 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1527 ## ----------------- ##
1528 ## Output variables. ##
1529 ## ----------------- ##
1532 for ac_var in $ac_subst_vars
1534 eval ac_val=\$$ac_var
1536 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1538 $as_echo "$ac_var='\''$ac_val'\''"
1542 if test -n "$ac_subst_files"; then
1544 ## ------------------- ##
1545 ## File substitutions. ##
1546 ## ------------------- ##
1549 for ac_var
in $ac_subst_files
1551 eval ac_val
=\$
$ac_var
1553 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1555 $as_echo "$ac_var='\''$ac_val'\''"
1560 if test -s confdefs.h; then
1570 test "$ac_signal" != 0 &&
1571 $as_echo "$as_me: caught signal $ac_signal"
1572 $as_echo "$as_me: exit $exit_status"
1574 rm -f core *.core core.conftest.* &&
1575 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1578 for ac_signal
in 1 2 13 15; do
1579 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1583 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1584 rm -f -r conftest
* confdefs.h
1586 $as_echo "/* confdefs.h */" > confdefs.h
1588 # Predefined preprocessor variables.
1590 cat >>confdefs.h
<<_ACEOF
1591 #define PACKAGE_NAME "$PACKAGE_NAME"
1594 cat >>confdefs.h
<<_ACEOF
1595 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1598 cat >>confdefs.h
<<_ACEOF
1599 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1602 cat >>confdefs.h
<<_ACEOF
1603 #define PACKAGE_STRING "$PACKAGE_STRING"
1606 cat >>confdefs.h
<<_ACEOF
1607 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1610 cat >>confdefs.h
<<_ACEOF
1611 #define PACKAGE_URL "$PACKAGE_URL"
1615 # Let the site file select an alternate cache file if it wants to.
1616 # Prefer an explicitly selected file to automatically selected ones.
1619 if test -n "$CONFIG_SITE"; then
1620 ac_site_file1
=$CONFIG_SITE
1621 elif test "x$prefix" != xNONE
; then
1622 ac_site_file1
=$prefix/share
/config.site
1623 ac_site_file2
=$prefix/etc
/config.site
1625 ac_site_file1
=$ac_default_prefix/share
/config.site
1626 ac_site_file2
=$ac_default_prefix/etc
/config.site
1628 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1630 test "x$ac_site_file" = xNONE
&& continue
1631 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1633 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1634 sed 's/^/| /' "$ac_site_file" >&5
1639 if test -r "$cache_file"; then
1640 # Some versions of bash will fail to source /dev/null (special files
1641 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1642 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1644 $as_echo "$as_me: loading cache $cache_file" >&6;}
1646 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1647 *) .
"./$cache_file";;
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1652 $as_echo "$as_me: creating cache $cache_file" >&6;}
1656 # Check that the precious variables saved in the cache have kept the same
1658 ac_cache_corrupted
=false
1659 for ac_var
in $ac_precious_vars; do
1660 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1661 eval ac_new_set
=\
$ac_env_${ac_var}_set
1662 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1663 eval ac_new_val
=\
$ac_env_${ac_var}_value
1664 case $ac_old_set,$ac_new_set in
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1667 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1668 ac_cache_corrupted
=: ;;
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1671 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1672 ac_cache_corrupted
=: ;;
1675 if test "x$ac_old_val" != "x$ac_new_val"; then
1676 # differences in whitespace do not lead to failure.
1677 ac_old_val_w
=`echo x $ac_old_val`
1678 ac_new_val_w
=`echo x $ac_new_val`
1679 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1681 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1682 ac_cache_corrupted
=:
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1685 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1686 eval $ac_var=\
$ac_old_val
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1689 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1691 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1694 # Pass precious variables to config.status.
1695 if test "$ac_new_set" = set; then
1697 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1698 *) ac_arg
=$ac_var=$ac_new_val ;;
1700 case " $ac_configure_args " in
1701 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1702 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1706 if $ac_cache_corrupted; then
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1710 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1711 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1713 ## -------------------- ##
1714 ## Main body of script. ##
1715 ## -------------------- ##
1718 ac_cpp
='$CPP $CPPFLAGS'
1719 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1720 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1721 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1725 for ac_dir
in build-aux
"$srcdir"/build-aux
; do
1726 for ac_t
in install-sh
install.sh shtool
; do
1727 if test -f "$ac_dir/$ac_t"; then
1729 ac_install_sh
="$ac_aux_dir/$ac_t -c"
1734 if test -z "$ac_aux_dir"; then
1735 as_fn_error
"cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1738 # These three variables are undocumented and unsupported,
1739 # and are intended to be withdrawn in a future Autoconf release.
1740 # They can cause serious problems if a builder's source tree is in a directory
1741 # whose full name contains unusual characters.
1742 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1743 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1744 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1748 ac_config_headers
="$ac_config_headers config.h"
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
1753 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
1754 # Check whether --enable-maintainer-mode was given.
1755 if test "${enable_maintainer_mode+set}" = set; then :
1756 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
1758 USE_MAINTAINER_MODE
=no
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
1762 $as_echo "$USE_MAINTAINER_MODE" >&6; }
1763 if test $USE_MAINTAINER_MODE = yes; then
1764 MAINTAINER_MODE_TRUE
=
1765 MAINTAINER_MODE_FALSE
='#'
1767 MAINTAINER_MODE_TRUE
='#'
1768 MAINTAINER_MODE_FALSE
=
1771 MAINT
=$MAINTAINER_MODE_TRUE
1774 am__api_version
='1.11'
1776 # Find a good install program. We prefer a C program (faster),
1777 # so one script is as good as another. But avoid the broken or
1778 # incompatible versions:
1779 # SysV /etc/install, /usr/sbin/install
1780 # SunOS /usr/etc/install
1781 # IRIX /sbin/install
1783 # AmigaOS /C/install, which installs bootblocks on floppy discs
1784 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1785 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1786 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1787 # OS/2's system install, which has a completely different semantic
1788 # ./install, which can be erroneously created by make from ./install.sh.
1789 # Reject install programs that cannot install multiple files.
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1791 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1792 if test -z "$INSTALL"; then
1793 if test "${ac_cv_path_install+set}" = set; then :
1794 $as_echo_n "(cached) " >&6
1796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1800 test -z "$as_dir" && as_dir
=.
1801 # Account for people who put trailing slashes in PATH elements.
1802 case $as_dir/ in #((
1803 .
/ | .
// |
/[cC
]/* | \
1804 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1805 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
1808 # OSF1 and SCO ODT 3.0 have their own names for install.
1809 # Don't use installbsd from OSF since it installs stuff as root
1811 for ac_prog
in ginstall scoinst
install; do
1812 for ac_exec_ext
in '' $ac_executable_extensions; do
1813 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1814 if test $ac_prog = install &&
1815 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1816 # AIX install. It has an incompatible calling convention.
1818 elif test $ac_prog = install &&
1819 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1820 # program-specific install script used by HP pwplus--don't use.
1823 rm -rf conftest.one conftest.two conftest.dir
1824 echo one
> conftest.one
1825 echo two
> conftest.two
1827 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1828 test -s conftest.one
&& test -s conftest.two
&&
1829 test -s conftest.dir
/conftest.one
&&
1830 test -s conftest.dir
/conftest.two
1832 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1845 rm -rf conftest.one conftest.two conftest.dir
1848 if test "${ac_cv_path_install+set}" = set; then
1849 INSTALL
=$ac_cv_path_install
1851 # As a last resort, use the slow shell script. Don't cache a
1852 # value for INSTALL within a source directory, because that will
1853 # break other packages using the cache if that directory is
1854 # removed, or if the value is a relative name.
1855 INSTALL
=$ac_install_sh
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1859 $as_echo "$INSTALL" >&6; }
1861 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1862 # It thinks the first close brace ends the variable substitution.
1863 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1865 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1867 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1870 $as_echo_n "checking whether build environment is sane... " >&6; }
1873 echo timestamp
> conftest.
file
1874 # Reject unsafe characters in $srcdir or the absolute working directory
1875 # name. Accept space and tab only in the latter.
1879 *[\\\"\
#\$\&\'\`$am_lf]*)
1880 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
1883 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
1884 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1887 # Do `set' in a subshell so we don't clobber the current shell's
1888 # arguments. Must try -L first in case configure is actually a
1889 # symlink; some systems play weird games with the mod time of symlinks
1890 # (eg FreeBSD returns the mod time of the symlink's containing
1893 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1894 if test "$*" = "X"; then
1896 set X
`ls -t "$srcdir/configure" conftest.file`
1899 if test "$*" != "X $srcdir/configure conftest.file" \
1900 && test "$*" != "X conftest.file $srcdir/configure"; then
1902 # If neither matched, then we have a broken ls. This can happen
1903 # if, for instance, CONFIG_SHELL is bash and it inherits a
1904 # broken ls alias from the environment. This has actually
1905 # happened. Such a system could not be considered "sane".
1906 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
1907 alias in your environment" "$LINENO" 5
1910 test "$2" = conftest.
file
1916 as_fn_error
"newly created file is older than distributed files!
1917 Check your system clock" "$LINENO" 5
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1920 $as_echo "yes" >&6; }
1921 test "$program_prefix" != NONE
&&
1922 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1923 # Use a double $ so make ignores it.
1924 test "$program_suffix" != NONE
&&
1925 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1926 # Double any \ or $.
1927 # By default was `s,x,x', remove it if useless.
1928 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
1929 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
1931 # expand $ac_aux_dir to an absolute path
1932 am_aux_dir
=`cd $ac_aux_dir && pwd`
1934 if test x
"${MISSING+set}" != xset
; then
1937 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
1939 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
1942 # Use eval to expand $SHELL
1943 if eval "$MISSING --run true"; then
1944 am_missing_run
="$MISSING --run "
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1948 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1951 if test x
"${install_sh}" != xset
; then
1954 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
1956 install_sh
="\${SHELL} $am_aux_dir/install-sh"
1960 # Installed binaries are usually stripped using `strip' when the user
1961 # run `make install-strip'. However `strip' might not be the right
1962 # tool to use in cross-compilation environments, therefore Automake
1963 # will honor the `STRIP' environment variable to overrule this program.
1964 if test "$cross_compiling" != no
; then
1965 if test -n "$ac_tool_prefix"; then
1966 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1967 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1969 $as_echo_n "checking for $ac_word... " >&6; }
1970 if test "${ac_cv_prog_STRIP+set}" = set; then :
1971 $as_echo_n "(cached) " >&6
1973 if test -n "$STRIP"; then
1974 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1980 test -z "$as_dir" && as_dir
=.
1981 for ac_exec_ext
in '' $ac_executable_extensions; do
1982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1983 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 STRIP
=$ac_cv_prog_STRIP
1994 if test -n "$STRIP"; then
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1996 $as_echo "$STRIP" >&6; }
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1999 $as_echo "no" >&6; }
2004 if test -z "$ac_cv_prog_STRIP"; then
2006 # Extract the first word of "strip", so it can be a program name with args.
2007 set dummy strip
; ac_word
=$2
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2009 $as_echo_n "checking for $ac_word... " >&6; }
2010 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2011 $as_echo_n "(cached) " >&6
2013 if test -n "$ac_ct_STRIP"; then
2014 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2020 test -z "$as_dir" && as_dir
=.
2021 for ac_exec_ext
in '' $ac_executable_extensions; do
2022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2023 ac_cv_prog_ac_ct_STRIP
="strip"
2024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2033 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2034 if test -n "$ac_ct_STRIP"; then
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2036 $as_echo "$ac_ct_STRIP" >&6; }
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2039 $as_echo "no" >&6; }
2042 if test "x$ac_ct_STRIP" = x
; then
2045 case $cross_compiling:$ac_tool_warned in
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2049 ac_tool_warned
=yes ;;
2054 STRIP
="$ac_cv_prog_STRIP"
2058 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2061 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2062 if test -z "$MKDIR_P"; then
2063 if test "${ac_cv_path_mkdir+set}" = set; then :
2064 $as_echo_n "(cached) " >&6
2066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2067 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2070 test -z "$as_dir" && as_dir
=.
2071 for ac_prog
in mkdir gmkdir
; do
2072 for ac_exec_ext
in '' $ac_executable_extensions; do
2073 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2074 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2075 'mkdir (GNU coreutils) '* | \
2076 'mkdir (coreutils) '* | \
2077 'mkdir (fileutils) '4.1*)
2078 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2088 test -d .
/--version && rmdir .
/--version
2089 if test "${ac_cv_path_mkdir+set}" = set; then
2090 MKDIR_P
="$ac_cv_path_mkdir -p"
2092 # As a last resort, use the slow shell script. Don't cache a
2093 # value for MKDIR_P within a source directory, because that will
2094 # break other packages using the cache if that directory is
2095 # removed, or if the value is a relative name.
2096 MKDIR_P
="$ac_install_sh -d"
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2100 $as_echo "$MKDIR_P" >&6; }
2104 [\\/$
]* | ?
:[\\/]*) ;;
2105 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2108 for ac_prog
in gawk mawk nawk
awk
2110 # Extract the first word of "$ac_prog", so it can be a program name with args.
2111 set dummy
$ac_prog; ac_word
=$2
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2113 $as_echo_n "checking for $ac_word... " >&6; }
2114 if test "${ac_cv_prog_AWK+set}" = set; then :
2115 $as_echo_n "(cached) " >&6
2117 if test -n "$AWK"; then
2118 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2124 test -z "$as_dir" && as_dir
=.
2125 for ac_exec_ext
in '' $ac_executable_extensions; do
2126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2127 ac_cv_prog_AWK
="$ac_prog"
2128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 if test -n "$AWK"; then
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2140 $as_echo "$AWK" >&6; }
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2143 $as_echo "no" >&6; }
2147 test -n "$AWK" && break
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2151 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2153 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2154 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2155 $as_echo_n "(cached) " >&6
2157 cat >conftest.
make <<\_ACEOF
2160 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2162 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2163 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2165 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2167 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2171 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2173 $as_echo "yes" >&6; }
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2177 $as_echo "no" >&6; }
2178 SET_MAKE
="MAKE=${MAKE-make}"
2181 rm -rf .tst
2>/dev
/null
2182 mkdir .tst
2>/dev
/null
2183 if test -d .tst
; then
2188 rmdir .tst
2>/dev
/null
2190 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2191 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2192 # is not polluted with repeated "-I."
2193 am__isrc
=' -I$(srcdir)'
2194 # test to see if srcdir already configured
2195 if test -f $srcdir/config.status
; then
2196 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2200 # test whether we have cygpath
2201 if test -z "$CYGPATH_W"; then
2202 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2203 CYGPATH_W
='cygpath -w'
2210 # Define the identity of the package.
2215 cat >>confdefs.h
<<_ACEOF
2216 #define PACKAGE "$PACKAGE"
2220 cat >>confdefs.h
<<_ACEOF
2221 #define VERSION "$VERSION"
2224 # Some tools Automake needs.
2226 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2229 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2232 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2235 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2238 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2240 # We need awk for the "check" target. The system "awk" is bad on
2242 # Always define AMTAR for backward compatibility.
2244 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2246 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2253 # Make sure we can run config.sub.
2254 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2255 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2258 $as_echo_n "checking build system type... " >&6; }
2259 if test "${ac_cv_build+set}" = set; then :
2260 $as_echo_n "(cached) " >&6
2262 ac_build_alias
=$build_alias
2263 test "x$ac_build_alias" = x
&&
2264 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2265 test "x$ac_build_alias" = x
&&
2266 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2267 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2268 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2272 $as_echo "$ac_cv_build" >&6; }
2273 case $ac_cv_build in
2275 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2278 ac_save_IFS
=$IFS; IFS
='-'
2284 # Remember, the first character of IFS is used to create $*,
2285 # except with old shells:
2288 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2292 $as_echo_n "checking host system type... " >&6; }
2293 if test "${ac_cv_host+set}" = set; then :
2294 $as_echo_n "(cached) " >&6
2296 if test "x$host_alias" = x
; then
2297 ac_cv_host
=$ac_cv_build
2299 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2300 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2305 $as_echo "$ac_cv_host" >&6; }
2308 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2311 ac_save_IFS
=$IFS; IFS
='-'
2317 # Remember, the first character of IFS is used to create $*,
2318 # except with old shells:
2321 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2327 # Checks for programs.
2329 # Checks for libraries.
2331 # Checks for header files.
2333 # Checks for typedefs, structures, and compiler characteristics.
2335 # Checks for library functions.
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the headers" >&5
2338 $as_echo_n "checking whether to build the headers... " >&6; }
2340 # Check whether --with-headers was given.
2341 if test "${with_headers+set}" = set; then :
2342 withval
=$with_headers;
2349 case $with_headers in #(
2351 subdirs
="$subdirs mingw-w64-headers"
2356 as_fn_error
"Invalid argument to --with-headers: $with_headers" "$LINENO" 5 ;;
2358 if test "x$with_headers" = xyes
; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_headers" >&5
2367 $as_echo "$with_headers" >&6; }
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the crt" >&5
2370 $as_echo_n "checking whether to build the crt... " >&6; }
2372 # Check whether --with-crt was given.
2373 if test "${with_crt+set}" = set; then :
2379 case $with_crt in #(
2381 subdirs
="$subdirs mingw-w64-crt"
2386 as_fn_error
"Invalid argument to --with-crt: $with_crt" "$LINENO" 5 ;;
2388 if test "x$with_crt" = xyes
; then
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_crt" >&5
2397 $as_echo "$with_crt" >&6; }
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the optional libraries" >&5
2400 $as_echo_n "checking whether to build the optional libraries... " >&6; }
2402 # Check whether --with-libraries was given.
2403 if test "${with_libraries+set}" = set; then :
2404 withval
=$with_libraries;
2409 case $with_libraries in #(
2412 with_libraries
="libmangle,pseh"
2413 with_libraries_mangle
=yes
2414 with_libraries_pseh
=yes ;; #(
2417 with_libraries
="libmangle"
2418 with_libraries_mangle
=yes
2419 with_libraries_pseh
=no
;; #(
2422 with_libraries
="pseh"
2423 with_libraries_mangle
=no
2424 with_libraries_pseh
=yes ;; #(
2427 with_libraries_mangle
=no
2428 with_libraries_pseh
=no
;; #(
2430 as_fn_error
"Invalid argument to --with-libraries: $with_libraries" "$LINENO" 5 ;;
2432 if test "x$with_libraries_mangle" = xyes
; then
2433 LIBRARIES_MANGLE_TRUE
=
2434 LIBRARIES_MANGLE_FALSE
='#'
2436 LIBRARIES_MANGLE_TRUE
='#'
2437 LIBRARIES_MANGLE_FALSE
=
2440 if test "x$with_libraries_pseh" = xyes
; then
2441 LIBRARIES_PSEH_TRUE
=
2442 LIBRARIES_PSEH_FALSE
='#'
2444 LIBRARIES_PSEH_TRUE
='#'
2445 LIBRARIES_PSEH_FALSE
=
2448 if test "x$with_libraries_mangle" = xyes
; then
2449 subdirs
="$subdirs mingw-w64-libraries/libmangle"
2452 if test "x$with_libraries_pseh" = xyes
; then
2453 subdirs
="$subdirs mingw-w64-libraries/pseh"
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_libraries" >&5
2457 $as_echo "$with_libraries" >&6; }
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the optional tools" >&5
2460 $as_echo_n "checking whether to build the optional tools... " >&6; }
2462 # Check whether --with-tools was given.
2463 if test "${with_tools+set}" = set; then :
2464 withval
=$with_tools;
2469 case $with_tools in #(
2472 with_tools
="gendef,genidl"
2473 with_tools_gendef
=yes
2474 with_tools_genidl
=yes ;; #(
2478 with_tools_gendef
=yes
2479 with_tools_genidl
=no
;; #(
2483 with_tools_gendef
=no
2484 with_tools_genidl
=yes ;; #(
2487 with_tools_gendef
=no
2488 with_tools_genidl
=no
;; #(
2490 as_fn_error
"Invalid argument to --with-tools: $with_tools" "$LINENO" 5 ;;
2492 if test "x$with_tools_gendef" = xyes
; then
2494 TOOLS_GENDEF_FALSE
='#'
2496 TOOLS_GENDEF_TRUE
='#'
2500 if test "x$with_tools_genidl" = xyes
; then
2502 TOOLS_GENIDL_FALSE
='#'
2504 TOOLS_GENIDL_TRUE
='#'
2508 if test "x$with_tools_gendef" = xyes
; then
2509 subdirs
="$subdirs mingw-w64-tools/gendef"
2512 if test "x$with_tools_genidl" = xyes
; then
2513 subdirs
="$subdirs mingw-w64-tools/genidl"
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tools" >&5
2517 $as_echo "$with_tools" >&6; }
2519 ac_config_files
="$ac_config_files Makefile"
2521 cat >confcache
<<\_ACEOF
2522 # This file is a shell script that caches the results of configure
2523 # tests run on this system so they can be shared between configure
2524 # scripts and configure runs, see configure's option --config-cache.
2525 # It is not useful on other systems. If it contains results you don't
2526 # want to keep, you may remove or edit it.
2528 # config.status only pays attention to the cache file if you give it
2529 # the --recheck option to rerun configure.
2531 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2532 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2537 # The following way of writing the cache mishandles newlines in values,
2538 # but we know of no workaround that is simple, portable, and efficient.
2539 # So, we kill variables containing newlines.
2540 # Ultrix sh set writes to stderr and can't be redirected directly,
2541 # and sets the high bit in the cache file unless we assign to the vars.
2543 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2544 eval ac_val
=\$
$ac_var
2548 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2549 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2552 _ | IFS | as_nl
) ;; #(
2553 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
2554 *) { eval $ac_var=; unset $ac_var;} ;;
2560 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2561 *${as_nl}ac_space
=\
*)
2562 # `set' does not quote correctly, so add quotes: double-quote
2563 # substitution turns \\\\ into \\, and sed turns \\ into \.
2566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2569 # `set' quotes correctly as required by POSIX, so do not add quotes.
2570 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2579 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2581 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2583 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
2584 if test -w "$cache_file"; then
2585 test "x$cache_file" != "x/dev/null" &&
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2587 $as_echo "$as_me: updating cache $cache_file" >&6;}
2588 cat confcache
>$cache_file
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2591 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2596 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2597 # Let make expand exec_prefix.
2598 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2600 DEFS
=-DHAVE_CONFIG_H
2604 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
2605 # 1. Remove the extension, and $U if already installed.
2606 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
2607 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
2608 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2609 # will be set to the directory where LIBOBJS objects are built.
2610 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2611 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
2615 LTLIBOBJS
=$ac_ltlibobjs
2618 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2619 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
2620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2623 if test -z "${HEADER_TRUE}" && test -z "${HEADER_FALSE}"; then
2624 as_fn_error
"conditional \"HEADER\" was never defined.
2625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2627 if test -z "${CRT_TRUE}" && test -z "${CRT_FALSE}"; then
2628 as_fn_error
"conditional \"CRT\" was never defined.
2629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2631 if test -z "${LIBRARIES_MANGLE_TRUE}" && test -z "${LIBRARIES_MANGLE_FALSE}"; then
2632 as_fn_error
"conditional \"LIBRARIES_MANGLE\" was never defined.
2633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2635 if test -z "${LIBRARIES_PSEH_TRUE}" && test -z "${LIBRARIES_PSEH_FALSE}"; then
2636 as_fn_error
"conditional \"LIBRARIES_PSEH\" was never defined.
2637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2639 if test -z "${TOOLS_GENDEF_TRUE}" && test -z "${TOOLS_GENDEF_FALSE}"; then
2640 as_fn_error
"conditional \"TOOLS_GENDEF\" was never defined.
2641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2643 if test -z "${TOOLS_GENIDL_TRUE}" && test -z "${TOOLS_GENIDL_FALSE}"; then
2644 as_fn_error
"conditional \"TOOLS_GENIDL\" was never defined.
2645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2648 : ${CONFIG_STATUS=./config.status}
2650 ac_clean_files_save
=$ac_clean_files
2651 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2653 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2655 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2657 # Generated by $as_me.
2658 # Run this file to recreate the current configuration.
2659 # Compiler output produced by configure, useful for debugging
2660 # configure, is in config.log if it exists.
2666 SHELL=\${CONFIG_SHELL-$SHELL}
2669 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
2670 ## -------------------- ##
2671 ## M4sh Initialization. ##
2672 ## -------------------- ##
2674 # Be more Bourne compatible
2675 DUALCASE
=1; export DUALCASE
# for MKS sh
2676 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
2679 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2680 # is contrary to our usage. Disable this feature.
2681 alias -g '${1+"$@"}'='"$@"'
2682 setopt NO_GLOB_SUBST
2684 case `(set -o) 2>/dev/null` in #(
2696 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2697 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2698 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2699 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2700 # Prefer a ksh shell builtin over an external printf program on Solaris,
2701 # but without wasting forks for bash or zsh.
2702 if test -z "$BASH_VERSION$ZSH_VERSION" \
2703 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2704 as_echo='print
-r --'
2705 as_echo_n='print
-rn --'
2706 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2707 as_echo='printf %s
\n'
2708 as_echo_n='printf %s
'
2710 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2711 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
2712 as_echo_n='/usr
/ucb
/echo -n'
2714 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2715 as_echo_n_body='eval
2719 expr "X$arg" : "X\\(.*\\)$as_nl";
2720 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2722 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
2724 export as_echo_n_body
2725 as_echo_n='sh
-c $as_echo_n_body as_echo
'
2728 as_echo='sh
-c $as_echo_body as_echo
'
2731 # The user is always right.
2732 if test "${PATH_SEPARATOR+set}" != set; then
2734 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2735 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2742 # We need space, tab and new line, in precisely that order. Quoting is
2743 # there to prevent editors from complaining about space-tab.
2744 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2745 # splitting by setting IFS to empty value.)
2748 # Find who we are. Look in the path if we contain no directory separator.
2750 *[\\/]* ) as_myself=$0 ;;
2751 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 test -z "$as_dir" && as_dir=.
2756 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2762 # We did not find ourselves, most probably we were run as `sh COMMAND'
2763 # in which case we are not to be found in the path.
2764 if test "x$as_myself" = x
; then
2767 if test ! -f "$as_myself"; then
2768 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2772 # Unset variables that we do not need and which cause bugs (e.g. in
2773 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2774 # suppresses any "Segmentation fault" message there. '((' could
2775 # trigger a bug in pdksh 5.2.14.
2776 for as_var
in BASH_ENV ENV MAIL MAILPATH
2777 do eval test x\
${$as_var+set} = xset \
2778 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
2791 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
2794 # as_fn_error ERROR [LINENO LOG_FD]
2795 # ---------------------------------
2796 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2797 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2798 # script with status $?, using 1 if that was 0.
2801 as_status
=$?
; test $as_status -eq 0 && as_status
=1
2803 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2804 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2806 $as_echo "$as_me: error: $1" >&2
2807 as_fn_exit
$as_status
2811 # as_fn_set_status STATUS
2812 # -----------------------
2813 # Set $? to STATUS, without forking.
2817 } # as_fn_set_status
2821 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2831 # Portably unset VAR.
2834 { eval $1=; unset $1;}
2836 as_unset
=as_fn_unset
2837 # as_fn_append VAR VALUE
2838 # ----------------------
2839 # Append the text in VALUE to the end of the definition contained in VAR. Take
2840 # advantage of any shell optimizations that allow amortized linear growth over
2841 # repeated appends, instead of the typical quadratic growth present in naive
2843 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
2844 eval 'as_fn_append ()
2855 # as_fn_arith ARG...
2856 # ------------------
2857 # Perform arithmetic evaluation on the ARGs, and store the result in the
2858 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2859 # must be portable across $(()) and expr.
2860 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
2861 eval 'as_fn_arith ()
2868 as_val
=`expr "$@" || test $? -eq 1`
2873 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
2874 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
2880 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2881 as_basename
=basename
2886 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
2892 as_me
=`$as_basename -- "$0" ||
2893 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2894 X"$0" : 'X\(//\)$' \| \
2895 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2897 sed '/^.*\/\([^/][^/]*\)\/*$/{
2911 # Avoid depending upon Character Ranges.
2912 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
2913 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2914 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
2915 as_cr_digits
='0123456789'
2916 as_cr_alnum
=$as_cr_Letters$as_cr_digits
2918 ECHO_C
= ECHO_N
= ECHO_T
=
2919 case `echo -n x` in #(((((
2921 case `echo 'xy\c'` in
2922 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
2924 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
2931 rm -f conf$$ conf$$.exe conf$$.
file
2932 if test -d conf$$.dir
; then
2933 rm -f conf$$.dir
/conf$$.
file
2936 mkdir conf$$.dir
2>/dev
/null
2938 if (echo >conf$$.
file) 2>/dev
/null
; then
2939 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
2941 # ... but there are two gotchas:
2942 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2943 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2944 # In both cases, we have to default to `cp -p'.
2945 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
2947 elif ln conf$$.
file conf$$
2>/dev
/null
; then
2955 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
2956 rmdir conf$$.dir
2>/dev
/null
2961 # Create "$as_dir" as a directory, including parents if necessary.
2966 -*) as_dir
=.
/$as_dir;;
2968 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
2972 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2973 *) as_qdir
=$as_dir;;
2975 as_dirs
="'$as_qdir' $as_dirs"
2976 as_dir
=`$as_dirname -- "$as_dir" ||
2977 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2978 X"$as_dir" : 'X\(//\)[^/]' \| \
2979 X"$as_dir" : 'X\(//\)$' \| \
2980 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2981 $as_echo X"$as_dir" |
2982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2999 test -d "$as_dir" && break
3001 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3002 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
3006 if mkdir
-p .
2>/dev
/null
; then
3007 as_mkdir_p
='mkdir -p "$as_dir"'
3009 test -d .
/-p && rmdir .
/-p
3013 if test -x / >/dev
/null
2>&1; then
3016 if ls -dL / >/dev
/null
2>&1; then
3023 if test -d "$1"; then
3029 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3030 ???[sx]*):;;*)false;;esac;fi
3034 as_executable_p
=$as_test_x
3036 # Sed expression to map a string onto a valid CPP name.
3037 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3039 # Sed expression to map a string onto a valid variable name.
3040 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3044 ## ----------------------------------- ##
3045 ## Main body of $CONFIG_STATUS script. ##
3046 ## ----------------------------------- ##
3048 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3051 # Save the log message, to keep $0 and so on meaningful, and to
3052 # report actual input values of CONFIG_FILES etc. instead of their
3053 # values after options handling.
3055 This file was extended by mingw-w64 $as_me 1.0b, which was
3056 generated by GNU Autoconf 2.65. Invocation command line was
3058 CONFIG_FILES = $CONFIG_FILES
3059 CONFIG_HEADERS = $CONFIG_HEADERS
3060 CONFIG_LINKS = $CONFIG_LINKS
3061 CONFIG_COMMANDS = $CONFIG_COMMANDS
3064 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3069 case $ac_config_files in *"
3070 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3073 case $ac_config_headers in *"
3074 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
3078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3079 # Files that config.status was made for.
3080 config_files="$ac_config_files"
3081 config_headers="$ac_config_headers"
3085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3087 \`$as_me' instantiates files and other configuration actions
3088 from templates according to the current configuration. Unless the files
3089 and actions are specified as TAGs, all are instantiated by default.
3091 Usage: $0 [OPTION]... [TAG]...
3093 -h, --help print this help, then exit
3094 -V, --version print version number and configuration settings, then exit
3095 --config print configuration, then exit
3096 -q, --quiet, --silent
3097 do not print progress messages
3098 -d, --debug don't remove temporary files
3099 --recheck update $as_me by reconfiguring in the same conditions
3100 --file=FILE[:TEMPLATE]
3101 instantiate the configuration file FILE
3102 --header=FILE[:TEMPLATE]
3103 instantiate the configuration header FILE
3105 Configuration files:
3108 Configuration headers:
3111 Report bugs to <mingw-w64-public@lists.sourceforge.net>."
3114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3115 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3117 mingw-w64 config.status 1.0b
3118 configured by $0, generated by GNU Autoconf 2.65,
3119 with options \\"\$ac_cs_config\\"
3121 Copyright (C) 2009 Free Software Foundation, Inc.
3122 This config.status script is free software; the Free Software Foundation
3123 gives unlimited permission to copy, distribute and modify it."
3130 test -n "\$AWK" || AWK=awk
3133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3134 # The default lists apply if the user does not specify any file.
3140 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3141 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3152 # Handling of the options.
3153 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3155 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3156 $as_echo "$ac_cs_version"; exit ;;
3157 --config |
--confi |
--conf |
--con |
--co |
--c )
3158 $as_echo "$ac_cs_config"; exit ;;
3159 --debug |
--debu |
--deb |
--de |
--d |
-d )
3161 --file |
--fil |
--fi |
--f )
3164 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3166 as_fn_append CONFIG_FILES
" '$ac_optarg'"
3167 ac_need_defaults
=false
;;
3168 --header |
--heade |
--head |
--hea )
3171 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3173 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
3174 ac_need_defaults
=false
;;
3176 # Conflict between --help and --header
3177 as_fn_error
"ambiguous option: \`$1'
3178 Try \`$0 --help' for more information.";;
3179 --help |
--hel |
-h )
3180 $as_echo "$ac_cs_usage"; exit ;;
3181 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3182 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3186 -*) as_fn_error
"unrecognized option: \`$1'
3187 Try \`$0 --help' for more information." ;;
3189 *) as_fn_append ac_config_targets
" $1"
3190 ac_need_defaults
=false
;;
3196 ac_configure_extra_args
=
3198 if $ac_cs_silent; then
3200 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3205 if \$ac_cs_recheck; then
3206 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3208 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3209 CONFIG_SHELL='$SHELL'
3215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3219 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3220 ## Running $as_me. ##
3226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3231 # Handling of arguments.
3232 for ac_config_target
in $ac_config_targets
3234 case $ac_config_target in
3235 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
3236 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3238 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3243 # If the user did not use the arguments to specify the items to instantiate,
3244 # then the envvar interface is used. Set only those that are not.
3245 # We use the long form for the default assignment because of an extremely
3246 # bizarre bug on SunOS 4.1.3.
3247 if $ac_need_defaults; then
3248 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3249 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
3252 # Have a temporary directory for convenience. Make it in the build tree
3253 # simply because there is no reason against having it here, and in addition,
3254 # creating and moving files from /tmp can sometimes cause problems.
3255 # Hook for its removal unless debugging.
3256 # Note that there is a small window in which the directory will not be cleaned:
3257 # after its creation but before its name has been assigned to `$tmp'.
3261 trap 'exit_status=$?
3262 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3264 trap 'as_fn_exit 1' 1 2 13 15
3266 # Create a (secure) tmp directory for tmp files.
3269 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3270 test -n "$tmp" && test -d "$tmp"
3273 tmp
=.
/conf$$
-$RANDOM
3274 (umask 077 && mkdir
"$tmp")
3275 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
3277 # Set up the scripts for CONFIG_FILES section.
3278 # No need to generate them if there are no CONFIG_FILES.
3279 # This happens for instance with `./config.status config.h'.
3280 if test -n "$CONFIG_FILES"; then
3283 ac_cr
=`echo X | tr X '\015'`
3284 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3285 # But we know of no other shell where ac_cr would be empty at this
3286 # point, so we can use a bashism as a fallback.
3287 if test "x$ac_cr" = x
; then
3288 eval ac_cr
=\$
\'\\r
\'
3290 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3291 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3297 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3302 echo "cat >conf$$subs.awk <<_ACEOF" &&
3303 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3306 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
3307 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3309 for ac_last_try in false false false false false :; do
3310 . ./conf$$subs.sh ||
3311 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
3313 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
3314 if test $ac_delim_n = $ac_delim_num; then
3316 elif $ac_last_try; then
3317 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
3319 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3325 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
3329 s/^/S["/; s
/!.
*/"]=/
3339 s/\(.\{148\}\)..*/\1/
3341 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3346 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3353 s/\(.\{148\}\)..*/\1/
3355 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3359 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3364 ' <conf$$subs.awk | sed '
3369 ' >>$CONFIG_STATUS || ac_write_fail=1
3370 rm -f conf$$subs.awk
3371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3373 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
3374 for (key in S) S_is_set[key] = 1
3380 nfields = split(line, field, "@
")
3382 len = length(field[1])
3383 for (i = 2; i < nfields; i++) {
3385 keylen = length(key)
3386 if (S_is_set[key]) {
3388 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3389 len += length(value) + length(field[++i])
3400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3401 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3402 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
3405 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
3406 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
3409 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3410 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
3411 # trailing colons and then remove the whole line if VPATH becomes empty
3412 # (actually we leave an empty line to preserve line numbers).
3413 if test "x
$srcdir" = x.; then
3414 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3418 s/^\([^=]*=[ ]*\):*/\1/
3424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3425 fi # test -n "$CONFIG_FILES"
3427 # Set up the scripts for CONFIG_HEADERS section.
3428 # No need to generate them if there are no CONFIG_HEADERS.
3429 # This happens for instance with `./config.status Makefile'.
3430 if test -n "$CONFIG_HEADERS"; then
3431 cat >"$tmp/defines.
awk" <<\_ACAWK ||
3435 # Transform confdefs.h into an awk script `defines.awk', embedded as
3436 # here-document in config.status, that substitutes the proper values into
3437 # config.h.in to produce config.h.
3439 # Create a delimiter string that does not exist in confdefs.h, to ease
3440 # handling of long lines.
3442 for ac_last_try in false false :; do
3443 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
3444 if test -z "$ac_t"; then
3446 elif $ac_last_try; then
3447 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
3449 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3453 # For the awk script, D is an array of macro values keyed by name,
3454 # likewise P contains macro parameters if any. Preserve backslash
3455 # newline sequences.
3457 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3459 s/.\{148\}/&'"$ac_delim"'/g
3462 s/^[ ]*#[ ]*define[ ][ ]*/ /
3469 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
3471 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
3475 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
3476 D["\
1"]=" \
3\\\\\\n
"\\/p
3478 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
3483 s/.\{148\}/&'"$ac_delim"'/g
3488 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
3491 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
3493 ' <confdefs.h | sed '
3494 s/'"$ac_delim"'/"\\\
3495 "/g' >>$CONFIG_STATUS || ac_write_fail=1
3497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3498 for (key in D) D_is_set[key] = 1
3501 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3503 split(line, arg, " ")
3504 if (arg[1] == "#") {
3508 defundef
= substr
(arg
[1], 2)
3511 split(mac1
, mac2
, "(") #)
3513 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
3514 if (D_is_set
[macro
]) {
3515 # Preserve the white space surrounding the "#".
3516 print prefix
"define", macro P
[macro
] D
[macro
]
3519 # Replace #undef with comments. This is necessary, for example,
3520 # in the case of _POSIX_SOURCE, which is predefined and required
3521 # on some systems where configure will not decide to define it.
3522 if (defundef
== "undef") {
3523 print
"/*", prefix defundef
, macro
, "*/"
3531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3532 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
3533 fi # test -n "$CONFIG_HEADERS"
3536 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
3541 :[FHLC
]) ac_mode
=$ac_tag; continue;;
3543 case $ac_mode$ac_tag in
3545 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
3546 :[FH
]-) ac_tag
=-:-;;
3547 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
3564 -) ac_f
="$tmp/stdin";;
3565 *) # Look for the file first in the build tree, then in the source tree
3566 # (if the path is not absolute). The absolute path cannot be DOS-style,
3567 # because $ac_f cannot contain `:'.
3571 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
3573 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
3575 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3576 as_fn_append ac_file_inputs
" '$ac_f'"
3579 # Let's still pretend it is `configure' which instantiates (i.e., don't
3580 # use $as_me), people would be surprised to read:
3581 # /* config.h. Generated by config.status. */
3582 configure_input
='Generated from '`
3583 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3585 if test x
"$ac_file" != x-
; then
3586 configure_input
="$ac_file. $configure_input"
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3588 $as_echo "$as_me: creating $ac_file" >&6;}
3590 # Neutralize special characters interpreted by sed in replacement strings.
3591 case $configure_input in #(
3592 *\
&* |
*\|
* |
*\\* )
3593 ac_sed_conf_input
=`$as_echo "$configure_input" |
3594 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3595 *) ac_sed_conf_input
=$configure_input;;
3599 *:-:* |
*:-) cat >"$tmp/stdin" \
3600 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
3605 ac_dir
=`$as_dirname -- "$ac_file" ||
3606 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3607 X"$ac_file" : 'X\(//\)[^/]' \| \
3608 X"$ac_file" : 'X\(//\)$' \| \
3609 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3610 $as_echo X"$ac_file" |
3611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3628 as_dir
="$ac_dir"; as_fn_mkdir_p
3632 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3634 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3635 # A ".." for each directory in $ac_dir_suffix.
3636 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3637 case $ac_top_builddir_sub in
3638 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3639 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
3642 ac_abs_top_builddir
=$ac_pwd
3643 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
3644 # for backward compatibility:
3645 ac_top_builddir
=$ac_top_build_prefix
3648 .
) # We are building in place.
3650 ac_top_srcdir
=$ac_top_builddir_sub
3651 ac_abs_top_srcdir
=$ac_pwd ;;
3652 [\\/]* | ?
:[\\/]* ) # Absolute name.
3653 ac_srcdir
=$srcdir$ac_dir_suffix;
3654 ac_top_srcdir
=$srcdir
3655 ac_abs_top_srcdir
=$srcdir ;;
3657 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
3658 ac_top_srcdir
=$ac_top_build_prefix$srcdir
3659 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
3661 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
3671 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
3672 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
3676 [\\/$
]* | ?
:[\\/]* ) ;;
3677 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
3681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3682 # If the template does not know about datarootdir, expand it.
3683 # FIXME: This hack should be removed a few years after 2.60.
3684 ac_datarootdir_hack
=; ac_datarootdir_seen
=
3695 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3696 *datarootdir
*) ac_datarootdir_seen
=yes;;
3697 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3699 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3702 ac_datarootdir_hack='
3703 s&@datadir@&$datadir&g
3704 s&@docdir@&$docdir&g
3705 s&@infodir@&$infodir&g
3706 s&@localedir@&$localedir&g
3707 s&@mandir@&$mandir&g
3708 s&\\\${datarootdir}&$datarootdir&g' ;;
3712 # Neutralize VPATH when `$srcdir' = `.'.
3713 # Shell code in configure.ac might set extrasub.
3714 # FIXME: do we really want to maintain this feature?
3715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3716 ac_sed_extra="$ac_vpsub
3719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3721 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3722 s|@configure_input@|
$ac_sed_conf_input|
;t t
3723 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
3724 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
3725 s
&@srcdir@
&$ac_srcdir&;t t
3726 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
3727 s
&@top_srcdir@
&$ac_top_srcdir&;t t
3728 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
3729 s
&@builddir@
&$ac_builddir&;t t
3730 s
&@abs_builddir@
&$ac_abs_builddir&;t t
3731 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
3732 s
&@INSTALL@
&$ac_INSTALL&;t t
3733 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
3734 $ac_datarootdir_hack
3736 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
3737 || as_fn_error "could not create
$ac_file" "$LINENO" 5
3739 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3740 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
3741 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
3743 which seems to be undefined. Please make sure it is defined." >&5
3744 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
3745 which seems to be undefined. Please make sure it is defined." >&2;}
3749 -) cat "$tmp/out" && rm -f "$tmp/out";;
3750 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3752 || as_fn_error "could not create $ac_file" "$LINENO" 5
3758 if test x"$ac_file" != x-; then
3760 $as_echo "/* $configure_input */" \
3761 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
3762 } >"$tmp/config.h" \
3763 || as_fn_error "could not create $ac_file" "$LINENO" 5
3764 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
3766 $as_echo "$as_me: $ac_file is unchanged" >&6;}
3769 mv "$tmp/config.h" "$ac_file" \
3770 || as_fn_error "could not create $ac_file" "$LINENO" 5
3773 $as_echo "/* $configure_input */" \
3774 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
3775 || as_fn_error "could not create -" "$LINENO" 5
3777 # Compute "$ac_file"'s index
in $config_headers.
3780 for _am_header
in $config_headers :; do
3782 $_am_arg |
$_am_arg:* )
3785 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
3788 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
3789 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3790 X"$_am_arg" : 'X\(//\)[^/]' \| \
3791 X"$_am_arg" : 'X\(//\)$' \| \
3792 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
3793 $as_echo X"$_am_arg" |
3794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3810 s/.*/./; q'`/stamp-h
$_am_stamp_count
3821 ac_clean_files
=$ac_clean_files_save
3823 test $ac_write_fail = 0 ||
3824 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
3827 # configure is writing to config.log, and then calls config.status.
3828 # config.status does its own redirection, appending to config.log.
3829 # Unfortunately, on DOS this fails, as config.log is still kept open
3830 # by configure, so config.status won't be able to write to it; its
3831 # output is simply discarded. So we exec the FD to /dev/null,
3832 # effectively closing config.log, so it can be properly (re)opened and
3833 # appended to by config.status. When coming back to configure, we
3834 # need to make the FD available again.
3835 if test "$no_create" != yes; then
3837 ac_config_status_args
=
3838 test "$silent" = yes &&
3839 ac_config_status_args
="$ac_config_status_args --quiet"
3841 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
3843 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3844 # would make configure fail if this is the last instruction.
3845 $ac_cs_success || as_fn_exit $?
3849 # CONFIG_SUBDIRS section.
3851 if test "$no_recursion" != yes; then
3853 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
3854 # so they do not pile up.
3855 ac_sub_configure_args
=
3857 eval "set x $ac_configure_args"
3861 if test -n "$ac_prev"; then
3866 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
3867 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
3868 ac_prev
=cache_file
;;
3869 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
3870 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
3873 --config-cache |
-C)
3875 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
3877 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
3879 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
3881 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
3883 --disable-option-checking)
3887 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3889 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
3893 # Always prepend --prefix to ensure using the same prefix
3894 # in subdir configurations.
3895 ac_arg
="--prefix=$prefix"
3897 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3899 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
3902 if test "$silent" = yes; then
3903 ac_sub_configure_args
="--silent $ac_sub_configure_args"
3906 # Always prepend --disable-option-checking to silence warnings, since
3907 # different subdirs can have different --enable and --with options.
3908 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
3911 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
3913 # Do not complain, so a configure script can configure whichever
3914 # parts of a large source tree are present.
3915 test -d "$srcdir/$ac_dir" ||
continue
3917 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3918 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
3919 $as_echo "$ac_msg" >&6
3920 as_dir
="$ac_dir"; as_fn_mkdir_p
3924 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3926 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3927 # A ".." for each directory in $ac_dir_suffix.
3928 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3929 case $ac_top_builddir_sub in
3930 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
3931 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
3934 ac_abs_top_builddir
=$ac_pwd
3935 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
3936 # for backward compatibility:
3937 ac_top_builddir
=$ac_top_build_prefix
3940 .
) # We are building in place.
3942 ac_top_srcdir
=$ac_top_builddir_sub
3943 ac_abs_top_srcdir
=$ac_pwd ;;
3944 [\\/]* | ?
:[\\/]* ) # Absolute name.
3945 ac_srcdir
=$srcdir$ac_dir_suffix;
3946 ac_top_srcdir
=$srcdir
3947 ac_abs_top_srcdir
=$srcdir ;;
3949 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
3950 ac_top_srcdir
=$ac_top_build_prefix$srcdir
3951 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
3953 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
3958 # Check for guested configure; otherwise get Cygnus style configure.
3959 if test -f "$ac_srcdir/configure.gnu"; then
3960 ac_sub_configure
=$ac_srcdir/configure.gnu
3961 elif test -f "$ac_srcdir/configure"; then
3962 ac_sub_configure
=$ac_srcdir/configure
3963 elif test -f "$ac_srcdir/configure.in"; then
3964 # This should be Cygnus configure.
3965 ac_sub_configure
=$ac_aux_dir/configure
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
3968 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3972 # The recursion is here.
3973 if test -n "$ac_sub_configure"; then
3974 # Make the cache file name correct relative to the subdirectory.
3976 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
3978 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3982 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3983 # The eval makes quoting arguments work.
3984 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3985 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3986 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
3992 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3994 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}