2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for git 2.1.4.
5 # Report bugs to <git@vger.kernel.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: git@vger.kernel.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='git'
583 PACKAGE_VERSION
='2.1.4'
584 PACKAGE_STRING
='git 2.1.4'
585 PACKAGE_BUGREPORT
='git@vger.kernel.org'
588 ac_unique_file
="git.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
671 program_transform_name
684 enable_option_checking
705 ac_precious_vars
='build_alias
716 # Initialize some variables set by options.
718 ac_init_version
=false
719 ac_unrecognized_opts
=
721 # The variables have the same names as the options, with
722 # dashes changed to underlines.
730 program_transform_name
=s
,x
,x
,
738 # Installation directory options.
739 # These are left unexpanded so users can "make install exec_prefix=/foo"
740 # and all the variables that are supposed to be based on exec_prefix
741 # by default will actually change.
742 # Use braces instead of parens because sh, perl, etc. also accept them.
743 # (The list follows the same order as the GNU Coding Standards.)
744 bindir
='${exec_prefix}/bin'
745 sbindir
='${exec_prefix}/sbin'
746 libexecdir
='${exec_prefix}/libexec'
747 datarootdir
='${prefix}/share'
748 datadir
='${datarootdir}'
749 sysconfdir
='${prefix}/etc'
750 sharedstatedir
='${prefix}/com'
751 localstatedir
='${prefix}/var'
752 includedir
='${prefix}/include'
753 oldincludedir
='/usr/include'
754 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
755 infodir
='${datarootdir}/info'
760 libdir
='${exec_prefix}/lib'
761 localedir
='${datarootdir}/locale'
762 mandir
='${datarootdir}/man'
768 # If the previous option needs an argument, assign it.
769 if test -n "$ac_prev"; then
770 eval $ac_prev=\
$ac_option
776 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
781 # Accept the important Cygnus configure options, so we can diagnose typos.
783 case $ac_dashdash$ac_option in
787 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
789 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
792 -build |
--build |
--buil |
--bui |
--bu)
793 ac_prev
=build_alias
;;
794 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
795 build_alias
=$ac_optarg ;;
797 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
798 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
799 ac_prev
=cache_file
;;
800 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
801 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
802 cache_file
=$ac_optarg ;;
805 cache_file
=config.cache
;;
807 -datadir |
--datadir |
--datadi |
--datad)
809 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
810 datadir
=$ac_optarg ;;
812 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
813 |
--dataroo |
--dataro |
--datar)
814 ac_prev
=datarootdir
;;
815 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
816 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
817 datarootdir
=$ac_optarg ;;
819 -disable-* |
--disable-*)
820 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
823 as_fn_error $?
"invalid feature name: $ac_useropt"
824 ac_useropt_orig
=$ac_useropt
825 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826 case $ac_user_opts in
830 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
831 ac_unrecognized_sep
=', ';;
833 eval enable_
$ac_useropt=no
;;
835 -docdir |
--docdir |
--docdi |
--doc |
--do)
837 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
840 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
842 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
845 -enable-* |
--enable-*)
846 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
847 # Reject names that are not valid shell variable names.
848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
849 as_fn_error $?
"invalid feature name: $ac_useropt"
850 ac_useropt_orig
=$ac_useropt
851 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
852 case $ac_user_opts in
856 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
857 ac_unrecognized_sep
=', ';;
859 eval enable_
$ac_useropt=\
$ac_optarg ;;
861 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
862 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
863 |
--exec |
--exe |
--ex)
864 ac_prev
=exec_prefix
;;
865 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
866 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
867 |
--exec=* |
--exe=* |
--ex=*)
868 exec_prefix
=$ac_optarg ;;
870 -gas |
--gas |
--ga |
--g)
871 # Obsolete; use --with-gas.
874 -help |
--help |
--hel |
--he |
-h)
876 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
877 ac_init_help
=recursive
;;
878 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
879 ac_init_help
=short
;;
881 -host |
--host |
--hos |
--ho)
882 ac_prev
=host_alias
;;
883 -host=* |
--host=* |
--hos=* |
--ho=*)
884 host_alias
=$ac_optarg ;;
886 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
888 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
890 htmldir
=$ac_optarg ;;
892 -includedir |
--includedir |
--includedi |
--included |
--include \
893 |
--includ |
--inclu |
--incl |
--inc)
894 ac_prev
=includedir
;;
895 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
896 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
897 includedir
=$ac_optarg ;;
899 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
901 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
902 infodir
=$ac_optarg ;;
904 -libdir |
--libdir |
--libdi |
--libd)
906 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
909 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
910 |
--libexe |
--libex |
--libe)
911 ac_prev
=libexecdir
;;
912 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
913 |
--libexe=* |
--libex=* |
--libe=*)
914 libexecdir
=$ac_optarg ;;
916 -localedir |
--localedir |
--localedi |
--localed |
--locale)
918 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
919 localedir
=$ac_optarg ;;
921 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
922 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
923 ac_prev
=localstatedir
;;
924 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
925 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
926 localstatedir
=$ac_optarg ;;
928 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
930 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
934 # Obsolete; use --without-fp.
937 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
938 |
--no-cr |
--no-c |
-n)
941 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
942 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
945 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
946 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
947 |
--oldin |
--oldi |
--old |
--ol |
--o)
948 ac_prev
=oldincludedir
;;
949 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
950 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
951 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
952 oldincludedir
=$ac_optarg ;;
954 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
956 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
959 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
960 |
--program-pre |
--program-pr |
--program-p)
961 ac_prev
=program_prefix
;;
962 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
963 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
964 program_prefix
=$ac_optarg ;;
966 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
967 |
--program-suf |
--program-su |
--program-s)
968 ac_prev
=program_suffix
;;
969 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
970 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
971 program_suffix
=$ac_optarg ;;
973 -program-transform-name |
--program-transform-name \
974 |
--program-transform-nam |
--program-transform-na \
975 |
--program-transform-n |
--program-transform- \
976 |
--program-transform |
--program-transfor \
977 |
--program-transfo |
--program-transf \
978 |
--program-trans |
--program-tran \
979 |
--progr-tra |
--program-tr |
--program-t)
980 ac_prev
=program_transform_name
;;
981 -program-transform-name=* |
--program-transform-name=* \
982 |
--program-transform-nam=* |
--program-transform-na=* \
983 |
--program-transform-n=* |
--program-transform-=* \
984 |
--program-transform=* |
--program-transfor=* \
985 |
--program-transfo=* |
--program-transf=* \
986 |
--program-trans=* |
--program-tran=* \
987 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
988 program_transform_name
=$ac_optarg ;;
990 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
992 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
995 -psdir |
--psdir |
--psdi |
--psd |
--ps)
997 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1000 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1001 |
-silent |
--silent |
--silen |
--sile |
--sil)
1004 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1006 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1008 sbindir
=$ac_optarg ;;
1010 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1011 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1012 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1014 ac_prev
=sharedstatedir
;;
1015 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1016 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1017 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1019 sharedstatedir
=$ac_optarg ;;
1021 -site |
--site |
--sit)
1023 -site=* |
--site=* |
--sit=*)
1026 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1028 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1029 srcdir
=$ac_optarg ;;
1031 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1032 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1033 ac_prev
=sysconfdir
;;
1034 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1035 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1036 sysconfdir
=$ac_optarg ;;
1038 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1039 ac_prev
=target_alias
;;
1040 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1041 target_alias
=$ac_optarg ;;
1043 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1046 -version |
--version |
--versio |
--versi |
--vers |
-V)
1047 ac_init_version
=: ;;
1050 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1053 as_fn_error $?
"invalid package name: $ac_useropt"
1054 ac_useropt_orig
=$ac_useropt
1055 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056 case $ac_user_opts in
1060 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1061 ac_unrecognized_sep
=', ';;
1063 eval with_
$ac_useropt=\
$ac_optarg ;;
1065 -without-* |
--without-*)
1066 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1069 as_fn_error $?
"invalid package name: $ac_useropt"
1070 ac_useropt_orig
=$ac_useropt
1071 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 case $ac_user_opts in
1076 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1077 ac_unrecognized_sep
=', ';;
1079 eval with_
$ac_useropt=no
;;
1082 # Obsolete; use --with-x.
1085 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1086 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1087 ac_prev
=x_includes
;;
1088 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1089 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1090 x_includes
=$ac_optarg ;;
1092 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1093 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1094 ac_prev
=x_libraries
;;
1095 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1096 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1097 x_libraries
=$ac_optarg ;;
1099 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1100 Try \`$0 --help' for more information"
1104 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1105 # Reject names that are not valid shell variable names.
1106 case $ac_envvar in #(
1107 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1108 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1110 eval $ac_envvar=\
$ac_optarg
1111 export $ac_envvar ;;
1114 # FIXME: should be removed in autoconf 3.0.
1115 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1116 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1117 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1118 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1124 if test -n "$ac_prev"; then
1125 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1126 as_fn_error $?
"missing argument to $ac_option"
1129 if test -n "$ac_unrecognized_opts"; then
1130 case $enable_option_checking in
1132 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1133 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1137 # Check all directory arguments for consistency.
1138 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1139 datadir sysconfdir sharedstatedir localstatedir includedir \
1140 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1141 libdir localedir mandir
1143 eval ac_val
=\$
$ac_var
1144 # Remove trailing slashes.
1147 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1148 eval $ac_var=\
$ac_val;;
1150 # Be sure to have absolute directory names.
1152 [\\/$
]* | ?
:[\\/]* ) continue;;
1153 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1155 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1158 # There might be people who depend on the old broken behavior: `$host'
1159 # used to hold the argument of --host etc.
1160 # FIXME: To remove some day.
1163 target
=$target_alias
1165 # FIXME: To remove some day.
1166 if test "x$host_alias" != x
; then
1167 if test "x$build_alias" = x
; then
1168 cross_compiling
=maybe
1169 elif test "x$build_alias" != "x$host_alias"; then
1175 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1177 test "$silent" = yes && exec 6>/dev
/null
1180 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1181 ac_ls_di
=`ls -di .` &&
1182 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1183 as_fn_error $?
"working directory cannot be determined"
1184 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1185 as_fn_error $?
"pwd does not report name of working directory"
1188 # Find the source files, if location was not specified.
1189 if test -z "$srcdir"; then
1190 ac_srcdir_defaulted
=yes
1191 # Try the directory containing this script, then the parent directory.
1192 ac_confdir
=`$as_dirname -- "$as_myself" ||
1193 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1194 X"$as_myself" : 'X\(//\)[^/]' \| \
1195 X"$as_myself" : 'X\(//\)$' \| \
1196 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1197 $as_echo X"$as_myself" |
1198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1216 if test ! -r "$srcdir/$ac_unique_file"; then
1220 ac_srcdir_defaulted
=no
1222 if test ! -r "$srcdir/$ac_unique_file"; then
1223 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1224 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1226 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1228 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1230 # When building in place, set srcdir=.
1231 if test "$ac_abs_confdir" = "$ac_pwd"; then
1234 # Remove unnecessary trailing slashes from srcdir.
1235 # Double slashes in file names in object file debugging info
1236 # mess up M-x gdb in Emacs.
1238 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1240 for ac_var
in $ac_precious_vars; do
1241 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1242 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1243 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1244 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1248 # Report the --help message.
1250 if test "$ac_init_help" = "long"; then
1251 # Omit some internal or obsolete options to make the list less imposing.
1252 # This message is too long to be a string in the A/UX 3.1 sh.
1254 \`configure' configures git 2.1.4 to adapt to many kinds of systems.
1256 Usage: $0 [OPTION]... [VAR=VALUE]...
1258 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1259 VAR=VALUE. See below for descriptions of some of the useful variables.
1261 Defaults for the options are specified in brackets.
1264 -h, --help display this help and exit
1265 --help=short display options specific to this package
1266 --help=recursive display the short help of all the included packages
1267 -V, --version display version information and exit
1268 -q, --quiet, --silent do not print \`checking ...' messages
1269 --cache-file=FILE cache test results in FILE [disabled]
1270 -C, --config-cache alias for \`--cache-file=config.cache'
1271 -n, --no-create do not create output files
1272 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1274 Installation directories:
1275 --prefix=PREFIX install architecture-independent files in PREFIX
1276 [$ac_default_prefix]
1277 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1280 By default, \`make install' will install all the files in
1281 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1282 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1283 for instance \`--prefix=\$HOME'.
1285 For better control, use the options below.
1287 Fine tuning of the installation directories:
1288 --bindir=DIR user executables [EPREFIX/bin]
1289 --sbindir=DIR system admin executables [EPREFIX/sbin]
1290 --libexecdir=DIR program executables [EPREFIX/libexec]
1291 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1292 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1293 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1294 --libdir=DIR object code libraries [EPREFIX/lib]
1295 --includedir=DIR C header files [PREFIX/include]
1296 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1297 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1298 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1299 --infodir=DIR info documentation [DATAROOTDIR/info]
1300 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1301 --mandir=DIR man documentation [DATAROOTDIR/man]
1302 --docdir=DIR documentation root [DATAROOTDIR/doc/git]
1303 --htmldir=DIR html documentation [DOCDIR]
1304 --dvidir=DIR dvi documentation [DOCDIR]
1305 --pdfdir=DIR pdf documentation [DOCDIR]
1306 --psdir=DIR ps documentation [DOCDIR]
1313 if test -n "$ac_init_help"; then
1314 case $ac_init_help in
1315 short | recursive
) echo "Configuration of git 2.1.4:";;
1320 --disable-option-checking ignore unrecognized
--enable/--with options
1321 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1322 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1323 --enable-pthreads=FLAGS FLAGS is the value to pass to the compiler to
enable
1324 POSIX Threads. The default
if FLAGS is not specified
1325 is to try first
-pthread and
then -lpthread.
1326 --disable-pthreads will disable threading.
1327 --enable-jsmin=PATH PATH is the name of a JavaScript minifier or the
1328 absolute path to one.
1329 --enable-cssmin=PATH PATH is the name of a CSS minifier or the absolute
1333 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1334 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1335 --with-sane-tool-path=DIR-1
[:DIR-2...
:DIR-n
]
1336 Directories to prepend to PATH
in build system and
1338 --with-lib=ARG ARG specifies alternative name
for lib directory
1339 --with-openssl use OpenSSL library
(default is YES
)
1340 ARG can be prefix
for openssl library and headers
1341 --with-libpcre support Perl-compatible regexes
(default is NO
)
1342 ARG can be also prefix
for libpcre library and
1344 --with-curl support http
(s
):// transports
(default is YES
)
1345 ARG can be also prefix
for curl library and headers
1346 --with-expat support git-push using http
:// and https
://
1347 transports via WebDAV
(default is YES
)
1348 ARG can be also prefix
for expat library and headers
1349 --without-iconv if your architecture doesn
't properly support iconv
1350 --with-iconv=PATH PATH is prefix for libiconv library and headers
1351 used only if you need linking with libiconv
1352 --with-gitconfig=VALUE Use VALUE instead of /etc/gitconfig as the global
1353 git configuration file. If VALUE is not fully
1354 qualified it will be interpreted as a path relative
1355 to the computed prefix at runtime.
1356 --with-gitattributes=VALUE
1357 Use VALUE instead of /etc/gitattributes as the
1358 global git attributes file. If VALUE is not fully
1359 qualified it will be interpreted as a path relative
1360 to the computed prefix at runtime.
1361 --with-pager=VALUE Use VALUE as the fall-back pager instead of 'less'.
1362 This is used by things like 'git log
' when the user
1363 does not specify a pager to use through alternate
1364 methods. eg: /usr/bin/pager
1365 --with-editor=VALUE Use VALUE as the fall-back editor instead of 'vi
'.
1366 This is used by things like 'git commit
' when the
1367 user does not specify a preferred editor through
1368 other methods. eg: /usr/bin/editor
1369 --with-shell=PATH provide PATH to shell
1370 --with-perl=PATH provide PATH to perl
1371 --with-python=PATH provide PATH to python
1372 --with-zlib=PATH provide PATH to zlib
1373 --with-tcltk use Tcl/Tk GUI (default is YES)
1374 ARG is the full path to the Tcl/Tk interpreter.
1375 Bare --with-tcltk will make the GUI part only if
1376 Tcl/Tk interpreter will be found in a system.
1378 Some influential environment variables:
1379 CC C compiler command
1380 CFLAGS C compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1382 nonstandard directory <lib dir>
1383 LIBS libraries to pass to the linker, e.g. -l<library>
1384 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1385 you have headers in a nonstandard directory <include dir>
1388 Use these variables to override the choices made by `configure' or to
help
1389 it to
find libraries and programs with nonstandard names
/locations.
1391 Report bugs to
<git@vger.kernel.org
>.
1396 if test "$ac_init_help" = "recursive"; then
1397 # If there are subdirs, report their specific --help.
1398 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1399 test -d "$ac_dir" ||
1400 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1405 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1407 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1408 # A ".." for each directory in $ac_dir_suffix.
1409 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1410 case $ac_top_builddir_sub in
1411 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1412 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1415 ac_abs_top_builddir
=$ac_pwd
1416 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1417 # for backward compatibility:
1418 ac_top_builddir
=$ac_top_build_prefix
1421 .
) # We are building in place.
1423 ac_top_srcdir
=$ac_top_builddir_sub
1424 ac_abs_top_srcdir
=$ac_pwd ;;
1425 [\\/]* | ?
:[\\/]* ) # Absolute name.
1426 ac_srcdir
=$srcdir$ac_dir_suffix;
1427 ac_top_srcdir
=$srcdir
1428 ac_abs_top_srcdir
=$srcdir ;;
1430 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1431 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1432 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1434 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1436 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1437 # Check for guested configure.
1438 if test -f "$ac_srcdir/configure.gnu"; then
1440 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1441 elif test -f "$ac_srcdir/configure"; then
1443 $SHELL "$ac_srcdir/configure" --help=recursive
1445 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1451 test -n "$ac_init_help" && exit $ac_status
1452 if $ac_init_version; then
1455 generated by GNU Autoconf
2.69
1457 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1458 This configure
script is free software
; the Free Software Foundation
1459 gives unlimited permission to copy
, distribute and modify it.
1464 ## ------------------------ ##
1465 ## Autoconf initialization. ##
1466 ## ------------------------ ##
1468 # ac_fn_c_try_compile LINENO
1469 # --------------------------
1470 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1471 ac_fn_c_try_compile
()
1473 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1474 rm -f conftest.
$ac_objext
1475 if { { ac_try
="$ac_compile"
1477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1478 *) ac_try_echo=$ac_try;;
1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1481 $as_echo "$ac_try_echo"; } >&5
1482 (eval "$ac_compile") 2>conftest.err
1484 if test -s conftest.err; then
1485 grep -v '^ *+' conftest.err >conftest.er1
1486 cat conftest.er1 >&5
1487 mv -f conftest.er1 conftest.err
1489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1490 test $ac_status = 0; } && {
1491 test -z "$ac_c_werror_flag" ||
1492 test ! -s conftest.err
1493 } && test -s conftest.$ac_objext; then :
1496 $as_echo "$as_me: failed program was:" >&5
1497 sed 's/^/| /' conftest.$ac_ext >&5
1501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1502 as_fn_set_status $ac_retval
1504 } # ac_fn_c_try_compile
1506 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1507 # -------------------------------------------
1508 # Tests whether TYPE exists after having included INCLUDES, setting cache
1509 # variable VAR accordingly.
1510 ac_fn_c_check_type ()
1512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1514 $as_echo_n "checking for $2... " >&6; }
1515 if eval \${$3+:} false; then :
1516 $as_echo_n "(cached) " >&6
1519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1520 /* end confdefs.h. */
1531 if ac_fn_c_try_compile "$LINENO"; then :
1532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1533 /* end confdefs.h. */
1544 if ac_fn_c_try_compile "$LINENO"; then :
1549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1555 $as_echo "$ac_res" >&6; }
1556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1558 } # ac_fn_c_check_type
1560 # ac_fn_c_try_cpp LINENO
1561 # ----------------------
1562 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 if { { ac_try="$ac_cpp conftest.$ac_ext"
1568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1569 *) ac_try_echo
=$ac_try;;
1571 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1575 if test -s conftest.err
; then
1576 grep -v '^ *+' conftest.err
>conftest.er1
1577 cat conftest.er1
>&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } > conftest.i
&& {
1582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.
$ac_ext >&5
1592 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1593 as_fn_set_status
$ac_retval
1597 # ac_fn_c_try_run LINENO
1598 # ----------------------
1599 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1600 # that executables *can* be run.
1603 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1604 if { { ac_try
="$ac_link"
1606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_link") 2>&5
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1615 { { case "(($ac_try" in
1616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1617 *) ac_try_echo
=$ac_try;;
1619 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620 $as_echo "$ac_try_echo"; } >&5
1621 (eval "$ac_try") 2>&5
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; }; }; then :
1627 $as_echo "$as_me: program exited with status $ac_status" >&5
1628 $as_echo "$as_me: failed program was:" >&5
1629 sed 's/^/| /' conftest.
$ac_ext >&5
1631 ac_retval
=$ac_status
1633 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 as_fn_set_status
$ac_retval
1639 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1640 # -------------------------------------------------------
1641 # Tests whether HEADER exists and can be compiled using the include files in
1642 # INCLUDES, setting the cache variable VAR accordingly.
1643 ac_fn_c_check_header_compile
()
1645 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1647 $as_echo_n "checking for $2... " >&6; }
1648 if eval \
${$3+:} false
; then :
1649 $as_echo_n "(cached) " >&6
1651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1652 /* end confdefs.h. */
1656 if ac_fn_c_try_compile
"$LINENO"; then :
1661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1665 $as_echo "$ac_res" >&6; }
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 } # ac_fn_c_check_header_compile
1670 # ac_fn_c_try_link LINENO
1671 # -----------------------
1672 # Try to link conftest.$ac_ext, and return whether this succeeded.
1675 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1676 rm -f conftest.
$ac_objext conftest
$ac_exeext
1677 if { { ac_try
="$ac_link"
1679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_link") 2>conftest.err
1686 if test -s conftest.err; then
1687 grep -v '^ *+' conftest.err >conftest.er1
1688 cat conftest.er1 >&5
1689 mv -f conftest.er1 conftest.err
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && {
1693 test -z "$ac_c_werror_flag" ||
1694 test ! -s conftest.err
1695 } && test -s conftest$ac_exeext && {
1696 test "$cross_compiling" = yes ||
1697 test -x conftest$ac_exeext
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1706 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1707 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1708 # interfere with the next link command; also delete a directory that is
1709 # left behind by Apple's compiler. We do this before executing the actions.
1710 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712 as_fn_set_status $ac_retval
1714 } # ac_fn_c_try_link
1716 # ac_fn_c_check_func LINENO FUNC VAR
1717 # ----------------------------------
1718 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1719 ac_fn_c_check_func ()
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1723 $as_echo_n "checking for $2... " >&6; }
1724 if eval \${$3+:} false; then :
1725 $as_echo_n "(cached) " >&6
1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1729 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1731 #define $2 innocuous_$2
1733 /* System header to define __stub macros and hopefully few prototypes,
1734 which can conflict with char $2 (); below.
1735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1736 <limits.h> exists even on freestanding compilers. */
1739 # include <limits.h>
1741 # include <assert.h>
1746 /* Override any GCC internal prototype to avoid an error.
1747 Use char because int might match the return type of a GCC
1748 builtin and then its argument prototype would still apply. */
1753 /* The GNU C library defines this for functions which it implements
1754 to always fail with ENOSYS. Some functions are actually named
1755 something starting with __ and the normal name is an alias. */
1756 #if defined __stub_$2 || defined __stub___$2
1768 if ac_fn_c_try_link "$LINENO"; then :
1773 rm -f core conftest.err conftest.$ac_objext \
1774 conftest$ac_exeext conftest.$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 } # ac_fn_c_check_func
1783 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1784 # -------------------------------------------------------
1785 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1786 # the include files in INCLUDES and setting the cache variable VAR
1788 ac_fn_c_check_header_mongrel ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 if eval \${$3+:} false; then :
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 $as_echo_n "checking for $2... " >&6; }
1794 if eval \${$3+:} false; then :
1795 $as_echo_n "(cached) " >&6
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1799 $as_echo "$ac_res" >&6; }
1801 # Is the header compilable?
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1803 $as_echo_n "checking $2 usability... " >&6; }
1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1809 if ac_fn_c_try_compile "$LINENO"; then :
1810 ac_header_compiler=yes
1812 ac_header_compiler=no
1814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1816 $as_echo "$ac_header_compiler" >&6; }
1818 # Is the header present?
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1820 $as_echo_n "checking $2 presence... " >&6; }
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1825 if ac_fn_c_try_cpp "$LINENO"; then :
1826 ac_header_preproc=yes
1828 ac_header_preproc=no
1830 rm -f conftest.err conftest.i conftest.$ac_ext
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1832 $as_echo "$ac_header_preproc" >&6; }
1834 # So? What about this header?
1835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1838 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1840 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1844 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1846 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1848 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1850 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1852 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1853 ( $as_echo "## ---------------------------------- ##
1854 ## Report this to git@vger.kernel.org ##
1855 ## ---------------------------------- ##"
1856 ) | sed "s/^/$as_me: WARNING: /" >&2
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1860 $as_echo_n "checking for $2... " >&6; }
1861 if eval \${$3+:} false; then :
1862 $as_echo_n "(cached) " >&6
1864 eval "$3=\$ac_header_compiler"
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1868 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 } # ac_fn_c_check_header_mongrel
1874 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1875 # ----------------------------------------------------
1876 # Tries to find if the field MEMBER exists in type AGGR, after including
1877 # INCLUDES, setting cache variable VAR accordingly.
1878 ac_fn_c_check_member ()
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1882 $as_echo_n "checking for $2.$3... " >&6; }
1883 if eval \${$4+:} false; then :
1884 $as_echo_n "(cached) " >&6
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1899 if ac_fn_c_try_compile "$LINENO"; then :
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h. */
1909 if (sizeof ac_aggr.$3)
1915 if ac_fn_c_try_compile "$LINENO"; then :
1920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1926 $as_echo "$ac_res" >&6; }
1927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929 } # ac_fn_c_check_member
1930 cat >config.log <<_ACEOF
1931 This file contains any messages produced by compilers while
1932 running configure, to aid debugging if configure makes a mistake.
1934 It was created by git $as_me 2.1.4, which was
1935 generated by GNU Autoconf 2.69. Invocation command line was
1947 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1948 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1949 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1950 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1951 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1953 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1954 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1956 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1957 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1958 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1959 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1960 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1961 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1962 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 test -z "$as_dir" && as_dir=.
1971 $as_echo "PATH: $as_dir"
1987 # Keep a trace of the command line.
1988 # Strip out --no-create and --no-recursion so they do not pile up.
1989 # Strip out --silent because we don't want to record it for future runs.
1990 # Also quote any args containing shell meta-characters.
1991 # Make two passes to allow for proper duplicate-argument suppression.
1995 ac_must_keep_next=false
2001 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2003 | -silent | --silent | --silen | --sile | --sil)
2006 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2009 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2011 as_fn_append ac_configure_args1 " '$ac_arg'"
2012 if test $ac_must_keep_next = true; then
2013 ac_must_keep_next=false # Got value, back to normal.
2016 *=* | --config-cache | -C | -disable-* | --disable-* \
2017 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2018 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2019 | -with-* | --with-* | -without-* | --without-* | --x)
2020 case "$ac_configure_args0 " in
2021 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2024 -* ) ac_must_keep_next=true ;;
2027 as_fn_append ac_configure_args " '$ac_arg'"
2032 { ac_configure_args0=; unset ac_configure_args0;}
2033 { ac_configure_args1=; unset ac_configure_args1;}
2035 # When interrupted or exit'd, cleanup temporary files, and complete
2036 # config.log. We remove comments because anyway the quotes in there
2037 # would cause problems or look ugly.
2038 # WARNING: Use '\'' to represent an apostrophe within the trap.
2039 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2040 trap 'exit_status=$?
2041 # Save into config.log some information that might help in debugging.
2045 $as_echo "## ---------------- ##
2046 ## Cache variables. ##
2047 ## ---------------- ##"
2049 # The following way of writing the cache mishandles newlines in values,
2051 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2052 eval ac_val=\$$ac_var
2056 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2057 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2060 _ | IFS | as_nl) ;; #(
2061 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2062 *) { eval $ac_var=; unset $ac_var;} ;;
2067 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2068 *${as_nl}ac_space=\ *)
2070 "s/'\''/'\''\\\\'\'''\''/g;
2071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2074 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2081 $as_echo "## ----------------- ##
2082 ## Output variables. ##
2083 ## ----------------- ##"
2085 for ac_var in $ac_subst_vars
2087 eval ac_val=\$$ac_var
2089 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2091 $as_echo "$ac_var='\''$ac_val'\''"
2095 if test -n "$ac_subst_files"; then
2096 $as_echo "## ------------------- ##
2097 ## File substitutions. ##
2098 ## ------------------- ##"
2100 for ac_var in $ac_subst_files
2102 eval ac_val=\$$ac_var
2104 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2106 $as_echo "$ac_var='\''$ac_val'\''"
2111 if test -s confdefs.h; then
2112 $as_echo "## ----------- ##
2119 test "$ac_signal" != 0 &&
2120 $as_echo "$as_me: caught signal $ac_signal"
2121 $as_echo "$as_me: exit $exit_status"
2123 rm -f core *.core core.conftest.* &&
2124 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2127 for ac_signal in 1 2 13 15; do
2128 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2132 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2133 rm -f -r conftest* confdefs.h
2135 $as_echo "/* confdefs.h */" > confdefs.h
2137 # Predefined preprocessor variables.
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_NAME "$PACKAGE_NAME"
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2151 cat >>confdefs.h <<_ACEOF
2152 #define PACKAGE_STRING "$PACKAGE_STRING"
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_URL "$PACKAGE_URL"
2164 # Let the site file select an alternate cache file if it wants to.
2165 # Prefer an explicitly selected file to automatically selected ones.
2168 if test -n "$CONFIG_SITE"; then
2169 # We do not want a PATH search for config.site.
2170 case $CONFIG_SITE in #((
2171 -*) ac_site_file1=./$CONFIG_SITE;;
2172 */*) ac_site_file1=$CONFIG_SITE;;
2173 *) ac_site_file1=./$CONFIG_SITE;;
2175 elif test "x$prefix" != xNONE; then
2176 ac_site_file1=$prefix/share/config.site
2177 ac_site_file2=$prefix/etc/config.site
2179 ac_site_file1=$ac_default_prefix/share/config.site
2180 ac_site_file2=$ac_default_prefix/etc/config.site
2182 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2184 test "x$ac_site_file" = xNONE && continue
2185 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2187 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2188 sed 's/^/| /' "$ac_site_file" >&5
2190 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2192 as_fn_error $? "failed to load site
script $ac_site_file
2193 See \
`config.log' for more details" "$LINENO" 5; }
2197 if test -r "$cache_file"; then
2198 # Some versions of bash will fail to source /dev/null (special files
2199 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2200 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2202 $as_echo "$as_me: loading cache $cache_file" >&6;}
2204 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2205 *) . "./$cache_file";;
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2210 $as_echo "$as_me: creating cache $cache_file" >&6;}
2214 # Check that the precious variables saved in the cache have kept the same
2216 ac_cache_corrupted=false
2217 for ac_var in $ac_precious_vars; do
2218 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2219 eval ac_new_set=\$ac_env_${ac_var}_set
2220 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2221 eval ac_new_val=\$ac_env_${ac_var}_value
2222 case $ac_old_set,$ac_new_set in
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2225 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2226 ac_cache_corrupted=: ;;
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2229 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2230 ac_cache_corrupted=: ;;
2233 if test "x$ac_old_val" != "x$ac_new_val"; then
2234 # differences in whitespace do not lead to failure.
2235 ac_old_val_w=`echo x
$ac_old_val`
2236 ac_new_val_w=`echo x
$ac_new_val`
2237 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2239 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2240 ac_cache_corrupted=:
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2243 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2244 eval $ac_var=\$ac_old_val
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2247 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2249 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2252 # Pass precious variables to config.status.
2253 if test "$ac_new_set" = set; then
2255 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2256 *) ac_arg=$ac_var=$ac_new_val ;;
2258 case " $ac_configure_args " in
2259 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2260 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2264 if $ac_cache_corrupted; then
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2268 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2269 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2271 ## -------------------- ##
2272 ## Main body of script. ##
2273 ## -------------------- ##
2276 ac_cpp='$CPP $CPPFLAGS'
2277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2285 config_file=config.mak.autogen
2286 config_in=config.mak.in
2288 config_appended_defs=; newline='
2290 ac_config_commands="$ac_config_commands $config_file"
2293 config_appended_defs="$config_appended_defs${newline}AUTOCONFIGURED=YesPlease"
2295 # Directories holding "saner" versions of common or POSIX binaries.
2297 # Check whether --with-sane-tool-path was given.
2298 if test "${with_sane_tool_path+set}" = set; then :
2299 withval=$with_sane_tool_path; if test "$withval" = "no"; then
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting SANE_TOOL_PATH to '$withval'" >&5
2303 $as_echo "$as_me: Setting SANE_TOOL_PATH to '$withval'" >&6;}
2306 config_appended_defs="$config_appended_defs${newline}SANE_TOOL_PATH=$withval"
2308 # If the "--with-sane-tool-path" option was not given, don't touch
2309 # SANE_TOOL_PATH here, but let defaults in Makefile take care of it.
2310 # This should minimize spurious differences in the behaviour of the
2311 # Git build system when configure is used w.r.t. when it is not.
2316 ## Site configuration related to programs (before tests)
2317 ## --with-PACKAGE[=ARG] and --without-PACKAGE
2319 # Set lib to alternative name of lib directory (e.g. lib64)
2321 # Check whether --with-lib was given.
2322 if test "${with_lib+set}" = set; then :
2323 withval=$with_lib; if test "$withval" = "no" || test "$withval" = "yes"; then
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You should provide name for --with-lib=ARG" >&5
2325 $as_echo "$as_me: WARNING: You should provide name for --with-lib=ARG" >&2;}
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting lib to '$lib'" >&5
2329 $as_echo "$as_me: Setting lib to '$lib'" >&6;}
2331 config_appended_defs="$config_appended_defs${newline}lib=${lib}"
2336 if test -z "$lib"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting lib to 'lib' (the default)" >&5
2338 $as_echo "$as_me: Setting lib to 'lib' (the default)" >&6;}
2342 # Check whether --enable-pthreads was given.
2343 if test "${enable_pthreads+set}" = set; then :
2344 enableval=$enable_pthreads;
2345 if test "x$enableval" = "xyes"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: Will try -pthread then -lpthread to enable POSIX Threads" >&5
2347 $as_echo "$as_me: Will try -pthread then -lpthread to enable POSIX Threads" >&6;}
2348 elif test "x$enableval" != "xno"; then
2349 PTHREAD_CFLAGS=$enableval
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting '$PTHREAD_CFLAGS' as the FLAGS to enable POSIX Threads" >&5
2351 $as_echo "$as_me: Setting '$PTHREAD_CFLAGS' as the FLAGS to enable POSIX Threads" >&6;}
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: POSIX Threads will be disabled." >&5
2354 $as_echo "$as_me: POSIX Threads will be disabled." >&6;}
2355 NO_PTHREADS=YesPlease
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: Will try -pthread then -lpthread to enable POSIX Threads." >&5
2361 $as_echo "$as_me: Will try -pthread then -lpthread to enable POSIX Threads." >&6;}
2366 # Define option to enable JavaScript minification
2367 # Check whether --enable-jsmin was given.
2368 if test "${enable_jsmin+set}" = set; then :
2369 enableval=$enable_jsmin;
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting JSMIN to '$JSMIN' to enable JavaScript minifying" >&5
2372 $as_echo "$as_me: Setting JSMIN to '$JSMIN' to enable JavaScript minifying" >&6;}
2374 config_appended_defs="$config_appended_defs${newline}JSMIN=${JSMIN}"
2379 # Define option to enable CSS minification
2380 # Check whether --enable-cssmin was given.
2381 if test "${enable_cssmin+set}" = set; then :
2382 enableval=$enable_cssmin;
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting CSSMIN to '$CSSMIN' to enable CSS minifying" >&5
2385 $as_echo "$as_me: Setting CSSMIN to '$CSSMIN' to enable CSS minifying" >&6;}
2387 config_appended_defs="$config_appended_defs${newline}CSSMIN=${CSSMIN}"
2392 ## Site configuration (override autodetection)
2393 ## --with-PACKAGE[=ARG] and --without-PACKAGE
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: CHECKS for site configuration" >&5
2395 $as_echo "$as_me: CHECKS for site configuration" >&6;}
2397 # Define NO_SVN_TESTS if you want to skip time-consuming SVN interoperability
2398 # tests. These tests take up a significant amount of the total test time
2399 # but are not needed unless you plan to talk to SVN repos.
2401 # Define PPC_SHA1 environment variable when running make to make use of
2402 # a bundled SHA1 routine optimized for PowerPC.
2404 # Define NO_OPENSSL environment variable if you do not have OpenSSL.
2405 # This also implies BLK_SHA1.
2407 # Define OPENSSLDIR=/foo/bar if your openssl header and library files are in
2408 # /foo/bar/include and /foo/bar/lib directories.
2410 # Check whether --with-openssl was given.
2411 if test "${with_openssl+set}" = set; then :
2412 withval=$with_openssl; if test "$withval" = "no"; then
2413 NO_OPENSSL=YesPlease
2414 elif test "$withval" = "yes"; then
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting OPENSSLDIR to $withval" >&5
2420 $as_echo "$as_me: Setting OPENSSLDIR to $withval" >&6;}
2422 config_appended_defs="$config_appended_defs${newline}OPENSSLDIR=$withval"
2428 # Define USE_LIBPCRE if you have and want to use libpcre. git-grep will be
2429 # able to use Perl-compatible regular expressions.
2431 # Define LIBPCREDIR=/foo/bar if your libpcre header and library files are in
2432 # /foo/bar/include and /foo/bar/lib directories.
2435 # Check whether --with-libpcre was given.
2436 if test "${with_libpcre+set}" = set; then :
2437 withval=$with_libpcre; if test "$withval" = "no"; then
2439 elif test "$withval" = "yes"; then
2440 USE_LIBPCRE=YesPlease
2442 USE_LIBPCRE=YesPlease
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting LIBPCREDIR to $LIBPCREDIR" >&5
2445 $as_echo "$as_me: Setting LIBPCREDIR to $LIBPCREDIR" >&6;}
2447 config_appended_defs="$config_appended_defs${newline}LIBPCREDIR=${LIBPCREDIR}"
2452 # Define HAVE_ALLOCA_H if you have working alloca(3) defined in that header.
2454 ac_cpp='$CPP $CPPFLAGS'
2455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2458 if test -n "$ac_tool_prefix"; then
2459 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2460 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462 $as_echo_n "checking for $ac_word... " >&6; }
2463 if ${ac_cv_prog_CC+:} false; then :
2464 $as_echo_n "(cached) " >&6
2466 if test -n "$CC"; then
2467 ac_cv_prog_CC="$CC" # Let the user override the test.
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2473 test -z "$as_dir" && as_dir=.
2474 for ac_exec_ext in '' $ac_executable_extensions; do
2475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2476 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2487 if test -n "$CC"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2489 $as_echo "$CC" >&6; }
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492 $as_echo "no" >&6; }
2497 if test -z "$ac_cv_prog_CC"; then
2499 # Extract the first word of "gcc", so it can be a program name with args.
2500 set dummy gcc; ac_word=$2
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502 $as_echo_n "checking for $ac_word... " >&6; }
2503 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2504 $as_echo_n "(cached) " >&6
2506 if test -n "$ac_ct_CC"; then
2507 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir=.
2514 for ac_exec_ext in '' $ac_executable_extensions; do
2515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2516 ac_cv_prog_ac_ct_CC="gcc"
2517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2527 if test -n "$ac_ct_CC"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2529 $as_echo "$ac_ct_CC" >&6; }
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532 $as_echo "no" >&6; }
2535 if test "x$ac_ct_CC" = x; then
2538 case $cross_compiling:$ac_tool_warned in
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2542 ac_tool_warned=yes ;;
2550 if test -z "$CC"; then
2551 if test -n "$ac_tool_prefix"; then
2552 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2553 set dummy ${ac_tool_prefix}cc; ac_word=$2
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2555 $as_echo_n "checking for $ac_word... " >&6; }
2556 if ${ac_cv_prog_CC+:} false; then :
2557 $as_echo_n "(cached) " >&6
2559 if test -n "$CC"; then
2560 ac_cv_prog_CC="$CC" # Let the user override the test.
2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566 test -z "$as_dir" && as_dir=.
2567 for ac_exec_ext in '' $ac_executable_extensions; do
2568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2569 ac_cv_prog_CC="${ac_tool_prefix}cc"
2570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2580 if test -n "$CC"; then
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2582 $as_echo "$CC" >&6; }
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2585 $as_echo "no" >&6; }
2591 if test -z "$CC"; then
2592 # Extract the first word of "cc", so it can be a program name with args.
2593 set dummy cc; ac_word=$2
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; }
2596 if ${ac_cv_prog_CC+:} false; then :
2597 $as_echo_n "(cached) " >&6
2599 if test -n "$CC"; then
2600 ac_cv_prog_CC="$CC" # Let the user override the test.
2603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607 test -z "$as_dir" && as_dir=.
2608 for ac_exec_ext in '' $ac_executable_extensions; do
2609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2610 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2611 ac_prog_rejected=yes
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 if test $ac_prog_rejected = yes; then
2623 # We found a bogon in the path, so make sure we never use it.
2624 set dummy $ac_cv_prog_CC
2626 if test $# != 0; then
2627 # We chose a different compiler from the bogus one.
2628 # However, it has the same basename, so the bogon will be chosen
2629 # first if we set CC to just the basename; use the full file name.
2631 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2637 if test -n "$CC"; then
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2639 $as_echo "$CC" >&6; }
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2642 $as_echo "no" >&6; }
2647 if test -z "$CC"; then
2648 if test -n "$ac_tool_prefix"; then
2649 for ac_prog in cl.exe
2651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_CC+:} false; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$CC"; then
2659 ac_cv_prog_CC="$CC" # Let the user override the test.
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2668 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 if test -n "$CC"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2681 $as_echo "$CC" >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2688 test -n "$CC" && break
2691 if test -z "$CC"; then
2693 for ac_prog in cl.exe
2695 # Extract the first word of "$ac_prog", so it can be a program name with args.
2696 set dummy $ac_prog; ac_word=$2
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2700 $as_echo_n "(cached) " >&6
2702 if test -n "$ac_ct_CC"; then
2703 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir=.
2710 for ac_exec_ext in '' $ac_executable_extensions; do
2711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2712 ac_cv_prog_ac_ct_CC="$ac_prog"
2713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2723 if test -n "$ac_ct_CC"; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2725 $as_echo "$ac_ct_CC" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2732 test -n "$ac_ct_CC" && break
2735 if test "x$ac_ct_CC" = x; then
2738 case $cross_compiling:$ac_tool_warned in
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2742 ac_tool_warned=yes ;;
2751 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2753 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2754 See \
`config.log' for more details" "$LINENO" 5; }
2756 # Provide some information about the compiler.
2757 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2760 for ac_option in --version -v -V -qversion; do
2761 { { ac_try="$ac_compiler $ac_option >&5"
2763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2764 *) ac_try_echo
=$ac_try;;
2766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767 $as_echo "$ac_try_echo"; } >&5
2768 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2770 if test -s conftest.err
; then
2772 ... rest of stderr output deleted ...
2773 10q' conftest.err
>conftest.er1
2774 cat conftest.er1
>&5
2776 rm -f conftest.er1 conftest.err
2777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2778 test $ac_status = 0; }
2781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2792 ac_clean_files_save
=$ac_clean_files
2793 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2794 # Try to create an executable without -o first, disregard a.out.
2795 # It will help us diagnose broken compilers, and finding out an intuition
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2798 $as_echo_n "checking whether the C compiler works... " >&6; }
2799 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2801 # The possible output files:
2802 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2805 for ac_file
in $ac_files
2808 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2809 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2814 if { { ac_try
="$ac_link_default"
2816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2820 $as_echo "$ac_try_echo"; } >&5
2821 (eval "$ac_link_default") 2>&5
2823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2824 test $ac_status = 0; }; then :
2825 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2826 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2827 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2828 # so that the user can short-circuit this test for compilers unknown to
2830 for ac_file in $ac_files ''
2832 test -f "$ac_file" || continue
2834 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2837 # We found the default executable, but exeext='' is most
2841 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2843 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2845 # We set ac_cv_exeext here because the later test for it is not
2846 # safe: cross compilers may not add the suffix if given an `-o'
2847 # argument, so we may need to know it at that point already.
2848 # Even if this section looks crufty: it has the advantage of
2855 test "$ac_cv_exeext" = no && ac_cv_exeext=
2860 if test -z "$ac_file"; then :
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2862 $as_echo "no" >&6; }
2863 $as_echo "$as_me: failed program was:" >&5
2864 sed 's
/^
/|
/' conftest.$ac_ext >&5
2866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2867 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2868 as_fn_error 77 "C compiler cannot create executables
2869 See \`config.log
' for more details" "$LINENO" 5; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2872 $as_echo "yes" >&6; }
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2875 $as_echo_n "checking for C compiler default output file name... " >&6; }
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2877 $as_echo "$ac_file" >&6; }
2878 ac_exeext=$ac_cv_exeext
2880 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2881 ac_clean_files=$ac_clean_files_save
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2883 $as_echo_n "checking for suffix of executables... " >&6; }
2884 if { { ac_try="$ac_link"
2886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887 *) ac_try_echo=$ac_try;;
2889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2890 $as_echo "$ac_try_echo"; } >&5
2891 (eval "$ac_link") 2>&5
2893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2894 test $ac_status = 0; }; then :
2895 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2896 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2897 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2899 for ac_file
in conftest.exe conftest conftest.
*; do
2900 test -f "$ac_file" ||
continue
2902 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2903 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2911 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2912 See \`config.log' for more details" "$LINENO" 5; }
2914 rm -f conftest conftest
$ac_cv_exeext
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2916 $as_echo "$ac_cv_exeext" >&6; }
2918 rm -f conftest.
$ac_ext
2919 EXEEXT
=$ac_cv_exeext
2921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2922 /* end confdefs.h. */
2927 FILE *f = fopen ("conftest.out", "w");
2928 return ferror (f) || fclose (f) != 0;
2934 ac_clean_files
="$ac_clean_files conftest.out"
2935 # Check that the compiler produces executables we can run. If not, either
2936 # the compiler is broken, or we cross compile.
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2938 $as_echo_n "checking whether we are cross compiling... " >&6; }
2939 if test "$cross_compiling" != yes; then
2940 { { ac_try
="$ac_link"
2942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2946 $as_echo "$ac_try_echo"; } >&5
2947 (eval "$ac_link") 2>&5
2949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2950 test $ac_status = 0; }
2951 if { ac_try='./conftest$ac_cv_exeext'
2952 { { case "(($ac_try" in
2953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2954 *) ac_try_echo
=$ac_try;;
2956 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2957 $as_echo "$ac_try_echo"; } >&5
2958 (eval "$ac_try") 2>&5
2960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2961 test $ac_status = 0; }; }; then
2964 if test "$cross_compiling" = maybe
; then
2967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2969 as_fn_error $?
"cannot run C compiled programs.
2970 If you meant to cross compile, use \`--host'.
2971 See \`config.log' for more details" "$LINENO" 5; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2976 $as_echo "$cross_compiling" >&6; }
2978 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2979 ac_clean_files
=$ac_clean_files_save
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2981 $as_echo_n "checking for suffix of object files... " >&6; }
2982 if ${ac_cv_objext+:} false
; then :
2983 $as_echo_n "(cached) " >&6
2985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2996 rm -f conftest.o conftest.obj
2997 if { { ac_try
="$ac_compile"
2999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3003 $as_echo "$ac_try_echo"; } >&5
3004 (eval "$ac_compile") 2>&5
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; }; then :
3008 for ac_file in conftest.o conftest.obj conftest.*; do
3009 test -f "$ac_file" || continue;
3011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3012 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3017 $as_echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.$ac_ext >&5
3020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3023 See \
`config.log' for more details" "$LINENO" 5; }
3025 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3028 $as_echo "$ac_cv_objext" >&6; }
3029 OBJEXT=$ac_cv_objext
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3032 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3033 if ${ac_cv_c_compiler_gnu+:} false; then :
3034 $as_echo_n "(cached) " >&6
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3050 if ac_fn_c_try_compile "$LINENO"; then :
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3060 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3061 if test $ac_compiler_gnu = yes; then
3066 ac_test_CFLAGS=${CFLAGS+set}
3067 ac_save_CFLAGS=$CFLAGS
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3069 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3070 if ${ac_cv_prog_cc_g+:} false; then :
3071 $as_echo_n "(cached) " >&6
3073 ac_save_c_werror_flag=$ac_c_werror_flag
3074 ac_c_werror_flag=yes
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3088 if ac_fn_c_try_compile "$LINENO"; then :
3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3093 /* end confdefs.h. */
3103 if ac_fn_c_try_compile "$LINENO"; then :
3106 ac_c_werror_flag=$ac_save_c_werror_flag
3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3119 if ac_fn_c_try_compile "$LINENO"; then :
3122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3127 ac_c_werror_flag=$ac_save_c_werror_flag
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3130 $as_echo "$ac_cv_prog_cc_g" >&6; }
3131 if test "$ac_test_CFLAGS" = set; then
3132 CFLAGS=$ac_save_CFLAGS
3133 elif test $ac_cv_prog_cc_g = yes; then
3134 if test "$GCC" = yes; then
3140 if test "$GCC" = yes; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3147 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3148 if ${ac_cv_prog_cc_c89+:} false; then :
3149 $as_echo_n "(cached) " >&6
3151 ac_cv_prog_cc_c89=no
3153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154 /* end confdefs.h. */
3158 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3159 struct buf { int x; };
3160 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3161 static char *e (p, i)
3167 static char *f (char * (*g) (char **, int), char **p, ...)
3172 s = g (p, va_arg (v,int));
3177 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3178 function prototypes and stuff, but not '\xHH' hex character constants.
3179 These don't provoke an error unfortunately, instead are silently treated
3180 as 'x'. The following induces an error, until -std is added to get
3181 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3182 array size at least. It's necessary to write '\x00'==0 to get something
3183 that's true only with -std. */
3184 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3186 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3187 inside strings and character constants. */
3189 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3191 int test (int i, double x);
3192 struct s1 {int (*f) (int a);};
3193 struct s2 {int (*f) (double a);};
3194 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3200 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3205 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3206 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3208 CC="$ac_save_CC $ac_arg"
3209 if ac_fn_c_try_compile "$LINENO"; then :
3210 ac_cv_prog_cc_c89=$ac_arg
3212 rm -f core conftest.err conftest.$ac_objext
3213 test "x$ac_cv_prog_cc_c89" != "xno" && break
3215 rm -f conftest.$ac_ext
3220 case "x$ac_cv_prog_cc_c89" in
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3223 $as_echo "none needed" >&6; } ;;
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3226 $as_echo "unsupported" >&6; } ;;
3228 CC="$CC $ac_cv_prog_cc_c89"
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3230 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3232 if test "x$ac_cv_prog_cc_c89" != xno; then :
3237 ac_cpp='$CPP $CPPFLAGS'
3238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3244 ac_cpp='$CPP $CPPFLAGS'
3245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3249 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3250 # On Suns, sometimes $CPP names a directory.
3251 if test -n "$CPP" && test -d "$CPP"; then
3254 if test -z "$CPP"; then
3255 if ${ac_cv_prog_CPP+:} false; then :
3256 $as_echo_n "(cached) " >&6
3258 # Double quotes because CPP needs to be expanded
3259 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3262 for ac_c_preproc_warn_flag in '' yes
3264 # Use a header file that comes with gcc, so configuring glibc
3265 # with a fresh cross-compiler works.
3266 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3267 # <limits.h> exists even on freestanding compilers.
3268 # On the NeXT, cc -E runs the code through the compiler's parser,
3269 # not just through cpp. "Syntax error" is here to catch this case.
3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3271 /* end confdefs.h. */
3273 # include <limits.h>
3275 # include <assert.h>
3279 if ac_fn_c_try_cpp "$LINENO"; then :
3282 # Broken: fails on valid input.
3285 rm -f conftest.err conftest.i conftest.$ac_ext
3287 # OK, works on sane cases. Now check whether nonexistent headers
3288 # can be detected and how.
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3291 #include <ac_nonexistent.h>
3293 if ac_fn_c_try_cpp "$LINENO"; then :
3294 # Broken: success on invalid input.
3297 # Passes both tests.
3301 rm -f conftest.err conftest.i conftest.$ac_ext
3304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3305 rm -f conftest.i conftest.err conftest.
$ac_ext
3306 if $ac_preproc_ok; then :
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3319 $as_echo "$CPP" >&6; }
3321 for ac_c_preproc_warn_flag
in '' yes
3323 # Use a header file that comes with gcc, so configuring glibc
3324 # with a fresh cross-compiler works.
3325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3326 # <limits.h> exists even on freestanding compilers.
3327 # On the NeXT, cc -E runs the code through the compiler's parser,
3328 # not just through cpp. "Syntax error" is here to catch this case.
3329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3332 # include <limits.h>
3334 # include <assert.h>
3338 if ac_fn_c_try_cpp
"$LINENO"; then :
3341 # Broken: fails on valid input.
3344 rm -f conftest.err conftest.i conftest.
$ac_ext
3346 # OK, works on sane cases. Now check whether nonexistent headers
3347 # can be detected and how.
3348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3350 #include <ac_nonexistent.h>
3352 if ac_fn_c_try_cpp
"$LINENO"; then :
3353 # Broken: success on invalid input.
3356 # Passes both tests.
3360 rm -f conftest.err conftest.i conftest.
$ac_ext
3363 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3364 rm -f conftest.i conftest.err conftest.
$ac_ext
3365 if $ac_preproc_ok; then :
3368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3370 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3371 See \`config.log' for more details" "$LINENO" 5; }
3375 ac_cpp
='$CPP $CPPFLAGS'
3376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3382 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3383 if ${ac_cv_path_GREP+:} false
; then :
3384 $as_echo_n "(cached) " >&6
3386 if test -z "$GREP"; then
3387 ac_path_GREP_found
=false
3388 # Loop through the user's path and test for each of PROGNAME-LIST
3389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3390 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3393 test -z "$as_dir" && as_dir
=.
3394 for ac_prog
in grep ggrep
; do
3395 for ac_exec_ext
in '' $ac_executable_extensions; do
3396 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3397 as_fn_executable_p
"$ac_path_GREP" ||
continue
3398 # Check for GNU ac_path_GREP and select it if it is found.
3399 # Check for GNU $ac_path_GREP
3400 case `"$ac_path_GREP" --version 2>&1` in
3402 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3405 $as_echo_n 0123456789 >"conftest.in"
3408 cat "conftest.in" "conftest.in" >"conftest.tmp"
3409 mv "conftest.tmp" "conftest.in"
3410 cp "conftest.in" "conftest.nl"
3411 $as_echo 'GREP' >> "conftest.nl"
3412 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3413 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3414 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3415 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3416 # Best one so far, save it but keep looking for a better one
3417 ac_cv_path_GREP
="$ac_path_GREP"
3418 ac_path_GREP_max
=$ac_count
3420 # 10*(2^10) chars as input seems more than enough
3421 test $ac_count -gt 10 && break
3423 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3426 $ac_path_GREP_found && break 3
3431 if test -z "$ac_cv_path_GREP"; then
3432 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3435 ac_cv_path_GREP
=$GREP
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3440 $as_echo "$ac_cv_path_GREP" >&6; }
3441 GREP
="$ac_cv_path_GREP"
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3445 $as_echo_n "checking for egrep... " >&6; }
3446 if ${ac_cv_path_EGREP+:} false
; then :
3447 $as_echo_n "(cached) " >&6
3449 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3450 then ac_cv_path_EGREP
="$GREP -E"
3452 if test -z "$EGREP"; then
3453 ac_path_EGREP_found
=false
3454 # Loop through the user's path and test for each of PROGNAME-LIST
3455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3456 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3459 test -z "$as_dir" && as_dir
=.
3460 for ac_prog
in egrep; do
3461 for ac_exec_ext
in '' $ac_executable_extensions; do
3462 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3463 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3464 # Check for GNU ac_path_EGREP and select it if it is found.
3465 # Check for GNU $ac_path_EGREP
3466 case `"$ac_path_EGREP" --version 2>&1` in
3468 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3471 $as_echo_n 0123456789 >"conftest.in"
3474 cat "conftest.in" "conftest.in" >"conftest.tmp"
3475 mv "conftest.tmp" "conftest.in"
3476 cp "conftest.in" "conftest.nl"
3477 $as_echo 'EGREP' >> "conftest.nl"
3478 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3479 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3480 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3481 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3482 # Best one so far, save it but keep looking for a better one
3483 ac_cv_path_EGREP
="$ac_path_EGREP"
3484 ac_path_EGREP_max
=$ac_count
3486 # 10*(2^10) chars as input seems more than enough
3487 test $ac_count -gt 10 && break
3489 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3492 $ac_path_EGREP_found && break 3
3497 if test -z "$ac_cv_path_EGREP"; then
3498 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3501 ac_cv_path_EGREP
=$EGREP
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3507 $as_echo "$ac_cv_path_EGREP" >&6; }
3508 EGREP
="$ac_cv_path_EGREP"
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3512 $as_echo_n "checking for ANSI C header files... " >&6; }
3513 if ${ac_cv_header_stdc+:} false
; then :
3514 $as_echo_n "(cached) " >&6
3516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3531 if ac_fn_c_try_compile
"$LINENO"; then :
3532 ac_cv_header_stdc
=yes
3534 ac_cv_header_stdc
=no
3536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3538 if test $ac_cv_header_stdc = yes; then
3539 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h. */
3545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3546 $EGREP "memchr" >/dev
/null
2>&1; then :
3549 ac_cv_header_stdc
=no
3555 if test $ac_cv_header_stdc = yes; then
3556 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3563 $EGREP "free" >/dev
/null
2>&1; then :
3566 ac_cv_header_stdc
=no
3572 if test $ac_cv_header_stdc = yes; then
3573 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3574 if test "$cross_compiling" = yes; then :
3577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3581 #if ((' ' & 0x0FF) == 0x020)
3582 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3583 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3585 # define ISLOWER(c) \
3586 (('a' <= (c) && (c) <= 'i') \
3587 || ('j' <= (c) && (c) <= 'r') \
3588 || ('s' <= (c) && (c) <= 'z'))
3589 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3592 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3597 for (i = 0; i < 256; i++)
3598 if (XOR (islower (i), ISLOWER (i))
3599 || toupper (i) != TOUPPER (i))
3604 if ac_fn_c_try_run
"$LINENO"; then :
3607 ac_cv_header_stdc
=no
3609 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3610 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3616 $as_echo "$ac_cv_header_stdc" >&6; }
3617 if test $ac_cv_header_stdc = yes; then
3619 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3623 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3624 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3625 inttypes.h stdint.h unistd.h
3627 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3628 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3630 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3631 cat >>confdefs.h
<<_ACEOF
3632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3640 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3641 if test "x$ac_cv_type_size_t" = xyes
; then :
3645 cat >>confdefs.h
<<_ACEOF
3646 #define size_t unsigned int
3651 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3652 # for constant arguments. Useless!
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
3654 $as_echo_n "checking for working alloca.h... " >&6; }
3655 if ${ac_cv_working_alloca_h+:} false
; then :
3656 $as_echo_n "(cached) " >&6
3658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3664 char *p = (char *) alloca (2 * sizeof (int));
3670 if ac_fn_c_try_link
"$LINENO"; then :
3671 ac_cv_working_alloca_h
=yes
3673 ac_cv_working_alloca_h
=no
3675 rm -f core conftest.err conftest.
$ac_objext \
3676 conftest
$ac_exeext conftest.
$ac_ext
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
3679 $as_echo "$ac_cv_working_alloca_h" >&6; }
3680 if test $ac_cv_working_alloca_h = yes; then
3682 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
3687 $as_echo_n "checking for alloca... " >&6; }
3688 if ${ac_cv_func_alloca_works+:} false
; then :
3689 $as_echo_n "(cached) " >&6
3691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3692 /* end confdefs.h. */
3694 # define alloca __builtin_alloca
3697 # include <malloc.h>
3698 # define alloca _alloca
3700 # ifdef HAVE_ALLOCA_H
3701 # include <alloca.h>
3706 # ifndef alloca /* predefined by HP cc +Olibcalls */
3707 void *alloca (size_t);
3717 char *p = (char *) alloca (1);
3723 if ac_fn_c_try_link
"$LINENO"; then :
3724 ac_cv_func_alloca_works
=yes
3726 ac_cv_func_alloca_works
=no
3728 rm -f core conftest.err conftest.
$ac_objext \
3729 conftest
$ac_exeext conftest.
$ac_ext
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
3732 $as_echo "$ac_cv_func_alloca_works" >&6; }
3734 if test $ac_cv_func_alloca_works = yes; then
3736 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
3739 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3740 # that cause trouble. Some versions do not even contain alloca or
3741 # contain a buggy version. If you still want to use their alloca,
3742 # use ar to extract alloca.o from them instead of compiling alloca.c.
3744 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
3746 $as_echo "#define C_ALLOCA 1" >>confdefs.h
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
3750 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
3751 if ${ac_cv_os_cray+:} false
; then :
3752 $as_echo_n "(cached) " >&6
3754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3756 #if defined CRAY && ! defined CRAY2
3763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3764 $EGREP "webecray" >/dev
/null
2>&1; then :
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
3773 $as_echo "$ac_cv_os_cray" >&6; }
3774 if test $ac_cv_os_cray = yes; then
3775 for ac_func
in _getb67 GETB67 getb67
; do
3776 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3777 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
3778 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
3780 cat >>confdefs.h
<<_ACEOF
3781 #define CRAY_STACKSEG_END $ac_func
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
3791 $as_echo_n "checking stack direction for C alloca... " >&6; }
3792 if ${ac_cv_c_stack_direction+:} false
; then :
3793 $as_echo_n "(cached) " >&6
3795 if test "$cross_compiling" = yes; then :
3796 ac_cv_c_stack_direction
=0
3798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3800 $ac_includes_default
3802 find_stack_direction (int *addr, int depth)
3807 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
3808 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
3813 main (int argc, char **argv)
3815 return find_stack_direction (0, argc + !argv + 20) < 0;
3818 if ac_fn_c_try_run
"$LINENO"; then :
3819 ac_cv_c_stack_direction
=1
3821 ac_cv_c_stack_direction
=-1
3823 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3824 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
3829 $as_echo "$ac_cv_c_stack_direction" >&6; }
3830 cat >>confdefs.h
<<_ACEOF
3831 #define STACK_DIRECTION $ac_cv_c_stack_direction
3837 case $ac_cv_working_alloca_h in
3838 yes) HAVE_ALLOCA_H
=YesPlease
;;
3839 *) HAVE_ALLOCA_H
='';;
3842 config_appended_defs
="$config_appended_defs${newline}HAVE_ALLOCA_H=${HAVE_ALLOCA_H}"
3844 # Define NO_CURL if you do not have curl installed. git-http-pull and
3845 # git-http-push are not built, and you cannot use http:// and https://
3848 # Define CURLDIR=/foo/bar if your curl header and library files are in
3849 # /foo/bar/include and /foo/bar/lib directories.
3851 # Check whether --with-curl was given.
3852 if test "${with_curl+set}" = set; then :
3853 withval
=$with_curl; if test "$withval" = "no"; then
3855 elif test "$withval" = "yes"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting CURLDIR to $withval" >&5
3861 $as_echo "$as_me: Setting CURLDIR to $withval" >&6;}
3863 config_appended_defs
="$config_appended_defs${newline}CURLDIR=$withval"
3869 # Define NO_EXPAT if you do not have expat installed. git-http-push is
3870 # not built, and you cannot push using http:// and https:// transports.
3872 # Define EXPATDIR=/foo/bar if your expat header and library files are in
3873 # /foo/bar/include and /foo/bar/lib directories.
3875 # Check whether --with-expat was given.
3876 if test "${with_expat+set}" = set; then :
3877 withval
=$with_expat; if test "$withval" = "no"; then
3879 elif test "$withval" = "yes"; then
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting EXPATDIR to $withval" >&5
3885 $as_echo "$as_me: Setting EXPATDIR to $withval" >&6;}
3887 config_appended_defs
="$config_appended_defs${newline}EXPATDIR=$withval"
3893 # Define NO_FINK if you are building on Darwin/Mac OS X, have Fink
3894 # installed in /sw, but don't want GIT to link against any libraries
3895 # installed there. If defined you may specify your own (or Fink's)
3896 # include directories and library directories by defining CFLAGS
3897 # and LDFLAGS appropriately.
3899 # Define NO_DARWIN_PORTS if you are building on Darwin/Mac OS X,
3900 # have DarwinPorts installed in /opt/local, but don't want GIT to
3901 # link against any libraries installed there. If defined you may
3902 # specify your own (or DarwinPort's) include directories and
3903 # library directories by defining CFLAGS and LDFLAGS appropriately.
3905 # Define NO_MMAP if you want to avoid mmap.
3907 # Define NO_ICONV if your libc does not properly support iconv.
3909 # Check whether --with-iconv was given.
3910 if test "${with_iconv+set}" = set; then :
3911 withval
=$with_iconv; if test "$withval" = "no"; then
3913 elif test "$withval" = "yes"; then
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting ICONVDIR to $withval" >&5
3919 $as_echo "$as_me: Setting ICONVDIR to $withval" >&6;}
3921 config_appended_defs
="$config_appended_defs${newline}ICONVDIR=$withval"
3927 ## --enable-FEATURE[=ARG] and --disable-FEATURE
3929 # Define USE_NSEC below if you want git to care about sub-second file mtimes
3930 # and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and
3931 # it will BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely
3932 # randomly break unless your underlying filesystem supports those sub-second
3933 # times (my ext3 doesn't).
3935 # Define USE_STDEV below if you want git to care about the underlying device
3936 # change being considered an inode change from the update-index perspective.
3939 # Allow user to set ETC_GITCONFIG variable
3941 # Check whether --with-gitconfig was given.
3942 if test "${with_gitconfig+set}" = set; then :
3943 withval
=$with_gitconfig; if test -n "$withval"; then
3944 if test "$withval" = "yes" -o "$withval" = "no"; then
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You likely do not want either 'yes' or 'no' as
3946 a value for gitconfig (ETC_GITCONFIG). Maybe you do...?" >&5
3947 $as_echo "$as_me: WARNING: You likely do not want either 'yes' or 'no' as
3948 a value for gitconfig (ETC_GITCONFIG). Maybe you do...?" >&2;}
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting ETC_GITCONFIG to $withval" >&5
3951 $as_echo "$as_me: Setting ETC_GITCONFIG to $withval" >&6;}
3953 config_appended_defs
="$config_appended_defs${newline}ETC_GITCONFIG=$withval"
3959 # Allow user to set ETC_GITATTRIBUTES variable
3961 # Check whether --with-gitattributes was given.
3962 if test "${with_gitattributes+set}" = set; then :
3963 withval
=$with_gitattributes; if test -n "$withval"; then
3964 if test "$withval" = "yes" -o "$withval" = "no"; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You likely do not want either 'yes' or 'no' as
3966 a value for gitattributes (ETC_GITATTRIBUTES). Maybe you do...?" >&5
3967 $as_echo "$as_me: WARNING: You likely do not want either 'yes' or 'no' as
3968 a value for gitattributes (ETC_GITATTRIBUTES). Maybe you do...?" >&2;}
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting ETC_GITATTRIBUTES to $withval" >&5
3971 $as_echo "$as_me: Setting ETC_GITATTRIBUTES to $withval" >&6;}
3973 config_appended_defs
="$config_appended_defs${newline}ETC_GITATTRIBUTES=$withval"
3979 # Allow user to set the default pager
3981 # Check whether --with-pager was given.
3982 if test "${with_pager+set}" = set; then :
3983 withval
=$with_pager; if test -n "$withval"; then
3984 if test "$withval" = "yes" -o "$withval" = "no"; then
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You likely do not want either 'yes' or 'no' as
3986 a value for pager (DEFAULT_PAGER). Maybe you do...?" >&5
3987 $as_echo "$as_me: WARNING: You likely do not want either 'yes' or 'no' as
3988 a value for pager (DEFAULT_PAGER). Maybe you do...?" >&2;}
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting DEFAULT_PAGER to $withval" >&5
3991 $as_echo "$as_me: Setting DEFAULT_PAGER to $withval" >&6;}
3993 config_appended_defs
="$config_appended_defs${newline}DEFAULT_PAGER=$withval"
3998 # Allow user to set the default editor
4000 # Check whether --with-editor was given.
4001 if test "${with_editor+set}" = set; then :
4002 withval
=$with_editor; if test -n "$withval"; then
4003 if test "$withval" = "yes" -o "$withval" = "no"; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You likely do not want either 'yes' or 'no' as
4005 a value for editor (DEFAULT_EDITOR). Maybe you do...?" >&5
4006 $as_echo "$as_me: WARNING: You likely do not want either 'yes' or 'no' as
4007 a value for editor (DEFAULT_EDITOR). Maybe you do...?" >&2;}
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting DEFAULT_EDITOR to $withval" >&5
4010 $as_echo "$as_me: Setting DEFAULT_EDITOR to $withval" >&6;}
4012 config_appended_defs
="$config_appended_defs${newline}DEFAULT_EDITOR=$withval"
4018 # Define SHELL_PATH to provide path to shell.
4020 # Check whether --with-shell was given.
4021 if test "${with_shell+set}" = set; then :
4022 withval
=$with_shell; if test "$withval" = "no"; then
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling use of SHELL" >&5
4026 $as_echo "$as_me: Disabling use of SHELL" >&6;}
4028 config_appended_defs
="$config_appended_defs${newline}NO_SHELL=YesPlease"
4030 config_appended_defs
="$config_appended_defs${newline}SHELL_PATH="
4032 as_fn_error $?
"You cannot use git without shell" "$LINENO" 5
4035 if test "$withval" = "yes"; then
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You should provide path for --with-shell=PATH" >&5
4037 $as_echo "$as_me: WARNING: You should provide path for --with-shell=PATH" >&2;}
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting SHELL_PATH to $withval" >&5
4041 $as_echo "$as_me: Setting SHELL_PATH to $withval" >&6;}
4043 config_appended_defs
="$config_appended_defs${newline}SHELL_PATH=$withval"
4050 # Define PERL_PATH to provide path to Perl.
4052 # Check whether --with-perl was given.
4053 if test "${with_perl+set}" = set; then :
4054 withval
=$with_perl; if test "$withval" = "no"; then
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling use of PERL" >&5
4058 $as_echo "$as_me: Disabling use of PERL" >&6;}
4060 config_appended_defs
="$config_appended_defs${newline}NO_PERL=YesPlease"
4062 config_appended_defs
="$config_appended_defs${newline}PERL_PATH="
4064 as_fn_error $?
"You cannot use git without perl" "$LINENO" 5
4067 if test "$withval" = "yes"; then
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You should provide path for --with-perl=PATH" >&5
4069 $as_echo "$as_me: WARNING: You should provide path for --with-perl=PATH" >&2;}
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting PERL_PATH to $withval" >&5
4073 $as_echo "$as_me: Setting PERL_PATH to $withval" >&6;}
4075 config_appended_defs
="$config_appended_defs${newline}PERL_PATH=$withval"
4082 # Define PYTHON_PATH to provide path to Python.
4084 # Check whether --with-python was given.
4085 if test "${with_python+set}" = set; then :
4086 withval
=$with_python; if test "$withval" = "no"; then
4087 if test -n "allow-without"; then
4088 PYTHON_PATH
=$withval
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling use of PYTHON" >&5
4090 $as_echo "$as_me: Disabling use of PYTHON" >&6;}
4092 config_appended_defs
="$config_appended_defs${newline}NO_PYTHON=YesPlease"
4094 config_appended_defs
="$config_appended_defs${newline}PYTHON_PATH="
4096 as_fn_error $?
"You cannot use git without python" "$LINENO" 5
4099 if test "$withval" = "yes"; then
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You should provide path for --with-python=PATH" >&5
4101 $as_echo "$as_me: WARNING: You should provide path for --with-python=PATH" >&2;}
4103 PYTHON_PATH
=$withval
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting PYTHON_PATH to $withval" >&5
4105 $as_echo "$as_me: Setting PYTHON_PATH to $withval" >&6;}
4107 config_appended_defs
="$config_appended_defs${newline}PYTHON_PATH=$withval"
4114 # Define ZLIB_PATH to provide path to zlib.
4116 # Check whether --with-zlib was given.
4117 if test "${with_zlib+set}" = set; then :
4118 withval
=$with_zlib; if test "$withval" = "no"; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling use of ZLIB" >&5
4122 $as_echo "$as_me: Disabling use of ZLIB" >&6;}
4124 config_appended_defs
="$config_appended_defs${newline}NO_ZLIB=YesPlease"
4126 config_appended_defs
="$config_appended_defs${newline}ZLIB_PATH="
4128 as_fn_error $?
"You cannot use git without zlib" "$LINENO" 5
4131 if test "$withval" = "yes"; then
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You should provide path for --with-zlib=PATH" >&5
4133 $as_echo "$as_me: WARNING: You should provide path for --with-zlib=PATH" >&2;}
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting ZLIB_PATH to $withval" >&5
4137 $as_echo "$as_me: Setting ZLIB_PATH to $withval" >&6;}
4139 config_appended_defs
="$config_appended_defs${newline}ZLIB_PATH=$withval"
4146 # Declare the with-tcltk/without-tcltk options.
4148 # Check whether --with-tcltk was given.
4149 if test "${with_tcltk+set}" = set; then :
4150 withval
=$with_tcltk; if test "$withval" = "no"; then
4152 elif test "$withval" = "yes"; then
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting TCLTKDIR to $withval" >&5
4158 $as_echo "$as_me: Setting TCLTKDIR to $withval" >&6;}
4160 config_appended_defs
="$config_appended_defs${newline}TCLTKDIR=$withval"
4168 ## Checks for programs.
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: CHECKS for programs" >&5
4170 $as_echo "$as_me: CHECKS for programs" >&6;}
4173 ac_cpp
='$CPP $CPPFLAGS'
4174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4177 if test -n "$ac_tool_prefix"; then
4178 for ac_prog
in cc gcc
4180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4181 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4183 $as_echo_n "checking for $ac_word... " >&6; }
4184 if ${ac_cv_prog_CC+:} false
; then :
4185 $as_echo_n "(cached) " >&6
4187 if test -n "$CC"; then
4188 ac_cv_prog_CC
="$CC" # Let the user override the test.
4190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4194 test -z "$as_dir" && as_dir
=.
4195 for ac_exec_ext
in '' $ac_executable_extensions; do
4196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4197 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208 if test -n "$CC"; then
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4210 $as_echo "$CC" >&6; }
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 $as_echo "no" >&6; }
4217 test -n "$CC" && break
4220 if test -z "$CC"; then
4222 for ac_prog
in cc gcc
4224 # Extract the first word of "$ac_prog", so it can be a program name with args.
4225 set dummy
$ac_prog; ac_word
=$2
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227 $as_echo_n "checking for $ac_word... " >&6; }
4228 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4229 $as_echo_n "(cached) " >&6
4231 if test -n "$ac_ct_CC"; then
4232 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir
=.
4239 for ac_exec_ext
in '' $ac_executable_extensions; do
4240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4241 ac_cv_prog_ac_ct_CC
="$ac_prog"
4242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4252 if test -n "$ac_ct_CC"; then
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4254 $as_echo "$ac_ct_CC" >&6; }
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4261 test -n "$ac_ct_CC" && break
4264 if test "x$ac_ct_CC" = x
; then
4267 case $cross_compiling:$ac_tool_warned in
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4271 ac_tool_warned
=yes ;;
4278 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4280 as_fn_error $?
"no acceptable C compiler found in \$PATH
4281 See \`config.log' for more details" "$LINENO" 5; }
4283 # Provide some information about the compiler.
4284 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4287 for ac_option
in --version -v -V -qversion; do
4288 { { ac_try
="$ac_compiler $ac_option >&5"
4290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4291 *) ac_try_echo=$ac_try;;
4293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4294 $as_echo "$ac_try_echo"; } >&5
4295 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4297 if test -s conftest.err; then
4299 ... rest of stderr output deleted ...
4300 10q' conftest.err >conftest.er1
4301 cat conftest.er1 >&5
4303 rm -f conftest.er1 conftest.err
4304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4305 test $ac_status = 0; }
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4309 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4310 if ${ac_cv_c_compiler_gnu+:} false; then :
4311 $as_echo_n "(cached) " >&6
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4327 if ac_fn_c_try_compile "$LINENO"; then :
4332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4337 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4338 if test $ac_compiler_gnu = yes; then
4343 ac_test_CFLAGS=${CFLAGS+set}
4344 ac_save_CFLAGS=$CFLAGS
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4346 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4347 if ${ac_cv_prog_cc_g+:} false; then :
4348 $as_echo_n "(cached) " >&6
4350 ac_save_c_werror_flag=$ac_c_werror_flag
4351 ac_c_werror_flag=yes
4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4365 if ac_fn_c_try_compile "$LINENO"; then :
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4380 if ac_fn_c_try_compile "$LINENO"; then :
4383 ac_c_werror_flag=$ac_save_c_werror_flag
4385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4386 /* end confdefs.h. */
4396 if ac_fn_c_try_compile "$LINENO"; then :
4399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 ac_c_werror_flag=$ac_save_c_werror_flag
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4407 $as_echo "$ac_cv_prog_cc_g" >&6; }
4408 if test "$ac_test_CFLAGS" = set; then
4409 CFLAGS=$ac_save_CFLAGS
4410 elif test $ac_cv_prog_cc_g = yes; then
4411 if test "$GCC" = yes; then
4417 if test "$GCC" = yes; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4424 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4425 if ${ac_cv_prog_cc_c89+:} false; then :
4426 $as_echo_n "(cached) " >&6
4428 ac_cv_prog_cc_c89=no
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4435 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4436 struct buf { int x; };
4437 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4438 static char *e (p, i)
4444 static char *f (char * (*g) (char **, int), char **p, ...)
4449 s = g (p, va_arg (v,int));
4454 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4455 function prototypes and stuff, but not '\xHH' hex character constants.
4456 These don't provoke an error unfortunately, instead are silently treated
4457 as 'x'. The following induces an error, until -std is added to get
4458 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4459 array size at least. It's necessary to write '\x00'==0 to get something
4460 that's true only with -std. */
4461 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4463 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4464 inside strings and character constants. */
4466 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4468 int test (int i, double x);
4469 struct s1 {int (*f) (int a);};
4470 struct s2 {int (*f) (double a);};
4471 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4477 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4482 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4483 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4485 CC="$ac_save_CC $ac_arg"
4486 if ac_fn_c_try_compile "$LINENO"; then :
4487 ac_cv_prog_cc_c89=$ac_arg
4489 rm -f core conftest.err conftest.$ac_objext
4490 test "x$ac_cv_prog_cc_c89" != "xno" && break
4492 rm -f conftest.$ac_ext
4497 case "x$ac_cv_prog_cc_c89" in
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4500 $as_echo "none needed" >&6; } ;;
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4503 $as_echo "unsupported" >&6; } ;;
4505 CC="$CC $ac_cv_prog_cc_c89"
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4507 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4509 if test "x$ac_cv_prog_cc_c89" != xno; then :
4514 ac_cpp='$CPP $CPPFLAGS'
4515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4520 $as_echo_n "checking for inline... " >&6; }
4521 if ${ac_cv_c_inline+:} false; then :
4522 $as_echo_n "(cached) " >&6
4525 for ac_kw in inline __inline__ __inline; do
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4530 static $ac_kw foo_t static_foo () {return 0; }
4531 $ac_kw foo_t foo () {return 0; }
4535 if ac_fn_c_try_compile "$LINENO"; then :
4536 ac_cv_c_inline=$ac_kw
4538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 test "$ac_cv_c_inline" != no && break
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4544 $as_echo "$ac_cv_c_inline" >&6; }
4546 case $ac_cv_c_inline in
4549 case $ac_cv_c_inline in
4551 *) ac_val=$ac_cv_c_inline;;
4553 cat >>confdefs.h <<_ACEOF
4555 #define inline $ac_val
4561 case $ac_cv_c_inline in
4562 inline | yes | no) INLINE='';;
4563 *) INLINE=$ac_cv_c_inline ;;
4566 config_appended_defs="$config_appended_defs${newline}INLINE=${INLINE}"
4568 # which switch to pass runtime path to dynamic libraries to the linker
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker supports -R" >&5
4570 $as_echo_n "checking if linker supports -R... " >&6; }
4571 if ${git_cv_ld_dashr+:} false; then :
4572 $as_echo_n "(cached) " >&6
4575 SAVE_LDFLAGS="${LDFLAGS}"
4576 LDFLAGS="${SAVE_LDFLAGS} -R /"
4577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4588 if ac_fn_c_try_link "$LINENO"; then :
4593 rm -f core conftest.err conftest.$ac_objext \
4594 conftest$ac_exeext conftest.$ac_ext
4595 LDFLAGS="${SAVE_LDFLAGS}"
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $git_cv_ld_dashr" >&5
4599 $as_echo "$git_cv_ld_dashr" >&6; }
4600 if test "$git_cv_ld_dashr" = "yes"; then
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker supports -Wl,-rpath," >&5
4604 $as_echo_n "checking if linker supports -Wl,-rpath,... " >&6; }
4605 if ${git_cv_ld_wl_rpath+:} false; then :
4606 $as_echo_n "(cached) " >&6
4609 SAVE_LDFLAGS="${LDFLAGS}"
4610 LDFLAGS="${SAVE_LDFLAGS} -Wl,-rpath,/"
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4622 if ac_fn_c_try_link "$LINENO"; then :
4623 git_cv_ld_wl_rpath=yes
4625 git_cv_ld_wl_rpath=no
4627 rm -f core conftest.err conftest.$ac_objext \
4628 conftest$ac_exeext conftest.$ac_ext
4629 LDFLAGS="${SAVE_LDFLAGS}"
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $git_cv_ld_wl_rpath" >&5
4633 $as_echo "$git_cv_ld_wl_rpath" >&6; }
4634 if test "$git_cv_ld_wl_rpath" = "yes"; then
4635 CC_LD_DYNPATH=-Wl,-rpath,
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linker supports -rpath" >&5
4638 $as_echo_n "checking if linker supports -rpath... " >&6; }
4639 if ${git_cv_ld_rpath+:} false; then :
4640 $as_echo_n "(cached) " >&6
4643 SAVE_LDFLAGS="${LDFLAGS}"
4644 LDFLAGS="${SAVE_LDFLAGS} -rpath /"
4645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4646 /* end confdefs.h. */
4656 if ac_fn_c_try_link "$LINENO"; then :
4661 rm -f core conftest.err conftest.$ac_objext \
4662 conftest$ac_exeext conftest.$ac_ext
4663 LDFLAGS="${SAVE_LDFLAGS}"
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $git_cv_ld_rpath" >&5
4667 $as_echo "$git_cv_ld_rpath" >&6; }
4668 if test "$git_cv_ld_rpath" = "yes"; then
4669 CC_LD_DYNPATH=-rpath
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: linker does not support runtime path to dynamic libraries" >&5
4673 $as_echo "$as_me: WARNING: linker does not support runtime path to dynamic libraries" >&2;}
4678 config_appended_defs="$config_appended_defs${newline}CC_LD_DYNPATH=${CC_LD_DYNPATH}"
4679 #AC_PROG_INSTALL # needs install-sh or install.sh in sources
4680 if test -n "$ac_tool_prefix"; then
4681 for ac_prog in gar ar
4683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if ${ac_cv_prog_AR+:} false; then :
4688 $as_echo_n "(cached) " >&6
4690 if test -n "$AR"; then
4691 ac_cv_prog_AR="$AR" # Let the user override the test.
4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4697 test -z "$as_dir" && as_dir=.
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4700 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4711 if test -n "$AR"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4713 $as_echo "$AR" >&6; }
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4720 test -n "$AR" && break
4723 if test -z "$AR"; then
4725 for ac_prog in gar ar
4727 # Extract the first word of "$ac_prog", so it can be a program name with args.
4728 set dummy $ac_prog; ac_word=$2
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4730 $as_echo_n "checking for $ac_word... " >&6; }
4731 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4732 $as_echo_n "(cached) " >&6
4734 if test -n "$ac_ct_AR"; then
4735 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741 test -z "$as_dir" && as_dir=.
4742 for ac_exec_ext in '' $ac_executable_extensions; do
4743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4744 ac_cv_prog_ac_ct_AR="$ac_prog"
4745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4754 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4755 if test -n "$ac_ct_AR"; then
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4757 $as_echo "$ac_ct_AR" >&6; }
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760 $as_echo "no" >&6; }
4764 test -n "$ac_ct_AR" && break
4767 if test "x$ac_ct_AR" = x; then
4770 case $cross_compiling:$ac_tool_warned in
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4774 ac_tool_warned=yes ;;
4780 for ac_prog in gtar tar
4782 # Extract the first word of "$ac_prog", so it can be a program name with args.
4783 set dummy $ac_prog; ac_word=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if ${ac_cv_prog_TAR+:} false; then :
4787 $as_echo_n "(cached) " >&6
4789 if test -n "$TAR"; then
4790 ac_cv_prog_TAR="$TAR" # Let the user override the test.
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4799 ac_cv_prog_TAR="$ac_prog"
4800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4810 if test -n "$TAR"; then
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
4812 $as_echo "$TAR" >&6; }
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4819 test -n "$TAR" && break
4822 for ac_prog in gnudiff gdiff diff
4824 # Extract the first word of "$ac_prog", so it can be a program name with args.
4825 set dummy $ac_prog; ac_word=$2
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4827 $as_echo_n "checking for $ac_word... " >&6; }
4828 if ${ac_cv_prog_DIFF+:} false; then :
4829 $as_echo_n "(cached) " >&6
4831 if test -n "$DIFF"; then
4832 ac_cv_prog_DIFF="$DIFF" # Let the user override the test.
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_DIFF="$ac_prog"
4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 DIFF=$ac_cv_prog_DIFF
4852 if test -n "$DIFF"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DIFF" >&5
4854 $as_echo "$DIFF" >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4861 test -n "$DIFF" && break
4864 # TCLTK_PATH will be set to some value if we want Tcl/Tk
4865 # or will be empty otherwise.
4866 if test -n "$NO_TCLTK"; then
4869 if test "$with_tcltk" = ""; then
4870 # No Tcl/Tk switches given. Do not check for Tcl/Tk, use bare 'wish'.
4872 elif test "$with_tcltk" = "yes"; then
4873 # Tcl/Tk check requested.
4876 # Extract the first word of "$ac_prog", so it can be a program name with args.
4877 set dummy $ac_prog; ac_word=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if ${ac_cv_prog_TCLTK_PATH+:} false; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -n "$TCLTK_PATH"; then
4884 ac_cv_prog_TCLTK_PATH="$TCLTK_PATH" # Let the user override the test.
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4890 test -z "$as_dir" && as_dir=.
4891 for ac_exec_ext in '' $ac_executable_extensions; do
4892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4893 ac_cv_prog_TCLTK_PATH="$ac_prog"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4903 TCLTK_PATH=$ac_cv_prog_TCLTK_PATH
4904 if test -n "$TCLTK_PATH"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLTK_PATH" >&5
4906 $as_echo "$TCLTK_PATH" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4913 test -n "$TCLTK_PATH" && break
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Tcl/Tk interpreter $with_tcltk" >&5
4918 $as_echo "Using Tcl/Tk interpreter $with_tcltk" >&6; }
4919 TCLTK_PATH="$with_tcltk"
4923 config_appended_defs="$config_appended_defs${newline}TCLTK_PATH=${TCLTK_PATH}"
4924 for ac_prog in asciidoc
4926 # Extract the first word of "$ac_prog", so it can be a program name with args.
4927 set dummy $ac_prog; ac_word=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_prog_ASCIIDOC+:} false; then :
4931 $as_echo_n "(cached) " >&6
4933 if test -n "$ASCIIDOC"; then
4934 ac_cv_prog_ASCIIDOC="$ASCIIDOC" # Let the user override the test.
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir=.
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_ASCIIDOC="$ac_prog"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 ASCIIDOC=$ac_cv_prog_ASCIIDOC
4954 if test -n "$ASCIIDOC"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
4956 $as_echo "$ASCIIDOC" >&6; }
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4963 test -n "$ASCIIDOC" && break
4966 if test -n "$ASCIIDOC"; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asciidoc version" >&5
4968 $as_echo_n "checking for asciidoc version... " >&6; }
4969 asciidoc_version=`$ASCIIDOC --version 2>/dev
/null
`
4970 case "${asciidoc_version}" in
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${asciidoc_version}" >&5
4973 $as_echo "${asciidoc_version}" >&6; }
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${asciidoc_version} (unknown)" >&5
4977 $as_echo "${asciidoc_version} (unknown)" >&6; }
4983 ## Checks for libraries.
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: CHECKS for libraries" >&5
4985 $as_echo "$as_me: CHECKS for libraries" >&6;}
4987 # Define NO_OPENSSL environment variable if you do not have OpenSSL.
4988 # Define NEEDS_SSL_WITH_CRYPTO if you need -lcrypto with -lssl (Darwin).
4991 if test -n "$OPENSSLDIR"; then
4992 old_CPPFLAGS="$CPPFLAGS"
4993 old_LDFLAGS="$LDFLAGS"
4994 CPPFLAGS="-I$OPENSSLDIR/include $CPPFLAGS"
4995 LDFLAGS="-L$OPENSSLDIR/$lib $LDFLAGS"
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5
5000 $as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
5001 if ${ac_cv_lib_crypto_SHA1_Init+:} false; then :
5002 $as_echo_n "(cached) " >&6
5004 ac_check_lib_save_LIBS=$LIBS
5005 LIBS="-lcrypto $LIBS"
5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5009 /* Override any GCC internal prototype to avoid an error.
5010 Use char because int might match the return type of a GCC
5011 builtin and then its argument prototype would still apply. */
5019 return SHA1_Init ();
5024 if ac_fn_c_try_link "$LINENO"; then :
5025 ac_cv_lib_crypto_SHA1_Init=yes
5027 ac_cv_lib_crypto_SHA1_Init=no
5029 rm -f core conftest.err conftest.$ac_objext \
5030 conftest$ac_exeext conftest.$ac_ext
5031 LIBS=$ac_check_lib_save_LIBS
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
5034 $as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
5035 if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
5036 NEEDS_SSL_WITH_CRYPTO=
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lssl" >&5
5039 $as_echo_n "checking for SHA1_Init in -lssl... " >&6; }
5040 if ${ac_cv_lib_ssl_SHA1_Init+:} false; then :
5041 $as_echo_n "(cached) " >&6
5043 ac_check_lib_save_LIBS=$LIBS
5045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5046 /* end confdefs.h. */
5048 /* Override any GCC internal prototype to avoid an error.
5049 Use char because int might match the return type of a GCC
5050 builtin and then its argument prototype would still apply. */
5058 return SHA1_Init ();
5063 if ac_fn_c_try_link "$LINENO"; then :
5064 ac_cv_lib_ssl_SHA1_Init=yes
5066 ac_cv_lib_ssl_SHA1_Init=no
5068 rm -f core conftest.err conftest.$ac_objext \
5069 conftest$ac_exeext conftest.$ac_ext
5070 LIBS=$ac_check_lib_save_LIBS
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SHA1_Init" >&5
5073 $as_echo "$ac_cv_lib_ssl_SHA1_Init" >&6; }
5074 if test "x$ac_cv_lib_ssl_SHA1_Init" = xyes; then :
5075 NEEDS_SSL_WITH_CRYPTO=YesPlease NO_OPENSSL=
5077 NEEDS_SSL_WITH_CRYPTO= NO_OPENSSL=YesPlease
5084 if test -n "$OPENSSLDIR"; then
5085 CPPFLAGS="$old_CPPFLAGS"
5086 LDFLAGS="$old_LDFLAGS"
5091 config_appended_defs="$config_appended_defs${newline}NEEDS_SSL_WITH_CRYPTO=${NEEDS_SSL_WITH_CRYPTO}"
5093 config_appended_defs="$config_appended_defs${newline}NO_OPENSSL=${NO_OPENSSL}"
5096 # Define USE_LIBPCRE if you have and want to use libpcre. git-grep will be
5097 # able to use Perl-compatible regular expressions.
5100 if test -n "$USE_LIBPCRE"; then
5103 if test -n "$LIBPCREDIR"; then
5104 old_CPPFLAGS="$CPPFLAGS"
5105 old_LDFLAGS="$LDFLAGS"
5106 CPPFLAGS="-I$LIBPCREDIR/include $CPPFLAGS"
5107 LDFLAGS="-L$LIBPCREDIR/$lib $LDFLAGS"
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_version in -lpcre" >&5
5112 $as_echo_n "checking for pcre_version in -lpcre... " >&6; }
5113 if ${ac_cv_lib_pcre_pcre_version+:} false; then :
5114 $as_echo_n "(cached) " >&6
5116 ac_check_lib_save_LIBS=$LIBS
5118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5119 /* end confdefs.h. */
5121 /* Override any GCC internal prototype to avoid an error.
5122 Use char because int might match the return type of a GCC
5123 builtin and then its argument prototype would still apply. */
5127 char pcre_version ();
5131 return pcre_version ();
5136 if ac_fn_c_try_link "$LINENO"; then :
5137 ac_cv_lib_pcre_pcre_version=yes
5139 ac_cv_lib_pcre_pcre_version=no
5141 rm -f core conftest.err conftest.$ac_objext \
5142 conftest$ac_exeext conftest.$ac_ext
5143 LIBS=$ac_check_lib_save_LIBS
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_version" >&5
5146 $as_echo "$ac_cv_lib_pcre_pcre_version" >&6; }
5147 if test "x$ac_cv_lib_pcre_pcre_version" = xyes; then :
5148 USE_LIBPCRE=YesPlease
5155 if test -n "$LIBPCREDIR"; then
5156 CPPFLAGS="$old_CPPFLAGS"
5157 LDFLAGS="$old_LDFLAGS"
5162 config_appended_defs="$config_appended_defs${newline}USE_LIBPCRE=${USE_LIBPCRE}"
5167 # Define NO_CURL if you do not have libcurl installed. git-http-pull and
5168 # git-http-push are not built, and you cannot use http:// and https://
5172 if test -n "$CURLDIR"; then
5173 old_CPPFLAGS="$CPPFLAGS"
5174 old_LDFLAGS="$LDFLAGS"
5175 CPPFLAGS="-I$CURLDIR/include $CPPFLAGS"
5176 LDFLAGS="-L$CURLDIR/$lib $LDFLAGS"
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_global_init in -lcurl" >&5
5181 $as_echo_n "checking for curl_global_init in -lcurl... " >&6; }
5182 if ${ac_cv_lib_curl_curl_global_init+:} false; then :
5183 $as_echo_n "(cached) " >&6
5185 ac_check_lib_save_LIBS=$LIBS
5187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5188 /* end confdefs.h. */
5190 /* Override any GCC internal prototype to avoid an error.
5191 Use char because int might match the return type of a GCC
5192 builtin and then its argument prototype would still apply. */
5196 char curl_global_init ();
5200 return curl_global_init ();
5205 if ac_fn_c_try_link "$LINENO"; then :
5206 ac_cv_lib_curl_curl_global_init=yes
5208 ac_cv_lib_curl_curl_global_init=no
5210 rm -f core conftest.err conftest.$ac_objext \
5211 conftest$ac_exeext conftest.$ac_ext
5212 LIBS=$ac_check_lib_save_LIBS
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_global_init" >&5
5215 $as_echo "$ac_cv_lib_curl_curl_global_init" >&6; }
5216 if test "x$ac_cv_lib_curl_curl_global_init" = xyes; then :
5224 if test -n "$CURLDIR"; then
5225 CPPFLAGS="$old_CPPFLAGS"
5226 LDFLAGS="$old_LDFLAGS"
5231 config_appended_defs="$config_appended_defs${newline}NO_CURL=${NO_CURL}"
5234 # Define NO_EXPAT if you do not have expat installed. git-http-push is
5235 # not built, and you cannot push using http:// and https:// transports.
5238 if test -n "$EXPATDIR"; then
5239 old_CPPFLAGS="$CPPFLAGS"
5240 old_LDFLAGS="$LDFLAGS"
5241 CPPFLAGS="-I$EXPATDIR/include $CPPFLAGS"
5242 LDFLAGS="-L$EXPATDIR/$lib $LDFLAGS"
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
5247 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
5248 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
5249 $as_echo_n "(cached) " >&6
5251 ac_check_lib_save_LIBS=$LIBS
5252 LIBS="-lexpat $LIBS"
5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5256 /* Override any GCC internal prototype to avoid an error.
5257 Use char because int might match the return type of a GCC
5258 builtin and then its argument prototype would still apply. */
5262 char XML_ParserCreate ();
5266 return XML_ParserCreate ();
5271 if ac_fn_c_try_link "$LINENO"; then :
5272 ac_cv_lib_expat_XML_ParserCreate=yes
5274 ac_cv_lib_expat_XML_ParserCreate=no
5276 rm -f core conftest.err conftest.$ac_objext \
5277 conftest$ac_exeext conftest.$ac_ext
5278 LIBS=$ac_check_lib_save_LIBS
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
5281 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
5282 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
5290 if test -n "$EXPATDIR"; then
5291 CPPFLAGS="$old_CPPFLAGS"
5292 LDFLAGS="$old_LDFLAGS"
5297 config_appended_defs="$config_appended_defs${newline}NO_EXPAT=${NO_EXPAT}"
5300 # Define NEEDS_LIBICONV if linking with libc is not enough (Darwin and
5301 # some Solaris installations).
5302 # Define NO_ICONV if neither libc nor libiconv support iconv.
5304 if test -z "$NO_ICONV"; then
5307 if test -n "$ICONVDIR"; then
5308 old_CPPFLAGS="$CPPFLAGS"
5309 old_LDFLAGS="$LDFLAGS"
5310 CPPFLAGS="-I$ICONVDIR/include $CPPFLAGS"
5311 LDFLAGS="-L$ICONVDIR/$lib $LDFLAGS"
5317 if test -n "$ICONVDIR"; then
5318 lib_order="-liconv -lc"
5320 lib_order="-lc -liconv"
5325 for l in $lib_order; do
5326 if test "$l" = "-liconv"; then
5327 NEEDS_LIBICONV=YesPlease
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in $l" >&5
5335 $as_echo_n "checking for iconv in $l... " >&6; }
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5347 if ac_fn_c_try_link "$LINENO"; then :
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5349 $as_echo "yes" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5356 rm -f core conftest.err conftest.$ac_objext \
5357 conftest$ac_exeext conftest.$ac_ext
5365 if test -n "$ICONVDIR"; then
5366 CPPFLAGS="$old_CPPFLAGS"
5367 LDFLAGS="$old_LDFLAGS"
5372 config_appended_defs="$config_appended_defs${newline}NEEDS_LIBICONV=${NEEDS_LIBICONV}"
5374 config_appended_defs="$config_appended_defs${newline}NO_ICONV=${NO_ICONV}"
5376 if test -n "$NO_ICONV"; then
5383 # Define NO_DEFLATE_BOUND if deflateBound is missing from zlib.
5386 if test -n "$ZLIB_PATH"; then
5387 old_CPPFLAGS="$CPPFLAGS"
5388 old_LDFLAGS="$LDFLAGS"
5389 CPPFLAGS="-I$ZLIB_PATH/include $CPPFLAGS"
5390 LDFLAGS="-L$ZLIB_PATH/$lib $LDFLAGS"
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflateBound in -lz" >&5
5396 $as_echo_n "checking for deflateBound in -lz... " >&6; }
5399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5411 if ac_fn_c_try_link "$LINENO"; then :
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5413 $as_echo "yes" >&6; }
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5417 NO_DEFLATE_BOUND=yes
5419 rm -f core conftest.err conftest.$ac_objext \
5420 conftest$ac_exeext conftest.$ac_ext
5424 if test -n "$ZLIB_PATH"; then
5425 CPPFLAGS="$old_CPPFLAGS"
5426 LDFLAGS="$old_LDFLAGS"
5431 config_appended_defs="$config_appended_defs${newline}NO_DEFLATE_BOUND=${NO_DEFLATE_BOUND}"
5434 # Define NEEDS_SOCKET if linking with libc is not enough (SunOS,
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lc" >&5
5437 $as_echo_n "checking for socket in -lc... " >&6; }
5438 if ${ac_cv_lib_c_socket+:} false; then :
5439 $as_echo_n "(cached) " >&6
5441 ac_check_lib_save_LIBS=$LIBS
5443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5444 /* end confdefs.h. */
5446 /* Override any GCC internal prototype to avoid an error.
5447 Use char because int might match the return type of a GCC
5448 builtin and then its argument prototype would still apply. */
5461 if ac_fn_c_try_link "$LINENO"; then :
5462 ac_cv_lib_c_socket=yes
5464 ac_cv_lib_c_socket=no
5466 rm -f core conftest.err conftest.$ac_objext \
5467 conftest$ac_exeext conftest.$ac_ext
5468 LIBS=$ac_check_lib_save_LIBS
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_socket" >&5
5471 $as_echo "$ac_cv_lib_c_socket" >&6; }
5472 if test "x$ac_cv_lib_c_socket" = xyes; then :
5475 NEEDS_SOCKET=YesPlease
5479 config_appended_defs="$config_appended_defs${newline}NEEDS_SOCKET=${NEEDS_SOCKET}"
5480 test -n "$NEEDS_SOCKET" && LIBS="$LIBS -lsocket"
5483 # The next few tests will define NEEDS_RESOLV if linking with
5484 # libresolv provides some of the functions we would normally get
5488 # Define NO_INET_NTOP if linking with -lresolv is not enough.
5489 # Solaris 2.7 in particular hos inet_ntop in -lresolv.
5491 ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
5492 if test "x$ac_cv_func_inet_ntop" = xyes; then :
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntop in -lresolv" >&5
5496 $as_echo_n "checking for inet_ntop in -lresolv... " >&6; }
5497 if ${ac_cv_lib_resolv_inet_ntop+:} false; then :
5498 $as_echo_n "(cached) " >&6
5500 ac_check_lib_save_LIBS=$LIBS
5501 LIBS="-lresolv $LIBS"
5502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5503 /* end confdefs.h. */
5505 /* Override any GCC internal prototype to avoid an error.
5506 Use char because int might match the return type of a GCC
5507 builtin and then its argument prototype would still apply. */
5515 return inet_ntop ();
5520 if ac_fn_c_try_link "$LINENO"; then :
5521 ac_cv_lib_resolv_inet_ntop=yes
5523 ac_cv_lib_resolv_inet_ntop=no
5525 rm -f core conftest.err conftest.$ac_objext \
5526 conftest$ac_exeext conftest.$ac_ext
5527 LIBS=$ac_check_lib_save_LIBS
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_ntop" >&5
5530 $as_echo "$ac_cv_lib_resolv_inet_ntop" >&6; }
5531 if test "x$ac_cv_lib_resolv_inet_ntop" = xyes; then :
5532 NEEDS_RESOLV=YesPlease
5534 NO_INET_NTOP=YesPlease
5541 config_appended_defs="$config_appended_defs${newline}NO_INET_NTOP=${NO_INET_NTOP}"
5543 # Define NO_INET_PTON if linking with -lresolv is not enough.
5544 # Solaris 2.7 in particular hos inet_pton in -lresolv.
5546 ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton"
5547 if test "x$ac_cv_func_inet_pton" = xyes; then :
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_pton in -lresolv" >&5
5551 $as_echo_n "checking for inet_pton in -lresolv... " >&6; }
5552 if ${ac_cv_lib_resolv_inet_pton+:} false; then :
5553 $as_echo_n "(cached) " >&6
5555 ac_check_lib_save_LIBS=$LIBS
5556 LIBS="-lresolv $LIBS"
5557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5558 /* end confdefs.h. */
5560 /* Override any GCC internal prototype to avoid an error.
5561 Use char because int might match the return type of a GCC
5562 builtin and then its argument prototype would still apply. */
5570 return inet_pton ();
5575 if ac_fn_c_try_link "$LINENO"; then :
5576 ac_cv_lib_resolv_inet_pton=yes
5578 ac_cv_lib_resolv_inet_pton=no
5580 rm -f core conftest.err conftest.$ac_objext \
5581 conftest$ac_exeext conftest.$ac_ext
5582 LIBS=$ac_check_lib_save_LIBS
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_pton" >&5
5585 $as_echo "$ac_cv_lib_resolv_inet_pton" >&6; }
5586 if test "x$ac_cv_lib_resolv_inet_pton" = xyes; then :
5587 NEEDS_RESOLV=YesPlease
5589 NO_INET_PTON=YesPlease
5596 config_appended_defs="$config_appended_defs${newline}NO_INET_PTON=${NO_INET_PTON}"
5598 # Define NO_HSTRERROR if linking with -lresolv is not enough.
5599 # Solaris 2.6 in particular has no hstrerror, even in -lresolv.
5601 ac_fn_c_check_func "$LINENO" "hstrerror" "ac_cv_func_hstrerror"
5602 if test "x$ac_cv_func_hstrerror" = xyes; then :
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror in -lresolv" >&5
5606 $as_echo_n "checking for hstrerror in -lresolv... " >&6; }
5607 if ${ac_cv_lib_resolv_hstrerror+:} false; then :
5608 $as_echo_n "(cached) " >&6
5610 ac_check_lib_save_LIBS=$LIBS
5611 LIBS="-lresolv $LIBS"
5612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5613 /* end confdefs.h. */
5615 /* Override any GCC internal prototype to avoid an error.
5616 Use char because int might match the return type of a GCC
5617 builtin and then its argument prototype would still apply. */
5625 return hstrerror ();
5630 if ac_fn_c_try_link "$LINENO"; then :
5631 ac_cv_lib_resolv_hstrerror=yes
5633 ac_cv_lib_resolv_hstrerror=no
5635 rm -f core conftest.err conftest.$ac_objext \
5636 conftest$ac_exeext conftest.$ac_ext
5637 LIBS=$ac_check_lib_save_LIBS
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_hstrerror" >&5
5640 $as_echo "$ac_cv_lib_resolv_hstrerror" >&6; }
5641 if test "x$ac_cv_lib_resolv_hstrerror" = xyes; then :
5642 NEEDS_RESOLV=YesPlease
5644 NO_HSTRERROR=YesPlease
5651 config_appended_defs="$config_appended_defs${newline}NO_HSTRERROR=${NO_HSTRERROR}"
5654 config_appended_defs="$config_appended_defs${newline}NEEDS_RESOLV=${NEEDS_RESOLV}"
5656 # If any of the above tests determined that -lresolv is needed at
5657 # build-time, also set it here for remaining configure-time checks.
5658 test -n "$NEEDS_RESOLV" && LIBS="$LIBS -lresolv"
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basename in -lc" >&5
5661 $as_echo_n "checking for basename in -lc... " >&6; }
5662 if ${ac_cv_lib_c_basename+:} false; then :
5663 $as_echo_n "(cached) " >&6
5665 ac_check_lib_save_LIBS=$LIBS
5667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5670 /* Override any GCC internal prototype to avoid an error.
5671 Use char because int might match the return type of a GCC
5672 builtin and then its argument prototype would still apply. */
5685 if ac_fn_c_try_link "$LINENO"; then :
5686 ac_cv_lib_c_basename=yes
5688 ac_cv_lib_c_basename=no
5690 rm -f core conftest.err conftest.$ac_objext \
5691 conftest$ac_exeext conftest.$ac_ext
5692 LIBS=$ac_check_lib_save_LIBS
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_basename" >&5
5695 $as_echo "$ac_cv_lib_c_basename" >&6; }
5696 if test "x$ac_cv_lib_c_basename" = xyes; then :
5699 NEEDS_LIBGEN=YesPlease
5703 config_appended_defs="$config_appended_defs${newline}NEEDS_LIBGEN=${NEEDS_LIBGEN}"
5704 test -n "$NEEDS_LIBGEN" && LIBS="$LIBS -lgen"
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lc" >&5
5707 $as_echo_n "checking for gettext in -lc... " >&6; }
5708 if ${ac_cv_lib_c_gettext+:} false; then :
5709 $as_echo_n "(cached) " >&6
5711 ac_check_lib_save_LIBS=$LIBS
5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5714 /* end confdefs.h. */
5716 /* Override any GCC internal prototype to avoid an error.
5717 Use char because int might match the return type of a GCC
5718 builtin and then its argument prototype would still apply. */
5731 if ac_fn_c_try_link "$LINENO"; then :
5732 ac_cv_lib_c_gettext=yes
5734 ac_cv_lib_c_gettext=no
5736 rm -f core conftest.err conftest.$ac_objext \
5737 conftest$ac_exeext conftest.$ac_ext
5738 LIBS=$ac_check_lib_save_LIBS
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettext" >&5
5741 $as_echo "$ac_cv_lib_c_gettext" >&6; }
5742 if test "x$ac_cv_lib_c_gettext" = xyes; then :
5743 LIBC_CONTAINS_LIBINTL=YesPlease
5745 LIBC_CONTAINS_LIBINTL=
5749 config_appended_defs="$config_appended_defs${newline}LIBC_CONTAINS_LIBINTL=${LIBC_CONTAINS_LIBINTL}"
5752 # Define NO_GETTEXT if you don't want Git output to be translated.
5753 # A translated Git requires GNU libintl or another gettext implementation
5754 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5755 if test "x$ac_cv_header_libintl_h" = xyes; then :
5758 NO_GETTEXT=YesPlease
5763 config_appended_defs="$config_appended_defs${newline}NO_GETTEXT=${NO_GETTEXT}"
5765 if test -z "$NO_GETTEXT"; then
5766 test -n "$LIBC_CONTAINS_LIBINTL" || LIBS="$LIBS -lintl"
5769 ## Checks for header files.
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: CHECKS for header files" >&5
5771 $as_echo "$as_me: CHECKS for header files" >&6;}
5773 # Define NO_SYS_SELECT_H if you don't have sys/select.h.
5774 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
5775 if test "x$ac_cv_header_sys_select_h" = xyes; then :
5778 NO_SYS_SELECT_H=UnfortunatelyYes
5783 config_appended_defs="$config_appended_defs${newline}NO_SYS_SELECT_H=${NO_SYS_SELECT_H}"
5785 # Define NO_SYS_POLL_H if you don't have sys/poll.h
5786 ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
5787 if test "x$ac_cv_header_sys_poll_h" = xyes; then :
5790 NO_SYS_POLL_H=UnfortunatelyYes
5795 config_appended_defs="$config_appended_defs${newline}NO_SYS_POLL_H=${NO_SYS_POLL_H}"
5797 # Define NO_INTTYPES_H if you don't have inttypes.h
5798 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
5799 if test "x$ac_cv_header_inttypes_h" = xyes; then :
5802 NO_INTTYPES_H=UnfortunatelyYes
5807 config_appended_defs="$config_appended_defs${newline}NO_INTTYPES_H=${NO_INTTYPES_H}"
5809 # Define OLD_ICONV if your library has an old iconv(), where the second
5810 # (input buffer pointer) parameter is declared with type (const char **).
5814 if test -n "$ICONVDIR"; then
5815 old_CPPFLAGS="$CPPFLAGS"
5816 old_LDFLAGS="$LDFLAGS"
5817 CPPFLAGS="-I$ICONVDIR/include $CPPFLAGS"
5818 LDFLAGS="-L$ICONVDIR/$lib $LDFLAGS"
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for old iconv()" >&5
5823 $as_echo_n "checking for old iconv()... " >&6; }
5824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5830 extern size_t iconv(iconv_t cd,
5831 char **inbuf, size_t *inbytesleft,
5832 char **outbuf, size_t *outbytesleft);
5842 if ac_fn_c_try_compile "$LINENO"; then :
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5847 $as_echo "yes" >&6; }
5848 OLD_ICONV=UnfortunatelyYes
5850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5853 if test -n "$ICONVDIR"; then
5854 CPPFLAGS="$old_CPPFLAGS"
5855 LDFLAGS="$old_LDFLAGS"
5860 config_appended_defs="$config_appended_defs${newline}OLD_ICONV=${OLD_ICONV}"
5862 ## Checks for typedefs, structures, and compiler characteristics.
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: CHECKS for typedefs, structures, and compiler characteristics" >&5
5864 $as_echo "$as_me: CHECKS for typedefs, structures, and compiler characteristics" >&6;}
5867 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
5868 #include <sys/socket.h>
5870 if test "x$ac_cv_type_socklen_t" = xyes; then :
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
5875 $as_echo_n "checking for socklen_t equivalent... " >&6; }
5876 if ${git_cv_socklen_t_equiv+:} false; then :
5877 $as_echo_n "(cached) " >&6
5880 # Systems have either "struct sockaddr *" or
5881 # "void *" as the second argument to getpeername
5882 git_cv_socklen_t_equiv=
5883 for arg2 in "struct sockaddr" void; do
5884 for t in int size_t unsigned long "unsigned long"; do
5885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5886 /* end confdefs.h. */
5888 #include <sys/types.h>
5889 #include <sys/socket.h>
5891 int getpeername (int, $arg2 *, $t *);
5898 getpeername(0,0,&len);
5904 if ac_fn_c_try_compile "$LINENO"; then :
5906 git_cv_socklen_t_equiv="$t"
5910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5914 if test "x$git_cv_socklen_t_equiv" = x; then
5915 as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $git_cv_socklen_t_equiv" >&5
5921 $as_echo "$git_cv_socklen_t_equiv" >&6; }
5923 cat >>confdefs.h <<_ACEOF
5924 #define socklen_t $git_cv_socklen_t_equiv
5930 case $ac_cv_type_socklen_t in
5932 *) SOCKLEN_T=$git_cv_socklen_t_equiv;;
5935 config_appended_defs="$config_appended_defs${newline}SOCKLEN_T=${SOCKLEN_T}"
5937 # Define NO_D_INO_IN_DIRENT if you don't have d_ino in your struct dirent.
5938 ac_fn_c_check_member "$LINENO" "struct dirent" "d_ino" "ac_cv_member_struct_dirent_d_ino" "#include <dirent.h>
5940 if test "x$ac_cv_member_struct_dirent_d_ino" = xyes; then :
5943 NO_D_INO_IN_DIRENT=YesPlease
5947 config_appended_defs="$config_appended_defs${newline}NO_D_INO_IN_DIRENT=${NO_D_INO_IN_DIRENT}"
5949 # Define NO_D_TYPE_IN_DIRENT if your platform defines DT_UNKNOWN but lacks
5950 # d_type in struct dirent (latest Cygwin -- will be fixed soonish).
5951 ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "#include <dirent.h>
5953 if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
5954 NO_D_TYPE_IN_DIRENT=
5956 NO_D_TYPE_IN_DIRENT=YesPlease
5960 config_appended_defs="$config_appended_defs${newline}NO_D_TYPE_IN_DIRENT=${NO_D_TYPE_IN_DIRENT}"
5962 # Define NO_GECOS_IN_PWENT if you don't have pw_gecos in struct passwd
5964 ac_fn_c_check_member "$LINENO" "struct passwd" "pw_gecos" "ac_cv_member_struct_passwd_pw_gecos" "#include <pwd.h>
5966 if test "x$ac_cv_member_struct_passwd_pw_gecos" = xyes; then :
5969 NO_GECOS_IN_PWENT=YesPlease
5973 config_appended_defs="$config_appended_defs${newline}NO_GECOS_IN_PWENT=${NO_GECOS_IN_PWENT}"
5975 # Define NO_SOCKADDR_STORAGE if your platform does not have struct
5977 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
5978 #include <sys/types.h>
5979 #include <sys/socket.h>
5982 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
5983 NO_SOCKADDR_STORAGE=
5985 NO_SOCKADDR_STORAGE=YesPlease
5989 config_appended_defs="$config_appended_defs${newline}NO_SOCKADDR_STORAGE=${NO_SOCKADDR_STORAGE}"
5991 # Define NO_IPV6 if you lack IPv6 support and getaddrinfo().
5992 ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "
5993 #include <sys/types.h>
5994 #include <sys/socket.h>
5998 if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
6000 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
6001 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
6004 $as_echo_n "checking for library containing getaddrinfo... " >&6; }
6005 if ${ac_cv_search_getaddrinfo+:} false; then :
6006 $as_echo_n "(cached) " >&6
6008 ac_func_search_save_LIBS=$LIBS
6009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6012 /* Override any GCC internal prototype to avoid an error.
6013 Use char because int might match the return type of a GCC
6014 builtin and then its argument prototype would still apply. */
6018 char getaddrinfo ();
6022 return getaddrinfo ();
6027 for ac_lib in '' ; do
6028 if test -z "$ac_lib"; then
6029 ac_res="none required"
6032 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6034 if ac_fn_c_try_link "$LINENO"; then :
6035 ac_cv_search_getaddrinfo=$ac_res
6037 rm -f core conftest.err conftest.$ac_objext \
6039 if ${ac_cv_search_getaddrinfo+:} false; then :
6043 if ${ac_cv_search_getaddrinfo+:} false; then :
6046 ac_cv_search_getaddrinfo=no
6049 LIBS=$ac_func_search_save_LIBS
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
6052 $as_echo "$ac_cv_search_getaddrinfo" >&6; }
6053 ac_res=$ac_cv_search_getaddrinfo
6054 if test "$ac_res" != no; then :
6055 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6072 config_appended_defs="$config_appended_defs${newline}NO_IPV6=${NO_IPV6}"
6074 # Define NO_REGEX if you have no or inferior regex support in your C library.
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the platform regex can handle null bytes" >&5
6076 $as_echo_n "checking whether the platform regex can handle null bytes... " >&6; }
6077 if ${ac_cv_c_excellent_regex+:} false; then :
6078 $as_echo_n "(cached) " >&6
6081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6082 /* end confdefs.h. */
6083 $ac_includes_default
6097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6098 $EGREP "yippeeyeswehaveit" >/dev/null 2>&1; then :
6099 ac_cv_c_excellent_regex=yes
6101 ac_cv_c_excellent_regex=no
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_excellent_regex" >&5
6108 $as_echo "$ac_cv_c_excellent_regex" >&6; }
6109 if test $ac_cv_c_excellent_regex = yes; then
6115 config_appended_defs="$config_appended_defs${newline}NO_REGEX=${NO_REGEX}"
6117 # Define FREAD_READS_DIRECTORIES if your are on a system which succeeds
6118 # when attempting to read from an fopen'ed directory.
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system succeeds to read fopen'ed directory" >&5
6120 $as_echo_n "checking whether system succeeds to read fopen'ed directory... " >&6; }
6121 if ${ac_cv_fread_reads_directories+:} false; then :
6122 $as_echo_n "(cached) " >&6
6125 if test "$cross_compiling" = yes; then :
6126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6128 as_fn_error $? "cannot run
test program
while cross compiling
6129 See \
`config.log' for more details" "$LINENO" 5; }
6131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6132 /* end confdefs.h. */
6133 $ac_includes_default
6138 FILE *f = fopen(".", "r");
6139 return f && fread(&c, 1, 1, f)
6144 if ac_fn_c_try_run "$LINENO"; then :
6145 ac_cv_fread_reads_directories=no
6147 ac_cv_fread_reads_directories=yes
6149 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6150 conftest.$ac_objext conftest.beam conftest.$ac_ext
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fread_reads_directories" >&5
6156 $as_echo "$ac_cv_fread_reads_directories" >&6; }
6157 if test $ac_cv_fread_reads_directories = yes; then
6158 FREAD_READS_DIRECTORIES=UnfortunatelyYes
6160 FREAD_READS_DIRECTORIES=
6163 config_appended_defs="$config_appended_defs${newline}FREAD_READS_DIRECTORIES=${FREAD_READS_DIRECTORIES}"
6165 # Define SNPRINTF_RETURNS_BOGUS if your are on a system which snprintf()
6166 # or vsnprintf() return -1 instead of number of characters which would
6167 # have been written to the final string if enough space had been available.
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf() and/or vsnprintf() return bogus value" >&5
6169 $as_echo_n "checking whether snprintf() and/or vsnprintf() return bogus value... " >&6; }
6170 if ${ac_cv_snprintf_returns_bogus+:} false; then :
6171 $as_echo_n "(cached) " >&6
6174 if test "$cross_compiling" = yes; then :
6175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6177 as_fn_error $? "cannot run
test program
while cross compiling
6178 See \
`config.log' for more details" "$LINENO" 5; }
6180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6182 $ac_includes_default
6185 int test_vsnprintf(char *str, size_t maxsize, const char *format, ...)
6189 va_start(ap, format);
6190 ret = vsnprintf(str, maxsize, format, ap);
6198 if (test_vsnprintf(buf, 3, "%s", "12345") != 5
6199 || strcmp(buf, "12")) return 1;
6200 if (snprintf(buf, 3, "%s", "12345") != 5
6201 || strcmp(buf, "12")) return 1
6206 if ac_fn_c_try_run "$LINENO"; then :
6207 ac_cv_snprintf_returns_bogus=no
6209 ac_cv_snprintf_returns_bogus=yes
6211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6212 conftest.$ac_objext conftest.beam conftest.$ac_ext
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_snprintf_returns_bogus" >&5
6218 $as_echo "$ac_cv_snprintf_returns_bogus" >&6; }
6219 if test $ac_cv_snprintf_returns_bogus = yes; then
6220 SNPRINTF_RETURNS_BOGUS=UnfortunatelyYes
6222 SNPRINTF_RETURNS_BOGUS=
6225 config_appended_defs="$config_appended_defs${newline}SNPRINTF_RETURNS_BOGUS=${SNPRINTF_RETURNS_BOGUS}"
6228 ## Checks for library functions.
6229 ## (in default C library and libraries checked by AC_CHECK_LIB)
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: CHECKS for library functions" >&5
6231 $as_echo "$as_me: CHECKS for library functions" >&6;}
6233 # Define NO_LIBGEN_H if you don't have libgen.h.
6234 ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default"
6235 if test "x$ac_cv_header_libgen_h" = xyes; then :
6238 NO_LIBGEN_H=YesPlease
6243 config_appended_defs="$config_appended_defs${newline}NO_LIBGEN_H=${NO_LIBGEN_H}"
6245 # Define HAVE_PATHS_H if you have paths.h.
6246 ac_fn_c_check_header_mongrel "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default"
6247 if test "x$ac_cv_header_paths_h" = xyes; then :
6248 HAVE_PATHS_H=YesPlease
6255 config_appended_defs="$config_appended_defs${newline}HAVE_PATHS_H=${HAVE_PATHS_H}"
6257 # Define HAVE_LIBCHARSET_H if have libcharset.h
6258 ac_fn_c_check_header_mongrel "$LINENO" "libcharset.h" "ac_cv_header_libcharset_h" "$ac_includes_default"
6259 if test "x$ac_cv_header_libcharset_h" = xyes; then :
6260 HAVE_LIBCHARSET_H=YesPlease
6267 config_appended_defs="$config_appended_defs${newline}HAVE_LIBCHARSET_H=${HAVE_LIBCHARSET_H}"
6269 # Define HAVE_STRINGS_H if you have strings.h
6270 ac_fn_c_check_header_mongrel "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
6271 if test "x$ac_cv_header_strings_h" = xyes; then :
6272 HAVE_STRINGS_H=YesPlease
6279 config_appended_defs="$config_appended_defs${newline}HAVE_STRINGS_H=${HAVE_STRINGS_H}"
6280 # Define CHARSET_LIB if libiconv does not export the locale_charset symbol
6281 # and libcharset does
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locale_charset in -liconv" >&5
6284 $as_echo_n "checking for locale_charset in -liconv... " >&6; }
6285 if ${ac_cv_lib_iconv_locale_charset+:} false; then :
6286 $as_echo_n "(cached) " >&6
6288 ac_check_lib_save_LIBS=$LIBS
6289 LIBS="-liconv $LIBS"
6290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h. */
6293 /* Override any GCC internal prototype to avoid an error.
6294 Use char because int might match the return type of a GCC
6295 builtin and then its argument prototype would still apply. */
6299 char locale_charset ();
6303 return locale_charset ();
6308 if ac_fn_c_try_link "$LINENO"; then :
6309 ac_cv_lib_iconv_locale_charset=yes
6311 ac_cv_lib_iconv_locale_charset=no
6313 rm -f core conftest.err conftest.$ac_objext \
6314 conftest$ac_exeext conftest.$ac_ext
6315 LIBS=$ac_check_lib_save_LIBS
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_locale_charset" >&5
6318 $as_echo "$ac_cv_lib_iconv_locale_charset" >&6; }
6319 if test "x$ac_cv_lib_iconv_locale_charset" = xyes; then :
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locale_charset in -lcharset" >&5
6323 $as_echo_n "checking for locale_charset in -lcharset... " >&6; }
6324 if ${ac_cv_lib_charset_locale_charset+:} false; then :
6325 $as_echo_n "(cached) " >&6
6327 ac_check_lib_save_LIBS=$LIBS
6328 LIBS="-lcharset $LIBS"
6329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6330 /* end confdefs.h. */
6332 /* Override any GCC internal prototype to avoid an error.
6333 Use char because int might match the return type of a GCC
6334 builtin and then its argument prototype would still apply. */
6338 char locale_charset ();
6342 return locale_charset ();
6347 if ac_fn_c_try_link "$LINENO"; then :
6348 ac_cv_lib_charset_locale_charset=yes
6350 ac_cv_lib_charset_locale_charset=no
6352 rm -f core conftest.err conftest.$ac_objext \
6353 conftest$ac_exeext conftest.$ac_ext
6354 LIBS=$ac_check_lib_save_LIBS
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_charset_locale_charset" >&5
6357 $as_echo "$ac_cv_lib_charset_locale_charset" >&6; }
6358 if test "x$ac_cv_lib_charset_locale_charset" = xyes; then :
6359 CHARSET_LIB=-lcharset
6365 config_appended_defs="$config_appended_defs${newline}CHARSET_LIB=${CHARSET_LIB}"
6367 # Define NO_STRCASESTR if you don't have strcasestr.
6368 ac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr"
6369 if test "x$ac_cv_func_strcasestr" = xyes; then :
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strcasestr" >&5
6372 $as_echo_n "checking for library containing strcasestr... " >&6; }
6373 if ${ac_cv_search_strcasestr+:} false; then :
6374 $as_echo_n "(cached) " >&6
6376 ac_func_search_save_LIBS=$LIBS
6377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6380 /* Override any GCC internal prototype to avoid an error.
6381 Use char because int might match the return type of a GCC
6382 builtin and then its argument prototype would still apply. */
6390 return strcasestr ();
6395 for ac_lib in '' ; do
6396 if test -z "$ac_lib"; then
6397 ac_res="none required"
6400 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6402 if ac_fn_c_try_link "$LINENO"; then :
6403 ac_cv_search_strcasestr=$ac_res
6405 rm -f core conftest.err conftest.$ac_objext \
6407 if ${ac_cv_search_strcasestr+:} false; then :
6411 if ${ac_cv_search_strcasestr+:} false; then :
6414 ac_cv_search_strcasestr=no
6417 LIBS=$ac_func_search_save_LIBS
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strcasestr" >&5
6420 $as_echo "$ac_cv_search_strcasestr" >&6; }
6421 ac_res=$ac_cv_search_strcasestr
6422 if test "$ac_res" != no; then :
6423 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6426 NO_STRCASESTR=YesPlease
6431 NO_STRCASESTR=YesPlease
6435 config_appended_defs="$config_appended_defs${newline}NO_STRCASESTR=${NO_STRCASESTR}"
6437 # Define NO_MEMMEM if you don't have memmem.
6438 ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem"
6439 if test "x$ac_cv_func_memmem" = xyes; then :
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing memmem" >&5
6442 $as_echo_n "checking for library containing memmem... " >&6; }
6443 if ${ac_cv_search_memmem+:} false; then :
6444 $as_echo_n "(cached) " >&6
6446 ac_func_search_save_LIBS=$LIBS
6447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6450 /* Override any GCC internal prototype to avoid an error.
6451 Use char because int might match the return type of a GCC
6452 builtin and then its argument prototype would still apply. */
6465 for ac_lib in '' ; do
6466 if test -z "$ac_lib"; then
6467 ac_res="none required"
6470 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6472 if ac_fn_c_try_link "$LINENO"; then :
6473 ac_cv_search_memmem=$ac_res
6475 rm -f core conftest.err conftest.$ac_objext \
6477 if ${ac_cv_search_memmem+:} false; then :
6481 if ${ac_cv_search_memmem+:} false; then :
6484 ac_cv_search_memmem=no
6487 LIBS=$ac_func_search_save_LIBS
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_memmem" >&5
6490 $as_echo "$ac_cv_search_memmem" >&6; }
6491 ac_res=$ac_cv_search_memmem
6492 if test "$ac_res" != no; then :
6493 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6505 config_appended_defs="$config_appended_defs${newline}NO_MEMMEM=${NO_MEMMEM}"
6507 # Define NO_STRLCPY if you don't have strlcpy.
6508 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
6509 if test "x$ac_cv_func_strlcpy" = xyes; then :
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strlcpy" >&5
6512 $as_echo_n "checking for library containing strlcpy... " >&6; }
6513 if ${ac_cv_search_strlcpy+:} false; then :
6514 $as_echo_n "(cached) " >&6
6516 ac_func_search_save_LIBS=$LIBS
6517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6518 /* end confdefs.h. */
6520 /* Override any GCC internal prototype to avoid an error.
6521 Use char because int might match the return type of a GCC
6522 builtin and then its argument prototype would still apply. */
6535 for ac_lib in '' ; do
6536 if test -z "$ac_lib"; then
6537 ac_res="none required"
6540 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6542 if ac_fn_c_try_link "$LINENO"; then :
6543 ac_cv_search_strlcpy=$ac_res
6545 rm -f core conftest.err conftest.$ac_objext \
6547 if ${ac_cv_search_strlcpy+:} false; then :
6551 if ${ac_cv_search_strlcpy+:} false; then :
6554 ac_cv_search_strlcpy=no
6557 LIBS=$ac_func_search_save_LIBS
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strlcpy" >&5
6560 $as_echo "$ac_cv_search_strlcpy" >&6; }
6561 ac_res=$ac_cv_search_strlcpy
6562 if test "$ac_res" != no; then :
6563 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6566 NO_STRLCPY=YesPlease
6571 NO_STRLCPY=YesPlease
6575 config_appended_defs="$config_appended_defs${newline}NO_STRLCPY=${NO_STRLCPY}"
6577 # Define NO_UINTMAX_T if your platform does not have uintmax_t
6578 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "
6579 #include <inttypes.h>
6582 if test "x$ac_cv_type_uintmax_t" = xyes; then :
6585 NO_UINTMAX_T=YesPlease
6589 config_appended_defs="$config_appended_defs${newline}NO_UINTMAX_T=${NO_UINTMAX_T}"
6591 # Define NO_STRTOUMAX if you don't have strtoumax in the C library.
6592 ac_fn_c_check_func "$LINENO" "strtoumax" "ac_cv_func_strtoumax"
6593 if test "x$ac_cv_func_strtoumax" = xyes; then :
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strtoumax" >&5
6596 $as_echo_n "checking for library containing strtoumax... " >&6; }
6597 if ${ac_cv_search_strtoumax+:} false; then :
6598 $as_echo_n "(cached) " >&6
6600 ac_func_search_save_LIBS=$LIBS
6601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6604 /* Override any GCC internal prototype to avoid an error.
6605 Use char because int might match the return type of a GCC
6606 builtin and then its argument prototype would still apply. */
6614 return strtoumax ();
6619 for ac_lib in '' ; do
6620 if test -z "$ac_lib"; then
6621 ac_res="none required"
6624 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6626 if ac_fn_c_try_link "$LINENO"; then :
6627 ac_cv_search_strtoumax=$ac_res
6629 rm -f core conftest.err conftest.$ac_objext \
6631 if ${ac_cv_search_strtoumax+:} false; then :
6635 if ${ac_cv_search_strtoumax+:} false; then :
6638 ac_cv_search_strtoumax=no
6641 LIBS=$ac_func_search_save_LIBS
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strtoumax" >&5
6644 $as_echo "$ac_cv_search_strtoumax" >&6; }
6645 ac_res=$ac_cv_search_strtoumax
6646 if test "$ac_res" != no; then :
6647 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6650 NO_STRTOUMAX=YesPlease
6655 NO_STRTOUMAX=YesPlease
6659 config_appended_defs="$config_appended_defs${newline}NO_STRTOUMAX=${NO_STRTOUMAX}"
6661 # Define NO_SETENV if you don't have setenv in the C library.
6662 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
6663 if test "x$ac_cv_func_setenv" = xyes; then :
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setenv" >&5
6666 $as_echo_n "checking for library containing setenv... " >&6; }
6667 if ${ac_cv_search_setenv+:} false; then :
6668 $as_echo_n "(cached) " >&6
6670 ac_func_search_save_LIBS=$LIBS
6671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6672 /* end confdefs.h. */
6674 /* Override any GCC internal prototype to avoid an error.
6675 Use char because int might match the return type of a GCC
6676 builtin and then its argument prototype would still apply. */
6689 for ac_lib in '' ; do
6690 if test -z "$ac_lib"; then
6691 ac_res="none required"
6694 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6696 if ac_fn_c_try_link "$LINENO"; then :
6697 ac_cv_search_setenv=$ac_res
6699 rm -f core conftest.err conftest.$ac_objext \
6701 if ${ac_cv_search_setenv+:} false; then :
6705 if ${ac_cv_search_setenv+:} false; then :
6708 ac_cv_search_setenv=no
6711 LIBS=$ac_func_search_save_LIBS
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setenv" >&5
6714 $as_echo "$ac_cv_search_setenv" >&6; }
6715 ac_res=$ac_cv_search_setenv
6716 if test "$ac_res" != no; then :
6717 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6729 config_appended_defs="$config_appended_defs${newline}NO_SETENV=${NO_SETENV}"
6731 # Define NO_UNSETENV if you don't have unsetenv in the C library.
6732 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
6733 if test "x$ac_cv_func_unsetenv" = xyes; then :
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing unsetenv" >&5
6736 $as_echo_n "checking for library containing unsetenv... " >&6; }
6737 if ${ac_cv_search_unsetenv+:} false; then :
6738 $as_echo_n "(cached) " >&6
6740 ac_func_search_save_LIBS=$LIBS
6741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6744 /* Override any GCC internal prototype to avoid an error.
6745 Use char because int might match the return type of a GCC
6746 builtin and then its argument prototype would still apply. */
6759 for ac_lib in '' ; do
6760 if test -z "$ac_lib"; then
6761 ac_res="none required"
6764 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6766 if ac_fn_c_try_link "$LINENO"; then :
6767 ac_cv_search_unsetenv=$ac_res
6769 rm -f core conftest.err conftest.$ac_objext \
6771 if ${ac_cv_search_unsetenv+:} false; then :
6775 if ${ac_cv_search_unsetenv+:} false; then :
6778 ac_cv_search_unsetenv=no
6781 LIBS=$ac_func_search_save_LIBS
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_unsetenv" >&5
6784 $as_echo "$ac_cv_search_unsetenv" >&6; }
6785 ac_res=$ac_cv_search_unsetenv
6786 if test "$ac_res" != no; then :
6787 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6790 NO_UNSETENV=YesPlease
6795 NO_UNSETENV=YesPlease
6799 config_appended_defs="$config_appended_defs${newline}NO_UNSETENV=${NO_UNSETENV}"
6801 # Define NO_MKDTEMP if you don't have mkdtemp in the C library.
6802 ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
6803 if test "x$ac_cv_func_mkdtemp" = xyes; then :
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mkdtemp" >&5
6806 $as_echo_n "checking for library containing mkdtemp... " >&6; }
6807 if ${ac_cv_search_mkdtemp+:} false; then :
6808 $as_echo_n "(cached) " >&6
6810 ac_func_search_save_LIBS=$LIBS
6811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6812 /* end confdefs.h. */
6814 /* Override any GCC internal prototype to avoid an error.
6815 Use char because int might match the return type of a GCC
6816 builtin and then its argument prototype would still apply. */
6829 for ac_lib in '' ; do
6830 if test -z "$ac_lib"; then
6831 ac_res="none required"
6834 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6836 if ac_fn_c_try_link "$LINENO"; then :
6837 ac_cv_search_mkdtemp=$ac_res
6839 rm -f core conftest.err conftest.$ac_objext \
6841 if ${ac_cv_search_mkdtemp+:} false; then :
6845 if ${ac_cv_search_mkdtemp+:} false; then :
6848 ac_cv_search_mkdtemp=no
6851 LIBS=$ac_func_search_save_LIBS
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mkdtemp" >&5
6854 $as_echo "$ac_cv_search_mkdtemp" >&6; }
6855 ac_res=$ac_cv_search_mkdtemp
6856 if test "$ac_res" != no; then :
6857 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6860 NO_MKDTEMP=YesPlease
6865 NO_MKDTEMP=YesPlease
6869 config_appended_defs="$config_appended_defs${newline}NO_MKDTEMP=${NO_MKDTEMP}"
6871 # Define NO_MKSTEMPS if you don't have mkstemps in the C library.
6872 ac_fn_c_check_func "$LINENO" "mkstemps" "ac_cv_func_mkstemps"
6873 if test "x$ac_cv_func_mkstemps" = xyes; then :
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mkstemps" >&5
6876 $as_echo_n "checking for library containing mkstemps... " >&6; }
6877 if ${ac_cv_search_mkstemps+:} false; then :
6878 $as_echo_n "(cached) " >&6
6880 ac_func_search_save_LIBS=$LIBS
6881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */
6884 /* Override any GCC internal prototype to avoid an error.
6885 Use char because int might match the return type of a GCC
6886 builtin and then its argument prototype would still apply. */
6899 for ac_lib in '' ; do
6900 if test -z "$ac_lib"; then
6901 ac_res="none required"
6904 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6906 if ac_fn_c_try_link "$LINENO"; then :
6907 ac_cv_search_mkstemps=$ac_res
6909 rm -f core conftest.err conftest.$ac_objext \
6911 if ${ac_cv_search_mkstemps+:} false; then :
6915 if ${ac_cv_search_mkstemps+:} false; then :
6918 ac_cv_search_mkstemps=no
6921 LIBS=$ac_func_search_save_LIBS
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_mkstemps" >&5
6924 $as_echo "$ac_cv_search_mkstemps" >&6; }
6925 ac_res=$ac_cv_search_mkstemps
6926 if test "$ac_res" != no; then :
6927 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6930 NO_MKSTEMPS=YesPlease
6935 NO_MKSTEMPS=YesPlease
6939 config_appended_defs="$config_appended_defs${newline}NO_MKSTEMPS=${NO_MKSTEMPS}"
6941 # Define NO_INITGROUPS if you don't have initgroups in the C library.
6942 ac_fn_c_check_func "$LINENO" "initgroups" "ac_cv_func_initgroups"
6943 if test "x$ac_cv_func_initgroups" = xyes; then :
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing initgroups" >&5
6946 $as_echo_n "checking for library containing initgroups... " >&6; }
6947 if ${ac_cv_search_initgroups+:} false; then :
6948 $as_echo_n "(cached) " >&6
6950 ac_func_search_save_LIBS=$LIBS
6951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6952 /* end confdefs.h. */
6954 /* Override any GCC internal prototype to avoid an error.
6955 Use char because int might match the return type of a GCC
6956 builtin and then its argument prototype would still apply. */
6964 return initgroups ();
6969 for ac_lib in '' ; do
6970 if test -z "$ac_lib"; then
6971 ac_res="none required"
6974 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6976 if ac_fn_c_try_link "$LINENO"; then :
6977 ac_cv_search_initgroups=$ac_res
6979 rm -f core conftest.err conftest.$ac_objext \
6981 if ${ac_cv_search_initgroups+:} false; then :
6985 if ${ac_cv_search_initgroups+:} false; then :
6988 ac_cv_search_initgroups=no
6991 LIBS=$ac_func_search_save_LIBS
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_initgroups" >&5
6994 $as_echo "$ac_cv_search_initgroups" >&6; }
6995 ac_res=$ac_cv_search_initgroups
6996 if test "$ac_res" != no; then :
6997 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7000 NO_INITGROUPS=YesPlease
7005 NO_INITGROUPS=YesPlease
7009 config_appended_defs="$config_appended_defs${newline}NO_INITGROUPS=${NO_INITGROUPS}"
7012 # Define NO_MMAP if you want to avoid mmap.
7014 # Define NO_ICONV if your libc does not properly support iconv.
7018 # Define USE_PIC if you need the main git objects to be built with -fPIC
7019 # in order to build and link perl/Git.so. x86-64 seems to need this.
7021 # Define NO_SYMLINK_HEAD if you never want .git/HEAD to be a symbolic link.
7022 # Enable it on Windows. By default, symrefs are still used.
7024 # Define NO_PTHREADS if we do not have pthreads.
7026 # Define PTHREAD_LIBS to the linker flag used for Pthread support.
7030 NO_PTHREADS=UnfortunatelyYes
7033 if test -n "$USER_NOPTHREAD"; then
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: Skipping POSIX Threads at user request." >&5
7035 $as_echo "$as_me: Skipping POSIX Threads at user request." >&6;}
7036 # handle these separately since PTHREAD_CFLAGS could be '-lpthreads
7037 # -D_REENTRANT' or some such.
7038 elif test -z "$PTHREAD_CFLAGS"; then
7040 # Attempt to compile and link some code using pthreads to determine
7041 # required linker flags. The order is somewhat important here: We
7042 # first try it without any extra flags, to catch systems where
7043 # pthreads are part of the C library, then go on testing various other
7044 # flags. We do so to avoid false positives. For example, on Mac OS X
7045 # pthreads are part of the C library; moreover, the compiler allows us
7046 # to add "-mt" to the CFLAGS (although it will do nothing except
7047 # trigger a warning about an unused flag). Hence if we checked for
7048 # "-mt" before "" we would end up picking it. But unfortunately this
7049 # would then trigger compiler warnings on every single file we compile.
7050 for opt in "" -mt -pthread -lpthread; do
7051 old_CFLAGS="$CFLAGS"
7052 CFLAGS="$opt $CFLAGS"
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Threads with '$opt'" >&5
7054 $as_echo_n "checking for POSIX Threads with '$opt'... " >&6; }
7055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7056 /* end confdefs.h. */
7059 #include <pthread.h>
7065 pthread_mutex_t test_mutex;
7066 pthread_key_t test_key;
7068 retcode |= pthread_key_create(&test_key, (void *)0);
7069 retcode |= pthread_mutex_init(&test_mutex,(void *)0);
7070 retcode |= pthread_mutex_lock(&test_mutex);
7071 retcode |= pthread_mutex_unlock(&test_mutex);
7078 if ac_fn_c_try_link "$LINENO"; then :
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7080 $as_echo "yes" >&6; }
7083 PTHREAD_CFLAGS="$opt"
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089 $as_echo "no" >&6; }
7091 rm -f core conftest.err conftest.$ac_objext \
7092 conftest$ac_exeext conftest.$ac_ext
7093 CFLAGS="$old_CFLAGS"
7095 if test $threads_found != yes; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7097 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7098 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7099 $as_echo_n "(cached) " >&6
7101 ac_check_lib_save_LIBS=$LIBS
7102 LIBS="-lpthread $LIBS"
7103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7104 /* end confdefs.h. */
7106 /* Override any GCC internal prototype to avoid an error.
7107 Use char because int might match the return type of a GCC
7108 builtin and then its argument prototype would still apply. */
7112 char pthread_create ();
7116 return pthread_create ();
7121 if ac_fn_c_try_link "$LINENO"; then :
7122 ac_cv_lib_pthread_pthread_create=yes
7124 ac_cv_lib_pthread_pthread_create=no
7126 rm -f core conftest.err conftest.$ac_objext \
7127 conftest$ac_exeext conftest.$ac_ext
7128 LIBS=$ac_check_lib_save_LIBS
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7131 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7132 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7133 PTHREAD_LIBS="-lpthread"
7135 NO_PTHREADS=UnfortunatelyYes
7140 old_CFLAGS="$CFLAGS"
7141 CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Threads with '$PTHREAD_CFLAGS'" >&5
7143 $as_echo_n "checking for POSIX Threads with '$PTHREAD_CFLAGS'... " >&6; }
7144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7145 /* end confdefs.h. */
7148 #include <pthread.h>
7154 pthread_mutex_t test_mutex;
7155 pthread_key_t test_key;
7157 retcode |= pthread_key_create(&test_key, (void *)0);
7158 retcode |= pthread_mutex_init(&test_mutex,(void *)0);
7159 retcode |= pthread_mutex_lock(&test_mutex);
7160 retcode |= pthread_mutex_unlock(&test_mutex);
7167 if ac_fn_c_try_link "$LINENO"; then :
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7169 $as_echo "yes" >&6; }
7171 PTHREAD_LIBS="$PTHREAD_CFLAGS"
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 $as_echo "no" >&6; }
7177 rm -f core conftest.err conftest.$ac_objext \
7178 conftest$ac_exeext conftest.$ac_ext
7180 CFLAGS="$old_CFLAGS"
7183 CFLAGS="$old_CFLAGS"
7186 config_appended_defs="$config_appended_defs${newline}PTHREAD_CFLAGS=${PTHREAD_CFLAGS}"
7188 config_appended_defs="$config_appended_defs${newline}PTHREAD_LIBS=${PTHREAD_LIBS}"
7190 config_appended_defs="$config_appended_defs${newline}NO_PTHREADS=${NO_PTHREADS}"
7193 ac_config_files="$ac_config_files "${config_file}":"${config_in}""
7195 cat >confcache <<\_ACEOF
7196 # This file is a shell script that caches the results of configure
7197 # tests run on this system so they can be shared between configure
7198 # scripts and configure runs, see configure's option --config-cache.
7199 # It is not useful on other systems. If it contains results you don't
7200 # want to keep, you may remove or edit it.
7202 # config.status only pays attention to the cache file if you give it
7203 # the --recheck option to rerun configure.
7205 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
7206 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7211 # The following way of writing the cache mishandles newlines in values,
7212 # but we know of no workaround that is simple, portable, and efficient.
7213 # So, we kill variables containing newlines.
7214 # Ultrix sh set writes to stderr and can't be redirected directly,
7215 # and sets the high bit in the cache file unless we assign to the vars.
7217 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7218 eval ac_val
=\$
$ac_var
7222 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7223 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7226 _ | IFS | as_nl
) ;; #(
7227 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7228 *) { eval $ac_var=; unset $ac_var;} ;;
7234 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7235 *${as_nl}ac_space
=\
*)
7236 # `set' does not quote correctly, so add quotes: double-quote
7237 # substitution turns \\\\ into \\, and sed turns \\ into \.
7240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7243 # `set' quotes correctly as required by POSIX, so do not add quotes.
7244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7253 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7255 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7257 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7258 if test -w "$cache_file"; then
7259 if test "x$cache_file" != "x/dev/null"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7261 $as_echo "$as_me: updating cache $cache_file" >&6;}
7262 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7263 cat confcache
>"$cache_file"
7265 case $cache_file in #(
7267 mv -f confcache
"$cache_file"$$
&&
7268 mv -f "$cache_file"$$
"$cache_file" ;; #(
7270 mv -f confcache
"$cache_file" ;;
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7276 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7281 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7282 # Let make expand exec_prefix.
7283 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7285 # Transform confdefs.h into DEFS.
7286 # Protect against shell expansion while executing Makefile rules.
7287 # Protect against Makefile macro expansion.
7289 # If the first sed substitution is executed (which looks for macros that
7290 # take arguments), then branch to the quote section. Otherwise,
7291 # look for a macro that doesn't take arguments.
7301 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7303 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7307 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7320 DEFS
=`sed -n "$ac_script" confdefs.h`
7326 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7327 # 1. Remove the extension, and $U if already installed.
7328 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7329 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7330 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7331 # will be set to the directory where LIBOBJS objects are built.
7332 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7333 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7337 LTLIBOBJS
=$ac_ltlibobjs
7341 : "${CONFIG_STATUS=./config.status}"
7343 ac_clean_files_save
=$ac_clean_files
7344 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7346 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7348 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7350 # Generated by $as_me.
7351 # Run this file to recreate the current configuration.
7352 # Compiler output produced by configure, useful for debugging
7353 # configure, is in config.log if it exists.
7359 SHELL=\${CONFIG_SHELL-$SHELL}
7362 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7363 ## -------------------- ##
7364 ## M4sh Initialization. ##
7365 ## -------------------- ##
7367 # Be more Bourne compatible
7368 DUALCASE
=1; export DUALCASE
# for MKS sh
7369 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7372 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7373 # is contrary to our usage. Disable this feature.
7374 alias -g '${1+"$@"}'='"$@"'
7375 setopt NO_GLOB_SUBST
7377 case `(set -o) 2>/dev/null` in #(
7389 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7390 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7391 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7392 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7393 # Prefer a ksh shell builtin over an external printf program on Solaris,
7394 # but without wasting forks for bash or zsh.
7395 if test -z "$BASH_VERSION$ZSH_VERSION" \
7396 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7397 as_echo='print
-r --'
7398 as_echo_n='print
-rn --'
7399 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7400 as_echo='printf %s
\n'
7401 as_echo_n='printf %s
'
7403 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7404 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7405 as_echo_n='/usr
/ucb
/echo -n'
7407 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7408 as_echo_n_body='eval
7412 expr "X$arg" : "X\\(.*\\)$as_nl";
7413 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7415 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7417 export as_echo_n_body
7418 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7421 as_echo='sh
-c $as_echo_body as_echo
'
7424 # The user is always right.
7425 if test "${PATH_SEPARATOR+set}" != set; then
7427 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7428 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7435 # We need space, tab and new line, in precisely that order. Quoting is
7436 # there to prevent editors from complaining about space-tab.
7437 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7438 # splitting by setting IFS to empty value.)
7441 # Find who we are. Look in the path if we contain no directory separator.
7444 *[\\/]* ) as_myself=$0 ;;
7445 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7449 test -z "$as_dir" && as_dir=.
7450 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7456 # We did not find ourselves, most probably we were run as `sh COMMAND'
7457 # in which case we are not to be found in the path.
7458 if test "x$as_myself" = x
; then
7461 if test ! -f "$as_myself"; then
7462 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7466 # Unset variables that we do not need and which cause bugs (e.g. in
7467 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7468 # suppresses any "Segmentation fault" message there. '((' could
7469 # trigger a bug in pdksh 5.2.14.
7470 for as_var
in BASH_ENV ENV MAIL MAILPATH
7471 do eval test x\
${$as_var+set} = xset \
7472 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7485 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7488 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7489 # ----------------------------------------
7490 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7491 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7492 # script with STATUS, using 1 if that was 0.
7495 as_status
=$1; test $as_status -eq 0 && as_status
=1
7497 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7498 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7500 $as_echo "$as_me: error: $2" >&2
7501 as_fn_exit
$as_status
7505 # as_fn_set_status STATUS
7506 # -----------------------
7507 # Set $? to STATUS, without forking.
7511 } # as_fn_set_status
7515 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7525 # Portably unset VAR.
7528 { eval $1=; unset $1;}
7530 as_unset
=as_fn_unset
7531 # as_fn_append VAR VALUE
7532 # ----------------------
7533 # Append the text in VALUE to the end of the definition contained in VAR. Take
7534 # advantage of any shell optimizations that allow amortized linear growth over
7535 # repeated appends, instead of the typical quadratic growth present in naive
7537 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7538 eval 'as_fn_append ()
7549 # as_fn_arith ARG...
7550 # ------------------
7551 # Perform arithmetic evaluation on the ARGs, and store the result in the
7552 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7553 # must be portable across $(()) and expr.
7554 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7555 eval 'as_fn_arith ()
7562 as_val
=`expr "$@" || test $? -eq 1`
7567 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7568 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7574 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7575 as_basename
=basename
7580 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7586 as_me
=`$as_basename -- "$0" ||
7587 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7588 X"$0" : 'X\(//\)$' \| \
7589 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7591 sed '/^.*\/\([^/][^/]*\)\/*$/{
7605 # Avoid depending upon Character Ranges.
7606 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7607 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7608 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7609 as_cr_digits
='0123456789'
7610 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7612 ECHO_C
= ECHO_N
= ECHO_T
=
7613 case `echo -n x` in #(((((
7615 case `echo 'xy\c'` in
7616 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7618 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7625 rm -f conf$$ conf$$.exe conf$$.
file
7626 if test -d conf$$.dir
; then
7627 rm -f conf$$.dir
/conf$$.
file
7630 mkdir conf$$.dir
2>/dev
/null
7632 if (echo >conf$$.
file) 2>/dev
/null
; then
7633 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7635 # ... but there are two gotchas:
7636 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7637 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7638 # In both cases, we have to default to `cp -pR'.
7639 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7641 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7649 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7650 rmdir conf$$.dir
2>/dev
/null
7655 # Create "$as_dir" as a directory, including parents if necessary.
7660 -*) as_dir
=.
/$as_dir;;
7662 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7666 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7667 *) as_qdir
=$as_dir;;
7669 as_dirs
="'$as_qdir' $as_dirs"
7670 as_dir
=`$as_dirname -- "$as_dir" ||
7671 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7672 X"$as_dir" : 'X\(//\)[^/]' \| \
7673 X"$as_dir" : 'X\(//\)$' \| \
7674 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7675 $as_echo X"$as_dir" |
7676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7693 test -d "$as_dir" && break
7695 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7696 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7700 if mkdir
-p .
2>/dev
/null
; then
7701 as_mkdir_p
='mkdir -p "$as_dir"'
7703 test -d .
/-p && rmdir .
/-p
7708 # as_fn_executable_p FILE
7709 # -----------------------
7710 # Test if FILE is an executable regular file.
7711 as_fn_executable_p
()
7713 test -f "$1" && test -x "$1"
7714 } # as_fn_executable_p
7716 as_executable_p
=as_fn_executable_p
7718 # Sed expression to map a string onto a valid CPP name.
7719 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7721 # Sed expression to map a string onto a valid variable name.
7722 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7726 ## ----------------------------------- ##
7727 ## Main body of $CONFIG_STATUS script. ##
7728 ## ----------------------------------- ##
7730 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7733 # Save the log message, to keep $0 and so on meaningful, and to
7734 # report actual input values of CONFIG_FILES etc. instead of their
7735 # values after options handling.
7737 This file was extended by git $as_me 2.1.4, which was
7738 generated by GNU Autoconf 2.69. Invocation command line was
7740 CONFIG_FILES = $CONFIG_FILES
7741 CONFIG_HEADERS = $CONFIG_HEADERS
7742 CONFIG_LINKS = $CONFIG_LINKS
7743 CONFIG_COMMANDS = $CONFIG_COMMANDS
7746 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7751 case $ac_config_files in *"
7752 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7758 # Files that config.status was made for.
7759 config_files="$ac_config_files"
7760 config_commands="$ac_config_commands"
7764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7766 \`$as_me' instantiates files and other configuration actions
7767 from templates according to the current configuration. Unless the files
7768 and actions are specified as TAGs, all are instantiated by default.
7770 Usage: $0 [OPTION]... [TAG]...
7772 -h, --help print this help, then exit
7773 -V, --version print version number and configuration settings, then exit
7774 --config print configuration, then exit
7775 -q, --quiet, --silent
7776 do not print progress messages
7777 -d, --debug don't remove temporary files
7778 --recheck update $as_me by reconfiguring in the same conditions
7779 --file=FILE[:TEMPLATE]
7780 instantiate the configuration file FILE
7782 Configuration files:
7785 Configuration commands:
7788 Report bugs to <git@vger.kernel.org>."
7791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7792 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7794 git config.status 2.1.4
7795 configured by $0, generated by GNU Autoconf 2.69,
7796 with options \\"\$ac_cs_config\\"
7798 Copyright (C) 2012 Free Software Foundation, Inc.
7799 This config.status script is free software; the Free Software Foundation
7800 gives unlimited permission to copy, distribute and modify it."
7804 test -n "\$AWK" || AWK=awk
7807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7808 # The default lists apply if the user does not specify any file.
7814 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7815 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7819 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7831 # Handling of the options.
7832 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7834 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7835 $as_echo "$ac_cs_version"; exit ;;
7836 --config |
--confi |
--conf |
--con |
--co |
--c )
7837 $as_echo "$ac_cs_config"; exit ;;
7838 --debug |
--debu |
--deb |
--de |
--d |
-d )
7840 --file |
--fil |
--fi |
--f )
7843 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7844 '') as_fn_error $?
"missing file argument" ;;
7846 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7847 ac_need_defaults
=false
;;
7848 --he |
--h |
--help |
--hel |
-h )
7849 $as_echo "$ac_cs_usage"; exit ;;
7850 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7851 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7855 -*) as_fn_error $?
"unrecognized option: \`$1'
7856 Try \`$0 --help' for more information." ;;
7858 *) as_fn_append ac_config_targets
" $1"
7859 ac_need_defaults
=false
;;
7865 ac_configure_extra_args
=
7867 if $ac_cs_silent; then
7869 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7874 if \$ac_cs_recheck; then
7875 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7877 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7878 CONFIG_SHELL='$SHELL'
7884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7888 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7889 ## Running $as_me. ##
7895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7899 config_file=$config_file
7900 config_appended_defs="$config_appended_defs"
7904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7906 # Handling of arguments.
7907 for ac_config_target
in $ac_config_targets
7909 case $ac_config_target in
7910 "$config_file") CONFIG_COMMANDS
="$CONFIG_COMMANDS $config_file" ;;
7911 ""${config_file}"") CONFIG_FILES="$CONFIG_FILES "${config_file}":"${config_in}"" ;;
7913 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7918 # If the user did not use the arguments to specify the items to instantiate,
7919 # then the envvar interface is used. Set only those that are not.
7920 # We use the long form for the default assignment because of an extremely
7921 # bizarre bug on SunOS 4.1.3.
7922 if $ac_need_defaults; then
7923 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7924 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7927 # Have a temporary directory for convenience. Make it in the build tree
7928 # simply because there is no reason against having it here, and in addition,
7929 # creating and moving files from /tmp can sometimes cause problems.
7930 # Hook for its removal unless debugging.
7931 # Note that there is a small window in which the directory will not be cleaned:
7932 # after its creation but before its name has been assigned to `$tmp'.
7936 trap 'exit_status=$?
7938 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7940 trap 'as_fn_exit 1' 1 2 13 15
7942 # Create a (secure) tmp directory for tmp files.
7945 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7949 tmp
=.
/conf$$
-$RANDOM
7950 (umask 077 && mkdir
"$tmp")
7951 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7954 # Set up the scripts for CONFIG_FILES section.
7955 # No need to generate them if there are no CONFIG_FILES.
7956 # This happens for instance with `./config.status config.h'.
7957 if test -n "$CONFIG_FILES"; then
7960 ac_cr
=`echo X | tr X '\015'`
7961 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7962 # But we know of no other shell where ac_cr would be empty at this
7963 # point, so we can use a bashism as a fallback.
7964 if test "x$ac_cr" = x
; then
7965 eval ac_cr
=\$
\'\\r
\'
7967 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7968 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7974 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7979 echo "cat >conf$$subs.awk <<_ACEOF" &&
7980 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7983 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7984 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7986 for ac_last_try in false false false false false :; do
7987 . ./conf$$subs.sh ||
7988 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7990 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7991 if test $ac_delim_n = $ac_delim_num; then
7993 elif $ac_last_try; then
7994 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7996 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8002 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
8006 s/^/S["/; s
/!.
*/"]=/
8016 s/\(.\{148\}\)..*/\1/
8018 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8023 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8030 s/\(.\{148\}\)..*/\1/
8032 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8036 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8041 ' <conf$$subs.awk | sed '
8046 ' >>$CONFIG_STATUS || ac_write_fail=1
8047 rm -f conf$$subs.awk
8048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8050 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8051 for (key in S) S_is_set[key] = 1
8057 nfields = split(line, field, "@
")
8059 len = length(field[1])
8060 for (i = 2; i < nfields; i++) {
8062 keylen = length(key)
8063 if (S_is_set[key]) {
8065 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8066 len += length(value) + length(field[++i])
8077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8078 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8079 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8082 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8083 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8086 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8087 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8088 # trailing colons and then remove the whole line if VPATH becomes empty
8089 # (actually we leave an empty line to preserve line numbers).
8090 if test "x
$srcdir" = x.; then
8091 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8110 fi # test -n "$CONFIG_FILES"
8113 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
8118 :[FHLC]) ac_mode=$ac_tag; continue;;
8120 case $ac_mode$ac_tag in
8122 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
8123 :[FH]-) ac_tag=-:-;;
8124 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8141 -) ac_f="$ac_tmp/stdin";;
8142 *) # Look for the file first in the build tree, then in the source tree
8143 # (if the path is not absolute). The absolute path cannot be DOS-style,
8144 # because $ac_f cannot contain `:'.
8148 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8150 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8152 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
8153 as_fn_append ac_file_inputs " '$ac_f'"
8156 # Let's still pretend it is `configure' which instantiates (i.e., don't
8157 # use $as_me), people would be surprised to read:
8158 # /* config.h. Generated by config.status. */
8159 configure_input='Generated from '`
8160 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8162 if test x"$ac_file" != x-; then
8163 configure_input="$ac_file.
$configure_input"
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
8165 $as_echo "$as_me: creating
$ac_file" >&6;}
8167 # Neutralize special characters interpreted by sed in replacement strings.
8168 case $configure_input in #(
8169 *\&* | *\|* | *\\* )
8170 ac_sed_conf_input=`$as_echo "$configure_input" |
8171 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8172 *) ac_sed_conf_input=$configure_input;;
8176 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
8177 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
8182 ac_dir=`$as_dirname -- "$ac_file" ||
8183 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8184 X"$ac_file" : 'X\(//\)[^/]' \| \
8185 X"$ac_file" : 'X\(//\)$' \| \
8186 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8187 $as_echo X"$ac_file" |
8188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8205 as_dir="$ac_dir"; as_fn_mkdir_p
8209 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8211 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8212 # A "..
" for each directory in $ac_dir_suffix.
8213 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8214 case $ac_top_builddir_sub in
8215 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8216 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8219 ac_abs_top_builddir=$ac_pwd
8220 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8221 # for backward compatibility:
8222 ac_top_builddir=$ac_top_build_prefix
8225 .) # We are building in place.
8227 ac_top_srcdir=$ac_top_builddir_sub
8228 ac_abs_top_srcdir=$ac_pwd ;;
8229 [\\/]* | ?:[\\/]* ) # Absolute name.
8230 ac_srcdir=$srcdir$ac_dir_suffix;
8231 ac_top_srcdir=$srcdir
8232 ac_abs_top_srcdir=$srcdir ;;
8234 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8235 ac_top_srcdir=$ac_top_build_prefix$srcdir
8236 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8238 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8250 # If the template does not know about datarootdir, expand it.
8251 # FIXME: This hack should be removed a few years after 2.60.
8252 ac_datarootdir_hack=; ac_datarootdir_seen=
8263 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
8264 *datarootdir*) ac_datarootdir_seen=yes;;
8265 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
8267 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
8269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8270 ac_datarootdir_hack='
8271 s&@datadir@&$datadir&g
8272 s&@docdir@&$docdir&g
8273 s&@infodir@&$infodir&g
8274 s&@localedir@&$localedir&g
8275 s&@mandir@&$mandir&g
8276 s&\\\${datarootdir}&$datarootdir&g' ;;
8280 # Neutralize VPATH when `$srcdir' = `.'.
8281 # Shell code in configure.ac might set extrasub.
8282 # FIXME: do we really want to maintain this feature?
8283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8284 ac_sed_extra="$ac_vpsub
8287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8289 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8290 s|@configure_input@|
$ac_sed_conf_input|
;t t
8291 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8292 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8293 s
&@srcdir@
&$ac_srcdir&;t t
8294 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8295 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8296 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8297 s
&@builddir@
&$ac_builddir&;t t
8298 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8299 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8300 $ac_datarootdir_hack
8302 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8303 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8305 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8306 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8307 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8308 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8310 which seems to be undefined. Please make sure it is defined" >&5
8311 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8312 which seems to be undefined. Please make sure it is defined" >&2;}
8314 rm -f "$ac_tmp/stdin"
8316 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8317 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8319 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8323 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8324 $as_echo "$as_me: executing $ac_file commands" >&6;}
8329 case $ac_file$ac_mode in
8330 "$config_file":C) echo "$config_appended_defs" >> "$config_file" ;;
8338 ac_clean_files=$ac_clean_files_save
8340 test $ac_write_fail = 0 ||
8341 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8344 # configure is writing to config.log, and then calls config.status.
8345 # config.status does its own redirection, appending to config.log.
8346 # Unfortunately, on DOS this fails, as config.log is still kept open
8347 # by configure, so config.status won't be able to
write to it
; its
8348 # output is simply discarded. So we exec the FD to /dev/null,
8349 # effectively closing config.log, so it can be properly (re)opened and
8350 # appended to by config.status. When coming back to configure, we
8351 # need to make the FD available again.
8352 if test "$no_create" != yes; then
8354 ac_config_status_args
=
8355 test "$silent" = yes &&
8356 ac_config_status_args
="$ac_config_status_args --quiet"
8358 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8360 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8361 # would make configure fail if this is the last instruction.
8362 $ac_cs_success || as_fn_exit
1
8364 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8366 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}