On Wed, 2005-08-24 at 10:08 -1000, Glen Nakamura wrote: > On Wed, Aug 24, 2005 at 02:50:04PM -0500, Jolan Luff wrote: > > OpenBSD/amd64 with gcc 3.3.5. I noticed that with 3.2.2 it was possible > > to run "make test" without having done "make" first and this is no > > longer the case with CVS HEAD. > > The problem could be the following lines in Makefile.in: > > # In LIBOBJ but not TESTSRC > COMMONOBJ = $(foreach obj,$(LIBOBJ),\ > $(if $(findstring $(patsubst %.lo,%.c,$(obj)),$(TESTSRC)),,$(obj))) > > This is the patch which added these lines: > http://www.sqlite.org/cvstrac/filediff?f=sqlite/Makefile.in&v1=1.130&v2=1.131 > > Possible GNU-make-ism. I don't think BSD make supports functions > like foreach. You'll need to build with gmake unless the above lines > are rewritten to be compatible with BSD make. >
OK. The line above was in a patch someone sent in for ticket #1292: http://www.sqlite.org/cvstrac/tktview?tn=1292. Can someone who understands make and configure perhaps suggest a fix for this so that it will work on OpenBSD and Mac OS-X at the same time? -- D. Richard Hipp <[EMAIL PROTECTED]>