> When I use autoconf/automake tools to generate makefile for my package, the > CXXFLAGS is always added "-O2" by tools, while I don't want to use for > debuging. > Is it possible to remove it from options of configure command or some other > ways better than removing it manually everytime on Makefile? Hi, I think a combination of AM_CXXFLAGS = and configure CXXFLAGS="" will work. Probably just the latter is enough. I believe -g and -O2 are picked up by default by autoconf when nothing is specified. David Fang _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf