PM81701: Clearmake in GNU compatibility mode may not properly handle nested if/ifeq statements.
Closed as suggestion for future release.
When attemting to build software using the IBM Rational ClearCase 'clearmake' tool in GNU make emulation mode, complex conditional statements using the 'else ifeq' construct may not execute the correct makefile lines. Example makefile: -------------------- NAME=abc ifeq ($(NAME),abc1) $(warning abc1) else ifeq ($(NAME),abc2) $(warning abc2) else ifeq ($(NAME),ABC) $(warning ABC) else ifeq ($(NAME),abc) $(warning abc) else $(warning unrecognised) endif -------------------- In this makefile, GNU make 3.81 will report: makefile.conditionals:10: abc clearmake, however, will return makefile.conditionals:6: abc2 in ANY condition where the NAME macro is not equal to 'abc1' There is no workaround at this time.
Thank you for your suggestion. IBM does not currently track enhancement requests for Rational products through APARs, but your request has been recorded in our internal enhancement tracking system.
Reported component name
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Applicable component levels
Translate this page: