6ce83e9 Macro for testing the version you are compiling with

Authored and Committed by Doug Goldstein 10 years ago
    Macro for testing the version you are compiling with
    
    Added a macro similar to the GLib's GLIB_CHECK_VERSION so that one can
    simply do something like:
    
     #if LIBVIR_CHECK_VERSION(1,1,3)
       /* Call function here that appeared in 1.1.3 and newer */
       virSomeNewFunction();
     #endif
    
        
file modified
+16 -0