Commit 9d0ebf98 authored by Paul Eggert's avatar Paul Eggert
Browse files

(NOT_USING_MOTIF): New macro.

(LD_SWITCH_SYSTEM_TEMACS): Put /usr/dt/lib in the link library
path only if we're not building with Motif.
parent 915293a2
......@@ -13,14 +13,20 @@
/* `#ifdef USE_MOTIF' won't work here, since USE_MOTIF isn't defined yet.
Instead, dynamically check whether USE_MOTIF expands to something. */
#define NOT_USING_MOTIF { set x USE_MOTIF; test "$$2" = "USE_MOTIF"; }
#ifndef __GNUC__
#define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib LD_SWITCH_X_SITE_AUX -R/usr/dt/lib -L/usr/dt/lib
`NOT_USING_MOTIF || echo ' -R/usr/dt/lib'`
#else /* GCC */
/* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
has anything in it. It can be empty.
This works ok in temacs. */
#define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib \
`./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` -R/usr/dt/lib -L/usr/dt/lib
`./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` \
`NOT_USING_MOTIF || echo ' -R/usr/dt/lib -L/usr/dt/lib'`
#endif /* GCC */
/* Gregory Neil Shapiro <> reports the Motif header files
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment