2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev
/null
; then :
204 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
209 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir
=.
216 for as_base
in sh bash ksh sh5
; do
217 # Try only shells that exist, to save several forks.
218 as_shell
=$as_dir/$as_base
219 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
221 CONFIG_SHELL
=$as_shell as_have_required
=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$SHELL as_have_required
=yes
237 if test "x$CONFIG_SHELL" != x
; then :
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
245 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
247 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 if test x
$as_have_required = xno
; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x
${ZSH_VERSION+set} = xset
; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
275 SHELL
=${CONFIG_SHELL-/bin/sh}
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE
= GREP_OPTIONS
=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir
=.
/$as_dir;;
320 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
324 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 as_dirs
="'$as_qdir' $as_dirs"
328 as_dir
=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
354 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p
()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
373 eval 'as_fn_append ()
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
397 as_val
=`expr "$@" || test $? -eq 1`
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
409 as_status
=$1; test $as_status -eq 0 && as_status
=1
411 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit
$as_status
418 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
425 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
437 as_me
=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 # Avoid depending upon Character Ranges.
457 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits
='0123456789'
461 as_cr_alnum
=$as_cr_Letters$as_cr_digits
464 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
465 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 chmod +x
"$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec
=no
; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
495 # Exit status is that of the last command.
499 ECHO_C
= ECHO_N
= ECHO_T
=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
540 as_mkdir_p
='mkdir -p "$as_dir"'
542 test -d .
/-p && rmdir .
/-p
547 as_executable_p
=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix
=/usr
/local
569 ac_config_libobj_dir
=.
576 # Identity of this package.
584 ac_unique_file
="Makefile.in"
586 enable_option_checking
=no
587 ac_subst_vars
='LTLIBOBJS
649 program_transform_name
664 enable_option_checking
668 ac_precious_vars
='build_alias
680 ac_subdirs_all
='cygwin utils cygserver lsaauth doc'
682 # Initialize some variables set by options.
684 ac_init_version
=false
685 ac_unrecognized_opts
=
687 # The variables have the same names as the options, with
688 # dashes changed to underlines.
696 program_transform_name
=s
,x
,x
,
704 # Installation directory options.
705 # These are left unexpanded so users can "make install exec_prefix=/foo"
706 # and all the variables that are supposed to be based on exec_prefix
707 # by default will actually change.
708 # Use braces instead of parens because sh, perl, etc. also accept them.
709 # (The list follows the same order as the GNU Coding Standards.)
710 bindir
='${exec_prefix}/bin'
711 sbindir
='${exec_prefix}/sbin'
712 libexecdir
='${exec_prefix}/libexec'
713 datarootdir
='${prefix}/share'
714 datadir
='${datarootdir}'
715 sysconfdir
='${prefix}/etc'
716 sharedstatedir
='${prefix}/com'
717 localstatedir
='${prefix}/var'
718 includedir
='${prefix}/include'
719 oldincludedir
='/usr/include'
720 docdir
='${datarootdir}/doc/${PACKAGE}'
721 infodir
='${datarootdir}/info'
726 libdir
='${exec_prefix}/lib'
727 localedir
='${datarootdir}/locale'
728 mandir
='${datarootdir}/man'
734 # If the previous option needs an argument, assign it.
735 if test -n "$ac_prev"; then
736 eval $ac_prev=\
$ac_option
742 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 # Accept the important Cygnus configure options, so we can diagnose typos.
749 case $ac_dashdash$ac_option in
753 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
755 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
758 -build |
--build |
--buil |
--bui |
--bu)
759 ac_prev
=build_alias
;;
760 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
761 build_alias
=$ac_optarg ;;
763 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
764 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
765 ac_prev
=cache_file
;;
766 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
767 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
768 cache_file
=$ac_optarg ;;
771 cache_file
=config.cache
;;
773 -datadir |
--datadir |
--datadi |
--datad)
775 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
776 datadir
=$ac_optarg ;;
778 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
779 |
--dataroo |
--dataro |
--datar)
780 ac_prev
=datarootdir
;;
781 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
782 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
783 datarootdir
=$ac_optarg ;;
785 -disable-* |
--disable-*)
786 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
789 as_fn_error $?
"invalid feature name: $ac_useropt"
790 ac_useropt_orig
=$ac_useropt
791 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792 case $ac_user_opts in
796 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
797 ac_unrecognized_sep
=', ';;
799 eval enable_
$ac_useropt=no
;;
801 -docdir |
--docdir |
--docdi |
--doc |
--do)
803 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
806 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
808 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
811 -enable-* |
--enable-*)
812 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
815 as_fn_error $?
"invalid feature name: $ac_useropt"
816 ac_useropt_orig
=$ac_useropt
817 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
822 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
823 ac_unrecognized_sep
=', ';;
825 eval enable_
$ac_useropt=\
$ac_optarg ;;
827 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
828 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
829 |
--exec |
--exe |
--ex)
830 ac_prev
=exec_prefix
;;
831 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
832 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
833 |
--exec=* |
--exe=* |
--ex=*)
834 exec_prefix
=$ac_optarg ;;
836 -gas |
--gas |
--ga |
--g)
837 # Obsolete; use --with-gas.
840 -help |
--help |
--hel |
--he |
-h)
842 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
843 ac_init_help
=recursive
;;
844 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
845 ac_init_help
=short
;;
847 -host |
--host |
--hos |
--ho)
848 ac_prev
=host_alias
;;
849 -host=* |
--host=* |
--hos=* |
--ho=*)
850 host_alias
=$ac_optarg ;;
852 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
854 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
856 htmldir
=$ac_optarg ;;
858 -includedir |
--includedir |
--includedi |
--included |
--include \
859 |
--includ |
--inclu |
--incl |
--inc)
860 ac_prev
=includedir
;;
861 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
862 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
863 includedir
=$ac_optarg ;;
865 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
867 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
868 infodir
=$ac_optarg ;;
870 -libdir |
--libdir |
--libdi |
--libd)
872 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
875 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
876 |
--libexe |
--libex |
--libe)
877 ac_prev
=libexecdir
;;
878 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
879 |
--libexe=* |
--libex=* |
--libe=*)
880 libexecdir
=$ac_optarg ;;
882 -localedir |
--localedir |
--localedi |
--localed |
--locale)
884 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
885 localedir
=$ac_optarg ;;
887 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
888 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
889 ac_prev
=localstatedir
;;
890 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
891 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
892 localstatedir
=$ac_optarg ;;
894 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
896 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
900 # Obsolete; use --without-fp.
903 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
904 |
--no-cr |
--no-c |
-n)
907 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
908 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
911 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
912 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
913 |
--oldin |
--oldi |
--old |
--ol |
--o)
914 ac_prev
=oldincludedir
;;
915 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
916 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
917 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
918 oldincludedir
=$ac_optarg ;;
920 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
922 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
925 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
926 |
--program-pre |
--program-pr |
--program-p)
927 ac_prev
=program_prefix
;;
928 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
929 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
930 program_prefix
=$ac_optarg ;;
932 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
933 |
--program-suf |
--program-su |
--program-s)
934 ac_prev
=program_suffix
;;
935 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
936 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
937 program_suffix
=$ac_optarg ;;
939 -program-transform-name |
--program-transform-name \
940 |
--program-transform-nam |
--program-transform-na \
941 |
--program-transform-n |
--program-transform- \
942 |
--program-transform |
--program-transfor \
943 |
--program-transfo |
--program-transf \
944 |
--program-trans |
--program-tran \
945 |
--progr-tra |
--program-tr |
--program-t)
946 ac_prev
=program_transform_name
;;
947 -program-transform-name=* |
--program-transform-name=* \
948 |
--program-transform-nam=* |
--program-transform-na=* \
949 |
--program-transform-n=* |
--program-transform-=* \
950 |
--program-transform=* |
--program-transfor=* \
951 |
--program-transfo=* |
--program-transf=* \
952 |
--program-trans=* |
--program-tran=* \
953 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
954 program_transform_name
=$ac_optarg ;;
956 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
958 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
961 -psdir |
--psdir |
--psdi |
--psd |
--ps)
963 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
966 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
967 |
-silent |
--silent |
--silen |
--sile |
--sil)
970 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
972 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
974 sbindir
=$ac_optarg ;;
976 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
977 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
978 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
980 ac_prev
=sharedstatedir
;;
981 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
982 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
983 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
985 sharedstatedir
=$ac_optarg ;;
987 -site |
--site |
--sit)
989 -site=* |
--site=* |
--sit=*)
992 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
994 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
997 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
998 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
999 ac_prev
=sysconfdir
;;
1000 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1001 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1002 sysconfdir
=$ac_optarg ;;
1004 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1005 ac_prev
=target_alias
;;
1006 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1007 target_alias
=$ac_optarg ;;
1009 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1012 -version |
--version |
--versio |
--versi |
--vers |
-V)
1013 ac_init_version
=: ;;
1016 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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--with-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval with_
$ac_useropt=\
$ac_optarg ;;
1031 -without-* |
--without-*)
1032 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 as_fn_error $?
"invalid package name: $ac_useropt"
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval with_
$ac_useropt=no
;;
1048 # Obsolete; use --with-x.
1051 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1052 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1053 ac_prev
=x_includes
;;
1054 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1055 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1056 x_includes
=$ac_optarg ;;
1058 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1059 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1060 ac_prev
=x_libraries
;;
1061 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1062 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1063 x_libraries
=$ac_optarg ;;
1065 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1066 Try \`$0 --help' for more information"
1070 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1071 # Reject names that are not valid shell variable names.
1072 case $ac_envvar in #(
1073 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1074 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1076 eval $ac_envvar=\
$ac_optarg
1077 export $ac_envvar ;;
1080 # FIXME: should be removed in autoconf 3.0.
1081 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1082 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1083 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1084 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1090 if test -n "$ac_prev"; then
1091 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1092 as_fn_error $?
"missing argument to $ac_option"
1095 if test -n "$ac_unrecognized_opts"; then
1096 case $enable_option_checking in
1098 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1099 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1103 # Check all directory arguments for consistency.
1104 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1105 datadir sysconfdir sharedstatedir localstatedir includedir \
1106 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1107 libdir localedir mandir
1109 eval ac_val
=\$
$ac_var
1110 # Remove trailing slashes.
1113 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1114 eval $ac_var=\
$ac_val;;
1116 # Be sure to have absolute directory names.
1118 [\\/$
]* | ?
:[\\/]* ) continue;;
1119 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1121 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1124 # There might be people who depend on the old broken behavior: `$host'
1125 # used to hold the argument of --host etc.
1126 # FIXME: To remove some day.
1129 target
=$target_alias
1131 # FIXME: To remove some day.
1132 if test "x$host_alias" != x
; then
1133 if test "x$build_alias" = x
; then
1134 cross_compiling
=maybe
1135 elif test "x$build_alias" != "x$host_alias"; then
1141 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1143 test "$silent" = yes && exec 6>/dev
/null
1146 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1147 ac_ls_di
=`ls -di .` &&
1148 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1149 as_fn_error $?
"working directory cannot be determined"
1150 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1151 as_fn_error $?
"pwd does not report name of working directory"
1154 # Find the source files, if location was not specified.
1155 if test -z "$srcdir"; then
1156 ac_srcdir_defaulted
=yes
1157 # Try the directory containing this script, then the parent directory.
1158 ac_confdir
=`$as_dirname -- "$as_myself" ||
1159 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1160 X"$as_myself" : 'X\(//\)[^/]' \| \
1161 X"$as_myself" : 'X\(//\)$' \| \
1162 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1163 $as_echo X"$as_myself" |
1164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1182 if test ! -r "$srcdir/$ac_unique_file"; then
1186 ac_srcdir_defaulted
=no
1188 if test ! -r "$srcdir/$ac_unique_file"; then
1189 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1190 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1192 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1194 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1196 # When building in place, set srcdir=.
1197 if test "$ac_abs_confdir" = "$ac_pwd"; then
1200 # Remove unnecessary trailing slashes from srcdir.
1201 # Double slashes in file names in object file debugging info
1202 # mess up M-x gdb in Emacs.
1204 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1206 for ac_var
in $ac_precious_vars; do
1207 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1208 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1209 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1210 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1214 # Report the --help message.
1216 if test "$ac_init_help" = "long"; then
1217 # Omit some internal or obsolete options to make the list less imposing.
1218 # This message is too long to be a string in the A/UX 3.1 sh.
1220 \`configure' configures this package to adapt to many kinds of systems.
1222 Usage: $0 [OPTION]... [VAR=VALUE]...
1224 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1225 VAR=VALUE. See below for descriptions of some of the useful variables.
1227 Defaults for the options are specified in brackets.
1230 -h, --help display this help and exit
1231 --help=short display options specific to this package
1232 --help=recursive display the short help of all the included packages
1233 -V, --version display version information and exit
1234 -q, --quiet, --silent do not print \`checking ...' messages
1235 --cache-file=FILE cache test results in FILE [disabled]
1236 -C, --config-cache alias for \`--cache-file=config.cache'
1237 -n, --no-create do not create output files
1238 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1240 Installation directories:
1241 --prefix=PREFIX install architecture-independent files in PREFIX
1242 [$ac_default_prefix]
1243 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1246 By default, \`make install' will install all the files in
1247 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1248 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1249 for instance \`--prefix=\$HOME'.
1251 For better control, use the options below.
1253 Fine tuning of the installation directories:
1254 --bindir=DIR user executables [EPREFIX/bin]
1255 --sbindir=DIR system admin executables [EPREFIX/sbin]
1256 --libexecdir=DIR program executables [EPREFIX/libexec]
1257 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1258 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1259 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1260 --libdir=DIR object code libraries [EPREFIX/lib]
1261 --includedir=DIR C header files [PREFIX/include]
1262 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1263 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1264 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1265 --infodir=DIR info documentation [DATAROOTDIR/info]
1266 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1267 --mandir=DIR man documentation [DATAROOTDIR/man]
1268 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1269 --htmldir=DIR html documentation [DOCDIR]
1270 --dvidir=DIR dvi documentation [DOCDIR]
1271 --pdfdir=DIR pdf documentation [DOCDIR]
1272 --psdir=DIR ps documentation [DOCDIR]
1278 --build=BUILD configure
for building on BUILD
[guessed
]
1279 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1280 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1284 if test -n "$ac_init_help"; then
1289 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1290 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1291 --with-windows-headers=DIR
1292 specify where the windows includes are located
1293 --with-windows-libs=DIR specify where the windows libraries are located
1295 Some influential environment variables
:
1296 CC C compiler
command
1297 CFLAGS C compiler flags
1298 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1299 nonstandard directory
<lib dir
>
1300 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1301 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1302 you have headers
in a nonstandard directory
<include dir
>
1303 CXX C
++ compiler
command
1304 CXXFLAGS C
++ compiler flags
1307 Use these variables to override the choices made by
`configure' or to help
1308 it to find libraries and programs with nonstandard names/locations.
1310 Report bugs to the package provider.
1315 if test "$ac_init_help" = "recursive"; then
1316 # If there are subdirs, report their specific --help.
1317 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1318 test -d "$ac_dir" ||
1319 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1324 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1326 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1327 # A ".." for each directory in $ac_dir_suffix.
1328 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1329 case $ac_top_builddir_sub in
1330 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1334 ac_abs_top_builddir=$ac_pwd
1335 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1336 # for backward compatibility:
1337 ac_top_builddir=$ac_top_build_prefix
1340 .) # We are building in place.
1342 ac_top_srcdir=$ac_top_builddir_sub
1343 ac_abs_top_srcdir=$ac_pwd ;;
1344 [\\/]* | ?:[\\/]* ) # Absolute name.
1345 ac_srcdir=$srcdir$ac_dir_suffix;
1346 ac_top_srcdir=$srcdir
1347 ac_abs_top_srcdir=$srcdir ;;
1349 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1350 ac_top_srcdir=$ac_top_build_prefix$srcdir
1351 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1353 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1355 cd "$ac_dir" || { ac_status=$?; continue; }
1356 # Check for guested configure.
1357 if test -f "$ac_srcdir/configure.gnu"; then
1359 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1360 elif test -f "$ac_srcdir/configure"; then
1362 $SHELL "$ac_srcdir/configure" --help=recursive
1364 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1366 cd "$ac_pwd" || { ac_status=$?; break; }
1370 test -n "$ac_init_help" && exit $ac_status
1371 if $ac_init_version; then
1374 generated by GNU Autoconf 2.69
1376 Copyright (C) 2012 Free Software Foundation, Inc.
1377 This configure script is free software; the Free Software Foundation
1378 gives unlimited permission to copy, distribute and modify it.
1383 ## ------------------------ ##
1384 ## Autoconf initialization. ##
1385 ## ------------------------ ##
1387 # ac_fn_c_try_compile LINENO
1388 # --------------------------
1389 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1390 ac_fn_c_try_compile ()
1392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1393 rm -f conftest.$ac_objext
1394 if { { ac_try="$ac_compile"
1396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1397 *) ac_try_echo
=$ac_try;;
1399 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1400 $as_echo "$ac_try_echo"; } >&5
1401 (eval "$ac_compile") 2>conftest.err
1403 if test -s conftest.err
; then
1404 grep -v '^ *+' conftest.err
>conftest.er1
1405 cat conftest.er1
>&5
1406 mv -f conftest.er1 conftest.err
1408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1409 test $ac_status = 0; } && {
1410 test -z "$ac_c_werror_flag" ||
1411 test ! -s conftest.err
1412 } && test -s conftest.
$ac_objext; then :
1415 $as_echo "$as_me: failed program was:" >&5
1416 sed 's/^/| /' conftest.
$ac_ext >&5
1420 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1421 as_fn_set_status
$ac_retval
1423 } # ac_fn_c_try_compile
1425 # ac_fn_cxx_try_compile LINENO
1426 # ----------------------------
1427 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1428 ac_fn_cxx_try_compile
()
1430 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1431 rm -f conftest.
$ac_objext
1432 if { { ac_try
="$ac_compile"
1434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1435 *) ac_try_echo=$ac_try;;
1437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438 $as_echo "$ac_try_echo"; } >&5
1439 (eval "$ac_compile") 2>conftest.err
1441 if test -s conftest.err; then
1442 grep -v '^ *+' conftest.err >conftest.er1
1443 cat conftest.er1 >&5
1444 mv -f conftest.er1 conftest.err
1446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447 test $ac_status = 0; } && {
1448 test -z "$ac_cxx_werror_flag" ||
1449 test ! -s conftest.err
1450 } && test -s conftest.$ac_objext; then :
1453 $as_echo "$as_me: failed program was:" >&5
1454 sed 's/^/| /' conftest.$ac_ext >&5
1458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1459 as_fn_set_status $ac_retval
1461 } # ac_fn_cxx_try_compile
1463 # ac_fn_c_try_cpp LINENO
1464 # ----------------------
1465 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469 if { { ac_try="$ac_cpp conftest.$ac_ext"
1471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1472 *) ac_try_echo
=$ac_try;;
1474 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1475 $as_echo "$ac_try_echo"; } >&5
1476 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1478 if test -s conftest.err
; then
1479 grep -v '^ *+' conftest.err
>conftest.er1
1480 cat conftest.er1
>&5
1481 mv -f conftest.er1 conftest.err
1483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1484 test $ac_status = 0; } > conftest.i
&& {
1485 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1486 test ! -s conftest.err
1490 $as_echo "$as_me: failed program was:" >&5
1491 sed 's/^/| /' conftest.
$ac_ext >&5
1495 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1496 as_fn_set_status
$ac_retval
1499 cat >config.log
<<_ACEOF
1500 This file contains any messages produced by compilers while
1501 running configure, to aid debugging if configure makes a mistake.
1503 It was created by $as_me, which was
1504 generated by GNU Autoconf 2.69. Invocation command line was
1516 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1517 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1518 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1519 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1520 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1522 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1523 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1525 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1526 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1527 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1528 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1529 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1530 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1531 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1539 test -z "$as_dir" && as_dir
=.
1540 $as_echo "PATH: $as_dir"
1556 # Keep a trace of the command line.
1557 # Strip out --no-create and --no-recursion so they do not pile up.
1558 # Strip out --silent because we don't want to record it for future runs.
1559 # Also quote any args containing shell meta-characters.
1560 # Make two passes to allow for proper duplicate-argument suppression.
1564 ac_must_keep_next
=false
1570 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1571 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1572 |
-silent |
--silent |
--silen |
--sile |
--sil)
1575 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1578 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1580 as_fn_append ac_configure_args1
" '$ac_arg'"
1581 if test $ac_must_keep_next = true
; then
1582 ac_must_keep_next
=false
# Got value, back to normal.
1585 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1586 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1587 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1588 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1589 case "$ac_configure_args0 " in
1590 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1593 -* ) ac_must_keep_next
=true
;;
1596 as_fn_append ac_configure_args
" '$ac_arg'"
1601 { ac_configure_args0
=; unset ac_configure_args0
;}
1602 { ac_configure_args1
=; unset ac_configure_args1
;}
1604 # When interrupted or exit'd, cleanup temporary files, and complete
1605 # config.log. We remove comments because anyway the quotes in there
1606 # would cause problems or look ugly.
1607 # WARNING: Use '\'' to represent an apostrophe within the trap.
1608 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1609 trap 'exit_status=$?
1610 # Save into config.log some information that might help in debugging.
1614 $as_echo "## ---------------- ##
1615 ## Cache variables. ##
1616 ## ---------------- ##"
1618 # The following way of writing the cache mishandles newlines in values,
1620 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1621 eval ac_val=\$$ac_var
1625 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1626 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1629 _ | IFS | as_nl) ;; #(
1630 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1631 *) { eval $ac_var=; unset $ac_var;} ;;
1636 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1637 *${as_nl}ac_space=\ *)
1639 "s/'\''/'\''\\\\'\'''\''/g;
1640 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1643 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1650 $as_echo "## ----------------- ##
1651 ## Output variables. ##
1652 ## ----------------- ##"
1654 for ac_var in $ac_subst_vars
1656 eval ac_val=\$$ac_var
1658 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1660 $as_echo "$ac_var='\''$ac_val'\''"
1664 if test -n "$ac_subst_files"; then
1665 $as_echo "## ------------------- ##
1666 ## File substitutions. ##
1667 ## ------------------- ##"
1669 for ac_var
in $ac_subst_files
1671 eval ac_val
=\$
$ac_var
1673 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1675 $as_echo "$ac_var='\''$ac_val'\''"
1680 if test -s confdefs.h; then
1681 $as_echo "## ----------- ##
1688 test "$ac_signal" != 0 &&
1689 $as_echo "$as_me: caught signal $ac_signal"
1690 $as_echo "$as_me: exit $exit_status"
1692 rm -f core *.core core.conftest.* &&
1693 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1696 for ac_signal
in 1 2 13 15; do
1697 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1701 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1702 rm -f -r conftest
* confdefs.h
1704 $as_echo "/* confdefs.h */" > confdefs.h
1706 # Predefined preprocessor variables.
1708 cat >>confdefs.h
<<_ACEOF
1709 #define PACKAGE_NAME "$PACKAGE_NAME"
1712 cat >>confdefs.h
<<_ACEOF
1713 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1716 cat >>confdefs.h
<<_ACEOF
1717 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1720 cat >>confdefs.h
<<_ACEOF
1721 #define PACKAGE_STRING "$PACKAGE_STRING"
1724 cat >>confdefs.h
<<_ACEOF
1725 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1728 cat >>confdefs.h
<<_ACEOF
1729 #define PACKAGE_URL "$PACKAGE_URL"
1733 # Let the site file select an alternate cache file if it wants to.
1734 # Prefer an explicitly selected file to automatically selected ones.
1737 if test -n "$CONFIG_SITE"; then
1738 # We do not want a PATH search for config.site.
1739 case $CONFIG_SITE in #((
1740 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1741 */*) ac_site_file1
=$CONFIG_SITE;;
1742 *) ac_site_file1
=.
/$CONFIG_SITE;;
1744 elif test "x$prefix" != xNONE
; then
1745 ac_site_file1
=$prefix/share
/config.site
1746 ac_site_file2
=$prefix/etc
/config.site
1748 ac_site_file1
=$ac_default_prefix/share
/config.site
1749 ac_site_file2
=$ac_default_prefix/etc
/config.site
1751 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1753 test "x$ac_site_file" = xNONE
&& continue
1754 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1756 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1757 sed 's/^/| /' "$ac_site_file" >&5
1759 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1761 as_fn_error $?
"failed to load site script $ac_site_file
1762 See \`config.log' for more details" "$LINENO" 5; }
1766 if test -r "$cache_file"; then
1767 # Some versions of bash will fail to source /dev/null (special files
1768 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1769 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1771 $as_echo "$as_me: loading cache $cache_file" >&6;}
1773 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1774 *) .
"./$cache_file";;
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1779 $as_echo "$as_me: creating cache $cache_file" >&6;}
1783 # Check that the precious variables saved in the cache have kept the same
1785 ac_cache_corrupted
=false
1786 for ac_var
in $ac_precious_vars; do
1787 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1788 eval ac_new_set
=\
$ac_env_${ac_var}_set
1789 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1790 eval ac_new_val
=\
$ac_env_${ac_var}_value
1791 case $ac_old_set,$ac_new_set in
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1794 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1795 ac_cache_corrupted
=: ;;
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1798 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1799 ac_cache_corrupted
=: ;;
1802 if test "x$ac_old_val" != "x$ac_new_val"; then
1803 # differences in whitespace do not lead to failure.
1804 ac_old_val_w
=`echo x $ac_old_val`
1805 ac_new_val_w
=`echo x $ac_new_val`
1806 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1808 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1809 ac_cache_corrupted
=:
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1812 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1813 eval $ac_var=\
$ac_old_val
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1816 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1818 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1821 # Pass precious variables to config.status.
1822 if test "$ac_new_set" = set; then
1824 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1825 *) ac_arg
=$ac_var=$ac_new_val ;;
1827 case " $ac_configure_args " in
1828 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1829 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1833 if $ac_cache_corrupted; then
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1837 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1838 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1840 ## -------------------- ##
1841 ## Main body of script. ##
1842 ## -------------------- ##
1845 ac_cpp
='$CPP $CPPFLAGS'
1846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1852 for ac_dir
in ..
"$srcdir"/..
; do
1853 if test -f "$ac_dir/install-sh"; then
1855 ac_install_sh
="$ac_aux_dir/install-sh -c"
1857 elif test -f "$ac_dir/install.sh"; then
1859 ac_install_sh
="$ac_aux_dir/install.sh -c"
1861 elif test -f "$ac_dir/shtool"; then
1863 ac_install_sh
="$ac_aux_dir/shtool install -c"
1867 if test -z "$ac_aux_dir"; then
1868 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
1871 # These three variables are undocumented and unsupported,
1872 # and are intended to be withdrawn in a future Autoconf release.
1873 # They can cause serious problems if a builder's source tree is in a directory
1874 # whose full name contains unusual characters.
1875 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1876 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1877 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1881 .
${srcdir}/configure.cygwin
1883 # Find a good install program. We prefer a C program (faster),
1884 # so one script is as good as another. But avoid the broken or
1885 # incompatible versions:
1886 # SysV /etc/install, /usr/sbin/install
1887 # SunOS /usr/etc/install
1888 # IRIX /sbin/install
1890 # AmigaOS /C/install, which installs bootblocks on floppy discs
1891 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1892 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1893 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1894 # OS/2's system install, which has a completely different semantic
1895 # ./install, which can be erroneously created by make from ./install.sh.
1896 # Reject install programs that cannot install multiple files.
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1898 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1899 if test -z "$INSTALL"; then
1900 if ${ac_cv_path_install+:} false
; then :
1901 $as_echo_n "(cached) " >&6
1903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir
=.
1908 # Account for people who put trailing slashes in PATH elements.
1909 case $as_dir/ in #((
1910 .
/ | .
// |
/[cC
]/* | \
1911 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1912 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
1915 # OSF1 and SCO ODT 3.0 have their own names for install.
1916 # Don't use installbsd from OSF since it installs stuff as root
1918 for ac_prog
in ginstall scoinst
install; do
1919 for ac_exec_ext
in '' $ac_executable_extensions; do
1920 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
1921 if test $ac_prog = install &&
1922 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1923 # AIX install. It has an incompatible calling convention.
1925 elif test $ac_prog = install &&
1926 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1927 # program-specific install script used by HP pwplus--don't use.
1930 rm -rf conftest.one conftest.two conftest.dir
1931 echo one
> conftest.one
1932 echo two
> conftest.two
1934 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1935 test -s conftest.one
&& test -s conftest.two
&&
1936 test -s conftest.dir
/conftest.one
&&
1937 test -s conftest.dir
/conftest.two
1939 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1952 rm -rf conftest.one conftest.two conftest.dir
1955 if test "${ac_cv_path_install+set}" = set; then
1956 INSTALL
=$ac_cv_path_install
1958 # As a last resort, use the slow shell script. Don't cache a
1959 # value for INSTALL within a source directory, because that will
1960 # break other packages using the cache if that directory is
1961 # removed, or if the value is a relative name.
1962 INSTALL
=$ac_install_sh
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1966 $as_echo "$INSTALL" >&6; }
1968 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1969 # It thinks the first close brace ends the variable substitution.
1970 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1972 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1974 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1977 # Make sure we can run config.sub.
1978 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1979 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1982 $as_echo_n "checking build system type... " >&6; }
1983 if ${ac_cv_build+:} false
; then :
1984 $as_echo_n "(cached) " >&6
1986 ac_build_alias
=$build_alias
1987 test "x$ac_build_alias" = x
&&
1988 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1989 test "x$ac_build_alias" = x
&&
1990 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
1991 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1992 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1996 $as_echo "$ac_cv_build" >&6; }
1997 case $ac_cv_build in
1999 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2002 ac_save_IFS
=$IFS; IFS
='-'
2008 # Remember, the first character of IFS is used to create $*,
2009 # except with old shells:
2012 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2016 $as_echo_n "checking host system type... " >&6; }
2017 if ${ac_cv_host+:} false
; then :
2018 $as_echo_n "(cached) " >&6
2020 if test "x$host_alias" = x
; then
2021 ac_cv_host
=$ac_cv_build
2023 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2024 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2029 $as_echo "$ac_cv_host" >&6; }
2032 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2035 ac_save_IFS
=$IFS; IFS
='-'
2041 # Remember, the first character of IFS is used to create $*,
2042 # except with old shells:
2045 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2049 $as_echo_n "checking target system type... " >&6; }
2050 if ${ac_cv_target+:} false
; then :
2051 $as_echo_n "(cached) " >&6
2053 if test "x$target_alias" = x
; then
2054 ac_cv_target
=$ac_cv_host
2056 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2057 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2062 $as_echo "$ac_cv_target" >&6; }
2063 case $ac_cv_target in
2065 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2067 target
=$ac_cv_target
2068 ac_save_IFS
=$IFS; IFS
='-'
2074 # Remember, the first character of IFS is used to create $*,
2075 # except with old shells:
2078 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2081 # The aliases save the names the user supplied, while $host etc.
2082 # will get canonicalized.
2083 test -n "$target_alias" &&
2084 test "$program_prefix$program_suffix$program_transform_name" = \
2086 program_prefix
=${target_alias}-
2090 ac_cpp
='$CPP $CPPFLAGS'
2091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2094 if test -n "$ac_tool_prefix"; then
2095 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2096 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2098 $as_echo_n "checking for $ac_word... " >&6; }
2099 if ${ac_cv_prog_CC+:} false
; then :
2100 $as_echo_n "(cached) " >&6
2102 if test -n "$CC"; then
2103 ac_cv_prog_CC
="$CC" # Let the user override the test.
2105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir
=.
2110 for ac_exec_ext
in '' $ac_executable_extensions; do
2111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2112 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 if test -n "$CC"; then
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2125 $as_echo "$CC" >&6; }
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2128 $as_echo "no" >&6; }
2133 if test -z "$ac_cv_prog_CC"; then
2135 # Extract the first word of "gcc", so it can be a program name with args.
2136 set dummy gcc
; ac_word
=$2
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2138 $as_echo_n "checking for $ac_word... " >&6; }
2139 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2140 $as_echo_n "(cached) " >&6
2142 if test -n "$ac_ct_CC"; then
2143 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2149 test -z "$as_dir" && as_dir
=.
2150 for ac_exec_ext
in '' $ac_executable_extensions; do
2151 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2152 ac_cv_prog_ac_ct_CC
="gcc"
2153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2162 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2163 if test -n "$ac_ct_CC"; then
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2165 $as_echo "$ac_ct_CC" >&6; }
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2168 $as_echo "no" >&6; }
2171 if test "x$ac_ct_CC" = x
; then
2174 case $cross_compiling:$ac_tool_warned in
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2178 ac_tool_warned
=yes ;;
2186 if test -z "$CC"; then
2187 if test -n "$ac_tool_prefix"; then
2188 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2189 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2191 $as_echo_n "checking for $ac_word... " >&6; }
2192 if ${ac_cv_prog_CC+:} false
; then :
2193 $as_echo_n "(cached) " >&6
2195 if test -n "$CC"; then
2196 ac_cv_prog_CC
="$CC" # Let the user override the test.
2198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2202 test -z "$as_dir" && as_dir
=.
2203 for ac_exec_ext
in '' $ac_executable_extensions; do
2204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2205 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2216 if test -n "$CC"; then
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2218 $as_echo "$CC" >&6; }
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2221 $as_echo "no" >&6; }
2227 if test -z "$CC"; then
2228 # Extract the first word of "cc", so it can be a program name with args.
2229 set dummy cc
; ac_word
=$2
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2231 $as_echo_n "checking for $ac_word... " >&6; }
2232 if ${ac_cv_prog_CC+:} false
; then :
2233 $as_echo_n "(cached) " >&6
2235 if test -n "$CC"; then
2236 ac_cv_prog_CC
="$CC" # Let the user override the test.
2239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir
=.
2244 for ac_exec_ext
in '' $ac_executable_extensions; do
2245 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2246 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2247 ac_prog_rejected
=yes
2251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2258 if test $ac_prog_rejected = yes; then
2259 # We found a bogon in the path, so make sure we never use it.
2260 set dummy
$ac_cv_prog_CC
2262 if test $# != 0; then
2263 # We chose a different compiler from the bogus one.
2264 # However, it has the same basename, so the bogon will be chosen
2265 # first if we set CC to just the basename; use the full file name.
2267 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2273 if test -n "$CC"; then
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2275 $as_echo "$CC" >&6; }
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2278 $as_echo "no" >&6; }
2283 if test -z "$CC"; then
2284 if test -n "$ac_tool_prefix"; then
2285 for ac_prog
in cl.exe
2287 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2288 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2290 $as_echo_n "checking for $ac_word... " >&6; }
2291 if ${ac_cv_prog_CC+:} false
; then :
2292 $as_echo_n "(cached) " >&6
2294 if test -n "$CC"; then
2295 ac_cv_prog_CC
="$CC" # Let the user override the test.
2297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir
=.
2302 for ac_exec_ext
in '' $ac_executable_extensions; do
2303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2304 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2315 if test -n "$CC"; then
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2317 $as_echo "$CC" >&6; }
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2320 $as_echo "no" >&6; }
2324 test -n "$CC" && break
2327 if test -z "$CC"; then
2329 for ac_prog
in cl.exe
2331 # Extract the first word of "$ac_prog", so it can be a program name with args.
2332 set dummy
$ac_prog; ac_word
=$2
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2334 $as_echo_n "checking for $ac_word... " >&6; }
2335 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2336 $as_echo_n "(cached) " >&6
2338 if test -n "$ac_ct_CC"; then
2339 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2345 test -z "$as_dir" && as_dir
=.
2346 for ac_exec_ext
in '' $ac_executable_extensions; do
2347 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2348 ac_cv_prog_ac_ct_CC
="$ac_prog"
2349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2359 if test -n "$ac_ct_CC"; then
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2361 $as_echo "$ac_ct_CC" >&6; }
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2364 $as_echo "no" >&6; }
2368 test -n "$ac_ct_CC" && break
2371 if test "x$ac_ct_CC" = x
; then
2374 case $cross_compiling:$ac_tool_warned in
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2378 ac_tool_warned
=yes ;;
2387 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2389 as_fn_error $?
"no acceptable C compiler found in \$PATH
2390 See \`config.log' for more details" "$LINENO" 5; }
2392 # Provide some information about the compiler.
2393 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2396 for ac_option
in --version -v -V -qversion; do
2397 { { ac_try
="$ac_compiler $ac_option >&5"
2399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2403 $as_echo "$ac_try_echo"; } >&5
2404 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2406 if test -s conftest.err; then
2408 ... rest of stderr output deleted ...
2409 10q' conftest.err >conftest.er1
2410 cat conftest.er1 >&5
2412 rm -f conftest.er1 conftest.err
2413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2414 test $ac_status = 0; }
2417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2418 /* end confdefs.h. */
2428 if { { ac_try="$ac_link"
2430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2431 *) ac_try_echo
=$ac_try;;
2433 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2434 $as_echo "$ac_try_echo"; } >&5
2435 (eval "$ac_link") 2>&5
2437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2438 test $ac_status = 0; }; then
2440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2441 /* end confdefs.h. */
2451 ac_clean_files_save
=$ac_clean_files
2452 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2453 # Try to create an executable without -o first, disregard a.out.
2454 # It will help us diagnose broken compilers, and finding out an intuition
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2457 $as_echo_n "checking whether the C compiler works... " >&6; }
2458 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2460 # The possible output files:
2461 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2464 for ac_file
in $ac_files
2467 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2468 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2473 if { { ac_try
="$ac_link_default"
2475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2476 *) ac_try_echo=$ac_try;;
2478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2479 $as_echo "$ac_try_echo"; } >&5
2480 (eval "$ac_link_default") 2>&5
2482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2483 test $ac_status = 0; }; then :
2484 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2485 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2486 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2487 # so that the user can short-circuit this test for compilers unknown to
2489 for ac_file in $ac_files ''
2491 test -f "$ac_file" || continue
2493 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2496 # We found the default executable, but exeext='' is most
2500 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2502 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2504 # We set ac_cv_exeext here because the later test for it is not
2505 # safe: cross compilers may not add the suffix if given an `-o'
2506 # argument, so we may need to know it at that point already.
2507 # Even if this section looks crufty: it has the advantage of
2514 test "$ac_cv_exeext" = no && ac_cv_exeext=
2519 if test -z "$ac_file"; then :
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2521 $as_echo "no" >&6; }
2522 $as_echo "$as_me: failed program was:" >&5
2523 sed 's
/^
/|
/' conftest.$ac_ext >&5
2525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2526 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2527 as_fn_error 77 "C compiler cannot create executables
2528 See \`config.log
' for more details" "$LINENO" 5; }
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2531 $as_echo "yes" >&6; }
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2534 $as_echo_n "checking for C compiler default output file name... " >&6; }
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2536 $as_echo "$ac_file" >&6; }
2537 ac_exeext=$ac_cv_exeext
2539 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2540 ac_clean_files=$ac_clean_files_save
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2542 $as_echo_n "checking for suffix of executables... " >&6; }
2543 if { { ac_try="$ac_link"
2545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2549 $as_echo "$ac_try_echo"; } >&5
2550 (eval "$ac_link") 2>&5
2552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2553 test $ac_status = 0; }; then :
2554 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2555 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2556 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2558 for ac_file
in conftest.exe conftest conftest.
*; do
2559 test -f "$ac_file" ||
continue
2561 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2562 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2570 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2571 See \`config.log' for more details" "$LINENO" 5; }
2573 rm -f conftest conftest
$ac_cv_exeext
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2575 $as_echo "$ac_cv_exeext" >&6; }
2577 rm -f conftest.
$ac_ext
2578 EXEEXT
=$ac_cv_exeext
2580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2581 /* end confdefs.h. */
2586 FILE *f = fopen ("conftest.out", "w");
2587 return ferror (f) || fclose (f) != 0;
2593 ac_clean_files
="$ac_clean_files conftest.out"
2594 # Check that the compiler produces executables we can run. If not, either
2595 # the compiler is broken, or we cross compile.
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2597 $as_echo_n "checking whether we are cross compiling... " >&6; }
2598 if test "$cross_compiling" != yes; then
2599 { { ac_try
="$ac_link"
2601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605 $as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_link") 2>&5
2608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2609 test $ac_status = 0; }
2610 if { ac_try='./conftest$ac_cv_exeext'
2611 { { case "(($ac_try" in
2612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2613 *) ac_try_echo
=$ac_try;;
2615 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2616 $as_echo "$ac_try_echo"; } >&5
2617 (eval "$ac_try") 2>&5
2619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620 test $ac_status = 0; }; }; then
2623 if test "$cross_compiling" = maybe
; then
2626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2628 as_fn_error $?
"cannot run C compiled programs.
2629 If you meant to cross compile, use \`--host'.
2630 See \`config.log' for more details" "$LINENO" 5; }
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2635 $as_echo "$cross_compiling" >&6; }
2637 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2638 ac_clean_files
=$ac_clean_files_save
2641 rm -f -r a.out a.exe b.out conftest.
$ac_ext conftest.o conftest.obj conftest.dSYM
2643 # Setting cross_compile will disable run tests; it will
2644 # also disable AC_CHECK_FILE but that's generally
2645 # correct if we can't link.
2648 # Check that the compiler produces executables we can run. If not, either
2649 # the compiler is broken, or we cross compile.
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2651 $as_echo_n "checking whether we are cross compiling... " >&6; }
2652 if test "$cross_compiling" != yes; then
2653 { { ac_try
="$ac_link"
2655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2659 $as_echo "$ac_try_echo"; } >&5
2660 (eval "$ac_link") 2>&5
2662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2663 test $ac_status = 0; }
2664 if { ac_try='./conftest$ac_cv_exeext'
2665 { { case "(($ac_try" in
2666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2667 *) ac_try_echo
=$ac_try;;
2669 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_try") 2>&5
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; }; }; then
2677 if test "$cross_compiling" = maybe
; then
2680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2682 as_fn_error $?
"cannot run C compiled programs.
2683 If you meant to cross compile, use \`--host'.
2684 See \`config.log' for more details" "$LINENO" 5; }
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2689 $as_echo "$cross_compiling" >&6; }
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2693 $as_echo_n "checking for suffix of object files... " >&6; }
2694 if ${ac_cv_objext+:} false
; then :
2695 $as_echo_n "(cached) " >&6
2697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2708 rm -f conftest.o conftest.obj
2709 if { { ac_try
="$ac_compile"
2711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715 $as_echo "$ac_try_echo"; } >&5
2716 (eval "$ac_compile") 2>&5
2718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2719 test $ac_status = 0; }; then :
2720 for ac_file in conftest.o conftest.obj conftest.*; do
2721 test -f "$ac_file" || continue;
2723 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2724 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2729 $as_echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2734 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2735 See \
`config.log' for more details" "$LINENO" 5; }
2737 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2740 $as_echo "$ac_cv_objext" >&6; }
2741 OBJEXT=$ac_cv_objext
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2744 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2745 if ${ac_cv_c_compiler_gnu+:} false; then :
2746 $as_echo_n "(cached) " >&6
2748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2749 /* end confdefs.h. */
2762 if ac_fn_c_try_compile "$LINENO"; then :
2767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2768 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2772 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2773 if test $ac_compiler_gnu = yes; then
2778 ac_test_CFLAGS=${CFLAGS+set}
2779 ac_save_CFLAGS=$CFLAGS
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2781 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2782 if ${ac_cv_prog_cc_g+:} false; then :
2783 $as_echo_n "(cached) " >&6
2785 ac_save_c_werror_flag=$ac_c_werror_flag
2786 ac_c_werror_flag=yes
2789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2790 /* end confdefs.h. */
2800 if ac_fn_c_try_compile "$LINENO"; then :
2804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2805 /* end confdefs.h. */
2815 if ac_fn_c_try_compile "$LINENO"; then :
2818 ac_c_werror_flag=$ac_save_c_werror_flag
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2831 if ac_fn_c_try_compile "$LINENO"; then :
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 ac_c_werror_flag=$ac_save_c_werror_flag
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2842 $as_echo "$ac_cv_prog_cc_g" >&6; }
2843 if test "$ac_test_CFLAGS" = set; then
2844 CFLAGS=$ac_save_CFLAGS
2845 elif test $ac_cv_prog_cc_g = yes; then
2846 if test "$GCC" = yes; then
2852 if test "$GCC" = yes; then
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2859 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2860 if ${ac_cv_prog_cc_c89+:} false; then :
2861 $as_echo_n "(cached) " >&6
2863 ac_cv_prog_cc_c89=no
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2870 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2871 struct buf { int x; };
2872 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2873 static char *e (p, i)
2879 static char *f (char * (*g) (char **, int), char **p, ...)
2884 s = g (p, va_arg (v,int));
2889 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2890 function prototypes and stuff, but not '\xHH' hex character constants.
2891 These don't provoke an error unfortunately, instead are silently treated
2892 as 'x'. The following induces an error, until -std is added to get
2893 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2894 array size at least. It's necessary to write '\x00'==0 to get something
2895 that's true only with -std. */
2896 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2898 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2899 inside strings and character constants. */
2901 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2903 int test (int i, double x);
2904 struct s1 {int (*f) (int a);};
2905 struct s2 {int (*f) (double a);};
2906 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2912 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2917 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2918 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2920 CC="$ac_save_CC $ac_arg"
2921 if ac_fn_c_try_compile "$LINENO"; then :
2922 ac_cv_prog_cc_c89=$ac_arg
2924 rm -f core conftest.err conftest.$ac_objext
2925 test "x$ac_cv_prog_cc_c89" != "xno" && break
2927 rm -f conftest.$ac_ext
2932 case "x$ac_cv_prog_cc_c89" in
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2935 $as_echo "none needed" >&6; } ;;
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2938 $as_echo "unsupported" >&6; } ;;
2940 CC="$CC $ac_cv_prog_cc_c89"
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2942 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2944 if test "x$ac_cv_prog_cc_c89" != xno; then :
2949 ac_cpp='$CPP $CPPFLAGS'
2950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2955 ac_cpp='$CXXCPP $CPPFLAGS'
2956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2959 if test -z "$CXX"; then
2960 if test -n "$CCC"; then
2963 if test -n "$ac_tool_prefix"; then
2964 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2967 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969 $as_echo_n "checking for $ac_word... " >&6; }
2970 if ${ac_cv_prog_CXX+:} false; then :
2971 $as_echo_n "(cached) " >&6
2973 if test -n "$CXX"; then
2974 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 test -z "$as_dir" && as_dir=.
2981 for ac_exec_ext in '' $ac_executable_extensions; do
2982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2983 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 if test -n "$CXX"; then
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2996 $as_echo "$CXX" >&6; }
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2999 $as_echo "no" >&6; }
3003 test -n "$CXX" && break
3006 if test -z "$CXX"; then
3008 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3010 # Extract the first word of "$ac_prog", so it can be a program name with args.
3011 set dummy $ac_prog; ac_word=$2
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013 $as_echo_n "checking for $ac_word... " >&6; }
3014 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3015 $as_echo_n "(cached) " >&6
3017 if test -n "$ac_ct_CXX"; then
3018 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir=.
3025 for ac_exec_ext in '' $ac_executable_extensions; do
3026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027 ac_cv_prog_ac_ct_CXX="$ac_prog"
3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3038 if test -n "$ac_ct_CXX"; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3040 $as_echo "$ac_ct_CXX" >&6; }
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043 $as_echo "no" >&6; }
3047 test -n "$ac_ct_CXX" && break
3050 if test "x$ac_ct_CXX" = x; then
3053 case $cross_compiling:$ac_tool_warned in
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3057 ac_tool_warned=yes ;;
3065 # Provide some information about the compiler.
3066 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3069 for ac_option in --version -v -V -qversion; do
3070 { { ac_try="$ac_compiler $ac_option >&5"
3072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3073 *) ac_try_echo
=$ac_try;;
3075 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3079 if test -s conftest.err
; then
3081 ... rest of stderr output deleted ...
3082 10q' conftest.err
>conftest.er1
3083 cat conftest.er1
>&5
3085 rm -f conftest.er1 conftest.err
3086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3087 test $ac_status = 0; }
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3091 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3092 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3093 $as_echo_n "(cached) " >&6
3095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3096 /* end confdefs.h. */
3109 if ac_fn_cxx_try_compile
"$LINENO"; then :
3114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3115 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3119 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3120 if test $ac_compiler_gnu = yes; then
3125 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3126 ac_save_CXXFLAGS
=$CXXFLAGS
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3128 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3129 if ${ac_cv_prog_cxx_g+:} false
; then :
3130 $as_echo_n "(cached) " >&6
3132 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3133 ac_cxx_werror_flag
=yes
3136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h. */
3147 if ac_fn_cxx_try_compile
"$LINENO"; then :
3148 ac_cv_prog_cxx_g
=yes
3151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3162 if ac_fn_cxx_try_compile
"$LINENO"; then :
3165 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h. */
3178 if ac_fn_cxx_try_compile
"$LINENO"; then :
3179 ac_cv_prog_cxx_g
=yes
3181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3186 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3189 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3190 if test "$ac_test_CXXFLAGS" = set; then
3191 CXXFLAGS
=$ac_save_CXXFLAGS
3192 elif test $ac_cv_prog_cxx_g = yes; then
3193 if test "$GXX" = yes; then
3199 if test "$GXX" = yes; then
3206 ac_cpp
='$CPP $CPPFLAGS'
3207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3212 ac_cpp
='$CPP $CPPFLAGS'
3213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3217 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3218 # On Suns, sometimes $CPP names a directory.
3219 if test -n "$CPP" && test -d "$CPP"; then
3222 if test -z "$CPP"; then
3223 if ${ac_cv_prog_CPP+:} false
; then :
3224 $as_echo_n "(cached) " >&6
3226 # Double quotes because CPP needs to be expanded
3227 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3230 for ac_c_preproc_warn_flag
in '' yes
3232 # Use a header file that comes with gcc, so configuring glibc
3233 # with a fresh cross-compiler works.
3234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3235 # <limits.h> exists even on freestanding compilers.
3236 # On the NeXT, cc -E runs the code through the compiler's parser,
3237 # not just through cpp. "Syntax error" is here to catch this case.
3238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3239 /* end confdefs.h. */
3241 # include <limits.h>
3243 # include <assert.h>
3247 if ac_fn_c_try_cpp
"$LINENO"; then :
3250 # Broken: fails on valid input.
3253 rm -f conftest.err conftest.i conftest.
$ac_ext
3255 # OK, works on sane cases. Now check whether nonexistent headers
3256 # can be detected and how.
3257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3259 #include <ac_nonexistent.h>
3261 if ac_fn_c_try_cpp
"$LINENO"; then :
3262 # Broken: success on invalid input.
3265 # Passes both tests.
3269 rm -f conftest.err conftest.i conftest.
$ac_ext
3272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3273 rm -f conftest.i conftest.err conftest.
$ac_ext
3274 if $ac_preproc_ok; then :
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3287 $as_echo "$CPP" >&6; }
3289 for ac_c_preproc_warn_flag
in '' yes
3291 # Use a header file that comes with gcc, so configuring glibc
3292 # with a fresh cross-compiler works.
3293 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3294 # <limits.h> exists even on freestanding compilers.
3295 # On the NeXT, cc -E runs the code through the compiler's parser,
3296 # not just through cpp. "Syntax error" is here to catch this case.
3297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3300 # include <limits.h>
3302 # include <assert.h>
3306 if ac_fn_c_try_cpp
"$LINENO"; then :
3309 # Broken: fails on valid input.
3312 rm -f conftest.err conftest.i conftest.
$ac_ext
3314 # OK, works on sane cases. Now check whether nonexistent headers
3315 # can be detected and how.
3316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3318 #include <ac_nonexistent.h>
3320 if ac_fn_c_try_cpp
"$LINENO"; then :
3321 # Broken: success on invalid input.
3324 # Passes both tests.
3328 rm -f conftest.err conftest.i conftest.
$ac_ext
3331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3332 rm -f conftest.i conftest.err conftest.
$ac_ext
3333 if $ac_preproc_ok; then :
3336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3338 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3339 See \`config.log' for more details" "$LINENO" 5; }
3343 ac_cpp
='$CPP $CPPFLAGS'
3344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3349 ac_cpp
='$CPP $CPPFLAGS'
3350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3357 # Check whether --with-windows-headers was given.
3358 if test "${with_windows_headers+set}" = set; then :
3359 withval
=$with_windows_headers; test -z "$withval" && as_fn_error $?
"must specify value for --with-windows-headers" "$LINENO" 5
3366 # Check whether --with-windows-libs was given.
3367 if test "${with_windows_libs+set}" = set; then :
3368 withval
=$with_windows_libs; test -z "$withval" && as_fn_error $?
"must specify value for --with-windows-libs" "$LINENO" 5
3372 windows_libdir
=$
(realdirpath
"$with_windows_libs")
3373 if test -z "$windows_libdir"; then
3374 windows_libdir
=$
(realdirpath $
(${ac_cv_prog_CC:-$CC} -xc /dev
/null
-Wl,--verbose=1 -lntdll 2>&1 |
sed -rn 's%^.*\s(\S+)/libntdll\..*succeeded%\1%p'))
3375 if test -z "$windows_libdir"; then
3376 as_fn_error $?
"cannot find windows library files" "$LINENO" 5
3384 ac_cpp
='$CXXCPP $CPPFLAGS'
3385 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3386 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3387 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3391 addto_CPPFLAGS
-nostdinc
3392 : ${ac_cv_prog_CXX:=$CXX}
3393 : ${ac_cv_prog_CC:=$CC}
3395 cygwin_headers
=$
(realdirpath
"$winsup_srcdir/cygwin/include")
3396 if test -z "$cygwin_headers"; then
3397 as_fn_error $?
"cannot find $winsup_srcdir/cygwin/include directory" "$LINENO" 5
3400 newlib_headers
=$
(realdirpath
$winsup_srcdir/..
/newlib
/libc
/include
)
3401 if test -z "$newlib_headers"; then
3402 as_fn_error $?
"cannot find newlib source directory: $winsup_srcdir/../newlib/libc/include" "$LINENO" 5
3404 newlib_headers
="$target_builddir/newlib/targ-include $newlib_headers"
3406 if test -n "$with_windows_headers"; then
3407 if test -e "$with_windows_headers/windef.h"; then
3408 windows_headers
="$with_windows_headers"
3410 as_fn_error $?
"cannot find windef.h in specified --with-windows-headers path: $saw_windows_headers" "$LINENO" 5;
3412 elif test -d "$winsup_srcdir/w32api/include/windef.h"; then
3413 windows_headers
="$winsup_srcdir/w32api/include"
3415 windows_headers
=$
(cd $
($ac_cv_prog_CC -xc /dev
/null
-E -include windef.h
2>/dev
/null |
sed -n 's%^# 1 "\([^"]*\)/windef\.h".*$%\1%p' |
head -n1) 2>/dev
/null
&& pwd)
3416 if test -z "$windows_headers" -o ! -d "$windows_headers"; then
3417 as_fn_error $?
"cannot find windows header files" "$LINENO" 5
3431 subdirs
="$subdirs cygwin utils cygserver lsaauth doc"
3433 INSTALL_LICENSE
="install-license"
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3438 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3440 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3441 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3442 $as_echo_n "(cached) " >&6
3444 cat >conftest.
make <<\_ACEOF
3447 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3449 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3450 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3452 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3454 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3458 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3460 $as_echo "yes" >&6; }
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464 $as_echo "no" >&6; }
3465 SET_MAKE
="MAKE=${MAKE-make}"
3469 ac_config_files
="$ac_config_files Makefile"
3471 cat >confcache
<<\_ACEOF
3472 # This file is a shell script that caches the results of configure
3473 # tests run on this system so they can be shared between configure
3474 # scripts and configure runs, see configure's option --config-cache.
3475 # It is not useful on other systems. If it contains results you don't
3476 # want to keep, you may remove or edit it.
3478 # config.status only pays attention to the cache file if you give it
3479 # the --recheck option to rerun configure.
3481 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3482 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3487 # The following way of writing the cache mishandles newlines in values,
3488 # but we know of no workaround that is simple, portable, and efficient.
3489 # So, we kill variables containing newlines.
3490 # Ultrix sh set writes to stderr and can't be redirected directly,
3491 # and sets the high bit in the cache file unless we assign to the vars.
3493 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3494 eval ac_val
=\$
$ac_var
3498 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3499 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3502 _ | IFS | as_nl
) ;; #(
3503 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3504 *) { eval $ac_var=; unset $ac_var;} ;;
3510 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3511 *${as_nl}ac_space
=\
*)
3512 # `set' does not quote correctly, so add quotes: double-quote
3513 # substitution turns \\\\ into \\, and sed turns \\ into \.
3516 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3519 # `set' quotes correctly as required by POSIX, so do not add quotes.
3520 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3529 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3531 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3533 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3534 if test -w "$cache_file"; then
3535 if test "x$cache_file" != "x/dev/null"; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3537 $as_echo "$as_me: updating cache $cache_file" >&6;}
3538 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3539 cat confcache
>"$cache_file"
3541 case $cache_file in #(
3543 mv -f confcache
"$cache_file"$$
&&
3544 mv -f "$cache_file"$$
"$cache_file" ;; #(
3546 mv -f confcache
"$cache_file" ;;
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3552 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3557 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3558 # Let make expand exec_prefix.
3559 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3561 # Transform confdefs.h into DEFS.
3562 # Protect against shell expansion while executing Makefile rules.
3563 # Protect against Makefile macro expansion.
3565 # If the first sed substitution is executed (which looks for macros that
3566 # take arguments), then branch to the quote section. Otherwise,
3567 # look for a macro that doesn't take arguments.
3577 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3579 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3583 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3596 DEFS
=`sed -n "$ac_script" confdefs.h`
3602 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3603 # 1. Remove the extension, and $U if already installed.
3604 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3605 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3606 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3607 # will be set to the directory where LIBOBJS objects are built.
3608 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3609 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3613 LTLIBOBJS
=$ac_ltlibobjs
3617 : "${CONFIG_STATUS=./config.status}"
3619 ac_clean_files_save
=$ac_clean_files
3620 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3622 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3624 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3626 # Generated by $as_me.
3627 # Run this file to recreate the current configuration.
3628 # Compiler output produced by configure, useful for debugging
3629 # configure, is in config.log if it exists.
3635 SHELL=\${CONFIG_SHELL-$SHELL}
3638 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3639 ## -------------------- ##
3640 ## M4sh Initialization. ##
3641 ## -------------------- ##
3643 # Be more Bourne compatible
3644 DUALCASE
=1; export DUALCASE
# for MKS sh
3645 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3648 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3649 # is contrary to our usage. Disable this feature.
3650 alias -g '${1+"$@"}'='"$@"'
3651 setopt NO_GLOB_SUBST
3653 case `(set -o) 2>/dev/null` in #(
3665 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3666 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3667 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3668 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3669 # Prefer a ksh shell builtin over an external printf program on Solaris,
3670 # but without wasting forks for bash or zsh.
3671 if test -z "$BASH_VERSION$ZSH_VERSION" \
3672 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3673 as_echo='print
-r --'
3674 as_echo_n='print
-rn --'
3675 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3676 as_echo='printf %s
\n'
3677 as_echo_n='printf %s
'
3679 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3680 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3681 as_echo_n='/usr
/ucb
/echo -n'
3683 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3684 as_echo_n_body='eval
3688 expr "X$arg" : "X\\(.*\\)$as_nl";
3689 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3691 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3693 export as_echo_n_body
3694 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3697 as_echo='sh
-c $as_echo_body as_echo
'
3700 # The user is always right.
3701 if test "${PATH_SEPARATOR+set}" != set; then
3703 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3704 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3711 # We need space, tab and new line, in precisely that order. Quoting is
3712 # there to prevent editors from complaining about space-tab.
3713 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3714 # splitting by setting IFS to empty value.)
3717 # Find who we are. Look in the path if we contain no directory separator.
3720 *[\\/]* ) as_myself=$0 ;;
3721 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3725 test -z "$as_dir" && as_dir=.
3726 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3732 # We did not find ourselves, most probably we were run as `sh COMMAND'
3733 # in which case we are not to be found in the path.
3734 if test "x$as_myself" = x
; then
3737 if test ! -f "$as_myself"; then
3738 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3742 # Unset variables that we do not need and which cause bugs (e.g. in
3743 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3744 # suppresses any "Segmentation fault" message there. '((' could
3745 # trigger a bug in pdksh 5.2.14.
3746 for as_var
in BASH_ENV ENV MAIL MAILPATH
3747 do eval test x\
${$as_var+set} = xset \
3748 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3761 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3764 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3765 # ----------------------------------------
3766 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3767 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3768 # script with STATUS, using 1 if that was 0.
3771 as_status
=$1; test $as_status -eq 0 && as_status
=1
3773 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3774 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3776 $as_echo "$as_me: error: $2" >&2
3777 as_fn_exit
$as_status
3781 # as_fn_set_status STATUS
3782 # -----------------------
3783 # Set $? to STATUS, without forking.
3787 } # as_fn_set_status
3791 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3801 # Portably unset VAR.
3804 { eval $1=; unset $1;}
3806 as_unset
=as_fn_unset
3807 # as_fn_append VAR VALUE
3808 # ----------------------
3809 # Append the text in VALUE to the end of the definition contained in VAR. Take
3810 # advantage of any shell optimizations that allow amortized linear growth over
3811 # repeated appends, instead of the typical quadratic growth present in naive
3813 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3814 eval 'as_fn_append ()
3825 # as_fn_arith ARG...
3826 # ------------------
3827 # Perform arithmetic evaluation on the ARGs, and store the result in the
3828 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3829 # must be portable across $(()) and expr.
3830 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3831 eval 'as_fn_arith ()
3838 as_val
=`expr "$@" || test $? -eq 1`
3843 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3844 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3850 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3851 as_basename
=basename
3856 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3862 as_me
=`$as_basename -- "$0" ||
3863 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3864 X"$0" : 'X\(//\)$' \| \
3865 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3867 sed '/^.*\/\([^/][^/]*\)\/*$/{
3881 # Avoid depending upon Character Ranges.
3882 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3883 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3884 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3885 as_cr_digits
='0123456789'
3886 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3888 ECHO_C
= ECHO_N
= ECHO_T
=
3889 case `echo -n x` in #(((((
3891 case `echo 'xy\c'` in
3892 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3894 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3901 rm -f conf$$ conf$$.exe conf$$.
file
3902 if test -d conf$$.dir
; then
3903 rm -f conf$$.dir
/conf$$.
file
3906 mkdir conf$$.dir
2>/dev
/null
3908 if (echo >conf$$.
file) 2>/dev
/null
; then
3909 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3911 # ... but there are two gotchas:
3912 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3913 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3914 # In both cases, we have to default to `cp -pR'.
3915 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3917 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3925 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3926 rmdir conf$$.dir
2>/dev
/null
3931 # Create "$as_dir" as a directory, including parents if necessary.
3936 -*) as_dir
=.
/$as_dir;;
3938 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3942 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3943 *) as_qdir
=$as_dir;;
3945 as_dirs
="'$as_qdir' $as_dirs"
3946 as_dir
=`$as_dirname -- "$as_dir" ||
3947 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3948 X"$as_dir" : 'X\(//\)[^/]' \| \
3949 X"$as_dir" : 'X\(//\)$' \| \
3950 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3951 $as_echo X"$as_dir" |
3952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3969 test -d "$as_dir" && break
3971 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3972 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
3976 if mkdir
-p .
2>/dev
/null
; then
3977 as_mkdir_p
='mkdir -p "$as_dir"'
3979 test -d .
/-p && rmdir .
/-p
3984 # as_fn_executable_p FILE
3985 # -----------------------
3986 # Test if FILE is an executable regular file.
3987 as_fn_executable_p
()
3989 test -f "$1" && test -x "$1"
3990 } # as_fn_executable_p
3992 as_executable_p
=as_fn_executable_p
3994 # Sed expression to map a string onto a valid CPP name.
3995 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3997 # Sed expression to map a string onto a valid variable name.
3998 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4002 ## ----------------------------------- ##
4003 ## Main body of $CONFIG_STATUS script. ##
4004 ## ----------------------------------- ##
4006 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4009 # Save the log message, to keep $0 and so on meaningful, and to
4010 # report actual input values of CONFIG_FILES etc. instead of their
4011 # values after options handling.
4013 This file was extended by $as_me, which was
4014 generated by GNU Autoconf 2.69. Invocation command line was
4016 CONFIG_FILES = $CONFIG_FILES
4017 CONFIG_HEADERS = $CONFIG_HEADERS
4018 CONFIG_LINKS = $CONFIG_LINKS
4019 CONFIG_COMMANDS = $CONFIG_COMMANDS
4022 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4027 case $ac_config_files in *"
4028 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4034 # Files that config.status was made for.
4035 config_files="$ac_config_files"
4039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4041 \`$as_me' instantiates files and other configuration actions
4042 from templates according to the current configuration. Unless the files
4043 and actions are specified as TAGs, all are instantiated by default.
4045 Usage: $0 [OPTION]... [TAG]...
4047 -h, --help print this help, then exit
4048 -V, --version print version number and configuration settings, then exit
4049 --config print configuration, then exit
4050 -q, --quiet, --silent
4051 do not print progress messages
4052 -d, --debug don't remove temporary files
4053 --recheck update $as_me by reconfiguring in the same conditions
4054 --file=FILE[:TEMPLATE]
4055 instantiate the configuration file FILE
4057 Configuration files:
4060 Report bugs to the package provider."
4063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4064 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4067 configured by $0, generated by GNU Autoconf 2.69,
4068 with options \\"\$ac_cs_config\\"
4070 Copyright (C) 2012 Free Software Foundation, Inc.
4071 This config.status script is free software; the Free Software Foundation
4072 gives unlimited permission to copy, distribute and modify it."
4077 test -n "\$AWK" || AWK=awk
4080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4081 # The default lists apply if the user does not specify any file.
4087 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4088 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4092 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4104 # Handling of the options.
4105 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4107 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4108 $as_echo "$ac_cs_version"; exit ;;
4109 --config |
--confi |
--conf |
--con |
--co |
--c )
4110 $as_echo "$ac_cs_config"; exit ;;
4111 --debug |
--debu |
--deb |
--de |
--d |
-d )
4113 --file |
--fil |
--fi |
--f )
4116 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4117 '') as_fn_error $?
"missing file argument" ;;
4119 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4120 ac_need_defaults
=false
;;
4121 --he |
--h |
--help |
--hel |
-h )
4122 $as_echo "$ac_cs_usage"; exit ;;
4123 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4124 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4128 -*) as_fn_error $?
"unrecognized option: \`$1'
4129 Try \`$0 --help' for more information." ;;
4131 *) as_fn_append ac_config_targets
" $1"
4132 ac_need_defaults
=false
;;
4138 ac_configure_extra_args
=
4140 if $ac_cs_silent; then
4142 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4147 if \$ac_cs_recheck; then
4148 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4150 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4151 CONFIG_SHELL='$SHELL'
4157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4161 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4162 ## Running $as_me. ##
4168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4173 # Handling of arguments.
4174 for ac_config_target
in $ac_config_targets
4176 case $ac_config_target in
4177 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4179 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4184 # If the user did not use the arguments to specify the items to instantiate,
4185 # then the envvar interface is used. Set only those that are not.
4186 # We use the long form for the default assignment because of an extremely
4187 # bizarre bug on SunOS 4.1.3.
4188 if $ac_need_defaults; then
4189 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4192 # Have a temporary directory for convenience. Make it in the build tree
4193 # simply because there is no reason against having it here, and in addition,
4194 # creating and moving files from /tmp can sometimes cause problems.
4195 # Hook for its removal unless debugging.
4196 # Note that there is a small window in which the directory will not be cleaned:
4197 # after its creation but before its name has been assigned to `$tmp'.
4201 trap 'exit_status=$?
4203 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4205 trap 'as_fn_exit 1' 1 2 13 15
4207 # Create a (secure) tmp directory for tmp files.
4210 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4214 tmp
=.
/conf$$
-$RANDOM
4215 (umask 077 && mkdir
"$tmp")
4216 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4219 # Set up the scripts for CONFIG_FILES section.
4220 # No need to generate them if there are no CONFIG_FILES.
4221 # This happens for instance with `./config.status config.h'.
4222 if test -n "$CONFIG_FILES"; then
4225 ac_cr
=`echo X | tr X '\015'`
4226 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4227 # But we know of no other shell where ac_cr would be empty at this
4228 # point, so we can use a bashism as a fallback.
4229 if test "x$ac_cr" = x
; then
4230 eval ac_cr
=\$
\'\\r
\'
4232 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4233 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4239 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4244 echo "cat >conf$$subs.awk <<_ACEOF" &&
4245 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4248 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4249 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4251 for ac_last_try in false false false false false :; do
4252 . ./conf$$subs.sh ||
4253 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4255 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4256 if test $ac_delim_n = $ac_delim_num; then
4258 elif $ac_last_try; then
4259 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4261 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4267 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4271 s/^/S["/; s
/!.
*/"]=/
4281 s/\(.\{148\}\)..*/\1/
4283 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4288 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4295 s/\(.\{148\}\)..*/\1/
4297 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4301 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4306 ' <conf$$subs.awk | sed '
4311 ' >>$CONFIG_STATUS || ac_write_fail=1
4312 rm -f conf$$subs.awk
4313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4315 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4316 for (key in S) S_is_set[key] = 1
4322 nfields = split(line, field, "@
")
4324 len = length(field[1])
4325 for (i = 2; i < nfields; i++) {
4327 keylen = length(key)
4328 if (S_is_set[key]) {
4330 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4331 len += length(value) + length(field[++i])
4342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4343 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4344 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4347 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4348 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4351 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4352 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4353 # trailing colons and then remove the whole line if VPATH becomes empty
4354 # (actually we leave an empty line to preserve line numbers).
4355 if test "x
$srcdir" = x.; then
4356 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4375 fi # test -n "$CONFIG_FILES"
4378 eval set X " :F
$CONFIG_FILES "
4383 :[FHLC]) ac_mode=$ac_tag; continue;;
4385 case $ac_mode$ac_tag in
4387 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4388 :[FH]-) ac_tag=-:-;;
4389 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4406 -) ac_f="$ac_tmp/stdin";;
4407 *) # Look for the file first in the build tree, then in the source tree
4408 # (if the path is not absolute). The absolute path cannot be DOS-style,
4409 # because $ac_f cannot contain `:'.
4413 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4415 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4417 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4418 as_fn_append ac_file_inputs " '$ac_f'"
4421 # Let's still pretend it is `configure' which instantiates (i.e., don't
4422 # use $as_me), people would be surprised to read:
4423 # /* config.h. Generated by config.status. */
4424 configure_input='Generated from '`
4425 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4427 if test x"$ac_file" != x-; then
4428 configure_input="$ac_file.
$configure_input"
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4430 $as_echo "$as_me: creating
$ac_file" >&6;}
4432 # Neutralize special characters interpreted by sed in replacement strings.
4433 case $configure_input in #(
4434 *\&* | *\|* | *\\* )
4435 ac_sed_conf_input=`$as_echo "$configure_input" |
4436 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4437 *) ac_sed_conf_input=$configure_input;;
4441 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4442 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4447 ac_dir=`$as_dirname -- "$ac_file" ||
4448 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4449 X"$ac_file" : 'X\(//\)[^/]' \| \
4450 X"$ac_file" : 'X\(//\)$' \| \
4451 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4452 $as_echo X"$ac_file" |
4453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4470 as_dir="$ac_dir"; as_fn_mkdir_p
4474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4476 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4477 # A "..
" for each directory in $ac_dir_suffix.
4478 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4479 case $ac_top_builddir_sub in
4480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4484 ac_abs_top_builddir=$ac_pwd
4485 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4486 # for backward compatibility:
4487 ac_top_builddir=$ac_top_build_prefix
4490 .) # We are building in place.
4492 ac_top_srcdir=$ac_top_builddir_sub
4493 ac_abs_top_srcdir=$ac_pwd ;;
4494 [\\/]* | ?:[\\/]* ) # Absolute name.
4495 ac_srcdir=$srcdir$ac_dir_suffix;
4496 ac_top_srcdir=$srcdir
4497 ac_abs_top_srcdir=$srcdir ;;
4499 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4500 ac_top_srcdir=$ac_top_build_prefix$srcdir
4501 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4503 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4513 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4514 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4519 # If the template does not know about datarootdir, expand it.
4520 # FIXME: This hack should be removed a few years after 2.60.
4521 ac_datarootdir_hack=; ac_datarootdir_seen=
4532 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4533 *datarootdir*) ac_datarootdir_seen=yes;;
4534 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4536 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4539 ac_datarootdir_hack='
4540 s&@datadir@&$datadir&g
4541 s&@docdir@&$docdir&g
4542 s&@infodir@&$infodir&g
4543 s&@localedir@&$localedir&g
4544 s&@mandir@&$mandir&g
4545 s&\\\${datarootdir}&$datarootdir&g' ;;
4549 # Neutralize VPATH when `$srcdir' = `.'.
4550 # Shell code in configure.ac might set extrasub.
4551 # FIXME: do we really want to maintain this feature?
4552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4553 ac_sed_extra="$ac_vpsub
4556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4558 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4559 s|@configure_input@|
$ac_sed_conf_input|
;t t
4560 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4561 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4562 s
&@srcdir@
&$ac_srcdir&;t t
4563 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4564 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4565 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4566 s
&@builddir@
&$ac_builddir&;t t
4567 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4568 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4569 s
&@INSTALL@
&$ac_INSTALL&;t t
4570 $ac_datarootdir_hack
4572 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4573 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4575 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4576 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4577 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4578 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4580 which seems to be undefined. Please make sure it is defined" >&5
4581 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4582 which seems to be undefined. Please make sure it is defined" >&2;}
4584 rm -f "$ac_tmp/stdin"
4586 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4587 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4589 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4601 ac_clean_files=$ac_clean_files_save
4603 test $ac_write_fail = 0 ||
4604 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4607 # configure is writing to config.log, and then calls config.status.
4608 # config.status does its own redirection, appending to config.log.
4609 # Unfortunately, on DOS this fails, as config.log is still kept open
4610 # by configure, so config.status won't be able to
write to it
; its
4611 # output is simply discarded. So we exec the FD to /dev/null,
4612 # effectively closing config.log, so it can be properly (re)opened and
4613 # appended to by config.status. When coming back to configure, we
4614 # need to make the FD available again.
4615 if test "$no_create" != yes; then
4617 ac_config_status_args
=
4618 test "$silent" = yes &&
4619 ac_config_status_args
="$ac_config_status_args --quiet"
4621 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4623 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4624 # would make configure fail if this is the last instruction.
4625 $ac_cs_success || as_fn_exit
1
4629 # CONFIG_SUBDIRS section.
4631 if test "$no_recursion" != yes; then
4633 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4634 # so they do not pile up.
4635 ac_sub_configure_args
=
4637 eval "set x $ac_configure_args"
4641 if test -n "$ac_prev"; then
4646 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
4647 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
4648 ac_prev
=cache_file
;;
4649 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
4650 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
4653 --config-cache |
-C)
4655 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
4657 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
4659 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
4661 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
4663 --disable-option-checking)
4667 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4669 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
4673 # Always prepend --prefix to ensure using the same prefix
4674 # in subdir configurations.
4675 ac_arg
="--prefix=$prefix"
4677 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4679 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
4682 if test "$silent" = yes; then
4683 ac_sub_configure_args
="--silent $ac_sub_configure_args"
4686 # Always prepend --disable-option-checking to silence warnings, since
4687 # different subdirs can have different --enable and --with options.
4688 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
4691 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
4693 # Do not complain, so a configure script can configure whichever
4694 # parts of a large source tree are present.
4695 test -d "$srcdir/$ac_dir" ||
continue
4697 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4698 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4699 $as_echo "$ac_msg" >&6
4700 as_dir
="$ac_dir"; as_fn_mkdir_p
4704 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4706 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4707 # A ".." for each directory in $ac_dir_suffix.
4708 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4709 case $ac_top_builddir_sub in
4710 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4711 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4714 ac_abs_top_builddir
=$ac_pwd
4715 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4716 # for backward compatibility:
4717 ac_top_builddir
=$ac_top_build_prefix
4720 .
) # We are building in place.
4722 ac_top_srcdir
=$ac_top_builddir_sub
4723 ac_abs_top_srcdir
=$ac_pwd ;;
4724 [\\/]* | ?
:[\\/]* ) # Absolute name.
4725 ac_srcdir
=$srcdir$ac_dir_suffix;
4726 ac_top_srcdir
=$srcdir
4727 ac_abs_top_srcdir
=$srcdir ;;
4729 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4730 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4731 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4733 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4738 # Check for guested configure; otherwise get Cygnus style configure.
4739 if test -f "$ac_srcdir/configure.gnu"; then
4740 ac_sub_configure
=$ac_srcdir/configure.gnu
4741 elif test -f "$ac_srcdir/configure"; then
4742 ac_sub_configure
=$ac_srcdir/configure
4743 elif test -f "$ac_srcdir/configure.in"; then
4744 # This should be Cygnus configure.
4745 ac_sub_configure
=$ac_aux_dir/configure
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4748 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4752 # The recursion is here.
4753 if test -n "$ac_sub_configure"; then
4754 # Make the cache file name correct relative to the subdirectory.
4756 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
4758 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
4761 { $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
4762 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4763 # The eval makes quoting arguments work.
4764 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4765 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4766 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4772 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4774 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}