generate_apidox and install_apidox from the cmake submodule folder.
After generating apidox, links pointing to build directory are fixed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit da3e395af5)
This resolves incorrect identification of binary executables with libmagick >= 5.33.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a5def4f9a4)
This resolves issue #128.
This also resolves issue TDE/tdebase#1.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 646661d0be)
This binary may already be included in the system -
for example in the netpbm package.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f6aced3def)
There is no reason to determine it with operating system basis.
Change to use build configuration instead. "ispell" by default,
and you can override it.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 70d26004f0)
Check LIBDIR ispell compile option and use only it for ispell lib directory
if found.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit bbe1b42cbb)
`system()` and `popen()` may unsafe unless using absolute command path.
Rely on PATH environment variable set by users may result in unwanted tool.
Signed-off-by: OBATA Akio <obache@wizdas.com>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ac8c8ca54a)
It is only used in dcop module and empty is unwanted situation,
so properly define it in dcop/CMakeLists.txt.
Rerevant header generation is also moved to there, and prevent
to define in main config.h file too.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 56c5973b6b)
`getprogname()` of FreeBSD is based on NetBSD's one, no reason to
prevent using it on NetBSD.
glibc also has own special variable for progname.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 965a808b91)
OpenBSD's prototype is differ than glibc's one, but it is declared.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 6886dd7e96)
It was introduced in HP-UX 10.20 (undocumented) and suppoted in 10.30 and later,
so no need to declare it on HP-UX unconditionally.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 76a04f5fce)
From the standard sepc, <stdio.h> is required in addition to <stdarg.h>
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit cc7cd83235)
It was extended for compressed PPD support, but not refrected to lpr parts.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 15116d8f64)
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>
(cherry picked from commit 98436f882d)
because thanks to the replacement of KDE3 CMake macros
with TDE macros, this is no longer needed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c2b90055a5)