158 Commits

Author SHA1 Message Date
Chase
36b6f82ee8 ttce2xdr: use autoconf substitutions 2025-12-20 12:32:46 -07:00
Chase
e64189f19d Feature test for poll.h 2025-12-14 13:27:55 -07:00
Jon Trulson
0dc238d08e configure.ac: add checks for "compress" and "uncompress"
These are typically part of the "ncompress" package.
2025-12-12 08:13:33 -07:00
Jon Trulson
e945fc8b08 Release 2.5.3 2025-11-25 13:09:08 -07:00
Nilton Perim Neto
e4c1e173fa Made a workaround to not use the sh_access
The sh_access was defined to two arguments
Made a workaround to not use the sh_access
that was outputting the error.
Not ideal, but it will hopefully compile on Arch Linux

Also added mksh for compatibility
Ksh is unmaintained in the Arch User Repository

Signed-off-by: Nilton Perim Neto <niltonperimneto@gmail.com>
2025-02-03 14:47:17 -03:00
hyousatsu
c7ade43d86 DtMmdb: replace Berkeley DB with LMDB. 2024-07-16 09:05:38 +00:00
Jon Trulson
e97d56562f Prepare 2.5.2 release 2023-11-18 15:38:09 -07:00
hyousatsu
760d36bfe9 dtlogin: use sessreg to manage utmp/wtmp. 2023-03-27 08:48:27 +00:00
Jon Trulson
503d09172b Prepare 2.5.1 release 2022-10-01 11:18:27 -06:00
Jon Trulson
2d0c4d6d39 Kill off OSMAJORVERSION and OSMINORVERSION defines/cpp flags
This has meant very little for a long time as configure.ac just
hardcoded these values depending on the current OS versions at the
time.

The only place where this is really 'needed' is XlationSvc.c in DtSvc
so that differences between locale specifications on various versions
of an OS can be accounted for. So for now, we just define those when
building DtSvc.

We could probably safely remove them as well with an update to the
Xlate locale DB to remove ancient cruft we don't care about anymore.

For various other modules, like dtlogin, dtsession, etc we just use
the code that was already being used due to the hardcoded values we've
had for the last 10-ish years.
2022-08-06 17:57:44 -06:00
Jon Trulson
47cc5d4a72 configure.ac: remove extra -lm check, move dl check to after libm check
In addition, do not fail the configure if libdl[d] is not found.
Building may still fail in that case, but then it may not :)
2022-07-31 20:00:09 -06:00
Chase
60e60b9836 configure: detect libm 2022-07-31 18:33:49 -06:00
Chase
9a9d586e87 configure: detect libdl 2022-07-31 18:33:49 -06:00
Jon Trulson
a3d056f56e configure.ac: bump version to 2.5.0a 2022-07-23 18:27:48 -06:00
Chase
edf4319548 Discontinue HPUX support 2022-07-23 17:49:33 -06:00
Chase
cfc1664a31 configure.ac: remove patch requirement 2022-07-23 17:49:33 -06:00
Jon Trulson
d1c935e716 Prep for 2.5.0 release 2022-07-23 14:52:32 -06:00
Jon Trulson
894ad07e10 configure: rework detection of Xrender 2022-07-06 17:01:37 -06:00
Peter Howkins
1f5ec7f034 Allow the window manager to handle centered, fit and fill backdrops 2022-07-06 17:00:49 -06:00
Jon Trulson
73c7cdd7fb configure.ac: add --disable-docs option to disable doc building
Using this option to configure will disable the building of the dthelp
and dtinfo documentation files.
2022-07-04 15:53:53 -06:00
Jon Trulson
b8e98f9ff8 Remove include of non-existant fonts.am file 2022-02-21 22:05:44 +08:00
Liang Chang
6e53911b18 cde: update configure.ac. 2022-02-21 21:22:08 +08:00
Liang Chang
173d0cf9ca configure.ac: don't check getty. 2022-02-07 09:48:23 +08:00
Liang Chang
85ff5c5ffe configure.ac: check if getty exists. 2022-02-07 09:48:22 +08:00
Liang Chang
b4ffb694bd Merge branch 'master' into dtdocbook 2022-01-30 08:04:32 +08:00
Liang Chang
20e32a1208 cde: update configure.ac. 2022-01-30 07:37:20 +08:00
Jon Trulson
459554b960 configure: bump version to 2.4.0c 2021-12-22 13:23:56 -07:00
Jon Trulson
3a0e92adb6 Rename autotools_config.h to cde_config.h to better reflect it's ownership. 2021-12-22 13:21:43 -07:00
Jon Trulson
1b67815df2 configure, libtt: add check for rpc_inline_t and define if not supported 2021-12-22 13:14:55 -07:00
Jon Trulson
e10d06f210 configure/Makefiles: add checks for Xmu, Xext, and Xdmcp
We also remove sun pro specific options, and do some general cleanup
as well as remove hardcoded library refs like -lXm, -lXext, etc...
2021-12-21 16:42:22 -07:00
Jon Trulson
8875a12366 configure: don't bother with dthelpdemo 2021-12-21 09:32:55 -07:00
Jon Trulson
c3c7d8303b autoconf: fix some "obsolete function" warnings with newer (2.7x) autoconfs
We also now require at least autoconf 2.69 - which should be fine as
it was released in 2012.
2021-12-18 14:27:22 -07:00
Jon Trulson
73cf4157b5 configure: don't try PAM support on anything other than Linux and NetBSD
It's not supported on OpenBSD and and FreeBSD, though maybe in the
future...?
2021-12-17 17:39:34 -07:00
Jon Trulson
a5a2d937cb Automate versioning for CDE, set current version to 2.4.0b
Previously in the imake world, changing the CDE version required hand
editing a handful of files.

This commit makes these files into ".in" files.  configure.ac now
holds CDE version information -- both in the AC_INIT() call and in the
CDE_VERSION_* variables a few lines down.

Changing the CDE version now involves editing those two locations in
configure.ac only.

Thereafter, a configure run will replace version information in the
following files with the current CDE version:

copyright
doc/common/help/HELPEnt.sgm
include/Dt/Dt.h
lib/tt/bin/ttauth/ttauth.man

This also causes a catch-22 problem with ToolTalk.  So the
tooltalk.inc file is gone and the relevant TT Makefiles have been
modified to set and define the TT version in those Makefiles that
actually use it.
2021-12-13 16:43:42 -07:00
Liang Chang
16e67fec81 Merge branch 'master' into dtdocbook 2021-12-12 20:01:35 +08:00
Liang Chang
3c59e7a98f configure.ac: add makefiles. 2021-12-12 09:48:51 +08:00
Jon Trulson
a9e028f7c6 doc/C: get m-guides setup 2021-12-09 15:00:00 -07:00
Jon Trulson
e26c8fb9a4 doc/C/guides: build the TOCs 2021-12-08 16:58:05 -07:00
Jon Trulson
e437a02e0b dtinfo/dtinfogen: make it build
Now, as to whether it all actually works, I guess we will see.
2021-12-06 17:47:00 -07:00
Jon Trulson
12c82495fd configure: fix a typo in LIBSEARCH and LIBMMDB 2021-12-05 11:57:50 -07:00
Jon Trulson
b24fd04619 dtinfo: get src/UAS building, finish msg and res building
Also, rework the way we build convenience libs for the classes to use
libtool.  This fixes some potential linking issues and dependency
checking.

Next up will be to see if we can link and install it, along with it's
message catalogs, resources, etc.
2021-12-05 11:57:50 -07:00
Jon Trulson
bdf9256ab2 dtinfo/dtinfo: initial stab at making it build 2021-12-05 11:57:50 -07:00
Jon Trulson
3021e01559 configure.ac: add m4 macros that can check for compiler option support
We now use this to set certain options, if supported by the compilers
(C/C++).  Currently we enable various options, like
-Wno-format-truncation.  We use this to ignore complaints about
possibly truncations due to the use of the snprintf() family of
functions - where forced truncation is the whole point.
2021-11-16 12:27:48 -07:00
Jon Trulson
20ef417e20 doc: get man pages building 2021-11-11 16:27:10 -07:00
Jon Trulson
d340e07794 Setup some missing files needed for help to build correctly 2021-11-10 11:04:10 -07:00
Jon Trulson
30bae57043 doc: get the German, Spanish, French, and Italian SDL help files building 2021-11-09 20:50:47 -07:00
Jon Trulson
b3309f59d3 doc: get the C SDL help files building 2021-11-09 19:46:17 -07:00
Jon Trulson
5f7eda2b33 doc: get utils to build 2021-11-09 15:39:49 -07:00
Jon Trulson
9ca0cf7545 configure: fix timezone/tm checks to work on Linux (time.h is needed) 2021-10-24 12:01:45 -06:00
Jon Trulson
18e6813b3c configure: add a check for AC_STRUCT_TIMEZONE 2021-10-23 22:10:56 -06:00