]> git.droids-corp.org - dpdk.git/blobdiff - examples/vm_power_manager/Makefile
net/fm10k: fix FTAG mode with multiple queues
[dpdk.git] / examples / vm_power_manager / Makefile
index 113dbc43ff9c9d3fbe8b464ac9b54b24fe929607..59a964179e64ee5db174e549b523567629b88d4c 100644 (file)
 #   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+ifneq ($(shell pkg-config --atleast-version=0.9.3 libvirt; echo $$?), 0)
+$(error vm_power_manager requires libvirt >= 0.9.3)
+else
+
 ifeq ($(RTE_SDK),)
 $(error "Please define RTE_SDK environment variable")
 endif
@@ -57,3 +61,5 @@ CFLAGS_main.o += -Wno-return-type
 endif
 
 include $(RTE_SDK)/mk/rte.extapp.mk
+
+endif # libvirt check