On Wed, 12 Dec 2007 05:29:50 +0800 Thomas Goirand wrote: > I'd like to set conditions on variables in a make file to do: > > ifndef $(APP_DIR) > APP_DIR=/usr/share > endif > > This works on Debian, however on FreeBSD, it doesn't work, and I have to > write this: > > .ifndef $(APP_DIR) > APP_DIR=/usr/share > .endif > > Is there something that is compatible with both that I could use?
AFAIK both should accept APP_DIR ?= /usr/share HTH Evgeni -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

