|
version 1.1, 2012/02/17 15:09:30
|
version 1.1.1.4, 2021/03/17 00:32:36
|
|
Line 1
|
Line 1
|
| #! /bin/sh |
#! /bin/sh |
| # Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
| # Generated by GNU Autoconf 2.68. | # Generated by GNU Autoconf 2.69 for rsync . |
| # |
# |
| |
# Report bugs to <https://rsync.samba.org/bug-tracking.html>. |
| # |
# |
| # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
| # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
|
| # Foundation, Inc. |
|
| # |
# |
| |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| # |
# |
| |
# |
| # This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
| # gives unlimited permission to copy, distribute and modify it. |
# gives unlimited permission to copy, distribute and modify it. |
| ## -------------------- ## |
## -------------------- ## |
|
Line 134 export LANGUAGE
|
Line 134 export LANGUAGE
|
| # CDPATH. |
# CDPATH. |
| (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| |
|
| |
# Use a proper internal environment variable to ensure we don't fall |
| |
# into an infinite loop, continuously re-executing ourselves. |
| |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
| |
_as_can_reexec=no; export _as_can_reexec; |
| |
# We cannot yet assume a decent shell, so we have to provide a |
| |
# neutralization value for shells without unset; and this also |
| |
# works around shells that cannot unset nonexistent variables. |
| |
# Preserve -v and -x to the replacement shell. |
| |
BASH_ENV=/dev/null |
| |
ENV=/dev/null |
| |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| |
case $- in # (((( |
| |
*v*x* | *x*v* ) as_opts=-vx ;; |
| |
*v* ) as_opts=-v ;; |
| |
*x* ) as_opts=-x ;; |
| |
* ) as_opts= ;; |
| |
esac |
| |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| |
# Admittedly, this is quite paranoid, since all the known shells bail |
| |
# out after a failed `exec'. |
| |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| |
as_fn_exit 255 |
| |
fi |
| |
# We don't want this to propagate to other subprocesses. |
| |
{ _as_can_reexec=; unset _as_can_reexec;} |
| if test "x$CONFIG_SHELL" = x; then |
if test "x$CONFIG_SHELL" = x; then |
| as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| emulate sh |
emulate sh |
|
Line 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
Line 192 if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
| else |
else |
| exitcode=1; echo positional parameters were not saved. |
exitcode=1; echo positional parameters were not saved. |
| fi |
fi |
| test x\$exitcode = x0 || exit 1" | test x\$exitcode = x0 || exit 1 |
| | test -x / || exit 1" |
| as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
|
Line 212 IFS=$as_save_IFS
|
Line 238 IFS=$as_save_IFS
|
| |
|
| |
|
| if test "x$CONFIG_SHELL" != x; then : |
if test "x$CONFIG_SHELL" != x; then : |
| # We cannot yet assume a decent shell, so we have to provide a | export CONFIG_SHELL |
| # neutralization value for shells without unset; and this also | # We cannot yet assume a decent shell, so we have to provide a |
| # works around shells that cannot unset nonexistent variables. | # neutralization value for shells without unset; and this also |
| # Preserve -v and -x to the replacement shell. | # works around shells that cannot unset nonexistent variables. |
| BASH_ENV=/dev/null | # Preserve -v and -x to the replacement shell. |
| ENV=/dev/null | BASH_ENV=/dev/null |
| (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ENV=/dev/null |
| export CONFIG_SHELL | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| case $- in # (((( | case $- in # (((( |
| *v*x* | *x*v* ) as_opts=-vx ;; | *v*x* | *x*v* ) as_opts=-vx ;; |
| *v* ) as_opts=-v ;; | *v* ) as_opts=-v ;; |
| *x* ) as_opts=-x ;; | *x* ) as_opts=-x ;; |
| * ) as_opts= ;; | * ) as_opts= ;; |
| esac | esac |
| exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| | # Admittedly, this is quite paranoid, since all the known shells bail |
| | # out after a failed `exec'. |
| | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| | exit 255 |
| fi |
fi |
| |
|
| if test x$as_have_required = xno; then : |
if test x$as_have_required = xno; then : |
|
Line 236 fi
|
Line 266 fi
|
| $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
| else |
else |
| $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | $as_echo "$0: Please tell bug-autoconf@gnu.org and |
| $0: including any error possibly output before this | $0: https://rsync.samba.org/bug-tracking.html about your |
| | $0: system, including any error possibly output before this |
| $0: message. Then install a modern shell, or manually run |
$0: message. Then install a modern shell, or manually run |
| $0: the script under such a shell if you do have one." |
$0: the script under such a shell if you do have one." |
| fi |
fi |
|
Line 328 $as_echo X"$as_dir" |
|
Line 359 $as_echo X"$as_dir" |
|
| |
|
| |
|
| } # as_fn_mkdir_p |
} # as_fn_mkdir_p |
| |
|
| |
# as_fn_executable_p FILE |
| |
# ----------------------- |
| |
# Test if FILE is an executable regular file. |
| |
as_fn_executable_p () |
| |
{ |
| |
test -f "$1" && test -x "$1" |
| |
} # as_fn_executable_p |
| # as_fn_append VAR VALUE |
# as_fn_append VAR VALUE |
| # ---------------------- |
# ---------------------- |
| # Append the text in VALUE to the end of the definition contained in VAR. Take |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
Line 449 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
Line 488 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
| chmod +x "$as_me.lineno" || |
chmod +x "$as_me.lineno" || |
| { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| |
|
| |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| |
# already done that, so ensure we don't try to do so again and fall |
| |
# in an infinite loop. This has already happened in practice. |
| |
_as_can_reexec=no; export _as_can_reexec |
| # Don't try to exec as it changes $[0], causing all sort of problems |
# Don't try to exec as it changes $[0], causing all sort of problems |
| # (the dirname of $[0] is not the place where we might find the |
# (the dirname of $[0] is not the place where we might find the |
| # original and so on. Autoconf is especially sensitive to this). |
# original and so on. Autoconf is especially sensitive to this). |
|
Line 483 if (echo >conf$$.file) 2>/dev/null; then
|
Line 526 if (echo >conf$$.file) 2>/dev/null; then
|
| # ... but there are two gotchas: |
# ... but there are two gotchas: |
| # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| # In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
| ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| as_ln_s='cp -p' | as_ln_s='cp -pR' |
| elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| as_ln_s=ln |
as_ln_s=ln |
| else |
else |
| as_ln_s='cp -p' | as_ln_s='cp -pR' |
| fi |
fi |
| else |
else |
| as_ln_s='cp -p' | as_ln_s='cp -pR' |
| fi |
fi |
| rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
|
Line 504 else
|
Line 547 else
|
| as_mkdir_p=false |
as_mkdir_p=false |
| fi |
fi |
| |
|
| if test -x / >/dev/null 2>&1; then | as_test_x='test -x' |
| as_test_x='test -x' | as_executable_p=as_fn_executable_p |
| else | |
| if ls -dL / >/dev/null 2>&1; then | |
| as_ls_L_option=L | |
| else | |
| as_ls_L_option= | |
| fi | |
| as_test_x=' | |
| eval sh -c '\'' | |
| if test -d "$1"; then | |
| test -d "$1/."; | |
| else | |
| case $1 in #( | |
| -*)set "./$1";; | |
| esac; | |
| case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
| ???[sx]*):;;*)false;;esac;fi | |
| '\'' sh | |
| ' | |
| fi | |
| as_executable_p=$as_test_x | |
| |
|
| # Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
| as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
Line 555 MFLAGS=
|
Line 578 MFLAGS=
|
| MAKEFLAGS= |
MAKEFLAGS= |
| |
|
| # Identity of this package. |
# Identity of this package. |
| PACKAGE_NAME= | PACKAGE_NAME='rsync' |
| PACKAGE_TARNAME= | PACKAGE_TARNAME='rsync' |
| PACKAGE_VERSION= | PACKAGE_VERSION=' ' |
| PACKAGE_STRING= | PACKAGE_STRING='rsync ' |
| PACKAGE_BUGREPORT= | PACKAGE_BUGREPORT='https://rsync.samba.org/bug-tracking.html' |
| PACKAGE_URL= | PACKAGE_URL='' |
| |
|
| ac_unique_file="byteorder.h" |
ac_unique_file="byteorder.h" |
| |
ac_config_libobj_dir=lib |
| # Factoring default headers for most tests. |
# Factoring default headers for most tests. |
| ac_includes_default="\ |
ac_includes_default="\ |
| #include <stdio.h> |
#include <stdio.h> |
|
Line 601 ac_includes_default="\
|
Line 625 ac_includes_default="\
|
| |
|
| ac_header_list= |
ac_header_list= |
| ac_subst_vars='LTLIBOBJS |
ac_subst_vars='LTLIBOBJS |
| |
MYSQL_CONFIG |
| MAKE_MAN |
MAKE_MAN |
| |
BUILD_ZLIB |
| BUILD_POPT |
BUILD_POPT |
| CC_SHOBJ_FLAG |
CC_SHOBJ_FLAG |
| OBJ_RESTORE |
OBJ_RESTORE |
| OBJ_SAVE |
OBJ_SAVE |
| |
SLPOBJ |
| |
LIBSLP |
| ALLOCA |
ALLOCA |
| LIBOBJS |
LIBOBJS |
| HAVE_YODL2MAN | ASM |
| | NOEXECSTACK |
| | SIMD |
| | FAKEROOT_PATH |
| | SHELL_PATH |
| HAVE_REMSH |
HAVE_REMSH |
| |
PYTHON3 |
| |
PERL |
| |
MKDIR_P |
| INSTALL_DATA |
INSTALL_DATA |
| INSTALL_SCRIPT |
INSTALL_SCRIPT |
| INSTALL_PROGRAM |
INSTALL_PROGRAM |
| EGREP |
EGREP |
| GREP |
GREP |
| |
AWK |
| |
ac_ct_CXX |
| |
CXXFLAGS |
| |
CXX |
| CPP |
CPP |
| OBJEXT |
OBJEXT |
| EXEEXT |
EXEEXT |
|
Line 631 build_os
|
Line 670 build_os
|
| build_vendor |
build_vendor |
| build_cpu |
build_cpu |
| build |
build |
| RSYNC_VERSION |
|
| target_alias |
target_alias |
| host_alias |
host_alias |
| build_alias |
build_alias |
|
Line 651 infodir
|
Line 689 infodir
|
| docdir |
docdir |
| oldincludedir |
oldincludedir |
| includedir |
includedir |
| |
runstatedir |
| localstatedir |
localstatedir |
| sharedstatedir |
sharedstatedir |
| sysconfdir |
sysconfdir |
|
Line 675 ac_user_opts='
|
Line 714 ac_user_opts='
|
| enable_option_checking |
enable_option_checking |
| enable_debug |
enable_debug |
| enable_profile |
enable_profile |
| |
enable_md2man |
| enable_maintainer_mode |
enable_maintainer_mode |
| with_included_popt |
with_included_popt |
| |
with_included_zlib |
| |
with_protected_args |
| with_rsync_path |
with_rsync_path |
| with_rsyncd_conf |
with_rsyncd_conf |
| with_rsh |
with_rsh |
| with_nobody_group |
with_nobody_group |
| |
enable_simd |
| |
enable_asm |
| enable_largefile |
enable_largefile |
| enable_ipv6 |
enable_ipv6 |
| enable_locale |
enable_locale |
| |
enable_openssl |
| |
enable_xxhash |
| |
enable_zstd |
| |
enable_lz4 |
| enable_iconv_open |
enable_iconv_open |
| enable_iconv |
enable_iconv |
| |
with_gssapi |
| enable_acl_support |
enable_acl_support |
| enable_xattr_support |
enable_xattr_support |
| |
enable_mysql |
| |
enable_sqlite |
| ' |
' |
| ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
| host_alias |
host_alias |
|
Line 697 CFLAGS
|
Line 748 CFLAGS
|
| LDFLAGS |
LDFLAGS |
| LIBS |
LIBS |
| CPPFLAGS |
CPPFLAGS |
| CPP' | CPP |
| | CXX |
| | CXXFLAGS |
| | CCC' |
| |
|
| |
|
| # Initialize some variables set by options. |
# Initialize some variables set by options. |
|
Line 736 datadir='${datarootdir}'
|
Line 790 datadir='${datarootdir}'
|
| sysconfdir='${prefix}/etc' |
sysconfdir='${prefix}/etc' |
| sharedstatedir='${prefix}/com' |
sharedstatedir='${prefix}/com' |
| localstatedir='${prefix}/var' |
localstatedir='${prefix}/var' |
| |
runstatedir='${localstatedir}/run' |
| includedir='${prefix}/include' |
includedir='${prefix}/include' |
| oldincludedir='/usr/include' |
oldincludedir='/usr/include' |
| docdir='${datarootdir}/doc/${PACKAGE}' | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| infodir='${datarootdir}/info' |
infodir='${datarootdir}/info' |
| htmldir='${docdir}' |
htmldir='${docdir}' |
| dvidir='${docdir}' |
dvidir='${docdir}' |
|
Line 988 do
|
Line 1043 do
|
| | -silent | --silent | --silen | --sile | --sil) |
| -silent | --silent | --silen | --sile | --sil) |
| silent=yes ;; |
silent=yes ;; |
| |
|
| |
-runstatedir | --runstatedir | --runstatedi | --runstated \ |
| |
| --runstate | --runstat | --runsta | --runst | --runs \ |
| |
| --run | --ru | --r) |
| |
ac_prev=runstatedir ;; |
| |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
| |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
| |
| --run=* | --ru=* | --r=*) |
| |
runstatedir=$ac_optarg ;; |
| |
|
| -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| ac_prev=sbindir ;; |
ac_prev=sbindir ;; |
| -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
Line 1125 fi
|
Line 1189 fi
|
| for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| datadir sysconfdir sharedstatedir localstatedir includedir \ |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
| oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| libdir localedir mandir | libdir localedir mandir runstatedir |
| do |
do |
| eval ac_val=\$$ac_var |
eval ac_val=\$$ac_var |
| # Remove trailing slashes. |
# Remove trailing slashes. |
|
Line 1153 target=$target_alias
|
Line 1217 target=$target_alias
|
| if test "x$host_alias" != x; then |
if test "x$host_alias" != x; then |
| if test "x$build_alias" = x; then |
if test "x$build_alias" = x; then |
| cross_compiling=maybe |
cross_compiling=maybe |
| $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
| If a cross compiler is detected then cross compile mode will be used" >&2 |
|
| elif test "x$build_alias" != "x$host_alias"; then |
elif test "x$build_alias" != "x$host_alias"; then |
| cross_compiling=yes |
cross_compiling=yes |
| fi |
fi |
|
Line 1240 if test "$ac_init_help" = "long"; then
|
Line 1302 if test "$ac_init_help" = "long"; then
|
| # Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
| # This message is too long to be a string in the A/UX 3.1 sh. |
# This message is too long to be a string in the A/UX 3.1 sh. |
| cat <<_ACEOF |
cat <<_ACEOF |
| \`configure' configures this package to adapt to many kinds of systems. | \`configure' configures rsync to adapt to many kinds of systems. |
| |
|
| Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| |
|
|
Line 1280 Fine tuning of the installation directories:
|
Line 1342 Fine tuning of the installation directories:
|
| --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
| --libdir=DIR object code libraries [EPREFIX/lib] |
--libdir=DIR object code libraries [EPREFIX/lib] |
| --includedir=DIR C header files [PREFIX/include] |
--includedir=DIR C header files [PREFIX/include] |
| --oldincludedir=DIR C header files for non-gcc [/usr/include] |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
Line 1288 Fine tuning of the installation directories:
|
Line 1351 Fine tuning of the installation directories:
|
| --infodir=DIR info documentation [DATAROOTDIR/info] |
--infodir=DIR info documentation [DATAROOTDIR/info] |
| --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| --mandir=DIR man documentation [DATAROOTDIR/man] |
--mandir=DIR man documentation [DATAROOTDIR/man] |
| --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | --docdir=DIR documentation root [DATAROOTDIR/doc/rsync] |
| --htmldir=DIR html documentation [DOCDIR] |
--htmldir=DIR html documentation [DOCDIR] |
| --dvidir=DIR dvi documentation [DOCDIR] |
--dvidir=DIR dvi documentation [DOCDIR] |
| --pdfdir=DIR pdf documentation [DOCDIR] |
--pdfdir=DIR pdf documentation [DOCDIR] |
|
Line 1304 _ACEOF
|
Line 1367 _ACEOF
|
| fi |
fi |
| |
|
| if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
| case $ac_init_help in |
| | short | recursive ) echo "Configuration of rsync :";; |
| | esac |
| cat <<\_ACEOF |
cat <<\_ACEOF |
| |
|
| Optional Features: |
Optional Features: |
|
Line 1313 Optional Features:
|
Line 1378 Optional Features:
|
| --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| --disable-debug disable debugging symbols and features |
--disable-debug disable debugging symbols and features |
| --enable-profile turn on CPU profiling |
--enable-profile turn on CPU profiling |
| |
--disable-md2man disable md2man for man page creation |
| --enable-maintainer-mode |
--enable-maintainer-mode |
| turn on extra debug features |
turn on extra debug features |
| |
--disable-simd disable SIMD optimizations (requires c++) |
| |
--disable-asm disable ASM optimizations |
| --disable-largefile omit support for large files |
--disable-largefile omit support for large files |
| --disable-ipv6 do not even try to use IPv6 | --disable-ipv6 turn off IPv6 support |
| --disable-locale disable locale features |
--disable-locale disable locale features |
| |
--disable-openssl disable openssl crypto library |
| |
--disable-xxhash disable xxhash checksums |
| |
--disable-zstd disable zstd compression |
| |
--disable-lz4 disable LZ4 compression |
| --disable-iconv-open disable all use of iconv_open() function |
--disable-iconv-open disable all use of iconv_open() function |
| --disable-iconv disable rsync's --iconv option |
--disable-iconv disable rsync's --iconv option |
| |
--disable-slp turn off SLP support, defaults to on |
| --disable-acl-support disable ACL support |
--disable-acl-support disable ACL support |
| --disable-xattr-support disable extended attributes |
--disable-xattr-support disable extended attributes |
| |
--disable-mysql disable mysql DB support |
| |
--disable-sqlite disable sqlite DB support |
| |
|
| Optional Packages: |
Optional Packages: |
| --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| --with-included-popt use bundled popt library, not from system |
--with-included-popt use bundled popt library, not from system |
| |
--with-included-zlib use bundled zlib library, not from system |
| |
--with-protected-args make --protected-args option the default |
| --with-rsync-path=PATH set default --rsync-path to PATH (default: rsync) |
--with-rsync-path=PATH set default --rsync-path to PATH (default: rsync) |
| --with-rsyncd-conf=PATH set configuration file for rsync server to PATH |
--with-rsyncd-conf=PATH set configuration file for rsync server to PATH |
| (default: /etc/rsyncd.conf) |
(default: /etc/rsyncd.conf) |
|
Line 1334 Optional Packages:
|
Line 1411 Optional Packages:
|
| --with-nobody-group=GROUP |
--with-nobody-group=GROUP |
| set the default unprivileged group (default nobody |
set the default unprivileged group (default nobody |
| or nogroup) |
or nogroup) |
| |
--with-gssapi support GSSAPI authentication [default=check] |
| |
|
| Some influential environment variables: |
Some influential environment variables: |
| CC C compiler command |
CC C compiler command |
|
Line 1344 Some influential environment variables:
|
Line 1422 Some influential environment variables:
|
| CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| you have headers in a nonstandard directory <include dir> |
you have headers in a nonstandard directory <include dir> |
| CPP C preprocessor |
CPP C preprocessor |
| |
CXX C++ compiler command |
| |
CXXFLAGS C++ compiler flags |
| |
|
| Use these variables to override the choices made by `configure' or to help |
Use these variables to override the choices made by `configure' or to help |
| it to find libraries and programs with nonstandard names/locations. |
it to find libraries and programs with nonstandard names/locations. |
| |
|
| Report bugs to the package provider. | Report bugs to <https://rsync.samba.org/bug-tracking.html>. |
| _ACEOF |
_ACEOF |
| ac_status=$? |
ac_status=$? |
| fi |
fi |
|
Line 1411 fi
|
Line 1491 fi
|
| test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
| if $ac_init_version; then |
if $ac_init_version; then |
| cat <<\_ACEOF |
cat <<\_ACEOF |
| configure | rsync configure |
| generated by GNU Autoconf 2.68 | generated by GNU Autoconf 2.69 |
| |
|
| Copyright (C) 2010 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. |
| This configure script is free software; the Free Software Foundation |
This configure script is free software; the Free Software Foundation |
| gives unlimited permission to copy, distribute and modify it. |
gives unlimited permission to copy, distribute and modify it. |
| _ACEOF |
_ACEOF |
|
Line 1500 fi
|
Line 1580 fi
|
| |
|
| } # ac_fn_c_try_cpp |
} # ac_fn_c_try_cpp |
| |
|
| |
# ac_fn_cxx_try_compile LINENO |
| |
# ---------------------------- |
| |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
| |
ac_fn_cxx_try_compile () |
| |
{ |
| |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| |
rm -f conftest.$ac_objext |
| |
if { { ac_try="$ac_compile" |
| |
case "(($ac_try" in |
| |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| |
*) ac_try_echo=$ac_try;; |
| |
esac |
| |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| |
$as_echo "$ac_try_echo"; } >&5 |
| |
(eval "$ac_compile") 2>conftest.err |
| |
ac_status=$? |
| |
if test -s conftest.err; then |
| |
grep -v '^ *+' conftest.err >conftest.er1 |
| |
cat conftest.er1 >&5 |
| |
mv -f conftest.er1 conftest.err |
| |
fi |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| |
test $ac_status = 0; } && { |
| |
test -z "$ac_cxx_werror_flag" || |
| |
test ! -s conftest.err |
| |
} && test -s conftest.$ac_objext; then : |
| |
ac_retval=0 |
| |
else |
| |
$as_echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
ac_retval=1 |
| |
fi |
| |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| |
as_fn_set_status $ac_retval |
| |
|
| |
} # ac_fn_cxx_try_compile |
| |
|
| |
# ac_fn_cxx_try_run LINENO |
| |
# ------------------------ |
| |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
| |
# that executables *can* be run. |
| |
ac_fn_cxx_try_run () |
| |
{ |
| |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| |
if { { ac_try="$ac_link" |
| |
case "(($ac_try" in |
| |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| |
*) ac_try_echo=$ac_try;; |
| |
esac |
| |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| |
$as_echo "$ac_try_echo"; } >&5 |
| |
(eval "$ac_link") 2>&5 |
| |
ac_status=$? |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| |
{ { case "(($ac_try" in |
| |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| |
*) ac_try_echo=$ac_try;; |
| |
esac |
| |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| |
$as_echo "$ac_try_echo"; } >&5 |
| |
(eval "$ac_try") 2>&5 |
| |
ac_status=$? |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| |
test $ac_status = 0; }; }; then : |
| |
ac_retval=0 |
| |
else |
| |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
| |
$as_echo "$as_me: failed program was:" >&5 |
| |
sed 's/^/| /' conftest.$ac_ext >&5 |
| |
|
| |
ac_retval=$ac_status |
| |
fi |
| |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| |
as_fn_set_status $ac_retval |
| |
|
| |
} # ac_fn_cxx_try_run |
| |
|
| # ac_fn_c_try_run LINENO |
# ac_fn_c_try_run LINENO |
| # ---------------------- |
# ---------------------- |
| # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
Line 1569 $as_echo "$ac_try_echo"; } >&5
|
Line 1729 $as_echo "$ac_try_echo"; } >&5
|
| test ! -s conftest.err |
test ! -s conftest.err |
| } && test -s conftest$ac_exeext && { |
} && test -s conftest$ac_exeext && { |
| test "$cross_compiling" = yes || |
test "$cross_compiling" = yes || |
| $as_test_x conftest$ac_exeext | test -x conftest$ac_exeext |
| }; then : |
}; then : |
| ac_retval=0 |
ac_retval=0 |
| else |
else |
|
Line 1689 $as_echo "$as_me: WARNING: $2: see the Autoconf docume
|
Line 1849 $as_echo "$as_me: WARNING: $2: see the Autoconf docume
|
| $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| |
( $as_echo "## -------------------------------------------------------- ## |
| |
## Report this to https://rsync.samba.org/bug-tracking.html ## |
| |
## -------------------------------------------------------- ##" |
| |
) | sed "s/^/$as_me: WARNING: /" >&2 |
| ;; |
;; |
| esac |
esac |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
Line 1723 int
|
Line 1887 int
|
| main () |
main () |
| { |
{ |
| static int test_array [1 - 2 * !(($2) >= 0)]; |
static int test_array [1 - 2 * !(($2) >= 0)]; |
| test_array [0] = 0 | test_array [0] = 0; |
| | return test_array [0]; |
| |
|
| ; |
; |
| return 0; |
return 0; |
|
Line 1739 int
|
Line 1904 int
|
| main () |
main () |
| { |
{ |
| static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| test_array [0] = 0 | test_array [0] = 0; |
| | return test_array [0]; |
| |
|
| ; |
; |
| return 0; |
return 0; |
|
Line 1765 int
|
Line 1931 int
|
| main () |
main () |
| { |
{ |
| static int test_array [1 - 2 * !(($2) < 0)]; |
static int test_array [1 - 2 * !(($2) < 0)]; |
| test_array [0] = 0 | test_array [0] = 0; |
| | return test_array [0]; |
| |
|
| ; |
; |
| return 0; |
return 0; |
|
Line 1781 int
|
Line 1948 int
|
| main () |
main () |
| { |
{ |
| static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
| test_array [0] = 0 | test_array [0] = 0; |
| | return test_array [0]; |
| |
|
| ; |
; |
| return 0; |
return 0; |
|
Line 1815 int
|
Line 1983 int
|
| main () |
main () |
| { |
{ |
| static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| test_array [0] = 0 | test_array [0] = 0; |
| | return test_array [0]; |
| |
|
| ; |
; |
| return 0; |
return 0; |
|
Line 2065 cat >config.log <<_ACEOF
|
Line 2234 cat >config.log <<_ACEOF
|
| This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
| running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
| |
|
| It was created by $as_me, which was | It was created by rsync $as_me , which was |
| generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
| |
|
| $ $0 $@ |
$ $0 $@ |
| |
|
|
Line 2415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
Line 2584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
| |
|
| |
|
| |
|
| ac_config_headers="$ac_config_headers config.h" |
|
| |
|
| |
|
| |
ac_config_headers="$ac_config_headers config.h" |
| |
|
| RSYNC_VERSION=3.0.9 |
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring rsync $RSYNC_VERSION" >&5 |
|
| $as_echo "$as_me: Configuring rsync $RSYNC_VERSION" >&6;} |
|
| |
|
| |
PACKAGE_VERSION=`sed 's/.*"\(.*\)".*/\1/' <$srcdir/version.h` |
| |
|
| cat >>confdefs.h <<_ACEOF | { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring rsync $PACKAGE_VERSION" >&5 |
| #define RSYNC_VERSION "$RSYNC_VERSION" | $as_echo "$as_me: Configuring rsync $PACKAGE_VERSION" >&6;} |
| _ACEOF | |
| |
|
| |
|
| LDFLAGS=${LDFLAGS-""} |
LDFLAGS=${LDFLAGS-""} |
| |
|
| ac_aux_dir= |
ac_aux_dir= |
|
Line 2533 case $host_os in *\ *) host_os=`echo "$host_os" | sed
|
Line 2698 case $host_os in *\ *) host_os=`echo "$host_os" | sed
|
| |
|
| |
|
| |
|
| |
|
| |
|
| # We must decide this before testing the compiler. |
# We must decide this before testing the compiler. |
| |
|
| # Please allow this to default to yes, so that your users have more |
# Please allow this to default to yes, so that your users have more |
|
Line 2578 do
|
Line 2745 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_CC="${ac_tool_prefix}gcc" |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 2618 do
|
Line 2785 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_ac_ct_CC="gcc" |
ac_cv_prog_ac_ct_CC="gcc" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 2671 do
|
Line 2838 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_CC="${ac_tool_prefix}cc" |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 2712 do
|
Line 2879 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| ac_prog_rejected=yes |
ac_prog_rejected=yes |
| continue |
continue |
|
Line 2770 do
|
Line 2937 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 2814 do
|
Line 2981 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_ac_ct_CC="$ac_prog" |
ac_cv_prog_ac_ct_CC="$ac_prog" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 3260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| #include <stdarg.h> |
#include <stdarg.h> |
| #include <stdio.h> |
#include <stdio.h> |
| #include <sys/types.h> | struct stat; |
| #include <sys/stat.h> | |
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| struct buf { int x; }; |
struct buf { int x; }; |
| FILE * (*rcsopen) (struct buf *, struct stat *, int); |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
Line 3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext
|
Line 3649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext
|
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| |
|
| |
ac_ext=cpp |
| |
ac_cpp='$CXXCPP $CPPFLAGS' |
| |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| |
if test -z "$CXX"; then |
| |
if test -n "$CCC"; then |
| |
CXX=$CCC |
| |
else |
| |
if test -n "$ac_tool_prefix"; then |
| |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
| |
do |
| |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| |
$as_echo_n "checking for $ac_word... " >&6; } |
| |
if ${ac_cv_prog_CXX+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
if test -n "$CXX"; then |
| |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| |
else |
| |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| |
for as_dir in $PATH |
| |
do |
| |
IFS=$as_save_IFS |
| |
test -z "$as_dir" && as_dir=. |
| |
for ac_exec_ext in '' $ac_executable_extensions; do |
| |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| |
break 2 |
| |
fi |
| |
done |
| |
done |
| |
IFS=$as_save_IFS |
| |
|
| |
fi |
| |
fi |
| |
CXX=$ac_cv_prog_CXX |
| |
if test -n "$CXX"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
| |
$as_echo "$CXX" >&6; } |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
|
| |
test -n "$CXX" && break |
| |
done |
| |
fi |
| |
if test -z "$CXX"; then |
| |
ac_ct_CXX=$CXX |
| |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
| |
do |
| |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| |
set dummy $ac_prog; ac_word=$2 |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| |
$as_echo_n "checking for $ac_word... " >&6; } |
| |
if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
if test -n "$ac_ct_CXX"; then |
| |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
| |
else |
| |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| |
for as_dir in $PATH |
| |
do |
| |
IFS=$as_save_IFS |
| |
test -z "$as_dir" && as_dir=. |
| |
for ac_exec_ext in '' $ac_executable_extensions; do |
| |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| |
break 2 |
| |
fi |
| |
done |
| |
done |
| |
IFS=$as_save_IFS |
| |
|
| |
fi |
| |
fi |
| |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| |
if test -n "$ac_ct_CXX"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
| |
$as_echo "$ac_ct_CXX" >&6; } |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
|
| |
test -n "$ac_ct_CXX" && break |
| |
done |
| |
|
| |
if test "x$ac_ct_CXX" = x; then |
| |
CXX="g++" |
| |
else |
| |
case $cross_compiling:$ac_tool_warned in |
| |
yes:) |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| |
ac_tool_warned=yes ;; |
| |
esac |
| |
CXX=$ac_ct_CXX |
| |
fi |
| |
fi |
| |
|
| |
fi |
| |
fi |
| |
# Provide some information about the compiler. |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
| |
set X $ac_compile |
| |
ac_compiler=$2 |
| |
for ac_option in --version -v -V -qversion; do |
| |
{ { ac_try="$ac_compiler $ac_option >&5" |
| |
case "(($ac_try" in |
| |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| |
*) ac_try_echo=$ac_try;; |
| |
esac |
| |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| |
$as_echo "$ac_try_echo"; } >&5 |
| |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| |
ac_status=$? |
| |
if test -s conftest.err; then |
| |
sed '10a\ |
| |
... rest of stderr output deleted ... |
| |
10q' conftest.err >conftest.er1 |
| |
cat conftest.er1 >&5 |
| |
fi |
| |
rm -f conftest.er1 conftest.err |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| |
test $ac_status = 0; } |
| |
done |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
| |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
| |
if ${ac_cv_cxx_compiler_gnu+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
int |
| |
main () |
| |
{ |
| |
#ifndef __GNUC__ |
| |
choke me |
| |
#endif |
| |
|
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_cxx_try_compile "$LINENO"; then : |
| |
ac_compiler_gnu=yes |
| |
else |
| |
ac_compiler_gnu=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| |
|
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
| |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
| |
if test $ac_compiler_gnu = yes; then |
| |
GXX=yes |
| |
else |
| |
GXX= |
| |
fi |
| |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
| |
ac_save_CXXFLAGS=$CXXFLAGS |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
| |
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
| |
if ${ac_cv_prog_cxx_g+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| |
ac_cxx_werror_flag=yes |
| |
ac_cv_prog_cxx_g=no |
| |
CXXFLAGS="-g" |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
int |
| |
main () |
| |
{ |
| |
|
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_cxx_try_compile "$LINENO"; then : |
| |
ac_cv_prog_cxx_g=yes |
| |
else |
| |
CXXFLAGS="" |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
int |
| |
main () |
| |
{ |
| |
|
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_cxx_try_compile "$LINENO"; then : |
| |
|
| |
else |
| |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| |
CXXFLAGS="-g" |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
int |
| |
main () |
| |
{ |
| |
|
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_cxx_try_compile "$LINENO"; then : |
| |
ac_cv_prog_cxx_g=yes |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
| |
$as_echo "$ac_cv_prog_cxx_g" >&6; } |
| |
if test "$ac_test_CXXFLAGS" = set; then |
| |
CXXFLAGS=$ac_save_CXXFLAGS |
| |
elif test $ac_cv_prog_cxx_g = yes; then |
| |
if test "$GXX" = yes; then |
| |
CXXFLAGS="-g -O2" |
| |
else |
| |
CXXFLAGS="-g" |
| |
fi |
| |
else |
| |
if test "$GXX" = yes; then |
| |
CXXFLAGS="-O2" |
| |
else |
| |
CXXFLAGS= |
| |
fi |
| |
fi |
| |
ac_ext=c |
| |
ac_cpp='$CPP $CPPFLAGS' |
| |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| |
|
| |
for ac_prog in gawk mawk nawk awk |
| |
do |
| |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| |
set dummy $ac_prog; ac_word=$2 |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| |
$as_echo_n "checking for $ac_word... " >&6; } |
| |
if ${ac_cv_prog_AWK+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
if test -n "$AWK"; then |
| |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| |
else |
| |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| |
for as_dir in $PATH |
| |
do |
| |
IFS=$as_save_IFS |
| |
test -z "$as_dir" && as_dir=. |
| |
for ac_exec_ext in '' $ac_executable_extensions; do |
| |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| |
ac_cv_prog_AWK="$ac_prog" |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| |
break 2 |
| |
fi |
| |
done |
| |
done |
| |
IFS=$as_save_IFS |
| |
|
| |
fi |
| |
fi |
| |
AWK=$ac_cv_prog_AWK |
| |
if test -n "$AWK"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| |
$as_echo "$AWK" >&6; } |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
|
| |
test -n "$AWK" && break |
| |
done |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| if ${ac_cv_path_GREP+:} false; then : |
if ${ac_cv_path_GREP+:} false; then : |
|
Line 3499 do
|
Line 3964 do
|
| for ac_prog in grep ggrep; do |
for ac_prog in grep ggrep; do |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | as_fn_executable_p "$ac_path_GREP" || continue |
| # Check for GNU ac_path_GREP and select it if it is found. |
# Check for GNU ac_path_GREP and select it if it is found. |
| # Check for GNU $ac_path_GREP |
# Check for GNU $ac_path_GREP |
| case `"$ac_path_GREP" --version 2>&1` in |
case `"$ac_path_GREP" --version 2>&1` in |
|
Line 3565 do
|
Line 4030 do
|
| for ac_prog in egrep; do |
for ac_prog in egrep; do |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | as_fn_executable_p "$ac_path_EGREP" || continue |
| # Check for GNU ac_path_EGREP and select it if it is found. |
# Check for GNU ac_path_EGREP and select it if it is found. |
| # Check for GNU $ac_path_EGREP |
# Check for GNU $ac_path_EGREP |
| case `"$ac_path_EGREP" --version 2>&1` in |
case `"$ac_path_EGREP" --version 2>&1` in |
|
Line 3650 case $as_dir/ in #((
|
Line 4115 case $as_dir/ in #((
|
| # by default. |
# by default. |
| for ac_prog in ginstall scoinst install; do |
for ac_prog in ginstall scoinst install; do |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| if test $ac_prog = install && |
if test $ac_prog = install && |
| grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| # AIX install. It has an incompatible calling convention. |
# AIX install. It has an incompatible calling convention. |
|
Line 3706 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL
|
Line 4171 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL
|
| |
|
| test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
| |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
| |
if test -z "$MKDIR_P"; then |
| |
if ${ac_cv_path_mkdir+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| |
do |
| |
IFS=$as_save_IFS |
| |
test -z "$as_dir" && as_dir=. |
| |
for ac_prog in mkdir gmkdir; do |
| |
for ac_exec_ext in '' $ac_executable_extensions; do |
| |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
| |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| |
'mkdir (GNU coreutils) '* | \ |
| |
'mkdir (coreutils) '* | \ |
| |
'mkdir (fileutils) '4.1*) |
| |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
| |
break 3;; |
| |
esac |
| |
done |
| |
done |
| |
done |
| |
IFS=$as_save_IFS |
| |
|
| |
fi |
| |
|
| |
test -d ./--version && rmdir ./--version |
| |
if test "${ac_cv_path_mkdir+set}" = set; then |
| |
MKDIR_P="$ac_cv_path_mkdir -p" |
| |
else |
| |
# As a last resort, use the slow shell script. Don't cache a |
| |
# value for MKDIR_P within a source directory, because that will |
| |
# break other packages using the cache if that directory is |
| |
# removed, or if the value is a relative name. |
| |
MKDIR_P="$ac_install_sh -d" |
| |
fi |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| |
$as_echo "$MKDIR_P" >&6; } |
| |
|
| case $ac_cv_prog_cc_stdc in #( |
case $ac_cv_prog_cc_stdc in #( |
| no) : |
no) : |
| ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( |
ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( |
|
Line 3856 main ()
|
Line 4363 main ()
|
| return 0; |
return 0; |
| } |
} |
| _ACEOF |
_ACEOF |
| for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
| do |
do |
| CC="$ac_save_CC $ac_arg" |
CC="$ac_save_CC $ac_arg" |
| if ac_fn_c_try_compile "$LINENO"; then : |
if ac_fn_c_try_compile "$LINENO"; then : |
|
Line 3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| #include <stdarg.h> |
#include <stdarg.h> |
| #include <stdio.h> |
#include <stdio.h> |
| #include <sys/types.h> | struct stat; |
| #include <sys/stat.h> | |
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| struct buf { int x; }; |
struct buf { int x; }; |
| FILE * (*rcsopen) (struct buf *, struct stat *, int); |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
Line 4000 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
|
Line 4506 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
|
| esac |
esac |
| |
|
| |
|
| |
# Extract the first word of "perl", so it can be a program name with args. |
| |
set dummy perl; ac_word=$2 |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| |
$as_echo_n "checking for $ac_word... " >&6; } |
| |
if ${ac_cv_path_PERL+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
case $PERL in |
| |
[\\/]* | ?:[\\/]*) |
| |
ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
| |
;; |
| |
*) |
| |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| |
for as_dir in $PATH |
| |
do |
| |
IFS=$as_save_IFS |
| |
test -z "$as_dir" && as_dir=. |
| |
for ac_exec_ext in '' $ac_executable_extensions; do |
| |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| |
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| |
break 2 |
| |
fi |
| |
done |
| |
done |
| |
IFS=$as_save_IFS |
| |
|
| |
;; |
| |
esac |
| |
fi |
| |
PERL=$ac_cv_path_PERL |
| |
if test -n "$PERL"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
| |
$as_echo "$PERL" >&6; } |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
|
| |
# Extract the first word of "python3", so it can be a program name with args. |
| |
set dummy python3; ac_word=$2 |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| |
$as_echo_n "checking for $ac_word... " >&6; } |
| |
if ${ac_cv_path_PYTHON3+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
case $PYTHON3 in |
| |
[\\/]* | ?:[\\/]*) |
| |
ac_cv_path_PYTHON3="$PYTHON3" # Let the user override the test with a path. |
| |
;; |
| |
*) |
| |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| |
for as_dir in $PATH |
| |
do |
| |
IFS=$as_save_IFS |
| |
test -z "$as_dir" && as_dir=. |
| |
for ac_exec_ext in '' $ac_executable_extensions; do |
| |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| |
ac_cv_path_PYTHON3="$as_dir/$ac_word$ac_exec_ext" |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| |
break 2 |
| |
fi |
| |
done |
| |
done |
| |
IFS=$as_save_IFS |
| |
|
| |
;; |
| |
esac |
| |
fi |
| |
PYTHON3=$ac_cv_path_PYTHON3 |
| |
if test -n "$PYTHON3"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 |
| |
$as_echo "$PYTHON3" >&6; } |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
|
| |
|
| |
|
| $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
| |
|
| |
|
|
Line 4010 if test x"$ac_cv_prog_cc_stdc" = x"no"; then
|
Line 4596 if test x"$ac_cv_prog_cc_stdc" = x"no"; then
|
| $as_echo "$as_me: WARNING: rsync requires an ANSI C compiler and you do not seem to have one" >&2;} |
$as_echo "$as_me: WARNING: rsync requires an ANSI C compiler and you do not seem to have one" >&2;} |
| fi |
fi |
| |
|
| |
no_lib='' |
| |
err_msg='' |
| |
nl=' |
| |
' |
| |
|
| # Check whether --enable-profile was given. |
# Check whether --enable-profile was given. |
| if test "${enable_profile+set}" = set; then : |
if test "${enable_profile+set}" = set; then : |
| enableval=$enable_profile; |
enableval=$enable_profile; |
|
Line 4019 if test x"$enable_profile" = x"yes"; then
|
Line 4610 if test x"$enable_profile" = x"yes"; then
|
| CFLAGS="$CFLAGS -pg" |
CFLAGS="$CFLAGS -pg" |
| fi |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if md2man can create man pages" >&5 |
| |
$as_echo_n "checking if md2man can create man pages... " >&6; } |
| |
if test x"$ac_cv_path_PYTHON3" = x; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - python3 not found" >&5 |
| |
$as_echo "no - python3 not found" >&6; } |
| |
md2man_works=no |
| |
else |
| |
md2man_out=`"$srcdir/md2man" --test "$srcdir/rsync-ssl.1.md" 2>&1` |
| |
if test $? = 0; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| |
$as_echo "yes" >&6; } |
| |
md2man_works=yes |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
md2man_works=no |
| |
echo "$md2man_out" |
| |
fi |
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we require man-page building" >&5 |
| |
$as_echo_n "checking if we require man-page building... " >&6; } |
| |
# Check whether --enable-md2man was given. |
| |
if test "${enable_md2man+set}" = set; then : |
| |
enableval=$enable_md2man; |
| |
fi |
| |
|
| |
if test x"$enable_md2man" != x"no"; then |
| |
if test -f "$srcdir/rsync.1"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: optional" >&5 |
| |
$as_echo "optional" >&6; } |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: required" >&5 |
| |
$as_echo "required" >&6; } |
| |
if test x"$md2man_works" = x"no"; then |
| |
err_msg="$err_msg$nl- You need python3 and either the cmarkgfm OR commonmark python3 lib in order" |
| |
err_msg="$err_msg$nl to build man pages based on the git source (man pages are included in the" |
| |
err_msg="$err_msg$nl official release tar files)." |
| |
no_lib="$no_lib md2man" |
| |
fi |
| |
fi |
| |
MAKE_MAN=man |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
MAKE_MAN='' |
| |
fi |
| |
|
| # Specifically, this turns on panic_action handling. |
# Specifically, this turns on panic_action handling. |
| # Check whether --enable-maintainer-mode was given. |
# Check whether --enable-maintainer-mode was given. |
| if test "${enable_maintainer_mode+set}" = set; then : |
if test "${enable_maintainer_mode+set}" = set; then : |
|
Line 4030 if test x"$enable_maintainer_mode" = x"yes"; then
|
Line 4668 if test x"$enable_maintainer_mode" = x"yes"; then
|
| CFLAGS="$CFLAGS -DMAINTAINER_MODE" |
CFLAGS="$CFLAGS -DMAINTAINER_MODE" |
| fi |
fi |
| |
|
| |
|
| # This is needed for our included version of popt. Kind of silly, but |
# This is needed for our included version of popt. Kind of silly, but |
| # I don't want our version too far out of sync. |
# I don't want our version too far out of sync. |
| CFLAGS="$CFLAGS -DHAVE_CONFIG_H" |
CFLAGS="$CFLAGS -DHAVE_CONFIG_H" |
|
Line 4048 fi
|
Line 4685 fi
|
| |
|
| |
|
| |
|
| |
# Check whether --with-included-zlib was given. |
| |
if test "${with_included_zlib+set}" = set; then : |
| |
withval=$with_included_zlib; |
| |
fi |
| |
|
| |
|
| |
|
| |
# Check whether --with-protected-args was given. |
| |
if test "${with_protected_args+set}" = set; then : |
| |
withval=$with_protected_args; |
| |
fi |
| |
|
| |
if test x"$with_protected_args" = x"yes"; then |
| |
|
| |
cat >>confdefs.h <<_ACEOF |
| |
#define RSYNC_USE_PROTECTED_ARGS 1 |
| |
_ACEOF |
| |
|
| |
fi |
| |
|
| |
|
| # Check whether --with-rsync-path was given. |
# Check whether --with-rsync-path was given. |
| if test "${with_rsync_path+set}" = set; then : |
if test "${with_rsync_path+set}" = set; then : |
| withval=$with_rsync_path; RSYNC_PATH="$with_rsync_path" |
withval=$with_rsync_path; RSYNC_PATH="$with_rsync_path" |
|
Line 4114 do
|
Line 4772 do
|
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_HAVE_REMSH="1" |
ac_cv_prog_HAVE_REMSH="1" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
|
Line 4153 cat >>confdefs.h <<_ACEOF
|
Line 4811 cat >>confdefs.h <<_ACEOF
|
| _ACEOF |
_ACEOF |
| |
|
| |
|
| # Extract the first word of "yodl2man", so it can be a program name with args. | # Some programs on solaris are only found in /usr/xpg4/bin (or work better than others versions). |
| set dummy yodl2man; ac_word=$2 | # Extract the first word of "sh", so it can be a program name with args. |
| | set dummy sh; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
$as_echo_n "checking for $ac_word... " >&6; } |
| if ${ac_cv_prog_HAVE_YODL2MAN+:} false; then : | if ${ac_cv_path_SHELL_PATH+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
| else |
else |
| if test -n "$HAVE_YODL2MAN"; then | case $SHELL_PATH in |
| ac_cv_prog_HAVE_YODL2MAN="$HAVE_YODL2MAN" # Let the user override the test. | [\\/]* | ?:[\\/]*) |
| else | ac_cv_path_SHELL_PATH="$SHELL_PATH" # Let the user override the test with a path. |
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ;; |
| for as_dir in $PATH | *) |
| | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | for as_dir in /usr/xpg4/bin$PATH_SEPARATOR$PATH |
| do |
do |
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
| for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
| if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_HAVE_YODL2MAN="1" | ac_cv_path_SHELL_PATH="$as_dir/$ac_word$ac_exec_ext" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
break 2 |
| fi |
fi |
|
Line 4178 done
|
Line 4839 done
|
| done |
done |
| IFS=$as_save_IFS |
IFS=$as_save_IFS |
| |
|
| test -z "$ac_cv_prog_HAVE_YODL2MAN" && ac_cv_prog_HAVE_YODL2MAN="0" | test -z "$ac_cv_path_SHELL_PATH" && ac_cv_path_SHELL_PATH="/bin/sh" |
| | ;; |
| | esac |
| fi |
fi |
| fi | SHELL_PATH=$ac_cv_path_SHELL_PATH |
| HAVE_YODL2MAN=$ac_cv_prog_HAVE_YODL2MAN | if test -n "$SHELL_PATH"; then |
| if test -n "$HAVE_YODL2MAN"; then | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHELL_PATH" >&5 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_YODL2MAN" >&5 | $as_echo "$SHELL_PATH" >&6; } |
| $as_echo "$HAVE_YODL2MAN" >&6; } | |
| else |
else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
$as_echo "no" >&6; } |
| fi |
fi |
| |
|
| |
|
| if test x$HAVE_YODL2MAN = x1; then | # Extract the first word of "fakeroot", so it can be a program name with args. |
| MAKE_MAN=man | set dummy fakeroot; ac_word=$2 |
| | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| | $as_echo_n "checking for $ac_word... " >&6; } |
| | if ${ac_cv_path_FAKEROOT_PATH+:} false; then : |
| | $as_echo_n "(cached) " >&6 |
| | else |
| | case $FAKEROOT_PATH in |
| | [\\/]* | ?:[\\/]*) |
| | ac_cv_path_FAKEROOT_PATH="$FAKEROOT_PATH" # Let the user override the test with a path. |
| | ;; |
| | *) |
| | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | for as_dir in /usr/xpg4/bin$PATH_SEPARATOR$PATH |
| | do |
| | IFS=$as_save_IFS |
| | test -z "$as_dir" && as_dir=. |
| | for ac_exec_ext in '' $ac_executable_extensions; do |
| | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | ac_cv_path_FAKEROOT_PATH="$as_dir/$ac_word$ac_exec_ext" |
| | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | break 2 |
| | fi |
| | done |
| | done |
| | IFS=$as_save_IFS |
| | |
| | test -z "$ac_cv_path_FAKEROOT_PATH" && ac_cv_path_FAKEROOT_PATH="/usr/bin/fakeroot" |
| | ;; |
| | esac |
| fi |
fi |
| |
FAKEROOT_PATH=$ac_cv_path_FAKEROOT_PATH |
| |
if test -n "$FAKEROOT_PATH"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FAKEROOT_PATH" >&5 |
| |
$as_echo "$FAKEROOT_PATH" >&6; } |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
|
| |
|
| |
|
| # Check whether --with-nobody-group was given. |
# Check whether --with-nobody-group was given. |
| if test "${with_nobody_group+set}" = set; then : |
if test "${with_nobody_group+set}" = set; then : |
| withval=$with_nobody_group; NOBODY_GROUP="$with_nobody_group" |
withval=$with_nobody_group; NOBODY_GROUP="$with_nobody_group" |
|
Line 4227 cat >>confdefs.h <<_ACEOF
|
Line 4927 cat >>confdefs.h <<_ACEOF
|
| _ACEOF |
_ACEOF |
| |
|
| |
|
| |
# SIMD optimizations |
| |
SIMD= |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SIMD optimizations" >&5 |
| |
$as_echo_n "checking whether to enable SIMD optimizations... " >&6; } |
| |
# Check whether --enable-simd was given. |
| |
if test "${enable_simd+set}" = set; then : |
| |
enableval=$enable_simd; |
| |
fi |
| |
|
| |
|
| |
# Clag is crashing with -g -O2, so we'll get rid of -g for now. |
| |
CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g //'` |
| |
|
| |
if test x"$enable_simd" != x"no"; then |
| |
# For x86-64 SIMD, g++ >=5 or clang++ >=7 is required |
| |
if test x"$build_cpu" = x"x86_64"; then |
| |
ac_ext=cpp |
| |
ac_cpp='$CXXCPP $CPPFLAGS' |
| |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| |
|
| |
|
| |
if test "$cross_compiling" = yes; then : |
| |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| |
as_fn_error $? "cannot run test program while cross compiling |
| |
See \`config.log' for more details" "$LINENO" 5; } |
| |
else |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
#include <stdio.h> |
| |
#include <immintrin.h> |
| |
__attribute__ ((target("default"))) int test_ssse3(int x) { return x; } |
| |
__attribute__ ((target("default"))) int test_sse2(int x) { return x; } |
| |
__attribute__ ((target("default"))) int test_avx2(int x) { return x; } |
| |
__attribute__ ((target("ssse3"))) int test_ssse3(int x) { return x; } |
| |
__attribute__ ((target("sse2"))) int test_sse2(int x) { return x; } |
| |
__attribute__ ((target("avx2"))) int test_avx2(int x) { return x; } |
| |
typedef long long __m128i_u __attribute__((__vector_size__(16), __may_alias__, __aligned__(1))); |
| |
typedef long long __m256i_u __attribute__((__vector_size__(32), __may_alias__, __aligned__(1))); |
| |
__attribute__ ((target("default"))) void more_testing(char* buf, int len) { } |
| |
__attribute__ ((target("ssse3"))) void more_testing(char* buf, int len) |
| |
{ |
| |
int i; |
| |
for (i = 0; i < (len-32); i+=32) { |
| |
__m128i in8_1, in8_2; |
| |
in8_1 = _mm_lddqu_si128((__m128i_u*)&buf[i]); |
| |
in8_2 = _mm_lddqu_si128((__m128i_u*)&buf[i + 16]); |
| |
} |
| |
} |
| |
|
| |
int |
| |
main () |
| |
{ |
| |
if (test_ssse3(42) != 42 || test_sse2(42) != 42 || test_avx2(42) != 42) exit(1); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_cxx_try_run "$LINENO"; then : |
| |
CXX_OK=yes |
| |
else |
| |
CXX_OK=no |
| |
fi |
| |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| |
fi |
| |
|
| |
ac_ext=c |
| |
ac_cpp='$CPP $CPPFLAGS' |
| |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| |
|
| |
if test x"$CXX_OK" = x"yes"; then |
| |
# AC_MSG_RESULT() is called below. |
| |
SIMD="x86_64" |
| |
elif test x"$enable_simd" = x"yes"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5 |
| |
$as_echo "error" >&6; } |
| |
as_fn_error $? "The SIMD compilation test failed. |
| |
Omit --enable-simd to continue without it." "$LINENO" 5 |
| |
fi |
| |
elif test x"$enable_simd" = x"yes"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unavailable" >&5 |
| |
$as_echo "unavailable" >&6; } |
| |
as_fn_error $? "The SIMD optimizations are currently x86_64 only. |
| |
Omit --enable-simd to continue without it." "$LINENO" 5 |
| |
fi |
| |
fi |
| |
|
| |
if test x"$SIMD" != x""; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($SIMD)" >&5 |
| |
$as_echo "yes ($SIMD)" >&6; } |
| |
|
| |
$as_echo "#define HAVE_SIMD 1" >>confdefs.h |
| |
|
| |
SIMD='$(SIMD_'"$SIMD)" |
| |
# We only use c++ for its target attribute dispatching, disable unneeded bulky features |
| |
CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-rtti" |
| |
# Apple often has "g++" as a symlink for clang. Try to find out the truth. |
| |
CXX_VERSION=`$CXX --version 2>/dev/null | head -n 2` |
| |
case "$CXX_VERSION" in |
| |
*clang*) CXXFLAGS="$CXXFLAGS -fno-slp-vectorize" ;; # avoid a performance hit |
| |
esac |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
|
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler accepts noexecstack" >&5 |
| |
$as_echo_n "checking if assembler accepts noexecstack... " >&6; } |
| |
OLD_CFLAGS="$CFLAGS" |
| |
CFLAGS="$CFLAGS -Wa,--noexecstack" |
| |
|
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
int |
| |
main () |
| |
{ |
| |
return 0; |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_compile "$LINENO"; then : |
| |
NOEXECSTACK='-Wa,--noexecstack' ; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| |
$as_echo "yes" >&6; } |
| |
else |
| |
NOEXECSTACK='' ; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| |
CFLAGS="$OLD_CFLAGS" |
| |
|
| |
|
| |
ASM= |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ASM optimizations" >&5 |
| |
$as_echo_n "checking whether to enable ASM optimizations... " >&6; } |
| |
# Check whether --enable-asm was given. |
| |
if test "${enable_asm+set}" = set; then : |
| |
enableval=$enable_asm; |
| |
fi |
| |
|
| |
|
| |
if test x"$enable_asm" != x"no"; then |
| |
if test x"$build_cpu" = x"x86_64"; then |
| |
ASM="$build_cpu" |
| |
elif test x"$enable_asm" = x"yes"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unavailable" >&5 |
| |
$as_echo "unavailable" >&6; } |
| |
as_fn_error $? "The ASM optimizations are currently x86_64 only. |
| |
Omit --enable-asm to continue without it." "$LINENO" 5 |
| |
fi |
| |
fi |
| |
|
| |
if test x"$ASM" != x""; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($ASM)" >&5 |
| |
$as_echo "yes ($ASM)" >&6; } |
| |
|
| |
$as_echo "#define HAVE_ASM 1" >>confdefs.h |
| |
|
| |
ASM='$(ASM_'"$ASM)" |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
|
| |
|
| # arrgh. libc in some old debian version screwed up the largefile |
# arrgh. libc in some old debian version screwed up the largefile |
| # stuff, getting byte range locking wrong |
# stuff, getting byte range locking wrong |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken largefile support" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken largefile support" >&5 |
| $as_echo_n "checking for broken largefile support... " >&6; } |
$as_echo_n "checking for broken largefile support... " >&6; } |
| if ${rsync_cv_HAVE_BROKEN_LARGEFILE+:} false; then : |
if ${rsync_cv_HAVE_BROKEN_LARGEFILE+:} false; then : |
|
Line 4247 else
|
Line 5122 else
|
| #include <fcntl.h> |
#include <fcntl.h> |
| #include <sys/types.h> |
#include <sys/types.h> |
| #include <sys/wait.h> |
#include <sys/wait.h> |
| |
#if HAVE_UNISTD_H |
| |
#include <unistd.h> |
| |
#endif |
| |
|
| int main(void) |
int main(void) |
| { |
{ |
|
Line 4271 int main(void)
|
Line 5149 int main(void)
|
| } |
} |
| wait(&status); |
wait(&status); |
| unlink(tpl); |
unlink(tpl); |
| exit(WEXITSTATUS(status)); | return WEXITSTATUS(status); |
| } |
} |
| |
|
| _ACEOF |
_ACEOF |
|
Line 4313 else
|
Line 5191 else
|
| We can't simply define LARGE_OFF_T to be 9223372036854775807, |
We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| since some C++ compilers masquerading as C compilers |
since some C++ compilers masquerading as C compilers |
| incorrectly reject 9223372036854775807. */ |
incorrectly reject 9223372036854775807. */ |
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) |
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| && LARGE_OFF_T % 2147483647 == 1) |
&& LARGE_OFF_T % 2147483647 == 1) |
| ? 1 : -1]; |
? 1 : -1]; |
|
Line 4359 else
|
Line 5237 else
|
| We can't simply define LARGE_OFF_T to be 9223372036854775807, |
We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| since some C++ compilers masquerading as C compilers |
since some C++ compilers masquerading as C compilers |
| incorrectly reject 9223372036854775807. */ |
incorrectly reject 9223372036854775807. */ |
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) |
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| && LARGE_OFF_T % 2147483647 == 1) |
&& LARGE_OFF_T % 2147483647 == 1) |
| ? 1 : -1]; |
? 1 : -1]; |
|
Line 4383 rm -f core conftest.err conftest.$ac_objext conftest.$
|
Line 5261 rm -f core conftest.err conftest.$ac_objext conftest.$
|
| We can't simply define LARGE_OFF_T to be 9223372036854775807, |
We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| since some C++ compilers masquerading as C compilers |
since some C++ compilers masquerading as C compilers |
| incorrectly reject 9223372036854775807. */ |
incorrectly reject 9223372036854775807. */ |
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) |
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| && LARGE_OFF_T % 2147483647 == 1) |
&& LARGE_OFF_T % 2147483647 == 1) |
| ? 1 : -1]; |
? 1 : -1]; |
|
Line 4428 else
|
Line 5306 else
|
| We can't simply define LARGE_OFF_T to be 9223372036854775807, |
We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| since some C++ compilers masquerading as C compilers |
since some C++ compilers masquerading as C compilers |
| incorrectly reject 9223372036854775807. */ |
incorrectly reject 9223372036854775807. */ |
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) |
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| && LARGE_OFF_T % 2147483647 == 1) |
&& LARGE_OFF_T % 2147483647 == 1) |
| ? 1 : -1]; |
? 1 : -1]; |
|
Line 4452 rm -f core conftest.err conftest.$ac_objext conftest.$
|
Line 5330 rm -f core conftest.err conftest.$ac_objext conftest.$
|
| We can't simply define LARGE_OFF_T to be 9223372036854775807, |
We can't simply define LARGE_OFF_T to be 9223372036854775807, |
| since some C++ compilers masquerading as C compilers |
since some C++ compilers masquerading as C compilers |
| incorrectly reject 9223372036854775807. */ |
incorrectly reject 9223372036854775807. */ |
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) |
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 |
| && LARGE_OFF_T % 2147483647 == 1) |
&& LARGE_OFF_T % 2147483647 == 1) |
| ? 1 : -1]; |
? 1 : -1]; |
|
Line 4484 _ACEOF
|
Line 5362 _ACEOF
|
| esac |
esac |
| rm -rf conftest* |
rm -rf conftest* |
| fi |
fi |
| |
|
| |
|
| fi |
fi |
| |
|
| fi |
fi |
|
Line 4500 fi
|
Line 5380 fi
|
| if test x"$enable_ipv6" != x"no"; then |
if test x"$enable_ipv6" != x"no"; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5 |
| $as_echo_n "checking ipv6 stack type... " >&6; } |
$as_echo_n "checking ipv6 stack type... " >&6; } |
| for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta cygwin; do | for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta cygwin TANDEM; do |
| case $i in |
case $i in |
| inria) |
inria) |
| # http://www.kame.net/ |
# http://www.kame.net/ |
|
Line 4679 fi
|
Line 5559 fi
|
| rm -f conftest* |
rm -f conftest* |
| |
|
| ;; |
;; |
| |
TANDEM) |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
#include <netinet/ip6.h> |
| |
#ifdef __TANDEM |
| |
yes |
| |
#endif |
| |
_ACEOF |
| |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| |
$EGREP "yes" >/dev/null 2>&1; then : |
| |
ipv6type=$i; |
| |
|
| |
$as_echo "#define INET6 1" >>confdefs.h |
| |
|
| |
fi |
| |
rm -f conftest* |
| |
|
| |
;; |
| esac |
esac |
| if test "$ipv6type" != "unknown"; then |
if test "$ipv6type" != "unknown"; then |
| break |
break |
|
Line 5360 for ac_header in sys/fcntl.h sys/select.h fcntl.h sys/
|
Line 6259 for ac_header in sys/fcntl.h sys/select.h fcntl.h sys/
|
| unistd.h utime.h grp.h compat.h sys/param.h ctype.h sys/wait.h \ |
unistd.h utime.h grp.h compat.h sys/param.h ctype.h sys/wait.h \ |
| sys/ioctl.h sys/filio.h string.h stdlib.h sys/socket.h sys/mode.h \ |
sys/ioctl.h sys/filio.h string.h stdlib.h sys/socket.h sys/mode.h \ |
| sys/un.h sys/attr.h mcheck.h arpa/inet.h arpa/nameser.h locale.h \ |
sys/un.h sys/attr.h mcheck.h arpa/inet.h arpa/nameser.h locale.h \ |
| |
mysql/mysql.h sqlite3.h \ |
| netdb.h malloc.h float.h limits.h iconv.h libcharset.h langinfo.h \ |
netdb.h malloc.h float.h limits.h iconv.h libcharset.h langinfo.h \ |
| sys/acl.h acl/libacl.h attr/xattr.h sys/xattr.h sys/extattr.h \ | sys/acl.h acl/libacl.h attr/xattr.h sys/xattr.h sys/extattr.h dl.h \ |
| popt.h popt/popt.h netinet/in_systm.h netinet/ip.h | popt.h popt/popt.h linux/falloc.h netinet/in_systm.h netinet/ip.h \ |
| | zlib.h xxhash.h openssl/md4.h openssl/md5.h zstd.h lz4.h sys/file.h |
| do : |
do : |
| as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
Line 5392 return makedev(0, 0);
|
Line 6293 return makedev(0, 0);
|
| } |
} |
| _ACEOF |
_ACEOF |
| if ac_fn_c_try_link "$LINENO"; then : |
if ac_fn_c_try_link "$LINENO"; then : |
| ac_cv_header_sys_types_h_makedev=yes | if grep sys/sysmacros.h conftest.err >/dev/null; then |
| | ac_cv_header_sys_types_h_makedev=no |
| | else |
| | ac_cv_header_sys_types_h_makedev=yes |
| | fi |
| else |
else |
| ac_cv_header_sys_types_h_makedev=no |
ac_cv_header_sys_types_h_makedev=no |
| fi |
fi |
|
Line 5426 fi
|
Line 6331 fi
|
| fi |
fi |
| |
|
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable use of openssl crypto library" >&5 |
| |
$as_echo_n "checking whether to enable use of openssl crypto library... " >&6; } |
| |
# Check whether --enable-openssl was given. |
| |
if test "${enable_openssl+set}" = set; then : |
| |
enableval=$enable_openssl; |
| |
fi |
| |
|
| |
|
| |
if test x"$enable_openssl" != x"no"; then |
| |
if test x"$ac_cv_header_openssl_md4_h" = x"yes" && test x"$ac_cv_header_openssl_md5_h" = x"yes"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| |
$as_echo "yes" >&6; } |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MD5_Init" >&5 |
| |
$as_echo_n "checking for library containing MD5_Init... " >&6; } |
| |
if ${ac_cv_search_MD5_Init+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_func_search_save_LIBS=$LIBS |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char MD5_Init (); |
| |
int |
| |
main () |
| |
{ |
| |
return MD5_Init (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
for ac_lib in '' crypto; do |
| |
if test -z "$ac_lib"; then |
| |
ac_res="none required" |
| |
else |
| |
ac_res=-l$ac_lib |
| |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| |
fi |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_search_MD5_Init=$ac_res |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext |
| |
if ${ac_cv_search_MD5_Init+:} false; then : |
| |
break |
| |
fi |
| |
done |
| |
if ${ac_cv_search_MD5_Init+:} false; then : |
| |
|
| |
else |
| |
ac_cv_search_MD5_Init=no |
| |
fi |
| |
rm conftest.$ac_ext |
| |
LIBS=$ac_func_search_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MD5_Init" >&5 |
| |
$as_echo "$ac_cv_search_MD5_Init" >&6; } |
| |
ac_res=$ac_cv_search_MD5_Init |
| |
if test "$ac_res" != no; then : |
| |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| |
$as_echo "#define USE_OPENSSL 1" >>confdefs.h |
| |
|
| |
else |
| |
err_msg="$err_msg$nl- Failed to find MD5_Init function in openssl crypto lib."; |
| |
no_lib="$no_lib openssl" |
| |
fi |
| |
|
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
err_msg="$err_msg$nl- Failed to find openssl/md4.h and openssl/md5.h for openssl crypto lib support." |
| |
no_lib="$no_lib openssl" |
| |
fi |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable xxhash checksum support" >&5 |
| |
$as_echo_n "checking whether to enable xxhash checksum support... " >&6; } |
| |
# Check whether --enable-xxhash was given. |
| |
if test "${enable_xxhash+set}" = set; then : |
| |
enableval=$enable_xxhash; |
| |
fi |
| |
|
| |
|
| |
if test x"$enable_xxhash" != x"no"; then |
| |
if test x"$ac_cv_header_xxhash_h" = x"yes"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| |
$as_echo "yes" >&6; } |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing XXH64_createState" >&5 |
| |
$as_echo_n "checking for library containing XXH64_createState... " >&6; } |
| |
if ${ac_cv_search_XXH64_createState+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_func_search_save_LIBS=$LIBS |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char XXH64_createState (); |
| |
int |
| |
main () |
| |
{ |
| |
return XXH64_createState (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
for ac_lib in '' xxhash; do |
| |
if test -z "$ac_lib"; then |
| |
ac_res="none required" |
| |
else |
| |
ac_res=-l$ac_lib |
| |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| |
fi |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_search_XXH64_createState=$ac_res |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext |
| |
if ${ac_cv_search_XXH64_createState+:} false; then : |
| |
break |
| |
fi |
| |
done |
| |
if ${ac_cv_search_XXH64_createState+:} false; then : |
| |
|
| |
else |
| |
ac_cv_search_XXH64_createState=no |
| |
fi |
| |
rm conftest.$ac_ext |
| |
LIBS=$ac_func_search_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_XXH64_createState" >&5 |
| |
$as_echo "$ac_cv_search_XXH64_createState" >&6; } |
| |
ac_res=$ac_cv_search_XXH64_createState |
| |
if test "$ac_res" != no; then : |
| |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| |
$as_echo "#define SUPPORT_XXHASH 1" >>confdefs.h |
| |
|
| |
else |
| |
err_msg="$err_msg$nl- Failed to find XXH64_createState function in xxhash lib."; |
| |
no_lib="$no_lib xxhash" |
| |
fi |
| |
|
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
err_msg="$err_msg$nl- Failed to find xxhash.h for xxhash checksum support."; |
| |
no_lib="$no_lib xxhash" |
| |
fi |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable zstd compression" >&5 |
| |
$as_echo_n "checking whether to enable zstd compression... " >&6; } |
| |
# Check whether --enable-zstd was given. |
| |
if test "${enable_zstd+set}" = set; then : |
| |
enableval=$enable_zstd; |
| |
fi |
| |
|
| |
|
| |
if test x"$enable_zstd" != x"no"; then |
| |
if test x"$ac_cv_header_zstd_h" = x"yes"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| |
$as_echo "yes" >&6; } |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ZSTD_minCLevel" >&5 |
| |
$as_echo_n "checking for library containing ZSTD_minCLevel... " >&6; } |
| |
if ${ac_cv_search_ZSTD_minCLevel+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_func_search_save_LIBS=$LIBS |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char ZSTD_minCLevel (); |
| |
int |
| |
main () |
| |
{ |
| |
return ZSTD_minCLevel (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
for ac_lib in '' zstd; do |
| |
if test -z "$ac_lib"; then |
| |
ac_res="none required" |
| |
else |
| |
ac_res=-l$ac_lib |
| |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| |
fi |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_search_ZSTD_minCLevel=$ac_res |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext |
| |
if ${ac_cv_search_ZSTD_minCLevel+:} false; then : |
| |
break |
| |
fi |
| |
done |
| |
if ${ac_cv_search_ZSTD_minCLevel+:} false; then : |
| |
|
| |
else |
| |
ac_cv_search_ZSTD_minCLevel=no |
| |
fi |
| |
rm conftest.$ac_ext |
| |
LIBS=$ac_func_search_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ZSTD_minCLevel" >&5 |
| |
$as_echo "$ac_cv_search_ZSTD_minCLevel" >&6; } |
| |
ac_res=$ac_cv_search_ZSTD_minCLevel |
| |
if test "$ac_res" != no; then : |
| |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| |
$as_echo "#define SUPPORT_ZSTD 1" >>confdefs.h |
| |
|
| |
else |
| |
err_msg="$err_msg$nl- Failed to find ZSTD_minCLevel function in zstd lib."; |
| |
no_lib="$no_lib zstd" |
| |
fi |
| |
|
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
err_msg="$err_msg$nl- Failed to find zstd.h for zstd compression support."; |
| |
no_lib="$no_lib zstd" |
| |
fi |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable LZ4 compression" >&5 |
| |
$as_echo_n "checking whether to enable LZ4 compression... " >&6; } |
| |
# Check whether --enable-lz4 was given. |
| |
if test "${enable_lz4+set}" = set; then : |
| |
enableval=$enable_lz4; |
| |
fi |
| |
|
| |
|
| |
if test x"$enable_lz4" != x"no"; then |
| |
if test x"$ac_cv_header_lz4_h" = x"yes"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| |
$as_echo "yes" >&6; } |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing LZ4_compress_default" >&5 |
| |
$as_echo_n "checking for library containing LZ4_compress_default... " >&6; } |
| |
if ${ac_cv_search_LZ4_compress_default+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_func_search_save_LIBS=$LIBS |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char LZ4_compress_default (); |
| |
int |
| |
main () |
| |
{ |
| |
return LZ4_compress_default (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
for ac_lib in '' lz4; do |
| |
if test -z "$ac_lib"; then |
| |
ac_res="none required" |
| |
else |
| |
ac_res=-l$ac_lib |
| |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| |
fi |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_search_LZ4_compress_default=$ac_res |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext |
| |
if ${ac_cv_search_LZ4_compress_default+:} false; then : |
| |
break |
| |
fi |
| |
done |
| |
if ${ac_cv_search_LZ4_compress_default+:} false; then : |
| |
|
| |
else |
| |
ac_cv_search_LZ4_compress_default=no |
| |
fi |
| |
rm conftest.$ac_ext |
| |
LIBS=$ac_func_search_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_LZ4_compress_default" >&5 |
| |
$as_echo "$ac_cv_search_LZ4_compress_default" >&6; } |
| |
ac_res=$ac_cv_search_LZ4_compress_default |
| |
if test "$ac_res" != no; then : |
| |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| |
$as_echo "#define SUPPORT_LZ4 1" >>confdefs.h |
| |
|
| |
else |
| |
err_msg="$err_msg$nl- Failed to find LZ4_compress_default function in lz4 lib."; |
| |
no_lib="$no_lib lz4" |
| |
fi |
| |
|
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
err_msg="$err_msg$nl- Failed to find lz4.h for lz4 compression support." |
| |
no_lib="$no_lib lz4" |
| |
fi |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
if test x"$no_lib" != x; then |
| |
echo "" |
| |
echo "Configure found the following issues:" |
| |
echo "$err_msg" |
| |
echo "" |
| |
echo "See the INSTALL file for hints on how to install the missing libraries and/or" |
| |
echo "how to generate (or fetch) man pages:" |
| |
echo " https://github.com/WayneD/rsync/blob/master/INSTALL.md" |
| |
echo "" |
| |
echo "To disable one or more features, the relevant configure options are:" |
| |
for lib in $no_lib; do |
| |
echo " --disable-$lib" |
| |
done |
| |
echo "" |
| |
as_fn_error $? "Aborting configure run" "$LINENO" 5 |
| |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking if makedev takes 3 args" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if makedev takes 3 args" >&5 |
| $as_echo_n "checking if makedev takes 3 args... " >&6; } |
$as_echo_n "checking if makedev takes 3 args... " >&6; } |
| if ${rsync_cv_MAKEDEV_TAKES_3_ARGS+:} false; then : |
if ${rsync_cv_MAKEDEV_TAKES_3_ARGS+:} false; then : |
|
Line 5452 int main(void)
|
Line 6706 int main(void)
|
| { |
{ |
| dev_t dev = makedev(0, 5, 7); |
dev_t dev = makedev(0, 5, 7); |
| if (major(dev) != 5 || minor(dev) != 7) |
if (major(dev) != 5 || minor(dev) != 7) |
| exit(1); | return 1; |
| return 0; |
return 0; |
| } |
} |
| |
|
|
Line 5871 cat >>confdefs.h <<_ACEOF
|
Line 7125 cat >>confdefs.h <<_ACEOF
|
| _ACEOF |
_ACEOF |
| |
|
| |
|
| |
# The cast to long int works around a bug in the HP C Compiler |
| |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| |
# This bug is HP SR number 8606223364. |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char*" >&5 |
| |
$as_echo_n "checking size of char*... " >&6; } |
| |
if ${ac_cv_sizeof_charp+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char*))" "ac_cv_sizeof_charp" "$ac_includes_default"; then : |
| |
|
| |
else |
| |
if test "$ac_cv_type_charp" = yes; then |
| |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| |
as_fn_error 77 "cannot compute sizeof (char*) |
| |
See \`config.log' for more details" "$LINENO" 5; } |
| |
else |
| |
ac_cv_sizeof_charp=0 |
| |
fi |
| |
fi |
| |
|
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_charp" >&5 |
| |
$as_echo "$ac_cv_sizeof_charp" >&6; } |
| |
|
| |
|
| |
|
| |
cat >>confdefs.h <<_ACEOF |
| |
#define SIZEOF_CHARP $ac_cv_sizeof_charp |
| |
_ACEOF |
| |
|
| |
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
| $as_echo_n "checking for inline... " >&6; } |
$as_echo_n "checking for inline... " >&6; } |
| if ${ac_cv_c_inline+:} false; then : |
if ${ac_cv_c_inline+:} false; then : |
|
Line 5945 static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP <
|
Line 7232 static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP <
|
| - (LDBL_MANT_DIG < DBL_MANT_DIG))) |
- (LDBL_MANT_DIG < DBL_MANT_DIG))) |
| && (int) LDBL_EPSILON == 0 |
&& (int) LDBL_EPSILON == 0 |
| )]; |
)]; |
| test_array [0] = 0 | test_array [0] = 0; |
| | return test_array [0]; |
| |
|
| ; |
; |
| return 0; |
return 0; |
|
Line 5966 $as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs
|
Line 7254 $as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs
|
| |
|
| fi |
fi |
| |
|
| ac_cv_c_long_double=$ac_cv_type_long_double_wider | ac_cv_c_long_double=$ac_cv_type_long_double_wider |
| if test $ac_cv_c_long_double = yes; then | if test $ac_cv_c_long_double = yes; then |
| |
|
| $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h |
$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h |
| |
|
| fi |
|
| |
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
|
| $as_echo_n "checking return type of signal handlers... " >&6; } |
|
| if ${ac_cv_type_signal+:} false; then : |
|
| $as_echo_n "(cached) " >&6 |
|
| else |
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
| /* end confdefs.h. */ |
|
| #include <sys/types.h> |
|
| #include <signal.h> |
|
| |
|
| int |
|
| main () |
|
| { |
|
| return *(signal (0, 0)) (0) == 1; |
|
| ; |
|
| return 0; |
|
| } |
|
| _ACEOF |
|
| if ac_fn_c_try_compile "$LINENO"; then : |
|
| ac_cv_type_signal=int |
|
| else |
|
| ac_cv_type_signal=void |
|
| fi |
fi |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
| fi |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 |
|
| $as_echo "$ac_cv_type_signal" >&6; } |
|
| |
|
| cat >>confdefs.h <<_ACEOF |
|
| #define RETSIGTYPE $ac_cv_type_signal |
|
| _ACEOF |
|
| |
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
| $as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
$as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
| if ${ac_cv_type_uid_t+:} false; then : |
if ${ac_cv_type_uid_t+:} false; then : |
|
Line 6150 cat >>confdefs.h <<_ACEOF
|
Line 7404 cat >>confdefs.h <<_ACEOF
|
| _ACEOF |
_ACEOF |
| |
|
| |
|
| ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default" | ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" " |
| | #ifdef HAVE_SYS_TYPES_H |
| | #include <sys/types.h> |
| | #endif |
| | #ifdef HAVE_SYS_STAT_H |
| | #include <sys/stat.h> |
| | #endif |
| | #ifdef HAVE_UNISTD_H |
| | #include <unistd.h> |
| | #endif |
| | " |
| if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then : |
if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then : |
| |
|
| cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
|
Line 6159 _ACEOF
|
Line 7423 _ACEOF
|
| |
|
| |
|
| fi |
fi |
| |
ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimensec" "ac_cv_member_struct_stat_st_mtimensec" " |
| |
#ifdef HAVE_SYS_TYPES_H |
| |
#include <sys/types.h> |
| |
#endif |
| |
#ifdef HAVE_SYS_STAT_H |
| |
#include <sys/stat.h> |
| |
#endif |
| |
#ifdef HAVE_UNISTD_H |
| |
#include <unistd.h> |
| |
#endif |
| |
" |
| |
if test "x$ac_cv_member_struct_stat_st_mtimensec" = xyes; then : |
| |
|
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1 |
| |
_ACEOF |
| |
|
| |
|
| |
fi |
| |
ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec.tv_nsec" "ac_cv_member_struct_stat_st_mtimespec_tv_nsec" " |
| |
#ifdef HAVE_SYS_TYPES_H |
| |
#include <sys/types.h> |
| |
#endif |
| |
#ifdef HAVE_SYS_STAT_H |
| |
#include <sys/stat.h> |
| |
#endif |
| |
#ifdef HAVE_UNISTD_H |
| |
#include <unistd.h> |
| |
#endif |
| |
" |
| |
if test "x$ac_cv_member_struct_stat_st_mtimespec_tv_nsec" = xyes; then : |
| |
|
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1 |
| |
_ACEOF |
| |
|
| |
|
| |
fi |
| |
ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim.tv_nsec" "ac_cv_member_struct_stat_st_mtim_tv_nsec" " |
| |
#ifdef HAVE_SYS_TYPES_H |
| |
#include <sys/types.h> |
| |
#endif |
| |
#ifdef HAVE_SYS_STAT_H |
| |
#include <sys/stat.h> |
| |
#endif |
| |
#ifdef HAVE_UNISTD_H |
| |
#include <unistd.h> |
| |
#endif |
| |
" |
| |
if test "x$ac_cv_member_struct_stat_st_mtim_tv_nsec" = xyes; then : |
| |
|
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 |
| |
_ACEOF |
| |
|
| |
|
| |
fi |
| |
|
| |
|
| |
|
| ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h> |
ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h> |
| #include <sys/socket.h> |
#include <sys/socket.h> |
| " |
" |
|
Line 6691 rm -f core conftest.err conftest.$ac_objext conftest.$
|
Line 8012 rm -f core conftest.err conftest.$ac_objext conftest.$
|
| am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" |
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" |
| fi |
fi |
| |
|
| am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` | am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed 's/( /(/'` |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- |
| }$am_cv_proto_iconv" >&5 |
}$am_cv_proto_iconv" >&5 |
| $as_echo "${ac_t:- |
$as_echo "${ac_t:- |
|
Line 6703 _ACEOF
|
Line 8024 _ACEOF
|
| |
|
| |
|
| |
|
| for ac_func in inet_ntop | ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop" |
| do : | |
| ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop" | |
| if test "x$ac_cv_func_inet_ntop" = xyes; then : |
if test "x$ac_cv_func_inet_ntop" = xyes; then : |
| cat >>confdefs.h <<_ACEOF | $as_echo "#define HAVE_INET_NTOP 1" >>confdefs.h |
| #define HAVE_INET_NTOP 1 | |
| _ACEOF | |
| |
|
| else |
else |
| case " $LIBOBJS " in |
case " $LIBOBJS " in |
| *" lib/inet_ntop.$ac_objext "* ) ;; | *" inet_ntop.$ac_objext "* ) ;; |
| *) LIBOBJS="$LIBOBJS lib/inet_ntop.$ac_objext" | *) LIBOBJS="$LIBOBJS inet_ntop.$ac_objext" |
| ;; |
;; |
| esac |
esac |
| |
|
| fi |
fi |
| done |
|
| |
|
| for ac_func in inet_pton | ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton" |
| do : | |
| ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton" | |
| if test "x$ac_cv_func_inet_pton" = xyes; then : |
if test "x$ac_cv_func_inet_pton" = xyes; then : |
| cat >>confdefs.h <<_ACEOF | $as_echo "#define HAVE_INET_PTON 1" >>confdefs.h |
| #define HAVE_INET_PTON 1 | |
| _ACEOF | |
| |
|
| else |
else |
| case " $LIBOBJS " in |
case " $LIBOBJS " in |
| *" lib/inet_pton.$ac_objext "* ) ;; | *" inet_pton.$ac_objext "* ) ;; |
| *) LIBOBJS="$LIBOBJS lib/inet_pton.$ac_objext" | *) LIBOBJS="$LIBOBJS inet_pton.$ac_objext" |
| ;; |
;; |
| esac |
esac |
| |
|
| fi |
fi |
| done |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'` |
cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'` |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 |
| $as_echo_n "checking for struct addrinfo... " >&6; } |
$as_echo_n "checking for struct addrinfo... " >&6; } |
|
Line 6875 rm -f conftest*
|
Line 8187 rm -f conftest*
|
| fi |
fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_GETADDR_DEFINES" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_GETADDR_DEFINES" >&5 |
| $as_echo "$rsync_cv_HAVE_GETADDR_DEFINES" >&6; } |
$as_echo "$rsync_cv_HAVE_GETADDR_DEFINES" >&6; } |
| if test x"$rsync_cv_HAVE_GETADDR_DEFINES" = x"yes" -a x"$ac_cv_type_struct_addrinfo" = x"yes"; then | if test x"$rsync_cv_HAVE_GETADDR_DEFINES" = x"yes" -a x"$ac_cv_type_struct_addrinfo" = x"yes"; then : |
| | |
| # Tru64 UNIX has getaddrinfo() but has it renamed in libc as |
# Tru64 UNIX has getaddrinfo() but has it renamed in libc as |
| # something else so we must include <netdb.h> to get the |
# something else so we must include <netdb.h> to get the |
| # redefinition. |
# redefinition. |
|
Line 6913 else
|
Line 8226 else
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
$as_echo "no" >&6; } |
| case " $LIBOBJS " in |
case " $LIBOBJS " in |
| *" lib/getaddrinfo.$ac_objext "* ) ;; | *" getaddrinfo.$ac_objext "* ) ;; |
| *) LIBOBJS="$LIBOBJS lib/getaddrinfo.$ac_objext" | *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext" |
| ;; |
;; |
| esac |
esac |
| |
|
|
Line 6924 rm -f core conftest.err conftest.$ac_objext \
|
Line 8237 rm -f core conftest.err conftest.$ac_objext \
|
| fi |
fi |
| done |
done |
| |
|
| |
|
| else |
else |
| case " $LIBOBJS " in | case " $LIBOBJS " in |
| *" lib/getaddrinfo.$ac_objext "* ) ;; | *" getaddrinfo.$ac_objext "* ) ;; |
| *) LIBOBJS="$LIBOBJS lib/getaddrinfo.$ac_objext" | *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext" |
| ;; |
;; |
| esac |
esac |
| |
|
|
Line 7404 else
|
Line 8718 else
|
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| $ac_includes_default |
$ac_includes_default |
| int |
int |
| find_stack_direction () | find_stack_direction (int *addr, int depth) |
| { |
{ |
| static char *addr = 0; | int dir, dummy = 0; |
| auto char dummy; | if (! addr) |
| if (addr == 0) | addr = &dummy; |
| { | *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; |
| addr = &dummy; | dir = depth ? find_stack_direction (addr, depth - 1) : 0; |
| return find_stack_direction (); | return dir + dummy; |
| } | |
| else | |
| return (&dummy > addr) ? 1 : -1; | |
| } |
} |
| |
|
| int |
int |
| main () | main (int argc, char **argv) |
| { |
{ |
| return find_stack_direction () < 0; | return find_stack_direction (0, argc + !argv + 20) < 0; |
| } |
} |
| _ACEOF |
_ACEOF |
| if ac_fn_c_try_run "$LINENO"; then : |
if ac_fn_c_try_run "$LINENO"; then : |
|
Line 7442 _ACEOF
|
Line 8753 _ACEOF
|
| |
|
| fi |
fi |
| |
|
| for ac_func in waitpid wait4 getcwd strdup chown chmod lchmod mknod mkfifo \ | for ac_func in waitpid wait4 getcwd chown chmod lchmod mknod mkfifo \ |
| fchmod fstat ftruncate strchr readlink link utime utimes lutimes strftime \ |
fchmod fstat ftruncate strchr readlink link utime utimes lutimes strftime \ |
| |
chflags getattrlist mktime innetgr linkat \ |
| memmove lchown vsnprintf snprintf vasprintf asprintf setsid strpbrk \ |
memmove lchown vsnprintf snprintf vasprintf asprintf setsid strpbrk \ |
| strlcat strlcpy strtol mallinfo getgroups setgroups geteuid getegid \ |
strlcat strlcpy strtol mallinfo getgroups setgroups geteuid getegid \ |
| setlocale setmode open64 lseek64 mkstemp64 mtrace va_copy __va_copy \ |
setlocale setmode open64 lseek64 mkstemp64 mtrace va_copy __va_copy \ |
| seteuid strerror putenv iconv_open locale_charset nl_langinfo getxattr \ |
seteuid strerror putenv iconv_open locale_charset nl_langinfo getxattr \ |
| extattr_get_link sigaction sigprocmask setattrlist \ | extattr_get_link sigaction sigprocmask setattrlist getgrouplist \ |
| utimensat | initgroups utimensat posix_fallocate attropen setvbuf nanosleep usleep |
| do : |
do : |
| as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
Line 7471 fi
|
Line 8783 fi
|
| |
|
| fi |
fi |
| |
|
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for useable fallocate" >&5 |
| |
$as_echo_n "checking for useable fallocate... " >&6; } |
| |
if ${rsync_cv_have_fallocate+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
|
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
#include <fcntl.h> |
| |
#include <sys/types.h> |
| |
int |
| |
main () |
| |
{ |
| |
fallocate(0, 0, 0, 0); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
rsync_cv_have_fallocate=yes |
| |
else |
| |
rsync_cv_have_fallocate=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_have_fallocate" >&5 |
| |
$as_echo "$rsync_cv_have_fallocate" >&6; } |
| |
if test x"$rsync_cv_have_fallocate" = x"yes"; then |
| |
|
| |
$as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h |
| |
|
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FALLOC_FL_PUNCH_HOLE" >&5 |
| |
$as_echo_n "checking for FALLOC_FL_PUNCH_HOLE... " >&6; } |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
#define _GNU_SOURCE 1 |
| |
#include <linux/falloc.h> |
| |
#ifndef FALLOC_FL_PUNCH_HOLE |
| |
#error FALLOC_FL_PUNCH_HOLE is missing |
| |
#endif |
| |
|
| |
_ACEOF |
| |
if ac_fn_c_try_cpp "$LINENO"; then : |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| |
$as_echo "yes" >&6; } |
| |
|
| |
$as_echo "#define HAVE_FALLOC_FL_PUNCH_HOLE 1" >>confdefs.h |
| |
|
| |
|
| |
else |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
|
| |
|
| |
fi |
| |
rm -f conftest.err conftest.i conftest.$ac_ext |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FALLOC_FL_ZERO_RANGE" >&5 |
| |
$as_echo_n "checking for FALLOC_FL_ZERO_RANGE... " >&6; } |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
#define _GNU_SOURCE 1 |
| |
#include <linux/falloc.h> |
| |
#ifndef FALLOC_FL_ZERO_RANGE |
| |
#error FALLOC_FL_ZERO_RANGE is missing |
| |
#endif |
| |
|
| |
_ACEOF |
| |
if ac_fn_c_try_cpp "$LINENO"; then : |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| |
$as_echo "yes" >&6; } |
| |
|
| |
$as_echo "#define HAVE_FALLOC_FL_ZERO_RANGE 1" >>confdefs.h |
| |
|
| |
|
| |
else |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
|
| |
|
| |
fi |
| |
rm -f conftest.err conftest.i conftest.$ac_ext |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5 |
| |
$as_echo_n "checking for SYS_fallocate... " >&6; } |
| |
if ${rsync_cv_have_sys_fallocate+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
|
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
#include <sys/syscall.h> |
| |
#include <unistd.h> |
| |
#include <sys/types.h> |
| |
int |
| |
main () |
| |
{ |
| |
syscall(SYS_fallocate, 0, 0, (loff_t)0, (loff_t)0); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_compile "$LINENO"; then : |
| |
rsync_cv_have_sys_fallocate=yes |
| |
else |
| |
rsync_cv_have_sys_fallocate=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_have_sys_fallocate" >&5 |
| |
$as_echo "$rsync_cv_have_sys_fallocate" >&6; } |
| |
if test x"$rsync_cv_have_sys_fallocate" = x"yes"; then |
| |
|
| |
$as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h |
| |
|
| |
fi |
| |
|
| |
if test x"$ac_cv_func_posix_fallocate" = x"yes"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fallocate is efficient" >&5 |
| |
$as_echo_n "checking whether posix_fallocate is efficient... " >&6; } |
| |
case $host_os in |
| |
*cygwin*) |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| |
$as_echo "yes" >&6; } |
| |
|
| |
$as_echo "#define HAVE_EFFICIENT_POSIX_FALLOCATE 1" >>confdefs.h |
| |
|
| |
;; |
| |
*) |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
;; |
| |
esac |
| |
fi |
| |
|
| |
|
| for ac_func in getpgrp tcgetpgrp |
for ac_func in getpgrp tcgetpgrp |
| do : |
do : |
| as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
Line 7556 $as_echo "#define UTF8_CHARSET \"UTF-8\"" >>confdefs.h
|
Line 9014 $as_echo "#define UTF8_CHARSET \"UTF-8\"" >>confdefs.h
|
| |
|
| fi |
fi |
| |
|
| |
|
| |
# Check whether --with-gssapi was given. |
| |
if test "${with_gssapi+set}" = set; then : |
| |
withval=$with_gssapi; |
| |
else |
| |
with_gssapi=check |
| |
fi |
| |
|
| |
|
| |
|
| |
|
| |
if test "x$with_gssapi" != xno; then : |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_import_name" >&5 |
| |
$as_echo_n "checking for library containing gss_import_name... " >&6; } |
| |
if ${ac_cv_search_gss_import_name+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_func_search_save_LIBS=$LIBS |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char gss_import_name (); |
| |
int |
| |
main () |
| |
{ |
| |
return gss_import_name (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
for ac_lib in '' gss gssapi_krb5 ; do |
| |
if test -z "$ac_lib"; then |
| |
ac_res="none required" |
| |
else |
| |
ac_res=-l$ac_lib |
| |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| |
fi |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_search_gss_import_name=$ac_res |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext |
| |
if ${ac_cv_search_gss_import_name+:} false; then : |
| |
break |
| |
fi |
| |
done |
| |
if ${ac_cv_search_gss_import_name+:} false; then : |
| |
|
| |
else |
| |
ac_cv_search_gss_import_name=no |
| |
fi |
| |
rm conftest.$ac_ext |
| |
LIBS=$ac_func_search_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_import_name" >&5 |
| |
$as_echo "$ac_cv_search_gss_import_name" >&6; } |
| |
ac_res=$ac_cv_search_gss_import_name |
| |
if test "$ac_res" != no; then : |
| |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| |
for ac_header in gssapi/gssapi_generic.h gssapi/gssapi.h |
| |
do : |
| |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| |
_ACEOF |
| |
|
| |
fi |
| |
|
| |
done |
| |
|
| |
$as_echo "#define GSSAPI_OPTION 1" >>confdefs.h |
| |
|
| |
|
| |
else |
| |
if test "x$with_gssapi" = xcheck; then |
| |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| |
as_fn_error $? "--with-gssapi was given, but test for function failed |
| |
See \`config.log' for more details" "$LINENO" 5; } |
| |
fi |
| |
|
| |
fi |
| |
|
| |
|
| |
fi |
| |
|
| |
if test x"$enable_gssapi" != x"no"; then |
| |
$as_echo "#define GSSAPI_OPTION 1" >>confdefs.h |
| |
|
| |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown() modifies symlinks" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown() modifies symlinks" >&5 |
| $as_echo_n "checking whether chown() modifies symlinks... " >&6; } |
$as_echo_n "checking whether chown() modifies symlinks... " >&6; } |
| if ${rsync_cv_chown_modifies_symlink+:} false; then : |
if ${rsync_cv_chown_modifies_symlink+:} false; then : |
|
Line 7573 else
|
Line 9130 else
|
| #endif |
#endif |
| #include <stdlib.h> |
#include <stdlib.h> |
| #include <errno.h> |
#include <errno.h> |
| main() { | int main(void) { |
| char const *dangling_symlink = "conftest.dangle"; |
char const *dangling_symlink = "conftest.dangle"; |
| unlink(dangling_symlink); |
unlink(dangling_symlink); |
| if (symlink("conftest.no-such", dangling_symlink) < 0) abort(); |
if (symlink("conftest.no-such", dangling_symlink) < 0) abort(); |
| if (chown(dangling_symlink, getuid(), getgid()) < 0 && errno == ENOENT) exit(1); | if (chown(dangling_symlink, getuid(), getgid()) < 0 && errno == ENOENT) return 1; |
| exit(0); | return 0; |
| } |
} |
| _ACEOF |
_ACEOF |
| if ac_fn_c_try_run "$LINENO"; then : |
if ac_fn_c_try_run "$LINENO"; then : |
|
Line 7611 else
|
Line 9168 else
|
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| |
|
| |
#ifdef HAVE_FCNTL_H |
| |
# include <fcntl.h> |
| |
#elif defined HAVE_SYS_FCNTL_H |
| |
# include <sys/fcntl.h> |
| |
#endif |
| #if HAVE_UNISTD_H |
#if HAVE_UNISTD_H |
| # include <unistd.h> |
# include <unistd.h> |
| #endif |
#endif |
| #include <stdlib.h> |
#include <stdlib.h> |
| #include <errno.h> |
#include <errno.h> |
| #define FILENAME "conftest.dangle" |
#define FILENAME "conftest.dangle" |
| main() { | int main(void) { |
| unlink(FILENAME); |
unlink(FILENAME); |
| if (symlink("conftest.no-such", FILENAME) < 0) abort(); |
if (symlink("conftest.no-such", FILENAME) < 0) abort(); |
| if (link(FILENAME, FILENAME "2") < 0) exit(1); | unlink(FILENAME "2"); |
| exit(0); | #ifdef HAVE_LINKAT |
| | if (linkat(AT_FDCWD, FILENAME, AT_FDCWD, FILENAME "2", 0) < 0) return 1; |
| | #else |
| | if (link(FILENAME, FILENAME "2") < 0) return 1; |
| | #endif |
| | return 0; |
| } |
} |
| _ACEOF |
_ACEOF |
| if ac_fn_c_try_run "$LINENO"; then : |
if ac_fn_c_try_run "$LINENO"; then : |
|
Line 7657 else
|
Line 9224 else
|
| #if HAVE_UNISTD_H |
#if HAVE_UNISTD_H |
| # include <unistd.h> |
# include <unistd.h> |
| #endif |
#endif |
| |
#ifdef HAVE_SYS_STAT_H |
| |
#include <sys/stat.h> |
| |
#endif |
| #include <stdlib.h> |
#include <stdlib.h> |
| #include <errno.h> |
#include <errno.h> |
| #define FILENAME "conftest.fifi" |
#define FILENAME "conftest.fifi" |
| main() { | int main(void) { |
| unlink(FILENAME); |
unlink(FILENAME); |
| if (mkfifo(FILENAME, 0777) < 0) abort(); |
if (mkfifo(FILENAME, 0777) < 0) abort(); |
| if (link(FILENAME, FILENAME "2") < 0) exit(1); | unlink(FILENAME "2"); |
| exit(0); | if (link(FILENAME, FILENAME "2") < 0) return 1; |
| | return 0; |
| } |
} |
| _ACEOF |
_ACEOF |
| if ac_fn_c_try_run "$LINENO"; then : |
if ac_fn_c_try_run "$LINENO"; then : |
|
Line 7685 $as_echo "#define CAN_HARDLINK_SPECIAL 1" >>confdefs.h
|
Line 9256 $as_echo "#define CAN_HARDLINK_SPECIAL 1" >>confdefs.h
|
| |
|
| fi |
fi |
| |
|
| |
# Check whether --enable-slp was given. |
| |
if test "${enable_slp+set}" = set; then : |
| |
enableval=$enable_slp; |
| |
fi |
| |
|
| |
|
| |
# Check whether --with-openslp-libs was given. |
| |
if test "${with_openslp_libs+set}" = set; then : |
| |
withval=$with_openslp_libs; LDFLAGS="-L$withval $LDFLAGS" |
| |
DSOFLAGS="-L$withval $DSOFLAGS" |
| |
fi |
| |
|
| |
|
| |
# Check whether --with-openslp-includes was given. |
| |
if test "${with_openslp_includes+set}" = set; then : |
| |
withval=$with_openslp_includes; CFLAGS="-I$withval $CFLAGS" |
| |
CXXFLAGS="-I$withval $CXXFLAGS" |
| |
CPPFLAGS="-I$withval $CPPFLAGS" |
| |
fi |
| |
|
| |
|
| |
LIBSLP="" |
| |
SLPOBJ="" |
| |
|
| |
if test x$enable_slp != xno; then |
| |
ac_fn_c_check_header_mongrel "$LINENO" "slp.h" "ac_cv_header_slp_h" "$ac_includes_default" |
| |
if test "x$ac_cv_header_slp_h" = xyes; then : |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SLPOpen in -lslp" >&5 |
| |
$as_echo_n "checking for SLPOpen in -lslp... " >&6; } |
| |
if ${ac_cv_lib_slp_SLPOpen+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_check_lib_save_LIBS=$LIBS |
| |
LIBS="-lslp $LIBS" |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char SLPOpen (); |
| |
int |
| |
main () |
| |
{ |
| |
return SLPOpen (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_lib_slp_SLPOpen=yes |
| |
else |
| |
ac_cv_lib_slp_SLPOpen=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| |
LIBS=$ac_check_lib_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_slp_SLPOpen" >&5 |
| |
$as_echo "$ac_cv_lib_slp_SLPOpen" >&6; } |
| |
if test "x$ac_cv_lib_slp_SLPOpen" = xyes; then : |
| |
|
| |
$as_echo "#define HAVE_LIBSLP 1" >>confdefs.h |
| |
|
| |
SLPOBJ="srvreg.o srvloc.o" |
| |
LIBSLP="-lslp" |
| |
fi |
| |
|
| |
fi |
| |
|
| |
|
| |
fi |
| |
|
| |
|
| |
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working socketpair" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working socketpair" >&5 |
| $as_echo_n "checking for working socketpair... " >&6; } |
$as_echo_n "checking for working socketpair... " >&6; } |
| if ${rsync_cv_HAVE_SOCKETPAIR+:} false; then : |
if ${rsync_cv_HAVE_SOCKETPAIR+:} false; then : |
|
Line 7700 else
|
Line 9350 else
|
| #include <sys/types.h> |
#include <sys/types.h> |
| #include <sys/socket.h> |
#include <sys/socket.h> |
| |
|
| main() { | int main(void) { |
| int fd[2]; |
int fd[2]; |
| #ifdef __CYGWIN__ | return (socketpair(AF_UNIX, SOCK_STREAM, 0, fd) != -1) ? 0 : 1; |
| exit(1); | |
| #else | |
| exit((socketpair(AF_UNIX, SOCK_STREAM, 0, fd) != -1) ? 0 : 1); | |
| #endif | |
| } |
} |
| _ACEOF |
_ACEOF |
| if ac_fn_c_try_run "$LINENO"; then : |
if ac_fn_c_try_run "$LINENO"; then : |
|
Line 7727 $as_echo "#define HAVE_SOCKETPAIR 1" >>confdefs.h
|
Line 9373 $as_echo "#define HAVE_SOCKETPAIR 1" >>confdefs.h
|
| |
|
| fi |
fi |
| |
|
| |
ac_fn_c_check_func "$LINENO" "getpass" "ac_cv_func_getpass" |
| |
if test "x$ac_cv_func_getpass" = xyes; then : |
| |
$as_echo "#define HAVE_GETPASS 1" >>confdefs.h |
| |
|
| |
else |
| |
case " $LIBOBJS " in |
| |
*" getpass.$ac_objext "* ) ;; |
| |
*) LIBOBJS="$LIBOBJS getpass.$ac_objext" |
| |
;; |
| |
esac |
| |
|
| |
fi |
| |
|
| |
|
| |
|
| if test x"$with_included_popt" != x"yes"; then |
if test x"$with_included_popt" != x"yes"; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poptGetContext in -lpopt" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for poptGetContext in -lpopt" >&5 |
| $as_echo_n "checking for poptGetContext in -lpopt... " >&6; } |
$as_echo_n "checking for poptGetContext in -lpopt... " >&6; } |
|
Line 7792 if test x"$with_included_popt" = x"yes"; then
|
Line 9453 if test x"$with_included_popt" = x"yes"; then
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $srcdir/popt" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $srcdir/popt" >&5 |
| $as_echo "$srcdir/popt" >&6; } |
$as_echo "$srcdir/popt" >&6; } |
| BUILD_POPT='$(popt_OBJS)' |
BUILD_POPT='$(popt_OBJS)' |
| CFLAGS="$CFLAGS -I$srcdir/popt" | CFLAGS="-I$srcdir/popt $CFLAGS" |
| if test x"$ALLOCA" != x |
if test x"$ALLOCA" != x |
| then |
then |
| # this can be removed when/if we add an included alloca.c; |
# this can be removed when/if we add an included alloca.c; |
|
Line 7805 else
|
Line 9466 else
|
| $as_echo "no" >&6; } |
$as_echo "no" >&6; } |
| fi |
fi |
| |
|
| |
# We default to using our zlib unless --with-included-zlib=no is given. |
| |
if test x"$with_included_zlib" != x"no"; then |
| |
with_included_zlib=yes |
| |
elif test x"$ac_cv_header_zlib_h" != x"yes"; then |
| |
with_included_zlib=yes |
| |
fi |
| |
if test x"$with_included_zlib" != x"yes"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflateParams in -lz" >&5 |
| |
$as_echo_n "checking for deflateParams in -lz... " >&6; } |
| |
if ${ac_cv_lib_z_deflateParams+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_check_lib_save_LIBS=$LIBS |
| |
LIBS="-lz $LIBS" |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char deflateParams (); |
| |
int |
| |
main () |
| |
{ |
| |
return deflateParams (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_lib_z_deflateParams=yes |
| |
else |
| |
ac_cv_lib_z_deflateParams=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| |
LIBS=$ac_check_lib_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflateParams" >&5 |
| |
$as_echo "$ac_cv_lib_z_deflateParams" >&6; } |
| |
if test "x$ac_cv_lib_z_deflateParams" = xyes; then : |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_LIBZ 1 |
| |
_ACEOF |
| |
|
| |
LIBS="-lz $LIBS" |
| |
|
| |
else |
| |
with_included_zlib=yes |
| |
fi |
| |
|
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use included zlib" >&5 |
| |
$as_echo_n "checking whether to use included zlib... " >&6; } |
| |
if test x"$with_included_zlib" = x"yes"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $srcdir/zlib" >&5 |
| |
$as_echo "$srcdir/zlib" >&6; } |
| |
BUILD_ZLIB='$(zlib_OBJS)' |
| |
CFLAGS="-I$srcdir/zlib $CFLAGS" |
| |
else |
| |
|
| |
$as_echo "#define EXTERNAL_ZLIB 1" >>confdefs.h |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned char" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned char" >&5 |
| $as_echo_n "checking for unsigned char... " >&6; } |
$as_echo_n "checking for unsigned char... " >&6; } |
| if ${rsync_cv_SIGNED_CHAR_OK+:} false; then : |
if ${rsync_cv_SIGNED_CHAR_OK+:} false; then : |
|
Line 7850 else
|
Line 9582 else
|
| /* end confdefs.h. */ |
/* end confdefs.h. */ |
| #include <sys/types.h> |
#include <sys/types.h> |
| #include <dirent.h> |
#include <dirent.h> |
| main() { struct dirent *di; DIR *d = opendir("."); di = readdir(d); | int main(void) { struct dirent *di; DIR *d = opendir("."); di = readdir(d); |
| if (di && di->d_name[-2] == '.' && di->d_name[-1] == 0 && |
if (di && di->d_name[-2] == '.' && di->d_name[-1] == 0 && |
| di->d_name[0] == 0) exit(0); exit(1);} | di->d_name[0] == 0) return 0; return 1;} |
| _ACEOF |
_ACEOF |
| if ac_fn_c_try_run "$LINENO"; then : |
if ac_fn_c_try_run "$LINENO"; then : |
| rsync_cv_HAVE_BROKEN_READDIR=yes |
rsync_cv_HAVE_BROKEN_READDIR=yes |
|
Line 7885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 9617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| int |
int |
| main () |
main () |
| { |
{ |
| struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; exit(utime("foo.c",&tbuf)); | struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; return utime("foo.c",&tbuf); |
| ; |
; |
| return 0; |
return 0; |
| } |
} |
|
Line 7918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 9650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
| int |
int |
| main () |
main () |
| { |
{ |
| struct timeval tv; exit(gettimeofday(&tv, NULL)); | struct timeval tv; return gettimeofday(&tv, NULL); |
| ; |
; |
| return 0; |
return 0; |
| } |
} |
|
Line 7952 else
|
Line 9684 else
|
| |
|
| #include <sys/types.h> |
#include <sys/types.h> |
| #include <stdarg.h> |
#include <stdarg.h> |
| |
#include <stdio.h> |
| |
#include <stdlib.h> |
| |
#include <string.h> |
| void foo(const char *format, ...) { |
void foo(const char *format, ...) { |
| va_list ap; |
va_list ap; |
| int len; |
int len; |
| char buf[5]; | static char buf[] = "12345678901234567890"; |
| |
|
| va_start(ap, format); |
va_start(ap, format); |
| len = vsnprintf(0, 0, format, ap); |
len = vsnprintf(0, 0, format, ap); |
|
Line 7963 void foo(const char *format, ...) {
|
Line 9698 void foo(const char *format, ...) {
|
| if (len != 5) exit(1); |
if (len != 5) exit(1); |
| |
|
| if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) exit(1); |
if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) exit(1); |
| |
|
| exit(0); |
|
| } |
} |
| main() { foo("hello"); } | int main(void) { foo("hello"); return 0; } |
| |
|
| _ACEOF |
_ACEOF |
| if ac_fn_c_try_run "$LINENO"; then : |
if ac_fn_c_try_run "$LINENO"; then : |
|
Line 8003 else
|
Line 9736 else
|
| #include <sys/types.h> |
#include <sys/types.h> |
| #include <sys/stat.h> |
#include <sys/stat.h> |
| #include <unistd.h> |
#include <unistd.h> |
| main() { | int main(void) { |
| struct stat st; |
struct stat st; |
| char tpl[20]="/tmp/test.XXXXXX"; |
char tpl[20]="/tmp/test.XXXXXX"; |
| int fd = mkstemp(tpl); |
int fd = mkstemp(tpl); |
| if (fd == -1) exit(1); | if (fd == -1) return 1; |
| unlink(tpl); |
unlink(tpl); |
| if (fstat(fd, &st) != 0) exit(1); | if (fstat(fd, &st) != 0) return 1; |
| if ((st.st_mode & 0777) != 0600) exit(1); | if ((st.st_mode & 0777) != 0600) return 1; |
| exit(0); | return 0; |
| } |
} |
| _ACEOF |
_ACEOF |
| if ac_fn_c_try_run "$LINENO"; then : |
if ac_fn_c_try_run "$LINENO"; then : |
|
Line 8056 else
|
Line 9789 else
|
| #include <stdio.h> |
#include <stdio.h> |
| #include <sys/stat.h> |
#include <sys/stat.h> |
| #include <errno.h> |
#include <errno.h> |
| main() { int rc, ec; char *fn = "fifo-test"; | #if HAVE_UNISTD_H |
| | # include <unistd.h> |
| | #endif |
| | int main(void) { int rc, ec; char *fn = "fifo-test"; |
| unlink(fn); rc = mknod(fn,S_IFIFO,0600); ec = errno; unlink(fn); |
unlink(fn); rc = mknod(fn,S_IFIFO,0600); ec = errno; unlink(fn); |
| if (rc) {printf("(%d %d) ",rc,ec); return ec;} |
if (rc) {printf("(%d %d) ",rc,ec); return ec;} |
| return 0;} |
return 0;} |
|
Line 8094 else
|
Line 9830 else
|
| #include <stdio.h> |
#include <stdio.h> |
| #include <sys/stat.h> |
#include <sys/stat.h> |
| #include <errno.h> |
#include <errno.h> |
| main() { int rc, ec; char *fn = "sock-test"; | #if HAVE_UNISTD_H |
| | # include <unistd.h> |
| | #endif |
| | int main(void) { int rc, ec; char *fn = "sock-test"; |
| unlink(fn); rc = mknod(fn,S_IFSOCK,0600); ec = errno; unlink(fn); |
unlink(fn); rc = mknod(fn,S_IFSOCK,0600); ec = errno; unlink(fn); |
| if (rc) {printf("(%d %d) ",rc,ec); return ec;} |
if (rc) {printf("(%d %d) ",rc,ec); return ec;} |
| return 0;} |
return 0;} |
|
Line 8128 else
|
Line 9867 else
|
| |
|
| rm -rf conftest* |
rm -rf conftest* |
| cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| int main() { return 0; } | int main(void) { return 0; } |
| EOF |
EOF |
| ${CC-cc} -c -o conftest..o conftest.$ac_ext |
${CC-cc} -c -o conftest..o conftest.$ac_ext |
| if test -f conftest..o; then |
if test -f conftest..o; then |
|
Line 8157 fi
|
Line 9896 fi
|
| |
|
| |
|
| |
|
| |
|
| for ac_func in _acl __acl _facl __facl |
for ac_func in _acl __acl _facl __facl |
| do : |
do : |
| as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
Line 8195 $as_echo "#define HAVE_UNIXWARE_ACLS 1" >>confdefs.h
|
Line 9935 $as_echo "#define HAVE_UNIXWARE_ACLS 1" >>confdefs.h
|
| $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h |
$as_echo "#define SUPPORT_ACLS 1" >>confdefs.h |
| |
|
| ;; |
;; |
| *solaris*|*cygwin*) | solaris*) |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using solaris ACLs" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using solaris ACLs" >&5 |
| $as_echo "Using solaris ACLs" >&6; } |
$as_echo "Using solaris ACLs" >&6; } |
| |
|
|
Line 8204 $as_echo "#define HAVE_SOLARIS_ACLS 1" >>confdefs.h
|
Line 9944 $as_echo "#define HAVE_SOLARIS_ACLS 1" >>confdefs.h
|
| $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h |
$as_echo "#define SUPPORT_ACLS 1" >>confdefs.h |
| |
|
| ;; |
;; |
| *hpux*) |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using HPUX ACLs" >&5 |
|
| $as_echo "Using HPUX ACLs" >&6; } |
|
| |
|
| $as_echo "#define HAVE_HPUX_ACLS 1" >>confdefs.h |
|
| |
|
| $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h |
|
| |
|
| ;; |
|
| *irix*) |
*irix*) |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using IRIX ACLs" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using IRIX ACLs" >&5 |
| $as_echo "Using IRIX ACLs" >&6; } |
$as_echo "Using IRIX ACLs" >&6; } |
|
Line 8250 $as_echo "#define HAVE_OSX_ACLS 1" >>confdefs.h
|
Line 9981 $as_echo "#define HAVE_OSX_ACLS 1" >>confdefs.h
|
| $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h |
$as_echo "#define SUPPORT_ACLS 1" >>confdefs.h |
| |
|
| ;; |
;; |
| |
*hpux*|*nsk*) |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using HPUX ACLs" >&5 |
| |
$as_echo "Using HPUX ACLs" >&6; } |
| |
|
| |
$as_echo "#define HAVE_HPUX_ACLS 1" >>confdefs.h |
| |
|
| |
$as_echo "#define SUPPORT_ACLS 1" >>confdefs.h |
| |
|
| |
;; |
| *) |
*) |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: running tests:" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: running tests:" >&5 |
| $as_echo "running tests:" >&6; } |
$as_echo "running tests:" >&6; } |
|
Line 8298 _ACEOF
|
Line 10038 _ACEOF
|
| |
|
| fi |
fi |
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACL support" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACL support" >&5 |
| $as_echo_n "checking for ACL support... " >&6; } |
$as_echo_n "checking for ACL support... " >&6; } |
| if ${samba_cv_HAVE_POSIX_ACLS+:} false; then : |
if ${samba_cv_HAVE_POSIX_ACLS+:} false; then : |
| $as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
|
Line 8389 $as_echo_n "checking whether to support extended attri
|
Line 10129 $as_echo_n "checking whether to support extended attri
|
| if test "${enable_xattr_support+set}" = set; then : |
if test "${enable_xattr_support+set}" = set; then : |
| enableval=$enable_xattr_support; |
enableval=$enable_xattr_support; |
| else |
else |
| case "$ac_cv_func_getxattr$ac_cv_func_extattr_get_link" in | case "$ac_cv_func_getxattr$ac_cv_func_extattr_get_link$ac_cv_func_attropen" in |
| *yes*) enable_xattr_support=maybe ;; |
*yes*) enable_xattr_support=maybe ;; |
| *) enable_xattr_support=no ;; |
*) enable_xattr_support=no ;; |
| esac |
esac |
|
Line 8401 if test x"$enable_xattr_support" = x"no"; then
|
Line 10141 if test x"$enable_xattr_support" = x"no"; then
|
| $as_echo "no" >&6; } |
$as_echo "no" >&6; } |
| else |
else |
| case "$host_os" in |
case "$host_os" in |
| *linux*) | *linux*|*netbsd*|*cygwin*) |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Linux xattrs" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Linux xattrs" >&5 |
| $as_echo "Using Linux xattrs" >&6; } |
$as_echo "Using Linux xattrs" >&6; } |
| |
|
|
Line 8409 $as_echo "#define HAVE_LINUX_XATTRS 1" >>confdefs.h
|
Line 10149 $as_echo "#define HAVE_LINUX_XATTRS 1" >>confdefs.h
|
| |
|
| $as_echo "#define SUPPORT_XATTRS 1" >>confdefs.h |
$as_echo "#define SUPPORT_XATTRS 1" >>confdefs.h |
| |
|
| |
|
| |
$as_echo "#define NO_SYMLINK_USER_XATTRS 1" >>confdefs.h |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getxattr in -lattr" >&5 |
| |
$as_echo_n "checking for getxattr in -lattr... " >&6; } |
| |
if ${ac_cv_lib_attr_getxattr+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_check_lib_save_LIBS=$LIBS |
| |
LIBS="-lattr $LIBS" |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char getxattr (); |
| |
int |
| |
main () |
| |
{ |
| |
return getxattr (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_lib_attr_getxattr=yes |
| |
else |
| |
ac_cv_lib_attr_getxattr=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| |
LIBS=$ac_check_lib_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_getxattr" >&5 |
| |
$as_echo "$ac_cv_lib_attr_getxattr" >&6; } |
| |
if test "x$ac_cv_lib_attr_getxattr" = xyes; then : |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_LIBATTR 1 |
| |
_ACEOF |
| |
|
| |
LIBS="-lattr $LIBS" |
| |
|
| |
fi |
| |
|
| ;; |
;; |
| darwin*) |
darwin*) |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OS X xattrs" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OS X xattrs" >&5 |
|
Line 8435 $as_echo "#define HAVE_FREEBSD_XATTRS 1" >>confdefs.h
|
Line 10223 $as_echo "#define HAVE_FREEBSD_XATTRS 1" >>confdefs.h
|
| |
|
| ;; |
;; |
| solaris*) |
solaris*) |
| # Better Solaris support coming in 3.1.0... | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Solaris xattrs" >&5 |
| | $as_echo "Using Solaris xattrs" >&6; } |
| |
|
| |
$as_echo "#define HAVE_SOLARIS_XATTRS 1" >>confdefs.h |
| |
|
| |
$as_echo "#define SUPPORT_XATTRS 1" >>confdefs.h |
| |
|
| |
|
| $as_echo "#define NO_SYMLINK_XATTRS 1" >>confdefs.h |
$as_echo "#define NO_SYMLINK_XATTRS 1" >>confdefs.h |
| |
|
| ;; |
;; |
|
Line 8481 $as_echo "$rsync_warn_flag" >&6; }
|
Line 10275 $as_echo "$rsync_warn_flag" >&6; }
|
| fi |
fi |
| fi |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include mysql DB support" >&5 |
| |
$as_echo_n "checking whether to include mysql DB support... " >&6; } |
| |
# Check whether --enable-mysql was given. |
| |
if test "${enable_mysql+set}" = set; then : |
| |
enableval=$enable_mysql; |
| |
fi |
| |
|
| |
|
| |
if test x"$enable_mysql" = x"no"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| |
$as_echo "yes" >&6; } |
| |
# Extract the first word of "mysql_config", so it can be a program name with args. |
| |
set dummy mysql_config; ac_word=$2 |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| |
$as_echo_n "checking for $ac_word... " >&6; } |
| |
if ${ac_cv_prog_MYSQL_CONFIG+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
if test -n "$MYSQL_CONFIG"; then |
| |
ac_cv_prog_MYSQL_CONFIG="$MYSQL_CONFIG" # Let the user override the test. |
| |
else |
| |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| |
for as_dir in $PATH |
| |
do |
| |
IFS=$as_save_IFS |
| |
test -z "$as_dir" && as_dir=. |
| |
for ac_exec_ext in '' $ac_executable_extensions; do |
| |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| |
ac_cv_prog_MYSQL_CONFIG="1" |
| |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| |
break 2 |
| |
fi |
| |
done |
| |
done |
| |
IFS=$as_save_IFS |
| |
|
| |
test -z "$ac_cv_prog_MYSQL_CONFIG" && ac_cv_prog_MYSQL_CONFIG="0" |
| |
fi |
| |
fi |
| |
MYSQL_CONFIG=$ac_cv_prog_MYSQL_CONFIG |
| |
if test -n "$MYSQL_CONFIG"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL_CONFIG" >&5 |
| |
$as_echo "$MYSQL_CONFIG" >&6; } |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
fi |
| |
|
| |
|
| |
if test x$MYSQL_CONFIG = x1; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql version >= 4" >&5 |
| |
$as_echo_n "checking for mysql version >= 4... " >&6; } |
| |
mysql_version=`mysql_config --version` |
| |
mysql_major_version=`echo $mysql_version | sed 's/\..*//'` |
| |
if test $mysql_major_version -lt 4; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no.. skipping MySQL" >&5 |
| |
$as_echo "no.. skipping MySQL" >&6; } |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| |
$as_echo "yes" >&6; } |
| |
|
| |
MYSQL_CFLAGS=`mysql_config --cflags` |
| |
MYSQL_LIBS=`mysql_config --libs` |
| |
|
| |
CPPFLAGS="$CPPFLAGS $MYSQL_CFLAGS" |
| |
LIBS="$MYSQL_LIBS $LIBS" |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_init in -lmysqlclient" >&5 |
| |
$as_echo_n "checking for mysql_init in -lmysqlclient... " >&6; } |
| |
if ${ac_cv_lib_mysqlclient_mysql_init+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_check_lib_save_LIBS=$LIBS |
| |
LIBS="-lmysqlclient $LIBS" |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char mysql_init (); |
| |
int |
| |
main () |
| |
{ |
| |
return mysql_init (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_lib_mysqlclient_mysql_init=yes |
| |
else |
| |
ac_cv_lib_mysqlclient_mysql_init=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| |
LIBS=$ac_check_lib_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mysqlclient_mysql_init" >&5 |
| |
$as_echo "$ac_cv_lib_mysqlclient_mysql_init" >&6; } |
| |
if test "x$ac_cv_lib_mysqlclient_mysql_init" = xyes; then : |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_LIBMYSQLCLIENT 1 |
| |
_ACEOF |
| |
|
| |
LIBS="-lmysqlclient $LIBS" |
| |
|
| |
fi |
| |
|
| |
fi |
| |
fi |
| |
fi |
| |
|
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include sqlite DB support" >&5 |
| |
$as_echo_n "checking whether to include sqlite DB support... " >&6; } |
| |
# Check whether --enable-sqlite was given. |
| |
if test "${enable_sqlite+set}" = set; then : |
| |
enableval=$enable_sqlite; |
| |
fi |
| |
|
| |
|
| |
if test x"$enable_sqlite" = x"no"; then |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| |
$as_echo "no" >&6; } |
| |
else |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_open in -lsqlite3" >&5 |
| |
$as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; } |
| |
if ${ac_cv_lib_sqlite3_sqlite3_open+:} false; then : |
| |
$as_echo_n "(cached) " >&6 |
| |
else |
| |
ac_check_lib_save_LIBS=$LIBS |
| |
LIBS="-lsqlite3 $LIBS" |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| |
/* end confdefs.h. */ |
| |
|
| |
/* Override any GCC internal prototype to avoid an error. |
| |
Use char because int might match the return type of a GCC |
| |
builtin and then its argument prototype would still apply. */ |
| |
#ifdef __cplusplus |
| |
extern "C" |
| |
#endif |
| |
char sqlite3_open (); |
| |
int |
| |
main () |
| |
{ |
| |
return sqlite3_open (); |
| |
; |
| |
return 0; |
| |
} |
| |
_ACEOF |
| |
if ac_fn_c_try_link "$LINENO"; then : |
| |
ac_cv_lib_sqlite3_sqlite3_open=yes |
| |
else |
| |
ac_cv_lib_sqlite3_sqlite3_open=no |
| |
fi |
| |
rm -f core conftest.err conftest.$ac_objext \ |
| |
conftest$ac_exeext conftest.$ac_ext |
| |
LIBS=$ac_check_lib_save_LIBS |
| |
fi |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5 |
| |
$as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; } |
| |
if test "x$ac_cv_lib_sqlite3_sqlite3_open" = xyes; then : |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define HAVE_LIBSQLITE3 1 |
| |
_ACEOF |
| |
|
| |
LIBS="-lsqlite3 $LIBS" |
| |
|
| |
fi |
| |
|
| |
for ac_func in sqlite3_open_v2 sqlite3_prepare_v2 |
| |
do : |
| |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| |
cat >>confdefs.h <<_ACEOF |
| |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| |
_ACEOF |
| |
|
| |
fi |
| |
done |
| |
|
| |
fi |
| |
|
| case "$CC" in |
case "$CC" in |
| ' checker'*|checker*) |
' checker'*|checker*) |
| |
|
|
Line 8899 if (echo >conf$$.file) 2>/dev/null; then
|
Line 10883 if (echo >conf$$.file) 2>/dev/null; then
|
| # ... but there are two gotchas: |
# ... but there are two gotchas: |
| # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| # In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
| ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| as_ln_s='cp -p' | as_ln_s='cp -pR' |
| elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| as_ln_s=ln |
as_ln_s=ln |
| else |
else |
| as_ln_s='cp -p' | as_ln_s='cp -pR' |
| fi |
fi |
| else |
else |
| as_ln_s='cp -p' | as_ln_s='cp -pR' |
| fi |
fi |
| rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
|
Line 8968 else
|
Line 10952 else
|
| as_mkdir_p=false |
as_mkdir_p=false |
| fi |
fi |
| |
|
| if test -x / >/dev/null 2>&1; then |
|
| as_test_x='test -x' |
|
| else |
|
| if ls -dL / >/dev/null 2>&1; then |
|
| as_ls_L_option=L |
|
| else |
|
| as_ls_L_option= |
|
| fi |
|
| as_test_x=' |
|
| eval sh -c '\'' |
|
| if test -d "$1"; then |
|
| test -d "$1/."; |
|
| else |
|
| case $1 in #( |
|
| -*)set "./$1";; |
|
| esac; |
|
| case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
| ???[sx]*):;;*)false;;esac;fi |
|
| '\'' sh |
|
| ' |
|
| fi |
|
| as_executable_p=$as_test_x |
|
| |
|
| |
# as_fn_executable_p FILE |
| |
# ----------------------- |
| |
# Test if FILE is an executable regular file. |
| |
as_fn_executable_p () |
| |
{ |
| |
test -f "$1" && test -x "$1" |
| |
} # as_fn_executable_p |
| |
as_test_x='test -x' |
| |
as_executable_p=as_fn_executable_p |
| |
|
| # Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
| as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| |
|
|
Line 9010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 10982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
| # report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
| # values after options handling. |
# values after options handling. |
| ac_log=" |
ac_log=" |
| This file was extended by $as_me, which was | This file was extended by rsync $as_me , which was |
| generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
| |
|
| CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
| CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
Line 9066 $config_files
|
Line 11038 $config_files
|
| Configuration headers: |
Configuration headers: |
| $config_headers |
$config_headers |
| |
|
| Report bugs to the package provider." | Report bugs to <https://rsync.samba.org/bug-tracking.html>." |
| |
|
| _ACEOF |
_ACEOF |
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| ac_cs_version="\\ |
ac_cs_version="\\ |
| config.status | rsync config.status |
| configured by $0, generated by GNU Autoconf 2.68, | configured by $0, generated by GNU Autoconf 2.69, |
| with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
| |
|
| Copyright (C) 2010 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. |
| This config.status script is free software; the Free Software Foundation |
This config.status script is free software; the Free Software Foundation |
| gives unlimited permission to copy, distribute and modify it." |
gives unlimited permission to copy, distribute and modify it." |
| |
|
| ac_pwd='$ac_pwd' |
ac_pwd='$ac_pwd' |
| srcdir='$srcdir' |
srcdir='$srcdir' |
| INSTALL='$INSTALL' |
INSTALL='$INSTALL' |
| |
MKDIR_P='$MKDIR_P' |
| |
AWK='$AWK' |
| test -n "\$AWK" || AWK=awk |
test -n "\$AWK" || AWK=awk |
| _ACEOF |
_ACEOF |
| |
|
|
Line 9165 fi
|
Line 11139 fi
|
| _ACEOF |
_ACEOF |
| cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| if \$ac_cs_recheck; then |
if \$ac_cs_recheck; then |
| set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| shift |
shift |
| \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| CONFIG_SHELL='$SHELL' |
CONFIG_SHELL='$SHELL' |
|
Line 9647 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
Line 11621 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
| [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| esac |
esac |
| |
ac_MKDIR_P=$MKDIR_P |
| |
case $MKDIR_P in |
| |
[\\/$]* | ?:[\\/]* ) ;; |
| |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
| |
esac |
| _ACEOF |
_ACEOF |
| |
|
| cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
Line 9701 s&@builddir@&$ac_builddir&;t t
|
Line 11680 s&@builddir@&$ac_builddir&;t t
|
| s&@abs_builddir@&$ac_abs_builddir&;t t |
s&@abs_builddir@&$ac_abs_builddir&;t t |
| s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| s&@INSTALL@&$ac_INSTALL&;t t |
s&@INSTALL@&$ac_INSTALL&;t t |
| |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| $ac_datarootdir_hack |
$ac_datarootdir_hack |
| " |
" |
| eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
|
Line 9789 fi
|
Line 11769 fi
|
| |
|
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 |
| $as_echo "" >&6; } |
$as_echo "" >&6; } |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: rsync ${RSYNC_VERSION} configuration successful" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: rsync $PACKAGE_VERSION configuration successful" >&5 |
| $as_echo " rsync ${RSYNC_VERSION} configuration successful" >&6; } | $as_echo " rsync $PACKAGE_VERSION configuration successful" >&6; } |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 |
| $as_echo "" >&6; } |
$as_echo "" >&6; } |