Now that configure.ac puts -Wall in CFLAGS for the whole build process conditional on GCC, that same flag should not also be hardcoded in any specific makefiles. There are several instances of it in test/automatic/Makefile.am and test/manual/Makefile.am
While working on that, I checked the automake documentation for CFLAGS, and I think test/automatic/Makefile.am has another problem as well. Defining that variable there overwrites CFLAGS that the user might set earlier (propagated from ./configure). AM_CFLAGS is the automake variable that the package-author controls instead: -CFLAGS = -Wall -ggdb -DGG_IGNORE_DEPRECATED +AM_CFLAGS = -ggdb -DGG_IGNORE_DEPRECATED message2 has its own _CFLAGS variable that overrides the more general AM_ one, so they need to be merged for that case: -message2_CFLAGS = @LIBXML2_CFLAGS@ +message2_CFLAGS = @LIBXML2_CFLAGS@ $(AM_CFLAGS) dan -- Daniel Macks dma...@netspace.org _______________________________________________ libgadu-devel mailing list libgadu-devel@lists.ziew.org http://lists.ziew.org/mailman/listinfo/libgadu-devel