Wan-Teh Chang wrote: > > 68 MOZ_OBJFORMAT := $(shell test -x /usr/bin/objformat && > /usr/bin/objformat || echo elf) > 69 > 70 ifeq ($(MOZ_OBJFORMAT),elf) > 71 DLL_SUFFIX = so > 72 else > 73 DLL_SUFFIX = so.1.0 > 74 endif > > Let's focus on line 68. On your FreeBSD 7.0 system, /usr/bin/objformat > doesn't exist. So we expect that in line 68, "test -x /usr/bin/objformat" > should fail, and therefore we short-circuit "&& /usr/bin/objformat" and > execute "echo elf". But this is not happening. > > I don't have a FreeBSD system, so I tested this makefile fragment > on Linux, and it works. > > Wan-Teh
Could it be an old version of gmake ? _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto