summaryrefslogtreecommitdiff
path: root/infrastructure/m4/boxbackup_tests.m4
Commit message (Collapse)AuthorAge
* New upstream version 0.13~~git20190527.g039c4a1Reinhard Tartler2019-05-28
|
* Add support for M4 CXX flag detection in CMakeListsChris Wilson2018-03-08
| | | | | | | | Enables all flags that are detected by M4 builds to be detected by CMake builds as well (except for -Wall which enables a bunch of junk). (cherry picked from commit 2ea8a9706d79a386729c7b2d814089e90bac6926) (cherry picked from commit c6038419372534dba578da0c1b506bebc64f8f67)
* Fix raidfile tests on 32-bit LinuxChris Wilson2018-03-08
| | | | | | | | | | | A recent fix for Solaris (commit 81e9aa6545f7f19124c9f5e88982b867d8732965) broke support for 32-bit Linux (which wasn't spotted because we didn't have any 32-bit builders). Try a different approach: detect whether the lseek syscall takes a 64-bit integer offset, and use that if possible. CMake: reimplement autoconf tests for 64-bit lseek (cherry picked from commit 138ea5d174f146f14d91a16bf5d1ce8e479d2024)
* Detect which debugger to use in t-gdb scripts: lldb or gdbChris Wilson2018-01-01
| | | | | | | | | | | Should make debugging on Mac and BSD less painful. Make t-gdb fail with an error when no debugger was detected. (cherry picked from commit da98a8183737fb1fcb658cebd9612791a4750c4c) (cherry picked from commit ea6bc722131222d1fad08521e61f552f16941b01) (cherry picked from commit 38ba7510f2cad9accf445d5633c64e98a637a139) (cherry picked from commit 02bfd7e5bdd2abc185b12f37e1f536269db6817a)
* Fix intercept of SYS_open on platforms that only have SYS_openat (e.g. arm64)Chris Wilson2017-06-22
|
* Use AX_CHECK_COMPILE_FLAG, add more checksChris Wilson2017-06-22
| | | | Disable pointless deprecation warnings for std::auto_ptr.
* Detect whether -Werror=return-type is supported by compiler.Chris Wilson2016-09-20
| | | | Fixes compilation on CentOS 5.
* Update platform feature detection to work with CMake.Chris Wilson2016-09-03
| | | | | | | Rewrite some macros in forms that can be parsed by our parser written in CMake language (fake m4 with regexps). Fix incorrect conditional includes and incorrect #if/#ifdef assumptions.
* Fix -rdynamic checkMoritz 'Morty' Strübe2015-10-21
| | | | | The flag -rdynamic must be removed from LDFLAGS after the check. Otherwise its also set for the following checks and they fail.
* Make wrong return type an error, not a warning.Chris Wilson2015-08-29
| | | | We should never fail to return something from a non-void function.
* We must check for ftruncate if we intend to use its feature macro.Chris Wilson2014-12-26
|
* Add a note about why fixing NetBSD's kqueue support is harder than it looks.Chris Wilson2014-12-15
|
* Fix detection of filesystems without extended attribute support on NetBSD.Chris Wilson2014-12-06
| | | | | | | | | | | NetBSD (version 6) uses ENOTSUP as the errno code to indicate missing support for extended attribute in the filesystem. This appears to be at odds with other Unixes: https://mail-index.netbsd.org/tech-kern/2011/12/13/msg012185.html We need to detect and handle ENOTSUP to stop the backup daemon from killing itself while trying to read extended attributes from the first file in the backup set.
* Fix missing include of sys/socket.h to find struct ucred on Linux.Chris Wilson2014-12-06
|
* Check for existence of netdb.h for conditional inclusion.Chris Wilson2014-12-06
|
* Workaround for old gnu tar, failing to restore timestamps on symlinks.Chris Wilson2014-12-06
| | | | | | | | | | | | | | | Older versions of GNU tar fail to set the timestamps on symlinks, which makes them appear too recent/new to be backed up immediately, causing test_bbackupd_uploads_files() for example to fail. Fixed by restoring the timestamps manually after extracting the fixture archive. For more details about the issue in tar, please see: http://lists.gnu.org/archive/html/bug-tar/2009-08/msg00007.html http://git.savannah.gnu.org/cgit/tar.git/plain/NEWS?id=release_1_24 This resulted in symlinks in fixture test files
* Add support for getsockopt(SO_PEERCRED) on OpenBSD 5.2.Chris Wilson2014-12-06
| | | | | | | | | | | OpenBSD requires different headers to be included, including a bug which makes it essential to include sys/param.h before sys/ucred.h, and gives the fields of struct ucred different names than Linux does. This fixes compilation on OpenBSD and allows the user connecting to a UNIX socket to be checked, increasing security of the command socket on this platform.
* Generate configure script in qdbm directory.Chris Wilson2014-12-01
| | | | | | Now that we've removed it from version control, we need to build it from configure.in as part of bootstrapping Box Backup.
* Support microsecond timestamps for files on Linux.Chris Wilson2014-04-09
|
* Use AC_SEARCH_LIBS instead of AC_CHECK_LIB to search for EVP_CipherInit_ex,Chris Wilson2012-11-14
| | | | | | | | | | | | as it should already be in LIBS by this point and we don't really want to add a duplicate if we don't need it. http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Libraries.html also recommends the use of AC_SEARCH_LIBS instead. Check whether we have getpeername() and sys/un.h to fix compile errors on Windows with /dev/log fd leak test.
* Move libdl tests before boxbackup tests in configure.ac to fix OpenSSL link ↵Chris Wilson2012-04-28
| | | | errors.
* Hopefully fix TcpNice setsockopt/struct tcp_info compile errors on Windows.Chris Wilson2012-03-16
|
* Add experimental "TCP Nice" mode, disabled by default.Chris Wilson2012-02-12
|
* Patch to support building on MinGW, thanks to Paolo ToscoChris Wilson2011-10-17
| | | | | (http://open3dalign.org, http://open3dqsar.org)
* Silence warnings from new MinGW headers that expect __MINGW_FEATURES__Chris Wilson2011-10-08
| | | | | | | | to be defined. Check for fcntl.h and include it if we have it, not just on MSVC, now that MinGW also defines O_BINARY in newer versions.
* Rephrase -rdynamic message.Chris Wilson2011-10-07
|
* Skip -rdynamic on cygwin as well as Solaris.Chris Wilson2011-10-05
|
* Move Box Backup's custom tests into own file, to share with Boxi.Chris Wilson2011-09-25