dtwm: fixes to make it build
authorJon Trulson <jon@radscan.com>
Wed, 30 Oct 2019 18:17:32 +0000 (12:17 -0600)
committerJon Trulson <jon@radscan.com>
Wed, 30 Oct 2019 18:17:32 +0000 (12:17 -0600)
commit619402b739259c20c85290ff4d72a392a2ad2ed8
treed63e34e8b80eb34e69e76e4498eed603043d43a1
parent9bc595a0a6b4948b26c10dab22c27acea0f7fd3e
dtwm: fixes to make it build

Removed PORT_NOFORK define in favor of autotools vfork availablility
checking. Use vfork if present.

Got rid of getenv/putenv definitions in favor of including correct
system headers.

Use FD_CLOEXEC in fcntl() call rather than hardcoded '1'.

Added -lm check to configure so dtwm will build.

Renamed internal round() function to wmround() to fix warning about
redefinition of builtin.

Fixed missing backslash in Makefile.am that prevented half the sources
from building.
cde/programs/dtwm/Clock.c
cde/programs/dtwm/Makefile.am
cde/programs/dtwm/README
cde/programs/dtwm/WmFunction.c