OBATA Akio
6886dd7e96
Add `getservbyname_r` prototype detection to CMake
...
OpenBSD's prototype is differ than glibc's one, but it is declared.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
cc7cd83235
Fix to detect vsnprintf prototype properly
...
From the standard sepc, <stdio.h> is required in addition to <stdarg.h>
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
2167207adc
Allow to use backtrace(3) external library for kdebug
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
Slávek Banko
98436f882d
Use target names for commands instead of full paths.
...
When using target names for commands, CMake automatically resolves
the necessary dependencies without having to specify them in the
CMakeLists.txt source code or in the common TDE CMake module.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
ef23612c56
Enable the use of dcopidlng during build tdelibs.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Timothy Pearson
3f6bef6371
Update for OpenSSL >= 1.1.0
...
Signed-off-by: Timothy Pearson <kb9vqf@pearsoncomputing.net>
5 years ago
Slávek Banko
aa244c3700
Fix typo in the SSL library check rules.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
c64685ad8d
Enable storing ELF metadata in a standard way using a common cmake module
...
for all libraries and binaries.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
b6953843f5
Added back build options for UDISKS2, UDISKS and UDEVIL as requested by
...
some users.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Matías Fonzo
8ae17a5d9d
Use the correct macros isnan, isinf for libc compatibility
...
Changes related to this commit:
- Clean up #if mess.
- Use unconditionally the correct macros isnan, isinf.
- Remove redudant macros from the build system.
Signed-off-by: Matías Fonzo <selk@dragora.org>
5 years ago
Slávek Banko
281e2da7f1
Fix building with avahi support
...
+ Avahi detection was not performed at all
+ Added missing avahi-client detection
+ Fixed FTBFS in avahi related code
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
7214a7b6b5
tdehw: code restructuring for tdestoragedevice.
...
1. added disk helper source files
2. removed WITH_UDISKS2, WITH_UDISK, WITH_UDEVIL defines. The respective code is always included
3. order of execution for mount/umount activities: udisks2, udisk, udevil, pmount.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
8a859540c3
Use system libdir when searching for dynamically loaded libraries.
...
This prevents finding an incorrect architecture on multi-arch systems.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
5de71676ac
Fix openssl >= 1.1 detection without pkg-config file.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
3c9bcf2134
Use a common test for dbus detection and paths configuration.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
ebf0115af1
Use common test for large files support.
...
Drop hardcoded definition -D_LARGEFILE64_SOURCE=1.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
83e4c4d56c
Use common GCC visibility test.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
OBATA Akio
6716d0dfb9
Convert GETMNTINFO_USES_STATVFS check to CMake
...
Fix to build on such platforms, it is used but not checked with CMake.
6 years ago
Fabio Rossi
d8177b4058
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
...
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
6 years ago
gregory guy
82afa07a43
fix issue #3 utempter detection
...
Signed-off-by: gregory guy <g-gregory@gmx.fr>
6 years ago
Michele Calgaro
7fc6616c13
Removed unnecessary dependency on libnm-util-dev, which is no longer
...
available in buster and bionic.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko
98ba18d0fc
Add paths to the search for utempter helper
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
a14adb9ab9
Add search for utempter helper
...
This resolves Bug 2841
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
4d31e7d405
Temporarily disable PKCS for build with OpenSSL >= 1.1
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
2aa548763e
Allow openssl detection without pkg-config file
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
7cc97cb187
Fix detection whether the system is big endian
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Alexander Golubev
0c64a776dd
Initial add for check target for cmake
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
François Andriot
5fac044f8d
Fix libcryptsetup detection without pkg-config file
...
Signed-off-by: François Andriot <francois.andriot@free.fr>
9 years ago
Slávek Banko
ece75495e1
Add support for udevil to mount/unmount removable drives
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson
69a43103d9
Attempt to fix cryptsetup version detection yet again
...
The library authors would have done well to include a version number #define in the header...
9 years ago
Timothy Pearson
7d6aacd403
Fix FTBFS on Squeeze
9 years ago
Timothy Pearson
161491fac6
Fix FTBFS on Precise
9 years ago
Timothy Pearson
ffa54887ce
Add additional cryptographic card functions to tdehwlib
...
Fix FTBFS on old distributions
9 years ago
Timothy Pearson
c867c64aa9
Add initial LUKS key management support
9 years ago
Slávek Banko
4925611808
Fix dlerror and crypt detection for CMake build
...
This resolves Bug 654
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson
2b7151f46f
Fix FTBFS from prior commit due to missing files
9 years ago
Michele Calgaro
8a66a469fb
Fixup previous commit
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro
4e2c9c0660
Update version number to R14.1.0
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Slávek Banko
e75569be1b
Fix openpty detection with libutil.h
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko
14243cc8ea
Fix detection for option TDEINIT_USE_XFT with CMake build
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko
f17c618004
Fix setting some constants in config.h with CMake build
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko
d107d0b0d7
Fix detection of LZMA without pkgconfig file
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko
6ebff39751
Improve ACL detection for CMake build
...
Fix hidden visibility in posixacladdons
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko
dfd680030c
Add include directory for internal libltdl
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko
5b95b86a5b
Add mit-shm extension support for CMake build
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko
c80f418abf
Fix xext configure check for CMake build
...
This resolves Bug 2410
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Michele Calgaro
3e39b81989
Fixed tqt3 folder in API documentation generation.
10 years ago
Slávek Banko
03a61295af
Fix FTBFS on missing magic_getpath
10 years ago
François Andriot
aae8990d33
Add a cmake detection for Xext library
...
Remove hardcoded Xext flags in tderandr and tdestyles/keramik
Add missing link flag in tdeui
10 years ago
François Andriot
84e3f9e06b
Allow conditional build of tdehwlib
10 years ago