cpp revisited: look for a cpp binary in various locations for use at runtime
authorJon Trulson <jon@radscan.com>
Wed, 4 Dec 2019 21:28:44 +0000 (14:28 -0700)
committerJon Trulson <jon@radscan.com>
Wed, 4 Dec 2019 21:28:44 +0000 (14:28 -0700)
commit25035724afcd394f8d08013eb6cf2163f6a65eb1
treefcaa1be7f12a7c2b3e97e58c945abe546bf5ba5f
parent65ce14c419551d1e2d030f96e7ec295ad773ce6c
cpp revisited: look for a cpp binary in various locations for use at runtime

Certain programs like dtlogin and tt_type_comp need access to the
system's cpp command to process certain files at runtime.  tradcpp is
not installed on most systems, and is intended for use as a imake-cpp
replacement which is all we are using it for.  We still need an
honest cpp for the CDE components to use.

Now, we look in various places for a 'cpp' command and set CPP_COMMAND
to it's value.  This way tt_type_comp and other CDE programs can do
required processing at runtime.
cde/configure.ac
cde/lib/tt/bin/tt_type_comp/Makefile.am
cde/programs/dtlogin/Makefile.am