summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2016-12-11configure.ac bump 3.2.1eudev/v3.2.1Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2016-06-01configure.ac: bump 3.2 = upstream 220eudev/v3.2Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2016-03-21src/shared/util.c: add fallback for ppoll(), issue #129.Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2016-03-21configure.ac: fix some white spaceAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2016-02-28configure.ac: use automake 1.11Anthony G. Basile
2016-02-28configure.ac: we don't need xsltproc, but making doc's doesAnthony G. Basile
2015-10-13configure.ac: bump 3.1.5 = upstream 220Anthony G. Basile
2015-09-25Forward-ported network rule-generator code from eudev-1.10eudev/v3.1.4Ian Stakenvicius
2015-07-31build-sys: check for strndupaRomain Naour
strndupa is a GNU extension, therefore it's not available for all libc libraries (musl). This patch is based on the one proposed by Emil Renner Berthing for systemd [1]. [1] http://lists.freedesktop.org/archives/systemd-devel/2014-September/023190.html Signed-off-by: Romain Naour <romain.naour@openwide.fr>
2015-07-31build-sys: check for mallinfoRomain Naour
mallinfo is not specified by POSIX or the C standards, therefore it's not available for all libc libraries (musl). Add the ability to disable mallinfo statistics. Fixes: selinux-util.c: In function ‘mac_selinux_init’: selinux-util.c:70:25: error: storage size of ‘before_mallinfo’ isn’t known struct mallinfo before_mallinfo, after_mallinfo; Signed-off-by: Romain Naour <romain.naour@openwide.fr>
2015-07-20src/gudev: remove Gobject libudev support.Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-07-20docs: remove gtk-docs.Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-07-20It's moved to the iio-sensor-proxy D-Bus service.Bastien Nocera
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-06-19configure.ac: bump 3.1.2 = upstream 220eudev/v3.1.2Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-06-05configure.ac: bump 3.1.1 = upstream 220eudev/v3.1.1Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-05-30configure.ac: add --enable-hwdb option. Address issue #111.eudev/v3.1Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-05-30configure.ac: slightly better organize xsltproc stuffAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-05-30configure.ac: fix --enable-manpages. Fixes issue #109.Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-05-30configure.ac: bump udev to 220 and eudev to 3.1Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-27Remove hardcoded path /run and configure using --with-rootrundir=David Cortarello
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-19configure.ac: update udev version to 219.Anthony G. Basile
2015-02-11src/udev/udev-builtin.c: remove legacy optional keymapAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-02-11src/udev/udev-builtin-kmod.c: remove the modprobe alt to kmod codeAnthony G. Basile
2015-02-11rule_generator: remove legacy codeAnthony G. Basile
2015-02-11configure.ac: bump to 3.0 branchAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-02-08configure.ac: bump to 2.2Anthony G. Basile
2015-01-21Build files: remove extraneous dependencyEmmanuel Benoît
* configure.ac: use LT_LIBM to check for the maths library * src/accelerometer/Makefile.am: use $(LIBM) instead of -lm in the link flags This causes all executables (except accelerometer) and libraries to be linked without libm, which they do not need.
2014-11-16configure.ac: don't die on missing linux/btrfs.h, fixes issue #100Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-10-31hashmap: rewrite the implementationMichal Schmidt
We reintroduce hashmap.{h,c}, list.h and set.h verbatim from upstream, before we punt dead code. The following is the upstream message: This is a rewrite of the hashmap implementation. Its advantage is lower memory usage. It uses open addressing (entries are stored in an array, as opposed to linked lists). Hash collisions are resolved with linear probing and Robin Hood displacement policy. See the references in hashmap.c. Some fun empirical findings about hashmap usage in systemd on my laptop: - 98 % of allocated hashmaps are Sets. - Sets contain 78 % of all entries, plain Hashmaps 17 %, and OrderedHashmaps 5 %. - 60 % of allocated hashmaps contain only 1 entry. - 90 % of allocated hashmaps contain 5 or fewer entries. - 75 % of all entries are in hashmaps that use trivial_hash_ops. Clearly it makes sense to: - store entries in distinct entry types. Especially for Sets - their entries are the most numerous and they require the least information to store an entry. - have a way to store small numbers of entries directly in the hashmap structs, and only allocate the usual entry arrays when the direct storage is full. The implementation has an optional debugging feature (enabled by defining the ENABLE_HASHMAP_DEBUG macro), where it: - tracks all allocated hashmaps in a linked list so that one can easily find them in gdb, - tracks which function/line allocated a given hashmap, and - checks for invalid mixing of hashmap iteration and modification. Since entries are not allocated one-by-one anymore, mempools are not used for entries. Originally I meant to drop mempools entirely, but it's still worth it to use them for the hashmap structs. My testing indicates that it makes loading of units about 5 % faster (a test with 10000 units where more than 200000 hashmaps are allocated - pure malloc: 449±4 ms, mempools: 427±7 ms). Here are some memory usage numbers, taken on my laptop with a more or less normal Fedora setup after booting with SELinux disabled (SELinux increases systemd's memory usage significantly): systemd (PID 1) Original New Change dirty memory (from pmap -x 1) [KiB] 2152 1264 -41 % total heap allocations (from gdb-heap) [KiB] 1623 756 -53 % Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-10-31util: make use of the new getrandom() syscall if it is available when ↵Lennart Poettering
needing entropy Doesn't require an fd, and could be a bit faster, so let's make use of it, if it is available. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-10-29configure.ac: bump 2.1.1 = upstream 217eudev/v2.1.1Anthony G. Basile
Release for bug fix on musl. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-10-28configure.ac: bump 2.1 = upstream 217eudev/v2.1Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-09-15configure.ac: require automake 1.13Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-09-13configure.ac: bump 2.0 = upstream 216Anthony G. Basile
Branch v2.X breaks from v1.X in that it removes the userland firmware loading support. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-09-13udev: remove userspace firmware loading supportKay Sievers
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-08-22configure.ac and src/libudev/Makefile.am: bump to 1.10 = upstream 216Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-08-05src/shared: refactor shared codeAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-08-05Include missing.h in udev-builtin-btrfs.c, and move BTRFS_IOC_DEVICES_READY ↵Anthony G. Basile
to missing.h This is a combination of upstream commits dced15575f7bf172e3c9d798c43477539525558c 7bed7f0e3b1f9596aedb64657e432e5b267adebb by Simon McVittie <simon.mcvittie@collabora.co.uk> 7bed7f0e3b1f9596aedb64657e432e5b267adebb Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-07-06configure.ac: bump to 1.9 = upstream 215eudev/v1.9Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-06-24configure.ac: separate out rootlibdir and rootlibexecdirAnthony G. Basile
2014-06-24configure.ac: improve install paths for udevlibexecdir, udevkeymapdir, ↵Anthony G. Basile
udevkeymapforceredir, udevrulesdir
2014-06-19configure.ac: bump to 1.8 = upstream 214eudev/v1.8Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-06-01configure.ac: bump to 1.7 = upstream 213eudev/v1.7Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-05-15Remove unnecessary casts in printfsZbigniew Jedrzejewski-Szmek
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-05-13src/libudev/missing.h: clean up and fix build on uclibc and muslAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-04-24udev: remove seqnum API and all assumptions about seqnumsKay Sievers
The way the kernel namespaces have been implemented breaks assumptions udev made regarding uevent sequence numbers. Creating devices in a namespace "steals" uevents and its sequence numbers from the host. It confuses the "udevadmin settle" logic, which might block until util a timeout is reached, even when no uevent is pending. Remove any assumptions about sequence numbers and deprecate libudev's API exposing these numbers; none of that can reliably be used anymore when namespaces are involved. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-04-03configure.ac: bring version numbers in line with upstreamAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-03-22configure.ac: bump to 1.5.3eudev/v1.5.3Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-03-20modified: configure.aclhb-jr
modified: man/Makefile.am Added checking for DocBook in configure
2014-03-09configure.ac: bump to version 1.5.2eudev/v1.5.2Anthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>