%% "Albert L. Ting" <[EMAIL PROTECTED]> writes:

  alt> This may not necessarily a bug but rather a missing/inconsistent
  alt> feature in make.  I need a method to detect if a variable was
  alt> defined, and it's ok if the definition was set to blank.

ifeq ($(origin FOO),undefined)
  $(error FOO not defined)
endif

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.ultranet.com/~pauld/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

Reply via email to