2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174 if (eval "$as_required") 2>/dev
/null
; then :
179 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
184 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
187 test -z "$as_dir" && as_dir
=.
191 for as_base
in sh bash ksh sh5
; do
192 # Try only shells that exist, to save several forks.
193 as_shell
=$as_dir/$as_base
194 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
196 CONFIG_SHELL
=$as_shell as_have_required
=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
205 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
207 CONFIG_SHELL
=$SHELL as_have_required
=yes
212 if test "x$CONFIG_SHELL" != x
; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
218 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x
$as_have_required = xno
; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x
${ZSH_VERSION+set} = xset
; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
239 SHELL
=${CONFIG_SHELL-/bin/sh}
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE
= GREP_OPTIONS
=
243 unset CLICOLOR_FORCE GREP_OPTIONS
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
250 # Portably unset VAR.
253 { eval $1=; unset $1;}
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277 # Create "$as_dir" as a directory, including parents if necessary.
282 -*) as_dir
=.
/$as_dir;;
284 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
288 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291 as_dirs
="'$as_qdir' $as_dirs"
292 as_dir
=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 X"$as_dir" : 'X\(//\)[^/]' \| \
295 X"$as_dir" : 'X\(//\)$' \| \
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
315 test -d "$as_dir" && break
317 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
318 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
322 # as_fn_append VAR VALUE
323 # ----------------------
324 # Append the text in VALUE to the end of the definition contained in VAR. Take
325 # advantage of any shell optimizations that allow amortized linear growth over
326 # repeated appends, instead of the typical quadratic growth present in naive
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
329 eval 'as_fn_append ()
342 # Perform arithmetic evaluation on the ARGs, and store the result in the
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 # must be portable across $(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
353 as_val
=`expr "$@" || test $? -eq 1`
358 # as_fn_error ERROR [LINENO LOG_FD]
359 # ---------------------------------
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 # script with status $?, using 1 if that was 0.
365 as_status
=$?
; test $as_status -eq 0 && as_status
=1
367 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 $as_echo "$as_me: error: $1" >&2
371 as_fn_exit
$as_status
374 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
375 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
381 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
393 as_me
=`$as_basename -- "$0" ||
394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395 X"$0" : 'X\(//\)$' \| \
396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 sed '/^.*\/\([^/][^/]*\)\/*$/{
412 # Avoid depending upon Character Ranges.
413 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits
='0123456789'
417 as_cr_alnum
=$as_cr_Letters$as_cr_digits
420 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
421 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
436 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
440 chmod +x
"$as_me.lineno" ||
441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
443 # Don't try to exec as it changes $[0], causing all sort of problems
444 # (the dirname of $[0] is not the place where we might find the
445 # original and so on. Autoconf is especially sensitive to this).
447 # Exit status is that of the last command.
451 ECHO_C
= ECHO_N
= ECHO_T
=
452 case `echo -n x` in #(((((
454 case `echo 'xy\c'` in
455 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
464 rm -f conf$$ conf$$.exe conf$$.
file
465 if test -d conf$$.dir
; then
466 rm -f conf$$.dir
/conf$$.
file
469 mkdir conf$$.dir
2>/dev
/null
471 if (echo >conf$$.
file) 2>/dev
/null
; then
472 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
474 # ... but there are two gotchas:
475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477 # In both cases, we have to default to `cp -p'.
478 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
480 elif ln conf$$.
file conf$$
2>/dev
/null
; then
488 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
489 rmdir conf$$.dir
2>/dev
/null
491 if mkdir
-p .
2>/dev
/null
; then
492 as_mkdir_p
='mkdir -p "$as_dir"'
494 test -d .
/-p && rmdir .
/-p
498 if test -x / >/dev
/null
2>&1; then
501 if ls -dL / >/dev
/null
2>&1; then
508 if test -d "$1"; then
514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 ???[sx]*):;;*)false;;esac;fi
519 as_executable_p
=$as_test_x
521 # Sed expression to map a string onto a valid CPP name.
522 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 # Sed expression to map a string onto a valid variable name.
525 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
539 ac_default_prefix
=/usr
/local
541 ac_config_libobj_dir
=.
548 # Identity of this package.
556 ac_unique_file
="Makefile.in"
557 enable_option_checking
=no
558 ac_subst_vars
='LTLIBOBJS
615 program_transform_name
628 enable_option_checking
630 ac_precious_vars
='build_alias
641 ac_subdirs_all
='cygwin
647 # Initialize some variables set by options.
649 ac_init_version
=false
650 ac_unrecognized_opts
=
652 # The variables have the same names as the options, with
653 # dashes changed to underlines.
661 program_transform_name
=s
,x
,x
,
669 # Installation directory options.
670 # These are left unexpanded so users can "make install exec_prefix=/foo"
671 # and all the variables that are supposed to be based on exec_prefix
672 # by default will actually change.
673 # Use braces instead of parens because sh, perl, etc. also accept them.
674 # (The list follows the same order as the GNU Coding Standards.)
675 bindir
='${exec_prefix}/bin'
676 sbindir
='${exec_prefix}/sbin'
677 libexecdir
='${exec_prefix}/libexec'
678 datarootdir
='${prefix}/share'
679 datadir
='${datarootdir}'
680 sysconfdir
='${prefix}/etc'
681 sharedstatedir
='${prefix}/com'
682 localstatedir
='${prefix}/var'
683 includedir
='${prefix}/include'
684 oldincludedir
='/usr/include'
685 docdir
='${datarootdir}/doc/${PACKAGE}'
686 infodir
='${datarootdir}/info'
691 libdir
='${exec_prefix}/lib'
692 localedir
='${datarootdir}/locale'
693 mandir
='${datarootdir}/man'
699 # If the previous option needs an argument, assign it.
700 if test -n "$ac_prev"; then
701 eval $ac_prev=\
$ac_option
707 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
711 # Accept the important Cygnus configure options, so we can diagnose typos.
713 case $ac_dashdash$ac_option in
717 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
719 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
722 -build |
--build |
--buil |
--bui |
--bu)
723 ac_prev
=build_alias
;;
724 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
725 build_alias
=$ac_optarg ;;
727 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
728 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
729 ac_prev
=cache_file
;;
730 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
731 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
732 cache_file
=$ac_optarg ;;
735 cache_file
=config.cache
;;
737 -datadir |
--datadir |
--datadi |
--datad)
739 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
740 datadir
=$ac_optarg ;;
742 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
743 |
--dataroo |
--dataro |
--datar)
744 ac_prev
=datarootdir
;;
745 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
746 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
747 datarootdir
=$ac_optarg ;;
749 -disable-* |
--disable-*)
750 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
753 as_fn_error
"invalid feature name: $ac_useropt"
754 ac_useropt_orig
=$ac_useropt
755 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
756 case $ac_user_opts in
760 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
761 ac_unrecognized_sep
=', ';;
763 eval enable_
$ac_useropt=no
;;
765 -docdir |
--docdir |
--docdi |
--doc |
--do)
767 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
770 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
772 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
775 -enable-* |
--enable-*)
776 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
777 # Reject names that are not valid shell variable names.
778 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
779 as_fn_error
"invalid feature name: $ac_useropt"
780 ac_useropt_orig
=$ac_useropt
781 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
782 case $ac_user_opts in
786 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
787 ac_unrecognized_sep
=', ';;
789 eval enable_
$ac_useropt=\
$ac_optarg ;;
791 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
792 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
793 |
--exec |
--exe |
--ex)
794 ac_prev
=exec_prefix
;;
795 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
796 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
797 |
--exec=* |
--exe=* |
--ex=*)
798 exec_prefix
=$ac_optarg ;;
800 -gas |
--gas |
--ga |
--g)
801 # Obsolete; use --with-gas.
804 -help |
--help |
--hel |
--he |
-h)
806 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
807 ac_init_help
=recursive
;;
808 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
809 ac_init_help
=short
;;
811 -host |
--host |
--hos |
--ho)
812 ac_prev
=host_alias
;;
813 -host=* |
--host=* |
--hos=* |
--ho=*)
814 host_alias
=$ac_optarg ;;
816 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
818 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
820 htmldir
=$ac_optarg ;;
822 -includedir |
--includedir |
--includedi |
--included |
--include \
823 |
--includ |
--inclu |
--incl |
--inc)
824 ac_prev
=includedir
;;
825 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
826 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
827 includedir
=$ac_optarg ;;
829 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
831 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
832 infodir
=$ac_optarg ;;
834 -libdir |
--libdir |
--libdi |
--libd)
836 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
839 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
840 |
--libexe |
--libex |
--libe)
841 ac_prev
=libexecdir
;;
842 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
843 |
--libexe=* |
--libex=* |
--libe=*)
844 libexecdir
=$ac_optarg ;;
846 -localedir |
--localedir |
--localedi |
--localed |
--locale)
848 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
849 localedir
=$ac_optarg ;;
851 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
852 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
853 ac_prev
=localstatedir
;;
854 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
855 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
856 localstatedir
=$ac_optarg ;;
858 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
860 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
864 # Obsolete; use --without-fp.
867 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
868 |
--no-cr |
--no-c |
-n)
871 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
872 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
875 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
876 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
877 |
--oldin |
--oldi |
--old |
--ol |
--o)
878 ac_prev
=oldincludedir
;;
879 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
880 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
881 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
882 oldincludedir
=$ac_optarg ;;
884 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
886 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
889 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
890 |
--program-pre |
--program-pr |
--program-p)
891 ac_prev
=program_prefix
;;
892 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
893 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
894 program_prefix
=$ac_optarg ;;
896 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
897 |
--program-suf |
--program-su |
--program-s)
898 ac_prev
=program_suffix
;;
899 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
900 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
901 program_suffix
=$ac_optarg ;;
903 -program-transform-name |
--program-transform-name \
904 |
--program-transform-nam |
--program-transform-na \
905 |
--program-transform-n |
--program-transform- \
906 |
--program-transform |
--program-transfor \
907 |
--program-transfo |
--program-transf \
908 |
--program-trans |
--program-tran \
909 |
--progr-tra |
--program-tr |
--program-t)
910 ac_prev
=program_transform_name
;;
911 -program-transform-name=* |
--program-transform-name=* \
912 |
--program-transform-nam=* |
--program-transform-na=* \
913 |
--program-transform-n=* |
--program-transform-=* \
914 |
--program-transform=* |
--program-transfor=* \
915 |
--program-transfo=* |
--program-transf=* \
916 |
--program-trans=* |
--program-tran=* \
917 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
918 program_transform_name
=$ac_optarg ;;
920 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
922 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
925 -psdir |
--psdir |
--psdi |
--psd |
--ps)
927 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
930 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
931 |
-silent |
--silent |
--silen |
--sile |
--sil)
934 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
936 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
938 sbindir
=$ac_optarg ;;
940 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
941 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
942 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
944 ac_prev
=sharedstatedir
;;
945 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
946 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
947 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
949 sharedstatedir
=$ac_optarg ;;
951 -site |
--site |
--sit)
953 -site=* |
--site=* |
--sit=*)
956 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
958 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
961 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
962 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
963 ac_prev
=sysconfdir
;;
964 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
965 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
966 sysconfdir
=$ac_optarg ;;
968 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
969 ac_prev
=target_alias
;;
970 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
971 target_alias
=$ac_optarg ;;
973 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
976 -version |
--version |
--versio |
--versi |
--vers |
-V)
980 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
981 # Reject names that are not valid shell variable names.
982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
983 as_fn_error
"invalid package name: $ac_useropt"
984 ac_useropt_orig
=$ac_useropt
985 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
986 case $ac_user_opts in
990 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
991 ac_unrecognized_sep
=', ';;
993 eval with_
$ac_useropt=\
$ac_optarg ;;
995 -without-* |
--without-*)
996 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
999 as_fn_error
"invalid package name: $ac_useropt"
1000 ac_useropt_orig
=$ac_useropt
1001 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1006 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1007 ac_unrecognized_sep
=', ';;
1009 eval with_
$ac_useropt=no
;;
1012 # Obsolete; use --with-x.
1015 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1016 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1017 ac_prev
=x_includes
;;
1018 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1019 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1020 x_includes
=$ac_optarg ;;
1022 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1023 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1024 ac_prev
=x_libraries
;;
1025 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1026 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1027 x_libraries
=$ac_optarg ;;
1029 -*) as_fn_error
"unrecognized option: \`$ac_option'
1030 Try \`$0 --help' for more information."
1034 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1035 # Reject names that are not valid shell variable names.
1036 case $ac_envvar in #(
1037 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1038 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1040 eval $ac_envvar=\
$ac_optarg
1041 export $ac_envvar ;;
1044 # FIXME: should be removed in autoconf 3.0.
1045 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1046 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1047 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1048 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1054 if test -n "$ac_prev"; then
1055 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1056 as_fn_error
"missing argument to $ac_option"
1059 if test -n "$ac_unrecognized_opts"; then
1060 case $enable_option_checking in
1062 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1063 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1067 # Check all directory arguments for consistency.
1068 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1069 datadir sysconfdir sharedstatedir localstatedir includedir \
1070 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1071 libdir localedir mandir
1073 eval ac_val
=\$
$ac_var
1074 # Remove trailing slashes.
1077 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1078 eval $ac_var=\
$ac_val;;
1080 # Be sure to have absolute directory names.
1082 [\\/$
]* | ?
:[\\/]* ) continue;;
1083 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1085 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1088 # There might be people who depend on the old broken behavior: `$host'
1089 # used to hold the argument of --host etc.
1090 # FIXME: To remove some day.
1093 target
=$target_alias
1095 # FIXME: To remove some day.
1096 if test "x$host_alias" != x
; then
1097 if test "x$build_alias" = x
; then
1098 cross_compiling
=maybe
1099 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1100 If a cross compiler is detected then cross compile mode will be used." >&2
1101 elif test "x$build_alias" != "x$host_alias"; then
1107 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1109 test "$silent" = yes && exec 6>/dev
/null
1112 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1113 ac_ls_di
=`ls -di .` &&
1114 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1115 as_fn_error
"working directory cannot be determined"
1116 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1117 as_fn_error
"pwd does not report name of working directory"
1120 # Find the source files, if location was not specified.
1121 if test -z "$srcdir"; then
1122 ac_srcdir_defaulted
=yes
1123 # Try the directory containing this script, then the parent directory.
1124 ac_confdir
=`$as_dirname -- "$as_myself" ||
1125 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1126 X"$as_myself" : 'X\(//\)[^/]' \| \
1127 X"$as_myself" : 'X\(//\)$' \| \
1128 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1129 $as_echo X"$as_myself" |
1130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1148 if test ! -r "$srcdir/$ac_unique_file"; then
1152 ac_srcdir_defaulted
=no
1154 if test ! -r "$srcdir/$ac_unique_file"; then
1155 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1156 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1158 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1160 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1162 # When building in place, set srcdir=.
1163 if test "$ac_abs_confdir" = "$ac_pwd"; then
1166 # Remove unnecessary trailing slashes from srcdir.
1167 # Double slashes in file names in object file debugging info
1168 # mess up M-x gdb in Emacs.
1170 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1172 for ac_var
in $ac_precious_vars; do
1173 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1174 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1175 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1176 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1180 # Report the --help message.
1182 if test "$ac_init_help" = "long"; then
1183 # Omit some internal or obsolete options to make the list less imposing.
1184 # This message is too long to be a string in the A/UX 3.1 sh.
1186 \`configure' configures this package to adapt to many kinds of systems.
1188 Usage: $0 [OPTION]... [VAR=VALUE]...
1190 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1191 VAR=VALUE. See below for descriptions of some of the useful variables.
1193 Defaults for the options are specified in brackets.
1196 -h, --help display this help and exit
1197 --help=short display options specific to this package
1198 --help=recursive display the short help of all the included packages
1199 -V, --version display version information and exit
1200 -q, --quiet, --silent do not print \`checking...' messages
1201 --cache-file=FILE cache test results in FILE [disabled]
1202 -C, --config-cache alias for \`--cache-file=config.cache'
1203 -n, --no-create do not create output files
1204 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1206 Installation directories:
1207 --prefix=PREFIX install architecture-independent files in PREFIX
1208 [$ac_default_prefix]
1209 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1212 By default, \`make install' will install all the files in
1213 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1214 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1215 for instance \`--prefix=\$HOME'.
1217 For better control, use the options below.
1219 Fine tuning of the installation directories:
1220 --bindir=DIR user executables [EPREFIX/bin]
1221 --sbindir=DIR system admin executables [EPREFIX/sbin]
1222 --libexecdir=DIR program executables [EPREFIX/libexec]
1223 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1224 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1225 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1226 --libdir=DIR object code libraries [EPREFIX/lib]
1227 --includedir=DIR C header files [PREFIX/include]
1228 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1229 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1230 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1231 --infodir=DIR info documentation [DATAROOTDIR/info]
1232 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1233 --mandir=DIR man documentation [DATAROOTDIR/man]
1234 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1235 --htmldir=DIR html documentation [DOCDIR]
1236 --dvidir=DIR dvi documentation [DOCDIR]
1237 --pdfdir=DIR pdf documentation [DOCDIR]
1238 --psdir=DIR ps documentation [DOCDIR]
1244 --build=BUILD configure
for building on BUILD
[guessed
]
1245 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1246 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1250 if test -n "$ac_init_help"; then
1254 Some influential environment variables
:
1255 CC C compiler
command
1256 CFLAGS C compiler flags
1257 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1258 nonstandard directory
<lib dir
>
1259 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1260 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1261 you have headers
in a nonstandard directory
<include dir
>
1262 CXX C
++ compiler
command
1263 CXXFLAGS C
++ compiler flags
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.65
1334 Copyright (C) 2009 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; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1379 as_fn_set_status
$ac_retval
1381 } # ac_fn_c_try_compile
1383 # ac_fn_cxx_try_compile LINENO
1384 # ----------------------------
1385 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1386 ac_fn_cxx_try_compile
()
1388 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1389 rm -f conftest.
$ac_objext
1390 if { { ac_try
="$ac_compile"
1392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1393 *) ac_try_echo=$ac_try;;
1395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1396 $as_echo "$ac_try_echo"; } >&5
1397 (eval "$ac_compile") 2>conftest.err
1399 if test -s conftest.err; then
1400 grep -v '^ *+' conftest.err >conftest.er1
1401 cat conftest.er1 >&5
1402 mv -f conftest.er1 conftest.err
1404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1405 test $ac_status = 0; } && {
1406 test -z "$ac_cxx_werror_flag" ||
1407 test ! -s conftest.err
1408 } && test -s conftest.$ac_objext; then :
1411 $as_echo "$as_me: failed program was:" >&5
1412 sed 's/^/| /' conftest.$ac_ext >&5
1416 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1417 as_fn_set_status $ac_retval
1419 } # ac_fn_cxx_try_compile
1420 cat >config.log <<_ACEOF
1421 This file contains any messages produced by compilers while
1422 running configure, to aid debugging if configure makes a mistake.
1424 It was created by $as_me, which was
1425 generated by GNU Autoconf 2.65. Invocation command line was
1437 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1438 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1439 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1440 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1441 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1443 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1444 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1446 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1447 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1448 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1449 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1450 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1451 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1452 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1460 test -z "$as_dir" && as_dir=.
1461 $as_echo "PATH: $as_dir"
1477 # Keep a trace of the command line.
1478 # Strip out --no-create and --no-recursion so they do not pile up.
1479 # Strip out --silent because we don't want to record it for future runs.
1480 # Also quote any args containing shell meta-characters.
1481 # Make two passes to allow for proper duplicate-argument suppression.
1485 ac_must_keep_next=false
1491 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1493 | -silent | --silent | --silen | --sile | --sil)
1496 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1499 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1501 as_fn_append ac_configure_args1 " '$ac_arg'"
1502 if test $ac_must_keep_next = true; then
1503 ac_must_keep_next=false # Got value, back to normal.
1506 *=* | --config-cache | -C | -disable-* | --disable-* \
1507 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1508 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1509 | -with-* | --with-* | -without-* | --without-* | --x)
1510 case "$ac_configure_args0 " in
1511 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1514 -* ) ac_must_keep_next=true ;;
1517 as_fn_append ac_configure_args " '$ac_arg'"
1522 { ac_configure_args0=; unset ac_configure_args0;}
1523 { ac_configure_args1=; unset ac_configure_args1;}
1525 # When interrupted or exit'd, cleanup temporary files, and complete
1526 # config.log. We remove comments because anyway the quotes in there
1527 # would cause problems or look ugly.
1528 # WARNING: Use '\'' to represent an apostrophe within the trap.
1529 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1530 trap 'exit_status=$?
1531 # Save into config.log some information that might help in debugging.
1536 ## ---------------- ##
1537 ## Cache variables. ##
1538 ## ---------------- ##
1541 # The following way of writing the cache mishandles newlines in values,
1543 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1544 eval ac_val=\$$ac_var
1548 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1549 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1552 _ | IFS | as_nl) ;; #(
1553 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1554 *) { eval $ac_var=; unset $ac_var;} ;;
1559 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1560 *${as_nl}ac_space=\ *)
1562 "s/'\''/'\''\\\\'\'''\''/g;
1563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1574 ## ----------------- ##
1575 ## Output variables. ##
1576 ## ----------------- ##
1579 for ac_var in $ac_subst_vars
1581 eval ac_val=\$$ac_var
1583 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1585 $as_echo "$ac_var='\''$ac_val'\''"
1589 if test -n "$ac_subst_files"; then
1591 ## ------------------- ##
1592 ## File substitutions. ##
1593 ## ------------------- ##
1596 for ac_var in $ac_subst_files
1598 eval ac_val=\$$ac_var
1600 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1602 $as_echo "$ac_var='\''$ac_val'\''"
1607 if test -s confdefs.h; then
1617 test "$ac_signal" != 0 &&
1618 $as_echo "$as_me: caught signal $ac_signal"
1619 $as_echo "$as_me: exit $exit_status"
1621 rm -f core *.core core.conftest.* &&
1622 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1625 for ac_signal in 1 2 13 15; do
1626 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1630 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1631 rm -f -r conftest* confdefs.h
1633 $as_echo "/* confdefs.h */" > confdefs.h
1635 # Predefined preprocessor variables.
1637 cat >>confdefs.h <<_ACEOF
1638 #define PACKAGE_NAME "$PACKAGE_NAME"
1641 cat >>confdefs.h <<_ACEOF
1642 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1645 cat >>confdefs.h <<_ACEOF
1646 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_STRING "$PACKAGE_STRING"
1653 cat >>confdefs.h <<_ACEOF
1654 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_URL "$PACKAGE_URL"
1662 # Let the site file select an alternate cache file if it wants to.
1663 # Prefer an explicitly selected file to automatically selected ones.
1666 if test -n "$CONFIG_SITE"; then
1667 ac_site_file1=$CONFIG_SITE
1668 elif test "x$prefix" != xNONE; then
1669 ac_site_file1=$prefix/share/config.site
1670 ac_site_file2=$prefix/etc/config.site
1672 ac_site_file1=$ac_default_prefix/share/config.site
1673 ac_site_file2=$ac_default_prefix/etc/config.site
1675 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1677 test "x$ac_site_file" = xNONE && continue
1678 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1680 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1681 sed 's/^/| /' "$ac_site_file" >&5
1686 if test -r "$cache_file"; then
1687 # Some versions of bash will fail to source /dev/null (special files
1688 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1689 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1691 $as_echo "$as_me: loading cache $cache_file" >&6;}
1693 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1694 *) . "./$cache_file";;
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1699 $as_echo "$as_me: creating cache $cache_file" >&6;}
1703 # Check that the precious variables saved in the cache have kept the same
1705 ac_cache_corrupted=false
1706 for ac_var in $ac_precious_vars; do
1707 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1708 eval ac_new_set=\$ac_env_${ac_var}_set
1709 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1710 eval ac_new_val=\$ac_env_${ac_var}_value
1711 case $ac_old_set,$ac_new_set in
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1714 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1715 ac_cache_corrupted=: ;;
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1718 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1719 ac_cache_corrupted=: ;;
1722 if test "x$ac_old_val" != "x$ac_new_val"; then
1723 # differences in whitespace do not lead to failure.
1724 ac_old_val_w=`echo x
$ac_old_val`
1725 ac_new_val_w=`echo x
$ac_new_val`
1726 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1728 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1729 ac_cache_corrupted=:
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1732 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1733 eval $ac_var=\$ac_old_val
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1736 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1738 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1741 # Pass precious variables to config.status.
1742 if test "$ac_new_set" = set; then
1744 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1745 *) ac_arg=$ac_var=$ac_new_val ;;
1747 case " $ac_configure_args " in
1748 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1749 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1753 if $ac_cache_corrupted; then
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1757 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1758 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1760 ## -------------------- ##
1761 ## Main body of script. ##
1762 ## -------------------- ##
1765 ac_cpp='$CPP $CPPFLAGS'
1766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1772 INSTALL=`cd $srcdir/..
; echo $
(pwd)/install-sh
-c`
1775 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1776 for ac_t in install-sh install.sh shtool; do
1777 if test -f "$ac_dir/$ac_t"; then
1779 ac_install_sh="$ac_aux_dir/$ac_t -c"
1784 if test -z "$ac_aux_dir"; then
1785 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1788 # These three variables are undocumented and unsupported,
1789 # and are intended to be withdrawn in a future Autoconf release.
1790 # They can cause serious problems if a builder's source tree is in a directory
1791 # whose full name contains unusual characters.
1792 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1793 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1794 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1797 # Find a good install program. We prefer a C program (faster),
1798 # so one script is as good as another. But avoid the broken or
1799 # incompatible versions:
1800 # SysV /etc/install, /usr/sbin/install
1801 # SunOS /usr/etc/install
1802 # IRIX /sbin/install
1804 # AmigaOS /C/install, which installs bootblocks on floppy discs
1805 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1806 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1807 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1808 # OS/2's system install, which has a completely different semantic
1809 # ./install, which can be erroneously created by make from ./install.sh.
1810 # Reject install programs that cannot install multiple files.
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1812 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1813 if test -z "$INSTALL"; then
1814 if test "${ac_cv_path_install+set}" = set; then :
1815 $as_echo_n "(cached) " >&6
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir=.
1822 # Account for people who put trailing slashes in PATH elements.
1823 case $as_dir/ in #((
1824 ./ | .// | /[cC]/* | \
1825 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1826 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1829 # OSF1 and SCO ODT 3.0 have their own names for install.
1830 # Don't use installbsd from OSF since it installs stuff as root
1832 for ac_prog in ginstall scoinst install; do
1833 for ac_exec_ext in '' $ac_executable_extensions; do
1834 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1835 if test $ac_prog = install &&
1836 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1837 # AIX install. It has an incompatible calling convention.
1839 elif test $ac_prog = install &&
1840 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1841 # program-specific install script used by HP pwplus--don't use.
1844 rm -rf conftest.one conftest.two conftest.dir
1845 echo one > conftest.one
1846 echo two > conftest.two
1848 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1849 test -s conftest.one && test -s conftest.two &&
1850 test -s conftest.dir/conftest.one &&
1851 test -s conftest.dir/conftest.two
1853 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1866 rm -rf conftest.one conftest.two conftest.dir
1869 if test "${ac_cv_path_install+set}" = set; then
1870 INSTALL=$ac_cv_path_install
1872 # As a last resort, use the slow shell script. Don't cache a
1873 # value for INSTALL within a source directory, because that will
1874 # break other packages using the cache if that directory is
1875 # removed, or if the value is a relative name.
1876 INSTALL=$ac_install_sh
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1880 $as_echo "$INSTALL" >&6; }
1882 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1883 # It thinks the first close brace ends the variable substitution.
1884 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1886 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1888 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1890 # Make sure we can run config.sub.
1891 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1892 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1895 $as_echo_n "checking build system type... " >&6; }
1896 if test "${ac_cv_build+set}" = set; then :
1897 $as_echo_n "(cached) " >&6
1899 ac_build_alias=$build_alias
1900 test "x$ac_build_alias" = x &&
1901 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1902 test "x$ac_build_alias" = x &&
1903 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1904 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1905 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1909 $as_echo "$ac_cv_build" >&6; }
1910 case $ac_cv_build in
1912 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1915 ac_save_IFS=$IFS; IFS='-'
1921 # Remember, the first character of IFS is used to create $*,
1922 # except with old shells:
1925 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1929 $as_echo_n "checking host system type... " >&6; }
1930 if test "${ac_cv_host+set}" = set; then :
1931 $as_echo_n "(cached) " >&6
1933 if test "x$host_alias" = x; then
1934 ac_cv_host=$ac_cv_build
1936 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1937 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1942 $as_echo "$ac_cv_host" >&6; }
1945 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1948 ac_save_IFS=$IFS; IFS='-'
1954 # Remember, the first character of IFS is used to create $*,
1955 # except with old shells:
1958 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1962 $as_echo_n "checking target system type... " >&6; }
1963 if test "${ac_cv_target+set}" = set; then :
1964 $as_echo_n "(cached) " >&6
1966 if test "x$target_alias" = x; then
1967 ac_cv_target=$ac_cv_host
1969 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1970 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1975 $as_echo "$ac_cv_target" >&6; }
1976 case $ac_cv_target in
1978 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
1980 target=$ac_cv_target
1981 ac_save_IFS=$IFS; IFS='-'
1987 # Remember, the first character of IFS is used to create $*,
1988 # except with old shells:
1991 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
1994 # The aliases save the names the user supplied, while $host etc.
1995 # will get canonicalized.
1996 test -n "$target_alias" &&
1997 test "$program_prefix$program_suffix$program_transform_name" = \
1999 program_prefix=${target_alias}-
2004 if test -n "$ac_tool_prefix"; then
2005 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2006 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2008 $as_echo_n "checking for $ac_word... " >&6; }
2009 if test "${ac_cv_prog_CC+set}" = set; then :
2010 $as_echo_n "(cached) " >&6
2012 if test -n "$CC"; then
2013 ac_cv_prog_CC="$CC" # Let the user override the test.
2015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2019 test -z "$as_dir" && as_dir=.
2020 for ac_exec_ext in '' $ac_executable_extensions; do
2021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2022 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2033 if test -n "$CC"; then
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2035 $as_echo "$CC" >&6; }
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2038 $as_echo "no" >&6; }
2043 if test -z "$ac_cv_prog_CC"; then
2045 # Extract the first word of "gcc", so it can be a program name with args.
2046 set dummy gcc; ac_word=$2
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2048 $as_echo_n "checking for $ac_word... " >&6; }
2049 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2050 $as_echo_n "(cached) " >&6
2052 if test -n "$ac_ct_CC"; then
2053 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 test -z "$as_dir" && as_dir=.
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2062 ac_cv_prog_ac_ct_CC="gcc"
2063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2072 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2073 if test -n "$ac_ct_CC"; then
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2075 $as_echo "$ac_ct_CC" >&6; }
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2078 $as_echo "no" >&6; }
2081 if test "x$ac_ct_CC" = x; then
2084 case $cross_compiling:$ac_tool_warned in
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2088 ac_tool_warned=yes ;;
2098 ac_cpp='$CPP $CPPFLAGS'
2099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2102 if test -n "$ac_tool_prefix"; then
2103 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2104 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2106 $as_echo_n "checking for $ac_word... " >&6; }
2107 if test "${ac_cv_prog_CC+set}" = set; then :
2108 $as_echo_n "(cached) " >&6
2110 if test -n "$CC"; then
2111 ac_cv_prog_CC="$CC" # Let the user override the test.
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2120 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 if test -n "$CC"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2133 $as_echo "$CC" >&6; }
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2136 $as_echo "no" >&6; }
2141 if test -z "$ac_cv_prog_CC"; then
2143 # Extract the first word of "gcc", so it can be a program name with args.
2144 set dummy gcc; ac_word=$2
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2146 $as_echo_n "checking for $ac_word... " >&6; }
2147 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2148 $as_echo_n "(cached) " >&6
2150 if test -n "$ac_ct_CC"; then
2151 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2157 test -z "$as_dir" && as_dir=.
2158 for ac_exec_ext in '' $ac_executable_extensions; do
2159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2160 ac_cv_prog_ac_ct_CC="gcc"
2161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2171 if test -n "$ac_ct_CC"; then
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2173 $as_echo "$ac_ct_CC" >&6; }
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2176 $as_echo "no" >&6; }
2179 if test "x$ac_ct_CC" = x; then
2182 case $cross_compiling:$ac_tool_warned in
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2186 ac_tool_warned=yes ;;
2194 if test -z "$CC"; then
2195 if test -n "$ac_tool_prefix"; then
2196 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2197 set dummy ${ac_tool_prefix}cc; ac_word=$2
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2199 $as_echo_n "checking for $ac_word... " >&6; }
2200 if test "${ac_cv_prog_CC+set}" = set; then :
2201 $as_echo_n "(cached) " >&6
2203 if test -n "$CC"; then
2204 ac_cv_prog_CC="$CC" # Let the user override the test.
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 test -z "$as_dir" && as_dir=.
2211 for ac_exec_ext in '' $ac_executable_extensions; do
2212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2213 ac_cv_prog_CC="${ac_tool_prefix}cc"
2214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2224 if test -n "$CC"; then
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2226 $as_echo "$CC" >&6; }
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2229 $as_echo "no" >&6; }
2235 if test -z "$CC"; then
2236 # Extract the first word of "cc", so it can be a program name with args.
2237 set dummy cc; ac_word=$2
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2239 $as_echo_n "checking for $ac_word... " >&6; }
2240 if test "${ac_cv_prog_CC+set}" = set; then :
2241 $as_echo_n "(cached) " >&6
2243 if test -n "$CC"; then
2244 ac_cv_prog_CC="$CC" # Let the user override the test.
2247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 test -z "$as_dir" && as_dir=.
2252 for ac_exec_ext in '' $ac_executable_extensions; do
2253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2254 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2255 ac_prog_rejected=yes
2259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 if test $ac_prog_rejected = yes; then
2267 # We found a bogon in the path, so make sure we never use it.
2268 set dummy $ac_cv_prog_CC
2270 if test $# != 0; then
2271 # We chose a different compiler from the bogus one.
2272 # However, it has the same basename, so the bogon will be chosen
2273 # first if we set CC to just the basename; use the full file name.
2275 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2281 if test -n "$CC"; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2283 $as_echo "$CC" >&6; }
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2286 $as_echo "no" >&6; }
2291 if test -z "$CC"; then
2292 if test -n "$ac_tool_prefix"; then
2293 for ac_prog in cl.exe
2295 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2296 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2298 $as_echo_n "checking for $ac_word... " >&6; }
2299 if test "${ac_cv_prog_CC+set}" = set; then :
2300 $as_echo_n "(cached) " >&6
2302 if test -n "$CC"; then
2303 ac_cv_prog_CC="$CC" # Let the user override the test.
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2312 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 if test -n "$CC"; then
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2325 $as_echo "$CC" >&6; }
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2328 $as_echo "no" >&6; }
2332 test -n "$CC" && break
2335 if test -z "$CC"; then
2337 for ac_prog in cl.exe
2339 # Extract the first word of "$ac_prog", so it can be a program name with args.
2340 set dummy $ac_prog; ac_word=$2
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2342 $as_echo_n "checking for $ac_word... " >&6; }
2343 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2344 $as_echo_n "(cached) " >&6
2346 if test -n "$ac_ct_CC"; then
2347 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353 test -z "$as_dir" && as_dir=.
2354 for ac_exec_ext in '' $ac_executable_extensions; do
2355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2356 ac_cv_prog_ac_ct_CC="$ac_prog"
2357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2366 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2367 if test -n "$ac_ct_CC"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2369 $as_echo "$ac_ct_CC" >&6; }
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2372 $as_echo "no" >&6; }
2376 test -n "$ac_ct_CC" && break
2379 if test "x$ac_ct_CC" = x; then
2382 case $cross_compiling:$ac_tool_warned in
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2386 ac_tool_warned=yes ;;
2395 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397 as_fn_error "no acceptable C compiler found
in \
$PATH
2398 See \
`config.log' for more details." "$LINENO" 5; }
2400 # Provide some information about the compiler.
2401 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2404 for ac_option in --version -v -V -qversion; do
2405 { { ac_try="$ac_compiler $ac_option >&5"
2407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2408 *) ac_try_echo
=$ac_try;;
2410 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2411 $as_echo "$ac_try_echo"; } >&5
2412 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2414 if test -s conftest.err
; then
2416 ... rest of stderr output deleted ...
2417 10q' conftest.err
>conftest.er1
2418 cat conftest.er1
>&5
2420 rm -f conftest.er1 conftest.err
2421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2422 test $ac_status = 0; }
2425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h. */
2437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
2438 (eval $ac_link) 2>&5
2440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2441 test $ac_status = 0; }; then :
2446 if test x
$gcc_no_link = xyes
; then
2447 # Setting cross_compile will disable run tests; it will
2448 # also disable AC_CHECK_FILE but that's generally
2449 # correct if we can't link.
2453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2454 /* end confdefs.h. */
2464 ac_clean_files_save
=$ac_clean_files
2465 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2466 # Try to create an executable without -o first, disregard a.out.
2467 # It will help us diagnose broken compilers, and finding out an intuition
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2470 $as_echo_n "checking whether the C compiler works... " >&6; }
2471 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2473 # The possible output files:
2474 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2477 for ac_file
in $ac_files
2480 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2481 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2486 if { { ac_try
="$ac_link_default"
2488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2489 *) ac_try_echo=$ac_try;;
2491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2492 $as_echo "$ac_try_echo"; } >&5
2493 (eval "$ac_link_default") 2>&5
2495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2496 test $ac_status = 0; }; then :
2497 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2498 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2499 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2500 # so that the user can short-circuit this test for compilers unknown to
2502 for ac_file in $ac_files ''
2504 test -f "$ac_file" || continue
2506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2509 # We found the default executable, but exeext='' is most
2513 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2515 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2517 # We set ac_cv_exeext here because the later test for it is not
2518 # safe: cross compilers may not add the suffix if given an `-o'
2519 # argument, so we may need to know it at that point already.
2520 # Even if this section looks crufty: it has the advantage of
2527 test "$ac_cv_exeext" = no && ac_cv_exeext=
2532 if test -z "$ac_file"; then :
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2534 $as_echo "no" >&6; }
2535 $as_echo "$as_me: failed program was:" >&5
2536 sed 's
/^
/|
/' conftest.$ac_ext >&5
2538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2539 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2540 { as_fn_set_status 77
2541 as_fn_error "C compiler cannot create executables
2542 See \`config.log
' for more details." "$LINENO" 5; }; }
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2545 $as_echo "yes" >&6; }
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2548 $as_echo_n "checking for C compiler default output file name... " >&6; }
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2550 $as_echo "$ac_file" >&6; }
2551 ac_exeext=$ac_cv_exeext
2553 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2554 ac_clean_files=$ac_clean_files_save
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2556 $as_echo_n "checking for suffix of executables... " >&6; }
2557 if { { ac_try="$ac_link"
2559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2560 *) ac_try_echo=$ac_try;;
2562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2563 $as_echo "$ac_try_echo"; } >&5
2564 (eval "$ac_link") 2>&5
2566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2567 test $ac_status = 0; }; then :
2568 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2569 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2570 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2572 for ac_file
in conftest.exe conftest conftest.
*; do
2573 test -f "$ac_file" ||
continue
2575 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2576 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2584 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2585 See \`config.log' for more details." "$LINENO" 5; }
2587 rm -f conftest conftest
$ac_cv_exeext
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2589 $as_echo "$ac_cv_exeext" >&6; }
2591 rm -f conftest.
$ac_ext
2592 EXEEXT
=$ac_cv_exeext
2594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2595 /* end confdefs.h. */
2600 FILE *f = fopen ("conftest.out", "w");
2601 return ferror (f) || fclose (f) != 0;
2607 ac_clean_files
="$ac_clean_files conftest.out"
2608 # Check that the compiler produces executables we can run. If not, either
2609 # the compiler is broken, or we cross compile.
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2611 $as_echo_n "checking whether we are cross compiling... " >&6; }
2612 if test "$cross_compiling" != yes; then
2613 { { ac_try
="$ac_link"
2615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2619 $as_echo "$ac_try_echo"; } >&5
2620 (eval "$ac_link") 2>&5
2622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2623 test $ac_status = 0; }
2624 if { ac_try='./conftest$ac_cv_exeext'
2625 { { case "(($ac_try" in
2626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2627 *) ac_try_echo
=$ac_try;;
2629 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2630 $as_echo "$ac_try_echo"; } >&5
2631 (eval "$ac_try") 2>&5
2633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2634 test $ac_status = 0; }; }; then
2637 if test "$cross_compiling" = maybe
; then
2640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2642 as_fn_error
"cannot run C compiled programs.
2643 If you meant to cross compile, use \`--host'.
2644 See \`config.log' for more details." "$LINENO" 5; }
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2649 $as_echo "$cross_compiling" >&6; }
2651 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2652 ac_clean_files
=$ac_clean_files_save
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2655 $as_echo_n "checking for suffix of object files... " >&6; }
2656 if test "${ac_cv_objext+set}" = set; then :
2657 $as_echo_n "(cached) " >&6
2659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2670 rm -f conftest.o conftest.obj
2671 if { { ac_try
="$ac_compile"
2673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2677 $as_echo "$ac_try_echo"; } >&5
2678 (eval "$ac_compile") 2>&5
2680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2681 test $ac_status = 0; }; then :
2682 for ac_file in conftest.o conftest.obj conftest.*; do
2683 test -f "$ac_file" || continue;
2685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2686 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2691 $as_echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2696 as_fn_error "cannot compute suffix of object files
: cannot compile
2697 See \
`config.log' for more details." "$LINENO" 5; }
2699 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2702 $as_echo "$ac_cv_objext" >&6; }
2703 OBJEXT=$ac_cv_objext
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2706 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2707 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2708 $as_echo_n "(cached) " >&6
2710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2711 /* end confdefs.h. */
2724 if ac_fn_c_try_compile "$LINENO"; then :
2729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2730 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2734 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2735 if test $ac_compiler_gnu = yes; then
2740 ac_test_CFLAGS=${CFLAGS+set}
2741 ac_save_CFLAGS=$CFLAGS
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2743 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2744 if test "${ac_cv_prog_cc_g+set}" = set; then :
2745 $as_echo_n "(cached) " >&6
2747 ac_save_c_werror_flag=$ac_c_werror_flag
2748 ac_c_werror_flag=yes
2751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2752 /* end confdefs.h. */
2762 if ac_fn_c_try_compile "$LINENO"; then :
2766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2767 /* end confdefs.h. */
2777 if ac_fn_c_try_compile "$LINENO"; then :
2780 ac_c_werror_flag=$ac_save_c_werror_flag
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2793 if ac_fn_c_try_compile "$LINENO"; then :
2796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2801 ac_c_werror_flag=$ac_save_c_werror_flag
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2804 $as_echo "$ac_cv_prog_cc_g" >&6; }
2805 if test "$ac_test_CFLAGS" = set; then
2806 CFLAGS=$ac_save_CFLAGS
2807 elif test $ac_cv_prog_cc_g = yes; then
2808 if test "$GCC" = yes; then
2814 if test "$GCC" = yes; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2821 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2822 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2823 $as_echo_n "(cached) " >&6
2825 ac_cv_prog_cc_c89=no
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2831 #include <sys/types.h>
2832 #include <sys/stat.h>
2833 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2834 struct buf { int x; };
2835 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2836 static char *e (p, i)
2842 static char *f (char * (*g) (char **, int), char **p, ...)
2847 s = g (p, va_arg (v,int));
2852 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2853 function prototypes and stuff, but not '\xHH' hex character constants.
2854 These don't provoke an error unfortunately, instead are silently treated
2855 as 'x'. The following induces an error, until -std is added to get
2856 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2857 array size at least. It's necessary to write '\x00'==0 to get something
2858 that's true only with -std. */
2859 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2861 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2862 inside strings and character constants. */
2864 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2866 int test (int i, double x);
2867 struct s1 {int (*f) (int a);};
2868 struct s2 {int (*f) (double a);};
2869 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2875 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2880 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2881 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2883 CC="$ac_save_CC $ac_arg"
2884 if ac_fn_c_try_compile "$LINENO"; then :
2885 ac_cv_prog_cc_c89=$ac_arg
2887 rm -f core conftest.err conftest.$ac_objext
2888 test "x$ac_cv_prog_cc_c89" != "xno" && break
2890 rm -f conftest.$ac_ext
2895 case "x$ac_cv_prog_cc_c89" in
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2898 $as_echo "none needed" >&6; } ;;
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2901 $as_echo "unsupported" >&6; } ;;
2903 CC="$CC $ac_cv_prog_cc_c89"
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2905 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2907 if test "x$ac_cv_prog_cc_c89" != xno; then :
2912 ac_cpp='$CPP $CPPFLAGS'
2913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2917 test -z "$CC" && as_fn_error "no acceptable cc found in \$PATH" "$LINENO" 5
2919 if test -n "$ac_tool_prefix"; then
2920 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2921 set dummy ${ac_tool_prefix}g++; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if test "${ac_cv_prog_CXX+set}" = set; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$CXX"; then
2928 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_CXX="${ac_tool_prefix}g++"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 if test -n "$CXX"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2950 $as_echo "$CXX" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2958 if test -z "$ac_cv_prog_CXX"; then
2960 # Extract the first word of "g++", so it can be a program name with args.
2961 set dummy g++; ac_word=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2965 $as_echo_n "(cached) " >&6
2967 if test -n "$ac_ct_CXX"; then
2968 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir=.
2975 for ac_exec_ext in '' $ac_executable_extensions; do
2976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2977 ac_cv_prog_ac_ct_CXX="g++"
2978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2988 if test -n "$ac_ct_CXX"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2990 $as_echo "$ac_ct_CXX" >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2996 if test "x$ac_ct_CXX" = x; then
2999 case $cross_compiling:$ac_tool_warned in
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3003 ac_tool_warned=yes ;;
3008 CXX="$ac_cv_prog_CXX"
3011 if test -z "$CXX"; then
3012 if test -n "$ac_tool_prefix"; then
3013 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
3014 set dummy ${ac_tool_prefix}g++; ac_word=$2
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3016 $as_echo_n "checking for $ac_word... " >&6; }
3017 if test "${ac_cv_prog_CXX+set}" = set; then :
3018 $as_echo_n "(cached) " >&6
3020 if test -n "$CXX"; then
3021 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_CXX="${ac_tool_prefix}g++"
3031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 if test -n "$CXX"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3043 $as_echo "$CXX" >&6; }
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046 $as_echo "no" >&6; }
3051 if test -z "$ac_cv_prog_CXX"; then
3053 # Extract the first word of "g++", so it can be a program name with args.
3054 set dummy g++; ac_word=$2
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056 $as_echo_n "checking for $ac_word... " >&6; }
3057 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3058 $as_echo_n "(cached) " >&6
3060 if test -n "$ac_ct_CXX"; then
3061 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067 test -z "$as_dir" && as_dir=.
3068 for ac_exec_ext in '' $ac_executable_extensions; do
3069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3070 ac_cv_prog_ac_ct_CXX="g++"
3071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3081 if test -n "$ac_ct_CXX"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3083 $as_echo "$ac_ct_CXX" >&6; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086 $as_echo "no" >&6; }
3089 if test "x$ac_ct_CXX" = x; then
3092 case $cross_compiling:$ac_tool_warned in
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3096 ac_tool_warned=yes ;;
3101 CXX="$ac_cv_prog_CXX"
3106 ac_cpp='$CXXCPP $CPPFLAGS'
3107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3110 if test -z "$CXX"; then
3111 if test -n "$CCC"; then
3114 if test -n "$ac_tool_prefix"; then
3115 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3118 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120 $as_echo_n "checking for $ac_word... " >&6; }
3121 if test "${ac_cv_prog_CXX+set}" = set; then :
3122 $as_echo_n "(cached) " >&6
3124 if test -n "$CXX"; then
3125 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir=.
3132 for ac_exec_ext in '' $ac_executable_extensions; do
3133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3134 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 if test -n "$CXX"; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3147 $as_echo "$CXX" >&6; }
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3150 $as_echo "no" >&6; }
3154 test -n "$CXX" && break
3157 if test -z "$CXX"; then
3159 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3161 # Extract the first word of "$ac_prog", so it can be a program name with args.
3162 set dummy $ac_prog; ac_word=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3166 $as_echo_n "(cached) " >&6
3168 if test -n "$ac_ct_CXX"; then
3169 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir=.
3176 for ac_exec_ext in '' $ac_executable_extensions; do
3177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3178 ac_cv_prog_ac_ct_CXX="$ac_prog"
3179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3189 if test -n "$ac_ct_CXX"; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3191 $as_echo "$ac_ct_CXX" >&6; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3198 test -n "$ac_ct_CXX" && break
3201 if test "x$ac_ct_CXX" = x; then
3204 case $cross_compiling:$ac_tool_warned in
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3208 ac_tool_warned=yes ;;
3216 # Provide some information about the compiler.
3217 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3220 for ac_option in --version -v -V -qversion; do
3221 { { ac_try="$ac_compiler $ac_option >&5"
3223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3224 *) ac_try_echo
=$ac_try;;
3226 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3227 $as_echo "$ac_try_echo"; } >&5
3228 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3230 if test -s conftest.err
; then
3232 ... rest of stderr output deleted ...
3233 10q' conftest.err
>conftest.er1
3234 cat conftest.er1
>&5
3236 rm -f conftest.er1 conftest.err
3237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3238 test $ac_status = 0; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3242 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3243 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3244 $as_echo_n "(cached) " >&6
3246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h. */
3260 if ac_fn_cxx_try_compile
"$LINENO"; then :
3265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3266 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3270 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3271 if test $ac_compiler_gnu = yes; then
3276 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3277 ac_save_CXXFLAGS
=$CXXFLAGS
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3279 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3280 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3281 $as_echo_n "(cached) " >&6
3283 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3284 ac_cxx_werror_flag
=yes
3287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3288 /* end confdefs.h. */
3298 if ac_fn_cxx_try_compile
"$LINENO"; then :
3299 ac_cv_prog_cxx_g
=yes
3302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3313 if ac_fn_cxx_try_compile
"$LINENO"; then :
3316 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3329 if ac_fn_cxx_try_compile
"$LINENO"; then :
3330 ac_cv_prog_cxx_g
=yes
3332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3337 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3340 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3341 if test "$ac_test_CXXFLAGS" = set; then
3342 CXXFLAGS
=$ac_save_CXXFLAGS
3343 elif test $ac_cv_prog_cxx_g = yes; then
3344 if test "$GXX" = yes; then
3350 if test "$GXX" = yes; then
3357 ac_cpp
='$CPP $CPPFLAGS'
3358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3362 test -z "$CC" && as_fn_error
"no acceptable cc found in \$PATH" "$LINENO" 5
3365 CXXFLAGS
='$(CFLAGS)'
3369 ac_cpp
='$CPP $CPPFLAGS'
3370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3379 if ! test -d $srcdir/cygwin
; then
3380 as_fn_error
"\"No cygwin dir. Can't build Cygwin. Exiting...\"" "$LINENO" 5
3384 subdirs
="$subdirs cygwin"
3386 INSTALL_LICENSE
="install-license"
3389 if ! test -d $srcdir/mingw
; then
3390 as_fn_error
"\"No mingw dir. Can't build Mingw. Exiting...\"" "$LINENO" 5
3395 if test -d $srcdir/mingw
; then
3396 subdirs
="$subdirs mingw"
3399 subdirs
="$subdirs w32api cygserver"
3402 case "$with_cross_host" in
3404 # if test -d $srcdir/bz2lib; then
3405 # AC_CONFIG_SUBDIRS(bz2lib)
3407 # if test -d $srcdir/zlib; then
3408 # AC_CONFIG_SUBDIRS(zlib)
3410 if test -d $srcdir/lsaauth
; then
3411 subdirs
="$subdirs lsaauth"
3414 subdirs
="$subdirs utils doc"
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3422 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3424 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3425 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3426 $as_echo_n "(cached) " >&6
3428 cat >conftest.
make <<\_ACEOF
3431 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3433 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3434 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3436 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3438 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3442 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3444 $as_echo "yes" >&6; }
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448 $as_echo "no" >&6; }
3449 SET_MAKE
="MAKE=${MAKE-make}"
3453 ac_config_files
="$ac_config_files Makefile"
3455 cat >confcache
<<\_ACEOF
3456 # This file is a shell script that caches the results of configure
3457 # tests run on this system so they can be shared between configure
3458 # scripts and configure runs, see configure's option --config-cache.
3459 # It is not useful on other systems. If it contains results you don't
3460 # want to keep, you may remove or edit it.
3462 # config.status only pays attention to the cache file if you give it
3463 # the --recheck option to rerun configure.
3465 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3466 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3471 # The following way of writing the cache mishandles newlines in values,
3472 # but we know of no workaround that is simple, portable, and efficient.
3473 # So, we kill variables containing newlines.
3474 # Ultrix sh set writes to stderr and can't be redirected directly,
3475 # and sets the high bit in the cache file unless we assign to the vars.
3477 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3478 eval ac_val
=\$
$ac_var
3482 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3483 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3486 _ | IFS | as_nl
) ;; #(
3487 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3488 *) { eval $ac_var=; unset $ac_var;} ;;
3494 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3495 *${as_nl}ac_space
=\
*)
3496 # `set' does not quote correctly, so add quotes: double-quote
3497 # substitution turns \\\\ into \\, and sed turns \\ into \.
3500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3503 # `set' quotes correctly as required by POSIX, so do not add quotes.
3504 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3513 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3515 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3517 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3518 if test -w "$cache_file"; then
3519 test "x$cache_file" != "x/dev/null" &&
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3521 $as_echo "$as_me: updating cache $cache_file" >&6;}
3522 cat confcache
>$cache_file
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3525 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3530 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3531 # Let make expand exec_prefix.
3532 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3534 # Transform confdefs.h into DEFS.
3535 # Protect against shell expansion while executing Makefile rules.
3536 # Protect against Makefile macro expansion.
3538 # If the first sed substitution is executed (which looks for macros that
3539 # take arguments), then branch to the quote section. Otherwise,
3540 # look for a macro that doesn't take arguments.
3550 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3552 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3556 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3569 DEFS
=`sed -n "$ac_script" confdefs.h`
3574 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3575 # 1. Remove the extension, and $U if already installed.
3576 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3577 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3578 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3579 # will be set to the directory where LIBOBJS objects are built.
3580 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3581 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3585 LTLIBOBJS
=$ac_ltlibobjs
3589 : ${CONFIG_STATUS=./config.status}
3591 ac_clean_files_save
=$ac_clean_files
3592 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3594 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3596 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3598 # Generated by $as_me.
3599 # Run this file to recreate the current configuration.
3600 # Compiler output produced by configure, useful for debugging
3601 # configure, is in config.log if it exists.
3607 SHELL=\${CONFIG_SHELL-$SHELL}
3610 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3611 ## -------------------- ##
3612 ## M4sh Initialization. ##
3613 ## -------------------- ##
3615 # Be more Bourne compatible
3616 DUALCASE
=1; export DUALCASE
# for MKS sh
3617 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3620 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3621 # is contrary to our usage. Disable this feature.
3622 alias -g '${1+"$@"}'='"$@"'
3623 setopt NO_GLOB_SUBST
3625 case `(set -o) 2>/dev/null` in #(
3637 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3638 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3639 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3640 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3641 # Prefer a ksh shell builtin over an external printf program on Solaris,
3642 # but without wasting forks for bash or zsh.
3643 if test -z "$BASH_VERSION$ZSH_VERSION" \
3644 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3645 as_echo='print
-r --'
3646 as_echo_n='print
-rn --'
3647 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3648 as_echo='printf %s
\n'
3649 as_echo_n='printf %s
'
3651 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3652 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3653 as_echo_n='/usr
/ucb
/echo -n'
3655 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3656 as_echo_n_body='eval
3660 expr "X$arg" : "X\\(.*\\)$as_nl";
3661 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3663 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3665 export as_echo_n_body
3666 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3669 as_echo='sh
-c $as_echo_body as_echo
'
3672 # The user is always right.
3673 if test "${PATH_SEPARATOR+set}" != set; then
3675 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3676 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3683 # We need space, tab and new line, in precisely that order. Quoting is
3684 # there to prevent editors from complaining about space-tab.
3685 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3686 # splitting by setting IFS to empty value.)
3689 # Find who we are. Look in the path if we contain no directory separator.
3691 *[\\/]* ) as_myself=$0 ;;
3692 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 test -z "$as_dir" && as_dir=.
3697 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3703 # We did not find ourselves, most probably we were run as `sh COMMAND'
3704 # in which case we are not to be found in the path.
3705 if test "x$as_myself" = x
; then
3708 if test ! -f "$as_myself"; then
3709 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3713 # Unset variables that we do not need and which cause bugs (e.g. in
3714 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3715 # suppresses any "Segmentation fault" message there. '((' could
3716 # trigger a bug in pdksh 5.2.14.
3717 for as_var
in BASH_ENV ENV MAIL MAILPATH
3718 do eval test x\
${$as_var+set} = xset \
3719 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3732 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3735 # as_fn_error ERROR [LINENO LOG_FD]
3736 # ---------------------------------
3737 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3738 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3739 # script with status $?, using 1 if that was 0.
3742 as_status
=$?
; test $as_status -eq 0 && as_status
=1
3744 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3745 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3747 $as_echo "$as_me: error: $1" >&2
3748 as_fn_exit
$as_status
3752 # as_fn_set_status STATUS
3753 # -----------------------
3754 # Set $? to STATUS, without forking.
3758 } # as_fn_set_status
3762 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3772 # Portably unset VAR.
3775 { eval $1=; unset $1;}
3777 as_unset
=as_fn_unset
3778 # as_fn_append VAR VALUE
3779 # ----------------------
3780 # Append the text in VALUE to the end of the definition contained in VAR. Take
3781 # advantage of any shell optimizations that allow amortized linear growth over
3782 # repeated appends, instead of the typical quadratic growth present in naive
3784 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3785 eval 'as_fn_append ()
3796 # as_fn_arith ARG...
3797 # ------------------
3798 # Perform arithmetic evaluation on the ARGs, and store the result in the
3799 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3800 # must be portable across $(()) and expr.
3801 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3802 eval 'as_fn_arith ()
3809 as_val
=`expr "$@" || test $? -eq 1`
3814 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3815 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3821 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3822 as_basename
=basename
3827 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3833 as_me
=`$as_basename -- "$0" ||
3834 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3835 X"$0" : 'X\(//\)$' \| \
3836 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3838 sed '/^.*\/\([^/][^/]*\)\/*$/{
3852 # Avoid depending upon Character Ranges.
3853 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3854 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3855 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3856 as_cr_digits
='0123456789'
3857 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3859 ECHO_C
= ECHO_N
= ECHO_T
=
3860 case `echo -n x` in #(((((
3862 case `echo 'xy\c'` in
3863 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3865 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3872 rm -f conf$$ conf$$.exe conf$$.
file
3873 if test -d conf$$.dir
; then
3874 rm -f conf$$.dir
/conf$$.
file
3877 mkdir conf$$.dir
2>/dev
/null
3879 if (echo >conf$$.
file) 2>/dev
/null
; then
3880 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3882 # ... but there are two gotchas:
3883 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3884 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3885 # In both cases, we have to default to `cp -p'.
3886 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3888 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3896 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3897 rmdir conf$$.dir
2>/dev
/null
3902 # Create "$as_dir" as a directory, including parents if necessary.
3907 -*) as_dir
=.
/$as_dir;;
3909 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3913 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3914 *) as_qdir
=$as_dir;;
3916 as_dirs
="'$as_qdir' $as_dirs"
3917 as_dir
=`$as_dirname -- "$as_dir" ||
3918 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3919 X"$as_dir" : 'X\(//\)[^/]' \| \
3920 X"$as_dir" : 'X\(//\)$' \| \
3921 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3922 $as_echo X"$as_dir" |
3923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3940 test -d "$as_dir" && break
3942 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3943 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
3947 if mkdir
-p .
2>/dev
/null
; then
3948 as_mkdir_p
='mkdir -p "$as_dir"'
3950 test -d .
/-p && rmdir .
/-p
3954 if test -x / >/dev
/null
2>&1; then
3957 if ls -dL / >/dev
/null
2>&1; then
3964 if test -d "$1"; then
3970 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3971 ???[sx]*):;;*)false;;esac;fi
3975 as_executable_p
=$as_test_x
3977 # Sed expression to map a string onto a valid CPP name.
3978 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3980 # Sed expression to map a string onto a valid variable name.
3981 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3985 ## ----------------------------------- ##
3986 ## Main body of $CONFIG_STATUS script. ##
3987 ## ----------------------------------- ##
3989 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
3991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
3992 # Save the log message, to keep $0 and so on meaningful, and to
3993 # report actual input values of CONFIG_FILES etc. instead of their
3994 # values after options handling.
3996 This file was extended by $as_me, which was
3997 generated by GNU Autoconf 2.65. Invocation command line was
3999 CONFIG_FILES = $CONFIG_FILES
4000 CONFIG_HEADERS = $CONFIG_HEADERS
4001 CONFIG_LINKS = $CONFIG_LINKS
4002 CONFIG_COMMANDS = $CONFIG_COMMANDS
4005 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4010 case $ac_config_files in *"
4011 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4017 # Files that config.status was made for.
4018 config_files="$ac_config_files"
4022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4024 \`$as_me' instantiates files and other configuration actions
4025 from templates according to the current configuration. Unless the files
4026 and actions are specified as TAGs, all are instantiated by default.
4028 Usage: $0 [OPTION]... [TAG]...
4030 -h, --help print this help, then exit
4031 -V, --version print version number and configuration settings, then exit
4032 --config print configuration, then exit
4033 -q, --quiet, --silent
4034 do not print progress messages
4035 -d, --debug don't remove temporary files
4036 --recheck update $as_me by reconfiguring in the same conditions
4037 --file=FILE[:TEMPLATE]
4038 instantiate the configuration file FILE
4040 Configuration files:
4043 Report bugs to the package provider."
4046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4047 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4050 configured by $0, generated by GNU Autoconf 2.65,
4051 with options \\"\$ac_cs_config\\"
4053 Copyright (C) 2009 Free Software Foundation, Inc.
4054 This config.status script is free software; the Free Software Foundation
4055 gives unlimited permission to copy, distribute and modify it."
4060 test -n "\$AWK" || AWK=awk
4063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4064 # The default lists apply if the user does not specify any file.
4070 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4071 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4082 # Handling of the options.
4083 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4085 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4086 $as_echo "$ac_cs_version"; exit ;;
4087 --config |
--confi |
--conf |
--con |
--co |
--c )
4088 $as_echo "$ac_cs_config"; exit ;;
4089 --debug |
--debu |
--deb |
--de |
--d |
-d )
4091 --file |
--fil |
--fi |
--f )
4094 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4096 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4097 ac_need_defaults
=false
;;
4098 --he |
--h |
--help |
--hel |
-h )
4099 $as_echo "$ac_cs_usage"; exit ;;
4100 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4101 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4105 -*) as_fn_error
"unrecognized option: \`$1'
4106 Try \`$0 --help' for more information." ;;
4108 *) as_fn_append ac_config_targets
" $1"
4109 ac_need_defaults
=false
;;
4115 ac_configure_extra_args
=
4117 if $ac_cs_silent; then
4119 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4124 if \$ac_cs_recheck; then
4125 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4127 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4128 CONFIG_SHELL='$SHELL'
4134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4138 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4139 ## Running $as_me. ##
4145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4150 # Handling of arguments.
4151 for ac_config_target
in $ac_config_targets
4153 case $ac_config_target in
4154 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4156 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4161 # If the user did not use the arguments to specify the items to instantiate,
4162 # then the envvar interface is used. Set only those that are not.
4163 # We use the long form for the default assignment because of an extremely
4164 # bizarre bug on SunOS 4.1.3.
4165 if $ac_need_defaults; then
4166 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4169 # Have a temporary directory for convenience. Make it in the build tree
4170 # simply because there is no reason against having it here, and in addition,
4171 # creating and moving files from /tmp can sometimes cause problems.
4172 # Hook for its removal unless debugging.
4173 # Note that there is a small window in which the directory will not be cleaned:
4174 # after its creation but before its name has been assigned to `$tmp'.
4178 trap 'exit_status=$?
4179 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4181 trap 'as_fn_exit 1' 1 2 13 15
4183 # Create a (secure) tmp directory for tmp files.
4186 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4187 test -n "$tmp" && test -d "$tmp"
4190 tmp
=.
/conf$$
-$RANDOM
4191 (umask 077 && mkdir
"$tmp")
4192 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4194 # Set up the scripts for CONFIG_FILES section.
4195 # No need to generate them if there are no CONFIG_FILES.
4196 # This happens for instance with `./config.status config.h'.
4197 if test -n "$CONFIG_FILES"; then
4200 ac_cr
=`echo X | tr X '\015'`
4201 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4202 # But we know of no other shell where ac_cr would be empty at this
4203 # point, so we can use a bashism as a fallback.
4204 if test "x$ac_cr" = x
; then
4205 eval ac_cr
=\$
\'\\r
\'
4207 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4208 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4214 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4219 echo "cat >conf$$subs.awk <<_ACEOF" &&
4220 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4223 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4224 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4226 for ac_last_try in false false false false false :; do
4227 . ./conf$$subs.sh ||
4228 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4230 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4231 if test $ac_delim_n = $ac_delim_num; then
4233 elif $ac_last_try; then
4234 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4236 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4242 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4246 s/^/S["/; s
/!.
*/"]=/
4256 s/\(.\{148\}\)..*/\1/
4258 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4263 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4270 s/\(.\{148\}\)..*/\1/
4272 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4276 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4281 ' <conf$$subs.awk | sed '
4286 ' >>$CONFIG_STATUS || ac_write_fail=1
4287 rm -f conf$$subs.awk
4288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4290 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4291 for (key in S) S_is_set[key] = 1
4297 nfields = split(line, field, "@
")
4299 len = length(field[1])
4300 for (i = 2; i < nfields; i++) {
4302 keylen = length(key)
4303 if (S_is_set[key]) {
4305 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4306 len += length(value) + length(field[++i])
4317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4318 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4319 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4322 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4323 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4326 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4327 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4328 # trailing colons and then remove the whole line if VPATH becomes empty
4329 # (actually we leave an empty line to preserve line numbers).
4330 if test "x
$srcdir" = x.; then
4331 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4335 s/^\([^=]*=[ ]*\):*/\1/
4341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4342 fi # test -n "$CONFIG_FILES"
4345 eval set X " :F
$CONFIG_FILES "
4350 :[FHLC]) ac_mode=$ac_tag; continue;;
4352 case $ac_mode$ac_tag in
4354 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4355 :[FH]-) ac_tag=-:-;;
4356 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4373 -) ac_f="$tmp/stdin";;
4374 *) # Look for the file first in the build tree, then in the source tree
4375 # (if the path is not absolute). The absolute path cannot be DOS-style,
4376 # because $ac_f cannot contain `:'.
4380 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4382 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4384 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4385 as_fn_append ac_file_inputs " '$ac_f'"
4388 # Let's still pretend it is `configure' which instantiates (i.e., don't
4389 # use $as_me), people would be surprised to read:
4390 # /* config.h. Generated by config.status. */
4391 configure_input='Generated from '`
4392 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4394 if test x"$ac_file" != x-; then
4395 configure_input="$ac_file.
$configure_input"
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4397 $as_echo "$as_me: creating
$ac_file" >&6;}
4399 # Neutralize special characters interpreted by sed in replacement strings.
4400 case $configure_input in #(
4401 *\&* | *\|* | *\\* )
4402 ac_sed_conf_input=`$as_echo "$configure_input" |
4403 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4404 *) ac_sed_conf_input=$configure_input;;
4408 *:-:* | *:-) cat >"$tmp/stdin
" \
4409 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
4414 ac_dir=`$as_dirname -- "$ac_file" ||
4415 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4416 X"$ac_file" : 'X\(//\)[^/]' \| \
4417 X"$ac_file" : 'X\(//\)$' \| \
4418 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4419 $as_echo X"$ac_file" |
4420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4437 as_dir="$ac_dir"; as_fn_mkdir_p
4441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4443 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4444 # A "..
" for each directory in $ac_dir_suffix.
4445 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4446 case $ac_top_builddir_sub in
4447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4451 ac_abs_top_builddir=$ac_pwd
4452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4453 # for backward compatibility:
4454 ac_top_builddir=$ac_top_build_prefix
4457 .) # We are building in place.
4459 ac_top_srcdir=$ac_top_builddir_sub
4460 ac_abs_top_srcdir=$ac_pwd ;;
4461 [\\/]* | ?:[\\/]* ) # Absolute name.
4462 ac_srcdir=$srcdir$ac_dir_suffix;
4463 ac_top_srcdir=$srcdir
4464 ac_abs_top_srcdir=$srcdir ;;
4466 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4467 ac_top_srcdir=$ac_top_build_prefix$srcdir
4468 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4480 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4481 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4486 # If the template does not know about datarootdir, expand it.
4487 # FIXME: This hack should be removed a few years after 2.60.
4488 ac_datarootdir_hack=; ac_datarootdir_seen=
4499 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4500 *datarootdir*) ac_datarootdir_seen=yes;;
4501 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4503 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4506 ac_datarootdir_hack='
4507 s&@datadir@&$datadir&g
4508 s&@docdir@&$docdir&g
4509 s&@infodir@&$infodir&g
4510 s&@localedir@&$localedir&g
4511 s&@mandir@&$mandir&g
4512 s&\\\${datarootdir}&$datarootdir&g' ;;
4516 # Neutralize VPATH when `$srcdir' = `.'.
4517 # Shell code in configure.ac might set extrasub.
4518 # FIXME: do we really want to maintain this feature?
4519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4520 ac_sed_extra="$ac_vpsub
4523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4525 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4526 s|@configure_input@|
$ac_sed_conf_input|
;t t
4527 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4528 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4529 s
&@srcdir@
&$ac_srcdir&;t t
4530 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4531 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4532 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4533 s
&@builddir@
&$ac_builddir&;t t
4534 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4535 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4536 s
&@INSTALL@
&$ac_INSTALL&;t t
4537 $ac_datarootdir_hack
4539 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
4540 || as_fn_error "could not create
$ac_file" "$LINENO" 5
4542 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4543 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4544 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4546 which seems to be undefined. Please make sure it is defined." >&5
4547 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4548 which seems to be undefined. Please make sure it is defined." >&2;}
4552 -) cat "$tmp/out" && rm -f "$tmp/out";;
4553 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4555 || as_fn_error "could not create $ac_file" "$LINENO" 5
4567 ac_clean_files=$ac_clean_files_save
4569 test $ac_write_fail = 0 ||
4570 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4573 # configure is writing to config.log, and then calls config.status.
4574 # config.status does its own redirection, appending to config.log.
4575 # Unfortunately, on DOS this fails, as config.log is still kept open
4576 # by configure, so config.status won't be able to
write to it
; its
4577 # output is simply discarded. So we exec the FD to /dev/null,
4578 # effectively closing config.log, so it can be properly (re)opened and
4579 # appended to by config.status. When coming back to configure, we
4580 # need to make the FD available again.
4581 if test "$no_create" != yes; then
4583 ac_config_status_args
=
4584 test "$silent" = yes &&
4585 ac_config_status_args
="$ac_config_status_args --quiet"
4587 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4589 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4590 # would make configure fail if this is the last instruction.
4591 $ac_cs_success || as_fn_exit $?
4595 # CONFIG_SUBDIRS section.
4597 if test "$no_recursion" != yes; then
4599 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4600 # so they do not pile up.
4601 ac_sub_configure_args
=
4603 eval "set x $ac_configure_args"
4607 if test -n "$ac_prev"; then
4612 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
4613 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
4614 ac_prev
=cache_file
;;
4615 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
4616 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
4619 --config-cache |
-C)
4621 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
4623 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
4625 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
4627 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
4629 --disable-option-checking)
4633 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4635 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
4639 # Always prepend --prefix to ensure using the same prefix
4640 # in subdir configurations.
4641 ac_arg
="--prefix=$prefix"
4643 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4645 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
4648 if test "$silent" = yes; then
4649 ac_sub_configure_args
="--silent $ac_sub_configure_args"
4652 # Always prepend --disable-option-checking to silence warnings, since
4653 # different subdirs can have different --enable and --with options.
4654 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
4657 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
4659 # Do not complain, so a configure script can configure whichever
4660 # parts of a large source tree are present.
4661 test -d "$srcdir/$ac_dir" ||
continue
4663 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4665 $as_echo "$ac_msg" >&6
4666 as_dir
="$ac_dir"; as_fn_mkdir_p
4670 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4672 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4673 # A ".." for each directory in $ac_dir_suffix.
4674 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4675 case $ac_top_builddir_sub in
4676 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4677 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4680 ac_abs_top_builddir
=$ac_pwd
4681 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4682 # for backward compatibility:
4683 ac_top_builddir
=$ac_top_build_prefix
4686 .
) # We are building in place.
4688 ac_top_srcdir
=$ac_top_builddir_sub
4689 ac_abs_top_srcdir
=$ac_pwd ;;
4690 [\\/]* | ?
:[\\/]* ) # Absolute name.
4691 ac_srcdir
=$srcdir$ac_dir_suffix;
4692 ac_top_srcdir
=$srcdir
4693 ac_abs_top_srcdir
=$srcdir ;;
4695 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4696 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4697 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4699 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4704 # Check for guested configure; otherwise get Cygnus style configure.
4705 if test -f "$ac_srcdir/configure.gnu"; then
4706 ac_sub_configure
=$ac_srcdir/configure.gnu
4707 elif test -f "$ac_srcdir/configure"; then
4708 ac_sub_configure
=$ac_srcdir/configure
4709 elif test -f "$ac_srcdir/configure.in"; then
4710 # This should be Cygnus configure.
4711 ac_sub_configure
=$ac_aux_dir/configure
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4714 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4718 # The recursion is here.
4719 if test -n "$ac_sub_configure"; then
4720 # Make the cache file name correct relative to the subdirectory.
4722 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
4724 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4728 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4729 # The eval makes quoting arguments work.
4730 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4731 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4732 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4738 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4740 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}