3 Commits

Author SHA1 Message Date
Marc-André Lureau
8d9a9ca521 build: allow building with newer glibc-headers and -O0
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-07-03 23:02:41 +02:00
Daniel P. Berrange
0154dca5b9 Kill automake portability warnings. Use a config.h Cleanup misc build issues. Build with fatal compile warnings 2008-03-05 18:24:16 -05:00
Daniel P. Berrange
07c89c3f5e Initial commit 2007-07-20 15:26:08 -04:00