1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/src/cmd/builtin
Martijn Dekker d79a34b327 restore build on ancient Mac OS X (re: 22e044c3)
For some reason that I can't be bothered to investigate, gcc 3.3 on
my museum-grade PowerMac G5 running Mac OS X 10.3 doesn't like -lm
when compiling the output{...}end blocks in features/pty and
features/dll. The compilation fails silently. But some other
systems require the -lm for it to work.

Thankfully iffe has a syntax for trying a test repeatedly with
different flags (a.k.a. prerequisites). From 'iffe --man':

    -     Prereq grouping mark; prereqs before the first - are
          passed to all feature tests. Subsequent groups are
          attempted in left-to-right order until the first
          successful group is found.

src/cmd/builtin/features/pty,
src/lib/libdll/features/dll:
- Try compiling the output{...}end block once with -lm and, if that
  fails, try once without -lm before erroring out.
2022-07-03 19:30:24 +02:00
..
features restore build on ancient Mac OS X (re: 22e044c3) 2022-07-03 19:30:24 +02:00
Mamfile Another build system overhaul (re: 35672208, 580ff616, 6cc2f6a0) 2022-06-12 05:47:02 +01:00
pty.c INIT: remove proto, ratz (re: 46593a89, 6137b99a); major cleanup 2021-12-24 07:05:22 +00:00
RELEASE Yet more accumulated tweaks and cleanups 2022-06-18 23:29:49 +01:00