summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure407
1 files changed, 342 insertions, 65 deletions
diff --git a/configure b/configure
index 8e5d61c9..de639501 100755
--- a/configure
+++ b/configure
@@ -1,12 +1,13 @@
#! /bin/sh
-# distribution boxbackup-0.11rc1 (svn version: 2023_2024)
+# distribution boxbackup-0.11rc2 (svn version: 2072)
#
-# Copyright (c) 2003 - 2006
+# Copyright (c) 2003 - 2008
# Ben Summers and contributors. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
+#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
@@ -38,9 +39,9 @@
#
#
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for Box Backup 0.10.
+# Generated by GNU Autoconf 2.59 for Box Backup 0.11.
#
-# Report bugs to <box@fluffy.co.uk>.
+# Report bugs to <boxbackup@fluffy.co.uk>.
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
@@ -307,9 +308,9 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='Box Backup'
PACKAGE_TARNAME='box-backup'
-PACKAGE_VERSION='0.10'
-PACKAGE_STRING='Box Backup 0.10'
-PACKAGE_BUGREPORT='box@fluffy.co.uk'
+PACKAGE_VERSION='0.11'
+PACKAGE_STRING='Box Backup 0.11'
+PACKAGE_BUGREPORT='boxbackup@fluffy.co.uk'
ac_unique_file="lib/common/Box.h"
# Factoring default headers for most tests.
@@ -349,7 +350,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CXXFLAGS_STRICT LDADD_RDYNAMIC PERL TARGET_PERL AR RANLIB CXXCPP EGREP RANDOM_DEVICE LIBOBJS bindir_expanded LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CXXFLAGS_STRICT LDADD_RDYNAMIC PERL TARGET_PERL AR RANLIB CXXCPP EGREP RANDOM_DEVICE LIBOBJS bindir_expanded sysconfdir_expanded localstatedir_expanded LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@@ -818,7 +819,7 @@ if test "$ac_init_help" = "long"; then
# 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.
cat <<_ACEOF
-\`configure' configures Box Backup 0.10 to adapt to many kinds of systems.
+\`configure' configures Box Backup 0.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -880,7 +881,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of Box Backup 0.10:";;
+ short | recursive ) echo "Configuration of Box Backup 0.11:";;
esac
cat <<\_ACEOF
@@ -917,7 +918,7 @@ Some influential environment variables:
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
-Report bugs to <box@fluffy.co.uk>.
+Report bugs to <boxbackup@fluffy.co.uk>.
_ACEOF
fi
@@ -1013,7 +1014,7 @@ fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-Box Backup configure 0.10
+Box Backup configure 0.11
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1027,7 +1028,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by Box Backup $as_me 0.10, which was
+It was created by Box Backup $as_me 0.11, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1367,6 +1368,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_config_headers="$ac_config_headers lib/common/BoxConfig.h"
+# override default sysconfdir, for backwards compatibility
+sysconfdir='/etc'
+localstatedir='/var/run'
+
touch install-sh
ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
@@ -2202,7 +2207,7 @@ echo "$as_me: error: basic compile checks failed, the C++ compiler is broken" >&
fi
if test "x$GXX" = "xyes"; then
# Use -Wall if we have gcc. This gives better warnings
- CXXFLAGS_STRICT='-Wall'
+ CXXFLAGS_STRICT='-Wall -Wundef'
# Use -rdynamic if we have gcc. This is needed for backtrace
LDADD_RDYNAMIC='-rdynamic'
@@ -3275,9 +3280,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -3500,9 +3505,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -3749,9 +3754,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -3973,9 +3978,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -7791,9 +7796,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -8710,9 +8715,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -8861,9 +8866,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -9011,9 +9016,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -9165,9 +9170,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -9316,9 +9321,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -9463,9 +9468,9 @@ echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -9613,9 +9618,9 @@ echo "$as_me: WARNING: pcreposix.h: proceeding with the preprocessor's result" >
echo "$as_me: WARNING: pcreposix.h: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -11772,6 +11777,230 @@ _ACEOF
fi
+echo "$as_me:$LINENO: checking for DIR.d_fd" >&5
+echo $ECHO_N "checking for DIR.d_fd... $ECHO_C" >&6
+if test "${ac_cv_member_DIR_d_fd+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <dirent.h>
+
+int
+main ()
+{
+static DIR ac_aggr;
+if (ac_aggr.d_fd)
+return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_member_DIR_d_fd=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <dirent.h>
+
+int
+main ()
+{
+static DIR ac_aggr;
+if (sizeof ac_aggr.d_fd)
+return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_member_DIR_d_fd=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_member_DIR_d_fd=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: $ac_cv_member_DIR_d_fd" >&5
+echo "${ECHO_T}$ac_cv_member_DIR_d_fd" >&6
+if test $ac_cv_member_DIR_d_fd = yes; then
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DIR_D_FD 1
+_ACEOF
+
+
+fi
+
+echo "$as_me:$LINENO: checking for DIR.dd_fd" >&5
+echo $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
+if test "${ac_cv_member_DIR_dd_fd+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <dirent.h>
+
+int
+main ()
+{
+static DIR ac_aggr;
+if (ac_aggr.dd_fd)
+return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_member_DIR_dd_fd=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <dirent.h>
+
+int
+main ()
+{
+static DIR ac_aggr;
+if (sizeof ac_aggr.dd_fd)
+return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_member_DIR_dd_fd=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_member_DIR_dd_fd=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: $ac_cv_member_DIR_dd_fd" >&5
+echo "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
+if test $ac_cv_member_DIR_dd_fd = yes; then
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DIR_DD_FD 1
+_ACEOF
+
+
+fi
+
echo "$as_me:$LINENO: checking whether INFTIM is declared" >&5
echo $ECHO_N "checking whether INFTIM is declared... $ECHO_C" >&6
@@ -13009,9 +13238,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -13503,9 +13732,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -15016,9 +15245,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
(
cat <<\_ASBOX
-## ------------------------------- ##
-## Report this to box@fluffy.co.uk ##
-## ------------------------------- ##
+## ------------------------------------- ##
+## Report this to boxbackup@fluffy.co.uk ##
+## ------------------------------------- ##
_ASBOX
) |
sed "s/^/$as_me: WARNING: /" >&2
@@ -15247,7 +15476,7 @@ cat >>conftest.$ac_ext <<_ACEOF
#ifdef HAVE___SYSCALL_NEED_DEFN
extern "C" off_t __syscall(quad_t number, ...);
#endif
- #ifndef HAVE_SYSCALL
+ #ifdef HAVE___SYSCALL // always use it if we have it
#undef syscall
#define syscall __syscall
#endif
@@ -15260,7 +15489,18 @@ main ()
int res = 0;
if(fh>=0)
{
- res = syscall(SYS_lseek, fh, 0, SEEK_SET, 99);
+ // This test tries first to seek to position 0, with NO
+ // "dummy argument". If lseek does actually require a dummy
+ // argument, then it will eat SEEK_SET for the offset and
+ // try to use 99 as whence, which is invalid, so res will be
+ // -1, the program will return zero and
+ // have_lseek_dummy_param=yes
+ // (whew! that took 1 hour to figure out)
+ // The "dummy argument" probably means that it takes a 64-bit
+ // offset, so this was probably a bug anyway, and now that
+ // we cast the offset to off_t, it should never be needed
+ // (if my reasoning is correct).
+ res = syscall(SYS_lseek, fh, (off_t)0, SEEK_SET, 99);
close(fh);
}
unlink("lseektest");
@@ -15928,8 +16168,10 @@ saved_prefix=$prefix
saved_exec_prefix=$exec_prefix
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-bindir_expanded=`eval "echo $bindir"`
-bindir_expanded=`eval "echo $bindir_expanded"`
+bindir_expanded=` eval "echo $bindir"`
+bindir_expanded=` eval "echo $bindir_expanded"`
+sysconfdir_expanded=` eval "echo $sysconfdir"`
+localstatedir_expanded=`eval "echo $localstatedir"`
prefix=$saved_prefix
exec_prefix=$saved_exec_prefix
@@ -15943,9 +16185,20 @@ exec_prefix=$saved_exec_prefix
ac_config_files="$ac_config_files bin/bbackupquery/makedocumentation.pl"
ac_config_files="$ac_config_files bin/bbstored/bbstored-certs"
ac_config_files="$ac_config_files bin/bbstored/bbstored-config"
+ ac_config_files="$ac_config_files contrib/debian/bbackupd"
+ ac_config_files="$ac_config_files contrib/debian/bbstored"
+ ac_config_files="$ac_config_files contrib/redhat/bbackupd"
+ ac_config_files="$ac_config_files contrib/redhat/bbstored"
+ ac_config_files="$ac_config_files contrib/suse/bbackupd"
+ ac_config_files="$ac_config_files contrib/suse/bbstored"
+ ac_config_files="$ac_config_files contrib/solaris/bbackupd-manifest.xml"
+ ac_config_files="$ac_config_files contrib/solaris/bbstored-manifest.xml"
+ ac_config_files="$ac_config_files contrib/solaris/bbackupd-smf-method"
+ ac_config_files="$ac_config_files contrib/solaris/bbstored-smf-method"
ac_config_files="$ac_config_files infrastructure/makebuildenv.pl"
ac_config_files="$ac_config_files infrastructure/makeparcels.pl"
ac_config_files="$ac_config_files infrastructure/makedistribution.pl"
+ ac_config_files="$ac_config_files lib/common/BoxPortsAndFiles.h"
ac_config_files="$ac_config_files lib/common/makeexception.pl"
ac_config_files="$ac_config_files lib/raidfile/raidfile-config"
ac_config_files="$ac_config_files lib/server/makeprotocol.pl"
@@ -16320,7 +16573,7 @@ _ASBOX
} >&5
cat >&5 <<_CSEOF
-This file was extended by Box Backup $as_me 0.10, which was
+This file was extended by Box Backup $as_me 0.11, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -16380,7 +16633,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-Box Backup config.status 0.10
+Box Backup config.status 0.11
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
@@ -16487,9 +16740,20 @@ do
"bin/bbackupquery/makedocumentation.pl" ) CONFIG_FILES="$CONFIG_FILES bin/bbackupquery/makedocumentation.pl" ;;
"bin/bbstored/bbstored-certs" ) CONFIG_FILES="$CONFIG_FILES bin/bbstored/bbstored-certs" ;;
"bin/bbstored/bbstored-config" ) CONFIG_FILES="$CONFIG_FILES bin/bbstored/bbstored-config" ;;
+ "contrib/debian/bbackupd" ) CONFIG_FILES="$CONFIG_FILES contrib/debian/bbackupd" ;;
+ "contrib/debian/bbstored" ) CONFIG_FILES="$CONFIG_FILES contrib/debian/bbstored" ;;
+ "contrib/redhat/bbackupd" ) CONFIG_FILES="$CONFIG_FILES contrib/redhat/bbackupd" ;;
+ "contrib/redhat/bbstored" ) CONFIG_FILES="$CONFIG_FILES contrib/redhat/bbstored" ;;
+ "contrib/suse/bbackupd" ) CONFIG_FILES="$CONFIG_FILES contrib/suse/bbackupd" ;;
+ "contrib/suse/bbstored" ) CONFIG_FILES="$CONFIG_FILES contrib/suse/bbstored" ;;
+ "contrib/solaris/bbackupd-manifest.xml" ) CONFIG_FILES="$CONFIG_FILES contrib/solaris/bbackupd-manifest.xml" ;;
+ "contrib/solaris/bbstored-manifest.xml" ) CONFIG_FILES="$CONFIG_FILES contrib/solaris/bbstored-manifest.xml" ;;
+ "contrib/solaris/bbackupd-smf-method" ) CONFIG_FILES="$CONFIG_FILES contrib/solaris/bbackupd-smf-method" ;;
+ "contrib/solaris/bbstored-smf-method" ) CONFIG_FILES="$CONFIG_FILES contrib/solaris/bbstored-smf-method" ;;
"infrastructure/makebuildenv.pl" ) CONFIG_FILES="$CONFIG_FILES infrastructure/makebuildenv.pl" ;;
"infrastructure/makeparcels.pl" ) CONFIG_FILES="$CONFIG_FILES infrastructure/makeparcels.pl" ;;
"infrastructure/makedistribution.pl" ) CONFIG_FILES="$CONFIG_FILES infrastructure/makedistribution.pl" ;;
+ "lib/common/BoxPortsAndFiles.h" ) CONFIG_FILES="$CONFIG_FILES lib/common/BoxPortsAndFiles.h" ;;
"lib/common/makeexception.pl" ) CONFIG_FILES="$CONFIG_FILES lib/common/makeexception.pl" ;;
"lib/raidfile/raidfile-config" ) CONFIG_FILES="$CONFIG_FILES lib/raidfile/raidfile-config" ;;
"lib/server/makeprotocol.pl" ) CONFIG_FILES="$CONFIG_FILES lib/server/makeprotocol.pl" ;;
@@ -16615,6 +16879,8 @@ s,@EGREP@,$EGREP,;t t
s,@RANDOM_DEVICE@,$RANDOM_DEVICE,;t t
s,@LIBOBJS@,$LIBOBJS,;t t
s,@bindir_expanded@,$bindir_expanded,;t t
+s,@sysconfdir_expanded@,$sysconfdir_expanded,;t t
+s,@localstatedir_expanded@,$localstatedir_expanded,;t t
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
CEOF
@@ -16853,9 +17119,20 @@ s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
bin/bbackupquery/makedocumentation.pl ) chmod +x bin/bbackupquery/makedocumentation.pl ;;
bin/bbstored/bbstored-certs ) chmod +x bin/bbstored/bbstored-certs ;;
bin/bbstored/bbstored-config ) chmod +x bin/bbstored/bbstored-config ;;
+ contrib/debian/bbackupd ) chmod +x contrib/debian/bbackupd ;;
+ contrib/debian/bbstored ) chmod +x contrib/debian/bbstored ;;
+ contrib/redhat/bbackupd ) chmod +x contrib/redhat/bbackupd ;;
+ contrib/redhat/bbstored ) chmod +x contrib/redhat/bbstored ;;
+ contrib/suse/bbackupd ) chmod +x contrib/suse/bbackupd ;;
+ contrib/suse/bbstored ) chmod +x contrib/suse/bbstored ;;
+ contrib/solaris/bbackupd-manifest.xml ) chmod +x contrib/solaris/bbackupd-manifest.xml ;;
+ contrib/solaris/bbstored-manifest.xml ) chmod +x contrib/solaris/bbstored-manifest.xml ;;
+ contrib/solaris/bbackupd-smf-method ) chmod +x contrib/solaris/bbackupd-smf-method ;;
+ contrib/solaris/bbstored-smf-method ) chmod +x contrib/solaris/bbstored-smf-method ;;
infrastructure/makebuildenv.pl ) chmod +x infrastructure/makebuildenv.pl ;;
infrastructure/makeparcels.pl ) chmod +x infrastructure/makeparcels.pl ;;
infrastructure/makedistribution.pl ) chmod +x infrastructure/makedistribution.pl ;;
+ lib/common/BoxPortsAndFiles.h ) chmod +x lib/common/BoxPortsAndFiles.h ;;
lib/common/makeexception.pl ) chmod +x lib/common/makeexception.pl ;;
lib/raidfile/raidfile-config ) chmod +x lib/raidfile/raidfile-config ;;
lib/server/makeprotocol.pl ) chmod +x lib/server/makeprotocol.pl ;;