This will cause pidl to use $CC -E instead.
Andrew Bartlett
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
afe9343880ee27cf9fe937c6379c469435ef20d6)
The last 2 patches address bug #9739 - [PATCH] PIDL build fixes for hosts
without CPP (Solaris 11).
# the cd .. is needed because pidl currently is sensitive to the directory it is run in
cpp = ""
cc = ""
- if bld.CONFIG_SET("CPP"):
+ if bld.CONFIG_SET("CPP") and bld.CONFIG_GET("CPP") != "":
if isinstance(bld.CONFIG_GET("CPP"), list):
cpp = 'CPP="%s"' % " ".join(bld.CONFIG_GET("CPP"))
else: