From: Ben H. <bh...@po...> - 2002-01-02 13:59:14
|
Jim Allard wrote: > I noticed that even when you give the "OPT=1" argument to make, the > autoconf makefile includes "-g" in the CFLAGS. ... I don't know if this is > configurable in autoconf. Nope, or so it seems. I invoke AC_PROG_CC to get @CC@ set up. It falls thru into a tangle that decides if -g is approprate, in particular AC_PROG_CC_G (which was renamed _AC_PROG_CC_G in later versions of autoconf making it hard to hack around). The extent of it's definition of '-g is approprate' is that the compiler is sufficently like a gcc. This is all in /sw/share/autoconf/acspecific.m4 on my powerbook. I'm confused that they are so casual and insistent about pushing it into CFLAGS. |