Jeremy Drake <pgsql(at)jdrake(dot)com> writes:
> I figured out that the -g flag was being surreptitiously added to my
> CFLAGS. It was like pulling teeth trying to get the -g flag out.
I believe that this is a default behavior of autoconf scripts.
I remember having done some ugly hacks years ago to prevent an autoconf
configure script from adding -g by default to libjpeg builds... and
the argument for not having -g has gotten ever weaker since then,
so I really doubt you'll get far complaining to the autoconf maintainers
about it.
regards, tom lane