On Sat, Aug 06, 2022 at 08:12:54PM -0700, Andres Freund wrote: > The "problem" in this case is that maintaining pgxs compatibility, as we'd > discussed at pgcon, requires emitting stuff for all the @whatever@ things in > Makefile.global.in, including with_gnu_ld. Which lead me down the rabbithole > of trying to build on solaris, with sun studio, to see if we could just remove > with_gnu_ld (and some others). > > There's a lot of replacements that really aren't needed for pgxs, including > with_gnu_ld (after the patch I just sent on the "baggage" thread). I tried to > think of a way to have a 'missing' equivalent for variables filled with bogus > contents, to trigger an error when they're used. But I don't think there's > such a thing?
For some patterns of variable use, this works: badvar = $(error do not use badvar) ok: echo hello bad: echo $(badvar)