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.
This commit is contained in:
Jon Trulson
2019-10-30 12:17:32 -06:00
parent 9bc595a0a6
commit 619402b739
4 changed files with 42 additions and 35 deletions

View File

@@ -44,9 +44,6 @@ header file include flags, and macros (e.g. ABS).
OLD_CODE
Vestigal code.
PORT_NOVFORK
Enable for systems that don't have the vfork() call.
R2_COMPAT
Enables support for old clients that still pass window geometry
hint information in WM_NORMAL_HINTS.