Commit Graph

23 Commits (master)

Author SHA1 Message Date
Dave Vasilevsky d0e61be329 escape newline 2 months ago
Dave Vasilevsky 7ed15497be check for seekability on win 6 months ago
Dave Vasilevsky 446087ed7a use binary mode for win files 6 months ago
Dave Vasilevsky cb961a54b0 detect windows cpus 6 months ago
Wessel Dankers 6a9443d955
Only use available CPUs
Not all online CPUs may be available for the current process,
especially when CPU affinity is involved. In such cases too many
threads will be created, which will unnecessarily compete for CPU
time.

Use sched_getaffinity() (if available) to determine the correct
number of threads to create.
2 years ago
Fabrice Fontaine 4ddfdca841 configure.ac: replace AC_CHECK_FILE
AC_CHECK_FILE can't be used when cross-compiling so replace it by a
simple test -f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
4 years ago
Dave Vasilevsky 573e4a8d2c release 1.0.7 4 years ago
Dave Vasilevsky 29e57ec102 Make building clean on linux, use config.h 4 years ago
Khem Raj a224836798 configure: Detect headers before using them
Current logic does not work when system does not have
sys/endian.h, since it tried to reuse the cached results
from first try of detecting htole64 in sys/endian.h which is
'no' and hence the second try to look into endian.h also
comes out negative.

So we check for header and then run the test for symbols
and these symbols are not standard and we need to define _GNU_SOURCE
for it to work, this issue is exposed by systems using musl e.g.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 years ago
Christian Krause 936d8068ae option to not build man page
fixes #56
9 years ago
Christian Krause e044a6d041 release version 1.0.6 9 years ago
Christian Krause 8879834e8a release version 1.0.5 9 years ago
Christian Krause 5d831e6d1b autoconf checks for htole64 and le64toh
- addresses #52
9 years ago
Christian Krause 8d318b90fc release version 1.0.4 9 years ago
Christian Krause ebebf82439 include man page in release tarball
- adds man page to `EXTRA_DIST`
- `configure` checks for `a2x` only if the man page does not exist (poor
  mans way of checking if we build from git or release tarball)
- fixes #50
9 years ago
Christian Krause d1bfc20d51 release version 1.0.3 9 years ago
Christian Krause e5ba30f9c0 creates output file with permissions of input file
- also some more detailed error messages, some duplication, though,
  maybe clean up later
- fixes #15
9 years ago
Christian Krause 0c933db8a8 testing framework and first test 9 years ago
Christian Krause 5c730afe65 travis, try container 9 years ago
Christian Krause 0a01496af5 travis, fix configure.ac 9 years ago
Christian Krause 5c7e823146 travis, fix configure.ac 9 years ago
Christian Krause 36c74f7e90 downgrade autoconf version requirement to allow travis to build 9 years ago
Christian Krause bc9a3b8d5a complete autotools build
- `__APPLE__` vs `__OS2__` - does this actually work? Would some please test on apple and give feedback?
- pthread via `AX_PTHREAD`
- version via `PACKAGE_VERSION` in `config.h`
- large file support via `AC_SYS_LARGEFILE`
9 years ago