2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 # Preserve -v and -x to the replacement shell.
220 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
228 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
231 if test x
$as_have_required = xno
; then :
232 $as_echo "$0: This script requires a shell more modern than all"
233 $as_echo "$0: the shells that I found on your system."
234 if test x
${ZSH_VERSION+set} = xset
; then
235 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
236 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
239 $0: including any error possibly output before this
240 $0: message. Then install a modern shell, or manually run
241 $0: the script under such a shell if you do have one."
247 SHELL
=${CONFIG_SHELL-/bin/sh}
249 # Unset more variables known to interfere with behavior of common tools.
250 CLICOLOR_FORCE
= GREP_OPTIONS
=
251 unset CLICOLOR_FORCE GREP_OPTIONS
253 ## --------------------- ##
254 ## M4sh Shell Functions. ##
255 ## --------------------- ##
258 # Portably unset VAR.
261 { eval $1=; unset $1;}
265 # as_fn_set_status STATUS
266 # -----------------------
267 # Set $? to STATUS, without forking.
275 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285 # Create "$as_dir" as a directory, including parents if necessary.
290 -*) as_dir
=.
/$as_dir;;
292 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
296 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
299 as_dirs
="'$as_qdir' $as_dirs"
300 as_dir
=`$as_dirname -- "$as_dir" ||
301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
302 X"$as_dir" : 'X\(//\)[^/]' \| \
303 X"$as_dir" : 'X\(//\)$' \| \
304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
305 $as_echo X"$as_dir" |
306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
323 test -d "$as_dir" && break
325 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
326 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
330 # as_fn_append VAR VALUE
331 # ----------------------
332 # Append the text in VALUE to the end of the definition contained in VAR. Take
333 # advantage of any shell optimizations that allow amortized linear growth over
334 # repeated appends, instead of the typical quadratic growth present in naive
336 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
337 eval 'as_fn_append ()
350 # Perform arithmetic evaluation on the ARGs, and store the result in the
351 # global $as_val. Take advantage of shells that can avoid forks. The arguments
352 # must be portable across $(()) and expr.
353 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
361 as_val
=`expr "$@" || test $? -eq 1`
366 # as_fn_error STATUS ERROR [LINENO LOG_FD]
367 # ----------------------------------------
368 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
369 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
370 # script with STATUS, using 1 if that was 0.
373 as_status
=$1; test $as_status -eq 0 && as_status
=1
375 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
376 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378 $as_echo "$as_me: error: $2" >&2
379 as_fn_exit
$as_status
382 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
383 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
389 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
401 as_me
=`$as_basename -- "$0" ||
402 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
403 X"$0" : 'X\(//\)$' \| \
404 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
406 sed '/^.*\/\([^/][^/]*\)\/*$/{
420 # Avoid depending upon Character Ranges.
421 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
422 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
423 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
424 as_cr_digits
='0123456789'
425 as_cr_alnum
=$as_cr_Letters$as_cr_digits
428 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
429 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
430 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
431 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
432 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
448 chmod +x
"$as_me.lineno" ||
449 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
459 ECHO_C
= ECHO_N
= ECHO_T
=
460 case `echo -n x` in #(((((
462 case `echo 'xy\c'` in
463 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
465 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
472 rm -f conf$$ conf$$.exe conf$$.
file
473 if test -d conf$$.dir
; then
474 rm -f conf$$.dir
/conf$$.
file
477 mkdir conf$$.dir
2>/dev
/null
479 if (echo >conf$$.
file) 2>/dev
/null
; then
480 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
482 # ... but there are two gotchas:
483 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
484 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
485 # In both cases, we have to default to `cp -p'.
486 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
488 elif ln conf$$.
file conf$$
2>/dev
/null
; then
496 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
497 rmdir conf$$.dir
2>/dev
/null
499 if mkdir
-p .
2>/dev
/null
; then
500 as_mkdir_p
='mkdir -p "$as_dir"'
502 test -d .
/-p && rmdir .
/-p
506 if test -x / >/dev
/null
2>&1; then
509 if ls -dL / >/dev
/null
2>&1; then
516 if test -d "$1"; then
522 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
523 ???[sx]*):;;*)false;;esac;fi
527 as_executable_p
=$as_test_x
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
540 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
564 ac_unique_file
="Makefile.in"
565 ac_subst_vars
='LTLIBOBJS
618 program_transform_name
631 enable_option_checking
633 ac_precious_vars
='build_alias
643 # Initialize some variables set by options.
645 ac_init_version
=false
646 ac_unrecognized_opts
=
648 # The variables have the same names as the options, with
649 # dashes changed to underlines.
657 program_transform_name
=s
,x
,x
,
665 # Installation directory options.
666 # These are left unexpanded so users can "make install exec_prefix=/foo"
667 # and all the variables that are supposed to be based on exec_prefix
668 # by default will actually change.
669 # Use braces instead of parens because sh, perl, etc. also accept them.
670 # (The list follows the same order as the GNU Coding Standards.)
671 bindir
='${exec_prefix}/bin'
672 sbindir
='${exec_prefix}/sbin'
673 libexecdir
='${exec_prefix}/libexec'
674 datarootdir
='${prefix}/share'
675 datadir
='${datarootdir}'
676 sysconfdir
='${prefix}/etc'
677 sharedstatedir
='${prefix}/com'
678 localstatedir
='${prefix}/var'
679 includedir
='${prefix}/include'
680 oldincludedir
='/usr/include'
681 docdir
='${datarootdir}/doc/${PACKAGE}'
682 infodir
='${datarootdir}/info'
687 libdir
='${exec_prefix}/lib'
688 localedir
='${datarootdir}/locale'
689 mandir
='${datarootdir}/man'
695 # If the previous option needs an argument, assign it.
696 if test -n "$ac_prev"; then
697 eval $ac_prev=\
$ac_option
703 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
708 # Accept the important Cygnus configure options, so we can diagnose typos.
710 case $ac_dashdash$ac_option in
714 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
716 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
719 -build |
--build |
--buil |
--bui |
--bu)
720 ac_prev
=build_alias
;;
721 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
722 build_alias
=$ac_optarg ;;
724 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
725 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
726 ac_prev
=cache_file
;;
727 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
728 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
729 cache_file
=$ac_optarg ;;
732 cache_file
=config.cache
;;
734 -datadir |
--datadir |
--datadi |
--datad)
736 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
737 datadir
=$ac_optarg ;;
739 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
740 |
--dataroo |
--dataro |
--datar)
741 ac_prev
=datarootdir
;;
742 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
743 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
744 datarootdir
=$ac_optarg ;;
746 -disable-* |
--disable-*)
747 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
748 # Reject names that are not valid shell variable names.
749 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
750 as_fn_error $?
"invalid feature name: $ac_useropt"
751 ac_useropt_orig
=$ac_useropt
752 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
753 case $ac_user_opts in
757 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
758 ac_unrecognized_sep
=', ';;
760 eval enable_
$ac_useropt=no
;;
762 -docdir |
--docdir |
--docdi |
--doc |
--do)
764 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
767 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
769 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
772 -enable-* |
--enable-*)
773 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
774 # Reject names that are not valid shell variable names.
775 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
776 as_fn_error $?
"invalid feature name: $ac_useropt"
777 ac_useropt_orig
=$ac_useropt
778 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
779 case $ac_user_opts in
783 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
784 ac_unrecognized_sep
=', ';;
786 eval enable_
$ac_useropt=\
$ac_optarg ;;
788 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
789 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
790 |
--exec |
--exe |
--ex)
791 ac_prev
=exec_prefix
;;
792 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
793 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
794 |
--exec=* |
--exe=* |
--ex=*)
795 exec_prefix
=$ac_optarg ;;
797 -gas |
--gas |
--ga |
--g)
798 # Obsolete; use --with-gas.
801 -help |
--help |
--hel |
--he |
-h)
803 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
804 ac_init_help
=recursive
;;
805 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
806 ac_init_help
=short
;;
808 -host |
--host |
--hos |
--ho)
809 ac_prev
=host_alias
;;
810 -host=* |
--host=* |
--hos=* |
--ho=*)
811 host_alias
=$ac_optarg ;;
813 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
815 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
817 htmldir
=$ac_optarg ;;
819 -includedir |
--includedir |
--includedi |
--included |
--include \
820 |
--includ |
--inclu |
--incl |
--inc)
821 ac_prev
=includedir
;;
822 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
823 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
824 includedir
=$ac_optarg ;;
826 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
828 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
829 infodir
=$ac_optarg ;;
831 -libdir |
--libdir |
--libdi |
--libd)
833 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
836 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
837 |
--libexe |
--libex |
--libe)
838 ac_prev
=libexecdir
;;
839 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
840 |
--libexe=* |
--libex=* |
--libe=*)
841 libexecdir
=$ac_optarg ;;
843 -localedir |
--localedir |
--localedi |
--localed |
--locale)
845 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
846 localedir
=$ac_optarg ;;
848 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
849 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
850 ac_prev
=localstatedir
;;
851 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
852 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
853 localstatedir
=$ac_optarg ;;
855 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
857 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
861 # Obsolete; use --without-fp.
864 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
865 |
--no-cr |
--no-c |
-n)
868 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
869 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
872 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
873 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
874 |
--oldin |
--oldi |
--old |
--ol |
--o)
875 ac_prev
=oldincludedir
;;
876 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
877 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
878 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
879 oldincludedir
=$ac_optarg ;;
881 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
883 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
886 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
887 |
--program-pre |
--program-pr |
--program-p)
888 ac_prev
=program_prefix
;;
889 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
890 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
891 program_prefix
=$ac_optarg ;;
893 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
894 |
--program-suf |
--program-su |
--program-s)
895 ac_prev
=program_suffix
;;
896 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
897 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
898 program_suffix
=$ac_optarg ;;
900 -program-transform-name |
--program-transform-name \
901 |
--program-transform-nam |
--program-transform-na \
902 |
--program-transform-n |
--program-transform- \
903 |
--program-transform |
--program-transfor \
904 |
--program-transfo |
--program-transf \
905 |
--program-trans |
--program-tran \
906 |
--progr-tra |
--program-tr |
--program-t)
907 ac_prev
=program_transform_name
;;
908 -program-transform-name=* |
--program-transform-name=* \
909 |
--program-transform-nam=* |
--program-transform-na=* \
910 |
--program-transform-n=* |
--program-transform-=* \
911 |
--program-transform=* |
--program-transfor=* \
912 |
--program-transfo=* |
--program-transf=* \
913 |
--program-trans=* |
--program-tran=* \
914 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
915 program_transform_name
=$ac_optarg ;;
917 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
919 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
922 -psdir |
--psdir |
--psdi |
--psd |
--ps)
924 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
927 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
928 |
-silent |
--silent |
--silen |
--sile |
--sil)
931 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
933 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
935 sbindir
=$ac_optarg ;;
937 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
938 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
939 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
941 ac_prev
=sharedstatedir
;;
942 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
943 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
944 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
946 sharedstatedir
=$ac_optarg ;;
948 -site |
--site |
--sit)
950 -site=* |
--site=* |
--sit=*)
953 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
955 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
958 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
959 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
960 ac_prev
=sysconfdir
;;
961 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
962 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
963 sysconfdir
=$ac_optarg ;;
965 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
966 ac_prev
=target_alias
;;
967 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
968 target_alias
=$ac_optarg ;;
970 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
973 -version |
--version |
--versio |
--versi |
--vers |
-V)
977 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
978 # Reject names that are not valid shell variable names.
979 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
980 as_fn_error $?
"invalid package name: $ac_useropt"
981 ac_useropt_orig
=$ac_useropt
982 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983 case $ac_user_opts in
987 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
988 ac_unrecognized_sep
=', ';;
990 eval with_
$ac_useropt=\
$ac_optarg ;;
992 -without-* |
--without-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error $?
"invalid package name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval with_
$ac_useropt=no
;;
1009 # Obsolete; use --with-x.
1012 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1013 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1014 ac_prev
=x_includes
;;
1015 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1016 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1017 x_includes
=$ac_optarg ;;
1019 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1020 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1021 ac_prev
=x_libraries
;;
1022 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1023 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1024 x_libraries
=$ac_optarg ;;
1026 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1027 Try \`$0 --help' for more information"
1031 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1032 # Reject names that are not valid shell variable names.
1033 case $ac_envvar in #(
1034 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1035 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1037 eval $ac_envvar=\
$ac_optarg
1038 export $ac_envvar ;;
1041 # FIXME: should be removed in autoconf 3.0.
1042 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1043 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1044 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1045 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1051 if test -n "$ac_prev"; then
1052 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1053 as_fn_error $?
"missing argument to $ac_option"
1056 if test -n "$ac_unrecognized_opts"; then
1057 case $enable_option_checking in
1059 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1060 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1064 # Check all directory arguments for consistency.
1065 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1066 datadir sysconfdir sharedstatedir localstatedir includedir \
1067 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1068 libdir localedir mandir
1070 eval ac_val
=\$
$ac_var
1071 # Remove trailing slashes.
1074 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1075 eval $ac_var=\
$ac_val;;
1077 # Be sure to have absolute directory names.
1079 [\\/$
]* | ?
:[\\/]* ) continue;;
1080 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1082 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1085 # There might be people who depend on the old broken behavior: `$host'
1086 # used to hold the argument of --host etc.
1087 # FIXME: To remove some day.
1090 target
=$target_alias
1092 # FIXME: To remove some day.
1093 if test "x$host_alias" != x
; then
1094 if test "x$build_alias" = x
; then
1095 cross_compiling
=maybe
1096 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1097 If a cross compiler is detected then cross compile mode will be used" >&2
1098 elif test "x$build_alias" != "x$host_alias"; then
1104 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1106 test "$silent" = yes && exec 6>/dev
/null
1109 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1110 ac_ls_di
=`ls -di .` &&
1111 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1112 as_fn_error $?
"working directory cannot be determined"
1113 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1114 as_fn_error $?
"pwd does not report name of working directory"
1117 # Find the source files, if location was not specified.
1118 if test -z "$srcdir"; then
1119 ac_srcdir_defaulted
=yes
1120 # Try the directory containing this script, then the parent directory.
1121 ac_confdir
=`$as_dirname -- "$as_myself" ||
1122 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1123 X"$as_myself" : 'X\(//\)[^/]' \| \
1124 X"$as_myself" : 'X\(//\)$' \| \
1125 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1126 $as_echo X"$as_myself" |
1127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1145 if test ! -r "$srcdir/$ac_unique_file"; then
1149 ac_srcdir_defaulted
=no
1151 if test ! -r "$srcdir/$ac_unique_file"; then
1152 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1153 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1155 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1157 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1159 # When building in place, set srcdir=.
1160 if test "$ac_abs_confdir" = "$ac_pwd"; then
1163 # Remove unnecessary trailing slashes from srcdir.
1164 # Double slashes in file names in object file debugging info
1165 # mess up M-x gdb in Emacs.
1167 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1169 for ac_var
in $ac_precious_vars; do
1170 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1171 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1172 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1173 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1177 # Report the --help message.
1179 if test "$ac_init_help" = "long"; then
1180 # Omit some internal or obsolete options to make the list less imposing.
1181 # This message is too long to be a string in the A/UX 3.1 sh.
1183 \`configure' configures this package to adapt to many kinds of systems.
1185 Usage: $0 [OPTION]... [VAR=VALUE]...
1187 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1188 VAR=VALUE. See below for descriptions of some of the useful variables.
1190 Defaults for the options are specified in brackets.
1193 -h, --help display this help and exit
1194 --help=short display options specific to this package
1195 --help=recursive display the short help of all the included packages
1196 -V, --version display version information and exit
1197 -q, --quiet, --silent do not print \`checking ...' messages
1198 --cache-file=FILE cache test results in FILE [disabled]
1199 -C, --config-cache alias for \`--cache-file=config.cache'
1200 -n, --no-create do not create output files
1201 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1203 Installation directories:
1204 --prefix=PREFIX install architecture-independent files in PREFIX
1205 [$ac_default_prefix]
1206 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1209 By default, \`make install' will install all the files in
1210 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1211 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1212 for instance \`--prefix=\$HOME'.
1214 For better control, use the options below.
1216 Fine tuning of the installation directories:
1217 --bindir=DIR user executables [EPREFIX/bin]
1218 --sbindir=DIR system admin executables [EPREFIX/sbin]
1219 --libexecdir=DIR program executables [EPREFIX/libexec]
1220 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1221 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1222 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1223 --libdir=DIR object code libraries [EPREFIX/lib]
1224 --includedir=DIR C header files [PREFIX/include]
1225 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1226 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1227 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1228 --infodir=DIR info documentation [DATAROOTDIR/info]
1229 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1230 --mandir=DIR man documentation [DATAROOTDIR/man]
1231 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1232 --htmldir=DIR html documentation [DOCDIR]
1233 --dvidir=DIR dvi documentation [DOCDIR]
1234 --pdfdir=DIR pdf documentation [DOCDIR]
1235 --psdir=DIR ps documentation [DOCDIR]
1241 --program-prefix=PREFIX prepend PREFIX to installed program names
1242 --program-suffix=SUFFIX append SUFFIX to installed program names
1243 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1246 --build=BUILD configure
for building on BUILD
[guessed
]
1247 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1248 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1252 if test -n "$ac_init_help"; then
1256 Some influential environment variables
:
1257 CC C compiler
command
1258 CFLAGS C compiler flags
1259 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1260 nonstandard directory
<lib dir
>
1261 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1262 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1263 you have headers
in a nonstandard directory
<include dir
>
1265 Use these variables to override the choices made by
`configure' or to help
1266 it to find libraries and programs with nonstandard names/locations.
1268 Report bugs to the package provider.
1273 if test "$ac_init_help" = "recursive"; then
1274 # If there are subdirs, report their specific --help.
1275 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1276 test -d "$ac_dir" ||
1277 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1282 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1284 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1285 # A ".." for each directory in $ac_dir_suffix.
1286 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1287 case $ac_top_builddir_sub in
1288 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1289 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1292 ac_abs_top_builddir=$ac_pwd
1293 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1294 # for backward compatibility:
1295 ac_top_builddir=$ac_top_build_prefix
1298 .) # We are building in place.
1300 ac_top_srcdir=$ac_top_builddir_sub
1301 ac_abs_top_srcdir=$ac_pwd ;;
1302 [\\/]* | ?:[\\/]* ) # Absolute name.
1303 ac_srcdir=$srcdir$ac_dir_suffix;
1304 ac_top_srcdir=$srcdir
1305 ac_abs_top_srcdir=$srcdir ;;
1307 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1308 ac_top_srcdir=$ac_top_build_prefix$srcdir
1309 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1311 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1313 cd "$ac_dir" || { ac_status=$?; continue; }
1314 # Check for guested configure.
1315 if test -f "$ac_srcdir/configure.gnu"; then
1317 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1318 elif test -f "$ac_srcdir/configure"; then
1320 $SHELL "$ac_srcdir/configure" --help=recursive
1322 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1324 cd "$ac_pwd" || { ac_status=$?; break; }
1328 test -n "$ac_init_help" && exit $ac_status
1329 if $ac_init_version; then
1332 generated by GNU Autoconf 2.68
1334 Copyright (C) 2010 Free Software Foundation, Inc.
1335 This configure script is free software; the Free Software Foundation
1336 gives unlimited permission to copy, distribute and modify it.
1341 ## ------------------------ ##
1342 ## Autoconf initialization. ##
1343 ## ------------------------ ##
1345 # ac_fn_c_try_compile LINENO
1346 # --------------------------
1347 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1348 ac_fn_c_try_compile ()
1350 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1351 rm -f conftest.$ac_objext
1352 if { { ac_try="$ac_compile"
1354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1355 *) ac_try_echo
=$ac_try;;
1357 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1358 $as_echo "$ac_try_echo"; } >&5
1359 (eval "$ac_compile") 2>conftest.err
1361 if test -s conftest.err
; then
1362 grep -v '^ *+' conftest.err
>conftest.er1
1363 cat conftest.er1
>&5
1364 mv -f conftest.er1 conftest.err
1366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1367 test $ac_status = 0; } && {
1368 test -z "$ac_c_werror_flag" ||
1369 test ! -s conftest.err
1370 } && test -s conftest.
$ac_objext; then :
1373 $as_echo "$as_me: failed program was:" >&5
1374 sed 's/^/| /' conftest.
$ac_ext >&5
1378 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1379 as_fn_set_status
$ac_retval
1381 } # ac_fn_c_try_compile
1382 cat >config.log
<<_ACEOF
1383 This file contains any messages produced by compilers while
1384 running configure, to aid debugging if configure makes a mistake.
1386 It was created by $as_me, which was
1387 generated by GNU Autoconf 2.68. Invocation command line was
1399 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1400 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1401 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1402 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1403 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1405 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1406 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1408 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1409 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1410 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1411 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1412 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1413 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1414 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1422 test -z "$as_dir" && as_dir
=.
1423 $as_echo "PATH: $as_dir"
1439 # Keep a trace of the command line.
1440 # Strip out --no-create and --no-recursion so they do not pile up.
1441 # Strip out --silent because we don't want to record it for future runs.
1442 # Also quote any args containing shell meta-characters.
1443 # Make two passes to allow for proper duplicate-argument suppression.
1447 ac_must_keep_next
=false
1453 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1454 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1455 |
-silent |
--silent |
--silen |
--sile |
--sil)
1458 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1461 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1463 as_fn_append ac_configure_args1
" '$ac_arg'"
1464 if test $ac_must_keep_next = true
; then
1465 ac_must_keep_next
=false
# Got value, back to normal.
1468 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1469 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1470 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1471 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1472 case "$ac_configure_args0 " in
1473 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1476 -* ) ac_must_keep_next
=true
;;
1479 as_fn_append ac_configure_args
" '$ac_arg'"
1484 { ac_configure_args0
=; unset ac_configure_args0
;}
1485 { ac_configure_args1
=; unset ac_configure_args1
;}
1487 # When interrupted or exit'd, cleanup temporary files, and complete
1488 # config.log. We remove comments because anyway the quotes in there
1489 # would cause problems or look ugly.
1490 # WARNING: Use '\'' to represent an apostrophe within the trap.
1491 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1492 trap 'exit_status=$?
1493 # Save into config.log some information that might help in debugging.
1497 $as_echo "## ---------------- ##
1498 ## Cache variables. ##
1499 ## ---------------- ##"
1501 # The following way of writing the cache mishandles newlines in values,
1503 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1504 eval ac_val=\$$ac_var
1508 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1509 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1512 _ | IFS | as_nl) ;; #(
1513 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1514 *) { eval $ac_var=; unset $ac_var;} ;;
1519 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1520 *${as_nl}ac_space=\ *)
1522 "s/'\''/'\''\\\\'\'''\''/g;
1523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1526 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1533 $as_echo "## ----------------- ##
1534 ## Output variables. ##
1535 ## ----------------- ##"
1537 for ac_var in $ac_subst_vars
1539 eval ac_val=\$$ac_var
1541 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1543 $as_echo "$ac_var='\''$ac_val'\''"
1547 if test -n "$ac_subst_files"; then
1548 $as_echo "## ------------------- ##
1549 ## File substitutions. ##
1550 ## ------------------- ##"
1552 for ac_var
in $ac_subst_files
1554 eval ac_val
=\$
$ac_var
1556 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1558 $as_echo "$ac_var='\''$ac_val'\''"
1563 if test -s confdefs.h; then
1564 $as_echo "## ----------- ##
1571 test "$ac_signal" != 0 &&
1572 $as_echo "$as_me: caught signal $ac_signal"
1573 $as_echo "$as_me: exit $exit_status"
1575 rm -f core *.core core.conftest.* &&
1576 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1579 for ac_signal
in 1 2 13 15; do
1580 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1584 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1585 rm -f -r conftest
* confdefs.h
1587 $as_echo "/* confdefs.h */" > confdefs.h
1589 # Predefined preprocessor variables.
1591 cat >>confdefs.h
<<_ACEOF
1592 #define PACKAGE_NAME "$PACKAGE_NAME"
1595 cat >>confdefs.h
<<_ACEOF
1596 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1599 cat >>confdefs.h
<<_ACEOF
1600 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1603 cat >>confdefs.h
<<_ACEOF
1604 #define PACKAGE_STRING "$PACKAGE_STRING"
1607 cat >>confdefs.h
<<_ACEOF
1608 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1611 cat >>confdefs.h
<<_ACEOF
1612 #define PACKAGE_URL "$PACKAGE_URL"
1616 # Let the site file select an alternate cache file if it wants to.
1617 # Prefer an explicitly selected file to automatically selected ones.
1620 if test -n "$CONFIG_SITE"; then
1621 # We do not want a PATH search for config.site.
1622 case $CONFIG_SITE in #((
1623 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1624 */*) ac_site_file1
=$CONFIG_SITE;;
1625 *) ac_site_file1
=.
/$CONFIG_SITE;;
1627 elif test "x$prefix" != xNONE
; then
1628 ac_site_file1
=$prefix/share
/config.site
1629 ac_site_file2
=$prefix/etc
/config.site
1631 ac_site_file1
=$ac_default_prefix/share
/config.site
1632 ac_site_file2
=$ac_default_prefix/etc
/config.site
1634 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1636 test "x$ac_site_file" = xNONE
&& continue
1637 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1639 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1640 sed 's/^/| /' "$ac_site_file" >&5
1642 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1644 as_fn_error $?
"failed to load site script $ac_site_file
1645 See \`config.log' for more details" "$LINENO" 5 ; }
1649 if test -r "$cache_file"; then
1650 # Some versions of bash will fail to source /dev/null (special files
1651 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1652 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1654 $as_echo "$as_me: loading cache $cache_file" >&6;}
1656 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1657 *) .
"./$cache_file";;
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1662 $as_echo "$as_me: creating cache $cache_file" >&6;}
1666 # Check that the precious variables saved in the cache have kept the same
1668 ac_cache_corrupted
=false
1669 for ac_var
in $ac_precious_vars; do
1670 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1671 eval ac_new_set
=\
$ac_env_${ac_var}_set
1672 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1673 eval ac_new_val
=\
$ac_env_${ac_var}_value
1674 case $ac_old_set,$ac_new_set in
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1677 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1678 ac_cache_corrupted
=: ;;
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1681 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1682 ac_cache_corrupted
=: ;;
1685 if test "x$ac_old_val" != "x$ac_new_val"; then
1686 # differences in whitespace do not lead to failure.
1687 ac_old_val_w
=`echo x $ac_old_val`
1688 ac_new_val_w
=`echo x $ac_new_val`
1689 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1691 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1692 ac_cache_corrupted
=:
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1695 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1696 eval $ac_var=\
$ac_old_val
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1699 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1701 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1704 # Pass precious variables to config.status.
1705 if test "$ac_new_set" = set; then
1707 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1708 *) ac_arg
=$ac_var=$ac_new_val ;;
1710 case " $ac_configure_args " in
1711 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1712 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1716 if $ac_cache_corrupted; then
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1720 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1721 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1723 ## -------------------- ##
1724 ## Main body of script. ##
1725 ## -------------------- ##
1728 ac_cpp
='$CPP $CPPFLAGS'
1729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1736 for ac_dir
in ..
/..
"$srcdir"/..
/..
; do
1737 if test -f "$ac_dir/install-sh"; then
1739 ac_install_sh
="$ac_aux_dir/install-sh -c"
1741 elif test -f "$ac_dir/install.sh"; then
1743 ac_install_sh
="$ac_aux_dir/install.sh -c"
1745 elif test -f "$ac_dir/shtool"; then
1747 ac_install_sh
="$ac_aux_dir/shtool install -c"
1751 if test -z "$ac_aux_dir"; then
1752 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
1755 # These three variables are undocumented and unsupported,
1756 # and are intended to be withdrawn in a future Autoconf release.
1757 # They can cause serious problems if a builder's source tree is in a directory
1758 # whose full name contains unusual characters.
1759 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1760 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1761 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1765 # Make sure we can run config.sub.
1766 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1767 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1770 $as_echo_n "checking build system type... " >&6; }
1771 if ${ac_cv_build+:} false
; then :
1772 $as_echo_n "(cached) " >&6
1774 ac_build_alias
=$build_alias
1775 test "x$ac_build_alias" = x
&&
1776 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1777 test "x$ac_build_alias" = x
&&
1778 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
1779 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1780 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1784 $as_echo "$ac_cv_build" >&6; }
1785 case $ac_cv_build in
1787 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
1790 ac_save_IFS
=$IFS; IFS
='-'
1796 # Remember, the first character of IFS is used to create $*,
1797 # except with old shells:
1800 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1804 $as_echo_n "checking host system type... " >&6; }
1805 if ${ac_cv_host+:} false
; then :
1806 $as_echo_n "(cached) " >&6
1808 if test "x$host_alias" = x
; then
1809 ac_cv_host
=$ac_cv_build
1811 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1812 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1817 $as_echo "$ac_cv_host" >&6; }
1820 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
1823 ac_save_IFS
=$IFS; IFS
='-'
1829 # Remember, the first character of IFS is used to create $*,
1830 # except with old shells:
1833 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1837 $as_echo_n "checking target system type... " >&6; }
1838 if ${ac_cv_target+:} false
; then :
1839 $as_echo_n "(cached) " >&6
1841 if test "x$target_alias" = x
; then
1842 ac_cv_target
=$ac_cv_host
1844 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1845 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1850 $as_echo "$ac_cv_target" >&6; }
1851 case $ac_cv_target in
1853 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5 ;;
1855 target
=$ac_cv_target
1856 ac_save_IFS
=$IFS; IFS
='-'
1862 # Remember, the first character of IFS is used to create $*,
1863 # except with old shells:
1866 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
1869 # The aliases save the names the user supplied, while $host etc.
1870 # will get canonicalized.
1871 test -n "$target_alias" &&
1872 test "$program_prefix$program_suffix$program_transform_name" = \
1874 program_prefix
=${target_alias}-
1877 if test -n "$ac_tool_prefix"; then
1878 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1879 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1881 $as_echo_n "checking for $ac_word... " >&6; }
1882 if ${ac_cv_prog_CC+:} false
; then :
1883 $as_echo_n "(cached) " >&6
1885 if test -n "$CC"; then
1886 ac_cv_prog_CC
="$CC" # Let the user override the test.
1888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1892 test -z "$as_dir" && as_dir
=.
1893 for ac_exec_ext
in '' $ac_executable_extensions; do
1894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1895 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 if test -n "$CC"; then
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1908 $as_echo "$CC" >&6; }
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1911 $as_echo "no" >&6; }
1916 if test -z "$ac_cv_prog_CC"; then
1918 # Extract the first word of "gcc", so it can be a program name with args.
1919 set dummy gcc
; ac_word
=$2
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1921 $as_echo_n "checking for $ac_word... " >&6; }
1922 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
1923 $as_echo_n "(cached) " >&6
1925 if test -n "$ac_ct_CC"; then
1926 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1932 test -z "$as_dir" && as_dir
=.
1933 for ac_exec_ext
in '' $ac_executable_extensions; do
1934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1935 ac_cv_prog_ac_ct_CC
="gcc"
1936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1945 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1946 if test -n "$ac_ct_CC"; then
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1948 $as_echo "$ac_ct_CC" >&6; }
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1951 $as_echo "no" >&6; }
1954 if test "x$ac_ct_CC" = x
; then
1957 case $cross_compiling:$ac_tool_warned in
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1961 ac_tool_warned
=yes ;;
1971 ac_cpp
='$CPP $CPPFLAGS'
1972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1975 if test -n "$ac_tool_prefix"; then
1976 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1977 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1979 $as_echo_n "checking for $ac_word... " >&6; }
1980 if ${ac_cv_prog_CC+:} false
; then :
1981 $as_echo_n "(cached) " >&6
1983 if test -n "$CC"; then
1984 ac_cv_prog_CC
="$CC" # Let the user override the test.
1986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1990 test -z "$as_dir" && as_dir
=.
1991 for ac_exec_ext
in '' $ac_executable_extensions; do
1992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1993 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2004 if test -n "$CC"; then
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2006 $as_echo "$CC" >&6; }
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2009 $as_echo "no" >&6; }
2014 if test -z "$ac_cv_prog_CC"; then
2016 # Extract the first word of "gcc", so it can be a program name with args.
2017 set dummy gcc
; ac_word
=$2
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2019 $as_echo_n "checking for $ac_word... " >&6; }
2020 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2021 $as_echo_n "(cached) " >&6
2023 if test -n "$ac_ct_CC"; then
2024 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir
=.
2031 for ac_exec_ext
in '' $ac_executable_extensions; do
2032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2033 ac_cv_prog_ac_ct_CC
="gcc"
2034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2043 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2044 if test -n "$ac_ct_CC"; then
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2046 $as_echo "$ac_ct_CC" >&6; }
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2049 $as_echo "no" >&6; }
2052 if test "x$ac_ct_CC" = x
; then
2055 case $cross_compiling:$ac_tool_warned in
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2059 ac_tool_warned
=yes ;;
2067 if test -z "$CC"; then
2068 if test -n "$ac_tool_prefix"; then
2069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2070 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2072 $as_echo_n "checking for $ac_word... " >&6; }
2073 if ${ac_cv_prog_CC+:} false
; then :
2074 $as_echo_n "(cached) " >&6
2076 if test -n "$CC"; then
2077 ac_cv_prog_CC
="$CC" # Let the user override the test.
2079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir
=.
2084 for ac_exec_ext
in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 if test -n "$CC"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2099 $as_echo "$CC" >&6; }
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2102 $as_echo "no" >&6; }
2108 if test -z "$CC"; then
2109 # Extract the first word of "cc", so it can be a program name with args.
2110 set dummy cc
; ac_word
=$2
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2112 $as_echo_n "checking for $ac_word... " >&6; }
2113 if ${ac_cv_prog_CC+:} false
; then :
2114 $as_echo_n "(cached) " >&6
2116 if test -n "$CC"; then
2117 ac_cv_prog_CC
="$CC" # Let the user override the test.
2120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2124 test -z "$as_dir" && as_dir
=.
2125 for ac_exec_ext
in '' $ac_executable_extensions; do
2126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2127 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2128 ac_prog_rejected
=yes
2132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2139 if test $ac_prog_rejected = yes; then
2140 # We found a bogon in the path, so make sure we never use it.
2141 set dummy
$ac_cv_prog_CC
2143 if test $# != 0; then
2144 # We chose a different compiler from the bogus one.
2145 # However, it has the same basename, so the bogon will be chosen
2146 # first if we set CC to just the basename; use the full file name.
2148 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2154 if test -n "$CC"; then
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2156 $as_echo "$CC" >&6; }
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2159 $as_echo "no" >&6; }
2164 if test -z "$CC"; then
2165 if test -n "$ac_tool_prefix"; then
2166 for ac_prog
in cl.exe
2168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2169 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2171 $as_echo_n "checking for $ac_word... " >&6; }
2172 if ${ac_cv_prog_CC+:} false
; then :
2173 $as_echo_n "(cached) " >&6
2175 if test -n "$CC"; then
2176 ac_cv_prog_CC
="$CC" # Let the user override the test.
2178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir
=.
2183 for ac_exec_ext
in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 if test -n "$CC"; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2198 $as_echo "$CC" >&6; }
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2201 $as_echo "no" >&6; }
2205 test -n "$CC" && break
2208 if test -z "$CC"; then
2210 for ac_prog
in cl.exe
2212 # Extract the first word of "$ac_prog", so it can be a program name with args.
2213 set dummy
$ac_prog; ac_word
=$2
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2215 $as_echo_n "checking for $ac_word... " >&6; }
2216 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2217 $as_echo_n "(cached) " >&6
2219 if test -n "$ac_ct_CC"; then
2220 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2226 test -z "$as_dir" && as_dir
=.
2227 for ac_exec_ext
in '' $ac_executable_extensions; do
2228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2229 ac_cv_prog_ac_ct_CC
="$ac_prog"
2230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2239 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2240 if test -n "$ac_ct_CC"; then
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2242 $as_echo "$ac_ct_CC" >&6; }
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2245 $as_echo "no" >&6; }
2249 test -n "$ac_ct_CC" && break
2252 if test "x$ac_ct_CC" = x
; then
2255 case $cross_compiling:$ac_tool_warned in
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2259 ac_tool_warned
=yes ;;
2268 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2270 as_fn_error $?
"no acceptable C compiler found in \$PATH
2271 See \`config.log' for more details" "$LINENO" 5 ; }
2273 # Provide some information about the compiler.
2274 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2277 for ac_option
in --version -v -V -qversion; do
2278 { { ac_try
="$ac_compiler $ac_option >&5"
2280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2281 *) ac_try_echo=$ac_try;;
2283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2284 $as_echo "$ac_try_echo"; } >&5
2285 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2287 if test -s conftest.err; then
2289 ... rest of stderr output deleted ...
2290 10q' conftest.err >conftest.er1
2291 cat conftest.er1 >&5
2293 rm -f conftest.er1 conftest.err
2294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2295 test $ac_status = 0; }
2298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2299 /* end confdefs.h. */
2309 ac_clean_files_save=$ac_clean_files
2310 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2311 # Try to create an executable without -o first, disregard a.out.
2312 # It will help us diagnose broken compilers, and finding out an intuition
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2315 $as_echo_n "checking whether the C compiler works... " >&6; }
2316 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2318 # The possible output files:
2319 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2322 for ac_file in $ac_files
2325 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2326 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2331 if { { ac_try="$ac_link_default"
2333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2334 *) ac_try_echo
=$ac_try;;
2336 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337 $as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_link_default") 2>&5
2340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2341 test $ac_status = 0; }; then :
2342 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2343 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2344 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2345 # so that the user can short-circuit this test for compilers unknown to
2347 for ac_file
in $ac_files ''
2349 test -f "$ac_file" ||
continue
2351 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2354 # We found the default executable, but exeext='' is most
2358 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2360 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2362 # We set ac_cv_exeext here because the later test for it is not
2363 # safe: cross compilers may not add the suffix if given an `-o'
2364 # argument, so we may need to know it at that point already.
2365 # Even if this section looks crufty: it has the advantage of
2372 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2377 if test -z "$ac_file"; then :
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2379 $as_echo "no" >&6; }
2380 $as_echo "$as_me: failed program was:" >&5
2381 sed 's/^/| /' conftest.
$ac_ext >&5
2383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2385 as_fn_error
77 "C compiler cannot create executables
2386 See \`config.log' for more details" "$LINENO" 5 ; }
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2389 $as_echo "yes" >&6; }
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2392 $as_echo_n "checking for C compiler default output file name... " >&6; }
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2394 $as_echo "$ac_file" >&6; }
2395 ac_exeext
=$ac_cv_exeext
2397 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2398 ac_clean_files
=$ac_clean_files_save
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2400 $as_echo_n "checking for suffix of executables... " >&6; }
2401 if { { ac_try
="$ac_link"
2403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408 (eval "$ac_link") 2>&5
2410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2411 test $ac_status = 0; }; then :
2412 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2413 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2414 # work properly (i.e., refer to `conftest.exe'), while it won't with
2416 for ac_file
in conftest.exe conftest conftest.
*; do
2417 test -f "$ac_file" ||
continue
2419 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2420 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2428 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2429 See \`config.log' for more details" "$LINENO" 5 ; }
2431 rm -f conftest conftest
$ac_cv_exeext
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2433 $as_echo "$ac_cv_exeext" >&6; }
2435 rm -f conftest.
$ac_ext
2436 EXEEXT
=$ac_cv_exeext
2438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2439 /* end confdefs.h. */
2444 FILE *f = fopen ("conftest.out", "w");
2445 return ferror (f) || fclose (f) != 0;
2451 ac_clean_files
="$ac_clean_files conftest.out"
2452 # Check that the compiler produces executables we can run. If not, either
2453 # the compiler is broken, or we cross compile.
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2455 $as_echo_n "checking whether we are cross compiling... " >&6; }
2456 if test "$cross_compiling" != yes; then
2457 { { ac_try
="$ac_link"
2459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2460 *) ac_try_echo=$ac_try;;
2462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2463 $as_echo "$ac_try_echo"; } >&5
2464 (eval "$ac_link") 2>&5
2466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 test $ac_status = 0; }
2468 if { ac_try='./conftest$ac_cv_exeext'
2469 { { case "(($ac_try" in
2470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2471 *) ac_try_echo
=$ac_try;;
2473 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2474 $as_echo "$ac_try_echo"; } >&5
2475 (eval "$ac_try") 2>&5
2477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2478 test $ac_status = 0; }; }; then
2481 if test "$cross_compiling" = maybe
; then
2484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2486 as_fn_error $?
"cannot run C compiled programs.
2487 If you meant to cross compile, use \`--host'.
2488 See \`config.log' for more details" "$LINENO" 5 ; }
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2493 $as_echo "$cross_compiling" >&6; }
2495 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2496 ac_clean_files
=$ac_clean_files_save
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2498 $as_echo_n "checking for suffix of object files... " >&6; }
2499 if ${ac_cv_objext+:} false
; then :
2500 $as_echo_n "(cached) " >&6
2502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2503 /* end confdefs.h. */
2513 rm -f conftest.o conftest.obj
2514 if { { ac_try
="$ac_compile"
2516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_compile") 2>&5
2523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2524 test $ac_status = 0; }; then :
2525 for ac_file in conftest.o conftest.obj conftest.*; do
2526 test -f "$ac_file" || continue;
2528 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2529 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2534 $as_echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.$ac_ext >&5
2537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2539 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2540 See \
`config.log' for more details" "$LINENO" 5 ; }
2542 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2545 $as_echo "$ac_cv_objext" >&6; }
2546 OBJEXT=$ac_cv_objext
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2549 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2550 if ${ac_cv_c_compiler_gnu+:} false; then :
2551 $as_echo_n "(cached) " >&6
2553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2554 /* end confdefs.h. */
2567 if ac_fn_c_try_compile "$LINENO"; then :
2572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2573 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2577 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2578 if test $ac_compiler_gnu = yes; then
2583 ac_test_CFLAGS=${CFLAGS+set}
2584 ac_save_CFLAGS=$CFLAGS
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2586 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2587 if ${ac_cv_prog_cc_g+:} false; then :
2588 $as_echo_n "(cached) " >&6
2590 ac_save_c_werror_flag=$ac_c_werror_flag
2591 ac_c_werror_flag=yes
2594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2595 /* end confdefs.h. */
2605 if ac_fn_c_try_compile "$LINENO"; then :
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2620 if ac_fn_c_try_compile "$LINENO"; then :
2623 ac_c_werror_flag=$ac_save_c_werror_flag
2625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2626 /* end confdefs.h. */
2636 if ac_fn_c_try_compile "$LINENO"; then :
2639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2644 ac_c_werror_flag=$ac_save_c_werror_flag
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2647 $as_echo "$ac_cv_prog_cc_g" >&6; }
2648 if test "$ac_test_CFLAGS" = set; then
2649 CFLAGS=$ac_save_CFLAGS
2650 elif test $ac_cv_prog_cc_g = yes; then
2651 if test "$GCC" = yes; then
2657 if test "$GCC" = yes; then
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2664 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2665 if ${ac_cv_prog_cc_c89+:} false; then :
2666 $as_echo_n "(cached) " >&6
2668 ac_cv_prog_cc_c89=no
2670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2671 /* end confdefs.h. */
2674 #include <sys/types.h>
2675 #include <sys/stat.h>
2676 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2677 struct buf { int x; };
2678 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2679 static char *e (p, i)
2685 static char *f (char * (*g) (char **, int), char **p, ...)
2690 s = g (p, va_arg (v,int));
2695 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2696 function prototypes and stuff, but not '\xHH' hex character constants.
2697 These don't provoke an error unfortunately, instead are silently treated
2698 as 'x'. The following induces an error, until -std is added to get
2699 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2700 array size at least. It's necessary to write '\x00'==0 to get something
2701 that's true only with -std. */
2702 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2704 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2705 inside strings and character constants. */
2707 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2709 int test (int i, double x);
2710 struct s1 {int (*f) (int a);};
2711 struct s2 {int (*f) (double a);};
2712 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2718 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2723 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2724 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2726 CC="$ac_save_CC $ac_arg"
2727 if ac_fn_c_try_compile "$LINENO"; then :
2728 ac_cv_prog_cc_c89=$ac_arg
2730 rm -f core conftest.err conftest.$ac_objext
2731 test "x$ac_cv_prog_cc_c89" != "xno" && break
2733 rm -f conftest.$ac_ext
2738 case "x$ac_cv_prog_cc_c89" in
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2741 $as_echo "none needed" >&6; } ;;
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2744 $as_echo "unsupported" >&6; } ;;
2746 CC="$CC $ac_cv_prog_cc_c89"
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2748 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2750 if test "x$ac_cv_prog_cc_c89" != xno; then :
2755 ac_cpp='$CPP $CPPFLAGS'
2756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2760 test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
2763 for ac_prog in i686-w64-mingw32-gcc
2765 # Extract the first word of "$ac_prog", so it can be a program name with args.
2766 set dummy $ac_prog; ac_word=$2
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if ${ac_cv_prog_MINGW32_CC+:} false; then :
2770 $as_echo_n "(cached) " >&6
2772 if test -n "$MINGW32_CC"; then
2773 ac_cv_prog_MINGW32_CC="$MINGW32_CC" # Let the user override the test.
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir=.
2780 for ac_exec_ext in '' $ac_executable_extensions; do
2781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782 ac_cv_prog_MINGW32_CC="$ac_prog"
2783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 MINGW32_CC=$ac_cv_prog_MINGW32_CC
2793 if test -n "$MINGW32_CC"; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MINGW32_CC" >&5
2795 $as_echo "$MINGW32_CC" >&6; }
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2802 test -n "$MINGW32_CC" && break
2805 for ac_prog in x86_64-w64-mingw32-gcc
2807 # Extract the first word of "$ac_prog", so it can be a program name with args.
2808 set dummy $ac_prog; ac_word=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if ${ac_cv_prog_MINGW64_CC+:} false; then :
2812 $as_echo_n "(cached) " >&6
2814 if test -n "$MINGW64_CC"; then
2815 ac_cv_prog_MINGW64_CC="$MINGW64_CC" # Let the user override the test.
2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir=.
2822 for ac_exec_ext in '' $ac_executable_extensions; do
2823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2824 ac_cv_prog_MINGW64_CC="$ac_prog"
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 MINGW64_CC=$ac_cv_prog_MINGW64_CC
2835 if test -n "$MINGW64_CC"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MINGW64_CC" >&5
2837 $as_echo "$MINGW64_CC" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2844 test -n "$MINGW64_CC" && break
2848 test -z "$MINGW32_CC" && as_fn_error $? "no acceptable mingw32 cc found in \$PATH" "$LINENO" 5
2849 test -z "$MINGW64_CC" && as_fn_error $? "no acceptable mingw64 cc found in \$PATH" "$LINENO" 5
2851 test "$program_prefix" != NONE &&
2852 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2853 # Use a double $ so make ignores it.
2854 test "$program_suffix" != NONE &&
2855 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2856 # Double any \ or $.
2857 # By default was `s
,x
,x
', remove it if useless.
2858 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2859 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2862 # Find a good install program. We prefer a C program (faster),
2863 # so one script is as good as another. But avoid the broken or
2864 # incompatible versions:
2865 # SysV /etc/install, /usr/sbin/install
2866 # SunOS /usr/etc/install
2867 # IRIX /sbin/install
2869 # AmigaOS /C/install, which installs bootblocks on floppy discs
2870 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2871 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2872 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2873 # OS/2's system install, which has a completely different semantic
2874 # ./install, which can be erroneously created by make from ./install.sh.
2875 # Reject install programs that cannot install multiple files.
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2877 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2878 if test -z "$INSTALL"; then
2879 if ${ac_cv_path_install+:} false
; then :
2880 $as_echo_n "(cached) " >&6
2882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir
=.
2887 # Account for people who put trailing slashes in PATH elements.
2888 case $as_dir/ in #((
2889 .
/ | .
// |
/[cC
]/* | \
2890 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2891 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2894 # OSF1 and SCO ODT 3.0 have their own names for install.
2895 # Don't use installbsd from OSF since it installs stuff as root
2897 for ac_prog
in ginstall scoinst
install; do
2898 for ac_exec_ext
in '' $ac_executable_extensions; do
2899 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2900 if test $ac_prog = install &&
2901 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2902 # AIX install. It has an incompatible calling convention.
2904 elif test $ac_prog = install &&
2905 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2906 # program-specific install script used by HP pwplus--don't use.
2909 rm -rf conftest.one conftest.two conftest.dir
2910 echo one
> conftest.one
2911 echo two
> conftest.two
2913 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2914 test -s conftest.one
&& test -s conftest.two
&&
2915 test -s conftest.dir
/conftest.one
&&
2916 test -s conftest.dir
/conftest.two
2918 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2931 rm -rf conftest.one conftest.two conftest.dir
2934 if test "${ac_cv_path_install+set}" = set; then
2935 INSTALL
=$ac_cv_path_install
2937 # As a last resort, use the slow shell script. Don't cache a
2938 # value for INSTALL within a source directory, because that will
2939 # break other packages using the cache if that directory is
2940 # removed, or if the value is a relative name.
2941 INSTALL
=$ac_install_sh
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2945 $as_echo "$INSTALL" >&6; }
2947 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2948 # It thinks the first close brace ends the variable substitution.
2949 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2951 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2953 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2956 ac_config_files
="$ac_config_files Makefile cyglsa.def:cyglsa.din"
2958 cat >confcache
<<\_ACEOF
2959 # This file is a shell script that caches the results of configure
2960 # tests run on this system so they can be shared between configure
2961 # scripts and configure runs, see configure's option --config-cache.
2962 # It is not useful on other systems. If it contains results you don't
2963 # want to keep, you may remove or edit it.
2965 # config.status only pays attention to the cache file if you give it
2966 # the --recheck option to rerun configure.
2968 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2969 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2974 # The following way of writing the cache mishandles newlines in values,
2975 # but we know of no workaround that is simple, portable, and efficient.
2976 # So, we kill variables containing newlines.
2977 # Ultrix sh set writes to stderr and can't be redirected directly,
2978 # and sets the high bit in the cache file unless we assign to the vars.
2980 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2981 eval ac_val
=\$
$ac_var
2985 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2986 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2989 _ | IFS | as_nl
) ;; #(
2990 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
2991 *) { eval $ac_var=; unset $ac_var;} ;;
2997 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2998 *${as_nl}ac_space
=\
*)
2999 # `set' does not quote correctly, so add quotes: double-quote
3000 # substitution turns \\\\ into \\, and sed turns \\ into \.
3003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3006 # `set' quotes correctly as required by POSIX, so do not add quotes.
3007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3016 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3018 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3020 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3021 if test -w "$cache_file"; then
3022 if test "x$cache_file" != "x/dev/null"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3024 $as_echo "$as_me: updating cache $cache_file" >&6;}
3025 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3026 cat confcache
>"$cache_file"
3028 case $cache_file in #(
3030 mv -f confcache
"$cache_file"$$
&&
3031 mv -f "$cache_file"$$
"$cache_file" ;; #(
3033 mv -f confcache
"$cache_file" ;;
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3039 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3044 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3045 # Let make expand exec_prefix.
3046 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3048 # Transform confdefs.h into DEFS.
3049 # Protect against shell expansion while executing Makefile rules.
3050 # Protect against Makefile macro expansion.
3052 # If the first sed substitution is executed (which looks for macros that
3053 # take arguments), then branch to the quote section. Otherwise,
3054 # look for a macro that doesn't take arguments.
3064 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3066 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3070 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3083 DEFS
=`sed -n "$ac_script" confdefs.h`
3089 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3090 # 1. Remove the extension, and $U if already installed.
3091 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3092 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3093 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3094 # will be set to the directory where LIBOBJS objects are built.
3095 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3096 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3100 LTLIBOBJS
=$ac_ltlibobjs
3104 : "${CONFIG_STATUS=./config.status}"
3106 ac_clean_files_save
=$ac_clean_files
3107 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3109 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3111 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3113 # Generated by $as_me.
3114 # Run this file to recreate the current configuration.
3115 # Compiler output produced by configure, useful for debugging
3116 # configure, is in config.log if it exists.
3122 SHELL=\${CONFIG_SHELL-$SHELL}
3125 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3126 ## -------------------- ##
3127 ## M4sh Initialization. ##
3128 ## -------------------- ##
3130 # Be more Bourne compatible
3131 DUALCASE
=1; export DUALCASE
# for MKS sh
3132 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3135 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3136 # is contrary to our usage. Disable this feature.
3137 alias -g '${1+"$@"}'='"$@"'
3138 setopt NO_GLOB_SUBST
3140 case `(set -o) 2>/dev/null` in #(
3152 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3153 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3154 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3155 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3156 # Prefer a ksh shell builtin over an external printf program on Solaris,
3157 # but without wasting forks for bash or zsh.
3158 if test -z "$BASH_VERSION$ZSH_VERSION" \
3159 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3160 as_echo='print
-r --'
3161 as_echo_n='print
-rn --'
3162 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3163 as_echo='printf %s
\n'
3164 as_echo_n='printf %s
'
3166 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3167 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3168 as_echo_n='/usr
/ucb
/echo -n'
3170 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3171 as_echo_n_body='eval
3175 expr "X$arg" : "X\\(.*\\)$as_nl";
3176 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3178 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3180 export as_echo_n_body
3181 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3184 as_echo='sh
-c $as_echo_body as_echo
'
3187 # The user is always right.
3188 if test "${PATH_SEPARATOR+set}" != set; then
3190 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3191 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3198 # We need space, tab and new line, in precisely that order. Quoting is
3199 # there to prevent editors from complaining about space-tab.
3200 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3201 # splitting by setting IFS to empty value.)
3204 # Find who we are. Look in the path if we contain no directory separator.
3207 *[\\/]* ) as_myself=$0 ;;
3208 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir=.
3213 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3219 # We did not find ourselves, most probably we were run as `sh COMMAND'
3220 # in which case we are not to be found in the path.
3221 if test "x$as_myself" = x
; then
3224 if test ! -f "$as_myself"; then
3225 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3229 # Unset variables that we do not need and which cause bugs (e.g. in
3230 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3231 # suppresses any "Segmentation fault" message there. '((' could
3232 # trigger a bug in pdksh 5.2.14.
3233 for as_var
in BASH_ENV ENV MAIL MAILPATH
3234 do eval test x\
${$as_var+set} = xset \
3235 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3248 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3251 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3252 # ----------------------------------------
3253 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3254 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3255 # script with STATUS, using 1 if that was 0.
3258 as_status
=$1; test $as_status -eq 0 && as_status
=1
3260 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3261 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3263 $as_echo "$as_me: error: $2" >&2
3264 as_fn_exit
$as_status
3268 # as_fn_set_status STATUS
3269 # -----------------------
3270 # Set $? to STATUS, without forking.
3274 } # as_fn_set_status
3278 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3288 # Portably unset VAR.
3291 { eval $1=; unset $1;}
3293 as_unset
=as_fn_unset
3294 # as_fn_append VAR VALUE
3295 # ----------------------
3296 # Append the text in VALUE to the end of the definition contained in VAR. Take
3297 # advantage of any shell optimizations that allow amortized linear growth over
3298 # repeated appends, instead of the typical quadratic growth present in naive
3300 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3301 eval 'as_fn_append ()
3312 # as_fn_arith ARG...
3313 # ------------------
3314 # Perform arithmetic evaluation on the ARGs, and store the result in the
3315 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3316 # must be portable across $(()) and expr.
3317 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3318 eval 'as_fn_arith ()
3325 as_val
=`expr "$@" || test $? -eq 1`
3330 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3331 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3337 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3338 as_basename
=basename
3343 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3349 as_me
=`$as_basename -- "$0" ||
3350 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3351 X"$0" : 'X\(//\)$' \| \
3352 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3354 sed '/^.*\/\([^/][^/]*\)\/*$/{
3368 # Avoid depending upon Character Ranges.
3369 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3370 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3371 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3372 as_cr_digits
='0123456789'
3373 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3375 ECHO_C
= ECHO_N
= ECHO_T
=
3376 case `echo -n x` in #(((((
3378 case `echo 'xy\c'` in
3379 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3381 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3388 rm -f conf$$ conf$$.exe conf$$.
file
3389 if test -d conf$$.dir
; then
3390 rm -f conf$$.dir
/conf$$.
file
3393 mkdir conf$$.dir
2>/dev
/null
3395 if (echo >conf$$.
file) 2>/dev
/null
; then
3396 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3398 # ... but there are two gotchas:
3399 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3400 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3401 # In both cases, we have to default to `cp -p'.
3402 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3404 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3412 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3413 rmdir conf$$.dir
2>/dev
/null
3418 # Create "$as_dir" as a directory, including parents if necessary.
3423 -*) as_dir
=.
/$as_dir;;
3425 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3429 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3430 *) as_qdir
=$as_dir;;
3432 as_dirs
="'$as_qdir' $as_dirs"
3433 as_dir
=`$as_dirname -- "$as_dir" ||
3434 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3435 X"$as_dir" : 'X\(//\)[^/]' \| \
3436 X"$as_dir" : 'X\(//\)$' \| \
3437 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3438 $as_echo X"$as_dir" |
3439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3456 test -d "$as_dir" && break
3458 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3459 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
3463 if mkdir
-p .
2>/dev
/null
; then
3464 as_mkdir_p
='mkdir -p "$as_dir"'
3466 test -d .
/-p && rmdir .
/-p
3470 if test -x / >/dev
/null
2>&1; then
3473 if ls -dL / >/dev
/null
2>&1; then
3480 if test -d "$1"; then
3486 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3487 ???[sx]*):;;*)false;;esac;fi
3491 as_executable_p
=$as_test_x
3493 # Sed expression to map a string onto a valid CPP name.
3494 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3496 # Sed expression to map a string onto a valid variable name.
3497 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3501 ## ----------------------------------- ##
3502 ## Main body of $CONFIG_STATUS script. ##
3503 ## ----------------------------------- ##
3505 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3508 # Save the log message, to keep $0 and so on meaningful, and to
3509 # report actual input values of CONFIG_FILES etc. instead of their
3510 # values after options handling.
3512 This file was extended by $as_me, which was
3513 generated by GNU Autoconf 2.68. Invocation command line was
3515 CONFIG_FILES = $CONFIG_FILES
3516 CONFIG_HEADERS = $CONFIG_HEADERS
3517 CONFIG_LINKS = $CONFIG_LINKS
3518 CONFIG_COMMANDS = $CONFIG_COMMANDS
3521 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3526 case $ac_config_files in *"
3527 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
3532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3533 # Files that config.status was made for.
3534 config_files="$ac_config_files"
3538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3540 \`$as_me' instantiates files and other configuration actions
3541 from templates according to the current configuration. Unless the files
3542 and actions are specified as TAGs, all are instantiated by default.
3544 Usage: $0 [OPTION]... [TAG]...
3546 -h, --help print this help, then exit
3547 -V, --version print version number and configuration settings, then exit
3548 --config print configuration, then exit
3549 -q, --quiet, --silent
3550 do not print progress messages
3551 -d, --debug don't remove temporary files
3552 --recheck update $as_me by reconfiguring in the same conditions
3553 --file=FILE[:TEMPLATE]
3554 instantiate the configuration file FILE
3556 Configuration files:
3559 Report bugs to the package provider."
3562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3563 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3566 configured by $0, generated by GNU Autoconf 2.68,
3567 with options \\"\$ac_cs_config\\"
3569 Copyright (C) 2010 Free Software Foundation, Inc.
3570 This config.status script is free software; the Free Software Foundation
3571 gives unlimited permission to copy, distribute and modify it."
3576 test -n "\$AWK" || AWK=awk
3579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3580 # The default lists apply if the user does not specify any file.
3586 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3587 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
3591 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
3603 # Handling of the options.
3604 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3606 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
3607 $as_echo "$ac_cs_version"; exit ;;
3608 --config |
--confi |
--conf |
--con |
--co |
--c )
3609 $as_echo "$ac_cs_config"; exit ;;
3610 --debug |
--debu |
--deb |
--de |
--d |
-d )
3612 --file |
--fil |
--fi |
--f )
3615 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3616 '') as_fn_error $?
"missing file argument" ;;
3618 as_fn_append CONFIG_FILES
" '$ac_optarg'"
3619 ac_need_defaults
=false
;;
3620 --he |
--h |
--help |
--hel |
-h )
3621 $as_echo "$ac_cs_usage"; exit ;;
3622 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3623 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3627 -*) as_fn_error $?
"unrecognized option: \`$1'
3628 Try \`$0 --help' for more information." ;;
3630 *) as_fn_append ac_config_targets
" $1"
3631 ac_need_defaults
=false
;;
3637 ac_configure_extra_args
=
3639 if $ac_cs_silent; then
3641 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3646 if \$ac_cs_recheck; then
3647 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3649 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3650 CONFIG_SHELL='$SHELL'
3656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3660 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3661 ## Running $as_me. ##
3667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3672 # Handling of arguments.
3673 for ac_config_target
in $ac_config_targets
3675 case $ac_config_target in
3676 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3677 "cyglsa.def") CONFIG_FILES
="$CONFIG_FILES cyglsa.def:cyglsa.din" ;;
3679 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
3684 # If the user did not use the arguments to specify the items to instantiate,
3685 # then the envvar interface is used. Set only those that are not.
3686 # We use the long form for the default assignment because of an extremely
3687 # bizarre bug on SunOS 4.1.3.
3688 if $ac_need_defaults; then
3689 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3692 # Have a temporary directory for convenience. Make it in the build tree
3693 # simply because there is no reason against having it here, and in addition,
3694 # creating and moving files from /tmp can sometimes cause problems.
3695 # Hook for its removal unless debugging.
3696 # Note that there is a small window in which the directory will not be cleaned:
3697 # after its creation but before its name has been assigned to `$tmp'.
3701 trap 'exit_status=$?
3703 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3705 trap 'as_fn_exit 1' 1 2 13 15
3707 # Create a (secure) tmp directory for tmp files.
3710 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3714 tmp
=.
/conf$$
-$RANDOM
3715 (umask 077 && mkdir
"$tmp")
3716 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
3719 # Set up the scripts for CONFIG_FILES section.
3720 # No need to generate them if there are no CONFIG_FILES.
3721 # This happens for instance with `./config.status config.h'.
3722 if test -n "$CONFIG_FILES"; then
3725 ac_cr
=`echo X | tr X '\015'`
3726 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3727 # But we know of no other shell where ac_cr would be empty at this
3728 # point, so we can use a bashism as a fallback.
3729 if test "x$ac_cr" = x
; then
3730 eval ac_cr
=\$
\'\\r
\'
3732 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3733 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3739 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3744 echo "cat >conf$$subs.awk <<_ACEOF" &&
3745 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3748 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3749 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3751 for ac_last_try in false false false false false :; do
3752 . ./conf$$subs.sh ||
3753 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3755 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
3756 if test $ac_delim_n = $ac_delim_num; then
3758 elif $ac_last_try; then
3759 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
3761 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
3766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3767 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
3771 s/^/S["/; s
/!.
*/"]=/
3781 s/\(.\{148\}\)..*/\1/
3783 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
3788 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3795 s/\(.\{148\}\)..*/\1/
3797 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
3801 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
3806 ' <conf$$subs.awk | sed '
3811 ' >>$CONFIG_STATUS || ac_write_fail=1
3812 rm -f conf$$subs.awk
3813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3815 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
3816 for (key in S) S_is_set[key] = 1
3822 nfields = split(line, field, "@
")
3824 len = length(field[1])
3825 for (i = 2; i < nfields; i++) {
3827 keylen = length(key)
3828 if (S_is_set[key]) {
3830 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3831 len += length(value) + length(field[++i])
3842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3843 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3844 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
3847 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
3848 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
3851 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3852 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
3853 # trailing colons and then remove the whole line if VPATH becomes empty
3854 # (actually we leave an empty line to preserve line numbers).
3855 if test "x
$srcdir" = x.; then
3856 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3875 fi # test -n "$CONFIG_FILES"
3878 eval set X " :F
$CONFIG_FILES "
3883 :[FHLC]) ac_mode=$ac_tag; continue;;
3885 case $ac_mode$ac_tag in
3887 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5 ;;
3888 :[FH]-) ac_tag=-:-;;
3889 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3906 -) ac_f="$ac_tmp/stdin";;
3907 *) # Look for the file first in the build tree, then in the source tree
3908 # (if the path is not absolute). The absolute path cannot be DOS-style,
3909 # because $ac_f cannot contain `:'.
3913 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3915 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
3917 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
3918 as_fn_append ac_file_inputs " '$ac_f'"
3921 # Let's still pretend it is `configure' which instantiates (i.e., don't
3922 # use $as_me), people would be surprised to read:
3923 # /* config.h. Generated by config.status. */
3924 configure_input='Generated from '`
3925 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3927 if test x"$ac_file" != x-; then
3928 configure_input="$ac_file.
$configure_input"
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
3930 $as_echo "$as_me: creating
$ac_file" >&6;}
3932 # Neutralize special characters interpreted by sed in replacement strings.
3933 case $configure_input in #(
3934 *\&* | *\|* | *\\* )
3935 ac_sed_conf_input=`$as_echo "$configure_input" |
3936 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3937 *) ac_sed_conf_input=$configure_input;;
3941 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
3942 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
3947 ac_dir=`$as_dirname -- "$ac_file" ||
3948 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3949 X"$ac_file" : 'X\(//\)[^/]' \| \
3950 X"$ac_file" : 'X\(//\)$' \| \
3951 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3952 $as_echo X"$ac_file" |
3953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3970 as_dir="$ac_dir"; as_fn_mkdir_p
3974 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3976 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3977 # A "..
" for each directory in $ac_dir_suffix.
3978 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3979 case $ac_top_builddir_sub in
3980 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3981 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3984 ac_abs_top_builddir=$ac_pwd
3985 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3986 # for backward compatibility:
3987 ac_top_builddir=$ac_top_build_prefix
3990 .) # We are building in place.
3992 ac_top_srcdir=$ac_top_builddir_sub
3993 ac_abs_top_srcdir=$ac_pwd ;;
3994 [\\/]* | ?:[\\/]* ) # Absolute name.
3995 ac_srcdir=$srcdir$ac_dir_suffix;
3996 ac_top_srcdir=$srcdir
3997 ac_abs_top_srcdir=$srcdir ;;
3999 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4000 ac_top_srcdir=$ac_top_build_prefix$srcdir
4001 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4003 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4013 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4014 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4019 # If the template does not know about datarootdir, expand it.
4020 # FIXME: This hack should be removed a few years after 2.60.
4021 ac_datarootdir_hack=; ac_datarootdir_seen=
4032 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4033 *datarootdir*) ac_datarootdir_seen=yes;;
4034 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4036 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4039 ac_datarootdir_hack='
4040 s&@datadir@&$datadir&g
4041 s&@docdir@&$docdir&g
4042 s&@infodir@&$infodir&g
4043 s&@localedir@&$localedir&g
4044 s&@mandir@&$mandir&g
4045 s&\\\${datarootdir}&$datarootdir&g' ;;
4049 # Neutralize VPATH when `$srcdir' = `.'.
4050 # Shell code in configure.ac might set extrasub.
4051 # FIXME: do we really want to maintain this feature?
4052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4053 ac_sed_extra="$ac_vpsub
4056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4058 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4059 s|@configure_input@|
$ac_sed_conf_input|
;t t
4060 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4061 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4062 s
&@srcdir@
&$ac_srcdir&;t t
4063 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4064 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4065 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4066 s
&@builddir@
&$ac_builddir&;t t
4067 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4068 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4069 s
&@INSTALL@
&$ac_INSTALL&;t t
4070 $ac_datarootdir_hack
4072 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4073 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4075 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4076 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4077 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4078 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4080 which seems to be undefined. Please make sure it is defined" >&5
4081 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4082 which seems to be undefined. Please make sure it is defined" >&2;}
4084 rm -f "$ac_tmp/stdin"
4086 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4087 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4101 ac_clean_files=$ac_clean_files_save
4103 test $ac_write_fail = 0 ||
4104 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4107 # configure is writing to config.log, and then calls config.status.
4108 # config.status does its own redirection, appending to config.log.
4109 # Unfortunately, on DOS this fails, as config.log is still kept open
4110 # by configure, so config.status won't be able to
write to it
; its
4111 # output is simply discarded. So we exec the FD to /dev/null,
4112 # effectively closing config.log, so it can be properly (re)opened and
4113 # appended to by config.status. When coming back to configure, we
4114 # need to make the FD available again.
4115 if test "$no_create" != yes; then
4117 ac_config_status_args
=
4118 test "$silent" = yes &&
4119 ac_config_status_args
="$ac_config_status_args --quiet"
4121 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4123 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4124 # would make configure fail if this is the last instruction.
4125 $ac_cs_success || as_fn_exit
1
4127 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4129 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}