summaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)AuthorFilesLines
2013-02-06build-sys: don't use -Wstrict-prototypes with Gtk+ 2.0Marc-André Lureau1-9/+7
2012-06-07build: allow building with newer glibc-headers and -O0Christophe Fergeau1-2/+6
Fix copied from libvirt, commit by Eric Blake. glibc 2.15 (on Fedora 17) coupled with explicit disabling of optimization during development dies a painful death: /usr/include/features.h:314:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] Work around this by only conditionally defining _FORTIFY_SOURCE, in the case where glibc can actually use it. The trick is using AH_VERBATIM instead of AC_DEFINE.
2012-03-14buildsys: Disable some warningsHans de Goede1-0/+4
Mostly so that they don't turn into errors when building from source: -Wno-missing-field-initializers: Because this has to be close to the most stupid warning gcc has ever produced -Wno-deprecated-declarations Because we use some deprecated functions to avoid #ifdef hell while maintaining compat with older gtk / glib versions Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-03-14Disable -Wwrite-strings for Python bindingDaniel P. Berrange1-0/+4
The code generator for the python binding generates code which throws away const-ness on strings. Disable the -Wwrite-strings warning to avoid failing on this auto-generated code.
2012-03-13Import GNULIB's GCC warning macrosDaniel P. Berrange3-0/+361
GNULIB has a helpful module 'manywarnings' which makes it easy to turn on every single GCC warning. The general goal is that every possible GCC warning should be enabled, except for certain blacklisted warnings. This imports the GNULIB m4 macros, and updates configure.ac to use this new capability. As & when new GCC warnings are created, the 'manywarnings.m4' can be refreshed from upstream GNULIB * m4/manywarnings.m4, m4/warnings.m4: GNULIB warning macros * configure.ac: Remove custom compiler warning checks * m4/spice-compile-warnings.m4: Decide what GCC warnings to enable
2010-12-06gtk: hide unwanted public symbolsMarc-André Lureau1-0/+34
2010-11-23Initial import from SPICEMarc-André Lureau1-0/+46